[Galaxy S 5 Q&A, Help & Troubleshooting] artaniss11k:
Dual Boot your Galaxy S5 G901F

First i'm not a programmer, I am an enthusiast user who likes to use the full potential of his phone

I found a way to dual boot the G901F though there is little development support for it

(too bad despite the potential of this device)

I like to thanks [MENTION=4277844]chenxiaolong[/MENTION] for his dual boot app for the Galaxy S4 witch i used for this to happen

I also like to thanks [MENTION=5132493]aukhan[/MENTION] for his post on how to dual boot the Note4 from where i got the link for "swap roms.apk"

Now lets beggin

0. you should have a backup of your primary rom.zip and your actual kernel.zip

and of corce your device rooted

1. download and install DualBootPatcher for win 32 and android from [MENTION=4277844]chenxiaolong[/MENTION] post

http://xdaforums.com/showthread.php?t=2447534

I installed DualBootPatcher.apk on the phone and for pathing i used DualBootPatcher for win32 on my pc

2. open DualBootPatcher for win32

3. on the new window hit the "chose file" tab

4. select your secondary rom.zip (eg.cm12.1 or cm13)

5. on "device" section select "trlte - SamsungGalaxyNote4(Snapdragon)"

i chose this thinking that Note4 Snapdragon has the same hardware as G901F and it could influence the instalation

6. on "install to" section select secondary

now hit the "start patching" tab and wait for the rom to be patched

7. inside the new rom_patched.zip in the "multiboot" folder you will find a file named "info.prop"

8. open it with a text editor and at the bottom you will find the line:

"mbtool.installer.ignore-codename=false"

9. change "false" to "true"

10. repeat steps 2-9 for your downloader version of gapps

11. install "swap roms.apk" from this link

https://www.dropbox.com/s/97st26iuk0jc9vc/Swap_Roms.3.apk?dl=0

but dont open it yet

12. with a file explorer on your phone go to sdcard/MultiBoot folder

13. there should be two folders "dual" and "primary"

14. if not, create them

asuming that you have both of your primary(actually installed) and secondary rom images (.zip files)

follow the next steps

15. copy boot.img from secondary patched rom to dual folder (sdcard/MultiBoot/dual)

16. copy boot.img from primary rom to primary folder (sdcard/MultiBoot/primary)

now copy rom_patched.zip and gapps_pathed.zip to your device

remember and don't forghet to edit "info.prop" from step 7 or the installation won't work

17. open DualBootPatcher installed on your device

18. hit the 3 lines menu from the top-left corner and select "roms"

19. hit the red icon on the bottom right corner, then the "+" one and install your secondary rom

after the istallation finishes install the gapps

20. after the install, exit the app

21. open "swap roms" witch you installed in step 11 and select dual

you should see a message telling that the kernel has been flashed

after it is done, click reboot

22. the device should boot to secondary rom

23. after configuring your new rom, repeat step 11 (install "swap roms.apk")

25. now to switch between roms use "swap roms" (select primary or dual depending on witch rom you are)

26. if anithing goes wrong go to recovery and flash your primary_kernel.zip

it should boot to primary rom

27. you can delete the secondary rom via DualBootPatcher->roms

For each .zip file you want to flash to your secondary rom repeat steps 2-9

I hope that you found this usefull and don't forget to press "thaks"
​