Reinstalling TWRP on F1 - Xiaomi Poco F1 Questions & Answers

Hi all, so, i wanted to boot into twrp today only to realise that i cant since the MIUI 10+ update.
My device is still rooted with Magisk installed but in order to update my magisk i need to flash into TWRP recovery. I've downloaded 3.3.0.0 version of TWR.img and when i want to flash it trough TWRP app i get Flash Failed! messege..So how do i reflash again?
Edit: seems like my magisk gone too, i only have magisk manager now..

Kipce said:
Hi all, so, i wanted to boot into twrp today only to realise that i cant since the MIUI 10+ update.
My device is still rooted with Magisk installed but in order to update my magisk i need to flash into TWRP recovery. I've downloaded 3.3.0.0 version of TWR.img and when i want to flash it trough TWRP app i get Flash Failed! messege..So how do i reflash again?
Edit: seems like my magisk gone too, i only have magisk manager now..
Click to expand...
Click to collapse
Reboot to bootloader and fastboot flash recovery twrp.img with your pc
Then fastboot reboot
Hold volume up and power till twrp boots
Sent from my SM-N960U1 using Tapatalk

clsA said:
Reboot to bootloader and fastboot flash recovery twrp.img with your pc
Then fastboot reboot
Hold volume up and power till twrp boots
Sent from my SM-N960U1 using Tapatalk
Click to expand...
Click to collapse
How, i forgot how all of this is done.
Edit: looked up an indian guy and solved it, thank you

One minute google will help you a lot.... I trust in you.

Related

Change of custom kernel and installation of new recovery

Hi xda!
I have a Z5C and i was tired of sonys laggy version of Android so I decided to install zombie kernel with twrp as backup.
The kernel works brilliant but I can only boot to recovery with help from fastboot. I would like to be able to boot to recovery directly from my phone without the use of fastboot/PC..
I also have a z4 tablet with Androplus kernel with twrp recovery.. And I am able to boot directly from the tablet to recovery.
So I decided to install Androplus and twrp for my z5c. I tried to install twrp through twrp and it looked like it was installed... However still not able to boot to recovery without fastboot. Then I tried to install with fastboot and I got an error - picture attached.
When I look under "about phone" the phone tells me that I'm still using the old zombiekernel??
How do I get Androplus kernel and working twrp installed on my z5c?
Thanks in advance
asl0501 said:
Hi xda!
I have a Z5C and i was tired of sonys laggy version of Android so I decided to install zombie kernel with twrp as backup.
The kernel works brilliant but I can only boot to recovery with help from fastboot. I would like to be able to boot to recovery directly from my phone without the use of fastboot/PC..
I also have a z4 tablet with Androplus kernel with twrp recovery.. And I am able to boot directly from the tablet to recovery.
So I decided to install Androplus and twrp for my z5c. I tried to install twrp through twrp and it looked like it was installed... However still not able to boot to recovery without fastboot. Then I tried to install with fastboot and I got an error - picture attached.
When I look under "about phone" the phone tells me that I'm still using the old zombiekernel??
How do I get Androplus kernel and working twrp installed on my z5c?
Thanks in advance
Click to expand...
Click to collapse
To boot to recovery in the z5c you gotta pudg the volume up while booting over and over until you see the notification LED go red-yellow-orange
Once you're in recovery you could restore your old kernal if you made s bsckup
I know... But that is not working. The only way i can get it to boot is with fastboot. What to do?
asl0501 said:
I know... But that is not working. The only way i can get it to boot is with fastboot. What to do?
Click to expand...
Click to collapse
Try flash tool to push anew kernel maybe.I've never done it but from what j have read, download your firmware from xperia firmware and use flash tool to only flash kernel.
You need to use fastboot to flash the boot.img to the phone and then do the same for recovery.img. It will then work with androplus kernel and twrp.
Thats my setup currently.
spikeyhair said:
You need to use fastboot to flash the boot.img to the phone and then do the same for recovery.img. It will then work with androplus kernel and twrp.
Thats my setup currently.
Click to expand...
Click to collapse
Sorry to resurect this old thread. Can you or anyone provide a boot.img or how to go about creating one? I am in same situation (stuck at boot screen) and only have access to fastboot. Thanks.
For which version of rom? I can give you 32.0.A.200 boot.img and twrp recovery.
Are you sure you're clicking volume up when booting? It doesn't work when you hold the volume up button down.
If y'all go to the twrp thread there is a modified boot.IMG that allows booting to recovery now.

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

