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 07-08-2012, 11:50 PM   #256
aditya3098
Guru
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
Jbpatch 2 is... Awesome..
Just awesome
aditya3098 is offline   Reply With Quote
Old 07-08-2012, 11:56 PM   #257
aditya3098
Guru
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
Okay, a little bug with the device info patch. I have every patch enabled, together they don't make 20 patches, yet the device info says "14/20"
aditya3098 is offline   Reply With Quote
Old 07-09-2012, 12:51 AM   #258
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by aditya3098 View Post
Jbpatch 2 is... Awesome..
Just awesome
Thanks!

Quote:
Originally Posted by aditya3098 View Post
Okay, a little bug with the device info patch. I have every patch enabled, together they don't make 20 patches, yet the device info says "14/20"
That's not a bug, it's a feature

What the display actually tells is how many classes could theoretically be patched (20), and how many have actually been patched (14). It is normal for these numbers to both be higher than the number of patches (a single patch can change many classes), and to be less than the maximum (not all potential changes will be applied: the TTS patch can change 6 classes, but will at most change 2 of them at runtime). The number of applied patches can even change at runtime, because a patch only gets applied when its "target" class gets loaded. This is also (more or less) documented in the README.txt of version 1.3.1.
ixtab is offline   Reply With Quote
Old 07-09-2012, 01:44 AM   #259
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
Originally Posted by ixtab View Post
Is this something that you only see happening with jbpatch v2 (but not with v1.3.1)?
sorry for the misleading, i didn't used the jbpatch v2 yet. this is the case for 1.3.1
thomass is offline   Reply With Quote
Old 07-09-2012, 02:08 AM   #260
aditya3098
Guru
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
Quote:
Originally Posted by ixtab View Post
That's not a bug, it's a feature

What the display actually tells is how many classes could theoretically be patched (20), and how many have actually been patched (14). It is normal for these numbers to both be higher than the number of patches (a single patch can change many classes), and to be less than the maximum (not all potential changes will be applied: the TTS patch can change 6 classes, but will at most change 2 of them at runtime). The number of applied patches can even change at runtime, because a patch only gets applied when its "target" class gets loaded. This is also (more or less) documented in the README.txt of version 1.3.1.
Ahh...
Will the "jbpatch with no reboot" go away if the patches are again stored in /mnt/us or do you have plans for a way to copy all jbatches from /mnt/us to /var/local when the configuration ui starts?

Last edited by aditya3098; 07-09-2012 at 02:12 AM.
aditya3098 is offline   Reply With Quote
Old 07-09-2012, 09:10 PM   #261
Sturmovik
Junior Member
Sturmovik began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2012
Device: kindle touch
Quote:
Originally Posted by ixtab View Post
Here's another patch, inspired by popular demand.

This patch allows to change the margins around the book content. For the simplest use case, you can now influence what the Kindle understands as "fewest/fewer/default" words per line. You can also hide the progress bar, if you are so inclined. Finally, this patch also affects the PDF display, so in principle, PDFs can be made to display on the full screen.

I attached a few "before/after" screenshots (see below). The result is largely depending on your individual settings, though.

INSTALLATION: copy the attached file "ixtab_margins-5.1.0.zip" directly to your Kindle's opt/jbpatch folder (do NOT unzip the file!), and add the corresponding entry to CONFIG.TXT.

CONFIGURATION:
With the default configuration, this patch does not change anything at all. To change the behavior, you have to modify the file "ixtab-patch-margins.txt" inside the zipped file. After editing, make sure that you re-zip the patch correctly, then restart your Kindle.

SCREENSHOTS

Before:
Attachment 86922 Attachment 86923 Attachment 86924

After:
Attachment 86925 Attachment 86926 Attachment 86927

The PDF files are mostly for verification: The central box should always be square, and the borders are a visual indicator of the actual document dimensions.


Update: I attached the actual pdfs, and the code to produce them - maybe they are useful.

Sorry but could someone explain me how to modify the margins from the very beginning ?

thanks
Sturmovik is offline   Reply With Quote
Old 07-17-2012, 04:03 PM   #262
Antoinekamel
Addict
Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.Antoinekamel ought to be getting tired of karma fortunes by now.
 
Antoinekamel's Avatar
 
Posts: 278
Karma: 2511467
Join Date: Feb 2012
Device: ABC W p2
Smile

2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0!!!!!!!!!
Antoinekamel is offline   Reply With Quote
Old 07-19-2012, 10:41 AM   #263
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by Antoinekamel View Post
2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0!!!!!!!!!
Yeah, it's coming.

