[XPERIA X10 Android Development] DooMLoRD:
[Universal] for ALL ROMs / ALL Xperia Android devices with any Recovery

[*] THIS IS EXPERIMENTAL [*]

This should work on ALL ROMs and ALL Xperia Android devices (X10, X8, X10 Mini, X10 Mini Pro) and ANY RECOVERY (xRecovery / FreeXperia)

PLEASE MAKE A FULL XRECOVERY/NANDROID BACKUP BEFORE TRYING ANY SYSTEM MODIFICATIONS LIKE THIS

Additionally please make certain that u can use flashtool to flash a stock FW incase u run into any problems and that the device is fairly charged >50% battery before trying this.

the attached file is an update.zip flashable thru xRecovery/Recovery

this contains GScript Lite, and it gets installed as a system app... so if u

already have it installed, i recommend u uninstall it before flashing this...

it contains 3 scripts:

add-on_installer.sh

add-on_uninstaller.sh

reboot_recovery.sh

they will be put on the /sdcard/gscript/ folder automatically so that gscript lite can immediately find it...

Installation Steps:

[1] flash update.zip thru xRecovery/Recovery

[2] to install add-on: just launch the app and click on "Load File" and select add-on_installer.sh all the contents will load automatically... u need to make sure that the option "Need SU?" is checked (ticked)... now save and run this script ONLY ONCE... there might be a popup for SU permissions, select "Allow"... u will see the outputs of each step in the installation process...

[3] to use the reboot option/script: just launch the app and click on "Load File" and select reboot_recovery.sh all the contents will load automatically... u need to make sure that the option "Need SU?" is checked (ticked)... now save... u can now create a shortcut on the homescreen to GScipt Lite and select the reboot_recovery script... if u try running the script a popup for SU permissions might come up, this will only come the first time its run, select "Allow" and then ur device will reboot into recovery...

thats it! now whenever u want to reboot into recovery just launch the shortcut!!!

To Uninstall Add-on:

just launch the app and click on "Load File" and select add-on_uninstaller.sh all the contents will load automatically... u need to make sure that the option "Need SU?" is checked (ticked)... now save and run this script ONLY ONCE... there might be a popup for SU permissions, select "Allow"... u will see the outputs of each step in the installation process...

if u have any problems please put up a post here

What this script does?

[for the enthusiastic types ;) ]

It remounts system & data partition for modification

It backs up the current chargemon file to /system/bin/chargemon.ori

Works on a temporary copy of chargemon file @ /data/local/tmp/chargemon.tmp

Then it inserts the modifications into the /data/local/tmp/chargemon.tmp file for checking reboot file and some more modifications

Once all modifications are done it copies the /data/local/tmp/chargemon.tmp file back to /system/bin/chargemon

The backup chargemon file is stored @ /system/bin/chargemon.ori for the uninstaller script

The uninstaller script deletes /system/bin/chargemon file and renames /system/bin/chargemon.ori to /system/bin/chargemon

[APP | WIDGET] >>> xCharge - SE Reboot Options for Xperia <<<

use the latest file v3: reboot_into_rec_univ_xperia_v3.zip