yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] _Sofos_:
Just patched XXUFNB8 4.4.2 Deodexed Stock TW from DjeMBeY and Adam's kernel and been using it as a second rom (just for the cam) with Pac (aosp) as primary Rom!!

Awsome project honestly and cheers for the guide in the OP ;)
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Chen,

Are any of the 4.4.2 Touchwiz kernels supported in the patcher?

I tried one below that i asked if it could be added, using the unsupported / ktoonz-tw option, and got: failed to extract boot image,

then i noticed in the Needs patched init - it's unchecked but has the \tw43 guessing it'sthis unsupported patching is only for 4.3 kernels?

When ever you get a chance to add one below would be awesome.

thanks!
[Galaxy S 4 i9505 Original Android Development] royredman:
I realized that this rom isn't supported :/

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

when trying to patch it, should I checkmark loki ramdisk? I am on verizon and I don't know if MIUI is considered AOSP or not. Any help would be greatly appreciated
[Galaxy S 4 i9505 Original Android Development] Bejda:
This one is Aosp,based on cm10.1 Android 4.2.2

Actually the jfltexx version is supported since version 4.0.4 of the patcher but here the name differs a little and anyway there's that loki stuff i know nothing about on Verizon lol

I don't know/remember very well which custom options you have with patcher pc version but i guess that if you can choose CM as base + init jb4.2 + loki it should work but that's just a guess ;)
[Galaxy S 4 i9505 Original Android Development] royredman:
I appreciate your help, but I tried the newer patched version and says its unsupported (probably since the rom just got updated). If there is a way that the OP can add this to the patcher, that would be amazing!! :D
[Galaxy S 4 i9505 Original Android Development] Bejda:
The unsupported statement is just a name mismatch,jflte version is named "MIUIv5-S4International-4214.zip".

If you rename the Verizon zip that way it won't say "unsupported zip" anymore but you'll probably get something about loki instead (and anyway it wouldn't be a good idea to flash it if not loki-patched i suppose)

I can't check Patcher PC version right now and didn't used it since a long time..No way to patch it via custom choices with CM+jelly bean 4.2+loki?
[Galaxy S 4 i9505 Original Android Development] royredman:
I changed the name of the file and it still said unsupported file. I also tried doing that through the windows version and failed to patch it (it failed to extract boot)
[Galaxy S 4 i9505 Original Android Development] ChadBFlores:
I found that when trying to patch "[4.2.2][MIUIv5 4.2.28] Galaxy S4 i9505 [International LTE]" the patcher says "Failed to Patch the .zip File: Unsupported File"
[Galaxy S 4 i9505 Original Android Development] monkteo:
rename it to (MIUIv5-S4International-4214) and it will work

i have it as a secondary rom
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Does anyone running TouchWiz 4.4 as secondary have working vibration? I finally have everything working properly, except for vibration, but I don't know if it was already broken before.
[Galaxy S 4 i9505 Original Android Development] _Sofos_:
Give me a sec to check, will edit this post.

Edit: sadly vibration doesn't seem to work. Default Deodexed version with Adam's kernel.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for the confirmation! I'll release a new version with the TouchWiz 4.4 fixes then.
[Galaxy S 4 i9505 Original Android Development] RK:
Will you also post what settings we need to use to patch 4.4 Roms in the custom patcher?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
A new experimental version of the patcher is building now and will be available here soon :) http://dl.dropboxusercontent.com/u/486665/Snapshots/DualBootPatcher/index.html

This release includes my new init binary for TouchWiz 4.4 ROMs and also some permissions workarounds. This allows audio to finally work properly, as well as rebooting and logcat. The only remaining issue (hopefully) is broken vibration. The fact that Samsung is using closed-source vibration code from a company called Immersion only makes this harder :(

I've also added support for patching multiple kernels in one zip. That means that ROMs (especially the aroma installer ones) will have all of their kernels patched. So far, I've only updated Echoe 17 to take advantage of this. Please let me know which other ROMs also do this.

Support for more stuff:

Ktoonsez's TouchWiz 4.4 kernels

Echoe v17

The options for patching unsupported TouchWiz 4.4 ROMs has been simplified too. Just change the ramdisk to TouchWiz and that's it:

If this experimental version works well, I will make a stable release :)

EDIT: Tagging the people who made the requests:

[MENTION=4991991]gravedigger76[/MENTION]

[MENTION=4485012]RK[/MENTION]
[Galaxy S 4 i9505 Original Android Development] RK:
Just tried to patch SkyFall ROM using the above custom settings. Booted up to no service. Did I miss anything?

