yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Android Development] chelise:
[MENTION=5565731]azakosath[/MENTION] and [MENTION=8556932]hackintosh5[/MENTION], sorry, gonna be a complete noob here... ADB? How do I go about doing this? (in terms of saving SMS and booting into safe mode, how do I use ADB to do these things?)

I have not managed to get it into safe mode yet, it just gets stuck on the "Legacy Xperia" screen now, does not even come up with "Cid" anymore (Thank you for the blue robot name azakosath)

I am hoping this is just due to low battery, I have tried charging my battery in my phone, but as soon as I plug it in it turns itself on and stays on the Legacy screen. I figured having the screen on constantly was just going to counteract the charging, so I am currently charging the battery out of my phone. My fingers are crossed tightly that a charged battery will enable me to get back into recovery mode or to try and get safe mode.

Thank you all for your help and info so far. :)
[Xperia Arc Android Development] chelise:
Ok, so unfortunately it was not low battery which has caused it to get stuck on the "Legacy Xperia" screen. I have just put in a fully charged battery and it still stops on the Legacy Xperia screen and goes not further. So doesn't even show Cid/blue robot any more.

Also, not managed to get it into safe mode either.

I did manage to get it into recovery mode again, I did a cache wipe, that didn't work. I did system reset (keep media) but that hasn't worked either. I shall try a full factory reset, but unsure if that will work, since the others didn't.

Am I screwed? Any suggestions?

(I knew there was a reason I never installed Whatsapp previously, should have stayed away from it)

Am I going to have to go back to bite the bullet and go back to square one. Format the SD and re install everything and just deal with the fact that I will have lost my pics, vids and SMS.
[Xperia Arc Android Development] azakosath:
[MENTION=7856437]chelise[/MENTION], can you flash boot.img again? If yes, then you should be able to get in recovery. And use the sd card you were using the whole time, not the spare one. Once in recovery, connect the usb, cable open a command window and type:

adb shell rm -rf /data/app/com.whatsapp-1
adb shell rm -rf /data/data/com.whatsapp

unplug your phone and reboot (you can wipe cache if you want before rebooting).

:fingers-crossed::fingers-crossed::fingers-crossed:

If you can't get in recovery after re-flashing boot.img you can follow the second step from the instructions in the opening post

"2 (optional): If the device is not booting, reboot to bootloader again and run:

fastboot erase system"

and then at step 4, just format system and cache (not data), then reboot once again in recovery and flash the rom again.

Good luck....
[Xperia Arc Android Development] chelise:
I got it into recovery mode and connected it to my PC, did the command as you stated, but it is telling me "error: device not found"

Flash boot.img, could you refresh my memory on this/how to do it. It has been quite some time since I last played about with my phone (I installed cm13 in 2016 and have not done anything further with it since really, so I am a bit rusty on the processes and lingos) :p :o
[Xperia Arc Android Development] azakosath:
I just seen that you already did system restore, I thought that you couldn't get in recovery when I wrote my last post. So, you have already lost your SMS and all the apps you had installed and their data (the commands for deleting whatsapp were useless), but I think you can still save your pics and the rest of your files.

You got the "error: device not found" because I think you don't have the latest version of adb, get it here, unzip the folder and run the adb from this folder, in the command window type:

cd C:\Users\your_user_name\Downloads\platform-tools

to navigate into this folder, you can copy the path from the address bar in windows explorer and paste it after "cd".

then with:

adb pull /data/media/0/DCIM

you'll get your photos folder (you will see a folder named DCIM in the folder you have adb).

or with:

adb pull /data/media/0

you will get everything that was stored in main storage.

To revive your phone follow the rest of my instructions, get in recovery, format system and cache (NOT data), reboot once again in recovery and flash the rom. Let's hope that you still have the zip in your SD card, if not then you can copy the update.zip into the same folder that adb is and use:

adb push update.zip /data/media/0

or you can use adb sideload like the first time you installed the rom.

I hope that wasn't too much info...

I'll catch up again in the morning....

Edit: by update.zip I mean cm-13.0-2016xxxx-UNOFFICIAL-LegacyXperia-mango.zip
[Xperia Arc Android Development] chelise:
ahh, ok, sorry.

yes, previously the recovery mode stopped working, I think due to low battery maybe. I charged my battery and managed to get recovery mode again, but it still stuck on the Legacy Xperia screen.

I did resets but this didn't seem to work, it is still stuck on the Legacy screen, has been stuck on it for about 40 mins now.

Seems like another failed attempt.

I shall try you suggestions in the morning... well later in the morning since it's 1.10am now. :)
[Xperia Arc Android Development] chelise:
Ok, I downloaded the updated ADB via your link. Now I am met with this command error

"adb: error: failed to get feature set: no devices/emulators found"

Also, with regards to my SMS, I did an SMS back up a couple months ago, so is it possible my SMS may still be on my SD card?

If so, I need a way to try and get them off my card. Inserting my SD card into my PC just brings up an "unformatted card" error, so my PC wont read it. I am considering having a go at it with one of those SD card recovery programs, in hopes I can recover my pics, vids and saved/backed up SMS. The once I have recovered them, maybe start from scratch.

What do we reckon? is this possible? Or am I just dreaming?

On another note, I was also looking at down grading to Kitkat, as the phone call, SMS and notifications bug/issue was too big of an issue to carry on like it.

So whilst I am messing about trying to un-loop and fix my phone, I may as well go about down grading to Kitkat at the same time, so how do I go about doing this?

(I guess, if my SD card recovery idea is plausible and does work, then I imagine it would be a case of installing Kitkat from scratch, right?)
[Xperia Arc Android Development] azakosath:
[MENTION=7856437]chelise[/MENTION], don't try to read the SD card on a Windows pc, the card is formatted with F2FS format and Windows can't recognize it. If you know someone that uses Linux, then you can read it on hers /his pc. I don't know anything about the adb error, you can try to Google it.

Edit: Is your pc the same that you used when you first installed Legacy Xperia?? Have you ever formatted your PC since? Do you have the drivers for your mango installed?? If not, download the attachment unzip it and run the exe file and choose the first 3 components to install. If you get any windows error about driver signature verification, check here.
[Xperia Arc Android Development] chelise:
D'oh, I don't know anyone with Linux, so is there no way of reading the card/extracting the files from it?

Ahh, yes, it is a different PC... well different hard drive. My old hard drive is connected externally, but my main OS is running from my new hard drives ect. So maybe this is the issue, since I do not have the drivers installed on my new hard drives, thanks I shall try this now and see if that works.

Edit: Ok, just downloaded the zip file and installed the first 3 components of the .exe, but sadly I am still met with the same "adb: error: failed to get feature set: no devices/emulators found", in the command prompt
[Xperia Arc Android Development] azakosath:
[MENTION=7856437]chelise[/MENTION], please tell me that your phone is booted in recovery when you run the adb commands.
[Xperia Arc Android Development] chelise:
It is, well at least I think it is... when phone is off, hold volume down button whilst plugging in USB, (green LED comes on) is that correct? I also tried it with volume up button when plugging in USB (blue LED on). And tried it whilst phone was on, and in recovery mode visible on the screen.

I think it is maybe due to lack of drivers for my phone. Since updating my PC, I have not plugged my phone into my PC prior to this boot loop issue, thus I have not installed PC companion or any other drivers related to my phone. I have tried searching for drivers, but cannot seem to find them, not even on the Sony Xperia driver download site https://developer.sony.com/develop/drivers/ it seems to list every phone except Mini pro SK17 (X10 mini pro is there, but not SK17)

I did the downloads that you provided previously (the first 3 components you mentioned), but it did not make any difference.
[Xperia Arc Android Development] azakosath:
[MENTION=7856437]chelise[/MENTION], please run again the Flashtool-drivers.exe and install every driver for the 2011 Xperia series:

-Sony Ericsson Xperia arc, Xperia neo...

-Xperia pro, Xperia ray...

and just to be sure, install again (the first 3)

-Flashmode Drivers

-Fastboot Drivers

-Common drivers Mogami and Zeus board

and try again.

Send me PM from now on, there is no need to flood the thread.

Edit: The green and blue lights you mentioned are the flashmode and fastboot modes (I'm not sure which is which), the first is when you are flashing the stock rom with flashtool or pc companion and with the second you can flash just the boot.img. We don't need them now, just enter into recovery by pressing the volume buttons (one or the other) while the light blinks purple at the Legacy Xperia logo.
[Xperia Arc Android Development] Falk2:
CatLog for analysing Trebuchet crash problem

Hello guys,

I have the same problem like Chelise which I mentioned already some pages before.

By the way, I doubt that it was Whatsapp being repsonsible for the Trebuchet crash problem.

Instead this seems to be a systematic problem with version CM12 and also at least CM13.

In my case the problems once appeared after the installation of the 15th app. (Whatsapp was already the second one...)

The community should really find out soon which kind of fatal bug is left here!

In the meantime I totally reinstalled CM 12.1. I even used another sd card (also Class 10).

And this time I even did not install many apps until the strange Trebouchet crash appeared but already 5 minutes after the new installation. The system was unstable again!!

Note: If you go into the safe mode this problem does not exist!!

Attached you will find the necessary logcat now which contains this Trebouchet crash. I filtered it so that only warnings and occasions with higher priority are contained.

Will you find the problem that way?...

I am keen to get your analysis.

Thank you very much.
[Xperia Arc Android Development] azakosath:
I hope that is clear that the number of the installed applications is not a limiting factor. I'm on LOS 14.1 though, but I always had a similar number of user apps. Try to use an other launcher if you think that Trebuchet can't handle "so" many apps.
[Xperia Arc Android Development] chelise:
I do not know how many apps I had, I was not counting. I had the "Trebuchet stopped working" once or twice previously, but it was a simple case of click "ok" and all was well again. It was only on Monday as soon as Whatsapp had finished installing, that the "Trebuchet stopped working" continuously popped up, which made it impossible to do any thing else on my phone.

I noted a couple of other people have had the same issue on this forum, with boot loop after installation of Whatsapp. One forum poster said they managed to stop boot loop after deleting Whatsapp, which is what I was trying to do, but I have been unable to get my phone into safe mode in order to delete it and factory resets have not worked either.

Azakosath, as well as other forum members have been very kind to offer help and info to try and get my phone back up and running again, which I am mid process of now.

Fingers crossed I can get it working again, as I have been without a phone since Monday morning and I am starting to have withdrawal symptoms. lol.
[Xperia Arc Android Development] Falk2:
I could never use the CM 14.x version with my Ray. I tried that but it is totally unstable and too slow!!

Lollipop is the max. version that can be handled from my Ray...

I tried all those versions already.

Now to your answer... No, no!!

First of all it is definitely not just Tribuchet that is having that problem but the storage manager of the system!!

I just made some additional tests after I made a fresh factory reset:

Now it is the file manager app that crashes first. (and only when I open just the 'Download' folder which contains 12 apk files) Or before it often was was the SMS app that crashed before Trebuchet did so.

Azakosath, please believe me: There is a bug, probably in the memory manager.

That is why I attached the logcat to my past message. There is a good chance that a specialist can recognise it there!

Please check it if you know to read it and don't say such things before you didn't analyze it.

Thank you very much!!
[Xperia Arc Android Development] azakosath:
First of all, I have no knowledge of programming or anything, I'm just a simple user, as the most of us here.

The message:

E/ConnectivityService( 1162): Failed to find Messenger in unregisterNetworkFactory

is repeated 568 times.

And these lines

F/libc (31663): invalid address or address of corrupt block 0x41 passed to dlfree
F/libc (31663): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdeadbaad in tid 31663 (m.android.phone)

or

F/libc (31619): invalid address or address of corrupt block 0x41 passed to dlfree
F/libc (31619): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdeadbaad in tid 31638 (launcher-loader)

148 times.

Happy "googling".

MTP host (or Download or File manager) is still crashing in LOS 14.1 sometimes and not just in our phones, so it has nothing to do with this case.

I was using CM13 for almost a year and I hadn't any problems, expect of course of the delayed ringing and the lost calls and notifications. These problems were more severe in CM14.0, but I as I have posted before, I managed to work around them.

Now I'm LineageOS 14.1 using microG instead of Google Services (I only use playstore, contacts and calendar sync adapters), I have TWRP instead of CM recovery, I have done some more fine tuning using Kernel Adiutor-Mod and my coconut is running smoothly (the delay in ringing is just a couple of secs), I don't even use Greenify anymore.

The real problem with these devices is Google, because Play services are becoming more and more resources hungry (the same applies for Google apps too).
[Xperia Arc Android Development] stevamirkovic:
I also had a similar problem today with boot loop and trebuchet crash after Opera mini install on ARC S. I fixed that via factory reset from recovery but unfortunately I also erased everything from the phone. :(
[Xperia Arc Android Development] Falk2:
Hello Azakosath,

thank you very much for your answer and time!!

You are totally write with your quotes of the catlog. Especially "invalid address or address of corrupt block 0x41 passed to dlfree" seems to me to be the key. It seems to mean that there is a storage conflict. See here: https://stackoverflow.com/questions/25069186/invalid-address-passed-to-dlfree .

So I am right with my bug theory. But who will fix it in the code?...

However, your description about your solution is very interesting. Maybe a different installation will help me (for any reason).

But please tell me: Which mobile are you using???

You know that my Ray has poor memory capacity!? And your mobile should also have this hardware conditions. Otherwise no wonder if you don't have my problems and can run CM14.

I tried CM14 but it was terribly slow and unstable. I don't think that my Ray can do it like your mobile.

However, I always installed a small Gapps version.

But the described system app crashes also appeared when I deactivated GooglePlay and Google Services. No change at all besides much more memory space. So I don't think that Gapps is the reason of the Trebuchet problem...

But didn't you also notice a big speed reduction from version 12 to 14 ?? You really can accept that?...

Another important question to you:

I am fixed to the Legacy Xperia kernel. So I cannot install another recovery. But you did. How did you do that?

There is no TWRP recovery existing for LegacyXperia (I guess because the storage addressing is changed here!!).

Where did you get yours from?...

Thank you for your additional help!

Many greetings.
[Xperia Arc Android Development] ITomaz:
Which tweak you used for cm 14?

---------- Post added at 12:18 AM ---------- Previous post was at 12:14 AM ----------

Use microg instead of small gapps

Try other launcher, like nova launcher if trebuchet crash
[Xperia Arc Android Development] azakosath:
[MENTION=4130710]Falk2[/MENTION], if you read the webpage you posted carefully, you will see that the problem should be one of your apps (and the way it is built) and not the system and since you can get in safe mode, start uninstalling your apps one at a time, or uninstall them all and install them again one by one. And if it is the system, then don't wait for anyone to fix it, because the project seems to be abandoned (the review server is down for several months now). But, I wouldn't be surprised if there are some bad blocks in your RAM (I'm sure there must be ways to check it, search for it).

About your second question, is that hard to pay attention to others people posts??? Almost at every post I note my phone model and when I post from my phone, it is in the byline. And about the specs see here... :silly:

If you disable Play Services then everything crashes in whatever phone you try to do it. And I have never said that gapps crash the launcher.

Don't ask me about noticing difference in speed between android 5.0 and 7.1.2, the last time I used CM12.0 was 3 years ago. If you want, I can tell you for sure that the best was CM11.0, but I'm not going back to Kitkat.

Guess what, I'm on LegacyXperia kernel 3.4.0 too. TWRP was one of the last changes in testing, I think Adrian's last test builds included it, but I'm not sure.

And, before you ask again, I was building myself and I included TWRP, an additional scheduler named "zen" (Mardon had added for his anzu builds), the patches required for signature spoofing in order to use microG and some others changes the guys were testing. But, all these I have posted them again more than once.

And please, don't say "thank you" again, because I'm not sure that you really mean it, I apologize for being mean right now, but that's the way I feel.

:angel:

[MENTION=6846018]ITomaz[/MENTION],

CPU Maximum Frequency 1401MHz

CPU Minimum Frequency 368MHz

CPU Governor ondemand

I/O Scheduler zen

Read-ahead memory 1024kb

Low Memory Killer: Foregroung Applications 27MB, Visible Applications 36MB, Secondary server 46MB, Hidden Applications 58MB, Content Providers 67MB, Empty Applications 81MB.

I have disabled doze using Boeffla (but I'm not sure if it has any impact) and I think in the build.prop:

ro.sys.fw.bg_apps_limit=8

maybe some more, but I'm not sure, my last build was in September and my hard drive failed "epically" in January (while trying to build O), so I lost all the changes I had done.
[Xperia Arc Android Development] Falk2:
Hello to all,

man, I am not stupid, am I?...

I now reinstalled everything a third time. This time without GAPPS. But it is not Gapps cause it is all the same:

1) I format a second ext4 partition on my new Class 10 toschiba SD card like the last one (a new Lexar 633x).

2) I format the system partition by flashing 'System-Formating-Tool_signed.zip'. I wipe data and cache.

3) I flash the last cm12.1 version (cm-12.1-20160216-UNOFFICIAL-LegacyXperia-urushi.zip)

4) I wait until everything is bootet and just configure my language (no WLAN, no SIM card, nothing)

5) I start the file manager and go into folder 'downloads' to install some apps there. As soon as I go into this folder the file manager crashes. I cannot install any app.

6) I put Root explorer in the sd root so that I can install this app now. Afterwards I go into download folder again. Root explorer crashes once. Afterwards not again.

7) I install a second little app (MyPhoneExplorer client). But before installation is finished the system makes a warm reset.

8) And after this reset Trebuchet is crashing now as well each time I access the app overview.

I cannot install another app without crash. (Trebuchet was just an example for crashing apps)

I swear, I didn't do anything outside the usual instructions!

But it is crazy. It definitely doesn't work....

So who can tell me why I am not able to run even CM12.1 ?

I cannot understand if others didn't make the same experiences! My mobile hardware is okay, naturally. And my SC card is okay as well.

As you can see at the catlog above there should be a memory bug.

I am totally desperate.

Who can understand the log some deeper and is able to explain what is happening in my case?...

Thank you very much.

PS: Azakosath, your mail was not very nice. Not even my thanks you could believe. Yes, I am unhonest and a total liar. Is that what you want to hear?...

Remark: Naturally I couldn't believe that you can work with a simular mobile than mine. Impossible with my last Custom ROM experiences. (I saw just from message #2553 that you once sent from a WT19i)
[Xperia Arc Android Development] 4ezahernya:
Has anybody found a solution for Skype and Viber (any version) don't transmit voice (Noone can hear me, but I can hear an echo of my voice) on cm13? The funny thing is that they worked just after the flashing, but factory reset is not really a solution.
[Xperia Arc Android Development] ITomaz:
I want use microg, cm 14 didn't support signature spoofing.

