MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Kindle Developer's Corner (https://www.mobileread.com/forums/forumdisplay.php?f=150)
-   -   Kindle Touch/PW1/PW2 5.0.x - 5.4.4.2 JailBreak. Plus FW 5.x USBNetwork. (https://www.mobileread.com/forums/showthread.php?t=186645)

NiLuJe 07-31-2012 03:56 PM

Kindle Touch/PW1/PW2 5.0.x - 5.4.4.2 JailBreak. Plus FW 5.x USBNetwork.
 
1 Attachment(s)
Hello again :)

Like the title says, here's a FW 5.0.x - 5.4.4.2 JailBreak!

The payload is based on yifanlu's jailbreak, with a few tweaks to make it more Touch/PaperWhite centric,
and a fantastic new delivery method discovered by yossarian17. So, as always, thanks to everyone involved in Touch & PaperWhite hacking, particularly yifanlu, ixtab, geekmaster, eureka & yossarian17 ;).

In addition, this is also the home of the FW 5.x (KT/PW/PW2/KT2/KV/PW3/KOA/KT3) port of the USBNetwork hack ;).

What Does It Do?:

The JailBreak, while fairly unintrusive itself, opens the door to pretty much everything you'll find on this forum ;).

As for USBNetwork, besides bundling a couple of useful tools, it will grant you remote shell access to your Kindle, be it over USB or WiFi.

Latest Updates (06/04/2019):

JailBreak v1.15.N (Rescued by a Wizard!), USBNetwork v0.22.N (Updated binaries, ship some more tools).

PSA: All downloads have been moved to the Snapshots thread!


IMPORTANT NOTICE REGARDING JAILBREAK UPDATES:
Spoiler:

What you should know about how best to proceed to update the JailBreak itself:
  • The bridge (the Update_jailbreak_bridge_*_install.bin update package in the JailBreak archive, as well as the one in the JB hotfix archive, see the relevant section in #2 for more historical details) exists solely as a means to deploy the jailbreak in circumstances where the current jailbreak method is unusable, but custom packages are still usable. That usually means previously jailbroken devices running a FW version unsupported by the current jailbreak method. As such, it can always be used to upgrade your currently installed jailbreak ;).
  • On the other hand, on FW versions the jailbreak method handles, simply reinstalling the JailBreak will do the trick just fine too, and in a faster manner, since you won't need to suffer through a reboot.
  • Additionally, be aware that a reset to factory defaults will break certain key aspects of the JailBreak, so make sure to re-apply the JailBreak (by following the very instructions in this notice) if you've reset your device to factory defaults (if you're unsure of that fact: better be safe than sorry ;)).

That could be summed up as such: if you're currently running FW 5.0.x to 5.4.4.2: reinstall the JB. If you're running FW >= 5.4.5: install the bridge. If you're running FW >= 5.6.1: install the JB hotfix instead if you're in a situation where you can't install the bridge via MRPI.


Notice to FW >= 5.4.5 users:
Spoiler:

This JailBreak procedure will NOT work on FW >= 5.4.5! That of course implies that you currently cannot jailbreak a vanilla KT2/KV/PW3/KOA/KT3 using this method.

Currently, it does survive an update to >= 5.4.5 though, provided your JailBreak is up to date (see the update notice earlier in this post. Take particular notice of the comment about factory resets).

If you intend to update to FW >= 5.4.5, make sure your JailBreak is up to date first.

If your PW2 shipped on a FW version >= 5.4.5 but < 5.5.0, all is not lost, you should be able to downgrade to 5.4.3.2 with a bit of trickery.

Another bit of good news, if your device is not running FW >= 5.7.2, there is a JailBreak available for devices running FW 5.6.5 :).


IMPORTANT notice regarding FW >= 5.6.0:

As with the previous notice, this JailBreak obviously won't work on these new versions (but don't despair, we know have a universal solution, via a factory downgrade :)).

That said, it does survive an update to >= 5.6.x, provided your JailBreak is up to date (see the update notice earlier in this post. Take particular notice of the comment about factory resets).

