yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson XPERIA X10 Mini] peetr_:
I would like to have xrecovery on my X10mini, so i tried to make some edits in that, but no success.

I already posted my finding to xrecovery X10 thread, so i post it here again:

For x10 mini, i think, there should be event1 instead of event2 i "chargemon" file

Tried with "getevent" in adb

I see then some feedback on the "Sony Ericsson" boot screen while i keep pressing "back"

When i stop pressing, then goes logo, then reboot and booting normally

I think "mtdblocks" are different from X10 - this is for x10 mini:

dev: size erasesize name

mtd0: 0ce00000 00020000 "system"

mtd1: 03200000 00020000 "cache"

mtd2: 00040000 00020000 "appslog"

mtd3: 0d3c0000 00020000 "userdata"

P.S. sorry for bad English
[Sony Ericsson XPERIA X10 Mini] owain94:
x10 big one

dev: size erasesize name
mtd0: 00440000 00020000 "appslog"
mtd1: 06f40000 00020000 "cache"
mtd2: 160a0000 00020000 "system"
mtd3: 1d100000 00020000 "userdata"

x10 mini

dev: size erasesize name
mtd0: 0ce00000 00020000 "system"
mtd1: 03200000 00020000 "cache"
mtd2: 00040000 00020000 "appslog"
mtd3: 0d3c0000 00020000 "userdata"

x10 mini pro

dev: size erasesize name
mtd0: 0ce00000 00020000 "system"
mtd1: 0d3c0000 00020000 "userdata"
mtd2: 03200000 00020000 "cache"
mtd3: 00040000 00020000 "appslog"
[Sony Ericsson XPERIA X10 Mini] DaRk_dOg:
I have also tried several times to make it work on my mini (E10i) just by changing blocks, but no luck.

I always get an error ine this line:

mount -o rw -t yaffs2 /dev/block/mtdblock2 /data/local/tmp/xrecovery

Invalid argument.
[Sony Ericsson XPERIA X10 Mini] Manny-:
Hope this works..
[Sony Ericsson XPERIA X10 Mini] Zocker Tko:
ok thanks here the output from getevent in adb

- from x10i big

C:\android-sdk\tools>adb shell

adb server is out of date. killing...

* daemon started successfully *

$ su

su

# getevent

getevent

add device 1: /dev/input/event5

name: "qwerty"

add device 2: /dev/input/event4

name: "8k_handset"

add device 3: /dev/input/event3

name: "compass"

add device 4: /dev/input/event2

name: "es209ra_keypad"

add device 5: /dev/input/event0

name: "es209ra_keypad"

add device 6: /dev/input/event1

name: "es209ra_touch"

-fom x10 mini pro

C:\android-sdk\tools>adb shell

adb server is out of date. killing...

* daemon started successfully *

$ su

su

# getevent

getevent

add device 1: /dev/input/event4

name: "systemconnector"

add device 2: /dev/input/event3

name: "qwerty"

add device 3: /dev/input/event2

name: "cy8ctma300_ser"

add device 4: /dev/input/event1

name: "compass"

add device 5: /dev/input/event0

name: "mimmi_keypad"

Hmm, ok see the difference in the chargemon

cat /dev/input/event2 > /dev/keycheck& -think here to change the event2 to event0 for pressing keypad

i will try it and report later
[Sony Ericsson XPERIA X10 Mini] DaRk_dOg:
Just in case you could also check mini:

C:\Users\The Fear Itself>adb shell
adb server is out of date. killing...
* daemon started successfully *
$ su
su
# getevent
getevent
add device 1: /dev/input/event4
name: "systemconnector"
add device 2: /dev/input/event3
name: "qwerty"
add device 3: /dev/input/event2
name: "compass"
add device 4: /dev/input/event1
name: "robyn_keypad"
add device 5: /dev/input/event0
name: "synaptics-rmi-touchscreen"

Thank you in advance
[Sony Ericsson XPERIA X10 Mini] Zocker Tko:
ok first !!!warning for the x10 mini users!!!, because i think you cant remove your akku, is it right? Maybe you can brick your phone!

My Tests are only for the X10 mini pro

ok why

i have changed in the chargemon for my x10 mini pro!!!

cat /dev/input/event0 > /dev/keycheck&

so i installed the xrecovery make a reboot and press the menu back button after SE logo screen. In the first mom i thougt i have bricked my phone:(, because it was still on the SE logo, so i removed my akku and started again my phone and it booted normally:D

but the good thing is, my phone will do something, think it will go into the xrecovery but it cant.

sry for bad english
[Sony Ericsson XPERIA X10 Mini] DaRk_dOg:
You dont need to remove the battery in mini, i've got "other" methods. :D

But anyway, if you find the proper sequence of events, please post it here so maybe we could do something for mini too!
[Sony Ericsson XPERIA X10 Mini] peetr_:
So i tried almost everything with mtdblocks and still no success.

I figured out, there is no way to mount mtdblock2 into anything else then /system or /data or /cache and maybe something else, but not into the folder with xrecovery.tar only

My last try was copying busybox and chargemon to /system/bin,

made the directory /xrecovery, copied there xrecovery.tar, changed some permissions,

mounted mtdblock0 to /xrecovery (also changed in chargemon),now there was system folder together with xrecovery.tar then restarted.

On back pressing, something happend - i think xrecovery.tar decompressed, then was logo, restart, normal boot (longer), but phone partially bricked (i think busybox) - malfunctions - bad root, no app2sd, bad adb shell, cannot reinstall busybox - but maybe all of this because of bad permissons.

Then with ESfile explorer i saw the /xrecovery folder disappeared.

I don´t have no idea what else to try. And i am tired of this now :-)

P.S. Sorry for bad English
[Sony Ericsson XPERIA X10 Mini] Zocker Tko:
hi, bad to hear

maybe you can root your phone again with the z4root app from market or search here for it, i believe z4root installs busybox too with right permissions

or you can try with rootexplorer, when it works to set the right permissions for busybox for group r-,w-,e- and others r-,e-

hope it will help you
[Sony Ericsson XPERIA X10 Mini] Contrarian:
have you tried using the "init" files from your phone i.e replace the ones in xrecovery.tar ??

the only other thing I'd suggest is copying the busybox scripts in sbin to the /system/bin folder. from what I can see the above script just places the busybox file into system/bin. It doesn't actually unpack it.
[Sony Ericsson XPERIA X10 Mini] Zocker Tko:
thanks, hope i understand you right

i have look into the xrecovery.tar

i saw the default.prop and the init and init.rc, hmm think i can change the "inits" with the from my phone, i will try it.

hmm, and about busybox, yes busybox goes to sytem/bin folder and is working.

check with busyboxinstaller it is v.1.15.3, or what did you mean with actually unpack it?

edit: ok changed the "inits" but no luck

another thing, test for mounting with adb

on my x10i big (xrecovery work)

-#mount -o rw -t yaffs2 /dev/block/mtdblock0 /data/local/tmp/xrecovery --works

on my x10i pro

-#mount -o rw -t yaffs2 /dev/block/mtdblock3 /data/local/tmp/xrecovery

mount -o rw -t yaffs2 /dev/block/mtdblock3 /data/local/tmp/xrecovery

mount: Invalid argument
[Sony Ericsson XPERIA X10 Mini] owain94:
if you mount system

/data gets mounted to...

weird

changed inits here events and mtdblocks

no succes

i hangs on boot when i press buttons

i did the root explorer methode g script methode and adb shell methode
[Sony Ericsson XPERIA X10 Mini] Zocker Tko:
ok at first thanks for helping and testing:)

ok what have we done

-changed the mtdblocks to the right paths in the chargemon and xrecovery.sh

-changed the event in the chargemon for pressing the menu back button

-changed the "inits" in the xrecovery.tar with our owns from phone

ok all these changes, i think are korrekt.

but i believe this is the point why we cant get it to work, because we cant mount the mtdblock for "appslog".:(

on my x10i pro

-#mount -o rw -t yaffs2 /dev/block/mtdblock3 /data/local/tmp/xrecovery

mount -o rw -t yaffs2 /dev/block/mtdblock3 /data/local/tmp/xrecovery

mount: Invalid argument

on the mini the same with mtdblock2

on my x10i (big) i can mount it

so any ideas for mounting the mtdblock for "appslog" in an other way/command?
[Sony Ericsson XPERIA X10 Mini] daemon-rj:
I believe in it. In my opinion is the key.
[Sony Ericsson XPERIA X10 Mini] Contrarian:
That's defintely where the error occurs. For some reason it won't recognize the mount point when booting.

Just an observation I've made - you can't write to /dev directory (partition). can you see if it's possible on the X10. Can you even chmod 777 this.
[Sony Ericsson XPERIA X10 Mini] Zocker Tko:
hi, thanks how can i do that?

and to change the init.rc in Xrecovery.tar with our own from phone, think that will not work, because thy are different. You see the post of init.rc from Contrarian

and this is the init.rc from xrecovery.tar

on init

export PATH /sbin

export ANDROID_ROOT /system

export ANDROID_DATA /data

export EXTERNAL_STORAGE /sdcard

on boot

ifup lo

hostname localhost

domainname localdomain

class_start default

service recovery /sbin/recovery

service adbd /sbin/adbd recovery

what about the init from our phone and in xrecovery.tar, its too much for me when i opend in notepad++, to see any differences. I will post later the init.rc from my x10i (Big),so we can see evtl. differences.
[Sony Ericsson XPERIA X10 Mini] Zocker Tko:
ok see differences between the init.rc from x10 mini pro and x10i big for example

# Enabled port-bridge for 'eng' builds

service esheep-sh /system/bin/sh /init.esheep.sh

user root

oneshot

service iddd /system/bin/iddd

user idd

group idd log

# SEMC: DRM key activation

service suntrolkac /system/bin/suntrolkac

user root

oneshot

# SEMC: DRM key activation
[Sony Ericsson XPERIA X10 Mini] Contrarian:
Zdzihu just posted this on another forum

http://xdaforums.com/showthread.php?t=859571&page=44

someone willing to test it??
[Sony Ericsson XPERIA X10 Mini] DaRk_dOg:
I am about to. I suppose with 644 permissions right?

*EDIT* Hangin at SE logo, after bootanimation... Need to reflash lol.
[Sony Ericsson XPERIA X10 Mini] Passaralho:
Thank you for testing before I saw it. One flash less :):)

And I'm sorry for your flash. It must be hard, once it is your first time, for sure... :)

;)

Regards
[Sony Ericsson XPERIA X10 Mini] DaRk_dOg:
My failure though does not prove its not working. I may have done something wrong.. As for the flash...

First 50 times are difficult. Then you're getting used to it :D
[Sony Ericsson XPERIA X10 Mini] Passaralho:
Indeed!

lol

;)
[Sony Ericsson XPERIA X10 Mini] Contrarian:
Phone shouldn't brick though.
[Sony Ericsson XPERIA X10 Mini] DaRk_dOg:
Not quite sure why it did, but i'm reflashing and preparing the phone ATM, in order to try the updated version.
[Sony Ericsson XPERIA X10 Mini] Zocker Tko:
i changed the mtdblock in chargemon from the new alpha version for mini to the mtdblock for the mini pro and will try it again. Hope it will work.

report later
[Sony Ericsson XPERIA X10 Mini] zdzihu:
Hi guys,

Just FYI: The main problem was that xRecovery was compiled for armv7 so it couldn't boot at all on msm72xx. Now it's recompiled for armv6j so it _should_ work.

Another problem: for mini, the appslog partition is too small to keep xrecovery.tar there - I modified bootscript to keep the file in /system/bin.

Any feedback is much appreciated (feel free to post in X10's thread)!

Cheers,

z
[Sony Ericsson XPERIA X10 Mini] ribben:
Anyone guys please test this release i would test it but i have sent my x10 mini back because of battery issues!!! :(
[Sony Ericsson XPERIA X10 Mini] zdzihu:
We did a lot of testing together with with mini/pro owners, we tried xRecovery, ClockWorkMod and Amon_Ra Recovery. The conclusion is: it will _not_ work.

At least not until SE tell us what did they mess in source code again :)

Cheers,

z
[Sony Ericsson XPERIA X10 Mini] ozzy1212:
sad...

but thanks for all the work!:)
[Sony Ericsson XPERIA X10 Mini] Ravencz:
And would this be of any use?

http://xdaforums.com/showthread.php?t=872442
[Sony Ericsson XPERIA X10 Mini] Zocker Tko:
hi all, please take a look at here http://xdaforums.com/showthread.php?t=859571&page=54 at post 535

here is a little howto only for testing and it is not my work!!!

all credits goes to zdzihu!!! he made it again possible!!!:)

he recompiled the xrecovery for us!!! he had spend a lot of hours to test it with us!!!

it is his work and i hope he make a new thread here, or somebody with more knowledge, as me.

yesterday i have only tested the backup and restore function with the recompiled xrecovery from zdzihu.

He make it possible for me to make a backup and restore on my x10mini pro!

I find this are great news and i know in this mom it is a little bit confused, to look in the x10i (big) thread and here.

I said i wish to have xrecovery on my x10pro. Now it is possible:)

In the mom. it is not comfortable, because we have no screen in xrecovery,but it should to be work in an other way.

But remember please it is not my work, i have only make a little tests with help from zdzihu.

sry for bad english
[Sony Ericsson XPERIA X10 Mini] peetr_:
Wishes were heard :)

Tried to reflash and restore, and everything is back again as it was before the reflash.

The best app for this phone.

Many thanks to zdzihu.

(and all mini/pro testers :))
[Sony Ericsson XPERIA X10 Mini] Ravencz:
So.. Now it's possible to create custom ROMs with backup and restore?
[Sony Ericsson XPERIA X10 Mini] ozzy1212:
holy *!

i just rebooted into recovery!:D
[Sony Ericsson XPERIA X10 Mini] daemon-rj:
Yes. :)
[Sony Ericsson XPERIA X10 Mini] ozzy1212:
here's what i did,

for those of you who are having a hard time understanding what

they were talking about...(like how i was before i jumped in and just went ahead and did it...)

1. download the files from here...credits to Zocker Tko for the find

(i used the first one since i'm on a mini pro)

2. extracted and saved to my sdcard

3. moved to /system/bin by Root Explorer and set permissions for each copied file (busybox, chargemon, xrecovery.tar)

(if you can't set permissions or paste files, make sure that you've set /system to r/w by clicking on the Mount R/W button)

4. (make sure you have USB debugging enabled and that you're phone is connected to your PC) reboot

5. press Back button repeatedly after the white text Sony Ericsson shows up

6. i used Droid Explorer's Screencast to see what's happening

7. after backing up, it will say

Error while generating md5 sum

but it's ok

8. choose reboot phone

9. open a cmd prompt and type in the following:

adb shell

su

cd /sdcard/xrecovery/backup/this varies for every one so you have to check the proper folder name

rm nandroid.md5

(ignore the error if there is one)

md5sum *img > nandroid.md5

(this will create a nandroid img)

just wait and when the # prompt shows again, you're done!

thanks zdzihu for this one!:D
[Sony Ericsson XPERIA X10 Mini] svprm:
Thanks to Developer and Tester.

Now I don't have computer to do.
[Sony Ericsson XPERIA X10 Mini] Passaralho:
To X10 Mini/Mini Pro users: 2 xrecovery tips :)

1.

In my experiences I realized that the busybox to use MUST BE the one provided with xrecovery. I tryed with the last one available and I simply couldn't get xrecovery to work at boot. Once I push the one from this thread, I gained access to xrecovery.

I believe zdzihu already stated that, but I wasn't sure and I tried it myself.

Of course, if anyone have a different experience, please post it.

2.

I am able to do the backup/restore proccess watching it going smoothly withou refreshes in ddms!!! How? Simple... Get DroidExplorer (google for it), install it and open it when you want to use xrecovery. Connect your phone, bla, bla, bla, like you did before with ddms. Than in Droid Explorer click the 'Screen Cast' Icon/option.

edit: I was even able to save a video of what I am doing in my phone

Hope this can be helpfull.

Regards
[Sony Ericsson XPERIA X10 Mini] Zocker Tko:
hi all, thanks for testing and for giving easier ways:) nice idea to work with droidexplorer:)

so this evening i will edit my first post to give you an easier how to based on the tests and tips from you

@Passaralho maybe you can upload your video, so i can linked at the first post:)

and for the future maybe is it possible that someone makes custom backups with enabled jit/apps to sd/themed for example:)

oha i must go to work, i come to late:D
[Sony Ericsson XPERIA X10 Mini] Passaralho:
Well, I remembered that but I just recorded half an hour of me messing around with the phone, applying some widgets and stuff like that. :):)

In the future, when I do another backup or restore or when I have to install xrecovery again, I'll do that and let you know.

Regards.
[Sony Ericsson XPERIA X10 Mini] Zocker Tko:
hi all need your help please

can someone give me the right commands to push the 3 files (chargemon,busybox,xrecovery.tar) to system/bin with permissions via adb

Thanks
[Sony Ericsson XPERIA X10 Mini] peetr_:
adb shell

su

mount -o remount,rw /dev/block/mtdblock0 /system

cd /sdcard/xrecovery_files

cp -rf busybox /system/bin/busybox

cp -rf chargemon /system/bin/chargemon

cp -rf xrecovery.tar /system/bin/xrecovery.tar

chmod 777 /system/bin/busybox

chmod 777 /system/bin/chargemon

chmod 777 /system/bin/xrecovery.tar
[Sony Ericsson XPERIA X10 Mini] mehmehmen:
everything worked except the md5 sum command, when i enter cmd ,d5sum *img > nandroid.md5 i get error

md5sum: not found???????????
[Sony Ericsson XPERIA X10 Mini] cocker80:
the following will fix that...

"adb shell

su

mount -o remount,rw /dev/block/mtdblock0 /system

cd /system/bin

ln -s busybox md5sum"
[Sony Ericsson XPERIA X10 Mini] dave481985:
cd /sdcard/xrecovery/backup/this varies for every one so you have to check the proper folder name

with this ozzy means that before cmd you have to go to sdcard/xrecovery/backup through root explorer in your phone and there you will find a file with a name something like this 2010-12-17.02.17.53 (first part is date, second is different for everyone)

so when you go in cmd you write

adb shell

su

cd /sdcard/xrecovery/backup/2010-12-17.02.17.53

and then you continue with the commands given by ozzy
[Sony Ericsson XPERIA X10 Mini] ozzy1212:
Is it possibly a bug of xrecovery that my phone can't be processed by SEUS? It says something like 'phone can't be recognized... ' i don't really remember how it goes... will report again once I've removed the xrecovery files and see if that works later this evening. Thanks Zocker Tko for sharing this one!
[Sony Ericsson XPERIA X10 Mini] mehmehmen:
thanks guys

ozzy it will conflict with seus because seus works on the (rather cack) flash mode they implemented in place of recovery. i presume recovery we r using is giving us a native ui recovery in place of flash mode from off and holding back buton.

cheers dude i will try that later on tonight. looks like what i need it to fix my ish

lol thanks for pointing that out but i figured that bit out, iv been nandroiding like a mofo on my Desire HD and N1 for months so i figured what he was getting at but i did it that way and it failed so am going to try the above method later and report back :D
[Sony Ericsson XPERIA X10 Mini] peetr_:
There is a little problem with seus, just because you cannot turn the phone off with xrecovery (because of the modified chargemon file), if you have the cable plugged in and if you cannot start normally. For seus to connect you have to unplug the cable, start the phone normally and then turn off. And that is not always possible :) On the other hand we have xrecovery, so no seus is needed :)
[Sony Ericsson XPERIA X10 Mini] Zocker Tko:
hi what is the problem with seus?

i have no problems with seus:confused:

-power off your phone for 30 sec.

-plug the usb-cable on PC

-hold the back button during you plug the usb-cable at your phone

-hold the back button more

seus saw my phone and said release back button now you can install

i tryed the last step and it will install se 2.1 again

or is the problem with x10 mini?
[Sony Ericsson XPERIA X10 Mini] peetr_:
On mini, we can turn off the phone only with the top button menu when the phone is normally operating and usb unplugged. No other way. We cannot unplug the battery. And hard reset (top + middle + right button) only restarts, so seus wont recognize it.

In the case of phone crash, for example boot loop, we have to let the battery discharge for reflash, or restore from xrecovery. Some turn off button in xrecovery menu would be nice :) If its possible.
[Sony Ericsson XPERIA X10 Mini] ozzy1212:
i'm on a mini pro...:)

