Or Continue to Thread: ★☆★|ROM|Nigh…
Find Your Device:
31st July 2011, 01:18 AM   |  #2  
OP Retired Recognized Developer
Thanks Meter: 3,660
 
2,031 posts
Join Date:Joined: Apr 2007
Donate to Me
SQLite WAL mode
Quote:

journal mode changes here - http://forum.xda-developers.com/show...postcount=8787


MPD CPU1 Governor Control
Quote:

Mods for /system/bin/mpdecision up here-
http://forum.xda-developers.com/show...postcount=7630

This uses stock HTC functionality to change the default governor CPU1 turns on with. Read more at the post above


EXT4 FORMAT TWEAKS
Quote:

as of SVN 450, /system ext4 format options are now optimized on upgrade. It will add some time. /data is not done by default, to get best performance NOW TESTING -
Wipe Version - http://forum.xda-developers.com/show...postcount=6329
NOWIPE version by smw6180 (THANKS MAN!) - http://forum.xda-developers.com/show...postcount=6784

FIXES/SVN ACCESS
Quote:

Changelog is always available here - https://code.google.com/p/synergy-evo3d/source/list
Our SVN Checkout address is - http://synergy-evo3d.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) - http://forum.xda-developers.com/show....php?t=1211234


OTHER OS
I 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 - http://forum.xda-developers.com/show...&postcount=662


SPYWARE INFO BEING MOVED - http://forum.xda-developers.com/show...php?p=17229020


MODS
Quote:

Written from 2.3.4 base
Honeycomb sense 3d theme by mayfield103! - http://forum.xda-developers.com/show...postcount=5817

--------------------------------------
Written from 2.3.3 base and lower (may work on 2.3.4)
JsChiSurf & SteelH[MOD]Remove Bubbles From Lockscreen & Remove Clock From Taskbar (THANKS JsChiSurf)- http://forum.xda-developers.com/show...postcount=5179

JsChiSurf [MOD]Remove Recent Apps Bar from Notifications Window (THANKS JsChiSurf)- http://forum.xda-developers.com/show...&postcount=819

JsChiSurf SystemUI.apk mods (recent apps bar disabled, GPS reticle off icon disabled, necessary .smali edits to support future implementation of transparent notification menu, and status bar clock removed.) -- http://forum.xda-developers.com/show...&postcount=941

JsChiSurf Transparency Pulldown http://forum.xda-developers.com/show...postcount=1384

JsChiSurf Carrrier Text Mod: http://forum.xda-developers.com/show...postcount=1687

JsChiSurf HTC Lockscreen Custom Banner Mod http://forum.xda-developers.com/show...postcount=2247

JsChiSurf [MOD] Dynamic Rosie Remap Modified to launch Personalize Screen by Default - http://forum.xda-developers.com/show...postcount=2811

Steal25s RED*RED for Synergy (THANKS MAN) http://forum.xda-developers.com/show...postcount=2264


SynergyROM Quadrant Hall of FAME!
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)-
Quote:

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

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

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

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. 1024/2048 is probably a sweetspot, but once again id like to see some benchmarks!

SYSTEM TOOLS & INFO
Quote:

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-
https://code.google.com/p/synergy-ki...lesAndServices

Disk Info- Shows disk partition free space
Net Info- Shows current IP address

Mount Ro/RW - Obvious

Other fun
Quote:

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 -
https://code.google.com/p/synergy-ki...lesAndServices

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

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-
http://wiki.cyanogenmod.com/wiki/Tro..._recalibration

Quote:

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






Virus: DONATE

TrevE: DONATE

Ziggy: DONATE
Last edited by TrevE; 28th September 2011 at 06:21 AM. Reason: updating SQLite
The Following 60 Users Say Thank You to TrevE For This Useful Post: [ View ]