Do note that running FW >= 5.6.x implies a number of restrictions, though: (easy) downgrade to a production firmware is now impossible, and, more importantly, you will NOT be able to install custom update packages through usual means, no matter the state of your JailBreak. Fortunately, the MR Package Installer will help with that last fact ;).
Moreover, this (as well as the following) FW series introduces some significant changes which may break some custom code, especially if it affects the UI.

TL;DR: If you do intend to update, you absolutely MUST make sure your JailBreak is up to date BEFORE applying the official update! Given that the required changes in the JailBreak are very new, you generally WILL have to take action.

NOTE: If you had the misfortune of getting a silent OTA update to FW >= 5.6.x while running an outdated JailBreak, all is not lost, you should be able to get everything back up without jumping through too many hoops :). This is what we're calling the hotfix throughout the forum.

IMPORTANT: I have to insist on the fact that on FW >= 5.5.x, using MRPI is REQUIRED to install custom packages!


ATTN: NEW Factory Downgrade OR 5.6.5 JailBreak USERS

If you've just successfully ran Branch Delay's Factory JailBreak or 5.6.5 JailBreak, you can safely skim/disregard most everything in this post and simply follow these specific instructions:

Start by simply installing the JB hotfix. This will take care of the basics.

After that, you will NEED to use MRPI to install any and all other custom update packages.


INSTALL:

Jailbreak:
Spoiler:


Download the K5 JailBreak package from the Snapshots thread, and unpack it. In here, you'll find a few files.
Unzip the contents of the kindle-5.4-jailbreak.zip archive to the root directory of your Kindle.

Now, eject & unplug your Kindle, and go to [HOME] -> [MENU] > Settings -> [MENU] > Update Your Kindle. The updater won't actually ever run, this is normal. After a few seconds, the words **** JAILBREAK **** will appear at the bottom of your screen to confirm that the device is jailbroken ;). You won't see this message again, it's simply a confirmation message.

And that's it, your Kindle is now ready to install custom hacks!

Since v1.11.N: If you need to use something MKK-powered immediately, be aware that MKK will only be active on the next boot. Installing another package through the Update mechanism will do the trick, or you can manually trigger a device restart ([HOME] -> [MENU] > Settings -> [MENU] > Restart).



FAQs:
Spoiler:

Q. Hmm, I have a PW2 (or KT2/KV/PW3/KOA/KT3), and the Update Your Kindle link stays grayed out, how come?

A. If you can't find your specific model in the current list of Kindle models, please reply to this thread with: the exact model of your device (WiFi/3G), the country it was bought in/shipped to, and finally, and most importantly, the first six characters of its serial number (Settings -> Device Info).
If you *do* find your model in that list, see the next answer ;).


Q. I can't figure out why the Update Your Kindle link stays grayed out (bis)?

A. First, read the instructions again, and make sure you followed them exactly. A common oversight is to upload the zip file itself, instead of what's *in* the zip file after it's been unpacked ;).
If you think you did that right, don't worry, there's a known (upstream) issue that might cause the OTA updater to crash and fail to pick up new update files. If you still have the jailbreak files on the root of your device, remove them, and make sure you don't have any other .bin files laying around in there.
Restart your device, and try the installation procedure again.
(If this happens for any other hack, and you have a shell access, a restart otaupd usually puts things to right).


Q. As soon as I eject my device, I get a popup saying An invalid update file has been loaded on your device, what's happening?

A. You're running FW >= 5.5.x, and, as mentioned in the relevant section of this very post, you will now have to use MRPI to install custom packages.
That said, if you were trying to install the JB hotfix, see the first answer ;).


Q. My hacks suddenly failed to work properly, how come? (aka. What happens if I get an OTA update?)

A. Since FW 5.3.x, official updates (OTA or not, actually) are complete updates, overwriting the complete main system. This has the side effect of breaking a lot of custom hacks. For instance, you'll have to reinstall most full hacks that touch the system, whereas simple KUAL extensions should survive the process ;).
On a sidenote, FW updates are usually a game of cat and mouse, so do make sure you check the forums to see if the hacks you care about will actually *work* on a new FW version before updating ;).


Q. What's this 'MKK' (Mobileread Kindlet Kit) thing? Do I need it?

