Dualboot Galaxy S4 mini duos with Patcher.

Sanesh Munde

Member
Sep 16, 2014
44
24
0
Amravati
I am very happy to present first dualboot project for gt i9192. This original patcher is made by chenxiaolong and you can find original thread on gt i9505 original android development section. I only made some changes to original patcher. Big thanks to chenxiaolong for his awesome work.
I will not be responsible for your device to be bricked. Please proceed on your own risk.
Note : If you want to dualboot Touchwiz ROM with custom ROM please keep TW ROM as primary one. Also you have to debloat it to make space in /system partition for secondary rom. You can check the size of/system partition by diskinfo pro app attached in zip file.
Procedure : 1) First of all download the zip file attached below.
2) Boot in to primary ROM and install dualboot patcher app.
3) Open the app and set kernel as primary kernel.
4) Now patch the secondary ROM using dualboot patcher software on PC. ( do not patch using dualboot patcher app installed in primary ROM).
5) Reboot into recovery.
6) Flash the patched zip file for secondary ROM ( don't wipe anything just flash zip file).
7) Reboot.
8) You will boot in secondary ROM. Now install dualboot patcher app in secondary ROM.
9) Set current kernel for secondary ROM.
That's it. Now you can boot in either ROM by switching the ROM using dualboot patcher app and reboot.
The zip files to be flash for primary ROM need not to be patched but that for secondary ROM must be patch before flashing. To wipe data, cache, dalvik cache don't wipe through recovery directly. Flash the dualboot utilities zip file attached below in recovery. You will get to menu that let's you wipe the respective partition of either ROM. The normal nandroid backup will backup both primary and secondary ROM. To backup individual ROMs please see original thread by chenxiaolong.
Unfortunately android 5.0 ROMs are not supported by this patcher app.
For i9190/9195 users please install diskinfo pro app and check partition numbers if they are as below then you can directly use the patcher app and software.
system= mmcblk0p21
cache= mmcblk0p22
data= mmcblk0p24
If these are different then just change respective number using notepad++ as per your device partitions and you can use the patcher. You can also patch files manually for secondary ROM but autopatcher is much easy. The method is given in original thread by chenxiaolong.
So enjoy dualbooting and give me thanks if you like my work.
Download link :- http://d-h.st/F1qw
 

parthabhatta

Senior Member
Mar 29, 2008
1,373
241
93
Calcutta
I confirm that it's working.
Details later
Edit : Details :
1)Primary: Samsung modded v2.5 by adityapal & others. Deleted many system apps and free space increased to 403 mb.
2)Installed DualBootPatcher and set kernel as primary.
3)Flashed CM11 by k2wl after patching it in PC. Device booted and found 23mb space left still now.
4)Installed DualBootPatcher and set CM11 kernel as secondary.
5)Can boot to any ROM from dualbootpatcher app.
6)Need to free some more space to flash Gapps CM11 after patching.
7)Made a Nandroid backup. A pretty large file.
8)Need to flash Dualbootutilities now.

Problems:
Cant patch chainfire supersu for upadting second ROM. The PC patcher goes into error.
Thanks to Sanesh to give us another thing to play with. Waiting for its update to become compatible with CM12 now.
A debloated flashable default Samsung ROM which will leave minimum 500mb system space free is welcome.
 
Last edited:

Sanesh Munde

Member
Sep 16, 2014
44
24
0
Amravati
I confirm that it's working.
Details later
Edit : Details :
1)Primary: Samsung modded v2.5 by adityapal & others. Deleted many system apps and free space increased to 403 mb.
2)Installed DualBootPatcher and set kernel as primary.
3)Flashed CM11 by k2wl after patching it in PC. Device booted and found 23mb space left still now.
4)Installed DualBootPatcher and set CM11 kernel as secondary.
5)Can boot to any ROM from dualbootpatcher app.
6)Need to free some more space to flash Gapps CM11 after patching.
7)Made a Nandroid backup. A pretty large file.
8)Need to flash Dualbootutilities now.

Problems:
Cant patch chainfire supersu for upadting second ROM. The PC patcher goes into error.
Thanks to Sanesh to give us another thing to play with. Waiting for its update to become compatible with CM12 now.
A debloated flashable default Samsung ROM which will leave minimum 500mb system space free is welcome.
The basic idea of patcher is to patch META-INF/com/google/android/updater-script file. The updater-script file in supersu zip and some gapps packages is dummy file, so it cannot be patched by this patcher. I have tested it with different custom ROMs but only in Mokee AOSP ROM gapps package is installed. If you want supersu app in secondary ROM just download its latest apk file and install it then update its su-binary when prompted.
 

singh54

Senior Member
Jun 23, 2013
457
235
73
Mayiladuthurai
Hi thanks for this work.... But have a doubt....

Should I have to keep a large internal memory or should I have to keep
large system ROM level..... Attached a screenshot too.... Hope u ll understand d question.....

The reason I am asking is. When I try to flash the secondary it says installation aborted.... Status 7 error.....

Sent 4m My S4 Mini With Stock 4.4.2
 
Last edited:

Sanesh Munde

Member
Sep 16, 2014
44
24
0
Amravati
Hi thanks for this work.... But have a doubt....

Should I have to keep a large internal memory or should I have to keep
large system ROM level..... Attached a screenshot too.... Hope u ll understand d question.....

The reason I am asking is. When I try to flash the secondary it says installation aborted.... Status 7 error.....

Sent 4m My S4 Mini With Stock 4.4.2
Check all boxes in setting of diskinfo app. You will see system partition with number mmcblk0p21. You must clean some space in this partition by debloating present rom. To know how much memory you have to clean, simply extract secondary ROM zip file in PC. The amount of space acquired by extracted rom, you have to clean in system partition.
Sorry for my bad English.
 

singh54

Senior Member
Jun 23, 2013
457
235
73
Mayiladuthurai
Have a Doubt.........

Hi,
You said, that if i want to install a custom rom over TW ROM then i have to keep the TW ROM as primary...

But my doubt is, i am already in a cm 11 based ROM, should i install another CM 11 ROM or CM 10.2 ROM over the first one by keeping the first cm 11 as primary and the another one as secondary...

Should i do the above, does it cause any problems..????

Will it works???????!!!!!!!!!!!??????????????

Please tell me buddy...............................
 

Sanesh Munde

Member
Sep 16, 2014
44
24
0
Amravati
Hello friends, nice to meet you once again.
Xda senior member Chenxiaolong has made nice app Dualboot Patcher that makes our device dualboot or multiboot for lollipop based roms.
You can view the original thread here, http://forum.xda-developers.com/showthread.php?t=2447534
Only remember to install TouchWiz rom as primary rom.
Procedure :
Download latest version of the app from here, https://snapshots.noobdev.io/
Install the app in primary rom and open it.
Go to Roms and set the kernel.
Now patch your favorite custom rom( you may patch it as secondary or for data slot).
Flash the patched zip through recovery( or you may install it from the app inbuilt function).
Reboot your phone, install Dualboot Patcher app in secondary rom and set the kernel.
You may install multiple roms in data slot. Also download dualboot utilities zip from above link and keep its copy in sdcard ready to use.
For I9190 and I9195 users simply unzip the rom before patching, go to build.prop in system folder and change
ro.product.device=serranods
Then zip the rom, patch it and then flash.
So friends enjoy multiboot and hit thanks if you like this post ☺☺?.
 

RuffBuster

Senior Member
Feb 3, 2012
1,321
359
0
Nice! Will definitely give this a try on my I9195 LTE.
I have this working great on my i9195 LTE running debloated scStock and latest build of CM11 with the latest security fixes using small gapps package.

Had to alter the line "ro.product.device=serranolte" to "serranods" in build prop for primary ROM to set the kernel. And also the patched secondary ROM had to be flashed with the dual boot app otherwise from recovery you have to edit the ROM mod script to ignore phone version as it was originally compiled for the i9192.

But working great here using slimmed down ROMs. Now I have the best of both worlds, having stock features and app compatibility, while being able to use other ROM as my daily driver. And with one click of a shortcut and a reboot I'm able to switch very quickly. This is probably the best dual boot mod I've tried with a wide range of compatibility.

Having one issue though I'm unable to flash F4K's kit kat kernel patched or by including it within the ROM itself. Both methods normally work with this kernel under a normal single ROM installation. Apart from this is good stuff.
 
Last edited:

GioBasi

Senior Member
Apr 13, 2015
151
32
0
Hello, how to install rom on ext sd? I have s4 mini and every time I get error not enough space fro creating system.img / I have philz touch recovery and ext sd slot patched aicp rom on sd card and have installed blisspop as primary
 

singh54

Senior Member
Jun 23, 2013
457
235
73
Mayiladuthurai
Last edited:
  • Like
Reactions: RomanSkyline