[Droid Eris Android Development] tenzomonk:
Tenzo's xtrRCMix 2.1

Port of robocik's RCMix2.2 (HTC Hero: G2 Touch) - http://xdaforums.com/showthread.php?t=702398 - Original Thread

---------------------------------------------------------------------------------------------------------------

More screenshots below

---------------------------------------------------------------------------------------------------------------

HIGHLIGHTS:

Multiple Home/Launchers (with landscape - landscape not available in default Sense home)

G-Sensor w/ Shake to Preview!!!! (i.e., shake your phone... you'll get all 7 home screen preview)

Clear GenieWidget

Enhanced Browser w/ Text Selection, Multi-Touch, and Flash (See Attached Screenshot at bottom of post)

Multi-Touch Maps, Multi-Touch 3D Gallery, Multi-Touch Browser (all pinch-to-zoom)

NO 50% TWS BUG

LiveWallPapers

Home Selector (3 built-in homescreens/"themes")

Built-in "Internet Sharing" (for tethering)

Built-in "Quick Boot"

Support for multiple languages/locales

NEW - zachXTR's speed tweaks/scripts :)

---------------------------------------------------------------------------------------------------------------

CREDITS/GPL:

dsixda - Android Kitchen - http://xdaforums.com/showthread.php?t=633246

robocik's - Original RCMix2.2 - http://xdaforums.com/showthread.php?t=702398

GODZSON - AMAZING Themes! - http://xdaforums.com/showthread.php?t=588351

vash8806 - Flash Integration - http://xdaforums.com/showpost.php?p=7396588&postcount=54

tkirton - Apps2SD - http://xdaforums.com/showthread.php?t=715116

zanfur - OC kernel - http://xdaforums.com/showthread.php?t=679102

GrdLock - ROM hosting - http://android.grdlock.net/

zach.xtr - Speed and Pimpness - http://xdaforums.com/showthread.php?t=694472

---------------------------------------------------------------------------------------------------------------

FEATURES:

Highly modified theme

Added Espresso rosie

Added completely clear (smoked) lockscreen

Added better Flash Integration

Added cache2cache

Removed Verizon carrier info on lockscreen

Updated to newest A2SD v 2.7.5.2 (DarkTremor)

Updated SuperUser (ChainsDD)

Fixed date time (defaults to US)

Fixed language (default to US English)

---------------------------------------------------------------------------------------------------------------

From Original RCMix Thread - http://xdaforums.com/showthread.php?t=702398

WWE based on 3.35.118.1 T-Mobile PL, (deodexed)

Added cool semi transparent lockscreen(*New) Thanks to Capychimp for it.

Added mail widgets from HTC Legend (3 widgets) (*New) Thanks to idanfima, for finding this Villain apk which works here

Added Flipclock as default (*New) Thanks to klothius for that.

Added Dropbox, share files with your friends or your home computer and your phone cool (*New)

Power menu, reboot normal/bootloader/recovery in the rom by default Thanks to snq- for that

Rooted (su+superuser+busybox)

Apps2SD (Darktremor)

dalvik-cache moved to cache

no bootsound, custom home and lockscreen wallpaper

custom hosts file from 18 Aug, no more adds in browser and applications (well almost anyway)

transparent notification area

HTC Friendstream + widget

HTC Newsreader + widget

Rosie with extra config (toggle LW and shake to overview etc.)

Transparent Geniewidget (news and weather)

Browser with enhanced text selection

Gallery 3d

Voice call and Voice search

MyTouch Music (some free streaming music)

Orange Homeselector

Orange Launcher

Orange search widget, nothing fancy but new

Opened Orange Mail setup (need some testers from FR Orange network)

Samsung Galaxy Launcher (no samsung widgets tho)

Facebook

Wireless tether

Live wallpapers, turn them on in Rosie extra config.

---------------------------------------------------------------------------------------------------------------

KNOWN ISSUES:

POWER OFF ISSUE

---------------------------------------------------------------------------------------------------------------

INSTALLATION NOTES:

YOUR PHONE MUST BE ROOTED! (BTW, that means your warranty is officially VOID)

BEFORE INSTALLING, BE SURE YOU HAVE A FULL BACKUP OF YOUR SDCARD DATA AS WELL AS A GOOD NAND BACKUP

I HOLD NO RESPONSIBILITY FOR WHAT YOU DO TO YOUR PHONE, IF YOUR PHONE BREAKS, OR IF ANY GENERAL ILL-WILL COMES YOUR WAY ONCE FLASHING THIS ROM.

PLEASE NOTE: If your SDCard is not partitioned, it will need to be partitioned properly in order to use apps2sd. I recommend an ext3 partition with at least 512MB of space, with 0 swap/cache. As always, if you have questions, ask first! Also, if you already have programs installed to an ext3 partition, your programs will load up after you flash the ROM (i.e., DO NOT wipe your ext partition if you want your "old" programs to automatically restore).

TO INSTALL:

1) Load TenzoRC*.zip to the root of your SDCard.