A. Good news: it's now bundled with this very JailBreak, so you don't need to install it manually ;). Keep reading if you want to actually know what it's about.
Short answer: you'll need it to run custom Kindlets, like KUAL or Collections Manager. See the MKK thread for details ;).


Q. What's this 'AcXE' thingy? Do I need it?

A. If you intend to run custom ACXs, then, yes, you need it.
Check the dedicated thread for more details ;).


Q. What's this 'Rescue Pack' thingy? Do I need it?

A. If you like having your back covered, and especially if you intend to do any sort of development on your device at all, yes, probably.
Check the dedicated thread, and its companion for more details ;).
And see here for an all-in-one package ;).
For my own spin on these (with minor quality-of-life changes, and new devices support), see my snapshots thread.



ChangeLog:
Spoiler:
  • Jailbreak:
    • v1.2.N:
      • Works on firmware <= 5.1.2 :).
    • v1.3.N:
      • Minor tweaks for robustness.
    • v1.4.N:
      • Proper PaperWhite support.
    • v1.5.N:
      • A few minor model detection fixes.
    • v1.6.N:
      • Proper support for the UK 3G PW.
    • v1.7.N:
      • Implement a 'bridge' to carry the JailBreak over the 5.3.0 update (following a suggestion from eureka, thanks!). (See the Bridge section)
    • v1.8.N:
      • New delivery mechanism w/ PW2 support, thanks to yossarian17 :).
    • v1.9.N:
      • Smarter FW 5.4.x handling, fix the issues with FW 5.4.4 on the PW1.
    • v1.10.N:
      • Repack.
    • v1.11.N:
      • Bundle MKK with the JB.
      • The bridge will now carry MKK over >= 5.3 updates, in addition to the JB, saving you one package install ;).
    • v1.12.N:
      • Handle the 'new' PW2 variants.
    • v1.13.N:
      • KUAL will now be able to call on everyone's favorite Grey Wizard for assistance against the forces of evil led by FW 5.6.1
      • The bridge will now carry the Rescue Pack & Coward's Rescue Pack over >= 5.3 updates, provided you reinstall/update your JB OR Bridge AFTER installing the RP/CRP, or use my own snapshot copy of them.
    • v1.14.N:
      • Allow semi-painless and semi-automatic recovery from a factory reset (cf. #1396 & #1401).
    • v1.15.N:
      • Minimal updates to make the bridge & hotfix safe to use on a KOA2.
  • Doc: $Id: MR_THREAD 16003 2019-06-04 16:58:38Z NiLuJe $

NiLuJe 07-31-2012 03:56 PM

This is the previous version of the first post, kept here for archival. DO NOT FOLLOW IT.


Hello again :)

Like the title says, here's a FW 5.1.x & 5.2.0 JailBreak!

It's heavily based on yifanlu's jailbreak, with a few tweaks to make it more Touch/PaperWhite centric,
and an updated delivery method for FW 5.1.x & 5.2.0 ;). So, as always, thanks to everyone involved in Touch & PaperWhite hacking, particularly yifanlu, ixtab, geekmaster & eureka ;).

In addition, this is also the home of the K5 (Touch/PaperWhite) port of the USBNetwork hack ;).


Help! My Kindle is running FW 5.3.x!

PaperWhite: Don't Panic! You too can now enjoy a jailbroken device! Check out ixtab's JailBreak HERE ;).

Touch: Check ixtab's HowTo OR downgrade your device.


Latest Updates (10/18/2013):

JailBreak v1.7.N (Tries harder not to be screwed by the 5.3.x updates), USBNetwork v0.13.N (Updated binaries).

INSTALL:

Jailbreak:
Spoiler:


Note for Kindle (Touch) 5.0.x Users:

Please use the "data.tar.gz" file instead of the "data.stgz" one ;).




NOTE: Again, do check the FW version your device is currently running, and see if ixtab's JailBreak handles your device :).

Download the attached kindle-jailbreak-1.7.N.zip file, and unpack it. In here, you'll find a few files and directories.
Leave the directories alone, and upload the data.stgz file to the root directory of your Kindle.

