yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] roblxskye:
On secondary touchwiz 4.4.2 ROM camera doesnt work has this issue been fixed?

On 4.3 it works but not on 4.4.2 tw
[Galaxy S 4 i9505 Original Android Development] _Sofos_:
Depends on the kernel, try and patch Adam's kernel and camera should work.
[Galaxy S 4 i9505 Original Android Development] sronweb:
Please, use the "thanks" button. Thank you ;)
[Galaxy S 4 i9505 Original Android Development] roblxskye:
Can you add Sammy deluxe rom to the patch list

---------- Post added at 09:51 PM ---------- Previous post was at 09:50 PM ----------

http://xdaforums.com/showthread.php?t=2672053
[Galaxy S 4 i9505 Original Android Development] aeroman:
hello,

i tried Dual Boot on my S4 with SlimKat (Primary Rom) and LiquidSmooth (Secondary Rom).

I installed first the Switcher App and set kernel and patch then the Zips (Rom+Gapps) with the

Patcher App and flashed all files about the Recovery.

after reboot the secondary Rom works fine, but when i come back to the primary rom i get only FCs

with more Apps.

for first i'm restore now my Nandroid Backup back.

What make i wrong and how can i clean uninstall all Dual Boot Files?

Best Regards
[Galaxy S 4 i9505 Original Android Development] sronweb:
As I see most I of the issues are related to the first rom size. First rom has to be small like Shostock for example. Now you can clean and reinstall the rom but only use the dual boot utilities for wiping primary or secondary. If you use recovery for wiping you can get problems.
[Galaxy S 4 i9505 Original Android Development] aeroman:
there is this accurate information to the first Rom Size?

i wiped Cache/Dalvik only during btw. before install the 2 zips (mean Rom+Gapps) then never use recovery.

maybe that caused the error. after i wiped dalvik/cache & install reboots first the secondary rom,

only then again the primary, where the yes even the Dalvik optimization of the primary rom began. ;)

must i use the utilities before install the patched Zips in the Recovery?

Best Regards
[Galaxy S 4 i9505 Original Android Development] sronweb:
The procedure is as as decribed in the OP:

- Boot into your primary ROM and install the Dual Boot Switcher app

- Open the app and set the current kernel as the primary kernel (screenshot)

- If the primary ROM is TouchWiz, you will need to remove some bloatware. Otherwise, two ROMs won't be able to fit on the /system partition. You can also convert some system apps to user apps with this tool: https://play.google.com/store/apps/details?id=de.j4velin.systemappmover&hl=en

- Patch the ROM (see the "How to use the patcher" section)

- Reboot into recovery

- Flash the patched zip files.

- Reboot

- Install the Dual Boot Switcher app again in the secondary ROM. If you have a locked bootloader, set the kernel for the secondary ROM (just in case).

I don't know how much is the maximum size of the primary rom but problably your issue is caused by not enough space.
[Galaxy S 4 i9505 Original Android Development] aeroman:
thanks for the help, :) I'll test it again with other settings,

the recommendations of the OP have already been taken into account. ;)

Best regards
[Galaxy S 4 i9505 Original Android Development] dafonehacker:
It might have been asked before, but can't you implement a per-rom-backup feature in the dualbootutilities zip or in the app? That would also be safer for roms saved in the multi-slots, so that in case you accidentally wipe the cache, you can individually restore the affected roms without having to restore the perfectly working primary rom (this is just an example)

Great app otherwise!

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Galaxy S 4 i9505 Original Android Development] ktm_91:
Am I the only getting FC on last releases, 4.1.3 too? :(
[Galaxy S 4 i9505 Original Android Development] hrvoje_im:
is there any chance of adding SOKP to suported roms
[Galaxy S 4 i9505 Original Android Development] Bejda:
There's chances but for now:

http://xdaforums.com/showpost.php?p=51859703&postcount=2589

Or rename the zip like a CM nightly or CM based rom if you wish to use patcher apk.
[Galaxy S 4 i9505 Original Android Development] hrvoje_im:
thx, it worked,

Only cant boot to it after switching to primary then to sec, maybe it is a rom thing.

PS. all props patcher developer
[Galaxy S 4 i9505 Original Android Development] aeroman:
With a little practice, knowledge and bauble, : D, the dual boot is now running fine now. :cool: :good:

Thank & respect to the creators at this point. :)

but i miss imho backup und restore function for the Secondary Rom,

is that even possible, found nothing simlar in Op?!

