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 08-19-2019, 01:02 PM   #46
makue
Custom User Title
makue began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2017
Device: Kindle PW3
Few days left before I've to send back my oasis (2019).

Just out of curiosity, has a factory firmware (5.12.0) been leaked/extracted already?
makue is offline   Reply With Quote
Old 08-19-2019, 03:09 PM   #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,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Nope, despite a few attempts.
NiLuJe is offline   Reply With Quote
Advert
Old 08-19-2019, 03:34 PM   #48
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 makue View Post
Few days left before I've to send back my oasis (2019).

Just out of curiosity, has a factory firmware (5.12.0) been leaked/extracted already?
Nope.

There seems to be an effort (at least on some devices/firmwares) to "burn" the first 8K bytes of the factory firmware on start-up.
It may be difficult to "un-burn" the factory firmware, depending on just 'how' Amazon/Lab126 has decided to do the 'burn'.
knc1 is offline   Reply With Quote
Old 08-20-2019, 03:51 PM   #49
WaseemAlkurdi
Zealot
WaseemAlkurdi began at the beginning.
 
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
Quote:
Originally Posted by knc1 View Post
Nope.

There seems to be an effort (at least on some devices/firmwares) to "burn" the first 8K bytes of the factory firmware on start-up.
It may be difficult to "un-burn" the factory firmware, depending on just 'how' Amazon/Lab126 has decided to do the 'burn'.
Can you elaborate?
Burn the factory firmware to what exactly? (As in "burn to CD-R", "burn to flash", etc)
And what exactly prevents people from using the serial port? Have they finally "remembered" to lock down the bootloader?
WaseemAlkurdi is offline   Reply With Quote
Old 08-20-2019, 03:59 PM   #50
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,111
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
Quote:
Originally Posted by WaseemAlkurdi View Post
Can you elaborate?
Burn the factory firmware to what exactly? (As in "burn to CD-R", "burn to flash", etc)
Burn as in overwrite the area where the header and signature for the factory firmware should be located, I would assume.
ilovejedd is offline   Reply With Quote
Advert
Old 08-20-2019, 04:52 PM   #51
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,285
Karma: 98804578
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by WaseemAlkurdi View Post
And what exactly prevents people from using the serial port?
No connection to the serial port has been found on the KOA2 or, presumably, the KOA3. In addition, all teardowns of the KOA2 have been destructive.

Quote:
Originally Posted by WaseemAlkurdi View Post
Have they finally "remembered" to lock down the bootloader?
It looks like they have on the PW4.
j.p.s is online now   Reply With Quote
Old 08-20-2019, 06:02 PM   #52
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 j.p.s View Post
. . . . .

It looks like they have on the PW4.
Both recent and current models seem to have different quirks even for the same firmware version.
It may take even longer than usual to provide jailbreak(s) for each individual model/firmware version pairing.

Q: Can J.B. hire more programmers to make our hobby even more difficult?
knc1 is offline   Reply With Quote
Old 08-21-2019, 04:08 AM   #53
WaseemAlkurdi
Zealot
WaseemAlkurdi began at the beginning.
 
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
Quote:
Originally Posted by ilovejedd View Post
Burn as in overwrite the area where the header and signature for the factory firmware should be located, I would assume.
So the factory firmware places its own header and signature somewhere on the eMMC and the selfsame firmware reads the signature and header to verify itself?
Or is there something I don't understand?
WaseemAlkurdi is offline   Reply With Quote
Old 08-21-2019, 04:11 AM   #54
WaseemAlkurdi
Zealot
WaseemAlkurdi began at the beginning.
 
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
Quote:
Originally Posted by j.p.s View Post
No connection to the serial port has been found on the KOA2 or, presumably, the KOA3. In addition, all teardowns of the KOA2 have been destructive.



It looks like they have on the PW4.
aka: Lab126 employees have stumbled upon MobileRead. Sad, frankly.
So the only hope (apart from some exploit or the other, a la iPhone jailbreak) is to desolder, flash, and resolder the eMMC, possibly flashing a modified U-Boot as an unlocked bootloader and/or to bypass signature checks?
As for the destructive teardown attempts at the KOA2 ... why? They didn't use sorcery to put it together, did they?

Last edited by WaseemAlkurdi; 08-21-2019 at 04:16 AM.
WaseemAlkurdi is offline   Reply With Quote
Old 08-22-2019, 03:43 PM   #55
makue
Custom User Title
makue began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2017
Device: Kindle PW3
Tomorrow my KOA3 will take the long way home.

