常用的一些记录

logcat -v time | grep "LteEnable|lteSetting|==LTE|zteRil|LteUsbReceiver|ConnectivityService|AndroidRuntime|serviceStateTrackerManager" -Ei

logcat -v time | grep "LteEnable|lteSetting|==LTE|zteRil|LteUsbReceiver|ConnectivityService|AndroidRuntime|serviceStateTrackerManager|Settings|ztePhone|error" -Ei

logcat -v time | grep "LteEnable|lteSetting|==LTE|zteRil|LteUsbReceiver|LteTestService|ztePhone|LTETest" -Ei

logcat -v time | grep "BootReceiver|PTTTEST" -Ei

logcat -v time | grep "ContactsApplication|ContactsImportService|ContactsProvider" -Ei


logcat -v time | grep "Settings|ConnectivityService" -Ei

adb logcat -v time | grep "Activity\|Fragment\|Adapter\|Filter\|DefaultContactListAdapter\|ContactsIntentResolver"

adb pull /data/data/com.android.providers.contacts ~/tian/tmp/ndp910/contacts

adb pull /data/data/com.android.providers.contacts ~/tian/tmp/ll

adb pull /data/data/com.neolink.sms  ~/tian/tmp/sms_0
adb pull /data/data/com.android.providers.settings  ~/tian/tmp/
adb pull /data/local/log/ap ~/tian/tmp/contacts_0

repo forall -c "git checkout -b 959_release tshark/ndp959_release"

git branch |xargs git branch  -D

git br |grep 'dev' |xargs git br -d

git checkout -f

git push tshark HEAD:refs/for/tshark_dev2

git cherry-pick 1dfab4a0628f5170bef3429105c33e8f9f198845(需要提交的commit-id)

git config -l





su ;  echo 0 > /proc/sys/kernel/printk       (关闭kernel log)

cat /dev/lte_gpio_ctl (查看当前模式)
echo usb > /dev/lte_gpio_ctl(切换到usb 模式)
echo lte > /dev/lte_gpio_ctl(    切换到lte 模式)

logcat -v time | grep "WindowManager|AudioService|VolumePanel|AudioManager|MediaFocusControl" -Ei
logcat -v time | grep "Settings"

logcat -v time | grep "ContactsApplication"

logcat -v time | grep "ContactsImportService|ContactsApplication"

logcat -v time | grep "Setting|ConnectivityService" -Ei

 rm -r data/data/com.neolink.providers.contacts/
adb pull /data/data/com.neolink.providers.contacts/databases  ~/tian/tmp/private_55

logcat | grep "SettingsProvider"


查看底层的键值上报
adb logcat -v time | grep "onShowVolumeChanged|WindowManager|AudioService|VolumePanel|AudioManager"  -Ei
adb shell  , getevent
 tail -f minicom.cap |grep "volume-\|volume+"


海南意见的帐号密码
admi:ml_yd1
se: 123456

su ;  echo 0 > /proc/sys/kernel/printk       (关闭kernel log)
logcat -v time | grep "tianxuhong" -Ei

scp tt   [email protected]:/home/pxy/tmp/bug_log/hwdebug/server
export NEOLINK_SW_VERSION=PANDA_PM956_V02_USERDEBUG

ssh [email protected]


SELECT * FROM sqlite_master WHERE type='table';   K5020301

insert into CFG_PARAM_TABLE values('5020301', 24, 98);

INSERT INTO VAL_LIST_TABLE(key,value)
VALUES ('5020301', 'com.tian.xuhong');

CREATE TABLE CFG_PARAM_TABLE (key TEXT PRIMARY KEY, en TEXT, cn TEXT, type TEXT, length TEXT, readonly TEXT, license TEXT, value TEXT, min TEXT,max TEXT,kind TEXT );

table|VAL_LIST_TABLE|VAL_LIST_TABLE|7|CREATE TABLE VAL_LIST_TABLE (id TEXT,key TEXT, en TEXT, cn TEXT, value TEXT)

UPDATE CFG_PARAM_TABLE SET ADDRESS = 'Texas' WHERE ID = 6;

DELETE FROM VAL_LIST_TABLE  WHERE key = 'K5020301';

INSERT INTO VAL_LIST_TABLE (key,value) VALUES ('5020301' , 'com.tian.xuhong');

你可能感兴趣的:(常用的一些记录)