![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 138
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
|
[SOLVED] K4NT - Repair Needed, No drive found
Hello,
I messed up something with Kindle framework, but internally its fine, only hasn't been closed properly. Now it's stuck on "Kindle needs repair". Problem is, it tries to connect like usb storage, but the disk seems like empty, so I can't access userstore. When hard restart is performed, It will load progressbar to half and then jump back to Repair mode. My questions are: Have K4NT any "recovery mode" to connect over USB over fastboot or sb_loader? Can someone upload compiled uboot.bin for K4NT or tell me, how to compile it with scratchbox? Thanks Last edited by hostar; 02-26-2012 at 08:15 AM. |
![]() |
![]() |
![]() |
#2 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
The empty drive is know in the GPL source code as "fstore" (fake storage) mode. It's purpose is to allow charging the kindle battery over a USB port, and it acts like a zero-byte USB Drive so that the host PC will keep supplying power to that USB port.
It is triggered automatically during boot if the battery voltage is too low to continue. It can also be triggered manually with a u-boot bist fstor command. The "Kindle needs repair" can be repaired by resetting a boot counter in /var/local as documented in the "Kindle Touch Serial Port Recovery" thread, except now you can do that from a script file executed by ixtab's jailbreak method. ixtab's method also works when booting from diagnostics mode, but the RUNME.sh script may need some adjustments (different root partition). You can mount the main root partition and make changes to it like this: mount /dev/mmcblk0p1 /mnt/mmc cd /mnt/mmc/etc/upstart ... I have other ways to execute scripts that I am holding in reserve, so please use ixtab's method for now. Thanks. I have custom patched k4nt u-boot.bin files named fastboot.bin, diag.bin, and main.bin. These can be loaded and run using MfgTool from freescale.com, but I have had very poor success being able to consistently run them using sb_loader. These patched and renamed u-boot.bin files boot the kindle 4 to the mode indicated by their name. After you get MfgTool downloaded and installed in Windows, I can supply these patched files. In fact, I will post them to a new thread later today. Last edited by geekmaster; 02-15-2012 at 09:11 AM. |
![]() |
![]() |
![]() |
#3 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 138
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
|
geekmaster: thanks for your reply.
According to your instructions, I was charging kindle for about 3 days, but I'm still it that damn fakesore mode. Even on boot I can't see userstore for even one second. So I couldn't to upload necessary files with ixtab's method. I have managed to install MfgTool, sb_loader and fastboot. I have also successfully boot to Recovery Mode. In Recovery Mode I can see the kindle only with sb_loader. I think, I can fix kindle if I would have access to userstore or usbnet. Also kite runs successfully on boot. But yifanlu wrote something about upcoming debricking tool, so I don't know if I just shouldn't wait... |
![]() |
![]() |
![]() |
#4 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Here is another tool to help repairing kindle touch and k4nt:
https://www.mobileread.com/forums/sho...d.php?t=169645 |
![]() |
![]() |
![]() |
#5 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 138
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
|
With your KindleSelectBoot, I successfully (say 99%) debricked my Kindle.
Many thanks. This 1% is this strange thing: I can't run that "experimental" Internet browser. I have checked for existing Browser.jar and browserd service. When I stop browserd service and then run browserd binary, it writes this output: Spoiler:
I don't know, what should I check. It's true, that I use that browser only rarely, but interested in fix it (just for fun). |
![]() |
![]() |
![]() |
#6 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Perhaps a missing or corrupted library or other file? You could loop mount a backup image and copy a replacement file from that.
|
![]() |
![]() |
![]() |
#7 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 138
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
|
First thing I've done when I found browser doesn't work was recovery
of Browser.jar from backup. After I read your answer (thanks for that), I had an idea. I checked (almost) all files on Kindle with md5sum, and did same thing with files in backup. Now the curious thing: even if I have already replaced the Browser.jar, it's md5 was different from backup! Also some other files has different md5. So I replaced the Browser.jar again. But the browser actually run after correcting file called "internal.conf", where was on last line: com.lab126.booklet.a.Y instead of com.lab126.booklet.a.y So everything is fine now, I'm writing this only because someone might have similar problem in future. |
![]() |
![]() |
![]() |
#8 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
For people with bricked kindles who are anxiously waiting more progress on these tools, sorry about the delay -- a tiny mistake to my payload while testing new stuff bricked my touch in a way that I have not yet discovered how to repair, despite a lot of time diverted from development to repair attempts. I have also diverted a lot of time to helping others fix their kindles, in PMs and IRC private channel conversations (there has been a very high success rate). Now, if I could just succeed on my own Touch). Time to stop poking around in USB methods and go deeper into serial port recovery like I used the first time. I think the Touch does not work as well in fastboot mode as my K4NT did ("fastboot flash system mmcblk0p1.imf" reports "success" much to quickly, and it does not fix the problem). My soldering iron is warming up now... ![]() |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[K4NT, Help needed] Bricked, but visible as USB HID | umbertone | Kindle Developer's Corner | 7 | 01-21-2012 01:35 PM |
Seperating K4NT from Amazon's services | Lorphos | Kindle Developer's Corner | 2 | 01-11-2012 05:51 AM |
Backporting X-Ray to K4NT? | Tronex | Kindle Developer's Corner | 0 | 01-10-2012 08:36 AM |
K4NT: Special USB Cable? | Robmonster | Amazon Kindle | 7 | 12-20-2011 11:05 PM |
Good Low Cost K4nt Covers | ThomasC | Amazon Kindle | 0 | 11-25-2011 02:30 AM |