Lockscreen problem - Zenfone 5 Q&A, Help & Troubleshooting

Every time i lock my device, when I try to unlock, the screen goes black, and after 1-2 minutes, SystemUI restarts. This issue started after I tried to change SELinux to Permissive, using SELinux mode changer, but even after I returned to original value and uninstalled the app, I can't lock my phone anymore. How I can fix this? I'm on KitKat 2.22.40.54

Hi!
1- Your bootloader is unlocked?
2- Have you tried erasing your data?
Thanks!

dgadelha said:
Hi!
1- Your bootloader is unlocked?
2- Have you tried erasing your data?
Thanks!
Click to expand...
Click to collapse
My bootloader is locked, and I don't want to erase my data again, I have just installed stock ROM and setup all of my apps and configurations :crying:

leonardohenrique10 said:
My bootloader is locked, and I don't want to erase my data again, I have just installed stock ROM and setup all of my apps and configurations :crying:
Click to expand...
Click to collapse
You can use a Application Backuper (like Titanium Backup) to Backup your Apps and Restore after erasing your data.

dgadelha said:
You can use a Application Backuper (like Titanium Backup) to Backup your Apps and Restore after erasing your data.
Click to expand...
Click to collapse
I use titanium to backup and restore my apps, but it takes much time for doing every time like this.
I don't wanted to do this, but is the only way i've found. Re-flashed the ROM, now the bug is gone.

Just reflash without wiping data. Only wipe cache.
Sent from my ASUS_T00F using Tapatalk

Related

[Q] App Restore Issue

Quick background:
I was running stock Android 4.2.1 with a custom kernel & recovery (TWRP) and decided to install CM's latest rom. I forgot to make a backup before installing the new rom and, because I didn't want to lose all of my app data, I did not do a factory reset after installing the CM rom. This caused me to end up in a broken state with Android being stuck at the boot animation. To prevent myself from breaking anything else, I made a backup of this broken state using TWRP. I then proceeded to factory reset which got Android working again.
Question:
I have some app data (read: game saves) in the broken TWRP backup that I would like to recover. Is there a way to pull app data from the TWRP backup that I can use to restore the app using Titanium, TWRP, or something else?
Thanks in advance!
Titanium Backup > Menu > Extract apps/data from Nandroid Backup.
Username invalid said:
Titanium Backup > Menu > Extract apps/data from Nandroid Backup.
Click to expand...
Click to collapse
Thanks for the reply! I just tried doing that and the backup is detected, but no apps/app data show up. The list is blank.
Is there anything else I should try or is my data just gone?
eurasianboy1112 said:
Thanks for the reply! I just tried doing that and the backup is detected, but no apps/app data show up. The list is blank.
Is there anything else I should try or is my data just gone?
Click to expand...
Click to collapse
Was the backup compressed?

Lineage stuck on boot loop on startup

Hi,
I have LineageOS 14.1 installed on my Moto G4 Plus. All of a sudden it rebooted and was stuck on the booting screen. I can get to TWRP. Things I tried that didn't help
wait 30 minutes
plug in phone to charger
clear cache
fully power off then on
If it comes down to it, I could flash a new ROM, but would like to save/backup the text messages/whatsapp messages.
@lightningglasses
Anything you installed/flashed before rebooting ?
try to dirty flash ROM and check if it boots or not.
____Mdd said:
@lightningglasses
Anything you installed/flashed before rebooting ?
Click to expand...
Click to collapse
nothing.an mp3 player app
try to dirty flash ROM and check if it boots or not.
Click to expand...
Click to collapse
will that loose the text messages etc?
lightningglasses said:
will that loose the text messages etc?
Click to expand...
Click to collapse
wiping "Data" deletes everything, dirty flashing does not not.
Just wipe delvik-Art and cache (*not data*), Then install ROM (plus gapps and root if you need), reboot, it will take around 10 minutes to re-generate delvik data, then it should boot..
____Mdd said:
wiping "Data" deletes everything, dirty flashing does not not.
Just wipe delvik-Art and cache (*not data*), Then install ROM (plus gapps and root if you need), reboot, it will take around 10 minutes to re-generate delvik data, then it should boot..
Click to expand...
Click to collapse
hmm didn't work, any other ideas?
lightningglasses said:
hmm didn't work, any other ideas?
Click to expand...
Click to collapse
I forgot to mention in previous post, did you wipe system? Try with that and install rom.
Reinstalling ROM heals damage made to /system partition and to boot, but not to /data.
so if still doesn't boot, that means damage happened to /data and you need to clean it, result in lost of data of apps (whatsapp and message you mentioned in your post.)
Still if you know what apps you installed last, delete it from /data/app/xyz-app (boot TWRP > advance > file manager)
____Mdd said:
I forgot to mention in previous post, did you wipe system? Try with that and install rom.
Reinstalling ROM heals damage made to /system partition and to boot, but not to /data.
so if still doesn't boot, that means damage happened to /data and you need to clean it, result in lost of data of apps (whatsapp and message you mentioned in your post.)
Still if you know what apps you installed last, delete it from /data/app/xyz-app (boot TWRP > advance > file manager)
Click to expand...
Click to collapse
It is still stuck in a boot loop after I
cleared cache, dalvic/art and system
used twrp's file manager to delete all recently installed apps from /data/app
flashed newest lineageos rom
clear davilink again
waited 15 minutes with phone plugged in
When should I wipe cache/dalvik/system? Before or after flashing rom?
lightningglasses said:
It is still stuck in a boot loop after I
cleared cache, dalvic/art and system
used twrp's file manager to delete all recently installed apps from /data/app
flashed newest lineageos rom
clear davilink again
waited 15 minutes with phone plugged in
When should I wipe cache/dalvik/system? Before or after flashing rom?
Click to expand...
Click to collapse
There is no other way to get your device back without losing data.
I have never used Titanium backup app but i know there is feature to restore data from TWRP backup, you can take backup of /data and restore backup of whatsapp.
I am still not sure about that feature, if you have time then i can test that feature, otherwise there is no way to keep data.
Edit: whatsapp makes chat backup every night at 2AM, if you haven't had any important chats after that, you can go for wipe.
If you can pay for titanium backup there might just be a way. I am not 100% sure but take a backup of the "data" partition(you can backup everything but data is most important) in twrp in internal storage only. Then clean flash everything. Then install titanium backup and buy the pro key. Then restore from twrp. If you find an option to restore only data then that's a better option. Downloading the app and restoring the data is better than restoring app and data. I'm not sure if it will work. But if nothing is working and your data is 100% vital you may wanna try this.
Another tip, don't restore blindly everything cuz bootloop may occur again

Unable to OTA or flash update for OP5

Hi, a while back I managed to flash the Open Beta 3 for the OP5 but I ended up losing my files because of encryption.
Anyways, I'm not able to OTA or dirty flash any updates. I've tried both stable OOS 5.0.2 and the Open Beta 5 updates.
This is the message I get: https://i.imgur.com/wigXV3f.png
unless you relock your bootloader you won't be able to update. i tried everything. make sure you backup your data before you relock bootloader beacause this process will wipe everything.
cmd code to lock bootloader - fastboot oem lock
patel lav said:
unless you relock your bootloader you won't be able to update. i tried everything. make sure you backup your data before you relock bootloader beacause this process will wipe everything.
cmd code to lock bootloader - fastboot oem lock
Click to expand...
Click to collapse
Yeah that's really annoying, that's what happened the first time when I lost all my data.
What steps do you recommend for backing up? I have Titanium pro. So I would basically have to backup, relock, wipe, flash, root and restore?
erak606 said:
Yeah that's really annoying, that's what happened the first time when I lost all my data.
What steps do you recommend for backing up? I have Titanium pro. So I would basically have to backup, relock, wipe, flash, root and restore?
Click to expand...
Click to collapse
i backed up apks and copied all the data to my pc. my app data was gone.

Full Backup

How can I run a full backup of my phone without TWRP? I hate setting up everything after I try a new rom and go back. I've tried every TWRP and I can't restore backups. Is there like a fastboot command or adb command to backup everything?
nima0003 said:
How can I run a full backup of my phone without TWRP? I hate setting up everything after I try a new rom and go back. I've tried every TWRP and I can't restore backups. Is there like a fastboot command or adb command to backup everything?
Click to expand...
Click to collapse
I use Titanium Backup.
nima0003 said:
How can I run a full backup of my phone without TWRP? I hate setting up everything after I try a new rom and go back. I've tried every TWRP and I can't restore backups. Is there like a fastboot command or adb command to backup everything?
Click to expand...
Click to collapse
when restoring, are you using _image options? also, are you restoring everything except data and then restoring data? that was the caveat i noticed users reporting in TWRP threads. some still couldn't, but if not, try it like that.
kitcostantino said:
when restoring, are you using _image options? also, are you restoring everything except data and then restoring data? that was the caveat i noticed users reporting in TWRP threads. some still couldn't, but if not, try it like that.
Click to expand...
Click to collapse
I tried but that doesn't work either, I get error 255
nima0003 said:
I tried but that doesn't work either, I get error 255
Click to expand...
Click to collapse
Did you followed this? It's easy to forget....
"Warning: before you make a backup with TWRP you must remove all Lockscreen Security. If you do not do this you will not be able to unlock your device after restoring your backup (entering your pin/pattern/password will result in an "incorrect pin/pattern/password" message), you'll be forced to perform a factory reset to boot into Android.
To remove lockscreen security go to
Settings > Security > Screen Lock and set it to Swipe/None." https://forum.xda-developers.com/showpost.php?p=77982197&postcount=7
F5:ed said:
Did you followed this? It's easy to forget....
"Warning: before you make a backup with TWRP you must remove all Lockscreen Security. If you do not do this you will not be able to unlock your device after restoring your backup (entering your pin/pattern/password will result in an "incorrect pin/pattern/password" message), you'll be forced to perform a factory reset to boot into Android.
To remove lockscreen security go to
Settings > Security > Screen Lock and set it to Swipe/None." https://forum.xda-developers.com/showpost.php?p=77982197&postcount=7
Click to expand...
Click to collapse
No I didn't, I'll try that next time.
nima0003 said:
How can I run a full backup of my phone without TWRP? I hate setting up everything after I try a new rom and go back. I've tried every TWRP and I can't restore backups. Is there like a fastboot command or adb command to backup everything?
Click to expand...
Click to collapse
Try migrate app from playstore, magisk needed.
I am trying to backup with adb (not rooted), but I never get the prompt on my phone. The backup file is created with zero bytes, and nothing more happens.
Any suggestions please? USB debugging is turned on, and USB mode is file transfer.

HELP with resetting wifi config on V11.0.0.IN11BA

