View Single Post
Old 08-23-2013, 11:08 AM   #1
richy1989
Connoisseur
richy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel is
 
Posts: 67
Karma: 70690
Join Date: May 2013
Device: Kindle Paperwhite 1 & Kindle 4 Black
Unhappy Some discovery.But it was wrong.

Hi,it's a new new discovery for the Kindle.
For instance, the indexer can waste almost 100% of the CPU time when it is running.
For to release the CPU,
we can reduce using the CPU by make a change.

There are many ' *.jar ' in the directory of /usr/java/bin/cvm

just like:
*de_DE.jar
*es_ES.jar
*fr_FR.jar
*it_IT.jar
*ja_JP.jar
*pt_BR.jar

they always working when our Kindle is running,but we don't use it if we are reading the 'local language‘ document.

Then I found something useful in the file /etc/upstart/framework
there is a line said
'JAR_LIST=$(find $EHOME/lib $EHOME/booklet /usr/local/ebook/lib /opt/amazon/pkg/oss/lib -name \*.jar 2>/dev/null) '

So we can backup the files and remove it from our device for to prevent them from running.

Here is the main steps:
------------------------------------------------------------------
1.Install the Jailbreak and usbnetwork

2.Use the Winscp to make a ssh to the Kindle

3.Run the script:

#!/bin/sh

/etc/upstart/framework stop

cd /opt/amazon/ebook/lib
mkdir -p /mnt/us/.backup/opt/amazon/ebook/lib

mv *de_DE.jar /mnt/us/.backup/opt/amazon/ebook/lib/
mv *es_ES.jar /mnt/us/.backup/opt/amazon/ebook/lib/
mv *fr_FR.jar /mnt/us/.backup/opt/amazon/ebook/lib/
mv *it_IT.jar /mnt/us/.backup/opt/amazon/ebook/lib/
mv *ja_JP.jar /mnt/us/.backup/opt/amazon/ebook/lib/
mv *pt_BR.jar /mnt/us/.backup/opt/amazon/ebook/lib/

/etc/upstart/framework start

sync
sync
sync
reboot


4.Restart the Kindle.

----------------------------------------------------------------------

Tips:Chose the right files ’*.jar'!!!!!!!!!
Example:If your local language is Japannes,
you will have to keep the file '*ja_JP.jar' from being deleted!!!!!


Here are the situation of CPU after finished all the step above.

Before operation





After operation




It's test Successfuly for Paperwhite
Attached Images
File Type: bmp 1.bmp (209.4 KB, 1088 views)
File Type: bmp 2.bmp (207.2 KB, 1045 views)

Last edited by richy1989; 08-25-2013 at 04:53 AM.
richy1989 is offline   Reply With Quote