• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

*damo*

Retired Recognized Developer
Feb 23, 2011
1,372
941
Cambridge
║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


big_new.png


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 :D)
-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)


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

BIG THANKS
neo, seo, coolexe, baadnewz, robocik, capychimp, virus, diamondback, flemmard, rmk, leedroid and everybody else that's helped
please pm me if i forgot you

DONATERS HALL OF FAME
salahag, salman saso, Hunteres, MacBryan

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
--------------------​
 
Last edited:

*damo*

Retired Recognized Developer
Feb 23, 2011
1,372
941
Cambridge
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

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!


INSTALL
-Reboot into recovery
-Wipe data/factory reset
-Flash ROM
-Reboot and Enjoy

POST INSTALLATION
Don't set up any accounts or restore any apps yet!
As soon as Setup is finished and HTC Sense has loaded - you must reboot, it will make it much more stable :)
--------------------​
 
Last edited:

*damo*

Retired Recognized Developer
Feb 23, 2011
1,372
941
Cambridge
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

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

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

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.

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.

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!

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

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.

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
--------------
 
Last edited:

*damo*

Retired Recognized Developer
Feb 23, 2011
1,372
941
Cambridge
OC Daemon

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
--------------------
 
Last edited:

Derek0228

Senior Member
Apr 10, 2009
873
344
Aibonito
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!
 

*damo*

Retired Recognized Developer
Feb 23, 2011
1,372
941
Cambridge
it will support arabic language mate ???
Not yet, but it will

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

lol, no idea but the best way to find out is to try it later

HA. Clutter drives me insane, and I think of mirror as a junk app. I've heard it's hidden within camera.apk somewhere.
It is indeed

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!

Very optimised ;) check the screenshot for RAM
(using inbuilt screenshot feature :D)

HTC Swyped from my Sense 3 Desire using XDA Premium
 

Attachments

  • uploadfromtaptalk1312046632122.jpg
    uploadfromtaptalk1312046632122.jpg
    84 KB · Views: 73,145
Last edited:

Bluewall

Senior Member
Apr 7, 2010
2,191
863
Sion
fr.miui.ch
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 ! :D

Any idea when do you release it?

EDIT: Shame on me, you've added the CRT animation, no problem lol
 

Top Liked Posts

  • There are no posts matching your filters.
  • 87
    ║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


    big_new.png


    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 :D)
    -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)


    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

    BIG THANKS
    neo, seo, coolexe, baadnewz, robocik, capychimp, virus, diamondback, flemmard, rmk, leedroid and everybody else that's helped
    please pm me if i forgot you

    DONATERS HALL OF FAME
    salahag, salman saso, Hunteres, MacBryan

    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
    --------------------​
    29
    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

    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!


    INSTALL
    -Reboot into recovery
    -Wipe data/factory reset
    -Flash ROM
    -Reboot and Enjoy

    POST INSTALLATION
    Don't set up any accounts or restore any apps yet!
    As soon as Setup is finished and HTC Sense has loaded - you must reboot, it will make it much more stable :)
    --------------------​
    16
    Extras



    there aren't any! lol have a look in tweaks ;)



    --------------------​
    13
    Screenshots

    haha, and do i need this one? probably not, but im having it anyway :rolleyes::D
    screenshot60.png
    screenshot61.png
    screenshot62.png
    attachment.php
    12
    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

    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

    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

    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.

    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.

    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!

    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

    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.

    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
    --------------