FORUMS
Remove All Ads from XDA

Guide/HowTo/Tips'nTricks - The perfect Nook Simple Touch Setup w/ battery optimizati

6 posts
Thanks Meter: 16
 
By jam_dev, Junior Member on 12th October 2012, 03:41 PM
Post Reply Email Thread
Guide/HowTo/Tips'nTricks - The perfect Nook Simple Touch Setup

Nook Simple Touch (N2E) power management / battery optimization

Prerequisites:-

You know how to backup & restore,
You have a working backup

Unregister & wipe user data
(It is not required to register the device!)

Start with stock N2E running f/w v1.0.1/v1.1.0/v1.2.0
(If you have customized it somehow, please reset to stock)

Update to f/w v1.2.0
(This has the 1.1.0 kernel + some WiFi corrections)

Root the N2E device

Lets Begin:-


Uninstall the following stock apps:-

AFfileDownloadService.apk (Hint: disables book covers, skip it if you like book covers)
AccountAndSyncSettings.apk
BnAuthenticationService.apk
BnCloudRequestSvc.apk
CloudService.apk
DemoMode.apk
DeviceManager.apk
DeviceRegistrator.apk
Music.apk
NookCommunity.apk
Phone.apk
QuickStartActivity.apk
Shop.apk
Social.apk
TelephonyProvider.apk
WaveformDownloader.apk

(Hint: you can just delete the above apks from /system/app/ directory, then reboot)

In file /system/lib/egl/egl.cfg
Delete the line
0 0 android
(I suspect doing this forces h/w rendering, needs more testing)


Download & adb install CPU utility(easier way)
play[dot]google[dot]com/store/apps/details?id=it.sineo.android.noFrillsCPU

Set Min AND Max clock freq. To 300 MHz
Set CPU Governor to ondemand
Set I/O scheduler to noop
check “Apply on boot”
Click Apply
Click Exit

Press Nook “U”/reverse“U” Button> Settings> Screen>Screen Timeout
Choose 2 Minutes.
Exit

Charge the battery to 100%/Full
Reboot

Results:-

Your CPU is now running at max 300MHz
When you want the N2E device to sleep, remember
DO NOT PRESS Power Button to set the N2E device to sleep
DO NOT LONG PRESS the “U”/Reverse“U” Button to set the N2E device to sleep

If you leave the N2E device alone, it will AUTOMATICALLY go to sleep,
after the 2 minute timeout set by us.

After a overnight/12 hour period check the battery level indicator by waking up the N2E device,
if it automatically entered sleep state at 100% battery charge, it should wake up at 99%
(Ideally loses ~1% charge, and most certainly less than < 3%)

Before this process, it would lose battery charge at the rate of ~3%/hour of sleep.

Further customizations:-

Launcher:-
Best launcher seems to be ReLaunch v1.3.8
Also note: It seems to use ~20% CPU while idle, time to bug the developer
meanwhile best not to leave it running then huh?

Button reccommedations:

set the lower left page turn button mapping to Android back button
set the lower right page turn button mapping to Android menu button

App recommendations:-

Browsers:-
Both Opera Mini & Opera Mobile work great
(Perhaps if someone can point out how to disable all opera menu animations, they annoy a bit)

Note: browsers use CPU & GPU,
better set your CPU scaling
min 300 MHz
max 800 MHz
only while browsing, and then reset it back to 300 MHz max when finished with browsing

eReader App:-
Nook stock reader is the BEST ePub reader,

FBreader & coolreader are good
(Hint: disable all animations etc) these are useful to read *.mobi

