[Help] [Emergency] Phone locked after Flashing ROM. - Xiaomi Redmi Note 3 Questions & Answers

I had MIUI stock on my phone, it was PIN locked. No encryption AFAIK. Installed custom ROM (Purenexus) from TWRP. Rebooted to phone. After boot, it shows enter password screen, with my name on it. What do I do?
The bootloader is officially unlocked.

srivmanu said:
I had MIUI stock on my phone, it was PIN locked. No encryption AFAIK. Installed custom ROM (Purenexus) from TWRP. Rebooted to phone. After boot, it shows enter password screen, with my name on it. What do I do?
The bootloader is officially unlocked.
Click to expand...
Click to collapse
Update : Found solution. Posting it here for the next person who comes up with this problem. Do a full wipe, including /data partition.

Related

Phone Stuck In Fastboot

Hello EDA Forums
I am having an issue with my Moto E 2015, after unlocking the device.
I had it unlocked, and accidentally hit the relock button. Now, my device is stuck in the fastboot menu. The only options I am able to do are barcodes, power off, and bootloader logs.
When I try to use the other options, my phone flashes the your phone is unlocked message then closes very quickly.
My phone is locked, and has a status code of 2. I cant boot into the OS, because in the bootloader logs, it says "Failed to validate system image".
Also, after relocking the phone, my oem unlock developer console setting was turned off, so I cant flash in a new operating system.
I already have android sdk, and have been trying to get the phone working.
Thank you so much for your time, Allan
See this thread: http://forum.xda-developers.com/moto-e-2015/general/warning-bootloader-relocking-t3059595
The short story is that you need to reflash the signed stock firmware for your model using fastboot. Assuming you were running the 5.0.2 stock ROM, you should reflash the 5.0.2 stock ROM signed for your device. Don't try flashing a 5.1 stock ROM with fastboot, as upgrading the bootloader will prevent rollback, and could brick your device in certain scenarios that I won't confuse you with here.
squid2 said:
See this thread: http://forum.xda-developers.com/moto-e-2015/general/warning-bootloader-relocking-t3059595
The short story is that you need to reflash the signed stock firmware for your model using fastboot. Assuming you were running the 5.0.2 stock ROM, you should reflash the 5.0.2 stock ROM signed for your device. Don't try flashing a 5.1 stock ROM with fastboot, as upgrading the bootloader will prevent rollback, and could brick your device in certain scenarios that I won't confuse you with here.
Click to expand...
Click to collapse
Thank you for the reply. The issue is that I am not able to flash a new os, or stock os to my phone, because it is not unlocked. My oem unlocking access was revoked when I relocked the device.
Nanrx3 said:
Thank you for the reply. The issue is that I am not able to flash a new os, or stock os to my phone, because it is not unlocked. My oem unlocking access was revoked when I relocked the device.
Click to expand...
Click to collapse
No. Your bootloader will allow you to flash signed firmware for your region when locked. When unlocked, it also allows you to flash firmware not for your region, and firmware that is not signed at all. You just need to flash firmware whose CID matches your region.

Note 3 [SD] came with unlocked Bootloader

