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 04-28-2015, 12:33 AM   #61
odamizu
maniac
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 595
Karma: 1636110
Join Date: Mar 2015
Device: Kindle Oasis & Voyage, iOS
Voyage - New Software Update 5.6.2.1

Kindle Voyage Software Update 5.6.2.1 just showed up at:

http://www.amazon.com/gp/help/custom...deId=201630670

I'm guessing, hoping the FONT-RAMP hack still works, but can some kind soul confirm this or teach me how to crack open the update (with a Mac) so I can check for myself?

Merci, danke, thank you.

P.S. I found KindleTool, but I am in way over my head. I used the "extract" command, which gave me a folder containing rootfs.img.gz, rootfs.img.gz.sig, update-payload.dat, update-payload.dat.sig and a folder named imx60_wario containing uImage and uImage.sig. Now I am totally lost

Last edited by odamizu; 04-28-2015 at 02:58 AM. Reason: added P.S.
odamizu is offline   Reply With Quote
Advert
Old 04-28-2015, 08:09 AM   #62
knc1
Ex-Helpdesk Addict
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: 13,900
Karma: 15354557
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by odamizu View Post
Kindle Voyage Software Update 5.6.2.1 just showed up at:

http://www.amazon.com/gp/help/custom...deId=201630670

I'm guessing, hoping the FONT-RAMP hack still works, but can some kind soul confirm this or teach me how to crack open the update (with a Mac) so I can check for myself?

Merci, danke, thank you.

P.S. I found KindleTool, but I am in way over my head. I used the "extract" command, which gave me a folder containing rootfs.img.gz, rootfs.img.gz.sig, update-payload.dat, update-payload.dat.sig and a folder named imx60_wario containing uImage and uImage.sig. Now I am totally lost
Nope, your totally on the correct path.
un-gzip the rootfs.img.gz giving a rootfs.img
- - - -
The following is how you do it on a Linux install, for a Mac OSx, you may need to run Linux in a VM (or however Apple people do things).
- - - -
The rootfs.img is just that, a binary image of the filesystem backing store. Treat it as such.
Use a 'loop mount' to turn the file into a device and mount it into your directory tree. Just don't write to it.

You will probably find other files in that (just mounted) Amazon part of your directory tree that are also filesystem backing store images that have to be loop mounted.
A file type identification utility (such as: file) will be a big help in finding them.

Then all you need to do (famous understatement, (tm) ) is start searching the contents of the *.jar files with an appropriate reverse engineering tool(s) for 'FONT_RAMP' and the code that uses it.

Last edited by knc1; 04-28-2015 at 08:19 AM.
knc1 is offline   Reply With Quote
Old 04-28-2015, 12:42 PM   #63
odamizu
maniac
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 595
Karma: 1636110
Join Date: Mar 2015
Device: Kindle Oasis & Voyage, iOS
Thanks knc1! But I am still lost and fumbling in the dark because I really don't know what I'm doing

When I try to open rootfs.img, I get "mount failed - no mountable file systems"

This may require more tech know-how than I have, but all I'm wanting is to find ReaderSDK-impl.jar and look inside to confirm that it still includes FONT_RAMP:

Spoiler:
Code:
public float[] Sy() {
    J b;
    float[] a = b.YTD("/mnt/us/FONT_RAMP");
    if (a != null && a.length > 0) {
        return a;
    }
    return (float[])ResourceBundle.getBundle("com.amazon.ebook.booklet.reader.resources.ReaderResources").getObject("font.size.mapping");
}


If there is an easy way to do this, suggestions greatly appreciated!

Last edited by odamizu; 04-29-2015 at 01:14 PM.
odamizu is offline   Reply With Quote
Old 04-28-2015, 12:51 PM   #64
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: 6,974
Karma: 6562801
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
@odamizu: Ha, OS X. You're (mostly) screwed.

