yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Themes and Apps] The Gingerbread Man:
I tried flashing the zip and that has broken recovery, then tried the first. Deleted chargemon then replaced it with the first chargemon.bin and recovery still broken. Xrecovery 0.3 problem parsing package when i try to install that. I wonder if this is all messed up where I deleted chargemon.ori a while back? Think il be seusing later by the looks of it.

Thanks anyway arkedk. I obviously backed up before doing this but not much help when i cant enter recovery at all now. Tits
[XPERIA X10 Themes and Apps] DooMLoRD:
Dude since u are on 2.1 u can still get into the OS right?

So no need to flash complete FW.. JUST install recovery using latest FlashTool...

sent from FreeX10_beta4+CM6apps
[XPERIA X10 Themes and Apps] The Gingerbread Man:
Yeah OS still working other wise I wouldn't be posting, im at work. I will try using flashtool later when im home for recovery but wont Z kernal not work with freexperia recovery installed be flashtool. God I hate sounding so stupid.
[XPERIA X10 Themes and Apps] arkedk:
I'm using FreeXperia X10 Recovery installed from FlashTool 0.2.9.1.

So it will work with it.

So try and install that from FlashTool as Doom mentioned.
[XPERIA X10 Themes and Apps] The Gingerbread Man:
Cheers will give it a go when I get off my shift.
[XPERIA X10 Themes and Apps] DooMLoRD:
dude just follow the steps posted here:

http://xdaforums.com/showpost.php?p=13022717&postcount=139

they are really fail safe and u cant really go wrong...
[XPERIA X10 Themes and Apps] DooMLoRD:
for those on EWJET rom with custom kernel... i figured out what was the issue the app wasnt working...

the problem was with chargemon file used:

check the first few lines...

#!/system/bin/busybox sh

# remount rootfs rw
mount -o remount,rw rootfs /

# Umount MTDs
umount -l /cache
umount -l /data

now wht was happening is that the /data partition was getting unmounted before the recovery checking part... so the "reboot into recovery" flag was not accessible (as it resides on /data paritition)...

i think i will upload the correct chargemon for zKernel so that "reboot into recovery" will work...
[XPERIA X10 Themes and Apps] The Gingerbread Man:
That problem isn't just limited to ewjet jet rom. Im thinking more of a more 'general' issue because im on modded stock 2.1 (root, 0.3rec, jitv2, z keranal) and still doesn't work. Good news that you found the issue though, am looking forwards to next release as I do miss the ability to use this.

I can provide alogcat now its working http://db.tt/U8fYfua
[XPERIA X10 Themes and Apps] arkedk:
@Doom isn't there some sort of "if = xRecovery reboot to that" "if ≠xRecover do.check.for FreeXperia Recovery if.found reboot to FreeXperia Recovery"

So you can make it recovery independent (if it isn't already)?

There must be some parameters that you can set the app to check.

Just a little question/suggestion.
[XPERIA X10 Themes and Apps] DooMLoRD:
ya seems the chargemon provided by z itself has this issue...

the main problem is that we dont have universal chargemon...

i have already done a lot of coding to make the app recovery independent...

wait may be i can do some more additions in the app... add line to remove unmount data command...
[XPERIA X10 Themes and Apps] AyDee:
Is this working on SE 2.3 roms?

Just making sure...
[XPERIA X10 Themes and Apps] DooMLoRD:
ya i am using it with the fixed xrec by Z ;)
[XPERIA X10 Themes and Apps] G-FACE:
Yeap, I confirm it is working on WB-XPERIA TW GB.
[XPERIA X10 Themes and Apps] riginal:
Ok Doom here is the chargemon of ThJap's rom that you wanted, sorry for delay, I wanted to flash & test his latest version & see if the problem still exists & it does, By the way I checked the chargemon & it seems that the issue is the same as others (data partition getting unmounted before recovery checking)
[XPERIA X10 Themes and Apps] DooMLoRD:
just install the latest xRecovery from here:

http://xdaforums.com/showthread.php?t=1196808

and those issues will be resolved ;)
[XPERIA X10 Themes and Apps] lzyllp:
I made a SE 2.3 style :)
[XPERIA X10 Themes and Apps] riginal:
ok, it's official I'm an idiot, I was in a hurry to go somewhere & forgot to attach the chargemon file, haha, but thanks for your support
[XPERIA X10 Themes and Apps] DooMLoRD:
hi lzyllp,

can u please remove that file?

we are about to release the app to the market!
[XPERIA X10 Themes and Apps] lzyllp:
OK I remove the files.

but tell me Why？It just for fun and I don't think it have contradiction with you relase it to the market.I make it not for something,I just want it match the SE rom
[XPERIA X10 Themes and Apps] Crocodile1973:
newer version, and maybe added features regarding themes.
[XPERIA X10 Themes and Apps] DooMLoRD:
no dude no problem of any sort just that we were publishing it right now to market ;)

yes new version has nice themes ;) and redesigned UI..
[XPERIA X10 Themes and Apps] DooMLoRD:
And the app is released to market!!!

we are finally ready with a new version and its directly released to market!!!

get it here:

xCharge Reboot Options [a.k.a. Xperia Reboot Options]

its a paid app for 2$

new features include:

cleaner layout

new UI

working themes!

and u will be entitled to future upgrades :D

if u like the app please buy the paid app to support our work :)

P.S.: the older versions v1.3.0 & below will NOT be removed! they will still be kept available for XDA users for free :)
[XPERIA X10 Themes and Apps] ThJap:
i bought it (^_^)ﾉ
[XPERIA X10 Themes and Apps] DooMLoRD:
hope u like it!!!

btw reboot into recovery wont work properly in ur current rom... in ur chargemon u unmount data partition before checking the recovery keys...

check this: http://xdaforums.com/showthread.php?t=1085896&page=24

last few posts...

solution is to install newest recovery (xRec-0.3-GBready from here: http://xdaforums.com/showthread.php?t=1196808)
[XPERIA X10 Themes and Apps] ThJap:
Hi friend!

Really?

I can use ur app works fine and included newest xrecovery
[XPERIA X10 Themes and Apps] DooMLoRD:
oh cool! enjoy
[XPERIA X10 Themes and Apps] Johnny Wishbone:
Bought it to support you guys and well spent money it is :-)
[XPERIA X10 Themes and Apps] riginal:
No it doesn't man, The "reboot into recovery" option just reboots normal
[XPERIA X10 Themes and Apps] riginal:
after using the app for a while when I open it I get an error, something like: a backup of chargemon found: chargemon.ori, It happened in Achotjan's 2.2 , CM7 zmod, Thjap's 2.3 ,... & I didn't even touched the chargemon nor installed anything that could change it, so I delete the chargemon.ori(is it safe to do? it's just a backup, right?) & the problem is solved but sometimes it comes back after a while
[XPERIA X10 Themes and Apps] DooMLoRD:
that happens when u keep changing kernels ;)

most kernel packages contain a chargemon file which gets replaced
[XPERIA X10 Themes and Apps] riginal:
thanks but as I said I can swear it sometimes happens without changing kernels

specially it was driving me nuts in achotjan's 2.2 aosp, it just kept coming back again & again & everytime I had to manually delete that .ori file with root explorer

So I guess it's safe to delete that .ori backup

thanks
[XPERIA X10 Themes and Apps] DooMLoRD:
that message will never appear if the chargemon hasnt changed

sorry for the trouble but i had to keep the fail safe so that users know wht going on...
[XPERIA X10 Themes and Apps] riginal:
if you say so, I have installed Z's latest update with kernel a few days now & it never appeared until today right after I flashed a theme with xrecovery

now I don't think a theme will change anything regarding chargemon & stuff, I'll look through the zip file later though

by the way I guess your second line is for your kernel's thread hehe
[XPERIA X10 Themes and Apps] DooMLoRD:
nah its ment for this app :D
[XPERIA X10 Themes and Apps] riginal:
aha ok then, no trouble at all, I asked out of curiosity & just to report

Thanks for your support
[XPERIA X10 Themes and Apps] shaynethepain:
Thanks Doomlord for the free version of this app. Its just great!!
[XPERIA X10 Themes and Apps] bcstolte:
Have the full version!

Works like a charm!
[XPERIA X10 Themes and Apps] dhani88_TotallyNooob:
Just know this apps,

And I really like it..

Nice Apps, Thanks Doomlord.. :D
[XPERIA X10 Themes and Apps] earbrain:
Thanks Doom, been using it since available and purchased it w u guys first put it on the market. Great Tool
[XPERIA X10 Themes and Apps] xyagnesh.davex:
is it working for z1 ?
[XPERIA X10 Themes and Apps] riginal:
Works like a charm on Cobrato's MIUI

Thank you Mrhassell & Doomlord
[XPERIA X10 Themes and Apps] lzyllp:
No work with TripNMiui froyo.
[XPERIA X10 Themes and Apps] DooMLoRD:
dont worry guys this was just the first release...

future versions will be having 1x1 icon size...
[XPERIA X10 Themes and Apps] DooMLoRD:
i remember some time back i had checked the script version on TripMiUI (month or so ago) and that rom doesnt allow "reboot" command to be executed... might be the reason why u facing problems...

hey on which version of the rom have u tested?

and wht is the problem exactly?
[XPERIA X10 Themes and Apps] lzyllp:
I test on newest 1.0.7.It's doesn't reboot.It you want a new icon just pm me.I‘ll make one for you.
[XPERIA X10 Themes and Apps] DooMLoRD:
ok can u try the following:

launch the app/widget...

select "Reboot into Recovery"

click "process"

it might not reboot...

now reboot using the power menu in ur rom...

now ur phone should automatically boot into recovery...

if it does then can u please provide me the output of the following commands:

(preferable via adb shell):

which reboot

ls -l /system/bin/reboot

ls -l /system/xbin/reboot

thank you for testing!
[XPERIA X10 Themes and Apps] lzyllp:
launch the app/widget...

select "Reboot into Recovery"

click "process"

it might not reboot...

now reboot using the power menu in ur rom...

now ur phone should automatically boot into recovery...

I try this but still not into recovery
[XPERIA X10 Themes and Apps] lzyllp:
I use TripNKernel maybe it cause the problem？

Sorry for my bad english
[XPERIA X10 Themes and Apps] DooMLoRD:
can u also provide the output of the following:

ls -l /system/bin/chargemon

cat /system/bin/chargemon

mount
[XPERIA X10 Themes and Apps] lzyllp:
I retest this in trripNMiui foryo

launch the app/widget...

select "Reboot into Recovery"

click "process"

it might not reboot...

now reboot using the power menu in ur rom...

now ur phone should automatically boot into recovery...

In official se kernel.It can’t auto reboot,but when I reboot by myself it get into recovery

In Z kernel mod by T.It not work.when I reboot by myself it still get into system
[XPERIA X10 Themes and Apps] DooMLoRD:
this is really ODD

seems the update.zip never took a backup of the original chargemon and the modification was never applied...

are u sure u used the update.zip to install the app? or did u just copy the apk from the update.zip and install it?

cause currently if u install ONLY the apk then it will ONLY work with FreeXperia recovery...

thats why i have created the update.zip package so that while flashing it via recovery the modification are made to the chargemon...

so right now can u try this...

uninstall the app....

download the update.zip from Post #2 and reflash the update.zip via recovery
[XPERIA X10 Themes and Apps] lzyllp:
I used the update.zip from Post #2 to install the app by recovery.

TripNMiui include the Z’s xRecovery 0.3 no the J’s FreeXperia recovery.

Maybe it cause the problem？

I need install J’s FreeXperia recovery to replace Z’s xRecovery 0.3？
[XPERIA X10 Themes and Apps] DooMLoRD:
the update.zip i have made should work irrespective of recovery version...

though if u do want to test out u can flash freexperia recovery using flashtool v0.2.9.1

but please make a NANDROID backup before trying that...

i will also download TripNMiUI v1.0.7 (correct?) and test it soon
[XPERIA X10 Themes and Apps] lzyllp:
Thanks.please test in official se kernel and Z kernel mod by T.waiting for you good news:)
[XPERIA X10 Themes and Apps] DooMLoRD:
the app is not kernel dependent...

it only requires a special string in the chargemon script...
[XPERIA X10 Themes and Apps] DooMLoRD:
hey can u try something....

if u already have app installed please uninstall it then reboot into recovery...

go to:

Partition Tools -> Mount /system -> Mount /data

then flash the update.zip which u downloaded....

if my guess is correct this should sort out ur problem..

and now try rebooting into recovery from app... (if the app is not able to reboot os please do so manually thru power menu)

also there will be a file on ur sdcard:

/sdcard/xcharge_installer_log.txt

please retrieve it and post the contents here....
[XPERIA X10 Themes and Apps] lzyllp:
Still can't boot into recovery

That is the log you want

View attachment xcharge_installer_log.txt
[XPERIA X10 Themes and Apps] lzyllp:
In official se kernel.It can’t auto reboot,but when I reboot by myself it get into recovery

In Z kernel mod by T.It not work.when I reboot by myself it still get into system

I think the custom kernel have a chargemon is different with official kernel and cause this problem？
[XPERIA X10 Themes and Apps] DooMLoRD:
are using any update.zip to change kernel?

BackToStock or activate kernel update.zips???

cause all that these files do is keep replacing chargemon...

in that case:

do this:

when u want to change kernel...

u can check:

ls -l /system/bin/chargemon

u will see:

/system/bin/chargemon
/system/bin/chargemon.ori

remove /system/bin/chargemon.ori file

and then flashwhich ever update.zip (backtostock/activate kernel) u want after which u need to reflash this apps update.zip
[XPERIA X10 Themes and Apps] lzyllp:
in useing this in TripNMiUI "Iris" 1.0.7 Froyo

FreeKernel-MOD 01 addon:

http://rapidshare.com/files/45693012...l_Addon_03.zip

http://www.mediafire.com/?yt74tsgih50dqe6
[XPERIA X10 Themes and Apps] erenz1202:
+1

using trip MiUI iris 1.0.7 froyo (stock kernel)
[XPERIA X10 Themes and Apps] DooMLoRD:
this is the problem.... these files keep changing the chargemon file!!! this is not optimal... all u need to do is create/delete a temporary file in /data/local/tmp/

anyways i will post a fix for that soon...
[XPERIA X10 Themes and Apps] DooMLoRD:
[ RELEASE ]

[20/May/2011] Xperia Reboot Options REMOVE BACKUP released!

[20/May/2011] Xperia Reboot Options v1.0.1 released!

[ NOTES ]

REMOVE_BACKUP

ONLY to be used if the chargemon file gets replaced

v1.0.1

changed reboot command to a more universal reboot command "su -c 'toolbox reboot'"

resized widget to 1x1 (72px X 72px)

changed widget_initial_layout.xml to have height & width as 54dp (nicely centered the icon)

added drawable-hdpi/drawable-mdpi/drawable-ldpi icons

please uninstall previous version & remove widget from homescreen before flashing this one...

Downloads at Post #2
[XPERIA X10 Themes and Apps] Crocodile1973:
can we flash this over the initial release version 1?
[XPERIA X10 Themes and Apps] DooMLoRD:
sorry forgot to mention...

please uninstall previous version & remove widget from homescreen before flashing this one...
[XPERIA X10 Themes and Apps] kieronw3:
Works like a charm

thank-you

Kieron
[XPERIA X10 Themes and Apps] MrKingLouie:
Works on stock firmware xxxxxxx.435 nordic.
[XPERIA X10 Themes and Apps] lzyllp:
Test it in TripNMiUI "Iris" 1.0.8 Froyo

Now it can auto reboot

In stock kerne it work perfect

In FreeKernel-MOD 01 addon it still get into system

It‘s a great progress.
[XPERIA X10 Themes and Apps] DooMLoRD:
when using kernel addons by TripNRaVeR please do the following:

in recovery when u flash the kernel addon BackToStock/FreeKernel -> immediately flash xperia_reboot_options_REMOVE_BACKUP.zip -> immediately after that reflash xperia_reboot_options_v1.0.1.zip...

i am sorry that this has to be done but until the app can itself do the necessary modifications this will have to be done everytime u change ur chargemon file (this happens when u flash the kernel addons BackToStock/FreeKernel)