2) With phone off, hold Power + Volume Up to boot into recovery

3) Choose "wipe" and press "Wipe data/factory reset" (I also recommend wiping Dalvik-cache as well), press down-key to go back to main menu

4) Choose "Flash zip from SDCard"

5) Choose TenzoRC*.zip

6) Confirm install by pressing trackball

7) After installation, choose to "Reboot system now"

First Boot can take up to 5-10 minutes.

After boot, HTC logo will appear for about 1 min, then setup screen appears

---------------------------------------------------------------------------------------------------------------

xtrTenzoRCMix Options:

GScript

For xtrTenzoRCMix we have compiled and incorporated the opensource GScript app (see http://code.google.com/p/gscript-android/) to load and one-click run user settings.

To setup your GScripts complete the following steps:

1. After opening GScript press the menu button and select "Add script"

2. A new window will open.

3. Press the Load file button

4. Select a script from the list (each is obviously named as to its function)

5. Ensure Needs SU? is checked

6. Now select "Save" and you have added your script

7. To run just select it from the list in the main GScript screen

8. You must reboot the phone for the change to take effect.

-----------------------------------------------------------

User Services Power Management (Collin_ph Battery Tweak)

- I have built in a user services that runs at a polled interval and can set the performance settings of your phone in realtime. The first script that is available is a 2.1 HTC framework version of the Collin_ph Batter Tweak. For a detailed overview of you can view the original thread at here.

The power management battery tweak is disabled by default but there is a gscript to enable plus you can run "battconf" from terminal on the phone or adb shell to configure... The battery tweak runs a script every 60 (or less if you are on power) to poll the capacity of the battery, and as the battery goes down the cpu max freq is progressively lowered. It also changes the CPU write characteristics (all of which I do not yet fully understand). You can see all the details in the /system/bin/batter_tweak file.

I take no real credit on this and just ported the concept to the HTC framework and HTC kernel (with the zanfur OC patch). This took a lot of work and I fixed a few bugs but the concept is not mine and all Collin_ph.

When you first run terminal remember to type "su" (or equivilent for your app) to run as root and select "1" then enter when first prompted after starting "battconf".

So how do I know it is working?

just run the report_log.sh GScript and you will see when it logs a change to the system settings. Also you can run the report_system_settings.sh GScript and for a display of current settings. This process will be faster if you plug into a power source and wait about 60 seconds ;)

To enable/disable the battery tweak just run the appropriate GScript (user_service_batterytweak_enable.sh or user_service_batterytweak_disable.sh) and reboot your phone (Quick Boot makes this easy!).

** If you run into issues using the default Term Emulator (in Dev Tools), please download "Android Terminal Emulator" from the Market.

Performance Improvements:

I HIGHLY recommend setting your Animations (Spareparts) to either OFF or FAST for a much smoother, faster experience.

Free Internal Memory and Dalvik-cache heapsize

- We have update default user settings to allow a larger dalvik heapsize of 24mb (think more space for apps to play) AND optimized how memory is freed up using Androids internal task killer.

Default min memory free: “balanced”

Default dalvik vm heapsize: 24m (38m with JIT on)

To change dalvik vm heapsize or min memory free settings you can just run the appropriate GScript.

If you would like to further modify the default min memory free settings then download Autokiller or MinFreeManager, these apps will allow you to set and monitor the min memory free values. For more information on Androids “internal task killer” and min memory free values go here

Overclock Settings

- the included kernel supports overclocking and as part of the custom sysinit process we have added scripts that you can run to overclock the CPU without using a market app. You can also run the report _cpu_freq script from GScript to get a printout of which frequencies and time in each you phone has been operating.

To enable/disable overclock just run the appropriate GScript.

If you would like to further modify OC settings then download SetCPU or Overclock Widget, these apps will allow you to set and monitor the CPU speed. Remember YOU CAN DAMAGE YOUR CPU IF RUN TO HOT FOR TO LONG with higher settings. MAKE SURE TO RUN THE set_cpu_stock GSCRIPT IF YOU INSTALL A MARKET APP. The internal overclock support may overwrite the market app settings...

JIT

- JIT (Just In Time compiler) is a built in option for the ROM but is off by default. For a detailed overview of JIT go here. PLEASE NOTE for Android 2.1 JIT is not stable with all applications and can cause odd things on your phone.

To enable/disable JIT just run the appropriate GScript and reboot your phone (Quick Boot makes this easy!).

Cache2cache & Cache2sd:

