yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Original Android Development] Grarak:
you can backup cache partition with twrp

for restore just restore cache

data is in /data/media/.fourthrom
[Galaxy S 4 i9500 Original Android Development] bnnajem:
its mod work with MIUI V5 ????
[Galaxy S 4 i9500 Original Android Development] abo0o0d101:
mod not work with arrow rom

why?
[Galaxy S 4 i9500 Original Android Development] D™:
Which version.? its working with 4.3.
[Galaxy S 4 i9500 Original Android Development] abo0o0d101:
v11
[Galaxy S 4 i9500 Original Android Development] matrix.bharath:
No Updates from long. cant we get MIUI multiboot please ?
[Galaxy S 4 i9500 Original Android Development] swavab:
Any update soon..?
[Galaxy S 4 i9500 Original Android Development] abo0o0d101:
please update?
[Galaxy S 4 i9500 Original Android Development] salahfathi:
download unsuccessful

evey time the app tries to dowload at first setup says download is unsuccessful

any fix
[Galaxy S 4 i9500 Original Android Development] skivnit:
Did anyone port this to n7100?

Sent from my Perseus powered octa
[Galaxy S 4 i9500 Original Android Development] DerTeufel1980:
haha. funny :) i just found your thread and wanted to take a look, how you managed to install roms to secondary, ... etc filesystem.

then i noticed that you are using my scripts :D

i guess you didn't find a better way to manage this, without modifying the rom.zip itself?
[Galaxy S 4 i9500 Original Android Development] Grarak:
I am too lazy for this :)

Your scripts are working awesome so just use them.
[Galaxy S 4 i9500 Original Android Development] Grarak:
Updated!

KitKat Support (cm 11)

How to update

Delete /sdcard/romswitcher

Uninstall RomSwitcher App

Download the latest one (link in OP)

Install the app
[Galaxy S 4 i9500 Original Android Development] DerTeufel1980:
I didn't have enough time to go through the complete thread/sources yet...

Is it possible to create/restore nandroids of secondary,... rom?

Gesendet von meinem SAMSUNG-SGH-I317 mit Tapatalk 2
[Galaxy S 4 i9500 Original Android Development] Grarak:
it should be possbile

system.img is already created so just copy it to another location

and for data just get the size of data folder with 'du -s <data path>', create an image with the output of the command + ~ 100MB (just in case), mount that image and copy the files into it.
[Galaxy S 4 i9500 Original Android Development] DerTeufel1980:
Thanks. I was hoping you have it directly in nandroid settings, because the way I am using to let the recovery mount the partitions itself isn't very nice (requires replacing of fstab with a prebuilt one for each file system), but now I can just use nandroid secondary...

Gesendet von meinem SAMSUNG-SGH-I317 mit Tapatalk 2
[Galaxy S 4 i9500 Original Android Development] tollboy:
Thanks going to try with cm11 now.
[Galaxy S 4 i9500 Original Android Development] Chalao:
First of all thanks a lot for the update, I think this is what everybody has been waiting for. :)

Unfortunately, I have some troubles running CM11 as third ROM (PAC is second and running smoothly) as I cannot get past the boot animation. I updated the app as you described above, booted into recovery, wiped data + cache of third ROM and installed latest CM11 (Dec 14th) and latest PA-GApps from extSDcard as stated in the CM11 thread.

Are you sure the app from OP is the updated one? Still seems to be 1.0
[Galaxy S 4 i9500 Original Android Development] tollboy:
Omg omg!

It's working for me.

First time rom swithcher worked for me. That also with cm11.

I have not share application and data between 1st and 2nd rom. Thinking 4.4 and 4 3 apps will get messy with each other and make the system unstable.

Am I thinking right?
[Galaxy S 4 i9500 Original Android Development] Grarak:
Try to get a logcat

I didn't try third and fourth rom myself

App sharing will work on every rom

Data is unuseable
[Galaxy S 4 i9500 Original Android Development] Chalao:
Problem solved, the download didn´t work in the beginning so the new kernel was missing.

Running CM11 now smoothly as third ROM without any unknown issues so far.

