Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
diamond_lover
Old
(Last edited by diamond_lover; 26th December 2011 at 10:09 AM.)
#1  
diamond_lover's Avatar
Senior Member - OP
Thanks Meter 82
Posts: 1,426
Join Date: Apr 2009
Location: Top Secret
Default [DEV][WIP] Enable init.d scripts and build.prop mods for Nook Tablet!

I take inspiration from this post to enable init.d scripting on stock rom! I think it need be tested, but work fine for me!

Disclaimer: This may cause a bootloop! I'm not responsable for any brick or damage.

Enable init.d

What is it:
Enable init.d permit run "autorun at boot" scripts, you can put in that folder your scripts (eg. ram and net optimization, load custom modules, etc.) and that will executed during boot.

Prerequisites:
  1. Busybox Installed;
  2. Root Explorer or similar software, otherwise you can do it manually from terminal.

Open Root Explorer, go to /system/ and mount the filesystem as R/W.
go in /system/etc/ and create a folder called "init.d" (without quotes), then set permissions as rwxr-xr-x.
Edit the file /system/bin/clrbootcount.sh and add at bottom:
Code:
bb=/system/xbin/busybox
if [ -f $bb ]; then
     /system/bin/logwrapper $bb run-parts /system/etc/init.d
else
     for i in $(ls /system/etc/init.d/*); do
          sh $1
     done
fi
Put your init.d scripts (someone here) and set the permissions to rw-r--r--.
Remount the /system/ as R/O.

build.prop mods

What is it:
build.prop is the main configuration file, where you can find settings about the LCD Density, the market fingerprint, etc.
With this mod you will able too power up your Nook Tablet and have a snappier and faster device with a stock rom.

Prerequisites:
  • Root Explorer (or similar)
  • build.prop file
  • cold blood

Step 1: copy the attached file in your memory card (or internal storage)
Step 2: open Root Explorer, browse to /system folder and press the button "Mount R/W"
Step 3: rename your /system/build.prop as build.bak
Step 4: copy build.prop from your card to /system folder
Step 5: Long press on build.prop - permissions - set to Owner RW-Group R-Others R (or chmod 644 from shell)
Step 6: Remount the folder as R/O and reboot your device.

Another method is do the same with a terminal emulator or ADB. I don't tried yet but the commands shoud be good:
Step 1: on your pc open an adb shell or open your terminal emulator on the Nook;
Step 2: write
Code:
$ su
#  mount -o rw,remount /system
cp /system/build.prop /system/build.bak
cp /sdcard/build.prop /system/build.prop
reboot
Well, your device now should be more snappier


Manual modification (ONLY FOR ADVANCED USERS)
Change sceen density (more HD feeling)
Code:
remove or comment ro.sf.lcd_density.xxx=169.33333 and add ro.sf.lcd_density=xxx (good values are from 140 to 180)
Force launcher into memory:
Code:
ro.HOME_APP_ADJ=1
Save battery:
Code:
wifi.supplicant_scan_interval=180
ro.ril.disable.power.collapse=0
pm.sleep_mode=1
Enhance performance:
Code:
debug.sf.hw=1
debug.performance.tuning=1
video.accelerate.hw=1
ro.kernel.android.checkjni=0
dalvik.vm.lockprof.threshold=500
dalvik.vm.deoxopt-flags=m=y
windowsmgr.max_events_per_sec=150
persist.sys.use_dithering=0
persist.sys.purgeable_assets=1
Memory settings:
Code:
ro.FOREGROUND_APP_MEM=1536
ro.VISIBLE_APP_MEM=3072
ro.PERCEPTIBLE_APP_MEM=1024
ro.HEAVY_WEIGHT_APP_MEM=51200
ro.SECONDARY_SERVER_MEM=51200
ro.BACKUP_APP_MEM=53760
ro.HOME_APP_MEM=1024
ro.HIDDEN_APP_MEM=53760
ro.EMPTY_APP_MEM=64000
ro.FOREGROUND_APP_ADJ=0
ro.VISIBLE_APP_ADJ=4
ro.PERCEPTIBLE_APP_ADJ=2
ro.HEAVY_WEIGHT_APP_ADJ=5
ro.SECONDARY_SERVER_ADJ=6
ro.BACKUP_APP_ADJ=7
ro.HOME_APP_ADJ=1
ro.HIDDEN_APP_MIN_ADJ=8
ro.EMPTY_APP_ADJ=15
ENFORCE_PROCESS_LIMIT=false
MAX_SERVICE_INACTIVITY=
MIN_HIDDEN_APPS=
MAX_HIDDEN_APPS=
CONTENT_APP_IDLE_OFFSET=
EMPTY_APP_IDLE_OFFSET=
MAX_ACTIVITIES=
ACTIVITY_INACTIVE_RESET_TIME=

Source
Attached Files
File Type: zip build.prop.zip - [Click for QR Code] (1.6 KB, 521 views)
The Following 6 Users Say Thank You to diamond_lover For This Useful Post: [ Click to Expand ]
 
JoeM01
Old
#2  
Senior Member
Thanks Meter 41
Posts: 390
Join Date: Nov 2011
forgive my ignorance, but how can lowering the pixel density improve the screen output?
 
diamond_lover
Old
(Last edited by diamond_lover; 13th December 2011 at 06:28 PM.)
#3  
diamond_lover's Avatar
Senior Member - OP
Thanks Meter 82
Posts: 1,426
Join Date: Apr 2009
Location: Top Secret
Quote:
Originally Posted by JoeM01 View Post
forgive my ignorance, but how can lowering the pixel density improve the screen output?
If you set a lower pixel density your will have smaller text and icons, that mean you will see more informations in one page.
If you want bigger text, push it up!
 
yaggermr
Old
(Last edited by yaggermr; 13th December 2011 at 06:51 PM.) Reason: horrible question
#4  
Member
Thanks Meter 41
Posts: 85
Join Date: Jan 2011
Sorry please delte post. Where is the easy build prop file?
Sorry was on my nook and simple did not see it glaring at me at the bottom.
The Following User Says Thank You to yaggermr For This Useful Post: [ Click to Expand ]
 
Jhiciano
Old
#5  
Senior Member
Thanks Meter 3
Posts: 107
Join Date: May 2008
Location: Omaha, NE

 
DONATE TO ME
Couldn't be achieved also using lcdDensity from Market ?
 
camapghe
Old
#6  
Senior Member
Thanks Meter 12
Posts: 207
Join Date: Nov 2009
Changing LCD density can make some games (Gameloft, I'm quite sure) not working. Just be careful.
 
little8020
Old
#7  
Senior Member
Thanks Meter 14
Posts: 126
Join Date: Aug 2010
Location: Attalla, AL
Does anyone know the default wifi sleep policy, I want it to never sleep.
I would like to know because Im guessing that the wifi part is were you can change it since the advanced menu is missing under wifi settings
thanks
Att Galaxy S3 stock rooted, Nook tablet CM7 till 3.x kernel is stable

Get a free 2GB dropbox account, we both get an extra 250MB
http://db.tt/nE62sqB
How to get all of life's answers, http://tinyurl.com/62jdt3a
 
downsay
Old
#8  
Senior Member
Thanks Meter 21
Posts: 210
Join Date: Jul 2010
Location: Kansas City
Quote:
Originally Posted by little8020 View Post
Does anyone know the default wifi sleep policy, I want it to never sleep.
I would like to know because Im guessing that the wifi part is were you can change it since the advanced menu is missing under wifi settings
thanks
If you are rooted then you can access it under spare parts.

Sent from my Nook Tablet using Tapatalk
 
snailmale
Old
#9  
Senior Member
Thanks Meter 7
Posts: 109
Join Date: Oct 2009
will changing lcd density allow greater access to apps on Market?
 
yourbrokenoven
Old
#10  
Member
Thanks Meter 1
Posts: 52
Join Date: Nov 2011
Can someone post what the modded build prop actually does? In another post it was SUPPOSED to allow greater access to market apps, but did absolutely nothing for me.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...