To start Android, enter your password after rom install. but i have no password. - Xiaomi Redmi Note 3 Questions & Answers

EDIT: Sry for the trouble, i just reinstalled it again. this time using Format Data in TWRP and it worked.
so i have the snapdragon xiaomi Redmi note 3, and i did the offical bootlocker.
after that worked, i installed twrp using this guide https://forum.xda-developers.com/redmi-note-3/how-to/zcx-twrp-install-twrp-flash-supersu-t3462448
so far so good.
i chose this ROM https://forum.xda-developers.com/redmi-note-3/development/rom-aospextended-rom-v1-2-t3506955
and installed it using the GApps(ARM64) for 7.1 ofcourse.
but when i reboot my phone it says To start Android, enter your password.
i read about it online and it says either it was your password(my phone wasnt locked, only swipe to unlock) OR use your Google account to open, but i didn't have Google accounts logged in the device(it is brand new, only MI account but that password didn't work).
So i tried to perform factory reset using TWRP (Wipe->Data), that didn't work.
SO i re-installed the new ROM+GApps thinking it will fix it, still same error.
anyone got a solution?
PIC:
http://imgur.com/a/tiKnJ
ty for everyone that helps

555satan said:
anyone got a solution?
Click to expand...
Click to collapse
Boot into TWRP. Mount /system, then go to filemanager and delete the following files inside /data/system (just delete the ones that are there, I think all 5):
gatekeeper.password.key
gatekeeper.pattern.key
locksettings.db-wal
locksettings.db-shm
locksettings.db
Then reboot, it should work, let me know (or thank me if it works)

I can really help you.
Now you conform me that your device is working or not

Boot into Twrp and under Wipe you`ll find FORMAT DATA, not wipe data.. Format the data and the rom will boot . Note that you`ll lose everything from you phone, so it`s good to save files on pc before, if you have something important..

Robin>Hood said:
Boot into TWRP. Mount /system, then go to filemanager and delete the following files inside /data/system (just delete the ones that are there, I think all 5):
gatekeeper.password.key
gatekeeper.pattern.key
locksettings.db-wal
locksettings.db-shm
locksettings.db
Then reboot, it should work, let me know (or thank me if it works)
Click to expand...
Click to collapse
Sadly it doesn't work :crying:

Did you have password/pin protection enabled? I had a similar issue, and I entered TWRP, and used the in-app file explorer. I went to the data/system folder and deleted all the *.key files. Then I rebooted my phone and everything was there! Hope it helps you!
PS: I was having a hard time, after having formatted my system, in order to install AOSP 8.0.0, and trying to restore my MIUI backup ....

Guys, sorry to hijack the post, but can this be solved by using LazyFlasher? Hope someone can help. Thanks.

Op_Flashpoint said:
Guys, sorry to hijack the post, but can this be solved by using LazyFlasher? Hope someone can help. Thanks.
Click to expand...
Click to collapse
didn't help

Yes Formatting Data under wipe section works

Robin>Hood said:
Boot into TWRP. Mount /system, then go to filemanager and delete the following files inside /data/system (just delete the ones that are there, I think all 5):
gatekeeper.password.key
gatekeeper.pattern.key
locksettings.db-wal
locksettings.db-shm
locksettings.db
Then reboot, it should work, let me know (or thank me if it works)
Click to expand...
Click to collapse
Is it inside of any other folder or in system

cristiandiaconu6 said:
Boot into Twrp and under Wipe you`ll find FORMAT DATA, not wipe data.. Format the data and the rom will boot . Note that you`ll lose everything from you phone, so it`s good to save files on pc before, if you have something important..
Click to expand...
Click to collapse
thanks, it was work on my vince when i tried install AOSP Ext

Hitagi End said:
thanks, it was work on my vince when i tried install AOSP Ext
Click to expand...
Click to collapse
did you format data after installing the rom or before that?

mona356 said:
did you format data after installing the rom or before that?
Click to expand...
Click to collapse
after installing AEX, if your TWRP said No OS installed just flash the rom again and the rest will be fine

Hitagi End said:
after installing AEX, if your TWRP said No OS installed just flash the rom again and the rest will be fine
Click to expand...
Click to collapse
are you using pie or Oreo?

mona356 said:
are you using pie or Oreo?
Click to expand...
Click to collapse
Pie

