Problem installing treble twrp - Xiaomi Redmi Note 5 / 5 Plus Questions & Answers

I currently have TWRP installed and want to install Treble Twrp. I have installed the treble image through adb and looks good until i reboot and it is still my old Twrp. I am obviously missing something and would be grateful for any info to correct the problem.

pipin18 said:
I currently have TWRP installed and want to install Treble Twrp. I have installed the treble image through adb and looks good until i reboot and it is still my old Twrp. I am obviously missing something and would be grateful for any info to correct the problem.
Click to expand...
Click to collapse
Copy treble twrp to phone memory.
In TWRP pres install img, link to treble twrp and restart recovery.

Related

Problem with flashing root (or anything else) after installing LineageOS

Dear XDA Experts!
As I was flashing on my Redmi Note 4 Snapdragon Global (mido) LineageOS 15.1 step by step using instructions from LineageOS site I came up with a problem. Suddenly the the fastboot command didn’t “see” my phone. Before that when I was typing in the command prompt (as administrator) “adb devices” it said it found my phone. When I typed “fastboot devices” it turned out it didn’t “see” my phone so I couldn’t do the “fastboot flash recovery twrp-x.x.x-x-mido.img” command. However before fastboot stopped detecting my device I was able to do this command “adb reboot bootloader”. It turned out later that adb still was detecting my device but fastboot still was NOT detecting it.
So to flash TWRP on my phone I used a XiaomiFlashTool in which I could among other options choose to flash TWRP.
I selected this option, the XiaomiFlashTool that in order to even start and work needs access to the Internet it download the latest file twrp-x.x.x-x-mido.img with TWRP for my device and flashed it.
Now, having the TWRP installed I flashed in TWRP the file containing the LinageOS and afterwards I flashed Gapps instantly with no reboot as it was written in the guide. Then I rebooted the device to normal system mode.
The LineageOS started for the first time, I configured it and Gapps were present.
Later I’ve chosen to root the phone so I booted to TWRP and selected Install to install Magisk17.2.zip but it didn’t work cause an error occurred “couldn’t mount /data”. It was all red.
When I try to do the same thing with superSu the same problem occurred.
Could You tell me what I did wrong?
And which drivers/install programs to use to repair or uninstall and install fastboot again so It can work cause there are so many of them and the LineageOS guide doesn’t cover that thing in 100% ?
androidbadboy said:
Dear XDA Experts!
As I was flashing on my Redmi Note 4 Snapdragon Global (mido) LineageOS 15.1 step by step using instructions from LineageOS site I came up with a problem. Suddenly the the fastboot command didn’t “see” my phone. Before that when I was typing in the command prompt (as administrator) “adb devices” it said it found my phone. When I typed “fastboot devices” it turned out it didn’t “see” my phone so I couldn’t do the “fastboot flash recovery twrp-x.x.x-x-mido.img” command. However before fastboot stopped detecting my device I was able to do this command “adb reboot bootloader”. It turned out later that adb still was detecting my device but fastboot still was NOT detecting it.
So to flash TWRP on my phone I used a XiaomiFlashTool in which I could among other options choose to flash TWRP.
I selected this option, the XiaomiFlashTool that in order to even start and work needs access to the Internet it download the latest file twrp-x.x.x-x-mido.img with TWRP for my device and flashed it.
Now, having the TWRP installed I flashed in TWRP the file containing the LinageOS and afterwards I flashed Gapps instantly with no reboot as it was written in the guide. Then I rebooted the device to normal system mode.
The LineageOS started for the first time, I configured it and Gapps were present.
Later I’ve chosen to root the phone so I booted to TWRP and selected Install to install Magisk17.2.zip but it didn’t work cause an error occurred “couldn’t mount /data”. It was all red.
When I try to do the same thing with superSu the same problem occurred.
Could You tell me what I did wrong?
And which drivers/install programs to use to repair or uninstall and install fastboot again so It can work cause there are so many of them and the LineageOS guide doesn’t cover that thing in 100% ?
Click to expand...
Click to collapse
Use a Treble compatible TWRP like OrangeFox R8 and then flash Magisk
Noter2017 said:
Use a Treble compatible TWRP like OrangeFox R8 and then flash Magisk
Click to expand...
Click to collapse
I used the latest TWRP for mid (I saw when the XiaomiFlashTool was downloading the latest TWRP for mido).
May I ask why shall I use a Treble compatible since my Redmi Note 4 was manufactured in 2017 and came with not Oreo but with Nougat so it is not compatible with Project Treble from the start.
BTW Can You please direct me to that Treble compatible TWRP please?
BTW#2 The Xiaomi tool only flashes the latest TWRP .img for mido by downloading it from the internet (I can't change which TWRP will it flash).
BTW#3 The only thing I can think off to flash other TWRP is by fastboot but can You help me which or where to find it so I can uninstall current fastboot and install again or repair by installing again?
androidbadboy said:
I used the latest TWRP for mid (I saw when the XiaomiFlashTool was downloading the latest TWRP for mido).
May I ask why shall I use a Treble compatible since my Redmi Note 4 was manufactured in 2017 and came with not Oreo but with Nougat so it is not compatible with Project Treble from the start.
BTW Can You please direct me to that Treble compatible TWRP please?
BTW#2 The Xiaomi tool only flashes the latest TWRP .img for mido by downloading it from the internet (I can't change which TWRP will it flash).
BTW#3 The only thing I can think off to flash other TWRP is by fastboot but can You help me which or where to find it so I can uninstall current fastboot and install again or repair by installing again?
Click to expand...
Click to collapse
You will find OrangeFox TWRP here:
https://forum.xda-developers.com/re.../recovery-orangefox-recovery-project-t3775933
Simply boot into your existing recovery and flash OrangeFox from there.
LineageOS 15.1 on our phone uses Treble, so you need a compatible recovery. After flashing OrangeFox, you can flash Magisk
Noter2017 said:
You will find OrangeFox TWRP here:
https://forum.xda-developers.com/re.../recovery-orangefox-recovery-project-t3775933
Simply boot into your existing recovery and flash OrangeFox from there.
LineageOS 15.1 on our phone uses Treble, so you need a compatible recovery. After flashing OrangeFox, you can flash Magisk
Click to expand...
Click to collapse
But how to flash that rom since fastboot doesnt detect my phone?
androidbadboy said:
But how to flash that rom since fastboot doesnt detect my phone?
Click to expand...
Click to collapse
Can you boot into recovery?
Noter2017 said:
Can you boot into recovery?
Click to expand...
Click to collapse
I can boot into latest TWRP for mido from LineageOS site (turns out the same file is downloaded from XiaomiFlashTool)
I wanted to say Yes, I can boot to TWRP
androidbadboy said:
I can boot into latest TWRP for mido from LineageOS site (turns out the same file is downloaded from XiaomiFlashTool)
I wanted to say Yes, I can boot to TWRP
Click to expand...
Click to collapse
Great. Then all you have to do is to download OrangeFox, save it to your SD card and flash it.
After that reboot to recovery and it will start OrangeFox.
Flash Magisk and all will work
Noter2017 said:
Great. Then all you have to do is to download OrangeFox, save it to your SD card and flash it.
After that reboot to recovery and it will start OrangeFox.
Flash Magisk and all will work
Click to expand...
Click to collapse
But how am I suppose to flash it when fastboot doesnt work, adb works
Which driver/installler shall I use to repair or instal or install or uninstall and install fastboot again to use it to flash that OrangeFox
androidbadboy said:
But how am I suppose to flash it when fastboot doesnt work, adb works
Which driver/installler shall I use to repair or instal or install or uninstall and install fastboot again to use it to flash that OrangeFox
Click to expand...
Click to collapse
Its simple
save the orange fox twrp to your phone
Boot into your twrp recovery
Flash orange fox recovery
Your recovery will automatically reboot into orange fox.
kavin36 said:
Its simple
save the orange fox twrp to your phone
Boot into your twrp recovery
Flash orange fox recovery
Your recovery will automatically reboot into orange fox.
Click to expand...
Click to collapse
so is it possible to flash a TWRP by a different TWRP and it will replace it?
androidbadboy said:
so is it possible to flash a TWRP by a different TWRP and it will replace it?
Click to expand...
Click to collapse
You're right.
kavin36 said:
You're right.
Click to expand...
Click to collapse
That's a great idea but sadly I can't flash TWRP anymore. I don't know what happened. The Xiaomi program I was using to do this suddenly stopped flashing it telling me that there's something wrong with drivers
When I do "fastboot flash recovery TWRPforMido.img" it "flashes" the file in less then a second and when I enter recovery I see the old Xiaomi 3.0 stock recovery.
I have the device unlocked, developer options with USB debugging are ON.
I'm compleatly idealess.
Can You tell me what other ways to flash TWRPmido.img?
androidbadboy said:
That's a great idea but sadly I can't flash TWRP anymore. I don't know what happened. The Xiaomi program I was using to do this suddenly stopped flashing it telling me that there's something wrong with drivers
When I do "fastboot flash recovery TWRPforMido.img" it "flashes" the file in less then a second and when I enter recovery I see the old Xiaomi 3.0 stock recovery.
I have the device unlocked, developer options with USB debugging are ON.
I'm compleatly idealess.
Can You tell me what other ways to flash TWRPmido.img?
Click to expand...
Click to collapse
not sure bout this situation
But try doing the same but download orange fox recovery from xda forums and use the same method to flash.
That's
Fastboot mode in phone
Command from cmd
Flash recovery
Reboot recovery
kavin36 said:
not sure bout this situation
But try doing the same but download orange fox recovery from xda forums and use the same method to flash.
That's
Fastboot mode in phone
Command from cmd
Flash recovery
Reboot recovery
Click to expand...
Click to collapse
I already done this a thousand times. Nothing.
androidbadboy said:
I already done this a thousand times. Nothing.
Click to expand...
Click to collapse
do us have root access
If us have try flashify app from play store
Select recovery
Browse the orange fox recovery on it phone
Flash
Only if ur rooted
kavin36 said:
do us have root access
If us have try flashify app from play store
Select recovery
Browse the orange fox recovery on it phone
Flash
Only if ur rooted
Click to expand...
Click to collapse
Nope I don't.
But I finally flashed stock, TWRP for mido (not Orange) and Magisk for root and I'm so tierd now
Just tell me what shall I do next to install 1. Lin Os (their guide is not accurate in 100%) 2. Some custom romwith project treble and Android Pie, some popular good stuff
server error - a double post
androidbadboy said:
Nope I don't.
But I finally flashed stock, TWRP for mido (not Orange) and Magisk for root and I'm so tierd now
Just tell me what shall I do next to install 1. Lin Os (their guide is not accurate in 100%) 2. Some custom romwith project treble and Android Pie, some popular good stuff
Click to expand...
Click to collapse
I've heard that Crdroid official
And Siberia os unofficial are the most stable pie ROMs
Make sure it twrp is treble supported becuz someone told that official twrp has no treble support that's the reason I use orange fox
If it ain't treble supported just flash orange fox from the same twrp
Do advanced wipe
Install from and gapps
---------- Post added at 07:27 PM ---------- Previous post was at 07:27 PM ----------
kavin36 said:
I've heard that Crdroid official
And Siberia os unofficial are the most stable pie ROMs
Make sure it twrp is treble supported becuz someone told that official twrp has no treble support that's the reason I use orange fox
If it ain't treble supported just flash orange fox from the same twrp
Do advanced wipe
Install from and gapps
Click to expand...
Click to collapse
Also Ive seen that Serbia unofficial is a bit more stable than crdroid official. Its your preferences
kavin36 said:
I've heard that Crdroid official
And Siberia os unofficial are the most stable pie ROMs
Make sure it twrp is treble supported becuz someone told that official twrp has no treble support that's the reason I use orange fox
If it ain't treble supported just flash orange fox from the same twrp
Do advanced wipe
Install from and gapps
---------- Post added at 07:27 PM ---------- Previous post was at 07:27 PM ----------
Also Ive seen that Serbia unofficial is a bit more stable than crdroid official. Its your preferences
Click to expand...
Click to collapse
Could You do step by step 1., 2. what I shall do (at the example of Linage OS). And what about that advanced wipe thing. People that told me steps just like You didn't mention Advanced wipe

Data Encrypted - Pixel Experience Android 9

Hello Everybody,
I have so following problem with data encrypted in twrp:
I installed latest version of twrp
! Used MIUI 10 developer version and data was encrypted according Twrp (according to settings device is not encrypted.
To flash no new OS from Twrp I had to format all data.
After that I installed second latest (08.11) Pixel Experience and Magical latest version.
I rebooted system.
! No Twrp and magisk APK installed.
Manually installed Twrp and magisk APK
I can install adaway also (superuser is installed)
Problem:
System mentioned that there is a new version of Pixel experience (15.11) and I wanted to install it. But it didn't work -> Twrp stopped installation, because data is still encrypted.
To install latest version I formated everything again and did above steps. But again with same result... I can install everything (manually) and everything works without to install new versions of Pixel Experience or anything else from Twrp recovery.
I tried to encrypt my phone over settings, but after encryption the system freezes after putting in pin code at the start. In twrp recovery I have to put in the code too, but again encryption is still available...
I have no further idea. Could you help me? Don't want to loose all data Everytime an update appears
Magisk "force encryption" manually enabled. The other setting is not enabled.
Thank you very much for your help!!!!!
StephanWiD said:
Hello Everybody,
I have so following problem with data encrypted in twrp:
I installed latest version of twrp
! Used MIUI 10 developer version and data was encrypted according Twrp (according to settings device is not encrypted.
To flash no new OS from Twrp I had to format all data.
After that I installed second latest (08.11) Pixel Experience and Magical latest version.
I rebooted system.
! No Twrp and magisk APK installed.
Manually installed Twrp and magisk APK
I can install adaway also (superuser is installed)
Problem:
System mentioned that there is a new version of Pixel experience (15.11) and I wanted to install it. But it didn't work -> Twrp stopped installation, because data is still encrypted.
To install latest version I formated everything again and did above steps. But again with same result... I can install everything (manually) and everything works without to install new versions of Pixel Experience or anything else from Twrp recovery.
I tried to encrypt my phone over settings, but after encryption the system freezes after putting in pin code at the start. In twrp recovery I have to put in the code too, but again encryption is still available...
I have no further idea. Could you help me? Don't want to loose all data Everytime an update appears
Magisk "force encryption" manually enabled. The other setting is not enabled.
Thank you very much for your help!!!!!
Click to expand...
Click to collapse
use this treble support twrp https://androidfilehost.com/?fid=746010030569971854
What is it good for? Don't have to wipe storage first or can I install it from the Twrp app? Can I flash other Twrp versions later?
But the most important: thank you for helping me
Screenshot please...i think i might have g had same problem..i think i can help..
StephanWiD said:
What is it good for? Don't have to wipe storage first or can I install it from the Twrp app? Can I flash other Twrp versions later?
But the most important: thank you for helping me
Click to expand...
Click to collapse
yes you can flash other twrp later ,,,, i have also latest twrp with treble support i can upload it if u want.
u can flash the above twrp via fastboot or you can flash the latest version
http://www.mediafire.com/file/a2m1jx502qijnbg/twrp-3.2.3-1-vince-treble.img/file
Thank you!!!! It took me 4 complete reinstallations before it worked for me now I have access to data in twrp !!! Thank you again!!! Thank you :good::good::fingers-crossed::fingers-crossed:
StephanWiD said:
Thank you!!!! It took me 4 complete reinstallations before it worked for me now I have access to data in twrp !!! Thank you again!!! Thank you :good::good::fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
happy to help

Stuck on poco by xiaomi boot screen

Im stuck on poco boot screen and after few seconds it reboots to fastboot.
I did a twrp backup (system, vendor, data and boot) when everything was working but now after i try to restore the twrp backup, it still doesnt fix the problem.
before this, i flashed a new PE build and that had a boot loop for some reason.
wtf?
How does my twrp backup restore doesnt fix it ?
Do i have to miflash a fastboot rom ? is it the only fix for me now ?
You may find your solution here : https://forum.xda-developers.com/poco-f1/development/recovery-twrp-3-2-3-decryption-t3853004/page42
You can also install latest ROM and restore data only.
fmcheetah said:
You may find your solution here : https://forum.xda-developers.com/poco-f1/development/recovery-twrp-3-2-3-decryption-t3853004/page42
You can also install latest ROM and restore data only.
Click to expand...
Click to collapse
i dont have a firmware zip in my storage and i cant push it through adb because i didnt have debugging enabled. So i cant cleanflash because i dont have the firmware zip. Looks like i will need to use the mifash method.
flash the original Vendor image!
if you have flashed PE over MIUI10.2.x
, this mean you have used MODIFIED VENDOR IMAGE
poco supports Treble!
you cannot flash PE/ or any other custom rom over modified vendor image
take the latest vendor image from mirror.akhilnarang.me/MIUI/beryllium/
and flash it view twrp
and reboot
you wil lbe fine
i fixed the problem. I put firmware - vendor zip in sd card and flashed it through sd card. All good now. Thanks for trying to help my dumb ass.
i guess there might be some magisk module thats causing the bootloop after i flash a new build of rom . Maybe.
If thats the case. There's a flashable zip file that lets you disable a magisk module via TWRP.. ehehehe.. happened to me too. I flash gl tools via magisk systemless then it got stuck on pocofone f1 loading screen.. so i flashed that magisk module disabler.. hit some commands via TWRP TERMinal emu.. then it boot right away..
KabalLV said:
Im stuck on poco boot screen and after few seconds it reboots to fastboot.
I did a twrp backup (system, vendor, data and boot) when everything was working but now after i try to restore the twrp backup, it still doesnt fix the problem.
before this, i flashed a new PE build and that had a boot loop for some reason.
wtf?
Click to expand...
Click to collapse
Always uninstall Magisk before flashing new update if you are on official twrp cuz it doesn't support ota, update then reinstall it. If you have did so wipe encrypted internal storage , wait a bit it will boot .
aikhhk8 said:
Always uninstall Magisk before flashing new update if you are on official twrp cuz it doesn't support ota, update then reinstall it. If you have did so wipe encrypted internal storage , wait a bit it will boot .
Click to expand...
Click to collapse
Thanks. Didn't know about this.
Tell someone to call you, it was glitchy for me for the first 2-3 mins after the call but later works fine.

Can't install Magisk via TWRP

Hello. I was going through this guide --> https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-root-unlock-bootloader-t3852520
I've got a problem. I've unlocked bootloader and next I'm booting correctly to TWRP, but when I try to flash any zip of magisk manager I receive an error: "invalid zip file format". I'm using TWRP 3.2.3-0 from first post in guide - I was trying to use both 20181012 and 20181211 versions and no result - still the same error. What can I do? I'm using POCOPHONE F1 with MIUI Global 10.2.3.0
fajniejest said:
Hello. I was going through this guide --> https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-root-unlock-bootloader-t3852520
I've got a problem. I've unlocked bootloader and next I'm booting correctly to TWRP, but when I try to flash any zip of magisk manager I receive an error: "invalid zip file format". I'm using TWRP 3.2.3-0 from first post in guide - I was trying to use both 20181012 and 20181211 versions and no result - still the same error. What can I do? I'm using POCOPHONE F1 with MIUI Global 10.2.3.0
Click to expand...
Click to collapse
You have an old version of TWRP... You need to install a newer version - 3.2.3.2 - which you will find by doing a search for it here on XDA...
Just load img file on INTERNAL storage of phone, choose install>install image file> and click on recovery partition. After install go to home menu and restart recovery...
If you still have issues then download magisk again, it may be corrupt...
Cheers....
ultramag69 said:
You have an old version of TWRP... You need to install a newer version - 3.2.3.2 - which you will find by doing a search for it here on XDA...
Just load img file on INTERNAL storage of phone, choose install>install image file> and click on recovery partition. After install go to home menu and restart recovery...
If you still have issues then download magisk again, it may be corrupt...
Cheers....
Click to expand...
Click to collapse
First of all, I'm not going to install TWRP - I want only to boot into TWRP once for flashing Magisk's ZIP.
Second - in this guide OP says that Unofficial TWRP should be used. I've tried v1 and v2 TWRP from the guide. So which other TWRP should I try to boot into? This? https://forum.xda-developers.com/poco-f1/development/recovery-twrp-3-2-3-x-t3836241
fajniejest said:
First of all, I'm not going to install TWRP - I want only to boot into TWRP once for flashing Magisk's ZIP.
Second - in this guide OP says that Unofficial TWRP should be used. I've tried v1 and v2 TWRP from the guide. So which other TWRP should I try to boot into? This? https://forum.xda-developers.com/poco-f1/development/recovery-twrp-3-2-3-x-t3836241
Click to expand...
Click to collapse
I am new on this forum (pocophone) and i seee how messed up it is. You should definitly use official twrp
You don't need official TWRP, but I think you need to install Disable Force Encryption, before installing the Magisk app
This thread will be more helpful.
fajniejest said:
Hello. I was going through this guide --> https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-root-unlock-bootloader-t3852520
I've got a problem. I've unlocked bootloader and next I'm booting correctly to TWRP, but when I try to flash any zip of magisk manager I receive an error: "invalid zip file format". I'm using TWRP 3.2.3-0 from first post in guide - I was trying to use both 20181012 and 20181211 versions and no result - still the same error. What can I do? I'm using POCOPHONE F1 with MIUI Global 10.2.3.0
Click to expand...
Click to collapse
what are you trying to flash? If it is Magisk Manager, it is in apk format and you just click it to install. No TWRP.
If it is Magisk, which version are you trying to flash? Try 18.1. And preferably download any file from its source.
EDIT: If Magisk v18.1 is also not flashing, try Magisk Canary version. Some phones need that.
tnsmani said:
what are you trying to flash? If it is Magisk Manager, it is in apk format and you just click it to install. No TWRP.
If it is Magisk, which version are you trying to flash? Try 18.1. And preferably download any file from its source.
EDIT: If Magisk v18.1 is also not flashing, try Magisk Canary version. Some phones need that.
Click to expand...
Click to collapse
I'm trying to flash zip with Magisk Manager, as it is said in guide. I know that I can have an apk, but is it enough to just install apk without having custom recovery (but having bootloader unlocked)?
GrecoNeoV said:
You don't need official TWRP, but I think you need to install Disable Force Encryption, before installing the Magisk app
This thread will be more helpful.
Click to expand...
Click to collapse
I will try it if nothing from "my" guide will work, because I really don't want to lose my storage (I see that in this guide installing Magisk needs it)
fajniejest said:
I'm trying to flash zip with Magisk Manager, as it is said in guide. I know that I can have an apk, but is it enough to just install apk without having custom recovery (but having bootloader unlocked)?
I will try it if nothing from "my" guide will work, because I really don't want to lose my storage (I see that in this guide installing Magisk needs it)
Click to expand...
Click to collapse
Well Here is how i managed it to work. After i unlocked my bootloader i launched twrp and flashed beta magisk 19.0 (not latest anymore because 19.1 just today showed up) then i reminded that i forgot about DisableForceEncryption_Treble_v18.0.zip so i flashed iit and after it flashed again magisk 19.0, after reboot it everything was fine
GrecoNeoV said:
You don't need official TWRP, but I think you need to install Disable Force Encryption, before installing the Magisk app
This thread will be more helpful.
Click to expand...
Click to collapse
There is no need to flash DFE. I've unlocked my bootloader, installed TWRP, flashed PE and Magisk 19.0 all without DFE which I don't need.
@OP, you need TWRP version 3.2.3-2 at a minimum, which you can boot using 'fastboot boot twrp-<version>.img' . Then flash Magisk. You'll
need at least version 18.1.
HTH
guhvanoh said:
There is no need to flash DFE. I've unlocked my bootloader, installed TWRP, flashed PE and Magisk 19.0 all without DFE which I don't need.
@OP, you need TWRP version 3.2.3-2 at a minimum, which you can boot using 'flashboot boot twrp-<version>.img' . Then flash Magisk. You'll
need at least version 18.1.
HTH
Click to expand...
Click to collapse
The command is 'fastboot boot twrp-<version>.img'
tnsmani said:
The command is 'fastboot boot twrp-<version>.img'
Click to expand...
Click to collapse
Thanks for the correction. I really don't know where I got flashboot from.
Cheers!
guhvanoh said:
There is no need to flash DFE. I've unlocked my bootloader, installed TWRP, flashed PE and Magisk 19.0 all without DFE which I don't need.
@OP, you need TWRP version 3.2.3-2 at a minimum, which you can boot using 'fastboot boot twrp-<version>.img' . Then flash Magisk. You'll
need at least version 18.1.
HTH
Click to expand...
Click to collapse
So, to make it clear (and to not brick my poco... ):
1. I should use TWRP image from this link --> https://twrp.me/xiaomi/xiaomipocophonef1.html...
2. ...and I don't need to replace my recovery - just booting it once (as You described) is enough.
3. I should flash Magisk's ZIP, not MagiskManager's ZIP or Magisk.apk
4. No more flashing, clearing data and other operations needed.
Am I right?
1 - Yes.
2 - That's down to you. I have TWRP recovery installed and I have the app as well.
3 - You need to flash Magisk and install the apk. See this link for instructions on installing Magisk.
4 - Yes, you need to clear data, wipe dalvik and cache when installing a new ROM. If updating a current rom, I just wipe dalvik & cache.
HTH
Hey I know its not a thread related but if u install magisk can u tell me if you have 60fps screen recoding option? Because I already Dirty flashed rom once and nothing changed still cant unlock it :/
guhvanoh said:
1 - Yes.
2 - That's down to you. I have TWRP recovery installed and I have the app as well.
3 - You need to flash Magisk and install the apk. See this link for instructions on installing Magisk.
4 - Yes, you need to clear data, wipe dalvik and cache when installing a new ROM. If updating a current rom, I just wipe dalvik & cache.
HTH
Click to expand...
Click to collapse
Big thanks! Finally dealt with it. So grateful for Your help. :victory:
Dearminder said:
Hey I know its not a thread related but if u install magisk can u tell me if you have 60fps screen recoding option? Because I already Dirty flashed rom once and nothing changed still cant unlock it :/
Click to expand...
Click to collapse
Yes, I do. I've not tried it though...

after installing lineage 19 for micro G, oneplus 5t only boots in recovery

Good evening dear members, I ask for your kind advice, as I have done something wrong to my Oneplus 5t.
I upgraded my Oneplus 5t with "lineage for microG" 19.1 (from lineage 18).
I had installed TWRP 3.5.0_9 (phone encrypted).
It booted fine the first time into system.
The problem arose after I tried to install Magisk 21.4 from TWRP.
Now the phone only boots in recovery, but it doesn't enter TWRP's menu. It stays on the first TWRP screen (where it shows the version number).
The good thing (I hope) is that I can enter fastboot mode.
I tried flashing TWRP again from fastboot to no avail.
I tried flashing boot.img from fastboot (taken from the original firmware), but still no luck.
Is there a way to install the original firmware from fastboot?
I think starting from scratch would be a step into the right direction.
Please give any suggestion which I fill follow to the letter.
Thank you, thank you, thank you!
You have to be decrypted or flash DMverity for A12. I assume You mean Magisk 24.1 the current version is 24.3
Hi. This is what I did:
I downloaded and installed original firmware through fastboot (fastboot was still on).
I also installed original recovery through fastboot.
After that my oneplus 5t was in stock condition, apart from the bootloader, which was unlocked.
After that I managed to install TWRP through fastboot, and then lineage 19.
The thing is that TWRP doesn't support lineage 19, for one reason or another. Or it could be the other way around (lineage 19 doesn't support TWRP). In any case I had a phone which would only go in fastboot mode.
At least I knew what to do, as I did it already: reinstall stock firmware and recovery.
Long story short, I installed LOS recovery and lineage 19, and everything works fine.
Thanks everyone, and especially thaidroid, for the support.
Have a nice day.
miclombardo said:
Good evening dear members, I ask for your kind advice, as I have done something wrong to my Oneplus 5t.
I upgraded my Oneplus 5t with "lineage for microG" 19.1 (from lineage 18).
I had installed TWRP 3.5.0_9 (phone encrypted).
It booted fine the first time into system.
The problem arose after I tried to install Magisk 21.4 from TWRP.
Now the phone only boots in recovery, but it doesn't enter TWRP's menu. It stays on the first TWRP screen (where it shows the version number).
The good thing (I hope) is that I can enter fastboot mode.
I tried flashing TWRP again from fastboot to no avail.
I tried flashing boot.img from fastboot (taken from the original firmware), but still no luck.
Is there a way to install the original firmware from fastboot?
I think starting from scratch would be a step into the right direction.
Please give any suggestion which I fill follow to the letter.
Thank you, thank you, thank you!
Click to expand...
Click to collapse
Its not working cus you need to format data in recovery and then reboot it.
kirknado18 said:
Its not working cus you need to format data in recovery and then reboot it.
Click to expand...
Click to collapse
It wont boot cus your encrypted formatting data will allow op5t to boot.
latest lineage + magisk = stuck on boot logo, I tried an older version of lineage + magisk (known to work), same thing.. what did I do?
paradoxiumwind said:
latest lineage + magisk = stuck on boot logo, I tried an older version of lineage + magisk (known to work), same thing.. what did I do?
Click to expand...
Click to collapse
What recovery are you on? TWRP?
I use the one posted alongside each version: https://download.lineageos.org/dumpling
can you help?
I need to root so I can titanium backup everything. but I can't root. I suspect I might need to fully format and wipe and start again, I tried wiping data and doing a fresh install, but after sideloading magisk it just fails to boot every time now.
Does it boot regularly BEFORE installing magisk? I am trying to define the source of the problem.
I have installed lineage 19 and magisk, and I confirm you that it's possible
Yes. It boots fine if I just install lineage then nevermindthegapps. problem only occurs if I flash magisk. I tried installing the .apk and patching the .boot image manually in it and then fastboot flashing that, but same thing.
oh - one possible thing that it may be - is that I had a couple of modules loaded (I think a gcam fix mod and something similar) in magisk, and I read somewhere about people having them stuck 'installed' despite demoving all traces of magisk app. whether that is the problem I don't know.
This is very strange. That's what I did:
Sideload lineage recovery
Sideload lineage 19
Download magisk apk
Patched boot image from lineage 19.zip
Sideload the patched boot image
And that's it it all worked
May I suggest you to start all over again?
is wiping system data sufficient or do I need to format it? I'd rather not lose my appdata- but I can't rescue it without root / titanium backup :/
Try first without formatting, and see how it goes
I wiped system/cache, installed lineage-19.1-20220719-nightly-dumpling-signed.zip / mindthegapps, phone booted up fine - rebooted fine.
ok, good. Now download latest magisk app and patch the boot img.
do I click patch vbmeta in image?
Yes.
First extract the file called boot.img from lineage.zip you just installed.
Then in magisk select "patch vbmeta in image".
Magisk should produce a file named something like " magisk_pached-24300_f41h3.img".
That patched file should be sideloaded.
Installation is explained really well by topjohnwu
it wouldn't flash without selecting vbmeta, so tried with, flashed it, now i'm sitting looking at the boot logo.

Categories

Resources