Xiaomi redmi note 7 TWRP password and bootloop - Xiaomi Redmi Note 7 Questions & Answers

Hi
Yeasterday a friend gave me his phone (Xiaomi redmi note 7 codename lavender) and knowing i work with custom roms, he asked me to open bootloader and instal twrp and PixelExperience as rom.
I brought his phone home, inserted my SIM card, logged into my MI and added account.
I launched fastboot using ADB, activated MiUnlocker and it unlocked just fine. The phone wiped and i cofigured it, opened programmer options and clicked USB debug etc.
Again using ADV I launched fastboot and type „fastboot flash recovery twrp.img” (for reference twrp was from orange foxy)
Everything showed up, I wiped memory and inserted SD memory card with Pixel Experience, and instaled the ZIP, everything was allright so I started rebooting the system. And here is the issue, phone got stuck in a bootloop (I gave him one hour to load but it didn't).
I thought allright, let's restart that bad boy, i gave him another 15 minutes to load and still nothing.
I decided to reinstal, so I activated recovery, wiped memory and flashed zip again, waited another 15 minutes and still nothing. I thought maby the rom was corrupted so I downloaded AOSP, wiped memory, flashed rom and waited aditional 30 minutes and still nothing. I browsed Reddit and XDA and found out that is better to use „classic” TWRP not orange foxy. Once again fastbooted and flashed TWRP and it worked but requested password for memory (there was no password to begin with). I downloaded mi flash, downloaded tgz from xiaomi website and flashed it. It loaded, i made config once again and decided to instal TWRP „classic”, and again twrp „classic” asked me about password to memory despite having no password to begin with, i tried his old passwords, my old MiCloud password, even logged into MiUi and created password 1234 and password was still incorect.
I instaled twrp orange foxy and it didn't asked for password, so i tried instaling PixelExperience, but again bootloop. After 6 hours of trying i gave up, so i ask for help. My friend realy wants this.
Thanks in advance for all advices and sorry for terrible english, its my second language.

LemoN_PL said:
Hi
Yeasterday a friend gave me his phone (Xiaomi redmi note 7 codename lavender) and knowing i work with custom roms, he asked me to open bootloader and instal twrp and PixelExperience as rom.
I brought his phone home, inserted my SIM card, logged into my MI and added account.
I launched fastboot using ADB, activated MiUnlocker and it unlocked just fine. The phone wiped and i cofigured it, opened programmer options and clicked USB debug etc.
Again using ADV I launched fastboot and type „fastboot flash recovery twrp.img” (for reference twrp was from orange foxy)
Everything showed up, I wiped memory and inserted SD memory card with Pixel Experience, and instaled the ZIP, everything was allright so I started rebooting the system. And here is the issue, phone got stuck in a bootloop (I gave him one hour to load but it didn't).
I thought allright, let's restart that bad boy, i gave him another 15 minutes to load and still nothing.
I decided to reinstal, so I activated recovery, wiped memory and flashed zip again, waited another 15 minutes and still nothing. I thought maby the rom was corrupted so I downloaded AOSP, wiped memory, flashed rom and waited aditional 30 minutes and still nothing. I browsed Reddit and XDA and found out that is better to use „classic” TWRP not orange foxy. Once again fastbooted and flashed TWRP and it worked but requested password for memory (there was no password to begin with). I downloaded mi flash, downloaded tgz from xiaomi website and flashed it. It loaded, i made config once again and decided to instal TWRP „classic”, and again twrp „classic” asked me about password to memory despite having no password to begin with, i tried his old passwords, my old MiCloud password, even logged into MiUi and created password 1234 and password was still incorect.
I instaled twrp orange foxy and it didn't asked for password, so i tried instaling PixelExperience, but again bootloop. After 6 hours of trying i gave up, so i ask for help. My friend realy wants this.
Thanks in advance for all advices and sorry for terrible english, its my second language.
Click to expand...
Click to collapse
Instead of trying 6 hours, you should read carefully first few posts at orangefox thread: https://forum.xda-developers.com/showpost.php?p=79771468&postcount=2 especially about encryption... Use latest orangefox recovery and Format data partition (wipe not enough!).

Related

TWRP Issues after Flashing new ROM

Hello all
I am having a little bit of trouble with my TWRP recovery after flashing an updated version of a custom ROM, i have been using for a while.
I am using the latest version of the Pure Nexus ROM, and am currently un-rooted. I earlier want to try and clear my davlik cache as i was having a few little issues with some things, and wiping this has previously fixed the issue, i rebooted into the TWRP, and was asked for a password, which i thought would have been the PIN i use to unlock my phone. This then failed, and it proceeded to try and decrypt the partition. I left it doing this for about 20 mins, but nothing happened.
After reading up a little more, and trying a few different potential passwords to no avail, i read up that the password that TWRP was asking me for was related to the fact i had my phone set to ask for password on boot.
I removed this, and tried again. This time, TWRP just got stuck on the splash screen when trying to boot. Nothing happened for a good 10 minutes.
After putting the PIN settings back on, it goes back to asking for a password, that it wont take.
Whats my next option here, im kinda stuck. I really dont want to have to wipe the phone as i have just spent the best part of a week after flashing my new ROM getting it all back to how it was after flashing the new custom ROM i am using..
All help, much appreciated, thanks in advance
What version of TWRP are you using ?
No issues on TWRP 3.2.0.3
Sent from my Nexus 6P using Tapatalk
I'm on version 30.20

Downgrade from Pie (Official Stock Beta) to Oreo (Official Stable Nov. Patch) Issues

Hello Guys,
Recently i forced my Mi A1 to install official Pie Stable update by using VPN Method (Which Worked Fine). After Success full install of Pie Rom my Phone went in boot-loop.
Here are the details ->
1 - Mi A1 was rooted w/ Magisk. So I unrooted my phone, worked fine after removing magisk.
2 - After unrooting, Phone was working smooth no issues there.
3 - Locked boot-loader, after restart it was still working like earlier.
4 - Used VPN to connect to Netherlands Server, Cleared data from google framework & got the update.
5 - Took 8-10 mins. to get it flashed
6 - After restart Phone went straight to Boot-loop. I waited almost 40-45 mins. then forced shut down.
7 - Again restarted it but phone was again in boot-loop. So i booted my phone in recovery (stock). Cleared all data / cache. After restart the boot-loop was still there.
8 - i checked here at XDA if anyone else was facing any problem, i guess this one was unique.
9 - i then downloaded the official 8.1 stock ROM from miui website & clean installed using Mi Flash tool Successfully.
10 - After restart, my phone was continuously restarting. All I can see on screen was mi logo & android one logo. After that phone restarts itself.
11 - Again I checked if I missed any step from instruction provided by Developers, all of them were followed as described.
12 - After that I thought it must be Xiaomi's Anti-rollback feature that must be not letting my phone run Oreo. So I checked if that’s the issue, but anti returned null value. Which means it was not enabled on my device.
13 - So I looked for Mi A1 Stock Pie fast-boot Rom, Luckily I got beta Rom & so I flashed that. Which worked.
14 – Now the issue is, why I cannot go back to 8.1 & install that official stable pie? What should be my next step? What should I do to get stable build? Or is it possible that I could get stable pie TWRP rom?
Any help is appreciated.
Please guide me to get pass this issue.
Thank you for your time.
How did you installed fastboot rom without unlocking bootloader? Im facing same issue.
Try this
Hey try this, it might work for you:
1. Downgrade to Nougat by flashing it on EDL mode on MiFlash
2. Surely it won't boot so hotboot TWRP and restore the Boot, Modem and EFS Backup that someone uploaded some days ago (search on Questions & Answers or Guides)
3. Flash Nougat on EDL again
4. You'll notice that your IMEI will be 0 or not your phone's IMEI
5 To fix that, install TWRP Installer, reboot to recovery and install Latest Magisk
6. (Search on Youtube) Restore IMEI using DualWriteIMEI
7. Reboot
8. Flash latest Oreo Stock Build by normal Fastboot mode (not EDL)
9. That's all! You should be able to flash anything else that you want!
ADVERTISE: I have the Dual SIM variant, that because i've used DualWriteIMEI, idk if works too with Single SIM one, maybe it does.
Hope that it works for you, greetings!
Mirdeusz said:
How did you installed fastboot rom without unlocking bootloader? Im facing same issue.
Click to expand...
Click to collapse
boot-loader was unlocked when i first flashed magisk.
MallBrawl said:
Hey try this, it might work for you:
1. Downgrade to Nougat by flashing it on EDL mode on MiFlash
2. Surely it won't boot so hotboot TWRP and restore the Boot, Modem and EFS Backup that someone uploaded some days ago (search on Questions & Answers or Guides)
3. Flash Nougat on EDL again
4. You'll notice that your IMEI will be 0 or not your phone's IMEI
5 To fix that, install TWRP Installer, reboot to recovery and install Latest Magisk
6. (Search on Youtube) Restore IMEI using DualWriteIMEI
7. Reboot
8. Flash latest Oreo Stock Build by normal Fastboot mode (not EDL)
9. That's all! You should be able to flash anything else that you want!
ADVERTISE: I have the Dual SIM variant, that because i've used DualWriteIMEI, idk if works too with Single SIM one, maybe it does.
Hope that it works for you, greetings!
Click to expand...
Click to collapse
I will surely try this, thank you for your help
iammilind said:
Hello Guys,
Recently i forced my Mi A1 to install official Pie Stable update by using VPN Method (Which Worked Fine). After Success full install of Pie Rom my Phone went in boot-loop.
Here are the details ->
1 - Mi A1 was rooted w/ Magisk. So I unrooted my phone, worked fine after removing magisk.
2 - After unrooting, Phone was working smooth no issues there.
3 - Locked boot-loader, after restart it was still working like earlier.
4 - Used VPN to connect to Netherlands Server, Cleared data from google framework & got the update.
5 - Took 8-10 mins. to get it flashed
6 - After restart Phone went straight to Boot-loop. I waited almost 40-45 mins. then forced shut down.
7 - Again restarted it but phone was again in boot-loop. So i booted my phone in recovery (stock). Cleared all data / cache. After restart the boot-loop was still there.
8 - i checked here at XDA if anyone else was facing any problem, i guess this one was unique.
9 - i then downloaded the official 8.1 stock ROM from miui website & clean installed using Mi Flash tool Successfully.
10 - After restart, my phone was continuously restarting. All I can see on screen was mi logo & android one logo. After that phone restarts itself.
11 - Again I checked if I missed any step from instruction provided by Developers, all of them were followed as described.
12 - After that I thought it must be Xiaomi's Anti-rollback feature that must be not letting my phone run Oreo. So I checked if that’s the issue, but anti returned null value. Which means it was not enabled on my device.
13 - So I looked for Mi A1 Stock Pie fast-boot Rom, Luckily I got beta Rom & so I flashed that. Which worked.
14 – Now the issue is, why I cannot go back to 8.1 & install that official stable pie? What should be my next step? What should I do to get stable build? Or is it possible that I could get stable pie TWRP rom?
Any help is appreciated.
Please guide me to get pass this issue.
Thank you for your time.
Click to expand...
Click to collapse
FOLLOW THE INSTRUCTIONS CAREFULLY
i went back to nougat using this guide
https://forum.xda-developers.com/mi-...-beta-t3876533
in step 9 move that file "2018-12-06--15-41-27_PQ1A181205006" to straight TWRP folder....it will present inside backups folder so move it and delete backups folder then you can roll back to nougat/oreo then do anything
Selvakmr123 said:
FOLLOW THE INSTRUCTIONS CAREFULLY
i went back to nougat using this guide
https://forum.xda-developers.com/mi-...-beta-t3876533
in step 9 move that file "2018-12-06--15-41-27_PQ1A181205006" to straight TWRP folder....it will present inside backups folder so move it and delete backups folder then you can roll back to nougat/oreo then do anything
Click to expand...
Click to collapse
Your url link is bad.
barrack1 said:
Your url link is bad.
Click to expand...
Click to collapse
If you wish to downgrade....i think it is the only way for now.... This is not my creation i just followed the method...worked perfectly... If you don't want to modify system then stay in pie update bro..
I think using Netherlands vpn is bad as this...because installing other regions will mess up something within our mobile...we don't realised it yet
iammilind said:
Hello Guys,
Recently i forced my Mi A1 to install official Pie Stable update by using VPN Method (Which Worked Fine). After Success full install of Pie Rom my Phone went in boot-loop.
Here are the details ->
1 - Mi A1 was rooted w/ Magisk. So I unrooted my phone, worked fine after removing magisk.
2 - After unrooting, Phone was working smooth no issues there.
3 - Locked boot-loader, after restart it was still working like earlier.
4 - Used VPN to connect to Netherlands Server, Cleared data from google framework & got the update.
5 - Took 8-10 mins. to get it flashed
6 - After restart Phone went straight to Boot-loop. I waited almost 40-45 mins. then forced shut down.
7 - Again restarted it but phone was again in boot-loop. So i booted my phone in recovery (stock). Cleared all data / cache. After restart the boot-loop was still there.
8 - i checked here at XDA if anyone else was facing any problem, i guess this one was unique.
9 - i then downloaded the official 8.1 stock ROM from miui website & clean installed using Mi Flash tool Successfully.
10 - After restart, my phone was continuously restarting. All I can see on screen was mi logo & android one logo. After that phone restarts itself.
11 - Again I checked if I missed any step from instruction provided by Developers, all of them were followed as described.
12 - After that I thought it must be Xiaomi's Anti-rollback feature that must be not letting my phone run Oreo. So I checked if that’s the issue, but anti returned null value. Which means it was not enabled on my device.
13 - So I looked for Mi A1 Stock Pie fast-boot Rom, Luckily I got beta Rom & so I flashed that. Which worked.
14 – Now the issue is, why I cannot go back to 8.1 & install that official stable pie? What should be my next step? What should I do to get stable build? Or is it possible that I could get stable pie TWRP rom?
Any help is appreciated.
Please guide me to get pass this issue.
Thank you for your time.
Click to expand...
Click to collapse
Hello you have said at step 3 that you locked the bootloader and at step 9 that you have flashed via fastboot with locked bootloader how did you do that ? thanx
Selvakmr123 said:
If you wish to downgrade....i think it is the only way for now.... This is not my creation i just followed the method...worked perfectly... If you don't want to modify system then stay in pie update bro..
I think using Netherlands vpn is bad as this...because installing other regions will mess up something within our mobile...we don't realised it yet
Click to expand...
Click to collapse
he was saying that when we click this link you've posted we get a page 404 because the link is broken.
sergioricardojsj said:
he was saying that when we click this link you've posted we get a page 404 because the link is broken.
Click to expand...
Click to collapse
My bad guys
Follow this link
https://forum.xda-developers.com/mi-a1/how-to/solution-bootloop-9-0-beta-t3876533
Bootloop while Downgrading and network issue
VoLTE isn't working in pie beta rom on my device( mi a1) after several unsuccessful downgrades from pie to oreo.
tsrnb said:
VoLTE isn't working in pie beta rom on my device( mi a1) after several unsuccessful downgrades from pie to oreo.
Click to expand...
Click to collapse
maybe thats because we forced our phone to flash pie beta, it's modem may not support our LTE bands for VOLTE service.
we will have to wait for stable release, after that we will be able to flash that modem & use volte service.
cheaterel said:
Hello you have said at step 3 that you locked the bootloader and at step 9 that you have flashed via fastboot with locked bootloader how did you do that ? thanx
Click to expand...
Click to collapse
my bad, please consider bootloader was unlocked at the time of flashing.
i should have included that.

Softbricked my phone, Noob needs help.

Hey!
So I got the 9.0 pie on my Xiaomi MiA1 and I decided to test it and I was pretty disappointed, so I decided to try to revert back to 8.1 oreo. I unlocked the phone, fastbooted twrp, wiped the data and tried using miflash to install the rom and also tried flashing it through twrp. I have been having this problem for 2 days now, i successfully install the OS but then I get stuck in a boot loop and now I can't even get past the android one logo and it keeps loading there. I didn't do a backup, I regret that. I can't remember how many times I already try flashing different roms but nothing really seems to work, in fact seems like it's getting worse since before it would actually boot until it asked me to put my SIM card PIN but then it would reboot constantly, but as I said before now it wont get past android one screen. Also maybe its worth mentioning that i try using lazyflasher already a few times and that there was a time that it actually worked but it got automatically updated to 9.0 pie again so back to the start and, as i thought that i knew what i was doing, i just tried redoing what i did before to install 8.1 again and disable automatic updates before connecting to the internet. I can go to fastboot mode and I can use twrp doesn't seem like I have a problem there, any help is appreciated!
maybe just can let 9.0 install , looks like is the only way that u have for a dayle phone
Mig979 said:
Hey!
So I got the 9.0 pie on my Xiaomi MiA1 and I decided to test it and I was pretty disappointed, so I decided to try to revert back to 8.1 oreo. I unlocked the phone, fastbooted twrp, wiped the data and tried using miflash to install the rom and also tried flashing it through twrp. I have been having this problem for 2 days now, i successfully install the OS but then I get stuck in a boot loop and now I can't even get past the android one logo and it keeps loading there. I didn't do a backup, I regret that. I can't remember how many times I already try flashing different roms but nothing really seems to work, in fact seems like it's getting worse since before it would actually boot until it asked me to put my SIM card PIN but then it would reboot constantly, but as I said before now it wont get past android one screen. Also maybe its worth mentioning that i try using lazyflasher already a few times and that there was a time that it actually worked but it got automatically updated to 9.0 pie again so back to the start and, as i thought that i knew what i was doing, i just tried redoing what i did before to install 8.1 again and disable automatic updates before connecting to the internet. I can go to fastboot mode and I can use twrp doesn't seem like I have a problem there, any help is appreciated!
Click to expand...
Click to collapse
You can install stock Pie via Mi Flash tool.
Sent from my Mi A1 using XDA Labs

ZC553KL twrp failure - help!

Hello! Long time lurker on here but first time posting. I follow this guide to unlock bootloader and install twrp on the zc553kl. https://forum.xda-developers.com/zenfone-3/how-to/zenfone-3-max-zc553kl-bootloader-unlock-t3691837
It kind of worked, and it did flash twrp. The only problem is that the twrp although launching, didnt seem to have permissions to access storage, probably due to a data encryption problem. all the storages had 0mb sizes and i couldn't do anything.
So naturally i googled my problem and tried a few methods.
Nothing seemed to work, and i ended up doing an advance wipe. That also failed and it said it didnt have access or permission to do it (something along those lines). Next day i decide to try again and now my internal storage seemed to show.
So i ended up formatting it, and while the files seem to be still there, i changed .ext4 to .ext2 and back again, and then it stopped recognizing the stock rom i still had installed. Please note that before all of this, although twrp didnt work properly, the phone still worked fine and booted into android. My problem is now the stock rom is gone, twrp says no OS installed, and i have tried my best to reinstall the stock rom, but that hasn't worked. Any ideas or help would be welcome thanks guys
Nyoxx said:
Hello! Long time lurker on here but first time posting. I follow this guide to unlock bootloader and install twrp on the zc553kl. https://forum.xda-developers.com/zenfone-3/how-to/zenfone-3-max-zc553kl-bootloader-unlock-t3691837
It kind of worked, and it did flash twrp. The only problem is that the twrp although launching, didnt seem to have permissions to access storage, probably due to a data encryption problem. all the storages had 0mb sizes and i couldn't do anything.
So naturally i googled my problem and tried a few methods.
Nothing seemed to work, and i ended up doing an advance wipe. That also failed and it said it didnt have access or permission to do it (something along those lines). Next day i decide to try again and now my internal storage seemed to show.
So i ended up formatting it, and while the files seem to be still there, i changed .ext4 to .ext2 and back again, and then it stopped recognizing the stock rom i still had installed. Please note that before all of this, although twrp didnt work properly, the phone still worked fine and booted into android. My problem is now the stock rom is gone, twrp says no OS installed, and i have tried my best to reinstall the stock rom, but that hasn't worked. Any ideas or help would be welcome thanks guys
Click to expand...
Click to collapse
i downloaded a previous rom version from asus site and that flashed fine.

Z17 mini cannot access system and TWRP

Hello! I faced an issue after flashing rom (did it million times before). I had Chinese stock ROM and decided to move to regular worldwide stock rom. I used TWRP 4.0.0.
I flashed the rom, rebooted, system asks for decryption password as always (PIN appeared somehow a long ago and it was pin of mine), but pin is incorrect. I didn't change pin at all. I didn't have even pin on latest rom, but somehow it is changed. The same in TWRP, I cannot access TWRP now. I tried "default_password", tried my old pin which I was used, but no luck. What can I do in this situation?

Categories

Resources