Can somebody help me please!

So hey! I successfully booted into the TWRP and used it to flash the DISABLEFORCEENCRYPTION file, right after. I decided to reboot to recovery (Cause I think that would be great just after you flash something in TWRP) but then after it finishes showing the pocophone booting screen rather than showing TWRP recovery. It showed the stock MIUI recovery! someone please help! I just finished flashing magisk and a custom rom by using the method of: Everytime I need to flash something using TWRP I would just open adb and fastboot boot recovery it again so that I could use the TWRP!
Thank you in advance!
GGerniWhite said:
So hey! I successfully booted into the TWRP and used it to flash the DISABLEFORCEENCRYPTION file, right after. I decided to reboot to recovery (Cause I think that would be great just after you flash something in TWRP) but then after it finishes showing the pocophone booting screen rather than showing TWRP recovery. It showed the stock MIUI recovery! someone please help! I just finished flashing magisk and a custom rom by using the method of: Everytime I need to flash something using TWRP I would just open adb and fastboot boot recovery it again so that I could use the TWRP!
Thank you in advance!
Click to expand...
Click to collapse
I decided to fix this problem after I flashed a rom cause I think I would run into future problems involving magisk and it's use of the TWRP recovery.
GGerniWhite said:
I decided to fix this problem after I flashed a rom cause I think I would run into future problems involving magisk and it's use of the TWRP recovery.
Click to expand...
Click to collapse
If you already have the ROM installed, use adb to flash TWRP and without booting flash Magisk and then boot to system. If you are on stock ROM, follow THIS.
For entering into TWRP, use the key combination of volume up + power buttons.
You can use the encryption compatible TWRP (search for it) instead of the official one.

Flashing recovery - keeps reverting to stock after reboot