Thanks again [MENTION=4443334]Grarak[/MENTION] for the update :good:
[Galaxy S 4 i9500 Original Android Development] GabeEddyT:
I don't know why but ever since the introduction of triple boot(and removal of having to change updater script) this has never worked for me. Every single update I hope that RomSwitcher will actually be functional for me but it isn't. After I run the app, it installs the custom kernel, and after I choose "reboot" my GS4 "reboots", and after displaying the boot logo, it just shows a black screen and turns into a brick until I manually boot into CWM and flash a kernel that actually works. I've attached a logcat, not sure if that'll help at all, but I can tell you is that this has been persistent for any rom I've used(Arrow, WanamLite, Crash). I'd be really grateful if someone were to help me out with this because I find CM11 fun to play around with and yet it would be nice if I could also use some features(video recording, IR blaster, WiFi tether, etc.) that are only available on TW roms. To Grarak: you are an amazing developer as proven by your efforts with PAC and being able to turn the concept of dualbooting into an app, kernel, and recovery. I'm sure you put a lot of work into RomSwitcher and I hope that one day I could finally utilize the result of your hard work.
[Galaxy S 4 i9500 Original Android Development] Grarak:
Type in terminal

echo 0 > /data/media/.rom

And do a new installation of RS

Before you flash anything select remove 2nd Rom
[Galaxy S 4 i9500 Original Android Development] skivnit:
I got stuck on boot animation of second rom. Do we still need to flash kernel after the rom,?

A reboot got me through
[Galaxy S 4 i9500 Original Android Development] UchihaKakarot:
No need to flash any kernel
[Galaxy S 4 i9500 Original Android Development] skivnit:
Loaded fine on second rom cm 11 but now that I tried to reboot on first rom tw, I'm stuck on Samsung logo

---------- Post added at 04:33 PM ---------- Previous post was at 04:05 PM ----------

How can I load second rom from recovery? I need to get to my files first before wiping. Tw rom is fkced somehow
[Galaxy S 4 i9500 Original Android Development] UchihaKakarot:
Install a new touchwiz ROM. It will probably work. Next time don't forget to enable manual boot.
[Galaxy S 4 i9500 Original Android Development] jiant.li:
Just a Great Job

Great Work, I can install miui and CM11 besides TW now...
[Galaxy S 4 i9500 Original Android Development] skivnit:
I did flash tw rom again it didn't work I wiped cache and flashed kernel as well. Nothing worked
[Galaxy S 4 i9500 Original Android Development] Grarak:
What kernel did you flash?

You have to flash a rom not a kernel
[Galaxy S 4 i9500 Original Android Development] skivnit:
Flashed a stock tw then Perseus.
[Galaxy S 4 i9500 Original Android Development] Grarak:
Why do you flash perseus kernel?

Read the ****ing OP
[Galaxy S 4 i9500 Original Android Development] skivnit:
I did not flash it after flashing second rom I only flashed it now since i flashed a stock tw rom.

It just sits there with blue light and Samsung logo

---------- Post added at 06:27 PM ---------- Previous post was at 06:07 PM ----------

So what can i do? Is it possible to create a back up without boot image in recovery, wipe then restore from the back up?
[Galaxy S 4 i9500 Original Android Development] GabeEddyT:
Thanks for responding. I can finally get past the boot logo and use TW rom. However, I can't flash a second rom. After it says, "Loading Scripts", it says "Something went wrong! Please send me recovery.log" and when I check the log it says:

umount: can't forcibly umount /system: Invalid argument

umount: can't forcibly umount /.firstrom: No such file or directory

mount: mounting /dev/block/mmcblk0p21 on /data failed: Device or resource busy

mount: mounting /dev/block/mmcblk0p19 on /cache failed: Device or resource busy

I: Can't partition non mmcblk device: /devices/platform/dw_mmc.2/mmc_host/mmc2

Sorry for bugging you with my troubles.
[Galaxy S 4 i9500 Original Android Development] Arjav23:
Miui is working???

Sent from my DEATH NOTE with SHINIGAMI by my side!
[Galaxy S 4 i9500 Original Android Development] jiant.li:
I thougt it was working....

