[GUIDE] Dual Boot Patcher [STEP-BY-STEP]

mario_R

Senior Member
Mar 28, 2014
399
477
63
25
NOTE: IF YOU DON'T WANT TO USE MAGISK THEN JUST FOLLOW STEPS FROM 1 to 7 WITHOUT STEP 6a
<strike>asd </strike>
A lot of Mi Max 2 users have problem with Dual Boot Patcher. You can pass installation step, but if you want to boot into secondary ROM the phone just vibrate and boot into recovery?
If your answer is "YES" then this guide is for you and it also contain how to get fully working Magisk (optionaly)

What is causing crash? It's encryption on internal storage.

What you have to do:
1) Boot into recovery

2) Make a backup of /system /data /boot on SD Card (it's important to make it on sd card!)

3) Wipe internal storage (it will erase all of your data including photos, music etc.)

4) Restore your backup and boot to your ROM

5) Install Dual Boot Patcher,go to ROM tab -> press 3 dots and press "Update ramdisk" and choose "Reboot now" It causes bootloop for some users and its only necessary for "App sharing" feature but it doesn't work properly on our device, so don't update RAMDISK and go to next step

6) Patch your ROM and install it as secondary on /system or on /data partition - it's your choice. I have MIUI and LOS installed on /system partition and it has still 1.7 GB of free space there

6a) Patch Magisk_v12.zip (see attachment) as a zip for secondary ROM and flash it

7) Select your secondary ROM in ROM list and reboot.


From now on everything what is below we will do on secondary ROM

8) Install Dual Boot Patcher.

9) Install magisk.apk (see attachment)

10) Open Magisk Manager

11) Go to Modules-> press "+" button -> search for Magisk_v15.3.zip -> hold your finger on it -> press "Open". Wait for installation end. Now press close button. Don't restart

12) Open Dual Boot Patcher -> confirm for change current kernel

13) Reboot and voila! You have fully working secondary ROM with Magisk!

English is not my native language. If there are any eye-bleeding language mistakes then send me PM with corrected text. Thanks! :)
 

Attachments

Last edited:
  • Like
Reactions: hrbani and jbmc83

kalawy

Senior Member
May 18, 2013
188
34
0
27
alexandria
it worked and the 2nd rom booted correctly then i added magisk 15.3 and set kernel .. the next boot the phone boots to the primary rom and stuck at bootanimation
when checking from recovery it appears that data partition cant be read and twrp asks for password

i managed to format and restore a backup
but what exactly caused this ??
 
Nov 24, 2014
29
2
0
Hi, I tried to follow each step as described but after clicking 'reboot' in the dual boot patcher app it just reboots to TWRP and I can't boot into the os anymore..... Anyone having the same issue?
 

mario_R

Senior Member
Mar 28, 2014
399
477
63
25
it worked and the 2nd rom booted correctly then i added magisk 15.3 and set kernel .. the next boot the phone boots to the primary rom and stuck at bootanimation
when checking from recovery it appears that data partition cant be read and twrp asks for password

i managed to format and restore a backup
but what exactly caused this ??
Thread updated. Try to follow steps again. I have removed updating ramdisk step because it causes random bootloops

Hi, I tried to follow each step as described but after clicking 'reboot' in the dual boot patcher app it just reboots to TWRP and I can't boot into the os anymore..... Anyone having the same issue?
Dirty flash your current ROM and don't update ramdisk. Thread updated. If it boot then go to dual boot patcher and set kernel for your primary rom, if it asks
 

musicalmohsin

Member
Apr 24, 2017
17
0
0
Unable to boot in primary os

Well thank you so much for this post :)
I followed all step carefully did same as written
Didn't keep miui as primary,

ISSUES

I went to Recovery fresh install of superior os
Did Backup , Wipe ,and restore now rebooted
Installed DBP Patch Miui 11 ROM and I thought that there's no enough storage in my system partition so flashed it in data slot :))))
Switched to Miui 11 everything worked fine!
But I'm unable to boot in my primary superior os
FOA I were unable to switch ROM to superior then I updated kernel and ramdisk switched successfully but still
I can't boot to my primary superior os Everytime I reboot I boot into Miui 11 -

Using
Mi Max 2 (oxygen)