View Single Post
Old 11-22-2011, 01:48 PM   #12
pablob
Connoisseur
pablob can extract oil from cheesepablob can extract oil from cheesepablob can extract oil from cheesepablob can extract oil from cheesepablob can extract oil from cheesepablob can extract oil from cheesepablob can extract oil from cheesepablob can extract oil from cheese
 
Posts: 90
Karma: 1059
Join Date: Sep 2011
Location: Canada
Device: OnyxBook M96, enTourage Pocket eDGe (retired)
Ideas for recovery...

Quote:
Originally Posted by nikkie View Post
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".
pablob is offline   Reply With Quote