Installing Magisk on Redmi Note 8T (Willow) with Lineage OS and recovery

Search This thread

lueromat

Member
May 18, 2020
23
0
I am trying to get Magisk to work on my Xiaomi Redmi Note 8T with Lineage OS, but the step where I am patching the boot.img is failing. I am using LOS recovery, and I followed the instructions provided by topjohnwu [1]: because the 8T doesn't appear to have ramdisk (I don't know what that means btw), I need to patch an image (my recovery image?) with the magisk app - this is what I did:

1. Install Magisk App and check status: "Ramdisk: No"
2. Download Lineage recovery image [2] and patch in Magisk
3. Install patched recovery image using fastbook [3]
4. Wipe device and Install LOS + GApps
5. Reboot to system => still says "Ramdisk: No"

What am I doing wrong? How did everyone else root their Note 8T?

[1] https://topjohnwu.github.io/Magisk/install.html
[2] https://download.lineageos.org/ginkgo
[3] https://wiki.lineageos.org/devices/ginkgo/install#installing-a-custom-recovery-using-fastboot

---

EDIT: I just found this: https://github.com/topjohnwu/Magisk/issues/3239 - does that mean it worked? Doesn't look it did...I don't think I have root
 
Last edited:

loopypalm

Senior Member
Jul 8, 2016
1,048
285
Osaka
I am trying to get Magisk to work on my Xiaomi Redmi Note 8T with Lineage OS, but the step where I am patching the boot.img is failing. I am using LOS recovery, and I followed the instructions provided by topjohnwu [1]: because the 8T doesn't appear to have ramdisk (I don't know what that means btw), I need to patch an image (my recovery image?) with the magisk app - this is what I did:

1. Install Magisk App and check status: "Ramdisk: No"
2. Download Lineage recovery image [2] and patch in Magisk
3. Install patched recovery image using fastbook [3]
4. Wipe device and Install LOS + GApps
5. Reboot to system => still says "Ramdisk: No"

What am I doing wrong? How did everyone else root their Note 8T?

[1] https://topjohnwu.github.io/Magisk/install.html
[2] https://download.lineageos.org/ginkgo
[3] https://wiki.lineageos.org/devices/ginkgo/install#installing-a-custom-recovery-using-fastboot

---

EDIT: I just found this: https://github.com/topjohnwu/Magisk/issues/3239 - does that mean it worked? Doesn't look it did...I don't think I have root
install OrangeFox recovery
rename Magisk22.APK to Magisk22.ZIP
install it like any zip in recovery
reboot
(i suggest you do a clean flash to avoid problems)
(yess, RN8 have ramdisk but that's not required for root to work)
 
  • Like
Reactions: lueromat

pnin

Senior Member
After clean flashing the official LOS 17.1, I re-tried to install Magisk giving it every request permission and following steps detailed above by loopypalm but (as before) I'm still seeing "Requires Additional Setup" followed by a "Setup failed" message...

I unlocked the phone recently, set up the latest OrangeFox recovery and flashed new RN8 global firmware v12.0.4.0, Lineage v17.1 nightly 20210405 and pico OpenGapps 20210406. The phone isn't even encrypted (i.e., I've set no fingerprint, pin or pattern).

I tried removing Magisk v22 with the official uninstaller and downgrading to v21.4 with the same result. Then I used the Manager facilities to upgrade both Manager and the underlying Magisk, but still no dice.

I'm scratching my head here about what else to try. Something I noticed that may or may not be related is, while it was working alright before I started setting up Magisk, advanced reboot became really sluggish and failed to reboot to recovery after this (only buttons work).

I'll keep searching and will maybe try a different ROM but this is a real bummer.
 

lueromat

