Xperia Z3 5.1.1 - random system restarts - Xperia Z3 Q&A, Help & Troubleshooting

Hi guys,
My girlfriend purchased a brand new Xperia Z3 D6653 not too long ago (about 2 months ago?). I flashed the 5.1.1 pre-rooted firmware for her and it's working fine and all but it does a random reboot every day or so, at random times, with random applications.
I have tried 2 different pre-rooted 5.1.1 firmwares already (yes, the correct model D6653 as well) and it still does it. The System Incident reports don't really say much (in fact you only see details about when it crashed, nothing else), and it seems like Google Play Services is the only thing mentioned in the Application Report.
The same thing also happened (more frequently) when she was on the 5.0 pre-rooted firmware. I'm not sure why, I haven't unlocked the bootloader or anything, it's just stock pre-rooted ROM, that's it. I haven't flashed any other ROMs other than the official pre-rooted ones.
Furthermore, before I flashed the 5.0 and 5.1 firmware for her, the phone came with Android 4.4.4. She used it for a month and reported several crashes as well, so that's with the original factory firmware, unrooted, unmodified etc.
She doesn't run any dodgy or random apps, she's just a typical girl that use Facebook and texting, that's pretty much it. I've done a lot of research on this issue and it seems to be quite common, however there isn't really a solution to this. The same apps she currently use never caused any issues on her older phones.
Also in case anyone asks, the only reason I flashed the pre-rooted 5.1.1 firmware for her is because it makes it easier for me to manage her phone (with Teamviewer, you can remote into the phone as long as it's rooted). Also, I get to backup her phone and do tests etc, makes it easier for me.
Also, I'm not using any custom kernels or overclocking the CPU etc. Everything is just stock but rooted.
Could this be caused by a hardware fault in the phone? I'm not sure what else I can do and would appreciate some suggestions.

Nobody have this issue??

Well, how about you try to flash a full, clean, stock ROM, don't root it, don't install any unnecessary app and see where it goes? If the issue persists, try getting a logcat from the phone and we can take a look at it. If it works fine after returning to stock, there might be a problem with the ROM or some apps you are using.
If it really is Gapps that are causing all the trouble, go to APKMirror and download the latest apps available (Play Services, etc) and see where it goes.

As mentioned already, prior to flashing anything, my girlfriend was running a completely stock, factory version of the phone. It came with Android 4.4.
I could flash a completely stock 5.1 ROM but was hoping that someone would share their experiences or a potential solution to this, considering this is quite commonly asked. I would also like to avoid doing this if possible, because if I were to go back to rooting the device, I'd have to downgrade to v4.4 pre-rooted, then flash to 5.1 rooted with custom recovery. It's just a lot of work for a simple testing that could be answered by others if possible.
Anyway, she didn't have any apps installed other than Facebook and Whatsapp, that's it. I might test with GAPPS and see how it goes, but I thought I'd ask here in case someone knows it's definitely a hardware issue or something else.

i would definitely give a pure stock 5.1.1 a go. I used to get the random reboots on the previous versions but i no longer have such issue.. Make sure you do a clean wipe and do it a few times.

Hi all, it's been a while but I thought I'd post an update and share what I've found/learned so far....
Basically, I'm still getting the frequent random reboots. I've tried reflashing the ROM and also tested out the latest .232 pre-rooted stock ROM, still getting the same issue. I've noticed that other than Google Play Services, sometimes Gapps will crash as well. But most of the time, there's nothing reported in the system or application crash logs. I've tested with everything running as stock, no additional apps installed. I then decided to flash the Minimal GAPPS 5.1.x and that sort of made the phone a bit more stable, but still reboots randomly every now and then.
Later on, I decided to try a custom ROM that still works on a locked bootloader. I found this here:
http://forum.xda-developers.com/z3/development/d6603-23-1-1-28-t3102271
The chef has provided a .232 firmware for you to flash in recovery, as well as the ROM base for the D6603 model. Mine is a D6653, but luckily the chef has also provided a D6653 patch for you to flash as well. I've flashed the ROM like so:
1. Wipe everything except my external microSD in TWRP. So basically, wipe system, data, cache, dalvik, internal storage etc.
2. Install .232 firmware.
3. Install v10.5
4. Install v12.0
5. Install D6653 v5 patch
It boots up fine but after using it for a while, I still get the random reboots. What's interesting is that I've also tried without flashing the D6653 patch, which essentially means I'm running just the D6603 base ROM on my D6653. It works, but still crashes as well. I just found it quite surprising that a D6653 could run a D6603 ROM, but it does make sense considering the main differences is just the baseband/frequencies.
Anyway, I later on decided to flash the pure 5.1.1 stock ROM, still getting the crash. Again, everything is tested on pure stock, no additional apps etc installed.
I'm starting to think perhaps this is a hardware issue on my phone?? I noticed that sometimes, my screen will show a bit of tearing and then it'll crash not long after. BUT, I also know that as soon as gapps or google play services crash, the phone will crash not long after as well.....
In fact, I later on used Titanium Backup to convert Google Play Services from a System to a User app, the phone will just boot into the lockscreen and then restart every time. This is a bit ridiculous because I've done this several times on other phones before and they never had such an issue. Of course, I'm not saying I always run Google Play Services as a User app, but that was just for testing and I honestly don't think it should cause a bootloop just because of that. I've also cleared dalvik and cache by the way, so it doesn't make sense that the phone boots into the lockscreen and then just restarts randomly.
I haven't tried uninstalling Google Play Services completely, but at this point I'm back to square one as I've exhausted pretty much all my options and it's been a complete waste of time. I'm beginning to hate this phone more and more. The only thing left is to unlock bootloader and play with other custom ROMs. But yeah, flashing the .232 firmware didn't fix it, AND flashing pure stock 5.1.1 Android didn't fix it either...
Just wondering if others have the same issue and any ideas what could be causing it? If I provide some Logcat logs, would someone be kind enough to look into this for me?

Update:
I'm still getting the random reboots and I think it's very likely to be hardware related. But sometimes also a bit related to software, specifically with Google Play services. I've had more time to test out a few things since my last update, they are as follows:
- Tested complete stock 4.4 ROM without root. Still crashes every now and then, but not as much compared to 5.0 and 6.0 (doesn't matter if it's stock or custom ROM).
- Finally gave in and unlocked bootloader (backed up my DRM keys of course). I thought perhaps that the stock Sony roms (and even the stock-based Sony custom roms) have issues for some reason. They are all the same base, so I thought I'd do a fair test by trying a completely different based rom, such as AOSP. I've used CM 1.2.1 nightly here:
forum.xda-developers.com/z3/development/rom-cyanogenmod-12-nightlies-xperia-z3-t3010201/page117
And yes, I know that nightly have bugs, but the nightly build as of 2016-03-03 seemed pretty stable according to most users. I've tried various other AOSP based roms and stock based Sony roms (for unlocked bootloaders) and they all produce crashes.
I've flashed custom kernels as well and updated my recovery to TWRP 3.0, but all the same results. On all of the custom ROMs I've flashed, the only thing I've done was setup my Google account (so I have my contacts and Gmail) and that was it. No other apps installed. I wanted to limit the environment down to just the stock setup of the ROM itself, as this helps me rule out any potential bugs caused by 3rd party apps.
Having done all of the above and still resulting in crashes, it's safe to assume that this is most likely unrelated to the software, but hardware. I've noticed that sometimes when I scroll a page too fast and move it up and down with my thumb, the screen will freeze and restart.
However, sometimes I will get crashes related to Google Play Services. Anything that relies on Google Play Services will crash randomly. If you re-open the apps, it just crashes again. If you force stop the app and open it, still crashes. The ONLY fix is to restart the phone. I have tried flashing different GaPPs, starting with the pico and nano versions, as well as the ones recommended by the ROM chefs. Still the same result.
So the conclusion is, I haven't really gotten anywhere with this annoying issue. There's definitely an issue with the phone somewhere, maybe a bit of software related, but mostly hardware.

Related

[Q] Google search and chrome keep crashing

I own the boost mobile XT1031 model and finally decided to unlock the bootloader and root the device. Everything was going fine. But not Google search and chrome wont work. Search crashes and gives me an option to report it. Chrome and chrome beta fail to connect to the Internet even though other apps such as Facebook, REddit and other Google apps connect just fine. When i go to enable now cars it says that i need to check my Internet connection. The only other thing that has changed is the font is different for some reason. I did install a few xposed modules to change the look and feel, such as Gravitybox, Android L Theme, and tinted status bar. They seemed to have no effect on the device in a negative way. I also had greenify but i only had it hibernating apps i hardly used. If anyone knows what to do to fix this it would be very appreciated.
I would like to add that the issues are still persistent even after factory reseting the phone. I am running stock rom, Would it be possible to get rid of these problems by reflashing the original rom or flashing a custom rom? I am also using TWRP. I do have a backup of before the issues started but that is on my laptop which i won't be near until Wednesday. Thank you again in advance.
I would try flashing back to stock or your original recovery and try the different xposed modules one by one to see which (if any) are causing the issues. Have you tried installing a custom rom?
Onion Grease said:
I would try flashing back to stock or your original recovery and try the different xposed modules one by one to see which (if any) are causing the issues. Have you tried installing a custom rom?
Click to expand...
Click to collapse
No custom ROM yet, I was thinking about flashing CM11 but so far have no other plans. I have a backup saved on my computer from before i installed the different modules, would that fix the issue of the crashing apps and font?
PV.Srg said:
No custom ROM yet, I was thinking about flashing CM11 but so far have no other plans. I have a backup saved on my computer from before i installed the different modules, would that fix the issue of the crashing apps and font?
Click to expand...
Click to collapse
It should, but you may want to update your apps to current versions as well after the restore. I don't know how old your backup is, but updating may solve some your issues.
I would definitely resist the urge to try any lollipop roms on the xt1031, as their are numerous connectivity issues at this point for cdma. But there are some great KitKat Roms (CM11 is one of them) available. I'm currently using PA.
Onion Grease said:
It should, but you may want to update your apps to current versions as well after the restore. I don't know how old your backup is, but updating may solve some your issues.
I would definitely resist the urge to try any lollipop roms on the xt1031, as their are numerous connectivity issues at this point for cdma. But there are some great KitKat Roms (CM11 is one of them) available. I'm currently using PA.
Click to expand...
Click to collapse
Thank you, I resisted the urge and now there is a soak test zip so ill be doing that soon.
I restored the backup, it was 2 days old, and everything is working fine now. Adaway for youtube was the cause of the crashing, as for the font change, i'm not sure.

Hardware issue G955F ?

Hi,
I have repeatedly weird issues with my phone. Both on stock rom as well as on custom rom (Renovate ICE) i get permanently apps crashing and the phone rebooting /crashing very often. Its mostly unuseable.
I also had issues in reflashing stock in the first place, as described here: https://forum.xda-developers.com/galaxy-s8+/help/reflash-stock-fails-mismattached-t3754609 it took many attempts.
Today I wanted to give it a new try flashing the newest Renovate ICE version and now after using Aroma installer (which in the first run threw an error also, only the 2nd run workd) the phone is again not booting at all but stuck on initial logo.
I am feeling this must be a hardware issue. Is there any means to test this (e.g. memory failure, or something similar) ? Any experiences like that by anyone?
Im not sure if I can try to return the phone (it is just a few weeks old) given that i flashed custom firmware. Recent Renovate ROM claims it would Reset Knox to 0x0 but since it does not even boot Im not sure about that either.
Any suggestions?
Thanks

SIM Unlocked G920W8, 9.0 and 10.0 ROMs no longer detect SIM.

*SOLVED: see reply*
The ROM I used before was LineageOS [10.0] and used a custom ROM with Android 9 before that. Needed to unlock my phone, and couldn't do that on Lineage, and had troubles flashing firmware with Odin, so I ended up using FrankensteinS6. The Stock kernel seems to let me input the NCK, and unlock the phone. So that's luckily finally over.
For about 4 days now I've been formatting phone and trying again and again. FrankensteinS6 works, some other 6.0/7.0 ROMs work. But LineageOS now enters a bootloop, and Pixel Experience (9.0 and 10.0) and Evolution X 10.0 don't detect the SIM. The ones that don't detect SIM also show no IMEI, which was worrying at first because I though I lost a partition.
Possibly related, the ROM of Pixel Experience Android 10.0 for G920W8 will not install because (paraphrasing) "This device is zeroflte, this file is for zerofltecan, zeroflte***, zeroflte***" claiming that my phone isn't one of those models. I got this S6 from Bell Canada, and I still have even the sticker that says it is a G920W8, not G920F. However, the Pixel Experience ROM for G920F flashes fine (sans the main problem).
I don't know the exact LineageOS ROM I used before, but I've tried all of their 10.0 releases, tried redownloading, and I get the bootloop every time. I see some info online of flashing modem firmware, but... I don't even know where to start with that. As I mentioned at the start, Odin is crapping out. I couldn't flash firmware with it, because it would reject the phone right after I started flashing. Anything I could do within TWRP would be great. I moved it back to FrankensteinS6 for my sanity, I started doing this Sunday and I'm starting to repeat steps over and over hoping that it just solves itself.
I tried to keep this straightforward, and I'm sure I did a bad job. I can extrapolate on what I have attempted. Please tell me what I have to do to get an android 10 ROM working on this old beauty again.
I do not have all the solutions. As per my tests with my SM-G920W8. I have managed to find ROMS and try them out. I have only seen Nougat 7.0 ROMS to work almost flawlessly. NOT 7.1.2, important, 7.0 only.
I have also tested some Pie and v10 ROMS like Pixel Experience. The ROMS boot nicely but since I do not use a SIM card to call as I use SIP phone numbers and require WiFi. But that left asside, I came upon serious camera issues no matter what I try. Up to now, SamStock ROM is pretty much the best Stock ROM I found but I always need to run the Magisk UNINSTALLER before re-installing the latest Magisk version..
As for Kernels, well, Anything that is oriented with Lineage OS, I've had camera issues even with Nougat v7.0. So basically, the only ROMS I found good, as of today, for now, are stock ROMS v7.0. But, to do your tests, Even if you have a 920F ROM, you can download a 920W8 kernel as long as you download a kernel which supports your installed Android version. Also make sure to download the proper Stock or AOSP kernel (AOSP for LineageOS). There's not many but there's a few ones that work properly.
Another option is to download an AOSP ROM that works for W8 phones, unzip the file and grab the boot file inside corresponding to the W8 or T-Mobile version. You simply unzip your real ROM you want top install, replace the boot file for the one you got and rezip it. This made my phone boot properly for some F version ROMS but again, not without issues. That's why, I really suggest v7.0 Srock ROMS. I hope this helps you a bit. Again, you can have your own tests and other users may have other answers, but this is based off over 30 bootloops in my case of trying to mod a ROM for the W8 model. It's not easy to find a good one for Canada, I admit!!!
I flashed TWRP years ago, and I found out that I had a G920F version flashed. I don't know why Lineage allowed me to use SIM before, but rectifying this issue seems to made the SIM work in newer versions.
I don't know what the S6's predisposition to having crashing cameras is, but I have avoided this in the past by using custom camera apps, like Open Camera. This has saved me every time.
As for the boot loops... I think another thing that helped is that "format data" doesn't wipe the OS. When you are in recovery, having issues with bootloops in various ROMs, try advanced wipe, and wipe the system. It didn't fix right away, but the time I got Pixel Experience 10 up and running that was the trick.

Recent strange experience with this device

I have a Moto G3 XT1543 and since december I have given this device a second life and have been using it as a secondary phone. I decided to install LOS 14.1 because I feel is better for this device than LOS 17.1. Since then I had been using the phone and installing the updates without problems until a few weeks ago.
I thought I couldn't install the update because my version of TWRP was so out of date. So I decided to install the latest version for this device (twrp-3.5.2_9-0) and I was able to update the rom but it got me a lot of bugs, basically forced close in many processes.
So I decided to do a clean installation but still had a lot of bugs. So I installed previous versions of the rom, including the first one that I installed and worked fine, but it still had a lot of bugs (basically forced close in many processes, as I said before).
So I decided to go back to the TWRP I had before (twrp-3.4.0-0) and the bugs disappeared and I was able to use the rom without problems, but no matter what I do I cannot get youtube working now.
The gapps that I have been installed are open_gapps-arm-7.1-pico-xxxxxxxx and I have done all the possible combinations: old gapps with the most recent rom (lineage-14.1-20210829-UNOFFICIAL-osprey), the most recent gapps with the oldest rom I have (lineage-14.1-20201221-UNOFFICIAL-osprey), the oldest rom I have with old gapps and the most recent rom with the most recent gapps, but youtube still doesn't work
As I said before, it doesn't matter what combination I do, even the first one I installed and worked since last december, nor what version of YouTube I have installed, the application closes. As a possible solution I have deleted cache and data of youtube but the problem still. The funny thing is all the applications that I have, including other google apps (chrome, gmail, maps) work without problem.
I have tried alternatives like YT Go, YT Vanced and New Pipe and all three work without problem, but honestly, although they are better alternatives, I don't want to use them.
So does anyone know how to fix this?
I used this weekend for testing and long story short I can use youtube but I have no idea how it was fixed.
But I will tell you about everything I did in case someone in the future is going through a similar situation to mine.
Following the indications that FNetV1 gave me in another post, I downgraded my TWRP version to 3.0.2-r5, then I installed the oldest rom I have (lineage-14.1-20201221) with the oldest gapps I have (open_gapps-arm-7.1-pico-20210112) but youtube was not working.
So with that same version of TWRP I installed the most recent rom available (lineage-14.1-20210829) with the most recent gapps and still youtube did not work.
So I installed the latest unofficial version that Squid2 developed for this device (twrp-osprey-3.2.3-r1) and then installed the oldest rom I have with the oldest gapps I have. The result was the same, youtube was not working.
I thought the problem was the gapps, so I installed the latest rom available with the most recent gapps but now with the Nano package. But the result was the same, youtube was not working.
So I gave up and for the last time I reinstalled the latest rom avaible with the most recent gapps, again with the pico package and as expected youtube was not working.
The funny thing is after I finished setting up my phone, I restarted it, reinstalled YouTube and voilĂ , I can now use YouTube without any problem.
As I said at the beginning, I have no idea how the problem was fixed, especially because I also rebooted my phone on several occasions with the previous tests.
So if anyone has an idea what I did wrong from the beginning or how the problem was fixed, feel free to comment.

Kernel and System UI Crash After Leaving Wi-Fi Range [Others?] [H990]

I've had a strange issue with my LG V20 ever since I got in last year and installed LineageOS 18.1 after rooting my H990 on LG firmware 10d (H990ds10d_00_OPEN_AU_DS_OP_1216.kdz) with DirtySanta and installing TWRP. Whenever I left the range of my Wi-Fi network, I would cause the System UI to become unresponsive while doing certain tasks - Unlocking, going to Settings -> Wi-Fi, expanding the Wi-Fi quick toggle in notifications, and probably a few more things.
This doesn't happen on the aforementioned stock firmware, nor on 10g AU 0117 stock firmware either.
For a while, I dealt with it by simply not using Wi-Fi. This sucked because I couldn't access computers over LAN, mobile data was slower, and it also had a data cap that I had to be wary of.
However, I decided I wanted to fix it.
I saw some recommendations involving installing every Lineage version since 14.1 sequentially until the latest. This didn't make sense to me, as clean flashing shouldn't leave any remnants behind, but dirty flashing that many versions went against everything I'd ever heard of regarding custom ROMs.
I also heard that it could be a modem firmware issue. Since I started on the last version of the stock OS for my region vulnerable to DirtySanta I thought surely not.
I later found out about KDZWriter, and used that to install the latest Nougat version of the stock rom available (also mentioned above). After installing that, I tried installing the latest LOS on top, which constantly informed me that com.android.media had stopped, I still had the LG sounds and wallpapers, and I didn't go through the initial setup - A sign of a dirty flash. I was still crashing in the same way too.
I formatted my data partition in TWRP (the "type yes to confirm" way), and tried again. Same crashes.
I've been awake for a little too long trying to fix this, but :
What I believe ended up working was backing up my /efs and /firmware partitions in TWRP while on rooted 10g firmware, dirty flashing LOS on top, formatting data as before, then flashing my /firmware backup in TWRP.
I'm hoping for this thread to document this issue as well as the fixes that worked for people. I saw tidbits of information spread out everywhere, so I'd like a central repository for it.
I hope this caffeine-induced writeup will help someone else with the same or similar issues.
If I have any more experiences with it, I'll do my best to write them down. Please share your experiences too!

Categories

Resources