Quote:
Originally Posted by Blog Kindle
I've tried unpacking 2.0.2 update and repacking it as FB01 update - it also fails with error 003.
There should be something special that recovery updates must have...
Will keep digging a little more...
|
It seems to me that there are at least three processes involved in performing the updates:
- powerd - the Amazon written power management daemon (not open source), besides handling part of the screen saver implementation I suspect it's what is responsible for "Recovery mode" when it is started and the home key is held.
- The Java GUI - again no source code.
- Shell/Init scripts - these are the only things we can be certain of what they do without going through reams of ARM machine code, or poorly disassembled Java.
A couple things:
- Can you try it with FB02 as well. The java side seems to be looking for either FB02, FC02, or FD03. Maybe that'll at least get you past the 0003 error, but probably not. For that matter, try FD03 as well.
- The shell script side shows us that the FC/FD are OTA updates and cause the system to launch into runlevel 3 to perform the update, runlevel 3 is the update script which unpacks the update and runs the scripts. However, FB is noted as being a "full update" and the system simply reboots. I would wager a guess then that the FB "full update" bins are probably supposed to contain filesystem images (See Igorsk's blog about the 6 and 7 id in the original K1 update files) however I can't say for sure -- the shell scripts only work for the FC02/FD03 bundles.