By default, the dalvik-cache for xtrTenzoRCMix has been relocated from the internal /data/dalvik-cache/ directory to the internal /cache/dalvik-cache directory. The Eris comes with an internal /cache/ file block of 130mb that is not used! After reviewing a number of xda member file system usage reports (thanks xtrROM and xtrSENSE users!) the MOST reported use of this space was 5%... So by moving the dalvik-cache to this free area you now have over 150mb on internal /data/ for apps and over 97mb in internal /cache/ for dalvik-cache. This means that you can probably install close to 100 apps WITHOUT moving anything to the SD Card ext!

You can also move the dalvik-cache to your sd card ext or back to the stock internal /data/ file block.

To change the location of dalvik-cache you can just run the appropriate GScript and reboot your phone (Quick Boot makes this easy!).

Apps2sd:

Apps2sd for xtrTenzoRCMix is incorporated in the custom sysinit process. For apps2sd to work you must first complete the listed prerequisites and it is a good idea to read through the "things you may want to know about apps2sd" section. Although it can provide gobs of space for apps, Apps2sd is not for everyone as it ties the stability of your phone to your SD Card... If you do not need the space we recommend that you keep the default of DISABLED; if you want to try you can always disable it again however there is always the chance of issues.

To enable/disable apps2sd just run the appropriate GScript and reboot your phone (Quick Boot makes this easy!).

Apps2sd Basics

When you run the apps2sd , upon reboot, it will move ALL your existing apps to the sd card ext partition and ALL future apps will be installed and stored on the sd card ext partition.

Running the apps2internal script, upon reboot, it will move ALL your existing apps to the /data/ block of internal storage and ALL futures apps will be stored in internal storage.

For NON CyanogenMod based ROMs it is all or nothing and you cannot move individual apps.

Apps2sd Prerequisites

If you have not setup your SD card (for those new to Apps2sd) as per tkirton:

BACKUP YOUR SD CARD TO YOUR COMPUTER. Can't stress this enough, as partitioning will wipe the entire card.

Reboot into recovery

In Android System Recovery, select Partition sdcard

In the Partition sdcard menu, select Partition SD

Follow the instructions on the phone to partition your SD card. Most folks seem to recommend using the default values however you can go larger or smaller use values 256, 512,768,1024. You will also be asked to set a swap size; I stayed at 32mb (anticipate future ROM options to allow moving swap to sd)

Once the partition is initially created you must then convert to ext3 - In the Partition sdcard menu, select SD:ext2 to ext3. Follow the instructions on the screen.

Press the back button on the phone to go back to the main menu.

Your SD card is now ready to work with an Apps2sd supported ROM.

Things you may want to know about Apps2sd

xtrTenzoRCMix has bootloop protection built in if your SD card is corrupted or is removed from the phone with Apps2sd enabled. Your apps will go away but your phone will boot ;).

There are 3 subsets of data associated to an app when it is installed and run on your phone.

1) /data/app/ (and /data/app-private) - actual .apk files we think of as the applications that are not system apps (i.e. installed on /system/app)

2) /data/data/ - the files produced by ALL apps (system apps and market apps) during installation that are used by the Android system to run the app

3)/data/dalvik-cache/ - app cache file and work space for ALL apps (system apps and market apps).

From root explorer (or similar) you can browse to the /data/app OR the /sd-ext/app folders and you will see the same thing, both will tell you how much space you have used and have left. The way apps2sd works is by "linking" the /system/sd/app to the /data/app folder so that the Android system thinks it is accessing the /data/app it is really at /system/sd/app.

I have seen using Apps2sd cause issues with some.zip flash updates as they try to write directly to the /data/app folder which no longer "physically" exists

If you get into a bootloop issue using apps2sd boot into amon_ra recovery and try one of the follow:

1) from the Other menu option select the Fix apk uid mismatches

2) from the Wipe menu option complete a)Wipe data/factory reset b)Wipe Dalvik-cache c)Wipe SD:ext partition

So how do I know Apps2sd is on? You can run the GScript report_system_stats which will give you a printout of what fileblocks are used. You can also go to menu>Settings>Sd card and phone storage - when on space available under Available storage will be over 150mb will go down at a VERY slow rate when new apps are installed.

---------------------------------------------------------------------------------------------------------------

