yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Android Development] NMir01:
ADB Sideload not working

My device is Iyokan, I flashed the included boot.img. The I tried to sideload the .zip, but the process stops at 47%, stays there for a couple of minutes, finally outputs the message "Total xfer: 1.00x" and throws me back to the recovery main menu.

The last smartphone recovery output is attached (the rainbow colours appear sometimes). If I try to access the log files with the recovery it throws me back to main menu. The gapps give the same error at 47%.

If I try to boot I get stuck into a boot loop during the CM 13 symbol.

Another problem is that the recovery crashes with my stock SD card, it shows a dead android. If I try to boot with this card I get stuck into a boot loop during the LegacyXperia symbol.

I tried the card unformatted, with Fat32, Ext4 and NTFS. It behaves normally under Win 10, Iyokan with CM 11 and Moto G with Android 5.0.

Another card works fine.
[Xperia Arc Android Development] eberhardweber:
Have you made sure to set the partition primary as well while you are setting up the memory card? It has to be both unformatted and primary - otherwise the recovery crashed immediately on my Iyokan as well.

I've had success sideloading the CM13 zips by first wiping /system/ - factory reset isn't enough, you have to specifically wipe system first before flashing the package and gapps. Your 47 % error is slightly different from mine but I assume it will work for you too.
[Xperia Arc Android Development] NMir01:
Okay I forgot that, thanks, I will try it.

I did that (like you can see on the photo).

Hopefully a correctly formatted SD card solves that problem, too.

Thanks for the fast reply.

Edit: Everything works fine, seems to install in the background after that 47%. The wrong formatted SD card was my fault.
[Xperia Arc Android Development] TomTomcrafter001:
Does anyone know why the letter have sometimes different colours? (Like on your photo)

