yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] reiter123:
This works too on the i9295

For any i9295 users: This works also on your device. Just flashed a patched Slim Beam Rom as a Secondary Rom .....

There it is ... the dual boot S4 active.

=> Hints for the installation on S4 Active in this Thread : http://xdaforums.com/showthread.php?t=2610224

Thank you for this great work !:good:
[Galaxy S 4 i9505 Original Android Development] gaww:
I don't recall if you were using the app or on a computer. I would try the other version, ie. - if you tried the app on the phone, try the program on the PC. I have been able to patch unsupported ROMs on it (but on 4.4 TW's - cannot get them to boot).
[Galaxy S 4 i9505 Original Android Development] andygolf:
someone could patch the rom avatar, I do not get it:(
[Galaxy S 4 i9505 Original Android Development] gaww:
I have tried patching both 4.4 and 4.3 unsupported TW ROMs. It says patched successfully (slot3), but on flashing, they will not boot up.

Also, apparently patching(with the unstable) and flashing knocked off slots 1 and 2 ROMs. No big deal, but will stay with official for now. Just wish they would support TW.
[Galaxy S 4 i9505 Original Android Development] mr wizard:
Did anyone get a chance to figure out how to fix the name for this rom to make it work? I9505_-_Google_Edition_v6_by_Jamal2367.zip. It keeps saying unsupported zip. Does anyone know where to get the dual boot patcher for windows version as well? Can't seem find a link for that.

EDITED: I followed the OP directions in installing the 2nd rom, I put it on the slot 1 in the patcher and flashed both kernel and new rom zip. I was able to boot into the 2nd rom fine but can't boot back into the primary. Tried to use Boot Utilities to get back into the primary and still nothing just loading into the 2nd one. Also I flashed the Dualbootenable.zip too but nothing is working. What is going on?

Thanks
[Galaxy S 4 i9505 Original Android Development] Alxoom33:
I mispoke. Iris not patch timetable, just set it as my primary. I got the non_vzw rom error message in trying to flash the patched CM 11 zip as my secondary. I also patched pa gapps and the ktz kernel.
[Galaxy S 4 i9505 Original Android Development] alvin551:
Hi could some please do me a massive favour as i dont currently have my laptop...could someone pelease mod the meta-inf folder aattatched to install the rom on multi slot 3? Much appreciated if someone could spare the time
[Galaxy S 4 i9505 Original Android Development] gaww:
Just to try a different option - flash a noodev CM 11 pre-patched secondary ROM and see if you still get the error message. If you don't, then the patching did not totally work on your CM11.
[Galaxy S 4 i9505 Original Android Development] arlissnd:
I just wanted to say thanks for this awesome project! This works great for me. I was intimidated for a while, but you really made it simple. Thanks again.
[Galaxy S 4 i9505 Original Android Development] mr wizard:
[PATCHER][APP] Dual boot any ROM on all Galaxy S4 variants!

Hey I just gave you a couple of thanks I do really like this app but somethings are not working for me. I didn't get all my questions answered on how to resolve things although I did have some kind people helping me out. I am very thankful for your time and energy and anything else you put into making this all possible. Hope that one day I will get this dual boot to work 100% but it is still an amazing thing you have done here, many kudos to you!
[Galaxy S 4 i9505 Original Android Development] Alxoom33:
Thank you! I will give it a try. I am amazed after looking at my post that you had any idea what I was saying. In fact you knew exactly what I was asking. Lol! Auto incorrect got me good :)
[Galaxy S 4 i9505 Original Android Development] gaww:
Either you did not set the primary kernel in Switcher before you flashed secondary, or when you flashed secondary it did not go to /system/duel and wrote over your primary,.

Try flashing an unpatched kenrel compatible with your primary ROM and reboot. If only the kernel selection was the issue, it will boot up the primary. If so - just set the primary kernel. If not, then you will have to start over by flashing the primary ROM again. reboot, set the kernel, flash the enable zip again, and then your secondary,
[Galaxy S 4 i9505 Original Android Development] bidi1985:
Will this work on Canadian s4 i337m?
[Galaxy S 4 i9505 Original Android Development] Rixsta:
Thread Cleaned

Please keep on topic, this is the Original Development forum, no discussion belongs here, we have other sub forums for that.

Thank you.
[Galaxy S 4 i9505 Original Android Development] mr wizard:
[PATCHER][APP] Dual boot any ROM on all Galaxy S4 variants!

No problem and again thanks very much for your continued help. I will defiantly give it a try later and let you know that outcome.

