[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:
- Busybox Installed;
- 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:
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