[G1 Android Development] :
The Eclair Setup Guide.

Okay gonna share my must have apps and settings to make the most of Eclair in general in order to help out those having problems with lag or those who just want to max it out. As I did with Super D I have done a lot of testing over the last week and this in my opinion is the best setup for Eclair.

This is my patent pending Guide To Wiping between flashing and restoring roms, I've added this as it's something I'm asked a lot in pm's and doing it properly cuts out so many problems. For those on 1.5 or 1.6 based roms check out my Super D link.

1) Download and install Amon Ra recovery v1.7.0 This is a MUST as older versions and Eclair don't get along.

2) Boot to recovery.

3) Wipe ALL 6 options.

4) Repair SD Ext (found under the partitions heading)

5) Reboot to recovery.

6) Wipe ALL again.

7) Flash your chosen Eclair rom.

8) Reboot and let it load.

9) Goto settings/applications and check Apps2sd and Unknown sources.

10) Reboot to recovery.

11) Flash Gapps.

12) Reboot phone and let it load.

13) All should be right with the world, if it isn't pm me and I'll see what we can do.

NOTICE - Fix_permissions should be run on ANY app force closure, this includes new apps installed from market. There is a problem with the app permissions not being set correctly for some apps. Run fix permissions or fix uid in amon ra recovery and that should solve any problems.

Apps List

This is a general overview as most seem to be using Pershoots fabulous 2.6.33 / 2.6,34 kernel. A massive thank you for Pershoot for this, I prefer his Xtra kernel as it helps a little with multitasking (big shout to dumfuq for his help on this) if your not using it I highly recommend it. Please Note - Users of Super E and possibly others custom made spare parts to allow for CC & Swap control. This will break both CC & Swap so download at your own risk.

I have attached the file for those wanting it below and here is a link to the original source of the file.

http://droidbasement.com/db-blog/

Setcpu - Settings as follows...

CPU Govenor - On demand

Set on boot checked (Will ask for root, allow always)

556max - 245min

Profile Settings -

Standby: 384max - 128min

Failsafe >38°c: 384max - 245min

Battery <40%: 384max - 245min

Cachemate - Clean after web browsing or anything cache intensive and enable power clear

Advanced Task Killer Free (by ReChild) - (Yes we all know whats been said and no I don't care, this works very well with helping the 'Internal memory manager, it works and works well trust me ;)) Run a couple of minutes after rom has loaded, let's the programs fully load and you will find most will have killed themselves by then leaving only a few left and helps with system apps fully loading into memory and cuts out sync problems. Also after you have had a few apps open just run again to free things up, you'll find yourself doing it automatically. Also set Auto killer to safe.

I ignore the following, email, weather channel widget, alarm clock and setcpu.

Feel free to add anything else you wish to ignore but remember the more you add the more memory will be used.

Titanium Backup - Greatest app for backing up EVERYTHING! From what wallpaper you have to full homescreen settings and apps. Definately recommend donating the $3.99 to get the full version.

(Always make sure to run fix_permissions in terminal emulator for those restoring apps from a backup)

Gscript - I am using the lite version at the moment but will definately be donating for this superb program. I will be attaching my scripts for those that want them (see bottom of thread Gscript.zip) the main one being CC control. This again is already included E-Xtreme but handy for those wishing to play with CC size. (Please any help needed with the scripts PM me and I will help you out)

Included scripts are...

CC control - Allows you to set CC to 32mb and is also configurable to change the CC size to what you want. This script is designed to stop/clean/reset and activate CC back to 32mb, run it if you find your phone slowing down. I generally run this once every two days to keep things snappy.

Firerats all in one patch - Does the dc2x lwp fixp for you and again is configurable to run what you want. This is NOT required for people using E-Xtreme unless they want to run other things from the patch than those listed above. Remember to edit the script to where you have saved the patch. Only requires running on first flash or whenever switching back from another rom.

Mount system RW & RO - Just little lazy man scripts to save typing it.

Renice - This is for those for whatever reason don't use the flashable update posted. Needs running each boot IF not using the flashable script attached at the bottom.

