I've been working on implementing some stability and saving on battery for D2G CM9, I know that I have made arrangements that are small, but I've seen a difference when using them, that's why I share them with you.
Remember, I'm not dev, use this at your own risk
You must follow the instructions in the main post, here: http://rootzwiki.com...9-build-thread/
This work is focused on GSM users, CDMA users will not see any difference in this work.
All the credit goes to the lead developer bikedude880, x13thangelx and people who have collaborated to develop CM9
Changelog v1.2 :
Testing the / system / bin / battd to let go to deep sleep, (EXPERIMENTAL)
Added to build.prop:
#Wireless Speed Tweaks
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
#Performance
debug.sf.hw=1
persist.sys.ui.hw=1
debug.composition.type=gpu
debug.egl.hw=1
debug.egl.profiler=1
video.acelerate.hw=1
ro.kernel.android.checkjni=0
NOTE: Be careful when testing this version, the file battd is experimental, I've tried it and work for me.
NOTE 2 : If you find some tweak, to improve performance of the battery, or to repair something in CM9, share it here and add it to the rom.
Download: http://www.mediafire.com/?upb1crvh52csbft
Changelog v1.1 :
Some tweaks in /system/framework/framework-res.apk:
framework-res\res\values
true ( Unplug USB Don´t turn on screen )
true ( I like this )
Added UNLIMITED™tweaks from mv_style in build.prop to improve battery and Wireless, post here:
http://forum.xda-dev...d.php?t=1747697
######################
## UNLIMITED™TWEAKS ##
######################
# Power Saving Tweaks
pm.sleep_mode=1
# Disables data sent and logging
ro.config.nocheckin=1
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
# Website Bypass
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4
# Wireless Speed Tweaks
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
net.ipv4.tcp_ecn=0
net.ipv4.route.flush=1
net.ipv4.tcp_rfc1337=1
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.tcp_sack=1
net.ipv4.tcp_fack=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_wmem=4096 39000 187000
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_moderate_rcvbuf=1
# Signal Tweaks
persist.cust.tel.eons=1
Download v1.1: http://www.mediafire...1t871216x91g2fh
Changelog:
* Added bootmenu (tnks to wizard0f0s)
* Fixed Signal Strength ( only for GSM users ) I replace this files /system/framework/framework.jar/android/telephony/SignalStrength.smali and SignalStrength$1.smali
* Create file init.mapphone_umts.rc ( improve stability and fix Charge Only Mode for GSM users ) I add this file to /system/etc/hijack-boot.zip/newboot/
* Change the line ro.telephony.default_network=3 ( for GSM users )
Still need to add some fixes, which is why we need some testers, if anyone has any fix to add, please share it here and can be added to this rom, I have yet to edit the framework-res.apk to add a detail, but I need some time.
Warning: I could not test this rom, I hope tonight flash and report how it works.
Download: http://www.mediafire...7o7vbgp9ssbo7w5
Remember, I'm not dev, use this at your own risk
You must follow the instructions in the main post, here: http://rootzwiki.com...9-build-thread/
This work is focused on GSM users, CDMA users will not see any difference in this work.
All the credit goes to the lead developer bikedude880, x13thangelx and people who have collaborated to develop CM9
Changelog v1.2 :
Testing the / system / bin / battd to let go to deep sleep, (EXPERIMENTAL)
Added to build.prop:
#Wireless Speed Tweaks
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
#Performance
debug.sf.hw=1
persist.sys.ui.hw=1
debug.composition.type=gpu
debug.egl.hw=1
debug.egl.profiler=1
video.acelerate.hw=1
ro.kernel.android.checkjni=0
NOTE: Be careful when testing this version, the file battd is experimental, I've tried it and work for me.
NOTE 2 : If you find some tweak, to improve performance of the battery, or to repair something in CM9, share it here and add it to the rom.
Download: http://www.mediafire.com/?upb1crvh52csbft
Changelog v1.1 :
Some tweaks in /system/framework/framework-res.apk:
framework-res\res\values
true ( Unplug USB Don´t turn on screen )
true ( I like this )
Added UNLIMITED™tweaks from mv_style in build.prop to improve battery and Wireless, post here:
http://forum.xda-dev...d.php?t=1747697
######################
## UNLIMITED™TWEAKS ##
######################
# Power Saving Tweaks
pm.sleep_mode=1
# Disables data sent and logging
ro.config.nocheckin=1
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
# Website Bypass
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4
# Wireless Speed Tweaks
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
net.ipv4.tcp_ecn=0
net.ipv4.route.flush=1
net.ipv4.tcp_rfc1337=1
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.tcp_sack=1
net.ipv4.tcp_fack=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_wmem=4096 39000 187000
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_moderate_rcvbuf=1
# Signal Tweaks
persist.cust.tel.eons=1
Download v1.1: http://www.mediafire...1t871216x91g2fh
Changelog:
* Added bootmenu (tnks to wizard0f0s)
* Fixed Signal Strength ( only for GSM users ) I replace this files /system/framework/framework.jar/android/telephony/SignalStrength.smali and SignalStrength$1.smali
* Create file init.mapphone_umts.rc ( improve stability and fix Charge Only Mode for GSM users ) I add this file to /system/etc/hijack-boot.zip/newboot/
* Change the line ro.telephony.default_network=3 ( for GSM users )
Still need to add some fixes, which is why we need some testers, if anyone has any fix to add, please share it here and can be added to this rom, I have yet to edit the framework-res.apk to add a detail, but I need some time.
Warning: I could not test this rom, I hope tonight flash and report how it works.
Download: http://www.mediafire...7o7vbgp9ssbo7w5