Hey all!
I just got my Note 3 (Snapdragon/Kenzo) from DX and it came with global US rom. I checked and its bootloader is already unlocked. I want to update to Miui 8 global dev but I'm worried with this unlock, is there a way to know if it was officialy or unnoficialy unlocked? I want to flash the oficial recovery rom but heard that it can brick the phone if it was unnoficialy unlocked.
link: http://www.dx.com/p/432294
It came with Miui 7.3 Stable (7.3.2.0.0 LHOCNDD)
Please, help. =)
Hazihell said:
It came with Miui 7.3 Stable (7.3.2.0.0 LHOCNDD)
Click to expand...
Click to collapse
That is a vendor rom.
More than likely it is unofficially unlocked, because your only allow to unlock 1 device per month for each account.
Since your bootloader is unlocked, flash an official rom (which might lock the bootloader again).
Don't flash the latest 6.0.1 rom yet as you might not be able unlock with that.
Then unlock officially.
Check the reddit xiaomi wiki for guides.
Got it! Thanks, for your answer. I realy dont mind unlocking, I just want a miui 8 dev(it has a built in root, right?). I just was afraid of what method of flashing I should use with this unnoficialy unlocked bootloader. I'm going to search this wiki for it.
And better do a Alka TWRP backup now, before anything! Then, if you get your bootloader locked, you can always restore the backup to your current status - ROM and unlocked bootloader. I have two Kenzos in the same situation, and that's the way I do it.
Nice! Will do. Can't I just use that recovery to install an updated rom? There is an annoying bug on this version, I can't open my contact or dialer app, they close befero they appear on screen, tried erasing data but no help.
Boot from TWRP without installing it, make the backup (all partitions), then make sure you get the backup on your PC. After that you can install TWRP and make whatever you wish.
And don't forget, if you need to restore, do it without restoring the firmware partition, or else you'll get an error.
Thansk! But I think I will stick with the global dev. Can I flash it via Fastboot (MiFlash)? This unnoficial unlock wont cause any trouble, right ?
This is not an unofficial unlock. Is isn't either official
My phones came with some vendor MIUI's - 7.4.9.0(LHOCNDD), respectively 7.4.18.0(LHOMIDD), but I never flashed another MIUI, just custom ROMs. For what I know, if you flash via fastboot it will wipe the entire partition structure, including boot and recovery, and the bootloader will get locked. In that case you can not restore the backup you make now. You'll have to apply for official unlocking, or go unofficial.
Hazihell said:
Hey all!
I just got my Note 3 (Snapdragon/Kenzo) from DX and it came with global US rom. I checked and its bootloader is already unlocked. I want to update to Miui 8 global dev but I'm worried with this unlock, is there a way to know if it was officialy or unnoficialy unlocked? I want to flash the oficial recovery rom but heard that it can brick the phone if it was unnoficialy unlocked.
link: http://www.dx.com/p/432294
It came with Miui 7.3 Stable (7.3.2.0.0 LHOCNDD)
Please, help. =)
Click to expand...
Click to collapse
that means.. you recieved an unboxed device, may be refurbished, repacked and resealed and sold $25 costlier than the original. :silly:
Not necessarily. I have two, buyed from a local big online store, both came with unlocked bootloader. Both boxes were sealed, with no sign of foreign hands
I have 7.3.2.0.0 LHOCNDD rom and unlocked bootloader. Can I just type on fastboot:
fastboot flash recovery recoveryAlkaUpdate.img
to get twrp(alka)?
Thats work!
paul_damian said:
This is not an unofficial unlock. Is isn't either official
My phones came with some vendor MIUI's - 7.4.9.0(LHOCNDD), respectively 7.4.18.0(LHOMIDD), but I never flashed another MIUI, just custom ROMs. For what I know, if you flash via fastboot it will wipe the entire partition structure, including boot and recovery, and the bootloader will get locked. In that case you can not restore the backup you make now. You'll have to apply for official unlocking, or go unofficial.
Click to expand...
Click to collapse
I have the same MIUI vendor as you, 7.4.9.0(LHOCNDD), what method did you use to install TWRP? I only want to install AOSP/CM based ROM on this device. I want to flash it ASAP cause this MIUI ROM have a Trojan downloader, which luckily can be disabled.
I used Cofface on first phone, Alka on the second. Before flashing, first boot from TWRP image, make backup of all partitions to the SD card, copy the backup on computer, and only after that flash the TWRP image. After that... flash ROMs
paul_damian said:
I used Cofface on first phone, Alka on the second. Before flashing, first boot from TWRP image, make backup of all partitions to the SD card, copy the backup on computer, and only after that flash the TWRP image. After that... flash ROMs
Click to expand...
Click to collapse
I followed a tutorial that uses ZXC TWRP while on MIUI. Then I flashed ALKA, I'm on Nexus Experience now.

Bootloader Unlock = No after Restore.

