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-19-2021, 11:11 AM   #46
melksnor
Goodest E-Reader
melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.
 
melksnor's Avatar
 
Posts: 64
Karma: 300094
Join Date: Jul 2007
Device: PRS 500 / Kindle 5th / Kindle PW4
shouldn't the shell script to be run just be copying the certificate from the usb reachable place to the right location?
melksnor is offline   Reply With Quote
Old 03-19-2021, 11:17 AM   #47
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
@melksnor: Yep, my point exactly .

(The post I linked to does just that (and a tiny bit more, but in the same spirit of "just dump that file here for now, and let a reboot and hotfix fix it up nicely")).
NiLuJe is offline   Reply With Quote
Advert
Old 03-19-2021, 11:15 PM   #48
tryol
Warm Lighting Enthusiast
tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.
 
Posts: 91
Karma: 754136
Join Date: Dec 2020
Device: Kindle Oasis 3 (jailbroken)
We have root!

We have root!

Here is a picture of what is ?probably? the first jailbroken Oasis 3, with KUAL open:


(It's running 5.12.4.)


Tomorrow I'll go through all the firmware versions and create images for them. I'll be making a new thread for this exploit in the upcoming days.

Thanks to everybody who helped me either here or in private!

Last edited by tryol; 03-19-2021 at 11:17 PM.
tryol is offline   Reply With Quote
Old 03-20-2021, 12:27 AM   #49
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
That's awesome. Thanks for all your hard work!
ilovejedd is offline   Reply With Quote
Old 03-20-2021, 05:28 AM   #50
swaschan
Junior Member
swaschan began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2021
Device: Kindle Paperwhite (10th gen)
Quote:
Originally Posted by tryol View Post
We have root!

Here is a picture of what is ?probably? the first jailbroken Oasis 3, with KUAL open:


(It's running 5.12.4.)


Tomorrow I'll go through all the firmware versions and create images for them. I'll be making a new thread for this exploit in the upcoming days.

Thanks to everybody who helped me either here or in private!
What an absolute god gamer. Super excited to see where this goes.
swaschan is offline   Reply With Quote
Advert
Old 03-20-2021, 02:34 PM   #51
melksnor
Goodest E-Reader
melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.melksnor ought to be getting tired of karma fortunes by now.
 
melksnor's Avatar
 
Posts: 64
Karma: 300094
Join Date: Jul 2007
Device: PRS 500 / Kindle 5th / Kindle PW4
I am really impressed, would love to read a write up on how you got there!
melksnor is offline   Reply With Quote
Old 03-21-2021, 12:43 AM   #52
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
Quote:
Originally Posted by melksnor View Post
I am really impressed, would love to read a write up on how you got there!
+1 there. I second melksnor's advice and I look forward to your write up, it seems really interesting!
NiMa is offline   Reply With Quote
Old 03-21-2021, 05:32 PM   #53
tryol
Warm Lighting Enthusiast
tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.
 
Posts: 91
Karma: 754136
Join Date: Dec 2020
Device: Kindle Oasis 3 (jailbroken)
Status update

Status update:

Seems like this won't be as easy as I thought...

I'm not sure if I talked about this already, but 1 image won't work for all the firmware version. This is because they have their global offset tables and writable/executable memory pages in different places.
I've spent the last 2 days downloading and going through each and every one of them, and categorizing them based on those two things. It seems like we'll have about ~20-30 different images if I'm planning to support everything from 5.3.0 to 5.13.3.

Once I finalized all the groups, I'll make a new post here about them and talk about which version interval each of them represent. I hope we can get enough people to test at least the most popular ones.


I've already made testing kits for some of the groups, but right now the only one that's confirmed to be working is 5.11.1 - 5.13.3.


Quote:
Originally Posted by melksnor View Post
I am really impressed, would love to read a write up on how you got there!
Quote:
Originally Posted by NiMa View Post
+1 there. I second melksnor's advice and I look forward to your write up, it seems really interesting!
I'm not sure what I'd write about because Yogev Bar-On's Medium post in the OP already explains how the exploit works. It only took this long to make because of my inexperience.

75% of the time I've spent on making this was basically studying stuff I didn't know. I had to learn IDA and Ghidra to reverse engineer the binaries/libraries. I had to deepen my knowledge on memory management. I also learned how to write shellcodes on different CPUs, how ELF files work, etc.

The other 25% was spent on reproducing what Yogev documented, and figuring out some of the details in the places where they - probably intentionally - left some things out.
Maybe I could write about that, but given how dangerous it could be if somebody made malicious images, - like the one Yogev demonstrated the exploit with - I think it's best if I keep quiet on that.

Last edited by tryol; 03-21-2021 at 06:42 PM.
tryol is offline   Reply With Quote
Old 03-21-2021, 10:53 PM   #54
tva2000hn
Member
tva2000hn began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2019
Device: Kindle PW3, KT4 , Kobo Glo (dead)
Quote:
Originally Posted by tryol View Post
Status update:

Seems like this won't be as easy as I thought...

I'm not sure if I talked about this already, but 1 image won't work for all the firmware version. This is because they have their global offset tables and writable/executable memory pages in different places.
I've spent the last 2 days downloading and going through each and every one of them, and categorizing them based on those two things. It seems like we'll have about ~20-30 different images if I'm planning to support everything from 5.3.0 to 5.13.3.

Once I finalized all the groups, I'll make a new post here about them and talk about which version interval each of them represent. I hope we can get enough people to test at least the most popular ones.


I've already made testing kits for some of the groups, but right now the only one that's confirmed to be working is 5.11.1 - 5.13.3.






I'm not sure what I'd write about because Yogev Bar-On's Medium post in the OP already explains how the exploit works. It only took this long to make because of my inexperience.

75% of the time I've spent on making this was basically studying stuff I didn't know. I had to learn IDA and Ghidra to reverse engineer the binaries/libraries. I had to deepen my knowledge on memory management. I also learned how to write shellcodes on different CPUs, how ELF files work, etc.

The other 25% was spent on reproducing what Yogev documented, and figuring out some of the details in the places where they - probably intentionally - left some things out.
Maybe I could write about that, but given how dangerous it could be if somebody made malicious images, - like the one Yogev demonstrated the exploit with - I think it's best if I keep quiet on that.
That's great to hear !! I think you only need to build the images for 5.11.1 to 5.13.3 , as everyone can still manually download the supported OS versions and sideload - upgrade it without turning wifi on ( every kindle is fully jailbroken up to PW1; and PW2 and above support OS versions 5.11.1 to 5.13.3)
tva2000hn is offline   Reply With Quote
Old 03-22-2021, 12:23 AM   #55
hius07
Wizard
hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.
 
Posts: 1,179
Karma: 3592925
Join Date: Sep 2014
Location: Ukraine
Device: Kindle
The main difference between firmwares 5.11.* and 5.12 (and above) is an ability to block firmware ota updates: simple blocking directory vs renaming sys fles.
If a user has upgraded over 5.12 - there are no reasons not to upgrade to 5.13.3.

So it might be enough to have just two magic images: for 5.11.2 (the last 5.11.*) and for 5.13.3 (the last jailbreakable) for all models starting from PW3 and newer (except PW4).
No need for PW4 images at all (well, not urgent).

The latest update for PW2 and KT2 is 5.12.2.1.1, highly likely with closed vulneability, need to be tested. 5.12.2 is good for sure.

Last edited by hius07; 03-22-2021 at 02:58 AM.
hius07 is offline   Reply With Quote
Old 03-22-2021, 05:29 AM   #56
cabcool
Member
cabcool began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2017
Device: Kindle Paperwhite 3
I'm only a dumb end-user, but I've been following these forums for a while in hopes of a jailbreak for my PW3 running 5.12.2.

If I'm not misunderstanding, that's what this exploit might be able to do?

Then I would like to help out if it's useful.
cabcool is offline   Reply With Quote
Old 03-22-2021, 05:44 AM   #57
Akirainblack
abibliophobic
Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.
 
Posts: 220
Karma: 219708
Join Date: Aug 2012
Device: KV jailbroken
@tryol Is it worth releasing what you have working for the latest firmwares, just so that there are some of us who've done this and can then help those that struggle?
I've a Voyage on 5.13.1 which I'd love to get jailbroken and am more than happy to help others once I know the process.
Akirainblack is offline   Reply With Quote
Old 03-22-2021, 06:37 AM   #58
tryol
Warm Lighting Enthusiast
tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.tryol ought to be getting tired of karma fortunes by now.
 
Posts: 91
Karma: 754136
Join Date: Dec 2020
Device: Kindle Oasis 3 (jailbroken)
Quote:
Originally Posted by tva2000hn View Post
That's great to hear !! I think you only need to build the images for 5.10.3 to 5.13.3 , as everyone can still manually download the supported OS versions and sideload - upgrade it without turning wifi on ( every kindle is fully jailbroken up to PW1; and PW2 and above support OS versions 5.10.3 to 5.13.3)
Since only I got my first kindle a few months ago, I didn't get to experience the older firmwares. I assumed that some newer versions have issues or remove/change features that make people not want to upgrade to them. That's why I planned to support versions below 5.12.2.1.1, plus I also wanted to support KT and PW which are way below that. Seems like 5.10.3 - 5.13.3 is enough then, at least for the initial thread.

Quote:
Originally Posted by hius07 View Post
The main difference between firmwares 5.11.* and 5.12 (and above) is an ability to block firmware ota updates: simple blocking directory vs renaming sys files.
I've started using your KUAL script that renames the system files but I'm still scared to turn airplane mode off. Has it been tested extensively enough? (I'm on 5.12.4.)

Quote:
Originally Posted by hius07 View Post
So it might be enough to have just two magic images: for 5.11.2 (the last 5.11.*) and for 5.13.3 (the last jailbreakable) for all models starting from PW3 and newer (except PW4).
No need for PW4 images at all (well, not urgent).

The latest update for PW2 and KT2 is 5.12.2.1.1, highly likely with closed vulneability, need to be tested. 5.12.2 is good for sure.
The image for group 5.10.3-5.13.3 SHOULD work for any device in that range, there is no such thing as a 5.11.2, 5.13.3 or PW4 image. I'm planning to test that "SHOULD" though before I make the image public.

Quote:
Originally Posted by cabcool View Post
I'm only a dumb end-user, but I've been following these forums for a while in hopes of a jailbreak for my PW3 running 5.12.2.

If I'm not misunderstanding, that's what this exploit might be able to do?

Then I would like to help out if it's useful.
Quote:
Originally Posted by Akirainblack View Post
@tryol Is it worth releasing what you have working for the latest firmwares, just so that there are some of us who've done this and can then help those that struggle?
I've a Voyage on 5.13.1 which I'd love to get jailbroken and am more than happy to help others once I know the process.

I'll PM you both soon, 5.12.2 and 5.13.1 are versions I haven't explicitly tested yet, and I want to before I make the new thread.
If anybody else wants to help with testing, PM me with your device and firmware version! Untested firmwares preferred, especially the 2 extremities; 5.10.3 and 5.13.3.


The working firmware/device combinations for firmware versions (5.10.3 - 5.13.3) that got tested so far (constantly updated):
Spoiler:

5.13.3: KOA2
5.13.2: PW3
5.13.1: KV
5.12.5: KOA3
5.12.4: KT4, KOA3
5.12.3: KOA2
5.12.2.1.1 PW2 (PW2/KT2 exclusive firmware)
5.12.2.1: PW2 (PW2/KT2 exclusive firmware)
5.12.2: KT2, KT4, PW3
5.12.1.1: KOA3 (KOA3 exclusive firmware)
5.12.1: KOA2
5.11.2: KOA2
5.11.1.1: KOA2
5.11.1: PW4 (PW4 exclusive firmware)
5.10.3: KV


Once I get enough data I'll make it public for everybody.

Last edited by tryol; 03-23-2021 at 06:49 PM. Reason: Added 5.10.3 since it was found out that it belongs to the same group
tryol is offline   Reply With Quote
Old 03-22-2021, 07:21 AM   #59
hius07
Wizard
hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.
 
Posts: 1,179
Karma: 3592925
Join Date: Sep 2014
Location: Ukraine
Device: Kindle
Great, thanks!

Regarding block OTA. You can test it as follows: download your version of the firmware (5.12.4, right?) and put it to the device usb-root. Non-blocked device should be able to upgrade (to the same vesion). Your device should not.

I maintain Kindle cyrillic forum (4pda.ru), I hope we can find any combination of device/firmware for testing.
hius07 is offline   Reply With Quote
Old 03-22-2021, 07:25 AM   #60
hius07
Wizard
hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.
 
Posts: 1,179
Karma: 3592925
Join Date: Sep 2014
Location: Ukraine
Device: Kindle
Also you can try Kindle firewall to block Amazon sites
https://www.mobileread.com/forums/sh....php?p=2425330
hius07 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email address for Kindle ayjay3 Amazon Kindle 2 07-05-2020 04:33 AM
Adding a shortcut to [Send via email to my Kindle email address]? jteodoro Calibre 7 04-30-2020 10:55 AM
Have US address but no US issued credit card: Buy from Kindle Store? khazaddum Amazon Kindle 6 12-23-2013 10:19 PM
Sending to kindle email address cagey1953 Devices 1 11-28-2012 03:11 AM


All times are GMT -4. The time now is 07:00 PM.


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