Skip to content

Instantly share code, notes, and snippets.

@deepfryed
Created April 24, 2010 22:44
Show Gist options
  • Save deepfryed/378014 to your computer and use it in GitHub Desktop.
Save deepfryed/378014 to your computer and use it in GitHub Desktop.
adb push asroot2 /data/local/
adb shell chmod 0755 /data/local/asroot2
adb shell /data/local/asroot2 /system/bin/sh
adb shell
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# cd /system/bin
# cat sh > su
# chmod 4755 su
# exit
adb reboot
adb push <recovery-RA-hero*.img> /sdcard/
adb push <custom-rom.zip> /sdcard/update.zip
adb shell
# su flash_image recovery /sdcard/<recovery-RA-hero*.img>
# exit
# reboot recovery
-------------------------------------------------------------------------------------------
In recovery mode:
1. Choose to flash update.zip
2. Confirm
3. Reboot
4. Have beer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment