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 09-29-2013, 02:04 PM   #1
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 484
Karma: 1274186
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
Koreader - Modified version for max performances on Kindle PW

NEW UPDATE: I'm trying to fix koreader problem in a new way. Download the very last koreader release from here
https://code.google.com/p/koreader-p...downloads/list
It already integrates the steps below, so you don't need to follow them anymore. Now, you have just one thing to do. Open the file defaults.lua from koreader folder, and repleace the line of DHINTCOUNT with:

DHINTCOUNT = 0

And the one of DGLOBAL_CACHE_SIZE with:
DGLOBAL_CACHE_SIZE = 1024*1024*20


BONUS: If you read technical pdf, I recommend also that you set
DRCOUNTMAX = 1
To let the screen refresh at every page turn

Stay tuned with this post, because it need to be tested for a while, and I need your feedback. If you expeperience problem, try first to use the (no framework) modes or restart the system.

You don't need to read further in this message.



(OLD MESSAGE CONTINUES)
Spoiler:

Tired of dealing with crashes and crappy performances using Koreader on Kindle Paperwhite with your HUGE pdf books? Expecially when trying to reflow them? Don't worry, here is the solution:

1) Download THIS version of koreader:
https://code.google.com/p/koreader-p...7.zip&can=2&q=
(Its quite stable on this device, and should have less limitations to the cache then latest version)

2) Extract the folders on your Kindle Paperwhite

3) Do the same with the patch in the archive below. You will be prompted to overwrite two file

Now you will see two new entries in the kual menu:
- Start koreader without framework
- Open last document without framework

What are they for? They simply start koreader in a different way, after killing the system framework. This means lots of extra RAM memory, free and available for processing your huge pdf files!

Just two cons if you are launching koreader this way:
- Your beautiful screensavers won't appear until you close the program
- Closing koreader will take some extra time, because it will also restart the framework

Last thing: you could still experience some crash, but they won't be memory-releated anymore (better, I hope so). I'll try to test and provide you the best stable versione to use with this trick and Kindle PW.

Last edited by Aeris; 09-30-2013 at 07:39 AM.
Aeris is offline   Reply With Quote
Old 09-29-2013, 02:46 PM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 4,983
Karma: 4501011
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
I'll create a PR to merge this, I had some startup script tweaks I completely forgot about in my tree :x.
NiLuJe is offline   Reply With Quote
Old 09-29-2013, 02:49 PM   #3
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 484
Karma: 1274186
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
Great, pay only attention that with newest version it doesn't works so good due to last commits (especially with latest nightly... don't know exactly what has been done there)

Last edited by Aeris; 09-29-2013 at 02:51 PM.
Aeris is offline   Reply With Quote
Old 09-29-2013, 03:35 PM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 4,983
Karma: 4501011
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
Here we go: https://github.com/koreader/koreader/pull/294
NiLuJe is offline   Reply With Quote
Old 09-29-2013, 03:40 PM   #5
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 484
Karma: 1274186
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
You have used:

stop lab126_gui


Wasn't better to stop all the framework instead?

PS if you want, post here the modified files so I add them to this post's archive

Last edited by Aeris; 09-29-2013 at 03:44 PM.
Aeris is offline   Reply With Quote
Old 09-29-2013, 03:49 PM   #6
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 484
Karma: 1274186
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
I did other tests: the critical version, that doesn't even take advantage of the workframeless start, is the last

koreader-kindle-arm-none-linux-gnueabi-v2013.03-529-g98c400e.zip, koreader-nightly-20130927

The faulty commit should be "estimate cache size of koptcontext", if is already present in that version

Last edited by Aeris; 09-29-2013 at 04:05 PM.
Aeris is offline   Reply With Quote
Old 09-29-2013, 04:00 PM   #7
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 4,983
Karma: 4501011
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
Do put that up in the original bugreport, it's a good thing to know .

In related news, I tweaked the wording of the buttons a bit.
Attached Thumbnails
Click image for larger version

Name:	screenshot_2013_09_29T22_04_23+0200.png
Views:	109
Size:	12.9 KB
ID:	112386  
NiLuJe is offline   Reply With Quote
Old 09-29-2013, 04:07 PM   #8
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 484
Karma: 1274186
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
Perfect
Aeris is offline   Reply With Quote
Old 09-29-2013, 05:24 PM   #9
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 484
Karma: 1274186
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
Is your script improving someway also normal-mode start (with framework)? Seems so o.O (maybe placebo effect...)


P.S. Koreader still crashes if turning pages like a mad, so I'm trying with
stop framework along with stop lab126_gui

[...]
trap "" SIGTERM
stop framework
stop lab126_gui
[...]
start lab126_gui
start framework
[...]

Last edited by Aeris; 09-29-2013 at 06:23 PM.
Aeris is offline   Reply With Quote
Old 09-29-2013, 06:16 PM   #10
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 4,983
Karma: 4501011
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
@Aeris: stopping lab126_gui already stops the framework, and starting it starts the framework (among other things) .

So, stop framework && stop lab126_gui doesn't hurt, but is somewhat redundant; and in start lab126_gui && start framework, the start framework part is a noop, it's already started.

(And nope, not doing anything else besides making custom fonts available).

Last edited by NiLuJe; 09-29-2013 at 06:18 PM.
NiLuJe is offline   Reply With Quote
Old 09-29-2013, 06:25 PM   #11
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 484
Karma: 1274186
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
damn, too many placebo effects tonight... seemed faster xD

Btw thank you for your patience, you are teaching me some interesting stuff (it would be easier if there was a comprehensive list of all these useful "lab126" commands)

Last edited by Aeris; 09-29-2013 at 07:34 PM.
Aeris is offline   Reply With Quote
Old 09-29-2013, 07:00 PM   #12
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
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
Quote:
Originally Posted by Aeris View Post
damn, too many placebo effects tonight... seemed faster xD

Btw thank you for your patience, you are teaching me some interesting stuff (it would be easier if there was a comprehensive list of all this useful "lab126" commands)
^^ perhaps they will tell us them if we ask REALLLLLY nicely.

not.
twobob is offline   Reply With Quote
Old 09-30-2013, 06:34 AM   #13
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 484
Karma: 1274186
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
New important updated to this post
Aeris is offline   Reply With Quote
Old 09-30-2013, 06:47 AM   #14
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
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
Quote:
Originally Posted by Aeris View Post
New important updated to this post
So... Shall I get rid of the attachment to the top post?
people so get easily confused...

Better the remove anything "no longer needed"
twobob is offline   Reply With Quote
Old 09-30-2013, 06:50 AM   #15
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 484
Karma: 1274186
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
Right
Aeris is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Koreader running on Kobos (all of them, hopefully!) giorgio130 Kobo Developer's Corner 1853 Yesterday 04:48 PM
Creating a dedicated library partition for koreader. Markismus Kobo Developer's Corner 6 09-02-2013 09:02 AM
Trying to make a modified version of the recipe for "The Atlantic" camiller Recipes 3 02-14-2012 03:59 PM
kindle 3 max. 3gb oder max. 3500 bücher kakakanno Amazon Kindle 8 08-22-2010 03:27 AM
Modified Kindle cover for the 302 kgn PocketBook 0 06-27-2010 09:14 PM


All times are GMT -4. The time now is 09:54 PM.


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