I install it as 4th ROM ut didn't work. I guess it was because of kernel. So I delete all the unnecessary files and make the zip file less than 500MB and install it to the third rom, and extract the boot.img to the romswithc folder in internal sdcard, still doesn't work.:mad:
[Galaxy S 4 i9500 Original Android Development] D™:
4.2.2 is out of support.
[Galaxy S 4 i9500 Original Android Development] Bosstazem:
I got the same error log.
[Galaxy S 4 i9500 Original Android Development] shubh961:
I installed Carbon 4.4.2 as second ROM which is working fine but I'm unable to boot back to first ROM, it gets stuck on boot animation. I tried reinstalling TW ROM and after that I can't even see any boot animation its just blank screen. I did selected Manual Boot and I can still boot in second ROM but no luck with first ROM.
[Galaxy S 4 i9500 Original Android Development] tollboy:
You must have shared data. It is useless. You can share apps but not the data.

My suggestion clean wipe for the first rom. And turn off data sharing between the roms.
[Galaxy S 4 i9500 Original Android Development] skivnit:
Exactly. I did same thing and it cost me a data wipe
[Galaxy S 4 i9500 Original Android Development] pippideniro:
[MENTION=4443334]Grarak[/MENTION]

Merry Xmas and thnx for ur wonderful work!

actually I forgot to install Busy Box on first ROM TW and l follow ur instruction and successfully dual booting.

1. i used Prism Barebone V2.5 TW ROM as first rom, i hope this will not be a problem or do i have to used Samsung stock rom?

2. i can only boot into CM 11, cannot boot into Prism Barebone maybe because i forgot to install busy box b4 making the dual boot, if i should install busy box on CM 11, will i be able to boot back to ROM 1 which is the TW ROM or i need to start the process all over again by removing both roms and start all over again?
[Galaxy S 4 i9500 Original Android Development] pippideniro:
[MENTION=4443334]Grarak[/MENTION]:highfive:

thnx so much!

after playing around with ma phone according to ur instruction i got everything working positively.

---------- Post added at 11:59 PM ---------- Previous post was at 11:58 PM ----------

[/COLOR [MENTION=4443334]Grarak[/MENTION]

Merry Christmas:D
[Galaxy S 4 i9500 Original Android Development] Grarak:
Merry christmas you too

As I always said 'read the ****ing OP!'
[Galaxy S 4 i9500 Original Android Development] Arjav23:
M€®®¥ ČH₹¡$™@š

Sent from my DEATH NOTE with SHINIGAMI by my side!
[Galaxy S 4 i9500 Original Android Development] taylorhmatos:
here in rom pacman on dual boot the signal is coming and going. I'm using the rom the legend v5 XWUBMG7, perseus kernel and modem XWUBMG9.
[Galaxy S 4 i9500 Original Android Development] Grarak:
Try to flash another baseband
[Galaxy S 4 i9500 Original Android Development] taylorhmatos:
the baseband which you speak is the modem XWUBMG9 or the base XWUBMG7?
[Galaxy S 4 i9500 Original Android Development] D™:
I am on same things means arrow rom mg7, Perseus kernel and modem mg9. Everything is working great.

Thanks,

Disturbed™

______________________________________________________

Wait for my time, U gonna pay for what U have done. - Disturbed™
[Galaxy S 4 i9500 Original Android Development] Grarak:
I am using XXUBMG9 and everything is great
[Galaxy S 4 i9500 Original Android Development] NoobieUser:
Great job! Btw can you help me please, downloaded The PacMan rom and gaaps you just posted. Flashed Omega rom v11 then perseus kernel.After that , booted into twrp recovery flashed PacMan rom then Gapps. After done, booted into samsung boot animation and was stuck there for 5mins. How to fix this? Thanks!
[Galaxy S 4 i9500 Original Android Development] gp545:
For the first boot Tochwhiz takes up to 5 minutes to boot since you flashed Omega & you booted again in to recovery flashed PAC.. Next boot onwards it should boot normally :)
[Galaxy S 4 i9500 Original Android Development] aminhasi22:
After flashing g apps again you hve to flash perseus nd then reboot system. Or you will be stuck on Samsung logo
[Galaxy S 4 i9500 Original Android Development] D™:
Guys just follow the instruction:

