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 12-22-2013, 03: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, 05:55 PM   #1637
cryzed
Addict
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: 322
Karma: 1050026
Join Date: Mar 2011
Device: Kindle Paperwhite, Kindle Voyage
Nevermind, I haven't read properly.

Last edited by cryzed; 12-22-2013 at 05:59 PM.
cryzed is offline   Reply With Quote
Old 12-26-2013, 07:17 PM   #1638
elchamaco
Connoisseur
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: 56
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, 07:19 PM   #1639
elchamaco
Connoisseur
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: 56
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-30-2013, 12:44 AM   #1640
hontehai
Junior Member
hontehai began at the beginning.
 
Posts: 3
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
Old 12-30-2013, 04:34 AM   #1641
kaznelson
Zealot
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: 120
Karma: 751291
Join Date: May 2010
Location: Moscow
Device: PW2, Voyage, Kobo H2O
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, 11:28 PM   #1642
hontehai
Junior Member
hontehai began at the beginning.
 
Posts: 3
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, 08: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, 06: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, 02:24 PM   #1645
booklover6
Wizard
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: 4,233
Karma: 4057070
Join Date: May 2008
Location: PA (USA)
Device: Fire HD 6, Kobo Aura, Glo, Mini
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 08:07 PM.
booklover6 is offline   Reply With Quote
Old 02-19-2014, 12:35 PM   #1646
phoenix512
Member
phoenix512 began at the beginning.
 
phoenix512's Avatar
 
Posts: 21
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:
http://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, 06:28 PM   #1647
phoenix512
Member
phoenix512 began at the beginning.
 
phoenix512's Avatar
 
Posts: 21
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, 09:01 PM   #1648
ddimasbr
Member
ddimasbr began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2013
Location: Brazil
Device: Kindle DX, Kindle Paperwhite 2 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, 09:57 PM   #1649
ddimasbr
Member
ddimasbr began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2013
Location: Brazil
Device: Kindle DX, Kindle Paperwhite 2 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, 10: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: 25
Karma: 29634
Join Date: Jun 2012
Device: Amazon Kindle Touch
Update fonk/margin hack. I did it without problems:-)
soulafein is offline   Reply With Quote
Reply

Tags
jbpatch, kindle touch hacks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -4. The time now is 12:22 AM.


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