mantano free/paid app
useful for reading PDFs (also reads epub/mobi/etc)
(Note: Nook's 6inch screen is problematic for reading PDFs )

Kindle App (v3.0.1.70) works w/ Nook android 2.1
(I need to figure out how to use it as a reader w/o registering with amazon, else its useless)

Firewall :-
One would assume iptables would be build-in to the linux kernel, but no that module is missing
netfilter.ko
x_tables.ko
xt_tcpudp.ko
nf_sockopt.ko
ip_tables.ko
ipt_addrtype.ko
iptable_filter.ko

I can't use Droidwall firewall, need to do something about net security


Device syncing options:-
Recommended to use calibre to sync your library to device'SDcard

Currently, I'm Rsyncing the SDCard to PC & back via Samba file sharing, Rsync running at PC end.
(If its possible to have Sdcard as EXT4 instead of FAT32 mounted, then simple Rsync at PC end will be best)
Hint: (ofcourse all this rsyncing & samba to avoid dropbox roundtrip)

Requests:-

Please try the above process to further narrow down the power management issues, so that it becomes
easier for all of us to set the NooK N2E to sleep properly.

After testing the process, perhaps it's best to host this content on the nook wiki here:-
nookdevs[dot]com/Portal:Nook_Simple_Touch

Also, would be nice to get a proper firewall for N2E, need kernel module

Screenshots:-
hxxp://i[dot]imgur[dot]com/q1a34.png
hxxp://i[dot]imgur[dot]com/EPcqH.png
hxxp://i[dot]imgur[dot]com/W6Zbw.png
hxxp://i[dot]imgur[dot]com/wK8z8.png

Post your feedback here!
The Following 16 Users Say Thank You to jam_dev For This Useful Post: [ View ] Gift jam_dev Ad-Free
 
 
12th October 2012, 03:46 PM |#2  
OP Junior Member
Thanks Meter: 16
 
More
Thread Updates
Reserved for links
12th October 2012, 08:44 PM |#3  
ladykayaker's Avatar
Senior Member
Annapolis
Thanks Meter: 21
 
More
Nice!
Nice!

just one note - my book covers no longer showed, when I restored AFfileDownloadService.apk then the book covers were visible again - on NSTGL
16th October 2012, 08:28 PM |#4  
David0226's Avatar
Senior Member
Flag Atwater, Ohio
Thanks Meter: 59
 
More
Good work. This does make one wonder why B&N would leave things like Musik.apk and Phone.apk and TelephonyProvider.apk on a device that doesn't have these capabilities.

Has anyone yet determined everything that can be removed from init.rc? I have looked at it several times and there appears to be a lot of junk in there. I am wondering if we could see an increase in battery life and/or performance by getting all unnecessary services turned off.
22nd October 2012, 08:21 PM |#5  
Junior Member
Thanks Meter: 0
 
More
reader-app
Quote:
Originally Posted by jam_dev

Guide/HowTo/Tips'nTricks - The perfect Noost Simple Touch Setup

eReader App:-
Nook stock reader is the BEST ePub reader,

Post your feedback here!

hi,

good alternative imho is the Mantano Reader
> mantano.com/mantano-reader-for-android
has some outstanding features and PDF-rendering is the best I have seen so far
26th October 2012, 05:52 AM |#6  
OP Junior Member
Thanks Meter: 16
 
More
updated thread
@ladykayaker
Updated the HowTo, to include a hint/warning that deleting AFfileDownloadService.apk will result in losing book covers
(I do not browse by book covers as there's too much scrolling!)

@David0226
B&N just took the same system from Nook Color and adapted it to an e-ink perl display screen
they only did the bare minimum changes needed to reduce cycletime/turnaround for their product
Reg. further battery optimization, there are 2 major power suckers in any device
a) the CPU (which we scaled to 300 MHz, undervolting is not advisable)
b) screen (using eInk display so its already low)

we optimized the sleep function to ensure the 2 major power hogs are under control
any other power usage reduction from killing idle process will not have a statistically significant benefit, (i think)
better you go for an extended battery pack instead

@b-m-n
I've included mantano readed as pointed out by you in the HowTo
though reading PDF is very painful on 6inch screen, either lots of squinting or lots of scrolling

Do let us all know how the battery usage is after using the HowTo

cheers!
27th October 2012, 03:56 PM |#7  
ladykayaker's Avatar
Senior Member
Annapolis
Thanks Meter: 21
 
More
@jam_dev

I have finally figured out how to remove DRM from the various ebooks, kindle, epub, etc using calibre.
So I am now converted to only using Calibre.

Now that I have deleted all the apks you suggest, and am using only Calibre I have four books that I purchased through B&N which are still showing in the library.
At my account at B&N I have archived these four books - so they are not showing up as active books at my B&N online account.

On the nook, I deleted the books from /data/media/B&N downloads.
I have deleted the files from /sdcard/.docthumbs
I have removed all the calibre books from my nook.
So now I don't have any books on my nook.

But my nook library still lists the four books that I had purchased from B&N - with the irritating option to download them.
Now that the function to download from B&N has been removed I can no longer sync to B&N. I tried copying the apks back into /system/app but the funtion to sync with B&N is not working anymore - even after copying the apks back.

Is there somewhere the info regarding these B&N books is being stored so that I can clean that as well?
8th November 2012, 12:07 AM |#8  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by jam_dev

Guide/HowTo/Tips'nTricks - The perfect Nook Simple Touch Setup
When you want the N2E device to sleep, remember
DO NOT PRESS Power Button to set the N2E device to sleep
DO NOT LONG PRESS the “U”/Reverse“U” Button to set the N2E device to sleep

If you leave the N2E device alone, it will AUTOMATICALLY go to sleep,
after the 2 minute timeout set by us.

Awesome! I've had trouble with battery drain since rooting and this solves it completely.

If I accidentally (old habits die hard...) press the power button my NST will drain battery faster in sleep. Ok, but what happens after that? What if I wake the NST, read some and then want to put it to sleep. Can I then just leave it and the auto sleep in battery saving mode will happen again? Or do I need to go through the CPU utility steps again?
9th November 2012, 10:51 AM |#9  
Junior Member
Thanks Meter: 1
 
More
I accidentally delte the line above the
0 0 android

In file /system/lib/egl/egl.cfg

can you tell me what is written there?

the screen is spplitted and reversed and keep flashing
10th January 2013, 02:00 PM |#10  
OP Junior Member
Thanks Meter: 16
 
More
@ladykayaker
Sorry, no idea, i haven't really botherd with the B&N side of the stuff, busy reading instead

@teran_swe
it's automatic, you need not do the reset cpu freq.steps all over again, just let it go back to sleep on its own

@tendousj
original file(<root>/lib/egl/egl.cfg) contains the following two lines
0 0 android
0 1 POWERVR_SGX530_125

cheers!
10th February 2013, 07:01 AM |#11  
Junior Member
Thanks Meter: 2
 
More
Hey, how do you get to that filesystem to delete those extraneous apps? I can't seem to find it on my Nook
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes