yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Android Development] Bin4ry:
Yes sorry, but nobody is developing in locked devices, because simply unlocked devices exists. To get recovery working on locked devices very much work is needed, you have to crack the whole security system first. And this would take very long time :/

So sorry no development for locked devices.

Regards
[Xperia Arc Android Development] bmwbasti:
Hi Bin4ry,

nothing to say sorry for ;)

Personally for me it´s only a question of time when the bootloader of my arc will be unlocked (the unlockcode is already here on my desk :D) but i am still a bit afraid of avoiding my warranty :(

I have never made negative experiences with warranty service of SE but i don´t know if they just simple deny any warranty by saying: "Damn, you have unlocked your bootlader! No warranty!" :(
[Xperia Arc Android Development] kiz1983:
TS no longer have the Arc.. i guess Bin4ry can make a new thread for the recovery as he's actively developing it.. any latest updates should be on the first page though, easier for people to look for it..

btw Bin4ry, keep up the good work!! :)
[Xperia Arc Android Development] abhisheak.bansal:
HEY MAN in which world r u living,now u can unlock and re-lock the bootloader very easily.............

ALL HAIL DEVELOPERS​
[Xperia Arc Android Development] Bin4ry:
Do you really think that IMEI numbers are NOT stored? So relocking bootloader only enables SEUS, warranty will stay same as for unlocked bootloader, because your imei is known ;)

But whats the deal? If you have a real problem which is NOT caused by Software, for Example headphone jack, unusable touchscreen etc. in MY eyes warranty for this stuff is still good! Because it's not realted to any software which ****ed it up!

Regards
[Xperia Arc Android Development] DooMLoRD:
BTW if u got the unlock code then ur IMEI is already in that global unlocked list... so if in ur country they have a policy that unlocked bootloader = no warranty then i am afraid that ur warranty is already gone :(

i may be wrong but thats wht i gathered from their "unlock bootloader" official site
[Xperia Arc Android Development] abhisheak.bansal:
oh.........o didn't thought about that....!!!!......my bad......!!!!!!......

then what is the advantage of relocking the bootloader (apart from updating through seus)........
[Xperia Arc Android Development] DooMLoRD:
well being able to use SEUS is itself a BIG thing... SEUS repair is the last resort when even flashtool doesnt work (happens sometimes)....
[Xperia Arc Android Development] quinstar:
So,

I tried the RootXperia.zip again,

this time enabling the assets option...

Sadly, I got this from the log:

Guess I did something wrong again?

(Yes, it's a global tft and yes, it's bootloader and sim unlocked... :) )

Thanks!
[Xperia Arc Android Development] Bin4ry:
i think you are using a old recovery.this was old problem, try newer version a few pagea back in my post please :-)

Regards
[Xperia Arc Android Development] Regii:
I can vouch for that. I myself had an Arc with unlocked bootloader, but the Touchscreen was ****ed up up until unusability, and it was not a problem getting a replacement after I reflashed stock unrooted rom.
[Xperia Arc Android Development] quinstar:
I thought so too, so downloaded it again and tried it... After that I reported here...

However, will look back until latest of your posts and try it... Will report back before you have to start figuring this out... Probably user-error ^_^
[Xperia Arc Android Development] quinstar:
Okay,

it was a user-error as suspected :o

I used the right rootXperia.zip (since there is just one)

But used the wrong recovery.zip...

Had to be the recoveryARC.zip from this post: http://xdaforums.com/showpost.php?p=14903452&postcount=169

Works perfect now!

Thanks!
[Xperia Arc Android Development] Step666:
Just trying to get a couple of things straight so I can complete the Recovery-related sections of my guide.

Firstly, the beta image is not fit for flashing.

So, to use it, you place it in the same folder as FastBoot, then open a command prompt in that directory and type the command 'fastboot boot recoveryARC.img' - that's it, nothing else?

Secondly, the zip file that Bin4ry has produced to root handsets, you just use the update from zip function to install it?

And it's compatible with any firmware version? Will that remain true, is it truly version-agnostic or is it just tailored for 2.3.2 and 2.3.3 and may be rendered incompatible with later updates?