I have a Z5C(E5803) that was originally able to unlock the bootloader and let me flash ROMs, specifically the Cyanogen ROM that CTXz has been working on. I ran out of power and got stuck in some kind of nasty bootloop yesterday that prompted me to re-flash boot.img and TWRP.
After I did these things I left it charging for a few hours and it was able to boot into TWRP where I then restored it to a backup of the basic Xperia pre-loaded ROM.
This all worked fine, thought I could boot into TWRP and just flash the Cyanogen zip again. I can get into TWRP just fine but I attempt to flash Cyanogen I get an "ERROR 7"
I have since done several wipes, gotten into the bootloader settings by entering that code in the dialer and have seen that bootloader unlock = no. I distinctly remember bootloder unlocking being allowed the first time I installed CM on my device, what could have caused this?
I was able to use it with fastboot anyway and install CM13 again, maybe this was a bug?
When I tried using oem unlock command with fastboot it said my device was already rooted even though I had just restored from a backup, and then I just proceeded normally from there.
use CM13 official Recovery to FLASH CM13.
also i don't think so twrp3.0.2 is out there for z5c. are you using any other variants Twrp? (YUGA ? )

Issue - Flashing stock recovery & bypassing FRP

Obtained phone with buggy touchscreen. Flashed CM to see if it fixed it. Didn't. Trying to go back to full stock for return
Recovered stock device via TWRP then installed what I thought was a stock recovery.img, except it wasn't - it was a CM recovery
The CM recovery only lets me boot to recovery or the bootloader - no other options are functional
In the bootloader the FRP is locked and doesn't let me flash TWRP or stock recovery
What should I do to replace the CM recovery with TWRP or stock when the FRP is locked?
THanks
funkyhunky said:
Obtained phone with buggy touchscreen. Flashed CM to see if it fixed it. Didn't. Trying to go back to full stock for return
Recovered stock device via TWRP then installed what I thought was a stock recovery.img, except it wasn't - it was a CM recovery
The CM recovery only lets me boot to recovery or the bootloader - no other options are functional
In the bootloader the FRP is locked and doesn't let me flash TWRP or stock recovery
What should I do to replace the CM recovery with TWRP or stock when the FRP is locked?
THanks
Click to expand...
Click to collapse
Go into developer options and enable OEM unlocking
---------- Post added at 02:26 AM ---------- Previous post was at 02:17 AM ----------
funkyhunky said:
Obtained phone with buggy touchscreen. Flashed CM to see if it fixed it. Didn't. Trying to go back to full stock for return
Recovered stock device via TWRP then installed what I thought was a stock recovery.img, except it wasn't - it was a CM recovery
The CM recovery only lets me boot to recovery or the bootloader - no other options are functional
In the bootloader the FRP is locked and doesn't let me flash TWRP or stock recovery
What should I do to replace the CM recovery with TWRP or stock when the FRP is locked?
THanks
Click to expand...
Click to collapse
I have just now read your post thoroughly you said that the touchscreenis buggy,is it twrp or in the system
If it's twrp don't worry I too have the same problem in the version I tried eg. 3.0.2.0,3.0.1.0,3.0.0.0
But if it's in system try factory resetting
And change smart power saving mode to performance
But to unlock frp(i suppose you have already unlocked your bootloader) just go into developer options and enable OEM unlocking option
Ok I got the stock recovery back:
I booted into the bootloader and used the local command window to fastboot boot a twrp image from my computer
With TWRP booted (but not installed) on my phone I put in a sd card with a stock recovery image, and used the booted TWRP to install the stock recovery
Unfortunately, I have not figured out how to relock the boot loader, but hopefully they overlook/don't care about that for a return - I did not root the phone
U can relock bootloader in honor5x
I think I have a similar problem. I bought new KIW-L24, I unlocked bootloader, flashed twrp to go to RR Nougat ROM. When I started Twrp to install ROM it said "Comparing tarz 2.2 to 2.5" so I read that I had update to MM.
I went to settings>updater and started update to M331 EMUI 4.0 ROM on the twrp recovery instead of stock recovery. I have M331 ROM now but I can't fastboot the TWRP recovery anymore. It sat twrp installed successful but the EMUI Stock recovery opens up when hitting Vol. + and Power instead of Twrp.
I noticed fastboot menu shows Phone unlocked but it does not say FRP Unlocked anymore. Does that prevent me from installing custom recovery now? Please...any help is appreciated.
cyrusalmighty said:
I think I have a similar problem. I bought new KIW-L24, I unlocked bootloader, flashed twrp to go to RR Nougat ROM. When I started Twrp to install ROM it said "Comparing tarz 2.2 to 2.5" so I read that I had update to MM.
I went to settings>updater and started update to M331 EMUI 4.0 ROM on the twrp recovery instead of stock recovery. I have M331 ROM now but I can't fastboot the TWRP recovery anymore. It sat twrp installed successful but the EMUI Stock recovery opens up when hitting Vol. + and Power instead of Twrp.
I noticed fastboot menu shows Phone unlocked but it does not say FRP Unlocked anymore. Does that prevent me from installing custom recovery now? Please...any help is appreciated.
Click to expand...
Click to collapse
Just delete the google account in your phone and do a factory reset. Later reboot but skip adding gmail . This will unlock frp .
gopinaidu77 said:
Just delete the google account in your phone and do a factory reset. Later reboot but skip adding gmail . This will unlock frp .
Click to expand...
Click to collapse
Can the frp relocking stop me from flahing twrp? Or is it this stock rom I am on? Do you know if other people have problems flashing twrp on L24 B311 MM update? Could I have caused my issue when I updated to the official rom using the twrp? I didn't think the update would work without stock recovery but it did. I did factory resets but I still can't install install any custom recovery. Can I go back to earlier stock rom?
I followed your instructions and deleted Google accounts and factory restored. I go to bootloader and it says Phone Unlocked but does not say FRP unlocked anywhere. I flshed twrp anyways and although cmd window shows it flashed OK when I reboot the stock EMUI Recovery opens again.
Edit: Now I use adb and mfastboot.exe to open twrp and do a backup. I don't know if I install a different rom if I will able to finally install twrp. I wonder if this 331 stock rom is the problem or FRP is issue here. Never had this problem with my Gold Honor 5X.
cyrusalmighty said:
I followed your instructions and deleted Google accounts and factory restored. I go to bootloader and it says Phone Unlocked but does not say FRP unlocked anywhere. I flshed twrp anyways and although cmd window shows it flashed OK when I reboot the stock EMUI Recovery opens again.
Edit: Now I use adb and mfastboot.exe to open twrp and do a backup. I don't know if I install a different rom if I will able to finally install twrp. I wonder if this 331 stock rom is the problem or FRP is issue here. Never had this problem with my Gold Honor 5X.
Click to expand...
Click to collapse
Plz boot recovery first and install recovery from twrp . This may do some help
gopinaidu77 said:
Plz boot recovery first and install recovery from twrp . This may do some help
Click to expand...
Click to collapse
Ok. Ive never done this this way. When installing Twrp image it asks where to install? Select Partition to Flash image: Boot, OEMinfo, or Recovery. Do I just press Recovery only?
cyrusalmighty said:
Ok. Ive never done this this way. When installing Twrp image it asks where to install? Select Partition to Flash image: Boot, OEMinfo, or Recovery. Do I just press Recovery only?
Click to expand...
Click to collapse
Select only recovery
ok I installed image, chose recovery, and installed superSU_2.46.zip but it still only boots up EMUI Stock recovery. Unfortunately its stuck in bootloop now so now I cant even adb/fastboot into twrp anymore. Now my only option is holding vol +- and Power to install update from sd card (dload folder). I just dont kmow what FW file to use.
cyrusalmighty said:
ok I installed image, chose recovery, and installed superSU_2.46.zip but it still only boots up EMUI Stock recovery. Unfortunately its stuck in bootloop now so now I cant even adb/fastboot into twrp anymore. Now my only option is holding vol +- and Power to install update from sd card (dload folder). I just dont kmow what FW file to use.
Click to expand...
Click to collapse
Fastboot boot recovery.img dint helped?
gopinaidu77 said:
Fastboot boot recovery.img dint helped?
Click to expand...
Click to collapse
I ended up trying everything. I held volume - and Power to force Fastboot&Rescue Mode. I did fastboot boot twrp_kiwi.IMG. When in Twrp I install twrp_kiwi.IMG (For permanent Install) but EMUi recovery still stays.
I believe the custom recovery is installing but NOT where it needs to install.(Probably a different partition). I noticed a erecovery when I extracted an update file with HuaweiExtractor with does program. I DID get out of Bootloop by applying update from SD card (Force Update Volume - and Plug in USB cable). I rolled the FW back to B130 Emui 3.1 Firmware. I still need to fash Twrp and update this phone now.
cyrusalmighty said:
I ended up trying everything. I held volume - and Power to force Fastboot&Rescue Mode. I did fastboot boot twrp_kiwi.IMG. When in Twrp I install twrp_kiwi.IMG (For permanent Install) but EMUi recovery still stays.
I believe the custom recovery is installing but NOT where it needs to install.(Probably a different partition). I noticed a erecovery when I extracted an update file with HuaweiExtractor with does program. I DID get out of Bootloop by applying update from SD card (Force Update Volume - and Plug in USB cable). I rolled the FW back to B130 Emui 3.1 Firmware. I still need to fash Twrp and update this phone now.
Click to expand...
Click to collapse
So the frp lock still exists is it?
gopinaidu77 said:
So the frp lock still exists is it?
Click to expand...
Click to collapse
Yes I think the FRP Lock is on. It only says: Phone Unlocked. Before it used to say hone Unlocked and FRP unlocked.
cyrusalmighty said:
Yes I think the FRP Lock is on. It only says: Phone Unlocked. Before it used to say hone Unlocked and FRP unlocked.
Click to expand...
Click to collapse
Have u removed gmail account ?
gopinaidu77 said:
Have u removed gmail account ?
Click to expand...
Click to collapse
Yes I had removed gmail account. I went to settings>accounts and deleted Google and all other accounts. Does FRP Unlock when you unlock Bootloader?
cyrusalmighty said:
Yes I had removed gmail account. I went to settings>accounts and deleted Google and all other accounts. Does FRP Unlock when you unlock Bootloader?
Click to expand...
Click to collapse
U can try that