Hi peeps
New Pocophone owner here. I got my bootloader unlocked earlier today and now trying to flash the official TWRP 3.3.0.0 recovery from twrp.me, simply following the fastboot instructions on the device guide.
However every time I reboot the device, the recovery always reverts to the stock MIUI recovery?
What am I doing wrong here?
I just got the phone and have upgraded it to MIUI 10.3.6 as well. I am wanting to flash pixel experience onto it.
Do following, instead of flashing your recovery.
Use this method boot and flash Magisk. Reboot back to your system and install Flashify and install your choosen Recovery with it
jonske said:
Hi peeps
New Pocophone owner here. I got my bootloader unlocked earlier today and now trying to flash the official TWRP 3.3.0.0 recovery from twrp.me, simply following the fastboot instructions on the device guide.
However every time I reboot the device, the recovery always reverts to the stock MIUI recovery?
What am I doing wrong here?
I just got the phone and have upgraded it to MIUI 10.3.6 as well. I am wanting to flash pixel experience onto it.
Click to expand...
Click to collapse
in stock rom you need to flash magisk right after flashing twrp else it will get replaced by stock
jonske said:
Hi peeps
New Pocophone owner here. I got my bootloader unlocked earlier today and now trying to flash the official TWRP 3.3.0.0 recovery from twrp.me, simply following the fastboot instructions on the device guide.
However every time I reboot the device, the recovery always reverts to the stock MIUI recovery?
What am I doing wrong here?
I just got the phone and have upgraded it to MIUI 10.3.6 as well. I am wanting to flash pixel experience onto it.
Click to expand...
Click to collapse
What the post above says is correct. However, if you don't want Magisk, after flashing TWRP, reboot into recovery and then into system. You may retain TWRP. However, this doesn't work for everyone.
Hi all, I fixed the issue by completely wiping my phone via TWRP and clean flashing pixel experience ROM. After rebooting on pixel rom TWRP persists.
It appears that MIUI rom has something that keeps reverting it to stock MI-recovery.
If you are on MIUI and flashing TWRP, once the recovery is up for the first time, you need to head on to reboot>recovery again in order to overwrite MIUI stock recovery. So the whole process would be like this;
i) Fastboot flash recovery twrp.img (or whatever the name of the image)
ii) Fastboot boot recovery
iii) Once TWRP is up, Swipe to allow modification and then go to Reboot>Recovery and reboot into TWRP once more. That's it! You have just overwritten the stock recovery and are now on TWRP!! Now you can reboot to system and TWRP will remain on your device. There's no need to flash Magisk etc if you want just TWRP and nothing else.
Rowdyy Ronnie said:
If you are on MIUI and flashing TWRP, once the recovery is up for the first time, you need to head on to reboot>recovery again in order to overwrite MIUI stock recovery. So the whole process would be like this;
i) Fastboot flash recovery twrp.img (or whatever the name of the image)
ii) Fastboot boot recovery
iii) Once TWRP is up, Swipe to allow modification and then go to Reboot>Recovery and reboot into TWRP again. That's it! You have just overwritten the stock recovery and are now on TWRP!! There's no need to flash Magisk etc if you just want TWRP and nothing else.
Click to expand...
Click to collapse
I did those exact steps and it didn't work. It ALWAYS kept getting overwritten.
jonske said:
I did those exact steps and it didn't work. It ALWAYS kept getting overwritten.
Click to expand...
Click to collapse
Did you follow step 3? You can't boot into system right after twrp is up for the first time. You need to reboot into twrp twice before you boot into system. This is what I do whenever I flash twrp and it never failed me yet.
Rowdyy Ronnie said:
Did you follow step 3? You can't boot into system right after twrp is up for the first time. You need to reboot into twrp twice before you boot into system. This is what I do whenever I flash twrp and it never failed me yet.
Click to expand...
Click to collapse
Yes, I even flashed the recovery image from within TWRP and rebooted to recovery again. Still didn't work.
Note this was on the new 10.3.6 stable MIUI release that got rolled out recently. Not sure if it has new detection or anything that rolls it back.
Anyway I have resolved my issue now all is good.
jonske said:
Yes, I even flashed the recovery image from within TWRP and rebooted to recovery again. Still didn't work.
Note this was on the new 10.3.6 stable MIUI release that got rolled out recently. Not sure if it has new detection or anything that rolls it back.
Anyway I have resolved my issue now all is good.
Click to expand...
Click to collapse
How did you fix it?

Magisk Installation

I'm looking for help getting Magisk installed on MIUI 12.1.1. If I use the boot.img and pass it to Magisk manager and flash it, the system just reboots to recovery after a few minutes.
Does anyone have it working or a recovery that works with 12.1.1 global?
moffa~ said:
I'm looking for help getting Magisk installed on MIUI 12.1.1. If I use the boot.img and pass it to Magisk manager and flash it, the system just reboots to recovery after a few minutes.
Does anyone have it working or a recovery that works with 12.1.1 global?
Click to expand...
Click to collapse
By "passing it to magisk", do you mean patching the boot.img and getting a magisk_patched.img? Do you have the latest magisk app? It's no longer called magisk manager (v22).
Edit: You probably just hot the patched boot from the wrong boot.img
Tulsadiver said:
By "passing it to magisk", do you mean patching the boot.img and getting a magisk_patched.img? Do you have the latest magisk app? It's no longer called magisk manager (v22).
Edit: You probably just hot the patched boot from the wrong boot.img
Click to expand...
Click to collapse
Hi, thanks for responding.
Yes, I mean I take the boot.img from the MIUI fastboot package and select it in Magisk (no longer manager). I then reboot to bootloader mode, then run "fastboot flash boot magisk_patched_sLsab.img " but after running fastboot reboot it just ends up in recovery mode.
The only way to recover is to use fastboot to flash the original boot.img back over
I finally figured out that I had magisk modules left over before the upgrade which broke everything. A factory reset wiping all data has fixed it.

Categories

Resources