SEUS can't recognize my phone...keeps giving me error when i try to connect w back button pressed down.

can you share your chargemon file here?

btw, here's a vid of me restoring from a nandroid backup on the mini pro...:p
[Sony Ericsson XPERIA X10 Mini] mehmehmen:
lol

i finally bricked my first phone after all the flashing iv been doing the past two years i broke my virginity lol finally... advice from meh DO NOT EVEN BOTHER RTYING THE X10 BIG aosp on mini pro, i knewit wouldnt work right but didnt think it would brick me to the point of not even being able to access recovery mode (am stuck on white sony ericsson screen) jus gonna reflash with seus and pray
[Sony Ericsson XPERIA X10 Mini] svprm:
Anybody tried to install custom rom using xrecovery?
[Sony Ericsson XPERIA X10 Mini] owain94:
There are none cuastoms roms so till somone will make one no one tried :-(

Im planning to make a lite SE rom

Without all the SE crap and JiT enabled

Within a week or 2 ;-)
[Sony Ericsson XPERIA X10 Mini] svprm:
It is possible to get back after xrecovery installed?

Because some people said it isn't recognised by seus.
[Sony Ericsson XPERIA X10 Mini] mehmehmen:
Try to read the whole thread then POST :p

There is no custom rom for mini pro i know of but i tried x10 knowing it may **** up and surprisingly enough IT DID, i can confirm seus works even with xrecovery as i bricked my phone installing th x10i aosp (big) rom and at first i couldnt get phone to stop booting when i reinserted battery it just booted to white se logo screen and did not go to animation. i left the battery out last night and when i woke i put battery back, opened seus, held back and plugged in

it unbricked :D

but now i have issues getting root :( if someone froom the dev side of this thread would like to help me out im more than happy to return the favour by way of testing my x10 with ideas of you guys to figure how we can !) get the display correct for xrecovery on our mini sized phones and 2) get toward a custom rom and maybe even convincing a cyanogen dev to port us a cm build??????????

thoughts and advice welcomed

meh
[Sony Ericsson XPERIA X10 Mini] Zocker Tko:
hi all xrecovery released by zdzihu !!!!!!!!:) Thank you:)

for now you must go here http://xdaforums.com/show...23#post9913723

thanks for all who have testet and postet here:)

now for me here is closed:)
[Sony Ericsson XPERIA X10 Mini] Contrarian:
404'd

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

Thanks guys.
[Sony Ericsson XPERIA X10 Mini] Saworen:
lol

How do i set the properties?
[Hero CDMA Themes and Apps] someonenewhere:
http://www.mediafire.com/?204y8twucr24o6g

run adb

Enjoy!
[Hero CDMA Themes and Apps] MrSpradlen:
How would I do that through terminal emulator?
[Hero CDMA Themes and Apps] ccrosno:
This is sweet
[Hero CDMA Themes and Apps] Nsandhu23:
I read that people who are using the new market are having issues with downloads, just thought I let you guys know.
[Hero CDMA Themes and Apps] MrSpradlen:
I used root explorer to copy the apk to system app, rebooted and installed. Worked good that way for me.
[Hero CDMA Themes and Apps] dburg84:
I got it installed. it comes up fine/searches. When I try to access "My Apps" or download anything it force closes. I rebooted a couple times and fixed permissions in Rom Manager. Can't get it to not force close at all.
[Hero CDMA Themes and Apps] Nsandhu23:
That's what I tried to warn you guys about. People have had issues downloading from the new market. Just wait two weeks and it will officially be out.
[Hero CDMA Themes and Apps] Newklearx3:
I should have listened.
[Hero CDMA Themes and Apps] Nsandhu23:
Did you make a backup before doing it?
[Hero CDMA Themes and Apps] Newklearx3:
Na I went through hell for the last 3 hours but I found a fix :)

sent from my pimp hero running Froyo CM6 and the XDA app
[Hero CDMA Themes and Apps] someonenewhere:
I haven't had any problems at all, all apps been working fine, no FC's either.
[Hero CDMA Themes and Apps] rockypr:
That's only for 2.2 ROMS right?