MI A1 - Settings app crashing when trying to change screen lock - Xiaomi Mi A1 Questions & Answers

Today, I noticed that I had once a pattern lock and the phone just opened on swipe.
So, I went to settings and the security was set to swipe (I didn't change it). I clicked on it and the settings app crashed. Everything else in settings is working fine. Its just this thing causing trouble.
So the phone is crashing when trying to change screen lock
Some things you should know
1. I had rooted my phone with magisk manager about two weeks ago
2. I had substratum theme installed and overlayed on almost all apps including settings
3. After the settings crashing problem, I uninstalled magisk and had a full unroot and updated the security patch with a stock boot image
4. Everything else is still fine, but the settings crashing problem persists
I uninstalled all the apps that required root access before unrooting
Now the phone is unrooted back to normal no theme overlays, but the settings is still crashing when attempting to change screen lock and the fact being that it automatically changed to swipe
Any help would be appreciated

awesome_paneer said:
Today, I noticed that I had once a pattern lock and the phone just opened on swipe.
So, I went to settings and the security was set to swipe (I didn't change it). I clicked on it and the settings app crashed. Everything else in settings is working fine. Its just this thing causing trouble.
So the phone is crashing when trying to change screen lock
Some things you should know
1. I had rooted my phone with magisk manager about two weeks ago
2. I had substratum theme installed and overlayed on almost all apps including settings
3. After the settings crashing problem, I uninstalled magisk and had a full unroot and updated the security patch with a stock boot image
4. Everything else is still fine, but the settings crashing problem persists
I uninstalled all the apps that required root access before unrooting
Now the phone is unrooted back to normal no theme overlays, but the settings is still crashing when attempting to change screen lock and the fact being that it automatically changed to swipe
Any help would be appreciated
Click to expand...
Click to collapse
Tried to clear data of settings app ? If doesn't help reflash full rom.

NITRO_100 said:
Tried to clear data of settings app ? If doesn't help reflash full rom.
Click to expand...
Click to collapse
Clearing data didn't help....will reflashing delete all data

reflashed full ROM...used preserver user data option....still the issue remains the same....please help

awesome_paneer said:
reflashed full ROM...used preserver user data option....still the issue remains the same....please help
Click to expand...
Click to collapse
Very weird..I guess the last option is to full reflash with wiping data.

NITRO_100 said:
Very weird..I guess the last option is to full reflash with wiping data.
Click to expand...
Click to collapse
flashed full ROM...issue solved...thanks a lot for your help

Related

[Q] Nexus 4 4.3 update won't get past unlock screen without crashing

I had the update notification for 4.3 today and went to install it. Everything appeared fine. However, when the phone rebooted and showed my usual screen unlock, I swiped it in and then the phone crashes back to the X - so android is loading and I can see my wallpaper and the time and everything as usual, but screen unlock reboots the phone. The only other problem that I've noticed is that the forward camera doesn't work to use face recognition to get the screen to unlock - the screen is always showing as black when normally my face is there.
Any tips for a fix? I'd rather not wipe all my data as I'm on a slowish bandwidth connection for the next couple of weeks.
kabads said:
I had the update notification for 4.3 today and went to install it. Everything appeared fine. However, when the phone rebooted and showed my usual screen unlock, I swiped it in and then the phone crashes back to the X - so android is loading and I can see my wallpaper and the time and everything as usual, but screen unlock reboots the phone. The only other problem that I've noticed is that the forward camera doesn't work to use face recognition to get the screen to unlock - the screen is always showing as black when normally my face is there.
Any tips for a fix? I'd rather not wipe all my data as I'm on a slowish bandwidth connection for the next couple of weeks.
Click to expand...
Click to collapse
Do you have an unlocked bootloader?
abaaaabbbb63 said:
Do you have an unlocked bootloader?
Click to expand...
Click to collapse
Yes - why? Can I download the data somehow using adb? What difference does this make?
Got the same problem on my Nexus 4, updated via normal Ota, unlocked bootloader and rooted.
Any solutions apart from a complete factory reset?
Sent from my GT-P3110 using xda app-developers app
kabads said:
Yes - why? Can I download the data somehow using adb? What difference does this make?
Click to expand...
Click to collapse
Well, you could make a nandroid backup. That way, you will have your data saved. After that, install a stock rooted 4.3 ROM and only restore data from recovery.
Or, Adb could work too. It would backup your data to your PC, and you could restore after you reinstalled the ROM.
I don't really know why, but many updates to 4.3 failed. That's why a data wipe is always recommended.
I always use Titanium Backup. It's very simple and easy to use.
I've used Nandroid before - not sure why I didn't think of it - thanks.
kabads said:
Any tips for a fix? I'd rather not wipe all my data as I'm on a slowish bandwidth connection for the next couple of weeks.
Click to expand...
Click to collapse
I had this exact same problam and was able to fix it without losing data, settings or installed apps.
My Solution:
Download factory 4.3 image and extract system.img. You need to untar the gzipped file and then unzip the included zip file to get system.img
Flash only the system.img and reboot. (fastboot flash system system.img)
When the phone is rebooted, root will be gone, but all installed user apps, data and settings should be preserved.
Background:
After the 4.3 OTA, my phone would reach the lock screen and receive notifications. Sometimes a call would make it through and I would be able to answer, but most of the time calls went straight to voicemail. Callmaster might have contributed to this behavior.
However, if I attempted to enter a pattern on the lock screen, the phone would immediately reboot.
I was rooted using SuperSU prior to the OTA. My Nexus was also affected by the issue were attempting to access the 4.2.2 Security Settings resulted in an error. I never got around to fixing that issue, but suspected that the 4.3 and 4.2.2 problem were related.
solution that worked for me: keep failing pattern until prompted to type in google account details to login, it then worked for me after that, no longer rebooting when unlocking

[OT]Got official ota marshmallow (didn't captured)!!!

Yesterday I got official M ota on my Moto G 2 Lte (Xt 1078 - Brazil)!
Just updated and everything was ok, no reset was needed.
Some tips:
- Can't activate System Ui Tuner:
In the developer options I turned off animations. Just restored the default option (1x) in all 3 animations, restarted
the device and voila, I could activate the System Ui Tuner (holding the cog icon). After that, disable the animations
again did no mess.
- Igo stopped working:
Just uninstalled and reinstalled the app (without delete the files), and it's working again.
- Greenify stopped showing black screen while hibernating apps (screen flickering):
Needed to give it permission to overlap other apps (in Settings > Applications > Advanced (cog wheel))
- Smart unlocker stopped working:
Works on the "Universal version"
A factory reset is always a good thing when you do a major version update, and reading "Just uninstalled and reinstalled the app (without delete the files???), and it's working again" lead me to think a factory reset should fix all your problems. Sad thing you can't backup your appdata or you will end in the same situation, not sure but mostly possible.
dr.nic said:
A factory reset is always a good thing when you do a major version update, and reading "Just uninstalled and reinstalled the app (without delete the files???), and it's working again" lead me to think a factory reset should fix all your problems. Sad thing you can't backup your appdata or you will end in the same situation, not sure but mostly possible.
Click to expand...
Click to collapse
But the only problem I had was the app Smart Unlock that isn't working in 6.0, I found the solution.... everything else is fine.
Factory reset is a last resort, because if I do it my bank app will require an activation in the bank, and I don't want to go there...
Ota file on the thread http://forum.xda-developers.com/moto-g-lte/general/mm-ota-xt1078-captured-brazilian-thea-t3313559
rafaelrgi said:
But the only problem I had was the app Smart Unlock that isn't working in 6.0, I found the solution.... everything else is fine.
Factory reset is a last resort, because if I do it my bank app will require an activation in the bank, and I don't want to go there...
Click to expand...
Click to collapse
For banking app, Take app+data backup using
Titanium (if rooted)
Helium (even without root)
nazir221 said:
For banking app, Take app+data backup using
Titanium (if rooted)
Helium (even without root)
Click to expand...
Click to collapse
Thanks for the advice, but my device isn't rooted and the Helium backup doesn't works for my bank (it has a #@$ seed for code generation, just Titanium can backup it, but I didn't rooted it).
I won't worry about it, because didn't reset it and it's working flawlessly....

Issues After Root - Rotation and Encryption

Howdy,
I got a new Note 4 from Bell Mobility about a month ago...
I updated the software, rooted it and installed the Wanam modified Xposed framework.
I have lost the automatic rotation, except for the built in camera software. Nothing else will auto-rotate. Checked the gyroscope and checked a few 'leveler' applications - all tests pass. Oddly I noticed the camera software still auto-rotates, no idea why it is special.
I tried the Wanam Xposed module to 'Enable all rotation angles' it has made no difference. With screen rotation software, currently have "Rotation - Orientation Manager by Pranav Pandey" installed. Auto-Rotate On and Forced Auto-Rotate neither option will rotate the screen when I turn my phone. If I choose Forced Landscape, it will go into Landscape mode. The only way to return to Portrait though is to use one of the Force Portrait options though.
My other issue is with turning on Device Encryption... Using SuperSU Pro for su..
If I just go through the prompts without changing anything, it reboots but doesn't encrypt.
First I tried installing as a system app so I could use the Disable function in the Android Application Manager, as I did with my Note 2, SuperSU tells me "Not (currently) available in system-less root mode".
If I turn off "Enable Superuser" in SuperSU, encryption enables properly, but I am unable to turn the "Enable Superuser" again, it says it has to update, but the fails. Suggests a reboot and try again. Sadly, this did not help.
I had success with one of the exploit root methods, KingRoot. While this worked when my phone was encrypted, it wasn't stable and kept popping up stuff. I tried to replace it with SuperSU, there are a few guides written to do just that, but they all indicate that it is very hard to get rid of, regardless, none of the guides worked for me. I ended up resetting the phone and starting over...
I tried the CLI command to start the device encryption from a # prompt..
vdc cryptfs enablecrypto inplace password 1234567890abcdef
The phone rebooted a couple times, but took a very long time (hour plus) to come back to the Android Lock-Screen.. But still a non-encrypted device. If I intrupted the process because I thought it had crashed, it started up and immediately told me something when wrong with the encryption and I need to use Recovery to reset the device..
As for root methods, I was using the CF-Auto-Root at first, trying to look for solutions to both issues, I tried a few ways of getting SuperSU installed.. The last time I reset I tried the "SkipSoft Unified Android Toolkit" method. 'Grasping at straws' to get SuperSU installed into /system so can use the Applicaiton Manager to disable and enable it...
My mobile's specifics, if it matters..
Samsung Galaxy Note 4
Model number - SM-N910W8
Android Version 5.1.1
Baseband version - N910W8VLU1COK3
Build number - LMY47X.N910W8VLU1COK3
Currently have the Team Win Recovery Project v2.8.7.0 recovery software installed.
I am looking for suggestions for both issues, but really want to avoid resetting the phone if I can at all possible... Yes, I have Titanium Backup Pro installed, but have never actually gotten a restore to properly restore all my applications and data... I rely on it now just for the Uninstall and Freeze features.
For an update,
I also noticed that rotation works on the Lock Screen and in the camera applicaiton.
If I rotate my screen on the Lock Screen, the red handset picture and camera icons rotate.
If I rotate in the camera application, nothing changes position, but all the icons rotate as well.
I'm still completely stuck though, open to suggestions...
For rotation, it is likely caused because you removed the com.thingy.facebook system app. I tried removing it because I thought is was bloatware but read somewhere that messing around with it cause the auto rotate and pedometer to fail. I fixed it by reflashing the rom without data wipe then never removed it again. Page Manager is safe to remove though.
uchihakurtz said:
For rotation, it is likely caused because you removed the com.thingy.facebook system app. I tried removing it because I thought is was bloatware but read somewhere that messing around with it cause the auto rotate and pedometer to fail. I fixed it by reflashing the rom without data wipe then never removed it again. Page Manager is safe to remove though.
Click to expand...
Click to collapse
Thank you,
I had it frozen for a while, completely uninstalled it, trying to see if lack of space was why I couldnt' get SuperSu to become a System App..
I will try to put the facebook app back to see if that helps. Hoping I don't need to do a ROM reset, but if that is what it takes.
kevinds said:
Thank you,
I had it frozen for a while, completely uninstalled it, trying to see if lack of space was why I couldnt' get SuperSu to become a System App..
I will try to put the facebook app back to see if that helps. Hoping I don't need to do a ROM reset, but if that is what it takes.
Click to expand...
Click to collapse
Thank you http://forum.xda-developers.com/member.php?u=5047956
I tried installing FaceBook from the PlayStore, no change.. So I uninstalled it again.
Took a backup in Titanium Backup and in TWRP.
From the stock image, I extracted system.img.ext4 and used SkipSoft's application to make just this file Odin flashable..
Flashed it.. When I got back to Android, my phone hadn't reset (what I was going for ), rotation is working, SuperSU still giving root access
I went back into Titanium Backup, the freshly installed apps were listed on top, because there was no backup of them.
Froze each, one at a time and checked the rotation after each.. Froze all the apps with no backups, and rotation stayed working, which I thought was odd for what fixed it.
So.. The Facebook applications are all frozen, as they were before I erased them the first time, and rotation still works. Hurray..
Now for the device encryption, I will keep messing with it.. Trying FlashFire to mount System as RW and to write the newest version of SuperSU, hopefully it will install to System this time.
Thank you again.
kevinds said:
Thank you http://forum.xda-developers.com/member.php?u=5047956
I tried installing FaceBook from the PlayStore, no change.. So I uninstalled it again.
Took a backup in Titanium Backup and in TWRP.
From the stock image, I extracted system.img.ext4 and used SkipSoft's application to make just this file Odin flashable..
Flashed it.. When I got back to Android, my phone hadn't reset (what I was going for ), rotation is working, SuperSU still giving root access
I went back into Titanium Backup, the freshly installed apps were listed on top, because there was no backup of them.
Froze each, one at a time and checked the rotation after each.. Froze all the apps with no backups, and rotation stayed working, which I thought was odd for what fixed it.
So.. The Facebook applications are all frozen, as they were before I erased them the first time, and rotation still works. Hurray..
Now for the device encryption, I will keep messing with it.. Trying FlashFire to mount System as RW and to write the newest version of SuperSU, hopefully it will install to System this time.
Thank you again.
Click to expand...
Click to collapse
This is amazing, can you please post the odin flashable file? I am having this exact problem right now because I removed it in TB. Is it just the facebook file that are flashed? Thanks so much in advance, you're saving my life here

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.

Stuck on 'Phone is starting' after updating to Android 12

Hello!
I tried to update my phone (SM-G975U) via Odin from Android 9 to Android 12, got the firmware from SamFw.com. Everything went fine until the phone rebooted, after unlocking the phone gets stuck on 'phone is starting'. I CAN access the Set Up Menu, Uninstall apps, move some settings here and there, connect to Wifi/Bluetooth, receive calls, install apps using ADB. Also, theres a notification all the time that reads 'Phone restarted Unlock your phone to get app notifications', I'm assuming that the phone thinks it is not unlocked and that's why it doesn't fully boot up.
Some things that I've already tried:
Intalling another Launcher (Pixel Launcher)
Reinstalling the firmware (ver G975USQU6IVC7) / Trying with different CSC with no results
Wiping Cache in Recovery Mode
Deleting/Adding Fingerprints
Changing from Lock Pattern to NIP to Password
I don't really want to do the full wipe, I would like to keep my data or be able to export the photos (Device not Recognized by Smart Switch also)
Is there anything else I can do?, has anyone been through the same issue?
Is your phone rooted?
Vatt`ghern said:
Is your phone rooted?
Click to expand...
Click to collapse
No, it's not rooted
Hi !
@DannOsnaya have you found a solution to the phone problem other than restoring to factory settings?
I have the same problem at the moment, almost identical to what you experienced.
If anyone has some advice on how to fix this problem, please share your advice.
My phone is not rooted.
Racer512 said:
Hi !
@DannOsnaya have you found a solution to the phone problem other than restoring to factory settings?
I have the same problem at the moment, almost identical to what you experienced.
If anyone has some advice on how to fix this problem, please share your advice.
My phone is not rooted.
Click to expand...
Click to collapse
Sadly, I have not
My phone is still like that, I tried updating to the newest security patch but didn't work either, haven't lost hope in avoiding factory reset tho
Hi. Did u find any solution to it. Am facing the same issue. Although I tried to factory reset but doesn't work.
DannOsnaya said:
Sadly, I have not
My phone is still like that, I tried updating to the newest security patch but didn't work either, haven't lost hope in avoiding factory reset tho
Click to expand...
Click to collapse
Any way to factory reset. I tried every possible way following YouTube but nothing works. It's just stuck. I've a backup of my data so not worried.
No, I still have the same issue.
Have you tried to install a launcher?
DannOsnaya said:
No, I still have the same issue.
Have you tried to install a launcher?
Click to expand...
Click to collapse
Nothing works. Now decided to show it to anyone. I guess the mobile shops have an option to erase everything. I don't understand how did it happen because it's usually with my toddler, he might have done something.
DannOsnaya said:
Hello!
I tried to update my phone (SM-G975U) via Odin from Android 9 to Android 12, got the firmware from SamFw.com. Everything went fine until the phone rebooted, after unlocking the phone gets stuck on 'phone is starting'. I CAN access the Set Up Menu, Uninstall apps, move some settings here and there, connect to Wifi/Bluetooth, receive calls, install apps using ADB. Also, theres a notification all the time that reads 'Phone restarted Unlock your phone to get app notifications', I'm assuming that the phone thinks it is not unlocked and that's why it doesn't fully boot up.
Some things that I've already tried:
Intalling another Launcher (Pixel Launcher)
Reinstalling the firmware (ver G975USQU6IVC7) / Trying with different CSC with no results
Wiping Cache in Recovery Mode
Deleting/Adding Fingerprints
Changing from Lock Pattern to NIP to Password
I don't really want to do the full wipe, I would like to keep my data or be able to export the photos (Device not Recognized by Smart Switch also)
Is there anything else I can do?, has anyone been through the same issue?
Click to expand...
Click to collapse
I followed a video and wiped out. Finally successful. I wasn't worried about data as Google has a backup.
I followed this method and finally it's factory reset.

Categories

Resources