![]() |
#1 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1
Karma: 182572
Join Date: Nov 2013
Device: PW2
|
Paperwhite 2: jailbreak!
I am pleased to announce that we have a software jailbreak for the Paperwhite 2. No cables required and no need to open the device.
NOTE: THIS SCRIPT IS FOR HACKERS. IF YOU DON'T UNDERSTAND WHAT YOU ARE DOING DON'T USE IT AND USE THE K5+PW1+PW2 JAILBREAK INSTEAD. The script in the attachment installs a jailbreak script in the kindle user directory. The jailbreak script will be run automatically after the kindle is ejected. This script must be run in a terminal on a linux system. If you don't have a linux installed you could use a live cd (Ubuntu, Knoppix, etc.) The script can be used for three different types of jailbreak: 1) open a root shell on the kindle 2) run an arbitrary user script 3) install the K5+PW1+PW2 jailbreak by NiLuJe The root shell jailbreak is the safest mode since it doesn't change anything on the kindle (but it gives you enough rope to shoot yourself in the foot). The old Paperwhite1 jailbreak doesn't work out of the on the Paperwhite2, you should use the jailbreak package for K5+PW1+PW2 by NiLuJe. This jailbreak should work also on the Paperwhite1, even with firmware versions where the previous kpw_jb.zip is no more working. See the README for more information. UPDATE: new version 1.1 which uses the jailbreak package by NiLuJe. Last edited by yossarian17; 11-22-2013 at 02:45 AM. Reason: Update |
![]() |
![]() |
![]() |
#2 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yup, appears to work on 5.3.9, too...
![]() Will look into it a bit more tomorrow, I don't think we even need to bother with the waiting for it to run... |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Problem in the JB script
The JB script accesses the PW1 jailbreak file using an attachment ID.
That is, in general, a bad thing to do. Because if that attachment file is ever updated or ever re-uploaded, its attachment ID will change and the script will break. This version of the script should really be pulled until a stable URL for the PW1 jailbreak file can be used in it. |
![]() |
![]() |
![]() |
#4 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I'll push an updated bridge tomorrow, the PW1 stuff is missing a step to be useful on the PW2
![]() In the meantime, pinpointed the vector: it was staring us right in the face.... >_<" Bold move, I'd never have assumed that we could even exploit that ![]() Congrats again ;-). Last edited by NiLuJe; 11-20-2013 at 08:02 PM. |
![]() |
![]() |
![]() |
#5 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Yeah, congratulations! (Didn't test it, though, I don't have PW2013.)
God, I was like "I don't know at all how it allows to execute arbitrary user programs. Where in provided script it does the magic?" for some ashaming minutes. Script isn't pointing to jaibreak method directly, so I got lost in its structure. Then I found "the magic" and felt Zen. Uhm-m-m-m... Can't say a word. Great work! |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
OMFG, this is AWESOME!!!
Great work, nice method ![]() I suggest two things: - a bugfix in the script: use "wget -O " instead of plain wget. Otherwise wget will download the file as 'attachment.php?...', at least here. And FWIW, you can use http://ixtab.tk/kpw_jb.zip as a stable URL. - a simple zip file compatible with windows users, which would include only the update* and jb.sh, and a modified README.txt with Windows Line breaks. Congratulations again! ![]() |
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
Karma: 1000
Join Date: Oct 2011
Location: Tejas
Device: KT4
|
How soon to a naive user-grade JB? I may try it on my nifty new PW2-2013 US 3G model, now, but I may chicken out and wait for a self-contained version, if one is possible. How confident are we that the PW1 JB script-stuff will work on PW2? What PW2 compatible apps are already available?
I'm mostly attracted to user fonts for the PW2. |
![]() |
![]() |
![]() |
#8 | |||
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#9 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
Karma: 1000
Join Date: Oct 2011
Location: Tejas
Device: KT4
|
Well, I bit the bullet, and ran the PW1 {PW2 JB option 3} jailbreak. Note: I had already updated to 5.4.2!
The script ran, but I am not sure if anything actually happened. There exists a file on the home screen named jb-sh. Looking in it, I see a line: /mnt/us/jailbreak.sh: line 409: /mnt/us/jailbreak.sh: Permission denied Any thoughts? Last edited by mallums; 11-21-2013 at 01:19 AM. |
![]() |
![]() |
![]() |
#10 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
I have to run to work now, so maybe someone else can jump in if that doesn't work. In any case, it's working in principle, so it will only be a matter of hours or at most days now until everything will run smoothly. EDIT: Or rather, replace "sh /mnt/us/jailbreak.sh" in jb.sh by "sh /mnt/us/jailbreak.sh forked" Last edited by ixtab; 11-21-2013 at 01:28 AM. |
|
![]() |
![]() |
![]() |
#11 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2013
Device: kindle paperwhite
|
congratulation!nice work, You are great!
|
![]() |
![]() |
![]() |
#12 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 110
Karma: 1161662
Join Date: Apr 2011
Location: San Diego, CA, USA
Device: Kindle Oasis (10th gen), Kobo Libra 2, Onyx Leaf2 Black
|
|
![]() |
![]() |
![]() |
#13 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
Karma: 1000
Join Date: Oct 2011
Location: Tejas
Device: KT4
|
2nd try at pw2 JB
Quote:
I got jailbreak splash and some diagnostic comments over the splash, then the message: "Removing obsolete files" under the "CLEANING UP". It hung at that point. I waited ten minutes, then pressed the sleep button. The kindle immediately flashed the "JAILBREAK SUCEEDED" and went to sleep. Woke up normally, with standard jailbreak log, and jb-sh. I will post them in a minute. I think the shell script jb.sh needs another tweak or two, and then Bob will be your uncle. |
|
![]() |
![]() |
![]() |
#14 |
Linux devotee
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
Congratulations.
However this seems to be quite easy to fix for Lab126. Maybe you should have waited for a full update before making it public. EDIT: 5.4.2 actually is a full update ! Nice timing ![]() Last edited by dsmid; 11-21-2013 at 02:13 AM. |
![]() |
![]() |
![]() |
#15 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
Karma: 1000
Join Date: Oct 2011
Location: Tejas
Device: KT4
|
JB PW 5.4.2 log files
Here are my log files.
Note: This was on the new 5.4.2 FW, so good news there! Note 2: The JB script left jb.sh on the root directory of the Kindle; should I look for other files left behind, and delete those? So. Am I jailbroken, or not? jb-sh.txt seems to indicate a problem with the dev certs. Last edited by mallums; 11-21-2013 at 02:07 AM. |
![]() |
![]() |
![]() |
Tags |
5.4.0, jailbreak, paperwhite |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Paperwhite Jailbreak (5.2.0 - 5.3.1, 5.3.4, 5.3.5) | ixtab | Kindle Developer's Corner | 639 | 11-02-2016 04:16 PM |
How to remove jailbreak from Paperwhite? | sk83 | Kindle Developer's Corner | 32 | 05-20-2014 08:19 PM |
Jailbreak Kindle Paperwhite 5.3.8 | paulera | Kindle Developer's Corner | 3 | 11-07-2013 03:55 PM |
Kindle paperwhite jailbreak (5.3.3) | NoriPP | Kindle Developer's Corner | 19 | 02-02-2013 02:45 PM |
K5(Touch/Paperwhite). Jailbreak 5.1.x;5.2.0 | cristbo | Amazon Kindle | 2 | 11-22-2012 02:34 AM |