How can I update my Kindle 2 under recovery mode? I tried the official 2.0.1 update and updates made by igor's tool. None of them worked. Basically after I press 1 in the recovery mode, the firmware update screen was just briefly appeared (<1/2 second), with no advances in the progress bar. And the kindle went back to reboot again. And then it tried to update the firmware and fell into a infinitely reboot loop. The only way out is by forcing into the recovery mode and delete the update bin file.

Long version:

So I was using igor's script to play with my kindle 2. Then I made a bad modification of /usr/java/lib/font.properties. After the update/reboot, it seems that the mobireader app/front GUI kept crashing and reloading, probably due to the bad font.properties definition. I had access to the kindle's disk via usb during all this. So I figured that the main os was still working fine.

Then I thought, no big deal, I'll just update it with another script to roll back the font.properties. Then I was bumped into the aforementioned question. I found that I couldn't update my firmware, despite that I have access to the recovery mode.

It might be interesting (if you're willing) for you to be our Amazon test case. Ring up the 800 number listed on the recovery screen and ask for help. I _assume_ they'll hand you a "start from 0" .bin file. But I don't know...

I will do that, but not until you guys give up on me. . I assume there exists a complete flasher for the recovery mode too. I am just a bit concerned about my warranty if I contact them... I know I should have prepared for this when I messed with my kindle!

To superzhou

The mod I made to font.properties was

Quote:

serif.0 = Caecilia_LT_65_Medium.ttf,ANSI_CHARSET
serif.1 = Droid.ttf

I was hoping that I can then use Droid font for non ANSI glyphs. I guess Kindle's JVM failed to parse the "ANSI_CHARSET" part.

Really, if a recovery mode firmware update doesn't dtrt, I don't know what will. But I've only been at this kindle hacking thing a couple weeks.

Can you try to run the update bin under recovery mode? There must be some unknown tricks so that the ones made by igor's script didn't run properly under recovery mode.

Correction to my first post: running bin's made by igor's script under recovery mode will make the machine fell into an infinite update/reboot loop. On the other hand, under recovery mode, office 2.0.1 update bin and clarknova's screensaver mod were simply ignored and the machine went on to boot the regular kernel.

hmm, the official bin and screen saver mod are using "ffs" instead of .sh, will it make some difference?

I was in this infinite loop before, but not for the same reason. Basically if you put your update.bin in the root directory and incorrectly select "Restart" instead of "Update your Kindle", you will get the same behavior, the only way out is delete the update bin let it boot up normally and start it again.

To make a recovery update (as opposed to OTA update) you need to create an "FB01" file. For that, change the third parameter in the make_bin() call to 1:

Code:

make_bin("update_"+name, filelist, 1, kver)

I cannot test it as I don't have a K2 but it should work.

igor, thank you for being here!

Now the bin generated was running under recovery mode. However the update was not successful. On the screen, there's a big "!". Under it it said the update was not successful and the error code is 0003. From there I can press "R" to get back to regular bootloader.

I tried your recovery bin generator with two scripts

One tried to copy the original font.properties back. The bin generated was about 128k and I enclosed it in the end.

Try to put in a dumy ls command without output to a file to see if the update "success"?

Nope. I even tried with a blank script and all of them failed, with error code 3. As for your previous suggestion, I tried as well. I think it is " home, menu, 3 downs, enter, menu, 2 downs, enter" to hit update. But apparently it was handled by the mobireader app so nothing happened it seemed.