[Android Software Development] Nonta72:
​

Hi and welcome to DualBootPatcher app thread for Mediatek 64 bit devices.

It's available for any MT67xx device under two conditions:

- You compile your own version with support for your handset

- You upload your build.prop and your scatter file. I will compile it for you when I get time. SORRY, BUT I HAVE STOPPED THAT

Disclaimer:

I take no responsibility for any damage to your device or yourself because you use this app.
Keep in mind that using this app, your device may:
- Gain ability to fly
- Give birth to a dragon
- Trigger a thermonuclear explosion!
- Get you fired from your job because alarm app didn't work
- Simply die!

Downloads:

Grab the latest apk here https://snapshots.noobdev.io

How to get your device supported ?

Method 1: Port it yourself

(For MT6735 & MT6753)

system.img is for SYS21

cache.img is for SYS22

userdata.img is for SYS23

boot.img is for SYS8

recovery.img is for SYS9

(For MT6752 and maybe MT6732)

system.img is for SYS18

cache.img is for SYS19

userdata.img is for SYS20

boot.img is for SYS8

recovery.img is for SYS9

IF ANY OF THESE INFORMATION DO NOT MATCH THE ONES IN YOUR SCATTER FILE, THEN MOVE TO METHOD 2! ELSE, FOLLOW THE STEPS BELOW.

1) Download the App and install it

2) Unpack your TWRP using Carliv Image Kitchen or any other tool

3) Edit the default.prop file in your unpacked TWRP by changing the values of the following lines to n560a (if you have MT6735 or MT6753) , for brand, set it to JIAYU. If you have MT6752 set it to h560 and the brand is the same.

ro.product.model=

ro.product.brand=

ro.product.name=

ro.product.device=

4) Now repack your TWRP and flash it.

5) Boot to your current rom, edit build.prop file and change the same values you did change on step 3. After that, reboot your device and now you are good to go.

6) If you wish to patch a zip, choose n560a - Jiayu S3 Plus for MT6735 or MT6753 (the app should detect that automatically if you did everything right). If you have MT6752, choose h560 - Jiayu S3.

Method 2: Add support for your device yourself!

If you are unlucky and your partition table didn’t match any of the above ones, then you will have to add your device manually and compile the app yourself.

1) Download the source code at https://github.com/chenxiaolong/DualBootPatcher

2) Edit jiayu.cpp file in libmp/devices and add your device’s partitions numbers. For MT6735 & MT6753, base your edit to n560a and for MT6752 base it to h560.

3) Compile it with the new changes. Your device should be supported now.

Usage:

Refer to this XDA thread to use the app http://xdaforums.com/hot-2/orig-development/app-dualboot-multiboot-infinix-hot-2-t3425807

IF YOU GET BLACK SCREEN OR PHONE VIBRATES FEW TIMES AND REBOOT TO RECOVERY WHEN YOU TRY TO BOOT A SECONDARY ROM, THEN REPLACE “forceencrypt” with “encryptable” ON THE USERDATA PARTITION OF YOUR FSTAB FILE.

Old guide is below if you still need it.

Currently supported devices:

- Tecno Camon C8 (h352)

- Quantom Go 4G (Q2)

- Allview Viper X (V2_Viper_X)

- GiONEE Elife S Plus (SPlus)

- ZTE Blade V6 (Blade_V6)

Downloads:

Current realease is here => DualBootPatcher_arm64.apk mega.co.nz (16 MB)

How to use it ?

Refer to this thread of mine for Infinix HOT 2 or this one for Android One 1st gen devices.

Want to compile it ?

I encourage you to do so!

Clone either the original repo here https://github.com/chenxiaolong/DualBootPatcher and add your device in supported list by editing one of the .cpp files in libmbp/devices

Or, clone my fork of the repo here https://github.com/Nonta72/DualBootPatcher and just edit the mtk64.cpp file in libmbp/devices dir.

Bugs:

- In-app flasher doesn't work

- If you flash an Android 6.0.x rom as secondary, the ROM will show that the sdcard is corrupted even thought it really is not. So you have to install 6.0 ROMs has primary. If you only have 6.0 roms, well, I am sorry but you have to wait till I figure out what triggers the fake sd card corruption.

Credits and thanks:

All thanks go to [MENTION=4277844]chenxiaolong[/MENTION] for his awesome and incredible app!