yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Android Development] NielDK:
Great. Thanks both of you.

I should mention, iam testing on Play, and will be happy to keep testing. I believe there is a slight chance it wont involve changes between Arc and Play.
[Xperia Arc Android Development] DooMLoRD:
oh u have the Play too?

thats great...

can u post output of

adb shell cat /proc/mounts

if u/someone has already posted it can u just guide me to the relevant post?
[Xperia Arc Android Development] NielDK:
Cat /proc/mounts reads:

rootfs / rootfs ro,relatime 0 0

tmpfs /dev tmpfs rw,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0

/dev/block/mtdblock0 /system yaffs2 ro,relatime 0 0

/dev/block/mtdblock3 /data yaffs2 rw,nosuid,nodev,relatime 0 0

/dev/block/mtdblock2 /cache yaffs2 rw,nosuid,nodev,relatime 0 0

/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0

/dev/block/mtdblock1 /data/idd yaffs2 rw,nosuid,nodev,relatime 0 0

/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

/dev/block/dm-0 /mnt/asec/com.rovio.angrybirdsrio-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/dm-1 /mnt/asec/org.baole.rootuninstall-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
[Xperia Arc Android Development] vegetaleb:
Btw where is Bin4ry??
[Xperia Arc Android Development] DooMLoRD:
busy working his magic i guess :D
[Xperia Arc Android Development] vegetaleb:
I hope so :rolleyes:

Can't wait to build themes for my Arc
[Xperia Arc Android Development] vegetaleb:
Where everybody goes??

The whole dev section of Arc is too quiet :eek:

No Easter recovery gift? :rolleyes:
[Xperia Arc Android Development] jonata:
now that I've flashed my arc (bootlooped) awaiting recovery for Easter .....

;)
[Xperia Arc Android Development] NielDK:
If you think its quiet here. Go look in the Play area :)