Xposed failed because system is odexed :)
[Xperia Arc Android Development] Ticklefish:
Have you tried deodexing it?
[Xperia Arc Android Development] ITomaz:
No, afraid when performance drops etc

And I didn't sure what makes this phone bootloop by installing xposed
[Xperia Arc Android Development] jcmolero:
I installed LOS 14.1 in the Mango and using the TWRP recovery, the SD card must have ext4 or f2fs format since recovery must mount it and register a size, it can be reformatted assuming the ext4 (for compatibility I guess). The sd formatting in advanced is not functional since it's assumed as internal storage already. Regarding gapps, the opengapps is already huge in the pico version, it doesn't install since does not fit in the available space (by 11k), and a older version generates aosp keyboard crash when trying to write something, the mardon gapps is incompatible since it crashes conflicting with the LOS one. The best functional for me is Agapps, it's small in size (55MB) and it has the core, mail, google play and google services, it doesn't ask for google account at first, only if running Google Play for first time. Wifi sometimes drops by short time and file manager generates a MTP error in the first time. It works well in general, sometimes slow
[Xperia Arc Android Development] davidlikeandroid23:
How to download?
[Xperia Arc Android Development] Erepb:
Hello guys.

I installed LOS 14.1 on satsuma and faced two issues:

GPS doesn't work at all

Battery drain is enormous.

Did anybody face same problems?

Thanks
[Xperia Arc Android Development] thisperson:
I searched this thread for any mention of the r800at model that does not have fastboot. Has anyone been able to install this successfully?

Should I go looking for 5.1? From what I remember 5.1 was an improvement on resource management and battery life. And 6.0 is a bit more heavy but very good as well. I would rather one of these two than 4.4 or 4.0. If anyone has successfully installed either please let me know. From what I understand I need an ftf file. But I have not seen anyone do a conversion for these two. If you know how one does a conversion I am all ears.

Thanks for your input!