Lastly, as it's FastBoot that's used to activate recovery, it's only compatible with handsets that can have their bootloaders unlocked (ie ones that will boot into fastboot mode) - obviously.

But do you have to have actually unlocked your bootloader before you can use recovery?
[Xperia Arc Android Development] Crocodile1973:
1) its only to boot from, not to flash for now. correct with your command

2) Understand it can be used on 2.3.2 and 2.3.3 to make it rooted

3) The phone needs to have its bootloader unlocked to use recovery. Binary explains about this few pages back
[Xperia Arc Android Development] Step666:
Where though?

I did try looking before asking these questions but that one especially, there didn't seem to be any answer about.

No mention of it here, here or here.

The only thing I can see that Bin4ry said is that no-one's developing for handsets with locked bootloaders because unlocked bootloaders are available but there's a difference between locked as in can't be unlocked and locked as in simply haven't been unlocked yet.
[Xperia Arc Android Development] Bin4ry:
Sorry for not stating this exactly, i have always problems with expressing my clear opinion since english is not my native tounge.

Let me set this clear:

WE (FreeXperia Team, so mainly atm Jerpelea,me and blagus [for current devices]) have decided NOT to do nasty hacks like bypass bootloader etc. pp.

The reason is simple:

SonyEricsson has decided to unlock bootloaders and allow customization of their devices. Their rules are simple, if you want to unlock you have to put your imei on their homepage and you will receiver your unlockkey. This goes hand in hand with deleting the DRM data on you phone.

Now think about, if we would try to hack and bypass devices what will happen with future phones? In our opinion future phones will be locked down again like X10 was, eventually even more.

So why don't use the possibilties which are give by SE? Stick to their rules and hope for more support and maybe even nicer implementations (for example a accessable bootpartition from recovery).

We like SE devices, so we don't want to hijack this (i call it) "test" which SE drives with us?

I can fully understand that U.S. users which cannot unlock are quite unhappy with the actual situation, but sorry we will NOT work on anything else than development for officially unlocked deives! That was a team decision.

If you are not happy with actual situation you should bother SE to give a unlocksolution for CDMA phones.

I hope now you all understand our decision a little bit more!

Best Regards

Bin4ry
[Xperia Arc Android Development] Crocodile1973:
does that not answer it? no one is developing for locked bootloaders. so booting xrecovery is for unlocked bootloaders only. Doesn't make a difference if it can't be unlocked, or the user simply hasn't done it.
[Xperia Arc Android Development] tRippinthehead:
Thank you for your detailed explanation, Bin4ry :) .

At current devices line is a stumbling block. Can there be other ways to solve this problem?
[Xperia Arc Android Development] Step666:
@Bin4ry: that wasn't really what I was asking about.

You don't have to try and explain yourself to anyone here, you're spending your time helping us, you have every right to pick and choose exactly what you do or do not want to do.

You've already done a huge amount for Arc owners and we're all extremely lucky and grateful for that.

All I'm trying to find out is whether using recovery requires you to have already unlocked your bootloader or just to have a handset that is capable of entering FastBoot mode (irregardless of whether the bootloader is locked or unlocked).

No.

What that means is that they won't be developing for handsets that can't have their bootloaders unlocked, that's not the same as a handset that can have it's bootloader unlocked but hasn't.

FastBoot mode for example, you don't need to have your bootloader unlocked to be able to boot into FastBoot mode, you just need a handset that it is possible to unlock the bootloader on.
[Xperia Arc Android Development] Crocodile1973:
but as explained to be able to use xrecovery. the bootloader has to be unlocked. not anything else, not one that cannot, or can be. i don't know how clearer this can be put.
[Xperia Arc Android Development] Step666:
As explained where?
[Xperia Arc Android Development] :
As explained here: http://xdaforums.com/showpost.php?p=15137988&postcount=201
[Xperia Arc Android Development] Step666:
So where in that post does it say you need your bootloader unlocked?

It doesn't.

There is no post in this thread that states unequivocally that you need your bootloader unlocked to use recovery which is why I have asked what I've asked.

