[Sprint HTC EVO 4G LTE] mikeyxda:
How to tweak performance and battery life of this ROM to your needs.

Note: after making any changes below, always reboot to make the change take effect

You can change the performance and features of MeanROM ICS by following these instructions:

The easiest way to change MeanROM options is to use the flashable ZIPs you'll find in the /sdcard/MeanROM-ICS folder. See the readme file in the same folder for specifics. The settings can also be set so that they survive dirty flashes (you don't have to keep changing with each new ROM version). See the sticky settings below for details.

MeanROM ICS uses "sticky" settings that will survive dirty wipes/installation of new versions meaning you can make these changes once and they'll stick through dirty installs when you update. We do this by creating a file called /data/MeanROM.opt. The file should be a text file and it should have permissions rwxr-xr-x (755). There is an all-sticky-settings-template.zip file in your MeanROM-ICS folder that you can flash from recovery which will create the /data/MeanROM.opt file for you: it creates a template that has ALL of the adjustable parameters below as comments in the file. Simply edit that /data/MeanROM.opt file and take the "#" character off the beginning of the line to activate the features you want (instructions are also listed at the top of the MeanROM.opt file as comments). Steps 1-7 in "The hard way" instructions below show you how to get to the /data folder with ES File Explorer. Here's what to put in that MeanROM.opt file (note that case IS important when naming this file):

Again, the easiest way to set up the sticky settings is to flash the above ZIP and then modify the /data/MeanROM.opt file that is created.

Performance or battery: Use PERFORMANCE_OR_BATTERY="PERFORMANCE" (including quotes) for performance mode or PERFORMANCE_OR_BATTERY="BATTERY" (including quotes) for battery mode to get more from your battery.

Screen on with new SMS: There is a meanrom.opt.screenonsms property in build.prop that you can change to false if you don't want your screen turning on when new messages arrive. To put this preference in the sticky file, add a line that says "setprop meanrom.opt.screenonsms true" (not including quotes). Updated in 3.9: there is now a screenonsms.zip file in /sdcard/MeanROM-ICS that does this for you.

Wake with camera button: There is a meanrom.opt.camerawake property in build.prop that you can change to false if you don't want your phone waking up with a full press of the camera button. To put this preference in the sticky file, add a line that says "setprop meanrom.opt.camerawake false" (not including quotes).

Moonlight mode: There is a meanrom.opt.moonlight property in build.prop that you can change to false if you want normal brightness when using the phone in a dark environment (default is screen dimmer than stock in total darkness). To put this preference in the sticky file, add a line that says "setprop meanrom.opt.moonlight false" (not including quotes).

Capacitive button brightness: To make the capacitive buttons brighter, add a line that says BRIGHTSET="40" (including quotes). The default is very dim (1) so they only show in the dark but you can even turn them off with BRIGHTSET="0" if you like.

Jackhammer: The ROM defaults to a stronger setting for haptic feedback when using the capacitive buttons (equivalent to the old base). Many people find the new settings too soft but if you like the softer feedback, you can flash the stock haptic feedback file in /sdcard/MeanROM-ICS. You can change it in build.prop or simply flash the ZIP.

Keyboard notification icon: To turn off the keyboard notification icon, edit /system/build.prop and change "meanrom.opt.kbdnotification=true" to "meanrom.opt.kbdnotification=false".

Sweep2sleep and sweep2wake: The ROM defaults to screen on sweep modes only (sweep2sleep, sweep2power, and sweep2snap). Sweep2wake is disabled by default because it requires that the touch panel be active while the screen is off, reducing battery life. You may add the line "echo 2 > /sys/android_touch/sweep2wake" (not including quotes) to the MeanROM.opt file to activate the sweep2wake mode but bear in mind that this will reduce battery life to some degree. The amount of battery used will depend on how much the touch panel is activated while the screen is off: basically how much the phone moves around in your pocket. See the list below for info on all the sweep modes.

Sweep gestures (sweep finger across the capacitive buttons on bottom of phone):

Sweep2sleep: with screen on, swipe right to left to turn screen off

Sweep2power: with screen on, swipe left to right for power menu (simulated 2.5 second power button hold)

Sweep2snap: with screen on: swipe left to right and press Home within 2 seconds for a screen snap

