View Single Post
Old 10-20-2011, 10:53 AM   #26
ktwombley
Connoisseur
ktwombley began at the beginning.
 
Posts: 51
Karma: 32
Join Date: Sep 2011
Device: pocket edge
Quote:
Originally Posted by nikkie View Post
I just realized. This device already has a backup kernel. There's no need to port clockwork mod unless we really want - we really just need to hack the existing updater application to reflash with whatever we have. There's ALREADY an additional kernel available to run things, the maintenance kernel. So I think as a first step, tomorrow, I'm going to start looking through the source to find the updater code (if they open sourced that bit), and then see if we can just use that to see if we can hack that kernel into a clockwork style interface.
The updater is just a shell script. it looksl ike they didn't go with an android-standard updater format (binary+script). In the standard format, the script is written in an android-specific language and the binary executes the script. In this format it just boots to an alternate OS (which just happens to be another linux) and runs a shell script.

That's how I did allmine; I just modified the shell script to also unzip my zip files after the standard ones (which I removed), and then do a few bits of kludgery to glue the mess together.

So yeah, I think you're on to something here.
ktwombley is offline   Reply With Quote