I'm not interested in someone's interpretation of what Bin4ry has said, I'm looking for a straight answer on this.
[Xperia Arc Android Development] Crocodile1973:
lol i give up, think your just being akward for the sake of it. to me and others it's clear in this thread.

that is clear, anyone else post if they are confused, really end of story, move on.
[Xperia Arc Android Development] xtacy!:
@Step666,

As of now (or even in the foreseeable future), recovery is/will be available for handsets with their bootloader unlocked.

It MAY be possible to use it with locked bootloaders but that would involve reworking the code but Bin4ry, Blagus and Jerpelea (FreeXperia Team) have voiced their opinion that they wouldn't be doing so and we have to respect that.

Personally, I love the idea of using recovery on a locked bootloader but unless and until someone else decides to take the time and effort to make it work with such, I guess we will never know a definite answer.
[Xperia Arc Android Development] Step666:
No, I have a perfectly reasonable question that no-one has answered.

Since you clearly don't understand the question, please stop wasting my time.

xtacy: I get that, that's not what I'm asking.

As I have already said

, I'm not questioning Bin4ry et al's decision not to try and get FastBoot working on network-locked handsets - that has nothing to do with what I'm asking.
[Xperia Arc Android Development] Crocodile1973:
where has he posted network locked handsets? your question has been answered. it works only on unlocked bootloaders. not any other can be/can't be device. Why is that wasting your time? Move on already.
[Xperia Arc Android Development] Step666:
It's wasting my time because you're repeating the same thing you said before - that didn't answer my question the first time, it sure as hell didn't answer it the third time.

If it answered my question, I wouldn't still be asking.

What's more, I have explained why you haven't answered my question and yet you keep saying the same thing over again.

@Bin4ry: if you're reading this I would really appreciate a clear and concise answer on this.

Does a person definitely have to have their bootloader unlocked to be able to use recovery?

Simply being able to boot into FastBoot mode isn't enough?
[Xperia Arc Android Development] Bin4ry:
Hi,

you need a unlocked bootloader. to boot into fastboot ia not enough,because at locked state all commands are blocked (except the unlock command ofc).

to trick this ia not possible,because fastboot checks if your phone is unlocked or not before it accepts commands.

Before you are unlocked you can only use

fastboot oem unlock

but NOT

fastboot boot

or

fastboot flash

Hope this answers you question.

Best Regards

Andreas
[Xperia Arc Android Development] Step666:
Thank you so much for answering this for me.
[Xperia Arc Android Development] tRippinthehead:
any progress with standalone RECOVERY? :)

summon bin4ry ^^
[Xperia Arc Android Development] 1944:
yeah, any progress? Tnx
[Xperia Arc Android Development] Jinx13:
Is that not THIS?
[Xperia Arc Android Development] :
It's not standalone.
[Xperia Arc Android Development] Duvel999:
As former X10i owner, WB & THJap rom user.

I offer € 10,-(PayPal), as a start for Dev's who can make working Recovery for ARC's with a Locked Bootloaders.

Hope other ARC lovers wanna join me wit this initiative.

and we can make a nice amount..
[Xperia Arc Android Development] DooMLoRD:
for that much u can get it unlocked mate...
[Xperia Arc Android Development] Duvel999:
:D ....LOL

I don't want to unlock my bootloader, want to keep my warranty.

(had the red light problem & now a new phone....I want to keep it alive;))

*now on 2.3.4 rooted, with transp status bar & reboot options...

it's strange on X10i forum xda, people wanted to unlock the bootloader & here on Arc they wanna keep it..hahaha
[Xperia Arc Android Development] DooMLoRD:
yes thats human nature...

when something is not there u want it so bad... once its there u are no longer interested in it :D
[Xperia Arc Android Development] dubist:
how to flash a recovery on stock unlocked fw ?
[Xperia Arc Android Development] Crocodile1973:
There is no flashing, been posted many times. You boot into recovery via fastboot. Or you can use dooms kernel which has it built in
[Xperia Arc Android Development] vmcuong:
Sony Arc standalone Recovery

Hi Lollylost100,