Mounting ext* is a bitch there (lack of drivers). So, err, forget about it?
Or do it in a Linux VM, which will probably end up being less ugly than finding a darwin or fuse driver that handles ext3 properly, and then that also handles loop mounts (or whatever the OS X equivalent of that is).
NiLuJe is offline   Reply With Quote
Old 04-28-2015, 03:17 PM   #65
knc1
Ex-Helpdesk Addict
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: 13,900
Karma: 15354557
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by odamizu View Post
- - - -
If this can be easily done, suggestions greatly appreciated!
Duh, what I posted **is** the "easy way".

The only way easier is to wait for someone (the hack's author?) to verify that FONT_RAMP is still present and working in that newer version firmware.

- - - -

PS:
That bit of Java source code you posted -
That is the output of a Java byte-code, decompiler, Amazon doesn't ship the actual source code.
knc1 is offline   Reply With Quote
Advert
Old 04-28-2015, 03:38 PM   #66
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,180
Karma: 83000001
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Code:
[eschwartz@arch ~/Downloads]$ wget http://s3.amazonaws.com/G7G_FirmwareUpdates_WebDownloads/update_kindle_voyage_5.6.2.1.bin
[eschwartz@arch ~/Downloads]$ kindletool extract update_kindle_voyage_5.6.2.1.bin kv_update_5.6.2.1
[eschwartz@arch ~/Downloads]$ cd kv_update_5.6.2.1
[eschwartz@arch ~/Downloads/kv_update_5.6.2.1]$ gunzip rootfs.img.gz
[eschwartz@arch ~/Downloads/kv_update_5.6.2.1]$ mkdir rootfs
[eschwartz@arch ~/Downloads/kv_update_5.6.2.1]$ sudo mount rootfs.img rootfs
[eschwartz@arch ~/Downloads/kv_update_5.6.2.1]$ cp rootfs/opt/amazon/ebook/lib/ReaderSDK-impl.jar ./
[eschwartz@arch ~/Downloads/kv_update_5.6.2.1]$ sudo umount ./rootfs.img
[eschwartz@arch ~/Downloads/kv_update_5.6.2.1]$ unzip ReaderSDK-impl.jar
[eschwartz@arch ~/Downloads/kv_update_5.6.2.1]$ grep -R "/mnt/us/FONT_RAMP" com/amazon/ebook/booklet/reader/
Binary file com/amazon/ebook/booklet/reader/impl/J.class matches

Yay.

Edit: Yes, to be clear -- this is a step-by-step of me downloading the update, extracting it, and searching inside the right java package for the name of the hacks's file. Since a text string cannot be byte-compiled.
Finding it (I did) demonstrates that the hack should still work.

Last edited by eschwartz; 09-16-2015 at 12:23 PM.
eschwartz is offline   Reply With Quote
Old 04-28-2015, 03:40 PM   #67
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: 6,974
Karma: 6562801
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
Requisite xkcd comic to go along with that one: https://xkcd.com/272/

:}
NiLuJe is offline   Reply With Quote
Old 04-28-2015, 03:43 PM   #68
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,180
Karma: 83000001
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Also I realized in the process I needed to bump the pkgrel for kindletool because of a nettle update. I should probably be more careful about that seeing as I maintain the package.
eschwartz is offline   Reply With Quote
Old 04-28-2015, 03:44 PM   #69
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,180
Karma: 83000001
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by NiLuJe View Post
Requisite xkcd comic to go along with that one: https://xkcd.com/272/

:}
eschwartz is offline   Reply With Quote
Old 04-28-2015, 03:46 PM   #70
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: 6,974
Karma: 6562801
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
@eschwartz: Does this mean gnutls finally handles nettle-3 without breaking everything under the sun?

I think that new gnutls version (3.4.x) is still masked over here in Gentoo-land because, that, in turn, breaks a lot of gnutls-using apps...

Yay....

----

In any case, good, that means building KindleTool on x86_64 will stop spewing a shit-ton of warnings .

(nettle 3 has saner type handling on x86_64, and I switched to the sane API from the get go; while nothing breaks when building against 2.7, it hurts my sensibilities to see those warnings ^^)