Best,
[Galaxy S 4 i9505 Original Android Development] gangsta101:
It works on 'any' S4. The hardware is really the problem. It's the ROMs U chose to use with it.
[Galaxy S 4 i9505 Original Android Development] andreimazz:
hi guys.

i installed omega tw as first rom and jamal's kitkat as second rom. when i booted in second rom, i set the kernel as second rom's kernel. everything was working fine, i used to switch them on a regular basis. but i think i made a mistake today: i wanted to switch roms, while being in the second rom(kitkat) and i accidentally pressed set curent kernel as primary rom's kernel, meaning it will boot in second rom whatever rom i choose. what can i do to be able to boot into tw again?
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Dirty flash primary and set the kernel again
[Galaxy S 4 i9505 Original Android Development] andreimazz:
What do you mean by dirty flash? Flash the omega zip file again without wiping anything and without patching anything else? Thank you!
[Galaxy S 4 i9505 Original Android Development] gangsta101:
Hi Rushi,

I'm running Echoe v14.1 and Danvh's GE Roms without any problems (Installed yesterday). However, all attempts to apply the init.d script have failed. I have flashed the Dualboot zip, cleared the caches for both ROMs immediately after flashing without any success. i have edited file manually, even deleted and replaced it with nosuccess. I just cannot see any user app or any app whatsoever in the second ROM (The Google Edition Rom).

What do you think the problem might be and any solution?

One thing to note, telegram app which is installed on the Echoe Primary Rom automatically updated itself when i booted the secondary ROM. and mind you, the usual google play reinstall of missing apps did not occur on first flash of the secondary ROM
[Galaxy S 4 i9505 Original Android Development] RK:
Does dan's GE ROM support init.d scripts?

Using root explorer in your secondary GE ROM, are your apps visible under

/data/app?

/raw-data/app?
[Galaxy S 4 i9505 Original Android Development] gangsta101:
Thanks for the response.

1. The ROM has the init.d folder, so i guess it supports it.... Right?

2. The pre-installed apps for the GE ROM ALONE visible are in /data/app , while the apps on the Primary ROM are visible in /raw-data/app.
[Galaxy S 4 i9505 Original Android Development] RK:
Having the folder does not imply support.. I am guessing that's the issue.

Is the app share script in /system/etc/init.d with the same permissions as the other files in the same directory?
[Galaxy S 4 i9505 Original Android Development] gangsta101:
Yep. There's just one other file, 99superSUdaemon and both are rwx r-x r-x

UPDATE

Thanks for pointing out the rather obvious. I installed the app init.d toggler from play store and VOILA!!!
[Galaxy S 4 i9505 Original Android Development] RK:
Glad you got it to work :)
[Galaxy S 4 i9505 Original Android Development] tvhak:
did anybody get echo 14,1 patched?? i just can't get it to work

thanks
[Galaxy S 4 i9505 Original Android Development] Mussels84:
i did, but it doesnt work on my old bootloader. i'd upload it to mega but it'd literally take 48+ hours.

go back a few posts, instructions were given to me on what settings to use in the beta - and i used them, and it worked by duplicating the boot.img file (and then making sure both booth.img files got updated, by copy pasting over the top of them)
[Galaxy S 4 i9505 Original Android Development] tvhak:
thanks going to check it

edit:

just stays on modifying ramdisk??
[Galaxy S 4 i9505 Original Android Development] gaww:
Sorry I did not see this earlier.

I have done what you did also. Easy way that will not wipe anything is to simply flash a kernel compatible with omega ONLY and it should boot up OK. Make sure you set it as primary as soon as it boots up so in case it reboots on you, you would come right back to it.

Note - sometimes just flashing a kernel will take duelboot or a slot out, so you may have to reflash it (data is still there). I am having to do that right now, as my slot 1 disappeared.
[Galaxy S 4 i9505 Original Android Development] royredman:
Is there a way to backup and restore certain ROM slots? I want to wipe the primary ROM and install an update to my primary (because the developer highly suggested that) while being able to keep my other roms slots in tact.
[Galaxy S 4 i9505 Original Android Development] gangsta101:
Check this app

http://xdaforums.com/showthread.php?t=2491299
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Am I looking in the wrong place? I can't seem to find a download on that forum page. :confused:
[Galaxy S 4 i9505 Original Android Development] toxicpaulution:
Don't worry about it now sir :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Just finished a big feature for my ROM so I can start fixing things in the patcher again :)

EDIT: Just some comments for a few things I found on the previous pages:

Patching on Android requires, at minimum, 2 * the zip size. This is because I can't move files and I need to copy patched zip from the temporary folder to the final destination before deleting the temporary one.

