04-28-2015, 12:33 AM | #61 |
just an egg
Posts: 1,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, 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. |
04-28-2015, 08:09 AM | #62 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
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. |
|
Advert | |
|
04-28-2015, 12:42 PM | #63 |
just an egg
Posts: 1,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, 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:
If there is an easy way to do this, suggestions greatly appreciated! Last edited by odamizu; 04-29-2015 at 01:14 PM. |
04-28-2015, 12:51 PM | #64 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@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). |
04-28-2015, 03:17 PM | #65 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
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. |
|
Advert | |
|
04-28-2015, 03:38 PM | #66 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
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. |
04-28-2015, 03:40 PM | #67 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
|
04-28-2015, 03:43 PM | #68 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
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.
|
04-28-2015, 03:44 PM | #69 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
|
|
04-28-2015, 03:46 PM | #70 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@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. |
04-28-2015, 04:04 PM | #71 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
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. |
04-28-2015, 04:07 PM | #72 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Cool .
Although it appears to still be breaking some stuff on Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=546124 Anyways, soon(TM)! . |
04-28-2015, 04:18 PM | #73 | |
Connoisseur
Posts: 58
Karma: 100000
Join Date: May 2009
Location: EU
Device: Cybook (Gen3, Opus), K3, K4NT, PW, PW2, KV
|
Quote:
|
|
04-28-2015, 05:55 PM | #74 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
04-28-2015, 05:55 PM | #75 |
just an egg
Posts: 1,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, 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!! |
Tags |
font_ramp |
|
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 |