AtrixTweaks - CM7 - AutoUCUV - FixLedBatCM7 - Atrix 4G Android Development

AtrixTweaks
Hello,
Sorry for my english I'm french
Origin thread => http://forum.frandroid.com/topic/93255-autoucuv-forcage-cpu-et-oc-uv-gpu/
This thread to provide a simple way to control undervolting, OverClocking CPU without SetCPU (comming OC GPU), and add other functions.
This also helps to force the startup of the second CPU.
Second CPU "force online" improves "suspens mode" (screen off), and heating at full load (better distribution of tasks). It is also more responsive, when the second CPU does not switch to "iddle"
Include in AtrixTweaks, some scripts, like "BlueBoot", starting with the blue LED lights, and a fix to reactivate the LED green when the battery reaches 99% or 100 %, others ways to implement own "host file", and DNS configuration.
I search to add functionality like stop wifi or data at screen off.
All scripts are located in directory : /system/usr/AtrixTweaks
24 March 2012 (update)
For installation use V1.8 CWM zip :
=> http://forum.xda-developers.com/attachment.php?attachmentid=962925&stc=1&d=1332586674
Configuration File
AtrixTweaks.conf
PHP:
######
#####
####
###
### Configuration file
###
####
#####
######
# "_Options" are for information only
# "_Values" can be modify
# "_RunAtBoot:1" for script execution
#
##
################
### AutoUCUV ###
################
AutoUCUV_RunAtBoot:1
AutoUCUV_Available_Governors_Options:
#
AutoUCUV_Governors_Screen_On_Value:
AutoUCUV_Governors_Screen_Off_Value:
AutoUCUV_Table_UV_Value:
AutoUCUV_CPU1_Force_Online_Value:1
#
# If managed, Wifi and Data WakeUp at screen on, and CutOff at screen off
# If "Data_StatusCtrl" managed, don't stop Data at screen off
AutoUCUV_Manage_Wifi_Value:0
AutoUCUV_Manage_Data_Value:0
AutoUCUV_Data_StatusCtrl_Value:1
##
#
###########
### DNS ###
###########
DNS_RunAtBoot:1
GoogleDNS_Options:8.8.8.8 8.8.4.4
OpenDNS_Options:208.67.222.222 208.67.220.220
FoolDNS_Options:87.118.111.215 81.174.67.134
NortonDNS_Options:198.153.192.1 198.153.194.1
#
DNS_1_Value:8.8.8.8
DNS_2_Value:8.8.4.4
##
#
######################
### LoadAdsBlocker ###
######################
# Download at next Boot or script launch
#
LoadAdsBlocker_RunAtBoot:0
HTTP_AdBlocking_block_ads_full_Value:http://support.it-mate.co.uk/downloads/HOSTS.txt
HTTP_AdBlocking_block_ads_Value:http://temerc.com/hphosts/HOSTS-Optimized.txt
HTTP_AdBlocking_AntiMalware_Value:http://www.malwaredomainlist.com/hostslist/hosts.txt
HTTP_AdBlocking_partial_host_Value:http://hosts-file.net/hphosts-partial.asp
#
HTTP_AdBlocking_Activ_Value:partial_host
HTTP_AdBlocking_Download_Value:yes
##
#
##################
### AdsBlocker ###
##################
AdsBlocker_RunAtBoot:0
AdsBlocker_Options:no_ad_blocking block_social_gaming AntiMalware block_ads partial_host block_ads_full
#
AdsBlocker_Value:partial_host
#
################
### SdTweaks ###
################
SdTweaks_RunAtBoot:1
Scheduler_Options:anticipatory bfq cfq deadline noop
SdCache_Options:256 512 1024 2048 4096
#
SdCache_Value:2048
Scheduler_Value:deadline
##
#
#######################
### OptionalsTweaks ###
#######################
OptionalsTweaks_RunAtBoot:1
##
#
How to :
This set of script running in the background silently
2 logs are generated for checking settings (/system/usr/AtrixTweaks)
- AutoUCUV.log
- AtrixTweaks.log
In configuration file, only "_Value" must be changed.
"0" to un-activ
"1" to activ
If other value are possible, see "_Options" lines.
"RunAtBoot" to un-activ script
Scripts
LoadAdsBlocker.sh
AdsBlocker.sh
DNS.sh
FixLedBatCM7.sh
AutoUCUV.sh
SDTweaks.sh
OptionalsTweaks.sh
AtrixTweaks.sh
wrkconf.sh
99blueboot
- LoadAdsBlocker.sh : Download Host File (can be change in .conf file)
- AdsBlocker.sh : Install own Host File (can be change in .conf file)
- DNS.sh : Install own DNS (can be change in .conf file)
- FixLedBatCM7.sh : Fix Led at 99% battery charge
- AutoUCUV.sh : UnderVolting/OverClocking CPU (can be change in .conf file)
- SDTweaks.sh : Cache and scheduler for SDCard (can be change in .conf file)
- OptionalsTweaks.sh : Other stuff like Graphics tweaks, build.prop tweaks (can be change in .conf file)
- AtrixTweaks.sh : Run all scripts silently
- wrkconf.sh : Work With AtrixTweaks Scripts Config File
- 99blueboot : init.d launcher
Security implemented in the script "AutoUCUV" block UV/OC since 1 screen off
This allows you to change settings after a reboot if you have too forced on the UV
In .conf file, AutoUCUV updates are apply at screen off
To modified, you can use "Root Explorer" to edit and save.
Auto switch off Wifi : OK
Auto Switch off data : buggy
Commands used :
- svc wifi enable
- svc wifi disable
- svc data enable
- svc data disable
Acknowledgments :
Xkz for his support and good ideas

Really nice!
I will try!
The GPU setting can be a really good thing!
Thank you.
Sent from my MB860 using xda premium

great work !!
will try and report !!
thanks!

love the idea (am much i could understand)
All i want to kow i just flash the zip and its runs on its own on boot or do i have to use the script manager and set it to run it on boot and super user permissions and stuff ?

Does this works well with Supercharger? Also, if i have SetCPU installed and configured with profiles, will it work correctly?
Sent from my MB860 using XDA

Just flash with CWM that's all ... run on boot
Don't know for supercharger..
Run well with setCPU, but you must disabled "run at boot"
These scripts are exactly to nether have to use SetCPU... So, freeze SetCPU to Test (for exemple)
I post a CWM to unistall Scripts if you don't like them
(Not tested)

delewer said:
Just flash with CWM that's all ... run on boot
Don't know for supercharger..
Run well with setCPU, but you must disabled "run at boot"
These scripts are exactly to nether have to use SetCPU... So, freeze SetCPU to Test (for exemple)
I post a CWM to unistall Scripts if you don't like them
(Not tested)
Click to expand...
Click to collapse
Ok. I will try and test the scripts and report back later in the night. Thanks!
Sent from my MB860 using XDA

thanks,but how to change to powersave mode? can't understand scheduler.conf

Powersave is automaticly chosen by script itself
PHP:
set $(cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors)
Gov1=$(eval echo $1)
Gov2=$(eval echo $2)
### Governor (Actif - Veille)
### Pour rendre plus agressif ("performance" par exemple) ecran allume,
### Mettre GOVERNOR_A=$Gov1
GOVERNOR_A=$Gov2
GOVERNOR_V=$Gov2
For Faux123 Kernel, for example, "Gov1=Performance" and "Gov2=Powersave"
But, for Clemsyn Kernel, "Gov1=Interractive" and "Gov2=Powersave"
So, To modified Governor, you must modified the script
GOVERNOR_A=$Gov1
Give Performance for screen on
Actually, it's Powersave ($Gov2)
I have'nt create .conf for all values

ill ask again i just flash the zip and its runs on its own on boot or do i have to use the script manager and set it to run it on boot and super user permissions and stuff ?

For CM7 : No need to use "script manager"
Just install zip with CWM... all super user perms are ok
If you want execute script by your own... without install the zip, no need script manager
- unzip into you PC
- extract files and copy in your sdcard
- copy in /system/usr/atrixTweaks (you must make directory)
- set perm (root root and "X")
- clic
- see Log
Script manager can be use... but not necessary

