Question about TWRP. - Xiaomi Redmi Note 5 Pro Questions & Answers

I wanted to install Lineage OS and was curious if I could install it without having TWRP flashed into recovery. I mean, I'll still use fastboot boot twrp, ill just won't have it in my recovery.
I'm asking because when I tried to do fastboot flash recovery twrp it said failed antirollback check. Would like some help if possible

Once you temporarily boot twrp, you can it flash twrp image from within it.
It would work without, but you won't be able to update LOS, unless you boot twrp again.
See: - https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
And don't downgrade MIUI firmware/rom.

corkiejp said:
Once you temporarily boot twrp, you can it flash twrp image from within it.
It would work without, but you won't be able to update LOS, unless you boot twrp again.
See: - https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
And don't downgrade MIUI firmware/rom.
Click to expand...
Click to collapse
Thanks for your help !

Anti rollback is such a pain in the ass.

Related

Can't flash any Custom Recovery on OP3

Hi everyone,
I've a little problem with my OP3, Yesterday I removed my OOS 3.2.6 with TWRP, I flashed the stock recovery back and then I've sideloaded the last OOS 3.5.3 Community Build. Today i'd like to flash the TWRP, i launched the Fastboot menu, nothing seems to go wrong by flashing but when i tried to boot into the recovery, the "1+ powered by android" appears for 5 sec and then a black screen, no TWRP screen... Same problem by trying to restore the OnePlus stock recovery..
I tried "fastboot -w" (wipe) this bring back the stock recovery.
I tried to sideload, OOS 3.5.3, OOS 3.5.3, ResurectionRemix 2.7.4 and CM14 but all of them failed at 47% of work...
I'm thinking that there is a problem caused by an encryption...
"fastboot format userdata" didn't solve the problem..
I'd like to know wich partition i can format/erase to remove this encryption (Loss of data is not a problem for me)
Thanks in advance
Have you tried to flash the modified TWRP ?
Dushaine said:
Have you tried to flash the modified TWRP ?
Click to expand...
Click to collapse
Yes, same problem as TWRP
Same thing happened to me on flashing twrp after sideloading CB 3.5.2 through stock recovery. But flashing the modified twrp 3.0.2-19 solved the issue.
It is newer firmware that won't let you boot into TWRP.
Flash modified TWRP 3.0.2-19 recovery through fast boot.
Then flash <=3.5.0 firmware from here using TWRP.
Then flash this TWRP 3.0.2-0 image again from fast boot.
Then flash a ROM of your liking.
If all else fails, you can try this (flash stock recovery and 3.2.4 FW) WITHOUT relocking and then flash TWRP 3.0.2-0 from the above link to see if that works.
AJay27 said:
Same thing happened to me on flashing twrp after sideloading CB 3.5.2 through stock recovery. But flashing the modified twrp 3.0.2-19 solved the issue.
Click to expand...
Click to collapse
kgs1992 said:
It is newer firmware that won't let you boot into TWRP.
Flash modified TWRP 3.0.2-19 recovery through fast boot.
Then flash 3.5.0 firmware from here using TWRP.
Then flash this TWRP 3.0.2-0 image again from fast boot.
Then flash a ROM of your liking.
If all else fails, you can try this (flash stock recovery and 3.2.4 FW) without relocking and then flash TWRP 3.0.2-0 from the above link to see if that works.
Click to expand...
Click to collapse
I've been able to Flash the Modified recovery, and it booted. By flashing the patch, no problem detected, but after flashing the 3.0.2-0 same black screen as earlier...
So I flashed the modified back, and by trying to flash ResurectionRemix for exemple, no error happenned but, when boot begin, same problem as twrp ...
EDIT : Sorry guys, i didn't read correctly.. I was flashing the same patch ! The 3.5.3 and not the 3.5.0 !!! Normal TWRP is booting corectly now, i'll see for ROM !
Thank you very much to you !!
EDIT 2 : RR 2.7.4 BOOT !!! Thank you so much !

OnePlus 3 broken? - Only booting in Recovery