Windows 8.1 needs the Visual Studio 2010 redistributable libraries to be installed: http://www.microsoft.com/en-us/download/details.aspx?id=8328 I can't include this with the patcher unless I pay Microsoft a licensing fee.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Hmm, I'm getting a proper error message. Anyway, I'll fix support for BlackBox 2.2.
[Galaxy S 4 i9505 Original Android Development] Bejda:
Hi,i had same thing when i had occasion to try to patch Jamal latest GE rom,no error message just exit successfully after 2 seconds but yeah something with can't extract boot.img.

Both roms use Aroma installer with kernels folder apparently?

http://xdaforums.com/showpost.php?p=49851067&postcount=1991
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
The next version will support BlackBox 2.2, Echoe 14.*, and Jamal2367's GE Final R1.1.

Those who are impatient can try out the experimental version ;) http://dl.dropboxusercontent.com/u/486665/Snapshots/DualBootPatcher/index.html
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Hmm, It might be an issue with TouchWiz's command line shell then. If the patcher exit's with status 1, then it should show a failure message. I'll double check to see if I get this error in TW.
[Galaxy S 4 i9505 Original Android Development] Shanks:
Is it possible you can port multirom master chen, it would save tons of problems?
[Galaxy S 4 i9505 Original Android Development] Bejda:
For Liquid builds a name update should be enough, was just unsupported so i patched it named as a Jellybean build:

http://www.drdevs.com/devs/teamliquid/Nightly/Beta3/
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! It's fixed now. My server should pick up the change and make a new experimental build in the next two minutes.
[Galaxy S 4 i9505 Original Android Development] gaww:
I had used the duel boot backup, but it would no longer work when I updated primary to US TMo 4.3. it did not do any of the slots in any case.

While updating the primary knocks off your secondary and slots, their data remains, so you simply dirty flash the patched ROMs again and you are back in business pretty quick. Have done so several times.

.

.
[Galaxy S 4 i9505 Original Android Development] gaww:
I bit on this. I patched Echoe 14, and it was no longer flagged as unsupported and it patched OK on the WindowsGUI, but like the earlier attempts - it just will not boot.

Just noticed - after I flashed and attempted to boot, I went back to the utilities zip to clear it out and noticed that cache had 0 room available. After wiping it off of slot 3, there was over 1 GB available. Could it be simply running out of room when it tried to boot up (no error messages) ?
[Galaxy S 4 i9505 Original Android Development] Bejda:
Even with no others multislot roms installed we have less than 2gb free under /cache and Echoe rom /system makes about 2,18gb
[Galaxy S 4 i9505 Original Android Development] jordiz86:
Hi, I've installed foxhound as primary and a GE rom as secondary rom. It's all perfect, but I have a little question... I can't install gapps for secondary rom, I don't have space in /system... With rom toolbox I have uninstalled some bloat but anyway no more space... What can I uninstall to have more free space? Thanks!!
[Galaxy S 4 i9505 Original Android Development] Bejda:
You could also try a minimal gapps package such as BaNkS or maybe PA ones, how many space left have you under /system without gapps?

Btw GE roms doesn't comes with gapps included usually?
[Galaxy S 4 i9505 Original Android Development] jordiz86:
I've tried PA gapps, the full and the mini package... I had about 6 mb, after some uninstall I have about 75mb... But I'm afraid that if I install mini package, I will fill the /system... Can be a problem for phone? I suppose that it need some mb for work properly...
[Galaxy S 4 i9505 Original Android Development] Bejda:
http://xdaforums.com/showthread.php?t=2012857

BaNkS core gapps need less than 30mb and is supported, should be ok.

Indeed if system is full phone doesn't boot, stuck at bootanimation most probably.
[Galaxy S 4 i9505 Original Android Development] jordiz86:
I've seen micro gapps from PA, but now my point is to understand what apps I can uninstall in safe, like system keyboard (I use SwiftKey, so I suppose that it is not a problem...) and some apk like guide and similar...
[Galaxy S 4 i9505 Original Android Development] Bejda:
Usually what I remove from touchwiz is S-health and StoryAlbum apk + google stuffs which are available on market in most countries.

And if you wonder having even only 1mb left under system is ok.Space left under this partition changes nothing regarding performances or whatever.
[Galaxy S 4 i9505 Original Android Development] jordiz86:
That's good, I wanna remove S health too but I was afraid that can be dangerous... Good news! Album photo it's already deleted :) thanks for infos!!!
[Galaxy S 4 i9505 Original Android Development] gaww:
Many GE do not need GAPPS. I am using echoe 4.4 GE and did not need GAPPs
[Galaxy S 4 i9505 Original Android Development] Bejda:
Yeah all GE rom's I could check until now were having gapps preinstalled, don't know which one is using Jordiz86..
[Galaxy S 4 i9505 Original Android Development] Ya Rahman:
Is this work on i9500?

