[Mod] Tweaks for any rom

Adrynalyne

Account Deactivated
Dec 24, 2009
1,346
1,534
0
Visit site
I could bring these out in a rom, but there are just way too many chefs in the Thunderbolt right now. So why not release a package that will tweak your current rom just as much?

What will this package do?

-Enable init.d support for scripts on startup.
-Enable usb debugging on a clean wipe.
-Add adb root at all times.

IO tweak
-Remount your filesystems(system, data, cache) with less overhead, so you can increase our already incredibly inflated IO score in quadrant. Does it increase real world performance? You be the judge.

Minfree tweak
-Will allow you to keep a higher mount of ram free before Android starts cannibalizing apps to free ram.

rw on boot
-Will allow you to boot at all times with system in rw mode. Handy for adb pushing files to system.

ro on boot
-Self explanatory.


How to use:
Flash kernel via HBoot.
Put PG05IMG.zip on sdcard, and with adb type:

adb reboot bootloader

This will boot to fastboot. All you need to do is hit power to enter bootloader, and it will scan the package and ask to load it. You will know if you have the right package if it says boot.

Note: If you do not have busybox installed, use this:
http://dl.dropbox.com/u/2056318/busybox_1.19_3.zip

Once you have rebooted, take the second package and flash it via clockwork.
When you reboot, all tweaks will be applied for filesystem and minfree. To use rw at boot time:

In adb or terminal emulator, type:

rw_boot (will require you to type su beforehand if in terminal emulator.)
Next reboot will be rw.

For ro:
ro_boot (same thing, type su first if using terminal emulator.)
Next boot will be ro.


In regards to the two above scripts, do not worry if either gives a file not found error. It will still work.

Extra scripts:

sysrw --mounts system as rw.
sysro --mounts system as ro.

Tweaks that did not make the cut:

SD card speed tweak:
I see a lot of rom cooks adding this, but lets face it, HTC added this tweak in before the phone was shipped. I checked. No need to reapply the same thing again. Right, guys? *crickets*

Framework speed up by removing transitions:
Framework isn't eye candy.

Zipalign every boot
Apks can be zipaligned only once. No point in doing this every boot.

Download kernel:
PG05IMG.zip

Download cwr package with scripts:
tweakage.zip

I will be adding more as time goes on.