Ouya: blacklist boot partition to avoid brick
Thanks to Robert Yang's pmbootstrap patch, we can now avoid flashing anything to the boot partition of the Ouya. With this patch, the latest pmbootstrap will refuse to do so with:
ERROR: 'boot' partition is blacklisted from being flashed! See the Ouya device wiki page for more information.
Merge request reports
Activity
added category::device label
mentioned in commit d0e698f6
By Oliver Smith on 2019-02-28T13:44:54
added 1 commit
- d0e698f6 - ouya: blacklist boot partition to avoid brick (!247 (merged))
By Oliver Smith on 2019-02-28T13:44:54
Should
recovery
be blacklisted too? I think there are only two possible ways to install the pmOSboot.img
for Ouya.- Boot into recovery.
adb push
theboot.img
to/system/boot.img
or/sdcard/altboot.img
. - Flash
boot.img
to recovery.
In the second case we are pushing the users to manage restoring recovery themselves if need be. This could lead to mistakes such as inadvertently fastboot flashing
boot
. I was thinking it's safer just to avoid the dealing with fastboot flashingboot
/recovery
and encourage people to stick with the safest option only.By ryang on 2019-02-28T14:15:03
Edited by Administrator- Boot into recovery.
mentioned in commit 0e371683
By Oliver Smith on 2019-02-28T14:31:37
added 5 commits
-
d0e698f6...98197693 - 4 commits from branch
master
- 0e371683 - ouya: blacklist partitions to avoid brick (!247 (merged))
By Oliver Smith on 2019-02-28T14:31:37
-
d0e698f6...98197693 - 4 commits from branch
Hmm, shouldn't we blacklist those partitions for basically every device? We have no business there whatsoever right?
By Bart Ribbers on 2019-03-03T20:47:36
Edited by AdministratorHmm, shouldn't we blacklist those partitions for basically every device? We have no business there whatsoever right?
The isorec method requires writing to the recovery partition.
I don't think we need to blacklist recovery in general, because even if you overwrite it, you can always boot into the bootloader (usually fastboot) and flash something else to the recovery partition afterwards.
The Ouya is a special case, because once you overwrite boot, you can not overwrite it again. And overwriting recovery in the Ouya may lead them to overwrite boot by accident when restoring the recovery partition, as @ryang2678 explained above.
By Oliver Smith on 2019-03-04T09:02:39
Edited by Administratoradded 29 commits
-
0e371683...e76bd074 - 28 commits from branch
master
- 233a4016 - ouya: blacklist partitions to avoid brick (!247 (merged))
By Oliver Smith on 2019-03-08T06:48:13
-
0e371683...e76bd074 - 28 commits from branch
mentioned in commit 233a4016
By Oliver Smith on 2019-03-08T06:48:14
enabled an automatic merge when the pipeline for 233a4016 succeeds
By Oliver Smith on 2019-03-08T06:48:49