My phone got stuck after flashing ROM - requesting a PIN - Xiaomi Poco F1 Questions & Answers

hello everyone
i had a lineage ROM on my phone and i wanted to format my phone so i tried to flash my ROM again with TWRP and when it finished the phone reboot him self and ask for me a PIN - and i know my PIN but when i try it this writes me that this is not right .
what can i do ?
BTW- tried to flash the ROM again and i have nothing in my memory/SDcard (seems like everything removed)
pls help
TY so much !

its encryption error,
got back to twrp,
FORMAT DATA, (you will loose all your data/internal storage)
flash rom again and everything again!
if you wana avoid encryption errors, do flash DFE

you forgot to flash DFE(DISABLE FORCE ENCRYPTION) . do flash it after you've flashing your rom.

Related

CanĀ“t flash any ROM?? Stucking at Bootlogo...

Hello guys,
I wanted to flash Cyanogen 13.0 on my OPX. I followed the instructions on the Cyanogen-Downloadsite, but after flashing with TWRP I always stucking at the bootlogo....
I waited more than 30 min, but nothing happens... While flashing I get no errors or warnings.... It seems to be alright...
Then I tried another Marshmallow ROM, but I get always the same issue...
Thank you in adavance!
need more info dude, what rom were you before the issue presented itself ? recovery version ? data, cache & system formatted to which filesystem ? what did you wipe ? what all did you flash with or after the rom ?
hi
asuming u have opened bootloader and have installed twrp this is what i do
1.put the rom and gapps on the root of the phone storage
2. factory/data rest in twrp
3.flash rom via twrp
4.clean chache/delvi
5.flash gaaps
6.clean cache/delvi again
reboot system and im good to go try this do a full flash the way i have mentioned dont do a dirty flash
im sure u will succeed good luck
If you didn't unlock the bootloader then it will not boot anything other than the stock OS.

Help!! I want to go back to MIUI from RR Oreo

A few days ago I installed RR Oreo on my device using twrp. Now I want to go back to MIUI and remove custom recovery. Basically I want to revert back to what it was before customising and stuff..
Right now, twrp asks for a password to work and even RR asks for a password before booting completely.
( Guess something to do with encryption)
Guys please suggest a fool proof method that won't brick my phone.
I searched on the net, but there were so many ways that I got confused..
Please help!!
Why would you even go back to miui?
Because I'm having issues
My camera isn't working, battery life sucks and there are heating issues.
Please tell me how to do it properly.
I think the device is encrypted. How to go about that?
SolidXx said:
A few days ago I installed RR Oreo on my device using twrp. Now I want to go back to MIUI and remove custom recovery. Basically I want to revert back to what it was before customising and stuff..
Right now, twrp asks for a password to work and even RR asks for a password before booting completely.
( Guess something to do with encryption)
Guys please suggest a fool proof method that won't brick my phone.
I searched on the net, but there were so many ways that I got confused..
Please help!!
Click to expand...
Click to collapse
If u coming from miui. Then Before installing custom rom U must format data in twrp. It formats the data and internal sd and decrypts the storage.
It will erase ur stuff.
First format data
Then wipe data factory reset
Flash rom
Flash gapps
Reboot
Thank you so much!!!! God bless you
Just one doubt.
I want to go back to MIUI from a custom ROM.
I made a twrp backup before installing my current ROM.
So after formatting data and wiping factory reset, can I use that backup to restore?
I tried restoring the backup earlier but the phone got stuck at mi logo (I didn't format data, maybe that's why it got stuck)
Try using Miflash
SolidXx said:
A few days ago I installed RR Oreo on my device using twrp. Now I want to go back to MIUI and remove custom recovery. Basically I want to revert back to what it was before customising and stuff..
Right now, twrp asks for a password to work and even RR asks for a password before booting completely.
( Guess something to do with encryption)
Guys please suggest a fool proof method that won't brick my phone.
I searched on the net, but there were so many ways that I got confused..
Please help!!
Click to expand...
Click to collapse
Did U Backup your Original MIUI stock ROM Via TWRP IF yes Follow These Step
1.) You have To Copy Your Original MIUI stock ROM To your Pc
2.) Reboot To TWRP
3.) GO to Wipe Section and Select Advance
4.) Then Wipe System,Data,Cache,Internal Storage
5.) Press Home Button
6.) Copy Your Original backup MIUI stock ROM in your phone to PC(Make Sure U Have To copy File In Root of Your Phone)
7.)Last Step Go To Restore Section And select your ROM N Swipe to restore
8.)Reboot To system
I Hope U Understand My Steps
And Sorry For my Bad English
Best Of Luck?

