║ROM║28 Oct*║r93║ -Synergy- ║Smoooooth║250mb+ free RAM║Sense 3.5║BEATS║Tweaks║ - HTC Sensation

║ROM║28 Oct*║r93║ -Synergy- ║Smoooooth║250mb+ free RAM║Sense 3.5║BEATS║Tweaks║
SynergySensation buildbox folder (click)
(Where you download it from )​
if you experience slow download speeds try here instead
​
SynergyROM Google Chat Room (click)
For issues PLEASE report HERE to get fixed
For the list of commits and changes look HERE​
**Show xRepinsSporx ads some love if you use the nightly download folder, I'm sure all the bandwidth were chewing is expensive**
Pyramid 2.08.401.1 base - Android 2.3.5 - Sense 3.5
{
"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"
}
CLICK FOR LIVE CHAT WITH ME AND OTHER USERS ON InfectedROM.com
FEATURES
-Includes Synergy Updater and Theme Downloader!
-DConfig App tune rom how you want, Why have 2 roms for sense/senseless, this one does it all! (see post2 for dconfig usage)
-GETS YOUR PRIVACY BACK- CIQ disabled, Dropbox/Reportin Disabled. HTCs checks mostly disabled (unable to write to disk, unable to send out hosts all set to 127.0.0.1)
-All headphones are now HTC Beats headphones (looks like a new SRS processing option, see here)
-Zeus StatusBar mods (see here and here for more info - HUGE thanks to ITHFP69 for the original smali)
-Virtuous OC Daemon (only use setCPU or this)
deodexed
-Rooted with superuser 3.0 beta
-Automatic davlik cleaner (removes stale files from dalvik cache to keep it clean)
-Automatic zipalign of system and data
-Autorenice to give phone/mms/android highest priorities
-Cleans up after old fr3vo methods
-Cleans tmp stuff/dalvik-cache/APK intents in packages.xml on flash (always should have clean upgrades)
-OpenVPN binary/bb & tun built in (ziggy kernel only see post 2 for setup)
-CIFS to access windows shares (ziggy kernel only see post 2 for setup)
-NFS/ext2/3/4 filesystems also enabled. (ziggy kernel only)
-Conservative/userspace/powersave/ondemand/performance governors (ziggy kernel only)
-Apps2SD (EXT4 support only on STOCK HTC. Ziggy kernel should allow -ext2/3! off by default see post2)
-Swapping (off by default see post2)
-Unlocked hotspot (thanks leoisright)
-5-in-1 reboot menu
-HTC Arrive ringtones added (thanks ziggy)
-CRT (THANKS CAPYCHIMP) & other full animations
-Text on battery meter
-Removed MMS compression
-Removed SIP wifi limitation
-Forced GPU UI rendering
-All apk's unpacked, optimized and the repacked
-Prioritized Rosie over othe apps
-Over 250mb free RAM if you use fast reboot at boot
-Native screenshot by pressing power+home
-RMK auto app install (will auto install anything in -/sdcard/SynergyROM/user.app/)
-Panorama enabled in Camera
-AmazingSense/RosieSettings added
-Google apps/framework, all latest HTC software updates & other apps updated
-Unlimited tabs in browser (well 255 )
-DSP manager (thanks cyanogen)
-EPST that allows all ## codes
-Removed some bloat (look on sdcard if you want that stuff back)
-GPS lock speed fix
-Process/network/kernel/filesystem tweaks
-ipv6 privacy enhancement (rfc4941)
-Perflock disabled by default (go buy setcpu to play)
-Busybox v1.18.4 (colors disabled by default)
-Full bash shell v4.1 (things like tab complete, color support, nano/vim are only -available over dropbear)
-Powertop (see post 2 for usage)
-Crond support (see post 2 for usage)
-Dropbear ssh access (see post 2 for setup)
-iwconfig/iwgetid/iwlist/iwpriv/iwspy for controlling wifi (see post 2 for usage)
-inaydyn dyndns hostname support (see post 2 for setup)
-System tools- rsync/netcat/nslookup
-Text editors- vim/nano
-Compression tools - 7zip / unrar
-Lostphone script (if you have bash/dyndns setup and loose your phone we ----have a script to find it again! currently WIP)
-Tweaks in settings with loads more options (thanks Romanbb originally and RCTeam)
-The Configurator, type 'su' then 'cc' into a terminal emulator (thanks smokin1337)
-Bricked kernel (sometimes)(THANKS show-p )
-Ability to odex the rom if you want! just run odex_system.sh in system/odexVlad and it will odex your filesystem (thanks vladnosferatu)
-Bravia engine video and photo enhancements (thaks tin2404)
Click to expand...
Click to collapse
Vote for us here!
Click to expand...
Click to collapse
TIPS
-Use 'Fast Reboot'' to free up RAM
-Download 'FasterFix' from the market to make your GPS work better
-Disable 'Compatibilty Mode' in Spare parts to make some apps fit the screen properly
Click to expand...
Click to collapse
BIG THANKS
neo, seo, coolexe, baadnewz, robocik, capychimp, virus, diamondback, flemmard, rmk, leedroid and everybody else that's helped
Click to expand...
Click to collapse
please pm me if i forgot you
Click to expand...
Click to collapse
DONATERS HALL OF FAME
salahag, salman saso, Hunteres, MacBryan
Click to expand...
Click to collapse
We try to follow good open source practices, leaving all of our stuff open via SVN so everyone can see our changes and help us grow. we try to give props where props are due in code, commits and our official posts. If we missed anyone please let us know and ill make sure its fixed. We expect other devs to do the same if they use part of our work, we wrote/build/modified most of our stuff custom so we know where its used - its upsetting to see our stuff elsewhere without the same respect back. If you like our work, click the thanks button, help contribute here, buy us a beer, whatever. We like to keep this fun but it does take time so appreciation is always welcome
Click to expand...
Click to collapse
--------------------​

Installation Instructions
Kernel/Versions
2.3.4
Stock HTC with Modded ramdisk (for now). Make sure to flash radio and such. NO OVERCLOCKING ON 2.3.4
Tun/CIFS/perflock disabled/lowered wifi voltage/other aweseomeness
Click to expand...
Click to collapse
NOTES
WE DO NOT OVERCLOCK THE CPU BY DEFAULT if you want to OC get setcpu or use the newly included Virtuous OC tools. ONLY USE ONE OR THE OTHER.
Ziggys still getting everything perfect the guy doesnt even have a Sensation so hes building kernels blind. Make sure to thank him!
****If you go to another kernel that does not extract our ramdisk you will break our services at least(dropbear/crond/inaydyn), and possibly the whole rom if it doesn't support pause before class start for init.d. please bug your kernel dev for a "universal" method that inserts ramdisk on flash for full compatibility!
Click to expand...
Click to collapse
INSTALL
-Reboot into recovery
-Wipe data/factory reset
-Flash ROM
-Reboot and Enjoy
Click to expand...
Click to collapse
POST INSTALLATION
Don't set up any accounts or restore any apps yet!
Click to expand...
Click to collapse
As soon as Setup is finished and HTC Sense has loaded - you must reboot, it will make it much more stable
Click to expand...
Click to collapse
Click to expand...
Click to collapse
--------------------​

Extras
EXTRAS
Click to expand...
Click to collapse
there aren't any! lol have a look in tweaks
Click to expand...
Click to collapse
--------------------​

FIXES/SVN ACCESS
Changelog is always available here - https://code.google.com/p/synergy-sensation/source/list
Our SVN Checkout address is - http://synergy-sensation.googlecode.com/svn/trunk/
**sorry if there are any bugs, but please report whatever you see and thell make there way into tomorrows nightly if you want to wait for a signed zip. If you ever want a newer update than whats posted you can also just use a SVN client to check out our google code, zip up your own image and flash. SVN export, SVN update, and svn clean are your friends. Also you will need to convert linebreaks to linux format instead of CR+LF or youll break scripts. see SVN doc for more info.
USING SVN
LiquidSolstice wrote an awesome guide for windows up here(THANKS)
OTHER OS
TrevE wrote a real simple svn script based on svnkit (java cross platform no install svn client) its barley tested but should do the job. It should get our latest, update export and zip all for you. The batch script is written for windows, but you can open in a text editor and run the same type of commands on *nix or whatever. Post is here
Click to expand...
Click to collapse
Whats this about Spyware?
HTC has hidden "features" in the framework. this is MORE than just CIQ being removed, there are actually services hard coded in the framework logging regardless. Apparently we all agreed to this _somehow_, even though to actually find any reference to this you need to go pretty deep in settings and LOOK for it.
Go to settings -> about phone -> legal -> htc legal. it explains what is uploaded :|
If you have ANY files that arent 0k in these folders, your logging is not disabled.
Code:
adb shell ls -l /data/system/usagestats
adb shell ls -l /data/system/appusagestats
adb shell ls -l /data/system/dropbox
Also in logcat you should see this:
Code:
I/SynergyRom( 4221): Trying To Disable DropBox Service
E/SynergyRom( 4221): Failure starting DropBoxManagerService. Horray!
I/SynergyRom( 4221): Trying To Disable User Behavior Logging Service.
E/SynergyRom( 4221): Failure starting UserBehaviorLoggingService. Horray!
Along with a failure if it ever tries to write still for whatever reason:
Code:
UsageStats( 4231): handleMessage msg=1
V/HtcAppUsageStats( 4231): (launch app, package): (HTC Sense, com.htc.launcher)
V/HtcAppUsageStats( 4231): handleMessage msg=1
V/HtcAppUsageStats( 4231): (launch app, package): (Connect to PC, com.htc.android.psclient)
E/SynergyHatesHtcAppUsageStats( 4231): noteResumeActivity
E/SynergyHatesHtcAppUsageStats( 4231): java.lang.Exception: Patched Check By Synergy.
E/SynergyHatesHtcAppUsageStats( 4231): at com.android.server.am.HtcAppUsageStatsService.addULog(HtcAppUsageStatsService.java:646)
E/SynergyHatesHtcAppUsageStats( 4231): at com.android.server.am.HtcAppUsageStatsService.notePauseActivity(HtcAppUsageStatsService.java:703)
E/SynergyHatesHtcAppUsageStats( 4231): at com.android.internal.app.IHtcAppUsage
StatsService$Stub.onTransact(IHtcAppUsageStatsService.java:110)
E/SynergyHatesHtcAppUsageStats( 4231): at android.os.Binder.execTransact(Binder.java:320)
E/SynergyHatesHtcAppUsageStats( 4231): at dalvik.system.NativeStart.run(NativeMethod)
E/SynergyHatesHtcAppUsageStats( 4231): noteResumeActivity
E/SynergyHatesHtcAppUsageStats( 4231): java.lang.Exception: Patched Check By Synergy.
E/SynergyHatesHtcAppUsageStats( 4231): at com.android.server.am.HtcAppUsageStatsService.addULog(HtcAppUsageStatsService.java:646)
E/SynergyHatesHtcAppUsageStats( 4231): at com.android.server.am.HtcAppUsageStatsService.notePauseActivity(HtcAppUsageStatsService.java:703)
E/SynergyHatesHtcAppUsageStats( 4231): at com.android.internal.app.IHtcAppUsageStatsService$Stub.onTransact(IHtcAppUsageStatsService.java:110)
E/SynergyHatesHtcAppUsageStats( 4231): at android.os.Binder.execTransact(Binder.java:320)
E/SynergyHatesHtcAppUsageStats( 4231): at dalvik.system.NativeStart.run(NativeMethod)
He wrote up more here
Click to expand...
Click to collapse
DCONFIG GUIDE
Dconfig lets you tune this rom exactly how you like it. instead of hardcoding tweaks we expose all of our settings and let you choose. there is never a "one size fits all" when it comes to performance settings so why not let each user customize how it runs?
The default rom setting are contained in /system/etc/dc.conf these are updated to our liking which is usually a daily driver setting.
The first time you run dconfig it will load these settings into each screen. From here on after you save your settings are written to /data/data/com.damaged.DConfig/dc.conf and will stick with you every rom flash.
Most settings are only triggered after a full reboot, not waking from hibernate. You need init.d to be triggered, if your unsure adb reboot will always work
The most common settings people change I will explain here, there is also some text inside dconfig:
Storage control
Main Page (A2SD)-
This has your typical a2sd options, but has been beefed up for synergy rom. move your apps to sd, move dalvik to cache partition or sd. dalvik-cache can get very big on this device, so be careful moving it to /cache if your going to install many apps!
For a2sd to work, you _MUST_ have your sd partitioned with ext4 if you are on stock HTC kernel or ever plan to go back and have a2sd work. ext2/3 available as partition 2 in ziggy kernel. The layout should be as follows:
partition 1 - vfat (regular sd card partition)
partition 2 - ext4 for a2sd
partition 3 (optional) - swap partition
Click to expand...
Click to collapse
Banned App support (storage control pg2)-
Make sure your sdcard is not mounted before opening this option. All APKS will be moved to /sdcard/SynergyROM/disabled/ and on each full flash will not be reinstalled. It will appear hung when file operations are going. Also there is no confirmation on unban, it just goes. Deal Ill fix it in a later revision.
Theres two options, Automatic & Manual. Automatic is what comes up by default. Choose an operation and It will select all the default apks used to do what you chose, click to remove anything you dont want t remove then press menu save to save.
For Manual Mode press menu, Choose option 1. Select APKs you never want to use. Press menu go to step 2 to confirm, then press menu and go to save.
Click to expand...
Click to collapse
Basic Settings:
Zipalign on boot: This will add a few seconds to each boot, but will run through your /system/app and /data/app for files that are not zipaligned and automatically do it. this is recommended to leave on, as not all market apps zipalign there stuff if it is written for older SDKs or whatever.
Lowmemkiller: we have many preset lowmemkiller values. This is very important to the end user experience as everyone has different needs here. People run sense with a bunch of widgets, lots of syncs, like having stuff open should set this to a low number to keep things running. People that want dead apps to die right away and are looking for fast performance for what they are doing should set to a high number.
High Mem/Lowmem * - The first 3 values in lowmemkiller are optimized for devices with large memory and vice versa.
The number you choose after the highmem/low mem configures the next 3 values for lowmemkiller. these are things like empty processes, services that arent being used, etc. So if you choose 250mb, you will always have around that showing for free memory, but its going to be very aggressive killing applications off. If you use sense and kill things too aggressively you may notice stuff like widgets dying. Our automatic renice script tries to deal with this by setting them to high priorities, but your mileage will vary. I usually leave mine around a 100/150, i have alot of syncs and stuff always running.
Dalvik Heap Size: this is the maximum amount of heap space a single application can have before garbage collection comes off and cleans stuff out. Some apps want more, and less GC == less cycles == better battery but the bigger you set this the less stuff can sit in memory before it gets killed off.
Click to expand...
Click to collapse
Advanced Settings:
Scheduler - basically controls how IO works. noop/cfq/deadline are the 3 choices, CFQ is default HTC setting. noop is first in first out and really basic, should be OK for device but id love to see benchmarks. you can read more on schedulers here & related pages - https://secure.wikimedia.org/wikiped...Noop_scheduler
ReadAhead - this setting is in KB, it should improve sequential reads from mmc. 2048/3072 is probably a sweetspot, but once again id like to see some benchmarks!
Click to expand...
Click to collapse
SYSTEM TOOLS & INFO
our services are hardcoded in our ramdisk. if you go to another kernel you will likely break these.
Dropbear - SSH shell
Inaydyn - DYNDNS hostname support
Arenice - Sets stuff like mms/phone/sense to highest "nice" priority. this should have lowmemkiller kill them off last.
Perfkill- Loads setcpu perfkill module by default. If you go to another kernel disable this.
DROPBEAR / INAYDYN guide
Disk Info- Shows disk partition free space
Net Info- Shows current IP address
Mount Ro/RW - Obvious
Click to expand...
Click to collapse
Other fun
Open VPN/CIFS
OpenVPN and CIFS combined is sickkk. You can do things like vpn to your home and have a symlink on your sdcard to all your home files. forget dropbox this is encrypted
explained over here
iwconfig - this lets you set wifi transmit power. download "wifi tx power" from market or run the following commands
adb shell iwconfig eth0 txpower X
X == txpower(in dBm). 32/25/18/11/4
to make sure it set run
adb shell iwconfig
and look at TX-Power (3rd row down)
Nano/Vim - These are command line text editors, useful for editing stuff quickly. they look ugly in adb shell but over dropbear look pretty
Custom bash environment stuff -
you can set custom bash environment stuff in /system/etc/profile if you _never_ us adb shell (or dont care about ugly colorcodes) and want to exclusively use dropbear you can turn colors on universally here.
Click to expand...
Click to collapse
TROUBLESHOOTING BATTERY
Dconfig Process Info - This is the first thing ill ask for troubleshooting battery. After you have flashed and gone through a full power charge/discharge cycle, before you reboot your phone click dconfig process info and paste it here. It must be from when you were running through for a long period of time to make any sense.
Powertop - From adb shell with your phone screen off run "powertop" This shows number of wakes per second so you can see if you have rogue processes chewing wakeups causing your phone not to sleep
Logcat - adb logcat with screen off will show you if you have runaway apps doing stuff they shouldnt.
Battery Stats - android battery stats can sometimes get whacky especially if you wipe data often (battery stats are in /data/system/batterystats.bin) Calibrating your battery with android is always recommended
Click to expand...
Click to collapse
Click to expand...
Click to collapse
--------------

