[Xiaomi Redmi 3s ROMs, Kernels, Recoveries, & Other] akshat2012:
I am proud to present the first dual boot project for the Xiaomi Redmi3s/3sp/3x .This will allow any number of ROMs to be installed at the same time. It works by patching the secondary ROM's installation scripts and boot image to load the ROM files from an alternate location (/system/multiboot, /cache/multiboot, and /data/multiboot). Because of the way this is implemented, no changes to the primary ROM are necessary :D

Donators

A huge thanks goes out to all of the donators for supporting this project! I if forgot to add you (and you want to be added), please send me a quick PM.

See all of our supporters here: https://gist.github.com/chenxiaolong...281941433ec54d

It patches...

Custom kernels for dual boot support

ROMs so that they can be installed as secondary

Google Apps packages for AOSP-based ROMs

SuperSU so that it can be used in the secondary ROM

How to use the patcher:-

Android

Download the patcher apk and run it. Tap "Patch Zip File" from the navigation drawer and choose the file you want to patch.

Windows (GUI)

Double click DualBootPatcher.exe and choose the file you want to patch.

--------

After patching the zip file, a new file, like some_rom_dual.zip file will be created. For example, patching ktoonsez's

KT-SGS4-JB4.3-AOSP-TMO-08.28.2013.zip

would create a new

KT-SGS4-JB4.3-AOSP-TMO-08.28.2013_dual.zip

Instructions for dual booting:-

Before doing anything, download the Dual Boot Patcher app from the download section below.

The patcher offers several locations for installing ROMs:

Primary: This is normally used for installing a zip to the primary ROM. It is not required, but is strongly recommended because it has code to prevent the zip from inadvertently affecting other ROMs.

Dual: Dual/Secondary is the first multiboot installation location. It installs to the system partition. This is a good spot for installing a second ROM because it doesn't take any space away from the internal storage.

Multi-slots: There are 3 multislots: multi-slot-1, multi-slot-2, multi-slot-3. These install to the cache partition. This is specifically for devices, like the Redmi 3S, that have a massive cache partition.

Data-slots: There can be an unlimited number of data slots. These install to the data partition and eat up space on the internal storage. This is useful for devices where the system partition is nearly full and the cache partition is tiny. These slots are named "data-slot-[id]", where "id" is something you provide in the app.

Extsd-slots: There can be an unlimited number of extsd slots. These install to the external SD card, which is useful as it keeps the ROMs off of the internal storage. Note that the ROM's data files are still stored on the data partition.

With that said, let's get to the "how to"!

First, boot into your primary ROM and install the Dual Boot Patcher app

Open the app and go to "Roms" in the navigation drawer. It will ask if you want to set the kernel. Make sure that you do.

Go to "Patch zip file" in the navigation drawer and patch the ROM or zip you want to install. You can select one of the installation locations described above.

There are two ways of flashing the patched zip file. You can either flash it normally from recovery or flash it using the in-app flashing feature. Both methods are explained below.

Flashing from recovery

To flash from recovery, just flash the patched zip file like you would for any other zip. Nice and simple.

In-app flashing

To use in-app flashing, go to "Roms" in the navigation drawer, tap the floating button on the bottom right, and add the zips you want to install. You can queue multiple zips and they will all be flashed in one go. Once you've added all the zips you want to flash, click the check mark in the action bar and they will be flashed right away.

A normal backup from recovery will backup every ROM. If you would like to back up ROMs individually, please see [MENTION=3145598]rlorange[/MENTION]'s awesome tool: http://xdaforums.com/show....php?t=2491299

DOWNLOADS:-

https://dbp.noobdev.io/downloads/

NOTE:-

I AM NOT RESPONSIBLE IF ANYTHING HAPPENS TO YOUR DEVICE.USE AT YOUR OWN RISK.THIS IS PERSONALLY TESTED BY ME SO IT SHOULD NOT CREATE ANY PROBLEM IF YOU FOLLOW THE STEPS ABOVE PROPERLY

ENJOY:D

PROPER STEPS (Thnx [MENTION=4581764]Vilo76[/MENTION])

<b>Basic Requirements:<br />

</b>Unlocked Bootloader, TWRP installed, Flash SU (Root),DualBOot patcher app and ur secondary roms<br />

<br />

<b>Must Follow Instructions:</b><br />

in TWRP-->Wipe-->FORMAT DATA-->type "yes" <br />

<b>NOTE 1:</b> this will decrypt ur DATA partition and u will lose all ur installed apps and Internal Memory as well<br />

if u want ur current rom data then BEFORE FORMATTING DATA plz take a twrp backup of ur rom into sd card and restore the data via twrp after decrypting data<br />

<br />

After decrypting the data, boot the Rom and follow the OP instructions: <br />

<br />

<br />

<b>NOTE 2:</b> Remove ur lock screen protection(PIN,Pattern,Password,FP.....) before flashing/booting into secondary rom

XDA:DevDB Information

[PATCHER][APP] DUAL BOOT PATCHER FOR REDMI 3S/3X/3SP, Tool/Utility for the Xiaomi Redmi 3S

Credits :- [MENTION=4277844]chenxiaolong[/MENTION] for adding it

Contributors

akshat2012, chenxiaolong

Source Code: https://github.com/chenxiaolong/DualBootPatcher

Version Information

Status: Snapshot

Created 2017-02-18

Last Updated 2017-02-18