sent from my galaxy s 4 using my fingers
[Galaxy S 4 i9505 Original Android Development] gaww:
I wonder if I wipe secondary and slot ROMs caches and davleks before I try to boot up echoe 14 if that would free up enough room. If so, then the others may not be able to boot up - but just want to take a look at echoe. Might try de-bloating it after (if) it boots up.
[Galaxy S 4 i9505 Original Android Development] jordiz86:
I'm using kot49h, is a aosp GE based!
[Galaxy S 4 i9505 Original Android Development] Bejda:
It can't work,the rom is bigger than the whole /cache partition anyway..

---------- Post added at 10:58 PM ---------- Previous post was at 10:51 PM ----------

no prob,we were just wondering ;)

KOT49H doesn't really help to indentify which rom you're on (Edit: ok i checked your post historic,Danvdh one then..)
[Galaxy S 4 i9505 Original Android Development] jordiz86:
This one :) http://xdaforums.com/showthread.php?t=2557353
[Galaxy S 4 i9505 Original Android Development] Bejda:
:) Yes i checked your historic and found it meanwhile,when i search on his thread with "gapps" as keyword i only find "gapps included" answers/posts..
[Galaxy S 4 i9505 Original Android Development] jordiz86:
http://xdaforums.com/showthread.php?p=48230406

But maybe there is some problem with the rom instead... I've reflashed this night and it missed to install xposed with gravitybox and other modules... Maybe the script of rom had some issues...

Anyway now I've downloaded today version, will try to install and see what's missing! :D
[Galaxy S 4 i9505 Original Android Development] monkteo:
I have the same rom as secondary rom (dualboot) (more de 1 month)and everything work OK

This rom don't need gapps.
[Galaxy S 4 i9505 Original Android Development] *boy*racer*:
Hello. When I press on 'Choose file to patch', it only opens my Dropbox. I need to find the rom I downloaded on my sd.

Thanks
[Galaxy S 4 i9505 Original Android Development] jordiz86:
This is what I get...

I miss chrome,*Gmail*, Google calendar,*Google drive, Google earth*, Google keep, play books,*play games, play newsstand, Google play music, play movies, hangouts,*maps,*Quickoffice, sound search,*talkback and YouTube... And maybe some more...
[Galaxy S 4 i9505 Original Android Development] monkteo:
You are absolutely right, what you enumerate up,there are not in the rom !

I push in the system/app;

-browser,file manager,gmail,my calendar,and some extra program what I personal use.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
If you're not on Android 4.4, you'll need to install a file manager, like ES File Explorer.

EDIT: You don't have to do anything with it, just make sure it's installed and the patcher should detect it.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Unfortunately, that can't work. The ROM is bigger than the partition itself. You'll need to remove some apk's from the zip before flashing.
[Galaxy S 4 i9505 Original Android Development] gaww:
I was trying to re-compress the original zip with deleted apps before patching again as I read this - lol.

It really is big - the lib folder itself is 500 mb.

Update - tried to patch again and it now gives an error on failure to extract the updater script (I never touched it) ? It had patched ok before deleting some apps.

Well the above problem was with the zip program. Got it zipped and patched and flashed. Still will not boot. Unzipped it is under 2 gb now (was over before).
[Galaxy S 4 i9505 Original Android Development] mr wizard:
[PATCHER][APP] Dual boot any ROM on all Galaxy S4 variants!

Ok I did what you said I set primary ROM kernel in Switcher before I flashed 2ndary rom and then patched 2nd rom on with dual boot patcher as system/dual and then booted. It booted to CM10 but then when I installed dual boot switcher and wanted to boot back to primary I set kernel to primary and 1st rom as well then rebooted but still booted back into 2nd rom. Maybe I need to start over fresh. This is what I am doing , set stock kernel to primary as well as 1st rom to primary. Then I patch the 2nd rom in the patcher and set it under system/dual in the patcher app. Then I reboot into recovery and flash the new dualboot rom patch and then restart. Then it loads the 2nd rom and I install the dual boot switcher and then set primary kernel which this time I only kept stock kernel and also set primary rom and then rebooted. But I still load into the 2nd rom again. Even when I did have koontz kernel dualboot patch it still did that same thing. I do hope this makes sense I am trying to explain to the best of ability so please let me know if you don't understand anything.

Thanks
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
two words: Secondary ROM = Secondary kernel

Why are you setting your secondary's ROM kernel as primary when you're in secondary ROM??