When i try to setup [2.3.4 Rom] Blend@ARC with Blend UI & Tweaks & Blendkernel [V04 released] , i discover that BlendKernel is standalone as you want to :D

It is quiet good.
[Xperia Arc Android Development] originlabs:
I notice that your batch file didn't touch the permissions of model, see below:

# pwd
pwd
/system/bin
# ls -l charge*
ls -l charge*
-rwsr-xr-x root root 1864 2011-04-21 22:55 chargemon
-rwsr-xr-x root root 59344 2011-04-21 22:55 charger
# cd ../recovery
cd ../recovery
# pwd
pwd
/system/recovery
# ls -l
ls -l
----rwxr-x root root 4 2011-04-21 22:55 model
-rwsr-xr-x root root 735308 2011-04-21 22:55 sh
-r--r--r-- root root 1194000 2011-04-21 22:55 recovery.tar.bz2
[Xperia Arc Android Development] Bin4ry:
Yes thats right, but it's not the problem. The model file gets read in the very beginning of the script, it decides which is the /dev/init/eventX to read the keypress.

so no problem here ;)

Regards
[Xperia Arc Android Development] DooMLoRD:
if u guys have installed the test recovery files given by Bin4ry can u try the following when u boot into the android OS:

keep ur device homescreen unlocked u might be asked for a superuser prompt/popup... click allow..

adb shell "mount -o remount,rw -t yaffs2 `mount | busybox grep '/data yaffs2' | busybox awk '{print $1}'` /data; touch /data/local/tmp/recoveryboot;su -c reboot"

this command should reboot ur phone directly take u into recovery (if the supplied files were ok)...

please test it out!
[Xperia Arc Android Development] vegetaleb:
Then it should give us the classic recovery menu with backup/restore,flash zip...?
[Xperia Arc Android Development] DooMLoRD:
then it should give u xrecovery/freexperia recovery like this:
[Xperia Arc Android Development] vegetaleb:
Interesting :D

Let me take my bath and I will test it out.still sleepy here :o
[Xperia Arc Android Development] Bin4ry:
Okay,

i tested a little. Please test the attached file.

Same as yesterday, just another recoveryLT15.tar.bz2 :)

Regards
[Xperia Arc Android Development] chriscpritchard:
Still seems to be stuck on the SE screen!
[Xperia Arc Android Development] NielDK:
Will it make sense to test on the Play? /dev/input/event1 is the same as Arc responding
[Xperia Arc Android Development] DooMLoRD:
ya sure... keep testing!!!

the alternate way to boot into recovery is:

keep ur device homescreen unlocked u might be asked for a superuser prompt/popup... click allow..

adb shell "mount -o remount,rw -t yaffs2 `mount | busybox grep '/data yaffs2' | busybox awk '{print $1}'` /data; touch /data/local/tmp/recoveryboot; su -c reboot"

this command should reboot ur phone directly take u into recovery (if the supplied files were ok)...

please test it out!

if the above works there is a way to even create a shortcut on homescreen to have one-click reboot into recovery!!!
[Xperia Arc Android Development] moperi:
I'm not sure if this really helps for anything but /dev/input/event2 is responsible for keyboard input on my arc (branded, locked, JP version).
[Xperia Arc Android Development] chriscpritchard:
still not working unfortunately, stuck on SE screen again!
[Xperia Arc Android Development] NielDK:
On the Play. Poweroff. Backkey held while power on. Boots normal.
[Xperia Arc Android Development] DooMLoRD:
have u installed the latest package by Bin4ry?

can u please execute the following commands via adb shell:

[1]

adb shell "ls -l /system/recovery/"

[2]

adb shell "ls -l /system/bin/char*"

[3]

adb shell "cat /system/bin/chargmon"

[4]

adb shell "cat /system/recovery/model"

and please post the output here...
[Xperia Arc Android Development] chriscpritchard:
on my phone (boot loops on SE logo)

C:\Users\Chris>adb shell "ls -l /system/recovery/"
----rwxr-x root root 4 2011-04-22 11:10 model
-rwsr-xr-x root root 735308 2011-04-22 11:10 sh
-r--r--r-- root root 1165297 2011-04-22 11:10 recovery.tar.bz2