OC Daemon
diamondback2010 said:
Introduction to the new Overclocking Daemon
The History
but before explaining it further, let's talk about previous solutions.
There are several different approaches to archieve "screen-state-scaling".
That means basically that the govenor changes if you turn the screen off and changes back to normal when turning the screen on.
This is mainly used to restrict the amount of cpu usage (the frequency in fact) during screen off. This can lead to a major battery life increase.
The solutions so far were:
app like setcpu, which change automatically the govenor based on profiles
integrated solutions in the govenor itself
both these solutions have major problems.
The one with a tuner app is always a little laggy right after turning on the screen because setcpu (or any other cpu tuner) needs some time to change the govenors (up to 7 seconds). This leads mostly to major lag in the lockscreen.
The second solution is the smartass govenor. it has already a screen-state-scaling included, so it reduces the frequency when the screen turn off.
This could be a really nice solution but it has some problems too.
Smartass most of the time is not really stable and has problems with its frequency scaling.
State-of-the-Art-Solution
so we (more precisely rmk40) thought of a better solution.
He wrote a native oc daemon which changes the govenors instantly without any lag.
this leads to major performance improvements right after turning on the screen and in the lockscreen.
But at the moment this solution is a little bit harder to configure. We are plaing to make a gui for this, so you get the same comfort as using setcpu.
Nevertheless you can even now adjust the daemon to your needs.
be aware that the daemon only works if all cpu tuner apps are deinstalled. otherwise it deactivates itself.
How to Adjust the Daemon
the daemon is configured with 6 files in the folder /system/etc/virtuous_oc/.
There are 3 files for the wake state and 3 for the sleep state. For each state one file for the govenor, one for the minimal frequency and one for the maximal frequency.
You can easily edit these with the new Virtuous OC controller app
Click to expand...
Click to collapse
Click to expand...
Click to collapse
--------------------

Known Bugs
please report on them

Screenshots
haha, and do i need this one? probably not, but im having it anyway

Works great, very fast and smooth
Thanks
Sent from my HTC Sensation Z710e using XDA Premium App

If you get HDR and Pano working, and remove the mirror apk I believe I might have to switch.

awesomecomb said:
If you get HDR and Pano working, and remove the mirror apk I believe I might have to switch.
Click to expand...
Click to collapse
ive got them working just not properly yet... and why do you want mirror removed?

Wow! Great work!
I'm looking forward to this, especially the 3D tilt enable/disable thingy is very nice for me.. 3D tilt = Useless

it will support arabic language mate ???

Would I be able to flash this on a Tmous .0008 phone without problems? (Like a data problem maybe?)
Sent from my HTC Sensation 4G using XDA App

an other reason i would like to have a sensation ^^
Good work Damo ! as always

*damo* said:
ive got them working just not properly yet... and why do you want mirror removed?
Click to expand...
Click to collapse
HA. Clutter drives me insane, and I think of mirror as a junk app. I've heard it's hidden within camera.apk somewhere.

looking forward to this.. will it still have sense 3.0? (i hate sense lol)

I'm also looking forward to this. I remember when I used to port your Desire ROM to the HD2, good times. I hope you can get to optimize it as much as you optimized it for the Desire. Thank you Damo!

ringrover said:
it will support arabic language mate ???
Click to expand...
Click to collapse
Not yet, but it will
Sammydr10 said:
Would I be able to flash this on a Tmous .0008 phone without problems? (Like a data problem maybe?)
Sent from my HTC Sensation 4G using XDA App
Click to expand...
Click to collapse
lol, no idea but the best way to find out is to try it later
awesomecomb said:
HA. Clutter drives me insane, and I think of mirror as a junk app. I've heard it's hidden within camera.apk somewhere.
Click to expand...
Click to collapse
It is indeed
Derek0228 said:
I'm also looking forward to this. I remember when I used to port your Desire ROM to the HD2, good times. I hope you can get to optimize it as much as you optimized it for the Desire. Thank you Damo!
Click to expand...
Click to collapse
Very optimised check the screenshot for RAM
(using inbuilt screenshot feature )
HTC Swyped from my Sense 3 Desire using XDA Premium

*damo* said:
Not yet, but it will
lol, no idea but the best way to find out is to try it later
It is indeed
Very optimised check the screenshot for RAM
(using inbuilt screenshot feature )
HTC Swyped from my Sense 3 Desire using XDA Premium
Click to expand...
Click to collapse
Woot woot woot!
PM'ed you...

OMG, can't wait for this rom, seems so nice.
I love all you graphic features that you describe, like the transparent drawer
btw, can you add the CRT animation?
Will flash it when it's up, for sure !
Any idea when do you release it?
EDIT: Shame on me, you've added the CRT animation, no problem lol

Related

4/27-DConfig 1.2-NEED TESTERS! GUI for custom Apps2SD,New Dalvik Tweaks,JIT,Swap,more

