Hot answers tagged adb
If your device is rooted, as it probably is with CM, you can also do this via adb: adb shell rm /data/misc/adb/adb_keys Depending on your build you probably have to run adb as root(1) or call the su binary(2). (1) adb root or adb kill-server; sudo $(which adb) start-server --> adb shell rm /data/misc/adb/adb_keys (2)adb shell --> su --> rm ...
The trick is to add /. to the name of the folder you want to copy: adb pull /sdcard/. backup This copies the whole directory recursively.
If the ADB daemon is not running in root mode, you cannot push to /system/app even with /system mounted read-write, due to not be given the permission. As you correctly pointed out, adb root is no option on non-development-devices ("adbd cannot run as root in production builds"). To fix this up, take a look at chainfire's adb Insecure. This app requires ...
I tried the "StorageManager.enableUsbMassStorage" and the "StorageManager.disableUsbMassStorage" to enable and disable the mass storage and its works. Thanks. That methods are private method. So, If you want to use them, You shoud do it by reflection. To get that Storage Manager, you might use getSystemService(java.lang.String) method that included in ...
Linux/OSX Run fastboot as root or with sudo. Other OS: credits
Only top voted, non community-wiki answers of a minimum length are eligible