(for example through the restore 'dual' folder, anyone tested?)

otherwise everything else as I said top so far. :cool:

EDIT:

we can also switch roms only about Utility, and not with Switcher App?! :rolleyes: :)

Best Regards
[Galaxy S 4 i9505 Original Android Development] gaww:
Dusl Boot backup link:

http://xdaforums.com/showthread.php?t=2491299&page=18

If you follow the detailed instructions on installing and setting the kernels, you will have no problems switching ROM's (hence the name).
[Galaxy S 4 i9505 Original Android Development] aeroman:
nice tool & util. [emoji106]

The Easter Bunny :D has probably thought of everything. :) :)

best regards

●Sent from my Galaxy S4-LTE√
[Galaxy S 4 i9505 Original Android Development] gaww:
Easter Bunny did not bring me anything, so I am going to have roast rabbit tonight. Wish I had some German white asparagus to go with it - we have nothing close to it over here.
[Galaxy S 4 i9505 Original Android Development] GhiGo65:
+1

Inviato dal mio SM-G900F utilizzando Tapatalk

---------- Post added at 07:53 AM ---------- Previous post was at 07:52 AM ----------

Thanks

Inviato dal mio SM-G900F utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
http://wanamlite.com/2014/04/03/adam-kernel-galaxys4-lte-v2-3-android-kitkat/ :)
[Galaxy S 4 i9505 Original Android Development] calebcabob:
Verizon Support?

PLEASE PLEASE PLEASE!! :confused:

Does this patch work on the Verizon Galaxy S4?

-I have one of the original builds...MDK.
[Galaxy S 4 i9505 Original Android Development] Nuovo Imperium:
Hey guys.

I don't want a secondary ROM anymore, how can I delete is?

:good:
[Galaxy S 4 i9505 Original Android Development] sronweb:
Use the dual boot utilities.
[Galaxy S 4 i9505 Original Android Development] Nuovo Imperium:
I couldn't do it there. I loaded the utils in Recovery, made the steps, tapped the Secondary option, did every options there (Wipe, wipe, wipe), but I still have the same amount of free space then before, so I guess, it's still there. I wanted to find a straight option to delete it, eg. "push this button, to delete the secondary ROM". :D

Any further advice is appreciated.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Woot! Finally fixed vibration in dualbooted TouchWiz 4.4 ROMs :) Closed-source init systems are a PAIN to debug...

Now time to try to fix the camera
[Galaxy S 4 i9505 Original Android Development] peppe130:
Try to delete manually the dual folders using a root explorer.. then check your free space using the diskinfo app (search it on play store)

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] _Sofos_:
Awesome progress, thank you!

The only kernel that gives a working camera btw is Adam's.

I've tried pretty much everything else.
[Galaxy S 4 i9505 Original Android Development] sker100:
Just one small question i have install the patcher in my galaxy s4 butt couldnt do the dual boot zip to de dandroid v2 rom it says is unsuported but in the main paige of this thread is there in the compatible roms. I try miui rom and it run the patcher...

I'm doing something wrong ?
[Galaxy S 4 i9505 Original Android Development] spinacz100:
can someone tell me where is Android/obb directory on second rom ?
[Galaxy S 4 i9505 Original Android Development] peppe130:
/storage/sdcard0/Android/obb

OR

/storage/emulated/0/Android/obb

OR

/data/media/0/Android/obb

OR

/data/media/obb
[Galaxy S 4 i9505 Original Android Development] gsmyth:
Could the below ROM be added to the patch list? :)

KangaKat 4.4.2

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

Edit: tried patching myself with the patcher app but got the message 'Failed to extract file: kernel/boot.lok'. Any advice would be great thanks.
[Galaxy S 4 i9505 Original Android Development] Bejda:
What is the rom zip file name?

From what i understand of the way patcher works it expects a zip named (at the beginning) "danvdh-GE" or "Dandroid"

Better check by yourself the dandroid.py file under /patchinfo/jflte/ROMs/GoogleEdition folder of the patcher zip version to get the idea and make some tests.

It's probably unsupported just because the zip name changed and once renamed to fit should patch and work fine unless there's some big changes in the zip structure.

---------- Post added at 11:57 AM ---------- Previous post was at 11:29 AM ----------

Reminds me some others previous cases.I guess that,since unified jflte aosp builds,loki stuffs works differently..there's no boot.lok kernel anymore but a main boot.img that get modified by some /system/bin files like loki.sh,loki_patch,loki_flash

