If you own a Droid X2 that is rooted and all, but are not fan of Custom ROMs and want to stick to what Motorola throws your way, chances are you’re missing out on some serious performance gains. The normal way to go about is to install a custom ROM that has all the tweaks and performance enhancements built in. However, thanks to XDA-Developers forum member navenedrob, you can now use any init.d performance script on your phone. Basically an init.d script runs when the phone is booting up, thereby maximizing performance and conveniently sticking on a reboot.
The hack itself includes a a script by default, which used to be 3 independent scripts but have been conformed into one along with some extra additions:
- Sysctl tweaks – try to speed up OS/virtual machine/kernel.
- Lowmem tweaks – try to limit low memory so as to keep more memory available.
- SD read ahead – increase KB read ahead on SD reads.
- Cpu/governor tweaks – set low cpu freq to 500mhz instead of 250mhz, set high freq to max 1ghz, set governor to performance instead of ondemand.
- Disk scheduler – optimize disk scheduler for flash memory across all blocks
You can add your own if you want by deleting the script from the /system/etc/init.d directory in your phone.
According to the developer, “The "hack" runs the “run-parts" binary and searches the /system/etc/init.d directory for scripts. This functionality is added through "install-recovery.sh" script in /system/etc which is run every time the phone boots by default. Normally this script tries to install the default recovery every time you boot your phone, so that you can’t install any other recovery. I’ve hijacked that script for the init.d task instead. As is common practice, any script actions can be viewed in your logcat upon boot if you have USB debugging enabled.”
Now that you understand what this hack / mod is all about, here’s how you can get it up an running on your Droid X2.
Disclaimer: Please follow this guide at your own risk. AddictiveTips will not be liable if your device gets damaged or bricked during the process.
- A rooted Droid X2. See our guide on rooting the Droid X2.
- Custom recovery installed. See our guide on installing custom Bootstrap recovery on the Droid X2.
- Busybox installed. If not, download and install from here.
- Droid X2 init.d Hack. (Mirror)
- To begin, download the init.d hack and copy it to the root of your SD card.
- Boot into recovery and make a Nandroid backup.
- Navigate to choose zip from sdcard > install zip from sdcard and select the init.d hack to install it.
- Once the installation finishes, the hack should be installed and functioning on your phone.
Voila! All good to go. For updates and any queries, visit the forum thread at XDA-Developers.