Backup worked fine, flash worked and I'm booting now to make sure it put the files where it was supposed to and see if they work. Then i'll reboot and restore and make sure those files go away.One thing to note is that when i choose reboot system now it asked me to disable recovery flash,so I took the plunge and said yes, we'll see if it goes back to stock or not...
It rebooted to stock recovery, as I expected, so still haven't flashed it just yet.
Yeah, I think install_recovery.sh is run on startup (init.rc of the kernel ramdisk tells it to run). I think we need to rename /system/recovery-from-boot.p to recovery-from-boot.bak in order to prevent the overwriting of the recovery partition.
UPDATE: Sure enough, that's what it was. I performed the following and now I have successfully flashed CWM to my recovery partition. I can reboot and it stays there.
1) adb shell
2) su
3) mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
4) cd /system
5) mv recovery-from-boot.p recovery-from-boot.bak
6) exit
7) exit
8) adb reboot bootloader
9) fastboot flash recovery OuyaCWMRecovery.img
10) fastboot reboot
11) adb reboot recovery
NOTE: The updates issued by Ouya simply format the whole system partition and write an updated system partition. If you receive an update from Ouya, it will undo the change I described above and flash the stock recovery over CWM. Kind of annoying. We could prevent this from happening by turning off updates (I'm not sure how to do this yet). When Ouya releases an update, we could take the update.zip and modify it so that CWM wouldn't be overwritten. Not a huge deal.
Sent from my SCH-I535 using xda premium
Last edited: