yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Android Development] vildevilde:
On other thing, I also had a messed up sd-card, couldn't get it formatted or even seen by linux or windowz, but that lupus kernel (in the recovery) could formate it, in a little weird way, but it came to life again. :)

As I wrote before I don't know a **** about this things, i only refer to what I did.
[Xperia Arc Android Development] UtokUser:
not working

Okay,i just flashed the image you provided,and my phone wont boot to recovery anymore.The screen backlight is on,but its black :( edit: either my phone is broken,or the cm 13 recovery!A lot of the options in it dont work,for example,selecting logs returns me to the first screen,selecting update from file returns me to first screen,selecting full factory reset returns me to the first sreen in a second!I guess I'll just stay on cm11,atleast it works!
[Xperia Arc Android Development] winesh:
Did you prepare your sd card, by giving it a blank partition. With magic partition on pc you must wipe al partition from sd card and leave it blank before installing rom.
[Xperia Arc Android Development] UtokUser:
Here is what i did.I tried the very first cm 13 build,and it installed successfully.Then i tried to install the latest cm 13,but still no luck.I guess its messed up for the mango,but no one tested it.I tried again,oldest cm 13 buld but with gaps,the phone was stuck at optimizing apps,then rebooted itself and got stuck in bootloop.so now i gave up and settled for cm 12.too bad,i really wanted to try it,but it's just messed up,atleast the mango version :(
[Xperia Arc Android Development] winesh:
You are describing the process, which is nice. But for people to help you, you need to describe the steps taken. For instance did you properly set up the sd card? I am also on mango and have a perfectly working los 14.
[Xperia Arc Android Development] UtokUser:
yes,I am sure the card is set up,as I can install the old cm 13 build on it.It's the latest build that wont install.And its recovery is very messed up.half of the options are not working at all!
[Xperia Arc Android Development] winesh:
Try this workaround:

1 install the correctly working cm13 build, with working recovery

2 boot recovery, wipe system, data, cache

3 flash los 14 and wipe cache

4 directly boot into fastboot

5 flash los 14 boot image and fastboot erase cache

6 restart and wait about 10 min

I think this should work.
[Xperia Arc Android Development] tastebin:
C:\Flashtool\x10flasher_lib>adb sideload cm-13.0-20161109-UNOFFICIAL-LegacyXperia-anzu.zip

error: protocol fault (no status)
[Xperia Arc Android Development] vildevilde:
I would like to try this, where do I find the los 14 zip?
[Xperia Arc Android Development] plb-dev:
Try touching the screen rather than tapping home, to choose an option in recovery.
[Xperia Arc Android Development] winesh:
https://mega.nz/#F!bt0VzQDA!6OD6YFjCKYUkX6GRhNOBDg"]lineage-14.1-20170515-UNOFFICIAL-LegacyXperia-*
[Xperia Arc Android Development] vildevilde:
Thanks but link doesn't work
[Xperia Arc Android Development] UtokUser:
link works for me

---------- Post added at 02:03 PM ---------- Previous post was at 01:57 PM ----------

you dont understand,no matter how I select stuff in that recovery,they just return me to the first screen.Update from file doesnt work,logs dont work etc etc..
[Xperia Arc Android Development] vildevilde:
OK, tried in Firefox, windows and then the link worked, on my normal Linux I just get a blank page, don't know if it's some settings in my Firefox in Linux or what. But I got the file now :)
[Xperia Arc Android Development] vildevilde:
Got it, LineageOs 14.1 running, how beautiful and smooth this old phone is working. :)
[Xperia Arc Android Development] winesh:
I appreciate that you appreciate my help :p
[Xperia Arc Android Development] UtokUser:
where did you get that from?I found nothing about that rom for sk17i mango here in the forums.Is the instalation the same as that for cm13?:rolleyes:
[Xperia Arc Android Development] nussbaum:
https://mega.nz/#F!bt0VzQDA!6OD6YFjCKYUkX6GRhNOBDg

It should have TWRP in its boot.img, install that via fastboot as usual, then install rom from twrp, IIRC i installed from an usbstick on usb-otg.

Link is from page 204 of this thread.
[Xperia Arc Android Development] UtokUser:
Thanks!It installed successfully,but setup wizard keeps crashing after I select to restore settings or start as new,any ideas?
[Xperia Arc Android Development] nussbaum:
Sorry, can't remember if that happened when i installed it. May be a Gapps problem, i don't flash them.
[Xperia Arc Android Development] UtokUser:
Damn those custom roms!I installed all it worked perfect,then after a while i rebooted to install sim card,and now ist stuck in a bootloop,and the recovery cant make a wipe!it says invalid argument!I guess custom roms will never beat stock roms in terms of stability...
[Xperia Arc Android Development] winesh:
Did you also remove sd card?
[Xperia Arc Android Development] UtokUser:
yes,I did.Is it bad?dont tell me this thing installs on the sd card like cm 13 and i ruined it
[Xperia Arc Android Development] winesh:
Yes it does :p You could have known since file size is even bigger than cm13.

But if you didnt do strange things, no harm done. Put sd card in phone and wipe cache and data. Phone wil do the first boot sequence (data will be lost without backup).
[Xperia Arc Android Development] UtokUser:
oh no,I actually wondered why I cant mount the sd card in my pc so I formated it in my z3c :D so now i am installing it again :D:laugh:
[Xperia Arc Android Development] winesh:
Hmm... perhaps you need to delete sd card partition with magic part on pc, since you formatted sd card. See if rom installation in recovery fails.
[Xperia Arc Android Development] UtokUser:
Unlike cm13,lineage installs without any trouble on the same sd card.Everything works so far,only the stock camera app wont focus with half pressing the camera button.other apps focus,but cant access the storage,even after giving them permission.gonna dig in that later.
[Xperia Arc Android Development] blutor:
Is your SIM card working? Because I could not unlock SIM with LOS14. It was returning to enter PIN screen over and over. You have mango I presume.
[Xperia Arc Android Development] UtokUser:
well,my sim is rather new,so I dont have pin code active,but I will test it and see how it goes!
[Xperia Arc Android Development] UtokUser:
Sadly,I must say that you cant trust the phone with any custom rom!For example,here are all the bugs I experienced in this one-sucks my battery for few hours,when left all night in the charger,it would freeze in the morning,no buttons work,only the green led stays on,only solution is a battery pull,sometimes it wont let you enter your security code,and you have to try like 10 times,the stock browser only lets you scroll down,if you try to scroll back up,it reads it as refresh page command.if you change the display orientation,it refreshes da page from the beginning,stock camera wont focus with the hardware camera button,and photo quality is very bad.If you have no other phone,you could use it,but its gonna drive you insane!
[Xperia Arc Android Development] winesh:
Did you flash the boot img trough fastboot? It sounds like some kernel related issues you are facing. I dont experience any of your bugs.
[Xperia Arc Android Development] UtokUser:
Of course I did,how could i run it otherwise?it works good from the beginning,but yesterday,as i was going to work,the phone became useless!it stays on home screen,I pick an app,i wait a while for it to start,and phone reboots!So I am going to flash cm kit kat 4.4,at least it was useable,and keep it as spare phone.Sorry,but those roms (cm 13 and Lineage os) are just way to unstable for normal use
[Xperia Arc Android Development] winesh:
Wel technically it is possible to run this rom with cm13 kernel. Did you execute the command fastboot erase cache after flashing boot, it could explain a few things.
[Xperia Arc Android Development] UtokUser:
like every time,I would first use flashtool to flash the boot img from the roms zip.then I would do the wipes from withing recovery,without any errors.And it works good for a time after installing,but later as i said it just starts to do whatever it wants
[Xperia Arc Android Development] winesh:
I dont work with flashtools, so can't help you on that side. Just be sure that you have correctly followed every step in the flashing proces, as described on this page:

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

(With los14 zip instead of cm13 ofcourse)
[Xperia Arc Android Development] Strigae:
Seems like Oreo Go got released for developers :D
[Xperia Arc Android Development] nos1609:
2011 Xperia might see a 2018 reborn:D
[Xperia Arc Android Development] mr_torture:
Disclaimer - my post is related only to original subject of this thread, LegacyXperia CM13 build, as I see that there is some additional development of this ROM being discussed in recent pages of this thread.

So, I flashed this CM13 along with mini GAPPS version by Mardon on my Live With Walkman WT19i, strictly following LegacyXperia Wiki guide, using fastboot and ADB sideload, hoping to put some life into this 6 years old device (which I bought 2 weeks ago factory new, with stickers, to use as my backup phone).

To my surprise, everything passed well on the first try, system booted well, and Trebuchet launcher appeared to be so smooth. But the honeymoon lasted less than hour, until I actually started using the phone, and after I installed few apps. Each app takes too long to install (note: I used the SanDisk Extreme Pro microSD, currently their fastest one), and system gets unresponsive and slow for a long time during and after the app installation. Beside that, battery drain is tremendous, like you can almost literally see percentage going away while you look at the screen.

The concept sounds great, Marshmallow running on device this old, but honestly the phone is more or less unusable once you start installing the apps. It hangs badly, and it is slow and unresponsive most of the time, and the battery life is - no life.

Before anyone suggest I was doing something wrong during installation, no I was not.
[Xperia Arc Android Development] UtokUser:
Exactly!That's what happens here!Battery drain,random reboots,etc etc.
[Xperia Arc Android Development] wilsonhlacerda:
Yeah. I have an Xperia Pro (MK16) and as I wrote before, long time ago: the best we can have on Xperia 2011 devices is CM11, Android KK. That is my personal experience, with lots of tuning and so.

With CM11 device is not that fast with current apps, but it does work. My Xperia Pro, root enable, Xposed installed, is running fine as backup device.

To let it better I do suggest to:

- delete all system apps that you don't use

- move Google Play Services to internal memory (as user app.... Yes! It does work and help a lot to free system room besides internal memory on updates)

- now that have some free system memory, move highly used user apps that is not frequently updated to system (xposed + modules for instance, browser,.... )

- have the fastest SD card you can and partition it to use Link2sd or Apps2sd

- set Link2sd / Apps2sd to link (move) everything from user apps to ext partition on SD card

- prefer light/lite apps, like Naked Browser Pro, Hermit (for web apps instead real apps), Facebook Lite, Messenger Lite,..... (even better without Facebook if possible)

I haven't tried yet, but I think it will be even better if run CM11 without Gapps. No Google Apps at all. Then sideload all apks, use apkmirror, yalp Store, F-DROID to install apps.

An alternative, medium term solution, can be to try Mkcrog with CM11. But I'm not sure if works, I haven't tried that also.
[Xperia Arc Android Development] TomTomcrafter001:
What about Google's newly released Android Go?

That would probably be a good base for a rom since it's optimized for low end devices
[Xperia Arc Android Development] Falk2:
Trebouchet crashes when too many apps are installed

This is a very good question!

The lite version of Android 8 seems to support even RAM sizes of 512 MB which would suit to e.g. Xperia Ray or Neo very well.

Actually I didn't make very good experiences with CM13 and CM14 which you can read on my next article.

Android Go would solve lots of problems here.

The question is:

Will it be a big effort to adapt CM15 to that lite version?

I even would not suggest to create a regular Oreo version!...

But wilsonhlacerda how should there be a MicroG version for Xperia 2011 devices?

MicroG doesn't support those devices. Please let me know a download link as I couldn't find it anywhere.

Thank you.

+++++++++++++++++++++++++++++++++++++++

Hello,

meanwhile I tried CM13 and CM14 with LX kernel on my Ray/Urushi. But unfortunately both of them are VERY unstable (and also quite slow - you can notice very much that Lollipop was the last version that was made for 512 MB RAM).

They both crashed too often especially when you changed the orientation/rotation or used the camera.

This experience should have made everybody, I assume.

So I was forced to decrease the version.

Now CM12.1 is fine here! No (big) problem with stability.

But the following experience I made with any version (I wonder why nobody wrote about that):

The more apps I installed the longer I had to wait for the completion. The same with deinstallations! VERY strange.

I guess, also this experience should have made everybody cause it appeared very reliable at any CM version!

However, I thought I could live with that.

But now, after I installed about 15 own apps Trebouchet always crashed directly after I installed the 16th app. If I uninstall it Trebouchet is stable again.

Note: This happens with ANY additional app I install. So it is not caused by the app itself!

2nd note: I assume that this would have happened at CM13 and CM14 as well but I didn't install so many apps there caused by the mentioned unstability.

So please help me and let me know...

1) why the installation/deinstallation time systematically increases (up to 10 minutes and more) with the increasing number of installed apps?

2) why there is a limited number of apps I am allowed to install? (there is still enough space on my 6 GB ext3 F2FS partition left!)

3) how I can solve both problems but especially avoid the launcher crash?

Note: I tried another launcher but as soon as I call the app overview it crashes as well.

2nd note: My SD card: Lexar High-Performance microSDHC 633x 32GB UHS-I/U1 .

Thank you so much for your help!
[Xperia Arc Android Development] Falk2:
Related system report

This is the related CM12 bugreport file.

Will there be anybody experienced enough to read it?...
[Xperia Arc Android Development] winesh:
I think its very strange since this rom is solid stable on my mango, almost for two months with every day usage.

Things to consider:

-i didnt install gapps zip because it is to heavy, i installed yalpstore and downloaded apps from this store.

-i only use it for some calls, mails and a few apps. I dont use camera etc.

If it is possible, i would consider avoiding the use of playservices.
[Xperia Arc Android Development] Falk2:
Hello Winesh,

thank you very much for answering.

From your description I conclude that you cannot have my problems cause you didn't install many apps.

And as I described: my problem appears only if you install about 15 own apps. BEFORE everything was super fine!!

Furtheron this problem is not solved by e.g. doing the workaround leaving away Gapps.

First we should find out WHY there is this install. limitation and why installation gets slower with an increasing number of apps.

Only then we can find out what is wrong. Therefore I attached the logs.

Did you examine them?... Are you experienced in reading CM logs?...

What do you say about this one?

Anyway, why can my problem have s.th. to do with Gapps at all if e.g. in the beginning everything was very fine and super stable!?

Please let me know.

Thank you very much.
[Xperia Arc Android Development] winesh:
Regarding your explanation and the "limitation" you are describing, first thing I think of is ram usage. You know that these devices have little ram available and require sdcard for "fictive" ram support. So what could happen is that the 14 active apps where installed on your internal ram and number 15 is installed on sd cards fictive ram. Which compromises your system since, if all apps are active one app is constantly on sd.

So if we take my suggestion as an option (and keep in mind that I didn't read your logs), perhaps your sd card isn't high speedy enough. Or sdext implementation just isn't fluid enough.

Also keep in mind that these are 2010 devices, not build for current apps. This doesn't mean you can't these use apps, but clearly 15 apps is overkill for you system. Consider bringing this number down. Also don't underestimated the ram usage of playservices and gapps. Playservices and playstore correctly installed means eating up the half of your phones ram capacity. While alternatives like yalp takes around 7mb. So I would still advice you to not install gapps.
[Xperia Arc Android Development] Falk2:
That's why I just deactivated GooglePlay Services in the meantime but there is no change at all.

The remaining part of your description I am not sure if I understood.

Considering ROM (internal memory) management I assume that you may not know about the Link2SD mechanisms, do you?

If you use the pro version (which is at my CM12.1 already built in (part of the custom ROM)) then you should know that the possibilities are nearly unlimited that way!

Furtheron the LegacyXperia developers NEVER mentioned anywhere anything about an app installation limitation !!!

And 15 apps is really not very high anyway.

They even suggested to create a 6GB ext SD partition to have enough space for the linked apps.

It would help me VERY much if we would not assume things BUT would find out for sure if there is still a limitation ALTHOUGH my systems says to still have free space of 3,5 GB available.

Do you know a way to ask the developers directly?

Unfortunately there was still nobody of them who answered me... (and who could also read the log)
[Xperia Arc Android Development] Falk2:
Hello to all of you,

I would be happy already if someone of you would report about your experiences (with comparable conditions) and inform me if my problem is usual/known or an exception!

MANY thanks for that!
[Xperia Arc Android Development] nussbaum:
Your problem seems very unusual, if there is enough free space in all partitions. Can you provide a link to the 12.1 rom you use? If there is a smultron/mini version of it, i could try it on a spare device. You wrote it has Link2sd pro integrated, that seems very odd and perhaps illegal to me? Maybe you should try Lx11 instead, with a script like S2E_mod and a good sd like the new Sandisk A1 rated you should have the best performance. The last 14.1 is stable too, but much slower. Let's hope our developers start a new try, when Android Go sources are released.
[Xperia Arc Android Development] curiousde2002:
My Xperia Neo (Hallon) is now on CM14.1 since about 2 months and I never had a better performance on this old device, but only since I installed the ROM without GAPPS.

This really made the difference!

See also my post below.

Regarding the reboots mentioned in the post I now set the minimum cpu frequency to the 2nd lowest and am now testing ...
[Xperia Arc Android Development] Aman301582:
I was also going to mention that here. But I think the processor is too old even for Android go.
[Xperia Arc Android Development] winesh:
Dude clearly you did not understand my message. But go ahead and ask the developers through their contact possibilities.
[Xperia Arc Android Development] TomTomcrafter001:
Well, Android 7 runs on it (even if not really good).
[Xperia Arc Android Development] Falk2:
Hello Nussbaum,

I am sorry for this delay.

It is Christmas time. But even more important is that I have even MORE Problems now as after all the described Trebouchet crashes the system suddenly didn't boot properly anymore. Just before the Pin-Input it stops booting.

And now I suddenly also cannot access the system recovery anymore, even after I reinstalled the LX kernel !!!

Why is that so and what can be done to repair the current installation?...

Before it didn't help anymore to make app deinstallations. Trebouchet crashed anyway.

All this is SO strange!...

This is the link to my ROM: https://basketbuild.com/devs/LegacyXperia/urushi/cm-12.1.

Please note:

I already tried CM-Version 13 (09112016) and 14 (23112016) but both are very unstable and crashed too often. Didn't you all made this experience as well?...

But this 12.1 version is very stable which shouldn't be just in my case, is it?

---------- Post added at 01:25 PM ---------- Previous post was at 01:02 PM ----------

Before, you mentioned not to install GAPPS but...

* at CM 12.1 I don't think that my sudden Trebouchet crashes (after having made some app installations) are caused by that as I deactivated GAPPS before (which should be quite simular to Deinstallation, isn't it?) but didn't note any change/difference (s. above).

* at CM 13 or CM 14 (I also installed GAPPS) the ROM was unstable and NOT just too slow!!...
[Xperia Arc Android Development] hackintosh5:
1. If you are unable to access recovery, enter fastboot and restart install instructions from step 1. (Excluding fastboot oem unlock of course)

2. Which gapps?

3. Get a logcat! Always!
[Xperia Arc Android Development] Falk2:
To 1: Of course the method to make a COMPLETE reInstallation should help. But is there no clarification from you or anybody else WHY this can be possible?...

(a) How can Trebouchet crashes influence system recovery affairs?? Cause this is a complete different and isolated storage space. Is it possible that there still is an error in the (integrated) Link2SD script of CM12.1 ? Cause I could imagine that my general problem was that the past app installations may have confused/destroyed the whole storage Organisation caused by that mistake!!

(b) How is it possible that an LX kernel reinstalltion cannot fix the recovery access problem? Aren't the recovery AND the boot scripts are reinstalled by this flash? It should always help anyway!!! But why not in this case??...

To 2: HDPI_miniGAPPS-5.1.1-CM12-260dpi-20160822-signed.zip

To 3: Please inform me how I can activate and get a Logcat log of the boot process (real time or by file afterwards?). I couldn't find any useful infos about that.

Thank you very much.
[Xperia Arc Android Development] hackintosh5:
How did you install lx kernel? Try fastbooting it, if you used recovery.

Trebuchet crash is probably a completely separate issue - get a logcat.

If you can't access fastboot, u r dead. Otherwise, just keep trying, and you will find a solution!
[Xperia Arc Android Development] sibbor:
Interesting. Unlocked my bootloader, flashed kernel/recovery, now this ROM and GApps (mini 6.0). Reads "Preparing to start... Starting apps..." now! :D
[Xperia Arc Android Development] Falk2:
I don't think that Trebouchet is a different issue cause it was the ONLY process that was happening after my last successfull access to the recovery!!!

Anyway, my questions 1a and 1b above are independent from Trebouchet. I ask how that can happen also in GENERAL!

So I really would find an answer to these 2 questions. Is there anybody who has an answer for that?

I don't understand your second answer, Hackintosh.

As I already mentioned: I cannot access recovery so there is just ONE chance/method I could have reinstalled the LX kernel: via fastboot!

So this answers your question.

Please read my message above once again...

And my question about logcat you also didn't answer but saying again to do it.

But this is just my question to your answer before: You asked me to do a second logcat to find out why I cannot access the recovery.

Also here: Please read my message above once again...

Thank you very much.