I presume that patcher should be update regarding this. [MENTION=4277844]chenxiaolong[/MENTION]? :)

[MENTION=3330048]gsmyth[/MENTION],you could give a try patcher pc version with custom choices that fit your rom but with loki unticked..or,maybe better, wait for Chenxiaolong to confirm this could be a temporary working way and/or update our dear patcher ;)
[Galaxy S 4 i9505 Original Android Development] gsmyth:
Thanks for your advice, I had a search through this thread and tried patching the kernel on its own, but it still failed. Unfortunately I won't get near a pc for a few days, so will see what Chenxiaolong recommends. Thanks again. :good:
[Galaxy S 4 i9505 Original Android Development] sker100:
i will see that, the zip name is the one from the thread of the rom, i just download the rom anf try to patch it. didn't change the name or anything.

the zip name is this one : dandroid13_Untouched_GPe_4.4.2_v2_CWM.zip

This way you said is the patcher file to the pc or could i see that on my s4?

Edit:

I find out how to make that work, just change the filename to one that it accept and it works. Thanks for your help.
[Galaxy S 4 i9505 Original Android Development] spinacz100:
is it for first rom and i know it. but for a second i think is another directory because i have a game with obb files and i havent it in this directory
[Galaxy S 4 i9505 Original Android Development] Bejda:
When you're not on primary rom initial paths are /raw-data , /raw-system , /raw-cache.

Use folder mount maybe?

http://xdaforums.com/showpost.php?p=45560831&postcount=1952

;)
[Galaxy S 4 i9505 Original Android Development] peppe130:
It might be the same because the internal storage is shared between the two roms. If you don't solve, try to go in /data/dual/media
[Galaxy S 4 i9505 Original Android Development] a43:
I've catched a bug - each time I boot second rom and come back to first one some applications looses their access for writing to disk. For example file manager can not delete anything and Swiftkeyboard can not find it's languages. What to do? How to remove dual boot and install only one rom now?
[Galaxy S 4 i9505 Original Android Development] peppe130:
Use DualBootUtilites to delete the secondary rom
[Galaxy S 4 i9505 Original Android Development] coilfan:
This is a Swiftkey issue, and likely not related to dual booting. I have had several issues with swiftkey, without any dual boot configs.
[Galaxy S 4 i9505 Original Android Development] Bejda:
Hello, still far far away from pc? ;)

Was this zip you wished to run as secondary rom KK-S4-KOT49H-DEODEX-6.1.zip ?

You can rename it like this: BoBCaTROM_GE.zip and patch it,it's (almost) ok.

Only thing is that you'll exceptionally have to "set current kernel as...secondary rom"

So you patch using BoBCaTROM_GE.zip file name (rename it back once patched if you want),flash it (as secondary then?) and once it boot use DualBootSwitcher apk to "set current kernel as.. secondary rom".
[Galaxy S 4 i9505 Original Android Development] peppe130:
Hi.. does it work on i9500?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
No, at the moment, this will only work on the Galaxy S4 models with the Qualcomm chipset.
[Galaxy S 4 i9505 Original Android Development] peppe130:
If I run this metod on a i9500, I will brick? Softbrick or hardbrick?
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Better not try, if that does not work, it has no interest!
[Galaxy S 4 i9505 Original Android Development] _Sofos_:
2 Questions..

Does dual booting work with the latest boot loader?

Does in general boot loader affects dual booting?

Thank you in advance.
[Galaxy S 4 i9505 Original Android Development] ninja-grandpa:
Is there any kk ROMs that work yet?every time I I try this now the ROMs format my system even it seems as just as my primary...never really noticed this problem till I moved to like from beanstalk aokp.... Basically anything kit kat won't work.... How do I stop the updater script from formating I've tried looking it up but im just not getting it I guess
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Yes

No
[Galaxy S 4 i9505 Original Android Development] gaww:
If the updater script on the ROM you flash as primary format /system and /cache, this will wipe your secondary and Multiboot ROMs each time. No big deal, as

the data from them is still there, so you just reflash your secondary and any multiboot ROMs and you are back up and running.

If the script in a ROM wipes system, I think after it is patched - it will only wipe that location's system (secondary, multiboot), so should not be a problem. I am not sure on the latter, but I have yet to have a problem with flashing non-primary ROMs wiping /system - including a TW KK I was able to flash once.
[Galaxy S 4 i9505 Original Android Development] ninja-grandpa:
I guess I should stop assuming what is wrong an prob just tell you what's wrong.... Sorry