hey guys, i really need your help urgently.
i just finished setting up my OP8Pro to my needs and then i restored wifi networks from my Titanium Backup from Android 8, i booted and it won't boot anymore.
i get a FATAL EXCEPTION IN SYSTEM PROCESS: WifiHandlerThread...
so now i need to reset these settings via stock recovery and i already modified my recovery to enable ADB but i can't access /data
anyone has a hint for me how to access /data and where to find the wifi config on Android 11?
it's not stored in /data/misc/wifi anymore :/
thanks a lot in advance!
You can reset WiFi within WiFi settings in settings.
But I would probably just clear data on the app you restored either in settings/apps or simply via titanium.
If it still fails then boot to recovery and wipe system.
Your storage will remain unaffected.
You could also try safe mode, power off and hold vol up and down as soon as you see the bootloader warning
Fyi I wouldn't bother restoring WiFi passwords like that, there's other ways of doing it.
Google can back these up for you for example, there are apps which can do it like swift (I think can do it)
dladz said:
You can reset WiFi within WiFi settings in settings.
But I would probably just clear data on the app you restored either in settings/apps or simply via titanium.
If it still fails then boot to recovery and wipe system.
Your storage will remain unaffected.
You could also try safe mode, power off and hold vol up and down as soon as you see the bootloader warning
Fyi I wouldn't bother restoring WiFi passwords like that, there's other ways of doing it.
Google can back these up for you for example, there are apps which can do it like swift (I think can do it)
Click to expand...
Click to collapse
thanks for your answer but unfortunately i can't boot anymore and i can't decrypt /data anymore even after reflashing stock recovery.
what's the best way to flash via fastboot to preserve data?
thank you!
eis0r said:
thanks for your answer but unfortunately i can't boot anymore and i can't decrypt /data anymore even after reflashing stock recovery.
what's the best way to flash via fastboot to preserve data?
thank you!
Click to expand...
Click to collapse
You'd have to grab one of the fastboot ROMs then flash.
Why can't you open recovery? Isn't your pin / password being accepted?
If it's not and fastboot installation can't be done then honestly I'd just MSM your current firmware..it's easier than fastboot tbh.
You'd need to bootloader unlock after but this is going to wipe everything anyway.
dladz said:
You'd have to grab one of the fastboot ROMs then flash.
Why can't you open recovery? Isn't your pin / password being accepted?
If it's not and fastboot installation can't be done then honestly I'd just MSM your current firmware..it's easier than fastboot tbh.
You'd need to bootloader unlock after but this is going to wipe everything anyway.
Click to expand...
Click to collapse
my bootloader is already unlocked and i was rooted on 11.0.0... i can boot into fastboot and recovery but i'm not prompted my unlock pattern.
this was working before testing adb integrated recovery and restoring stock recovery...
eis0r said:
my bootloader is already unlocked and i was rooted on 11.0.0... i can boot into fastboot and recovery but i'm not prompted my unlock pattern.
this was working before testing adb integrated recovery and restoring stock recovery...
Click to expand...
Click to collapse
I don't get you mate??
I'm saying that if you use the MSM tool it will lock your bootloader so you'll need to unlock it again.
In regards to your recovery if you can get to it then choose English, then wipe, then system, then wipe system.
That will get you back like I said in my previous post.
If it's not asking for your pin/password (there is no pattern)
Then you're fine
I've not used that recovery but I don't see a point in using it
dladz said:
I don't get you mate??
I'm saying that if you use the MSM tool it will lock your bootloader so you'll need to unlock it again.
In regards to your recovery if you can get to it then choose English, then wipe, then system, then wipe system.
That will get you back like I said in my previous post.
If it's not asking for your pin/password (there is no pattern)
Then you're fine
I've not used that recovery but I don't see a point in using it
Click to expand...
Click to collapse
sorry i haven't used MSM yet so i didn't know it'll relock the bootloader but i'm more familiar with fastboot flashing so i'd like to stick with that also because i read of problems with the fingerprint reader when relocking the bootloader.
i thought i could delete reset the faulty wifi config via adb by using the adb-enabled stock recovery but i wasn't able to mount /data with it since it's encrypted and it's not asking for my pattern to decrypt it.
neither the stock recovery is asking for it now...
i don't want to lose my data hence i'm looking for a way to get it back running without completely reinstalling.
do you think it could work by only flashing system partition via fastboot?
thanks man!
eis0r said:
sorry i haven't used MSM yet so i didn't know it'll relock the bootloader but i'm more familiar with fastboot flashing so i'd like to stick with that also because i read of problems with the fingerprint reader when relocking the bootloader.
i thought i could delete reset the faulty wifi config via adb by using the adb-enabled stock recovery but i wasn't able to mount /data with it since it's encrypted and it's not asking for my pattern to decrypt it.
neither the stock recovery is asking for it now...
i don't want to lose my data hence i'm looking for a way to get it back running without completely reinstalling.
do you think it could work by only flashing system partition via fastboot?
thanks man!
Click to expand...
Click to collapse
Use the thanks button buddy
I think you've certainly got a shot at it and what's the worst that can happen?
Did you actually try to wipe system in recovery? That would be my way to go.
MSM is extremely easy but I understand not wanting to lose storage.
That being said if you're correct about decryption then it won't matter anyway
dladz said:
Use the thanks button buddy
I think you've certainly got a shot at it and what's the worst that can happen?
Did you actually try to wipe system in recovery? That would be my way to go.
MSM is extremely easy but I understand not wanting to lose storage.
That being said if you're correct about decryption then it won't matter anyway
Click to expand...
Click to collapse
well after trying lots of different things i ended up wiping system settings in stock recovery. atleast i didn't lose storage.
thanks a lot for your help tho!
eis0r said:
well after trying lots of different things i ended up wiping system settings in stock recovery. atleast i didn't lose storage.
thanks a lot for your help tho!
Click to expand...
Click to collapse
You're very welcome mate, I've done the same a few times..it's not that much of a loss really, a lot of apps pick up where they left off and if you do have titanium then your back ups are retained.
Glad you're sorted.
PS: this would have had the same effect that installing system would have had, only this time you get a clean slate

Categories

Resources