yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Android Development] bleuxeon:
I think I have found what was slowing my phone (Xperia Ray) looking in other thread :

the Google play service is so big that the phone is too slow to "compile" (or something like that :D ) the apk within the 6 mins limit.

So each reboot launch again the play service optimization process that never finish correctly and so, slow down every action on the phone.

Same would happend when the service gets updated.

From what I anderstand the 6 mins limit is not something we can change BUT we can disable it completly in order to let the play service's optimization to complete.

On my device it takes nearly 10mins. I guess that my SDcard isn't fast enough even if its a class 10.

Then everything was smoother but with some (acceptable) lags from time to time.

I edited the /system/build.prop and added this line :

dalvik.vm.dex2oat-flags=--no-watch-dog
[Xperia Arc Android Development] blueman24:
I've ran multiple I/O benchmarks on ext4 and f2fs. For some reason, f2fs has terrible speeds. The random read and random write are nearly half of what I am able to get with ext4.
[Xperia Arc Android Development] mama_mia:
Hi,

My phone does not allow to unlock the bootloader.

Is there any way to flash this ROM on my device with the bootloader locked? With some other kernel or something...

If not, which one is the latest ROM that may be used on locked bootloader?

Thank you
[Xperia Arc Android Development] intruder16:
F2FS isn't that bad for me. For 2 months i've been using this ROM with f2fs partition and it doesn't seem slow. No random reboots or hangs.

Don't know how the performance is if compared to EXT4. But, as you guys are saying if f2fs has terrible speeds then if i install it in ext4 it'll perform faster? Maybe, but I don't think it can get any faster than it already is. As already reported by most users, the performance is comparable (maybe better) to CM11.

But i'll try to install the new upload in ext4 and use it for a month and report if there's any change in performance (I seriously doubt it though).

Tell me which benchmark tools did you guys used. Keep in mind real world usage and your experience matters not some benchmark. Same goes for battery usage reporting. Its never accurate.

Also, "post screenshots of the benchmarks or it didn't happen". Without any actual data/proof its mere speculation.

Enjoy one of the best ROMs ever!
[Xperia Arc Android Development] GreatVegeta:
Can Someone give me a link for an tutorial for SD Partition, please.. All methods I found an tried didnt work..
[Xperia Arc Android Development] Miggystar:
Try this pal, i use this but without doing swap partition
[Xperia Arc Android Development] Adam Hui:
http://xdaforums.com/showthread.php?t=2126363

*] front LED holographic keyboard >> another dream in android
[Xperia Arc Android Development] blueman24:
So, here are a couple of pics of benchmarks that I ran on my Mini st15i with a normal Samsung memory card.

(Ignore the "SD card" numbers- that is my normal fat32 sd card partition.)

1. Random read/ write on 4 GB EXT4 partition.

[IMG="EXT4"]http://s14.postimg.org/6xrx8puw1/Screenshot_EXT4_1.png[/IMG]

2. Random read/ write on 4 GB F2FS partition.

[IMG="F2FS"]http://s14.postimg.org/5u7swra8x/Screenshot_F2_FS_1.png[/IMG]

I cannot post all the screenshots because I ran all benchmarks 3 times on both EXT4 and F2FS for Sequential read/ write and Random read/write each and it would be a pain to post all of that but here are the average on ext4 and f2fs:

1. Sequential Read/ Write:

EXT4:

Read- 19.20 MB/s

Write- 10.37 MB/s

F2FS:

Read- 18.04 MB/s

Write- 11.24 MB/s

2. Random Read/ Write:

EXT4:

Read- 6.74 MB/s

Write- 0.23 MB/s

F2FS:

Read- 3.46 MB/s

Write- 0.16 MB/s

And remember that this is just my memory card. Your result may be better or worse that mine.

A1 SD bench.
[Xperia Arc Android Development] cajhin:
I updated the wiki with an extended installation guide for AOSP 5:

https://github.com/LegacyXperia/Wiki/wiki/Installing-Lollipop

Please correct and enhance where necessary, and point to it when questions come up that are covered in the wiki.

I set up three test Rays (yeah they're dirt cheap on eBay these days) with the latest lx11, aosp 5.1.1-on-ext4, aosp 5.1.1-on-f2fs,

and spent some time playing with them side-by-side. Performance overall is in the same league.

I love /data on SD with the Lollipop releases (no more link2sd, int2ext and other fiddly crutches).

LX11 has awesome memory handling (390MB max available for an app, it used to be 230MB for LX10.1).

I'm missing some CM features; looking forward to lx12.1.1, if that performs well, I might make the Ray my daily driver again.

Overall, I'm really impressed how far this Rom has come, and how well and reliable it runs on 4 years old hardware.

Thanks mike, mike, blefish, kirill the wifi fixer (is he on xda?), mardon and anyone who contributes!!!
[Xperia Arc Android Development] willianmp:
After upgrading to 5.1.1, I have the constant error:

"The com.google.process.gapps process stopped."

It does not work the google services, what to do?
[Xperia Arc Android Development] willianmp:
I installed GAAPS to 5.1, and was solved the problem.
[Xperia Arc Android Development] pROAddicts:
A very helpful summary!
[Xperia Arc Android Development] blueman24:
beta1 > beta2

Installed beta2 yesterday along with gapps and it was so laggy that I was not even able to complete setup process after half a hour.(com.setupui has stopped.) The optimizing app 1 of 69 literally took ages. So finally decided to try it out without gapps and although I was able to boot it, it was still really laggy. After multiple failed attempts of reinstalling ROM, I finally reinstalled beta1 + gapps and running fine since then (although miscellaneous battery drain is present) with 200mb ram still free with play services running.
[Xperia Arc Android Development] Neuen1:
I was using CM12 and F2FS but after seeing all the comments I switched to this ROM to try the update and formated to EXT4 again. Now my phone (Mango) is working really smooth, I don't know if it's due to the ROM, the file system or both but it's working really really well. Thanks so much for this ROM!
[Xperia Arc Android Development] amishxda:
I was on EXT4 first and it was smooth.

Then I switched to F2FS but it became laggy.

I have not switched back yet - will wait for next version to check if its still slow and then move back to EXT4
[Xperia Arc Android Development] DemonicHawk:
F2FS vs. EXT4

So, inspired by blueman24, and the multitude of comments suggesting that EXT4 is faster than F2FS (which practically contradicts all the other data/tests on the internet). I decided to run some tests myself. Here's the setup:

Xperia Arc (Anzu)

64gb Samsung EVO

A1 SD bench

CPU@1.3GHz, Ondemand, Noop/SIO

What I did:

-A clean install with EXT4 and F2FS (formatting everything; /system, /data, /cache)

-Go through the setup wizard, download 'A1 SD Bench' and 'No-frills' (for overclocking) from the play store

-Wait a few minutes until CPU settles and there are no unnecessary services or apps running in the background

-Run at least two tests on the 'internal memory' - more if the first two tests did not agree

-Switch from Noop to SIO and run tests again as before

I've converted the screenshot results (http://imgur.com/a/okPOM) into tables so it's easier to compare. All the numbers are in MB/s.

As you can see, F2FS is pretty much faster in all categories except for random read. This is pretty much consistent with all the other tests done around the web. I'm not going to speculate as to why some people think F2FS is slower, but these are my results. If you have an SD card with fast random IO performance, I think F2FS would be preferable since the random write speed will be your bottleneck. If you have an SD card with slow random IO performance, then maybe EXT4 would be better according to blueman24's results.

Some other notes:

-I tested ROW briefly to see if it would improve on the random read performance for f2fs but it made no difference, random write performance was similar to noop

-The setup wizard was pretty slow on both EXT4 and F2FS
[Xperia Arc Android Development] lukkki:
On my Xperia Ray lags began after Gapps installation. I use ext4 file system. It is better after adding an entry dalvik.vm.dex2oat-flags=--no-watch-dog and after a factory reset. This is very good rom. Dobra robota.
[Xperia Arc Android Development] gu5t3r:
GAPPS for CM12.1 (5.1) Link?
[Xperia Arc Android Development] blueman24:
[MENTION=2752408]DemonicHawk[/MENTION], thanks for posting the really useful info. Even I can't get the reason behind f2fs having worse speeds compared to ext4. I think that people should benchmark themselves with their SD cards to get the real numbers.

BTW, which SD card do you use? It seems to be performing really well!
[Xperia Arc Android Development] DemonicHawk:
I'm using a Samsung EVO, Amazon link here: http://www.amazon.com/Samsung-Class-Adapter-MB-MP32DA-AM/dp/B00IVPU786

It was discussed on here a while ago when lollipop was first released, but it seems to be regarded as one of the best SD cards in terms of price/performance. That is - Random IO performance which isn't reflected in the Class 2/4/6/8/10 label. If you're interested, check out some of the benchmarks here for various SD cards: http://www.tomshardware.com/charts/microsd-cards-2014/benchmarks,169.html

I never thought much about random IO performance before this, but if you're using this ROM (or even CM12.1) as your daily driver, having a fast SD card is seriously worth it.
[Xperia Arc Android Development] bleached:
I like this rom very much. It is smooth and fast generally speaking. However it has one GREAT con:

Calling UI is slow as hell. I cannot answer calls and cannot hang up fast enough if I accidentally call someone.

Basically smultron loses functionallity as a phone. Does anyone have such a problem?

Same problem with kitkat also, but in lollipop this is unbearable!
[Xperia Arc Android Development] blueman24:
Yeah, I would probably get a better SD card. They are dirt cheap anyway.

The crappy sd card that I'm currently using is the one I brought when I purchased my smultron (which is a few years ago). So I am not even surprised by the slow speeds. What would you expect from such old junk.
[Xperia Arc Android Development] Adam Hui:
Disable all "phone number lookup" in calling ui setting.

*] front LED holographic keyboard >> another dream in android
[Xperia Arc Android Development] neurer:
Yes. IncallUI seemingly freezes for about 2 - 3 seconds between pressing the call button and the call being initiated. Disabling phone number lookup, as Adam Hui suggested, probably won't be of any help. As it's disabled by default in cm-12.1-20150514-UNOFFICIAL-LegacyXperia-smultron while the issue exists there as well.
[Xperia Arc Android Development] bleached:
True, this doesn't seem to make much of a difference :/
[Xperia Arc Android Development] Adam Hui:
try to modify privacy access, maybe..

*] front LED holographic keyboard >> another dream in android
[Xperia Arc Android Development] blueman24:
This thread is for AOSP and it doesn't have privacy guard.
[Xperia Arc Android Development] Daniel D.:
The button backlight is on forever. Bug or didn't I search enough in this thread?
[Xperia Arc Android Development] Prinz`:
yea for me too :confused:
[Xperia Arc Android Development] KartzXDA:
Re-install

Sorry for the late reply!! I am replying 'cause it may help someone else looking for the solution.

Try to install kernel (which has superuser script), wipe everything and re-flash.

---------- Post added at 04:22 PM ---------- Previous post was at 04:09 PM ----------

To disable back light -

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

Android app to disable back light -

https://play.google.com/store/apps/details?id=com.haxor
[Xperia Arc Android Development] Daniel D.:
There is already an option built-in to disable the backlight. It seems that I found a bug regarding the old behaviour.
[Xperia Arc Android Development] pROAddicts:
read-write benchmark Sandisk 32gb Class 10

I have benchmarked my Sandisk 32gb Class 10 partitioned with 8gb in ext4 format (I am on Phoenix). Though, didn't do in an F2FS format but somehow, I think this is pretty good....

CPU setting used:

Benchmark result:

I am not sure if I got a fake or genuine Sandisk though...
[Xperia Arc Android Development] zibi305:
How can I return to dalvik a disable art?
[Xperia Arc Android Development] Crim Soukyuu:
Running beta 2, yesterday was all fine, but today playing audio (ogg) sounds as if it speeds up and slows down playback every second. Also, after restarting, the cache seems to have been wiped as I'm back to "optimizing apps".
[Xperia Arc Android Development] pROAddicts:
Feature Request:

Is it possible to add/enable OTG service in your ROM specifically for phoenix devices?
[Xperia Arc Android Development] ƒεηιx:
Not possible in lollipop rom
[Xperia Arc Android Development] Dr.SAM88:
Suggestion for first OP instructions:

it's written "then make a secondary EXT4 partition", that is really confusing cause i guess many people obviously made a secondary-logical partition on their SD, which messes up the recovery. you should write make a second primary EXT4 partition.

Also could you integrate a bigger restart meny with recovery and screenshot?

a init.d script to increase SD read ahead valuie would also be usefull, i've set mine with an app to 3072 on F2FS and the phones became faster immediately.

Other question, would it make sense to odex this rom?
[Xperia Arc Android Development] saqibkhan:
Hi [MENTION=4126034]mikegapinski[/MENTION]

can you please upload a guide to Build our own AOSP for our preferred Xperia Device.. that would be amazing like Mike has it for cm12x

also what do you say about this.. can we build AOSP for our Legacy Xperia Sony Devices using this Source code of Dev. Preview Android M released by Sony

http://developer.sonymobile.com/kno...eveloper-preview-for-unlocked-xperia-devices/
[Xperia Arc Android Development] intruder16:
Can you see any 2011 devices in the list?
[Xperia Arc Android Development] saqibkhan:
did we see any 2011 devices in the list of Jellybean.. Kitkat or even Lollipop !! of course we would never be in that list. we were never meant to be,,..

just like the Devs built 4.1/4.4/5.x .. the same way Android M and further if possible..
[Xperia Arc Android Development] intruder16:
Then why do you ask if we can use latest sony's sources for 2011 devices?

You still didn't get it do you? Those sources you linked are official sony's sources for latest Xperia devices. There are no source from SE available for 2011 devices. Everything's open source and build from ground up. If those sources were available to us then (maybe) we had official 3.4 kernel support including camera libs and bluetooth stack that we do not have.

Of course you can build android M or any android for that matter but NOT by using the sources you linked. Those are device specific.
[Xperia Arc Android Development] Kianush:
it seems that no one's visiting general discussion section so I ask it here again:

I flash AOSP beta 2 on my xperia mini pro(mango) but it's not buttery smooth, can u tell me what to do to make it smoother?

I set cpu to 1.4 max and smartassv2 governer - also set sdcard read ahead to 3072 and sio(I have a class 10 32GB philips microsd) - and froze many unnessesary google apps and stuff

but it's still not like cm11, on cm11 it was awesome in case of speed! any ideas??!

I'll delete this post if it's not in right section ;)
[Xperia Arc Android Development] saqibkhan:
the link I gave was more for reference rather than to the exact device specific sources.. I meant to say that like the Android M source is available for us to build on.. and I wanted to know how could we merge the M source and our device specific changes made by Mike to build M. is it even possible that way..
[Xperia Arc Android Development] Adam Hui:
The camera & modem still not working for M preview for now.

*] front LED holographic keyboard >> another dream in android
[Xperia Arc Android Development] jsbworld:
Xperia Ray - CM12.1

Hi,

I am not able to bring up the ray to boot post flashing the boot.img and ROM. Tired flashing erase zip available on download page but the it just gets into boot loop. Any help would be appreciated. I was on CM11, spirit ROM.
[Xperia Arc Android Development] saqibkhan:
can you build one ROM and see.. I don't have a tutorial to follow or else I maybe could have..

Just a test build maybe.. what say..
[Xperia Arc Android Development] XEROling:
Working

Working! Great work

2011 with the latest OS of 2015 and 2014
[Xperia Arc Android Development] niks255:
Is this rom abandoned? No updates since May.
[Xperia Arc Android Development] Mardon:
Patience.

Gesendet von meinem LT18i mit Tapatalk
[Xperia Arc Android Development] niks255:
I am patient, I'm just curious. This build is R1, the neweset one is R6. But I wasn't able to build it from LegacyXperia source, there was some stupid error. So all I can do is wait for a new build.
[Xperia Arc Android Development] saqibkhan:
how do you build AOSP from LX source.. can you please tell me the steps too.
[Xperia Arc Android Development] niks255:
It's quite easy. You need to have either Linux (I used latest Ubuntu LTS) or Mac OS X (never tried to build on that, but AFAIK it's possible) and a set up build environment (something like this one http://xdaforums.com/showthread.php?t=2639611 ). Then type these one by one in terminal and press enter:

mkdir mydir

cd mydir

Replace mydir with the name of directory you want to create. I created a directory named AOSP. After that, follow these steps https://github.com/LegacyXperiaAOSP/manifests

My build has failed. Probably because some changes were made in device-related sources and it's no longer buildable. So we can either ask devs of this ROM to help us or wait until they build a new one.
[Xperia Arc Android Development] mikeioannina:
Some repos we forked from CM are now outdated, we need to merge the latest CM changes and also merge latest AOSP sources.
[Xperia Arc Android Development] niks255:
So you have plans to do that, right?

Also could you please fix keyboard brightness and display auto brightness? They both work fine on CM, but are broken here. Keyboard lights aren't being turned off when the screen is off.
[Xperia Arc Android Development] mikeioannina:
I want to take a look but didn't find time yet. AOSP has broken support for hardware keyboards since there are no nexus devices (or any new android devices) with qwerty anymore. In CM we have fixed most of the issues, just need to cherry-pick the missing changes
[Xperia Arc Android Development] niks255:
Thanks. Can't wait to see a new build.

There's R8 now.

Also, flashlight is turning off when the screen is off. Happens only when phone is disconnected from USB or charger, which means it turns off in deep sleep. Hope you fix this too.
[Xperia Arc Android Development] mengxaxau:
Lost root access on my phone. How to fix?

Sent From Malaysia
[Xperia Arc Android Development] rouzbehali:
The download link is dead
[Xperia Arc Android Development] sknerus75:
It's working for me. :v

--->click<---
[Xperia Arc Android Development] rouzbehali:
Thx man!
[Xperia Arc Android Development] DeadXperiance:
flash supersu zip.attached zip file.
[Xperia Arc Android Development] saqibkhan:
can anyone tell me how to build AOSP for xperia 2011 .. we have a guide for cm build.. but what about AOSP ?? maybe a detailed one like MIKE has here

http://xdaforums.com/xperia-mini/general/guide-2011-how-to-build-cyanogenmod-12-0-t3041214
[Xperia Arc Android Development] niks255:
Read my post, it's gotta be on a previous page.

Ah, this is it http://xdaforums.com/showpost.php?p=61849467&postcount=350
[Xperia Arc Android Development] saqibkhan:
is it possible.. that i fork the Git of Mike (aosp) and instead of Lollipop.. i try to build on Android-M-Preview using the changes made by mike for Lollipop.. using the branch android-m-preview ?? is that even possible ?

if yes.. what all do u have to change ? only in manifests .. or all the branches ?
[Xperia Arc Android Development] niks255:
Probably not yet, just wait until release. It's pretty buggy anyway.
[Xperia Arc Android Development] niks255:
You have updated your CM12.1 and CM11 builds. Does this mean that new AOSP build is coming soon?

Thanks.
[Xperia Arc Android Development] mitklaus:
The download-Page is down (https://downloads.gapinski.eu/) - i'm currently running the Beta_2 20150505.233826 release. Is there an newer version available for satsuma? (XperaActive)
[Xperia Arc Android Development] saqibkhan:
not built after that.. thats the last built version beta2
[Xperia Arc Android Development] boloksbongas:
Xperia ion

..
[Xperia Arc Android Development] BlueCookieFrog:
How long LWW works on battery without any interent connection???
[Xperia Arc Android Development] Neuen1:
Can I use the Cyanogenmod 12.1 kernel on this ROM? If not, is there a way to build my own kernel for this ROM?
[Xperia Arc Android Development] :
What you think guys for AOSP 6.0 for legacyXperias ?
[Xperia Arc Android Development] iamthex:
First thought: OFF TOPIC.

Second thought: I'd love it. I hope Mike still wants to work on these old devices.

Enviado desde mi Nexus 4 mediante Tapatalk
[Xperia Arc Android Development] plb-dev:
Good news. Its already in the works.
[Xperia Arc Android Development] mikeioannina:
I'm working on it, but no promises. Lot's of underlying changes in 6.0 that might be the final straw for our devices' closed source parts.
[Xperia Arc Android Development] dragongreen:
:good:
[Xperia Arc Android Development] :
mike , we trust you , and thank to you for supporting us by making rom , that SonyEricsson failed to give us....
[Xperia Arc Android Development] :
[MENTION=3839575]mikeioannina[/MENTION] you can post unstable Build , so we can test it on our devices . . . .
[Xperia Arc Android Development] javix1997:
AMAZING!! 6.0 yeah, we can test it on our devices for see bugs and another type of things :D
[Xperia Arc Android Development] Bart11666:
If anyone build 6.0 please uploade somewhere :)
[Xperia Arc Android Development] L3RAT:
I tried to compile it, but there is some issue in releasetools, which I don't know how to bypass :/
[Xperia Arc Android Development] plb-dev:
AOSP 5.1.1 Milestone

Can anyone please build a milestone build of AOSP 5.1.1 with latest commits cherry picked from cm12.1 for smultron ?

Thanks in advance
[Xperia Arc Android Development] XqepX:
Dude you are just crazy :D

Remember back to the time where you build ICS for the GT540, what a wonderful time..

Well good luck on your work ;)
[Xperia Arc Android Development] Dekill93:
Waiting for Urushi.... :)
[Xperia Arc Android Development] nie11kun:
good news for us,will testing and feedback like before..

thx your guys' hard work............
[Xperia Arc Android Development] Meshe:
Hey Guys,

Anything for Xperia S?
[Xperia Arc Android Development] TakisBeskos:
neo L is consider to be 2011 series despite the fact that it was released later.

I see a build for phoenix in downloads , so neo L IS supported.

Please use the discussion thread , this is development thread
[Xperia Arc Android Development] sarin28:
Is 2GB ext4 necessary, I have 1.3GB ext4. So will it work with 1.3GB ext4 partition in my sd card??
[Xperia Arc Android Development] TakisBeskos:
You are coming to a DEVELOPMENT thread , in XPERIA ARC forum , and asking for sola , miro and S ?
[Xperia Arc Android Development] Meshe:
Just interested to see if our models will ever get something as nice as this. :)
[Xperia Arc Android Development] naheel azawy:
This is awesome man :good::good::good:

I'll try to repair my mini pro screen as soon as possible so I can try this
[Xperia Arc Android Development] mikegapinski:
All builds are in place, also for Neo L and Play ;)