Dude I wipe flash backup, flash ROM (currently beanstalk) flash restore an then gapps reboot install switcher app an I set primary kernel/ROM, reboot....reboot again into recovery flash secondary an gapps reboot install switcher app set kernel/ROM, reboot... Now when it starts back up I'll choose primary but it only boots into my secondary likes its erasing my primary... Both shows up in the switcher app... I don't understand what's wrong?

I've successfully patched my secondary... I've had it working all the way to multi 2 then it started doing this.,..I've been messing with it for like a month to no end.... Idk
[Galaxy S 4 i9505 Original Android Development] gaww:
Try flashing the primary ROM's kernel ONLY again. It should then boot into primary.

If it does, then set it again as primary and see if secondary boots up after you select that ROM in switcher. If not, flash PATCHED" secondary kernel again and reboot - should go straight to secondary. Then select primary in switcher and see if it boots up OK.

Note - you did not say what ROM you are using as secondary. If noobdev, then you missed an important step.(enabling secondary zip from noobdev OP)
[Galaxy S 4 i9505 Original Android Development] franzyroy:
[MENTION=4277844]chenxiaolong[/MENTION]

Hi,

Could you help me with my issue, described here and there and still here???

Thanks for your great work!!! I hope you could help me!

Ktoonsez has posted this to help you.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Will do :) His filesystem detection script is very simple, so it'll be pretty easy to workaround.

(I'll have to wait until my finals are over. I'll probably release it along with the TouchWiz 4.4 vibration fixes)
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Thank you very much! :good:
[Galaxy S 4 i9505 Original Android Development] rlorange:
Great to hear! Hopefully KT has figured out how to run TW primary on F2FS by then. Then complete Dual Boot compatibility can be realised. Actually maybe your expertise could help figure this out? Anyways good luck with your finals. Clearly you're a smart dude so kill it man!!
[Galaxy S 4 i9505 Original Android Development] phooeyllama:
Nope. Your only option is to use safestrap
[Galaxy S 4 i9505 Original Android Development] Technical:
I'm trying not to post the same in multiply threads, but...

I'm trying to install the 2nd ROM side by side with Slim.

Both Chaos (http://xdaforums.com/showpost.php?p=52551647&postcount=1792) and FoxHound (http://xdaforums.com/showpost.php?p=52551766&postcount=9075) have a loop in bootanimation and I can't get further.

Chaos has an internal option to 2nd ROM (i.e., I don't need to patch the ROM).

FoxHound was patched and flashed ok (the latest two versions 2.5.1 and 2.5.2) but they stop at bootanimation forever...

Any idea on how to troubleshoot this? Thanks.
[Galaxy S 4 i9505 Original Android Development] sronweb:
Usually most of problems comes from the limited space on the first rom, you should remove several apps on the first rom or install Shostock as suggested. Maybe this is the reason of your boot loop.
[Galaxy S 4 i9505 Original Android Development] Technical:
Thanks, but even with the 2nd ROM installed I have 2Gb free :confused:

Even the external sd card has 2Gb free, although it does not worth in this context.
[Galaxy S 4 i9505 Original Android Development] gaww:
Did Chaos boot up OK by itself before you flashed FoxHound?
[Galaxy S 4 i9505 Original Android Development] Technical:
Yes, two months ago.

I wiped all the 2nd ROM stuff (/system, /data, /cache, /dalvik) from FoxHound before flashing Chaos.

Tested now, for the 5th time, and Chaos stops at bootanimation forever.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Coming up in the version 5.0.0:

Patching unsupported files in the Android app

Patching unsupported files in the command line program Done!

Support for multiple devices in the patcher Done!

Support for KToonsez's F2FS-enabled kernel

TW4.4 vibration fixes (still no camera yet, sorry)

And (possibly) combining the switcher and the patcher into a single app :)

EDIT: And if I have time, for version 5.0.1, I'm going to download and test every single ROM I list as supported. (dropping support for ones that aren't maintained anymore, etc)
[Galaxy S 4 i9505 Original Android Development] gaww:
Wipe /system - that will clean out that whole partition and then try flashing Chaos again. If still bootloop, you will have to probably try a clean install of it again - you had it working OK before. Then set its kernel as primary.

Go to Duel boot utilities, flash it and see how much room you have in System partition left for FoxHound. How big is its zip (unzipped when flashed it will be much bigger)?