1) Flash any TW ROM and let it boot (if u are on TW ROM then neglect it)

2) when u reach to menu. Just reboot into recovery.

3) flash pacrom & GApps.

4) Flash Perseus kernel.

5) Reboot

6) Install the Graswitcher.apk

Hope all of u understood.

Sent using PACMAN ROM and Samsung Galaxy S4(i9500) from XDA Premium 4

____________________________________________________________________

Wait for my time, U gonna pay for what U have done.- Disturbed ™
[Galaxy S 4 i9500 Original Android Development] croach246:
Am already on Omega v11 with persues 7.2. (Does this mean u want us wipe data/cache, reinstall TW rom & persues, then proceed with aosp rom..?)

Extracted both pacman rom and gapps .Zips using Es explorer on device. Edited code using 920Text editor, compressed both folders using Es Explorer booted into recovery and when attempting to flash rom I get the "Installation aborted". Using cofface recovery 3.0(this recovery has worked great for ll flashing I have done).

I guess my next step is to dig out the computer do edit lines and do zipping on the pc...
[Galaxy S 4 i9500 Original Android Development] NoobieUser:
Thanks now it's working
[Galaxy S 4 i9500 Original Android Development] taylorhmatos:
installed the rom neat and is giving the same error in the pac. the signal is unstable.

In TouchWiz rom it works but in pac is giving this error?
[Galaxy S 4 i9500 Original Android Development] tabenf:
Thanks alot for this works like a charm!!!!
[Galaxy S 4 i9500 Original Android Development] samer menla:
Thankyou grarak for your awesome work

I just need help, I must flash perseus kernel only after I flash pac and gapps?

Or should I flash perseus in tw and after pac and gapps?

Thankyou
[Galaxy S 4 i9500 Original Android Development] Grarak:
Flash perseus kernel after pac and gapps
[Galaxy S 4 i9500 Original Android Development] D™:
Read step no 1 & use Computer to edit & zipping the Files.
[Galaxy S 4 i9500 Original Android Development] Arjav23:
1) Will it matter if i use doga's jb gapps ( Cause its a bigger file, so may have all apks)

2) which recovery do u prefer me to use. I'm on philz latest ( but as told by Disturbed, twrp and aroma has file manager, i cant find where aroma is on xda for s4)
[Galaxy S 4 i9500 Original Android Development] skivnit:
Maybe Grarak can post the modified zip in the op so people avoid editing some other lines

Sent from my Perseus powered octa
[Galaxy S 4 i9500 Original Android Development] Grarak:
People should learn how to edit updater script
[Galaxy S 4 i9500 Original Android Development] Arjav23:
rather than [MENTION=4443334]Grarak[/MENTION] doing that, we can request all AOSP dev for s4, to make the reqd updater-script of their rom and add it their OP and update as and when REQD for dualboot purpose only
[Galaxy S 4 i9500 Original Android Development] UchihaKakarot:
Merry Christmas
[Galaxy S 4 i9500 Original Android Development] swavab:
Wonderful..

Firstly tw rom worked as fourth rom..

Thank you grarak..

---------- Post added at 01:35 AM ---------- Previous post was at 01:25 AM ----------

I am using your miui v5 27 build as my first rom and prism barebone 2.5 tw rom as fourth rom.both working with a simple kernal trick..
[Galaxy S 4 i9500 Original Android Development] D™:
It would be awesome, if you can tell us your fine trick.?
[Galaxy S 4 i9500 Original Android Development] ipsuvedi:
Awesome!!

Can you please share the whole trick or method :highfive:
[Galaxy S 4 i9500 Original Android Development] swavab:
Sure..nw I am in work..will update here tonight itself..

Sure..
[Galaxy S 4 i9500 Original Android Development] swavab:
Tutorial for miui 4.2.2(first rom) and tw 4.3(2nd) dual boot

9