I decided to start a new thread for sanity purposes, the last one is already getting too big to scroll through. Here is the first release of my GUI + updated script that easily configs rom options. I tried to write this as generic as possible so we have the most room for upgrade in the future. Right now its pretty ugly but alot works. I need testers to play around with this, theres no way i can test every possible rom and every possible switch.
This should work with any kernel that runs app2sd, just needs a slight tweak to the init.rc to make sure apps2sd directorys are setup before launching the rom. This takes alittle bit more time to do it properly. Ill be posting a few different flavors for various roms out there. If you have a bug, please adb logcat _really_ helps. Also rom version you are on, and a copy of your /data/data/com.treve.dconfig/dc.conf & dcbannedapp.conf, i also have started to implement logging, /data/dcboot.log will help. sorry for files all around next version will fix alot. This requires toolbox (needs getprop/setprop) everything else should be included.
pretty much flash the right version over your rom, set your options, save, reboot & enjoy. shouldnt be much more to it. if you get forcecloses upgrading or after restoring apps wipe your /data/app-private/* some apps dont play nice. first boot will take _forevor_
Defaults are apps2sd with apps & app-private moved, dalvik on phone, swap to SD, JIT off. **it does not read back options saved so use other methods to tell if its working till next build **
Contact me if you want to put this in your rom or help me out!
Downloads:
v1.2 -
-Adds in dalvik VM heapsize settings
-fixes permissions a bit
-backend work for audio move underway
v1.2 downloads-
Damage/Fresh2.0d/Sushi/Aloysis kernel - http://www.4shared.com/file/d2UVEYLJ/treveDConfigDCKERNELv12.html
v1.1 -
Adds in restoring of configs capability. Need to manually hit the button to restore for now.
sets by default to "safe" settings. Should increase compatibility. Users of previous versions once you save your settings once they should stick on upgrades until you wipe the device
V1.1 Download (tested flashing ontop of damagecontrol & pancake 0.1)
Damage/Fresh2.0d/Aloysis (2.6.29-d30020a8) - http://www.4shared.com/file/vFIOghLT/treveDConfigDCKERNELv11.html
v1.5 gumbo (2.6.27GK-0.32) - http://www.4shared.com/file/4KolEQTJ/treveDConfiggumbo15ckernelv11.html
v1- first release
-newer a2sd then previous release
-set config options in gui
-initial configs write to /system/etc/ for now my GUI writes to /data/data/com.treve.dconfig/ a2sd will prefer the ones in data/data/ if they exist. this should allow for rom cookers to put in there recommended settings, but if your flashing over a existing rom without a wipe it will keep all your preferences. This is nice because we get stuff like auto remove of apps we dont use without romcookers putting out over 9000 roms.
-GUI DOES NOT READ BACK CONFIGS YET. This will come next version. For now once you exit form it will revert to defaults so you will not beable to see what you have set once you exit. (main settings & banned apps are on 2 different configs, you do not need to save both pages when making changes.)
-No icon or package name. Deal with it - you get functional or pretty. Ill clean stuff up later.
v1 downloads-
Damage kernel(2.6.29-d30020a8) - http://www.4shared.com/file/P_IlAvUs/treveDConfigDCKERNEL.html
Fresh kernel from 2.0d (untested by me) http://www.4shared.com/file/FQYFsuJa/treveDConfigfresh20dkernel.html
Gumbo 1.5c (realllly untested) http://www.4shared.com/file/hK9k7g-Q/treveDConfiggumbo15ckernel.html
{
"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"
}
Here is the backend settings that are possible. This stuff might be jibberish to most but with gui now it shouldnt matter to more than rom cookers or people who like to tinker.
**NOTE COMMENTS STILL HAVE 0 AND 1 NEW VERSION USES TRUE/FALSE**
/system/etc/dc.conf is the heart of this mod now. Dont try to delete variables or the conf file, scripts not smart enuf to check for that yet.
Code:
#DC Config file
#Hacked up by TrevE @ xda for damagedrom
#
#dc.a2sd.active - disables all a2sd
#dc.a2sd.apps.active - 0 moves all files to /data/ - 1 moves to /sdcard/data/ can be controlled seperate from a2sd.active
#dc.a2sd.dalvikcache.active - 0 keeps files on /data/ - 1 moves to /sdcard/dalvik-cache/
#
#dc.swap.active - 1 auto mounts sd card partition mmcblk0p3 for swapping. 0 keeeps it at mtdblock4
#dc.swap.swappiness - Range: 0 - 100, larger number = more likely to swap
#dc.jit.active - 1 to enable JIT next boot (make sure to switch to lancher as a defalt home first) 0 to disable.
#dc.bannedapp.active - 1 enables ban list (renames .apks to .dcbanned) defaults are set to programs that interfere with JIT
#dc.firstboot.active - check for firsboot script in /data/ on boot
#dc.zipalign.active - zipalign anything that needs it in /data/ on boot
#
# scaling_governor has 2 settings with HTC Perflock "ondemand" or "performance"
# lowmemkiller default rom settings - 1536,2048,4096,5120,5632,6144
# lowmemkiller less agressive settings - 1536,2048,4096,5120,15360,23040
# lowmemkiller more agressive setting - 1536,3072,4096,21000,23000,25000
#A2SD specific stuff script
setprop dc.a2sd.active true;
setprop dc.a2sd.apps.active true;
setprop dc.a2sd.dalvikcache.active true;
#Other system parms
setprop dc.swap.active false;
setprop dc.swap.swappiness 30;
setprop dc.jit.active false;
setprop dc.bannedapp.active false;
setprop dc.firstboot.active true;
setprop dc.zipalign.active true;
#Former gumbo.sh settings
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "1536,3072,4096,21000,23000,25000" > /sys/module/lowmemorykiller/parameters/minfree
==================="Basic" Options===================
Apps2SD
-Default is dalvik & apps are moved to sd. (Does not hurt to leave enabled if you are not using it.)
-if you have a slower SD card it might be better moving dalvik back to internal memory.
You can enable/disable dalvik & app move separately. To move dalvik back to SD:
Changing any options are easy. For example - To turn just dalvik sd cache off:
start -> run -> cmd
defaults are in:
adb pull /system/etc/dc.conf .
if you used dc tool use the one in data data:
adb pull /data/data/com.treve.dconfig/dc.conf .
open up dc.conf in notepad. Change the one line
setprop dc.a2sd.dalvikcache.active false;
to
setprop dc.a2sd.dalvikcache.active true;
push it back to phone
adb remount
adb push dc.conf /system/etc/
Click to expand...
Click to collapse
-New users any time just format ext(2 or 3) in recovery to enable. Next boot it will automatically move your apps. If you get any FC after a new enable of a2sd try Fix apk UUID option in recovery
AutoZipalign
-On by default.
anything written with newer dev kits should do this automatically, but there are still a buncha market apps that arent. This just goes through /data/app/ on boot and checks that everythings aligned and fixes what it needs to. Fixes some of the rosie lag loading the icons.
more here http://developer.android.com/guide/developing/tools/zipalign.html
scaling_governor
-Set to ondemand by default
Just change word in quotes. With HTCs 2.6.29 kernel we have two options (until someone gets us source)
-performance
-ondemand
lowmemkiller
-Set to more aggressive by default.
To change just edit numbers in double quotes on the lowmemkiller line in dc.conf.
Common values: (included at top of conf but here again for reference)
Code:
# lowmemkiller default rom settings - 1536,2048,4096,5120,5632,6144
# lowmemkiller less agressive settings - 1536,2048,4096,5120,15360,23040
# lowmemkiller more agressive setting - 1536,3072,4096,21000,23000,25000
DCBannedapp.conf
-default is off
*If this "banned app" flag is set it will rename any file in /system/etc/dcbannedapp.conf to .banned. When its set back to 0 it will "re-enable" them. Right now dcbannedapp.conf cannot have anything but a full filename (/system/app/Rosie.apk), one per line.
*if the delete banned app flag is on anything in this list will be deleted instead of renamed. No going back.
This is useful in a few ways-
-if you enable JIT we can put a list of banned apps (htc stuff) to increase stability. If you want to disable JIT just flip to flags and you have sense again.
-rom cookers can just post config files to have several different versions of a rom from one download (for ex: sense/no sense version)
Here is an example of dcbannedapp.conf I have been playing with. This strips sense out & gets you down pretty bare bones. (Yes there is more we can remove, i trimmed this list up a bit when we were having issues. now that things seem stable its time to cut out more )
Code:
/system/app/com.htc.MusicWidget.apk
/system/app/com.htc.TwitterWidget.apk
/system/app/com.htc.StockWidget.apk
/system/app/com.htc.WeatherWidget.apk
/system/app/DCSStock.apk
/system/app/Facebook.apk
/system/app/Flickr.apk
/system/app/HtcAddProgramWidget.apk
/system/app/htccalendarwidgets.apk
/system/app/htccontactwidgets.apk
/system/app/HtcClockWidget.apk
/system/app/HtcLockScreen.apk
/system/app/htcmailwidgets.apk
/system/app/htcmsgwidgets.apk
/system/app/HtcNaviPanel.apk
/system/app/HtcRingtoneTrimmer.apk
/system/app/htcsearchwiddgets.apk
/system/app/HtcSoundRecorder.apk
/system/app/HtcTwitter.apk
/system/app/IM.apk
/system/app/IQRD.apk
/system/app/OMADM.apk
/system/app/Rosie.apk
/system/app/SDSA.apk
/system/app/Sprint_Core.apk
/system/app/Sprint_NFL.apk
/system/app/Sprint_Nscar.apk
/system/app/Sprint_TV.apk
/system/app/Sprint_TVWidget.apk
/system/app/Stock.apk
/system/app/VoiceSearch.apk
/system/app/WidgetDownloadManager.apk
/system/app/WorldClock.apk
firstboot
-default is on
script in /data/firstboot.sh will run automatically on nextboot if it exists. Auto deletes when done right now (new flag soon)
===================Advanced Options===================
Handle with care
Swapping
-Swap is disabled by default.
-If you have a fast card you can turn it on by pulling /system/etc/dc.conf and changing
setprop dc.swap.active false;
to
setprop dc.swap.active true;
More about swapping here (in same article as compcahe, not the same) http://wiki.cyanogenmod.com/index.php/Compcache
If you look at benchmarks below my guess is the lower swap is better with quick burst reads but when you swap moree and more out the card (or the bus) hits a limit a starts to choke. Went back down to 30 an result were right around 4.6 for copy mb again.
JIT
**JIT does not play nice with rosie or HTC lockscreen**
Enable bannedapp flag & put any conflicting files in /system/etc/dcbannedapp.conf This will let you switch between JIT compatible stuff/ non JIT on the fly.
To enable JIT:
-first use homeswitcher to switch to anything becides rosie and make it default (included lancher.apk in update).
-Now you must adb shell rm /system/app/HtcLockScreen.apk
-Now pull /etc/dc.conf and change
setprop dc.jit.active false;
to
setprop dc.jit.active true;
reboot & enjoy
===================Fixes===================
-Avaulaunches modded AudioRC fix to work with this. Flash the latest mod above then this ontop of it right after.
http://www.4shared.com/file/9mEpJR-0/AvalaunchRCFix_ForTrevEMod.html
-If you get bootloops upgrading try whacking private apps
Code:
adb remount
adb shell rm /data/app-private/*
adb shell reboot
-If you want to stick with JIT & have no use to ever enable the banned apps again you can delete em
Code:
adb remount
adb shell rm /system/app/*.dcbanned
===================Benchmarks===================
linkpack/membench seem relevant here, neocore doesnt really fluxuate in fps doesnt seem worth it.
(post yours & any tweaks you make!)
Here is with a2sd app & dalvik moved
Swap off, Swap @30, Swap @ 60(in order left-> right, yes 60 is worst.)
A2sd app/Dalvik/[email protected]/JIT on
JIT off /on:
finally a aps2sd I understand! This us amazing. Testing....
apps2sd working great on aloysis! You rock
Do I flash this over my Rom now. I am using Regaw.
redram38 said:
Do I flash this over my Rom now. I am using Regaw.
Click to expand...
Click to collapse
the damage control should flash over regaw fine. once you flash go into the app & tweak things how you want, then save & reboot for it to take effect. If you have a fast SD card the most common mods are moving dalvik to SD and swapping. JIT adds a nice speed boost as you can see by the benchmarks but isn't quite working in sense yet so make sure to disable sense in banned apps.
Going without sense is a bit weird at first but theres a buncha nice apps out there. check out helix launcher, beautiful widgets and bookmarks2. That with the android power widget & genie weather widget im pretty happy.
redram38 said:
Do I flash this over my Rom now. I am using Regaw.
Click to expand...
Click to collapse
That's what I'm about to do
I'm pretty sure he built this to run with "any" sprint based release
THANKS TrevE!!!
This is amazing. It's been awesome watching this come together, I can't believe you built this into an app. You sir are officially THE MAN
been playing around tweaking my settings. cant wait for it to save settings its wierd without it.
I appreaciate the work and all but it really needs an icon lawlz
thanx
sorry for the app being a bit crude still i wanted features to work rather than look good. Itll get better in time remember this is only a few days work i got alot more planned
Hopefully later on well have some kinda icon. Im close to being done with restoring states from a config now, probably wont see something till later tongiht though. Unless anyone finds bugs with the actual script itself it will ust be a new APK to push. Keep the reports coming in of successes or any issues!
TrevE said:
Going without sense is a bit weird at first
Click to expand...
Click to collapse
Do you know of any mobile data toggle widgets that actually work as a toggle and don't just take you to the mobile data settings when launched? I spent a few hours last night trying to find one.
Have you tried the htc settings widgets?
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
"fixes some of the rosie lag loading the icons.."
When I flash some ROMS, and my phone 'falls asleep', when I wake it back up, i get a black screen for a second, and then everything loads, is this what your talking about?
jAm-0 said:
Have you tried the htc settings widgets?
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
Click to expand...
Click to collapse
that's the widget i'd like to have emulated in helix
so how is this working out for people? Is everything working ok or are we crashing and burning? i got a new version that should keep your settings displayed even if you close out of the program. its looking like it will just be an APK because i havent had any bug reports (yet) dunno i thats a good thing or not...
HarveyStyles said:
"fixes some of the rosie lag loading the icons.."
When I flash some ROMS, and my phone 'falls asleep', when I wake it back up, i get a black screen for a second, and then everything loads, is this what your talking about?
Click to expand...
Click to collapse
the rosie lag i was talking about is if you pull up an app tray and quickly scroll down. I can usually tell you the non zipaligned apps because it pauses for a second loading their icons usually. everything feels generally faster though JIT makes a nice difference. Try it and see
aiwetir said:
that's the widget i'd like to have emulated in helix
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=652626&highlight=manup+widgets
Gregalous said:
http://forum.xda-developers.com/showthread.php?t=652626&highlight=manup+widgets
Click to expand...
Click to collapse
those are a pretty damn close match to HTCs good find im sure some people will like that. JIT is def worth ditching sense, the phone feels so much faster senseless anyway and the added megaflop JIT gives is always nice. I went with the android power widget, kinda like having it all one one strip saves some space.
thanks for the link!!
i like the 1x5 power widget but it's not got every toggle i want.
why am I getting reboots?
Everything appears to be working, then I plug my phone into the PC vis usb and that screen freezes on me then reboots. Or I'm checking space on the phone and my sdcard, and that screen freezes and reboots on me.
I partioned my card to ext2 -- ext3... with 32swap and 512...
Help, not really sure what is going on, just keeps rebooting on me over and over again now.
Ok, this sucks! I did a nandroid back to before I had my sd card partioned, and now I get constant reboots (phone goes asleep, then will not awake right away, but instead awakes in a reboot).
How do I unpartition my card?
Which one of these would I use on Aloysius 2.0.5b?

[ROM] DamageControl v3.2.x | Check post #2 for updates this week!

DamageControl v3.1.2 - http://www.damagedroms.com
FULL Flash support, JIT, DConfig, Bug Reporter, ROM Manager, 4G, much more
I am proud to present DamageControl ROM for the HTC Evo! The ROMs our team releases are always focused on stability, speed, and ease of use. My partner, TrevE and I, continue to present ROMs that are easy to update through an application that is bundled with the ROM, DCUpdater (based upon cm-updater). We also have bundled applications that let you modify advanced Android settings as well as other applications that will let you customize advanced settings of the ROM.
Another application that we bundle is an application that lets you submit bugs. This way, you can get personal help in problems you have with the ROM!
We usually release new ROMs every two-to-three weeks.
We have found that with our tweaks, that battery life has greatly improved. From our results, we have had much more than sufficient battery life. We have also sped some things up a bit, and made other small tweaks.
Download:
v3.1.2
http://dl.damagedroms.com/3.0/DamageControlv3.1.2-deodexed.zip
**Because I am getting married this week, I will be unavailable to post the new updates for DamageControl. Please check post #2 for updates.**
==== Older Versions ====
v3.1.1
http://dl.damagedroms.com/3.0/DamageControlv3.1.1-deodexed.zip
v3.0
http://dl.damagedroms.com/3.0/DamageControlv3.zip
http://www.sprintdroids.com/roms/DamageControlv3.zip
Changelog:
v3.1.2
-FULL Flash support
-Fixed Wifi and 4G
v3.1.1
-Fixed version of 3.1. Sorry for the headache. Fixes boot issues, phone issues, etc
-New Dconfig with new advanced settings.
*Just so everyone's clear DConfig modifies the WAY the kernel handles stuff. It is not a new compiled kernel nor have we
claimed it to be.
You can read up on some of these settings we're playing with here:
http://www.redhat.com/docs/wp/performancetuning/rhel4_vm.pdf
v3.1
**You must be using toasts latest root method for this to work properly. Recomended you flash latest radio as well**
*2 versions now, odexed/deodexed. -
Some people have a preference so we're including both, theres been plenty of argument on what's better/faster
deodexed makes apks "portable" but takes up more space and is needed if you want skins.
odexed has a quicker first boot but skins cannot be applied.
-Initial version of dconfig for evo included
-Added HTCmusic back in
-Added RomManager
-Firstboot zipalign of /system/ and uid fix (first boot will take awhile, just wait it out & watch logcat)
-updated vending
-fixed up qik/quickboot
-permissions on /system/bin/ip set to fix 4g isuses
-some skins are back, checkout DCUpdater! We will be adding more as we get to it - if you want to see your themes in
dcupdater contact us!
-Updated wifitether to 2.05-pre2
-dcupdater
-added in dconfig backend. (gui needs a little rework, back next version). Dont mess with /system/etc/dc.conf much
unless you know what your doing
-few kernel tweaks set to try to help out battery. tuned dirty writes, dalvik cache, scheduler & more.
-wifitether/geniewidget/3d gallery w/MT
-Updated DCUpdater
-ROM Manager
-Added our website bookmark by default!
v3.0
-piratemedia music apk with rotate, gesture controls + more widgets
-silenced boot
-host file to block ads
-moved some stuff over to data for easier updates.
-added ChainsDD SuperUser2.1
-added quickboot
-removed stock, flikr, footprints, gsd due to being battery hogs
-added busybox, auto zipalign of /data/app/, dcpowertop (run from adb shell to see wakeups), plus more goodies...
-Updated DCUpdater
-ROM Manager
-Our website is now bookmarked by default
I normally do not ask for donations, however I am getting married soon and could certainly use help! You can help me out by clicking here.
You can also donate to my partner TrevE by clicking here.
Check out our new website (although more big changes are coming to it soon!) at http://www.damagedroms.com
Post #2 by TrevE also has more information on DamageControl ROM.
Follow me on twitter for the latest DamageControl news!!
Latest Download:
**DAMAGE IS GETTING MARRIED THIS WEEK!! (congratz man) I WILL BE KEEPING UP POST 2 WITH LATEST INFO UNTIL HE GETS BACK**
warning
Read this post, its your user manual. 99% of the stuff you are going to ask will be somewhere below. at least press CTRL + F and make a effort.
If you cant fix it, dont flash it.
oh yeah, this says it well too
krizno said:
"evo you look good won't you back that nand up, damn that rom is fine won't you back that nand up, dude that's a sweet theme won't you back that nand up, what a cool lock screen won't you back that nand up"
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Latest Version- DC 3.2.3
I HAVE COMPARED THE RUU JUST RELEASED TO THE OTA FILES WE USED TO START WITH FOR THIS RELEASE WE ARE 100% MATCH. SEE THERE WAS NO REASON TO WAIT WE HAVE HAD RIGHT FILES IN THIS SINCE THE DAY THE OTA WAS RELEASED!
ALSO NOTE 3.2.2 AND HIGHER REQUIRE NEW RADIO AND WIMAX UPDATE FOR 4G!!! SEE BELOW FOR MORE!
===============
LINPAQ HALL OF FAME
===============
Post your best linpaq scores and ill throw them up here.
12.003 -Jykinturah - http://forum.xda-developers.com/showpost.php?p=7113677&postcount=5443
11.976 - Jykinturah - http://forum.xda-developers.com/showpost.php?p=7112414&postcount=5411
11.768 jmxp69 - http://forum.xda-developers.com/showpost.php?p=7177119&postcount=6259
11.469 -nize2beme - http://forum.xda-developers.com/showpost.php?p=7110505&postcount=5356
11.349 - jonesdana - http://forum.xda-developers.com/showpost.php?p=7110712&postcount=5361
11.349 - welrope - http://forum.xda-developers.com/showpost.php?p=7107594&postcount=5247
11.325 - jonesdana - http://forum.xda-developers.com/showpost.php?p=7102111&postcount=5138
10.698 - welrope - http://forum.xda-developers.com/showpost.php?p=7107368&postcount=5241
========
Changelog -
========
dc 3.2.3
Mirror http://www.4shared.com/file/0Qsusd3V/DamageControlv323_deodexed.html
LWP FIX - &postcount=4676
-Newer versions of System APK including youtube (fixes hd issue), 3D Gallery with multitouch EVERYWHERE, rotation, and camera resolution limit removed + MORE!
-updated wifitether to 2.0.5-pre2 (infrastructure mode) and moved to data for easy updates
-Added new option in dconfig to renice system processes. Causes important stuff to be last to be swapped out, makes for lower ring delay/mms delay when phones sleeping and less cpu load if it is swapped out and needed.
Its a ghetto implementation right now, it runs it on first boot only. If processes DO get killed/startup with different PID settings go away.
-New battery saver profile. If you had this profile before you will be shunted down to usercofig. Resave with battery saver to use new settings.
-DConfig backend work
-Fixed some symlinks
-Flash Tweaks
-Audio tweaks (FLAC and more)
-live wallpapers tweaked
-some protection against future ota updates without resigning apks. (Dcupdater > Sprint rootkilling updates)
Click to expand...
Click to collapse
Older Builds:
dc 3.2.2.1 deodexed- http://www.4shared.com/file/0shR7Fa6/DamageControlv3221_deodexed.html
Click to expand...
Click to collapse
fixes qik fc, teeter fc, 4g issues, dcpowertop & flash from wipe
if your having 4g issues with this see below.
3.2.2 DEODEXED - http://www.4shared.com/file/WaUHnfVo/DamageControlv322_deodexed.html
3.2.2 PATCH - http://forum.xda-developers.com/showpost.php?p=7000212&postcount=3233
above patch should fix dcpowertop, flash teeter, qik, maybe nebs htc kb issue. flash ontop of dc 3.2.2 after booting it once. Read the post. it will be a long boot (wiped dalvik in update)
Click to expand...
Click to collapse
-New build based on Todays Sprint Release.
-New DConfig look! DO NOT USE WIRELESS N IT SHOULD BE ENABLED ALREADY FROM SPRINT
-Themes are not in DCUpdater yet. I deodexed the framework and am not sure if anything changed.
DC 3.2.1
3.2.1 Deodexed - http://dl.damagedroms.com/3.0/DamageControlv3.2.1-DEODEXED.zip
3.2.1 Deodexed Mirror - http://www.4shared.com/file/lFl2DbLs/DamageControlv321-DEODEXED.html
Click to expand...
Click to collapse
-JIT Stability fixes. Its still not perfect but getting better:
Using gr0gmint's new modified JIT dll's (thank man). This may work with sense but its way more stable without. More @ ?t=684535
(for this build JIT is always visable next to the profile dropdown. Be careful with it, kinda gotta rethink how this form looks/works.
If you enable JIT use the checkbox on the mainscreen, choose a battery profile & press reset. It will configure your heap & banned apps for you. If you still have JIT issues try boosting heap in DConfig up to 48m)
-Apps2SD - Disabled by default, but Apps & Dalvik moves to sd are supported in this build, read post 2 for everything you need to know. Audio & Text to sd build has been given out to testers. (coming soon)
-Updated DConfig to include options for Apps2SD. Also has profile & banned apps fixes
--Dconfig may work again on hero/other devices with a few dc.conf changes (needs testing)
-Even more battery and performance tweaks along with many backend stability fixes in initial boot script.
-Fixes fsck error checking on boot
-Fixed HTC Widget Download issue with deodexed
-Updated Geniewidget
-Updated google maps
-tweaked firstboot /system/app zipalign
-removed AdBlocking host file. If you want to readd get "AdFree Android" app from BigTinCan on market.
-Possible Bluetooth fixes
DC 3.2
3.2 - Deodexed Download- http://dl.damagedroms.com/3.0/DamageControlv3.2-deodexed.zip
3.2 - Odexed Download - http://dl.damagedroms.com/3.0/DamageControlv3.2-odexed.zip
3.2 - DConfig June 23rd Update -
Compiled DConfig fixes profile visual bug and JIT stability - &postcount=2297
Click to expand...
Click to collapse
-themes & lockscreen fixes are available in DCUpdater now! See themes section below for more.
-odex & deodex version available now. see odex vs deodex below for more.
-new dconfig. Performance profiles added with a few preset values.
-further tweaked some battery saving options
-fixed wifitether issue
-added chuckhriczko wireless N patch. Use Dconfig to enable.
-fixed issue causing people who arent properly nand unlocked to loop. without nand unlocked we cant write to system so some features of dconfig are disabled.
-worked on JIT. Should be more stable. Still an advanced option, enable at your own risk after reading post 2 fully.
-enhanced banned apps code a bit. Should allow for more advanced configurations soon.
============
PreReqs
============
This rom assumes you are fully rooted with nand unlocked. If you bootloop after flashing try wiping & reflashing. If that doesnt work MAKE SURE YOU ARE NAND UNLOCKED.
I used toast2of2 method, you can do whatever you are comfortable with. Guys over at androidpolice did a writeup on how to flash using DC as an example - Read it here
Also we assume you have nandroided. This is a saving grace if things go wrong. If you have no clue what i just said webs05 wrote a guide over at ?t=710513
========================
4G INFO/HOW TO FLASH
========================
Because DC 3.2.2 or higher is built on OTA update you MUST have proper radio/wimax to use. You should only have to flash with witslacks method ONCE before going to 3.2.2 or higher. If you are already on 3.2.2+ with working 4g just flash update.zip as normal. DC update.zips or nandroids will not touch radios so theory is once your good your good.
Do not flash update.zip's to update radio or wimax itll just give you more problems than its worth. If you used them previously you may also continue to have issues. These are the radio's fault, not DC's. Witslacks PC36IMG-1.47.651.1_eng-hboot_RA-1.7.0.1.zip has been tested/confirmed over and over and the only thing id use.
Instructions-
If you are coming from a previous version of DC make a nandroid backup first. Then follow witslacks method:
http://forum.xda-developers.com/showthread.php?t=715915
After you follow his WHOLE process boot to a recovery console. Just use that to flash the DC zip, or restore your nandroid (wont touch radios) After you flash DC update profile/PRL and enjoy 4g.
If you are stuck scanning for 4g
go into adb shell
ls /data/misc/wimax/
look for a file with your macaddress ending in .tree.xml. we want to move that to another location so it gets regenerated.
mv /data/misc/wimax/macaddress.tree.xml /data/misc/wimax/macaddress.tree.xml.orig
-If you still have 4g problems:
see this post http://forum.xda-developers.com/showpost.php?p=7020516&postcount=3826 You must verify all your MAC addresses are sane. Also your Username/Pass must be valid.
To give us a 4g error report:
-First tell us if your MAC address has _EVER_ been broken or you used update.zips to update radios
-Have you ran witslacks starting over method?
-What patches have been applied?
-Have you verified your username/password is OK from the above section?
-Have you tried shutting wifi and 4g off, rebooting, then turning just 4g on?
- turn 4g off. reboot the phone. run
adb logcat
and grab everything from turning your radio on to where it fails to connect.
- now run
adb shell dmesg
grab the end output from that where 4g turns on. (sequansd stuff)
- now do
adb shell
# ls -l /data/misc/wimax/
find the .tree file. What are your permissions on it? (information on left hand side before file name)
Click to expand...
Click to collapse
====================
Known Issues
====================
this has been stated over 9000 times YOU MUST BE FULLY NAND UNLOCKED TO USE THIS!! If you arent you will have bootloops/other issues.
*Lockscreen - When you remove HTCLockscreen the vanilla one is broken up to 3.2.3. Proper fixes are now in DCUpdater
*DCUpdater FC will occur if you have your SDCard mounted or it cannot write to the fat32 partition for some reason. Just unmount your card.
*Clockwork Recovery - clockwork recovery does not play nice with dcupdater. You will end up in a different part of recovery with a green arrow or android guys skating.
If your using clockwork just press update later after dcupdater downloads update reboot into recovery and manually apply the update from /sdcard/dcupdater/updates
*JIT Stability. Working better in 3.2.1+ let me know how latest is.
*Themes from 3.2.1 and previous may not work in 3.2.2. They will cause a com.htc.bg crash.
*Wireless N in 3.2.2+ its enabled by default by sprint. DO NOT ENABLE THIS OPTION IN DCONFIG OR WIFI WILL NOT WORK
====================
Odex vs Deodex
====================
Theres plenty of debate over what is faster/better to use, im not going to take sides in this one. This is just information about what the differences in the two are, try for yourself.
Deodex basically takes the odex file and stuffs it into the apk as a classes.dex. First boot it dissembles the file into /dalvik-cache (i believe). Now there is basically 2 copies of the odex, one in the apk one in cache. This makes it "portable". This allows modders to work on the apks & easily change stuff. If you want themes or stuff like lockscreen fixes you MUST use Deodex.
Odex is how things come stock. It takes up less room but making modifications or taking apks from other roms is hard. You cannot use themes with this version!! To see odex in dcupdater you must go to menu -> configuration -> rom update settings -> display all roms & display experimental roms. Its marked experimental to avoid confusion because themes in dcupdater will not work with it.
DC 3.2 after fresh wipe without setting sync accts up and no a2sd:
Odex - 374 MB free
Deodex - 329 MB free
====================
General Stuff
====================
-Themes are trickling into DCUpdater. They will only work with the DEODEXED rom. Same with lockscreen fix.
-Firstboot script will cause phone to sit on white HTC EVO 4G screen if you are upgrading for a few minutes. Watch logcat if your paranoid.
-Do not use SetCPU if you are on the stock HTC kernel (perflock on kernel) it will just cause issues. If you have a modded one go ahead
-No need for taskkillers with lowmemkiller. Really just cause more issues than their worth.
-If your accounts & sync FC after upgrading from another rom you can try to do the following but be warned you will need to resync everything
Code:
adb remount
adb shell rm /data/system/accounts.db
adb reboot
Hackvan sent me a heads up to a fix that does not require you to resync from thread: http://forum.xda-developers.com/showthread.php?p=7159566
Code:
adb shell
cd /data/system
echo 'delete from accounts where type LIKE "com.htc%";' |sqlite3 accounts.db
-it really helps us if you can reproduce FC's to restart phone, reproduce issue without doing anything else first then use send bug report.
-this rom has so many configurations now its hard to keep up. When posting an issue please make sure you have checked post 2 & be as detailed as possible
(Deodexed/Odexed/DConfig Settings/Skins or other Update.zips applied)
============
Powertop
============
powertop will also reveal stuff hogging wakeups. The less wakeups you have the better battery life will be.
The main thing you will want to diagnose is wakeups when the screen is off and the phone idle. Shut your screen off when connected to usb and wait about 30 seconds, then run
Code:
adb shell dcpowertop
Your wakeups should be around 50-80. If your higher than that you could have a problem. If you see something there in question try to run the following to find what apk the thread belongs to:
adb shell top -n 1 -t
Click to expand...
Click to collapse
a powertop example of tracking down an apk can be seen over at &postcount=2502
==============
Other Battery Tips
==============
-If you wipe data to start new with rom you are also wiping your battery stats so things can get out of whack. Cyanogen has a good howto on battery calibration
http://wiki.cyanogenmod.com/index.php/Troubleshooting#Battery_recalibration
-Turn off rotation. the akm8973 driver seems to be a hog when screen is on. even tho i loved rotation in helix i get much better battery life with it off.
-If you sync stuff constantly try jumping on wifi where possible. Also 4g is a powerhog keep it off if not using it.
-in accounts and sync disable background data if you dont have any mission critical data that sync.
-Make sure you are not at 100% awake time. in settings -> about phone -> battery the awake time should be less than up time (unless your plugged into usb). If its the same wipe data reflash and add your apps one by one.
-The battery use screen in 'settings -> about phone -> battery' is a bit limited. Things like a high time without a signal can cause battery drain.
-I also like checking the the "advanced" battery use screen. Open a dialer and dial the code below. Then go to battery history. Partial wake usage usually shows more information on whats hogging wake. Sensor/GPS/Network/CPU is also revealing sometimes, these all eat battery.
Code:
*#*#4636#*#*
-Use an app such as OSMonitor from market to check out whats using CPU in realtime
-Apply battery saver config in dconfig. If its too slow for you turn the sampling rate down one.
============
Themes
============
- Here is a preview of just some of the items in dcupdater. we will link back to the original themers thread below if you have problems with the theme start there.
More will be coming, if you want to see your themes here or in DCUpdater contact me!
-I have done a bunch of lockscreen fixes. They are now in DCUpdater. They should be 100% working now. We have rotary lockscreens with time and without and the regular vanilla lockscreen. Right now the versions only will show your desktop background (lwp included) there will be a cleared version shortly.
*Konikub has done a bunch of awesome themes. His full color themes for dc is over @ ?t=706333 Great stuff from the hero days. He also has a white taskbar theme to flashontop of Aloysis and an Espresso theme!
*GODZSON did some clear HTCClockWidget's over @ ?p=6542626&postcount=4
*MRPuffin made a AOSP theme over @ ?t=710162
*michd did a DC transparent XDA keyboard mod @ &postcount=2030
-Contact us if you want to see your skins in dcupdater or in this post.-
========
Kernels -
========
These are for people who know what they are doing. Please dont even attempt to use this if you dont know what they do. YOU ARE FLASHING THESE AT YOUR OWN RISK DONT BLAME ME WHEN YOU NEED TO WIPE OR WORSE YOUR DEVICE EXPLODES! If you read this and think freekin sweet these kernels are for you. If your scared just continue on and DO NOT FLASH.
DO NOT flash any kernel that has not been specifically modded for DC. It WILL cause issues, especially with wifi and or DConfig (it will look like it makes changes but nothing will happen)
Stock Kernels-
(these are here incase you want to go back to stock dc after flashing a modded kernel. They are not needed otherwise. they should fully revert any custom kernel/modules/wifi)
OTA DC Kernel with firmware & modules (DC 3.2.2 and higher 2.6.29-789bf291)
http://dl.damagedroms.com/3.0/OTA_dc_kernel_signed_wdrivers.zip
PRE OTA DC Kernel (from DC 3.2.1 and lower) - http://dl.damagedroms.com/3.0/OriginalStock_dc_kernel_signed.zip
Modded Kernels- These have just been patched to work with DC. Please direct any questions to the kernel cooker.
Netarchy has a new kernel for nova or epson screens. From his first post Revision 3.6.2b - Damage Control Compatible build Looked sane to me:
More info ?t=719763
Click to expand...
Click to collapse
ffolkes 7/7 kernel high framerate on novatec screens UNDERVOLTED with modules/fw Download -http://dl.damagedroms.com/3.0/ffolkes_novatec_wdrivers_boot_t2_v5-1-1-e-FIXED.zip
NORMAL Volt with modules/fw Download - http://dl.damagedroms.com/3.0/ffolkes_novatec_wdrivers_boot_t2_v5-1-1-e_nv-FIXED.zip
5point multitouch, overclocking support with setcpu enabled +more. see ?t=711964 for more info
Click to expand...
Click to collapse
Toasts Godmode Kernel for DC (OLD FROM 6/22)
Download - http://dl.damagedroms.com/3.0/622GoDmOdE-DamageControl_signed.zip
*Really just for the powerusers -See toasts thread here t=686240
Click to expand...
Click to collapse
=================
Flash stuff
=================
Flash 10.1 is def a hack but sites that would not load before will. shots of flash playing justin.tv & adobe mobile 10.1 test vids:
http://forum.xda-developers.com/showpost.php?p=6861763&postcount=1451
http://forum.xda-developers.com/showpost.php?p=6862285&postcount=1473
Also tested a few "Adult entertainment" sites that did not work before with success.
To increase flash compatibility we found playing with these to help:
-Go to url bar
-delete everything even http:// enter
about:debug
-press menu go to settings
-turn off mobile view
-go to UAString
-set to desktop
Click to expand...
Click to collapse
====================
DConfig Guide
====================
**DCONFIG IS GETTING A MAKEOVER. EXCUSE THE SLOPPY LOOKS FOR NOW**
Dconfig has been redone for release 3.1, for those of you that are new to this it allows you to customize many settings usually not visible to the end user. You can kill your battery fast or put it into a powersaving mode at the expense of performance or anything in between. This will help you choose the right settings for yourself. Alot has changed since this project began - If you want to read more about where dconfig started from or about the backend(alittle outdated but still pretty right) you can checkout the original post ?t=670098
Dconfig home:
-Performance Profiles. These are a new option to set up the Advanced Tweak settings with some defaults ive tested with. It will overwrite your settings there.
{
"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"
}
Dconfig Apps2SD:
Controls app2sd settings on boot. To get this to work you must have a SD card formatted with at least a ext/fat32 partition. Swap can be set to 0 unless you want swapping (not really needed on evo)
EXT2 vs EXT3 - Journeling. wiki it, Is it really needed? probably not
Move Apps- Disabled by default. moves /data/app/ and /data/app-private/ to /system/sd/app & app-private. May impact battery life slightly. You can confirm its enabled by running the following:
adb shell
cd /data/app/
pwd
Click to expand...
Click to collapse
It should return /system/sd/app/
Move Dalvik- Disabled by default.
Do not enable unless you have a faster SD card. You may get random reboots if your card is too slow
This moves /data/dalvik-cache/ to /system/sd/dalvik-cache. Dalvik-cache is usually somewhere between 50 - 100mb. Seems to have a more significant battery impact than just moving apps.
adb shell
cd /data/dalvik-cache/
pwd
Click to expand...
Click to collapse
It should return /system/sd/dalvik-cache/
Move Texts- Moves textmessage DB to /system/sd/. Nice because you can wipe and keep texts.
Move Audio- Moves ringtones off to /system/sd/. I prefer this method rather than putting them on fat32 partition because they still work if you have SD mounted and get a call.
*Things to think about with A2SD*
If your using a2sd & wipe your /data/partition and not your EXT you could run into problems with permissions on /data/app-private/ apps. After wipe of data & flash if you bootloop try to wipe your protected apps and just redownload them from market
adb remount
adb shell rm /data/app-private/*
Click to expand...
Click to collapse
IF the above doesnt work you win a ext wipe.
Dconfig Basic:
*options here are generally considered "safe".
Zipalign- is recommended. Gives a nice boost with loading apps and when loading app icons (scrolling through app tray and on main screen)
SD swapping adds swap ram- evo probably shouldnt enable this.
DalvikHeap- Stock evo is 24, 32 is what i use it on mainly, 48 is probably not needed. Space java objects are stored, has a direct effect on how much RAM apps use.
LowMemKiller - Eliminates need for taskkillers. Lets android system close out of apps when RAM gets low, 150MB seems to be a nice spot.
Wireless N - Enables or disables chuckhriczko wireless N patch. May consume more battery
Dconfig Advanced:
*These options all effect low level stuff. Play with caution:
JIT - Just in Time compilation- Speeds CPU execution up quite a bit on evo but does not play well with all apps. See the JIT section below for instructions.
UpThreshold- % Where the CPU clocks up to the next speed. 95% is default and saves battery. If you go lower CPU will clock up faster so performance will be better but faster cpu == lower battery life.
SamplingRate- How often the CPU checks load. lower number checks more often so system will be more peppy when cpu is needed but checking more often drains battery faster.
DirtyBG/Dirty ratio - what % of memory can get dirty before writing it out. Higher the % the more battery will last because kernel is writing less often. I have not played much with higher values but would not go much more than say 10/20.
DirtyWriteback/DirtyExpire - How often to check for dirty stuff. 1500/600 seems good.
Advanced part2
Laptop_Mode-Tries to delay kernel buffer disk activities as long as possible. Still trying to confirm if our kernel supports it, turn it on if you want to test
vfs_cache_pressure- Lower trys to retain dentry and inodes. Higher flushes them. 100 is fair balance. We have not found a sweet spot yet, but try testing between 10 - 40.
OOM Kill allocating Task - If checked kernel will kill task causing OOM events. If unchecked it will kill other processes to make way for the hog. Havent played with this much..
Banned apps:
Lets you customize whats loaded in the rom. Moves stuff you dont want to /system/app/dcbanned/ After your comfortable with results if your sure you never want to go back you can
Code:
adb remount
adb shell rm -r /system/app/dcbanned/
When you first ban sense it will check off all sense components on the screen. You can uncheck additional components as you wish.
Some Things to think about
When you ban the HTCLockScreen default is to ban worldclock as well and unban Deskclock (if checked) Reason is if you use the vanilla lockscreen with an alarm in worldclock you will be unable to disable your alarm. As anything else you can enable it if you really want.
If you ban friendstream but not facebook you must turn off "Sync Live Feed" in settings -> Accounts and Sync -> Facebook for HTC Sense or else you will perma sync.
JIT Section
Just too much info about JIT so ill move it down here.
*There are some apps that may not work with JIT, that is why this is under advanced. If your not experienced do not use this.*
nebenezer posted some good recomended settings for JIT over at &postcount=4143
-JIT uses more memory i would recommend bumping dalvik heap up to atleast 32.
-JIT & banned apps. These are the recommended settings. They will be set automatically if you turn JIT on in the profiles screen, choose a performance option in dropdown and press apply. Just reboot after. If you do it yourself in advanced these options will NOT be set you will have to do it
Code:
Sense,
HTC Lockscreen,
DCUpdater (causes some hang in system on startup :( )
HTC Worldclock,
All sprint apps
Twitter and friendstream for sure (facebook seems to be ok).
-To Test if JIT is on:
few ways to do it, my favorite is to run the following then open up some applications. You should see "Total arena pages for JIT:" followed by a number scroll by as apps open.
adb shell
logcat|grep JIT
Click to expand...
Click to collapse
-If you end up crashing hard you can disable JIT with:
Code:
adb remount
adb shell rm /data/data/com.damaged.DConfig/dc.conf
Linpaq:
Glad to see you both are developing for the evo. Loved you r roms on the hero
Oooooo snap, Ima have to check this out fo sho. Thanks for all the hard work!
Oooo I will definitely be trying this, I flashed DamageControl on my sister's Hero, flawless
Damn and I just flashed Fresh's Rom...lol I will give it a couple of days but I really want this one...I guess that's what Nandroid is for LOL .
Re: [ROM] DamageControl v3.0 | Fast, Improved battery life, tweaks
When you, announced you ditched hero I went out and bought a evo. Downloading now
------------------------------------
Sent via the XDA Tapatalk App
wow. this excites me. props damage.
Let the games begin....I think all the devs are going to be on the evo .....
on this **** like white on rice...are you gonna add it to rom manager\ as well
looks like goodness
You have been "getting married soon" forever. Good way to get people to donate though. Either do it or don't man. (I recommend "don't")
flexgrip said:
You have been "getting married soon" forever. Good way to get people to donate though. Either do it or don't man. (I recommend "don't")
Click to expand...
Click to collapse
As a married man myself, I once gave a friend a paper shredder for his wedding. The note on the box of the shredder said. "I wanted you to have a safe place to store your marriage license" she was not amused.
Glad to see you making the switch to the Evo! Running your final Hero rom on my Hero, and a overclock ... and it is amazing.
My only request was to have the Espresso theme ported over. I know Treve had a release that worked prior to your final Hero rom.
If you need to use my mirror still let me know.
Im so glad to see damage on here here. along with flip along with eveyrone else from the HTC Hero days.. Damage roms are always great. with great battery life..
I know those that rooted with the other meth is really pissed right now..
Re: [ROM] DamageControl v3.0 | Fast, Improved battery life, tweaks
This is just amazing¡ just booted it off the bat I noticed it fixed my scrolling lag that was killing me before. I cant wait to give the battery a test tomorrow.
Do we need to calibrate battery in recovery like we did on hero?
------------------------------------
Sent via the XDA Tapatalk App
I just wet myself!
good to see more of the hero guys over here
Ditto, Do you guys consider a caching to SD version of GMaps (brute) stable enough to include in your rather elite rom
Re: [ROM] DamageControl v3.0 | Fast, Improved battery life, tweaks
Wow after using this a bit I can easily sau this is best rom ive tried so far everyone else just shuffled programs around you can actually feel performance increase on this
M
-------------------------------------
Sent via the XDA Tapatalk App

[MOD] Collin_ph Battery Tweak For EVO By Myn

Background
As many of you recently saw in my Warm TwoPointTwo RLS2 thread there was an optional download for Collin_ph's battery tweak ported to the EVO by me.
This mod was so large I figured It deserved it's own thread and at the same time I'd like to share it with the community so other ROM devs can incorporate this into their ROMs
This is really a tool for power users
If you don't consider yourself 'comfortable' with messing with your phone, then don't.
This is mostly the work of collin_ph, all the ideas are mostly his and I have only contributed in part to getting some things functioning correctly and some optimizations for the EVO and INCredible. The original thread from Collin_ph can be found here and the original documentation can be found here.
What does it do?
This tweak creates a service that periodically checks the phone's power source.
If the power source changes, it reconfigures the device for maximum performace, battery and safety.
Tweaks compcache (if enabled) for current power source
Tweaks memory settings for current power source
Re-clocks CPU based upon battery remaining or current power source
Reclocks for maximum performance if on AC power
Reclocks for maximum performance and charging safety if on USB
Reclocks for performance and battery if on Battery
As Battery life is diminished, Maximum CPU frequency is lowered
Tweaks scaling charactaristics depending on power sourcee
CPU Scales up less frequently on battery power
CPU Scales up more frequently on USB/AC power
The CPU is allowed to scale dynamically in all charging states based upon CPU usage
Includes a batt-cfg utility to configure the system
You may load 1 of 2 pre built profiles
Manually configure CPU Frequencies in all charging states
Determine the percentage of underclocking as the battery drains
Configure how often to poll the power state / battery statys
Disable batt.sh service from running at startup
Includes a batt-rm.sh uninstall utility
Includes a batt-diag diagnostic utility
Includes an LED fix if your LED is stuck on
Includes optional experimental performance tweaks (disabled by default)
Includes optional Disk performance tweaks (enabled by default)
Includes optional froyo Audio quality fix (disables stagefright)
The Tools
The entire 'application' is written in shell code and was first written just to give a performance and battery boost, but since has evolved more and more.
All the tools mentioned will be utilized either through the terminal, or in adb shell.
batt.sh
This is the core of the entire script. Don't mess with it.
The one thing you should do after installing the script:
Code:
pidof batt.sh
If theres any number showing up after it, then it's working fine.
batt-cfg
This is the 'main menu' of sorts, as it gives the user all the options and allows them to toggle tweaks/mods on the fly.
{
"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"
}
batt-diag
It's a diagnostics utility, allowing you or someone knowledgeable to figure out any issues that you may be having with your device and be able to pinpoint exactly where the problem is.
batt-diag -v gives a more thorough output as you can see here; http://pastie.org/1162034
batt-rm.sh
It's a battery tweak removal script, follow the onscreen prompts and it should remove just about any trace of the battery tweak script.
The Presets
The presets are just default configurations that I have set up that can make your phone more efficient without you, the user, having to manually set everything.
The preset of 998 literally means that 998400 is the scaling_max_freq, or the max frequency, that your phone can achieve after you enable it.
Just typing 1, and then enter, you'll be ready and set to go. Same with 2.
Customize Settings
This is only for the experienced user, and it allows you to manipulate most/ifnotall the configurables on your device.
Note, you do not need to configure anything to enable this battery mod. Default settings will be assigned.
All the settings explain what each option does, so read them carefully.
Disk Boost
Remounts via noatime and nodiratime. Look up what that means on your own, and why it benefits performance the way it does.
Audio 'Fix'
Disables stagefright for bettery audio quality, though it will hinder your benchmark scores only because it affects the AAC codec and how it behaves.
CFS Tweak
Currently not functional. Will evolve in time. What it will eventually do is Echo NO_NEW_FAIR_SLEEPERS to sched_features to change CFS into more of a traditional scheduler like BFS, which gives a noticeable benchmark performance boost, but hinders how gps behaves(kind of like the real BFS).
Prerequisites needed to run this
If you're running a version of CM6 or Warm TwoPointTwo RLS2 and above, this will work completely fine.
If you're running any other kind of rom, that developer will need to add an 'import' call in the init.rc(in the ramdisk) that imports the init.d script necessary for this application to function at boot. If you don't know how to do this, please see post #2.
This script will WORK even if you don't have the import call at boot, but it won't survive on the next reboot.
You can check via:
Code:
pidof batt.sh
NOTE: This script will also prompt you to try to run itself as root if you use it in terminal.
Contributors:
Collin_ph
Decad3nce
myn
onicrom
shabbypenguin
Download And Install:
Version 3 RC2 Download Herehttp://www.mediafire.com/?xmjdd797f6v2m90
A new guide is available: [GUIDE]* How to properly flash collin_ph battery tweak & have best battery life ever! *
Disable SetCPU or other overclocking programs as they will interfere with this tweak.
Kernels that manage and throttle CPU (ex HAVS) may interfere with the operation of this mod as they will fight and conflict with CPU deltas.
Download, the zip, copy to SD card.
Reboot into recovery and flash.
Reboot and run the batt-cfg configuration utility.
Help us debug!
Having issues with this mod? Help us debug your issue by doing this:
Code:
adb shell batt-diag -v > battdiag.txt
and upload that txt file so that we can diagnose your problems more thoroughly.
For ROM Developers
You need 3 things for the script to survive a reboot:
A clockable kernel
An 'import' call for init.local.rc in init.rc in the ramdisk.
Just paste this into init.rc after the "Define TCP buffer sizes" setprops
Code:
# Include extra init file so that the battery tweak will function
import /system/etc/init.local.rc
Proper file structuring/permissions(The update script in the update.zip really does all of this for you)
Future Development:
I'd love to have a bunch of developers contributing to this project. I maintain this project out on github branched from Collin_ph's base code. If you'd like to contribute let me know and I'll add you as a contributor to the project.
http://github.com/myn/battery-tweak-v3
Original Source: http://github.com/collinph/battery-tweak-v3
* This one reserved too *
Quick question....is v3 the same that was included with rls2?? Another question that was asked in your ROM thread, does this need to be activated via ADB or does flashing activate? Thanks in advance and keep up the phenomenal work.
Nice nice im reading at the moment but looks tastey and im in!!!
Sent from my phone... I think Tapatalk??
I assume you use this OR SetCPU and can't use them both together as it sounds like they would clash...
Swyped from my supercharged Evo!
So far so good myn. I jumped right in and gave it a shot w the latest stock kernel.. Will report as i go
Thanx much man!!!
Sent from my phone... I think Tapatalk??
Can I use this AND keep setcpu a long as I don't use profiles?
Wouldn't this interfere with havs the same way that profiling in setcpu does?
Sent from my PC36100 using XDA App
tonwarr.the.incredible said:
Quick question....is v3 the same that was included with rls2?? Another question that was asked in your ROM thread, does this need to be activated via ADB or does flashing activate? Thanks in advance and keep up the phenomenal work.
Click to expand...
Click to collapse
Yes. V3 is the same as what was included in RLS2. This mod is automatically activated as soon as you flash it.
stanglifemike said:
I assume you use this OR SetCPU and can't use them both together as it sounds like they would clash...
Swyped from my supercharged Evo!
Click to expand...
Click to collapse
overthinkingme said:
Can I use this AND keep setcpu a long as I don't use profiles?
Wouldn't this interfere with havs the same way that profiling in setcpu does?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Exactly. Anything that controls the CPU may conflict with this mod.
I'd love to hear feedback from people about what configurations work and what don't though.
myn said:
Yes. V3 is the same as what was included in RLS2. This mod is automatically activated as soon as you flash it.
Exactly. Anything that controls the CPU may conflict with this mod.
I'd love to hear feedback from people about what configurations work and what don't though.
Click to expand...
Click to collapse
Myn, what kernal do you recommend given the potential conflicts with the tweak?
lido said:
Myn, what kernal do you recommend given the potential conflicts with the tweak?
Click to expand...
Click to collapse
I'd start with the stock kernel, HTC #11 and then keep trying others out.
I'd love to figure out a nice combination for this
I'm running king's aosp cfs kernel #1 and scared to run this script on my phone. Should I be fine?
Sent from my PC36100 using XDA App
locoboi187 said:
I'm running king's aosp cfs kernel #1 and scared to run this script on my phone. Should I be fine?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Don't let the first post scare you hehe.
If you just flash it, it automatically is enabled and configured for your EVO. No configuration needed.
Give it a try. If it doesn't work, you can always remove it or turn it off.
Sry, still quite new to the whole flashing rom and kernel thing.
I'm just wondering if im using the king's #11 CFS kernel, would it conflict with this tweak?
*PS i dont think i have setCPU install or enable. I just flashed the kernel to the rom that I'm using right now if that helps
thanks in advance!
How do I know if it's enabled or not? Using ADB shell after I flashed it won't show anything after I enter the pidof batt.sh. It brings me back to #. I am running a sense ui stock deodexed rom.
So u dont need to enter batt-cfg in terminal to activate? Simply just flashing it activates it?
casual864 said:
How do I know if it's enabled or not? Using ADB shell after I flashed it won't show anything after I enter the pidof batt.sh. It brings me back to #. I am running a sense ui stock deodexed rom.
Click to expand...
Click to collapse
Unfortunately the stock sense UI stock deodexed rom does not support the call to init.rc.
See below for prereqs:
Prerequisites needed to run this
If you're running a version of CM6 or Warm TwoPointTwo RLS2 and above, this will work completely fine.
If you're running any other kind of rom, that developer will need to add an 'import' call in the init.rc(in the ramdisk) that imports the init.d script necessary for this application to function at boot. If you don't know how to do this, please see post #2.
This script will WORK even if you don't have the import call at boot, but it won't survive on the next reboot.
You can check via:
Code:
pidof batt.sh
casual864 said:
How do I know if it's enabled or not? Using ADB shell after I flashed it won't show anything after I enter the pidof batt.sh. It brings me back to #. I am running a sense ui stock deodexed rom.
Click to expand...
Click to collapse
Tiffany84 said:
So u dont need to enter batt-cfg in terminal to activate? Simply just flashing it activates it?
Click to expand...
Click to collapse
yup, flashing activates this automatically.
I'm having trouble finding the newest stock htc kernel, can someone help me/us with a link please since this doesn't play nice with havs?
Sent from my HTC Evo 4g
I enabled the cfs tweak using terminal emulator and then flashed kings #11 cfs. I'm not getting high CPU usage and when I'm idle its staying around 245mhz. We will check battery results tomorrow.
Sent from my PC36100 using XDA App

[Script][Guide] V6 Supercharger by Zeppelinrox or how to kill lags in ROMs! U9RC7!

This script is made by Zeppelinrox all credits, thanks and donations should go to him for his amazing work! here is his original thread [Script]V6 SuperCharger! The ONLY Android MEMORY FIXER! 3G & KAK!
ICS users should check this page for GB follow the guide below
most recent supercharger files are found here
--------------------------------------------------------------------------
Recommended settings for Sense 3.5 ROMs:
- Build.prop + integrate
- Balanced 512HP settings (number 6. Ledded)
- BulletProof launcher
- DON'T INSTALL Nitro Lag Nullifier
- Kickass kernelizer + IO tweaks
--------------------------------------------------------------------------
I will not be updating this guide when new versions are out simply because they never stop the general guidelines below should apply on newer versions, i will update only if we have a major change
--------------------------------------------------------------------------
For smooth sense 3 launcher check here [FIX] Ultra & Super, Liquid Smooth Rosie for Sense 3 & 3.5 ROMs
Many of us complain about launcher lags or frame rate drops, the launcher itself might be 60fps smooth but once you start using your device and loading it, sudden lags start creeping up.
A lot of this is due to the way android handles multitasking, Zeppelinrox’s script has been always around but I’m sure many of the users didn’t hear of it, so in order to lessen the pressure on our favorite chefs, i thought i should post a specific guide specific to the Desire HD users
What the script does is tweak android memory minfrees and applications priority, it attempts to insure lag free operation of the launcher and also prevents launcher redraws
Thankfully our device have a generous amount of RAM so it shouldn't have side effects on battery etc, we will still have apps running in the background just not as busy and at lesser priority then the launcher, It's not a task killer app
I won’t go into technical details which are better explained in Zeppelinrox's OP let’s just say the results will speak for themselves, you can easily control what the script is doing and you can undo it at anytime
V6 Supercharger is currently in beta for the U9 version and has been expanded, it now it includes a kernel tweaker and 3G speed booster too, here is a step by step guide, remember this script is universal it should work on any android, in my case I tried it on ARHD v6.1.1 official sense 3.0
Make sure you have Root, init.d scripts enabled at boot, latest busybox and do a nandroid backup
Download Script Manager https://market.android.com/details?id=os.tools.scriptmanager&feature=search_result
Download the scripts V6_SuperCharger_for_Android-Update9_RC6.9.sh.pdf and KickAssKernelizer_Tweaks_Installer_Update_3_RC6.sh.pdf from this post http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021 rename them to V6_SuperCharger_for_Android-Update9_RC6.9.sh and KickAssKernelizer_Tweaks_Installer_Update_3_RC6.sh
Place the script files in an easily accessed folder on your SD card
Open script manager and then press menu > more > advanced options > config and tick “browse as root”, allow root once requested
Browse to the scripts location and click on V6_SuperCharger_for_Android-update9_RC6.9.sh, make sure to tick “run as root” but don’t tick “run at boot” otherwise we will face issues, the script runs at boot automatically, press run
Once loaded follow the onscreen instructions, select text speed (1 is the fastest and hidden 0 for super fast), the script will ask for init.rc integration which is a further measure to insure the launcher priority will stick, init.rc method has risk of boot issues, so insure you have a backup and proceed.
Once done loading the script will detect that the device has 620MB RAM and suggest custoomizer calculator settings, you can choose your own preference from option 2 to 9, the insured free memory is the last number in the list of mem frees, the bigger the number the less active running apps in the background, it will also shut down apps based on priorities, like explained in the list of options for more multitasking you can choose less minfress by going for the 512HP options, please don't complain about multitasking gone since you can control how much minfrees you want! otherwise if you choose to trust the supercharger calculator select option 10 and supercharger will apply the best settings for your device available RAM
For further improvements select option 20 (nitro lag nullifier) and enable it warning! i suspect that this setting increases "LCD ghosting" at high frame rates
Press back and kill the script, browse to the scripts location and click on KickAssKernelizer_Tweaks_Installer_Update_3_RC6.sh, make sure to tick “run as root”, press run. The script will request permission to Install and then to modify the IO scheduler and warns for possible bootloops, in the case of ARHD and ER3BUS ROMs I had no issues and I selected yes, you can opt for no, the rest of the tweaks will still be implemented
Once done, close the script and reboot the device, you can select Superclean option 29 (wipe caches and reboot) for clean operation, now enjoy smooth lag free launcher and android
The script will always let you know whether the launcher is locked in memory or not, if locked it will advice against locking the launcher in memory in order to enable priority tweaks, in sense ROMs its usually left unlocked, but some chefs lock it, in CM ROMs you unlock using the "Lock home in memory" option, some third party launchers have an option in settings.
If launcher's new DIE HARD or BULLETPROOF state doesn't stick after restart (you can tell by running the script) then go to option 26 (Driver Options) and set the method to build.prop, you can choose init.rc integration which will insure the priorities will stick but as warned there is a risk of bootloops. You can also disable the script boot animation and change the text speed again from this menu.
Otherwise you can leave it, the minfrees will still be in effect even if locked, but not the priorities.
At any time you can undo the script tweaks, by running the surpercharger script and select options 14 and 15, unkernelizer and unsupercharge you can also check this in case you run into bootloops due to kernelizer
You can also try zeppelinrox ‘s 3G turbocharger and Die-Hard Battery Calibrator scripts http://forum.xda-developers.com/showthread.php?p=18703418#post18703418
The details above are simplified for noobs like me, much more info can be found in Zeppelinrox‘s OP
hamdir said:
Many of us complain about launcher lags or frame rate drops, the launcher itself might be 60fps smooth but once you start using your device and loading it, sudden lags start creeping up.
A lot of this is due to the way android handles multitasking, Zeppelinrox’s script has been always around but I’m sure many of the users didn’t hear of it, so in order to lessen the pressure on our favorite chefs, i thought i should post a specific guide specific to the Desire HD users
Thankfully our device has a generous amount of RAM, what the script does is tweak android memory minfrees and applications priority, it attempts to insure lag free operation of the launcher and also prevents launcher redraws, I won’t go into technical details which are better explained in Zeppelinrox's OP let’s just say the results will speak for themselves, you can easily control what the script is doing and you can undo it at anytime
V6 Supercharger is currently in beta for the v8 version and has been expanded, it now it includes a kernel tweaker and 3G speed booster too, here is a step by step guide, in my case I tried it on ARHD v6.1.1 official sense 3.0
Make sure you have Root and make a nandroid backup
You should have Busybox v1.8.2 or less, the script has issues with Busybox higher than 1.8.2, you should downgrade using busybox installer from the market https://market.android.com/details?id=com.jrummy.busybox.installer&feature=search_result
Download Script Manager https://market.android.com/details?id=os.tools.scriptmanager&feature=search_result
Download the scripts V6_SuperCharger_for_Android-update9_beta_6.1.sh.txt and KickAssKernelizer_Tweaks_Installer_Update_3_test_5-OPTIONAL_IO_TWEAK.sh.txt from this post http://forum.xda-developers.com/showpost.php?p=15948434&postcount=1127
Place the script files in an easily accessed folder on your SD card
Open script manager and then press menu > more > advanced options > config and tick “browse as root”, allow root once requested
Browse to the scripts location and click on V6_SuperCharger_for_Android-update9_beta_6.1.sh.txt make sure to tick “run as root” but don’t tick “run at boot” otherwise we will face issues, the script runs at boot automatically
Once loaded follow the onscreen instructions, select text speed (1 is the fastest) and let it proceed, the script will detect that the device has 620MB RAM and suggest the 768HP settings , select option 8 (super 768HP aggressive), you can go for more aggressive minfrees with option 9, this basically means the device will always have around 250MB of free memory which means less active running apps in the background, it will shut down apps based on priorities, it will insure 150MB for the launcher in the third slot
For further improvements select option 17 (nitro lag nullifier) and enable it
The script will always let you know whether the launcher or locked in memory or not, if locked it will advice against locking the launcher in memory in order to enable priority tweaks, in sense ROMs its usually left unlocked, but some chefs lock it, you can unlock by quitting the script and adding ro.HOME_APP_ADJ=0 to the top of the build.prop file in the system folder (using root explorer) otherwise you can leave it as is, in case of ARHD 6.1.1 the launcher is locked by default, the minfrees will still be in effect even if locked
Press back and kill the script, browse to the scripts location and click on KickAssKernelizer_Tweaks_Installer_Update_3_test_5-OPTIONAL_IO_TWEAK.sh.txt, the script will request permission to modify the IO scheduler and warn for possible bootloops, the script advices noop or deadline scheduler, in the case of ARHD6.1.1 I had no issues and I selected yes, you can opt for no the rest of the tweaks will still be implemented
Once done, close the script and reboot the device enjoy smooth lag free Sense 3 launcher and android
At any time you can undo the script tweaks, by running the surpercharger script and select options 13 and 14, unkernelizer and unsupercharge
You can also try zeppelinrox ‘s 3G turbocharger script http://forum.xda-developers.com/showpost.php?p=15948434&postcount=1127
The details above are simplified for noobs like me, much more info can be found in Zeppelinrox ‘s OP http://forum.xda-developers.com/showthread.php?t=991276
all credits, thanks and donations goes to Zeppelinrox for his amazing work!
Click to expand...
Click to collapse
thx for sharing my friend
How do I install version Busybox v1.8.2? I only find 1.14.3 and above.
I tried manually install but I dont understand.
I hope to hear from you soon
Thanks for simplifying. I see hime everyday and I don't get these walkthrough's lol
Amazing guys!! Really impressive!!
Installed on RCMix Runny 1.3 sense 3.5 and it works...a lot!!;-)
Is it right use this script on a sense 3.5?
Just one thing...now my ram is ALWAYS up to 230/250 just like on the first boot, and the smoothness it's amazing..really close to perfection..I've just experienced one weird thing..when you scroll the homescreens continuously, sometimes there's a jump between pages, from page 1 to 3 for example..I've tried to clean sense data and run wipe dalvik, but this weird issue is still here..maybe the script needs some time to work properly?
Thanks for sharing this masterpiece in Android;-)
Inviato dal mio HTC Desire HD usando Tapatalk
Glaxo said:
How do I install version Busybox v1.8.2? I only find 1.14.3 and above.
I tried manually install but I dont understand.
I hope to hear from you soon
Click to expand...
Click to collapse
latest requirement is Busybox 1.18.2 OR LOWER
nice tool, thanks for sharing
OP writes 1.18.2 or lower
---------- Post added at 03:57 AM ---------- Previous post was at 03:56 AM ----------
tingardz said:
latest requirement is Busybox 1.18.2 OR LOWER
Click to expand...
Click to collapse
only seconds before me
---------- Post added at 04:42 AM ---------- Previous post was at 03:57 AM ----------
I just tried it with RCMix3D Runny v1.2 and it's fantastic C:
Awesome! This has definitely made a noticeable difference in smoothness, thanks for sharing!
liljom said:
nice tool, thanks for sharing
OP writes 1.18.2 or lower
Click to expand...
Click to collapse
hamdir said:
[*]You should have Busybox v1.8.2 or less, the script has issues with Busybox higher than 1.8.2, you should downgrade using busybox installer from the market https://market.android.com/details?id=com.jrummy.busybox.installer&feature=search_result
Click to expand...
Click to collapse
I see 1.8.2, guide should be updated
correct version 1.18.2, typo fixed
Great, thanks for share i will try it now.
Has this script any effect on the battery?
The title says 'in any rom ', and so CM 7 works too?
Slight improvements on RCMix3D VoidU 1.1...
Thanks for this hamdir. Can't wait to try those but I have 2 questions:
1. I currently have busy box 1.19. What do we lose by downgrading?
2. Does the downgrade have to be permanent or only temp until we run the scripts and then we could upgrade again? Other apps rely on this and so I don't want to break their functionality (i.e. Titanium Backup)
Arhd 6.1.1 and unity v9 kernel and i for sure see improvments. Big thanks
Old man with Sense 40+
andreasy said:
Thanks for this hamdir. Can't wait to try those but I have 2 questions:
1. I currently have busy box 1.19. What do we lose by downgrading?
2. Does the downgrade have to be permanent or only temp until we run the scripts and then we could upgrade again? Other apps rely on this and so I don't want to break their functionality (i.e. Titanium Backup)
Click to expand...
Click to collapse
Just download 'Busybox Installer' and you can upgrade/downgrade Busybox with just one click.
lululala said:
Just download 'Busybox Installer' and you can upgrade/downgrade Busybox with just one click.
Click to expand...
Click to collapse
I know this but this wasn't my question.
reneftw said:
Has this script any effect on the battery?
Click to expand...
Click to collapse
well its not a task killer, it just tweaks the way android handles priorities and memory, you will still have apps running in the background
i didn't see any side effects especially since the DHD has good amount of RAM
andreasy said:
Thanks for this hamdir. Can't wait to try those but I have 2 questions:
1. I currently have busy box 1.19. What do we lose by downgrading?
2. Does the downgrade have to be permanent or only temp until we run the scripts and then we could upgrade again? Other apps rely on this and so I don't want to break their functionality (i.e. Titanium Backup)
Click to expand...
Click to collapse
no side effect of lesser busy box as far as i can tell, it all depends on what BusyBox features the ROM is using, but it should be fine
you can still try to run it BusyBox, but for example the built-in reboot feature in the script won't work

[UPDATE][ALL ROMS][HOW-TO]Speed Up & Maintain - [CM-7/9/10/10.1][NEW CONCEPTS]

I know, many people here want to have Android 4.x.x on their phones, but unfortunately, because of low-end processor as well as less RAM, these CM10/CM10.1 ROMs are laggy and slow. I am also one of them, but, after using these type of roms since 4 months, I have now got a perfect idea of using them. So, I am sharing the way I use these roms. Many people told that this also helps for CM7 users. So, now I have declared this thread as UNIVERSAL PERFORMANCE THREAD. This method can be used on - Stock | CM7/9/10/10.1.
NOTE : This method is same for PAC ROMS.. because they are based on CM. So, you can use this on PAC ROMs also.
♦ FINDING STABLE VERSION :
First of all, you will need to find a good stable version of any CM7\CM9\CM10\CM10.1 ROM. Find stable version by asking in general discussion thread of those particular ROM and then download that version. But, do not flash now.. Follow next step.
Note : For CM7 users - Official CM7 is best, but if you want you can try it on custom roms also. If you are using CM7 custom or stock based custom rom, then for scripts n tweaks to work, you must delete all the scripts from init.d so that scripts will not get overridden.
♦ SLIMMING THE ROM :
Slimming means making rom size less by removing unwanted and unnecessary applications from system/app. It reduces system memory use. Here is a chart of cm10.1 apps which are safe to remove - LINK
With reference to that chart you should remove following apps with adding alternatives to them.
Note: Left side apps are to be removed and right side apps are alternatives.
● LatinIME.apk - WP7 Keyboard App
● Browser.apk - Holo Web Browser
● CMFileManager.apk - Root Explorer File Manager
● Trebuchet.apk - Holo Launcher
NOTE: On CM7, default ADW is good, but you can also use Holo Launcher.
Other apps that can be removed without alternatives-
● CalendarProvider.apk - One of the big RAM consuming apps. This app start anytime, you do anything, so it will be a big save of memory removing this app. But, you will get problems with calendar sync..
● GoogleCalendarSyncAdapter.apk - Reomove this only if you do not sync calendar.
● Email.apk - If not in use.
● Gmail.apk - If not in use.
● Talk.apk - If not in use.
● GoogleBackupTransport.apk - It is used in google backups, remove on your own risk. (Not a risk, i always remove it.)
● ChromeBookmarkSyncAdapter - No use.
● HTMLViewer.apk - Never needed.
● UserDictionaryProvider.apk - It is useless without LatinIME.apk.
● VisualizationWallpapers.apk - Wallpapers app. Remove it always.
● CMWallpapers - Remove it always.
● VoiceDialer.apk - Do you really use it?
● LiveWallpapers.apk - Dont you care for your battery?
● QuickSearchBox.apk - If you dont use.
● PicoTTS.apk - Text to speech function.
NOTE: Alternative apps should always be installed in system/app only. For that, I recommend you to remove these apps drectly from rom's zip before flashing.
♦ USE OF SCRIPTS N TWEAKS :
Many people use hard scripts n many tweaks to get good performance. But, it is totally wrong.
Highly recommended to use Activo Speeder. It is the best script for performance. Dont use anyother thing with it- such as ram manager, seeder or anyother script.
(Note: If the above script doesnt work on your device then please find another good script and flash it.)
ALTERNATIVE FOR ACTIVO SPEEDER :
After testing a lot, I found that SuperCharger is the best script which can be used with any ROM to get more performance and for perfect RAM Management. Here are some steps on how to use SuperCharger -
● Here is the original thread for SuperCharger script.
● Script can be downloaded from this download page.
● Download latest script as well as starter package if needed (Read Original Thread).
● Now, for 4.x.x ROMs, you do not need to do anything with services.jar. But, for below 4.x.x, services.jar needs to be patched to get SuperCharger Memory Management working.
● Now, copy script to SDcard and run it with Script Manager as root. For more detailed guide plz prefer the original supercharger thread.
● Now, you are running the script. You will find many options and info on screen. Read it all and choose what you want.
NEW DISCOVERY : SUPERCHARGER + CROSSBREEDER = ULTIMATE PERFORMANCE WITH MAX ENTROPY ! - by Dark Passenger
● LINK FOR THE POST.
Here are some tweaks-
In Build.prop -
●
Code:
ro.ril.disable.power.collapse=0
and change the value from 0 to 1. (Add the line with proper value if does not exist)
This one is for battery saving.
●
Code:
dalvik.vm.heapgrowthlimit=48m
If it already exists then just match the values.
This is a VM Heap management for RAM.
●
Code:
ro.ext4fs = 1
Improves EXT4 performance.
● IMP :
Add following lines below "# Other" in build.prop
Code:
ro.com.google.locationfeatures=0
ro.com.google.networklocation=0
(If exists, just change the values as above).
(Note: This one will remove location feature increasing performance freeing up more RAM. This frees up to 30mb of RAM)
And now remove NetworkLocation.apk from system/app as well as com.android.location.provider.jar from /system/framework.
For further build.prop tweaking, you can use this great guide -> Click Here. Thanks to Dark Passenger for some build.prop tweaks.
This much tweaking and scripting is enough. DONT USE TOO MUCH TWEAKS N SCRIPTS.
♦ BASIC APPS TO USE :
Your rom's performance also depends on the apps which you use. Always look for apps' memory usage and if the app consumes more ram then try to find an alternative app for it. Here are some basic apps which you should use (i always use them).
● Use Root Explorer as file manager, Holo Launcher as Launcher.
● Use Cache Cleaner App. It is must. Clean cache once a day.
● Use Root Cleaner App. A must have app. Do "Quick Cleaning" twice a day. It will regulate your performance.
You can also freeze the apps you are not using at that time, such as DSPManager (Unfreeze it only at the time of listening songs)
Freezing Google Apps will be a great way to reduce RAM consumption.
● Use this amazing app - Autostarts. This app controls the apps that start automatically in your phone. If you want settings which I use then PM me. I will tell you, how to use this app.
CLICK HERE FOR AUTOSTART APP SETTINGS
● ABOUT TASK KILLERS :
Using task killer is good but, it is also bad. Task killing is actually meaningless. Some apps never really get killed. They start again n again. So, use Autostarts instead task killers. But, here is a nice app for killing processes and freeing RAM. This is the original app. I have themed it to look good. Download it here.
Use it as a task killer, press menu button and include system processes and then start killing processes which are useless.
● Try to use apps as system apps.
● If you are using UC Browser then in its settings, check "Clear Data on Exit". If did, you will see UC will take less than 10mb but, if you wont do this, UC will take more than 15mb.
♦ IMPORTANT TIPS AND SETTINGS :
● Always flash rom with a clean wipe and proper flashing method.
● Do not flash gapps again if they are included in the rom.
● Do not flash internal memory scripts as they reduce performance.
● Use Adrenaline Boost. Boost once or twice a day. Boosting much will increase battery consumption.
● Use Root Cleaner app and freeze the apps which you are not using at that time. Freeze Google Play Store, Google Services Framework and other google apps which are always on. Unfreeze them when you want.
● The apps used for Backup purposes should not be installed always. Keep them in your sdcard and install them when you want and uninstall when done with them.
● Basic apps should always be in system/app.
● In Developer Options -
Set all animations scale to .5x
Set Background Process Limit to "Atmost 4 processes", if issues occur then set it back to "Standard Limit".
Enable "Kill App Back Button". Always use this feature to come out of the apps which do not really exit on pressing just back button.
● Do not expect much from our phone as it is not a high-end phone. Dont expect good battery life but, still to gain good battery life. Keep RAM free by using the ProcessKiller app as told above. I always get 170 mb RAM free.
● Do not charge battery until it gets discharged upto 10% or less. While charging do not remove it till it reaches 100% and 20 mins above that.
● Calibrate battery when needed.
● Avoid use of apps which are always running either in background or foreground.
● Press thanks. .
Re: [HOW-TO] Speed Up & Maintain CM9 | CM10 | CM10.1 ROMs
Very good tutorial i came across so far :good:
+1
So true...great thread...
even i used to things unknowingly but now i know what to keep(apps) and vice versa.. great work..:good:
mni ANKIT said:
So true...great thread...
even i used to things unknowingly but now i know what to keep(apps) and vice versa.. great work..:good:
Click to expand...
Click to collapse
Thnx..
Great
very helpful thread. good job
Good tutorial(surprising no one thought of it sooner, yes me Included).
1. small thing
add explanations for all those tweaks(basically what they do)
eg.
ro.ril.disable.power.collapse=0 : claims to put the phone into deeper sleep but according to the code base seems to be undefined and should actually do nothing
pm.sleep_mode=1 : useless cause ICS and above devices this is a kernel parameter that needs to be passed directly to the kernel on boot(thus putting it to build prop doesn't help).
ro.com.google.locationfeatures=0
ro.com.google.networklocation=0
and this just shuts off network locations(for google services).
a good guide to know which leaks are the real thing and which suck(ICS and above only) guide
Dark Passenger said:
Good tutorial(surprising no one thought of it sooner, yes me Included).1. small thingadd explanations for all those tweaks(basically what they do)eg.ro.ril.disable.power.collapse=0 : claims to put the phone into deeper sleep but according to the code base seems to be undefined and should actually do nothingpm.sleep_mode=1 : useless cause ICS and above devices this is a kernel parameter that needs to be passed directly to the kernel on boot(thus putting it to build prop doesn't help).ro.com.google.locationfeatures=0ro.com.google.networklocation=0and this just shuts off network locations(for google services).a good guide to know which teaks are the real thing and which suck(ICS and above only) guide
Click to expand...
Click to collapse
First of all thanks for the info...
actually, for ro.ril.disable.power.collapse=0.. it is default.. but it is written that the value 0 should be changed to 1..
And about pm.sleep_mod.. i will remove that.
The lines -
ro.com.google.locationfeatures=0
ro.com.google.networklocation=0
Remove location features.. i forgot to mention that.. but.. network location is useless for some people and eats about 30mb of ram.. always (in any condition) so.. removing location features by these lines is a good way to manage ram..
Thnx for tht link.. i will include that.
OJ said:
First of all thanks for the info...
actually, for ro.ril.disable.power.collapse=0.. it is default.. but it is written that the value 0 should be changed to 1..
And about pm.sleep_mod.. i will remove that.
The lines -
ro.com.google.locationfeatures=0
ro.com.google.networklocation=0
Remove location features.. i forgot to mention that.. but.. network location is useless for some people and eats about 30mb of ram.. always (in any condition) so.. removing location features by these lines is a good way to manage ram..
Thnx for tht link.. i will include that.
Click to expand...
Click to collapse
agood tweak is to switch this
Code:
dalvik.vm.heapgrowthlimit=32m
to
Code:
dalvik.vm.heapgrowthlimit=48m
(enough for our devices) cause this fixes the vm heap to restrict size to 48m(hence preventing the vm heap from spliting).
source :zeplinox
also
Code:
ro.ext4fs = 1
(suppose to improve ext4 filesystem performance).
also anyone tried to change this
Code:
debug.composition.type=gpu
on cm10.1/aokp 4.2
to
Code:
debug.composition.type=mdp
what happens(I mean does it cause bootloop or not).
Dark Passenger said:
agood tweak is to switch this
Code:
dalvik.vm.heapgrowthlimit=32m
to
Code:
dalvik.vm.heapgrowthlimit=48m
(enough for our devices) cause this fixes the vm heap to restrict size to 48m(hence preventing the vm heap from spliting).source :zeplinoxalso
Code:
ro.ext4fs = 1
(suppose to improve ext4 filesystem performance).also anyone tried to change this
Code:
debug.composition.type=gpu
on cm10.1/aokp 4.2to
Code:
debug.composition.type=mdp
what happens(I mean does it cause bootloop or not).
Click to expand...
Click to collapse
Thank you very much.. will add them all soon.
Activo seeder seems to do nothing for me...xcellent replacement is crossbreeder mod which i use everytime along with ram manager app..
swat4samp said:
Activo seeder seems to do nothing for me...xcellent replacement is crossbreeder mod which i use everytime along with ram manager app..
Click to expand...
Click to collapse
As you think.. it is up to you. I think activo is best. But, do not use both together.. use only one thing at one time.
Hey thanks for your awesome guide, to be honest i am using this guide with CM7.2 and i can feel better memory and battery life.
can you please tell me your auto start up settings, i wanna know exactly which apps to disable.
CoDDeZ said:
Hey thanks for your awesome guide, to be honest i am using this guide with CM7.2 and i can feel better memory and battery life.can you please tell me your auto start up settings, i wanna know exactly which apps to disable.
Click to expand...
Click to collapse
Wait, i will give you them..
EDIT: Here are the settings -
(Apps that should be disabled)
During Startup :
Google Services Framework
After Startup :
Contacts
Gallery
Download Manager
Settings
Google Play Store
DSPManager
Google Play Services (all 3)
Google Services Framework (all 4)
Connectivity Changed :
Download Manager
Google Play Services
Google Services Framework (all 3)
Application Installed :
UC Browser (If you have)
Gallery
Contacts Storage
Google Play Store
Google Services Framework
Pico TTS
Themes Provider
Application Changed :
Gallery
Contacts Storage
Google Play Store
Play - My Library
Application Data Cleared :
Google Play Services
Google Play Services
Application Removed :
Gallery
Contact Storage
Google Play Store
Google Play Services (all 2)
Themes Provider
Application Replaced :
UC Browser ( if you have)
Contacts Storage
Time Changed :
Google Play Services (all 3)
Power Connected :
Google Play Services
Note : If you have any other apps installed then disable the apps from those installed ones which you dont want to get started automatically. It depends on you.
Thanks!
BTW, don't remove UserDictionary.apk, when i did, my keyboard kept crashing and force closing every 2 seconds.
Dunno if this doesn't happen at CM9+
Just for CM7, make sure you don't remove the app i mentioned above.
CoDDeZ said:
Thanks! BTW, don't remove UserDictionary.apk, when i did, my keyboard kept crashing and force closing every 2 seconds.Dunno if this doesn't happen at CM9+Just for CM7, make sure you don't remove the app i mentioned above.
Click to expand...
Click to collapse
No it wont happen if you use wp7 keyboard with it.. it also has an inbuilt dictionary in it.
Actually, UserDictionaryProvider.apk and LatinIME.apk are related with each other.. so of we remove one of them n try to use th remaining one.. we will ovbviously get force close.
LatinIME.apk , according to me, must be removed.. because it is near about 10mb ( more than 5mb in cm7)..
Supercharge-CrossBreeding Guide[2.2+]
Supercharger CrossBreeder Combo:-- Yes This will help provide a boost.(this is an alternate to Activo Speeder,Adrenaline engine+boost)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Q.Now you guys ask me why to use crossbreeder along with supercharger ?
Ans.Crossbreeder is an entropy generator(faster refreshing & movements generation in apps) along with dnsmasq cached dns requests(speeds the net)It does nothing where the ram is concerned(and ram is a scarce resource).Here's where Supercharger comes in the combination of min-frees , and fast engine flush(its like an automated adrenaline boost!)allows for much better user experience.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
you can get the latest supercharger v6 script form here its called beast but is safe tested and assured.
you can get latest crossbreeder here.
erikcas has already patched the service.jar so you don't have to do anything
Note : - the service.jar doesn't need to be patched for 2.3 or 2.2 as the values are written & read from build.prop or local.prop(preference to build.prop).
now lets begin.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Install CrossBreeder in recovery its a flash-able zip.
now for the interesting part cross-breeder has certain parts of supercharger in it.Mainly Kernel Mods(KAK)
so in supercharger I'm sure you know how to use it if no here's a small guide.
Guide
install an app called script manager(available in the play-store).
inside the app your first prompt will have an option of browse as root choose it(gets highlighted as blue)and click OK
now navigate to where the downloaded script is located and click on it.
on the top corner there should be an icon of superuser (skull with cross bones) click it and the n click run
now you are running the script....
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
now I wont help you with each and every aspect here(Its actually very simple if confused ask).
main point is to accept nearly everything when asked
a few exceptions are.
if you have zip align is any other script like int2ext then choose to disable boot align and zip align and only enable fix emissions.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
launcher strength = die-hard
Note :don't lock home in memory.
min-frees Settings this is your ram manager :
The setting are not available for 384mb devices(like us) so after a lot of trial and error I found the best working categorization they are as follows :-
Old Settings:
for people who like to have a smooth lag-free experience in their current app BUT no multitasking choose balanced(512hp) categorized by me as aggressive.(option 6)
for people who like limited multitasking along with a fairly lag-free experience choose Quick v6 cust-OOMizer. Categorized by me as balanced. (option 10).
for people who like a large amount of apps open simultaneously and don't mid as many apps open choose 256hp balanced categorized by me as Multitasking (option 3).
New Settings: (only for people who know what they are doing).
These are custom minfree values that can be entered from option 10(custOOMize) and not enabling minfree calculator values.
they are still experimental.
Code:
8,12,30,36,41,47----Balanced(same as minfree calculator).
8,12,33,39,44,50----Aggressive
8,12,24,30,35,41----Multitasking
a good guide to understand min-free settings and OOM is this
Note : disable zram(comp-cache).
Note : disable lock launcher in memory.
now when prompted for kernel strength choose default(thus no conflict with crossbreeder).
Detailing (helps use it).
for detailing choose every 4th boot.
Fast-Engine Flush
for fast engine flush(its kind of like adrenaline boost hell its the same). choose every 6hrs(its automatic wont even know its there) recommended for gb or froyo roms....still lagging choose every 3hrs or recommended is 6 hrs.
NOTE FOR GAMERS
enable fast engine flush every . hrs this will remove cached apps every 6mins allowing for free ram i.e a fast and generally lagfree experience though i recommend to change back to 6hrs once game finishes.
this should allow for a fast and smooth performance with no loss of life.
Thanks and Happy Flashing.
Dark Passenger said:
Supercharger CrossBreeder Combo:-- Yes This will help provide a boost.(this is an alternate to Activido)you can get the latest supercharger v6 script form here its called beast but is safe tested and assured.you can get latest crossbreeder here.erikcas has already patched the service.jar so you don't have to do anythingnow lets begin.Install CrossBreeder in recovery its a flash-able zip.now for the interesting part crossbreeder has certain parts of supercharger in it.Mainly Kernel Mods(KAK)so in supercharger I'm sure you know how to use it if no heres a small guide.Guide
install an app called script manager(availabe in the playstore).inside the app your first prompt will have an option of browse as root choose it(gets hilighted as blue).and click oknow navigate to where the downloaded script is located and click on it.on the top corner there should be an icon of superuser (skull with cross bones) click it and the n click runnow you are running the script....
now I wont help you with each and every aspect here(Its actually very simple if confused ask).main point is to accept everything when asked(launcher strength die-hard).minfrees according to me the minfrees set by the calculator are a tad bit too high(they tend to kill everything if you dont multitask this is the best).a better alternative is to use the balanced settings from 512hp(should be enough but if you get black screen in apps try multitasking 512hp)now when prompted for kernel strength choose default(thus no conflict with crossbreeder).for detailing choose every 4th boot.for fast engine flush(its explained kind of like adrenaline boost). choose every 6hrs(its automatic wont even know its there)....still lagging choose every 3hrs(very risky).thats about it.this should allow for a fast and smooth performance with no loss of life.also please disable zram. and lock home in memory.Thanks and Happy Flashing.---------- Post added at 09:44 PM ---------- Previous post was at 09:42 PM ----------@OJ sorry for piling onto your thread but its such a small matter so didn't want to make one of my own.So we can have this as a comprehensive guide.
Click to expand...
Click to collapse
Why sorry..??? You are helping me.. then no sorry..
BTW, thanks for this new trick.. i am gonna try this.. and will include it in the guide as an alternative to Activo Speeder..
One more thing, it would be nice if you improve this guide a bit.. so that all people will get it.. thnx..
OJ said:
Why sorry..??? You are helping me.. then no sorry..
BTW, thanks for this new trick.. i am gonna try this.. and will include it in the guide as an alternative to Activo Speeder..
Click to expand...
Click to collapse
Sorry was for using your thread but rather than having multiple threads on the same topic I thought we should have one with multiple methods.
OJ said:
One more thing, it would be nice if you improve this guide a bit.. so that all people will get it.. thnx..
Click to expand...
Click to collapse
how so...? Edited it a bit let me know what else is needed
can you please explain what is the benefit of installing app as a system app instead of normally installing in internal memory
Sent from my GT-S5670 using xda premium
Dark Passenger said:
Sorry was for using your thread but rather than having multiple threads on the same topic I thought we should have one with multiple methods.how so...? Edited it a bit let me know what else is needed
Click to expand...
Click to collapse
Now it is perfect.. i will add it soon..

Categories

Resources