No news = good news right?
[Xperia Arc Android Development] vegetaleb:
I preffer to see some trials and errors than nothing :(

I want to make my statusbar transparent and prepared a theme for that but I can't flash it without recovery
[Xperia Arc Android Development] FrAsErTaG:
Just build metamorph theme?
[Xperia Arc Android Development] NielDK:
Yes. Kinda slow doing it by manual.
[Xperia Arc Android Development] jonata:
I think the same, but where to find a zip file for transparent statub-bar ?

:o
[Xperia Arc Android Development] vegetaleb:
I never understand how to build our own metamorph theme, UOT kitchen is much easier!

Perhaps we can convert a UOT zip into metamorph zip?
[Xperia Arc Android Development] jonata:
but now you got transparent .....

:D
[Xperia Arc Android Development] vegetaleb:
Happy Easter!

So any dev found the Easter recover bunny? :D
[Xperia Arc Android Development] vegetaleb:
2 days and not a single post?

I wonder if we will have a custom rom by 2011 :eek:
[Xperia Arc Android Development] jayesh:
Err.. which era do YOU live in?

Besides its a long easter weekend. People are doing important things you know... like having a good time. There is always time for getting the custom roms later. It's not a paid job, that they are doing.
[Xperia Arc Android Development] vegetaleb:
Yeah till someone build a custom rom and that we need nandbackup, we can live without recovery.

Btw Bin4ry has some new ideas for us?
[Xperia Arc Android Development] Thijs96:
Building a ROM is pointless without a recovery, so we can't live without a recovery ;)
[Xperia Arc Android Development] DooMLoRD:
does the Arc have a recovery mode/flash update.zip from sdcard mode?
[Xperia Arc Android Development] vegetaleb:
How do you find this?

What I don't understand is that even after root we still can't ADB remount!

''operation not permited''
[Xperia Arc Android Development] DooMLoRD:
i dont know about ADB remount but u can surely remount system using:

{generic code}

mount -o remount,rw -t yaffs2 `mount | busybox grep /system | busybox awk '{print $1}'` /system

OR

{Arc specific}

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

EDIT:

u need to be superuser before entering these commands
[Xperia Arc Android Development] vegetaleb:
Nop it doesn't work

Operation not permited!
[Xperia Arc Android Development] DooMLoRD:
ok try this:

> adb shell
$ su
# mount -o remount,rw -t yaffs2 `mount | busybox grep /system | busybox awk '{print $1}'` /system

OR

> adb shell
$ su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system

if either doesnt work please post the output of the following commands:

adb shell "mount"

adb shell "which busybox"
[Xperia Arc Android Development] vegetaleb:
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell

$ su

su

Permission denied

$ mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system

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

mount: Operation not permitted

$ mount

mount

rootfs / rootfs ro,relatime 0 0

tmpfs /dev tmpfs rw,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0

/dev/block/mtdblock0 /system yaffs2 rw,relatime 0 0

/dev/block/mtdblock3 /data yaffs2 rw,nosuid,nodev,relatime 0 0

/dev/block/mtdblock2 /cache yaffs2 rw,nosuid,nodev,relatime 0 0

/dev/block/mtdblock1 /data/idd yaffs2 rw,nosuid,nodev,relatime 0 0

/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0

/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,u

id=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset

=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relat

ime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioch

arset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

$ which busybox

which busybox

which: permission denied
[Xperia Arc Android Development] NielDK:
Did you root using bin's image or GingerBreak?

You dint get su I see, in adb shell.

You need GingerBreak root for this
[Xperia Arc Android Development] vegetaleb:
I used bin4ry root, I tried to root with gingerbreak before rooting with bin4ry but the rooting process stayed 30 mins and I closed it because it wasn't normal to wait so much right?

Anyway can I still use gingerbreak after the bin4ry root?
[Xperia Arc Android Development] NielDK:
Yes you can run GingerBreak on bins image.

Try

adb shell

rm -r /data/local/tmp

mkdir /data/local/tmp

Exit adb

Run GingerBreak
[Xperia Arc Android Development] vegetaleb:
Well I followed your guide:

It took 50 minutes for gingerbreak to finish with an FC (dunno if it was its own because rebooted)

ADB shell in terminal emulator is still not permited

ADB remount too

SU is installed as well as busybox but they were working already before gingerbreak.

It's really weird that I can mount any system folder under rootexplorer but not with ADB :eek:
[Xperia Arc Android Development] NielDK:
It's not weird that you cant get su in adb shell. This is a known issue/limitation with the image created by Bin4ry!

GingerBreak will install both su, superuser AND give su access in adb.

You write that you cant adb shell in terminal emulator? You are supposed to issue this command from the PC, not on the phone.

I have had a few issues with the .apk version of GingerBreak aswell.

I always end up doing it with original bin from c-skills.

To use this, you need some basic knowledge on adb shells and terminal commands, but here is the procedure:

1. Download Gingerbreak tarball from here GingerBreak.tgz

2. Extract the tar file (GingerBreak.tgz), in Linux: tar -xvf GingerBreak.tgz.

This will extract the tgz file into a folder.

3. Copy the "GingerBreak" binary from that folder to the folder where you have adb located.

4. from command shell (on PC) issue: adb push GingerBreak /data/local/tmp/

5. from command shell (on PC) issue: adb shell

6. from the shell opened (you should see a $ sign) enter

cd /data/local/tmp

./GingerBreak

7. You will see a lot of output, and the exploit is now runnning. My experience is ~10 minutes or more

8. when it finishes, reboot phone

You should now be to enter adb shell, and then su

You will notice the $ sign changes to a # sign if successfull (and not getting "permission denied")
[Xperia Arc Android Development] vegetaleb:
Btw where is bin4ry?

When recovery will work on Arc, I will still be in need to install the gingerbreak root or it will install its own su ?
[Xperia Arc Android Development] DooMLoRD:
nice!!!

but u forgot setting permissions:

5a. from the shell opened (you should see a $ sign) enter

cd /data/local/tmp

chmod 755 GingerBreak
[Xperia Arc Android Development] Juevani:
any progress on the recovery case? :) hope someone is closing in :D so i can start using my Xperia Arc again.
[Xperia Arc Android Development] ST4YSTR0NG:
Are you guys sure about that xRec loads when you reboot while holding the back button? I just tried to load into xRec with back button ALREADY clicked on my X10 and it didn't load.

This is probably not the case but just wondering that it could work if you tapped the back button first when phone has turned on.
[Xperia Arc Android Development] abhisheak.bansal:
any progress?
[Xperia Arc Android Development] DooMLoRD:
dont worry... the devs are working on it...

lots of testing going on...
[Xperia Arc Android Development] Blagus:
@DooMLoRD: can CWM recovery sources be compiled on 32-bit machine? I might give it a try ;)
[Xperia Arc Android Development] DooMLoRD:
@Blagus

i am sorry but i dont really know much abt that...
[Xperia Arc Android Development] zdzihu:
Yep, it will compile.

