System lags and crashes, makes impossible the use - Xiaomi Mi A1 Questions & Answers

Hi. I have a Xiaomi MiA1, Lineage 16.0 (I try to update it two or three times per week). It is rooted. I use openGapps.
I have a problem since yesterday: suddenly, my phone got a lot of lag that makes impossible the use. KLWP got closed (it stopped being the default background), Nova Launcher was lagging and restarting several times. Openning any app was impossible, including the settings and system, it freezes and closes, returning to the launcher home screen... I tried to stop, clean data and delete klwp, nova, but i got the same result. The minutes passed and it got worse. Finally, the phone freezed, the clock wasn't working, so the only solution was doing a manual soft reset.
So, yesterday I did a dirty flash, because I didn't have a recent backup. I used SDMaid database feature in the morning so I tought maybe it was bad executed and was the origin of the issue. I tried to rescue some information (to backup some app data) with oandbackups. I cleaned caché and did a Factory reset. It seem to work. and do a clean installation. at first, it seem like it worked. I installed the apps I had by my Google account, and went to sleep. Today, it was ready, I turned it off and charged it, and in the morning: again the crash. So I did a clean installation. Again, it seemed to work. It installed all my apps and... crash again. I fear it could be some launcher issue? any prob with lineage? Any app? How can I know whats happening?
Sorry for my bad english. Any help would be apreciated.

vainille said:
Hi. I have a Xiaomi MiA1, Lineage 16.0 (I try to update it two or three times per week). It is rooted. I use openGapps.
I have a problem since yesterday: suddenly, my phone got a lot of lag that makes impossible the use. KLWP got closed (it stopped being the default background), Nova Launcher was lagging and restarting several times. Openning any app was impossible, including the settings and system, it freezes and closes, returning to the launcher home screen... I tried to stop, clean data and delete klwp, nova, but i got the same result. The minutes passed and it got worse. Finally, the phone freezed, the clock wasn't working, so the only solution was doing a manual soft reset.
So, yesterday I did a dirty flash, because I didn't have a recent backup. I used SDMaid database feature in the morning so I tought maybe it was bad executed and was the origin of the issue. I tried to rescue some information (to backup some app data) with oandbackups. I cleaned caché and did a Factory reset. It seem to work. and do a clean installation. at first, it seem like it worked. I installed the apps I had by my Google account, and went to sleep. Today, it was ready, I turned it off and charged it, and in the morning: again the crash. So I did a clean installation. Again, it seemed to work. It installed all my apps and... crash again. I fear it could be some launcher issue? any prob with lineage? Any app? How can I know whats happening?
Sorry for my bad english. Any help would be apreciated.
Click to expand...
Click to collapse
Keeping in mind the kind of apps you mentioned, I'd go with an app+data backup of those apps you installed and uninstall them completely, check if problem is still there.
I suspect you're facing a compatibility or configuration issue, since both apps are related to home screen.
If problem is solved, first read if those apps are actually compatible with ROM and OS version, then you could try to install just one app, without data, and check if things go well (give it a day), same with the rest until you can confirm OS is working well with apps just installed, no changes made in them yet... In other words, were trying to confirm that problem comes from apps and/or their configurations, so you could somehow report those issues to apps developers. You can use Catalog or other apps to record System logs until app crashes.
On the other hand, if problem is still there, even before you started to reinstall apps, then Dirty flashing isn't a good choice in that case, since it preserves System configurations, no mention your device is rooted, were user changes are present... you are opened to different problems, worse if you use an old Magisk version, or installed modules there, or apps that force your OS to do things it doesn't do in it's original state.
So, as you were so dare to go with a dirty flash, you could better go with a clean flash instead.
Erase any system lock protection (fingerprint, pattern, etc), do a ROM Backup from TWRP, flash latest firmware and make a clean install of the latest version of the ROM of your choice, keeping in mind their own flashing procedure.

As with above reply, if a completely clean install doesnt work, consider going back to a previous lineage release. If it still doesnt work, consider a full EDL stock rom reflash using MiFlash -- then flash your custom rom.

