[Xiaomi Redmi 1S] I Dragon:
The Best thing about this Dual Boot System you can Restore your Old backups as Second Rom :D

Before you do this make sure you have Done the System Partition and External SD Card Partition of Dual Boot to the Red Color Line by http://xdaforums.com/redmi-1s/development/dual-boot-cm-12-lollipop-rom-redmi-1s-t3034770 this Post.

No need to download CM 12 Dual Boot.zip for this tutorial...

Heres How to make Any Custom Rom as Second Rom

What you need

Android Kichen

Windows PC

WinRar

Brain

Files you need

Android Kitchen - http://d-h.st/JkKK

System Change 1.zip - http://d-h.st/gSM4

System Change 2.zip - http://d-h.st/Ubdi

What there was Included

Edit Updater Script

Edit boot.img

Repack Extracted Rom Folder

Modify System Change 1.zip

How to Flash

How to Restore a Backup as Second Rom

Step One :-

Edit Updater Script

Extract the rom zip. Go to META-INF > com > google > android >

Open "updater-script" using notepad++. Change the System path and Userdata path

System =

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");

To

mount("ext4", "EMMC", "/dev/block/mmcblk0p30", "/system");

Data =

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");

to

mount("ext4", "EMMC", "/dev/block/mmcblk1p2", "/data");

Example -- From

To

Now Save it.

Step Two :-

Edit boot.img

Download Android Kitchen and Extract it... Then copy the boot.img file to that folder

Now Drag and Drop the boot.img to unpackimg.bat

You will see the unpack completed

Now you will get ramdisk folder. Go to that folder. And open "fstab.qcom' using notepad++

Change the Partition Paths as New Partition Table...

system = mmcblk0p30

data = mmcblk1p2

cache = mmcblk1p3

Example -- From

To

Save it and Now double click on "repackimg.bat. And you will see the completed msg...

You will see the new img file called "image-new.img.

Step Three

Repack Extracted Rom Folder

Copy it to the Extracted Rom Folder Delete the old boot.img. Rename "image-new.img" to "boot.img"

Select Folders and Files and click on Add to Archive

Select Zip option and Other settings as the screenshot. And Press OK

Wait Until finish. After completed you will see the new zip file...

Copy it to your External SD card.

Step Four

Modify System Change 1.zip

Download "System Change 1.zip". Open it using WinRar Go to files folder. Get newly Created boot.img and Rename it to "boot2.img"and Drag and Drop "boot2.img" to the WinRar as Screenshot and Press OK.

Step Five

How to Flash

Copy System Change 1.zip Go to your TWRP recovery Mode. and Flash System Change 1.zip

Reboot to your system and Click on System Change App and Press Switching.

Your device will Reboot... Now after your device booted go to Recovery Mode again by Pressing Power Button + Volume Up Button...

Now you will See the TWRP Second Rom Recovery Mode.

Now wipe cache, dalvik cache, data, system and Flash newly created Rom zip file by Step Three.

Reboot your Device and will boot Second Rom. So first boot will take little while to boot.

Now boot into Recovery again and Flash System Change 2.zip.

Reboot to system. To Change the system Go to System Change App open it and Click Switching.

How to Restore a Backup as Second Rom

Just Follow only the Step Two And Step Four.

Copy the "System Change 1.zip" (Modified by Step Four) and "System Change 2.zip" to your SD card.

Go to your Recovery Mode and Flash "System Change 1.zip"

Reboot to your System and Open "System Change App" and Click "Switching"

Now device will Reboots in to TWRP Second Rom Recovery Mode.

Then Restore your Backup. But Do not Restore boot. Untick the boot when restore.

After Completed Flash "System Change 2.zip'. Reboot.

You can Change System by opening System Change App and Pressing Switching

Give me your Valuable Feedback... Thank You for Reading... :highfive:

Credits

Nishantha Indika

xuelongqy

Sudeep Duhoon