This is great! Once you find out how to control GPU OC (and if possible RAM and AVP), then this will be killer.

this looks promising, will you port this for CM9 as well once it is more stable?

no init.d in CM9... so it is in "construction"

Flashed on Neutrino v2.2 and so far no problems. (is there any way to check that scripts are running? )

This is awesome!! Thank you for finding! Any possibility of this working on cm9. I am considering going back to cm7 for this :]
Dope new electro, dubstep, and hip-hop
www.TheBonerSoup.com

To check if "FixLedBatCM7.sh" run... charge your phone, and wait for 99%
Led signal say you when unplug phone
For "AutoUCUV.sh", see "/system/usr/AtrixTweaks/AtrixTweaks.log" with explorer
you must see all activities here
To run in CM9, try :
- Use root explorer (or other explorer with root)
- Clic on :"/system/usr/AtrixTweaks/AtrixTweaks.sh" => Execute
- See "AtrixTweaks.log"
To activate UV/OC : "screen off" and "screen on" (security)
that's all

I have flashed it with CWM but it doesn't work. I can see all sh files but no conf files and no green LED. Running current weekly.

delewer said:
To check if "FixLedBatCM7.sh" run... charge your phone, and wait for 99%
Led signal say you when unplug phone
For "AutoUCUV.sh", see "/system/usr/AtrixTweaks/AtrixTweaks.log" with explorer
you must see all activities here
To run in CM9, try :
- Use root explorer (or other explorer with root)
- Clic on :"/system/usr/AtrixTweaks/AtrixTweaks.sh" => Execute
- See "AtrixTweaks.log"
To activate UV/OC : "screen off" and "screen on" (security)
that's all
Click to expand...
Click to collapse
I don't have the file AtrixTweakd.log ...
{
"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"
}
Envoyé depuis mon MB860 avec Tapatalk

kezayah said:
I don't have the file AtrixTweakd.log ...
Envoyé depuis mon MB860 avec Tapatalk
Click to expand...
Click to collapse
I also checked no log files so i ran the script through script manager and set permissions SU and BOOT and now i get the log will report back if any thing happens.

Related

CF ext4 Manager - all choices are greyed

Hi, I tried to apply ext4 lagfix via CF ext4 Manager (CF-Root-ext4-v1.3-Addon.apk) , data was converted successfuly, system was not converted due not enough free space, which is normal as Chainfire said.
Please note that when first using the tool to convert, you will probably notice /system is not converted. If this happens, it is because /system does not have enough free space for the extra space overhead of ext4. You will need to free up some space on /system before the conversion will succeed.
Click to expand...
Click to collapse
Running 2.3.4 JVQ stock firmware with CF root.
But after reboot ext4 app have all choices grayed, so I cannot convert system or any other partion to ext4 or back.
It show "No rfs/ext4 partions found" and "unknow ,0.0MB, 0.0MB total"
Any tips appreciated. Thanks in advance
Roman
Which kernel are you running? Try changing kernel eg: Semaphore or galaxian. Then do a wipe cache and dalvik cache
Runnig CF-Root-XX_UNK_JVQ-v3.7-CWM3RFS on stock JVQ without other changes.
Thanks for advice
Problem is, that many kernels have logging disabled, I need logcat, ddms for developing
EDIT: Flashed semaphore, there is greenscreen while lock/unlock screen(minor issue),but other things seems fine, thanks!
semaphore has logging enable script
Quote :
"In order to control voodoo sound and BLN you have to download Voodoo Control and BLN control applications respectively from android market.
The max CPU frequency is by default 1Ghz.
You may use applications like Voltage Control or Pimp my CPU to control OC/UV.
In order to load various modules of the kernel copy the respective script from /res/scripts to /system/etc/init.d directory and give the script executable permissions. This is optional. It is needed only if you want to use this functionality. The scripts:
- enable_conservative (load conservative governor module)
- enable_cifs (load cifs module)
- enable_netfilter (load netfilter modules for firewall or WiFi, USB tethering)
- enable_tun (load tun module)
- enable_deadline (load the deadline I/O scheduler module)
- enable_binfmt_misc
- S05_enable_oc replaces enable_ocuv since 1.6.0 (enable overclocking)
Other scripts:
- enable_sm_cold script for SpeedMod cold preset
- enable_sm_warm script for SpeedMod warm preset
- enable_sm_neutral script for SpeedMod neutral preset (please note that this is enabled by default)
To enable logcat run the enable_logger script in res/scritps and reboot your phone."
Here is the link
Hope this helps.

[MOD] SGS3 TweakAIO init script v1.0.1