I'm currently finalizing a few things with the installer and the documentation, expect it in a few hours

Last edited by ixtab; 07-19-2012 at 09:48 PM. Reason: typo
ixtab is offline   Reply With Quote
Old 07-19-2012, 02:54 PM   #264
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Version 2.0.0

After almost 1400 downloads of the previous version, I'm happy to finally announce version 2.0.0 of jbpatch (now renamed to JBPatch, for no particular reason).

The new version, which can be downloaded from the first post of this thread, was almost a complete rewrite: except for the actual patching logic, pretty much everything has changed because of the addition of the user interface.

An existing installation can be updated in the same way as a completely fresh installation would occur. However, because of the massive underlying changes, all previous settings will be lost and need to be configured again - sorry for that.

The new version is completely localizable. However, no localizations are included by default. You can download localizations for the UI, and for individual patches, from the Wiki page. At the time of writing, I posted the german localization for almost everything there. Please: if you like JBPatch and want to support it, create and contribute a localization for your native language - thank you!

Final note: I invested quite a bit of effort to create this new version. I tried to make it as user-friendly as I could, and thoroughly tested it to make sure that it does not contain bugs. However, I'm only human (despite my nickname ), so I may well have missed something. Please report any problems to this thread.

Known UI problems:
* "clicking" (tapping) on a patch entry in the overview screen of the UI may not always lead to displaying the patch details. You may need to tap multiple times. This is likely to be a bug of the Kindle Touch.
* the horizontal scroll bar of the log display of the System tab of the UI is not usable. This is likely to be a bug of the Kindle Touch.
If you find the cause of, or a solution to, either of these problems, please post them in this thread.

Edit: latest sources pushed to git repository.

Last edited by ixtab; 07-19-2012 at 09:36 PM.
ixtab is offline   Reply With Quote
Old 07-19-2012, 03:26 PM   #265
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by ixtab View Post
... You can download localizations for the UI, and for individual patches, from the Wiki page. ...
Dead wiki link. When you click it you go to:
http//wiki.mobileread.com/wiki/JBPatch (no ":", using chrome browser)

But editing the page shows the embedded URL as:
http://https://wiki.mobileread.com/wiki/JBPatch (extra http://).

Here is the CORRECT link:
https://wiki.mobileread.com/wiki/JBPatch

Please fix your link. Thanks.

EDIT: I see that your link has been fixed in your post above. Thanks.

Last edited by geekmaster; 07-19-2012 at 06:02 PM.
geekmaster is offline   Reply With Quote
Old 07-19-2012, 04:43 PM   #266
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by geekmaster View Post
[...]
Please fix your link. Thanks.
Thanks for the hint...

Chrome seems to be dropping the colon, for whatever reason. This is a problem with Chrome, not with the post.
http://link.com -> http://http//link.com. I have experienced the same problem while copying URLs from Firefox to Chrome. It is some weird bug in Chrome.

WTF?!

Edit: it's not a bug in Chrome, but in my Firefox... It copies the http:// twice, for some URLs The "WTF" still stands though

Last edited by ixtab; 07-20-2012 at 11:08 AM.
ixtab is offline   Reply With Quote
Old 07-19-2012, 05:36 PM   #267
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA

Last edited by knc1; 07-19-2012 at 06:13 PM.
knc1 is offline   Reply With Quote
Old 07-19-2012, 06:03 PM   #268
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by knc1 View Post
Yeah, and that "CORRECT link" above has problems.
Fixed.

The original error in ixtab's post was that the URL contained "http://http://"... as it was visible in the edit box when you quoted it, but hovering over the link or clicking it changed that to "http//"...
geekmaster is offline   Reply With Quote
Old 07-20-2012, 04:07 AM   #269
cyberynight
Junior Member
cyberynight began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2011
Device: Kindle
@ixtab

Thank you so much!!! Finally I can remove those silly borders when displaying PDF books. Wow! Kisses! UI is very nice!

Last edited by cyberynight; 07-20-2012 at 04:37 AM.
cyberynight is offline   Reply With Quote
Old 07-20-2012, 09:04 AM   #270
ninki
Connoisseur
ninki began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Aug 2008
Device: Hanlin 6.1, Kindle 3, Kindle Touch, KPW3, KOA3
jb patch 2

Do I have to uninstall the older patch to install this one??
thanks, this is great
ninki 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 08:00 AM.


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