Check Renice - Should return -18, if it does not then run the above script.

Quick G-Script guide

Well first download G-script, make sure unzipped scripts are saved in…

/sdcard/gscript (create folder if new install)

Open G-Script Press menu

Press Add Script

Press Load file

Load script, give it SU permission if its called for

Make alterations as required

Save

Press on script to run

Enjoy

FireRats All In One Patch - Again included in E-Xtreme but for those on other Eclair rom's here is the link...

http://xdaforums.com/showthread.php?t=679572

My recommendations are to run - lwp fixp dc2x fb

Optimised Gapps - It has been brought to my attention that the Opt'd Gapps won't work properly due to not being signed correctly. Thanks to TmobileDash12 for bringing this to my attention.

Download and flash the correct Gapps if you have flashed the Opt'd to correct I, get it from the link below.

http://www.mediafire.com/?ye3ydzhomyg

For those using Dolphin Web Browser and have cache on their sdcard use a file manager program such as Astro and navigate to /data/com.mgeek.android.dolphin browser.browser/cache and delete the folder Webviewcache. In three days it had 9000 files in there taking 120mb of memory. Be warned it will look like the phone has frozen as it can take upto five minutes for the confirm to delete window pops up. Recommend this is done every four or five days.

Phone settings

Turn on compcache in spareparts (now in the settings menu) and it is set to 32mb by default, I really really really hate swap so always advise against it simply because I've had some real problems with it and killing sdcards and Eclair doesn't play nice with it. The new kernel above from Pershoot does help with multi tasking a little as long as you're not trying to run 1500 things!

Keep home app in memory checked.

In sound and display in settings turn off Animations.

To help with Phone Lag run the Gscript from the download below for CC Increase to 32mb, this will stop, clean, reset & restart CC to help clean it up. Also boot to recovery and wipe Dalvik Cache - Cache - Rotate Stats. Helped out nicely making my phone feel fresh and snappy again.

Call Lag

The revised renice script is now included in E-Xtreme and is working correctly and I have also included it for those on other Eclair roms at the bottom of the page and is a flashable update. Remember to nandroid first, just in case! For those wishing to check enter the following at the $ prompt in Terminal Emulator...

cat /proc/`pidof com.android.phone`/stat | cut -d ' ' -f 19

If it returns -18 all is well. To make the ` use Alt+W on the G1 or better keyboard or similar on the MT3G. Added Gscript to check this as makes life easier, check the attachments below and read the above.

Media Tones

I've found that converting any media files used as ringtones/alarms/notifications kept on your sdcard in say mp3 format are best converted to .ogg format and any sound tones not in use deleted from /system/media/audio/ringtone - alarms - notifications folders.

For those with Battery Drain problems try turning off GPS, bluetooth, 3G, & wifi when not in use (all can be toggled on or off using power widget barring 3G, for that use apndroid or similar) also turn brightness to lowest setting.

Remember we are running the phone WELL over capacity as it is and well battery drain is just a fact of this, there is no miracle cure just common sense.

Recalibrating Battery

1) Let your battery run out.

2) There is still enough power to get into recovery so wipe battery stats.

3) Pull out battery.

4) Insert battery and put on charge leaving the phone off.

5) Leave the phone on charge for at least four hours, overnight if possible.

6) Check that the battery charge indication is green and unplug charger.

7) Turn on phone and use as normal.

(Yes I know this is different from what is said in Cyans wiki but it essentially does exactly the same thing, I just don't waste time charging it to full first as your wiping the battery stats anyway)

Wired Tethering - For those that don't have it I've added the drivers below to make it work for those with issues. Its the Remote_NDIS zip file.

Themes: They can be found in the two links below, mosts will work with each other as 99.9% are based on Cyans framework. Again nandroid before flashing.

http://xdaforums.com/forumdisplay.php?f=450

http://xdaforums.com/forumdisplay.php?f=527

Well that's the lot, hope it helps a few people out and makes your Eclair goodness a happier one :D