Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-04-2016, 01:53 PM   #1
Branch Delay
Connoisseur
Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.
 
Posts: 95
Karma: 1699999
Join Date: Aug 2015
Device: Voyage
Kindle Factory Image Generic Jailbreak

This post now by eschwartz.

This is a factory image specific tool to install the jailbreak/developer key into /etc/uks. In theory, this should be generic to all current Kindle factory images.

If you don't have a factory image running on your Kindle, or you don't even know what that means, this will not work!

Instructions:
  1. Copy main-htmlviewer.tar.gz to the root of the Kindle userstore (i.e. /mnt/us/ on the device, but your computer will probably mount it as Drive E: on Windows or /media/Kindle on Linux)
  2. In the search bar, type ;installHtml and press return.
  3. If the screen flashes and the device reboots, the developer key file is now stored in /etc/uks.
    You should also see a new book on your Kindle, with the title "You are Jailbroken".
  4. Now go grab NiLuJe's update jailbreak package to install the persistent bridge etc. which will protect your jailbreak and unlock other important baseline functionality.

Thanks to ixtab for the tar issue. See: https://www.mobileread.com/forums/sho....php?p=1902438
Also knc1 for the downgrade and those that came before: NiLuJe, ixtab, yifanlu, geekmaster, everyone I missed.




Original post:
Spoiler:

This is a factory image specific tool to install the jailbreak/developer key into /etc/uks. In theory, this should be generic to all current Kindle factory images.

I have only tested this once on a KV. This should remove the requirement to upgrade to 5.6.5 and use my previous jailbreak for the KV/PW3/KT2. i.e., downgrade to the factory image, run this, install NiLuJe update package, then update to the latest kindle firmware and reboot. The goal is a slightly easier experience for everyone.

I'd appreciate it if someone with a PW3 would test this instead of updating to 5.6.5 for the webkit jailbreak. Bad things might happen, so beware until any success reports come in.

Note that this isn't needed for older devices such as the PW2. I believe those can be jailbroken using older techniques on the factory firmwares.

Seems that the ixtab busybox tar flaw is still present on 5.8 firmware baselines as Amazon hasn't updated busybox since around 2010. I'm not entirely sure why this works, I'll look at the source later.

Version History:
1.0 - Initial Release
1.1 - Typos.
Attached Files
File Type: gz main-htmlviewer.tar.gz (592 Bytes, 27913 views)

Last edited by Branch Delay; 08-13-2016 at 01:44 PM. Reason: I no longer maintain this. Not my software.
Branch Delay is offline   Reply With Quote
Old 07-04-2016, 02:07 PM   #2
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
This can simplify things, therefore making it safer as well. Thank you so much for your great contributions to this forum. Respect!
geekmaster is offline   Reply With Quote
Advert
Old 07-04-2016, 02:16 PM   #3
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
Super! (that is: en_IBM)
I noted that the procedure might become simpler in the future.

I just wasn't expecting the future to be reached in the same day.
knc1 is offline   Reply With Quote
Old 07-04-2016, 02:31 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,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
The KV/FW 5.5.0 issue with the JB hotfix *should* now be resolved .

Thanks again to everyone involved, that was quick & fun .
NiLuJe is offline   Reply With Quote
Old 07-04-2016, 02:56 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 NiLuJe View Post
The KV/FW 5.5.0 issue with the JB hotfix *should* now be resolved .

Thanks again to everyone involved, that was quick & fun .
That one was from Australia IIRC.
Forgot to mention because I didn't think it mattered.
knc1 is offline   Reply With Quote
Advert
Old 07-04-2016, 03:37 PM   #6
Branch Delay
Connoisseur
Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.
 
Posts: 95
Karma: 1699999
Join Date: Aug 2015
Device: Voyage
Quote:
Originally Posted by NiLuJe View Post
The KV/FW 5.5.0 issue with the JB hotfix *should* now be resolved .

Thanks again to everyone involved, that was quick & fun .
Verified working.

Downgraded from 5.8.1 to factory, ran the above package, then ran NiLuJe's updated package. Installed and rebooted. Now updating back to 5.8.1.

Please update the other guides to include this as a slightly easier, potentially safer method instead of 5.6.5 upgrade/old JB.

Last edited by Branch Delay; 07-04-2016 at 03:39 PM.
Branch Delay is offline   Reply With Quote
Old 07-04-2016, 04:53 PM   #7
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 Branch Delay View Post
Verified working.

Downgraded from 5.8.1 to factory, ran the above package, then ran NiLuJe's updated package. Installed and rebooted. Now updating back to 5.8.1.

Please update the other guides to include this as a slightly easier, potentially safer method instead of 5.6.5 upgrade/old JB.
I will update my first draft of the downgrade attack post.

The current version was written in a hurry, and has received enough criticism that I would like to take my time with the next version.