Cannot decrypt Xiaomi Redmi Note 3 (SD version)

Hello guys,
There's a problem associated with encryption of my RN 3 Snapdragon edition. Some time ago, I've officially unlocked my bootloader, to flash any custom roms I want, whenever I want (before I was using the way around it, where unlocked bootloader wasn't necessary).
OK. Back to my point, when i unlocked my bootloader, I installed Resurrection Remix rom and it was android 7.x.x I think. Somehow I was offered to encrypt my data, to have better security of my phone, etc. So I encypted it. Then everytime I turn on or reboot the phone, I was asked for a PIN code during the rom start up screen or when entering TWRP recovery. I forgot that my phone was encrypted, and I formated/deleted all possible data on my phone (internal storage, cache, etc) using TWRP and installed a fresh Lineage 8.0. Then it asked for a password on first boot, if i want to use my old data, the old password was not correct and i just chose the option to forget about old data and use it as a new phone. The phone didn't boot at all. It booted only after installing stock MIUI rom via FASTBOOT with miflash tool, and then installing the Android 8.0. But until now it shows, that my phone is encrypted in the settings menu and when i enter TWRP, it tells me the phone is encrypted and I can't see my files on internal memory and it's hard to flash the phone, as I have to use adb sideload or some other ways, but I cannot use the TWRP in normal way.
BTW, I tried factory reseting, wiping everything I can, installing official MIUI roms several times and so on, nothing helped.
If you have any thoughts please write them below, any info is important,
Thanks in advance
Then everytime I turn on or reboot the phone, I was asked for a PIN code during the rom start up screen or when entering TWRP recovery.
Click to expand...
Click to collapse
You obliviously choosed to "Require Pin/Password/Pattern on boot up" when setting up your pin code.
To decrypted the device, you will need to Format Data (Not wipe or Factory Reset), and flash any of following before booting the device:
SuperSU, Magisk, Custom Kernel or FED Patcher.
Thanks alot, it worked.
I've formated data, flashed fresh rom, gapps and custom kernel before first boot up from TWRP.
Reminder!
If you update your rom,
make sure also to reflash the custom kernel before booting the device.
Otherwise your device will encrypt on boot.

Categories

Resources