Last edited by NiLuJe; 04-28-2015 at 03:49 PM.
NiLuJe is offline   Reply With Quote
Old 04-28-2015, 04:04 PM   #71
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,180
Karma: 83000001
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Arch Linux has moved nettle-3.1 and gnutls-3.4.0 from testing to core. pacman reports the build date was April 9, which would be when it entered testing. pacman logs say I upgraded (from core) on April 19, and I upgrade ~daily.

Looks like they weren't sure either, but apparently it passed scrutiny. Nothing has broken.
eschwartz is offline   Reply With Quote
Old 04-28-2015, 04:07 PM   #72
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: 6,974
Karma: 6562801
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
Cool .

Although it appears to still be breaking some stuff on Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=546124

Anyways, soon(TM)! .
NiLuJe is offline   Reply With Quote
Old 04-28-2015, 04:18 PM   #73
tono1020
Connoisseur
tono1020 seems famous, but is in fact legendary.tono1020 seems famous, but is in fact legendary.tono1020 seems famous, but is in fact legendary.tono1020 seems famous, but is in fact legendary.tono1020 seems famous, but is in fact legendary.tono1020 seems famous, but is in fact legendary.tono1020 seems famous, but is in fact legendary.tono1020 seems famous, but is in fact legendary.tono1020 seems famous, but is in fact legendary.tono1020 seems famous, but is in fact legendary.tono1020 seems famous, but is in fact legendary.
 
Posts: 55
Karma: 75860
Join Date: May 2009
Location: EU
Device: Cybook (Gen3, Opus), K3, K4NT, PW, PW2, KV
Quote:
Originally Posted by odamizu View Post
Kindle Voyage Software Update 5.6.2.1 just showed up at:

http://www.amazon.com/gp/help/custom...deId=201630670

I'm guessing, hoping the FONT-RAMP hack still works, but can some kind soul confirm this or teach me how to crack open the update (with a Mac) so I can check for myself?

Merci, danke, thank you.

P.S. I found KindleTool, but I am in way over my head. I used the "extract" command, which gave me a folder containing rootfs.img.gz, rootfs.img.gz.sig, update-payload.dat, update-payload.dat.sig and a folder named imx60_wario containing uImage and uImage.sig. Now I am totally lost
I just updated my KV firmware to 5.6.2.1 and FONT_RAMP hack still works!
tono1020 is offline   Reply With Quote
Old 04-28-2015, 05:55 PM   #74
knc1
Ex-Helpdesk Addict
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: 13,900
Karma: 15354557
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by tono1020 View Post
I just updated my KV firmware to 5.6.2.1 and FONT_RAMP hack still works!
Was the device jailbroken?
Did the jailbreak survive?

Did you have the Backdoor lock installed and locked?
Did it prevent the automatic update, so that you had to manually allow the update?
knc1 is offline   Reply With Quote
Old 04-28-2015, 05:55 PM   #75
odamizu
maniac
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 595
Karma: 1636110
Join Date: Mar 2015
Device: Kindle Oasis & Voyage, iOS
@knc1: Ack! Thank you for trying to teach me. Clearly this is beyond my know-how-skill-set

@eschwartz: I am like a small child listening to the grown-ups speak. I think your code means FONT_RAMP is still present and working in 5.6.2.1? If so, thank you for checking!

@tono1020: Yay! Thank you!!
odamizu 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
How to edit margins in MOBI file? WDeranged Calibre 2 09-03-2015 05:43 PM
Default Edit Book Edit Window Font? lhuxley Editor 2 03-26-2015 11:11 PM
Kindle Paperwhite edit PDF margins? bseos Amazon Kindle 8 02-10-2014 02:00 PM
Edit Default Kindle PW Font Sizes mthodmn101 Kindle Developer's Corner 10 09-20-2013 11:14 AM
Kindle margins edit? 3bayjunkie Amazon Kindle 3 01-01-2011 11:38 PM


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


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