Hmm...
(Paraphrased from the read me file with tongue held in-cheek
  1. Use existing directions to downgrade to the original, factory, firmware install for the specific model.
  2. Copy the tar-ball included in your attachment to the top level of visible USB storage.
  3. Disconnect from PC
  4. In main ('home') screen search bar, enter:
    Code:
    ;jailbreak
  5. Then run NiLuJe's updated (today) version of the 'hotfix' package.
  6. Using an Amazon update package, update to a more recent firmware version if desired.
    Note to hackers: There are a lot of neat things installed by the factory firmware install that you might want to play with before 'nuking this install with a more recent, consumer release, firmware version (factory vlc comes to mind for one).

Well, other than the one (intentionally) typo'd command, that does sound a lot simpler.

Thanks a lot for this -
One downgrade + one jailbreak + one 'hotfix' == one jailbroken Kindle.
I think I can write that up without too much help.

Thanks a lot for your quick JB support of the factory images.
And thanks to NiLuJe for a quick response to a 'hotfix' problem.
Plus, of course, thanks to GM for updating our off-site recovery resource index.
knc1 is offline   Reply With Quote
Old 07-06-2016, 12:38 PM   #8
Branch Delay
Connoisseur
Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.Branch Delay ought to be getting tired of karma fortunes by now.
 
Posts: 95
Karma: 1699999
Join Date: Aug 2015
Device: Voyage
Last release. Someone else can take over if updates are needed. The method is trivial.
Branch Delay is offline   Reply With Quote
Old 07-08-2016, 10:14 AM   #9
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
Thread ownership change request made to MR staff.
knc1 is offline   Reply With Quote
Old 07-08-2016, 10:22 AM   #10
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by knc1 View Post
Thread ownership change request made to MR staff.
When we can update the jailbreak in the first post (one point of distribution), I would like to add a "classic" jailbreak splash screen, and perhaps a jailbreak document that can be viewed on the kindle ebook reader (similar to previous jailbreaks).

Though I can start now anyway (or somebody else who has more energy)...
geekmaster is offline   Reply With Quote
Old 07-08-2016, 10:26 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 geekmaster View Post
When we can update the jailbreak in the first post (one point of distribution), I would like to add a "classic" jailbreak splash screen, and perhaps a jailbreak document that can be viewed on the kindle ebook reader (similar to previous jailbreaks).

Though I can start now anyway (or somebody else who has more energy)...
Look at the cpu report in my, ah, CPU report thingy -
These devices all do HTML with the default reader (if you hold its hand just right).
knc1 is offline   Reply With Quote
Old 07-08-2016, 10:35 AM   #12
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by knc1 View Post
Look at the cpu report in my, ah, CPU report thingy -
These devices all do HTML with the default reader (if you hold its hand just right).
They do plain text files too (*.txt) which is why my K1 scripts append to "/mnt/us/documents/logfile.txt". I will go check out your "thingy" if I can find it.

Found it: https://www.mobileread.com/forums/sho....php?p=3279630

Last edited by geekmaster; 07-08-2016 at 10:41 AM.
geekmaster is offline   Reply With Quote
Old 07-08-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
That is the 'hold wrist just right' thing - HTML documents must use the *.txt extension.

I got the idea from some of those consumer disabled search bar commands, which do it in ash scripting (mine uses Lua).
knc1 is offline   Reply With Quote
Old 07-08-2016, 11:08 AM   #14
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by knc1 View Post
That is the 'hold wrist just right' thing - HTML documents must use the *.txt extension.

I got the idea from some of those consumer disabled search bar commands, which do it in ash scripting (mine uses Lua).
Clever hack.
geekmaster is offline   Reply With Quote
Old 07-12-2016, 02:44 AM   #15
Lowantong
Member
Lowantong began at the beginning.
 
Posts: 11
Karma: 10
Join Date: May 2016
Device: paperwhite 3
Quote:
Originally Posted by Branch Delay View Post
This is a factory image specific tool to install the jailbreak/developer key into /etc/uks. In theory, this should be generic to all current Kindle factory images.

Instructions within the file.

I have only tested this once on a KV. This should remove the requirement to upgrade to 5.6.5 and use my previous jailbreak for the KV/PW3/KT2. i.e., downgrade to the factory image, run this, install NiLuJe update package, then update to the latest kindle firmware and reboot. The goal is a slightly easier experience for everyone.

I'd appreciate it if someone with a PW3 would test this instead of updating to 5.6.5 for the webkit jailbreak. Bad things might happen, so beware until any success reports come in.

Note that this isn't needed for older devices such as the PW2. I believe those can be jailbroken using older techniques on the factory firmwares.

Seems that the ixtab busybox tar flaw is still present on 5.8 firmware baselines as Amazon hasn't updated busybox since around 2010. I'm not entirely sure why this works, I'll look at the source later.

Version History:
1.0 - Initial Release
1.1 - Typos.
>>> Report
PW3 SN: G090 G205 xxxx xxxx v5.6.1.1 - ok
PW3 SN: G090 G105 xxxx xxxx v5.6.1.1 - not ok
PW2 SN: 9017 xxxx xxxx xxxx v5.6.1.1 - not work as well

Last edited by Lowantong; 07-12-2016 at 03:09 AM.
Lowantong is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Factory image kobo arc 7 owl68 Kobo Tablets 2 02-20-2019 04:23 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
Aura HD Can anyone send me the Aura HD factory image tom.ryan Kobo Reader 28 11-14-2015 11:58 AM
Lost Jailbreak after Factory Reset jonomendoza Kindle Developer's Corner 7 12-23-2012 11:01 PM
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 11:52 PM.


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