We got xrecovery working on DoomLord's Arc, but there are heavy graphical glitches which I won't be able to solve without having the Arc :mad:

Cheers,

z
[Xperia Arc Android Development] DooMLoRD:
hopefully when jerpelea gets the Arc this week the FreeXperia team can get it working soon ;)
[Xperia Arc Android Development] kistigun:
great news, time to unlock the bootloader :D
[Xperia Arc Android Development] Clyzm:
That's big news actually. Glad to hear there's real progress being made.
[Xperia Arc Android Development] tRippinthehead:
So after we got recovery, can we flash rooted 3.0.1.A.0.145 (2.3.3) firmware via recovery on locked bootloader phone? =)

.181 (rooted) => install recovery => flash pe-rooted .145 via recovery..
[Xperia Arc Android Development] cinereous:
What kind of glitches? Maybe somone here has an arc and is able to help.
[Xperia Arc Android Development] zdzihu:
This is how it currently looks like, page flipping disabled:

Cheers,

z
[Xperia Arc Android Development] abhisheak.bansal:
i am a newbie so i dont know

to other modders:-is he correct?
[Xperia Arc Android Development] Blagus:
Only if it's able to run via some key combination. If it's booting via fastboot boot image.img command, then not yet.
[Xperia Arc Android Development] Nimche:
Bring it on, let me show my arc what Zdzihu can do with pink themed recovery. Really tho, awesome work.
[Xperia Arc Android Development] cinereous:
looks like the row sizes are incorrect, but is maybe a pic compression issue
[Xperia Arc Android Development] zdzihu:
Problem is somewhere in ./minui/graphics.c

At first, we weren't able to boot into recovery at all - stuck at SE label. Then we realised that recovery was running, just blank screen.

This is the function that was causing errors: set_active_framebuffer()

And here's the patch to make the screen sort-of-work:

http://pastebin.com/ERwpTaU2

Cheers,

z
[Xperia Arc Android Development] abhisheak.bansal:
With this development custom roms for arc are not far away
[Xperia Arc Android Development] cinereous:
Kinda weird to remove the setting for virtual y-res. the former setting was yres*2. I think you should figure out proper yres_virtual value to use then the graphics should look fine.

32bbp in recovery mode? weird and unneeded resolution for a recovery. But it seems to work...
[Xperia Arc Android Development] abhisheak.bansal:
TO @zdzihu AND OTHER MODDERS [I CANT REMEBER THEIR NAMES] WHO MADE OR CONTRIBUTED IN XRECOVERY PROJECT ETC..

FROM BOTTOM OF MY HEART i want to thank you for making xrecovery functional on arc

yesterday i just checked u r great work/contribution in making X10 a wonderful device

i think u r one of the best developers @xda or may be in xperia world,as far as i know......

KEEP IT UP......

I AM NEITHER HAVING A GOOD BANK BALANCE NOR ANY PAYPAL A/C, OTHERWISE I WOULD HAVE BOUGHT YOU A COLD BEER........
[Xperia Arc Android Development] thatsupnow:
tried these out on my xplay and Ive attached the output from it too hope it helps out:)
[Xperia Arc Android Development] kazuni:
That's awesome. Have you tried and see if the functionality works? Despite the graphics glitch, it seems like we do have a workable recovery here. Have you tried dumping a nandroid and restore it?
[Xperia Arc Android Development] DooMLoRD:
we had tried out some functionality tests... but didnt try specifically any changes to nand partitions since the recovery is still being developed (not even early alpha stage) and there was a high chance of trashing nand partitions....

be rest assured though Z & J will surely get it fully working soon!
[Xperia Arc Android Development] vegetaleb:
I don't have my Arc anymore but Good Luck devs!
[Xperia Arc Android Development] lil_devil:
Great work guys....keep it up..!! :)
[Xperia Arc Android Development] george1983c:
Cant wait to see this working on arc
[Xperia Arc Android Development] jerpelea:
Seems that arc uses 32 bit BGRA8888 textures

So we have to change not only bpp but also color format

Otherwise on gralloc we have pink image
[Xperia Arc Android Development] DooMLoRD:
jerpelea any updates on the functionality side?

i mean do the basic functions like flashing update.zip / taking nandroid backups/restores work?
[Xperia Arc Android Development] AndroHero:
+1 wouldnt it be better to get it working as a recovery before fixing graphical bugs? Great work btw guys i cant wait for this to be working :)
[Xperia Arc Android Development] TheRuan:
-1 Better let his job flow by its own way, if he likes to mess with graphic bugs before let he does it.