Unable to encrypt

Hi
I had to clean flash my ROM since i messed up with some apps, so I decided to wipe internal as well and format it and then go for a clean flash
I wiped everything and flash AICP13.1 - O ( use this ROM as daily driver ) and flashed Magisk and Gapps and then rebooted as usual
I thought of encrypting the device ( since it would decrypt if its format obviously ) but encryption is not happening
The moment I hit encrypt, An android BOT logo appears and device reboots normally.
Next I tried to clean flash the ROM only ( No gapps and Magisk this time ) and tried to encrypt , but same problem
I also tried with different ROM - checked with CrDroid-O , same here too
Am I missing something here?
Please help
Thanks in Advance
PS: I am using latest global stable firmware 9.6.2XX
Changed recovery to orange fox, formated via orange fox and it helped.
encryption success

locked myself out of my own device

Disregard unless you want to laugh at me~
Right well i thought it was a good idea to flash ANXcamera through Magisk on the PE+ rom.
After downloading and installing the zip through magisk, i restarted my device and it go stuck in a bootloop. So i went into TWRP and installed uninmod which failed to mount magisk.img. I didnt have a lot of stuff on my phone, so i thought id just reflash the rom again. instead of PE+ which was not stable for my use, i decided to go with the EvolutionX rom. So i put EvoX rom and DFE on an external micro sd card and threw that in the phone. Following the instructions they have on their post, I managed to clear data/cache/system and internal storage (because there was something on there causing it not to boot (most likely ANX)). Flashed EvoX rom and DFE. Restarted the device to the system and managed to forget the Vendor firmware (after i scrolled down to the first comment on the EvoX post that says the flash it). I thought it was a great idea to restart the phone halfway through its first initial boot to go back to TWRP to flash the vendor firmware. But now TWRP is asking for a password. i have tried default_password and still nothing. Didn't think EvoX would boot without the vendor firmware.
Do i have any options from now? Love to hear any suggestions.
Cheers
EDIT: Should've pressed READ ONLY on TWRP. rookie maneuver, completely forgot. ended up flashing a different rom and worked fine.
Simply reflash TWRP via ADB
Heaclan said:
Disregard unless you want to laugh at me~
Right well i thought it was a good idea to flash ANXcamera through Magisk on the PE+ rom.
After downloading and installing the zip through magisk, i restarted my device and it go stuck in a bootloop. So i went into TWRP and installed uninmod which failed to mount magisk.img. I didnt have a lot of stuff on my phone, so i thought id just reflash the rom again. instead of PE+ which was not stable for my use, i decided to go with the EvolutionX rom. So i put EvoX rom and DFE on an external micro sd card and threw that in the phone. Following the instructions they have on their post, I managed to clear data/cache/system and internal storage (because there was something on there causing it not to boot (most likely ANX)). Flashed EvoX rom and DFE. Restarted the device to the system and managed to forget the Vendor firmware (after i scrolled down to the first comment on the EvoX post that says the flash it). I thought it was a great idea to restart the phone halfway through its first initial boot to go back to TWRP to flash the vendor firmware. But now TWRP is asking for a password. i have tried default_password and still nothing. Didn't think EvoX would boot without the vendor firmware.
Do i have any options from now? Love to hear any suggestions.
Cheers
EDIT: Should've pressed READ ONLY on TWRP. rookie maneuver, completely forgot. ended up flashing a different rom and worked fine.
Click to expand...
Click to collapse
1. evolution x has its own vendor so you didnt have to flash any! even if you forgot it was fine!
2. seems like initially before flashing that modded cam via magisk, that rom was flashed without DFE (treble) (global) .
3. hence when you booted, the encryption stepped in.
however now
the only thing you can do is to reflash everything AFTER "FORMATING DATA"
1. use twrp from https://forum.xda-developers.com/showpost.php?p=80122987&postcount=305
2. format data , change data partition's file system to xFAT and then back to ext4. (if necessary)
3. flash firmware 9.6.27-9.0 ( is popular)
4. don't flash pe, flash some other Custom rom, I would say Bootleggers
5. flash DFE Treble
6. flash Magisk20
reboot
got her working. cheers boys

Redmi note 4 keeps rebooting with custom roms

