Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-25-2015, 01:41 AM   #1
Phazed
Junior Member
Phazed began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2015
Device: PW2
PW2 in strange state

I posted this over in the Mr. Packages forum, figured I would get a better response here.

I went to install the ScreenSavers Hack on my PW2. Saw the link for the Package installer. Installed the KUAL extension, put the .bin file into /mrpackages and told KUAL to install it. It claimed success, said "restarting UI" and the Kindle rebooted.

It gets ~90% of the way through the reboot and hangs. Sits there for a while, then reboots and hangs again. Repeat.

Plugging in a USB connection to a computer, the Kindle shows up as a drive. After I eject it seems to work normally. So I placed the uninstall file into /mrpackages and used KUAL to do Mr Packages install. Again the reboot and hang.

Deleted the /mrpackages and extensions/MRInstaller folders and did a manual restart.

Same problem.

So, I'm not adding/removing ANYthing at this point until I get this resolved. Would appreciate suggestions on how to proceed. USBNetworking works fine and I am comfortable at the command line. Help?

Last edited by Phazed; 11-25-2015 at 01:10 PM. Reason: Making more precise
Phazed is offline   Reply With Quote
Old 11-25-2015, 03:09 AM   #2
Barbara1955
Non-Techy
Barbara1955 ought to be getting tired of karma fortunes by now.Barbara1955 ought to be getting tired of karma fortunes by now.Barbara1955 ought to be getting tired of karma fortunes by now.Barbara1955 ought to be getting tired of karma fortunes by now.Barbara1955 ought to be getting tired of karma fortunes by now.Barbara1955 ought to be getting tired of karma fortunes by now.Barbara1955 ought to be getting tired of karma fortunes by now.Barbara1955 ought to be getting tired of karma fortunes by now.Barbara1955 ought to be getting tired of karma fortunes by now.Barbara1955 ought to be getting tired of karma fortunes by now.Barbara1955 ought to be getting tired of karma fortunes by now.
 
Barbara1955's Avatar
 
Posts: 4,454
Karma: 15499273
Join Date: Feb 2011
Location: WV---USA
Device: Samsung Cell Phone & Amazon Fires & Kobo eReaders
Kindle Developer's Corner... check or post there.
Barbara1955 is offline   Reply With Quote
Advert
Old 11-25-2015, 04:22 AM   #3
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Moved to the Kindle dev forum which is where, as Katie says, you'll get help with this.
HarryT is offline   Reply With Quote
Old 11-25-2015, 06:54 AM   #4
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Phazed View Post
- - - -
Deleted the /mrpackages and extensions/MRInstaller folders and did a manual reset.
- - - -
Exactly what do you mean by: "manual reset" ?
Like in, what actions did you take to do that, whatever it is.
knc1 is offline   Reply With Quote
Old 11-25-2015, 06:56 AM   #5
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
I would guess that he means a "hold the power switch in for 30 seconds" reboot.
HarryT is offline   Reply With Quote
Advert
Old 11-25-2015, 07:14 AM   #6
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by HarryT View Post
I would guess that he means a "hold the power switch in for 30 seconds" reboot.
I just wanted to be certain the O.P. did not mean using the "Reset to Factory Defaults" ?feature? .
Which would probably have made the situation worse.
knc1 is offline   Reply With Quote
Old 11-25-2015, 11:24 AM   #7
Phazed
Junior Member
Phazed began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2015
Device: PW2
I did a Home->Menu->Settings->Menu->Restart (not reset)
Sorry, for not being exact.
Phazed is offline   Reply With Quote
Old 11-25-2015, 11:31 AM   #8
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Phazed View Post
I did a Home->Menu->Settings->Menu->Restart (not reset)
Sorry, for not being exact.
What happens when you either add or remove a single book from /documents?
The same thing (what looks like a 'hang')?

