![]() |
#16 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I have MANY scripts on my hard drives called RUNME.sh, but none of them on my currently mounted drives contain a boot counter reset. Here is an example RUNME.sh that you may modify as you wish:
PHP Code:
Last edited by geekmaster; 04-24-2016 at 01:03 PM. |
![]() |
![]() |
![]() |
#17 |
Member
![]() Posts: 19
Karma: 10
Join Date: Jan 2016
Device: PW2, PW3 & KV
|
Thanks, but I wasn't successful.
However... something happened and now the boot loop is gone. But as soon as I touch the screen to enter the settings menu or try to open book it reboots again. Also the USB mode still doesn't work. Is there a command I can send over in this state, e.g. to reset the device? I tried to send over the 'cat' line to at least reset the boot counter, but it asked for a password. |
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Last edited by geekmaster; 04-24-2016 at 06:16 PM. |
|
![]() |
![]() |
![]() |
#19 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Now the PW3 described in this thread is in my hands. I guess the first step will be the serial port. Perhaps I need to remove the battery and charge it with a standalone lithium battery charger. I will post results.
Serial capture mentioned previously: Spoiler:
Last edited by geekmaster; 05-07-2016 at 09:54 PM. |
![]() |
![]() |
![]() |
#20 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
If you can get even momentary access to USB storage -
Put an empty file, no file extension, all uppercase: DO_FACTORY_RESTORE at the visible root of USB storage, reboot. Ref: https://www.mobileread.com/forums/sho...78&postcount=1 (Yes, it works with the newer devices also.) |
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Different behavior depending on USB connection. The log provided by the OP looks like it reboots with no warning or error message. Serial port time, I think... And when it did allow some settings menu access, plugging in USB cable did immediate reboot. But then just letting it sit awhile on the charger reboots eventually too... And when I did get a screensaver up (by tapping the power button), it was ugly black and white, so there must be an eink waveform issue as well (though the eink wavefile analysis in the serial capture does not report an error). I wonder if the screen had been replaced at some point... Last edited by geekmaster; 05-07-2016 at 10:12 PM. |
|
![]() |
![]() |
![]() |
#22 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Look for things like a poor solder job on the Hall Effect sensor. We had a case of a 'loose' Hall Effect sensor fairly recently. Which resulted in some very strange behavior. = = = = Sorry, I just remember that you replied to that problem with an example of keeping the hot air off of nearby parts with metal foil. Ah, well, I'll leave this post here anyway. Last edited by knc1; 05-07-2016 at 10:16 PM. |
|
![]() |
![]() |
![]() |
#23 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Unplugging and replugging USB cable from PC seems to have repeatable behavior. Cable out, immediate amber LED off. Cable in, ~200msec delay, LED on, USB Charger detected, ~500msec delay, backlight on, ~600 msec delay, USB not detected, 600msec delay, backlight off, ~400msec delay, LED off, 500msec to 2sec delay, repeat about 4 times, then stall with LED on... It acts like software trying to find or do something that fails, but I need a serial port connection to see what what this "USB Charger" mode cycling loop is all about...
|
![]() |
![]() |
![]() |
#24 | ||
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Quote:
Last edited by geekmaster; 05-07-2016 at 10:37 PM. |
||
![]() |
![]() |
![]() |
#25 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I just did a ;dm search command, and a bunch of "system logs" documents showed up in my documents. Trying to view one loaded an apparently empty document (full screen all white except for small "100%" at the bottom). No menu, no drag down menu. After half a minute it rebooted, and only a "Set Up Your Kindle" document now... I wonder where those logs in my documents folder went...
|
![]() |
![]() |
![]() |
#26 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Hmm, I just connected USB to computer again while PW3 desktop working. It popped into an out of "USB Charger" mode detected on PC, touchscreen not responding, reboot half a minute later. I think I see a pattern here -- perhaps it is reformatting /mnt/us (and copying the "welcome" document there). That may indicate data corruption on the userstore partition (or a glitch from bad firmware or bad rootfs), or a power problem that affects flash or SD-RAM reliability... Or a bad connection somewhere (like that hall-effect sensor -- but should that corrupt userstore?)... That could also be why it switches to "Charger" mode (which is "0MB flash drive" mode on earlier kindles) when it tries to switch to USBMS mode.
EDIT: It is still in airplane mode though, even after losing the system log documents, so apparently /var/local is NOT getting reformatted... I just deleted "Set Up Your Kindle" -- to see if it comes back after reformatting (if that is indeed what is happening). [Nope, that is not it. After moving USB from PC to power supply, it reboots again. Empty documents folder... Still, it seems intuitively related to loading the mass storage kernel module... EDIT2: That "Lab126, Inc. USB Charger" mode is USB VID/PID 1949:DEAD, which probably means "dead battery" (the "charger" mode that virtualbox calls it). Less scary than a dead device... Last edited by geekmaster; 07-13-2016 at 08:24 PM. |
![]() |
![]() |
![]() |
#27 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I just did a factory reset from the settings menu. Usually it reboots while in settings, so I was quick.
Woohoo! My grayscales are back. A faint "kindle" just showed up on the kindle tree screen, then a redraw with a darker gray "kindle", then a "choose your language" screen. If eink got fixed, perhaps other stuff too? |
![]() |
![]() |
![]() |
#28 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
It still reboots... And it wants to FORCE me to register before I can get to settings... All I can do is register, or read one of two books (Set Up Your Kindle, and Kindle Paperwhite User's Guide -- a new book)... No menu button or home button. And now the screen locked up -- perhaps another reboot soon... ;-(
At least the corrupt eink waveform file got fixed, now to stop that pesky boot loop... Last edited by geekmaster; 05-07-2016 at 11:42 PM. |
![]() |
![]() |
![]() |
#29 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I took it apart. I did not find board layout or teardown pics in master index, or google. :O
I see that this PW3 is well labelled on the PCB silkscreen. It has pads to install button switches, labelled "USB BOOT", "ON/OFF", and "RESET", and a set of pads labelled "SERIAL DEBUG" (which have had wires soldered to them in the past). One of the testpoints is labelled "JTAG", but JTAG needs more than one pin, so some of those other testpoints scattered around the board must also be JTAG, or it may re-use pads for other functions... Anyway, the "USB BOOT" switch looks a lot like the "magic key" we have been searching for, so we can probably update kubrick to support this device as well. Even easier now that amazon gives us full firmware images in the update files. ![]() I will take photos and upload them to a new PW3 teardown thread, but I have outdoor chores to do first. The joys of home ownership, eh? EDIT: I am thankful at this point that I have a very powerful magnet (harvested from a hard drive) mounted on a handle. The PW3 screw on the floor jumped several inches up to the magnet, allowing for fairly large sweeps to find it. This tool has not been used to swap hard drive head stacks in quite some time, so it is good to find a new use for it... ![]() Last edited by geekmaster; 05-08-2016 at 01:34 PM. |
![]() |
![]() |
![]() |
#30 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I tried various combinations of power, battery removal, and whatnot while jumpering across the "USB BOOT" switch contacts. No luck -- it behaves as before. Online docs say to connect USB to imx_usbdownloader on a linux PC, then apply power while pressing the USB BOOT switch, but I have not had success. No 15a2 VID I am looking for (only 1949:dead from lab126, or nothing). I wonder if those ON/OFF pads disconnect power, which may be easier than futzing with the battery AND USB cable (which also may supply power) while holding a jumper across "USB BOOT". Better still would be to find and install some push buttons. I have a bag full of dozens of those tiny push buttons I got off ebay, if only I can find them...
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[PW] Stuck in boot loop? | abarthch | Kindle Developer's Corner | 11 | 02-04-2016 12:20 PM |
Paperwhite 2 in Boot Loop -- Please Help | hashanga | Kindle Developer's Corner | 2 | 12-07-2013 09:25 PM |
PRS-350 Unbricking from boot loop? | Analogus | Sony Reader | 19 | 06-16-2011 03:35 PM |
Kindle 3 Boot loop | jlove | Kindle Developer's Corner | 13 | 05-17-2011 05:23 AM |
PRS-650 Boot loop after large changes | Soul_Est | Sony Reader | 5 | 11-29-2010 12:12 PM |