When the rom goes live it will for sure be very good already, i don't own an arc yet, i'm using a x10, all his roms worked very well for me from the begging.
[Xperia Arc Android Development] mehmehmen:
To a degree I would agree with you. But j is working on recovery not a Rom here so the ui graphics are not a necessity so long as the functions work as required. If the graphical interface is not having a negative effect on the underlying functions I will happily test anything at this stage on my play. I want a nandroid of everything as its set up now so I can mess around a bit. Its down to Dev preference I have no right to make requests. I still would happily test a pink recovery if it functions
[Xperia Arc Android Development] cinereous:
Let the guy do his job in his way. I think, graphical glitches and some kind of pink can be annoying enough not to work ;)
[Xperia Arc Android Development] jerpelea:
as long as you cant see what you are doing ...... this needs to be fixed first
[Xperia Arc Android Development] mehmehmen:
Cant argue with that. If you cant see enough to control it then we have to wait
[Xperia Arc Android Development] tRippinthehead:
So we have to wait until fixed a gralloc for CM7? Right?
[Xperia Arc Android Development] Bin4ry:
I fixed recovery :)

Regards

Bin4ry
[Xperia Arc Android Development] DooMLoRD:
Bin4ry my friend u are a genius!!!!

u did this not just for Arc but for HTC Sensation too!!!!

go Bin4ry!!!
[Xperia Arc Android Development] abhisheak.bansal:
Bin4ry rocks!!!!!!!!!!;)

thanks mate:D
[Xperia Arc Android Development] Bin4ry:
No, i will just finish the recovery for sensation, but will not develop more, because i have not Sensation and i don't want one :)

Decided to ARC. Recovery on Sensation is just a little Playing nothing more :D

Regards
[Xperia Arc Android Development] abhisheak.bansal:
since recovery is fixed,up and running

when will it be released?
[Xperia Arc Android Development] depulle87:
J said in his thread :

so we have it very soon
[Xperia Arc Android Development] kistigun:
great work! so is this the same as xrecovey on the x10?
[Xperia Arc Android Development] Meister_Li:
It's actually a little better, as it can replace the Kernel as well (I think). ;)
[Xperia Arc Android Development] Bin4ry:
Not same but similar.

Regards
[Xperia Arc Android Development] kistigun:
do we need an unlocked bootloader? Or can we use it with locked bootloader like the x10
[Xperia Arc Android Development] Bin4ry:
All work is done for unlocked bootloader phones, we don't want to mess again with kexec hack's.

Regards
[Xperia Arc Android Development] dzupert:
And when will be available?
[Xperia Arc Android Development] Bin4ry:
This is first alpha of recovery.

DON'T RELY ON IT!

DON'T FLASH IT!

To try just BOOT it NOT FLASH!!!!!

Many functions don't work yet, but we are fixing 1by1.

To try open a console and type:

fastboot boot boot.img

Download:

http://www.multiupload.com/XUZ9M4VIVG

Please try & report issues if you are not afraid to TOTAL REFLASH your device in case of messed partitions.

Navigate through Recovery with VOL +/- and select items with POWER!

Regards

Bin4ry
[Xperia Arc Android Development] DooMLoRD:
YAAY!!!

damn where is my Arc when i need to do this testing... :(

anyways... keep up the great work!!!
[Xperia Arc Android Development] dzupert:
It works, cool ...:D backup rom done... :D
[Xperia Arc Android Development] Bin4ry:
does restore also work?

Regards

Bin4ry
[Xperia Arc Android Development] dzupert:
That got info:

this can not be undone

-No

-No

-No

-No

-No

-Yes - Restore

-No

-No

-No

After selecting yes

That got info:

checking MD5 sums...

Restoring system...

E:format_volume: no MTD partition "/dev/block/mt dblock0"

Error while formatting /system!
[Xperia Arc Android Development] dzupert:
No test advanced restore.;)
[Xperia Arc Android Development] dzupert:
Install zip from sdcard not work.

Info:

Finding update package...

Opening update package...

Amend scripting (update-script) is no longer suported .

Amend scripting was deprecated by google in android 15.

Itwas necessary to remove it when upgrading to the clockworkmod 3.0 gingerbread based recovery.

Please switch to Edify scripting (update-script and update-binarny) to create working update zip packages.