If so, put it on a wall charger to keep it powered and wait, at least a day or two.
It is evidently trying to recover file system errors on the flash memory with bad blocks - a very slow process.
knc1 is offline   Reply With Quote
Old 11-25-2015, 11:52 AM   #9
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by Phazed View Post
I did a Home->Menu->Settings->Menu->Restart (not reset)
Sorry, for not being exact.
Yes, that's the same as a "hold the power button in for 30s" restart.
HarryT is offline   Reply With Quote
Old 11-25-2015, 12:30 PM   #10
Phazed
Junior Member
Phazed began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2015
Device: PW2
Loading a book via Calibre works normally.

Note that when the problem occurs, the Kindle hangs for about a minute, then reboots.

I"m suspecting that something got left as a startup script, I'm just not sure where to look.
Phazed is offline   Reply With Quote
Old 11-25-2015, 01:11 PM   #11
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Phazed View Post
Loading a book via Calibre works normally.

Note that when the problem occurs, the Kindle hangs for about a minute, then reboots.

I"m suspecting that something got left as a startup script, I'm just not sure where to look.
Don't complicate things by using un-neccessary software.

Just use your file manager to copy a book to kindle:/documents -
Do a "safely remove" or "eject" the USB storage -
Re-start -
Connect to pc -
Is the book still in kindle:/documents?
Can you still open the book (on the kindle, not the pc).
knc1 is offline   Reply With Quote
Old 11-25-2015, 01:35 PM   #12
Phazed
Junior Member
Phazed began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2015
Device: PW2
Yes, the book is there and opens normally on the Kindle.

As far as I can tell, once I plug in the Kindle, everything works just fine. The only issue is on boot, which is why I suspect a startup script.

I just did a restart. The "hang" lasts 95 seconds. As long as I plug in the USB connection to the computer during that time, it shows up as a device on the PC. Then, if I eject it, the Kindle works perfectly. The problem occurs exclusively on restart.

Another test and more information. It's a network issue. If I enable Airplane mode and restart, the "hang" lasts about 10 seconds and the Kindle comes up normally. Good to know that I have a work around. While I do have bbb installed for firewalls, there was no problem with anything until attempting to install the screen saver hack.

From /var/log/messages:
Code:
151125:090034 PRINTKBUF: === <7>[ 662.441508] dr_controller_run: udc enter low power mode
151125:090034 PRINTKBUF: === <6>[ 662.441519] Fsl-usb2-udc: bind to driver g_file_storage
151125:090034 PRINTKBUF: === <4>[ 672.443122] Unloading Atheros ar6003 driver in ar6000_cleanup_module
151125:090034 PRINTKBUF: === <4>[ 672.445473] debug_hdr_ptr: 0x5429a0
151125:090034 PRINTKBUF: === <1>[ 672.610481] Reset Cause readback: 0x2
151125:090034 PRINTKBUF: === <6>[ 673.131912] mmc1: card 0001 removed
151125:090034 powerd[2115]: I def:battinfo:capav=93%, mAh=1297mAh, volt=4121mV, current=161mA, temp=84F, bp=0000mV, lmd=1408mAh, cycl=90, cyct=0:
151125:090034 powerd[2115]: I def:battinfo-misc:caprep=89%, capmix=00%, mAhav=0mAh, mAhmix=0mAh:
151125:090034 powerd[2115]: I lipc:evts:name=battLevelChanged, origin=com.lab126.powerd, fparam=93:Event sent
151125:090034 PRINTKBUF: === 308868] imx2-wdt imx2-wdt.0: Device shutdown: Expect reboot!
151125:090034 PRINTKBUF: === <0>[ 713.314927] Restarting system.

Last edited by Phazed; 11-25-2015 at 02:14 PM. Reason: Additional information.
Phazed is offline   Reply With Quote
Old 11-25-2015, 03:43 PM   #13
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Phazed View Post
Yes, the book is there and opens normally on the Kindle.

As far as I can tell, once I plug in the Kindle, everything works just fine. The only issue is on boot, which is why I suspect a startup script.

I just did a restart. The "hang" lasts 95 seconds. As long as I plug in the USB connection to the computer during that time, it shows up as a device on the PC. Then, if I eject it, the Kindle works perfectly. The problem occurs exclusively on restart.

