Quote:
Originally Posted by nikkie
Excellent work. I'm personally more interested in "re-partitioning" the device so we can add a real android style recovery partition, but this is a wonderful step in the right direction. For that I'd need to shrink one of the images and create a new one. Looks like I could learn quite a bit from this, will have to dig into it tomorrow.
|
Thanks!
I have been thinking on ways to have recovery working, and this is what I have come up so far:
- We'd need to have a full UBI image with a decent, up-to-date system (I'd vote for Allmine) so we can reflash to that.
- By properly resizing the volumes we should devote ~200 MiB to this image so it can be permanently stored somewhere in the device. This should probably be another UBI image in a different MTD device, that's where "re-partitioning" will come into play.
- Re-partitioning might affect the system and require changes to the ramdisks...
- Then, we should have a program we can install in the maintenance ramdisk that will let the user choose whether to update using "update.zip" or reflash from the recovery image. I imagine that CWM does this, but we could probably have a more rudimentary program if it's easier.
Ok, I'm not saying anything new in here, but I wanted to do a "brain dump".