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 12-22-2013, 02:17 PM   #1636
cristi1848
Member
cristi1848 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Apr 2012
Device: kindle touch
Hi all,

I have a PW2 with 5.4.2. I am trying to find a way to set the margins to 0 (zero). I installed the hack by copying the update_fonthack_0.4_pw2_install.bin file and the /Margins/ReaderSDK-impl-en_GB.jar file in the root of my kindle, then updated.

However, I don't see any change for the margins. Am I doing something wrong ?

the log created in the root is below:

Code:
Start install: Sun Dec 22 21:00:14 EEST 2013
OTA_install: level I: install: Installing hacked file (/mnt/us/Mobi-drawing-en_GB.jar)...
OTA_install: level I: check: 	Skip: /mnt/us/Mobi-drawing-en_GB.jar not found.
OTA_install: level I: install: Installing hacked file (/mnt/us/HTMLReader-impl-en_GB.jar)...
OTA_install: level I: check: 	Skip: /mnt/us/HTMLReader-impl-en_GB.jar not found.
OTA_install: level I: install: Installing hacked file (/mnt/us/Reader-plugin-en_GB.jar)...
OTA_install: level I: check: 	Skip: /mnt/us/Reader-plugin-en_GB.jar not found.
OTA_install: level I: install: Installing hacked file (/mnt/us/ReaderSDK-impl-en_GB.jar)...
OTA_install: level I: copy: 	Backup original file (/opt/amazon/ebook/lib/ReaderSDK-impl-en_GB.jar)
OTA_install: level I: move: 	Create new resource file (/opt/amazon/ebook/lib/ReaderSDK-impl-en_GB.jar)
OTA_install: level I: manage: 	Setup hacked file permissions (/opt/amazon/ebook/lib/ReaderSDK-impl-en_GB.jar)
Complete install: Sun Dec 22 21:00:22 EEST 2013
Thank you.
cristi1848 is offline   Reply With Quote
Old 12-22-2013, 04:55 PM   #1637
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
Nevermind, I haven't read properly.

Last edited by cryzed; 12-22-2013 at 04:59 PM.
cryzed is offline   Reply With Quote
Advert
Old 12-26-2013, 06:17 PM   #1638
elchamaco
Zealot
elchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enough
 
Posts: 128
Karma: 500
Join Date: Aug 2011
Device: kindle, boox
Quote:
Originally Posted by cristi1848 View Post
However, I don't see any change for the margins. Am I doing something wrong ?
Do you have interface in English UK?
elchamaco is offline   Reply With Quote
Old 12-26-2013, 06:19 PM   #1639
elchamaco
Zealot
elchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enough
 
Posts: 128
Karma: 500
Join Date: Aug 2011
Device: kindle, boox
Somebody know's if it'll be easy to do a hack showing the hour in the status bar and not only in the menu?.
elchamaco is offline   Reply With Quote
Old 12-29-2013, 11:44 PM   #1640
hontehai
Member
hontehai began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Dec 2010
Device: Kindle Paperwhite 2
Thumbs up

Quote:
Originally Posted by kaznelson View Post
Temporally hack for Kindle Paperwhite 5.3.4-5.3.9 and Kindle Paperwhite 2nd Generation 5.4.2 with "English (United Kingdom)" interface:

update_fonthack_0.3_pw_534.zip
update_fonthack_0.3_pw_535.zip
update_fonthack_0.3_pw_536.zip
update_fonthack_0.3_pw_538.zip
update_fonthack_0.3_pw_539.zip

update_fonthack_0.4_pw2_542.zip

- The changed size of a font at reading books mobi (Mobi-drawing-en_GB.jar)
- The changed size of a font at reading books kf8/azw3 (HTMLReader-impl-en_GB.jar);
- The changed size of a font in the panel of search (Reader-plugin-en_GB.jar);
- The switched on reflow-mode for pdf-documents (Reader-plugin-en_GB.jar);
- The changed margins at reading books mobi and kf8 (ReaderSDK-impl-en_GB.jar);
- The reduced margins for pdf-documents (ReaderSDK-impl-en_GB.jar);
- The reduced height of the bottom progressbar (ReaderSDK-impl-en_GB.jar).

More details in a Readme_eng.txt file...
Hi kaznelson,
Thank for great contribution.
Could you help to make pw2, Mobi_15-25 with Margin like 0 for all (top-bottom-left-right) ?
hontehai is offline   Reply With Quote
Advert
Old 12-30-2013, 03:34 AM   #1641
kaznelson
Old Kaz
kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.
 
kaznelson's Avatar
 
Posts: 203
Karma: 1064151
Join Date: May 2010
Device: PocketBook Era
Quote:
Originally Posted by hontehai View Post
Could you help to make pw2, Mobi_15-25 with Margin like 0 for all (top-bottom-left-right) ?
Sorry, but to make "more-more-more" variants for all - very boringly and long.
On page 106 i wrote how to edit jar-files.
kaznelson is offline   Reply With Quote
Old 12-30-2013, 10:28 PM   #1642
hontehai
Member
hontehai began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Dec 2010
Device: Kindle Paperwhite 2
Quote:
Originally Posted by kaznelson View Post
Sorry, but to make "more-more-more" variants for all - very boringly and long.
On page 106 i wrote how to edit jar-files.
Thank alot, I only need to reduce big blank left - right and bottom.
Could you help to list which value need to change ?
hontehai is offline   Reply With Quote
Old 01-01-2014, 07:52 AM   #1643
zwj003
Junior Member
zwj003 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2012
Device: kindle touch
can this version sopport KT 5.3.7?