All in all I'm very thankfull now for all the people here in the fore- and background who granted us all a limited period of freedom and sunshine when we were able to buy and own as well our new and shiny Kindle devices. Now the winter is coming again but at least I have 2 rather new kindles a KOA2 and and a PW4 to hold on.

A very big Thank You!

Matthias
makue is offline   Reply With Quote
Old 08-22-2019, 05:12 PM   #56
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 WaseemAlkurdi View Post
So the factory firmware places its own header and signature somewhere on the eMMC and the selfsame firmware reads the signature and header to verify itself?
Or is there something I don't understand?
All package files with the name format of: update_*.bin have a cryptographic signature attached.
The signature uses public key (key pairs, public and private) encryption.
The Kindles only have the public key, the update_*.bin files are created with the private key.

You can read all the gory details in "KindleTool".
That utility is able to package and un-package the update_*.bin files, both Amazon and Mobileread.

Of course, Amazon does not provide us with their private key so we have to use our own key-pair.

Last edited by knc1; 08-22-2019 at 05:17 PM.
knc1 is offline   Reply With Quote
Old 08-22-2019, 06:42 PM   #57
WaseemAlkurdi
Zealot
WaseemAlkurdi began at the beginning.
 
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
Quote:
Originally Posted by knc1 View Post
All package files with the name format of: update_*.bin have a cryptographic signature attached.
The signature uses public key (key pairs, public and private) encryption.
The Kindles only have the public key, the update_*.bin files are created with the private key.

You can read all the gory details in "KindleTool".
That utility is able to package and un-package the update_*.bin files, both Amazon and Mobileread.

Of course, Amazon does not provide us with their private key so we have to use our own key-pair.
Copy that.
But how does that relate to the "flashing" that the stock firmware is said to be doing on each boot?
WaseemAlkurdi is offline   Reply With Quote
Old 08-22-2019, 08:10 PM   #58
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 WaseemAlkurdi View Post
Copy that.
But how does that relate to the "flashing" that the stock firmware is said to be doing on each boot?
Ah, it is the "doing it to" part you have misunderstood.
What is being done is to the contents of the update package, if/when it is found on the area used for visible USB storage.

No header available on the file, file is not recoverable.
Load KindleTool and run an '--info' command against one of the .bin packages.*
That will show you what is missing when Lab126 "burns" the package header contents, contents of the package file, not of what is already installed.


* Use just the command name (kindletool) by itself to output the command description.
knc1 is offline   Reply With Quote
Old 08-24-2019, 03:18 AM   #59
WaseemAlkurdi
Zealot
WaseemAlkurdi began at the beginning.
 
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
Quote:
Originally Posted by knc1 View Post
Ah, it is the "doing it to" part you have misunderstood.
What is being done is to the contents of the update package, if/when it is found on the area used for visible USB storage.

No header available on the file, file is not recoverable.
Load KindleTool and run an '--info' command against one of the .bin packages.*
That will show you what is missing when Lab126 "burns" the package header contents, contents of the package file, not of what is already installed.


* Use just the command name (kindletool) by itself to output the command description.
Quote:
What is being done is to the contents of the update package, if/when it is found on the area used for visible USB storage.
So upon finding a certain updater package on a certain device, the firmware would burn (as in "destroy") the first 8 KB, which is the header? Pretty neat. A sort of blacklist.

To counter that, and provided that U-Boot isn't checking signatures or anything fancy, a single Kindle has to be manually flashed (aka write to eMMC) with manually jailbroken firmware to see what are system daemons, etc doing. Now, who's going to donate their Kindle?
WaseemAlkurdi is offline   Reply With Quote
Old 08-24-2019, 08:10 AM   #60
makue
Custom User Title
makue began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2017
Device: Kindle PW3
If there's an initiative to buy an OASIS 3 for testing I would donate up to 50 bucks.
makue is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KOA2 KOA2 jail break knc1 Kindle Developer's Corner 470 07-03-2020 01:28 AM
Jail Break For PW3 5.11.1.1? freeman37373 Kindle Developer's Corner 2 04-20-2019 08:04 AM
KOA2 KOA2 jail break research knc1 Kindle Developer's Corner 29 04-28-2018 09:48 AM
Is there a jail break for 5.7.2.1? jjokocha Kindle Developer's Corner 13 03-16-2016 02:50 AM
Why Jail Break? daffy4u Apple Devices 46 09-18-2009 11:24 AM


All times are GMT -4. The time now is 04:52 PM.


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