Tweak All In One (AIO) init script for Samsung Galaxy S3
Hi guys!
Here is my all in one init script ported to SGS3, what can do every necessary system adjustment for better battery life/peformance.
This script is working with every ROM, ICS, JB, CM9-10!
This script will not made any changes in the system partition, dont delete any of your data, but of course its not fully noob protected.
Dont made any change in the init scipt in the /system/etc/init.d/S99TweakAIO file!
But you can edit the config file free: /data/tweakaio/tweakaio.conf
Installation:
- Just install the attached file from the CWM.
Explanation:
After the first reboot the init script will create a directory structure under the /data/tweakaio folder.
The tweakaio.conf located in this folder too. In the logs directory you will find the script output logs.
The tweakaio.conf explanation (default settings):
Reset Settings=off
If you set this to on, at the next reboot the script will reset the own config file
Script Enabled=on
Enable/Disable script. If this is set to 'off' the script will not run at the init process
Logger Enabled=on
Enable/Disable the system logger.
LMK Tweaks Enabled=on
Low Memory Killer Tweaks main toggle
LMK Mode=aggr
Lowmemory killer modes are: def, std, opt, str, aggr, extr, ult
The def is the most lighter the ultimate is the most harder. If you need a lot of free RAM and you dont want to use heavy multitask you can safely choose the 'extr' setting.
Network Tweaks Enabled=on
TCP/IP networking advanced tweaks. This will increase TCP throughput and save more battery life too.
Memory Management Tweaks Enabled=on
Advanced virtual memory management
KSM Enabled=on
Enable/Disable kernel samepage merging (if its supported)
Cache Drop Interval Time (in hour)=4
Periodically drop unused cache and collect the garbage from the mapped memory area (usually free RAM)
Mount Tweaks Enabled=on
Remount system/data/cache partition with (flash memory) optimized mount flags
SQLite3 Defrag Enabled=off
If its enabled every sqlite database will be defrag after every reboot
Dalvik Cache Cleaner Enabled=off
If its enabled collect unused/garbage dalvik-cache records and eliminate them after every reboot
Move Dalvik-Cache to Cache partition=off
If its enabled this will automatically move present dalvik-cache to the cache partition. This can free up space in the data partition.
Fully automatic, applyed after a full cache/dalvik wipe too. Just set and forget
Every option need to be 'on' or 'off' except the drop cache interval what is need to be a number (calculated in hour) and the LMK mode what is need to be a plain text described above
The config file is a simple text file, you can edit with your favourite file editor, but dont made any changes before the '='
You can follow what has been done in the /data/tweakaio/logs/tweakaio.log file
The dalvik cache mover has a separate log file called /data/tweakaio/logs/dalvik_mover.log
If you have any issue let me know, with the connected tweaklogs part!
Update 2012.09.06.:
- Optimized minfree values
- Added read ahead speed tweak
Update:
- Provided a config editor app, download from the first post attachment
Hy vadanko, thx for your work... I will try tomorrow
Best regards
Craxx
Gesendet von meinem GT-I9300 mit Tapatalk 2
Nice work mister.
After installation the files will added, and not replaced, in default unit.d folder, so we must delete any other unit.d inside as i understand.
Are there any build.prop tweaks (lines) thet we must delete after installation?
Is it compatible with stock kernel too?
Thanks.
eliashadow said:
Nice work mister.
After installation the files will added, and not replaced, in default unit.d folder, so we must delete any other unit.d inside as i understand.
Are there any build.prop tweaks (lines) thet we must delete after installation?
Is it compatible with stock kernel too?
Thanks.
Click to expand...
Click to collapse
If you have any other init script what is adjusting memory management or sysctl values, then you can delete this files, but not necessary.
About the build.prop this script doesn't affect the build.prop, so do not change anything.
If you using memory cleaner/optimizer app like autokiller memory optimizer, or any memory booster app you need to stop all of this app, this script will handle everything.
Very nice work.especially like sqlite and dalvik cleaner/mover option.
Thanx m8
Well, the Apk on DHL8 just FC
Sent from my GT-I9300 using xda app-developers app
Hy vadonka,
Can't test until now because I have no init.d support with kernel phenomenal or perseus...
Hope it will be solved today and then i test...
Gesendet von meinem GT-I9300 mit Tapatalk 2
The sgs3 TweakAIO apk f/c when i tried to open it.
Im on LH9.
And also there in no sgs3Tweak config in my data (that's why the app f/c???).
Thanks.
Hi Vadonka, How can this script can save more battery because i already using undervolt kernel GalaXsih 4.0 kernel..Isit will work in this kernel or will have some conflict or either suitable for stock kernel
vadonka said:
Update:
- Provided a config editor app, download from the first post attachment
Click to expand...
Click to collapse
Tried it "old fashion" (editing tweakaio.conf by hand), worked pretty fine that way. Now there's an app ! Sweet ! It works fine on LH1 base (CodecROM 7.7), and the app confirm changes applied by hand to tweakaio.conf are working.
Thanks !
eliashadow said:
The sgs3 TweakAIO apk f/c when i tried to open it.
Im on LH9.
And also there in no sgs3Tweak config in my data (that's why the app f/c???).
Thanks.
Click to expand...
Click to collapse
I had the same issue, but I solved it by creating a folder in /system/etc named init.d, then I flashed the script in cwm again, and voila'! It worked.
Sent from Hell with help from XDA
if the /data/tweakaio/tweakaio.conf file is not exsist or have 0 byte size or the permission is not 0777 then the app will FC. in some ROM also FC if this file is exsist but i dont know why yet this is not my app one of my friend wroted for my O2X init script. im just redesigned a little. im trying to figure out why FC on some ROM.
if the tweakaio.conf file is not exsist the init script will create at the next reboot automatically. at least it should be create
jothi2lingam said:
Hi Vadonka, How can this script can save more battery because i already using undervolt kernel GalaXsih 4.0 kernel..Isit will work in this kernel or will have some conflict or either suitable for stock kernel
Click to expand...
Click to collapse
well not only the undervolt can save battery
for example this parameters...:
dirty expire centisecs
dirty writeback centisecs
dirty ratio
dirty background ratio
plus the VM related parameters, timeouts, etc...
all of them together affected the battery life.
Huppen said:
I had the same issue, but I solved it by creating a folder in /system/etc named init.d, then I flashed the script in cwm again, and voila'! It worked.
Sent from Hell with help from XDA
Click to expand...
Click to collapse
vadonka said:
if the /data/tweakaio/tweakaio.conf file is not exsist or have 0 byte size or the permission is not 0777 then the app will FC. in some ROM also FC if this file is exsist but i dont know why yet this is not my app one of my friend wroted for my O2X init script. im just redesigned a little. im trying to figure out why FC on some ROM.
if the tweakaio.conf file is not exsist the init script will create at the next reboot automatically. at least it should be create
Click to expand...
Click to collapse
The file in init.d is ok.The problem for me is that i havent the config which i can manage the TweakAIO in /data.
So thats the reason that the app f.c, as i thought...
I hope to find the solution mister vadonka...
Revolution rom based on LH9.
edit: Im using wannam repack stock kernel.There is a script in init.d that it cant deleted (it recreated in every boot).
The script is:
Code:
#!/system/bin/sh
# WanamLite tweaks
sysctl -p
/system/bin/setprop pm.sleep_mode 1
/system/bin/setprop ro.ril.disable.power.collapse 0
if [ -e /sys/devices/system/cpu/cpufreq/pegasusq/up_threshold ]; then
echo "80" > /sys/devices/system/cpu/cpufreq/pegasusq/up_threshold
fi
if [ -e /sys/devices/system/cpu/cpufreq/pegasusq/sampling_rate ]; then
echo "60000" > /sys/devices/system/cpu/cpufreq/pegasusq/sampling_rate
fi
if [ -e /sys/devices/system/cpu/cpufreq/pegasusq/sampling_down_factor ]; then
echo "2" > /sys/devices/system/cpu/cpufreq/pegasusq/sampling_down_factor
fi
if [ -e /sys/devices/system/cpu/cpufreq/pegasusq/down_differential ]; then
echo "10" > /sys/devices/system/cpu/cpufreq/pegasusq/down_differential
fi
Its ok to have this and yours both???
@eliashadow
The only way i could delete s script in wanamlite roms was using rom toolbox.
But first i had to run from scripter a script to mount system as R/W.
I know it should had been mounted automatically but try it this way
Sent from my GT-I9300 using xda premium
eliashadow said:
The file in init.d is ok.The problem for me is that i havent the config which i can manage the TweakAIO in /data.
So thats the reason that the app f.c, as i thought...
I hope to find the solution mister vadonka...
Revolution rom based on LH9.
edit: Im using wannam repack stock kernel.There is a script in init.d that it cant deleted (it recreated in every boot).
The script is:
Code:
#!/system/bin/sh
# WanamLite tweaks
sysctl -p
/system/bin/setprop pm.sleep_mode 1
/system/bin/setprop ro.ril.disable.power.collapse 0
if [ -e /sys/devices/system/cpu/cpufreq/pegasusq/up_threshold ]; then
echo "80" > /sys/devices/system/cpu/cpufreq/pegasusq/up_threshold
fi
if [ -e /sys/devices/system/cpu/cpufreq/pegasusq/sampling_rate ]; then
echo "60000" > /sys/devices/system/cpu/cpufreq/pegasusq/sampling_rate
fi
if [ -e /sys/devices/system/cpu/cpufreq/pegasusq/sampling_down_factor ]; then
echo "2" > /sys/devices/system/cpu/cpufreq/pegasusq/sampling_down_factor
fi
if [ -e /sys/devices/system/cpu/cpufreq/pegasusq/down_differential ]; then
echo "10" > /sys/devices/system/cpu/cpufreq/pegasusq/down_differential
fi
Its ok to have this and yours both???
Click to expand...
Click to collapse
this script is manage the cpu governor. you can leave this for sure. it doesnt interfered with my script.
Sent from my GT-I9300 using Tapatalk 2
mariosraptor said:
@eliashadow
The only way i could delete s script in wanamlite roms was using rom toolbox.
But first i had to run from scripter a script to mount system as R/W.
I know it should had been mounted automatically but try it this way
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Thanks but it didn't work for me too.The script recreated again after rebooting.
Edit:thanks mr vadonka.Now I'm ok.
Sent from my GT-I9300 using Tapatalk 2
eliashadow said:
Thanks but it didn't work for me too.The script recreated again after rebooting.
Edit:thanks mr vadonka.Now I'm ok.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Really weird
But as long as the script does not run, if there was a chance of conflict between the two scripts now is eliminated by renaming it.
Edit: if you rename it and reboot, do you then have 2 files ( the renamed one and the correct).
I flashed wanam's kernel but cannot recreate. It gets deleted correctly.
Sent from my GT-I9300 using xda premium
mariosraptor said:
Really weird
But as long as the script does not run, if there was a chance of conflict between the two scripts now is eliminated by renaming it.
Edit: if you rename it and reboot, do you then have 2 files ( the renamed one and the correct).
I flashed wanam's kernel but cannot recreate. It gets deleted correctly.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
I edited it inside and changed the lines, not the name of the script.
But if the dev here said that is ok, everything is ok
Sent from my GT-I9300 using Tapatalk 2

[Tutorial] Speed/slim up your phone: V6 SuperCharger, Fly-On Mod, CrossBreeder, etc.

(i) Slimming your ROM:
Original thread by darknessx10: http://forum.xda-developers.com/showthread.php?t=2387429
Remove (either from the ROM/Gapps zip before you flash, or after with a file manager, but don't forget to reboot):
/system/tts
/system/fonts/*.ttf (remove all unnecessary fonts that you don't use (see thread linked above))
/system/media/video (useless)
/system/media/audio/alarms (I use a custom song)
/system/media/audio/notifications (just leave one that you use, I use Argon.ogg, or delete all if you use a custom one)
/system/media/audio/ringtones (I use custom songs)
/system/usr/srec/config (offline Google Now - useless)
/system/lib/*.so (remove all unnecessary Google libraries that you don't use, for example, these are safe to remove):
Code:
libfilterpack_facedetect.so (Face unlock, useless)
libflint_engine_jni_api.so (Google TTS)
libfrsdk.so (Face unlock, 1.8 MB)
libgcomm_jni.so (obsolete Google+ library, 7-8 MB)
libgoogle_recognizer_jni.so (Google Now, 7-9 MB)
libgoogle_recognizer_jni_l.so (Google Now, 9 MB)
libgtalk_jni.so (Google Talk, 4 MB)
libgtalk_stabilize.so (Google Talk)
libjni_latinime.so (LatinIME, only remove if you use another keyboard app)
libmicrobes_jni.so (Microbes wallpaper)
libnfc.so (only delete if you don't use NFC)
libnfc_jni.so (only delete if you don't use NFC)
libnfc_ndef.so (only delete if you don't use NFC)
libpicowrapper.so (Pico TTS)
libplus_jni_v8.so (Google+)
libspeexresampler.so (Google TTS)
libspeexwrapper.so (Google TTS)
libttscompat.so (Pico TTS)
libttspico.so (Pico TTS)
libvideochat_jni.so (Google Talk, 4 MB)
libvideochat_stabilize.so (Google Talk)
libvorbisencoder.so (Google Ears)
/system/app/*.apk (remove all unnecessary apps that you don't use, for example, these are safe to remove):
Code:
Apollo.apk
BasicDreams.apk
CellBroadcastReceiver.apk
ChromeBookmarksSyncAdapter.apk
CMAccount.apk
CMFileManager.apk (I use Root Explorer)
CMWallpapers.apk
DrmProvider.apk (leave if you have DRM-protected songs/videos)
DSPManager.apk
Email2.apk (I use Outlook app)
Exchange2.apk (unless you need Exchange Services for email)
FaceLock.apk
Galaxy4.apk
GenieWidget.apk
Gmail.apk
GoogleBackupTransport.apk
GoogleEars.apk
GoogleFeedback.apk
(Google)OneTimeInitializer.apk (runs one time after flashing gapps, safe to remove after)
GooglePartnerSetup.apk (do not remove if you have a credit card linked to your Play store)
GooglePlus.apk
GoogleTTS.apk
HoloSpiralWallpaper.apk
HTMLViewer.apk
LatinIME.apk (do NOT remove unless you have another keyboard app (I use Kii))
LatinImeDictionaryPack.apk
LiveWallpapers.apk
LiveWallpapersPicker.apk
MagicSmokeWallpapers.apk
Microbes.apk
Nfc.apk (if you don't use NFC)
NoiseField.apk
PhaseBeam.apk
PhotoTable.apk
PicoTts.apk
QuickSearchBox.apk (remove if you don't use the Google search widget in the homescreen)
SetupWizard.apk (do not remove if you have not setup your phone yet (account, language, time, etc.))
SoundRecorder.apk
SpeechRecorder.apk
Stk.apk
Tag.apk (if you don't use NFC)
Talk.apk
Talkback.apk
ThemeChooser.apk (I don't use themes)
ThemeManager.apk (I don't use themes)
Thinkfree.apk
Torch.apk
Trebuchet.apk (do NOT remove if you don't have another launcher app)
UserDictionaryProvider.apk
VisualizationWallpapers.apk
VoiceDialer.apk
VoicePlus.apk
VoiceSearchStub.apk
VpnDialogs.apk (unless you use VPN)
ROM and /system will be 85 MB+/- lighter.
See a description of most CM/Google apps here, otherwise google for more information.
If you are not using CM, you have other stock apps. Google them to see if they are okay to delete.
Extra: After every reboot, there are some useless Google services running in the background. Go to Manage apps and select Running apps. For me they are Google Play services and Google Play Store. Click them and stop PendingNotificationsService, GoogleLocationManagerService, NetworkLocationService, NlpLocationReceiverService and AnalyticsService. GPS and Play Store will still work normally and notify you of updates, etc. They seem to re-start themselves every so often, too... If you don't want to do it manually and disable them permanently (without them restarting), you can use Disable Service to do it for you. You can also use this app to disable certain services from, for example, Facebook, if you don't use them, and save RAM. Alternatives that show more service processes/receivers are Autorun Manager (formerly Autorun Killer) and System Tuner.
(ii) V6 SuperCharger:
Original threads by zeppelinrox: http://forum.xda-developers.com/showthread.php?t=991276, http://forum.xda-developers.com/showthread.php?t=1914159
(there may be other steps in future versions)
1. Download the latest SuperCharger_Starter_Kit_RC12.zip (check thread to be sure)
2. Download the latest V6 SuperCharger script, V6_SuperCharger_for_Android-Update9_RC13-For_Your_Lag_QF.sh.pdf (right click and "save as", remove the .pdf file extension from the filename, it is NOT a pdf!) (check thread to be sure)
3. Download the latest Ultimatic_Jar_Patcher_Tools_RC7_TEST6_ALL_DEX_ALL_OSes_NO_FLASH.zip (this does not work on Android 4.4 (KitKat) yet!) (check thread to be sure)
4. Put the contents of SuperCharger_Starter_Kit_RC12.zip and the script (step 2) on your phone.
5. Run Terminal Emulator, go to the directory where you put the contents (ls to show directories, cd to move to a directory), type su and enter. Type sh Start* (Note the capital S, not s. The asterisk * is so you don't have to write the entire filename).
5.1. The script will ask you if you want to install BusyBox v1.19.4 (wraithdu). If you already have BusyBox, skip this step.
5.2. The script will ask you if you want to install the su binary v3.1 (wraithdu). You already have the su binary, so skip this step unless you get an error during setting up the V6 SuperCharger script.
5.3. The script will ask you to install the sqlite3 binary. It will auto-detect if you already have it. If you do, skip this step.
5.4. The script will ask you to install the zipalign binary. It will auto-detect if you already have it. If you do, skip this step.
6. Type sh V6* (Note the capital V, not v).
6.1. The script will ask you to select a scrolling speed. Select 0 (not on the list).
6.2. The script will ask you to select the kernel "reboot tolerance". I chose (N)one, most people choose (H)ard I think.
6.3. The script will ask you to use "Entropy-ness Enlarger", select no
6.4. The script will ask you to use "System Property Accessory Tweaks", select yes.
6.5. The script will ask you to use "3G TurboCharger", select yes.
6.6. The script will ask you to use "SD Read Speed Tweak", select no.
6.7. Set BulletProof Apps if you want.
6.8. The script will ask you to use Engine Flush-O-Matic, select yes, I chose 4 hours.
6.9. The script will ask you to use "Detailing", select yes, I chose 2 boots.
6.10. The script will ask you to use "Fix Alignment", select no.
6.11. The script will ask you to use "Wheel Alignment", select yes.
6.12. The script will ask you to use "Fix Emissions", select yes.
6.13. The script will ask you to disable the script animation, select yes.
6.14. The script will ask you to apply "SuperMinFree Calculator Settings", select yes (you can later change the values by selecting either "Unledded", "Ledded" or "Super UL" values).
The following steps do not work on Android 4.4 (KitKat) yet:
7. Connect your phone to your computer with the USB cable, NOT as a mass storage device. Have debugging turned on.
7.1. Unzip the contents from step 3 to your COMPUTER, not phone. Run "ultimatic_jar_patcher_adb.bat" on Windows, "ultimatic_jar_patcher_adb.sh" on Linux or Mac.
7.2. The script will ask you to restart ADB as root, select no, it works without it.
7.3. The script will ask you to "SuperCharge services.jar", select yes.
7.4. The script will ask you to select the launcher strength, select "Die-Hard" (or something else if you want).
7.5. The script will ask you to use the "Maximum MultiTasking Mods", select yes.
7.6. After the script is done, type su and reboot.
8. Open Terminal Emulator, type su and run the V6 script again (step 6).
8.1. The script should say "100% SuperCharged": If it's not, sucks to be you.
Note from the script:
In case of lag, due to too many apps running, RAISE the minfree levels.
For bettter MultiTasking, LOWER minfree levels.
Click to expand...
Click to collapse
Also recommended is to install the 3G TurboCharger script (right click, save as, remove .pdf extension). Read the generated .html file in the SDcard after running the script to select your preferred values (I chose 4).
(iii) Fly-On Mod™:
Original thread by slaid480: http://forum.xda-developers.com/showthread.php?t=2226373
Download the latest version of the zip - at the time of writing this, it is Signed_Fly-On_Mod™_V4.0-Beta6.zip.
You will have to edit the zip, because there are things that conflict with V6 SuperCharger and CrossBreeder (basically delete all scripts except 98fly_engine and 92cleaner).
Remove the following files:
Code:
/system/bin/entropy_on (don't need this)
/system/bin/entropy_off (don't need this)
/system/bin/Fly-On (don't need this)
/system/bin/uninstaller (don't need this)
/system/etc/rngd [B](conflicts with CrossBreeder)[/B]
/system/etc/hosts
/system/etc/init.d/03kill_media_server (you can keep this script if you want, but you don't need it on KitKat)
/system/etc/init.d/sqlite_optimize [B](conflicts with V6)[/B]
/system/etc/init.d/09sdcardspeedfix [B](conflicts with CrossBreeder)[/B]
/system/etc/init.d/darky_zipalign [B](conflicts with V6)[/B]
/system/etc/init.d/zipaligndata [B](conflicts with V6)[/B]
/system/etc/init.d/ram_manager [B](conflicts with V6)[/B]
/system/etc/init.d/94Governor_tweaks [B](conflicts with CrossBreeder)[/B]
(and all the .log files in /data/Fly-On/ that you don't use if you want)
And here is a temporary fix for 92cleaner. Do that.
Save zip (don't flash yet). If your ROM's filesystem is EXT4 (type mount into Terminal Emulator and it should list /system, etc. and say which filesystem it is. If you don't see ext4 anywhere, skip this step), also download the Fly-On_EXT4_tweak.zip. Put both zips on your SDcard (don't flash yet).
Note: if you want, you can leave the files that are conflicting with V6 (except ram_manager!), but then you must disable them in V6 so they don't conflict with Fly-On!
(iv) CrossBreeder:
Original thread by idcrisis: http://forum.xda-developers.com/showthread.php?t=2113150
Download the older 7.2.13 version (needs some manual tweaking for Android 4.3 and 4.4). Goodbye_p_edition and 12.1.2013 are unfinished "work in progress"/test versions and have some bugs. There will be a new app version soon.
Put the zip on your SDcard, reboot into recovery and flash:
1. Fly-On Mod
2. EXT4 tweak (if your ROM supports it)
3. CrossBreeder
Reboot, start Terminal Emulator, run:
Code:
su -c "/system/etc/CrossBreeder/ENABLE_GOVERNOR_TWEAKS"
su -c "/system/etc/CrossBreeder/ENABLE_IO_TWEAKS"
NOTE 1: Use CrossBreeder instead of AdAway or AdFree for adblocking. Having a huge hosts file (AdAway/AdFree) actually slows down the network speed! By using CrossBreeder's adblocking engine instead, the network speed is even faster and there are no ads! The only cost is 3 MB of RAM, but it's absolutely worth it. You can still use AdAway to update CrossBreeder's adblock master list. If you have AdFree, uninstall it.
NOTE 2: If you have Seeder (app) or any other entropy generating script, disable them. CrossBreeder's haveged engine is far superior to any other entropy engine. You can use Seeder to check the entropy levels only, but do not enable it. If for some reason entropy does not hover in the 4096 range, force-enable CrossBreeder with (although it should auto-start 99% of the time - maybe it takes a few minutes to stabilize):
Code:
su -c "/system/etc/CrossBreeder/zzCrossBreeder FORCE"
(v) Fast GPS lock:
Original thread by sgspluss: http://forum.xda-developers.com/showthread.php?t=2523667
***
Thought I'd also throw this in... Some of my must have apps and other useful apps:
http://forum.xda-developers.com/showpost.php?p=41031365&postcount=15
+
Lockscreen Policy - disable widgets in lockscreen on Android 4.2+
Smart Lockscreen protector - disable reboot/power off/aeroplane mode in lockscreen
Volume Locker - lock volume settings so you don't accidentally mute/unmute with the volume keys in lockscreen
FolderMount - like Directory Bind, but better (supports emulated storage and doesn't run in background)
Disable Service - disable certain processes/services
Autorun Manager (formerly Autorun Killer)
System Tuner
(The above two are similar to Disable Service, but they list more processes and have more features. Also, some processes/receivers detected by Autorun Manager aren't detected by System Tuner, and some detected by System Tuner aren't detected by Autorun Manager. So stupid... Make one app that detects all!)
CatLog
CPU Spy - monitor CPU states
DroidCamX
AnTuTu Benchmark
MX Player + codec
Documents To Go or Quickoffice Pro v5.7.327 (before Google acquired it)
Sygic GPS
Opera Mini (fastest/lightest browser) or Opera
ezPDF Reader - pdf annotation
Seeder - to monitor entropy only, otherwise disabled
Titanium Backup
BusyBox Free
Avast Mobile Security - for Firewall and Anti-Theft only (separate apps). Disable all other features, as there are no viruses for Android, so you're just wasting RAM.
No-frills CPU Control - best setup is:
smartassV2 (governor) + sio (scheduler)
or
SmartassH3 + sio (a little more battery friendly, very tiny (negative) difference in performance from smartassV2)
If smartassV2/SmartassH3 is not available, use ondemand. If sio scheduler is not available, use noop. Also, some people prefer deadline over noop (if available), but most choose noop if sio is not available.
Ultimate L3 build.prop?
I've also compared build.prop values set by the following three scripts:
V6 SuperCharger
Project Fluid
Near Project Butter
And threw them all together, hopefully creating the "ultimate" build.prop for L3 (L5 and L7 with JellyBean don't need this):
Code:
#Qualcomm specific tweaks. Might cause reboot on other.
com.qc.hardware=true
debug.qc.hardware=true
debug.qctwa.preservebuf=1
debug.qctwa.statusbar=1
#Unlock fps limit
debug.egl.swapinterval=0
#Render UI with GPU and GPU tweaks:
debug.composition.type=gpu
debug.egl.hw=1
debug.sf.hw=1
ro.sf.compbypass.enable=0
#enable harware egl profile
debug.egl.profiler=1
#Enable tile rendering
debug.enabletr=true
persist.sys.composition.type=gpu
#16BIT transparency , Smother Scrolling
persist.sys.use_16bpp_alpha=1
#3d performance
persist.android.strictmode=0
ro.min_pointer_dur=1
ro.secure=0
#Fluid UI
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
#Device supports EHRPD
ro.config.ehrpd=true
#System prop for tethering denied
ro.tether.denied=false
#Possible screen glitch fix
debug.gr.numframebuffers=3
#Disable boot animation for faster boot
debug.sf.nobootanimation=1
#Disable debugging notify icon on statusbar
persist.adb.notify=0
#Enable Hardware 3D
hw3d.force=1
#Phone will not wake up from hitting the volume rocker
ro.config.hwfeature_wakeupkey=0
#Unlock phone by menu key
ro.config.hw_menu_unlockscreen=false
#Save power while phone is in sleep mode
ro.ril.disable.power.collapse=1
#Ringtone rings without delay
ro.telephony.call_ring.delay=0
#The wifi scan interval in seconds so you can use a lower or higher value.
wifi.supplicant_scan_interval=180
#Better scrolling responsiveness
windowsmgr.max_events_per_sec=90
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
#Better touchscreen responsiveness
touch.presure.scale=0.001
#Support for ipv4 and ipv6.
persist.telephony.support.ipv4=1
persist.telephony.support.ipv6=1
#Faster boot
persist.sys.shutdown.mode=hibernate
ro.config.hw_quickpoweron=true
#Better battery life
ro.config.hw_fast_dormancy=1
ro.config.hw_power_saving=true
#Enable 16 BIT
debug.fb.rgb565=1
#VM tweak
ro.vold.umsdirtyratio=20
#Disable Zygote loader
ro.wmt.blcr.enable=0
#Better in call voice quality
ro.ril.enable.amr.wideband=1
#Signal Tweaks
persist.cust.tel.eons=1
ro.ril.gprsclass=10
ro.ril.hsdpa.category=8
ro.ril.hsupa.category=6
ro.ril.hsxpa=1
#Wireless Speed Tweaks
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.route.flush=1
net.ipv4.tcp_ecn=0
net.ipv4.tcp_fack=1
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_moderate_rcvbuf=1
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_rfc1337=1
net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_sack=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_wmem=4096 39000 187000
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
#Website Bypass
net.dns1=8.8.8.8
net.dns2=8.8.4.4
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
#Graphics Enhancement:
#Raise photo and video recording quality
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.hprof.vid.fps=75
#Raise JPG quality to 100%
ro.media.enc.jpeg.quality=100
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.cam.preview.fps=0
ro.media.codec_priority_for_thumb=so
#DalvikVM:
dalvik.gc.type=precise
dalvik.vm.dexopt-data-only=1
#Enables register map for tracking objects to garbage collect. Might give a little more RAM at the cost of a few CPU cycles.
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.jniopts=forcecopy
dalvik.vm.lockprof.threshold=500
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.verify-bytecode=false
#Unknown functions
debug.kill_allocating_task=0
debug.overlayui.enable=0
dev.pm.dyn_samplingrate=1
ENFORCE_PROCESS_LIMIT=false
persist.sampling_profiler=0
ro.debuggable=1
ro.config.disable.hw_accel=false
ro.fb.mode=1
#Media quality improvements
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-record=true
#Might or might not work:
#debug.performance.tuning=1
#video.accelerate.hw=1
#Enable surface dithering
#persist.sys.use_dithering=1
#ro.sec.proximity.delay=0
#Raise photo and video recording quality
#ro.media.dec.jpeg.memcap=20000000
#Not working:
#persist.sys.ui.hw=1
#dalvik.vm.checkjni=false
#dalvik.vm.execution-mode=int:jit
#Fix some application issues/Disable kernel error logging
#ro.kernel.android.checkjni=0
#ro.kernel.checkjni=0
Just append at the bottom of /system/build.prop under the values set by V6 SuperCharger, save and reboot. Make a backup just in case you get a bootloop and save it as /system/build.prop.orig as well as on your PC. In that case, it's easy to recover with either ADB or a flashable zip. No need for any nandroid backups. But it shouldn't cause a bootloop...
All credits to the original authors.
Hey man I have a problem. When I connect my device, it passes java and all, after I select No to restart adb as root, it says:
Found BusyBox v1.20.2-cm9!
==========================================================
But if you see any "applet" not found errors...
...you need a better busybox build!
==========================================================
Storage partition is /sdcard
==========================================================
Permission denied
The system cannot find the file specified.
==========================================================
/sdcard is NOT accessible... Abort! Abort!
And I can't go any further. Suggestions? Thanks.
brchina said:
Hey man I have a problem. When I connect my device, it passes java and all, after I select No to restart adb as root, it says:
Found BusyBox v1.20.2-cm9!
==========================================================
But if you see any "applet" not found errors...
...you need a better busybox build!
==========================================================
Storage partition is /sdcard
==========================================================
Permission denied
The system cannot find the file specified.
==========================================================
/sdcard is NOT accessible... Abort! Abort!
And I can't go any further. Suggestions? Thanks.
Click to expand...
Click to collapse
try to dissable android debuging and enable it, also i have alowed root access so that is work for me an hour earlier
You mean during the process?
Sent from my LG-E400 using Tapatalk 2
brchina said:
And I can't go any further. Suggestions? Thanks.
Click to expand...
Click to collapse
That's weird. Try Developer options -> Root access -> Apps and ADB, and then when the script asks you to restart ADB as root, select yes instead of no.
There's a newer version of Busybox available, by the way (1.21.1).
thanks, its very nice :good:
great guide,nice and usefull thread.thanx hitted-5 stars rated!!!! :good:
thanks, its very nice
f3tus said:
Original threads by zeppelinrox: http://forum.xda-developers.com/showthread.php?t=991276, http://forum.xda-developers.com/showthread.php?t=1914159
1. Download the latest SuperCharger_Starter_Kit_RC12.zip
2. Download the latest V6 SuperCharger script, V6_SuperCharger_for_Android-Update9_RC12_Test_6.sh.pdf (right click and "save as", remove the .pdf file extension from the filename, it is NOT a pdf)
3. Download the latest Ultimatic_Jar_Patcher_Tools_RC7_TEST6_ALL_DEX_ALL_OSes_NO_FLASH.zip
4. Put the contents of SuperCharger_Starter_Kit_RC12.zip and the script (step 2) on your phone.
5. Run Terminal Emulator, go to the directory where you put the contents (ls to show directories, cd to move to a directory), type su and enter. Type sh Start* (Note the capital S, not s. The asterisk * is so you don't have to write the entire filename).
5.1. The script will ask you if you want to install BusyBox v1.19.4 (wraithdu). If you already have BusyBox, skip this step.
5.2. The script will ask you if you want to install the su binary v3.1 (wraithdu). You already have the su binary, so skip this step unless you get an error during setting up the V6 SuperCharger script.
5.3. The script will ask you to install the sqlite3 binary. It will auto-detect if you already have it. If you do, skip this step.
5.4. The script will ask you to install the zipalign binary. It will auto-detect if you already have it. If you do, skip this step.
6. Type sh V6* (Note the capital V, not v).
6.1. The script will ask you to select a scrolling speed. Select 1 (fast).
6.2. The script will ask you to use Build.prop, select no.
6.3. The script will ask you to select the kernel "reboot tolerance". I chose (N)one, most people choose (H)ard I think.
6.4. The script will ask you to use SD card tweaks, select yes.
6.5. The script will ask you to use "3G TurboCharger", select yes.
6.6. The script will ask you to use "Fix Alignment", select no.
6.7. The script will ask you to use "Wheel Alignment", select yes.
6.8. The script will ask you to use "Fix Emissions", select yes.
6.9. The script will ask you to use "Detailing", select yes, and then set to 5.
6.10. The script will ask you to "Integrate", select yes.
6.11. The script will ask you to disable the script animation, select yes.
6.12. The script will ask you to apply "SuperMinFree Calculator Settings", select yes (you can later change the values by selecting either "Unledded", "Ledded" or "Super UL" values).
6.13. Select option 32 to "SuperClean & ReStart".
7. Connect your phone to your computer with the USB cable, NOT as a mass storage device. Have debugging turned on.
7.1. Unzip the contents from step 3 to your COMPUTER, not phone. Run "ultimatic_jar_patcher_adb.bat" on Windows, "ultimatic_jar_patcher_adb.sh" on Linux or Mac.
7.2. The script will ask you to restart ADB as root, select no, it works without it.
7.3. The script will ask you to "SuperCharge services.jar", select yes.
7.4. The script will ask you to select the launcher strength, select "Die-Hard" (or something else if you want).
7.5. The script will ask you to use the "Maximum MultiTasking Mods", select yes.
7.6. After the script is done, type su and reboot.
8. Open Terminal Emulator, type su and run the V6 script again (step 6).
8.1. The script should say "100% SuperCharged": If it's not, sucks to be you.
Note from the script:
Click to expand...
Click to collapse
I have a question: works also on stock lg l3??
diego88it said:
I have a question: works also on stock lg l3??
Click to expand...
Click to collapse
I think you need init.d support. You can try, the script will warn you and maybe offer a workaround. Not sure.
Bump. OP has been updated. Newer version of script is available.
f3tus said:
Bump. OP has been updated. Newer version of script is available.
Click to expand...
Click to collapse
hi does cm9 roms have native init.d support ?? and also does sdmerge remove it ?? i want to know cause i tried operation killjoy and it din't work.. Exit_only replied back that i din't have init.d
support..! !
drkingtech said:
hi does cm9 roms have native init.d support ?? and also does sdmerge remove it ?? i want to know cause i tried operation killjoy and it din't work.. Exit_only replied back that i din't have init. support..! !
Click to expand...
Click to collapse
CM9 has init.d support and SDMergE doesn't remove it. Forget Killjoy, I'll update the OP with more tweaks today.
f3tus said:
CM9 has init.d support and SDMergE doesn't remove it. Forget Killjoy, I'll update the OP with more tweaks today.
Click to expand...
Click to collapse
thanks bro ..nice to hear this..!!
drkingtech said:
thanks bro ..nice to hear this..!!
Click to expand...
Click to collapse
There you go, OP completely renewed.
Great guides,keep it up:thumbup:
GREEEEETZ!!!!
f3tus said:
There you go, OP completely renewed.
Click to expand...
Click to collapse
really cool ..Thanks man..!!
I had just done the v6supercharger on V20E , im questionning me it'is necessary to apply all scipt like flying mod etc ? it's stable for the phone ?
Kouhai said:
I had just done the v6supercharger on V20E , im questionning me it'is necessary to apply all scipt like flying mod etc ? it's stable for the phone ?
Click to expand...
Click to collapse
Completely stable and noticeably faster than using just V6.

[APP][09/10/2014] Kernel Settings

Small app for adjustment Ultimate Kernel.
http://www.mediafire.com/?9dw5nm5ou9zcp1q
{
"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"
}
How to troubleshoot:
Suppose you installed the app and it does not work. Here are some things to test for:
1. make sure you have the Ultimate Kernel installed
2. make sure you have no other app interfering (Kernel Tuner, Trickster Mod etc.)
3. Make sure the file /system/etc/init.d/99kernel exists
4. Make sure you have busybox installed
dummie999 said:
Nice work! It works as it should except for 1 thing: left->right should be right->left, though this is probably my fault, because I wrote it down the wrong way in the Ultimate Kernel thread
One request: Can you add a button to execute the script (99kernel), so that I don't have to reboot to have the settings applied.
Click to expand...
Click to collapse
Setting is stored immediately. But to apply the changes, restart is required. A correct values ​​are as?
0 - disabled, 1 - enabled, both directions, 2 - enabled, left->right only, 3 - enabled, right->left only
ufonek said:
Setting is stored immediately. But to apply the changes, restart is required. A correct values ​​are as?
0 - disabled, 1 - enabled, both directions, 2 - enabled, left->right only, 3 - enabled, right->left only
Click to expand...
Click to collapse
They are:
0 - disabled, 1 - enabled, both directions, 2 - enabled, right->left only, 3 - enabled, left->right only
Yes, I know settings are stored immediately, but instead of having to restart, it would be nice to have an option to apply the settings right away, without a restart:
Code:
# sh /system/etc/init.d/99kernel
dummie999 said:
They are:
0 - disabled, 1 - enabled, both directions, 2 - enabled, right->left only, 3 - enabled, left->right only
Yes, I know settings are stored immediately, but instead of having to restart, it would be nice to have an option to apply the settings right away, without a restart:
Code:
# sh /system/etc/init.d/99kernel
Click to expand...
Click to collapse
Then it is unnecessary to store 99kernel init.d directory. Can I run the script directly.
Fixed:http://www.mediafire.com/download/9dw5nm5ou9zcp1q/Kernel+Settings+1.apk
ufonek said:
Then it is unnecessary to store 99kernel init.d directory. Can I run the script directly.
Fixed:http://www.mediafire.com/download/9dw5nm5ou9zcp1q/Kernel+Settings+1.apk
Click to expand...
Click to collapse
Works like a charm :highfive:
Hmm great app, but didnt work for me. I set sweep2wake disabled and dt2wake bottom half screen - sweep2wake still works and dt2wake still works on full screen.
I saved my settings and rebot my phone.
I used latest version of ultimate kernel.
CJ Grass said:
Hmm great app, but didnt work for me. I set sweep2wake disabled and dt2wake bottom half screen - sweep2wake still works and dt2wake still works on full screen.
I saved my settings and rebot my phone.
I used latest version of ultimate kernel.
Click to expand...
Click to collapse
Look, if in the system/etc/init.d is created file 99kernel.
Yes, the file was created.
CJ Grass said:
Yes, the file was created.
Click to expand...
Click to collapse
You have other apps interfering (kernel tuner, trickster mod etc.)?
What are the contents of 99kernel?
No, I don't have other apps interfering.
Contents of 99kernel:
#!/bin/sh
echo "3" > /sys/android_touch/sweep2sleep
echo "0" > /sys/android_touch/sweep2wake
echo "2" > /sys/android_touch/doubletap2wake
echo "0" > /sys/kernel/fast_charge/force_fast_charge
Click to expand...
Click to collapse
Also I saw the 99kernel file in storage/emmc/ localization (in main directory) - hmm strange... I deleted the file
CJ Grass said:
No, I don't have other apps interfering.
Contents of 99kernel:
Also I saw the 99kernel file in storage/emmc/ localization (in main directory) - hmm strange... I deleted the file
Click to expand...
Click to collapse
Okay, now run the file by hand (as root):
sh /system/etc/init.d/99kernel
Then, open the file /sys/android_touch/sweep2sleep and read it's value.
both file located in /sys/android_touch/ (sweep2sleep and swee2wake) the value is 1.
but i don't understand how to run by hand "sh /system/etc/init.d/99kernel" ?? where type this? and what is "sh" ??
CJ Grass said:
both file located in /sys/android_touch/ (sweep2sleep and swee2wake) the value is 1.
but i don't understand how to run by hand "sh /system/etc/init.d/99kernel" ?? where type this? and what is "sh" ??
Click to expand...
Click to collapse
With terminal emulator. Just type:
su
sh /system/etc/init.d/99kernel
Then check the values again.
Thank You! Now it works perfect (without restarting phone, value changed to: sweep2sleep 3 and swee2wake 0).
But why the app didn't changing settings? So now when I want to change any settings after that I also must repeat command? and then restart?
CJ Grass said:
Thank You! Now it works perfect (without restarting phone, value changed to: sweep2sleep 3 and swee2wake 0).
But why the app didn't changing settings? So now when I want to change any settings after that I also must repeat command? and then restart?
Click to expand...
Click to collapse
Are you sure you have installed the updated version: http://forum.xda-developers.com/showpost.php?p=55924458&postcount=5
Yes, I downloaded fixed version, but I thing there is an error - both version are the same! check upload date & time from link in 1 post and 5 post...
File size: 313.69 KB
Uploaded: 2014-10-09 12:49:26
data and hours are the same.
So where is the fixed ver?
CJ Grass said:
Yes, I downloaded fixed version, but I thing there is an error - both version are the same! check upload date & time from link in 1 post and 5 post...
File size: 313.69 KB
Uploaded: 2014-10-09 12:49:26
data and hours are the same.
So where is the fixed ver?
Click to expand...
Click to collapse
He updated the download link, so the one you downloaded is probably already the updated version.
If you want to be sure, uninstall, redownload and install the app.
Not Consistent
Hi ! I tried installing Kernel Settings Fixed Version on HTC Desire 500 Dual Sim. It create file as expected but didn't work until phone restart. I tried running 99kernel script by hand. only dt2wake is working. I checked the values. All were as mentioned in thread.
dt2wake works only once. If double tap on screen and don't unlock it and simply press lock button to off the screen. after that double tapping won't wake up the screen/
Majorly I need sweep2sleep. any way to make it work?

[SCRIPT] [GUIDE] Google Play Services Battery Drain Fix/Workaround

Anyone's Google Play Services update recently? If you're suddenly experiencing dreadful battery life due to Google Play Services (see pic below) then this fix might be right for you. ​
Background: Recently, an update to Google Play Services (ver. 7.0.97) was released and reports flooded the internet with complaints of battery life issues. People had battery graphs similar to this:
{
"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"
}
I also experienced this issue. After checking my frequency tables in my kernel tweaker, I noticed that my phone was NEVER going into Deep Sleep, and, instead, was sitting at 300mhz even when the screen was off. After some Googling and reading some comments on GitHub, it seemed apparent that the problem was one Service in particular "SystemUpdateService".
The Problem: Without going into much detail SystemUpdateService is basically Google's OTA update service, and when it detects that your phone need and update while running a Custom ROM, it fails and re-runs this check over and over again. It's this wakelock that drains your battery.
The Solution: Enabling the service. You read that correctly. For whatever reason, enabling the service actually prevents the wakelock from occurring. I, along with a few testers, have been using our phones for hours now after having run the script and the wakelock and battery drain is completely gone.
Method #1: init.d Script
For those of you with custom ROMs that support init.d scripts, simply unzip and place this script in the /etc/init.d folder (as root) and set permissions to 755. The service becomes disabled again as soon as the phone reboots. We place this script in the init.d folder so the script runs automatically every time the phone boots. If your Custom ROM does NOT support init.d scripts skip over to Method #2 or 3.
DOWNLOAD SCRIPT HERE: View attachment fixUpdateService.zip
Permissions Screenshot:
The source code to this script (Edited slightly, Credit to Oreganoian on Reddit):
Code:
echo "Disabling SystemUpdateService Battery Drain"
su -c pm enable com.google.android.gms/.update.SystemUpdateActivity
su -c pm enable com.google.android.gms/.update.SystemUpdateService
su -c pm enable com.google.android.gms/.update.SystemUpdateService$ActiveReceiver
su -c pm enable com.google.android.gms/.update.SystemUpdateService$Receiver
su -c pm enable com.google.android.gms/.update.SystemUpdateService$SecretCodeReceiver
su -c pm enable com.google.android.gsf/.update.SystemUpdateActivity
su -c pm enable com.google.android.gsf/.update.SystemUpdatePanoActivity
su -c pm enable com.google.android.gsf/.update.SystemUpdateService
su -c pm enable com.google.android.gsf/.update.SystemUpdateService$Receiver
su -c pm enable com.google.android.gsf/.update.SystemUpdateService$SecretCodeReceiver
echo "Script Execution Successful"
Method #2: Manually Running the Script
This method works best if you like working in the terminal or file explorer. Or if you would rather just do things yourself. Place the script above in the /etc/init.d directory and set permissions to 755. This time, however, you must run the script yourself EVERY TIME THE PHONE BOOTS. You can do this by using your file explorer, if it supports executing scripts (see output below) or running the script via Terminal.
Terminal: Run this command as root (type "su" and hit enter):
Code:
./etc/init.d/fixUpdateService.sh
File Explorer: I personally use FX (File Explorer), which is a wonderful app by the way, so the output in the screenshot below may be styled different but generally should appear the same:
Method #3: Enabling SystemUpdateService via App
Now, if you're a no frills kinda person, or just don't feel comfortable rummaging around in your filesystem or terminal, there is an app you can download called Disable Service which lets you do the same thing, just with a nice GUI. YOU MUST DO THIS EVERY TIME YOU REBOOT YOUR PHONE.
Steps:
Once installed, launch the app.
Then click the "System" tab on the top right.
Scroll down and select "Google Play services"
Scroll down to "SystemUpdateService" and CHECK the box.
Done!
There you have it! Hope this helps!
Great!
Method 1 doesn't work on hammerheadcaf 20150318 but Method 3 is working like a charm and the battery drain issue seems to be gone!
And CyanogenMod is going to deal with this issue before long:
http://review.cyanogenmod.org/#/c/91579/
http://review.cyanogenmod.org/#/c/91021/
Hello...
This only occurs in custom roms or it happens also in Stock Rom?
Thank you...
blackzigong said:
Great!
Method 1 doesn't work on hammerheadcaf 20150318 but Method 3 is working like a charm and the battery drain issue seems to be gone!
And CyanogenMod is going to deal with this issue before long:
http://review.cyanogenmod.org/#/c/91579/
http://review.cyanogenmod.org/#/c/91021/
Click to expand...
Click to collapse
Interesting, I'll try to see if I can edit the script to get it to work right. Make sure you enable the service with that app every time you reboot your phone.
Also, I've been reading those CyanogenMod discussions. Very interesting. Hopefully they tackle the issue soon and the solution makes its way into other ROMs
Kc_Nirvana said:
Hello...
This only occurs in custom roms or it happens also in Stock Rom?
Thank you...
Click to expand...
Click to collapse
As far as I know, this bug only affects custom ROMs.
Method 1 didn't work but method 2 and 3 worked. I believe the permissions for the script
should be 755 instead of 744.
Update : changing permissions didn't help either.
755 or 744? Screenshot shows 744 but instructions say 755. Assuming 744 is correct.
soundneedle said:
755 or 744? Screenshot shows 744 but instructions say 755. Assuming 744 is correct.
Click to expand...
Click to collapse
Permissions for init.d scripts should;d be 755. I'll update the picture to reflect that. Thank you for pointing that out.
Kc_Nirvana said:
Hello...
This only occurs in custom roms or it happens also in Stock Rom?
Thank you...
Click to expand...
Click to collapse
I'm experiencing the battery drain with stock HTC sense on my M8 and GP services 7.0.97. The battery usage is very high for GP services (e.g. 38% for screen off!) and the "awake" bar shows the phone awake even during periods of low usage--too many awake intervals.
Will init.d scripts work on CM11s?
CM fixed this a couple days ago with 2 commits. Hopefully all the ROM teams will incorporate it into their builds.
http://review.cyanogenmod.org/#/c/91579/
http://review.cyanogenmod.org/#/c/91021/
AndrasLOHF said:
CM fixed this a couple days ago with 2 commits. Hopefully all the ROM teams will incorporate it into their builds.
Click to expand...
Click to collapse
CM11s may not get another update though. I can confirm that the shell script doesn't work at startup on CM11S.
Edit: sorry didnt realise this was posted in the Nexus 5 section
Does this also effect cm11s?
Pretty important to add that for that 3rd Method to work you also have to enable that same SystemUpdateService in Google Services Framework. (In addition to enabling it in Google Play Services).
At least, that's what I've read on other posts/Google+ pages. I'm trying it now so do this at your own risk =)
Thanks for the script. Works for me, but only manually. I can't get it to work in the init.d at startup. It's in the folder, permissions 755. I'm not that into scripts - anyone who got it working mind for some tips?
humba80 said:
Thanks for the script. Works for me, but only manually. I can't get it to work in the init.d at startup. It's in the folder, permissions 755. I'm not that into scripts - anyone who got it working mind for some tips?
Click to expand...
Click to collapse
Your ROM may not support init.d. Mine doesn't and so I'm using tasker to run the script at boot.
Sandman-007 said:
Your ROM may not support init.d. Mine doesn't and so I'm using tasker to run the script at boot.
Click to expand...
Click to collapse
Tasker! Didn't think of it. Thank you!
Script works for me, but it doesn't solve battery drain: I have to use privacy guard to remove both keep awake and wake up...
Why you try these hard to stop the Systemupdate Wakelock??
See my guide here.Its simple as you like.No scripts included:http://forum.xda-developers.com/showthread.php?t=3060548
This is a permanent fix.No need to redo after reboots
vaisakh7 said:
Why you try these hard to stop the Systemupdate Wakelock??
See my guide here.Its simple as you like.No scripts included:http://forum.xda-developers.com/showthread.php?t=3060548
This is a permanent fix.No need to redo after reboots
Click to expand...
Click to collapse
Yup, but checking after the script mod, only keep awake permission was denied and I still got more than 8000 wake locks
gpvecchi said:
Yup, but checking after the script mod, only keep awake permission was denied and I still got more than 8000 wake locks
Click to expand...
Click to collapse
Did you try my fix?
I've attached screenshots there.
Tapped from my furious ZR

Categories

Resources