Sweep2wake: with screen off: swipe left to right to turn screen on (disabled by default for better battery life)

Phantom volume down: with screen on, touch between back and home for vol-down one notch

Phantom volume up: with screen on, touch between home and recent apps for vol-up one notch

Sweep2mute: with screen on, swipe from home to back for vol full down (vibrate)

Sweep2loud: with screen on, swipe from home to recent apps for max volume

Sweep2skipback: with screen off, swipe from home to back to skip back a track (when listening to music)

Sweep2skipforward: with screen off, swipe from home to recent apps to skip forward a track (when listening to music)

Sweep2deepsleep: with screen off, swipe from right to left to temporarily disable sweeps while screen is off (until screen is turned back on: prevents pocket sweeps)

Sweep modes:

Example... here are the contents of the MeanROM.opt file for someone who prefers battery over performance, doesn't want screen on with SMS, doesn't want the camera button to wake the phone, doesn't want the screen dimmer in total darkness, wants the capacitive buttons bright, and wants all sweep features:

PERFORMANCE_OR_BATTERY="BATTERY"
setprop meanrom.opt.screenonsms false
setprop meanrom.opt.camerawake false
setprop meanrom.opt.moonlight false
BRIGHTSET="40"
echo 5 > /sys/android_touch/sweep2wake

Overclocking:

1.728 Ghz overclocking is standard on MeanROM 4.8 and up. I've had no reports of any issues on this OC kernel, but if you'd like to run the stock kernel, there is a stock-kernel-no-oc.zip file in /sdcard/MeanROM-ICS that contains the stock kernel running at 1.512 Ghz. If you are s-off, simply flash the file after flashing the ROM and reboot. If you are s-on, you must let the ROM boot once and settle first, then reboot to recovery and flash stock-kernel-no-oc.zip. In the unlikely even that you have trouble booting after flashing and you are s-on, you'll have to pull the boot.img file out of the stock-kernel-no-oc.zip file, reboot to the bootloader, and then issue the command "fastboot flash boot boot.img" from your command prompt. This will be your method of recovery should the OC kernel cause any trouble and you are s-on, because you cannot flash the old (stock) kernel if the current kernel won't boot: so do it from fastboot.

If you want to report on battery life in this thread, here's how:

MeanROM ICS has some built in data logging that helps with diagnostics. One of these logs shows battery life over time and contains more useful information than the built-in graphs. So if you're not getting the best battery life and you want to report that... or you just want to report how good your battery has been, follow the steps below to report useful information in this thread. Post in this thread about your battery (whatever info you like) but we want to take the file /data/MeanROM.chk, rename it to MeanROM.chk.txt so it's a known format, and attach that text file to your post. If you don't know how to get MeanROM.chk off your /data partition to attach here, here are the dirty details:

The hard way (but requires no command line or ADB experience):

Open the included ES File Explorer app

Click "Menu", "Settings"

Be sure "Up to Root", "Root Explorer", and "Mount File System" are all checked

Steps 1-3 you only have to do once

Back on the main window, ES File Explorer normally starts in /sdcard (listed up top)

Press the back button to go to the root

Open the "data" folder from the list

Scroll down to the MeanROM.chk file and long press on that file

Select "Copy"

Press the back button to go back to root and select the sdcard2 folder

Press "Menu", "Operations", "Paste" and the file will now be on your SD card

Plug the phone into your computer and copy MeanROM.chk off the SD card to your computer

On your computer, rename MeanROM.chk to MeanROM.chk.txt to make the file an obvious format

Post any pertinent info here WRT battery and attach that MeanROM.chk.txt file to your post

The easy way:

Open a command prompt (in Windows use Start and type CMD in the search box and press enter)

If you're not already in a folder where you have write access, go to a writeable folder now

Plug the phone into the computer, being sure "USB debugging" is turned on

At the command prompt, type "adb pull /data/MeanROM.chk" without the quotes (case matters!)

On your computer, explore the folder you used in the command window and rename MeanROM.chk to MeanROM.chk.txt to make the file an obvious format

Post any pertinent info here WRT battery and attach that MeanROM.chk.txt file to your post

Note, MeanROM.chk shows battery stats for the phone since you last booted. If you restarted your phone and want the stats from the PREVIOUS boot, use MeanROM-prev.chk.