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 03-16-2016, 11:27 AM   #1
irreld
Enthusiast
irreld began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Jan 2016
Device: PW2 PW3 DPT-RP1
Jailbreak lost after 5.7.3 reset

I updated my PW2 to 5.7.3 with jailbreak adn re-installed everything. Then I found cvm was draining my battery, so I did a factory reset as usual.

However the 'mkk banner' did NOT appear in my next reboot, which was supposed to be Then I tried to install the 'bridge' and forced a reboot, nothing happened.

Does that mean I've lost my jailbreak and I have to get a serial port connection to jailbreak or to downgrade?
Spoiler:

Amazon is always making things harsher than ever. But I have to stick within its loop because I heavily rely on 3rd party stuff. sad.
irreld is offline   Reply With Quote
Old 03-16-2016, 12:06 PM   #2
Cinisajoy
Just a Yellow Smiley.
Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.
 
Cinisajoy's Avatar
 
Posts: 19,161
Karma: 83862859
Join Date: Jul 2015
Location: Texas
Device: K4, K5, fire, kobo, galaxy
If you factory reset after the jailbreak, you literally put the device back to its defaults.

If you got lucky and it reset to 5.6.5 you can redo the jailbreak. If it is on 5.7 + then no jailbreak is possible at the moment.
Cinisajoy is offline   Reply With Quote
Advert
Old 03-16-2016, 12:11 PM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Assuming you were running the latest (1.14.N) jailbreak, you just need to copy some backups ( rp/ && mkk/ ) to the userstore and reboot a few times.

The problem with a Factory Reset is that it wipes the partition which stores the jailbreak, MKK, and "gandalf" addon.
Yes, recent versions are resilient with an upstart script which can restore the jailbreak -- but that requires manual intervention, cf. the very great importance of MKK and gandalf.

A combination of Factory Reset followed by firmware update is an unilateral destruction of the jailbreak, with NO hope of recovery (unless your firmware can be jailbroken from scratch).
Avoid this at all costs.


tl;dr
Factory reset is BAD. If at all possible (unless of course something is seriously wrong with the Kindle, but you'd know if that were the case ), you should look for other solutions like manually deleting your documents and Search Index folders.

Last edited by eschwartz; 03-16-2016 at 12:17 PM.
eschwartz is offline   Reply With Quote
Old 03-16-2016, 02:48 PM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Simply reinstalling the hotfix should also do the trick.
NiLuJe is offline   Reply With Quote
Old 03-16-2016, 05:50 PM   #5
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 irreld View Post
I updated my PW2 to 5.7.3 with jailbreak adn re-installed everything. Then I found cvm was draining my battery, so I did a factory reset as usual.
- - - -
Now would be a good time to change your usual habits, at least that one.
Perhaps give up 'factory reset' for Lent?

How did you determine that it was cvm that was draining your battery?
That is a question being looked into at the moment.
So any information on your methods and findings might help.
knc1 is offline   Reply With Quote
Advert
Old 03-16-2016, 08:05 PM   #6
irreld
Enthusiast
irreld began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Jan 2016
Device: PW2 PW3 DPT-RP1
Quote:
Originally Posted by knc1 View Post
How did you determine that it was cvm that was draining your battery?
That is a question being looked into at the moment.
So any information on your methods and findings might help.
Yeah, That's REALLY a bad habit. Now I realized kindle is NOT as easy-going as any of my Android device.

After OTAed to 5.7.3 from 5.7.2.1 my battery only lasted two days with almost no use. So ps -e to find cvm using more cpu time than usual. vmstat said only 89% time cpu is idle. That's weird, and no index was seeming to be rebuilt. It seemed something prevented kindle to sleep. When I deleted my 120+ books, I even found several files won't delete from Windows.

That's all my experience, and finally, a factory reset ruined everything. Ah.

BTW backdoorlockhack somehow failed to keep me in 5.7.2

Last edited by irreld; 03-16-2016 at 08:12 PM.
irreld is offline   Reply With Quote
Old 03-16-2016, 08:10 PM   #7
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
FTR, a factory reset is in fact liable to cause *more* battery drain than simply doing nothing, so better let the device churn for a while, sucking energy plugged to a wall charger...
NiLuJe is offline   Reply With Quote
Old 03-16-2016, 09:26 PM   #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 irreld View Post
Yeah, That's REALLY a bad habit. Now I realized kindle is NOT as easy-going as any of my Android device.

After OTAed to 5.7.3 from 5.7.2.1 my battery only lasted two days with almost no use. So ps -e to find cvm using more cpu time than usual. vmstat said only 89% time cpu is idle. That's weird, and no index was seeming to be rebuilt. It seemed something prevented kindle to sleep. When I deleted my 120+ books, I even found several files won't delete from Windows.
That is (was) a PW-2 on 5.7.3 - similar to other reports here.

Also observed on my PW-3 on 5.6.1.1 - as high as 98% cpu time used while showing a screen saver.
After indexing 4 books (not 120).

See:
https://www.mobileread.com/forums/sho...0&postcount=33

Use the top command embedded in that post to see the framework threads (including the cvm threads).

1) The indexer was re-designed (well, at least re-implemented) with the 5.6.x series firmware and may still not be a 'stable' implementation (translation: lab126 may still be playing with it).