:confused::confused:
[Galaxy S 4 i9505 Original Android Development] gaww:
After flashing secondary you need to set its kennel as secondary - not primary, which would just take you right bast to secondary when you boot like you described.
[Galaxy S 4 i9505 Original Android Development] mr wizard:
Your right but I did also have a 2nd kernel and patched it for dual boot before but still had a problem switching boot to primary. I was using Ktoonsez for my 2nd rom kernel the last time do you suggest any others or try Ktoonsez again? See below of other Kernels

ktoonsez (AOSP, Google Edition, & TouchWiz)

faux123 (AOSP & Google Edition)

ChronicKernel jb43 AOSP

Infamous kernel

Ausdim kernel

Adam kernel

Alucard kernel (AOSP & Google Edition)

Plain boot.img files (use useful/patch-ramdisk.bat script

I will try all steps again, I will get this down!

Thanks much,
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
patching and setting the secondary kernel is totally two different things.

I say you still should be reading and not posting in here. :eek:
[Galaxy S 4 i9505 Original Android Development] monkteo:
Sorry for my question but maybe I miss this , do we have support for BlackBox 2.2 ?

THX
[Galaxy S 4 i9505 Original Android Development] Bejda:
[MENTION=4891276]monkteo[/MENTION],

Tried the experimental? I didn't as I don't use BlackBox nor Jamal (don't have their zip anymore) and use Echoe as primary..you'll report please? ;)
[Galaxy S 4 i9505 Original Android Development] monkteo:
Ooooooooo sorry and thanks I didn't notes the experimental release.

I will tried tonight.
[Galaxy S 4 i9505 Original Android Development] jordiz86:
Is there a simple file manager like Samsung file manager? I use es file manager, but sometimes I prefer a simpler app just to move or see some files...
[Galaxy S 4 i9505 Original Android Development] monkteo:
personally I use CMFileManager .

I pushed up in system/app and set permission.
[Galaxy S 4 i9505 Original Android Development] jordiz86:
Thanks a lot!! :)
[Galaxy S 4 i9505 Original Android Development] alvin551:
Yes black box works no problem!! Did try and post a screen shot but won't let me
[Galaxy S 4 i9505 Original Android Development] RK:
[MENTION=4277844]chenxiaolong[/MENTION], I tried to patch the new ShoStocki V5.0b1 ROM for att. Its TW 4.4.2. The ramdisk patcher gave me the following error:

Detected boot.img
Which type of ramdisk do you have?

1: jflte\AOSP\AOSP
2: jflte\AOSP\cxl
3: jflte\GoogleEdition\GoogleEdition
4: jflte\TouchWiz\TouchWiz

Choice: 4

Replacing ramdisk with jflte\TouchWiz\TouchWiz.def
Choose a partition configuration to use:

1: Dual Boot
- Second ROM installed to /system/dual
2: Multi Boot Slot 1
- ROM installed to /cache/multi-slot-1/system
3: Multi Boot Slot 2
- ROM installed to /cache/multi-slot-2/system
4: Multi Boot Slot 3
- ROM installed to /cache/multi-slot-3/system

Choice: 1
Modifying ramdisk ...Traceback (most recent call last):
File "C:\Users\user\Copy\Android\AndroidTools\DualBootPatcher-4.0.1-j
flte\useful\\..\scripts\advancedpatch.py", line 98, in <module>
new_file = patcher.patch_boot_image(filename, file_info, partition_config)
File "C:\Users\user\Copy\Android\AndroidTools\DualBootPatcher-4.0.1-j
flte\scripts\multiboot\patcher.py", line 104, in patch_boot_image
partition_config
File "C:\Users\user\Copy\Android\AndroidTools\DualBootPatcher-4.0.1-j
flte\scripts\multiboot\ramdisk.py", line 28, in process_def
plugin.patch_ramdisk(cpiofile, partition_config)
File "C:\Users\user\Copy\Android\AndroidTools\DualBootPatcher-4.0.1-j
flte\scripts\multiboot\..\..\ramdisks\jflte/TouchWiz/TouchWiz.py", line 165, in
patch_ramdisk
modify_MSM8960_lpm_rc(cpiofile)
File "C:\Users\user\Copy\Android\AndroidTools\DualBootPatcher-4.0.1-j
flte\scripts\multiboot\..\..\ramdisks\jflte/TouchWiz/TouchWiz.py", line 148, in
modify_MSM8960_lpm_rc
lines = fileio.bytes_to_lines(cpioentry.content)
AttributeError: 'NoneType' object has no attribute 'content'

Press any key to continue . . .

I have attached the meta-inf folder and the boot image.