Tutorial given below
[Galaxy S 4 i9500 Original Android Development] D™:
Great..:good: I think [MENTION=4443334]Grarak[/MENTION] must look into it to support officially.:o
[Galaxy S 4 i9500 Original Android Development] swavab:
New updated steps:-

This tutorial for those who want dual boot miui v5 (which is the best rom ever for our s4) with 4.3 tw rom

After initial setup it is easy to switch roms with just one step

1.Freshly install romswitcher app,complete download.zip and reboot when told so(on any 4.3 tw rom)

2.After booting open romswitcher app and enable fourth rom and tick on manual boot option and press install rs recovery and reboot to rs recovery

3.Flash MIUI v5 after full wipe and reboot,

4.Reboot and go to rs recovery on boot menu,flash touchwiz rom as 4th rom,U R done....:)

SWITCHING BETWEEN THE ROMS:-

In miui,Open romswitcher app press reboot when kernal installed dialog popup,go to 4th rom in boot menu

In Tw rom, open romswitcher app and press reboot to rs recovery in options and flash downloaded "1bootmiui.zip" (download here https://www.dropbox.com/s/9vrmsk5cyvjqhp1/1bootmiui.zip on internal sd to boot back to miui rom

Press Thanks button if this help u..;)
[Galaxy S 4 i9500 Original Android Development] bloodypuppet:
i install rom switcher and it sad kernel has been installed reboot now? and i said yes. but not open the rom again. i try fresh install still same problem. how can i pass this problem? i cant open rom after install rom switcher?
[Galaxy S 4 i9500 Original Android Development] swavab:
Try flash supersu update.zip or adam or persues kernal to go to rom and try after deleting rs folders and app data wipe..
[Galaxy S 4 i9500 Original Android Development] speed s:
Same issue here... Can't use the switch mod

Envoyé de mon GT-I9500 en utilisant Tapatalk
[Galaxy S 4 i9500 Original Android Development] pippideniro:
did u install busy box on your device?

---------- Post added at 03:27 PM ---------- Previous post was at 03:26 PM ----------

did you install busy box on your device?
[Galaxy S 4 i9500 Original Android Development] nagpalkapil:
Same issue cropping since yesterday to few people. Just delete the ROM switcher rom folder in Ur /mnt/shell and also rom switcher folder in /sdcard and uninstalling the product. Reboot. Then reinstall and u r done. It would show u more options like before while clicking on icon after reinstall and u select manual boot from there. That's it then install the second ROM. Its bcoz of previous installation automatic boot where u r taken to boot bit without any ROM being installed before by u. Thus u r stuck up.
[Galaxy S 4 i9500 Original Android Development] bloodypuppet:
i erase all thing. formatted sdcard. i install official rom and root. install cwm after i install phoenix rom. and install rom switcher. but still same problem. after reboot not booting. how can i do this?
[Galaxy S 4 i9500 Original Android Development] nagpalkapil:
When u click ok for reboot ensure u click more on left of reboot ok and go to options. There choose manual boot and do not set RS recovery as default. Selecting manual boot, u may boot then.

For now restore ur backup and try once again.
[Galaxy S 4 i9500 Original Android Development] bloodypuppet:
not possible to go to options. because stuck at first reboot after install kernel.
[Galaxy S 4 i9500 Original Android Development] nagpalkapil:
Restore backup. Uninstall rom switcher. Goto /mnt/shell and delete RS rom folders there. Then reboot.
[Galaxy S 4 i9500 Original Android Development] bloodypuppet:
i did it finally.

if you have a same problem. install the rom switcher and download the kernel. after delete the ".secondrom" folder in mnt/shell/emulated(hidding f older) you can delete with es file explorer. after click rom switcher and reboot.
[Galaxy S 4 i9500 Original Android Development] nagpalkapil:
Good u r restored. Install the fresh second rom now. Perfect.
[Galaxy S 4 i9500 Original Android Development] bloodypuppet:
can we install as 2nd rom coloros or miui v5? :/ any idea?
[Galaxy S 4 i9500 Original Android Development] mangui:
+1
[Galaxy S 4 i9500 Original Android Development] nagpalkapil:
Take a backup and try. Yes u can.
[Galaxy S 4 i9500 Original Android Development] swavab:
No,u cant,u will be stuck at boot..