A little Easter egg or something like that?
[Xperia Arc Android Development] DocMAX:
Is there a fix for bluetooth comming? (Doesn't work on Xperia Play)
[Xperia Arc Android Development] litemintx:
Its a known bug, lets wait for the lx team for the next update or fix.
[Xperia Arc Android Development] gloryordeath_:
i am just having one issue with this rom, i put my phone to charge before i sleep. Sometimes when i wake up i am finding it closed or loading page of android apps or normally open. I couldn't figure it out yet. :o
[Xperia Arc Android Development] Ptamigi:
Hi

How enable superusermod on this rom without the serjar app

???
[Xperia Arc Android Development] bykidi:
activate developer settings and just enable superuser for apps and adb
[Xperia Arc Android Development] Ptamigi:
Thanks bro

This way work on CM12.1???

You tested that you tell this way work????
[Xperia Arc Android Development] litemintx:
You can check on my signature, i made a video demo.
[Xperia Arc Android Development] JimmyRay:
CM13 video performance?

Has anyone found that video playback performance has deteriorated in CM13 compared to CM12.1?

On CM12.1, YouTube videos would struggle to play smoothly in the browser, but performance improved when the video was fullscreen.

Now, on CM13, it feels that even in fullscreen mode the performance is lower.

I typically listen to YouTube clips during my lunch break, maximising the video, then placing my Xperia Ray in my shirt pocket. I noticed that the phone heats up very quickly when playing videos - usually after a few minutes I feel the warmth on my chest. Is there any work-around, or perhaps an alternative YouTube player that is more efficient than the stock browser?

Thanks!
[Xperia Arc Android Development] blueman24:
Try NewPipe for playing YouTube videos
[Xperia Arc Android Development] umaturman:
Heh, I don't think so. cm13 video playback performance is actually slighty better than cm12 (but still not as smooth as cm11). Since we moved to the new memory layout with /data partition on a sd card video playback performance is no good.
[Xperia Arc Android Development] DocMAX:
Bluetooth fix, pleaseeee... :(
[Xperia Arc Android Development] SirBiggle:
It is Standard Cyanogen. Works on 12.1 and 13.
[Xperia Arc Android Development] JimmyRay:
Thank you for your reply.

May I ask how you are testing video playback performance between these different rom versions?

Are there any other reasons for the phone to heat up so quickly when playing YouTube videos (via the browser) in CM13 compared with CM12.1?
[Xperia Arc Android Development] umaturman:
Not sure that my method have enough science behind it to be called "testing" :) I use YouTube app and MX Player for the comparison.

cm11: both apps are silky smooth, video seeking is fast (less that 1s);

cm12: YouTube app- video playback stutters (at start and while playing), takes more time to load. Seeking time in both apps is more than 1s;

cm13: slightly better than cm12 - video stutters only at the beginning, seeking time is as good as in cm11.

With ART runtime instead of Dalvik we freed some of CPU resources, but with /data partition on a sd card it's no use because most of the time CPU is waiting for io.

cm13 uses more RAM for system apps and makes a heavy use of zram. My guess that when you doing something in the browser the cpu constantly compresses/decompresses pages. And when you playing videos there are more strain on the cpu -> more heat...

P.S. Playing videos in browser is not for our devices. I suggest you to use YouTube app, or better NewPipe (thanks to [MENTION=5240326]blueman24[/MENTION]).
[Xperia Arc Android Development] blueman24:
Yeah, NewPipe is great for video and also has download option and the ability to select default audio and video quality.

If you had to have the ability to sign in and see your subscription, then you can try older YouTube apk. They are less resource hungry than recent versions.
[Xperia Arc Android Development] litemintx:
On my Ray, I was on cm13 and trying to try XperianZe_v2, my sony 16GB sdcard was almost dead while formatting both on windows format, minitool and sdformatter4 since my ray(XperianZe_v2) cannot read the sd card that was on cm13 before.

The thing is I tried to format the sd card on Nokia 110 and successfully formatted, now my sdcard is back to life.

For those whom has dead sdcard, try formatting on a nokia phone. :D
[Xperia Arc Android Development] bejunk:
my main phone broke & i need this phone to use again, to do so i need to installl a clean OS (old one was some 12.1 build which i dont have the sd with the data partition anymore...)

- volume down button is broken...

i cant enter recovery in any way in order to install LX :(

any ideas?
[Xperia Arc Android Development] Tromponauta:
Faster than CM12

This ROM is faster than CM12 but not as much as Kit Kat, according to my tests I have found that EXT4 is faster than f2fs, if you want to test both formats and tell us your opinion.
[Xperia Arc Android Development] bykidi:
Repair the button?

Some of ROMs have noob-protection that auto-goes to recovery if user has no ROM installed (only recovery)
[Xperia Arc Android Development] bejunk:
hmm im quite broke atm & that would be more expensive than buying this phone 2nd hand...

yup, but theres like said a rom installed..

so end of the line i guess :(
[Xperia Arc Android Development] umaturman:
Not quite :) You just stuck with custom ROM's forever (lack of volume down button - no flashmode available). Use volume up button to enter fastboot mode and flash cm11 kernel (or whatever). Then use volume up button to enter recovery. As far as I remember both volume keys can be used to enter the recovery.
[Xperia Arc Android Development] utfluc:
Try 'adb reboot sideload', reboots into the sideload mode of the recovery
[Xperia Arc Android Development] Othman998:
Hi

I broke my usb charging port accidentally :(

Fortunately, i have battery charger with two batteries

Now, I have one question can I flash kernels from the phone without the computer?
[Xperia Arc Android Development] nussbaum:
No, sorry.
[Xperia Arc Android Development] litemintx:
Try Flashify if it work.
[Xperia Arc Android Development] DocMAX:
still begging for Bluetooth on xperia play
[Xperia Arc Android Development] mikeioannina:
This isn't the place for begging. If you want something fixed then fix it yourself or be patient.

I had 0 free time to work on semc since last build, plus debugging these issues is becoming very hard

because the wifi/bt drivers for these devices are no longer actively developed.

The user complaints, lack of development and the whole sdcard corruption mess are making me

want to stop public releases on xda and just maintain the source trees.
[Xperia Arc Android Development] Stavrosfil:
oh well... he is actually right.. if he had time don't you think you would have seen the fix? he isn't keeping fixes for himself obviously as you can see... just be patient... he is doing his absolute best! Cheers :)
[Xperia Arc Android Development] JimmyRay:
Thank you for your reply!

To be honest, I find CM13 a little more sluggish than CM12.1, although do not have any benchmarks to objectively prove this. Granted, CM13 is still relatively new, and there have only been a few builds put out by mike so far, so perhaps things will gradually improve with maturity. That being said, I like that the phone dialer delay/latency that affected CM12.1 is gone in CM13. Generally speaking, I still think it's incredible that our underpowered little devices from 2011 are still able to run the latest OS in 2016, so am grateful to mike and all the devs involved with LX.

I have tried NewPipe and applaud the developers efforts - video playback is very fast and smooth. However, while I do not subscribe to a channel, I watch its updated content daily (Young Turks), and unfortunately there does not appear to be a way to sort search results by date - or at least, the search does not include videos uploaded in the past 24 hours or so.

This afternoon I watched some more videos via the browser and the phone became incredibly warm in just a few minutes. I appreciate that watching YouTube clips via the browser is not recommended on our older devices, however I'm still curious as to why this is so much more taxing in CM13 than CM12.1.

Cheers,

James

x
[Xperia Arc Android Development] Kong2000:
What do you think about dropping CM11 development? Isn't it 'good enough' to make a final build? This would save you some time.
[Xperia Arc Android Development] Mardon:
Since cm13 isnt stable enough for some ppl, supporting cm11 for a while with cve updates is a good choice. We already dropped cm12/12.1 to have more time for cm13.

Gesendet von meinem LT18i mit Tapatalk
[Xperia Arc Android Development] hertell:
Hi folks!

I read somewhere that google maps worked on this rom, but on my mango (Mini Pro) it's soo slow that it's practically useless. I have one of the fastest sd-cards, so now I wonder that is there some settings that should be disabled/enabled so I could get it to work better?

Sent from my SK17i
[Xperia Arc Android Development] blueman24:
DAMN straight bro.

What do people expect when running MM on 5 year old phones?

If people are still using one of these Legacy Xperia's then they can use KK CM11. It works like butter and is still supported. If they decide to flash CM13, then they should be prepared to live with bugs.

Thanks to everyone involved in LX. Let it be know that your work is really appreciated.
[Xperia Arc Android Development] ahmadshuib:
Man.. you quoted a wrong person.
[Xperia Arc Android Development] blueman24:
Made some changes to make my post clear! :)
[Xperia Arc Android Development] DocMAX:
How do i get the most out of XPERIA PLAY regarding feature completeness and multitasking?

What about swapfile/swappartition?

Better go with CM11 as it uses less RAM?
[Xperia Arc Android Development] bykidi:
On Xperia Play i recommend you to use vanilla firmware with working slide-out.

Using LX on this device is pointless, it's like using rom that doesn't support qwerty slider on xperia pro.

(Don't get me wrong, i'm fully support LX, but not on that device)
[Xperia Arc Android Development] DocMAX:
vanilla firmware = ? cyanogenmod?
[Xperia Arc Android Development] vikusz:
I am not sure what you're talking about. I have been using LX CM for over 2 years on my Xperia Pro (with slide-out qwerty keyboard) and everything works just fine. Haven't had any issues with the keyboard.

Granted, I haven't tried CM13 yet, but CM10 and CM11 work very well and I have no reason to expect less from newer LX CM releases.
[Xperia Arc Android Development] ruditremonti:
Anyone help me!!

I flash boot.img from zip & success.

But when I choose apply update from adb in recovery, I can't flash the zip.

They say ERROR : PROTOCOL FAULT (NO STATUS)

What should I do??
[Xperia Arc Android Development] bykidi:
Outdated ADB.
[Xperia Arc Android Development] ruditremonti:
Would u give me a link for download latest adb?

Thx in advance
[Xperia Arc Android Development] DocMAX:
how do i completly disable zram0 block device?

(i dont mean swapoff /dev/block/zram0)
[Xperia Arc Android Development] ruditremonti:
Connected on adb sideload successful.

But now i see an error while installing zip.

Stock on 47% .

Anyone help me?
[Xperia Arc Android Development] DeadXperiance:
here is adb
[Xperia Arc Android Development] DeadXperiance:
47% mean pc has complete to load zip now it is installing keep wait and keep watching on progress on phone display
[Xperia Arc Android Development] ruditremonti:
Successful.. :D

Thx so much master..
[Xperia Arc Android Development] Dj_Fex:
afaik that's the method, except if you recompile the rom/kernel (not sure)

but if often fails, because it gets killed by OOM

I once searched for another method as well, but didn't find any

if I put it in an init.d it doesn't seem to be executed at boot (which is the point where it probably should work, because the zram should be fairly empty)

right now the zram helps a bit with big apps that use lots of ram (chrome, games, etc.) but otherwise it seems to cause lots of issues, because it was constructed with hdd usage in mind (and not being in the RAM as well which causes OOM issues on devices with low amounts of ram)
[Xperia Arc Android Development] DocMAX:
"Steps 2, 4, 6 are not needed when you install new LX build on top of an older one in the future"

When updating i get "E:sigrnature verification failed - Installation aborted"

I'm trying to update on existing LX
[Xperia Arc Android Development] amishxda:
Happened with me too. Here is what I did.

Make sure cable is not lose

Format system (not data)

Re-flashed boot.img (flashtool)

adb sideload ROM

Now I am not sure if thats correct solution but it worked for me.
[Xperia Arc Android Development] kulguy:
delete
[Xperia Arc Android Development] DocMAX:
I noticed LX is much slower with XPOSED than without. Can you confirm?

I can confirm myself. Removed XPOSED v84 and zeus runs much much faster!
[Xperia Arc Android Development] djbacon:
Hello!

I successfully flashed ROM and GAPPS, but after restart it shows FREEXPERIA logo and that's it.

After fastboot boot boot.img on restart it showed LegacyXperia, but now FreeXperia and when pressing volume down i get CWM Recovery v6.0.2.8 insteam of Cyannogen Recovery.

What i did wrong or what i missed?
[Xperia Arc Android Development] vikusz:
fastboot boot boot.img

does NOT flash the kernel (boot.img). The kernel is only loaded to the device for a single boot.

fastboot flash boot boot.img

flashes the kernel to the boot partition and this is the command you need.
[Xperia Arc Android Development] djbacon:
It worked, Thank you. :)
[Xperia Arc Android Development] DocMAX:
Touchpad: Could this work??

http://xdaforums.com/showthread.php?t=1862722
[Xperia Arc Android Development] IrisProPP:
Change the SD card

I want to change the SD card. Is there anyway without returning to the ICS Stock ROM? If not, when return to Stock ROM, I just find a .tft file, and how to return by using MiniADB :confused:
[Xperia Arc Android Development] vikusz:
Create the same partition layout on the new card and copy the contents of all partitions. You'll need an OS which supports ext4/f2fs, such as any live linux distribution.

FTF files can be flashed with Flashtool in flashmode.
[Xperia Arc Android Development] p32929:
Internet is working fine after toggling 2g/3g but unable to download anything from play store :( #smultron #useless_gapps
[Xperia Arc Android Development] IrisProPP:
I'm on CM13 and I just need to flash the .tft file with Flashtool in Flashmode. Then it'll return to Stock ROM? And the ext4 partition on SD card wont be use anymore?

After that, I can install another SD card and set a new ext4 partition for returning to CM13? Is that right? :silly:
[Xperia Arc Android Development] vikusz:
You don't need to flash stock just to change SD cards. I am pretty sure you can just "clone" the card thus keeping your data. This would require an OS that supports ext4 (Linux works out of the box; on Windows you can try Paragon ExtFS but I am not sure if it gets the permissions right).

If you don't need to keep your data, just insert the new card and format/wipe everything in recovery. This deletes all your data and should format the card to f2fs. If you wiped /system, flash CM+GAPPS using sideload. No need to flash stock ROM.
[Xperia Arc Android Development] mikemend:
Camera 2 API?

Can support this rom Camera2 API? I need manually ISO, shutter for camera... :rolleyes:
[Xperia Arc Android Development] xoulseekr:
I have sucessfully flashed the 20160417 build of Xperia Ray and mini Gapps.

This rom brings freshness to the 5 years old device. Thanks for porting this beautiful marshmallow to our devices.

:good::good:

In the first 8 hours after flashing, there were some random hang ups and black screen. Forcing me to wait, and rebooting from the power menu (the device is very sluggish when the black screen happened).

Lag and random hang ups also happened when I applied lockscreen pattern code.

Nonetheless, the black screen and random hang ups has been stopped now.

One thing that bugs me now: the alpha channel (shadow) turn black when ads bar overlay is loading. Maybe it sort of related with GPU rendering? :confused:
[Xperia Arc Android Development] DocMAX:
hi. does bluetooth on xperia play work for you?
[Xperia Arc Android Development] co5oos:
F2FS or ext4?

Is it safe to use F2FS or just stick with ext4?

I've read F2FS might kill SD cards. (I don't know if thats correct.)
[Xperia Arc Android Development] DocMAX:
normaly its the opposide. f2fs is good for sd memory
[Xperia Arc Android Development] xoulseekr:
in my xperia ray, bluetooth can be turned on and renamed.