2) The old "search for garbage" test to see if the indexer is done no longer works (since the new indexer never really stops - it is just throttled now).

Quote:
Originally Posted by irreld View Post
That's all my experience, and finally, a factory reset ruined everything. Ah.

BTW backdoorlockhack somehow failed to keep me in 5.7.2
Firmware since early in the 5.6 series (5.6.2...?) is known able to defeat the backdoor lock.

But this (revised old one) does work on 5.6.5 and is being tested on 5.7.x:
https://www.mobileread.com/forums/sho...&postcount=269

See post 4 of this thread if you haven't already seen it.

Note: Only the color Kindles run Android.
The grayscale devices run "Amazon Linux".

Last edited by knc1; 03-16-2016 at 09:29 PM.
knc1 is offline   Reply With Quote
Old 03-17-2016, 04:33 AM   #9
irreld
Enthusiast
irreld began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Jan 2016
Device: PW2 PW3 DPT-RP1
Quote:
Originally Posted by eschwartz View Post
Assuming you were running the latest (1.14.N) jailbreak, you just need to copy some backups ( rp/ && mkk/ ) to the userstore and reboot a few times.
Too bad I ve lost my backup of mkk.

A good lesson for all to remember to backup important files.
irreld is offline   Reply With Quote
Old 03-17-2016, 04:36 AM   #10
irreld
Enthusiast
irreld began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Jan 2016
Device: PW2 PW3 DPT-RP1
Quote:
Originally Posted by knc1 View Post
Use the top command embedded in that post to see the framework threads (including the cvm threads).
Top command needs extra terminal definition files in /usr/share/terminfo since 5.6.x on my PW2. Maybe @NiLuJe should include then in his USBNetworking hack.

Bought usb-ttl cable, preparing my soldering iron, and swear not to be so stupid again.
irreld is offline   Reply With Quote
Old 03-17-2016, 04:56 AM   #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 irreld View Post
Top command needs extra terminal definition files in /usr/share/terminfo since 5.6.x on my PW2. Maybe @NiLuJe should include then in his USBNetworking hack.

Bought usb-ttl cable, preparing my soldering iron, and swear not to be so stupid again.
It should not in single pass batch mode - use the: -bn1 option shown.

Plus - it is included in USBnetworking (to support htop and nano) -
Code:
[root@kindle us]# find . -name terminfo
./usbnet/etc/terminfo

