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 09-24-2024, 05:58 AM   #1
Duxa
Junior Member
Duxa began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2024
Device: PW1/2
Question Top row of PW1 not readable, would like to add a row worth of margin to the top.

My top row is messed up (I inherited this kindle PW1 not sure how it got damaged). This is what it looks like. Id like to move down the top row so that I can read on it, bonus points if I can move the top bar/menus down too so that I can actually see the battery state/clock etc...

Pictures: https://imgur.com/a/s90OpRG

Ive been following the directions on various threads here, jailbroke it, got netUSB working, but am failing to understand the meaning of numbers in examples given here https://www.mobileread.com/forums/sh...postcount=1795

I tried to go overboard to see a difference and then finetune it, but doubling the numbers here did not seem to do anything:

Default:
Code:
ldc_w "reader.content.topMargin"
aastore
dup
iconst_1
new java/lang/Integer
dup
bipush 30
invokespecial java/lang/Integer/<init>(I)V
aastore
aastore
dup
bipush 41
iconst_2
anewarray java/lang/Object
iconst_1
dup
pop2
dup
iconst_0
ldc_w "reader.content.topMarginOffset"
aastore
dup
iconst_1
new java/lang/Integer
dup
bipush 10
invokespecial java/lang/Integer/<init>(I)V
aastore
aastore
dup
bipush 42
iconst_2
anewarray java/lang/Object
iconst_1
dup
pop2
dup
iconst_0
Changed:
Code:
ldc_w "reader.content.topMargin"
aastore
dup
iconst_1
new java/lang/Integer
dup
bipush 40
invokespecial java/lang/Integer/<init>(I)V
aastore
aastore
dup
bipush 80
iconst_2
anewarray java/lang/Object
iconst_1
dup
pop2
dup
iconst_0
ldc_w "reader.content.topMarginOffset"
aastore
dup
iconst_1
new java/lang/Integer
dup
bipush 12
invokespecial java/lang/Integer/<init>(I)V
aastore
aastore
dup
bipush 42
iconst_2
anewarray java/lang/Object
iconst_1
dup
pop2
dup
iconst_0
Duxa is offline   Reply With Quote
Old 09-24-2024, 03:52 PM   #2
Duxa
Junior Member
Duxa began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2024
Device: PW1/2
Lightbulb

Ok figured it out! Here is step by step for unfortunate souls in the future. This will also allow adjusting any margin not just the top.

1. My PW1 Kindle was on 5.6.1.1, so I downgraded it via "update_kindle_5.3.3.bin" from this post: https://www.mobileread.com/forums/sh...d.php?t=264432

Make sure to read all the instructions.

2. Get Jailbreak from https://www.mobileread.com/forums/sh...d.php?t=225030

For PW1 this is K5 JailBreak (5.0.x - 5.4.4.2)

3. Reboot

4. Dont think this is necessary but I did it anyways. Download and install MR Package Installer from the link above.

5. Install JBPatch from https://www.mobileread.com/forums/sh...d.php?t=175512
For me it was jbpatch_4.0.0_fw531.zip .

Now restart Kindle. Look for a book on there called JBPatch. Open it, go to Modify Reader Margins. For me I changed Top Margin from default 40 to 74, and Top Margin offset from default 12 to 26.

That solved it for me. Now it looks like this. The time/battery and top menu are still messed up, but at least books can be read normally now:

https://imgur.com/a/xkMjzIb
Duxa is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sticky second row of main toolbar or move second toolbar to top? Zealousky Calibre 6 04-20-2021 11:58 PM
Jump to Top Row? jeffcdo Calibre 3 08-29-2020 06:38 PM
Kobo aura screen replacement - touchscreen top row unresponsive rikkinumber Kobo Reader 4 07-08-2020 05:10 AM
Hacks Is it possible to add top/bottom margin in Kindle Paperwhite 4th gen? Godkiller Amazon Kindle 2 07-11-2019 09:31 AM
Free (Kindle UK) On Rocky Top: A Front-Row Seat to the End of an Era arcadata Deals and Resources (No Self-Promotion or Affiliate Links) 2 08-30-2011 07:29 PM


All times are GMT -4. The time now is 11:29 PM.


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