yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] arnes_king:
Can somebody please tell me if it is possible to dual boot Jamal's GE 4.4.2 ROM as primary with Echoe 4.4.2 as secondary (because it's the closest to new stock 4.4.2 and cwm flashable)?

I am right now on Jamal's 4.4.2 GE and have 1.93 GB free space on /system partition, will it work?

Thanks in advance
[Galaxy S 4 i9505 Original Android Development] RK:
You can run echo as primary and Jamal as secondary
[Galaxy S 4 i9505 Original Android Development] gaww:
You should be able to run practically anything as primary (as long as it leaves sufficient room in /system - mostly an issue with TW ROMs). I am running Echoe as multi, so should have no issues as secondary.

No downside in trying. Any issues, just simply reflash primary (without wiping) and you are back to square one.
[Galaxy S 4 i9505 Original Android Development] RK:
[MENTION=4277844]chenxiaolong[/MENTION] Feel free to put the files or a link to this post in the OP if you want :) btw everything I patched so far using beta 13 has worked well.

One small thing, you support GOLDENEYE ATT ROM. However, you have the script coded to look for /kernels/boot.img for GOLDENEYE. in the ATT ROM, its /kernels/boot.lok so when I try to patch ATT version of GOLDENEYE, it gives me an error saying failed to extract boot image.
[Galaxy S 4 i9505 Original Android Development] RK:
he is asking about the new 4.4.2 TW Echoe13 i think. Did you patch it manually? Does the TW 4.3 ramdisk patch work for TW 4.4.2? I was not sure. Thats why I advised him to run Echoe13 as primary.
[Galaxy S 4 i9505 Original Android Development] arnes_king:
Thank you very much for your replies :D i will try it but i Just want to ask if 1.93GB free on system partition is enough for echoe 4.4.2? The rom is about 1.43GB in size...

[MENTION=4485012]rushi.1986[/MENTION] Yes i was thinking about that version, and no i haven't manually patched it i wanted to try with the patcher app, should i do it manually instead?
[Galaxy S 4 i9505 Original Android Development] RK:
I glanced through the thread. It seems that to run the 4.4.2 version you HAVE TO be on the newest 4.4.2 bootloader. Otherwise you loose wifi. So even if you are able to patch it manually, if you are not on the newest leaked bootloader (that is to say if you have not flashed the leaked firmware via ODIN), you will boot up to a ROM with no wifi.

If you really want to use that ROM, you need to flash the leaked firmware using ODIN to update your bootloader. (there may be bad consequences from the bootloader update so read up on it before you do this) Then flash Echoe ROM as primary and jamal as secondary.

If you just want to try the ROM and are fine with no WIFI, then try to patch the ROM manually using a TW ramdisk and flash it as secondary.
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Hi rushi

Are these different from the ones you made few days ago? Do we need to reflash ?
[Galaxy S 4 i9505 Original Android Development] RK:
nope they are the same files i just reattached them so that chen does not have to go fishing for my old post if he wants to put them in the OP :)
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Thanks dude

Love them by the way. Makes life so much easier with other ROMs!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for the zips! I'll link to your post in the OP.

In the older AT&T GoldenEye ROMs, there used to be "ATT" in the filename, but it seems like the developer doesn't do that anymore. I'll just have to hardcode each version (eg. "GE-XXUEML6-18.2.zip").

EDIT: Fixed for next version: https://github.com/chenxiaolong/DualBootPatcher/commit/5dde45caefc3fe4f8bbb994e2f39a865a162918b
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Hi, please can some one help me a little, I would really like to use this patcher, I'm a little confused because the op says that patching can be done from within android, and I have downloaded all three of the files, installed the dual switcher app, and written the kernel of the primary ROM, but I can't work out what to do next. Sorry if I'm asking really dumb question.
[Galaxy S 4 i9505 Original Android Development] visanciprian:
Hi!

1. First of all, search this thread for the latest apks' version (Switcher-> last version is DualBootSwitcher-3.0.0beta2 while the Patcher is at DualBootPatcherAndroid-4.0.0beta13), download them and install 'em on your phone.

2. Then use the Patcher to patch (dualboot/multi-slot x) your second/third/fourth/fifth ROM you want to install.

3. Go to Switcher, make your current ROM primary (Set current kernel as... -> Primary).

4. Reboot to recovery, install your patched ROM.

5. And voilà! When you'll reboot, you'll boot into the 2nd/3rd/4th/5th ROM.

Cheers and good luck this time! :good:

P.S. remember to do backups!
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Ah, I've got it, I was being stupid, or blind, out hasty, or all 3 lol. I had downloaded the zip rather than the apk! Patching away now. Many thanks :)
[Galaxy S 4 i9505 Original Android Development] visanciprian:
You're welcome, mate! :victory:
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
OK, a little more help please, can't seem to patch pa mini modular gapps or slim minimal gapps, get error message 'failed to extract file: boot.img' omnirom and supersu patched fine?
[Galaxy S 4 i9505 Original Android Development] ShAdOw NiNjA:
You have to rename the mini PA gapps to the full version of the PA gapps (don't remember what that is). Then it will work
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
OK, but I have tried the full version also and can't get that to patch either?
[Galaxy S 4 i9505 Original Android Development] ShAdOw NiNjA:
That's weird. Try using the Gapps from here http://xdaforums.com/showthread.php?t=2012857
[Galaxy S 4 i9505 Original Android Development] Mussels84:
hey chen, feature request time!

any chance you could set up a flashable zip to copy/move a rom from one slot to another, space permitting?

so lets say i had my rom installed into primary, i could copy it across to slot 2 and have a full duplicate/backup, or be used to say, delete rom 1, and copy rom 2 into its place (then delete rom 2 and replace it with whatever)

if they could be stored on the SD/external SD this'd be ridiculously awesome, would mean we could have backups of our individual roms really easily, as well as move them between slots (for example, i wanted to ditch my 4.3 primary rom to go 4.4GE, but felt it weird to wipe a primary and have 'only' a secondary rom)
[Galaxy S 4 i9505 Original Android Development] ShAdOw NiNjA:
That's what I'm doing right now :P wiped my primary and am using omni ROM as a secondary. I would also like this feature if possible and please!
[Galaxy S 4 i9505 Original Android Development] monkteo:
Hi,

if I erase with DualBootUtility my first rom from first partition I can use my phone with second rom ?

And later on to instal a different rom on first partition (let's say after 2-3 day of using phone with only second rom) ?

Right now I have ;

primary - TW 4.3 XXUEMKE and

secondary - danvdh 4.4.2 AOSP

Thanks
[Galaxy S 4 i9505 Original Android Development] Lao Mayer:
Why is it that after I patch and flash a second ROM in Multislot 1, when I try to switch it either via Switcher.apk or via recovery, it says that no kernel can be found and I have to flash one?

I'm using Echoe super-slim ver. 12. (about 530 MB). MD5 signature is ok.

Later edit: I patched the .zip file (the ROM) with ver. 13 of the patcher in Windows and it worked. It seems that patching using the ver. 13 of the Beta .apk file doesn't work that well.
[Galaxy S 4 i9505 Original Android Development] terminator1983:
Thanks for the patcher. I have a question how apps work on dual mode will I have install apps on both rom or installed app of one rom can be used on other rom.
[Galaxy S 4 i9505 Original Android Development] ShAdOw NiNjA:
Yes but I think you may have to flash your secondary ROM after you flash your new primary because installing the primary wipes the secondary ROM. Be aware you will still have your data and stuff for the secondary, it just needs to have the system files.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Hmmm, still can't seem to patch gapps, tried suggested Google package still no joy? Any help much appreciated.
[Galaxy S 4 i9505 Original Android Development] gaww:
Not sure if it is still necessary, but would suggest after flashing each secondary and mukti-slot ROM that you boot it up and set the respective kernel for it or it may not be possible latter to select the respective ROM with the switcher.

Be careful when doing this, as if you pick the wrong kernel while on a ROM, it sticks. If you do this, flash the correct kernel again in Recovery and it should fix it - did so to my primary and it fixed it.

---------- Post added at 08:29 PM ---------- Previous post was at 07:58 PM ----------

Some questions on the above:

1. If there are paid apps, will it be possible to access them in any of the ROM's with shared data?

2. With a TW primary, if the Samsung apps are only present in the System app folder, will that prevent them from showing up in the ASOP multi-slot ROMs?

3. Will the shared apps see the app data on the internal and external SD's as they do currently with all the user apps separately installed in the multi-slot /data folders?

4. After doing this, to free up space, should the multi-slot data folders be wiped with the DuelBootUtilities?

Looks like a great addition to the OP's patcher setup, but just want to be sure of where it takes me before trying it.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
OK, so I have now managed to patch core apps, however still stuck because I can't patch calendar sync app, I really need that as I rely on Google calendar and sync.

Please could others tell me which gapps packages you have patched and where you downloaded from, many thanks.

EDIT: I also just tried to patch [MENTION=3995191]jamals[/MENTION] official Google experience r5 but got message file not supported?
[Galaxy S 4 i9505 Original Android Development] gaww:
If you can install an app or push it into the system folder while the ROM is booted up, you don't need to patch them. Don't know if that will work with the above apps though.
[Galaxy S 4 i9505 Original Android Development] RK:
1. Paid apps will be available in primary and can be installed like usual in all the other ROMS.

2. Yes. Samsung apps present in the System app folder will show up in multi-slot ROMS ONLY IF THEY ARE UPDATED. In that case, just boot into TW ROM, and integrate app updates with the ROM using TIBU and they will vanish.

3. Yes.

4. No. Multi-slot data foldes contain more than just apps. App data is not shared an is maintained separately in the multi-slot data folders.
[Galaxy S 4 i9505 Original Android Development] ShAdOw NiNjA:
I will upload my pre-patched gapps to my drop box when I get home so you can download it
[Galaxy S 4 i9505 Original Android Development] terminator1983:
is there any other way to switch between roms ???
[Galaxy S 4 i9505 Original Android Development] XxLordxX:
Hi,

You can download the Dual Boot Utilities in the Op and run it on recovery, it'll open an Aroma and you'll be able to switch. Other than that I know no other way.

~Lord

"This Story Ends Where It Began" - Octavarium (Dream Theater)

Sent from my Monster KitKated S4
[Galaxy S 4 i9505 Original Android Development] terminator1983:
Yeah i know that i am using the zip to chose but i am looking for another way to switch b/w roms without rebooting in to recovery.

Anyways thanks
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Thanks so much - I just managed to patch slim AIO gapps which I think will work on most AOSP - I'd still really appreciate your patched apps though, I'm sure other newbies might too ;)
[Galaxy S 4 i9505 Original Android Development] XxLordxX:
Hi,

You can rely on the app too (reboot on primary/secondary ROM), so it won't need to boot in recovery. I think you probably know this method, but the way you said I'm your post made it looks like you didn't... Anyway, these two are the only ways I know.

~Lord

"Time is too short to cry, long enough to try." - March of Time (Helloween)

Sent from my KitKat Nexus 10
[Galaxy S 4 i9505 Original Android Development] terminator1983:
yes i didn't know that i can switch b/w roms with the app i was using the zip.

Thanks
[Galaxy S 4 i9505 Original Android Development] visanciprian:
Yes, indeed, i set my kernels too, but it's not mandatory, as all of the patches have the

set-multi-kernel

command after kernel flashing line, so writing to kernel dir aswell, not only to /boot.

But just to be sure, I'm setting my kernels too :)

Cheers!:good:
[Galaxy S 4 i9505 Original Android Development] gaww:
Interesting on # 4. Thought the ROM would only see the primary data folder after sharing. However, as I have already set up duel and multi-spot1 with data, if I want to save space, I guess I would have to wipe data and do a clean install again of those ROMs before I share data?

Rather then find too many things out the hard way, I just installed a patched multi-slot2 ROM and shared data with it.

Sure enough, up popped most (firefox didn't) of the user apps (some Google apps that are probably in primary /system installed through play store - plus it overwrote my patched Wallet that had worked with tap and pay).

Again - nice work - just have to get used to the minor glitches with the paid and apparently security sensitive apps like Google Wallet.
[Galaxy S 4 i9505 Original Android Development] RK:
The init.d script only shares /data/app and /data/app-lib directories. Everything else in /data is separate..
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Y

How about switcher app... U didn't mention it and its made specifically to write kernel and switch Roms
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Not sure what I did wrong but just ended up with secondary ROM only and whichever way I tried to boot into first ROM (through switcher app or through recovery/utilities zip) I just came back to the secondary ROM - regardless of boot into first ROM or second ROM ??

Last night I successfully had slimkat in first slot and [MENTION=289581]JAMAL[/MENTION] GE in second slot but I messed up with wiping in utilities zips when I was trying to clean up 2nd slot to put a differnet patched rom in there = when I rebooted first rom I realised I had wiped system and data so I tried doing a full wipe from recovery then restore backup - when I rebooted go bootloop then tried to reboot recovery and got continual boots into download mode - had to flash stock and start again - :(

not sure what I'm doing wrong??
[Galaxy S 4 i9505 Original Android Development] ShAdOw NiNjA:
Here is my patched 11-2 GApps. This is the 4.3 GApps. They are kind of old so they will obviously need updated, but they will work. https://www.dropbox.com/s/xsqiephp3cx8mim/11-2_GApps_Core_4.3_signed_dualboot.zip

Here is the patched 4.4 GApps from 11-26. Again they will need to be updated: https://www.dropbox.com/s/fty54nfttofdoe3/pa_gapps-full-4.4-20131126-signed_dualboot.zip

---------- Post added at 07:15 PM ---------- Previous post was at 07:14 PM ----------

did you set your primary kernel as your primary rom?
[Galaxy S 4 i9505 Original Android Development] ShAdOw NiNjA:
Here's my dilemma. I wiped my primary ROM. My primary and secondary roms didn't share apps. Is it possible to share the secondary Roms apps with the new primary ROM I just flashed?
[Galaxy S 4 i9505 Original Android Development] monkteo:
OK so just to be sure ;

-wipe first rom , boot in to the secondary rom end everything will be OK,

-install new rom on first partition set kernel for it,

-install switcher go to recovery reflash secondary rom (dirty flash), end everything will be like before but I will have a new rom on first partition.

That it ?
[Galaxy S 4 i9505 Original Android Development] arnes_king:
Hello people i see that you are talking about sharing apps in both roms, i didn't knew that it was possible so i made a titanium backup of all my apps and restored it on secondary rom to have them there too, but now it is using double the size...

Can somebody explain to me how to share apps so that both roms can use the same apps without double installation? And should i delete the apps now from secondary rom before setting up the app sharing?

Primary : Jamal's GE 4.4.2

Secondary : Danvh's GE 4.4.2
[Galaxy S 4 i9505 Original Android Development] gaww:
You might also want to "enable duelboot" again.

When I reflashed my ROMs to recover, I noticed when I flashed the secondary, the flash script showed it was not seeing the secondary /system partition, and when it booted up, the primary was gone again. Enabled duelboot again and it worked OK.
[Galaxy S 4 i9505 Original Android Development] ShAdOw NiNjA:
It should work. Just to be safe, make a backup before you do anything.
[Galaxy S 4 i9505 Original Android Development] gaww:
OK. I have gotten it pretty much working good except for 1 paid app (CoPilot - which needs to be set up each time I switch ROMs - it is not active after switching), and Google Wallet - which is in system folder in primary app and data in shared slot2 ROM. Must access data in same location, as app data has to be erased and reset up each time.

If anyone has a suggestion - would be appreciated.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
I thought I did but I'm going to give it another try now - thank you for sharing apps - much appreciated :good:

[MENTION=4277844]chenxiaolong[/MENTION] please could you add support for [MENTION=3068641]jamal2367[/MENTION] R1.1 or is it not possible because of armoa installer?

And also [MENTION=3344405]dandroid13[/MENTION] ge rom here

Many thanks
[Galaxy S 4 i9505 Original Android Development] gaww:
If that is your problem, you only need to flash a primary ROM kernel and it will boot up. Then set the kernel.

This will not affect your duelboot ROM if its kernel is already set.
[Galaxy S 4 i9505 Original Android Development] RK:
I would try to completely uninstall CoPilot from both the ROMs, reboot both the ROMs and reinstall CoPilot in both the ROMs from Play Store and see what happens. Generally, paid apps are not stored in /data/app directory, and hence, are not shared. Files related to paid apps are stored in /data/app-asec. I tried sharing that folder too but that does not work. If you restored paid apps using TIBU in any of the ROMs, you will have issues.

As for wallet, either make it a system app in both the ROMs (recommended) or a data app in both the ROMs and i am sure you wont have any

issues.
[Galaxy S 4 i9505 Original Android Development] terminator1983:
I am trying to patch Danvdh Standard Edtion GE 4.4.2 rom but when i tried to put the zip file on the patcher it shows not supported zip. I have patched jamal 4.4.2 rom but on this one its not working.
[Galaxy S 4 i9505 Original Android Development] visanciprian:
what Patcher version did you use?
[Galaxy S 4 i9505 Original Android Development] terminator1983:
DualBootPatcher-3.2.2
[Galaxy S 4 i9505 Original Android Development] visanciprian:
search this thread for DualBootPatcher-4.0.0beta13-jflte and use that version :) it'll work with that.

Cheers! :good:
[Galaxy S 4 i9505 Original Android Development] terminator1983:
Thanks it did patched the rom on beta 13.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Please cab you tell me where to find dual boot patcher beta 13 - I have searched but can't find??
[Galaxy S 4 i9505 Original Android Development] terminator1983:
on page 178

http://xdaforums.com/showthread.php?t=2447534&page=178
[Galaxy S 4 i9505 Original Android Development] gaww:
Thanks - will try both. I know I used TIBU on CoPilot, so will do again with only the market.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Please could some one tell me which post, I've looked ask through p178 and only see links to super su ?
[Galaxy S 4 i9505 Original Android Development] terminator1983:
Here is the download link

http://xdaforums.com/attachment.php?attachmentid=2507333&d=1389390034

it was in post #1779
[Galaxy S 4 i9505 Original Android Development] RK:
Once you have installed the app from market on both ROMs, you can safely use TIBU to restore "data only" on copilot..
[Galaxy S 4 i9505 Original Android Development] gaww:
CoPilot is OK now, but cannot get Wallet to stop failing to confirm PIN unless data wiped each time on both ROM's. It is same version and integrated with the ROM's in both cases.
[Galaxy S 4 i9505 Original Android Development] arnes_king:
How to make a NANDROID backup of just the secondary ROM and how of both together?
[Galaxy S 4 i9505 Original Android Development] RK:
Weird.. Does it do that when apps are not shared?

---------- Post added at 02:03 PM ---------- Previous post was at 02:02 PM ----------

Both together: usual way via recovery

Just secondary: there is a dual boot backup and restore app here on xda for this purpose
[Galaxy S 4 i9505 Original Android Development] gaww:
On sharing Wallet App - no. May have to reset it up when I upgrade secondary/multislot ROMs, but no affect on Primary like when sharing data.

On duel boot backup - I have had problems with it recently (don't think it likes my US OTA TMo 4.3 primary ROM). But you normally don't need it much, as if you mess up your secondary, with data still intact, dirty flashing usually gets it right back. Ditto after upgrading primary (which wipes out secondary system partition) - just reflash the ROM.
[Galaxy S 4 i9505 Original Android Development] badaman123:
Hi guys

I would like to dual boot and omega rom and a aosp rom. I have tripped the knox so i sm stuck on the kitkat bootloader. Is this still possible? I already have omega rom v20 on my s4.

Thanks in advance.
[Galaxy S 4 i9505 Original Android Development] gaww:
​

Omega would be your primary ROM. but you may have to lean it out to do a duel boot, as they both have to fit in /system I believe. However, if it is still too large, you might try patching and flashing an AOSP ROM to slot 1. Make a backup of your Omega ROM and have at it.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Coming soon in the final version of 4.0 :)

So what if the file is unsupported? Well, you can experiment with the auto-patcher now.

I just need to add a little bit more error checking to the GUI and package up the Windows and Mac PyQt5 libraries and we're set for the final release.
[Galaxy S 4 i9505 Original Android Development] ghina.danella:
Ya, i think so...
[Galaxy S 4 i9505 Original Android Development] royredman:
Is there any way we could get support for the Verizon Kitkat beanstalk rom? I really hope to use it for dual boot

Never mind. I found the file to patch it. You're the man! :)
[Galaxy S 4 i9505 Original Android Development] ntajlis:
can you please also add Avatar Rom? Thanks again.
[Galaxy S 4 i9505 Original Android Development] DevastatorTNT:
Thanks for this great work, man. I really like it. Please, can you add support to any of 4.4.2 GE roms?
[Galaxy S 4 i9505 Original Android Development] Mussels84:
echoe's kitkat GE rom is already supported.
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
So is Kangakat.
[Galaxy S 4 i9505 Original Android Development] DevastatorTNT:
Oh, thanks. I've tried 2 roms 4.4.2 yet but no one is supported. I'll try echo ;)
[Galaxy S 4 i9505 Original Android Development] arnes_king:
Hi everyone,

if there is a new update for my secondary rom, how can i update it without loosing data? Just again patch the rom and flash the patched ZIP or is there another way?

Thanks

For the other one asking about GE 4.4.2 ROMs, i am using Jamal's GE 4.4.2 as primary and Danvdh's GE 4.4.2 as secondary (just renamed the zip to "Dandroid" before patching)
[Galaxy S 4 i9505 Original Android Development] DevastatorTNT:
Thanks man. It worked :)
[Galaxy S 4 i9505 Original Android Development] monkteo:
Also I use Danvdh as secondary rom and I just update the rom to version 16.01.2014 ,simply patch the rom and dirty flash, working perfect.(I didn't renamed the zip)