![]() |
#61 |
Connoisseur
![]() Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO
|
Yes, great!
Now I cant boot in diags mode ![]() I tryed to mount mmcblk0p1 to mnt/mmc and obviosly made some mistake, so my kindle now is comlitely bricked. Thats nice, now I can stop thinking that I can repair ir myself and just wait for your tools ![]() |
![]() |
![]() |
![]() |
#62 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#63 |
Member
![]() Posts: 19
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
Hi,
I don't think its bricked - I'm still able to go into diag. I'm also looking inside your backup (on another linux box). Question is - why would it not react to power button (HW reset) or simply boot up :-) /var/log/messages is slightly outdated in the backup and doesn't help me much. Is there a chance that the local bootloader or similar got disturbed in diag / any of the related tools? ItsMee Last edited by ItsMee; 02-24-2012 at 03:53 PM. |
![]() |
![]() |
![]() |
#64 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
On linux file systems, there is always a chance of disturbing the file system if you do a hard reset (long power hold) while files are open in write mode. The normal "sync" (cache flushing) gets skipped during a hard reset or unclean power down. And the kindles DO write to the root file system occasionally, especially during startup (look in the startup scripts). This will be an even bigger problem when using "copy on write" file systems, as are in use on other devices, and are planned for in the near future on kindles too. A hard reset should be avoided if possible. Last edited by geekmaster; 02-24-2012 at 04:01 PM. |
|
![]() |
![]() |
![]() |
#65 |
Member
![]() Posts: 19
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
I see your point - and agree. However I'm just desperatly looking for a way to reboot from local storage without avail..
Diag -> Reboot freezes w/o any further changes on the display, too.. Any ideas on how to get a handle on the root cause? ItsMee Last edited by ItsMee; 02-24-2012 at 07:05 PM. |
![]() |
![]() |
![]() |
#66 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
That script worked for me, but I let the backups run until they were finished. You can erase the main USB Drive that contains RUNME.sh from fastboot. You can reflash the main system partition with an mmcblk0p1.img file. I successfully did that for my K4NT when I copied partitions from one K4NT to another to repair it. But I have not successfully written an image to my touch yet in fastboot. There are "forensic" copies of mmcblk0p1.img for the touch on the net: http://gitbrew.org/~dasmoover/kindle/touch/forensic/ I cannot help you fix that particular problem until I fix my own kindle touch. Sorry. It is extremely easy to make things worse, even when you know what you are doing. Things do not always behave as you expect them to when you are trying to recover from a mysterious bricking problem. Unless you are a brave soul, it would be best to wait for simple and complete recovery tools, instead of raw "developer mode" access to diagnostics and root consoles and partition flashing tools. Unlike older kindles, these new kindles are EXTREMELY easy to brick even when making simple changes from an SSH shell, as can be seen by comments posted to the forums and wikis. You can quickly go from "mostly repaired" to "only boots to fastboot" much too easily. Despite a huge amount of study devoted to the inner workings of kindles, I feel like there is much more that I do NOT know about know them than what I DO know, and I still keep bricking them when trying new things. The touch with "upstart" seems to be especially touchy, and the AUTOMATIC payloads (like this one) that start on startup seem to be especially risky. It seems that a bad script (or payload sourced by a startup script) can make GOOD startup scripts refuse to run, making the device no longer able to boot until repaired It is a LOT safer to just use your kindle to read books, like amazon intended. ![]() Last edited by geekmaster; 02-24-2012 at 06:00 PM. |
|
![]() |
![]() |
![]() |
#67 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
![]()
My mntus.params should only call RUNME.sh if there is no RUNME.done, so it should behave identical to the original mntus.params that it replaced, with the benefit of not requiring different versions for each kindle model (where using the wrong one can brick your kindle).
As far as I can tell, the RUNME.done file is created BEFORE the RUNME.sh file runs, so rebooting while it is backing up mmcblk0p1.img SHOULD disable it, and mntus.params should continue as the normal version. It should reboot fine to diags again like it did with the previous (display only) RUNME.sh. EDIT: Perhaps I need to change mntus.params to add a "sync" after "touch /mnt/us/RUNME.done", but before starting RUNME.sh, to make sure that the new "disable" file actually gets written to disk and is not just sitting in a cache in memory somewhere. ![]() Can a more experienced kindle developer (or linux / upstart guru) suggest what may be going wrong as described in previous posts (people used this tool to gain diags access, but then later bricked it so only fastboot works, when using the "diagnostic messages" RUNME.sh posted above). ??? Last edited by geekmaster; 02-24-2012 at 06:20 PM. |
![]() |
![]() |
![]() |
#68 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
That is why I made RUNME.sh a "one-time run" script, which is disabled by RUNME.done before it is called. That way a damaged RUNME.sh should not be a problem after rebooting. I think the problems were caused by resetting the kindle with the power button while it was making a backup copy of the partition (which takes a lot longer than you think it should). Last edited by geekmaster; 03-02-2012 at 11:54 PM. |
|
![]() |
![]() |
![]() |
#69 | |
hub
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
A.
Yoohoo! My Kindle is back on her feet!!! Wow! My advice to those who have bricked their device OR the brickers of future generation is to not give up at all. I tried I think more than 50 times rebooting and trying different combinations of RUNME.sh files and in different modes (main and diag) and this is the way I (read geekmaster) debricked my holy Kindle which had dust on it (not used for months in shelve ![]() 1. In MfgTool, select diags mode 2. MAGIC REBOOT which is {push reset button + Magic button as our geekmaster said} 3. In USB folder, copy data.tar.gz and this RUNME.sh: Code:
#!/bin/sh mntroot rw /usr/sbin/factory_reset echo "Goddamn! Geekmaster is Awesome man!" > /mnt/us/holycrap.txt 5. Now you should have holycrap.txt file on the USB of Kindle. 6. Push Stop button of MfgTool and select main mode and push Start. 7. The do MAGIC REBOOT again. UPDATE: You might have to boot in main mode one more time (repeat steps 6 and 7). Guess what? Your little gorgeous Katie is back home! Geekmaster: You deserve a BIG HUG from me and the whole community. Just wanted to say your time and effort will not be avoid and sometime some where in future, it will do good for you. Thanks man. Quote:
EDIT: One headache in working out this debricking procedure is that novice end users don't know when to go in main mode and when in diag mode, when to push start button and when to stop, things like that just add to the frustration of it... I suggest adding one "just give me something that works" step-by-step instruction (like my 7 steps) that just does the job in the original post. B. If this didn't work for you, here's my 2nd RUNME.sh that I used to happily recover when my KT bricked in a very strange way for second time! Code:
#!/bin/sh mntroot rw dd if=/mnt/us/bak/mmcblk0p1.bin of=/dev/mmcblk0p1 bs=4K mntroot ro Last edited by thatworkshop; 03-02-2012 at 11:57 PM. |
|
![]() |
![]() |
![]() |
#70 | ||
Member
![]() Posts: 19
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
You guys made my day!!
Quote:
Quote:
Be hugged - Kindle is back to life. But as I did factory resets via Menu before - that alone wasn't enough. I had also to revert my initial changes (sh -> bash, /etc/hosts) via RUNME.sh to have this fixed. ItsMee |
||
![]() |
![]() |
![]() |
#71 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
So, it looks like I should add /usr/sbin/factory_reset to my "display only" demo RUNME.sh in the original post. Thanks for that information cscat!
This is exactly WHY I published my tools before they were completely ready, so that others could improve them. To run a different RUNME.sh, remember to delete RUNME.done from your USB drive. Things are getting better as we put our heads together and figure out more details about how to use "USB/HID" mode to our benefit. "Standing on the shoulders of Giants" is a noble way to improve our shared knowledge. Let's keep improving this until we have a "One Button" solution. ![]() EDIT: simple step-by-step recovery thread: https://www.mobileread.com/forums/sho...d.php?t=170929 Last edited by geekmaster; 03-03-2012 at 12:00 AM. |
![]() |
![]() |
![]() |
#72 | |
hub
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
ItsMee: you're most welcome dude! Thanks geekmaster instead.
Quote:
Geekmaster: I admire your technical skills and I believe old generations of software engineers DO have some great lessons to teach us newer generation; things like patience and anti-instant-gratification that come from being used to the old computers and etc. You know these better than me man... BUT much much much more importantly, your personality that shines through your advices and posts. Anyways, I try to keep thread just up for its business and not deviate by saying redundant "thank-you" posts BUT dear geekmaster, this is different, you deserve a feast of appraisals and claps with this achievement which literally saves people hundreds of dollars directly (and indirectly, imagine courier services, etc.)... I, for one, bow in front of you as a way of saying "Oh My God! This guy does magic." [ End Of Rant ] ![]() Also, I edited my previous post, your revision is much appreciated. Last edited by thatworkshop; 02-24-2012 at 08:55 PM. |
|
![]() |
![]() |
![]() |
#73 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
Quote:
I used your tip to take a screenshot. But mine is not clear as yours? final: ![]() Last edited by thomass; 02-24-2012 at 07:51 PM. |
|
![]() |
![]() |
![]() |
#74 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Reply to Off-Topic Post
Quote:
I did not sharpen my images after resizing, but it appears that you did. Depending on the image, sharpening can make it better or worse, depending on content. Personally, I would not shrink images with text below half-size. I would instead crop them to fit (like I did with the MfgTool images that were much too wide to fit a mobileread page). ![]() ![]() ![]() In the case of my screenshot used in the first post, it was taken from diagnostics mode, which uses a pixel-doubled 5x7 character font. Because each pixel was duplicated in width and height, resizing it to half-width did not lose any of the original content. Last edited by geekmaster; 02-24-2012 at 09:55 PM. |
|
![]() |
![]() |
![]() |
#75 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
I did simplify the post with the snapshots. It original had MANY more screenshots in it. I periodically go back and clean up old posts. In one post I mentioned that much of the useful content in this thread should probably be moved to a wiki. That would allow it to change easily as new things are discovered. It is a lot harder to clean up a thread, with all the interactive exchanges that usually include portions of previous posts in a quote. I cannot edit mistakes in my text after it is included as a quote in somebody else's post. I really do think *somebody* should make a wiki page based on this (and related) threads. A *LOT* of my content here is in reponse to other posts, and I add new ideas along the way, to the reply post I am currently creating. When the original post gets too obsolete, I plan to go back and update it. But we do not want that first post to grow too large (like it already is). At some point, after the first post contents move to a wiki page, I plan to delete most of it and make that post mostly for announcements, downloads, and links to related content. Last edited by geekmaster; 02-24-2012 at 09:49 PM. |
|
![]() |
![]() |
![]() |
Tags |
debricking, kindle mx50 select boot |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bricked Kindle Touch; Won't boot into diags/fastboot | kerotan | Kindle Developer's Corner | 3 | 05-19-2012 10:58 AM |
Kindle Touch does not boot | marmomr | Kindle Developer's Corner | 38 | 05-16-2012 01:19 PM |
Kindle Touch select text, copy paste? | Zimmy | Amazon Kindle | 3 | 02-18-2012 08:45 AM |
Kindle Touch Won't Boot | teekay | Kindle Developer's Corner | 3 | 12-10-2011 12:51 AM |
Opus cannot boot, stuck on boot screen | baloma | Bookeen | 35 | 11-13-2010 04:20 AM |