but, any file transfer, pairing, or other operations cannot be completed.

though, it is detected on the other phone.
[Xperia Arc Android Development] co5oos:
Where can i check out app data?

App data is supposed to be in /data/data, but there is no such thing in the file manager.
[Xperia Arc Android Development] eberhardweber:
On the latest build on my Xperia Pro (iyokan), if you either pair or try to connect a device enough times (1-10 times), one of them will work and a connection will be made. I've successfully paired and used two different headphones with it, but establishing the connection is really wonky. I am planning to use the phone as a bluetooth music player so this is a minor inconvenience.

Is anybody having reliable BT? :)
[Xperia Arc Android Development] Laz:
Someone please help. While flashing the rom using cm13 recovery, it shows cant mount system.
[Xperia Arc Android Development] amishxda:
Try formatting /system first. Using recovery and also using fastboot.
[Xperia Arc Android Development] Laz:
Done. Nothing works. Could you please explain step by step process??
[Xperia Arc Android Development] co5oos:
You MUST have exactly 1 partition on the card. The recovery cannot change the partition layout.

The partition type must be "primary" and "not active".

on Windows, use MiniTool partition wizard and an SD card reader.

Once you have the 1 partition:

format to F2FS; or keep unformatted (then it will be formatted to F2FS later; the same should work with FAT32, but not all fat variants like vfat/exfat have been tested)