C:\Users\Chris>adb shell "ls -l /system/bin/char*"
-rwsr-xr-x root root 1864 2011-04-22 11:10 chargemon
-rwsr-xr-x root root 59344 2011-04-22 11:10 charger

C:\Users\Chris>adb shell "cat /system/bin/chargmon"
/system/bin/chargmon: No such file or directory

C:\Users\Chris>adb shell "cat /system/bin/chargemon"
#!/system/recovery/sh

DEVICE=`cat /system/recovery/model`

case $DEVICE in
X10*)
cat /dev/input/event2 > /dev/keycheck& ;;
E10*)
cat /dev/input/event1 > /dev/keycheck& ;;
U20*)
cat /dev/input/event0 > /dev/keycheck& ;;
E15*)
cat /dev/input/event1 > /dev/keycheck& ;;
LT15*)
cat /dev/input/event1 > /dev/keycheck& ;;
esac

sleep 3
kill -9 $!

if [ -s /dev/keycheck -o -e /data/local/tmp/recoveryboot ]
then
rm -r /data/local/tmp/recoveryboot
# remount rootfs rw
mount -o remount,rw rootfs /
# Umount MTDs
umount -l /cache
umount -l /data
# Mount recovery partition
rm -r /sbin
rm -r /etc
(cd /;tar -xjf /system/recovery/recovery.tar.bz2)
# Umount /system
umount -l /system
# chroot
chroot / /init
exit
fi

if [ -e /data/local/tmp/kexecboot ]
then
rm -r /data/local/tmp/kexecboot
stop
stop servicemanager
stop vold
stop debuggerd
stop ril-daemon
stop installd
stop keystore
stop qmuxd
stop akmd2
stop media
stop dbus
stop port-bridge
stop wpa_supplicant
stop dhcpcd
umount /cache
umount /sdcard
umount /cdrom
umount /data/DxDrm/fuse
killall -9 DxDrmServerIpc
sleep 1
insmod /system/kernel/splboot.ko
sync
cat /system/kernel/miniloader > /proc/splboot/image
cat /system/kernel/boot.img > /proc/splboot/boot_img
sleep 5
echo > /proc/splboot/boot
fi

/system/bin/charger
if [ -e /data/local/tmp/ramdisk ]
then
rm /data/local/tmp/ramdisk
exit
else
if [ -e /system/bin/ramdisk.tar ]
then
# remount rw
mount -o remount,rw rootfs /
cd /
rm -r /sdcard
rm init*
rm logo.rle
rm default.prop
tar -xf /system/bin/ramdisk.tar
touch /data/local/tmp/ramdisk
chroot / /init
exit
fi

# Continue booting
exit
C:\Users\Chris>adb shell "cat /system/recovery/model"
LT15
C:\Users\Chris>
[Xperia Arc Android Development] DooMLoRD:
this is made from Bin4ry's above post....

use

runme.bat

to "install" recovery

reboot device

once u are in android OS run

reboot_recovery.bat

to reboot into recovery (hopefully)

(i have just stripped the chargemon to the bare minimum. NO CHARGER / NO RAMDISK CHECKS / NO MODELNAME CHECKS / NO CUSTOMKERNEL CHECKS)
[Xperia Arc Android Development] NielDK:
I installed manually, output here:

adb shell "ls -l /system/recovery/"

-rwsr-xr-x shell shell 735308 2011-03-22 20:29 sh

-rw-rw-rw- shell shell 4 2011-04-21 23:27 model

-r--r--r-- shell shell 1165297 2011-04-22 11:40 recovery.tar.bz2

adb shell "ls -l /system/bin/char*"

-rwsr-xr-x system sdcard_rw 1864 2011-04-21 22:43 chargemon

-rwsr-xr-x system sdcard_rw 59344 2011-03-22 20:29 charger

adb shell "cat /system/bin/chargmon"

#!/system/recovery/sh

DEVICE=`cat /system/recovery/model`

case $DEVICE in

X10*)

cat /dev/input/event2 > /dev/keycheck& ;;

E10*)