[root@kindle us]# ls -ld /usr/bin/top /usr/bin/htop /usr/share/terminfo
lrwxrwxrwx    1 root     root            23 Dec 31  2014 /usr/bin/htop -> /mnt/us/usbnet/bin/htop
-rwxr-xr-x    1 root     root         48771 Apr 15  2015 /usr/bin/top
drwxr-xr-x    6 root     root          1024 Apr 15  2015 /usr/share/terminfo
So you should be able to fix Amazon's goof-up by (**WITHOUT** having USB exported in USB storage mode):
Code:
mntroot rw
cd /usr/share
ln -s /mnt/us/usbnet/etc/terminfo .
mntroot ro
PS: There are alternatives to soldering posted.
knc1 is offline   Reply With Quote
Old 03-17-2016, 10:27 AM   #12
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by irreld View Post
Too bad I ve lost my backup of mkk.

A good lesson for all to remember to backup important files.
Assuming the upstart script survived (which it should -- you had a fully working jailbreak on fw5.7.3 and then did a Factory Reset, right? So you just need to repair the jailbreak) you aren't lost.

You can extract MKK/gandalf from the original jailbreak installer, or as NiLuJe said, the jailbreak hotfix should restore operations.

...

The main reason for all the scary descriptions is because I am trying to instill a general fear of that Factory Reset button in people. It is a dangerous button and avoiding it can only ever be a good thing.
eschwartz is offline   Reply With Quote
Old 03-17-2016, 10:40 AM   #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 irreld View Post
Too bad I ve lost my backup of mkk.

A good lesson for all to remember to backup important files.
How can you lose something that is posted as the first entry in the KUAL section of the snapshots page?
https://www.mobileread.com/forums/sho...d.php?t=225030

And has its own thread?
https://www.mobileread.com/forums/sho...d.php?t=233932

And if you need something from inside of the package -
The KindleTool is what you need to open the package with, see:
https://www.mobileread.com/forums/sho...d.php?t=225030

(Yes, I know, that is the same as the first link given in this post.)
knc1 is offline   Reply With Quote
Old 03-17-2016, 11:35 AM   #14
irreld
Enthusiast
irreld began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Jan 2016
Device: PW2 PW3 DPT-RP1
Quote:
Originally Posted by knc1 View Post
How can you lose something that is posted as the first entry in the KUAL section of the snapshots page?
https://www.mobileread.com/forums/sho...d.php?t=225030

And has its own thread?
https://www.mobileread.com/forums/sho...d.php?t=233932

And if you need something from inside of the package -
The KindleTool is what you need to open the package with, see:
https://www.mobileread.com/forums/sho...d.php?t=225030

(Yes, I know, that is the same as the first link given in this post.)
Sorry for a misunderstanding. I thought it was a developer keystore signed to each device like Amazon. Now I found the hotfix useless. I must have gone somewhere dark and lost the precious upstart script.
irreld is offline   Reply With Quote
Old 03-17-2016, 01:37 PM   #15
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@irreld: As @knc1 mentioned, I instead chose to bundle htop with a hardcoded trimmed down terminfo DB . Because I like htop, and also never could figure out how the hell to use top efficiently ^^.

As for the hotfix, what kind of error did the OTA updater fail with?

Last resort is hoping the backup/restore feature is still active and restore the necessary bits to the userstore, as @eschwartz mentioned.

Last edited by NiLuJe; 03-17-2016 at 01:43 PM.
NiLuJe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle PW3 5.6.5 reset after jailbreak toothless Kindle Developer's Corner 16 11-06-2016 03:58 PM
Kindle 4 NT (Non-Touch) stuck at loading screen after jailbreak and factory reset. Mo5214 Kindle Developer's Corner 4 11-24-2015 08:19 AM
Lost Jailbreak after Factory Reset jonomendoza Kindle Developer's Corner 7 12-23-2012 11:01 PM
Lost my Documents Folder after Jailbreak allowingtoo Kindle Developer's Corner 68 07-02-2012 10:54 AM
New2Kindle, does jailbreak work after a reset to factory default ? robertlz Kindle Developer's Corner 1 10-29-2010 11:02 PM


All times are GMT -4. The time now is 08:57 AM.


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