12-11-2016, 07:52 AM | #1831 | |
Guru
Posts: 885
Karma: 10113994
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5 [bricked], Kindle PW1
|
Quote:
You only need to do it once after first reboot following the jar edit/replacement. |
|
12-12-2016, 01:43 AM | #1832 |
Member
Posts: 15
Karma: 10
Join Date: Dec 2010
Device: Kindle Paperwhite 2
|
Thank alot for your proposal. I have do it but seem no effect. Only top and bottom is working. FW 5.6.5 PW2
|
Advert | |
|
03-02-2017, 02:35 PM | #1833 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jan 2017
Device: Kindle PaperWhite 3 (5.8.5 JB)
|
|
05-17-2017, 02:59 AM | #1834 |
Member
Posts: 23
Karma: 126
Join Date: May 2017
Location: Madrid
Device: Kindle PW2, PW3
|
Hello. This is just to report my conclusions testing the margins hack (jar edition) in PW1 6.5.1.1, in case they could be useful for someone in the future:
The tests have been made following the guides by sprite7 in this post. Some new points to remark:
My conclusions after those tests, once you edit the jar file, are following: 1. In mobi books (old version, KF7), you can set the new margin but it is reverted to the default one (the small default one, 50 pt or close) every time you turn the page. 2. In azw3 books (or mobi new version, KF8), if you set the new margins, they survive the page turn, but they don't survive a return to the home page. Once you change the book, or even without opening a new book but exiting the book you are reading to the home page, when you go back to read the margins are lost and the default (small one) is set. That is, in azw3 you must set the margins for each book, which is more or less acceptable. In mobi, you must do it for each page, which is "a little bothering" When the margins are "automatically resetted" by the kindle, they are the same as shown in the home menu, view list. Maybe the key could be to modify also those, but I haven't tried. I just mention it here in case it could be helpful for someone in the future. I hope this info could be useful, although the results are a bit disappointing. Last edited by JotaCe; 05-18-2017 at 08:06 AM. |
06-16-2017, 02:51 AM | #1835 |
Member
Posts: 18
Karma: 28307
Join Date: May 2013
Device: Kindle PW3
|
KPW3 5.8.9.2 margin hack works, but...
Worked hack, but only in book, not in "swipe up menu".
Can someone give additional info what to edit to fix this ? Last edited by Elendiar; 06-16-2017 at 02:58 AM. |
Advert | |
|
07-09-2017, 01:12 PM | #1836 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2017
Device: Paperwhite 3
|
I have a Kindle Paperwhite 3 on firmware 5.8.9.2 and can't for the life of me get the left/right margin tweak to work.
I'm jailbroken, have USB networking working, etc. I copied these directions exactly: https://www.mobileread.com/forums/sh...postcount=1795 But nothing changes, even when I switch the margin setting back and forth. It's not working on either mobi or azw2 files. Any ideas? Did anyone figure this out? |
07-09-2017, 01:25 PM | #1837 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Search the post, from most recent post backwards, find if your firmware version is described by any of the most recent work. (It probably is not, 5.8.9.2 is fairly new.) |
|
07-09-2017, 03:50 PM | #1838 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2017
Device: Paperwhite 3
|
Seems as though @Elendiar has figured it out on the same device/firmware, not sure what I might be doing wrong here, but it doesn't work at all.
|
07-09-2017, 03:55 PM | #1839 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
And if that does not work for you, be ready to post what you did and the result of each. We can not see over your shoulder nor channel into your mind, so: "not sure what I might be doing wrong" does not give us anything to go on. |
|
07-12-2017, 12:37 PM | #1840 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2017
Device: Paperwhite 3
|
I did exactly the steps in this post: https://www.mobileread.com/forums/sh...postcount=1795
Elendiar said he got it to work on the same device/firmware but didn't say how he did it. It seems as though editing values in /opt/amazon/ebook/lib/ReaderSDK-impl-en_GB.jar does absolutely nothing on my end. I tried even setting the margins all to "0" such as: Code:
ldc_w "font.wordsperline.margin.list" aastore dup iconst_3 newarray int iconst_1 dup pop2 dup iconst_0 ldc_w 0 invokestatic com/amazon/ebook/booklet/reader/resources/ReaderResources_en_GB/pixVal(F)I iastore dup iconst_1 dup_x2 ldc_w 0 invokestatic com/amazon/ebook/booklet/reader/resources/ReaderResources_en_GB/pixVal(F)I iastore dup iconst_2 ldc_w 0 And yes, I made sure to add the file back to the .jar and then replace it on the Kindle, then rebooted, then switched the margins in the options menu. |
07-13-2017, 02:44 AM | #1841 | |
Member
Posts: 18
Karma: 28307
Join Date: May 2013
Device: Kindle PW3
|
Quote:
Some note, in text are same values, i "ctrl+f" twice and change their too (idk, maybe its too much). You can use this fix (script for KUAL) fields.zip from 4pda.ru, based on my changes, just automated with backup function (obiously you can replace ur own *.jar file and use for convenient replacement). Last edited by Elendiar; 07-13-2017 at 03:26 AM. |
|
07-19-2017, 11:06 PM | #1842 | |
doofus
Posts: 2,517
Karma: 13036221
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
|
Quote:
Also make sure you are modifying the section that corresponds to the DPI of your device. |
|
07-27-2018, 12:03 AM | #1843 |
Enthusiast
Posts: 47
Karma: 28546
Join Date: Oct 2011
Device: KOA
|
I know this thread is quite old, but has anyone succeeded in getting reduced margins working on 5.9.x on KOA2? I followed the steps outlined here: https://www.mobileread.com/forums/sh...postcount=1795, but I'm not having any luck. My results are similar to aizykr8; values changed successfully, steps followed to restart and change margins, but no change to the display.
|
07-30-2018, 09:54 AM | #1844 |
Enthusiast
Posts: 47
Karma: 28546
Join Date: Oct 2011
Device: KOA
|
I can confirm that changing margins works on 5.9.x on KOA2. The hangup for me was repacking the jar on a Mac. I could not find a utility where you could browse and change the contents of a jar in place like on windows.
My solution: If you have Java installed, then on the command line (terminal) you can run the following to update the contents of a .jar: Code:
jar uf <.jarfile> <path to updated .class file> Glad to be done banging my head against a wall trying to figure out what wasn't working. Hope this helps someone else. |
12-23-2018, 05:38 AM | #1845 |
Wizard
Posts: 1,059
Karma: 3000026
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
I confirm working margins methods as described by stripe7.
KPW3, 5.9.7, English US. I modified though not ReaderSDK-impl-en_GB.jar, but just ReaderSDK-impl.jar (which is default for English US). I put 16.98, 11.32 and 7.55 for three types of margins. 7.55 for top/bottom/progressbar stuff. One thing I don't understand with MOBI font sizes. In Mobi-drawing.jar there are 8 font sizes listed, but the reader has a choice of 14. Plus it seems like the font size around 29 is the maximum 14th one, not 8th. Font size 29 in MOBI is about the same size (visually) as the 14th one in KF8. Spoiler:
Where are other 6 sizes? Last edited by mergen3107; 12-23-2018 at 05:42 AM. |
Tags |
jbpatch, kindle touch hacks |
|