Tuesday, September 1, 2009

Useful Android Commands

Maybe you have an android phone, and you want to mess about with the flash. Here are some handy commands.

Phone is booted and you want to push down a new update file:
adb push signed-cyanm-4.1.1-32a.zip /sdcard/update.zip
Phone is booted and you want to get back to the Fastboot interface:
adb shell reboot bootloader
Phone is at the Fastboot interface and you want to boot a specific recovery image:
fastboot boot cm-recovery-1.4.img
Phone is at the Fastboot interface and you want to restore a specific user, data, and system image:
fastboot flash userdata data.img
fastboot flash system system.img
fastboot flash boot boot.img
Phone is at the Fastboot interface and you want to reboot it:
fastboot reboot

No comments:

Blog Archive