Now, eject your Kindle, and go to [HOME] -> [MENU] > Settings -> [MENU] > Restart. During the reboot you should see a pretty Jailbreak image, and a new 'book' will appear in your Home screen to confirm that the device is jailbroken (You can safely delete this 'book' ;)).

And that's it, your Kindle is now ready to install custom hacks!



Bridge:
Spoiler:


This is designed to workaround the utter annihilation of everything custom by the 5.3.x updates. (In case you weren't aware of it yet, so far, every PW 5.3.x update has been a full update that basically reflashes the full system, killing every hack in the process).

The purpose of this simple package is to try to preserve the jailbreak through all this.

The instructions are pretty simple, but only apply to people still on 5.2.0, and/or already jailbroken. (If you're running a vanilla FW 5.3.x, check out ixtab's new JailBreak HERE ;)).
In the attached kindle-jailbreak-1.7.N.zip archive, you'll find an update_jailbreak_bridge_1.7.N_install.bin update package. Upload it to the root directory of your Kindle.
Now, eject your Kindle, and go to [HOME] -> [MENU] > Settings -> [MENU] > Update Your Kindle. It should take a few seconds.

Once your device has rebooted (after a successful update), you can then run the official 5.3.x update. Once that's done, you should be able to reinstall every hack you used (because the official update wiped them).
Keep in mind that some stuff might not yet be compatible with FW 5.3.x, and that you'll have to reinstall the developper certificates for custom Kindlets.

I repeat: a PW 5.3.x update *will* wipe nearly every hack, so you will have to reinstall them after the update.



ChangeLog:
Spoiler:
  • Doc: $Id: OLD_MR_THREAD 10131 2013-11-21 18:56:02Z NiLuJe $

eureka 07-31-2012 04:05 PM

So it means you've found the key for updates accepted by kernel/initramfs?

ixtab 07-31-2012 04:15 PM

Thanks for finding and releasing this! :2thumbsup

Just a small suggestion: you may want to reformat the "Jailbreak" spoiler a bit, right now it looks as if all of it only applied to 5.0 users.

NiLuJe 07-31-2012 04:45 PM

@eureka: Nope, it's essentially the same good old thing, except with an updated delivery method for the data.tar.gz changes introduced in 5.1.0 ;). [PM me if you want the full boring details ;)].

@ixtab: Yep, I was just thinking the exact same thing when looking at it... :D

@all: And before someone asks, the interest here over the current usual JB method is user-friendliness: a single file, a single reboot, no need to play with the diags tools ;).

eureka 07-31-2012 04:59 PM

Quote:

Originally Posted by NiLuJe (Post 2169876)
@eureka: Nope, it's essentially the same good old thing, except with an updated delivery method for the data.tar.gz changes introduced in 5.1.0 ;).

Aha, have now found the foundation of new method. Thanks for pointing. Nice work (I mean, overall jailbreak making work).

NiLuJe 07-31-2012 05:12 PM

@eureka: Yeah, the date in the 'Latest Updates' in the first post is not a typo, it's roughly when we first discussed it over PM with GM & ixtab, and when the accompanying backend stuff was released ;)

eureka 07-31-2012 05:32 PM

Nice to know about inner circle of developers. Secrets, conspiracy... Not sure if paranoid or just visitor of Kindle Developer's Corner :D

