- 博客(8)
- 资源 (3)
- 收藏
- 关注
转载 cpu 频率查看
./sys/devices/system/cpu/cpu0/cpufreq ./sys/devices/system/cpu/cpu1/cpufreq ./sys/devices/system/cpu/cpu2/cpufreq ./sys/devices/system/cpu/cpu3/cpufreq
2016-11-30 15:57:03
412
翻译 mtk 死机命令
以下是死机后的抓取log的命令,写成脚本保存dead.bat @echo "Pull important information from hang phone, written by Yanghui Li" adb devices @echo "attach sdcard/mtklog" adb pull /sdcard/mtklog mtklog/ @echo
2016-11-03 16:11:30
705
原创 adb 设置android时间的命令
1、修改前提 获取系统root权限,然后adb shell进入shell界面 2、时区设置 执行如下命令: [html] view plain copy cat /data/property/persist.sys.timezone //查看当前时区配置文件 setprop persist.s
2016-11-03 16:09:25
14418
翻译 高通adsp sensor core adb 命令
adb root adb wait-for-device adb shell mount -o remount,rw /firmware adb remount adb shell rm /system/etc/firmware/adsp* adb shell rm /system/etc/adsp* adb push ./adsp.b00 /system/etc/firmware
2016-11-03 16:04:42
2720
原创 git
git cherry-pick冲突 1:运行git status查看有冲突文件: 2:然后解决冲突 3:git add . 或git add 文件名 4:git commit –c commit-id(这里的commit-id即为刚才cherry-pick时用到的commit-id)如下: 5:然后再push到gerrit即可。 查看远程分支 git branch
2016-11-03 16:01:54
346
原创 通话中手机离脸部很近才能灭屏,这样会产生误操作:误挂断电话
通过加大项目距离感应器(tmd277x)驱动能力和采样个数,解决通话中距离感应器生效距离太短的问题。驱动能力(PDRIVE)从25ma加大到50ma,采样个数(PPULSE)从10加大到20,当通话时,在距离40mm左右会灭屏。 在dtsi中修改距离感应器驱动能力和采样个数参数: ---a/arch/arm/boot/dts-prd/cp8890u/p1/msm8226-720p-mtp
2016-11-01 10:28:17
1627
原创 sensor time 传感器时间戳
Need change sensor hal and sensor driver, forNew Android CDD suggest that sensor event should synchronize with SystemClock.elapsedRealtimeNano()clock. https://www.codeaurora.org/cgit/quic/la/kernel/
2016-11-01 10:22:45
3100
Unboxing Android USB
2019-03-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人