My baseband shows unknown.
[Galaxy S 4 i9505 Original Android Development] rlorange:
Release:

Multi Boot Backup & Restore Utilities V4.0

Finally I have combined all operations into a single AROMA zip!

Functions:

-Backup for Secondary, multi-slot-1, multi-slot-2, multi-slot-3

-Restore for Secondary, multi-slot-1, multi-slot-2, multi-slot-3

-Delete backups and delete multiROMs

PLUS!!

You can restore a backup from any slot to any other!

For now you MUST:

-Patch a suitable kernel before hand corresponding to the desired slot.

Rename your backup folder to the desired slot.

Eg.

'/external_sd/dual-boot-bk/dual'

to

'/external_sd/dual-boot-bk/multi-slot-1'

Then run restore and after flash your patched kernel. Note this will also overwrite whichever secondary kernel you have backed up so you may have to flash and set two kernels.

I will improve this function in the next version

Enjoy!!

https://www.dropbox.com/s/pwq2kxxlwjao0kw/MultiROM_backup_restore_V4.0.zip
[Galaxy S 4 i9505 Original Android Development] marvi0:
Apologies in advance. Did a search and thought omega is supported but getting unsupported when trying to patch. Is it supported?
[Galaxy S 4 i9505 Original Android Development] RK:
Can you please add support for the stock samsung firmware here:

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

If there is already a ramdisk that I can use for the stock samsung MF3 kernel, let me know and I will do the rest myself.

Thanks!
[Galaxy S 4 i9505 Original Android Development] Bejda:
It's kind of a rescue zip in case some **** happens (switch primary><secondary rom from recovery if one doesn't boot for instance) and the tool to use to wipe stuffs like system,data,cache specifically on primary or secondary rom cause if for instance you use your recovery wipe options,let's say wipe data, it will wipe data of both rom's.

Anyway keep it at hand for now on your sd but as it's an aroma interface you can flash just to see how it is and exit without doing anything.
[Galaxy S 4 i9505 Original Android Development] xipxap:
OK with FoxHound 1.8

OK with FoxHound 1.8

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

and noobdev

http://xdaforums.com/showthread.php?t=2383143 and also easy update with daily upgrades

Under S4 i9505 jfltexx

Thanks chenxiaolong . Fine work !!
[Galaxy S 4 i9505 Original Android Development] Bejda:
I didn't see such root issue on Slim thread,are you sure you did the enable developers options,gives root access to apps and adb etc..trick and not only gone into superuser settings?

I can't really explain all this but i just tried a wipe secondary cache with dual-boot utilities zip and i think it works fine,important log part is that delete /cache/dual exit code is 0 which means "no prob" lol and indeed secondary rom cache gets wiped.
[Galaxy S 4 i9505 Original Android Development] davidep85:
so the zip is fine.

I use slim Bean without problem on galaxy nexus but here with dual boot maybe there are problems. non I am with cyanogenmod and all is OK..

Inviato dal mio GT-I9505 con Tapatalk 4
[Galaxy S 4 i9505 Original Android Development] munchy_cool:
Patch only secondary

Sent from a RED Droid DNA with Active Display \m/
[Galaxy S 4 i9505 Original Android Development] sonymsam:
Okay so if i understand correctly? I can make a 4.2.2 TW rom as primary and have slim rom 4.3 as a secondary ROM?

but i am lost at the part where it says make your primary Rom's kernel as a primary kernel, so will a 4.2.2 kernel work on 4.3 rom? Just curious.
[Galaxy S 4 i9505 Original Android Development] TheMorpheus:
Is 800 mb enough for a Aosp rom??

Inviato dal mio GT-I9505 con Tapatalk 4
[Galaxy S 4 i9505 Original Android Development] Bejda:
Yes ;)
[Galaxy S 4 i9505 Original Android Development] theone_s_me:
Thank you chenxiaolong for this great patcher. Can you please add support for this ROM:

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

Also Triangle Away is not working anymore after having dual os. Any workaround?

thnx again
[Galaxy S 4 i9505 Original Android Development] TheMorpheus:
Everything works great! I have Omega 12 and crDoroid... Wonderful!!

Inviato dal mio GT-I9505 con Tapatalk 4
[Galaxy S 4 i9505 Original Android Development] zhuchella:
Can U add this rom http://xdaforums.com/showthread.php?t=2363778 Thank U
[Galaxy S 4 i9505 Original Android Development] alessandro_xda:
Download links are broken :(

Inviato dal mio GT-I9505 con Tapatalk 4
[Galaxy S 4 i9505 Original Android Development] blacknight1114:
Tried 6 different rom zips, ones from list also. Keeps saying unsupported zip. What am I doing wrong?
[Galaxy S 4 i9505 Original Android Development] marcoxx626:
Did you try patching them with the latest patcher?
[Galaxy S 4 i9505 Original Android Development] blacknight1114:
I have 1.9 is that latest?
[Galaxy S 4 i9505 Original Android Development] Dualz:
Are you dragging the ROM zips into the patcher file?

It must be a zip file from OP of the ROM your using.

And don't forget the gapps file needs to be done the same as well if needed.
[Galaxy S 4 i9505 Original Android Development] marcoxx626:
Can you give links of exactly which roms you're trying? I've had zero problems with the patcher....
[Galaxy S 4 i9505 Original Android Development] blacknight1114:
Yes dropping into patch-file .bat . Just tried gapps too and it said no image to patch failed to apply patch..

---------- Post added at 02:23 AM ---------- Previous post was at 02:18 AM ----------

Ok. Got cm gapps to work but not the rom
[Galaxy S 4 i9505 Original Android Development] marcoxx626:
Did you re-download it?
[Galaxy S 4 i9505 Original Android Development] ChronoReverse:
Hi, I tried patching a 4.3 version of GoldenEye but while trying to install, it crashed while giving an error message about setting permissions. Is only the latest 4.4 GoldenEye supported?

[edit]Nevermind, it's a recovery setting issue. Thanks for your great work!
[Galaxy S 4 i9505 Original Android Development] chavdar:
Hi chen,

Could you plese add Support for this ROM:

pac_jflte-4.4-Black-Power-Edition_NG

THANKS!
[Galaxy S 4 i9505 Original Android Development] qtwrk:
Why Android patcher doesn't work? I tried the latest 4.0.4 r7 , it says successful, but I can't find patched zip file anywhere...
[Galaxy S 4 i9505 Original Android Development] Bejda:
Probably not enough storage space on your phone for the patching process.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Done :) A new test version of the patcher will be automatically uploaded here in a few minutes: http://dl.dropboxusercontent.com/u/486665/Snapshots/DualBootPatcher/index.html
[Galaxy S 4 i9505 Original Android Development] qtwrk:
i don't think so, ext got 11 GB and internal has around 5 GB , i tried in both places but with no success...
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Which ROM (and which exact version) are you trying to patch? I'll test it to see if I can get it working here.
[Galaxy S 4 i9505 Original Android Development] chavdar:
In both latest test versions patching of pa gapps is broken.

Patching starts but no file is created and ends on a couple ot seconds.

With 4.0.4 all is fine

Sent from the GT-I9505 Galaxy
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for testing! I was using Echoe v17 (TW4.4) for testing and it worked fine. I'll download SkyFall and give it a go :)
[Galaxy S 4 i9505 Original Android Development] qtwrk:
Sorry, forgot to mention

Carbon official nightly 20140314 from its website

---------- Post added at 09:02 PM ---------- Previous post was at 08:21 PM ----------

One more thing, 4.0.4 r8 on Sammy ROM goldeneye v24 with KT 12/03/2014 TW kernel, the Android patcher jammed... like doing this forever...

Never mind, reboot fixed it. But still doesn't patch zip properly
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! These should be fixed in the experimental version 4.0.4.r9. I don't know how I didn't catch these. A ton of stuff were broken by a tiny issue in the code :)
[Galaxy S 4 i9505 Original Android Development] chavdar:
It is very hard to be your own tester. Just happy to help.

Sent from the GT-I9505 Galaxy
[Galaxy S 4 i9505 Original Android Development] RK:
Skyfall still booted up with baseband unknown... Did I miss something? I patched with custom patcher only selecting tw ramdisk..
[Galaxy S 4 i9505 Original Android Development] Brandroid28:
I see OSE was added in December, but I get "unsupported zip" in the latest Android patcher. http://www.drdevs.com/devs/teamose/OSE/Nightlies/jflte/
[Galaxy S 4 i9505 Original Android Development] qtwrk:
404r9 Android patcher still doesn't patch up properly...
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Omega is not supported right now simply because it's the largest ROM I've ever encountered :) Unless you're willing to debloat it significantly, it most likely won't fit and won't be able to boot.
[Galaxy S 4 i9505 Original Android Development] ahoslc:
So there are a few Apps I like to flash to my 2nd Rom like a few Modified clear Gapps. How would I go about being able to flash thoses to 2nd Rom in Recovery?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
You will need to patch them just like the ROM. When you run into this unsupported zip screen, just uncheck "Has boot image" and you should be good :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Could you link me to the version you are using? With the experimental version 4.0.4-r9 and SkyFall "SF-XXUFNBE.zip", my baseband is working just fine.
[Galaxy S 4 i9505 Original Android Development] montolla:
Hello