can u please check and let me know if it worked?

P.S.: the app is fully compatible with FreeXperia recovery... the above happens because some devs still use xRecovery (which does not have the necessary modification in chargemon)
[XPERIA X10 Themes and Apps] lzyllp:
？？？

in recovery when u flash the kernel addon BackToStock/FreeKernel（I must reflash kernel addon?） -> immediately flash xperia_reboot_options_REMOVE_BACKUP.zip -> immediately after that reflash xperia_reboot_options_v1.0.1.zip...
[XPERIA X10 Themes and Apps] DooMLoRD:
currently is the "reboot into recovery" option in app working?

IF NOT:

flash xperia_reboot_options_REMOVE_BACKUP.zip -> immediately after that reflash xperia_reboot_options_v1.0.1.zip
[XPERIA X10 Themes and Apps] lzyllp:
DooMLoRD,Have you test in tripNmiui froyo？
[XPERIA X10 Themes and Apps] DooMLoRD:
yes....

the app works flawlessly if u dont change chargemon...

if chargemon is changed then u need to flash

xperia_reboot_options_REMOVE_BACKUP.zip

and then

xperia_reboot_options_v1.0.1.zip

can u test it on ur end?
[XPERIA X10 Themes and Apps] lzyllp:
Sorry try all I can do.

But still can’t work with TripNKernel Addon

But in stock kernel it work perfect

TripNKernel Addon：

In Z‘s xrecovery 03,it still get into system but recovery not broken

and I flash the J’s FXR,the recovery was broken and I can‘t into it still only into system

DooMLoRD,Have you test in tripNmiui froyo with tripkernel addon？
[XPERIA X10 Themes and Apps] anders260:
How do you mean uninstall old version?, just delete?
[XPERIA X10 Themes and Apps] Crocodile1973:
No go into applications and unistall the application Xperia Reboot Options. There shouldn't be a need to delete the icon on the homescreen, as it should disappear when unistalling.
[XPERIA X10 Themes and Apps] The Gingerbread Man:
Very nice work Doom and Mr Hassle! Thanks this is great and looks quite cool too, fits in perfectly with my extended controls :-) working perfect on cm7 v20c k10 no uv
[XPERIA X10 Themes and Apps] The Gingerbread Man:
Is this something you would consider putting up on to the android market to be able to receive updates and stuff at a later point?
[XPERIA X10 Themes and Apps] DooMLoRD:
there shouldnt be any problem...

can u please try this:

get into recovery

flash tripnkerneladdon

reboot

get into recovery

flash xperia_reboot_options_REMOVE_BACKUP.zip

reboot

get into recovery

flash xperia_reboot_options_v1.0.1.zip

reboot

can u try the above and please report back?

if i get time today i will try it with tripNkernel addon...
[XPERIA X10 Themes and Apps] DooMLoRD:
this is a very basic app...

we are using the work we do for this app as a base for kernel manager, which will at a later point be released on android market... and would hopefully support OTA updates & OTA notifications about kernel releases... might even include rom manager or something similar... but as of now only kernel manager is planned as the base code/scripts are already ready...
[XPERIA X10 Themes and Apps] The Gingerbread Man:
This all sounds very impressive ;-) looking forwards to it! Your app works very well, Iv tested all 3 reboot options and work perfectly and I must say I was quite suprised at just how quickly the reboot takes place. Doom you're a beast man!
[XPERIA X10 Themes and Apps] cmby:
great job, thanxs
[XPERIA X10 Themes and Apps] DooMLoRD:
hi...

so i finally figured out wht the problem was...

it seems trip messed up a few lines while copying/editing chargemon...

let me explain better:

this is part of his chargemon from TripNKernel_BTS_02.zip

#!/system/bin/busybox sh

cat /dev/input/event2 > /dev/keycheck&
sleep 3
kill -9 $!
if [ -s /dev/keycheck ]
then

# remount rootfs rw
mount -o remount,rw rootfs /

# Umount MTDs
umount -l /data
umount -l /cache