EDIT: oops, it could be misread. I'm not accusing anybody here, it's a self-irony joke (I'm the visitor). Not sure if paranoid or just have a valid concern :rofl:

NiLuJe 07-31-2012 06:07 PM

@eureka: Proves that we're evil! ^^

geekmaster 07-31-2012 06:38 PM

Quote:

Originally Posted by eureka (Post 2169921)
Nice to know about inner circle of developers. Secrets, conspiracy... Not sure if paranoid or just visitor of Kindle Developer's Corner :D
...


NiLuJe 07-31-2012 06:40 PM

@GM: That reminds me of an IT Crowd ep., the one with the head of dpt. meetings that Jen's never invited to... ^^

aditya3098 08-02-2012 03:51 AM

Quote:

Originally Posted by geekmaster (Post 2169977)

"Black Circle"
http://en.wikipedia.org/wiki/The_Black_Circle


P.S The quote button is still GM's avatar

aditya3098 08-02-2012 03:57 AM

1 Attachment(s)

geekmaster 08-02-2012 08:36 AM

Quote:

Originally Posted by aditya3098 (Post 2171613)

That is weird. I do not see that in any of my web browsers. It looks like you have a corrupted browser cache.

Did you try viewing it with a different web browser?

Did you try deleting your browser cache files?

I remember years ago needing to also manually delete a windows .DLL file that was really a renamed icon cache archive file. Perhaps you have a similar problem?

What web browser are you using when you see this problem?

http://ask-leo.com/whats_a_browser_c...i_want_to.html
Quote:

For reasons that I simply can't explain - other than by saying "stuff happens" - the cache can sometimes get confused. This seems to happen to most browsers, and at random times. What you'll see are partially loaded web pages, badly formatted web pages, incomplete pictures, or in some cases, the wrong picture in the wrong place.

It's not always a caching problem, but since it happens often enough, "clear your browser cache" is often one of the first diagnostic steps you'll hear from people like me.
The web page above shows how to clear browser cache to fix that problem on various browsers.

This page shows a similar "wrong icons on web page" problem being fixed by removing malware from the computer:
http://community.norton.com/t5/Norto...es/td-p/192852

drati71 08-04-2012 06:46 AM

KT5
 
Hi,
I`m novice in this sections, and please tell me, i install this jailbreak on my KT5 - 5.1.2 device, i have possibility install this launcher . I need this launcher because i like install some extensions like this - CollectionSync, Removing Ads, 24-hour clock and Screen Savers.
Thank you in advance.

ixtab 08-04-2012 10:25 AM

Yes .

drati71 08-05-2012 03:40 PM

KT5
 
Thank you.
Now i have all my fav extension. :cool:

Selrond 08-08-2012 07:57 AM

Hey guys!
I`ve already jailbroken my Kindle touch with FW 5.1.2 and I`ve tried to toogle ads with http://ebookjuggler.com/kindle/remov...-kindle-touch/
and it doesn`t work... Maybe it`s for previous FW..
My question: is it possible to add some extensions to Launcher (which I also installed) in 5.1.2 ???
If yes, where to download them (toogle ads, own screensaver)
Thanks

ixtab 08-08-2012 08:04 AM

Quote:

Originally Posted by Selrond (Post 2177921)
Hey guys!
I`ve already jailbroken my Kindle touch with FW 5.1.2 and I`ve tried to toogle ads with http://ebookjuggler.com/kindle/remov...-kindle-touch/
and it doesn`t work... Maybe it`s for previous FW..

Use JBPatch - works for me with 5.1.2.

Quote:

Originally Posted by Selrond (Post 2177921)
My question: is it possible to add some extensions to Launcher (which I also installed) in 5.1.2 ???
If yes, where to download them (toogle ads, own screensaver)
Thanks

There is a thread called "Gui Launcher collection" right on the first page of this forum... :rolleyes:
For the screensaver, check out the Wiki: https://wiki.mobileread.com/wiki/Kind...#Screen_Savers

Selrond 08-08-2012 08:07 AM

THX!
Could you also post me a link to download JBPatch?

geekmaster 08-08-2012 10:09 AM

Quote:

Originally Posted by Selrond (Post 2177927)
THX!
Could you also post me a link to download JBPatch?

I could just give you that link here, but you need to practice how to find simple stuff like that yourself, so here are some methods of finding it yourself:

The JBPatch download link was posted to the first post of the JBPatch thread. Look in the Master Index sticky thread, then the Tools index wiki. Or use the MobileRead search functions. Or just look on the first page of recent topics (JBPatch has a lot of recent activity).

Selrond 08-08-2012 10:51 AM

alright I have it! and now: is it possible to change default scrwensavers? yifan's hack dosent work with 5.1.2 fw

BillyBigStuff 08-08-2012 11:22 AM

You really could do with searching... :D You have to use the simple screensavers hack as the more advanced one was killed with 5.1 I believe. The simple one works fine for me, I'm using it at the moment.
Bill

All of the things mentioned (or at least most) can be found on the hacking wiki page here.

NiLuJe 09-22-2012 03:48 PM

Updated to v1.3.N with a few tweaks to make it more robust (especially if someone were to get their wires crossed and tried to install this through diags). If it happened to break everything, please do shout at me ;).

twobob 09-23-2012 09:31 AM

previous version of everything worked perfectly on 5.1.2 for me (success report and all that)

NiLuJe 09-23-2012 01:35 PM

@twobob: Yeah, it's the update I'm worried about ;D. Although it shouldn't change a thing if one follows the 'usual' instructions, that was more to make it more robust in case someone were to mix the K4/K5 instructions together ;).

twobob 09-23-2012 01:37 PM

drop one file on drive.
updatey thing

OR

Use the data.tar.gz payload got it.

twobob 09-27-2012 07:16 PM

Okay so I mangled the jailbreaks together.

Now I can't run the uninstaller ;)

any ideas : D

twobob 09-27-2012 11:43 PM

Update: If in doubt run it 3 times. Worked fine. I also disabled all my JBPatch patches. Probably voodoo but that's what I did.

cheers.

NiLuJe 10-05-2012 12:33 AM

Well, apparently this works on FW 5.2.0, too (meaning the PaperWhite).

So, err, thanks, Amazon! :).

eureka 10-05-2012 12:54 AM

Quote:

Originally Posted by NiLuJe (Post 2249052)
Well, apparently this works on FW 5.2.0, too (meaning the PaperWhite).

So, err, thanks, Amazon! :).

Hey, NiLuJe (or anybody else who was involved in this), when you'll get dump of 5.2.0, please, PM link to it to me.

NiLuJe 10-05-2012 01:45 AM

@eureka: Well, I won't receive mine until a few weeks, so, count me out.

Besides, I'm busy enjoying the two notches on my 'jailbroke a new Kindle model without having it on hands' belt... :D. (... and still not going to sleep ^^).

ixtab 10-05-2012 01:49 AM

Quote:

Originally Posted by NiLuJe (Post 2249109)
@eureka: Well, I won't receive mine until a few weeks, so, count me out.

Besides, I'm busy enjoying the two notches on my 'jailbroke a new Kindle model without having it on hands' belt... :D. (... and still not going to sleep).

@NiLuJe: congratulations for the belt! :)

@all: geekmaster is currently dumping the kernels and partitions, so expect them soon. (I'm also biting my fingernails, because I want to try the 5.2.0 versions on my Kindle Touch).

eureka 10-05-2012 01:49 AM

Quote:

Originally Posted by NiLuJe (Post 2249109)
Besides, I'm busy enjoying the two notches on my 'jailbroke a new Kindle model without having it on hands' belt... :D. (... and still not going to sleep ^^).

Nice achievement, indeed. Congratulations!

NiLuJe 10-05-2012 02:46 AM

Well, I'm mostly joking, it's never a one man job ;).

There's a reason for the huge list of thanks on top of my threads :).

geekmaster 10-05-2012 02:48 AM

I sent ixtab and NiLuJe links to the 5.2.0 firmware images via PM. I will put them in the simple debricking pastebin now. We will need them to repair our kindles, even if we need to use the serial port to do it.

EDIT: Done! The pastebin now contains PW(Paperwhite) debricking repair images at the top of the list.

twobob 10-05-2012 06:22 AM

Nice work mate. Kudos

geekmaster 10-05-2012 10:26 AM

I added a comment at hackaday sharing credit with you guys, but it is "awaiting moderation".... They like to "pin all the blame" on one guy. :p

http://hackaday.com/2012/10/05/jailb...le-paperwhite/

EDIT: My hackaday comment is now public. Thanks for sending me the jailbreak and USBNet packages to test on my Paperwhite Guinea Pig, NiLuJe! And thanks to ixtab too, for the interesting PM "inner circle" discussion that ended in a successful jailbreak.

ereaderundecided 10-05-2012 12:33 PM

With the jailbreak can I read ePubs`?

knc1 10-05-2012 12:36 PM

Quote:

Originally Posted by ereaderundecided (Post 2249899)
With the jailbreak can I read ePubs`?

With the jailbreak you can modify the system files and applications.

If you have an ePub application to install, then the jailbreak is preparation for doing that.


All times are GMT -4. The time now is 05:01 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.