I get debian working but now I can back to android any more :o :laugh:

I will try later to get ubuntu with lxde (a lubuntu like) on it.

I am working on ubuntu touch for i9500 on http://xdaforums.com/showthread.php?p=51115087

May be I would get it works on dual boot with official cm rom.

Thanks
[Galaxy S 4 i9505 Original Android Development] RK:
Ah ok thanks ill re download and try again.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! I just fixed this and it will be in experimental version 4.0.4.r10: http://dl.dropboxusercontent.com/u/486665/Snapshots/DualBootPatcher/index.html
[Galaxy S 4 i9505 Original Android Development] qtwrk:
404r10 Android patcher still doesn't generate new file properly...
[Galaxy S 4 i9505 Original Android Development] franzyroy:
What do you mean? I tried with AOSB, it worked. Or do you talk about of new roms?
[Galaxy S 4 i9505 Original Android Development] qtwrk:
My current ROM is Sammy based, goldeneye v24 , I installed patcher and try to make carbon 20140315 nightly as dual/secondary , the patcher popup with "successful" but I couldn't find patched file anywhere on my phone
[Galaxy S 4 i9505 Original Android Development] franzyroy:
You talk about of APK, ok, I understand better, I don't use it.
[Galaxy S 4 i9505 Original Android Development] Bejda:
Well i was thinking about a Carbon builds specificity (something about bootclasspath iirc) but no it's not a rom zip or patcher (at least for 4.0.4 one) issue.

I can patch and get Carbon nightly 20140315 patched file without problems on my side on both sdcard and sdext if i use the 4.0.4 patcher on aosp rom.

As you're on Touchwiz (4.4 i presume) things may differs:

My primary rom is Echoe v16 Touchwiz 4.4, i tried again same Carbon zip on sdext and sdcard and it's still ok but if the zip is on sdext you need the platform.xml tweak which is enabled by default on Echoe:

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

Otherwise same issue as you,successful patching but no file..

But if the zip is on sdcard I don't need the platform.xml edit,it's ok without so I can't really say why it doesn't work for you with zip on sdcard but i'd say it's something related to the rom you're using or maybe the file manager you use to show path to Carbon zip.
[Galaxy S 4 i9505 Original Android Development] qtwrk:
I tried both internal and external, but I'm gonna try it on AOSP ROM see how it goes

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

Switched to carbon to patch on carbon but still doesn't generate properly dual/secondary carbon ROM zip file to overflash over the carbon I have
[Galaxy S 4 i9505 Original Android Development] Bejda:
I flashed Carbon rom as secondary and tested 4.0.4 and 4.0.4.r10 patcher versions on it, all is fine files are properly patched and generated.

Do you use a specific file manager to show path to zip? Usually i go from patcher app to zip through DocumentsUI.apk>rootexplorer and this time for the test only used DocumentsUI and all went fine.
[Galaxy S 4 i9505 Original Android Development] qtwrk:
Okay... that's weird, I tried both root explorer and CM file manager...
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Hmm, could you make a logcat after you try patching Carbon? If you've never done this before, you can download this app and choose the "Save" option in the menu: https://play.google.com/store/apps/details?id=com.nolanlawson.logcat The log will be saved to the "catlog" folder on your internal storage.
[Galaxy S 4 i9505 Original Android Development] qtwrk:
I don't know if I did it properly...

https://mega.co.nz/#!SloDAIxT!gp_5RmobzCOT__7s2q6GXCi2lqTwvVKKoJTdOljiB0Y

Awaiting your order
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Oh man, somehow python is segfaulting (pretty bad crash). From what I can see, the patcher doesn't even start, it just crashes immediately. Could you try clearing the patcher's data and cache and temporarily changing your phone's language to English?
[Galaxy S 4 i9505 Original Android Development] alvin551:
Hi chen. Just a quick question. When a file is unsupported on the windows patcher, we can patch it anyway. Is there anyway for u too add this in to the apk as well? Much appreciated
[Galaxy S 4 i9505 Original Android Development] qtwrk:
https://mega.co.nz/#!eh42kCQY!xaonUeqd0V2p4D95QZ7poHfWMhpL5Qbjz5IiKchuRkc