KaaMyA said:
Keeping in mind the kind of apps you mentioned, I'd go with an app+data backup of those apps you installed and uninstall them completely, check if problem is still there.
I suspect you're facing a compatibility or configuration issue, since both apps are related to home screen.
If problem is solved, first read if those apps are actually compatible with ROM and OS version, then you could try to install just one app, without data, and check if things go well (give it a day), same with the rest until you can confirm OS is working well with apps just installed, no changes made in them yet... In other words, were trying to confirm that problem comes from apps and/or their configurations, so you could somehow report those issues to apps developers. You can use Catalog or other apps to record System logs until app crashes.
On the other hand, if problem is still there, even before you started to reinstall apps, then Dirty flashing isn't a good choice in that case, since it preserves System configurations, no mention your device is rooted, were user changes are present... you are opened to different problems, worse if you use an old Magisk version, or installed modules there, or apps that force your OS to do things it doesn't do in it's original state.
So, as you were so dare to go with a dirty flash, you could better go with a clean flash instead.
Erase any system lock protection (fingerprint, pattern, etc), do a ROM Backup from TWRP, flash latest firmware and make a clean install of the latest version of the ROM of your choice, keeping in mind their own flashing procedure.
Click to expand...
Click to collapse
I made a clean flash in the morning, with the same results, so there's when I thought it could be an app the main problem. It worked with Nova a few hours.
I just followed your instructions, I installed the last firmware (the jan one) and the last rom of lineage. I didn't installed the apps in my google backup so I can install them and check how is the behaviour. I will install CatLog so I can check the logs too! I really hope installing the firmware was enough. Thank you very much!
ayunatsume said:
As with above reply, if a completely clean install doesnt work, consider going back to a previous lineage release. If it still doesnt work, consider a full EDL stock rom reflash using MiFlash -- then flash your custom rom.
Click to expand...
Click to collapse
I was planning to reflash the custom ROM but I couln't find the latest one that's compatible with MiFlash. I really hope the clean install is enought... thank you

I was planning to reflash the custom ROM but I couln't find the latest one that's compatible with MiFlash. I really hope the clean install is enought... thank you[/QUOTE]What our partner said was flashing stock (original) ROM.
In any case, if you went with a clean flash, try to leave your system free of user installed apps for a few and check how it goes.

Related

Nexus 10 (manta), Lineage OS 13, bootloop with Nova Launcher

Hi,
A few days ago I experienced a boot loop on my Nexus 10 with Lineage OS 13, build 20170909.
I broke it down to a recent update of Nova Launcher - going back to an older version and preventing Google Play automatic updates fixed it for me.
There are a number of reports of the same symptom pointing to Nova Google Companion, TeslaUnread, IFTTT, and Action Launcher.
I don't think this is an issue in those apps, but rather caused in the OS - an App should not be able to bring down the OS to a reboot (and even worse, due to the automatic restart of the launcher, causing a reboot loop).
any ideas of a fix in the OS? something else to prevent this from happening again?
Regards
sthones
I confirm the same. Constant bootloop with Nova Launcher
I am also experiencing this on an older version of CM13. Clearing cache does not work. Any quick fix possible via recovery?
stephendt0 said:
I am also experiencing this on an older version of CM13. Clearing cache does not work. Any quick fix possible via recovery?
Click to expand...
Click to collapse
I had the same problem with a Galaxy S3 running OctOS (CM13 based Android 6.0.1). The Nova Launcher update caused my phone to crash and reboot as soon as it was unlocked.
I was able to disable Nova in recovery (TWRP) using the built-in TWRP file manager. navigate to /data/app/com.teslacoilsw.launcher/ and delete base.apk. This will keep Nova from loading on startup but will not delete your data. My phone worked fine after that, albeit without Nova.
Thanks a lot, removing base.apk stopped the reboot loop.
My device has just started a bootloop too, but I don't even have Nova installed on it (though I do on my phone), just the stock launcher in CM / LineageOS.
I reset it to factory defaults and then it boots, but when it restores my old apps it starts looping again, so one of them is the cause. I didn't learn anything from the log via adb.
Any ideas?
I discovered it was one of my apps causing this. I removed it and it boots ok. https://play.google.com/store/apps/details?id=au.com.realestate.app&hl=en
hmoffatt said:
I discovered it was one of my apps causing this. I removed it and it boots ok.
Click to expand...
Click to collapse
Thanks for the hint, it was a real estate app from germany (immoscout24) which caused the problem at my device. Deleted the base.apk and everything works fine again.
Happening to me now, ffs im on the latest nightly and thats not fixed it.
TheRealSmurf said:
Thanks for the hint, it was a real estate app from germany (immoscout24) which caused the problem at my device. Deleted the base.apk and everything works fine again.
Click to expand...
Click to collapse
Same here.
daseddy said:
Same here.
Click to expand...
Click to collapse
Mine just started boot looping yesterday, but I hadn't installed any new apps in a while, and I have automatic app updating turned off (I also don't have any real estate apps installed, German or otherwise). Any hints on how to track down the culprit? Is there a boot log to look at?
Thanks!
Folks, there is a defect open in the official lineage bug tracking system. please add your comments there - maybe this needs some more support to get looked at:
https://jira.lineageos.org/browse/BUGBASH-1075
Same here. Started happening after it updated my apps yesterday. Removed nova launcher and all other Teslacoil software, problem remains. Can only start the tablet in Safe mode.
Seeing this on my device as well, except I am not able to remove the base.apk file because the app I installed somehow corrupted my bootloader such that I cannot get into recovery mode.
The culprit app? LinkedIn. Automatic app updates were turned off, and just before the bootloop started, the last thing I did was install that app. It finished, it rebooted, and hasn't stopped rebooting since.
When I put it into bootloader mode, it stops the continual rebooting and displays the "open panel" robot and "Downloading... do not turn off target". From there, all I can do is press power to start, then it goes back into rebooting. There is no way to get into recovery mode from there.
Also, attempting to keystroke into recovery mode just restarted the lineos infinite reboot.
Can't get into recovery, can't get the bootloader out of "Downloading" mode, and lineos continually reboots... Any wise sage souls have any ideas on this one? It looks like my device is bricked
It got me too - I don't have Nova Launcher installed. A few weeks ago the device started bootlooping with a build I had installed since september. I updated to one of the latest builds and had the same issue again. At the moment i got it working most of the time, but when i start certain apps it just reboots.
Seems to be independent to build version and can occur with different apps (at least thats what I've read here...).
Is this a Lineage Os 13 only thing or can I throw the device away now?
Greetings
I started having this issue this week as well. Oddly enough, I was still on CM12.1. In the middle of watching Plex and it rebooted, and has been boot-looping since. I did a factory wipe and while installing apps, it started looping again. I then installed the latest nightly of LOS13.1 and again, once it got part-way installing apps, it started boot-looping again. So this is not just a LineageOS thing, it seems to be an app update (I do have auto-update turned on).
I´m having the same problem without ever have the Nove Launcher installed. The bootloop started on my device several weeks ago. I tried to fix it by wipe partly or total and reinstall the latest nightly of los13 (20171126) and opengapps micro 27.11.2017 (and everything else).
As soon as I reinstall my apps, los goes back to bootloop. Sometimes, when I manually install only few apps, the system seems stable, until die next updates come by the play store.
So now I went back to stock rom until I´m getting aware of the problem beeing solved.
workaround, maybe
I wouldn'n call it a bootloop but rather a startloop
Anyhow, in my case I was able to break the loop by entering android's safe mode by simultaneously pressing vol up and down keys during startup. In safe mode, I was able to delete offending apps. After reboot, system is running again. Apps identified so far to make lineageos unhappy: open camera, yalp store, YouTube(!).., oruxmaps.
Removing offending apps works
Thank you!
I did the same with your advice... removed some apps and it works. I went back to September ROM, then update to Nov ASB ROM and it works fine.
ShevT is on it, here https://jira.lineageos.org/browse/BUGBASH-1052
and here: https://review.lineageos.org/#/c/197386/
Hope it gets fixed and merged soon... as this has been a pain the neck for a while, possibly related to a similar problem earlier this year.
loveandmarriage said:
I wouldn'n call it a bootloop but rather a startloop
Anyhow, in my case I was able to break the loop by entering android's safe mode by simultaneously pressing vol up and down keys during startup. In safe mode, I was able to delete offending apps. After reboot, system is running again. Apps identified so far to make lineageos unhappy: open camera, yalp store, YouTube(!).., oruxmaps.
Click to expand...
Click to collapse
I'm running CM13 and I have the same problem. I am not tech savvy with installing ROMs but managed to get to TWRP and did a reset to factory. Got part way thru optimising apps and the problem came back. I could only turn the tablet off via TWRP!
I don't mind going back to stock rom but not sure how to do it..best I look on here and start to educate myself..I'm 73yo so might not get finished before my time is up

Unable to load webpages

As stated in the title, I can't load any web pages in Chrome, Firefox, and several other browsers. My wifi is fully functional, but I can't load anything related to web pages. So using the XDA App, I can browse the fourms fine, but if I were to open a link to Google or anything, it will crash and return to the XDA App. This occurs when I try opening links from apps like Facebook as well.
At first, I thought this was a ROM problem or something to do with my apps, so I format and decrypted my phone and clean flashed OOS 5.0.4. It seems to work well for some time, but returned a good hour later. Restarting each time it happens seems to fix it for a short while, but I am quite annoyed of constantly restarting because of this.
I've searched around and it doesn't seem like anyone else has this particular problem with their OP5s so I'd like to fix this up if I can.
I am still on OOS 5.0.4, but now with NewKernel 1.29 from the OP5T thread. I'm also rooted with Magisk beta v16.2 and have the Pixel 2 Oreo WiFi v4, OnePlus Camera M, NotoColorEmoji Patch Modules along with a systemless font module installed.
@StarzSkyz have you tried another network like mobile or other wifi?
strongst said:
@StarzSkyz have you tried another network like mobile or other wifi?
Click to expand...
Click to collapse
Yeah, each time it happens I try swapping from WiFi to data, but no difference. I'm currently trying to see if it was due to restoring a certain backup from Titanium Backup. I did recently find a post speaking of the problem, but for the use of debloater somehow affecting it. So it may also be due to the loss a system app.
StarzSkyz said:
Yeah, each time it happens I try swapping from WiFi to data, but no difference. I'm currently trying to see if it was due to restoring a certain backup from Titanium Backup. I did recently find a post speaking of the problem, but for the use of debloater somehow affecting it. So it may also be due to the loss a system app.
Click to expand...
Click to collapse
You said you did already a clean installtion. So clean install again without any restore of settings and 3rd party apps not provided by the rom :good:
strongst said:
You said you did already a clean installtion. So clean install again without any restore of settings and 3rd party apps not provided by the rom :good:
Click to expand...
Click to collapse
I feel like an idiot for not remembering about doing that.
I've clean flashed and left all the apps enabled and the problem hasn't appeared again. After taking a TWRP backup of that (just in case I mess up something again) I rooted without any modules other than the WiFi Mod(which I did feel like it being one of the causes, but it helped with connection speed) and the systemless font module and tried restoring only user app data(so a fresh install from the play store and then a app data restore, not touching system apps at all) and thankfully it didn't cause any problems, so I got to restore some data back.
Thank you for the advice of actually just clean flashing again, cause I was actually slowly uninstalling and restoring my apps. I apologise for not posting as soon as I found the fully clean installation working, as I really couldn't help myself and try see if it was due to having root and my user apps. Once again, thank you for your help with my problem here. If it appears again, I'll probably post here again if it happens again (hopefully it doesn't).

Apps crashes and random restarts

Hy everyone
After a lot of searches and flashing I have to open this thread.
No matter which oreo or nougat rom I tried I got constant app crashes and random reboots.
I have tried all oreo roms, nougat Roms and eui roms too.
Sometimes app crashes after one day or instantly after flashing.
I have tried different modems.
Tried without xposed and magisk but still apps start crashes on each rom.
I have clean flashed everytime too. But don't know why this is happening on all roms.
any one can help me out?
Thankyou
Heyyo, have you also tried doing a TWRP format data (by format data I mean format and not wipe) and then not restoring from a Google Cloud backup? There is a small chance that it could be a setting or something from your Google Cloud backup causing the instability.
Bit better
Hey, Thanks a lot for reply and I am sorry that I just read your response right now
First of all I didn't use Google cloud backup
I only restored from Tb.
I have already formatted data as you said and flashed new rom. Didn't even restore data from Tb.
As soon as I installed three to four apps from playstore phone restarted.
After installing all apps and setting up my phone.
Now app crashes are lot less then before but they still crashes like just Google stopped working until I restart phone.
Different app crashes after sometime and I have to restart phone to get them back to Work. Phone also restart sometimes.
Don't know why it's like that...
Is there any way I can check which app causing problems by myself?
Any suggestions?
Thank you

Google Photos - stuck backup

Hello people, I am new to this device and forum. I would appreciate any help you can give. I love the device, but I am struggling with something concerning Google Photos. It keeps getting stuck at various points in the backup process. I have searched several ways and have tried the suggestions about uninstalling updates, clearing the data cache, even purchased a new SD card... but still it is stuck. On previous phones, I have had NO problems with this at all on my previous phones. I have updated to MIUI 11 and I am using Nova Pro as my launcher. I have also tried using the Gcam mod on the phone and somehow I wonder if this is part of the issue?
Feedback please.
Solved with MIUI 11. Update and make full reset AFTER update (Settings --> About Phone --> Backup and reset --> Clean all data --> All).
Worked for me. If not, i dont know (try with another account?).
TinoSantos said:
Solved with MIUI 11. Update and make full reset AFTER update (Settings --> About Phone --> Backup and reset --> Clean all data --> All).
Worked for me. If not, i dont know (try with another account?).
Click to expand...
Click to collapse
Thanks for the info! So, were you having similar issues before you did the reset? I have already updated to MIUI Global 11.0.4 but I have not tried the reset yet.
To help with this conversation... it seems that if I remove all the Google Photo updates, it behaves correctly, BUT when I allow the app updates to go through, the backup issue returns.
I will try the reset suggestion soon and report back.
To keep this discussion moving along, here is an update... I did the full reset after I had already upgraded to MIUI 11, however, the same issue persists for me. If I allow Google Photos to update past what was originally installed, the app gets stuck again. I can uninstall all updates and clear the caches and it will start working OK again. This is a pain and the issue should not exist. Let me emphasize that the devise is NOT rooted and is all original. I have installed Nova Prime launcher from the Play Store and my usual apps.
Anyone else have ideas - outside rooting and using a custom ROM?
Ok, to add a little more... I removed Nova as I wonder if there is some incompatibility with how it works with MIUI. It was acting a bit odd at times and "often" it would loose its ability to display notification badges. It would say that I needed to enable notification access, but I am 100% sure that it was already allowed. I would then turn that permission off and back on and it would start working again. So, I have gone to the less custome "Poco" launcher which is sup[posed to be a more official Xaiomi product.

Question [Help] Nothing Phone 1 Bricked After Restoring with Titanium Backup

Hello XDA community,
I recently purchased the Nothing Phone 1 running on the latest version of Android 13. After rooting my phone using Magisk, I installed several Magisk modules which worked fine initially.
Here's a list of Magisk modules that I installed in chronological order:
Font Manager
NotoCJK
Fullscreen/Immersive Gesture
G-visual (later closed as I didn't see any effect)
Shamiko
DRM disabler
Revanced Youtube
Webview Manager (replaced with ungoogle chromium)
Nexus Media Before installing the 10th module, I took a full backup of my device using Titanium Backup. However, during the backup process, it got stuck while backing up a file named "Media 13-9427200." After several attempts, I had to cancel the backup for this file to complete the backup process.
Pix3lify (failed to unpack boot image and finally used slim mode)
Safetynet fix
After installing the 11th module, I went to bed and installed several applications before sleeping, such as Kiwi, Shizuku, App Ops, Buzzkill, Automate, Vmos, Brevent, and Greenify.
12.Audio Modification Library
13.Ainur Narsil
After installing the 13th module, I noticed that my phone started behaving abnormally, and it would automatically reboot. Every time I start the phone, the interface freezes after two minutes, and it restarts automatically after several seconds. This scared me, so I uninstalled all the Magisk modules and applications installed after the 11th module and disabled the two audio modules, but it didn't seem to work. So, I turned off the phone for a few hours, and it seemed to work fine after that.
When I tried to log in to my Reddit account, I found that I couldn't use "Continue with Google." When I went to the Google section in Settings, I found that I couldn't open it either.
I searched for solutions online and found that the problem might be due to the Webview. I replaced it with Ungoogle chromium and downloaded the latest version of Android Webview from the Play Store and disabled WebView Manager. But nothing worked. I tried updating the Carrier Services and clearing the Google Service's cache, but it didn't work either. (All Google apps can be opened and used normally.)
After updating the WebView, things got worse. I use a third-party launcher called Smart Launcher, and I have many customized app icons. I found that all customized app icons no longer work, only the native icons can open the app.
I am really frustrated and everything seems out of my control. I decided to restore all the data from the backup I made last night using Titanium Backup (in snap mode). Unfortunately, after the restore was complete and I restarted the phone, I found that my phone was bricked. I can see the boot animation and select the launcher, but once I choose the launcher, the screen goes black, and I cannot do anything. I am also unable to enter Safe Mode as it keeps restarting.
At the same time, I used a software control my phone. I can see NOTHING in sdcard.
What can I do? Is there any way to fix my phone and preserve my data? If not, I am willing to wipe all my data. Also, if I restore my phone to factory settings, can I still use the backup data I made with Titanium Backup?
Thank you in advance for your help.
Additionally, please find attached a screenshot of the only interface I can see on my phone after booting up.
Seems you've broken lot of system apks , clearly Nothing Launcher is first . See if you have a intact bootloader and use fastboot commands to flash the launcher but I'm quite sure there many culprits in system .
So maybe short way is to flash entirely system image shown here in one of all threads about phone unbrick
muppetz said:
Seems you've broken lot of system apks , clearly Nothing Launcher is first . See if you have a intact bootloader and use fastboot commands to flash the launcher but I'm quite sure there many culprits in system .
So maybe short way is to flash entirely system image shown here in one of all threads about phone unbrick
Click to expand...
Click to collapse
Thanks for your advice!

Categories

Resources