Hello, I had some trouble after a CM Update. It was only possible to boot in FastBoot, now I'm a bit further and can go to Recovery and also install ROMs.
But I'm not able to boot to the system, everytime I reboot I get into recovery, does anyone has a hint for me? What to do in this case?
Right now I have this version of twrp installed: https://forum.xda-developers.com/devdb/project/dl/?id=21835
But with the officiall one from here: https://dl.twrp.me/oneplus3/twrp-3.0.2-1-oneplus3.img.html
I can still only go to fastboot and not to recovery, I just have no idea why...
Thanks for help allready
GrayGhost93 said:
Hello, I had some trouble after a CM Update. It was only possible to boot in FastBoot, now I'm a bit further and can go to Recovery and also install ROMs.
But I'm not able to boot to the system, everytime I reboot I get into recovery, does anyone has a hint for me? What to do in this case?
Right now I have this version of twrp installed: https://forum.xda-developers.com/devdb/project/dl/?id=21835
But with the officiall one from here: https://dl.twrp.me/oneplus3/twrp-3.0.2-1-oneplus3.img.html
I can still only go to fastboot and not to recovery, I just have no idea why...
Thanks for help allready
Click to expand...
Click to collapse
Download https://www.androidfilehost.com/?fid=385035244224394867 to your PC.
Reboot into fastboot. Flash via fastboot (fastboot flash recovery twrp....img). Reboot into recovery. Reboot to system ... should work now, hopefully.
Keep me posted.
Download Official Recovery from OP home page and flash it
fastboot flash recovery OFFICIALRecovery.img
into Official Recovery, Flash OOS.
After booting Reboot Fastboot again.
and flash twrp, on twrp you can flash Roms.
CM14 need newest firmware and modem...
Sorry my English...
Had the same problem after I appplied the ota. I was on twrp. What I did was adb sideloaded the OOS 4 then I was able to boot to system.
Download https://www.androidfilehost.com/?fid=385035244224394867 to your PC.
Reboot into fastboot. Flash via fastboot (fastboot flash recovery twrp....img). Reboot into recovery. Reboot to system ... should work now, hopefully.
Keep me posted.
Click to expand...
Click to collapse
Did it, but same issue...
Download Official Recovery from OP home page and flash it
fastboot flash recovery OFFICIALRecovery.img
into Official Recovery, Flash OOS.
After booting Reboot Fastboot again.
and flash twrp, on twrp you can flash Roms.
CM14 need newest firmware and modem...
Click to expand...
Click to collapse
Tried it, but original recovery says installation failed, without giving me a possibility to install something ...
Had the same problem after I appplied the ota. I was on twrp. What I did was adb sideloaded the OOS 4 then I was able to boot to system.
Click to expand...
Click to collapse
OOS 4 means a beta Version? Does it work with 3.2.8 as well? Thants what I would install ...
Got it a bit further, could start it by simply reboot and now I am in the system, which was installed (LineageOS 14.1) - seems to work now, thanks a lot guys!!!
GrayGhost93 said:
Tried it, but original recovery says installation failed, without giving me a possibility to install something ...
OOS 4 means a beta Version? Does it work with 3.2.8 as well? Thants what I would install ...
Click to expand...
Click to collapse
Download the official recovery here:
http://oneplusroms.s3.amazonaws.com...694615&Signature=1Momnxm8gHWw03D401Oof5YxnE4=
What is the exact output if you do
Code:
fastboot flash recovery recovery_OBT7.img
OOS4 is the stable release. I would strongly recommend it over cm right now. It's actually quite polished.
You can download the official full zip here:
http://otafsc.h2os.com/patch/amazon...en_16_OTA_035_all_1612310359_e10cadfb2af7.zip
GrayGhost93 said:
Did it, but same issue...
Tried it, but original recovery says installation failed, without giving me a possibility to install something ...
OOS 4 means a beta Version? Does it work with 3.2.8 as well? Thants what I would install ...
Got it a bit further, could start it by simply reboot and now I am in the system, which was installed (LineageOS 14.1) - seems to work now, thanks a lot guys!!!
Click to expand...
Click to collapse
Flash TWRP 3.0.2-22 (download available in other questions. Wait a bit will link it.
Edit: https://forum.xda-developers.com/attachment.php?attachmentid=3971072&d=1481920669 )
See if you can boot into recovery. If you can. Flash whatever rom you have or nandroid backup.
Also are you sure you're using the correct modem and firmware version? Download those recommended in the rom you're using and flash those along with the rom.
http://forum.xda-developers.com/one...dem-collection-flashable-zips-t3468628/page23
Recently I couldn't boot after flashing different firmware, same with different rom without its firmware and modem.

Can't install TWRP

I can't get TWRP to install on my phone. I've tried manually fastbooting all three TWRP images that are available from the TWRP website. I tried installing TWRP using the Skipsoft Toolkit. Whatever I do I never get past the TWRP splash screen--no menus ever come up. Since no menus ever come up I can't install the TWRP zip or a custom ROM. I've been trying this for hours and it's driving me crazy. Is there a different procedure to boot into temporary TWRP if you are on the June bootloader? Is there another version of the TWRP image file that I'm missing? Am I supposed to let the TWRP sit there for a really long time? This is driving me completely batty.
Did you downgrade from O?
If that is the case you should flash the stock bootloader and boot.img into both slots on your device and try again
pcriz said:
Did you downgrade from O?
If that is the case you should flash the stock bootloader and boot.img into both slots on your device and try again
Click to expand...
Click to collapse
I did. Will give that a try. Thanks.
pcriz said:
Did you downgrade from O?
If that is the case you should flash the stock bootloader and boot.img into both slots on your device and try again
Click to expand...
Click to collapse
That did the trick! Thanks.
jhs39 said:
That did the trick! Thanks.
Click to expand...
Click to collapse
Np
It took way too long but I installed TWRP, flashed DU, installed ElementalEx, rooted with custom Magisk for Pixel and got the phone to pass Safety Net. Everything seems to be working. However, whenever I go into recovery TWRP doesn't seem to be there. I appear to get the stock recovery which I don't understand. I can still boot into temporary TWRP and flash the TWRP zip and flash other zips on my phone but I can't seem to boot directly into TWRP. Is this normal or did I do something wrong somewhere?
jhs39 said:
It took way too long but I installed TWRP, flashed DU, installed ElementalEx, rooted with custom Magisk for Pixel and got the phone to pass Safety Net. Everything seems to be working. However, whenever I go into recovery TWRP doesn't seem to be there. I appear to get the stock recovery which I don't understand. I can still boot into temporary TWRP and flash the TWRP zip and flash other zips on my phone but I can't seem to boot directly into TWRP. Is this normal or did I do something wrong somewhere?
Click to expand...
Click to collapse
If I recall correctly, after flashing any rom you have to flash twrp again before rebooting. Apparently roms flash an img to our recovery partition that looks similar to a modified CWM.
noidea24 said:
If I recall correctly, after flashing any rom you have to flash twrp again before rebooting. Apparently roms flash an img to our recovery partition that looks similar to a modified CWM.
Click to expand...
Click to collapse
I actually did that. Maybe I was supposed to boot into the rom once, then back into recovery to flash TWRP. There are a lot of different flashing instructions for this phone. It's hard to keep it all straight.
jhs39 said:
I actually did that. Maybe I was supposed to boot into the rom once, then back into recovery to flash TWRP. There are a lot of different flashing instructions for this phone. It's hard to keep it all straight.
Click to expand...
Click to collapse
Booting into the rom, going back into temp TWRP and flashing the TWRP zip seems to have worked --TWRP actually stuck this time and I can boot directly into it now. It's a shame Google made the Pixel XL such a headache to flash on.

[SOLVED] HELP! i'm stuck in a boot loop! :(

my flashing history:
i was on audax (oos based nougat rom) with blu spark kernel before, then went to official ob1, then back to audax, then back to stock oos nougat and now i flashed audax and after clean flashing it, it just wont boot up.
when i try to boot up i see the 1+ logo but then it reboots to recovery. i also tried flashing stock nougat again and also flashed stock kernel manually but it also doesnt work.
i always do:
1. wipe system/dalvic/cache/data
2. install ROM
3. wipe dalvik/cache
4. flash magisk (also tried without flashing magisk)
5. reboot
i've been looking on the interwebs all day but nothing worked.. help pls :/
EDIT: problem was blu spark twrp. Maybe installing Oreo ****ed it up. I flashed codeworkx newest twrp universal build and now Im able to boot again!! Btw: I also found that magisk 15.0 prohibits a proper boot up and results in a boot loop. version 15.2, however, does the trick!
when it auto reboot to recovery, formate data
When s**t happens, it is wise to start everything from scratch:
-boot in fastboot mode and flash stock recovery with "fastboot flash recovery recovery.img" (rename recovery.img with your recovery filename), then reboot recovery and select english, advanced, adb sideload;
-flash stock OS with "adb sideload rom.zip" (rename rom.zip with your Oxygen OS filename).
Procedure will require some minute because of the large file size. Remember to save all your data on internal storage first!
I advice you to flash original recovery because often sideloading in TWRP leads to some error.
Your phone will boot again... after that you may reflash TWRP, Magisk etc
I had the same issue. Bootloop and jumb into recovery by itself. You have to flash magisk 15.2 via recovery and will be boot.
redatak said:
I had the same issue. Bootloop and jumb into recovery by itself. You have to flash magisk 15.2 via recovery and will be boot.
Click to expand...
Click to collapse
He says that it occurs even without Magisk... I had a similar trouble once, and the only way to solve it was the procedure I wrote above...
I dont know if you can boot it w/o root
redatak said:
I dont know if you can boot it w/o root
Click to expand...
Click to collapse
Why not? Stock OS is not rooted.
jonsat said:
Why not? Stock OS is not rooted.
Click to expand...
Click to collapse
He said audrax not stock oos
SOLVED! TWRP was the only variable left that I didn't think of. See initial post for solution. thx for help!

Please help, twrp can't stay and magisk erases the system..

Hi, just received my device, I followed this guide https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592 and when I reboot my phone, TWRP is replaced by the default recovery... Also when I flash magisk v15.3 my phone can't boot anymore and i got into fastboot mode.. I am running Oxygen os beta, thanks.
I tried everything, different twrp versions, etc... don't know what to do :/
Once you flash the twrp-recovery.img in fastboot are you using the command
Code:
fastboot boot twrp-recovery.IMG
to get into recovery and flash magisk or are you rebooting the phone?
Dazed No More said:
Once you flash the twrp-recovery.img in fastboot are you using the command
Code:
fastboot boot twrp-recovery.IMG
to get into recovery and flash magisk or are you rebooting the phone?
Click to expand...
Click to collapse
I tried both the command you writed, and booting the recovery via the volume button in the fastboot mode.
TWRP boots correctly, then I flash oxygen os beta and all is ok, but when i try to return into recovery, i got the oxygen os recovery. When I install magisk I simply can't boot anymore.
I followed the instructions gived in the link
Why are you flashing beta after twrp? All that is doing is replacing TWRP with the stock recovery.
Flash beta and let the phone boot
Enter fastboot and flash twrp
Boot to twrp with command "fastboot boot twrp-recovery.IMG"
Flash magisk
Reboot to system
Erulak said:
I tried both the command you writed, and booting the recovery via the volume button in the fastboot mode.
TWRP boots correctly, then I flash oxygen os beta and all is ok, but when i try to return into recovery, i got the oxygen os recovery. When I install magisk I simply can't boot anymore.
I followed the instructions gived in the link
Click to expand...
Click to collapse
Bro try installing beta zip through adb sideload from twrp
The key is, after flashing TWRP, DON'T boot into system. Instead, boot into recovery right after flashing TWRP, and flash magisk.
Original OOS will replace the recovery, at least from my experience.
Hi guys, finally solved the problem. I had to download an alternate TWRP ( codeworks ). Also, only the beta version of Magisk worked. Now all is ok, thanks for your help
Erulak said:
Hi guys, finally solved the problem. I had to download an alternate TWRP ( codeworks ). Also, only the beta version of Magisk worked. Now all is ok, thanks for your help
Click to expand...
Click to collapse
This has nothing to do with an alternative TWRP, you can't flash the ROM after TWRP, because ROM includes stock recovery, which or course replaces TWRP as it has been said before.
To "manifest" TWRP after flashing it, you need to boot into recovery before booting into the system.
It's quite simple if you just read the probably 100+ available guides.

Categories

Resources