Here you go, language set to USA English, data and cache of patcher cleared.

This time it stops around 60% ...
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Chen,

I am too getting unsupported message on the r9 and r10 on PC patcher for Skyfall -

I'm using the ATT version:

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

SKYFALL OFFICIAL ATT UCUFNB1 4.4.2

LINK to META folder
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for the META-INF folder! I forgot I used the unsupported settings to patch the ROM when I was testing. 4.0.4.r11 has support for SkyFall and is building now :) http://jenkins.cxl.epac.to/job/DualBoot_Patcher/
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Just tried r11, and it detects that it's Skyfall now,

but as soon as it starts, i am getting Failed to patch file, failed to extract boot image.

It's a lokied rom i believe if it makes any difference?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
r12 is building now... :) You're right, I forgot about loki. If you want, you can replace jflte/ROMs/TouchWiz/skyfall.py with https://github.com/chenxiaolong/DualBootPatcher/blob/master/patchinfo/jflte/ROMs/TouchWiz/skyfall.py instead of waiting for r12.
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
:) thanks man! you are fast, i see it almost done on jenkins i'll grab it when it's done :)

thank you again!:good:
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
This is really strange. I switched my language to Simplified Chinese and it's still working, so I don't think language is the issue. From the new log, I'm seeing it crash because of libz.so (which is a library for compressing files). Since that file is part of TouchWiz, could you create a logcat from an AOSP ROM so I can see if it crashes the same way? Thanks!
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
r12 works great!!

thanks again

---------- Post added at 09:49 PM ---------- Previous post was at 09:35 PM ----------

Chen

So it looks like I'm seeing same thing as [MENTION=4485012]RK[/MENTION] with ATT Skyfall

Tried with KT kernel and Talexpo

Both give no EMEI and no cell service because of that

Any ideas?
[Galaxy S 4 i9505 Original Android Development] RK:
Did you use the SLIM-F4ST PCTOOL? if yes, can you test without slimming? That would be the only difference between chen's trial and mine.. I will try the full ROM shortly. I dont know if I have enough space though..
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Yep I used you're PC tool. I don't have enough space without using it.

EDIT: by the way I used you're original one for GoldenEye and that worked (the one that did not need to download the cwm flashable slim fast file).... Maybe a clue there?
[Galaxy S 4 i9505 Original Android Development] RK:
should not matter.. the tool deletes exactly the files that the CWM zip deletes.. I'll do some testing and report back..

---------- Post added at 01:54 AM ---------- Previous post was at 01:36 AM ----------

@chenxiaolong Downloaded unmodified international skyfall, patched and installed. Still no imei..

Also, I get camera failed when I open the camera..
[Galaxy S 4 i9505 Original Android Development] Mussels84:
just jumping in to check: do all those things work when you install to the primary slot? IMEI issues sound like wrong 3G/4G modem is installed for the ROM, and camera issues also sound like ROM (although technically possible to be because of dual boot, if the camera files ended up in a weird location to what the ROM expects)
[Galaxy S 4 i9505 Original Android Development] RK:
testing right now.. will update soon.

EDIT: skyfall as primary works perfect on my device (I337 MDL bootloader, NB1 baseband). When patched for dualboot, i get no imei and camera failed.
[Galaxy S 4 i9505 Original Android Development] qtwrk:
https://mega.co.nz/#!yp5wjQyb!NZ4-8DlmKaYNHDwcHPhXgsjq-Q_Hbzy5cj3Gkz-P_ic

Here we go

On carbon 20140314 nightly , KT kernel, with 404 r12

Thus time it stops around 10%...
[Galaxy S 4 i9505 Original Android Development] chavdar:
For all having IMEI and cell not avalable after install - please try a phiz recovery older than 6.09

I use 6.07 and it works like a charm

Sent from the GT-I9505 Galaxy
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Do you by chance have a link to a flashabled lokied 6.07 for ATT?
[Galaxy S 4 i9505 Original Android Development] Toastalator:
I'm currently running Frosty Jellybean v3 on 4.2.2 with the MDL baseband on my M919.

I used the patcher and successfully booted a second instance of my rom but I noticed when I booted the second rom it could access files from the primary rom. Accessing the extsd card is ok but why is it accessing files from the primary rom, I thought they were separate operating systems.

I ask because installing a second rom seems to have broken an app in the primary rom. The app monitors activity on the phone and reports it. Although the app boots and runs it is no longer reporting.

I think that because the roms may be sharing files it's compromised the reporting app in some way. So I was wondering if it was possible to install truely separate roms.