cristiandiaconu6 said:
boot into twrp and under wipe you`ll find format data, not wipe data.. Format the data and the rom will boot . Note that you`ll lose everything from you phone, so it`s good to save files on pc before, if you have something important..
Click to expand...
Click to collapse
thanks dude!!!!!!!!!! It worked!!!!!!!!!!!!!!!!!!!!!11 :d:d:d

i cannot find always on display ? is it not available on pixel rom s8+?

Related

System and user apps accidentally frozen

READ AT THE END OF THIS POST FOR THE SOLUTION
I accidentally used Titanium Backup's widget to frost all system and user apps, leaving mi phone in a infinite boot animation loop. I dont have aNandroid Backup and I would really love to solve this issue without flashing.
I found at Titanium Backup's troubleshooting webpage that I could use this command with adb to solve my issue:
Code:
Type the following command (replace with /dbdata/system/packages.xml if you have a Samsung phone):
busybox sed -n 's/<package name="\([^"]\+\)".*enabled="false".*/\1/p' /data/system/packages.xml | while read PKG; do pm enable "$PKG"; done
but it just says: No such file or directory (yes, I changed /data to /dbdata as stated in the webpage)
Any idea on how to solve this issue?
Thank you!
**EDIT:
This is the way I managed to get my phone working again without having to flash or wipe:
1. Boot in recovery mode and used adb pull command to extract "packages.xml" and "packages-more-backup.xml" from /data/system/
2. Open both files with Wordpad and replaced all protection="2" or "3" lines to protection="1".
3. Also, and very important, replaced all enabled="false" lines to enabled="true"
4. Boot in recovery again and used adb to delete old "packages.xml" and "packages-more-backup.xml" files and push the new ones.
5. Reboot and Voila!
6. Boot once again in recovery mode and fix permissions to avoid any problem.
Hope that this could be usefull to someone else having this horrible problem.
Thank you all!
Checked for that file on my phone, it doesn't exist in /dbdata/system/, but it does in /data/system/
It's probably fixable from the command line with Linux but that is over my head, one option would be to Odin or heimdel back to stock, and start from scratch. You might need a jig to get into dlmode.
Sent from my SAMSUNG-SGH-I777 using xda premium
nitox.n2o said:
Checked for that file on my phone, it doesn't exist in /dbdata/system/, but it does in /data/system/
Click to expand...
Click to collapse
I tried with /data too but same result.
shadow65781 said:
It's probably fixable from the command line with Linux but that is over my head, one option would be to Odin or heimdel back to stock, and start from scratch. You might need a jig to get into dlmode.
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
I know I could do that but I would really like to restore my system as it was
Help please
I wonder what would happen if you removed the app (its apk) via adb from /data/app. Would it retain the freeze settings? Something to consider trying.
This happened to me. I reflashed the ROM without wiping and all was back to normal
Sent from my FrankenTAB using Tapatalk
Simba501 said:
I wonder what would happen if you removed the app (its apk) via adb from /data/app. Would it retain the freeze settings? Something to consider trying.
Click to expand...
Click to collapse
Pretty sure that's not gonna work because the frozen apps settings are at packages.xml file, but I can't access it I don't know why
jhermit said:
This happened to me. I reflashed the ROM without wiping and all was back to normal
Sent from my FrankenTAB using Tapatalk
Click to expand...
Click to collapse
I tried doing that right now but it didn't worked
I got a little too punchy with titanium on my 3 year old original Galaxy tab 7 and froze a samsung system app. Got irreversibly stuck is soft brickland - Tried various methods before giving up and hitting the wipe and reset to factory restore in the system recovery mode. Everything was backed up except recent photos, so it was more annoying than the end of the world.
Odd thing was when it reset to factory, it appeared to do just that, yet when I plugged it into PC and mounted it - the memory was full and all my files and app data files were there - untouched. The apps themselves have gone except one - Superuser is still there, Does Superuser somehow override being reset? and act as a guardian of your data in the event of reset?
Odd. I was expecting to run some file recovery software to a salvage what i could, but viola - it was all there.
shokuchi said:
I got a little too punchy with titanium on my 3 year old original Galaxy tab 7 and froze a samsung system app. Got irreversibly stuck is soft brickland - Tried various methods before giving up and hitting the wipe and reset to factory restore in the system recovery mode. Everything was backed up except recent photos, so it was more annoying than the end of the world.
Odd thing was when it reset to factory, it appeared to do just that, yet when I plugged it into PC and mounted it - the memory was full and all my files and app data files were there - untouched. The apps themselves have gone except one - Superuser is still there, Does Superuser somehow override being reset? and act as a guardian of your data in the event of reset?
Odd. I was expecting to run some file recovery software to a salvage what i could, but viola - it was all there.
Click to expand...
Click to collapse
Wrong forum dude
Sent from my Zanpakuto using Getsuga Tensho!
<deleted>
ZIP for unfreezing apps
For those, who accidentally frozen important system app: here quick solution without factory reset, reflashing and ADB
It automatically edits files as described in first post.
You should have unlocked bootloader. If no, ZIP useless because unlocking wipes all data.
Download both ZIP's and just flash them via custom recovery (TWRP / CWM)
If first throws error try second and vice versa. 2nd with mark "New" contains newer updater-binary that must be compatible with recent TWRP.
Then all apps will be unfrozen, so phone will boot.
Fix compatible with all Android versions.
Note: also you can somehow (ADB or filemanager in TWRP) delete file /data/system/0/package-restrictions.xml
More correct to edit that file which ZIP actually do, but deleting not harmful too.
tags: unfroze apps, auto-unfroze, defrost apps, unfreeze apps, 5596
Bonoboo said:
For those, who accidentally frozen system app there is quicker solution without factory reset and ADB.
It automatically edits files as described in first post.
Just flash this ZIP through recovery and all apps will be unfrozen.
Compatible with all Android versions.
Click to expand...
Click to collapse
THANKS MAN!! i just signed up to say thanks! you just saved my life :highfive:
Bonoboo said:
For those, who accidentally frozen system app here quicker solution without factory reset and ADB
It automatically edits files as described in first post.
Just flash this ZIP through recovery and all apps will be unfrozen, so phone will boot.
Compatible with all Android versions.
tags: unfroze apps, auto-unfroze
Click to expand...
Click to collapse
Thanks very much for the zip. It worked great
Same Problem
Does anyone have an updated version of that zip? I also froze an app linked to the device and it won't boot, even after factory resetting it. Tried running the zip on my t-mobile GS4 (probably newer than that zip) from the SD card in recovery mode, however it didn't unfreeze it.
Any help greatly appreciated!
pianoplayer55 said:
Does anyone have an updated version of that zip?
I also froze an app linked to the device and it won't boot, even after factory resetting it.
Click to expand...
Click to collapse
1. To flash that ZIP you need have custom recovery (CWM or TWRP), not stock.
No update needed, it still works in this case.
2. That strange. Maybe you not really performed reset?
Double check all and try again.
Bonoboo said:
1. To flash that ZIP you need have custom recovery (CWM or TWRP), not stock.
No update needed, it still works in this case.
2. That strange. Maybe you not really performed reset?
Double check all and try again.
Click to expand...
Click to collapse
Yup, unfortunately I did select wipe data on the recovery screen. I am also stuck in an infinite boot up loop and cannot access the phone to install any apps. How can I use a custom recovery to run the zip file if i cannot access the phone? Instructions much appreciated. Thanks again.
pianoplayer55 said:
How can I use a custom recovery to run the zip file if i cannot access the phone?
Click to expand...
Click to collapse
ZIP – it's not app.
Again, you need to install custom recovery.
Here link to TWRP and how install it via Odin on PC.
You need place that ZIP on sdcard.
Enter in recovery (don't know how on your model), select Install > find ZIP > confirm > reboot,
Bonoboo said:
ZIP – it's not app.
Again, you need to install custom recovery.
You need place that ZIP on sdcard.
Enter in recovery (don't know how on your model), select Install > find ZIP > confirm > reboot,
Click to expand...
Click to collapse
Downloaded TWRP with Odin and ran custom recovery without a change after the zip (this must have been a deeper-rooted problem in the OS itself), however in the meantime I formatted the system partition, removing the operating system. Installed Kies and ran the update. It reinstalled the OS and I'm good now. Most stuff was backed up anyways. Thanks guys for your time :good::good:
Which apk is the culprit?
Man, I wish I'd found this thread before restoring my phones internal ROM. Had it rooted and set up in every way I like except removing bloatware.
Using TB, I froze a system apk that shut down my System UI and sent the phone bootlooping. What I'm trying to determine is WHICH apk(s) I froze that caused this. I thought I had researched each one that didn't seem obvious, but I musta missed one or one of the 'obvious' ones wasn't so obvious.

[ZIP] Fix PIN Errors after restoring a nandroid backup

Many of you know how to fix this issue.
I created a simple zip to do it faster. The TWRP file manager can be very useful but it's not as confortable as a file manager like MiXplorer, Amaze, Solid...
From now on, instead of going to the TWRP file manager to remove the files one by one, just flash one of these zips and reboot.
- To remove the 5 files > DOWNLOAD LINK
- As suggested, here is another flashable zip to only remove the LOCKSETTINGS files > DOWNLOAD LINK
- Final version, to only remove locksettings.db => DOWNLOAD LINK (recommended)
Here are below the list of files it removes:
Code:
gatekeeper.password.key
gatekeeper.pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wal
Does this only apply to PIN errors?
I recentrly restored a backup and it didn't recognize my password. I gave up and deleted everything.
carlosh2k4 said:
Does this only apply to PIN errors?
I recentrly restored a backup and it didn't recognize my password. I gave up and deleted everything.
Click to expand...
Click to collapse
The zip only removes the lockscreen protection where you have to enter your PIN/patter/password to reach your homescreen.
It doesn't apply to the boot protection while you are encrypted.
Thanks for this flashable zip,
I've got the same files on my NEXUS 6P , it should work... :good:
Lol
I made the same for another device some time ago..
https://forum.xda-developers.com/g4/development/tool-lock-screen-fix-encrypted-devices-t3499478
#
Sent from my LG-H815 using XDA Labs
I had this issue and had to clean install.
I have deleted only those locksetting files and it works fine.
TurboStrutsi said:
I have deleted only those locksetting files and it works fine.
Click to expand...
Click to collapse
Yep, I only ever delete the 3 locksetting files and it works great. Preserves fingerprints too, so only need to set up the PIN again.
New zip to only remove the LOCKSETTINGS files.
Thanks for this. Saves a lot of people from nuking their ROM ?
honestly all I've ever deleted was locksettings.db and that was enough...
dimm0k said:
honestly all I've ever deleted was locksettings.db and that was enough...
Click to expand...
Click to collapse
Fingerprint enabler xposed module also works for the times i restore and forget to erase that file in twrp.
Thanks so much. Solved my problems on my rooted HTC U11. You are awesome. Do I need to flash it everytime I leave TWRP?
Cdneyes said:
Thanks so much. Solved my problems on my rooted HTC U11. You are awesome. Do I need to flash it everytime I leave TWRP?
Click to expand...
Click to collapse
no
this is only used once - when you restore your TWRP backup and lockscreen security fails to log you in
Does my phone have to be rooted and have twrp to use this? If not, how do i flash the zip file?
kingslash said:
Does my phone have to be rooted and have twrp to use this? If not, how do i flash the zip file?
Click to expand...
Click to collapse
That's a convenient solution for a specific issue, I suggest to read the OP, if you don't have TWRP you cannot be locked out due to restoring a backup by TWRP in first place, it only applies to TWRP users in a certain usage scenario... It's flashed from recovery, root has nothing to do with this...
Sent from my OnePlus3T using XDA Labs
Is it applicable to op3?
prasant737 said:
Is it applicable to op3?
Click to expand...
Click to collapse
Of course. Many devices are compatible.
Primokorn said:
Of course. Many devices are compatible.
Click to expand...
Click to collapse
Hey!
I'm an HTC U11+ user and this doesn't work for me, im facing the same issue either i restock via OTA or TWRP backup, any thing you consider sharing that could help me?
1 thing though, i manually flashed 1.24.401.2 images, while my bootloader shows the actual version to be 1.24.401.12 .
Could this be in anyway be causing my problems?
If I do not set up any boot password/pattern etc but just a swipe on lockscreen then,
after restoring the back up and then flashing the given zips for five files immediately,
Will I be able to set up the PIN/Password/pattern on the restored ROM?

[Q] Doubts about android 8.1

Yesterday I installed a ROM (Unofficial Resurrection Remix) thanks to EndLess and it seemed great, really very good work with the system. But when I went to restore the original rom of the phone "TWRP" asks me for an unlock pattern, after putting it and restoring the original system image, I am ready to boot the system. The system starts well, but asks me for the same pattern to start the boot. Then the loading process continues and I get to the part of setting the unlock pattern to start Android. Here's my problem, the pattern I used is the same one that I used the previous 2 times and it does not work.
Therefore I have 4 questions:
1- Is it possible to delete the encryption of the phone and leave it as it was before installing Android 8.1?
2- Is it possible to access my previous system?
3- I noticed that this room does not come with root activated, is it possible to root the ROOM?
4- If I put a new unlock pattern, will the current one be overwritten in the encryption or will the phone simply not find a way to boot and I will have a beautiful paperweight?
Thanks in advance.
Please forgive my English, it is not my native language
brito9112 said:
Yesterday I installed a ROM (Unofficial Resurrection Remix) thanks to EndLess and it seemed great, really very good work with the system. But when I went to restore the original rom of the phone "TWRP" asks me for an unlock pattern, after putting it and restoring the original system image, I am ready to boot the system. The system starts well, but asks me for the same pattern to start the boot. Then the loading process continues and I get to the part of setting the unlock pattern to start Android. Here's my problem, the pattern I used is the same one that I used the previous 2 times and it does not work.
Therefore I have 4 questions:
1- Is it possible to delete the encryption of the phone and leave it as it was before installing Android 8.1?
2- Is it possible to access my previous system?
3- I noticed that this room does not come with root activated, is it possible to root the ROOM?
4- If I put a new unlock pattern, will the current one be overwritten in the encryption or will the phone simply not find a way to boot and I will have a beautiful paperweight?
Thanks in advance.
Please forgive my English, it is not my native language
Click to expand...
Click to collapse
As it seems that you encrypted your device somehow by chance.
1. Before installing any rom you have to format your data First. That'll Remove the pattern.
2. Accessing the old system depends upon your access. If you are now encrypted then no actually.
3. Yea just flash magisk zip and the rom will be rooted.
4. Expect an out of the world paper weight.
MyNameIsRage said:
As it seems that you encrypted your device somehow by chance.
1. Before installing any rom you have to format your data First. That'll Remove the pattern.
2. Accessing the old system depends upon your access. If you are now encrypted then no actually.
3. Yea just flash magisk zip and the rom will be rooted.
4. Expect an out of the world paper weight.
Click to expand...
Click to collapse
Thanks for the quick response, would you be so kind as to explain to me what do you mean by "format your data first"?
You mean to delete all the partitions of the phone and install everything from 0 ??
How am I supposed to do that? I have a save from the previous system, I told "TWRP" to save all the partitions in my phone. If I restore that backup, will my device be decrypted?
brito9112 said:
Thanks for the quick response, would you be so kind as to explain to me what do you mean by "format your data first"?
Click to expand...
Click to collapse
Boot to TWRP, and select "Format data". You will lose all your data, plus the contents of your internal SD - but the encryption will be gone. You should back up your internal SD (either to an external SD drive, or your PC, etc) before trying any of this. I hope you have backups of your data.
DarthJabba9 said:
Boot to TWRP, and select "Format data". You will lose all your data, plus the contents of your internal SD - but the encryption will be gone. You should back up your internal SD (either to an external SD drive, or your PC, etc) before trying any of this. I hope you have backups of your data.
Click to expand...
Click to collapse
Thanks for answering, i will try your method in a few minutes, by the way, with format you mean wipe data partition, right?
brito9112 said:
Thanks for answering, i will try your method in a few minutes, by the way, with format you mean wipe data partition, right?
Click to expand...
Click to collapse
When you select "wipe" on main menu. There will we two options at bottom. One will say "Format data" and another will say "Partition" select format data. It will open a new screen saying that format data will delete all the data and Remove encryption. Type yes and continue. However backup your data before doing this. Better copy the files using mtp from recovery or system.
MyNameIsRage said:
When you select "wipe" on main menu. There will we two options at bottom. One will say "Format data" and another will say "Partition" select format data. It will open a new screen saying that format data will delete all the data and Remove encryption. Type yes and continue. However backup your data before doing this. Better copy the files using mtp from recovery or system.
Click to expand...
Click to collapse
I saw that option later, thanks to all who help, my system was recover. The only strange thing was the lock pattern. I delete from /data/system/ this 2 files, "gatekeeper.password.key" and "gatekeeper.pattern.key". Use TWRP as file manager and my phone good as new.

[TUTORIAL] HowTo Decrypt the Phone and have a Working Full Backup

Update May 23 2019
Now with new Twrp wzsx150 u dont need to follow this Tutorial to get full Backup to work because twrp can Auto decrypt your files
For all Who followed the guide already and want a encrypted device. Do a Format and dont use remove forceencrypt.
New twrp
https://mega.nz/#!TG4RwCrJ!9E0gOOoDaWjtSIS9GoB0pGvCc2BhRU7rSTNNJbAeUxc
---------------------------
Hello
Many people ask me to make a Tutorial HowTo have a full decrypt phone with full backup working.
Before we start u need to flash the newest Recovery from wzs150 Team https://mega.nz/#!WOZEBCpD!UlyCdDaP-UxuwvzLzDE4yzaqi5qMz-I8iOkseQ5gmP0
Steps to flash recovery should be already known or are available in other Threads on xda
So Now lets begin.
First of all you need to know you need to do format Data through the following process. So Backup your Data on your PC, TWRP NOT working
Lets Start.
1. Boot into TWRP
2. Format Data in Wipe Section (The one you need to type yes) i dont reboot TWRP after that
3. Flash the Rom u want
4. Go Back to the Start Screen of TWRP and Click "Advanced" and "RM Forceencrypt"
5. Uncheck "Remove DM Verity" and check "Remove Forceencrypt"
6. Now youre phone is full decrypted and Backup of all partitions are working
7. If u want Magisk flash it now
Notes:
Dont boot your phone before you did the "RM Forceencrypt" step or your decryption gets lost
If u update ur Rom you ALWAYS need to do Step 4 and 5
If u coming from another Rom and want to restore the Rom u need also to restore "Boot"
If u flashing now another Rom you dont need to do format data,wipe data is enough, but always RM Forceencrypt after Rom Flash
Have a nice day
Greetings from Germany
Nice, thx for that ! =)
Great tutorial thanks. Less frustrated flash rounds.
Verstuurd vanaf mijn MI 9 met Tapatalk
MangoMC said:
If u coming from another Rom and want to restore the Rom u need also to restore "Boot"
Click to expand...
Click to collapse
Was does it mean 'restore BOOT'?
Cheers
Toscha
toscha42 said:
Was does it mean 'restore BOOT'?
Cheers
Toscha
Click to expand...
Click to collapse
Boot is one of the Partitions u can Backup. Its where Ur Kernel is located
I dont uncheck "Remove DM Verity" and working too. I select both. Good guide, thanks.
Thanks for this!
Thanks for the step. I can backup now.
But the next time I update, always need to repeat "Remove Forceencrypt"; otherwise, phone cannot boot.
Assume this is needed until future update twrp version. a bit inconvenient, but ok.
Hello. I now use xiaomi.eu I don't want to format data.
I do a step 4 and 5 and can't backup. When I want to boot system nothing.....
I back to Twrp and make reverse step 5 and flash the same rom I have and system working fine. How to make backup without format data?
Wysłane z mojego MI 9 przy użyciu Tapatalka
Not possible. Maybe only wipe of data works but i didnt tested it. Twrp cant decrypt the data on your Phone it can only prevent the Phone to encrypt it
still no encryption support with twrp beta 10 people call formatting data "decrypt" or "unencrypt" all across board, so it adds to false expectations. would never turn off encryption to get, like, backup?
MangoMC said:
Update May 23 2019
Now with new Twrp wzsx150 u dont need to follow this Tutorial to get full Backup to work because twrp can Auto decrypt your files
For all Who followed the guide already and want a encrypted device. Do a Format and dont use remove forceencrypt.
New twrp
https://mega.nz/#!TG4RwCrJ!9E0gOOoDaWjtSIS9GoB0pGvCc2BhRU7rSTNNJbAeUxc
---------------------------
Hello
Many people ask me to make a Tutorial HowTo have a full decrypt phone with full backup working.
Before we start u need to flash the newest Recovery from wzs150 Team https://mega.nz/#!WOZEBCpD!UlyCdDaP-UxuwvzLzDE4yzaqi5qMz-I8iOkseQ5gmP0
Steps to flash recovery should be already known or are available in other Threads on xda
So Now lets begin.
First of all you need to know you need to do format Data through the following process. So Backup your Data on your PC, TWRP NOT working
Lets Start.
1. Boot into TWRP
2. Format Data in Wipe Section (The one you need to type yes) i dont reboot TWRP after that
3. Flash the Rom u want
4. Go Back to the Start Screen of TWRP and Click "Advanced" and "RM Forceencrypt"
5. Uncheck "Remove DM Verity" and check "Remove Forceencrypt"
6. Now youre phone is full decrypted and Backup of all partitions are working
7. If u want Magisk flash it now
Notes:
Dont boot your phone before you did the "RM Forceencrypt" step or your decryption gets lost
If u update ur Rom you ALWAYS need to do Step 4 and 5
If u coming from another Rom and want to restore the Rom u need also to restore "Boot"
If u flashing now another Rom you dont need to do format data,wipe data is enough, but always RM Forceencrypt after Rom Flash
Have a nice day
Greetings from Germany
Click to expand...
Click to collapse
Is the b17 still good if I want to decrypt ? b17 and follow the rest of the decryption steps you have mentioned ?, or shall I flash b10 if I want decryption ? cheers.
vtec303 said:
Is the b17 still good if I want to decrypt ? b17 and follow the rest of the decryption steps you have mentioned ?, or shall I flash b10 if I want decryption ? cheers.
Click to expand...
Click to collapse
U can use both to decrypt with my tutorial. B17 only can decrypt the Data Partition while its encrypted. So u can Backup All data with b17 without the need of remove forceencrypt
MangoMC said:
U can use both to decrypt with my tutorial. B17 only can decrypt the Data Partition while its encrypted. So u can Backup All data with b17 without the need of remove forceencrypt
Click to expand...
Click to collapse
OK cool, I get it, thanks for the quick reply, cheers
simcold said:
Hello. I now use xiaomi.eu I don't want to format data.
I do a step 4 and 5 and can't backup. When I want to boot system nothing.....
I back to Twrp and make reverse step 5 and flash the same rom I have and system working fine. How to make backup without format data?
Wysłane z mojego MI 9 przy użyciu Tapatalka
Click to expand...
Click to collapse
I've not ried it yet as I don't have the phone yet, but apparently this twrp (mi9-3.3.0-9.0-b17) supports encryption, you can use it to backup your encrypted data partition. Though, I'm probably too late and you've wiped already...
EDIT, just read the rest of the thread, seems I'm a bit late to the party! That twrp is already mentioned!!
I just installed B17 and backed up to SD. Seemed to work fine
picitup said:
I just installed B17 and backed up to SD. Seemed to work fine
Click to expand...
Click to collapse
Is that the twrp full rom backup you are talking about ?, backup has always worked for me its the restore which does't works and always ends up with an error, cheers
vtec303 said:
Is that the twrp full rom backup you are talking about ?, backup has always worked for me its the restore which does't works and always ends up with an error, cheers
Click to expand...
Click to collapse
Ahhh no. I tried to backup with earlier versions of TWRP and they failed with an error message. This version seemed to backup OK, but I've not tried a restore yet.
I'm just playing with Titanium backup so once I've got a good backup with that, I'll try TWRP B17 and report back.
Cheers
@vtec303 I just had a play and restore seems to work fine. My TWRP is:
recovery-mi9-3.3.0-9.0-b17.img by wzsx150.
Here's what I did:
Booted into TWRP and backed up Data, System and Boot to an OTG SD card
In TWRP performed a factory reset.
Booted into System, went through the Android setup (not wifi) and checked that all my 3rd party apps had disappeared, I had no SMS or calendar events.
Booted into TWRP and did a restore of all 3 partitions from the previous backup.
Booted into System and found all my 3rd party apps, SMS, Calendar and could browse the web so wifi was configured.
Hope this helps
Cheers
Just a bit extra....
As we know, TWRP doen't back up media data (photos music etc) but I was interested to spot that a factory reset using TWRP doesn't delete all that data either. Pretty handy for me as I'm testing out some backup packages and I don't have to restore all my media files lol.
Cheers

[URGENT] Phone stuck on Just a Sec screen, HELP !

I am using Redmi Note 4 SD625. I was easily running AEX {9.0}, without any problems.
I decided to switch to HavocOS. After installing the zip, and also Gapps {pico}, my phone got stuck on Just a Sec screen after Language Selection. I already tried using different ROMS, clearing Internal Storage, Formatting Data using TWRP, but nothing is working. I really need to get this device going. Please Help. Also, my phone's system UI keeps crashing while on Just a Sec Screen [ black screen and then instant refresh of notification panel]. Is this something to do with my gaps? Please help.:crying:
Sp_3ctr_3 said:
I am using Redmi Note 4 SD625. I was easily running AEX {9.0}, without any problems.
I decided to switch to HavocOS. After installing the zip, and also Gapps {pico}, my phone got stuck on Just a Sec screen after Language Selection. I already tried using different ROMS, clearing Internal Storage, Formatting Data using TWRP, but nothing is working. I really need to get this device going. Please Help. Also, my phone's system UI keeps crashing while on Just a Sec Screen [ black screen and then instant refresh of notification panel]. Is this something to do with my gaps? Please help.:crying:
Click to expand...
Click to collapse
You need the following GApps: ARM64 - Android 9.0
https://github.com/opengapps/arm64/releases/download/20190608/open_gapps-arm64-9.0-pico-20190608.zip
Noter2017 said:
You need the following GApps: ARM64 - Android 9.0
Click to expand...
Click to collapse
Already using this gapps. Tried stock build too. Dont know what is going wrong. If i call on my number, the phone app has stopped dialogue box appears.
Sp_3ctr_3 said:
Already using this gapps. Tried stock build too. Dont know what is going wrong. If i call on my number, the phone app has stopped dialogue box appears.
Click to expand...
Click to collapse
Just try it once more.
1. Update your TWRP. Use OrangeFox 9 which you can find here. Boot into your recovery and install OrangeFox:
https://forum.xda-developers.com/re...-orangefox-recovery-project-t3775933?&ampcf=1
2. Update your firmware. Most people prefer firmware 9.6.1.0 which you can find here. Just flash it in OrangeFox recovery:
https://sourceforge.net/projects/xi..._V9.6.1.0.NCFMIFD_2ffa61cdd6_7.0.zip/download
3. Download the ROM and GApps you want to use and save them to your SD card.
4. Boot into recovery and make all the necessary wipes (Internal, Data etc) and also format "Data". You will have to type "YES"
5. Install the ROM you want to use, install GApps and reboot your phone
Noter2017 said:
3. Download the ROM and GApps you want to use and save them to your SD card.
Click to expand...
Click to collapse
I have a hybrid slot so i dont use SD Card. Should i get one for this process or go ahead with internal storage? I do have a SD card.
Sp_3ctr_3 said:
I have a hybrid slot so i dont use SD Card. Should i get one for this process or go ahead with internal storage? I do have a SD card.
Click to expand...
Click to collapse
You can use internal storage as well.
After you do all the wipes, you will need a computer and can then copy the ROM and GApps to internal storage.
Using a SD card, you won't need a computer.
Noter2017 said:
You can use internal storage as well.
After you do all the wipes, you will need a computer and can then copy the ROM and GApps to internal storage.
Using a SD card, you won't need a computer.
Click to expand...
Click to collapse
Looks like my phone is f****d up bad. I tried internal, didn't work. I tried USB OTG and it is still stuck on Just a sec. Now what?
By the way, i used gapps from your link.
Thanks for your help till now!.
Is there any ROM which doesn't have this type of startup/setup screen?
Sp_3ctr_3 said:
Looks like my phone is f****d up bad. I tried internal, didn't work. I tried USB OTG and it is still stuck on Just a sec. Now what? btw, i used gapps from ur link
Click to expand...
Click to collapse
Maybe it's a problem with the ROM you are using?
You can try to remove your Sim cards. Remove your Sim cards, do the setup and once everything works, put them back it.
Noter2017 said:
Maybe it's a problem with the ROM you are using?
You can try to remove your Sim cards. Remove your Sim cards, do the setup and once everything works, put them back it.
Click to expand...
Click to collapse
Tried that too. Still stuck. Used AEX, RR, HavocOS. Dunno whats wrong with my device. Somehow no matter what ROM i use, the system UI keeps crashing.
Sp_3ctr_3 said:
Tried that too. Still stuck. Used AEX, RR, HavocOS. Dunno whats wrong with my device. Somehow no matter what ROM i use, the system UI keeps crashing.
Click to expand...
Click to collapse
If system UI keeps crashing, you probably didn't wipe your system before flashing a new ROM.
In OrangeFox go to:
Wipe - Advanced Wipe
and select everything except external storage and "Cust"
then swipe to wipe
After that go back to:
Wipe - Format Data
type "Yes" and format Data.
After that is done, flash the ROM and GApps right afterwards.
Noter2017 said:
If system UI keeps crashing, you probably didn't wipe your system before flashing a new ROM.
In OrangeFox go to:
Wipe - Advanced Wipe
and select everything except external storage and "Cust"
then swipe to wipe
After that go back to:
Wipe - Format Data
type "Yes" and format Data.
After that is done, flash the ROM and GApps right afterwards.
Click to expand...
Click to collapse
Both Cust and external storage option isn't available in the menu. Also this error shows up when i wipe everything
Unable to wipe '/sdcard 1 ' -- Unknown file system 'auto'
Use Pixel Experiance April build
Use Pixel Experiance april build. it works completely fin. Even I had this problem. Hope it works fine
Sp_3ctr_3 said:
Both Cust and external storage option isn't available in the menu. Also this error shows up when i wipe everything
Unable to wipe '/sdcard 1 ' -- Unknown file system 'auto'
Click to expand...
Click to collapse
Restart to recovery
Wipe - Format Data and type yes.
After that works, wipe everything and install the ROM and GApps.
Alternatively, Wipe and then "Swipe to Factory Reset" like in the screenshot attached.
If this doesn't work, maybe there's a problem because you encrypted your phone. Maybe this will help then:
https://forum.xda-developers.com/xperia-sp/help/format-data-using-twrp-3-0-2-t3371137?&ampcf=1
Noter2017 said:
Restart to recovery
Wipe - Format Data and type yes.
After that works, wipe everything and install the ROM and GApps.
Alternatively, Wipe and then "Swipe to Factory Reset" like in the screenshot attached.
If this doesn't work, maybe there's a problem because you encrypted your phone. Maybe this will help then:
https://forum.xda-developers.com/xperia-sp/help/format-data-using-twrp-3-0-2-t3371137?&ampcf=1
Click to expand...
Click to collapse
It wont be solved I assure you. There is no probelm with gapps either as i have tried an older (feb 19 built gapps package) and it didn"t worked with any rom(havoc,rr). Try to flash the older Pixel Experience april build . Check your private messege inbox as i have sent you the link. It will surely work.
:fingers-crossed:
DROIDMANN_PANDA said:
It wont be solved I assure you. There is no probelm with gapps either as i have tried an older (feb 19 built gapps package) and it didn"t worked with any rom(havoc,rr). Try to flash the older Pixel Experience april build . Check your private messege inbox as i have sent you the link. It will surely work.
:fingers-crossed:
Click to expand...
Click to collapse
Yup it worked! But there are 2 problems,
1] My SIM card are not being detected.
2] The phone is stuck on Phone Is Starting, i tried installing Nova with adb, but the default app selection settings still is blank. (after finishing the setup, which was a pain in the ass since i had no keyboard for some reason.
Sp_3ctr_3 said:
I am using Redmi Note 4 SD625. I was easily running AEX {9.0}, without any problems.
I decided to switch to HavocOS. After installing the zip, and also Gapps {pico}, my phone got stuck on Just a Sec screen after Language Selection. I already tried using different ROMS, clearing Internal Storage, Formatting Data using TWRP, but nothing is working. I really need to get this device going. Please Help. Also, my phone's system UI keeps crashing while on Just a Sec Screen [ black screen and then instant refresh of notification panel]. Is this something to do with my gaps? Please help.:crying:
Click to expand...
Click to collapse
"SYSTEM UI KEEPS CRASHING" FACED THE SAME ERROR A YEAR AGO!!!???
I flashed miui via miflash or any rom via twrp, the same error. Last option was to flash stock ROM , lock bootloader and sent to mi service centre.
They said that the motherboard got damaged and replaced with a new one..
akkeo said:
"SYSTEM UI KEEPS CRASHING" FACED THE SAME ERROR A YEAR AGO!!!
I flashed miui via miflash or any rom via twrp, the same error. Last option was to flash stock ROM , lock bootloader and sent to mi service centre.
They said that the motherboard got damaged and replaced with a new one..
Click to expand...
Click to collapse
My warranty is expired so i guess they will take money for it? Any idea about the costs?
Sp_3ctr_3 said:
Yup it worked! But there are 2 problems,
1] My SIM card are not being detected.
2] The phone is stuck on Phone Is Starting, i tried installing Nova with adb, but the default app selection settings still is blank. (after finishing the setup, which was a pain in the ass since i had no keyboard for some reason.
Click to expand...
Click to collapse
Nevermind! This ROM is working completely fine. Sadly i lost all the customization features , but i guess you reap what you sow. I did messed up while installing a new ROM, as you guys mentioned. Thank you all for your support!
Sp_3ctr_3 said:
My warranty is expired so i guess they will take money for it? Any idea about the costs?
Click to expand...
Click to collapse
Bro they will charge 5000 INR.
Noter2017 said:
Restart to recovery
Wipe - Format Data and type yes.
After that works, wipe everything and install the ROM and GApps.
Alternatively, Wipe and then "Swipe to Factory Reset" like in the screenshot attached.
If this doesn't work, maybe there's a problem because you encrypted your phone. Maybe this will help then:
https://forum.xda-developers.com/xperia-sp/help/format-data-using-twrp-3-0-2-t3371137?&ampcf=1
Click to expand...
Click to collapse
Sp_3ctr_3 said:
Nevermind! This ROM is working completely fine. Sadly i lost all the customization features , but i guess you reap what you sow. I did messed up while installing a new ROM, as you guys mentioned. Thank you all for your support!
Click to expand...
Click to collapse
Probably you want a clean flash. Install latest twrp, go to wipe, select sys,vendom,data,dalvik,chache and wipe.
after this flash the pixel experience rom which i sent you . Always go for a clean flash.. your phone will jump back to life

Categories

Resources