Member
May 18, 2020
23
0
install OrangeFox recovery
rename Magisk22.APK to Magisk22.ZIP
install it like any zip in recovery
reboot
(i suggest you do a clean flash to avoid problems)
(yess, RN8 have ramdisk but that's not required for root to work)

after installing LOS, GApps and Magisk in OrangeFox, and then booting to system, the phone is stuck at the sim PIN entry - I can enter it, but it doesn't advance afterwards. this is what I did:

1. Install TWRP
2. Use TWRP to install OF
3. in OF, wipe everything except usbstorage and sdcard
4. create installation queue with latest LOS, GApps, and Magisk, and install
5. boot to system => stuck at sim PIN entry

any suggestions?
 
Last edited:

cali.s

Senior Member
Nov 3, 2009
150
29
i have the same with the latest LOS 17.1 tried also 21.4 both not working, I flashed again without Magisk so far
 

loopypalm

Senior Member
Jul 8, 2016
1,048
285
Osaka
please follow instruction and do not add/remove a step
-flash OFox (if you already have it = no need)
-reboot to recovery
-flash latest A10 stable FW RN8 Ginkgo RN8T Willow
-format data (not wipe) (this will erase internal storage!)
-reboot to recovery
-wipe 5 (cache/dalvik/system/vendor/data)
-flash the rom you want
-flash kernel (if you have any)
-flash DFE
-format data again
-reboot to recovery
-reboot to system
-reboot to recovery and flash magisk
done
 
Last edited:

loopypalm

Senior Member
Jul 8, 2016
1,048
285
Osaka
after installing LOS, GApps and Magisk in OrangeFox, and then booting to system, the phone is stuck at the sim PIN entry - I can enter it, but it doesn't advance afterwards. this is what I did:

1. Install TWRP
2. Use TWRP to install OF
3. in OF, wipe everything except usbstorage and sdcard
4. create installation queue with latest LOS, GApps, and Magisk, and install
5. boot to system => stuck at sim PIN entry

any suggestions?
i heard about that bug
remove the pin from the sim in another phone
 

loopypalm

Senior Member
Jul 8, 2016
1,048
285
Osaka
The ROM I want is the official Lineage -- I'm no hardcore flasher, just want to take it easy with a tried and tested custom ROM. But the kernel and DFE got me stumped: do I really need them? Which ones?
i think you should try RRos (it's based on LOS and updated)

i said kernel, so if you have one in mind, that's the step (correct order) you flash it in
(people use "sixteen" for battery,or default "quicksilver" ,or ryzen or ...)

DFE is "Disables dm-verity, forced encryption"
 
Last edited:
  • Like
Reactions: pnin

lueromat

Member
May 18, 2020
23
0
after installing LOS, GApps and Magisk in OrangeFox, and then booting to system, the phone is stuck at the sim PIN entry - I can enter it, but it doesn't advance afterwards. this is what I did:

1. Install TWRP
2. Use TWRP to install OF
3. in OF, wipe everything except usbstorage and sdcard
4. create installation queue with latest LOS, GApps, and Magisk, and install
5. boot to system => stuck at sim PIN entry
I hit "Emergency", went back to the PIN mask, and then it would accept my SIM pin. So far so good...
so in the end this worked, LOS + root, and no complaints so far.

other users were also successful with not sticking to the official magisk installation instruction, but just flashing the zip in recovery: https://github.com/topjohnwu/Magisk/issues/3239#issuecomment-816164610

guess this is the way to go for willow
 

Uluru25

Senior Member
Nov 27, 2016
247
95
Samsung Galaxy S7
Samsung Galaxy A6
please follow instruction and do not add/remove a step
-flash OFox (if you already have it = no need)
-reboot to recovery
-flash latest A10 stable FW RN8 Ginkgo RN8T Willow
-format data (not wipe) (this will erase internal storage!)
-reboot to recovery
-wipe 5 (cache/dalvik/system/vendor/data)
-flash the rom you want
-flash kernel (if you have any)
-flash DFE
-format data again
-reboot to recovery
-reboot to system
-reboot to recovery and flash magisk
done
Hi loopypalm, only for curiosity: is there a reason why to wipe /data "again" in step 6 after having formatted /data already in step 4? And furthermore why to format /data for a second time in step 10? What happens to /data after the first formatting that makes these steps recommendable? Thx if you find a minute to explain...
 

loopypalm

Senior Member
Jul 8, 2016
1,048
285
Osaka
HI , this is what devs been recommending since the beginning (on ginkgo)
is there a reason why to wipe /data "again" in step 6 after having formatted /data already in step 4?
no
And furthermore why to format /data for a second time in step 10? What happens to /data after the first formatting that makes these steps recommendable?
me personally i don't think formatting data a 2nd time is necessary

but as for what i think could be the reason is after formatting data you will get a "raw" file system , so the OS will choose the situable file system for it "EXT2" or "EXT4" or ...
that's why sometimes the system wont boot even if you flash DFE
(which (i think) is the case on all ports like ONEUI or OOS ...)
 
  • Like
Reactions: Uluru25

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    please follow instruction and do not add/remove a step
    -flash OFox (if you already have it = no need)
    -reboot to recovery
    -flash latest A10 stable FW RN8 Ginkgo RN8T Willow
    -format data (not wipe) (this will erase internal storage!)
    -reboot to recovery
    -wipe 5 (cache/dalvik/system/vendor/data)
    -flash the rom you want
    -flash kernel (if you have any)
    -flash DFE
    -format data again
    -reboot to recovery
    -reboot to system
    -reboot to recovery and flash magisk
    done
    1
    I am trying to get Magisk to work on my Xiaomi Redmi Note 8T with Lineage OS, but the step where I am patching the boot.img is failing. I am using LOS recovery, and I followed the instructions provided by topjohnwu [1]: because the 8T doesn't appear to have ramdisk (I don't know what that means btw), I need to patch an image (my recovery image?) with the magisk app - this is what I did:

    1. Install Magisk App and check status: "Ramdisk: No"
    2. Download Lineage recovery image [2] and patch in Magisk
    3. Install patched recovery image using fastbook [3]
    4. Wipe device and Install LOS + GApps
    5. Reboot to system => still says "Ramdisk: No"

    What am I doing wrong? How did everyone else root their Note 8T?

    [1] https://topjohnwu.github.io/Magisk/install.html
    [2] https://download.lineageos.org/ginkgo
    [3] https://wiki.lineageos.org/devices/ginkgo/install#installing-a-custom-recovery-using-fastboot

    ---

    EDIT: I just found this: https://github.com/topjohnwu/Magisk/issues/3239 - does that mean it worked? Doesn't look it did...I don't think I have root
    install OrangeFox recovery
    rename Magisk22.APK to Magisk22.ZIP
    install it like any zip in recovery
    reboot
    (i suggest you do a clean flash to avoid problems)
    (yess, RN8 have ramdisk but that's not required for root to work)
    1
    The ROM I want is the official Lineage -- I'm no hardcore flasher, just want to take it easy with a tried and tested custom ROM. But the kernel and DFE got me stumped: do I really need them? Which ones?
    i think you should try RRos (it's based on LOS and updated)

    i said kernel, so if you have one in mind, that's the step (correct order) you flash it in
    (people use "sixteen" for battery,or default "quicksilver" ,or ryzen or ...)

    DFE is "Disables dm-verity, forced encryption"
    1
    HI , this is what devs been recommending since the beginning (on ginkgo)
    is there a reason why to wipe /data "again" in step 6 after having formatted /data already in step 4?
    no
    And furthermore why to format /data for a second time in step 10? What happens to /data after the first formatting that makes these steps recommendable?
    me personally i don't think formatting data a 2nd time is necessary

    but as for what i think could be the reason is after formatting data you will get a "raw" file system , so the OS will choose the situable file system for it "EXT2" or "EXT4" or ...
    that's why sometimes the system wont boot even if you flash DFE
    (which (i think) is the case on all ports like ONEUI or OOS ...)