# Extract recovery
cd /
rm -r /sbin
rm -f etc
tar -xf /system/bin/xrecovery.tar

# Umount system
umount -l /system

chroot / /init

fi

now this is the one from TripNKernel_Addon_03.zip

#!/system/bin/busybox sh

# remount rootfs rw
mount -o remount,rw rootfs /

# Umount MTDs
umount -l /cache
umount -l /data

cat /dev/input/event2 > /dev/keycheck&
sleep 3
kill -9 $!
if [ -s /dev/keycheck ]
then

# Mount recovery partition
cd /
rm -r /sbin
rm -f etc
tar -xf /system/bin/xrecovery.tar

# Umount /system
umount -l /system

# chroot
chroot / /init

fi

as u can see for urself.... Trip has taken the following portion:

# remount rootfs rw
mount -o remount,rw rootfs /

# Umount MTDs
umount -l /cache
umount -l /data

out of the "if-conditional" block where recovery extraction occurs...

so basically the problem is because of this the /data & /cache partitions get unmounted before "if-conditional" block... so the code to check "reboot into recovery" file:

if [ -s /dev/keycheck -o -e /data/local/tmp/recoveryboot ]
then
rm -r /data/local/tmp/recoveryboot

can never find the file "/data/local/tmp/recoveryboot" as the data partition is unmounted before this so its never accessible!!!

i had faced a similar problem with one of the users before:

http://xdaforums.com/showpost.php?p=12977159&postcount=233

anyways... i will post this finding at Trip's MiUI thread for Froyo...

till then i am attaching a corrected file (flashable via recovery):

TripNKernel_Addon_03_corrected.zip

please use the above file instead of TripNKernel_Addon_03.zip to activate custom kernel on TripNMiUI rom (froyo)...

can u check this and report back?

do this:

reboot

get into recovery

flash TripNKernel_Addon_03_corrected.zip

flash xperia_reboot_options_REMOVE_BACKUP.zip

reboot

get into recovery

flash xperia_reboot_options_v1.0.1.zip

reboot phone

app should work now
[XPERIA X10 Themes and Apps] The Gingerbread Man:
@ doomlord / Mr hassle, I really don't mean this to sound like a completely retarded question but I was just looking through the reboot options available and I was just wondering what does 'reboot custom kernal' actually do? Or more to my point, I don't understand it's purpose. I know the phone reboots, I have tried it out and it rebooted up again fine but I was just wondering if you would mind posting a quick explaination of this feature?

Edit; Maybe this is for those on stock kernals to reboot into a custom one? Perhaps a quick explanation in the open wouldn't go a miss.

Again sorry for perhaps a silly question I'm just curious. Thanks again guys iv already found this to be a useful tool :-)
[XPERIA X10 Themes and Apps] lzyllp:
Surprise！

Now it work perfect！
[XPERIA X10 Themes and Apps] shedrule:
I am sure I've tried it on all ROMS bar MIUI ones which I dont like, no probs works great just icon to fix 1x1. Great work for somthing that seems simple but obviouse quite complex. Hope I've been some help.
[XPERIA X10 Themes and Apps] DooMLoRD:
hi Steve u r right... i totally forgot to write a short description of that 3rd option...

that option is specifically ment for those users who have FreeXperia recovery installed and have followed this How-To for testing custom kernel

so if u have the custom bootkit installed (miniloader, splboot.ko, boot.img) u can activate the custom kernel on next boot up without the need to be at ur comp to do: in FLASHTOOL menu Advanced -> Kernel -> Reboot custom Kernel

the Reboot Custom Kernel option basically provides u an easier way to do the above right from ur phone!!!

i will update the 1st post with this info...

thanks Steve!
[XPERIA X10 Themes and Apps] DooMLoRD:
hey in version 1.0.1 the icon is fixed to 1x1

just uninstall previous versions of the app & remove the widget from homescreen (sometimes there is a place holder which remains on home screen "Problem Loading Widget" even if app is uninstalled)

now flash v1.0.1 via recovery

reboot phone and add widget to homescreen

u should now have 1x1 icon
[XPERIA X10 Themes and Apps] shedrule:
Now using, great work sir. :)

Edit: Sorry, geat work lord.