cat /dev/input/event1 > /dev/keycheck& ;;

U20*)

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

E15*)

cat /dev/input/event1 > /dev/keycheck& ;;

LT15*)

cat /dev/input/event1 > /dev/keycheck& ;;

esac

sleep 3

kill -9 $!

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

then

rm -r /data/local/tmp/recoveryboot

# remount rootfs rw

mount -o remount,rw rootfs /

# Umount MTDs

umount -l /cache

umount -l /data

# Mount recovery partition

rm -r /sbin

rm -r /etc

(cd /;tar -xjf /system/recovery/recovery.tar.bz2)

# Umount /system

umount -l /system

# chroot

chroot / /init

exit

fi

if [ -e /data/local/tmp/kexecboot ]

then

rm -r /data/local/tmp/kexecboot

stop

stop servicemanager

stop vold

stop debuggerd

stop ril-daemon

stop installd

stop keystore

stop qmuxd

stop akmd2

stop media

stop dbus

stop port-bridge

stop wpa_supplicant

stop dhcpcd

umount /cache

umount /sdcard

umount /cdrom

umount /data/DxDrm/fuse

killall -9 DxDrmServerIpc

sleep 1

insmod /system/kernel/splboot.ko

sync

cat /system/kernel/miniloader > /proc/splboot/image

cat /system/kernel/boot.img > /proc/splboot/boot_img

sleep 5

echo > /proc/splboot/boot

fi

/system/bin/charger

if [ -e /data/local/tmp/ramdisk ]

then

rm /data/local/tmp/ramdisk

exit

else

if [ -e /system/bin/ramdisk.tar ]

then

# remount rw

mount -o remount,rw rootfs /

cd /

rm -r /sdcard

rm init*

rm logo.rle

rm default.prop

tar -xf /system/bin/ramdisk.tar

touch /data/local/tmp/ramdisk

chroot / /init

exit

fi

# Continue booting

exit

adb shell "cat /system/recovery/model"

LT15
[Xperia Arc Android Development] chriscpritchard:
I get permission denied on the adb push commands
[Xperia Arc Android Development] NielDK:
I did also, why i did it manually.
[Xperia Arc Android Development] chriscpritchard:
after installing that and running reboot_recovery, it just boots up normally, trying it under flashtool does the same
[Xperia Arc Android Development] jonata:
the same for me ....:confused:

anyway tks for works and helps
[Xperia Arc Android Development] vegetaleb:
So what happened?

No new ideas?
[Xperia Arc Android Development] NielDK:
You could paint the eggs in your national color ;)

Happy Easter holidays all!
[Xperia Arc Android Development] moperi:
That looks like there are a typo in chargemon:

/system/bin/chargemon: line 93: syntax error: unexpected end of file (expecting "fi")

I got it after simply run chargemon on shell.

Hopes that help
[Xperia Arc Android Development] DooMLoRD:
which one? there are many versions around ;)
[Xperia Arc Android Development] moperi:
At least one I got in this thread seems having same problem.
[Xperia Arc Android Development] DooMLoRD:
can u please post the link to the post from where u downloaded it?
[Xperia Arc Android Development] moperi:
Oops, sorry. yeah, that should be fast. http://xdaforums.com/attachment.php?attachmentid=575227&d=1303473904 is it.
[Xperia Arc Android Development] DooMLoRD:
oh thats the one posted by me ;)

dont worry i think the file is ok...

i just got an Arc for testing right now...

will be testing all of this tonite :D
[Xperia Arc Android Development] NielDK:
Didnt try your modification yet, but latest bin4ry version in this thread does spit that error. Alsi says line 16, cant create /dev/keycheck. I run as root-shell.
[Xperia Arc Android Development] DooMLoRD:
try the one i posted... it skips keychecks...

for details u can just check the chargemon file in the zip
[Xperia Arc Android Development] NielDK:
Reboots in to normal (didnt press backkey as you said).
[Xperia Arc Android Development] DooMLoRD:
ya already discussed it with Bin4ry... he will be trying to recompile the recovery file...

we are trying to get xRecovery/FreeXperia recovery working on the Arc...