can this version sopport KT 5.3.7?
zwj003 is offline   Reply With Quote
Old 01-02-2014, 05:48 AM   #1644
cristi1848
Member
cristi1848 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Apr 2012
Device: kindle touch
Thank you for your answer, elchamaco. Changing the language to English UK, did the trick.

I am still searching for a way to set the margins to 0.
cristi1848 is offline   Reply With Quote
Old 01-08-2014, 01:24 PM   #1645
booklover6
Grand Sorcerer
booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.
 
booklover6's Avatar
 
Posts: 6,533
Karma: 14008730
Join Date: May 2008
Location: PA (USA)
Device: Kobo Clara, 2E, Libre, PW4, PW5, 2022 Kindle
ixtab, question for you, that I don't see answered in the wiki, about "Customize Progress Indicator."

Using a Kindle Touch, fw 5.3.2.1 and patch 4.0.0. I see that it changed the appearance of the bottom info, but I do not see a progress bar, and also it has removed the time left in chapter/time left in book feature, and also, I see no way to customize this area.

I do not see this at all "Simply use the "%" entry that appears next to the "Aa" button."

What am I doing wrong? Do I have to go back to patch 3.2.1 to get the time left feature?

Thanks, and sorry if it is in the wiki, I am not seeing it.

*sigh*

I am so mad. I didn't do the back door lock yet, and the darn thing updated to 5.3.7 so now I have to kubrick it.

ETA Breathing a HUGE sigh of relief. The jailbreak stayed on the device. I had to reinstall the patch bin, and the screen saver bin. It's all working now, even the time remaining is working. (Although the "customize progress indicator" customization still doesn't work, but I can live with that).

Will do backdoor lock soon, just in case.

Thanks so much to all of the incredibly talented people here in the Dev corner!!!

Last edited by booklover6; 01-08-2014 at 07:07 PM.
booklover6 is offline   Reply With Quote
Old 02-19-2014, 11:35 AM   #1646
phoenix512
Enthusiast
phoenix512 began at the beginning.
 
phoenix512's Avatar
 
Posts: 45
Karma: 10
Join Date: Feb 2014
Device: kindle PW2
Quote:
Originally Posted by kaznelson View Post
Temporally hack for Kindle Paperwhite 5.3.4-5.3.9 and Kindle Paperwhite 2nd Generation 5.4.2:
https://www.mobileread.com/forums/sho...postcount=1431
Does this work for 5.4.2.1?
I installed JailBreak and RescuePack so far but stuck what to do next
phoenix512 is offline   Reply With Quote
Old 02-19-2014, 05:28 PM   #1647
phoenix512
Enthusiast
phoenix512 began at the beginning.
 
phoenix512's Avatar
 
Posts: 45
Karma: 10
Join Date: Feb 2014
Device: kindle PW2
Quote:
Originally Posted by kaznelson View Post
zxczxc

JBE 0.1.1 - Java Bytecode Editor

ReaderSDK-impl-ln_LN.jar -> ReaderResources_-ln_LN.class -> Open in JBE

Methods -> <init> -> [0] Code -> Code Editor tab

For PW/PW2 edit values:

font.contrast.value.list : bipush 254 > sipush 254
font.wordsperline.margin.list [fewest] : 150 > 30
font.wordsperline.margin.list [fewer] : 100 > 20
font.wordsperline.margin.list [default] : 50 > 10
reader.content.leftMargin : 50 > 11
reader.content.rightMargin : 50 > 11
reader.content.topMargin : 40 > 12
reader.content.bottomMargin : 40 > 18
reader.progressbar.height : 25 > 18
reader.progressbar.footer.height : 40 > 18
reader.progressbar.margin : 40 > 18
reader.content.yMargin : 20 > 18
I'm trying to change margin by changing the jar file that you provided using Java Bytecode Editor. I have two problems
1. what parameters should change and how exactly? for example, this is from jar file:
**ldc_w "reader.content.leftMargin"
aastore
dup
iconst_1
new java/lang/Integer
dup
bipush 10
invokespecial java/lang/Integer/<init>(I)V
aastore
aastore
dup
bipush 44
iconst_2
anewarray java/lang/Object
iconst_1
dup
pop2
dup
iconst_0***
Am I supposed to change bipush? Also, there is another same code repeated in another part of the jar fie. Just copied the whole text into a texteditor

2. I can't save my changes anyway! it says "The system cannot find the path specified"
Please help
phoenix512 is offline   Reply With Quote
Old 02-19-2014, 08:01 PM   #1648
ddimasbr
Member
ddimasbr began at the beginning.
 
Posts: 18
Karma: 10
Join Date: May 2013
Location: Brazil
Device: Kindle DX, Kindle Paperwhite 3, Onyx Boox M96 and Kobo Aura HD
news

I updated the sw to version 5.4.2.1 by mistake and lost the benefits of margin ... Unfortunately I have to wait for an updated JB pacth or update fonthack

ddimasbr is offline   Reply With Quote
Old 02-19-2014, 08:57 PM   #1649
ddimasbr
Member
ddimasbr began at the beginning.
 
Posts: 18
Karma: 10
Join Date: May 2013
Location: Brazil
Device: Kindle DX, Kindle Paperwhite 3, Onyx Boox M96 and Kobo Aura HD
Does anyone know how to downgrade to version 5.4.2?
ddimasbr is offline   Reply With Quote
Old 02-19-2014, 09:18 PM   #1650
soulafein
Enthusiast
soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.
 
Posts: 43
Karma: 29634
Join Date: Jun 2012
Location: Poland, Poznań
Device: Amazon Kindle Paperwhite 2
Update fonk/margin hack. I did it without problems:-)
soulafein is offline   Reply With Quote
Reply

Tags
jbpatch, kindle touch hacks


Forum Jump


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


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