adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
...
adb install [-l] [-r] [-s] <file> - ...
adb uninstall [-k] <package> - ...
adb bugreport - return all information from the device
that should be included in a bug report.
adb help - show this help message
adb version - show version num
...
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specified device
adb remount - remounts the /system partition on the device read-write

adb reboot [bootloader|recovery] - reboots the device, optionally into the bootloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on the specified port
...
功能实在非常全面,仔细看还有什么adb root,adb remount。不过放心,这些
肯定都被限制死了,不能用!否则国外牛人也不至于费这么多劲去搞个破解程序!
SuperOneClick其实还是利用adb这个调试接口。我们仔细查看上面SuperOneClick
失败的日志,发现有如下内容:
Running rageagainstthecage...
ROOTED
这说明已经拿到了Root权限,只是复制su的过程中出错了。而rageagainstthecage是
关键的提取权限程序。拿到root后,紧接着SuperOneClick就对/system进行remount:
Remounting system with read-write access...
OK
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/sanxing/article-35424-4.html
你具备了当省长的水平