09-15-2012, 01:44 PM | #46 |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
@twobob: well, what am I to say... dankeschön!
(no icon for tea, I'm afraid... but many icons for other... ummm... more interesting beverages: ) |
09-15-2012, 01:56 PM | #47 |
Guru
Posts: 885
Karma: 10113994
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5 [bricked], Kindle PW1
|
@twobob: Thanks for your input. I've began typing my previous post right after @Ixtab reply to my first question, but didn't finish/post it for next 30+ minutes So I didn't see your's 'till after I've posted mine.
Now that I've read it I can see that pre-edited .jar file don't work on KK fw 3.4. So I'll try pulling files and unpacking them in a couple of days. My USBnetworking hack works over WiFi,and I don't want to be autoupdated to fw 3.4 (waiting to see how the Calibre generated .apnx files problem with azw3 turns out ) when I turn WiFi on on my Kindle,so.. this will have to wait. Or probably I should wait for someone else who has already setup-ed debricking & custom kernel with recovery to try this modification on KK with fw 3.3/3.4 ... p.s. I know that I could just pull phone/ADSL cable from my rauter/modem ,but I need my internetz Downloading stuff... |
Advert | |
|
09-15-2012, 02:01 PM | #48 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
You could firewall the Kindle from Amazon updates in your router; Or You could firewall the Kindle in its own rules, of the 3.3 image you are going to install, before you install it. Or You could apply one of the "disable OTA update" hacks to the 3.3 image you are going to install, before you install it. All of the above described here at MR. |
|
09-15-2012, 02:02 PM | #49 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Err. then just amend your autoupdate script thusly...
Line 42 - 47 /usr/bin/process_update Quote:
Manual updating would still work should you choose to. Nothing else would be affected AFAICT. Then simply revert if you want to go back to autoupdates. Enjoy. |
|
09-15-2012, 02:07 PM | #50 |
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
|
@shamanNS: The Calibre APNX + KF8 + FW 3.4 thing will be fixed in Calibre's next release.
|
Advert | |
|
09-15-2012, 02:12 PM | #51 |
Guru
Posts: 885
Karma: 10113994
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5 [bricked], Kindle PW1
|
@knc1: My Kindle is already on fw 3.3.
Also, I could "firewall" using Windows hosts file @twobob Any kind of file editing (outside of "USB partition") requires USBNetworking, which works over WiFi in my case. Anyhow, I currently don't have time for editing and SSH-ing ( ), so no need for firewalling and disabling auto update. |
09-15-2012, 02:21 PM | #52 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
For the record, I "hot-edited" mine (on one 3.3 device) in exactly the way you describe just the other day. The edit took what? 20 seconds? It's a big update compared to that.
As it happens the update wasn't actually pushed down for quite a while. I have ZERO Idea of their update scheduling, : ) Also... just one tip: I could "firewall" using Windows hosts file, no, you couldn't, well you could but it wouldn't do zip, but... moving on. Perhaps catch you when you have a bit more space for the project. Laters... and I'm glad you are enthused about the prospect of being a hack author Last edited by twobob; 09-15-2012 at 02:25 PM. |
09-15-2012, 02:21 PM | #53 |
Grand Sorcerer
Posts: 5,886
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
Oops!
Oops!.
Last edited by alansplace; 09-15-2012 at 02:26 PM. |
09-15-2012, 02:23 PM | #54 |
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
|
@alansplace: Not necessarily the right place (or, more exactly, thread), but:
If they're mine, you should have stuff with the right info in the linkss/info.txt file on your Kindle. That should point you in the right direction (and, in the case of my stuff, you can safely use the uninstallers from the latest version, they handle all previous versions fine). |
09-15-2012, 02:29 PM | #55 | |
Grand Sorcerer
Posts: 5,886
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
Re: Oops!
Quote:
|
|
09-15-2012, 02:49 PM | #56 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
|
09-15-2012, 03:30 PM | #57 |
Enthusiast
Posts: 43
Karma: 42986
Join Date: Aug 2011
Location: Lviv, Ukraine
Device: Kindle DX Graphite
|
In my case I have 3.2.1 firmware on DX, and I did this hack for my device. I don't have any other devices.
I wrote the steps how I did that hack in my instruction. So now everyone can make same things with his device. What is the difference between my device and yours? The difference is the fact that your version of MobiReader (java app which is resonsible for rendering book on screen) may be different. The jar files in your case will have different resource classes with different names in comparison to mine, and those classes may have different array fields. So, you have first to find where are those arrays that have to be changed. I would suggest you to search for them in following way: 1) copy all jar files that you find in \opt\amazon\ebook\booklet\ and \opt\amazon\ebook\lib\ directories to your disk. 2) download JAD and put it to PATH 3) for each jar file which you found and which you suspect that it will have that array that should be changed, do following steps: 4) create a powershell file get-childitem C:\Projects\MobiReader\ -include *.class -recurse | foreach ($_) {jad.exe -d $_.directory -s .java $_.fullname} (MobiReader dir in my case is the dir where I unpacked MobiReader.jar) this will decompile you all classes recursively and will create .java files for every .class file. This is for Windows machine (I am windows programmer). If you have Linux - I don't know how to automate it to avoid running jad.exe eachfile.class for every file separately. 5) in Far Manager (or any other tool you like) do search for "font.size.list" or for "17,18,21" in all java files you've just made. The latter string I made by looking at what sizes are set in FONT_SIZE parameter written to \mnt\us\system\com.amazon.ebook.booklet.reader\rea der.pref file after I increase font size one by one - IN YOUR CASE FONT SIZES MAY BE DIFFERENT. In case of Kindle DX with 3.2.1 firmware there are 2 such files that are responsible for font sizes: \opt\amazon\ebook\booklet\MobiReader.jar and \opt\amazon\ebook\lib\framework-api.jar In your case with different firmware and device, you may have different set of jar files and different classes that contain a (hardcoded) array. But you'll have to find it on your own. 6) after you find it, follow my instruction to modify it, recomile, jar and put back to your device. |
09-15-2012, 04:58 PM | #58 |
Enthusiast
Posts: 43
Karma: 42986
Join Date: Aug 2011
Location: Lviv, Ukraine
Device: Kindle DX Graphite
|
I've just made an experiment - and it works. There can be a choice of not 8 but more font sizes. I've made 11 options:
For this I modified the array \framework-api\com\amazon\ebook\framework\resources\UIResourc es_en.java like this: "fontmenu.default.font.size.list", new int[] { 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31 } |
09-15-2012, 05:11 PM | #59 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I wonder if you could find an option for "Words Per Line" and ditch that gutter...
Like "Max!" "Normal" "Useless" I would heart that oh newly-crowned master of text tinkering : D |
09-15-2012, 05:19 PM | #60 |
Guru
Posts: 885
Karma: 10113994
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5 [bricked], Kindle PW1
|
@ihor: Nice work. Only if it head different/modified icons, that indicate size it would be perfection
@twobob: Yeah, permanent margins change would be awesome... |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Font sizes | paulfiera | Conversion | 2 | 08-14-2012 08:49 AM |
602 How to set a hot key for turning off WIFI | jshzh | PocketBook | 2 | 01-27-2011 05:06 PM |
Font sizes | DaleDe | Sigil | 8 | 03-13-2010 05:52 PM |
Font Sizes | brewt | Amazon Kindle | 9 | 06-12-2009 03:03 PM |
Font Sizes on DX | wallcraft | Amazon Kindle | 1 | 05-06-2009 11:08 PM |