- Nov 8, 2011
- 3,836
- 1,394
I was thinking that cause I was looking around the n7 Forums on XDA and read it would need flash_image. I did read over there that the terminal emulater works for them.
The command is
dd if=/sdcard/(your recovery name).img of =/de/block/mmcblk0p1
Would it be the same for us?
Here is script.
Code:
#!/system/bin/sh
if busybox test ! -f /mnt/sdcard2/dual_boot/recovery.img; then
echo no /mnt/sdcard2/dual_boot/recovery.img
exit 1
fi
cat /mnt/sdcard2/dual_boot/recovery.img > /dev/block/platform/sdhci-tegra.3/by-name/SOS
sync; sync; sync
echo rebooting to recovery
sleep 2
reboot recovery
to flash on the fly, use adb to push recovery, then
cat /sdcard2/recovery.img > /dev/block/platform/sdhci-tegra.3/by-name/SOS
reboot recovery