Dual Boot Patcher for Zuk Z2 Pro

Do you want a guide to use Dual Boot Patcher?

  • Yes!

    Votes: 17 100.0%
  • No.

    Votes: 0 0.0%

  • Total voters
    17
  • Poll closed .

lucaam

Senior Member
Nov 17, 2014
106
44
28
23
Dugenta
Hey guys, Dual Boot Patcher for the Zuk Z2 Pro is officially supported! Check it out here!


Here's the guide:

First of all download these files from here:
  • DualBootPatcher.apk;
  • DualBoot tilities.zip;
  • DualBootPatcher for Windows (only if you want to patch files from windows instead of Android).

Important: Copy DualBootUtilities.zip into your internal memory because if something goes wrong you can "save" your phone thanks to it via recovery.


  1. Install DualBootPatcher.apk;
  2. Open it and give the root permission;
  3. You will be asked to set the kernel in order to use it, confirm of course;
  4. Now you have to tap on "Patch zip file";
  5. After that select the FAB button than "Add flashable zip" and navigate to add the ROM/file that you want to patch;
  6. You have to select the right device and choose "Dataslot" giving a name to the ROM;
  7. Once is done you're ready to install you ROM/file;
  8. Go to ROMs section and again click on the FAB button, "+" and than "Add patched file" and navigate to add the file that you've just patched;
  9. "Keep Location" at the new prompt;
  10. Now just tap on the tick on the top to start. At the end you will have the last 3/4 rows in green with return "0". Return 0 means "everything is ok";
  11. Click on the ROM you want to boot the phone and reboot;

If something goes wrong you can use DualBootUtilities.zip to switch to your primary rom.
  1. Reboot into recovery (press and hold the power button for 15 seconds);
  2. Select recovery and than navigate and find "DualBootPatcher" that you have already copied to your internal memory and install it;
  3. You will have an AROMA Interface to manage everysingle part of your ROMs;
    Code:
    [url]https://tlgur.com/d/MGanXyEg[/url]
    (I noticed that AROMA interface is overturned, if you've got the same bug you have to try to get the right button on the screen via the volume buttons and power button).
  4. Go next and select your primary ROM;
    Code:
    [url]https://tlgur.com/d/p8DkWkX4[/url]
  5. Than select and press on "Switch to";
    Code:
    [url]https://tlgur.com/d/74yyryn4[/url]
  6. Now, just click next until finish;
    Code:
    [url]https://tlgur.com/d/q8leDoyG[/url]
  7. Reboot your device and you're ok.
    Code:
    [url]https://tlgur.com/d/MGanXyEg[/url]



Q&A:

Q: How can I update my primary ROM?
A: Just patch the file and select "PrimaryROM Updgrade". Flash it.

Q: How can I flash gapps on my secondary ROM?
A: Patch the gapps using as location "Dataslot" with the correct name that you've got for the ROM.

Q: How can I flash Xposed/Magisk on my secondary ROM?
A: Patch the file using as location "Dataslot" with the correct name that you've got for the ROM.
 
Last edited:

Terminator.J

Senior Member
Jun 11, 2014
238
157
63
Seattle
HOLY CRAP WHERE WAS THIS ALL MY LIFE (or at least the last few months)?!

Instead of losing HOURS and HOURS out of my life just trying to finish running Titanium backups, TWRP backups, copying to computer, rebooting EDL, QFIL firehosing, waiting for ZUI boot, rebooting bootloader, reinstalling TWRP, installing a custom rom, GApps, Magisk/SuperSU/whatever, signing back into Google, doing settings and disabling built-in Chinese crapware, etc. OVER and OVER again... I can just patch the installer and make a new Data Slot? And switch back to ZUI as primary when it's time to get back to work? This is wonderful! Not quite a VM as far as sandboxing it, but still; such a timesaver!

I've never even seen it before, but patching a couple ROMs (AICP June 3 - Magisk removed from zukfans.eu and Mokee 712 June 6), osmosis' UnSU script, OpenGapps current pico release, and current SuperSU, checking free space, creating two Data slots, installing the ROMs with working Gapps and SuperSU into Data Slots 1 & 2, booting both, signing in to my Google account, and getting DBP loaded into both of them so I could switch around between testing environments and going back to ZUI as Primary ROM took all of about an hour and a half.

Daaaaang!
_____

Update: One obnoxious thing - you'll lose your PIN/fingerprint lock once you switch back to primary. As in, you'll put in the correct PIN, and it won't take it, and I presume won't let you in with fingerprint either; same as if you restore a nandroid backup with device protection enabled. To fix: via ADB or custom recovery file manager, you need to delete /data/system/locksettings.db (thanks to @srnoth via this post ).
 
Last edited:

rex_vitis

Senior Member
Jul 28, 2016
73
15
0
That's correct, but only happens once when you install a secondary ROM and then switch back to your primary. Switching between the two works flawlessly afterwards. App Sharing works wonderfully. Apk has to be installed on both systems and the option has to be enabled both times. Then the same directory is used across the two systems.

Sent from my Z2 Pro using Tapatalk
 
Last edited:
  • Like
Reactions: LBA97

almmpt

Senior Member
May 19, 2005
389
55
48
Can´t flash Lineage 13.

Just added guide.
Can´t flash Lineage 13.

I have AICP 7.1.2 as primary and I flash lineage 13 exactly as you writte in tutorial but when i make reboot to lineage 13 the blue light turns on and it cant boot.

Is possible to use dualboot patcher with nougat and marshmallow custom roms?
 
Last edited:

lucaam

Senior Member
Nov 17, 2014
106
44
28
23
Dugenta
Can´t flash Lineage 13.

I have AICP 7.1.2 as primary and I flash lineage 13 exactly as you writte in tutorial but when i make reboot to lineage 13 the blue light turns on and it cant boot.

Is possible to use dualboot patcher with nougat and marshmallow custom roms?
You can because I was on Mokee 7.1.2 and I flashed Flyme that is 6.0. Maybe the problem is the version of Lineage 13. Try another 6.0 ROM.
 
  • Like
Reactions: Topogigi and almmpt

almmpt

Senior Member
May 19, 2005
389
55
48
I cant install Lineage 13 as second rom.
I try with AICP 7.1.2 and MoKee 7.1.2 as primary rom but the second rom Lineage 13 cant boot sstem and only light a fixed blue led.

Anybody know why it is not possible to boot?

May be i have 7.1.2 as primary and 6.0.1 as secundary is the answer for that issue.

Thanks.
 

m45k

Senior Member
Nov 19, 2008
76
5
0
if your primary ROM is android 7 based then every secondary ROM need to be android 7 based. same for primary android 6 -> secondary need to be android 6

---------- Post added at 04:36 PM ---------- Previous post was at 04:22 PM ----------

there is a multirom recovery for the zuk z2 pro avalible, too.
what is the better solution in your opinion?
with multirom i have the possibility to select the ROM when i am booting
 

almmpt

Senior Member
May 19, 2005
389
55
48
Multirom recovery?

Where I can find it?

With that multirom TWRP is possible to have dual boot with 7.1.2 and 6.0.1 custom ROMs working?
 

rex_vitis

Senior Member
Jul 28, 2016
73
15
0
Has anybody tried wiping and reinstalling their primary room? I have some issues on my primary so I have to do a clean reinstall.

Also, is app sharing possible with multi rom TWRP?

Sent from my Z2 Pro using Tapatalk