摘要:如何查看版本信息 Get prop | grep version
阅读全文
摘要:The Android log reading tool is named logcat. This application is available on all Android devices.A good overview of using logcat is at http://develo...
阅读全文
摘要:$ adb shell ls /data/app$ adb pull /data/app/.apk aapt dump badging .apk
阅读全文
摘要:Core dump enabling:c:\> adb rootc:\> adb shell# setprop persist.core.enabled 1# rebootStack decoding:Get NDK from Android site, extract ndk-stack tool...
阅读全文
摘要:Native Heap:To get Native Heap status on DDMS:On Linux build env, edit ~\.android\ddms.cfg and add "native=true"Setup this Linux env variable:# export...
阅读全文
摘要:Start DDMS from:C:\Program Files (x86)\Android\android-sdk\tools\ddms.batSelect the faulting App.Click on the "Show heap updates" green icon.Open the ...
阅读全文
摘要:To activate adbd logs (stored under /data/adb/adb-.txt):# setprop persist.adb.trace_mask 0xFThen, kill daemon or reboot.Windows host adb trace activat...
阅读全文
摘要:May changeadb shell service call window 60 i32 0 # Landscape adb shell service call window 60 i32 1 # Portrait adb shell service call window 60 i32 2 ...
阅读全文
摘要:Android debug bridge uses TCP/IP port #5555 by default. Some firewalls (for example epsilon in GK) block this port, in result connecting adb form host...
阅读全文
摘要:Usually it is sufficient to remount the filesystem via adb adb remountHowever, sometimes it needs to be remounted once again on the target machine mou...
阅读全文
摘要:#!/bin/bashset -e# Get this information by connecting manually once, and do# adb pull /data/misc/wifi/wpa_supplicant.confADB_PULL="adb pull /data/mi...
阅读全文
摘要:如果不能自动分配IP,则:How to change MAC addressnetcfg hwaddr e.g.netcfg eth0 hwaddr 00:11:22:33:44:55How to enable networkingNetwork should be automatically c...
阅读全文
摘要:#!/bin/bashecho "[`date`] Remount filesystem as read-write"adb remount rwecho "[`date`] Delete /system/app/SetupWizard.apk"adb shell rm /system/app/Se...
阅读全文
摘要:为什么有此记录:处理了下邮件,看到同事的mail loop,因此记录下Error of INSTALL_FAILED_SHARED_USER_INCOMPATIBLE when install APK?Somebody said can remove the following line in An...
阅读全文
摘要:今天邮件列表中讨论了一个东西,虽然没有看懂,但还是记录下参考:http://passport.cnblogs.com/login.aspx?ReturnUrl=http%3a%2f%2fwww.cnblogs.com%2fFor the more geeky amongst us, Android ...
阅读全文
摘要:为什么有此记录?一个project有两个可供选择的内核,但是我不知道怎样通过命令行来解决到底编译进哪个内核,最终问题解决了(不是通过命令行,按照device.mk的要求放入指定的目录就可以了):device/comp_name/soc_name/board_name/device.mk 指明采用的k...
阅读全文
摘要:Keep in mind that system services' interface aren't necessary exposed through .aidl files. In some cases, such as for the Activity Manager, the interf...
阅读全文
摘要:For a detailed understanding of the scripting language understood by monkey, along with the parameters each command can take, I invite you to take a l...
阅读全文
摘要:引述自:http://stackoverflow.com/questions/13850192/how-to-lock-android-screen-via-adbif [ "$(adb shell dumpsys power | grep mScreenOn= | grep -oE '(true|...
阅读全文
摘要:升级android sdk,添加 platform图形界面安装,方法1:参考自:http://stackoverflow.com/questions/8613317/android-sdk-installation-failed1) Set proxy on Android SDK manager ...
阅读全文