[Galaxy Grand 2 Android Development] I'mTheMr:
Multirom v3 , DualBoot Patcher

tutorial also changed please read again ;)

/*
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* dead phones , car explosion , your phone explosion
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this tool
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Introduction :

I'm proud to present you the first dual boot project for the Qualcomm-based Samsung Galaxy S3 Neo and Samsung Galaxy Grand 2 and Galaxy S5 mini ! This will allow any ROMs and as many as you want to be installed at the same time. It works by patching the secondary's ROM installation scripts and boot image to load the ROM files from an alternate location (/system/dual, /cache/dual, and /data/dual). Because of the way this is implemented, no changes to the primary ROM are necessary :D

About :

Hello guys, as some of you guys know and some of you dont I was working on dual boot and dual boot v1 beta, which was released in our great Telegram group, but not in XDA, because of some reasons and rude MAXSIMUS96 that doesn't have any respect to a great development. But anyway I dont care :P

Lets Start

Well here's v3 + dbtools removed :P

patched files are flashable with recovery now

added full s3 neo support :angel:

added full grand 2 support :angel:

added full s5 mini support :angel:

more :D

Now you can have unlimited ROMs!

Tested with 4 CMROMs + 2 stock ROMs

Here's the topic of the base tool used: Dual Boot Patcher :)

Here :P

Make sure you leave a like on the great post of base tool I used here ;)

What is Dual Boot or Multiboot?

DualBooting or multi Booting means having 2 or more ROMs at same time on the phone and choose between what you want to boot on next reboot

Why i need this? Is it even useful???

Yes it is! You can fix offline charging on some ROMs like CM12.1, you can have stock battery life, motion beauty, CM12.1's and CM11's performence at the same time without flashing any of them. Just one click from changing to the ROM you like ;)

Whoa that sounds awesomeeee! is it difficult to install??

In v1 yes, but now on v1.5 i added dbtools (DualBootTools) that make most of things automated and even easier for noobs :P

now v2 things got even easier :D full s3 neo support

Any ScreenShots !?

see post #3 attachments ;)

I want to see how it is ! is it possible , any videos ?? !?

see post #3 post ;)

First Things first ! Go and make Backup of your files

Requirements :

an S3 NEO :p

root access of course

busybox if you are on stock ROM

recovery (twrp 3.0.0 is the best)

brain (the most important)

time and being relaxed ;)

downloaded files

installation tree:

download and preparing files

setting kernel

patching the ROM

flashing

switching ROM

updating ramdisk

extras...

done enjoying ;)

Explaining the tools

First: dbtools (removed due v2)

DualBootPatcher:

the great app mentiond above that made dualbooting possible

installation :

Now we know all about the tools,so it's time to use our brain :p

Step 1

download and install DualbootPatcher app

if you are in motion rom do this

if you are on motion rom install Motion fix zip at downloads section . it will change device codename back to s3ve3g

Step 2

Open the app

Slide the menu and go to ROMs

It will request for root access

Allow the root access

and a message will ask about to set the kernel

Select "set now" and after it said kernel set now

Step 3

reboot your device

Now after device is turned on

Go to the app and navigate "Patch Zip File" from the menu

and tap that + button select zip of ROM you want to patch

A window will come up and if you see in "your device selected by default" you done everything right.

then:

If you are CMuser ( means you have a cm12.1 , cm11 or ... on your primary rom)

and want to install another cyanogeonmod rom (cm11 , cm12.1 ...)

Select the partition configuration as "Secondary"

If you are trying to install another ROM that has a huge system

Select partiton configuration as "data slot" and select an ID for the ROM

better to be a number

(It will be installed on data partition this means it will use the device internal storage space )

and select continue and set where to place patched file .

you can add more files to patch there .

and after you are ready to patch the files tap that tick button in action bar

to start patching

Step 4

After you patched the zip ROM go ahead and navigate to ROMs from the menu

select button down corner and select patched zip you patched

and then select keep location (or if you want you can change the location ) and add more patched zips or tap the up corner tick to start install

note : if any thing wrong happend PM me on telegram and send me multiboot.log in internal storage.

Step 5

after ROM is installed

it should be selected the installed rom .

tap and switch to primary rom

now use three dot on side of primary and select update ram disk

and then select reboot now

now after device rebooted go back to the app navigate to roms

now use three dot on side of new ROM you installed and select update ram disk

after it said done

select the rom you installed . ( tap on the icon of it or name )

( if you saw a message about checksum select continue )

reboot the device and see the magic !!!!

your new ROM is booting !!!!

Cool, let's stop enjoying and continue :P

Step 6

now after your new ROM booted

take your time to setup the device

and go and install dualboot patcher app again

now open the app

Go to ROMs and allow root access and

now use three dot menu in side of primary ROM and select update ramdisk

now use three dot in side of new ROM and select update ramdisk

and reboot

Step 7

now ENJOY your dual booted phone

for now on you just need to select the ROM and boot into it

it doesnt need updating ramdisk any more.

now go to the browser and navigate to this topic and leave a thanks :p

it helps to keep up the work

How to flash a kernel gapps, camera fix, etc.?

Just patch the file to same partition configuration and flash with app

or patch it with recovery tools and flash

How to flash a kernel gapps, camera fix, etc. on primary rom ?

Just patch the file to primary configuration and flash with app

or patch it with recovery tools and flash

How to boot into other rom if you have boot loop with the current rom ?

boot into recovery twrp 3 and select images , navigate to /sdcard/multiboot/ and you see your ROMS listed in folder , like primary , dual , etc .... open the folder of ROM you desire to boot and flash boot.img to boot partition and reboot the phone

How to Wipe the roms ?

go to rom options in dualboot app select wipe rom and tick all of them and done .

or use the dualbootpatcher utility

How to use dualbootpatcher utility ?

flash in the recovery and BOOOOM !

Thanks & credits

It's all done now, thanks for reading carefully

Please at least leave a THANKS to the topic, it make me feel better and work harder on v2 for our device.

I can't receive any donation due to my country. It will be really nice if you send me donations with google gift cards

credits : DualBootPatcher Developer : [MENTION=4277844]chenxiaolong[/MENTION]

[MENTION=4709172]LGaljo[/MENTION] for his great help about fixing grammar mistakes and thanks to [MENTION=5165465]Swp1996[/MENTION] for testing on grand 2 and thanks to [MENTION=6865774]sasukesama[/MENTION] for testing and helping with s5 mini and thanks to [MENTION=6741734]ziad311[/MENTION] for testing v2 & thanks too [MENTION=6359650]German Developer[/MENTION] for video tutorial

hitting thanks button isn't that hard guys

Version Information

note SEANDROID ENFORCING is not a bug it's needed so please don't try to edit the work without permission or try to fix SEANDROID ENFORCING!!!!

What is working and what is not working on the ROMs?

Everything works great :p

Only bug is about CM11 :

Files created by CM11 ROM can't be opended with the other ROM :B

That's only problem .

Status : stable

version : 3

dbtools version : removed in v2