As the other poster said, being too large can keep it from booting and possibly your primary also if its too big - I did that to myself when I was trying to flash a too large ROM as secondary. It flashed, but would not boot and after the flash, neither would the primary. Even with noobdev CM11 and GAPPs as secondary, I only have 59 mb of free space in /system according to the Utility zip.
[Galaxy S 4 i9505 Original Android Development] Technical:
1. I'll wiped /system and flash FoxHuound as 2nd ROM again and test.

2. I have 4.9Gb free on /storage/emulated0 (even after installing FoxHound, which means 46.8% free). I have 2.2Gb of /system free (even after FoxHound), i.e., 84.5% free.

3. GE-i9505-VJUFNC2-29 TW-ROM is working as 2nd.

I'll keep trying :rolleyes:
[Galaxy S 4 i9505 Original Android Development] gaww:
I would use the TW as primary, as it is the largest. You could then install the secondary as Multi1 (after patching it that way), so it would not have to share any space in /system if it turns out space is the issue.

Again - make sure your primary is booting ok before you move on.
[Galaxy S 4 i9505 Original Android Development] _Sofos_:
Such Roms have lots of kernels included(aroma). I don't think patcher automatically patched all of them. If you haven't tried that already I would advice you to extract the boot.img of the kernel you want to use, patch it and move it back again. If this doesn't work let me know and I'll upload my updater-script as well.

Keep in mind that it may stuck at boot anim for like 5 mins at the first boot.

Used to have Slim as primary and Foxhound as secondary and never faced an issue.
[Galaxy S 4 i9505 Original Android Development] aeroman:
good News. :good:

just for info on your work...

I have tried C-Rom and new Resurrection Rom for Galaxy S4, both could not patch the app! ;)

and latest Mahdi Rom for S4, i could patch with the App, after install in Recovery

and reboot hung it on the Samsung logo at startup!

Hope it helps you in your work to the app to make it better. :)

Best Regards
[Galaxy S 4 i9505 Original Android Development] ninja-grandpa:
Still having problems..... Could there be something wrong with my partition/efs or something deeper? Also my efs is like 84℅full... I seen this from free space app Google Play. and one more question how do i patch cm 11 and can I use Odin to install it? if I use it as my primary could I go into the updater script in Like install the permissions back up at the beginning of the install and Restore at the end of the updater script an how would I do this?
[Galaxy S 4 i9505 Original Android Development] gaww:
If you have used mobile odin, you could have messed up partitions. With mobile ODIN, if you use it when your ROM build prop indicates a different device then yours, it can reformat for that device. And don't use odin to install - stay with recovery. Otherwise, setting this up should be real easy following the OP.

If you want CM11, for starters you might flash the OP's Noobdev CM11, which is already patched, From the OP there, you first have to flash the "enable duelboot" zip, of it will flash over your primary.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
I wait this update with impatient.
[Galaxy S 4 i9505 Original Android Development] Technical:
First is booting ok (Slim).

I didn't know that multi1 was different from secondary.

Anyway, I'll try to make other ROMs as multi1.

Chaos ROM, my favorite as 2nd, is not on the list of the supported ROMs. I'll try FoxHound.

---------- Post added at 09:25 PM ---------- Previous post was at 09:20 PM ----------

Is the kernel the only thing that needs to be patched?

I mean, if I patch only boot.img seems it won't work, will it?

Chaos is not suported by dual boot so I can't patch it. I can only use its internal option to be installed as 2nd ROM.

FoxHound is my 3rd option for ROM. Slim then Chaos then FoxHound.
[Galaxy S 4 i9505 Original Android Development] peppe130:
Hi chenxiaolong.. An italian user has suggested me a new way to switch the roms. For example you could create a widget that allows to switch to primary or secondary rom by pressing a button without launching the Dual Boot Switcher app; or, another example, adding an option in the reboot menu like "reboot to primary rom" or "reboot to secondary rom". So you can switch roms without many steps and easily. What do you think about? ;)

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] gaww:
You have to reboot in any case to change to another ROM, and in the switcher app you select it and reboot - done. To set it up in the reboot menu makes that more complicated and doesn't make it really any easier.

One thing I will mention in the switcher app - for people like me who are easily distracted (home office, news or weather on monitor), it is really easy if not focused to accidentally set the kernel vs select the ROM - opps! You might want to separate them for klutzes like me.
[Galaxy S 4 i9505 Original Android Development] peppe130:
A widget could be useful. Just press a button and switch!

Inviato dal mio GT-I9505 utilizzando Tapatalk