Firstly miui wont fit as second rom as it is big size

secondly grarak dualboot kernal/perseus 15.2 wont support 4.2.2 roms

Only way u can install these os as first rom and tw 4.3 stock rom as 4th rom,as in my tutorial given..In any doubt on that I can help,now I am running miui5 and thunder universe 3.5 smoothly..if anyone need will upload a video tutorial also..
[Galaxy S 4 i9500 Original Android Development] nagpalkapil:
Yes u r right. I missed 2nd rom being written and answered yes that it can be installed. Sorry for the error. Yes u r right and u have nice tutorial on this. Keep up the good work. Best of luck.
[Galaxy S 4 i9500 Original Android Development] bmvx564:
İ installed crash rom(android4.3) from 4.2.2 directly.And i installed this app and i set first rom is crash rom and second rom is cm11. But the phone freezing on the boot to cm11 .what should i do ??

GT-I9500 cihazımdan Tapatalk 2 ile gönderildi
[Galaxy S 4 i9500 Original Android Development] bloodypuppet:
ihave to install miui as a first rom true? after i can install 4.3 stock rom as a 4th rom, true? ok but i want to ask last thing. can i install 4.3 phoenix or wanam or something else? or it must be stock?
[Galaxy S 4 i9500 Original Android Development] Jdgp42:
Phoenix and Wanam are modified *stock* :) so yes
[Galaxy S 4 i9500 Original Android Development] swavab:
Can use any custom TW rom,it will work,but better to use small or slim tw rom like prism barebone,or thunderuniverse because 4th rom goes to cache which got only 2gb,in btw, got miui supporting adam kernal,will update new tutorial tomorrw with that..
[Galaxy S 4 i9500 Original Android Development] swavab:
Follow these steps carefully

1.Freshly install romswitcher app,complete download.zip and reboot when told so(on any tw 4.3 rom)

2.After booting open romswitcher app and enable fourth rom and tick on manual boot option and press install rs recovery and reboot to rs recovery

3.Flash MIUI v5 after full wipe and reboot,

4.Reboot and go to rs recovery on boot menu,flash touchwiz rom as 4th rom,U R done....:)

SWITCHING BETWEEN THE ROMS:-

In miui,Open romswitcher app press reboot when kernal installed dialog popup,go to 4th rom in boot menu

In Tw rom, open romswitcher app and press reboot to rs recovery in options and flash downloaded "1bootmiui.zip" (download here https://www.dropbox.com/s/9vrmsk5cyvjqhp1/1bootmiui.zip on internal sd to boot back to miui rom
[Galaxy S 4 i9500 Original Android Development] IKSHINE:
[MENTION=4181117]swavab[/MENTION] how to share app from miui to 4th rom?can it?
[Galaxy S 4 i9500 Original Android Development] swavab:
App sharing wont work at present since grarak mod not supporting 4.2 officially,
[Galaxy S 4 i9500 Original Android Development] aheadyar:
i cant install 3rd or 4th rom

it says send me a log

where can i find the log

why this happen
[Galaxy S 4 i9500 Original Android Development] lightyaer:
Works Awesome.. Finally figured it Out.. Prism Barebone is 1st rom.. CM 11 is 2nd rom and PAC man is 3rd Rom..Switching perfectly with App/Data Sharing OFF.. Thank you [MENTION=4443334]Grarak[/MENTION].. you are the best!!
[Galaxy S 4 i9500 Original Android Development] rgshah3:
So if I install cm as my second rom, all the apps I have on touchwiz (1st rom) will be present on cm without the need to install them again?
[Galaxy S 4 i9500 Original Android Development] Grarak:
Only if you activate app sharing
[Galaxy S 4 i9500 Original Android Development] rgshah3:
And the mic works with cm on this mod?
[Galaxy S 4 i9500 Original Android Development] UchihaKakarot:
If it works in cm than it will work in this mod as well