Another test and more information. It's a network issue. If I enable Airplane mode and restart, the "hang" lasts about 10 seconds and the Kindle comes up normally. Good to know that I have a work around. While I do have bbb installed for firewalls, there was no problem with anything until attempting to install the screen saver hack.

From /var/log/messages:
Code:
151125:090034 PRINTKBUF: === <7>[ 662.441508] dr_controller_run: udc enter low power mode
151125:090034 PRINTKBUF: === <6>[ 662.441519] Fsl-usb2-udc: bind to driver g_file_storage
151125:090034 PRINTKBUF: === <4>[ 672.443122] Unloading Atheros ar6003 driver in ar6000_cleanup_module
151125:090034 PRINTKBUF: === <4>[ 672.445473] debug_hdr_ptr: 0x5429a0
151125:090034 PRINTKBUF: === <1>[ 672.610481] Reset Cause readback: 0x2
151125:090034 PRINTKBUF: === <6>[ 673.131912] mmc1: card 0001 removed
151125:090034 powerd[2115]: I def:battinfo:capav=93%, mAh=1297mAh, volt=4121mV, current=161mA, temp=84F, bp=0000mV, lmd=1408mAh, cycl=90, cyct=0:
151125:090034 powerd[2115]: I def:battinfo-misc:caprep=89%, capmix=00%, mAhav=0mAh, mAhmix=0mAh:
151125:090034 powerd[2115]: I lipc:evts:name=battLevelChanged, origin=com.lab126.powerd, fparam=93:Event sent
151125:090034 PRINTKBUF: === 308868] imx2-wdt imx2-wdt.0: Device shutdown: Expect reboot!
151125:090034 PRINTKBUF: === <0>[ 713.314927] Restarting system.
To fix the start-up delay:

In USB storage mode, add this filename to the root directory of USB storage (alongside the /documents directory):
WIFI_NO_NET_PROBE
That exact spelling, capitalization, no extension no contents.

I may have forgotten to mention the adding of that flag filename in the BBB directions (it was a long time ago).

The interaction of the screensaver changes with the rest of the operation - let NiLuJe handle that one.

PS: You did get the screensaver package from NiLuJe's snapshot thread, didn't you?

Last edited by knc1; 11-25-2015 at 03:45 PM.
knc1 is offline   Reply With Quote
Old 11-25-2015, 10:25 PM   #14
Phazed
Junior Member
Phazed began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2015
Device: PW2
No change in behavior.

Did a touch of /mnt/us/WIFI_NO_NET_PROBE as I did not see that in the instructions for bbb. In airplane mode, I still see a 7-8 second pause at the same "hang" point but everything comes up normally:
Code:
ls -l /mnt/us/WIFI_NO_NET_PROBE 
-rwxrwxrwx    1 root     root             0 Nov 25 16:56 /mnt/us/WIFI_NO_NET_PROBE
Disabling airplane mode continues to cause the hang/reboot, only way around it seems to be to connect to a computer during the 90 second pause.

I installed/removed the screen saver hack from this link:
https://www.mobileread.com/forums/sho...d.php?t=195474
Phazed is offline   Reply With Quote
Old 11-25-2015, 11:19 PM   #15
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
On this forum's index page, just below the final blue bar, find:
Prefix dropdown list, set to "tools" -
Click the "show threads" button -
Scroll down to the thread of NiLuJe's snapshots, click thread title -
Scroll down to the screensaver hack -
Use that one instead of the old (last August) one.
knc1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
99 cent strange tale! Strange Soul Mates: A Short Story Xenotransplant Self-Promotions by Authors and Publishers 4 01-22-2015 10:19 PM
New PW2, now what? dphirschler Kindle Developer's Corner 16 01-02-2015 10:22 AM
Which one are you ordering: PW2 wifi or PW2 3G jocampo Amazon Kindle 37 08-18-2014 10:48 AM
So my PW2 did a strange thing... Forbid Amazon Kindle 14 10-22-2013 07:28 AM


All times are GMT -4. The time now is 08:40 PM.


MobileRead.com is a privately owned, operated and funded community.