[GUIDE] Magisk Root without TWRP

Gueztar

Senior Member
Feb 19, 2016
476
183
53
Martapura
Hello guys.

I've seen this device development for custom rom and custom recovery are slow (they did it in privat currently, invited user or someone who want to join). The unofficial twrp having issue with encrypted device (asking for password). So internal storage in twrp isnt accesible and need to format data to make it works. Of course ROOTING with TWRP is still POSSIBLE by placing magisk to extSdcard anyway.

And this guide is a SECOND chance for you who wants to ROOT your phone WITHOUT TWRP. But, need a PC. The root method here are from magisk thread https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 .

Things needed :
- Unlocked Bootloader
- PC with ADB and Fastboot installed
- boot.img of your miui rom. You can grab it (open with winRar) from fastboot firmware (.tgz) xiaomi redmi S2. Download the firmware file in xiaomi site or in this section thread. The version are reccomended to be the same as your current miui version.
- Magisk Manager.apk https://github.com/topjohnwu/Magisk/releases/download/manager-v6.0.1/MagiskManager-v6.0.1.apk
- Know how to use minimal adb and fastboot.

Again this method does not need root, and also does not require a custom recovery. boot.img & UBL is a must.
1. Open Magisk Manager
2. Press Install > Install > Patch Boot Image File, and select your boot.img file
3. Magisk Manager will now patch your boot image, and store it in Internal Storage/Download/patched_boot.img
4. Copy the patched boot image to your PC. Place it in Minimal ADB & Fastboot directory.
5. Flash the patched boot image to your device. Here is the command :
fastboot flash boot boot.img
6. If adb say "Okay" twice, mean it succesfully.
Type : fastboot reboot
7. Wait your phone to reboot.
8. Voila!

I've done this method with my Redmi 5 Plus and not having any issue. Technically, bootloop risk are very low. Because magisk disable dm-verity.
 
Last edited:

Reynold29

Member
Aug 13, 2018
36
107
43
Mysore
I dont know someone already make a guide about this here. But its not detailed. So, ill keep this thread on. For root with custom recovery TWRP here.
Actually we have a developer working for our device. And also, we have our own forum and a treble supported TWRP and a special GSI for our device. The only thing which is not working in the GSI is there VoLte. Please visit our forum mi-ysl.tk

---------- Post added at 04:55 AM ---------- Previous post was at 04:51 AM ----------

Actually we have a developer working for our device. And also, we have our own forum and a treble supported TWRP and a special GSI for our device. The only thing which is not working in the GSI is there VoLte. Please visit our forum mi-ysl.tk
The credit mainly goes to @Peaktogoo
 

Gueztar

Senior Member
Feb 19, 2016
476
183
53
Martapura
Actually we have a developer working for our device. And also, we have our own forum and a treble supported TWRP and a special GSI for our device. The only thing which is not working in the GSI is there VoLte. Please visit our forum mi-ysl.tk

---------- Post added at 04:55 AM ---------- Previous post was at 04:51 AM ----------


The credit mainly goes to @Peaktogoo
In general people didnt know that like i am. But, im glad to hear that. My friend have this phone and think about doing these kind of.