Hi, I've recently repaired my mido with a new screen after a fall. After this I tried some custom roms. Initially I managed to install lineage 18.1. After I switched to dotOS. From this point on, the phone restarts a few seconds after the launcher appears. To fix this I used MiFlah to install latest MIUI, formatted data, wiped everything, tried TWRP and Orangefox, tried other custom roms with no changes. Now only stock MIUI11 works. Other custom roms (included lineage) gets the phone continuously rebooting. Could be an hardware problem? What am I doing wrong? It is the first time in ages I have problems flashing ROMS .-.
Thanks.
gabritb01 said:
Hi, I've recently repaired my mido with a new screen after a fall. After this I tried some custom roms. Initially I managed to install lineage 18.1. After I switched to dotOS. From this point on, the phone restarts a few seconds after the launcher appears. To fix this I used MiFlah to install latest MIUI, formatted data, wiped everything, tried TWRP and Orangefox, tried other custom roms with no changes. Now only stock MIUI11 works. Other custom roms (included lineage) gets the phone continuously rebooting. Could be an hardware problem? What am I doing wrong? It is the first time in ages I have problems flashing ROMS .-.
Thanks.
Click to expand...
Click to collapse
The vendor partition could have some code/ file that persists stock ui or system
and make sure your phone was rooted before flashing custom rom
and also via twrp flashing. from what Ive seen flash in twrp before flash custom rom( https://www.google.com/search?client=firefox-b-d&q=disable+encryption+treble ) then flash the "verity and encryption disabler ,theres another one to re enable encyption only " then flash custom rom
after flashing custom rom reboot poweroff(switch phone off via twrp)
reboot into twrp and flash whatever else you need
now reboot to system and your phone should work fine
Thanks, it worked!
I did:
Flash last miui with miflash
Flash recovery
Flash you suggested zip
Format data
Flash lineage 17.1 (android10)
WIpe system, data, cache, art cache
Flash any android 11 ROM
gabritb01 said:
Thanks, it worked!
I did:
Flash last miui with miflash
Flash recovery
Flash you suggested zip
Format data
Flash lineage 17.1 (android10)
WIpe system, data, cache, art cache
Flash any android 11 ROM
Click to expand...
Click to collapse
Holy **** how did you come up with this.
Either the zip with Magisk somehow fixed it or installing the android 10 rom somehow. Either way doesn't make sense
flairepathos.info said:
The vendor partition could have some code/ file that persists stock ui or system
and make sure your phone was rooted before flashing custom rom
and also via twrp flashing. from what Ive seen flash in twrp before flash custom rom( https://www.google.com/search?client=firefox-b-d&q=disable+encryption+treble ) then flash the "verity and encryption disabler ,theres another one to re enable encyption only " then flash custom rom
after flashing custom rom reboot poweroff(switch phone off via twrp)
reboot into twrp and flash whatever else you need
now reboot to system and your phone should work fine
Click to expand...
Click to collapse
Didn't work for me,
- did all the steps , exactly - flashed stock fastboot , then flashed Android 10 based rom crDroid + pico gapps. worked fine for 2 hours or so .
but interesting enough , phone freezes then shutdown without restarting , then i would go and trun it back on , but fingerprint not working now
heroboy107 said:
Didn't work for me,
- did all the steps , exactly - flashed stock fastboot , then flashed Android 10 based rom crDroid + pico gapps. worked fine for 2 hours or so .
but interesting enough , phone freezes then shutdown without restarting , then i would go and trun it back on , but fingerprint not working now
Click to expand...
Click to collapse
i think somewhere in the process the persist partition gets damaged .
heroboy107 said:
i think somewhere in the process the persist partition gets damaged .
Click to expand...
Click to collapse
so if you have magisk you can use a zip file to chmod 744 or 644 (it may be "chmod root 744" )the /persist partiton and thatll mean only true root has access
so 7 is read write execute 6 is read and write 4 is read only 5 is read execute i forgot which number was execute only 1 maybe?
so play with the permissions or look in the root folder for boot.p or permissions.sh then you can modify in there the permissions, it can cause bootloop , so always keep an original copy or youll hae to reflash(DISCLAIMER)
so you can pull the file using adb+root / or a root explorer
Copy it to phone then edit then copy to SDCARD
reboot to twrp then use shell/terminal "chmod 777" the partition where the file is / or read write everything
then copy the file and overwrite the original

Categories

Resources