[MOD] Collin_ph Battery Tweak For EVO By Myn - EVO 4G Android Development

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

Related

[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

[KERNEL][GPL]Genocide EC05 Kernel 2.0|1.4GhzOC|RomManager|CustomUV|DUALBOOT! 7/5/2011

Genocide EC05 Kernel 2.0 |1.4GhzOC|UV|VoodooSound10|VoodooColor|DualBoot
(Compatible with DK28, EB13, and EC05)
I am NOT responsible for any damages, fires, race-wars, riots, temporary blindness, killer bee attacks, or anything else that could be remotely tied to downloading this file. You have been warned!
Features:
Dual Boot Support!
Overclockable (1400MHz, 1300MHz, 1200MHz, 1120MHZ)
Undervolt via sysfs
ROM MANAGER compatible!
Working redirector
Root and busybox built in
Voodoo Sound v10
Voodoo Color
Cifs and tun modules (not loaded by default)
MANY patches and tweaks
Much much more!!!
REQUIRED READING: IF YOU DO NOT READ ALL OF THIS THEN I WILL NOT PROVIDE SUPPORT FOR YOU UNTIL YOU DO!!!!
1. This kernel is capable of 1.3 & 1.4GHz however the voltage required slightly exceeds (roughly 50mV) the manufacturer's recommended voltage. Enable these AT YOUR OWN RISK.
2. Just because the kernel is capable of higher clock speeds DOES NOT mean every device will handle them.
3. DO NOT gripe or complain and trash my thread if you're device doesn't support anything past 1.2GHz. I WILL NOT increase the voltages anymore past recommended specifications.
4. DO NOT get mad or get your feelings hurt if I tell you to read the original post (OP) instead of answering your question. It means I have already answered it here OR I felt your question(s) needed to be answered in the OP and updated it accordingly.
5. DO a complete nandroid backup in ClockworkMod BEFORE flashing the kernel or messing with the undervolt settings. Setting values too low CAN cause data corruption. Simply restore your backup that I know you just made. YOU HAVE BEEN WARNED!
6. BY DEFAULT the ONLY active frequencies are 100MHz, 200MHz, 400MHz, 600MHz, 800MHz, and 1000MHz. In order for the device to use higher frequencies they must be specifically enabled. If you install the kernel you will NOT be automatically overclocked.
7. The kernel should work with any rom EXCEPT Stock EC05 that is converted to EXT4 AND is NOT deodexed. This is a known issue I am looking into.
8. PLEASE PLEASE PLEASE take time to read and search this thread before asking questions. I am not a baby sitter and I should not have to spend my time answering the same questions over and over and over again as it takes time away from me improving the kernel or working on my other projects. If you see some one ask a question that has already been answered please do not flame them. It would help me greatly if you could take 5 seconds to answer them or link them to the post with the appropriate answer.
NOTE: If you are going to overclock I personally recommend you UNINSTALL SetCPU and set your max with Voltage Control or by hand.
Installation:
Download the kernel and flash with ClockworkMod.
How to Dual Boot:
Information on dual booting can be found here: http://forum.xda-developers.com/showthread.php?p=15378860
Easy Overclock/Undervolt Method:
Setting up your frequencies:
Required software: Voltage Control by xan http://devphone.org/files/epic4g/kernels/VoltageControl_3.0.apk
1. Backup your device in ClockworkMod and flash the kernel. If you get messed up or confused just reboot your device to undo the changes.
2. After flashing the kernel, uninstall SetCPU and install Voltage Control (VC).
3. Open VC and hit 'States' at the bottom to open the States drawer.
4. Enable your desired frequencies and hit the menu button and 'Apply for now' (DO NOT 'Save as boot settings')
5. Hit 'States' to retract the States drawer.
6. Leave the Scheduler as 'cfq' and change Limit clock to your desired max frequency.
7. Hit the menu button and 'Apply for now' (DO NOT 'Save as boot settings' unless you are 110% sure the settings are stable and you have adequately tested)
Setting up your personal undervolt settings: (Caution: When figuring out your maximum undervolt settings there is a good chance you will get some data corruption so make sure your backup in ClockworkMod is up to date)
1. Open VC and select the desired frequency you wish to undervolt.
2. The green slider goes in increments of -25mV so select that first and take note of the frequency and value. (It is important when testing that you reduce the voltage ONE step at a time)
3. Hit the menu button and 'Apply for now'
4. Test the device's stability THOROUGHLY before you move the slider down any further. See the FAQ below for tips on testing stability.
5. If you feel it is stable then repeat this process and move the slider down one step, write it down, and THOROUGHLY test.
6. When your device freezes or starts acting weird then you know that value is too much and you should use your previously stable value.
Repeat this process for each of the other frequencies you wish to undervolt. When you feel you have the stable values that you are comfortable with, open VC and apply your stable values and THOROUGHLY test your device again. After you do all of this, make sure you are 110% certain of the stability before you 'Save as boot settings' and remember you may need to restore your ClockworkMod backup before setting up your final values to ensure no data corruption.
Advanced Overclock/Undervolt Method:
Required software: Working 'adb shell' or terminal emulator
There is NO hand holding here. Make sure you read the Easy Method to familiarize yourself with the process! If you don't know what you are doing then DO NOT attempt this method. If you get messed up or confused just reboot your device to undo the changes.
Enable active states: echo "0 0 1 1 1 1 1 1 1 1" > /sys/devices/system/cpu/cpu0/cpufreq/states_enabled_table
Accepted values are 0 and 1. All ten values must be set and this example enables 1200000 to 100000.
Set maximum frequency: echo "1200000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
Accepted values are 1400000, 1300000, 1200000, 1120000, 1000000, 800000, 600000, 400000, 200000, and 100000.
Set minimum frequency: echo "200000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
Accepted values are 1400000, 1300000, 1200000, 1120000, 1000000, 800000, 600000, 400000, 200000, and 100000.
Set undervolt values: echo "0 0 0 0 25 50 0 0 0 0" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
Values are in millivolts. Accepted values are 25, 50, 75, 100, 125, 150, 175, 200. DO NOT USE NEGATIVE NUMBERS. All ten values must be set.
This example applies a -25mV at 1000000 and -50mV undervolt at 800000.
To set your values on boot once you find what is stable creat a file name S_volt_scheduler with the following contents and change the values accordingly:
Code:
#!/system/bin/sh
#set UV
echo "0 0 0 0 25 50 0 0 0 0 " > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
echo 1200000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
#select enabled states
echo "0 0 1 1 1 1 1 1 1 1 " > /sys/devices/system/cpu/cpu0/cpufreq/states_enabled_table
#set scheduler for stl, bml and mmc
for i in `ls /sys/block/stl*` /sys/block/bml* /sys/block/mmcblk*
do
echo "cfq" > $i/queue/scheduler
done
Put the file in /etc/init.d/ to apply the settings when the device boots.
FAQ (Frequently Asked Questions):
Q. Why isn't my device stable at higher clock speeds?
A. Many processors are cut at a time from one big wafer of silicon and other materials by the manufacturer. No two processors are exactly the same. From a cost stand point these chips are designed to yield a certain percentage of working chips at given specifications. These chips are made to withstand specific currents and voltages. When we exceed the currents and voltages the chips are designed to handle some will fail.
Q. What else can I try if I can't run the higher frequencies?
A. There is not a whole lot you can do. Some things I would suggest is make sure SetCPU is uninstalled. It has been reported SetCPU can cause some stability issues. Another option is to try different roms. Other than that there isn't much you can do. Sorry.
Q. Do you plan on pushing past 1.4GHz?
A. No. I do not plan to push any higher than 1.4GHz. Why? I am not going to push the higher voltages that would be required to go any higher. Please don't bother asking me to.
Q. What are some good ways to test stability while I am figuring out what undervolts my device can handle?
A. The best way to test stability is going to be setting your max frequency to the frequency you are testing and run benchmark programs like SmartBench that test multiple areas of your device. I recommend spending atleast 5-10 minutes running benchmarks and doing other tasks before you decide a given undervolt is stable.
Q. Help I was messing with the undervolts and now I get force closes (FC). What can I do?
A. This is why you made a backup in ClockworkMod. Setting voltage too low can corrupt your data and cause programs to FC. Typically you can reinstall the program or clear the applications data to fix it. As a last resort (and recommended to do anyway after you find your stable values) is to restore your backup from ClockworkMod.
Q. Why can't I use SetCPU?
A. You can use SetCPU, how ever I do not recommend it as it can cause conflicts. I am not going to support using it but if you get it working for you then by all means. I have no problems with the program or it's author and I think it is a great program but it just isn't needed and can make things tricky to get working correctly.
Q. How can I tell what frequencies I will benefit most undervolting or if they are even working?
A. There are two ways. The easy way is to install CPU Spy http://forum.xda-developers.com/showthread.php?t=1011497. The advanced way is to 'cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state'
Q. What are the default voltages for the avialable frequencies?
A. 1400000 @ 1375 mV WARNING: above recommended voltage
1300000 @ 1325 mV WARNING: above recommended voltage
1200000 @ 1300 mV
1120000 @ 1300 mV
1000000 @ 1275 mV
800000 @ 1200 mV
600000 @ 1175 mV
400000 @ 1050 mV
200000 @ 950 mV
100000 @ 950 mV
Q. I have enabled 100MHz but I can not scale down to 100MHz. Why?
A. By default the kernel sets 200MHz minimum. In order to scale down to 100MHz you can flash this script to set 100MHz on boot http://devphone.org/files/epic4g/kernels/Genocide_set_min_100MHz.zip or add this line to /system/etc/init.d/S_volt_scheduler:
Code:
echo "100000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
Q. How do I change the governor with terminal emulator or adb shell?
A. See the answer here: http://forum.xda-developers.com/showpost.php?p=13118624&postcount=1705
Q. This kernel has Voodoo Sound but I don't hear a difference. What gives?
A. There are indeed changes but to look at the settings and adjust the volume, download Voodoo Control App from the Market. I highly encourage people to donate to supercurio as he has done some awesome modification and more of his mods will find their way into this kernel soon!
Q. What is this flashing android on top of my boot animation now? How do I fix it?
A. On a stock rom, enabling boot animation support in the kernel plays the default boot animation (flashing android logo) over top of Samsung's own boot animation. Check out this thread to get rid of the flashing android or clear Samsung's animation for your custom animations.
Q. How do I enable CIFS support?
A. From 'adb shell' or a terminal emulator type 'insmod /lib/modules/cifs.ko'
Q. How do I enable TUN support?
A. From 'adb shell' or a terminal emulator type 'insmod /lib/modules/tun.ko'
Q. How come there is no frame rate increase?
A. The current method to increase the frame rate is by bumping up the LCD refresh rate. While I am told it should not break the LCD I decided it would be best to not mess with this setting for now until we find some proper documentation on the LCD in our devices. The documentation is kept under tight wraps and requires a signed non disclosure agreement for access.
Q. How do I set the timer delay for mkasick's keyboard patch?
A. Please refer to his post on more information about the keyboard patch http://forum.xda-developers.com/showthread.php?t=975611
A2. theimpaler747 has suggested a lower default value for the keyboard patch and has provided flashable scripts to set it lower. Please refer to his post here: http://forum.xda-developers.com/showthread.php?t=1025533 (If reports are good I will bump this down to the default value on my next release)
Q. I don't want to overclock or undervolt. Can I still use the kernel and will it automatically overclock/undervolt my device?
A. Yes you can absolutely still use the kernel. The default frequencies are 200MHz - 1000MHz at stock voltages. This will not change until you change it yourself.
Q. I flashed a different kernel and I lost root. What gives?
A. Root is now included in the kernel. If you flash a kernel that does not have root built-in then you will need to re-root.
Q. I didn't read or my settings became unstable after setting them on boot. Now my phone freezes when it boots up. What can I do?
A. You have two options. Option 1 is to restore your ClockworkMod backup that I KNOW you did before you started. Or option 2 flash this file with ClockworkMod to erase the boot settings: http://devphone.org/files/epic4g/kernels/Genocide_undervolt_recovery.zip
Q. Where are your sources?
A. Kernel sources can be found here: https://github.com/Rodderik/Genocide-Kernel
Q. Where can I find the link to download the kernel already?
A. After you have read everything, check the next post for links and changelogs.
If you like what I've done please consider a donation. I'm usually not one to ask for donations but it's pretty difficult finding a job for me right now so I'm doing what I can.
Please share your undervolt settings so I can compile and recommend a 'safe' starting point to help future flashers. Thanks.
Many thanks to DRockstar, nubecoder, gzub, supercurio, tanimn, mkasick, DevinXtreme, thomasskull666, nullghost, existz, rasdeep, and any other devs that I have forgotten. I apologize in advance. If you feel you deserve credit for something then please PM me and we will get the situation solved quickly.
Changelog: (Legend: "+" introduce addition/modification, "-" removed addition/modification, "*" changed addition/modification)
*updated su binary and Superuser.apk (if you still have the old Superuser installed either delete it from /system/app/ or simply update it via market)
Genocide2.0_superuser.zip
2.0
+dual boot support
+new boot logo for v2.0
*fixed typo in cpu code
*Voodoo Sound updated to v10
Genocide2.0_voodoosnd10.zip
1.1
*Tweaks to initramfs for root in adb
-Revert RNDIS patch due to breaking linux (wired tether still works) https://github.com/Rodderik/Genocide-Kernel/commit/b6b221bcb622ff369fa7c1c82543b3e75bb32748
+ClockworkMod 3.1.0.1 Purple Edition & working redirector (DRockstar https://github.com/DRockstar/Clean-Kernel-EC05/commit/ac713f90ec2a2560bc7fb05225341a4e4772a199)
*Busybox handled by recovery binary
*Moved superuser.apk location
*Swapped redbend_ua for bmlwrite
+Other scripts and tweaks from DRockstar into initramfs
+interactive governor + fixes
*ondemand governor fix to not scale below min frequency (nubecoder)
*Voodoo Sound updated to v9
+mountums & umountums added for USB Mass Storage in CWM (DRockstar)
+DroidDream malware prevention code in custom_init.sh script
*Voodoo Sound updated to v8
-Revert lowmemorykiller.c patch (causes kswapd0 to be stuck awake and eat cpu time)
+Kernel splash image was disabled after DK28 - Re-enabled (Stored in Kernel/drivers/video/samsung/logo_rgb24_wvga_portrait_victory.h)
*Add KBUILD_BUILD_VERSION to build.sh
+keytimer script and mods from DRockstar http://forum.xda-developers.com/showthread.php?p=13017148
*initramfs changes (persistant Superuser.apk)
Genocide1.1_FINAL.zip
1.0:
Voodoo Color by supercurio (http://perso.curio.be/android/Voodoo_color_mDNIe_GT-I9000.patch)
*New Overclocks and sysfs undervolting support (rasdeep, existz, tanimn, gzub, and thomasskull666...pulling my hair out over this one)
+Root, custom init scripts, misc tweaks (care of tanimn)
*Voodoo Sound updated to v7
+Conservative governor minimum frequency fix (You rock GZub https://github.com/gzub/EC05-Zub/commit/8a47c52d85d982ef035d24da293bcc046412b63e)
-Remove refresh rate change (We need proper LCD documentation before I can support changing this)
-Clean up github files and rename repo
-Removed video lag & camera force close fix (Samsung fixed the camera issues for EC05)
+Removed iqmsd service from initramfs (CIQ bad!)
+Keyboard delay runtime sysfs patch by mkasick http://forum.xda-developers.com/showthread.php?p=11755093
+TV compile fix (thanks tanimn and nullghost)
*Tweaked config flags and recompiled modules (thanks gzub for the help)
-Keyboard patch by mkasick in preparation for updated patch
+Refresh rate changed from 60 to 72 (slightly better framerates)
*Voodoo Sound updated to v6
+EC05 source merge
+scaling_available_frequencies sysfs patch from nullghost http://forum.xda-developers.com/showthread.php?t=1000309
Genocide_1.0_EC05_1.4GHzOC_UV_VS7_VC_Kernel.zip
0.4a:
+lowmemorykiller.c patch https://github.com/existz/kernel-i9000-suckerpunch/
+Voodoo Sound v4 by supercurio https://github.com/project-voodoo/sound_kernel_patches
+Added sched_autogroup v4 patch (Patch to smooth system under load) https://github.com/existz/kernel-i9000-suckerpunch/ & http://www.phoronix.com/scan.php?page=article&item=linux_2637_video&num=1 NOTE: Enable/disable by echoing either 0 or 1 to /proc/sys/kernel/sched_autogroup_enabled
+Changed swappiness from 60 to 10 (dumps RAM to swap less often for those with a swap partition)
+Wireless Tether fixes by mkasick http://forum.xda-developers.com/showpost.php?p=11808622&postcount=88 (should fix 4G tethering issues)
+Keyboard patch by mkasick http://forum.xda-developers.com/showthread.php?p=11755093
+Battery Status Polling Interval changed from 2000 to 30000 (30 seconds)
+RDNIS Froyo Fix by mkasick (use wired tether from http://forum.xda-developers.com/showthread.php?t=964925)
+Added RNDIS support for Wired Tether https://github.com/DevinXtreme/Xtreme_Epic_Kernel
+Added CONFIG_ARM_THUMBEE=y (as suggested by gzub)
+Set 4k read ahead in mtd_blkdevs.c (faster boot?)
+existz-initramfs-i9000-suckerpunch ported to Epic - BROKEN RIGHT NOW DO NOT USE!!!
+Removed CONFIG_DEBUG_INFO=y (gives us smaller kernel image and all modules including new cifs.ko)
+CFLAGS_KERNEL = -O2 -pipe -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=soft -mfpu=neon
-Removed About Phone information (Caused FC and weird bugs in apps)
*Fixed error that wouldn't let cpu drop below 200MHz
Genocide0.4a_voodoosnd_20110316.zip
0.3a:
+Set defaults speeds to 200MHz min and 1000MHz max (NOW REQUIRES SETCPU TO OVERCLOCK)
+Compiled in video lag & camera force close fix by mkasick http://forum.xda-developers.com/showthread.php?t=970452
*Fixed issue with Firmware version in About Phone (FIXES PANDORA)
+Set initramfs root UID/GID
+Compiled and added cifs.ko to initramfs
-Removed cifs from kernel (you can try the module if you want but it broke the initramfs with it in there plus it is a nasty 2.3MB)
Genocide_0.3a_EB13_OC-UV_Kernel.zip mirror
0.2a:
+New EB13 initramfs (no more DK28 stuff)
+Added EXT4 Support
+Added bootanimation support
+Updated kernel modules from EB13
+Added recovery (need to test redirector)
+Added Firmware version to About Phone
+Started on Voodoo mods
Genocide_1.2GHzOC_EB13_Kernel_v0.2a.zip mirror
0.1a:
+1.2GHz overclock
+1Ghz 25mV undervolt
+DK28 initramfs (for pre-EB13/OTA compatibility)
Genocide_1.2GHzOC_EB13_Kernel_v0.1a.zip
If for some reason you want to revert back to the kernel that came with your rom you have two options. Before reverting back, I would suggest that you use SetCPU to lock in 1GHz to take advantage of the slight undervolt at 1GHz to save a little more battery. But if you insist the first option is to download and flash one of the following kernels based off which rom you are running:
VIPERrom DK28 RFS/EXT4 Modded Kernel HERE
Bonsai4all DK28 EXT4 Modded Kernel HERE (this includes roms based off of Bonsai as well)
The second option is to be 100% sure you get the right kernel back is to download either zip above and place the zImage into the kernel folder with 7zip. Typically the zImage can be found in your rom of choice's zip under /kernel or /kernel_update.
backing up now lol w00t
Nicely done! +400 to my quandrant scores and almost a full 4.0 increase with linpack. Cannot wait to see what else is to come!
darkjje said:
Nicely done! +400 to my quandrant scores and almost a full 4.0 increase with linpack. Cannot wait to see what else is to come!
Click to expand...
Click to collapse
+1 i was avg around 1100/2300 in smartbench!1ghz, pulling 1300/2900 @1.2ghz
so far so good here THANKS
I love lamp!
Great job brother
WOW!
Team Viper 'STAY STRONG' with these Great ROMS!!!
YOur testers say Thank You!!!
Nice job man,I knew you guys would have somthing from EB13 flashable before the weekend was over.
Sent from my MyFrankenstein ROM using XDA App...
ecooce said:
Nice job man,I knew you guys would have somthing from EB13 flashable before the weekend was over.
Sent from my MyFrankenstein ROM using XDA App...
Click to expand...
Click to collapse
What are your scores for Frankenstein? ...cuz i know you're ROM comes stock like 98MB or something like that ...so it's already quick as Puff-N-Stuff lol
ViperCom?
Why didn't ViperCom show this kernel being available?
edit--EST--5:03am--just saw in ViperCom-Thanks!!!
Thanks, this is really fast. Any chance of someone compiling the browser from it as well? The ones we have are sort of hacky.
BThomas22x said:
What are your scores for Frankenstein? ...cuz i know you're ROM comes stock like 98MB or something like that ...so it's already quick as Puff-N-Stuff lol
Click to expand...
Click to collapse
{
"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"
}
Nuff said,awesome job,this thing is FAST... Cant wait to see what else is to come. And I have tons of things loaded atm,so I could post better scores when I get an EB13 ROM out.
I just got 2450 quadrant on bonsai rom! I didnt even kill other apps
Sent from my SPH-D700 using XDA App
Oooo first to post this...
LOVE the kernel name man lol
Genocide ftw!
Sent from my baked and emotionless SPH-D700
Can anyone help with the scaling settings. Would like a good mix of speed and battery strength. Current setting are conservative (1000000max and 400000min)
id love to see a vid, time lapse or something, of you unfolding this kernel into rich goodness. I'm very interested to learn more about how this works. Maybe start a xda webinar for those wanting to get the skills down...imagine where that could take us, having more educated folks pumping time into creative dev. Either way, Capital R you are the man! Keep the wheels turning.
Sent from my SPH-D700 using XDA App
Runs great. Awesome job man. Finally an oc/uv for froyo!
Sent from my SPH-D700 using XDA App
backing up and installing now, is it possible to post or get a link to the stock trinity 2.0 kernel incase we run into errors later on ?
It's been so long since I've had a custom kernel I almost forgot what it felt like!
Runs beautifully on Nebula rom. Actually logged in on my browser just to send you a thanks.
Fangs87 said:
backing up and installing now, is it possible to post or get a link to the stock trinity 2.0 kernel incase we run into errors later on ?
Click to expand...
Click to collapse
nandroid
but u could prolly grab the zImage from T2 and manualy flash?

[rom/kernel]*d.i.l.l.i.g.a.f* v2.0-rom/kernel 4/4/11 OC 1.8ghz/UV

Finally got these finished and running stable and fast. Im gonna call this a 'beta' for now only cause its my first release with this phone, but after running this rom a kernel for a few days, i have encountered no issues at all. Both are inspire based, and the kernel is built from inspire source. Since this is first release, this will wipe all data, so back your apps up with titanium backup if you want, it comes with this rom, so you can reinstall everything soon as its done flashing.
Remember, this is only v.01, and it WILL get better and faster as time goes on.(its already pretty fast though)-
coming soon-
no sense version- new thread for that version
more kernel tweaks
clockwork flashable zips for stock animations, stock fonts, and possible gps fix for the few with problems that was posted in here are attached to this post..-ANY FRAMEWORK MODS NOT COMPATIBLE WITH V2 YET
Flash this through clockwork recovery after your phone is rooted.
1.0+ wont wipe data, if your coming from a different rom, its recommended you flash the full-wipe.zip to avoid any issues
note if you want to flash a new kernel-
not all kernels are compatible with fugu mods(credit to nikademus-i9000 forum for the initial find)- ask your kernel dev if the kernel is compiled with config_oabi_compat. if its not, it could cause issues and youll lose your bootanimation. FWIW, it will boot without that config, but its recommended for full compatibility)
DO NOT RESTORE ANY /SYSTEM STUFF FROM TITANIUM BACKUP-IT WILL CAUSE ISSUES
DOWNLOAD-will not wipe /data
v2.0 w/ di11pickle kernel(fugu tweak compatible)-
http://www.multiupload.com/V3J0H9B6JP
md5-74a6a3485a5980dc40132273b5651a76
v2.0.1 Update(must be on 2.0 before you flash this- this is not a whole rom)
http://www.multiupload.com/WUZYC92MP2
2.0.1 changelog-
-browser fix
Optional EXT2 kernel-(flash in recovery AFTER the rom)-
http://www.multiupload.com/2NUWCXM3G3
md5-74a6a3485a5980dc40132273b5651a76
v2.0 rom changelog-
-power control in notification bar-customizable toggles and color(wifi toggle, gps toggle, etc)
-fugu tweaks- some important gingerbread binary files to increase smoothness
-new theme - blue gen x-(d3stroy from i9000)
-removed browser 4 tab limit
-added sys ro,rw- easily mount as ro or rw(ill explain more tomorrow)
-updated setcpu(hopefully help with that issue)
-added spare parts- i suggest setting both animation speeds to fast(makes my default animations look a lot better)
-added apk to customize the power control mod
-probably more that im forgetting, but i have to be up in 3 hours.
v2 kernel changelog-
-added compatibility with fugu tweaks
-upped default clock speed to 1036mhz(almost stock-still OCable to 1804)
-made some small tweaks that should help a little
-made lowmemory killer minfree settings more aggressive for more free ram(good settings for sense)
-modified some file system mount options for speed
-probably some more that i forgot(will be adding/changing a lot in next kernel update)
v1.0 rom changelog-
hopefully helped data/gps problems
-changed some stuff in build.prop
-new gps.conf
-libsqlite i/o patch
-setCPU now included in /data
-new apn list
-sound improvements
-huge kernel improvements
v1 kernel changelog-
-overclockable to 1.8ghz
-undervolted by default
-customizable undervolt settings by changing vdd table
-20% increase in speaker volumes
-small gpu improvements
-5% faster scaling
-optimized compiler flags--O3 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp
probably more that im forgetting
kernel source will be put on my git soon
Rom features-
-based on stock Inspire 4g firmware
-framework and apps fully deodexed, zipaligned and optimized
-extended power menu(reboot, recovery, bootloader, hot restart, hibernate, etc)
-accurate % circle battery (matches everything)
-custom window animations
-removed all bloat
-added AOSP filemanager(install apps from SD card before signing in to market)
-newest flash player 10.2 pre-installed
-install non-market apps (check box to enable in settings)
-HSUPA
-increased wifi scan time to 2 minutes for increased battery
-rooted, SU, busybox + sqlite
-lightly themed
-nice default wallpaper
-evo black bar mod
-custom font(clean and clear)
-automatic add blocking
-big apn list
-simple, clean bootanimation + shutdown animations
-init.d(run scripts at start)
-all new, non-zipaligned apps in /data will zipalign at boot
-no h+ data icon- h+ icon is now just matching green H(a white H would be equivalent to when your phone is just showing h, not h+)so
green H=H+ connected
white H=H connected
Kernel featrues-(2 versions)
included version-
-built from inspire source
-disabled a bunch of kernel debug stuff(less kernel overhead,=faster, more battery efficient
-init.d enabled
-compilation optimizations
-default shed.=noop(better for non-spinning disks)
-ro.secure=0----=adb run as root
(overclock/undervolt + more optimizations coming soon)
optional version-
all of the above+
-/data and /cache will mount as EXT2 instead of EXT3.
EXT2 is faster, and should be a little battery efficient. Stock configuration is EXT3, data-ordered(not data-journaled). ext 2 is a more simple file system with no journal, and was the default linux file system for a looooong time.
disclaimer- this is a very minute, and maybe even non-existant possibility-
in the case of sudded power loss(battery pull), there is a chance you could lose data, or data becoming corrupt(if you were in the middle of writing to /data). I did MANY tests of different scenarios while pulling the battery out of the phone. I lost nothing and had absolutely no problems. I did this many times, and this is the kernel ive been using for the last week or so, and its been 100% stable and fast. quadrant is around 2200 with no OC. If for some crazy reason there is some kind of data loss, its not a huge deal, worst case would be a wipe data/factory reset from clockwork or reflash.
i will be updating both of these with different things, and probably have some
test builds as well.
If you dont want the window animations, turn them off in display settings, i will also have a flashable zip up tomorrow with the stock window animations.
To tether, search for the apn you need, its in the inspire forum somewhere. If anything is missing that you want back, let me know ill make a .zip
(eg, the ereader default books are gone, stock font, etc)
credits-
lee-vdd table for kernel
cleard- apn list
pendo- battery charge xmls
1st pic is theme for 2.0
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'll flash this tomorrow first thing. Your Captivate ROM is awesome and I know this will be, too.
CM7 Inspire 4G
Might have to give this a go. Always glad to see a captivate dev over here.
Oh yeah !!!! Ive been waiting for this ever since I heard you had an Inspire.Downloading now.Will report back soon.
Flashing now, will post results this evening -
Thanks -
im off to bed, gotta be up in an hour..lol
ill check in in the morning.
Looks really nice, I will definitely be checking this out in the morning.
Thanks!
Sent from my Inspire 4G using XDA Premium App
Wow you really outdid yourself with this.Its beautiful, smooth,fast and has all the right touches.Gonna flash the optional kernel tomorrow night after Ive had a full cycle on this one.
And Im so happy to have the black google search back.Its almost invisible with the right background.
had your captivate rom and it was awesome, as soon as i saw this i had to flash it lol looks good!
Downloading now!
As you can see below on my signature, I still run one of your roms in one of my Captivate's that can't be beat!
Cant wait to try this one out.
A couple of questions:
What radio do you reccommend for use with the rom. I did not see it listed. Sorry if I missed it no coffee yet!
Has any audio boost been implemented? Or can it?
Call record was awesome on the Captivate, will it work on the Inspire? Can we just flash the old one in?
Glad your rom is in the mix!
Thanks.......
Alright I couldnt resist.I flashed the ext2 kernel.Definitely seems a bit zippier.
Downloading now. Loved your Captivate work.
Running with the optional kernel and all not a hitch so far. I will let you know how it goes. If anything like the othgers you have done it will be a winner!
Is there a reason Development does not default to on?
SNadler said:
Running with the optional kernel and all not a hitch so far. I will let you know how it goes. If anything like the othgers you have done it will be a winner!
Is there a reason Development does not default to on?
Click to expand...
Click to collapse
How is the volume levels?
Sent from my Inspire 4G using XDA Premium App
SNadler said:
Downloading now!
As you can see below on my signature, I still run one of your roms in one of my Captivate's that can't be beat!
Cant wait to try this one out.
A couple of questions:
What radio do you reccommend for use with the rom. I did not see it listed. Sorry if I missed it no coffee yet!
Has any audio boost been implemented? Or can it?
Call record was awesome on the Captivate, will it work on the Inspire? Can we just flash the old one in?
Glad your rom is in the mix!
Thanks.......
Click to expand...
Click to collapse
I just use the stock radio, haven't tried any others so I can't really say. Stock has been fine for me though. I haven't changed anything related to sound in kernel, but its been ok for me, actually pretty loud. If you guys flash and feel it needs a boost, just let me know and ill try to get it into the next version. Call recording I almost guarantee will not work straight from the captivated due to the lib audio files, which will most likely cause a boot loop. I'll look into it and see if I can get something similar forth inspire, it'll just be A LOT harder than the captivated; probably has to be built from scratch. But, going through some of the files deep in the Rom I saw some code or something about call recording(I can't remember where, but I only decompiled a few framework files so I have a general idea. I'll see if I can find it and see what its about.
SNadler said:
Running with the optional kernel and all not a hitch so far. I will let you know how it goes. If anything like the othgers you have done it will be a winner!
Is there a reason Development does not default to on?
Click to expand...
Click to collapse
Do you mean debugging? If so, its just cause its the stock settings, and that's what out defaults to. I can easily change that in next version.
Thanks for the feedback guys.
Looks awesome, So glad we now have a 3rd option for Inspire base rom. The Inspire roms run much smoother IMO. Your Captivate roms were the shizzle, I have high expectations for this in the future and I'm sure you will deliver
We appreciate your hard work! Im going to flash this soon
EDIT: quick suggestion im going to throw out there, maybe you should name your rom? Give it a fresh name it will draw more viewers scanning the Development section
Just a thought throw it back my way if you don't like it. Also remember to put [ROM] in the title, i almost missed it scanning for roms
topgun303 said:
How is the volume levels?
Sent from my Inspire 4G using XDA Premium App
Click to expand...
Click to collapse
Earpiece is fine but speakerphone is still lower than I would like. The only one I have found the speaker phone is good is Rev b2
This is very very smooth so I will keep it on for a while to keep testing.
Anyone have a cure for the low speakerphone. Already tried the posted fixes....
di11igaf said:
I just use the stock radio, haven't tried any others so I can't really say. Stock has been fine for me though. I haven't changed anything related to sound in kernel, but its been ok for me, actually pretty loud. If you guys flash and feel it needs a boost, just let me know and ill try to get it into the next version. Call recording I almost guarantee will not work straight from the captivated due to the lib audio files, which will most likely cause a boot loop. I'll look into it and see if I can get something similar forth inspire, it'll just be A LOT harder than the captivated; probably has to be built from scratch. But, going through some of the files deep in the Rom I saw some code or something about call recording(I can't remember where, but I only decompiled a few framework files so I have a general idea. I'll see if I can find it and see what its about.
Do you mean debugging? If so, its just cause its the stock settings, and that's what out defaults to. I can easily change that in next version.
Thanks for the feedback guys.
Click to expand...
Click to collapse
Yes I just noticed on most of the other roms it is defaulted to the ON and this one was off. No issue at all. The volume on the speakerphone seems to be an issue for everyone as far as I can see. If you have a solution to that I am sure the world would be grateful! Thanks!.......
I was just on the speaker phone and it sounded fine to me. I'm using the m3 radio don't know if that matters.
Sent from my Desire HD using XDA Premium App
OK i just in stalled this on my phone and its perfect so far. I have been using it for like 5 min now and absolutely love it. I know its to soon to be saying this but i had to post how nice this rom is so far.

[ROM][Sep 26][ACE] Virtuous Unity 2.39.0 Sense 3.0 based on Pyramid

{
"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"
}
Virtuous Unity is the first custom Sense 3.0 ROM, scaled for WVGA screens, to be based on an official shipping release from HTC (1.45.401.2).
The entire ROM is brand new, taking no application or framework components from any prior Sense 3 releases.
Unity is the result of a collaborative, team effort by the following developers:
Flemmard
Diamondback2010
rmk40
chrisch1974
m-deejay
seo
eViL D:
Screenshots
Features
Based on the official Sensation shipping ROM (1.45.401.2).
Ported for full functionality on each supported devices. Additional device support is being added regularly.
Resized for WVGA (800x480) displays, using a purpose built tool to modify HTC's proprietary m10 binaries, developed by Flemmard and Diamondback.
Heavily optimized for fluid performance and usability.
Overclocked kernels with numerous additional kernel modules.
Built-in screen state frequency scaling (1.2Ghz-245MHz/ondemand screen-on, 806Mhz-245Mz/conservative screen-off), via custom built Virtuous_OC C daemon.
Trackpad wake support (DesireZ/G2 and MT4G only).
WiFi calling (T-Mobile USA only).
Fully functional device hardware, including wifi, bluetooth, camera, camcorder, etc.
Market-sourced applications (Gmail, Maps, Voice, etc) automatically installed on first boot into /data/app for easy removal.
Bloatware and unnecessary applications removed.
Supported Devices
Desire HD
Desire Z
Desire S
Incredible S
Inspire 4G
myTouch 4G
Porting Information and Credits
Virtuous Unity, or any components therein, may not be ported to other devices without explicit email approval from the development team. We will be approving ports, presuming the develop of a given port is ready and willing to follow the same revision control and release processes currently employed existing devices.
hrk - Allowing use of ghostySMS Vision version.
cypis - For his awesome Unity-banner
robocik - Tips regarding APK compression.
capychimp - Tips with DHD audio optimization.
HTC/Google- For building such a good base system.
Important Notes
If you are experiencing random freezes and/or reboots, this is likely due to your device being incapable of handling our overclocking defaults. Download and apply this flashable patch, which will reduce the maximum CPU frequency to 1Ghz and likely eliminate this issue.
You must complete a full wipe prior to installing this ROM the first time. We also recommend wiping between upgrades, but you are welcome to try upgrading without a wipe. However, no support will be provided if you file a bug without having wiped prior to submission.
Bugs and Errors
To ease the process of reporting bugs to the team, we made a public bugtracker where you can report the bugs you found. Please make sure you read all the existing entries there to avoid doubling the errors.
The bugtracker is located here.
Download :: Changelog :: More Information​​(Official Website of Virtuous ROM)​
Install instructions:
1. Make a full wipe
2. Flash ROM
3. Reboot
Recommended radio:
12.54.60.25_26.09.04.11_M2 (matching RILs included in this ROM)
Addons for 1.26.0, 1.27.0, 1.29.0 and 1.31.0
CRT patch (add CRT animation): Flash in recovery.
NO CRT patch (revert CRT animation back to stock): Flash in recovery.
A few notes
To get support from the team a FULL wipe is required. Without a wipe we can't help you if you have problems
Some changes REALLY need a full wipe to fully work, you can try a non wipe install, but do NOT report any bugs until you wiped.
G2 users must change to the DZ hboot
Old Downloads:
Patch for Virtuous Unity 1.0.0:
Download Virtuous Unity v1.0.0 Patch 1 (9MB)
Changelog:
Fixed HTC IME
Resized HTC Calendar
Fixed G-Sensor calibration
For more detailed description please visit our download page:
Virtuous Unity v1.0.0 - Patch 1 Released
Special features
This ROM has some unique or not widely known features which I want to explain here.
Screenshot
This ROM (in fact most Sense 3 ROMs) has the unique feature to make screenshots without any additional app.
Just Hold the "Power"-Button and then press "Home" at the same time and the phone will save your screenshot in the Images folder on you SD-Card.
OC Daemon
This ROM deals with overclocking a little bit different than other ROMs. To get further information read this post.
Fancy input animations( coming in 1.26)
Unfortunately HTC removed from all their Sense ROMs the "open" and "close" animations for the keyboard.
Thanks to seo we were able to get them back
There are two different animation versions. The normal one is always activated and there is also no way to deactivate it.
The second "fancy" version can be enabled via the app "Spare Parts" which is in the Android Market.
Custom user app install during first boot
The ROM has the ability to automatically install custom user apps during the first boot (after a wipe)
All you need to do is the following:
Create an folder on your SD card and name it virtuous_unity
Create another folder inside virtuous_unity folder and name it 'app.user'
Copy all the desired apps in this directory in there paketname form, for example: 'com.quoord.tapatalkxda.activity.apk'
Now flash the ROM via your recovery
During the first boot the apps get installed from your SD card, as this will take a while, don't get impatient
(thx semsem1969 )
Release strategy
We are planing to release our ROM in the future every second week on the same day and around the same time.
This point in time will be every Monday night (GMT).
If there are no MAJOR bugs we will release what ever we have done at this time.
Saturday night (GMT) is the so called feature freeze, then the ROM will enter the testing phase. It gets tested until monday and then the team will talk about the results.
Once everything is approved we'll release the next version.
As you should know now when the next version arrives I won't answer ANY questions concerning ETAs.
Further information and support at #virtuousrom on Freenode
User Mods
Revolution HD Theme from he_stheone64: Click. Please don't download, needs to be redone for the new framework
Theme from ATZ-007: Click.
Font-Mod fromATZ-007:Click.
Autobrightness-Mod from ATZ-007: Click.
Theme from liamstears: Click.
Known Issues
We made a public bugtracker where you can see the current bugs.
You can even register and create your own bug reports
Please read the existing bugs before posting a new one!
The dev team is using another seperate bugtracker, so you won't find all open points in the public one.
But to ease the whole thing i made this special public one
The bugtracker is here.
Introduction to the new Overclocking Daemon
This ROM features a completely new way of Overclocking and managing screen states.
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 C 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 files eg. with RootExplorer or any other app which can edit system files. So you can adjust the frequencies and the govenor for each state just like with SetCPU.
In order to get the available frequencies for the current kernel, just open your favorite terminal app and type
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
You could also use adb shell to show the frequencies on your computer.
To get the available govenors use a similar approach:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
Please make sure, you are entering the right values in the daemon's config files.
More sense 3.0 roms? NICE! DLing now!
SRS/Dolby do they work ???
downloading now.
can't wait to test the rom...!
Saahhhweeet!
Sent from my Desire HD using XDA Premium App
features sound good
I have to try
Flashing as we speak
Let the games begin!!!
Thanks team..
Great news! Downloading now!
srikanth.naidu said:
SRS/Dolby do they work ???
Click to expand...
Click to collapse
The Pyramid doesn't have Dolby, so this is obviously not in atm.
SRS does something, but i think it's not perfect right now.
Backing up and downloading now... haven't tried a new ROM in a while!
Diamondback2010 said:
The Pyramid doesn't have Dolby, so this is obviously not in atm.
SRS does something, but i think it's not perfect right now.
Click to expand...
Click to collapse
Sounds like the same "issue" the Kingdom Port of Capy has. Since SRS isnt featured by the Sensation nor the Kingdom, its kind of a little "dirty" workaround without a perfect outcome. Lets see how that can be resolved in the future.
Still wondering why Sensation and Kingdom (and more future HTC Phones?) doesnt have SRS ... I thought it was a really nice enhancement.
bootloop
m-deejay said:
bootloop
Click to expand...
Click to collapse
You really should wipe
Try4Ce said:
Sounds like the same "issue" the Kingdom Port of Capy has. Since SRS isnt featured by the Sensation nor the Kingdom, its kind of a little "dirty" workaround without a perfect outcome. Lets see how that can be resolved in the future.
Still wondering why Sensation and Kingdom (and more future HTC Phones?) doesnt have SRS ... I thought it was a really nice enhancement.
Click to expand...
Click to collapse
Exactly. That should be the problem.
I'm not sure, but for Dolby/SRS support...maybe this snd3254 workaround for CM/MIUI ROM's will work for Sense ROM's too?
I'll try it though after flashing this ROM. Thanks for the hard work.

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

║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

Categories

Resources