1. make sure you extracted boot.img from the ROM.zip

2. connect phone in fastboot mode

3. fastboot flash boot boot.img

4. fastboot reboot

5. enter Recovery

6. factory reset > full factory reset

7. Wipe cache

8. advanced > wipe system partition

9. reboot again to recovery

10. connect USB to PC

11. Select Apply update > Apply from ADB

12. Sideload rom

13. again, Select Apply update > Apply from ADB

Sideload GAPPS
[Xperia Arc Android Development] litemintx:
You can also follow my signature below, i have a video step by step on installation.
[Xperia Arc Android Development] xoulseekr:
you can also execute

fastboot erase system

to erase the system first after flashing boot.img in the fastboot mode. **has been explained in page one**

hi, litemintx..

do you experience Setting crashed while opening Battery section?
[Xperia Arc Android Development] TomTomcrafter001:
Maybe it's caused by a theme
[Xperia Arc Android Development] xoulseekr:
Oh. You're right.. Thanks buddy.
[Xperia Arc Android Development] Stalkystalky8:
Is it possible to install zip file via recovery after boot?

Cuz I want to install sony music...:confused:

Edit :

Well, after few try, I can install sony music by Mardon... Thank's Mardon...
[Xperia Arc Android Development] TomTomcrafter001:
For that I'm here :)
[Xperia Arc Android Development] pickandrew:
Hello, This ROM is also compatible with the versione Xperia Arc SO-01C? Thanks!
[Xperia Arc Android Development] thorw4ld:
Hi!

the cm13 install guide still references the tuning sd card speed wiki. I can't wrap my head around that guide.... as far as i understand it is only for ext4, not f2fs. Is it still necessary to tune/align anything if using f2fs?
[Xperia Arc Android Development] vikusz:
From the wiki main page:

Lollipop too slow? Tuning SD Card Speed

That should give you a clue that the SD card tuning article only concerns Lollipop which uses 2 partitions. The only thing that the article says is that the size of the partitions should be divisible by a certain number (connected to the physical layout of the flash chip). If you have a single partition on your whole SD card (that's the case with Marshmallow), there is nothing to tune.

Also, file systems (ext4, f2fs, etc.) are irrelevant concerning the tuning guide.

I am pretty sure the article is referenced in the CM13 install guide only because it explains random read/write speeds. Random read and write are the most important specs when running any operating system from a storage media. Beside internal flash vs external SD, this also applies to HDD vs SSD in your PC and so forth.

TL;DR If you are running CM13, the sole purpose of the tuning guide is to tell you to buy an SD card with high random read/write values.
[Xperia Arc Android Development] thorw4ld:
Thank you for the explanation!
[Xperia Arc Android Development] esemef:
I don't believe that is true, f2fs and ext4 can be tuned for the SD cards erase and write block size. The current guide however fails to explain how to do this, probably because nobody here really knows how important it is. You definitely can't do it with the recommended windows partition tool.

Getting the block sizes wrong can cause write amplification which will lead to the SD card to die prematurely.
[Xperia Arc Android Development] vikusz:
That's actually a good point. Would you care to add it to the guide if you are familiar with the process?
[Xperia Arc Android Development] thorw4ld:
yeah that would be great! i dont think a tutorial about how to do this exists, or at least i can't find one.
[Xperia Arc Android Development] umaturman:
It's easy. Format a sd card with SDFormatter - it will do the job for you.
[Xperia Arc Android Development] SirBiggle:
Seep Post 33 on Page 4 of this Thread

http://xdaforums.com/showpost.php?p=65554106&postcount=33
[Xperia Arc Android Development] thorw4ld:
but only fat32