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

I decided to start a new thread for sanity purposes, the last one is already getting too big to scroll through. Here is the first release of my GUI + updated script that easily configs rom options. I tried to write this as generic as possible so we have the most room for upgrade in the future. Right now its pretty ugly but alot works. I need testers to play around with this, theres no way i can test every possible rom and every possible switch.
This should work with any kernel that runs app2sd, just needs a slight tweak to the init.rc to make sure apps2sd directorys are setup before launching the rom. This takes alittle bit more time to do it properly. Ill be posting a few different flavors for various roms out there. If you have a bug, please adb logcat _really_ helps. Also rom version you are on, and a copy of your /data/data/com.treve.dconfig/dc.conf & dcbannedapp.conf, i also have started to implement logging, /data/dcboot.log will help. sorry for files all around next version will fix alot. This requires toolbox (needs getprop/setprop) everything else should be included.
pretty much flash the right version over your rom, set your options, save, reboot & enjoy. shouldnt be much more to it. if you get forcecloses upgrading or after restoring apps wipe your /data/app-private/* some apps dont play nice. first boot will take _forevor_
Defaults are apps2sd with apps & app-private moved, dalvik on phone, swap to SD, JIT off. **it does not read back options saved so use other methods to tell if its working till next build **
Contact me if you want to put this in your rom or help me out!
Downloads:
v1.2 -
-Adds in dalvik VM heapsize settings
-fixes permissions a bit
-backend work for audio move underway
v1.2 downloads-
Damage/Fresh2.0d/Sushi/Aloysis kernel - http://www.4shared.com/file/d2UVEYLJ/treveDConfigDCKERNELv12.html
v1.1 -
Adds in restoring of configs capability. Need to manually hit the button to restore for now.
sets by default to "safe" settings. Should increase compatibility. Users of previous versions once you save your settings once they should stick on upgrades until you wipe the device
V1.1 Download (tested flashing ontop of damagecontrol & pancake 0.1)
Damage/Fresh2.0d/Aloysis (2.6.29-d30020a8) - http://www.4shared.com/file/vFIOghLT/treveDConfigDCKERNELv11.html
v1.5 gumbo (2.6.27GK-0.32) - http://www.4shared.com/file/4KolEQTJ/treveDConfiggumbo15ckernelv11.html
v1- first release
-newer a2sd then previous release
-set config options in gui
-initial configs write to /system/etc/ for now my GUI writes to /data/data/com.treve.dconfig/ a2sd will prefer the ones in data/data/ if they exist. this should allow for rom cookers to put in there recommended settings, but if your flashing over a existing rom without a wipe it will keep all your preferences. This is nice because we get stuff like auto remove of apps we dont use without romcookers putting out over 9000 roms.
-GUI DOES NOT READ BACK CONFIGS YET. This will come next version. For now once you exit form it will revert to defaults so you will not beable to see what you have set once you exit. (main settings & banned apps are on 2 different configs, you do not need to save both pages when making changes.)
-No icon or package name. Deal with it - you get functional or pretty. Ill clean stuff up later.
v1 downloads-
Damage kernel(2.6.29-d30020a8) - http://www.4shared.com/file/P_IlAvUs/treveDConfigDCKERNEL.html
Fresh kernel from 2.0d (untested by me) http://www.4shared.com/file/FQYFsuJa/treveDConfigfresh20dkernel.html
Gumbo 1.5c (realllly untested) http://www.4shared.com/file/hK9k7g-Q/treveDConfiggumbo15ckernel.html
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is the backend settings that are possible. This stuff might be jibberish to most but with gui now it shouldnt matter to more than rom cookers or people who like to tinker.
**NOTE COMMENTS STILL HAVE 0 AND 1 NEW VERSION USES TRUE/FALSE**
/system/etc/dc.conf is the heart of this mod now. Dont try to delete variables or the conf file, scripts not smart enuf to check for that yet.
Code:
#DC Config file
#Hacked up by TrevE @ xda for damagedrom
#
#dc.a2sd.active - disables all a2sd
#dc.a2sd.apps.active - 0 moves all files to /data/ - 1 moves to /sdcard/data/ can be controlled seperate from a2sd.active
#dc.a2sd.dalvikcache.active - 0 keeps files on /data/ - 1 moves to /sdcard/dalvik-cache/
#
#dc.swap.active - 1 auto mounts sd card partition mmcblk0p3 for swapping. 0 keeeps it at mtdblock4
#dc.swap.swappiness - Range: 0 - 100, larger number = more likely to swap
#dc.jit.active - 1 to enable JIT next boot (make sure to switch to lancher as a defalt home first) 0 to disable.
#dc.bannedapp.active - 1 enables ban list (renames .apks to .dcbanned) defaults are set to programs that interfere with JIT
#dc.firstboot.active - check for firsboot script in /data/ on boot
#dc.zipalign.active - zipalign anything that needs it in /data/ on boot
#
# scaling_governor has 2 settings with HTC Perflock "ondemand" or "performance"
# lowmemkiller default rom settings - 1536,2048,4096,5120,5632,6144
# lowmemkiller less agressive settings - 1536,2048,4096,5120,15360,23040
# lowmemkiller more agressive setting - 1536,3072,4096,21000,23000,25000
#A2SD specific stuff script
setprop dc.a2sd.active true;
setprop dc.a2sd.apps.active true;
setprop dc.a2sd.dalvikcache.active true;
#Other system parms
setprop dc.swap.active false;
setprop dc.swap.swappiness 30;
setprop dc.jit.active false;
setprop dc.bannedapp.active false;
setprop dc.firstboot.active true;
setprop dc.zipalign.active true;
#Former gumbo.sh settings
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "1536,3072,4096,21000,23000,25000" > /sys/module/lowmemorykiller/parameters/minfree
==================="Basic" Options===================
Apps2SD
-Default is dalvik & apps are moved to sd. (Does not hurt to leave enabled if you are not using it.)
-if you have a slower SD card it might be better moving dalvik back to internal memory.
You can enable/disable dalvik & app move separately. To move dalvik back to SD:
Changing any options are easy. For example - To turn just dalvik sd cache off:
start -> run -> cmd
defaults are in:
adb pull /system/etc/dc.conf .
if you used dc tool use the one in data data:
adb pull /data/data/com.treve.dconfig/dc.conf .
open up dc.conf in notepad. Change the one line
setprop dc.a2sd.dalvikcache.active false;
to
setprop dc.a2sd.dalvikcache.active true;
push it back to phone
adb remount
adb push dc.conf /system/etc/
Click to expand...
Click to collapse
-New users any time just format ext(2 or 3) in recovery to enable. Next boot it will automatically move your apps. If you get any FC after a new enable of a2sd try Fix apk UUID option in recovery
AutoZipalign
-On by default.
anything written with newer dev kits should do this automatically, but there are still a buncha market apps that arent. This just goes through /data/app/ on boot and checks that everythings aligned and fixes what it needs to. Fixes some of the rosie lag loading the icons.
more here http://developer.android.com/guide/developing/tools/zipalign.html
scaling_governor
-Set to ondemand by default
Just change word in quotes. With HTCs 2.6.29 kernel we have two options (until someone gets us source)
-performance
-ondemand
lowmemkiller
-Set to more aggressive by default.
To change just edit numbers in double quotes on the lowmemkiller line in dc.conf.
Common values: (included at top of conf but here again for reference)
Code:
# lowmemkiller default rom settings - 1536,2048,4096,5120,5632,6144
# lowmemkiller less agressive settings - 1536,2048,4096,5120,15360,23040
# lowmemkiller more agressive setting - 1536,3072,4096,21000,23000,25000
DCBannedapp.conf
-default is off
*If this "banned app" flag is set it will rename any file in /system/etc/dcbannedapp.conf to .banned. When its set back to 0 it will "re-enable" them. Right now dcbannedapp.conf cannot have anything but a full filename (/system/app/Rosie.apk), one per line.
*if the delete banned app flag is on anything in this list will be deleted instead of renamed. No going back.
This is useful in a few ways-
-if you enable JIT we can put a list of banned apps (htc stuff) to increase stability. If you want to disable JIT just flip to flags and you have sense again.
-rom cookers can just post config files to have several different versions of a rom from one download (for ex: sense/no sense version)
Here is an example of dcbannedapp.conf I have been playing with. This strips sense out & gets you down pretty bare bones. (Yes there is more we can remove, i trimmed this list up a bit when we were having issues. now that things seem stable its time to cut out more )
Code:
/system/app/com.htc.MusicWidget.apk
/system/app/com.htc.TwitterWidget.apk
/system/app/com.htc.StockWidget.apk
/system/app/com.htc.WeatherWidget.apk
/system/app/DCSStock.apk
/system/app/Facebook.apk
/system/app/Flickr.apk
/system/app/HtcAddProgramWidget.apk
/system/app/htccalendarwidgets.apk
/system/app/htccontactwidgets.apk
/system/app/HtcClockWidget.apk
/system/app/HtcLockScreen.apk
/system/app/htcmailwidgets.apk
/system/app/htcmsgwidgets.apk
/system/app/HtcNaviPanel.apk
/system/app/HtcRingtoneTrimmer.apk
/system/app/htcsearchwiddgets.apk
/system/app/HtcSoundRecorder.apk
/system/app/HtcTwitter.apk
/system/app/IM.apk
/system/app/IQRD.apk
/system/app/OMADM.apk
/system/app/Rosie.apk
/system/app/SDSA.apk
/system/app/Sprint_Core.apk
/system/app/Sprint_NFL.apk
/system/app/Sprint_Nscar.apk
/system/app/Sprint_TV.apk
/system/app/Sprint_TVWidget.apk
/system/app/Stock.apk
/system/app/VoiceSearch.apk
/system/app/WidgetDownloadManager.apk
/system/app/WorldClock.apk
firstboot
-default is on
script in /data/firstboot.sh will run automatically on nextboot if it exists. Auto deletes when done right now (new flag soon)
===================Advanced Options===================
Handle with care
Swapping
-Swap is disabled by default.
-If you have a fast card you can turn it on by pulling /system/etc/dc.conf and changing
setprop dc.swap.active false;
to
setprop dc.swap.active true;
More about swapping here (in same article as compcahe, not the same) http://wiki.cyanogenmod.com/index.php/Compcache
If you look at benchmarks below my guess is the lower swap is better with quick burst reads but when you swap moree and more out the card (or the bus) hits a limit a starts to choke. Went back down to 30 an result were right around 4.6 for copy mb again.
JIT
**JIT does not play nice with rosie or HTC lockscreen**
Enable bannedapp flag & put any conflicting files in /system/etc/dcbannedapp.conf This will let you switch between JIT compatible stuff/ non JIT on the fly.
To enable JIT:
-first use homeswitcher to switch to anything becides rosie and make it default (included lancher.apk in update).
-Now you must adb shell rm /system/app/HtcLockScreen.apk
-Now pull /etc/dc.conf and change
setprop dc.jit.active false;
to
setprop dc.jit.active true;
reboot & enjoy

===================Fixes===================
-Avaulaunches modded AudioRC fix to work with this. Flash the latest mod above then this ontop of it right after.
http://www.4shared.com/file/9mEpJR-0/AvalaunchRCFix_ForTrevEMod.html
-If you get bootloops upgrading try whacking private apps
Code:
adb remount
adb shell rm /data/app-private/*
adb shell reboot
-If you want to stick with JIT & have no use to ever enable the banned apps again you can delete em
Code:
adb remount
adb shell rm /system/app/*.dcbanned
===================Benchmarks===================
linkpack/membench seem relevant here, neocore doesnt really fluxuate in fps doesnt seem worth it.
(post yours & any tweaks you make!)
Here is with a2sd app & dalvik moved
Swap off, Swap @30, Swap @ 60(in order left-> right, yes 60 is worst.)
A2sd app/Dalvik/[email protected]/JIT on
JIT off /on:

finally a aps2sd I understand! This us amazing. Testing....

apps2sd working great on aloysis! You rock

Do I flash this over my Rom now. I am using Regaw.

redram38 said:
Do I flash this over my Rom now. I am using Regaw.
Click to expand...
Click to collapse
the damage control should flash over regaw fine. once you flash go into the app & tweak things how you want, then save & reboot for it to take effect. If you have a fast SD card the most common mods are moving dalvik to SD and swapping. JIT adds a nice speed boost as you can see by the benchmarks but isn't quite working in sense yet so make sure to disable sense in banned apps.
Going without sense is a bit weird at first but theres a buncha nice apps out there. check out helix launcher, beautiful widgets and bookmarks2. That with the android power widget & genie weather widget im pretty happy.

redram38 said:
Do I flash this over my Rom now. I am using Regaw.
Click to expand...
Click to collapse
That's what I'm about to do
I'm pretty sure he built this to run with "any" sprint based release
THANKS TrevE!!!
This is amazing. It's been awesome watching this come together, I can't believe you built this into an app. You sir are officially THE MAN

been playing around tweaking my settings. cant wait for it to save settings its wierd without it.
I appreaciate the work and all but it really needs an icon lawlz
thanx

sorry for the app being a bit crude still i wanted features to work rather than look good. Itll get better in time remember this is only a few days work i got alot more planned
Hopefully later on well have some kinda icon. Im close to being done with restoring states from a config now, probably wont see something till later tongiht though. Unless anyone finds bugs with the actual script itself it will ust be a new APK to push. Keep the reports coming in of successes or any issues!

TrevE said:
Going without sense is a bit weird at first
Click to expand...
Click to collapse
Do you know of any mobile data toggle widgets that actually work as a toggle and don't just take you to the mobile data settings when launched? I spent a few hours last night trying to find one.

Have you tried the htc settings widgets?
Sent from my HERO200 using the XDA mobile application powered by Tapatalk

"fixes some of the rosie lag loading the icons.."
When I flash some ROMS, and my phone 'falls asleep', when I wake it back up, i get a black screen for a second, and then everything loads, is this what your talking about?

jAm-0 said:
Have you tried the htc settings widgets?
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
Click to expand...
Click to collapse
that's the widget i'd like to have emulated in helix

so how is this working out for people? Is everything working ok or are we crashing and burning? i got a new version that should keep your settings displayed even if you close out of the program. its looking like it will just be an APK because i havent had any bug reports (yet) dunno i thats a good thing or not...

HarveyStyles said:
"fixes some of the rosie lag loading the icons.."
When I flash some ROMS, and my phone 'falls asleep', when I wake it back up, i get a black screen for a second, and then everything loads, is this what your talking about?
Click to expand...
Click to collapse
the rosie lag i was talking about is if you pull up an app tray and quickly scroll down. I can usually tell you the non zipaligned apps because it pauses for a second loading their icons usually. everything feels generally faster though JIT makes a nice difference. Try it and see

aiwetir said:
that's the widget i'd like to have emulated in helix
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=652626&highlight=manup+widgets

Gregalous said:
http://forum.xda-developers.com/showthread.php?t=652626&highlight=manup+widgets
Click to expand...
Click to collapse
those are a pretty damn close match to HTCs good find im sure some people will like that. JIT is def worth ditching sense, the phone feels so much faster senseless anyway and the added megaflop JIT gives is always nice. I went with the android power widget, kinda like having it all one one strip saves some space.

thanks for the link!!
i like the 1x5 power widget but it's not got every toggle i want.

why am I getting reboots?
Everything appears to be working, then I plug my phone into the PC vis usb and that screen freezes on me then reboots. Or I'm checking space on the phone and my sdcard, and that screen freezes and reboots on me.
I partioned my card to ext2 -- ext3... with 32swap and 512...
Help, not really sure what is going on, just keeps rebooting on me over and over again now.
Ok, this sucks! I did a nandroid back to before I had my sd card partioned, and now I get constant reboots (phone goes asleep, then will not awake right away, but instead awakes in a reboot).
How do I unpartition my card?

Which one of these would I use on Aloysius 2.0.5b?

Related

[ROM] [2.2] [G1,MT3G, MT3G1.2, Dream, Magic] Chromatic 4.5 - [08/30 - V4.5] Apps2ext

{
"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"
}
​
RETIRED!
Hey again guys. Good news and bad news.
Bad News:
I will not be releasing Chromatic ROMs in the near future. I have way too much going on in my personal and professional life right now, to be haxxin on ROMs.
Good News:
The Biff Mod Squad is still developing BiffMOD and it is currently on V 2.1 which is based on CM 6.1 Froyo 2.2.1 (latest) ANNNND even better news! Sisterchick has created a Chromatic theme for it, so you can still enjoy the Chromatic flavor!
Originally BiffMOD was the exact same thing as Chromatic so you guys will be in good hands with those folks. Go check it out, the Chromatic Theme should be up tomorrow (11-10)
http://forum.xda-developers.com/showthread.php?t=745478
Themes for Biffmod: (including Chromatic Theme)
http://forum.xda-developers.com/showthread.php?t=829145
Chromatic 4.5 STABLE
Includes
Full ROM (Froyo)
Google Apps
Major theming
Apps2ext
Anderwebs' newest launcher (all themed up)
Compcache upped to 32mb from 12mb.
OC kernel included (must install SetCPU)
Swap enabled by default
Download here
FLASH THIS BEFORE THE ROM AND AFTER YOUR BACKUP IT WILL WIPE SYSTEM, CACHE, AND DATA!!!
http://chromatic.r00t.la/Releases/wipedatacachesystem.zip
Out of respect for the dev, I have removed SetCPU; this will also help with some of the update woes people have been having, he offers it up free on his XDA page. 2.0 is out and it is SLICK!
Download latest version here: http://chromatic.r00t.la/
Known Issues
[*]XML Import and Export is not working on versions prior to 4.3 ITS FIXED!!!(CMParts)
[+] For the time being right click and save the file here on your computer, and then go into the UI tweaks under Settings>CMParts on your phone, and fill in the corresponding parts as listed on the xml file
[*] Sometimes Market can go wonky and get hung up on downloads
[+] Fix for this is to first check your downloads page as Froyo can restore your apps so it may already be downloading the same app your trying to install, or it may just be processing hard trying to restore all of your "known" apps. Just let it work through those restores, it may max out your internal memory and fail a bunch of them, thats ok just let it do its thing. Then re-boot and try again.
[+] Next, if you are still having trouble, Go to Settings>Applications>Manage Applications>All> Market, And clear cache, Clear Data, Force Stop; Then hit back and go to Market Updater and do the same. Re-boot, and then re-try your install. Still doesn't work? Then something is broken, wipe and re-flash.
Battery Issues?
[+] Let the phone die till it turns off
[+] Plug it in
[+] Boot into recovery
[+] Wipe battery stats
[+] Let batter charge for 8+ hours, this is good conditioning for you battery as well!
~POST BOOT SETUP~
Setup
Don't allow Google to collect anonymous data; It makes your GPS run all the time.
Un-Check Back up my data to Google
LET IT SYNC! Its going to do all kinds of stuff like restoring apps etc. just let it chill for a while, go into market and watch the downloads tab once the sync icon disappears! Seriously, leave it alone, go hang out, or setup your settings but leave apps alone!
If you get into a loop with the setup wizard on first boot, just hit home key after you log in once.
CM Settings
Go to: Settings>CyanogenMod Settings
Application settings> Check Allow application moving (DO NOT CHANGE INSTALL LOCATION FROM AUTOMATIC, IT WILL CAUSE ISSUES WITH APPS2EXT)
Input Settings>Lockscreen music controls are awesome thanks kmobs!, Menu unlock settings are in here as well.
Performance Settings> Seriously Dragons...you should only touch Lock Home in Memory (which everyone should turn on!) if you want us to support you in the threads Other stuff is functional, but experimental!
UI Settings> See Known issues section for instructions on setting this up easily Setting most things to white or grey will result in fine looks. You need not mess with Notification bar submenu under >Notifications colors
Spare Parts Setup
Go to: Settings>Spare parts
Window animations: Fast
Transition animations: Fast
Remember (as with all CM based ROMS) you will need to change the text color for your clock and notifications via Settings>spare parts. It will be black on black when you boot.
See Known issues list for workaround!
Right click and save as xml to the root of your SD card
Go into Settings>CM Settings>User Interface>Tweaks Extra, and scroll all the way down, click "Import colors from XML"
Reboot to apply changes
SetCPU Setup
Download from here give coolbho3000 some love 2.X is AMAZING!
Recommended Settings
Max 576MHz
Min 245/128
Scaling ALWAYS on demand
If you have reboots, scale it back!
Setup Profiles for charging and sleeping:
Max: 528
Min: 245
ADW Suggestions
Go into Settings>ADW Settings
Change "Desktop scrolling speed" value to 0-177. (0 is what I use and is silly fast!)
Desktop Overshoot set to "50"
I also recommend Under UI settings:
Checking, Closing dockbar
Checking, Tint AB
Checking, Hide AllApps Bg
Checking, Hide AB Bg
Checking, Hide Icon labels
Highlight Press Color: FF000000
Highlight Focus Color: FF696969
Un-Check, Scrollable widget support (unless you are using some of the new scrollable widgets like what the Pure line is doing)
Get in there play around!!!
If you do have problems wipe and try again
I put a lot into this ROM I hope everyone likes it!!!
Based on CM 6 (Nightly 8-08) (Thanks to Cyanogen and his team of oh so amazing, self proclaimed douches!)
Change log DOWNLOAD
STABLE
Froyo I am using a hacky way of getting apps2ext to work, if you run low on space, reboot, the script will move your apps.
4.5 DOWNLOAD
Gonna take a wipe!
CM6 Stable
New Gapps
Fixed ugly market (replaced with stock)
Fixed keyboard background
Added back the backgrounds for power widget, if you want transparent, select it in the settings
Added all the wallpapers to the wallpaper gallery
included slide to answer haxx
New Boot animation from DocNinja/chromatic-style
4.4 DOWNLOAD
New Firerat Script
New Gapps
New SuperUser
Based on RC3
Added a touch of HTCclay Gapps with Chromatic Style
New Music and N&W widget
New Voice Commands
Themed more apps
Much more Stable
Will prob need to wipe before flashing, but so worth it!
to use Firerat's script manually use:
su
sh /system/etc/fr-patch138b.txt <command>
4.3 DOWNLOAD
Based on 8-8 nightly
DSP settings moved into CMParts
Renice Sctipt updated (hope to fix phone delays)
Adjusted Swappiness
Removed FB fix since 1.3 works dandy without it.
Camera Fixed..at least it, and the gallery feel a lot better!
Added Exchange fix
Fixed import from XML in CMParts
It may reboot, even a couple times in a row during the first couple of hours just be calm, More often than not THIS IS NOT A FULL BOOTLOOP, YOU WILL COME OUT OF IT These are kernel panics its being worked on!
4.2
Apps to ext!!!
Based on 08012010-003507 nightly
Lock home in memory added to CMParts!
DSP Manager included
Compcache functions now (don't recommend it though)
JIT Runs, Linkpack is OK
Reboot fix in place (ARM haxx) Will prob reboot on first boot, let it settle
New firerat patch included v.134
[+] Same location to disable swap from terminal emulator type su <enter> sh /system/etc/fr-patch134.txt rev swap <enter>
No live wallpaper (A.K.A. 3D fix)
4.1.1
Fixes 3D issues introduced via the auto running of the lwp fix from firerat
4.1 DOWNLOAD
Changed Boot animation to reflect 2.2 OS
Based on RC2
Lock home in memory still not available
STAY AWAY FROM COMPCACHE (it's acting funky, reboot city) If you already have it enabled WIPE!
4.0 DOWNLOAD
3.9 parity (all the deliciousness from Eclair now with *FROYO*)
Froyo
Not 100% yet, waiting on Cy to put lock home in memory back in ROM, Anders little hack does not work near as well. More optimization to come!
Uncheck "Automatic restore" and "Back up my data" under "Menu > Settings > Privacy" *THIS WILL SOLVE THE HOME LAG!*
WIPE!
Eclair
3.9.1.1 DOWNLOAD
3D fix for issues introduced from applying firerat's patch.
3.9.1 DOWNLOAD
Fixed Market issues "Installation unsuccessful" for new folks just joining the party. If you are coming from a wipe use 3.9.1 if you are on 3.9 and can not download items from the market, wipe and install 3.9.1 if you are not having issues on 3.9 no need to flash 3.9.1
Can enable swap using included firerat patch
From terminal ( enter after each line )
su
sh /system/etc/fr-patch133.txt swap
3.9 DOWNLOAD
SMS notification and icon changed
Phone Phone Setting option grayed out resolved
New in-call dialpad, got rid of the green
Added 3D gallery back into system
COMING NEXT
FROYOFROYOFROYO!!!!!
Cool default ringtone, bring on the suggestions!
Need a new boot animation, Sean_jensen
The Orange in folders...
Battery Issues? Try this first before posting:http://wiki.cyanogenmod.com/index.php/Troubleshooting#Battery_recalibration
Checkout Cyanogen 5.0.8 change log
http://github.com/cyanogen/android_vendor_cyanogen/blob/eclair/CHANGELOG
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
It's important to know that the "DangerSPL" (or DeathSPL or Haykuro's SPL or whatever you prefer) is a prerequisite for Dream/G1 users. Magic (MT3G etc) users do *not* need to do this. Ciwrl has written a guide to installing this bootloader. Flashing this bootloader under the wrong conditions can actually brick your device, so pay attention to the guide. CM releases have always avoided this requirement, but the new bootloader frees up enough space so that no crazy hacks are required for a fully functional system.
INSTRUCTIONS:
HTML:
- First time flashing a CM-5 based rom?
1. Root your device and install Amon_RA's recovery (Dream / Magic)
2. Do a Nandroid backup!
3. Install the DangerSPL if you don't already have it
4. WIPE (I cannot guarantee an upgrade from CM-4.2 to this CM-5 based ROM will work- Titanium Backup may be of help)
5. Install the ROM
- Upgrading?
1. Do a Nandroid Backup!
2. Install the ROM
If it is lagging or feeling laggy go into SETCPU chances are the max is set to something stupid low for some reason so it makes this ROM feel like crap.
~if you have problems I recommend a full wipe
1.Wipe>Wipe Data Factory Reset
2.Wipe> Clear dalvik Cache
3.Wipe> Wipe EXT partition
4.Wipe> Battery stats
4. Partition Sd Card> Repair EXT partition
5. Flash zip
6. Enjoy!
If you want Swype look here: http://forum.cyanogenmod.com/index.php?/topic/11-mod-colored-swype-keyboards/
Old change log
3.8 DOWNLOAD
This may be the last Eclair based version!!
New ADW launcher 9.0 (same one in CM6) (new theming) A lot of gesture awesomeness get in the settings and play, also he screwed up with 9.0 stand-alone and so you will see settings in the normal place and menu>adwsetting #BlameAnder
Add biffbiffbiff's inverted version of Fancy Widget (weather/clock)
More theming on the included apps
Moved extra apps to data/app so they can be uninstalled (including 3D gallery)
No wipe from and 3.x (But as always, if you have problems WIPE)
3.7 DOWNLOAD
Removed swap - can enable it using included firerat patch
From terminalenter after each line)
su
sh /system/sd/fr-patch133.txt swap
Cleaned up Chromatic Script for better battery (hopefully)
Added Firerats patch will auto run FB Sync fix, LWP fix, Dalvik to ext and fix permissions patch
Terminal emulator font fix implemented
Can be flashed right over any other 3.x version or stock CM 5.0.8
3.6 DOWNLOAD
Added swap script. If you prefer compcache, just check it in spare parts swap will be disabled *Recommended!*
Upgraded kernel to dumfuq's oc825-cm-2.6.34-8final MT is pretty nice now!!!
Removed SetCPU (read OP) download here
Cleaned up OP/compiled some FAQs and solutions *Please Read*
You will want to wipe, if anythings fishy!
3.6-NO SWAP For those having issues with swap bogging down their system. (usually a result of way too much swap!)DOWNLOAD
3.5
Destroyed all the orange and yellow I could find!
Edited white spinners to match black spinners!
Did some theming to the phone.apk!
New MT and OC kernel (up to 850MHz) This thing hauls butt now!
New Battery!
added shadow's renice script for phone priority!
Edited Chromatic Script for efficiency and (hopefully) better battery.!
You should be able to flash this right over CM 5.0.8 or any of my 3.X versions, but as always if you have problems WIPE!
Issues:
3.1 DOWNLOAD
Built off 5.0.8 stable
No more Launcher Pro (sorry guys read above for explanation)
Added back better phone.apk for us G1 users (all the cool buttons while in call)
New Battery Icons
Changed music highlights inside player from orange to redish
ChromaticScript 1.0 (really just me kanging from firerat and Domenukk) clears cache, and does all the magic of firerats great script)~
If it is lagging or feeling laggy go into SETCPU chances are the max is set to something stupid low for some reason so it makes this ROM feel like crap.
2.1 DOWNLOAD
5.0.7 stable still
Newest ADW launcher is themed
Newest LauncherPro themed up (choose your destiny)
Elliot's music prettiness, with white on widget still ~I know I need to kill the orange inside!
Added kmobs click menu to unlock app
~launch the application, allow SU permissions, do it twice if you have issues.
Added wireless tether
Removed SuperScript to help with battery woes, muuuuch better
Bettered long delay from launcher to phone/contacts (less than 3 sec on both launchers)
Its awesome!
2.0 DOWNLOAD NOT RAPIDSHARE!!!
Added new spare parts - thanks Wysie!
Included XML file so you dont have to spend as much time setting each item to a color (see instructions at the top of the post)
Back to ADW launcher (open source FTW)
Multitasking MOD added with OC support up to 825MHz *dont do that though!*
Added SuperSript (clears cache on boot, and cracks it out!)
1.5.2 DOWNLOAD
Fixed some of the goofy framework issues
Gray accents added to music, framework etc.
added themed LauncherPro 4.0 (crap ton of new features including drop to uninstall see launcherpro.com for more info)
1.5.1 DOWNLOAD
Corrected version name in update script
Fixed weird tabs on folders
Themed 3D Gallery
Changed launcher up a bit
Background really set to clouds
Power Control Chromatic style
Confirmed update no wipe works
1.5: DOWNLOAD - Update without wipe seems fine, you just wont get new background **As always if problems, wipe**
Got rid of orange/yellow framework/Launcher
Added 3d gallery
Reverted Settings to fix fc in Settings
Bootscreen animation (find the easter egg)
Changed default background to less busy (clouds)..Or did I? If not you can get it here: DOWNLOAD
Special Thanks:
Cyanogen, all of Teamdouche, Htcclay, Domenuk, Anderwebs, Firerat, Sean_jensen, and many many more!
This Rom used to be based on .07 test4 and was called ChromeMOD most comments on the first few pages are from that POS release jump to the end to see whats what!.
is this just the cm 5.0.7-t3 with every extra (hotfix, gapps,...) included
or your own rom?
nice work and thx!
well I'll flash and test it out! But you have any screenies!? downloading now but i wanna see what it looks like! lol!
Thanks for the rom though!
m4gic said:
is this just the cm 5.0.7-t3 with every extra (hotfix, gapps,...) included
or your own rom?
nice work and thx!
Click to expand...
Click to collapse
This is CM 5.0.7t3 with the hot fixes, and a lot of theming, inclusion of some apps etc.
acejoker25000 said:
well I'll flash and test it out! But you have any screenies!? downloading now but i wanna see what it looks like! lol!
Thanks for the rom though!
Click to expand...
Click to collapse
ScreenShots coming soon!
From reading the info posted here, it sounds like just a theme.
I think you should post this in the Android Themes section with flashable zip files that change the theme instead. I wouldn't really consider this a new "rom" or anything, it hardly has to do with the development section. It's just CM with a bit of a twist.
_
Gonna try this now
KAwAtA said:
From reading the info posted here, it sounds like just a theme.
I think you should post this in the Android Themes section with flashable zip files that change the theme instead. I wouldn't really consider this a new "rom" or anything, it hardly has to do with the development section. It's just CM with a bit of a twist.
Click to expand...
Click to collapse
There is also some changes to the system itself, swap, jit, etc. So I think I will keep it right here.
it goes back to the boot screen when i plug the usb to my computer
WORKS GREAT!!!
i would say faster and safer then the original cm!
thank you so much
now, the only thing i need to add is a white theme (for my white magic^^) :>
Random Reboot
jlaholton said:
it goes back to the boot screen when i plug the usb to my computer
Click to expand...
Click to collapse
This is something with CM 5.0.7, I have seen it happening on all variants of the ROM. I just mount SD in recovery to avoid it being goofy.
m4gic said:
WORKS GREAT!!!
i would say faster and safer then the original cm!
thank you so much
now, the only thing i need to add is a white theme (for my white magic^^) :>
Click to expand...
Click to collapse
Glad you like it! Enjoy!
KAwAtA said:
From reading the info posted here, it sounds like just a theme.
I think you should post this in the Android Themes section with flashable zip files that change the theme instead. I wouldn't really consider this a new "rom" or anything, it hardly has to do with the development section. It's just CM with a bit of a twist.
Click to expand...
Click to collapse
It is a themed rom that has been modded... so it is in the right place.
so basically it is:
CM 5.0.7 T3
+ Gapps
+ Battery Hotfix
+ ADW Launcher
+ Blackbar
right?
cosmique said:
so basically it is:
CM 5.0.7 T3
+ Gapps
+ Battery Hotfix
+ ADW Launcher
+ Blackbar
right?
Click to expand...
Click to collapse
+ themed facebook, google search, (more Im forgetting) apks, tiny bit of swap, JIT, and more I cant remember.
Ok initial impressions:
After first boot up wankyness this rom is really smooth!
first boot up wankyness includes Lag slowness market problems etc etc!
Well after a reboot everything works great! I would put it on par speedwise with superbad. This is definitely a keeper! Will see in the coming hours at how stable it stays! Thinking of trying the overclock kernel!
acejoker25000 said:
Ok initial impressions:
After first boot up wankyness this rom is really smooth!
first boot up wankyness includes Lag slowness market problems etc etc!
Well after a reboot everything works great! I would put it on par speedwise with superbad. This is definitely a keeper! Will see in the coming hours at how stable it stays! Thinking of trying the overclock kernel!
Click to expand...
Click to collapse
Superbad is pretty much the same thing... everything modded cyanmod
Gonna flash now
chromersmith said:
This is something with CM 5.0.7, I have seen it happening on all variants of the ROM. I just mount SD in recovery to avoid it being goofy.
Click to expand...
Click to collapse
I've used CM5 for D/S since it's release and have never had an issue with mounting the USB.
"[ROM] [2.1] [G1,MT3G, MT3G1.2] ChromerMOD - (EXPERIMENTAL) [05/10 - v1.0.3]"
Lol! "v1.0.3"
#Winzip FTW!
Six6Sicks said:
"[ROM] [2.1] [G1,MT3G, MT3G1.2] ChromerMOD - (EXPERIMENTAL) [05/10 - v1.0.3]"
Lol! "v1.0.3"
#Winzip FTW!
Click to expand...
Click to collapse
Yeah Yeah, I'm a file pusher. There are a lot of people who cant even do that. Thus why I am releasing this for everyone.
Thanks for packaging everything in one zip. Justed flashed so will get back with you about performance

[ROM] 08/30/10 | Fresh Hero 2.4.0 | Incremental Update For Freshness

Geek For Me is proud to release:
Fresh Hero 2.4.0 for your Sprint Hero
NOTE: Remember that Fresh Hero is considered a stable every day rom, and Fresh Toast is a dev rom that may have issues. Also (in case there is confusion) Fresh Hero is for the Hero and Fresh Evo for the Evo. But I think that's self explanatory.
Also FYI: the phone may freeze on very first boot at the lockscreen, or it may get to the lockscreen and then reboot one more time. This should only happen on the very first boot after flashing the rom (if it happens at all).
If you are coming from Fresh Hero 2.3.3 then no wipe is required. You can grab the incremental update (10 mb) to go from 2.3.3 or the full update. The full update is required if you are coming from any other rom. If you are coming from another rom then a full wipe may be required. Always make a nandroid backup, I can't be held responsible if something breaks, etc, etc.
Click to expand...
Click to collapse
Need help? Problems? Bugs?
Forum
Bugs
Change log
Base: RUU_Hero_C_Sprint_2.27.651.6
This is just a maintenance release to keep your phone updated and running smoothly.
Changes from 2.3.3 to 2.4.0:
Updated DarkTremor apps2sd to 2.7.5 RC3 build C
Updated SuperUser to 2.3.4
Updated ES File Explorer to 1.4.5
Updated LauncherPro to 0.7.6.0
Updated Google maps to 4.4.0
Removed Facebook App
If you already have it installed then this won't remove it. If you want to install it later then just grab it off the market.
Changes from 2.1 to 2.3.3:
Based on the 2.27.651.6 RUU
Added Fresh Updater! Check the How To for information on setting it up and using it. This project has been on the back burner for months, and I’m happy to finally have brought it back and finished it up. Thanks to cyanogen and firefart as it’s based on CMUpdater. Use Fresh Updater to enable the vanilla lock screen.
270 degree auto-rotation (you can turn the phone to the right or the left for landscape) — Thanks to Optedoblivion for pointing me in the right direction.
11 new Rosie widgets. 7 that are available for our phone and 4 that aren’t.*
{
"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"
}
Profiles, ringtone, battery, call mom, coin flip, daily challenge, dice, notes, quick record, tasks, tip calculator.
These are made by HTC and will only work in Rosie.
Added FriendStream and Widget. Thanks to jschisurf for his help with that.
Added SuperUser 2.1 by chainsdd
HTC_IME Mod High Res v.27 keyboard -- This keyboard has a ton of features. I have included this keyboard and the stock one. To change which keyboard you use just do a long press on a text input field.
All APK's have been png optimized and zipalign'd
png optimize goes through every APK and losslessly compresses the png (picture) files without causing any type of visual change. This provides a smaller apk file size that loads faster. Each APK has then been zipalign'd. From Android's developer page: zipalign is an archive alignment tool that provides important optimization to Android application (.apk) files. The purpose is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. Specifically, it causes all uncompressed data within the .apk, such as images or raw files, to be aligned on 4-byte boundaries. This allows all portions to be accessed directly with mmap() even if they contain binary data with alignment restrictions. The benefit is a reduction in the amount of RAM consumed when running the application.
While this does free up space on /system it is not done to make free space. It is done purely for a performance gain. Every day use of the phone will go smoother and stock applications will respond faster. The reason this works is because it has reduced the application file size as much as 50%, so they load in to memory faster and run smoother.
Additionally all applications in /data/ (even ones you downloaded) will be zipalign'd on boot if they need to be.
Not every apk takes png optimization + zip align well. I've done it on enough roms that I think I know which ones cause issues now, but if you are getting FC's on any apps (I can't test them all) then let me know and I'll get it resolved. Thanks!
Entire rom has been resigned.
Major thanks to jschisurf for help on this. The process changed from Android 1.5/2.0.1 and I was getting errors where I had previously never had problems. He helped me figure out what I was doing wrong.
Resigning all the apks allows for non-standard apps to be used (like FriendStream) and also provides a standard based for modding apks.
Apps2sd updated to Darktremor 2.7.5p2 by tkirton.
Apps2sd takes all applications from /data/app and /data/app-private and moves them to a partition on your sdcard. This allows you to store more apps on your phone and also allows you to restore your phone and keep all your apps in tact (albeit with all settings lost). Although sometimes wiping sd:ext is required too.
You do not have to use apps2sd if you don't want to use it. If you just don't format your sdcard with an ext partition (leave it all as fat32 like it is from the factory) then apps2sd will stay turned off.
How to setup apps2sd on Fresh and warnings about apps2sd
Battery optimizations
Raised VM kernel dirty page writeback frequency to 15 seconds. This wakes the phone up less often for background VM activity. Every single application in Android is technically running in a VM (virtual machine) so that's why this helps (as recommended by lesswatts.org).
Updated Google Maps to 4.3.0
Updated Launcher Pro to 0.6.5.1
Updated Estrongs (ES) File Explorer to 1.4.2.2
Wifi Tether 1.6 -- This is not the newest version but in my experience it works best on the Hero. If you are getting a FC in wifi tether then it's because you have another copy of it in /data/ with a different name. Therefore you ended up with two copies. Remove one of them and reboot.
Facebook moved to /data/ so that it can be uninstalled
Dancing droid boot screen thanks to wrx4memp!
Added PowerTOP 1.11. From LessWatts.org: Programs can make your [phone] use more power. PowerTOP is a Linux tool that helps you find those programs that are misbehaving while your [phone] is idle. — Compiled by cyanogen.
To run PowerTOP just open an adb shell and type: "powertop -d". It will scan for 15 seconds and then print out a report.
The first section will show you what % of time your phone spent running at what Mhz. Ignore the Mhz in the screenshot above because it's from my Evo so it will look a little different on the Hero.
The next section shows wakeups-from-idle per second. 50-80 would be normal. If you are in that range then you don't have a problem.
The next list is the top causes for wakeups. Compare your list to mine (I only showed the top 3).
All the way at the bottom it will have optimizations that can be made to lower power use. These changes can not be made to the rom itself, they must be made to the kernel. While other roms claim they made changes to the kernel, if they are using the stock kernel (if they aren't over-clockable then they are using the stock kernel) then they didn't. While there is a kernel source available to us, I have chosen to continue using the stock kernel until our official source is released by HTC for stability reasons.
I have chosen to NOT include adless browsing in my rom. I used adless browsing in all of my Hero Android 1.5 roms because it actually blocked ads from the browser. In Android 2.1 this functionality stopped working so I stopped including it. It was pointed out to me that while it doesn't block them in the browser, it does block them in apps (background data). The reason I am choosing to not include this is because as a developer myself, I feel that the authors deserve to get paid for what they do if you want to use their app. If you are choosing to use their free ad-driven application then I don't want to contribute to people blocking those ads and preventing the dev from getting paid.
Stock vanilla lock screen has been customized in the following ways:
Fixed to work properly by flipz
Emergency button showing up after airplane mode fix by flipz
Menu-menu to unlock disabled by flipz
Clock / Sprint / other misc stuff removed thanks to jschisurf!
Added live wallpapers back to Rosie. . Keep in mind that you are using lwp "at your own risk." They may use more battery, they may cause wake issues. And only the lower end ones will work properly. This is not the fix that breaks opengl to allow you to use the more visual ones. Stick with the ones that just draw on the screen (a few are included).
flash_image for flashing RA
Quickboot works... for those who use it!
Espresso bottom bar in green
Full color sliders (see screen shots)
Removed (copied to /sdcard/fresh-removed-apks):
The following applications have been removed, however I am trying something new. I have the installer copy all of these applications to /sdcard/fresh-removed-apks. This will allow you to easily install the applications by clicking on them in ES File Explorer, or by copying them to /system/app for the ones that won't install that way (HTC's apps don't play nicely with installing). The applications marked with a * can be installed in one click by clicking on it in ES, the ones marked with # aren't included because they don't need to be reinstalled. The rest you will have to copy them to /system/app. This can be done by issuing the following commands:
adb remount
adb shell
cp /sdcard/fresh-removed-apks/WHATEVERAPP.apk /system/app
Click to expand...
Click to collapse
Amazon mp3 *
GSD #
HTC Footprints and widget
HTC Mobile Guide (aka Learn More) *
HTC Navigation Panel
HTC Ringtone Trimmer
HTC Stocks and widget
IM
Quick Office *
SDSA (Sprint Self Service) *
Sprint Nascar *
Sprint Navigation *
Sprint NFL *
Teeter
What to expect / how to flash it / READ THIS :
Download and copy the zip to the root of your sdcard
Reboot to RA and do a data wipe / factory reset (REQUIRED)
You may also need to wipe sd:ext if you are having troubles booting.
If you are running Fresh Toast and ext4 then you'll need to partition back to ext3 if you want to use apps2sd
Pick flash zip from sdcard and select fresh-hero*.zip
After it finishes flashing reboot. Expect the first boot up to take a while.
If it boot loops over and over (you keep hearing the startup sound) then you didn't wipe everything.
When the phone boots and comes to the user setup screen I would recommend syncing your google account right away. I noticed an old bug creep back in where it gets stuck during sync. This seems to be avoided by adding your google account during setup.
The more social networking stuff you have setup (Facebook, twitter, friendstream, etc) the less battery life you will get. These programs do not have a "push" function and work by checking every single one of your contacts to see if they have an update.
DOWNLOAD: http://geekfor.me/hero/android21/fresh-hero-240/
Screen shots:
Just flashed it and booting it the first time now.
Reserved. Just because I always forget to do this.
Dang it swm. Haha.
flipzmode said:
Reserved. Just because I always forget to do this.
Dang it swm. Haha.
Click to expand...
Click to collapse
lol...too slow.
Saw this on your twitter, I love you.
Thanks! Great work. Better get to bed for my meet..
Up and running it, love it so far.
YAY! I've been waiting for this, thank!
flipzmode said:
Geek 4 Me is proud to release:
.
Click to expand...
Click to collapse
Awesome. Flipz, you're my favorite! What are some of the bugs that you want to work out?
Are you or should I say can you(not sure what kernel this uses) move this over to Fresh Toast or will that project not be effected by the leak?
I guess what I am really getting at is if this is going to delay Fresh Toast further or if it is looking good.
friendstream in this?
Since this isn't OCd I'm gonna jit it and see what happens. I flashed damage's flashable ROM earlier and didn't care for it. I'm too use to the OC speed and quickness that it felt like it was in slow-motion.
THIS BOOTSCREEN!
flipz you're the man, for real
Only thing that worries me about modding this Flipz, is /app and /framework are .odexed.
Ok, been using this for an hour-ish now. Just found an issue. When viewing photos, if I rotate the phone, no app (photo viewer, gallery, etc) will rotate. Checking and auto rotate is turned on.
Can anyone confirm?
Edit: Crap. I'm seeing 100% wake time too.
VinceOB said:
Only thing that worries me about modding this Flipz, is /app and /framework are .odexed.
Click to expand...
Click to collapse
deodex the rom then .
darchstar said:
deodex the rom then .
Click to expand...
Click to collapse
LOL I probably will, but I lost my scripts I had for it.
sandboxlove said:
grr...so does this mean that...like all the mods and themes have to be completely redone??
Click to expand...
Click to collapse
It may or may not. Only way to figure it out is to backup and try it.
ditto on the awake time well back to old faithful til this is fixed
nbroneobi said:
ditto on the awake time well back to old faithful til this is fixed
Click to expand...
Click to collapse
Also (and this is the cause of the wake time issue) we're back to the GSM issue in *#*#4636#*#*
If you manually change it to CDMA auto PRL the wake time issue goes away.
can anybody confirm apps2sd works moving dalvik too on first boot? i tried and couldn't get it on a rom i was building?
damn more awake time issues and i heard a few say sound issues too. do you guys really think this is the final? any thoughts flipz?
good work btw and fast.
and just to let you guys know i had no issues applying several of my themes to this leak today.

[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

║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

[PARANOIDANDROID JB/CS] Developers only: Porting, Support and Maintanance

{
"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"
}
disclaimer:
it shouldnt be necessary to mention but well, Paranoid-Settings is meant for official paranoid android only or ports that stay true to our vision. it is not meant to be included in other roms or kangs - unless we give permission. this is our good name that people pull through the mud when they mix it with conflicting source like aokp. hybrid engine and dpi changer will only result in a crappy user experience for the end-user. Hybrid relies on a clean system and does not change its DPI, thats the whole point of it. furthermore hybrid engine is huge and complicated to kang because it grew over half a year and hundreds of commits, resets, reverts, rewrites. the only real hybrid engine is the result of a clean repo init and . rom-build.sh devicename.
kangs and roms that dont have our permission can either write their own implementation (its really just a text file reader/writer) or adapt on the old paprefs version in the ICS branch, which is 100% opensource. hybrid engine is 100% open source aswell of course.
Some of you may have heard of tablet mode and if you have tried it you know well that it smashes your phone. Apps are small, their layout is screwed, things overlap, crash or stop working, Google Play forbids you to download, if you tried AOKP you cant even use launcher and phone. In short, it is a mess.
PARANOIDANDROID changed that. It does not "heal" tablet mode, it obliterates the boundaries. You define how big or small apps are, you define in which UI they display, no matter if your phone runs in tablet or phone mode, which also you can define. Customize every single entity on your phone, lockscreen, navigationbar, system-components, widgets, apps. If you prefer stay with your three bearpaw buttons + drop-down curtain or switch to a combined navigationbar + drop-up notificationcenter, enjoy Youtube in 3D, Gmail and settings in 2-columns, Chrome in its better mobile UI, etc. Nothing overlaps, nothing crashes, everything works as you'd expect. This is completely new ground and has never been realized before, it is lightyears from tablet mode.
We created it to establish the idea that tablet/hybrid mode can indeed work and that is was an error on Googles side to use the same layout for high resolution devices that is used on tiny little things like htc wildfire. We saw how badly build.prop tablet-mode was milked so we decided to remain closedsource until the codebase is mature enough to publish. Our first repos went public last week and the rest will follow soon, i will personally commit the hybrid sourcetree into CM9. Until then, do not ask us for sources, we have good reason to do it like this and when it's out people will know why, they will see something that works, not features for show. We are still fully open to ports. As long as they stay true to our vision and base on CM9.
As the sheer amount of porting requests needed to be addressed somehow we open this topic so maintainers can help each other and it'll be easy for us to take a look once in awhile as our pm-boxes are exploding. We understand that setting up PA can be quite confusing since it introduces must-have configurations that are unique.
​
GUIDE FOR PORTING PA 1.6 and higher (JELLYBEAN/CM10)
the bad news is, everything has changed. the good news is, porting will be way less troublesome. (-;
look at the ICS guide for more info, this ones onna be straight forward.
1. pad.prop no more. you'll have to look in /system/etc/paranoid/properties.conf. dont forget to supply the same file twice, as backup.conf, its a sefety net for users who screw their properties.
you dont need to worry about this file anymore. rom_min/max are arbitrary values. choose something that makes sense for your device. the GUI will pick it up and load its sliders with these values.
rom default dpi is a simple fallback value, used by the GUI aswell. rom default mode is the same. notice though that modes are not hardcoded, Youre targeting the actual layout containers. the GUI can even extract them from any apk. layouts for sysUI are: 360 (phone mode), 600 (phablet mode) and 720 (tablet mode). apps can define these tresholds as they want. thats the reason you couldnt get tabUI for playmarket for instance, because its containers sits at 800dp. "tabletUI" was hardcoded to 720. so thats no problem anymore.
the rest is clear, find a couple of good values for standard apps. make sure you dont create a spotty experience. and do set tabUI for the interesting apps. i have seen PA reviews on youtube and the guy browses the phone and everythings stock ... that kinda sucks. you dont need to boot into tablet mode right away, but at least take the time to find good values for settings, gmail, etc.
Code:
###################
# PARANOIDANDROID #
###################
## CONFIGURATION
%rom_dpi_min=160
%rom_dpi_max=320
%rom_default_dpi=320
%rom_default_layout=360
## CONFIGURATION
%hybrid_mode=1
%system_default_layout=0
%user_default_layout=0
%system_default_dpi=0
%user_default_dpi=0
## WORKSPACE PREFERENCES
android.dpi=0
android.layout=0
com.android.systemui.dpi=%rom_default_dpi
com.android.systemui.layout=%rom_default_layout
## SYSTEM PREFERENCES
com.paranoid.preferences.dpi=270
com.android.chrome.dpi=%rom_default_dpi
com.android.chrome.layout=%rom_default_layout
com.android.contacts.dpi=%rom_default_dpi
com.android.contacts.layout=%rom_default_layout
com.android.settings.dpi=245
com.android.settings.layout=720
com.android.calendar.dpi=260
com.android.browser.dpi=260
com.android.browser.layout=600
com.android.calculator2.dpi=160
com.android.calculator2.layout=600
com.android.email.dpi=230
com.android.email.layout=600
com.android.vending.dpi=220
com.android.vending.layout=1000
com.google.android.gm.dpi=250
com.google.android.gm.layout=600
com.google.android.talk.dpi=260
com.google.android.talk.layout=360
com.google.android.youtube.dpi=240
com.google.android.youtube.layout=800
com.google.android.apps.docs.dpi=240
com.google.android.apps.docs.layout=600
## USER PREFERENCES
well, thats it. i told you it was easy.
for those who port for legacy devices, we included a hide softscreenbuttons option in settings/system/navigationbar.
and then theres the speed dial preferences in the PA panel. thats a little bit compliated right now because the xml files that drive it are in the app itself. im not sure if you can backsmali it, it has a rom fingerprint. i need to ask jesus. one thing more, then that is resolved you will be able to create your own configurations, and those can not only contain hybrid data but ANY setting you can make in the entire android system.
example: on nexus we dont have much space in portrait mode, so the android standard of 5 notificationicons in tabletUI overlaps. so in one of those prefs i simply say: sysUI.dpi=240, that makes the systembar pretty big, sysUI.layout=720, that drops it into tabletUI, clock=0, that hides the android clock, notificationnumber=2, that limits the icons to two. i guess most of you will switch off softbuttons, and with these prefs you can do it, or even create several and let your users choose.
i know jesus has already completed the code to load user presets, i will add the information when i have it.
and dont forget this in your build.prop
Code:
ro.cm.version=PARANOIDANDROID
ro.modversion=PARANOIDANDROID
ro.pa.version=PARANOIDANDROID-pa_YOURDEVICE-1.XXa-DDMMMYYYY
oh, and do not, under any circumstance, touch build.prop dpi. system dpi runs always in default dpi.
GUIDE FOR PA 1.5 and lower (ICS)
1. Unlock Tablet Mode for all devices
This has been already stuffend into the framework by us and if you use our files you wont need it, but i will include it nonetheless. Legacy devices crippled with hardware buttons need hacks to make tablet mode work. I dont know exactly whom to thank for this find, names that pop up in my head are Xylograph and evilisto. Ics compilant devices simply need one more entry in their build.prop: qemu.hw.mainkeys=1. You can include both, doesnt hurt.
Code:
--- a/services/java/com/android/server/wm/WindowManagerService.java
+++ b/services/java/com/android/server/wm/WindowManagerService.java
@@ -5962,7 +5962,7 @@ public class WindowManagerService extends IWindowManager.S
unrotDw = dw;
unrotDh = dh;
}
- int sw = reduceConfigWidthSize(unrotDw, Surface.ROTATION_0, density, un
+ int sw = reduceConfigWidthSize((int)(unrotDw / density), Surface.ROTATI
sw = reduceConfigWidthSize(sw, Surface.ROTATION_90, density, unrotDh, u
sw = reduceConfigWidthSize(sw, Surface.ROTATION_180, density, unrotDw,
sw = reduceConfigWidthSize(sw, Surface.ROTATION_270, density, unrotDh,
build.prop
Code:
###################
# PARANOIDANDROID #
###################
ro.sf.lcd_density=192
qemu.hw.mainkeys=1
2. Find out tabletmode DPI treshold value
Tablet mode is AOSP standard functionality. ICS is will drop into tablet mode if it acknowledges a certain treshold DPI, depending on your devices screen. Changing ro.sf.lcd_density in /system/build.prop will do. You can calculate that value as follows, here's a snippet of the ICS code that decides if your UI runs in tablet mode or phone mode.
Code:
int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / DisplayMetrics.DENSITY_DEVICE;
mStatusBarCanHide = shortSizeDp < 600;
In short, you need to reach a short-side device-independend pixel number of 600. Example: Nexus has a width of 720 and a height of 1280, shortest side is 720, default density is 320. shortSizeDp = 720 * 160 / 320 = 360. lower than 600, phone mode. We need to lower the Dpi: shortSizeDp = 720 * 160 / 192 = 600. Thats it, tablet mode!
The formula is:
Code:
treshold_dpi = shortest-side-dp * 160 / 600
3. Setting up pad.prop and build.prop
/system/pad.prop is the file that defines how apps scale and in which UI they display. You should provide your users with a nice selection of everyday apps and define the system-apps well. Users should not be shocked when the phone boots up, what they are supposed to see is something that drops their jaws.
For Galaxy Nexus it looks like this:
Code:
###################
# PARANOIDANDROID #
###################
## DEFAULTS
%rom_tablet_base=192
%rom_phone_base=320
%rom_mid_base=260
%rom_mid_high_base=290
%rom_framework_dpi=250
%rom_systemui_dpi=220
%rom_launcher_dpi=290
%screen_default_width=360
%screen_default_height=567
%screen_default_layout=268435474
%screen_opposite_width=600
%screen_opposite_height=1018
%screen_opposite_layout=268435491
## CONFIGURATION
%hybrid_mode=1
%system_default_dpi=%rom_mid_base
%user_default_dpi=%rom_mid_base
%user_default_mode=1
android.dpi=%rom_framework_dpi
com.android.systemui.dpi=%rom_systemui_dpi
## PREFERENCES
com.android.phone.mode=1
com.android.inputmethod.dpi=%rom_phone_base
com.android.inputmethod.latin.mode=1
com.android.inputmethod.dpi=%rom_phone_base
com.android.camera.mode=2
com.android.camera.dpi=%rom_tablet_base
com.cyanogenmod.trebuchet.mode=1
com.cyanogenmod.trebuchet.dpi=%rom_launcher_dpi
com.anddoes.launcher.mode=1
com.anddoes.launcher.dpi=%rom_launcher_dpi
com.teslacoilsw.launcher.mode=1
com.teslacoilsw.launcher.dpi=%rom_launcher_dpi
com.android.chrome.mode=1
com.android.chrome.dpi=%rom_mid_high_base
com.android.calendar.mode=2
com.android.contacts.mode=2
com.android.email.mode=2
com.android.htmlviewer.mode=1
com.android.mms.mode=1
com.android.settings.mode=2
com.android.vending.mode=2
com.google.android.gm.mode=2
com.google.android.googlequicksearchbox.mode=2
com.google.android.talk.mode=1
com.google.android.youtube.mode=2
What is important here is that you need to set it up first with device specific informations. Here's a small rundown of these values:
%rom_tablet_base=xxx - table mode treshold dpi
%rom_phone_base=xxx - default device dpi
%rom_mid_base=xxx - a good middle value that works both for tabUI & phoneUI apps, for nexus its ~260
%rom_mid_high_base=xxx - a little bit higher than middle
%rom_framework_dpi=xxx - a good value for the lockscreen
%rom_systemui_dpi=xxx - good value for navigationbar
%rom_launcher_dpi=xxx - default value for trebuchet
%system_default_dpi=0 - sets the global density for system apps. 0 means undefined. We will probably make it obsolete soon.
%user_default_dpi=xxx - sets the global density for non-system apps, set it to default dpi as this will guarantee that all of your users apps will look stock
%user_default_mode=1 - sets the global UI for non-system apps. 1 = phoneUI, 2 = tablet UI. set it to 1, all user apps will display in mobileUI. If the user has tablet ready apps he can switch himself in the settings panel
## P.A.L PARAMETERS - these are extremely important. you get them by logging the output of Configuration in tablet mode (_opposite) and phonemode (_default) kevdliu wrote a nice little helper to make it easier for you, look here
make dead sure you get pad.prop right or you'll get bootloops or crashes!
notice that we use packagenames for apps, if you dont know the name of an app open up your shell and type:
Code:
adb shell
pm list packages -f
android - framework-res, applies to lockscreen, dialogs, powermenu, toasts
systemUI - applies to the navigationbar, makes it bigger or smaller. DO NOT APPLY an UI to these two apps. everything else is fine, set it to tablet or phoneUI all you want, but not these two!
Configuration in phone mode and tablet mode
build.prop needs to be configures like this:
Code:
###################
# PARANOIDANDROID #
###################
ro.sf.lcd_density=192
ro.cm.version=PARANOIDANDROID
ro.modversion=PARANOIDANDROID
ro.pa.version=PARANOIDANDROID-pa_maguro-1.5a-28JUN2012-180025
density to tablet treshold. versions to PA and version in that exact format because internal functions are relying on it (OTA for example). change the name of your device and the date. the last numbers, i have no idea what they are, came from the buildscript.
4. Check our sourcetrees
More and more source will be published soon. Right now we have three projects out, OTA, Backup and Trebuchet (optimized for tabletmode with cool features). Hybrid code will come out soon. Use what you can get from there: http://betadan.com/paranoid/sources/
5. Port the rom
You are ready to go. Do what you always do when porting roms. I have zero experience with that. Again, use CM9. Do not even think about using AOKP.
Check out Xylopgraph's PA porting guide
6. Link to our Google Apps
Google policy forbids you to use their market if you change your DPI. The only values allowed are 160, 240, 320. Why? No one knows why. There have been workaroundw, wiping cache, using a valid DPI, open market, reboot back, blablabla, forget it, its rubbish. It will work for a minute and then it will cease to. In our package Phonesky and GoogleServicesFramework were hacked. It has other additions aswell: http://4ndr01d.com/drcmda/common/
7. Post your port link and help out others
We will include you in our webpage and when our repo's are open you are invited to compile from source and/or submit patches and additions. We might even work together as theres still much to do. Be sure to help out others here.
​
-----------------------------reserved
Thanks Moles, this will continue to help us on the Vivow Port till we can build from source.
Thanks for this innovation. Salute!
I just thanked all post ,if yo had one more I woudl have thanked it to ,
in other words , thanks !
Awesome! Thanks for this awesome contribution!
Thanks for opening up this thread, I actually have a question for you professionals. I have been trying to figure out how to enable audio during the boot animation. I have been searching like crazy to figure it out. I have tried adding the following to /system/customize/CID/default.xml. And also ading a android_audio.mp3 to /data/local.
Code:
audio="/system/customize/resource/android_audio.mp3"
I have also tried placing the android_audio.mp3 and the bootanimation in /system/media but no love.
My buddy GROGG88 even made a zip file for me to flash that added some files to /system/bin but still no luck. Here is the zip if you would like to take a look at it.
I plan on making some more bootanimations for the Paranoid Android ROM for the Sensation and would really like to be able to include audio with them. Any assistance you can give will be very much appreciated.
What files does ParanoidOTA depend on, (/system/framework or others)? I get it copied over, but it crashes on me when I try to open it.
sgtkwol said:
What files does ParanoidOTA depend on, (/system/framework or others)? I get it copied over, but it crashes on me when I try to open it.
Click to expand...
Click to collapse
Only settings are used (but settings depends on OTA not OTA on settings), you must be sure the right intent is sent via Settings > About > Check for updates. Also we need first to setup environment if some device is gonna add OTA.
D4rKn3sSyS said:
Only settings are used (but settings depends on OTA not OTA on settings), you must be sure the right intent is sent via Settings > About > Check for updates. Also we need first to setup environment if some device is gonna add OTA.
Click to expand...
Click to collapse
I'm porting from Crespo4g to Epic4g which are very similar devices.
Paranoid OTA and Paranoid Settings showing in Settings.apk I pulled from Crespo4g must be different, then. Not seeing a ParanoidSettings.apk, am I missing something? I have "Paranoid Settings" showing, but clicking it or "System" crash Settings.apk that I pulled from Crespo. No Paranoid Settings when I compile from source. Unable to local pad or pal within existing builds, either.
made an app that displays the needed PAL information and tablet dpi threshold and thought i would share it here for other developers
its attached to this post
kevdliu said:
made an app that displays the needed PAL information and thought i would share it here for other developers
its attached to this post
Click to expand...
Click to collapse
thanks! is there a way to make it calculate the treshold dpi aswell?
molesarecoming said:
thanks! is there a way to make it calculate the treshold dpi aswell?
Click to expand...
Click to collapse
yup im going to update it shortly
uploaded
mole: ive got my port on i717 almost running flawlessly now, few minor issues
http://forum.xda-developers.com/showthread.php?t=1686320
Thinking about porting this..
I am ported it to HTC Desire HD..
http://forum.xda-developers.com/showthread.php?p=26929079
Sent from my Desire HD using Tapatalk 2
JamieD81 said:
mole: ive got my port on i717 almost running flawlessly now, few minor issues
http://forum.xda-developers.com/showthread.php?t=1686320
Click to expand...
Click to collapse
need your problems here dude, thats why i opened the topic.
if somethings not working post logcats, etc.
@molesarecoming
I totally forgot my skills of compiling kangs, can you guide me a bit through pm... Wifi Tethering is not fully working....
My computer specs, already had external HDD to compile...
-Intel i7-2760qm (8 cores, 2.4ghz)
-8 GB Ram
-1 TB HDD SATA (Internal HDD)
-500 GB HDD 3x faster writing...
DaXmax said:
@molesarecoming
I totally forgot my skills of compiling kangs, can you guide me a bit through pm... Wifi Tethering is not fully working....
My computer specs, already had external HDD to compile...
-Intel i7-2760qm (8 cores, 2.4ghz)
-8 GB Ram
-1 TB HDD SATA (Internal HDD)
-500 GB HDD 3x faster writing...
Click to expand...
Click to collapse
what i do is mostly hacking. i have never ported a rom before. i guess what i would do is taking a nightly or compiling a build, test if everything works and then add pa's additions. i cant remember all components but from mind they are: framework.jar, framework-res.apk, android.policy.jar, services.jar, maybe core.jar. the apps are not so important, you can compile our trebuchet fork from source, try making settings.apk run, if not i think that ones coming out today and if not today than very soon.
it would be cool if one of the guys who's made it writes a small rundown and i would put it up.

Categories

Resources