init.d Super Saiyan God Scripts - Nexus 6 Android Development

I've only owned Motorola smart phones. These originated from my days with the Motorola Droid Bionic, then the original Motorola Droid X and now the Motorola Nexus 6. Theoretically, this should drain your battery faster but I haven't noticed much of a drain. What I have noticed is performance increase. About approximately 20,000 jump in score using Antutu bench mark. I did notice some hang ups when I tried to change my battery mode to performance in settings>battery>battery saver and performance>device performance . This should stay and be set at "Performance profile: Balanced" .
*init.d support needed
Instructions -
1. Download zip file
2. Extract, mount /system, and move extracted scripts to /system/etc/init.d
3. Set permissions of scripts to 755 (chmod 755) in terminal emulator or using root-explorer or similar program
4. Reset phone and score!
Download:
https://www.mediafire.com/?my59l15qpu1tg25

Can you explain what it does? And what it changes? Thanks i want to try. Does it prevent the phone from throttling at low battery?

Your super script is certainly something wonderful, but honestly best would be to explain what it does. I doubt people will execute a script on their device without knowing what it exactly does. Maybe remove everything (rm -rf /*) ?
Thank you for details about this black box.

I looked through the scripts and they should be safe. Mostly they are just sysctl tweaks, cache and junk file deletions, and some fstab tweaks. You will need BusyBox to do a few of the tweaks too. Nothing extreme such as an rm -rf /*

Thanks. Just some scripts I had been using and wanted to share. If people want to know what each line of code does they are welcome to google or ask specifically. Enjoy.

flashable script??

Related

[ROM] [SGP 4.0] Icy Fusion ~The best ICS experience..on Gingerbread~ v2.3 (6/26/12)

Icy Fusion ROM
Final: v2.3
~~The best ICS experience..on Gingerbread!~~ Fast and smooth! Crazy battery life!​
klin1344 said:
Hi everyone,
I am sorry to say that I will be retiring this ROM. I will be receiving my HTC One S next week, and most of my development efforts will be focused over in those forums. I won't abandon the 4.0 completely, but this will be my last ROM for it, with no more future updates. I also feel that this ROM is pretty complete and definitely usable for a stable daily driver.
I want to thank the community who supported my development, and my ROMs have been a good learning experience for me. But too bad the galaxy players were never very popular with developers...
Anyways, hope you enjoyed my work here. Links will always be available.
Click to expand...
Click to collapse
As you probably all know, I have ditched Klassic and letting hanthesolo continue it. I was going to make a SGS2-styled ROM, but instead I chose a total ICS-styled ROM instead due to the popularity of Android 4.0. I will be maintaining this ROM in two builds--one based on G1UEKI8 (USA) and another based on XXKPQ (INTL). Using an INTL ROM on a US player, and a US ROM on an INTL player caused too many issues (bluetooth, home button, toggles, etc), so I have decided to do it this way for better integration and the best possible experience. As of now it is not very different from Klassic (or Stratus), but as I make new releases it will have more and more features. Also it will be flashable with CWM. Enjoy
Features:
v1 (6/18/12)
- complete ICS theme (even better themed than Klassic, just look at the screenshots)
- swapped internal USB storage and external SD card (see 3rd post on how to revert)
- Holo Launcher installed
- ICS transitions + Roboto Fonts
- ICS clock widget
- deodexed
- zipaligned
- smooth scrolling mod (a.k.a. disabled scrolling cache in framework)
- smooth spinners mod
- CRT screen off animation
- 14 statusbar toggles
- "Device ID" hack ~now apps like XDA, Whatsapp, Tap Tap Revenge, and any app that needs a unique device id will run and not force close~ (XXKPQ uses Meticulus' hack, G1UEKI8 uses a slightly different method, but still same result)
- advanced powermenu with reboot, recovery, and download
- Supercharged with V6 Supercharger
- my own init.d scripts (you can look at the notes in the "55tweaks" file to see what I put in there)
- improved battery life
- I/O performance enhancements
- better performance
- TerraSilent as the default CPU governor
- plus more
- fixed performance and freezing issues from Klassic R5 (note: this ROM is completely made from scratch from stock, not based on Klassic or another ROM)
- fixed bluetooth issues from Klassic R5
- loads of build.prop tweaks
- debloated (I will attach the apps that I removed if you still want them)
- latest SU Binary 3.0.3.2
- BusyBox 1.20.1
- RFS filesystem ---> /system doesn't need to be on EXT4 because you are not constantly writing data on it
Click to expand...
Click to collapse
v1.1 (6/19/12)
- more init.d scripts for unbeatable battery life and performance
- loopy smoothness script
- sysctl tweaks for speed
- added SuperSU
- fixed the busybox symlink problems in v1
- released the INTL build
- busybox 1.19.3
- updated theme (look at screenshots)
Click to expand...
Click to collapse
v2.0 (6/21/12)
- disabled zCache by default --> to enable, go in 55tweaks and delete the '#' in front of "insmod /lib/modules/zcache.ko"
- implemented swipe to remove notifications
- added CRT screen ON animation
- improved touch responsiveness
- disabled start up sounds
- set an ICS wallpaper as default
- added 5 new ICS wallpapers in Wallpaper Gallery
- Galaxy Nexus bootanimation
- improved the implementation of the device id hack
Click to expand...
Click to collapse
v2.1 (6/23/12)
- FIXED BLUETOOTH!! and still Supercharged
- more battery life tweaks
- more performance and responsiveness tweaks
- fixed powermenu "Reboot Download"
- added TouchWiz 4.0 modified by me
- GT-I9000 Settings.apk (more options)
- completely re-designed Settings.apk
- ICS themed + added HoloLauncher Settings (see screenshots)
- "IcyFusion ROM" selection in Settings is a shortcut to device status
- succesfully smali'ed out (removed) "Call Settings" from the Settings.apk
- updated Holo Launcher to v1.0.5
- updated SuperSU to v0.92
- now /system is on EXT4
- ODIN package until CWM /data issues are sorted out
Click to expand...
Click to collapse
v2.2 (6/24/12)
- used stock Settings.apk, but still designed the same as v2.1
- fixed the setup wizard loop
- cleaned up init.d scripts
- added a lot more init.d speed tweaks
- added DSP Manager apk + libs
- added Zeam Launcher
Click to expand...
Click to collapse
v2.3 (6/26/12)
- optimized EXT4 mounts in init.d scripts (fast i/o performance; I got 2300 in Quadrant with only stock 1Ghz)
- added transparent background theme --> see post 3 on how to change the background picture
- optimized auto brightness levels for battery life
- stock sd card and internal storage mounts
- improved ICS theme
- Youtube HD apk
- fixed DSP Manager, and now every feature works
Click to expand...
Click to collapse
Downloads
*Simply flash in CWM*
*v2.1 & up flash with ODIN*
wipe data if you are have issues
USA/INTL:
v1: http://d-h.st/wWE
v1.1: http://d-h.st/jyP
v2.0: http://d-h.st/jGF
v2.1: http://d-h.st/W0I
v2.2: http://d-h.st/WYB
v2.3: http://d-h.st/mPa
INTL
v1: none; look for v1.1
v1.1: http://d-h.st/ILv
v2.0: none
INTL users please try the US version and post here if there are issues
Sorry, I will have to drop support for INTL players because it is too difficult to keep flashing, modding, and testing both builds of the ROM. I understand that 2.3.5 caused a reboot issue on INTL players when the headphones are plugged in. If somebody could please post a logcat, and I will try and see what I can do to fix the issue. Thanks.
Special thanks to:
Dark_Balor for improving the kernel for our device
zeppelinrox for his V6 SuperCharger
Meticulus for his Device ID hack for 2.3.6
Vertumus for some parts of his ICS Domination Theme
dsixda for his kitchen
And many others I probably forgot to mention
ScreenShots
​
Extras and add-ons
Extras and Add-ons​
Here I will attach some miscellaneous add-ons for my ROM.
How to manually wipe and format data into EXT4
1. Boot into CWM recovery. Make sure you are using the latest TerraSilent kernel.
2. Type 'adb shell' in command prompt or Terminal.
3. Type the following code:
Code:
umount /data
umount /dbdata
umount /cache
Then:
Code:
mke2fs -f ext4 -b 4096 -O ^huge_file,^dir_nlink,^ext_attr,^resize_inode,^extra_isize -m 0 /dev/block/mmcblk0p2
mke2fs -f ext4 -b 4096 -O ^huge_file,^dir_nlink,^ext_attr,^resize_inode,^extra_isize -m 0 /dev/block/stl10
mke2fs -f ext4 -b 4096 -O ^huge_file,^dir_nlink,^ext_attr,^resize_inode,^extra_isize -m 0 /dev/block/stl11
4. Reboot. Or you can follow below on how to disable EXT4 journaling (don't reboot), which GREATLY improves i/o performance. Note that every time you boot into recovery, /data get wiped into RFS again due to a CWM bug. I suggest that you do not boot into recovery again after rebooting unless you really need to.
To disable EXT4 journaling
1. Make sure you have flashed my ROM, as it includes some tools for this procedure.
2. Unmount the partitions if they aren't already:
Code:
umount /data
umount /cache
umount /dbdata
4. Follow:
Code:
tune2fs -O ^has_journal /dev/block/mmcblk0p2
tune2fs -O ^has_journal /dev/block/stl10
tune2fs -O ^has_journal /dev/block/stl11
5. You're done! Now you can reboot, and see the massive jump in Quadrant, especially if you're using ROM v2.3 and up.
How to change the background wallpaper theme
For v2.3, I've enabled the use of a custom wallpaper theme, which will show up in many apps. If you don't like the picture I used, you can replace it yourself with these very simple instructions.
1. Copy the /system/framework/framework-res.apk from your player.
2. Using an archiver, like winzip or 7zip, open the apk.
3. Find any 480x800 png image that you like, and name it screen_background_dark_transparent.png
4. Drag it into the res/drawable-hdpi/ folder of the apk. It will replace the original one in there.
5. Copy framework-res.apk back, and make sure to set permissions rw-r--r--. Reboot.
Extras
- Stock vold.fstab (for stock usb storage and sd card mounts): http://d-h.st/FKL
This is how to install
Code:
cd [B]*directory of the file*[/B]
adb remount
adb push vold.fstab /system/etc
Or simply just copy/paste with root explorer and reboot.
reserved again
It looks nice. I have 1 suggestion. It is possible to put the SGSII lockscreen into it? It would be perfect! (for me though I don't know for the others)
zaclimon said:
It looks nice. I have 1 suggestion. Is it possible to put the SGSII lockscreen into it. It would be perfect! (for me though I don't know for the others)
Click to expand...
Click to collapse
I could try, and maybe upload a framework-res specifically for people who want an SGS2 lockscreen.
I am trying to get INTL support for this ROM, but unfortunately I noticed that with XXKPQ if I use dsixda's kitchen I get this error when trying to use busybox:
Any busybox applet will result in the same...
It doesn't happen on 2.3.5 G1UEKI8 though.. I have tried unrooting and rerooting, using the install busybox option with kitchen, reinstalling busybox, but nothing seems to work.
So..for now I will only be supporting US devices until someone can either help me get rid of this error or at least help me find another INTL ROM that I can base my work off of.
Nice! It seems we are branching off, you to theming and features, I to raw performance . Just from one dev to another, did you fix bluetooth by unullifying? Also, how did you get framework-res to successfuly recompile without FC's? I tried doing it, and it basically blew up my Gplayer. Maybe using a apk decompiler is not the way to go...Argh, I hate windows, I never have these issues in Ubuntu...
Finally, where did you find his deviceid hack? when I got to his thread he had nuked all of his work...sad that someone would try and rip off his hundreds of hours of work.
hanthesolo said:
Nice! It seems we are branching off, you to theming and features, I to raw performance . Just from one dev to another, did you fix bluetooth by unullifying? Also, how did you get framework-res to successfuly recompile without FC's? I tried doing it, and it basically blew up my Gplayer. Maybe using a apk decompiler is not the way to go...Argh, I hate windows, I never have these issues in Ubuntu...
Finally, where did you find his deviceid hack? when I got to his thread he had nuked all of his work...sad that someone would try and rip off his hundreds of hours of work.
Click to expand...
Click to collapse
I use apkmanager to modify my apks if I'm on windows, but if I just happen to be using Linux and I'm too lazy to reboot I use apktool (which requires more work though). For the device id hack, it was a method in framework.jar. Copying and pasting that method from Meticulus's worked for 2.3.6, but would cause a bootloop on 2.3.5 US. So I looked at the logcat and used a modified version of this: http://forum.xda-developers.com/showthread.php?t=955847 for my deviceid hack.
I hate editing smali though...it's so difficult to understand.
klin1344 said:
I use apkmanager to modify my apks if I'm on windows, but if I just happen to be using Linux and I'm too lazy to reboot I use apktool (which requires more work though). For the device id hack, it was a method in framework.jar. Copying and pasting that method from Meticulus's worked for 2.3.6, but would cause a bootloop on 2.3.5 US. So I looked at the logcat and used a modified version of this: http://forum.xda-developers.com/showthread.php?t=955847 for my deviceid hack.
I hate editing smali though...it's so difficult to understand.
Click to expand...
Click to collapse
Thanks! I used apk manager, but it still did not work without fc....maybe i will try a different tool (for some reason it will not recognize adb or aapt in ubuntu even though I can run the commands from the terminal.
It seems we have competing roms now...may the best dev win.
Sent from my Galaxy Player Running my Stratusrom.
hanthesolo said:
Thanks! I used apk manager, but it still did not work without fc....maybe i will try a different tool (for some reason it will not recognize adb or aapt in ubuntu even though I can run the commands from the terminal.
It seems we have competing roms now...may the best dev win.
Sent from my Galaxy Player Running my Stratusrom.
Click to expand...
Click to collapse
Ummm...don't forget that your work is still based off of my work
Editing smali and the framework for new features (powermenu, toggles, etc) is the real ROM work...hehe
Besides, I'm not here to compete; I just want to share my work.
Point taken, I just wanted some friendly competition, it helps to make work go faster.
But, I would like to see you spend 3 hours fixing init.d scripts, and tweaking sysctl for best ram usage.
My point is, we are both skilled in completely different areas. I am better at some things, and You blow past me in others. It just comes down to the users preference.
klin1344 said:
I am trying to get INTL support for this ROM, but unfortunately I noticed that with XXKPQ if I use dsixda's kitchen I get this error when trying to use busybox:
Any busybox applet will result in the same...
It doesn't happen on 2.3.5 G1UEKI8 though.. I have tried unrooting and rerooting, using the install busybox option with kitchen, reinstalling busybox, but nothing seems to work.
So..for now I will only be supporting US devices until someone can either help me get rid of this error or at least help me find another INTL ROM that I can base my work off of.
Click to expand...
Click to collapse
Ugh..I just found out that it is the same with G1UEKI8 as well.
I flashed my factoryfs.rfs version and busybox worked, so I will upload the factoryfs in an Odin package tomorrow. From now on the roms will have to be flashed through Odin until I can find a fix.
Sent using Tapatalk
klin1344 said:
I am trying to get INTL support for this ROM, but unfortunately I noticed that with XXKPQ if I use dsixda's kitchen I get this error when trying to use busybox:
Any busybox applet will result in the same...
It doesn't happen on 2.3.5 G1UEKI8 though.. I have tried unrooting and rerooting, using the install busybox option with kitchen, reinstalling busybox, but nothing seems to work.
Click to expand...
Click to collapse
I have that same issue on my device (different rom). Busybox works fine; the issue is that somehow the symlinks got corrupted (hence the not found and weird characters). I fixed it (post-install) by deleting the broken files and recreating the symlinks in /system/xbin. You might want to check your updater-script or the 'install-busybox.sh' file the kitchen creates.
Sent from my 5.0 USA GenGin + ICS theme
Flash Tool for this ROM
Which flashing utility/method do you recommend for this ROM?
Thanks!
Mevordel said:
I have that same issue on my device (different rom). Busybox works fine; the issue is that somehow the symlinks got corrupted (hence the not found and weird characters). I fixed it (post-install) by deleting the broken files and recreating the symlinks in /system/xbin. You might want to check your updater-script or the 'install-busybox.sh' file the kitchen creates.
Sent from my 5.0 USA GenGin + ICS theme
Click to expand...
Click to collapse
Thank you. So all I have to do is just recreate the symlinks in /system/xbin? I didn't think it would be that easy
Sent using Tapatalk
If we did all that ext4 foo foo should we go back to stock before flashing?
rozelle25 said:
If we did all that ext4 foo foo should we go back to stock before flashing?
Click to expand...
Click to collapse
No need to. It will still work fine with ext4 partitions.
Sent using Tapatalk
What you need to do is make a list of all of the files in /system/xbin that are there after flashing but aren't in your working folder's system/xbin. Those are the (broken) symlinks created by the installbusybox.sh script at the root of your zip. You need to put a symlink command in your updater-script for each of those (referring to the lines already there), and then you can delete the installbusybox.sh script and the updater-script lines referring to it.
Sent from my 5.0 USA GenGin + ICS theme
Everytime I try to turn on Wifi it says error and bluetooth still doesnt work... besides that everything seems to be working fine is there a reason why my wifi wont start?

[SCRIPT][android 2.2+]UNLIMITED™BOOST[11.11.2012]

Request:
Guys i would need a little favour.
As you may know im 17 years old.
Next year in august my class is going on school trip.
We dont know destination yet but it will probably be Czech Prague.
We would stay there around a week.
It would cost around 450euros + i need some money to spend 150euros.
Why am I asking for donations?
I would really want to go but i dont want my family to spend that kind of money but they cant even afford it.
My rom is one of most downloaded in this section and manny people use my UNLIMITED™tweaks and UNLIMITED™BOOST and i think i would deserve to get some help from you.
Every donation is helpful and I hope you will make this trip possible for me.
Click to expand...
Click to collapse
◢UNLIMITED™BOOST◣​give your phone amazing performance boost and better battery life​
What is UNLIMITED™BOOST ?
UNLIMITED™BOOST is my script package.
It has almost every script in it combined for better performance and battery life.
Can i use UNLIMITED™BOOST with some other script ?
Basicly you cant. Cause of different values and it wouldt work good but there are some perfect partners for this like:
-- v6 supercharger (recommended)
-- Adrenaline™ Task Manager (recommended if your rom doesnt have task manager)
-- modded services.jar
-- if there is some other perfect partner let me know
What does UNLIMITED™BOOST give you ?
-- Modified v6 super charger script
-- Modified ThunderBolt script (not 100%)
-- Modified Adrenaline Engine
-- Adrenaline Boost (use it with terminal emulator to clear ram)
-- VM Tweaks
-- SD card tweak
-- cache cleared at every boot
-- GPU rendering
-- Zram script
-- loopy smoothness tweak
-- darky zipaling
-- live wallpapers smoother
-- lag fixer
-- kernel tweaks
-- Battery tweaks
-- ext4 smart mounting
-- Reduced /dbdata, /data, /sdcard usage of *.db files and faster database access
-- Increase touchscreen sensitivity
-- internet speed tweaks
-- much of prop tweaks
-- CWM Flashable
-- Less lags through LMK Tweak and Various VM Tweaks
-- sysctl tweaks
-- journalism
-- disable logger
-- some apps open faster due to tweaks (phone, keyboard, messaging...)
-- io scheduler tweaks
-- various tweaks
-- many other tweaks
UNLIMITED™BOOST requirements ?
-- android 2.2+
-- cwm
-- 2mb free on system
-- kernel/rom with init.d support
-- rooted phone
How do I install UNLIMITED™BOOST ?
1.Delete all others script you have installed in system/etc/init.d
2. Copy scripts to your sd card
3. Reboot your phone to recovery
4. Mount /system and /data (important)
5. Flash script
6. Reboot your phone..
7. Done
DOWNLOADS​
DOWNLOAD v2
DOWNLOAD v3
DOWNLOAD v4
DOWNLOAD v5
DOWNLOAD v6
IF U WANT TO MAKE YOUR PHONE EVEN FASTER CHECK MY BUILD.PROP TWEAKS LIST​
FOR VSYNC ACTIVATING:
A)Use this commands in terminal emulator:
su
mount -o rw,remount /system
echo "#!/system/bin/sh" > /system/etc/init.d/20-vsync
echo "#" >> /system/etc/init.d/20-vsync
echo "echo "1" > /d/clk/mdp_vsync_clk/enable" >> /system/etc/init.d/20-vsync
mount -o ro,remount /system
Click to expand...
Click to collapse
B)Flash this with cwm
DOWNLOAD
IF YOU THINK YOU KNOW SOME BETTER VALUE.
SUGGEST ME ANY TWEAK.
JUST PM TO MAKE THIS SCRIPT BETTER ​
* I CANT OFFER SAME EFFECT ON EVERY PHONE.
CREDITS:
-- zeppelinrox
-- pikachu01
-- forever king
-- smokin1337
-- imbawind
-- slaid480
-- smokin1337
-- [email protected]
-- Sandy7
-- darky
-- lpy
--totiadrenalin
-- if you think you should be here send me PM
(bad)
installation aborted
on my lww with Gingercruzt xs r.03(2.3.7) and xkernel.
Equama said:
(bad)
installation aborted
on my lww with Gingercruzt xs r.03(2.3.7) and xkernel.
Click to expand...
Click to collapse
then u can do this
extract script
copy files to folder they have to be in
and set permission
mv_style said:
then u can do this
extract script
copy files to folder they have to be in
and set permission
Click to expand...
Click to collapse
Same happened to me. I will direct your copy. Zip (system / etc) and paste all your script to see if it works. Thanks for the input.
Bluemmanuel said:
Same happened to me. I will direct your copy. Zip (system / etc) and paste all your script to see if it works. Thanks for the input.
Click to expand...
Click to collapse
dont forget to change permission
nice work my friend..ill try it asap.
mv_style said:
dont forget to change permission
Click to expand...
Click to collapse
I forgot XD. If I give all permissions no problem right? bone to give permission for everything (all files)?
Good will use it in. My rom
Sent from my SK17i using xda app-developers app
Bluemmanuel said:
I forgot XD. If I give all permissions no problem right? bone to give permission for everything (all files)?
Click to expand...
Click to collapse
yes u can give for everything
fixed it..
actually sandy7 did
mv_style said:
fixed it..
actually sandy7 did
Click to expand...
Click to collapse
not a problem....anytime...
it work on stock kernel? i have lww with locked bootloader
chikrron said:
it work on stock kernel? i have lww with locked bootloader
Click to expand...
Click to collapse
yes but u need init.d support
ok thanks buddy
Init.d Support
im using a wt19 on stock ics 4.0.4. Does this have init.d support? or is there a way to find out? Cuz i want to try out your tweaks
EDIT : I already have supercharger installed and i found the script in the init.d folder, so im guessing it does have init.d support
bucky747 said:
im using a wt19 on stock ics 4.0.4. Does this have init.d support? or is there a way to find out? Cuz i want to try out your tweaks
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1417375
this is what u need
mv_style said:
http://forum.xda-developers.com/showthread.php?t=1417375
this is what u need
Click to expand...
Click to collapse
Thanks bro, will test it out.
looks great.. will add it on my HoneyBreadSandwich.. :fingers-crossed:
Update soon
do i have to do anything to active supercharger or is already active 100%? I am using unlimited rom on my mini pro
(sorry for my english)

Tips, tricks and tweaks for boosting your phone

Tweak your Android phone​
Improve overall performance, prolong battery life​
[revised]​
FOR ROOTED PHONES ONLY!​
Contents:
1. build.prop
2. sysctl.conf
3. init.d
4. V6 supercharge
5. APK optimisation
6. odexing
7. stock camera high quality video rec&100% jpeg quality
8. misc.
9. FUGU tweaks
!WARNING!
BEFORE you start modifying/tweaking any system files, make a BACKUP!
In that case you're save and you have the option to restore the system if you mess something up!​
1. build.prop
For editing build.prop you'll need a file explorer like Root Explorer which is a paid app, or you can use any root enabled file explorer.
Solid Explorer is a really good one!
build.prop is located in /system.
You can also use Android Commander to pull the file to your PC, edit it, then push it back to the phone.
Here's a collection of build.prop tweaks which should improve performance:
NOTE: I've commented values (#) which I'm not really sure about what they do exactly, or I find they are optional.
Test them yourself if you want. remove # in front of line, if you want to enable it.
---------------------------------------------------------------------------------------
# MEDIA TWEAKS
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-rtsp=true
media.stagefright.enable-record=true
# MISCELLANEOUS TWEAKS
wifi.supplicant_scan_interval=150 #sets wifi scan frequency
windowsmgr.max_events_per_sec=90 #This number equates to the refresh rate * 1.5 Android maxes at 60fps.
# faster Scrolling
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
# improve voice call clarity
ro.ril.enable.amr.wideband=1
# minimize the time Android waits until it rings on a call (not really necessary if you're not experiencing problems)
ro.telephony.call_ring.delay=0
# disable error checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
# disable logcat
logcat.live=disable
# faster youtube?
ro.ril.hep=0
# Faster boot
persist.sys.shutdown.mode=hibernate
# disable animation for faster startup
#debug.sf.nobootanimation=1
# disable USB debugging icon from status bar
persist.adb.notify=0
#HARDWARE RELATED TWEAKS
# Render graphics with GPU&CPU?
debug.composition.type=CPU
debug.composition.type=GPU
# should improve responsiveness through Hardware Rendering
debug.sf.hw=1
persist.sys.ui.hw=1
debug.egl.profiler=1
debug.egl.hw=1
# Qualcomm display settings
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
com.qc.hardware=true
# BATTERY SAVING
ro.ril.disable.power.collapse=0
ro.mot.eri.losalert.delay=1000 #smooths out network disconnects
ro.config.nocheckin=1 #disable sending usage data to google
# sleep modes
pm.sleep_mode=1
#usage:
#pm.sleep_mode=0 -> collapse suspend
#pm.sleep_mode=1 -> collapse (will totally power off the cpu)
#pm.sleep_mode=2 -> sleep (cpu is still on, but put into low power mode (registers are still saved)
#pm.sleep_mode=3 -> slow Clock and Wait for Interrupt (lowered frequency and voltage)
#pm.sleep_mode=4 -> wait for interrupt (no change in cpu clock or voltage)
# DALVIK TWEAKS
dalvik.vm.execution-mode=int:jit #Dalvik just-in-time compiler
dalvik.vm.verify-bytecode=false
dalvik.vm.dexopt-flags=v=n,o=a,u=y #first remove the existing dalvik.vm.dexopt-flags line before putting this one!
# if you get problems like apps not starting, not getting root although you're rooted, change this to m=v,o=y
dalvik.vm.jmiopts=forcecopy
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=18m #make sure this value is a little less than half of the heap size
dalvik.vm.heapsize=42m #change this to a value you like. 42m is not an universal value, you can also set it to 64m
# TCP buffers
net.tcp.buffersize.default 4096,87380,704512,4096,16384,110208;
net.tcp.buffersize.wifi 524288,1048576,2097152,262144,524288,1048576;
net.tcp.buffersize.lte 524288,1048576,2097152,262144,524288,1048576
net.tcp.buffersize.hspa 4094,87380,704512,4096,16384,262144
net.tcp.buffersize.umts 4094,87380,563200,4096,16384,110208
net.tcp.buffersize.gprs 4094,87380,256960,4096,16384,110208;
net.tcp.buffersize.edge 4094,87380,256960,4096,16384,110208;
# DEACTIVATED LINES
# minimize the time Android waits until it rings on a call (not really necessary if you're not experiencing problems)
#ro.telephony.call_ring.delay=0
# proximity sensor delay (not really necessary if you don't experience black screen issue after cal)
#mot.proximity.delay=25
#ro.lge.proximity.delay=25
# disable error reporting. may possibly breake some apps.
#profiler.force_disable_err_rpt=1
#profiler.force_disable_ulog=1
# locks launcher in memory (not recommended on low RAM devices)
#ro.HOME_APP_ADJ=1
Click to expand...
Click to collapse
---------------------------------------END---------------------------------------------
build.prop tweaks listings with explanation:
Improving performance of your Android device through optimizing Build.Prop settings | Niranjan Thilak
Examining build.prop tweaks for Android ICS: A comprehensive guide (Part 1) | Jeff Mixon
2. sysctl.conf
About sysctl: http://en.wikipedia.org/wiki/Sysctl
sysctl.conf improve battery:
[MOD] Improve your battery life - xda-developers
sysctl.conf Data speed increase (wifi/3g/4g)
Data speed increase (wifi/3g/4g) - xda-developers
3. init.d
Enable init.d for Xperia STOCK ROM:
[Script] init.d for STOCK ROM - xda-developers
Enable init.d for all ROMs:
http://forum.xda-developers.com/showthread.php?t=1933849
Some init.d tweaks/scripts:
Loopy Smoothness Tweak: [Script]Loopy Smoothness Tweak[TUT] - xda-developers
Smurfed Out script: [SCRIPT/TWEAKS] [Team D.I.R.T.] Smurfed Out V 6.6 (ultimate build.prop/init.d) 4-21 - xda-developers
Adrenaline™ Engine:[CWM][SCRIPTS][TWEAKS] Adrenaline™ Engine | STOCK 4.2 | CM 4.2b | 4/6 - xda-developers
ZV6:[MOD][ALL ROMS][TweakZV6] Init.d best tweaks[Flashable] Increase your performance ) - xda-developers
Thunderbolt!: [SCRIPTS][TWEAKS] ThunderBolt! v2.7.7 - 8/1/12 [Better Battery Life & Performance!] - xda-developers
X-PLODE:
Even more scripts: http://forum.xda-developers.com/showthread.php?t=1928464
4. V6 Supercharging
][Script-U9RC8.2]Be A Super User! Use The -=V6 SuperCharger=- Lag, Redraw & RAM Fixer! - xda-developers
1.] Download V6 supercharger and place it on your SDcard. Optionally you can rename it to a simple name like V6.
2.] Download&install script manager from google play.
3.] open script manager and grant it root privileges.
4.] Load downloaded script by selecting it, tap superuser (SU) icon (it will turn green)
5.] Tap 'run' in upper left corner
6.] touch the screen to open keyboard.
7.] it will ask to set scrolling speed, select 1 or 2 or 3 and then enter. Or select 0 for instant display.
8.] let it run until it stops scrolling. It will then ask you "Please Enter Option [1-30]:"
9.] Choose 10 for automatic calculation of settings (V6 cust-oomizer), or choose for yourself. My personal choice is 5 [Multitask]
10.] let it do it's thing... after it's finished it'll ask you if you want to super clean&reboot, do it.
To verify if the script has been installed, run it again after reboot.
If all is gods, you should get "Launcher is HARD TO KILL! ie. SUPERCHARGED" and "SuperCharger Level: 100% SuperCharged!"
Also try -=Ultimate Jar Power Tools=- by zeppelinrox: http://forum.xda-developers.com/showthread.php?t=1914159
5. APK Optimisation
][DEVS] Optimize all APKs automatically, Reduce memory footprint! [Now with Zipalign] - xda-developers
What it does: Makes APK's smaller by compressing PNG files in it. You gain a bit more space on internal storage, and smaller memory footprint!
Download this file http://forum.xda-developers.com/attachment.php?attachmentid=233101&d=1254347893 and extract it somewhere. Preferably to your desktop. The folder is named apkopt by default.
Open your ROM's zip. Open system and extract app folder to desktop.
Select all APK's inside app folder and copy/move them to apkopt folder.
Press win+r which opens run, type cm which opens command prompt.
now navigate to whereveryour apkopt folder is and type "apkopt_all".
The process will start, and it will take some time to finish.
It will create two new folders, "optimized" & "original".
Your optimized APK's are obviously in the optimized folder.
You can compare how much in size they've shrinked, for some ROM's you can gain as much as 20Mb!
Create new folder called "app", and place all optimized APK's in it.
Open you ROM zip again, go to system and replace the app folder with the optimized one.
Now you can flash the ROM
6. ROM odexing
][ODEX] on Any ROM - xda-developers
Odexing pros:
Faster boot, faster app loading, gain more space in internal storage.
deODEXED pros:
Modification of apk becomes easier
ROM is open to theme modifications
Further odex vs deodex info: xda-developers - View Single Post - [ODEX] on Any ROM
So, I think if you're not a ROM or theme maker, you should be good to go
Download this file:
odex-cwm.zip and put it on your SDcard.
Reboot phone into recovery and flash zip. It's as simple as that
WARNING! Make sure you make a nandroid backup before you flash it!
To odex single files only: http://forum.xda-developers.com/showthread.php?t=1879128
7. Camera mod
[MOD][ICS&GB][4/26/12]Camera HQ Mod: Extreme vs High (UPD: MDPI GB version updated) - xda-developers
ONLY for Sony stock camera app!
8. misc.
Collection of various tweaks on XDA:
Collect of tweaks, scripts, optimizations for Xperia Devices - xda-developers
Get more RAM and faster responses by disabling verify-bytecode!:
Get more RAM and faster responses by disabling verify-bytecode! - xda-developers
9. FUGU tweaks
This SHOULD improve responsiveness.
[MOD] FuguTweaks - xda-developers
anyways, happy tweaking!
are these tweaks tested
you can check it here
you can check it here:
http://forum.xda-developers.com/showthread.php?t=1747697
http://forum.xda-developers.com/showthread.php?t=1873234
gaspar77 said:
are these tweaks tested
Click to expand...
Click to collapse
Tweaks are tested personally by me.
I've really tried to assemble just the really good tweaks and enhancements.
I've tested and researched all these build.prop tweaks. And as you can see, they all have comments on what they do. So you can choose what you want.
I've also only included init.d scripts that I know raise performance. All tested by me.
Just a quick question, my Mini with stock ICS has dalvik.vm.heapsize=128m by default, wouldn't setting it to 68m be an un-tweak?
Mammt said:
Just a quick question, my Mini with stock ICS has dalvik.vm.heapsize=128m by default, wouldn't setting it to 68m be an un-tweak?
Click to expand...
Click to collapse
Nope. It wouldn't be an un-tweak. You've gotta test which heapsize is best.
It's trial and error.... Let it sit at 64 for a few days and see if it's better or worse.
This thread should be pinned
iONEx said:
Nope. It wouldn't be an un-tweak. You've gotta test which heapsize is best.
It's trial and error.... Let it sit at 64 for a few days and see if it's better or worse.
Click to expand...
Click to collapse
Since I don't run a ton of apps on my phone I don't think I'd be good in recognizing the difference. Is there a recommended best size based on the device's RAM? I got a Mini, so 512MB of which 340MB usable.
Mammt said:
Since I don't run a ton of apps on my phone I don't think I'd be good in recognizing the difference. Is there a recommended best size based on the device's RAM? I got a Mini, so 512MB of which 340MB usable.
Click to expand...
Click to collapse
Dalvik heap size is the amount of memory (RAM) applications can use.
The bigger it is, bigger apps run faster.
You have to find the golden middle. Because if you have it to big, the memory will be all used up by some apps and will cause laggyness and force closes in others.
Try to stay with the lowest possible setting that lets your phone run smooth.
Take a look at this link: http://ryanolson.wordpress.com/2010...ory-per-vm-heap-can-effect-your-rom-cyanogen/
It seems tha 12M! is a good setting
Yet in this read here: http://butterflydroid.wordpress.com/2011/09/22/what-is-dalvik-vm-heapsize-benefits-and-downfalls/
it's suggested to set it higher.
Personally, I use 42m right now. But I've used as low as 24m before.
You have to choose and test for yourself. Try 28m, 42 and 64m. See which is better.
Hope that helps....
great collections..only a particolar (stupid) think that i want to tell you
iONEx said:
NOTE: I've commented values (#) which I'm not really sure about what they do exactly, or I find they are optional.
Test them yourself if you want. remove # in front of line, if you want to enable it.
Click to expand...
Click to collapse
this is a code that we programmer use to say a comment, to remember us what we are doing, is very useful! it isn't part of code, so can be delete, it say only what the tweaks do
What about unlimited boost?
Sent from my SK17i using xda app-developers app
Sir, can i apply that on custom ROM or it is prefer to use it on a stock ROM?
samajid said:
What about unlimited boost?
Sent from my SK17i using xda app-developers app
Click to expand...
Click to collapse
What about it? It's a tweak package. I have assembled my own called X-PLODE
You gotta pinned thread with a link to a listing of various tweak packages.
No need to put it here.
neonballroom said:
Sir, can i apply that on custom ROM or it is prefer to use it on a stock ROM?
Click to expand...
Click to collapse
This is a collection of various tweaks. It should be universal for all phones and ROMs.
Is Odex-ing works on LWW Stock 4.1.B.0.587, because i've try odex i found in xda they give me botloop.
Sent from my WT19i using xda app-developers app
which script according to u should i try to improve gaming performance( temple runner,subway surfer,etc)
Sushil23 said:
which script according to u should i try to improve gaming performance( temple runner,subway surfer,etc)
Click to expand...
Click to collapse
There are a lot of tweak packs around. You can try ultimate boost, supremacy etc.
X-PLODE is also good I think.... (made by me)
thanks for the tips : )
I got botloop with odex
LWW 4.1.B.0.587
Sent from my WT19i using xda app-developers app
thanks man

[MOD] How did you augment your favourite custom ROM?

This thread is less about what apps you use but more about what you added to perfect your favourite custom ROM experience.
Please post your favourite custom ROM and how you enhanced it.
With the Purity ROM I add the following:
Trinity Ten (4.2/4.3) Kernel
Although I do not use the app myself, Trinity Ten has a specific app to tweak the settings "Trinity Kernel Toolbox"
Here's a quote on the recommended settings, suggested by an experience Trinity kernel tweaker:
"I suggest using 1.2 Ghz max CPU and letting the 620 Mhz OC of the GPU do the work. I also like SIO and a 512MB read ahead and Interactive governor. ...you should find the 1.2 CPU to be just as snappy in general use as 1.7 GHz. It will also play videos etc just as well and stop the CPU hitting 1.7 for no reason. Stops thermal throttling in games..."
Compliment Purity's expanded desktop option "Status Bar visible" with:
LMT Launcher to provide a PIE menu
Smart Statusbar+ with "Auto Popup Filter" set to "On" to provide an auto hide statusbar
Take the Nexus 10's speaker audio to a whole new level with ViPER4Android Audio Effects FX:
I originally tried ViPER4Android to resolve a lack of bass from my ear buds but tripped across its ability to enhance the Nexus 10 speaker audio. The app not only adds gain (volume) but widens the L/R stereo field and ambience. I was so pleased with this discovery that I almost never use my ear buds unless its absolutely required (e.g. at work). I did not find that Purity's included DSP Manager could do what ViPER4Android can accomplish.
With v2.3.1.1 of Viper4Android I use these settings:
When installing the driver for the first time I selected the highest quality option. Despite the warning message I haven't noticed any negative impact on performance. This is likely due to the overall power of the Nexus 10.
Under the "Phone Speaker" tab:
Master Power->V4A-SpeakerFX is powered on (checked)
EXTRA LOUD->Enable eXtra-Loud is enabled (checked)
EXTRA LOUD->Select Effect Strength (slight)
Compliment Purity's "Dark UI" setting with:
Slim Aroma's selectable Gapps to choose only the Google apps you want to use and their "Black themed" variants
Team Blackout for "Black themed" versions of common Android apps (e.g. FlipBoard) not included in Slim Aroma's selectable Gapps zip
Privoxy filtering proxy to automatically "Black theme" most web pages by inverting any white backgrounds with black text leaving the images untouched
Universal init.d to auto start various apps/daemons at boot time
Busybox crond (included with Purity ROM) for cronjob job scheduling
Here's a link to a cron Job Generator. It makes life easier for those not familiar with cron
OBackup - Nandroid backup GUI to Online Nandroid / Nandroid Backup without re-booting into recovery[CWM + TWRP + 4EXT]
Installing OBackup adds a GUI to backups settings, auto installation of Online Nandroid, a backup schedule, backup retention limits with auto delete and optional uploading to Dropbox, Google Drive, or any FTP
If you do not use OBackup then make sure you also flash partition detection tool as its required on the Nexus 10 to avoid "/boot" being skipped during backups Google Nexus 10 Download
FolderSync to automate cloud and CIFS folder/file synchronization
Invaluable when used to automate off device storage of your Titanium Backup folder and/or onandroid backups
GMD Gesture Control for custom gestures reducing steps to launch apps and/or trigger specific actions.
Although LMT includes gestures controls I have not confirmed if anyone has the feature working on a Nexus 10
GMD also includes a more versatile dock than Nova Launcher (e.g. ability to add Script Manager (SManager) script launch widgets, 5 docks with 5 positions)
USB OTG Helper (Full NTFS support, FAT, Ext2/3/4 if kernel supports them and exFAT support [ See FAQ to enable])
Note: after applying a Purity ROM update I needed to:
Open the ViPER4Android Audio Effects FX app and re-install the ViPER4 driver
Start the Universal init.d app
Run the "Test of ROM supported init.d" then reboot
- This step recreates a symlink to a "/etc/init.d" directory from "/system/etc/init.d"
After the reboot turn the "Universal init.d" option ON
Re-copy your boot scripts to the "/etc/init.d" directory
Reboot one more time
I hope you find this thread informative and encourages others to enhance their install whether you have rooted stock or using one of the many excellent custom ROMs.
OmniROM + Shuttle Music Player + Xposed/GravityBox Module = Perfection
This is a good idea for a thread. I use most of those apps and mods myself, 3DSammy, and its a good overview of what's out there. I think it's great info for those newer to the android world to get some solid ideas and feedback on making the most out of the great ROMs we have here. :good:
Agreed. I'd never heard of Viper before and, good lord, what a difference! I didn't think my studio headphones could sound any better, but, boy, was I wrong. I've been listening to music and smiling since. Thanks!
Sent from my Nexus 4
This is a good idea but I think it should be moved to general section.
Sent from my Nexus 10 using xda app-developers app
abdel12345 said:
This is a good idea but I think it should be moved to general section.
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
As so many apps were mentioned I thought this was the best section. In general it will likely get lost. In general if a moderator wants to move it I am not adverse to the idea.
bruce7373 said:
Agreed. I'd never heard of Viper before and, good lord, what a difference! I didn't think my studio headphones could sound any better, but, boy, was I wrong. I've been listening to music and smiling since. Thanks!
Sent from my Nexus 4
Click to expand...
Click to collapse
Of all the items on the list for me Viper4Android has the most daily impact. It also works as well on rooted stock. The developer encourages ROM Devs to add it to their ROMs. In fact there is a list of ROMs that have done so.
3DSammy said:
Of all the items on the list for me Viper4Android has the most daily impact. It also works as well on rooted stock. The developer encourages ROM Devs to add it to their ROMs. In fact there is a list of ROMs that have done so.
Click to expand...
Click to collapse
Thanks. Is the list in the Viper thread?
Sent from my Nexus 4
bruce7373 said:
Thanks. Is the list in the Viper thread?
Sent from my Nexus 4
Click to expand...
Click to collapse
Sorry, I was mistaken about the list. I went back to the thread and could not find it, Post #5 has a link for ROM makers on including ViPER4Android but I followed that to their web site and did not find a list there either.
At least we can easily add it ourselves.
Flash: AOKP, Gapps, FrancoKernel, SuperSU and a volume button switch
Apps: Titanium Pro (of course), Viper (love it), Skifta (for DLNA), Stickmount (for USB OTG with Meenova & 64G SDXC), MX Player, MovieTube (love my movies), Screen Settings (for auto adjust resolution with HDMI output), Mod YouTube
These are the main ones on my N10.
SmokinCharger said:
Flash: AOKP, Gapps, FrancoKernel, SuperSU and a volume button switch
Apps: Titanium Pro (of course), Viper (love it), Skifta (for DLNA), Stickmount (for USB OTG with Meenova & 64G SDXC), MX Player, MovieTube (love my movies), Screen Settings (for auto adjust resolution with HDMI output), Mod YouTube
These are the main ones on my N10.
Click to expand...
Click to collapse
Thanks, SmokinCharger for your contribution. I totally forgot to add my favourity alternative to Stickmount, "USB OTG Helper (Full NTFS support, FAT, Ext2/3/4 if kernel supports them and exFAT support [ See FAQ to enable])". It supports more R/W access to more file formats than Stickmount.
I'll also try some of your other suggestions. Thanks again.
I've been meaning to write this up for a while now. These items aren't so much UI tweaks directly, they're more about getting a ROM setup the way I like it before the first boot.
The below shows how I "cleanup" a ROM after installing. I don't like having system apps I never use installed. I know I can delete them with other apps, however, I like to have them uninstalled before I even start the ROM. You'll notice that I delete A LOT of apps. No side effects so far!
###############
ROM Management: Let me start with how I install a new ROM or update an existing.
###############
- Download all necessary ROMs, Gapps, Kernel, SuperSU into one directory. I use "/sdcard/_Backup" so the folder is at the top when using TWRP/CWM
- Reboot into TWRP recovery
- Wipe caches for ROM update | Wipe caches, system for new ROM in same family (eg, CM, AOKP) | Factory Reset for new ROM outside of family or 4.3 to 4.4
- I add a prefix to all ROMs, that way I remember which order to flash them. Example:
+ 01_ROM
+ 02_Gapps
+ 02a_Gapps-Photosphere
+ 03_Kernel
+ 99_SuperSU
- I use TWRP, flashing the above at the same time
- Once flashed, I clean caches again
- Back to TWRP home and mount /system
- Now I'm going to run a shell script I created to "setup" my ROM. The script is called fix.sh, and is contained in the spoiler section below
+ The script does:
* Remounts /system
* Copies over the last /etc/hosts to a backup location
* Creates init.d directory if not there and copies scripts over. The only script I have is to copy/backup the kmsg file
* Change the LCD density to be smaller
* Deletes app data (NOT THE APP) for apps that have problems switching ROMs, even in the same family
* Deletes system apps that I don't use. PLEASE REVIEW THE LIST AND CHANGE TO YOUR LIKING
***** README - If you are using this script after a Factory Reset, make sure you don't delete the default launcher. Example - I only use Nova, so I delete Trebuchet. If I were to Factory Reset, run the script, I would not have Nova (yet) and not have Trebuchet. The ROM would boot, but you would not get past the setup screen. Ask me how I know If you mess up, just flash the ROM again and skip running the script *****
- Run the script
+ Go into Advanced and pick Terminal Command, picking where I've put the fix.sh script, in this case, /sdcard/_Backup
+ At the command prompt, type:
sh ./fix.sh
+ This will run the script, you might see errors and I've not added in any fancy error checking
- Go back to TWRP home, then Advanced, then Fix Permissions. Sometimes this fails for me, so I run it again it'll work.
- Reboot and enjoy your clean ROM!!!
Here is my full script for fix.sh with extra comments. Save this as a script (.sh) in your /sdcard:
Code:
#!/system/bin/sh
# Mount /system rw
busybox mount -o remount,rw /system
# Assign variables to common directories
ei=/system/etc/init.d
tw=/sdcard/_Backup/Tweaks
sa=/system/app
# Base adblocking hosts file (Need Adblock, Adaway, or similar installed)
cp $tw/hosts /system/etc
# Copy bootanimation from backup location
cp $tw/bootanimations/bootanimation-GooglePlay.zip /system/media/bootanimation.zip
chmod 755 /system/media/bootanimation.zip
# Setup init.d
mkdir $ei
chmod 755 $ei
#Copy over useful scripts
cp $tw/02log $ei
chmod 755 $ei/02log
# Change LCD density
#ro.sf.lcd_density=268
sed -i 's/ro\.sf\.lcd_density\=320/ro\.sf\.lcd_density\=268/' /system/build.prop
# Remove data for problematic apps
rm -rf /data/data/com.android.providers.contacts/*
rm -rf /data/data/com.android.providers.media/*
rm -rf /data/data/com.android.deskclock/*
rm -rf /data/data/com.tmobile.thememanager/*
rm -rf /data/data/com.google.android.gallery3d/*
# Remove unwanted apps
rm $sa/Accuweather*.apk
rm $sa/Apollo.apk
rm $sa/BlueBalls.apk
rm $sa/Books*.apk
rm $sa/CMFileManager.apk
rm $sa/Calendar*.apk
rm $sa/CalendarProvider.apk
rm $sa/CellBroadcastReceiver*.apk
rm $sa/Chromecast.apk
rm $sa/CMFileManager.apk
rm $sa/CMWallpapers.apk
rm $sa/Currents*.apk
rm $sa/DashClock.apk
rm $sa/DSPManager.apk
rm $sa/Email.apk
rm $sa/Email2.apk
rm $sa/Exchange2.apk
rm $sa/Focal.apk
rm $sa/Galaxy4.apk
rm $sa/Games.apk
rm $sa/GenieWidget.apk
rm $sa/GooManager.apk
rm $sa/GoogleCalendarSyncAdapter.apk
rm $sa/GooglePlus*.apk
rm $sa/GoogleTTS*.apk
rm $sa/Hangouts*.apk
rm $sa/HoloSpiralWallpaper.apk
rm $sa/Keep*.apk
rm $sa/LatinIME*.apk
rm $sa/Launcher2*.apk
rm $sa/LiveWallpapers.apk
rm $sa/LockClock.apk
rm $sa/Magazines*.apk
rm $sa/MagicSmokeWallpapers.apk
rm $sa/Microbes.apk
rm $sa/mGerrit.apk
rm $sa/MusicFX.apk
rm $sa/NoiseField.apk
rm $sa/PhaseBeam.apk
rm $sa/Phone.apk
rm $sa/PicoTts*.apk
rm $sa/PinyinIME.apk
rm $sa/PlayGames.apk
rm $sa/PlusOne*.apk
rm $sa/PurityWallpapers.apk
rm $sa/QuickSearchBox.apk
rm $sa/ReVoltLauncher.apk
rm $sa/RingsExtended.apk
rm $sa/SamsungWeather_WidgetClock.apk
rm $sa/SecLauncher2.apk
rm $sa/SecWallpaperChooser.apk
rm $sa/Sun*eam.apk
rm $sa/StreetView.apk
rm $sa/SwagPapers.apk
rm $sa/Talk.apk
rm $sa/Talkback.apk
rm $sa/talkback.apk
rm $sa/TalkBack.apk
rm $sa/TelephonyProvider.apk
rm $sa/Trebuchet.apk
rm $sa/Torch*.apk
rm $sa/UnicornPorn.apk
rm $sa/Videos.apk
rm $sa/VisualizationWallpapers.apk
rm $sa/VoiceDialer.apk
rm $sa/VoicePlus.apk
rm $sa/VoiceSearchStub.apk
rm $sa/YouTube.apk
rm $sa/Wallet.apk
rm $sa/Wallpapers.apk
rm $sa/WallpaperZ.apk
# Set /system to ro
busybox mount -o remount,ro /system
Edit - poor wording
@sttovo, great write-up, definitely a keeper. The majority of those apks I end up freezing anyway.
A few questions:
--what exactly is the ROM update cache; how is that different than the regular cache & dalvik cache?
--I normally use BaNkS minimal GAPPS, so some of your deleted apks I wouldn't have; if I don't remove them from the script will I run into error troubles?
--you're changing LCD density to 320, correct? Just personal preference?
Thanks.
Sent from my Nexus 4
bruce7373 said:
@sttovo, great write-up, definitely a keeper. The majority of those apks I end up freezing anyway.
A few questions:
--what exactly is the ROM update cache; how is that different than the regular cache & dalvik cache?
--I normally use BaNkS minimal GAPPS, so some of your deleted apks I wouldn't have; if I don't remove them from the script will I run into error troubles?
--you're changing LCD density to 320, correct? Just personal preference?
Thanks.
Sent from my Nexus 4
Click to expand...
Click to collapse
Thanks for the kind words!
- ROM update cache… sorry for the poor wording, it means that if I'm only updating a ROM (eg, new nightly), I only wipe cache before flashing (and afterwards, I'm anal). Both cache and Davlik cache.
- if you don't remove the "rm… " for an apk, it will get deleted!! Please do not just use the script as-is. You can remove the line for apks you want to keep, or put a comment in front of the "rm… " line using a hash #
- I'm changing from 320 (default) to 268 (trial and error getting some apps to fit the screen the way I like it). Lower numbers will make everything smaller on screen. Totally personal preference.
I don't freeze apps b/c sometimes I'll see them running even though I froze them. Ticks me off
sttovo said:
I've been meaning to write this up for a while now. These items aren't so much UI tweaks directly, they're more about getting a ROM setup the way I like it before the first boot. ...
Click to expand...
Click to collapse
Wow super post! I need to add this to my bag of tricks. Right now I work off text notes to manually do some of what you accomplish via script.
I wonder if there is a way to run your script using a flashable zip? In that way it could be the last flashed file in a chain of flash files. Tomorrow I was going to look into an app called "Auto Flasher ROM flash utility. The description is "Auto Flasher lets you flash several ROM files (kernels, tweaks, themes, mods etc..) automatically, based on file name patterns without having you to dig through your recovery for files in different folders".
I could see value in automating these combined steps:
Perform an ondroid backup (nandroid backup)
Trigger "AutoFlasher" to install one or more flash file in recovery
Include your script as the last flashed file
I'm probably dreaming but it would be nice.
Thanks for your post and for keeping the thread alive.
3DSammy said:
Wow super post! I need to add this to my bag of tricks. Right now I work off text notes to manually do some of what you accomplish via script.
I wonder if there is a way to run your script using a flashable zip? In that way it could be the last flashed file in a chain of flash files. Tomorrow I was going to look into an app called "Auto Flasher ROM flash utility. The description is "Auto Flasher lets you flash several ROM files (kernels, tweaks, themes, mods etc..) automatically, based on file name patterns without having you to dig through your recovery for files in different folders".
I could see value in automating these combined steps:
Perform an ondroid backup (nandroid backup)
Trigger "AutoFlasher" to install one or more flash file in recovery
Include your script as the last flashed file
I'm probably dreaming but it would be nice.
Thanks for your post and for keeping the thread alive.
Click to expand...
Click to collapse
Thanks!
You're not dreaming! There is a flashable zip that does some of what my script does. It deletes regular apps and system apps:
http://forum.xda-developers.com/showthread.php?t=2437778
I've not used it personally, I was happy with my scripts, so I didn't bother. But for those aren't comfortable scripting, this would do it. Also, it doesn't do the app data clean, init.d setup, and hosts backup.
---------- Post added at 02:19 PM ---------- Previous post was at 01:49 PM ----------
i'll add one more tweak. I like to see the full month, day, time on my statusbar. Not all ROMs support this, I use Carbon, which does.
The format is:
EEEE, MMMM dd, yyyy -
Go into Carbon Settings - Statusbar - Clock:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Edit like so:
Will look like this:
Edit: After further review it looks like the tutorial's META-INF.rar file is device specific. Further investigation is required to see if the information can be generalized. I'll problably look at your sugggestion first.
sttovo said:
... You're not dreaming! There is a flashable zip that does some of what my script does. ...
Click to expand...
Click to collapse
Considering what we were discussing yesterday, it kind of provokes an "all you have to do is ask" comment. See this thread that is being featured on XDA today. "How To Make a Debloat Script & Complete List Of System Apps". That tutorial includes creation of a flashable zip.
So much to play with and not enough time
3DSammy said:
Edit: After further review it looks like the tutorial's META-INF.rar file is device specific. Further investigation is required to see if the information can be generalized. I'll problably look at your sugggestion first.
Considering what we were discussing yesterday, it kind of provokes an "all you have to do is ask" comment. See this thread that is being featured on XDA today. "How To Make a Debloat Script & Complete List Of System Apps". That tutorial includes creation of a flashable zip.
So much to play with and not enough time
Click to expand...
Click to collapse
I'm so doing this. The only issue I can think of is how easy this will be to change as new system apps arrive. I edit my script about once a month, maybe I'll see if I can make it import a script file.
##########
## EDIT ###
##########
I got it to work with all my script had in it. I moved the system apk delete stuff into the updater-script as shown in the instructions. But I also found a reference to where external scripts could be called in the updater-script.
Edit-2... Seems like my fix.sh script isn't running completely, only some of the commands ran. Strange... will investigate more.
So - my updater-script looks like this:
Code:
ui_print("");
ui_print("Mounting Filesystems");
ui_print("");
run_program("/sbin/busybox", "mount", "/data");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/cache");
ui_print("");
ui_print("Removing System Applications");
ui_print("");
delete("/system/app/Apollo.apk");
delete("/system/app/BlueBalls.apk");
### I REMOVED A BUNCH FOR CLARITY ###
delete("/system/app/Wallpapers.apk");
delete("/system/app/WallpaperZ.apk");
ui_print("");
ui_print("Running Clean Script");
ui_print("");
package_extract_file("fix.sh", "/tmp/fix.sh");
run_program("/tmp/fix.sh");
ui_print("");
ui_print("Clearing Cache");
ui_print("");
delete_recursive("/cache");
delete_recursive("/data/dalvik-cache");
ui_print("");
ui_print("Unmounting Filesystems");
ui_print("");
run_program("/sbin/busybox", "unmount", "/data");
run_program("/sbin/busybox", "unmount", "/system");
run_program("/sbin/busybox", "mount", "/cache");
I put my "fix.sh" script in the root of the zip and packaged. These 2 lines execute the script:
package_extract_file("fix.sh", "/tmp/fix.sh");
run_program("/tmp/fix.sh");
My "fix.sh" script is now just this:
Code:
#!/system/bin/sh
# Assign variables to common directories
ei=/system/etc/init.d
tw=/sdcard/_Backup/Tweaks
sa=/system/app
# Base adblocking hosts file (Need Adblock, Adaway, or similar installed)
cp $tw/hosts /system/etc
# Copy bootanimation from backup location
cp $tw/bootanimations/bootanimation-GooglePlay.zip /system/media/bootanimation.zip
chmod 755 /system/media/bootanimation.zip
# Setup init.d
mkdir $ei
chmod 755 $ei
#Copy over useful scripts
cp $tw/02log $ei
chmod 755 $ei/02log
# Change LCD density
#ro.sf.lcd_density=268
sed -i 's/ro\.sf\.lcd_density\=320/ro\.sf\.lcd_density\=268/' /system/build.prop
# Remove data for problematic apps
rm -rf /data/data/com.android.providers.contacts/*
rm -rf /data/data/com.android.providers.media/*
rm -rf /data/data/com.android.deskclock/*
rm -rf /data/data/com.tmobile.thememanager/*
rm -rf /data/data/com.google.android.gallery3d/*
I could move the "rm -rf /data/data*" statements into the updater-script, but wasn't sure how much it would delete.
I've uploaded my whole flashable zip if you want to start from that.
THANKS @3DSammy FOR SHARING !!!
sttovo said:
... I could move the "rm -rf /data/data*" statements into the updater-script, but wasn't sure how much it would delete. ...
Click to expand...
Click to collapse
I've spent a little time checking this all out and stumbled across an "Edify Script Language Reference (updater-script)".
One command that may interest you may eliminate the need for those seperate "rm -rf" commands. See:
delete_recursive(file1,...,fileN) #delete files or folders recursively returns a count of files or folders deleted
OP: If you aren't using Trinity's. Toolbox to control the kernel settings...what are you using?
Brand new N10 user here and I'm trying to squeeze every ounce of battery life out of this due to my long flights.
Franco hasn't released his kernel yet so I'm exploring other options in the interim. Thanks
---------- Post added at 10:42 AM ---------- Previous post was at 10:42 AM ----------
OP: If you aren't using Trinity's. Toolbox to control the kernel settings...what are you using?
Brand new N10 user here and I'm trying to squeeze every ounce of battery life out of this due to my long flights.
Franco hasn't released his kernel yet so I'm exploring other options in the interim. Thanks

[MOD] BlackenedMod v3.0 (Pixel / Pixel XL)

Introduction:
This modification / custom kernel configuration for Pixel and Pixel XL is optimized and made with the focus on bringing several, carefully tuned behind-the-scenes enhancements & adjustments that improves overall critically needed performance, system responsivness and battery life to the highest possible level. The seed to this project can by the way be found here, for anyone that is interested of its origins.
Note: This script is not recommended to be modified or customized by the user.
The latest release can be found here.
Disclaimer:
This is presented as "what if". If this modification screws up or breaks anything for you, I am not the one to be held responsible. It's a free will to try out this kind of changes/modifications/addons/tweaks, just don't blame the inventors for eventual bad results and/or screw-ups.
Features:
Reduced battery consumption
Device specific enhancements for best possible balance between battery life & performance
Enabled, and fully configured, Boeffla generic kernel wakelock blocker
[
Disabled a lot of useless stuff at kernel level (Improves battery life as well as performance)
CPUSet improvements & optimizations
Schedtune tweaks (Improves responsivness)
Power efficiency enhancements
Wide IO block tuning (Reduces the possibility of hiccups, lags and overhead)
Possibly other miscellaneous things I've forgotten to write down here, both big and small.
Requirements/what you need for getting this script fully working:
An unlocked bootloader
Your own specific choice of kernel
Latest Magisk
Busybox for Android NDK Magisk Module by @osm0sis
Patience
Installation/How-To use & abuse:
1) Download the attached ZIP
2) Extract the script
3) Move the script to the following location;
/data/adb/service.d and give the script the following permissions (0755)
4) Reboot your phone, let Android boot to the launcher and let Magisk boot service do its crucial magic (takes a few seconds before the scripts is fully up and running around behind the scenes)
5) Enjoy!
Note: If you still are unsure how to do for making my kernel configuration / modification work & be up and running behind the scenes, then please read @Phalanx7621 phenomenal guide here or check out @Phalanx7621 in-depth video here. The installation method is the same for both the first generation as well as the second generation of Pixels!
Credits:
@nathanchance for his contributions with his Flash Kernel
@franciscofranco for all the information on which kernel wakelocks that is safe to block
@Phalanx7621 for his phenomenal how-to guide
@Lord Boeffla for his awesome generic kernel wakelock blocker
@pkgnex for inspiring me walking into this partially unknown territory from the beginning
@flar2 for his excellent EXKM application and ElementalX Kernel
@osm0sis for his Magisk Busybox module
Everyone that I've forgotten to mention here
Telegram:
If you want to try out betas / previews of my script before they are officially released, or just hangout and chat a little, then join the official Telegram group here
To-Do list:
Optimize and properly tune things even further for best possible balance between battery life, system responsivness and performance
Contributors:
@xFirefly93
Created: 2018-10-08
Last updated: 2019-01-04
Been following your thread over in the Pixel 2 XL forum, nice to have you here
Edit: sorry for stealing the first post btw hehe
EDIT: My changelog dedicated post have exceeded 30000 characters, so I have decided that the changelog will only be included in the respective update posts from now on!
So you all know how the situation is.
shagbag913 said:
Been following your thread over in the Pixel 2 XL forum, nice to have you here
Click to expand...
Click to collapse
I'll do whatever I can on the first generation Pixels for giving you guys & girls the same awesome experience.
And thanks btw.
:highfive:
Update!
v1.1 (Minor release)
- Made a few more (hopefully) battery conserving adjustments to the Sched governor.
Enjoy!
There is no .core folder inside /sbin, do we have to create it ? Edit: reboot solved. Couldn't see it.
Got it installed and I'm thinking it's working. Does the script turn off Core Control ? Just noticed it's off in Ex Kernel Manager , is this by design ?
Core control screenshot
Phalanx7621 said:
There is no .core folder inside /sbin, do we have to create it ? Edit: reboot solved. Couldn't see it.
Got it installed and I'm thinking it's working. Does the script turn off Core Control ? Just noticed it's off in Ex Kernel Manager , is this by design ?
Click to expand...
Click to collapse
Hm, I have not touched the specific tunable that is controlling Core Control.. Maybe it is disabled because of my Sched CPU governor tweak.
Phalanx7621 said:
Core control screenshot
Click to expand...
Click to collapse
xFirefly93 said:
Hm, I have not touched the specific tunable that is controlling Core Control.. Maybe it is disabled because of my Sched CPU governor tweak.
Click to expand...
Click to collapse
I can confirm that the same happens to me.
Thanks for the work!
Phalanx7621 said:
Core control screenshot
Click to expand...
Click to collapse
Old Man Dave said:
I can confirm that the same happens to me.
Thanks for the work!
Click to expand...
Click to collapse
I'll take a look into it later today.
EDIT: Oh snap, I forgot that I have disabled the Core Control tunable in my script. My bad, sorry.
Do you guys want to have it enabled or disabled btw?
xFirefly93 said:
I'll take a look into it later today.
EDIT: Oh snap, I forgot that I have disabled the Core Control tunable in my script. My bad, sorry.
Do you guys want to have it enabled or disabled btw?
Click to expand...
Click to collapse
I mean I'm only concerned with battery life. If you get better battery life with it off, I'm down with that for sure.
Phalanx7621 said:
I mean I'm only concerned with battery life. If you get better battery life with it off, I'm down with that for sure.
Click to expand...
Click to collapse
I will compare how my Marlin / Pixel XL performs with it disabled respectively enabled and see which "solution" that is giving best battery life with less performance tradeoffs, and then I will include the best overall compromise in v1.2 of my kernel configuration / script.
For anyone else interested in this, this is how I went about it:
1) Downloaded Flash Kernel from his thread over here https://forum.xda-developers.com/pixel-xl/development/marlin-flash-kernel-1-00-t3788300
2) Downloaded the latest version of this mod
3) Downloaded the Magisk module required, which you can find by searching Magisk for "busybox" and choosing the "Busybox for android NDK" version
4) Flash that Magisk module, reboot into recovery, flash the Flash kernel (no need to reflash magisk, it's automatic), reboot back into system.
5) Check to make sure Magisk is functioning properly, for me I had to reboot due to an error in the application but that may have been on my end.
6) So now you have Flash kernel and the Magisk module required to be able to properly run this script. Extract the script from the .zip file you downloaded to a folder.
7) Ok so these next steps if you aren't familiar with this stuff could be tricky, but it's actually simple it just sounds tricky. I use Mixplorer for this, I highly suggest using it, it's free and it's on XDA Labs here. https://labs.xda-developers.com/store/app/com.mixplorer But any file explorer w/ root access will do. Inside the folder you extracted the script into there are two versions, choose the Public Release version and copy that file. Navigate to root ( / ) and go to /data/media/0 and paste the file there. The reason for this is you have to change the permissions to allow it to be an executable script and this folder allows that. (there are other ways to do this, FYI but this works just fine for me) You want the permissions to be 755, so it would look like this: (see attachment) To change permissions in Mixplorer, just long press the file and hit the little i (for information) in the upper right. Then click on the permissions you want to change.
8) Now all you have to do is copy that file you just changed the permissions to and paste it into: /sbin/.core/img/.core/service.d | | Now you won't be able to SEE .core unless you have hidden files on, in Magisk it's in the upper right hand corner 3 dot menu. Click Show Hidden. After you paste the file there, reboot and congratulations, you have achieved greatness.
Phalanx7621 said:
.. FYI..
Click to expand...
Click to collapse
Thanks a lot for the in-depth guide! I added your guide to the OP both in this thread and over at my Pixel 2 (XL) thread!
:highfive:
xFirefly93 said:
Thanks a lot for the in-depth guide! I added your guide to the OP both in this thread and over at my Pixel 2 (XL) thread!
:highfive:
Click to expand...
Click to collapse
Oh ok cool, just wanted anybody else to be able to use this awesome mod too, it works wonderfully!
I miss this path on my pixel: /sbin/.core/img/.core/service.d
i'm on last LOS 16.0
moyses said:
I miss this path on my pixel: /sbin/.core/img/.core/service.d
i'm on last LOS 16.0
Click to expand...
Click to collapse
It's there.... I'm on the same rom. You need to start at root and not device storage, as well as show hidden folders
moyses said:
I miss this path on my pixel: /sbin/.core/img/.core/service.d
i'm on last LOS 16.0
Click to expand...
Click to collapse
Use X-plore file manager adn give Root permissions and in settings Show hidden files or folders something.
Update!
v1.2 (Minor release)
- Optimized Sched governor for best balance between performance & battery life
- Reverted pm_freeze_timeout to stock settings
- Raised dirty_ratio to 30
- Some minor script based clean-ups here and there
Enjoy!
xFirefly93 said:
Update!
v1.2 (Minor release)
- Optimized Sched governor for best balance between performance & battery life
- Reverted pm_freeze_timeout to stock settings
- Raised dirty_ratio to 30
- Some minor script based clean-ups here and there
Enjoy!
Click to expand...
Click to collapse
Hi, which release from Public and Maintenance we have to use. Thank you for your hard work.

Categories

Resources