If you use SetCPU, and prefer it over the Battery Tweak, I recommend setting up SetCPU 2.03 next (download from here: http://xdaforums.com/showthread.php?t=505419 or BUY it from the market). I often get asked about SetCPU settings, so I've included mine (these will make your battery life GREAT and also ensure your phone doesn't get hot enough to cook on):

My SetCPU settings (screen shots below):

748 max (OC over 710 at your own risk!)

245 min

*(set on boot)

Profiles * (Adjust to your liking... this is how mine is setup):

Temp > 43.0 (priority 100) - 480/245

Charging/Full (priority 75) - 748/245

Battery < 20% (priority 50) - 480/245

Screen Off (priority 25) - 480/245

Advanced:

Sampling rate - 2000000

Up Threshold - 60

Ignore Nice Load - 0

Powersave Bias - 200

*(set on boot)

*** SetCPU NOTES ***

IF YOU ALREADY HAVE A PARTITIONED SDCARD W/SETCPU INSTALLED ON IT, YOU MAY HAVE A FC/CLOSE WHEN LAUNCHING. TO FIX UNINSTALL/REINSTALL SETCPU.

DO NOT USE SETCPU IF YOU PLAN TO IMPLEMENT THE BATTERY TWEAK! THEY ARE NOT COMPATIBLE (IT'S EITHER ONE OR THE OTHER)

---------------------------------------------------------------------------------------------------------------

If you like this ROM, I recommend that you donate to:

robocik (Original RCMix) - http://xdaforums.com/showthread.php?t=702398

jcase (jit) - http://xdaforums.com/showthread.php?t=679329

punk.kaos (pioneering Froyo work for your Eris) - http://xdaforums.com/showthread.php?t=685594

tkirton (a2sd) - http://xdaforums.com/showthread.php?t=715116

coolbho3000 (setcpu) - http://xdaforums.com/showthread.php?t=505419

zanfur (kernel) - http://xdaforums.com/showthread.php?t=679102

GrdLock - ROM hosting - http://android.grdlock.net/

zach.xtr - Speed and Pimpness - http://xdaforums.com/showthread.php?t=694472

Seriously... if it wasn't for these guys, your phone would suck

---------------------------------------------------------------------------------------------------------------

Current Version: v2.1

-----------------------

http://www.multiupload.com/AV7VPDRQNN - xtrTenzoRCMix2.1.zip (133.79 MB)

md5 - 953EDE171828CBDAAED47C041841E17D

sha1 - 9971053ABBFCE53A8BBF91034BA353D8C78EBB73

---------------------------------------------------------------------------------------------------------------

Screens from Original RCMIX thread:

---------------------------------------------------------------------------------------------------------------

TIPS:

- For some reason, Google Goggles seems to "error" out with an IPv6 issue when using any version above 1.0. I have attached Google Goggles 1.0 (below) for anyone who needs it (I use it... and it still works perfectly). I've included this in the ROM as of 11.18.10

- To activate "Shake to Preview" - Menu > Configure > Thumbnails Settings > G-Sensor > G-Sensor Settings

- To activate "Live Wallpapers" - Menu > Configure > Live Wallpaper (Rosie will prompt you to restart)

- Random FC? Lower your overclock settings or turn off JIT. Our little Eris's can only do so much and not all hardware is equal... Also remember this ROM is quite fast in stock form and higher Linpack scores DO NOT make for a better user experience ;)

----------------------------------------------------------------------------------------------------------------

CHANGELOG:

v 2.1

Fixed FC in Gallery

More stability updates (lib\bin)

Changes to Bluetooth

Changes to Media (streaming)

Added Google Goggles v1.0 (do not update... will not work w/newer versions... IPv6 issue)

Updated Facebook v1.4.1

Updated Google Maps v4.7.0

v 2.0

Multiple lib updates and system stability improvements

Multiple bin updates and system stability improvements

Added "Remove MyTouch Music" gscript

RC2 v 1.7

Multiple lib updates and system stability improvements

Updated build.prop (to show xtrRCMix1.7)

Updated default wallpaper

Updated Facebook (1.4.0)

Added Astro File Explorer

Added Starwars LWP

Added Matrix LWP

(Google Goggles 1.0 Attached below)

RC1 v 1.6

Reverted to "Blue" battery

Updated Google Maps v 4.6.0

Fixed Adobe Acrobat

Added Terminal Emulator

Fix DroidX Keyboard

RC1 v 1.3

Fixed DroidX Keyboard FC

Removed GSD.apk

RC1 v 1.2

Updated Google Voice v 0.4.2.8

Added DroidX keyboard w/mic

Added HTC_IME Mod keyboard w/mic

Added GScript

Removed live wallpapers that did not work well

zach.xtr speed tweaks/scripts

Some other "small" stuff (will update later)

Beta3

Added Adobe PDF

Added Car Home

Added 2.2 Market

removed libpdfreader.so (only needed for HTC PDF Reader)

Alpha6

updated to .101 kitchen

replaced geniewidget (now uses clear News/Weather to match theme. Vanilla News/Weather only)

added zipalign on boot

removed some un-needed files

patched "init.rc" for proper "collin battery tweak"

added "eris battery tweak" files

added EPST.apk

FIXED MMS!

Alpha3-5

Internal Testing

Alpha2

Fixed market/app install

Alpha1

Initial Release