Installation aborted.
[Xperia Arc Android Development] FrAsErTaG:
That's the zip's problem the not the recovery
[Xperia Arc Android Development] dzupert:
You're right, I had the wrong zip package.:p
[Xperia Arc Android Development] 007Arc:
Is there a way to get out of recovery? This is the first time I use it. :p I pulled battery out and rebooted, but recovery just pops back. :D

Edit: Ok I'm out of it. But had to flash the kernel again :s
[Xperia Arc Android Development] Bin4ry:
Thats why i said DONT FLASH IT JUST BOOT IT ;)

I have to fix some more problems until it's finished :)

Regards
[Xperia Arc Android Development] 007Arc:
Like I said, this is the first time using recovery and android. So I don't even know what you mean with only flashing. xD
[Xperia Arc Android Development] Blagus:
Boot only into recovery: fastboot boot <image name.img>

Flash recovery on Xperia Arc: fastboot flash boot <image name.img>

You probably flashed it on boot partition so it loads on every boot.

Flash kernel.sin via FlashTool to restore.
[Xperia Arc Android Development] Bin4ry:
Here is alpha2:

http://www.multiupload.com/17F7ZVTC40

Please use this command to start recovery:

fastboot boot recovery.img

NOT FLASH!

Please test following functions:

Mount/Unmount all devices

Mount USB-Storage

Backup&Restore Functions

Update via ZIP

Report broken functions with Erroroutput please.

Regards

Bin4ry
[Xperia Arc Android Development] depulle87:
I have to boot this only when on CM7 am I correct ?

I can't sselect anything, when I try the sreen just blinks on and off and I get the message Back menu button disabled
[Xperia Arc Android Development] Bin4ry:
No you mix up things :)

This package i posted is only for BOOT not for FLASH!

Only for FLASH packages it is important which ROM you are using currently, because it has to be compatible to the installed system.

This package is only for BOOT and can be booted no matter which ROM you are currently using, even STOCK rom :)

So just issue the commad i wrote and you will see recovery, after reboot you automatically will be back in currently used rom, because the:

"fastboot boot" command will not write this image to device!

Regards

Bin4ry
[Xperia Arc Android Development] depulle87:
Yep I did only boot it but then I can't select anything so I tought it was because I wasn't on CM7, but now I flashed CM7 and again BOOT the recovery but still the same I can't select anything in the recovery menu

, and because of this I cant press reboot in the recovery the sreen just blinks and thats it
[Xperia Arc Android Development] Bin4ry:
Navigate: VOL +/-

Select: POWER

Regards

Bin4ry
[Xperia Arc Android Development] dzupert:
Installed but the phone hangs on the inscription se

Not work
[Xperia Arc Android Development] depulle87:
- Flashed CM7 006

- booted cwm

- now it works

working :

-mount SD

-backup

not working :

- restore, error while formatting system

- reboot, could be because the restore tried to format system
[Xperia Arc Android Development] Bin4ry:
Okay, this is "good", CM needs own kernel, currently CWM does not write this to device. Thats because you are still seeing SE text nothing more =)

To repair just flash the fastboot package provided too with rom :)

Regards

Bin4ry
[Xperia Arc Android Development] Bin4ry:
Can you show me the recovery.log (located in /tmp/recovery.log) after failed restore.

Thanks
[Xperia Arc Android Development] sahha:
test

hi Bin4ry

i tested your latest Recovery on official rom 3.0.1.A.0.145 " 2.3.3 "

working :

-mount SD

-backup

-reboot

not working :

-restore, error while formatting system
[Xperia Arc Android Development] depulle87:
My tmp is empty only a file of astro file manager
[Xperia Arc Android Development] depulle87:
@ sahha

can you find the recovery.log inside the tmp folder ?
[Xperia Arc Android Development] sahha:
NO :p ......
[Xperia Arc Android Development] Rycon33:
thanks for this man, backup working

hopefully this fix will be incorporated in CM beta 007
[Xperia Arc Android Development] Bin4ry:
@ALL:

It's normal that you cannot find logs after reboot. They are stored in /tmp, this folder is deleted on every boot, that's why its called tmp :P

to get the log connect via ADB while recovery is running and type:

adb pull /tmp/recovery.log .

(don't forget the last dot)

Will look in formatting issue. If formatting works all restore will work too, then all mainfunctions are good!

And ofc, this will be included in CM build, we already included it, you will be able to start recovery via a keypressure in booting process. But i wanted to test this as standalone first!

Regards

Bin4ry
[Xperia Arc Android Development] 007Arc:
Great job guys! Worked perfect for me. Thanks alot. I did a backup, but not restored yet.