yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] enotar:
Just stuck on the second screen after boot anim and pone is vibrating every 5 second aprox.

I will need to reinstall to give sizes.

Maybe I try echoe 4.3 better, what rom is Slim enough to fit? Echoe KK 2.1 is not very big, maybe too much apps installed....
[Galaxy S 4 i9505 Original Android Development] chabstyle:
Hey Chen,

can you please add support for Duxter Rom?

META-INF attached.

Thank you and a happy new year,

chabstyle
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Hi Chen

Thank you for looking into this!

Here are the 3 files ziped from the output of the above flashed file.

I updated via delta again this AM and same thing, secondary is not booting without a reflash.

https://www.dropbox.com/s/aguayw6wyavvfh7/secondary_rom_fail_after_delta.zip

Let me know if this helps.

And if you have any ideas.

Thank you!!

Sent from my SGH-I337
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
You the man!!

Thank you. Happy new year dude!

EDIT: I think it would make sense if my multi1 ROM boots just fine because you're ROM and my multi (slim) use the same exact kernel :). :thumbup::thumbup:

Sent from my SGH-I337
[Galaxy S 4 i9505 Original Android Development] Bejda:
Sorry dear Chen but I don't get if I'm totally off topic, stuck into a parallel dimension or something else lol :o

The last_kmsg I posted again on previous page was the same and as far as I remember such thing happens to me no matter which rom is primary or secondary.

I've never seen a successful report of the "updating primary without having to reflash secondary" process since the thread exists so I kept wondering..

Not reproducible on your side?

Sorry for insisting ;)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Honestly, I've never tried it with an AOSP ROM. The TouchWiz ROM I used to run as primary didn't set permissions on /system recursively, so I didn't have this issue. I know regular Linux has the getfacl and setfacl tools, which can backup file permissions. I'm trying to compile those for Android now.

Once I get this working, I'll probably create two zips to flash before and after updating the primary ROM, one will back up the permissions, the other will restore them. :)
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
What would be awesome is to have ability then in opendelta to flash something like this before flashing update.. Then it already has ability to flash after ;)

Sent from my SGH-I337
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Don't worry, it'll be handled automatically ;)
[Galaxy S 4 i9505 Original Android Development] Houndcatcher:
Any pointers as to why I can't get patch-file.sh to work in Terminal on my iMac as per post 1622 previous page please?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
There's nothing wrong with what you did :) It was a bug in the app. It couldn't find the necessary files if it was run from another folder.

In other words, if the zip is in the ~/Downloads folder, running the patcher like this won't work:

cd ~/Downloads
/path/to/patch-file.sh ROM.zip

but if you change to the patcher's folder, then it will work:

cd /path/to/DualBootPatcher-4.0.0Beta7
./patch-file ~/Downloads/ROM.zip

I have fixed this already and it'll be in the next release.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Done ;)

https://github.com/chenxiaolong/CM_vendor_cm/commit/b724a585e0a8a6d91c00134f4285a7abfce88225

https://github.com/chenxiaolong/CM_build/commit/4aea469194a1bc6237496e5e9fbd6c77fe13fef5

It will be in the 20140102 nightly. Hopefully you won't have to reflash GoldenEye ever again :fingers-crossed:
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
You Sir, is brilliant! Worked like a charm!

Delta updated to 01/02, rebooted back into secondary with absolutely no issues!

THANK YOU!!!!:good::good::good::good:
[Galaxy S 4 i9505 Original Android Development] Houndcatcher:
Cool. I'm not that good at error messages etc. yet so I was confused as I thought I was doing it right :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
http://d-h.st/users/chenxiaolong/?fld_id=30845#files :D
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Awesome, glad it finally works now :D :highfive: :good:
[Galaxy S 4 i9505 Original Android Development] rlorange:
Chen just noticed the rom switcher apk reboot function doesn't work using patched Jamal GE as secondary
[Galaxy S 4 i9505 Original Android Development] MaliciousBanjo:
For the AT&T GoldenEye, when and where do we add the "ATT?" At the end of the original .zip file of the ROM? Or at the end of the _dualboot of the newly patched ROM?
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
You trying to patch it... So kind of pointless to add anything after you succeeded :)). Add it before the .zip on original.

Sent from my SGH-I337
[Galaxy S 4 i9505 Original Android Development] tvhak:
thanks for lookong at it.

S4_Echoe_v12_30DEC2013.zip or ultra slim version of v12: Echoe_Rom_V12_ULTRA_SLIM_by_adl_&_Spevil.zip

Echoe_KitKat_v2.1_18DEC2013.zip

i used both versions of v12 to try. and with the full v12 i used the app you advised to remove some apps

kitkat and slim version are 500 mb

thanks

edit i just see there is a new version of echo kitkat/ the patch on pc worked. i just am afraid to flash it haha
[Galaxy S 4 i9505 Original Android Development] Bejda:
Hehe :) No need to say it went perfectly :good:

I was about to edit my Touchwiz primary rom updater-script and zip with the 5 system/bin files from your 20140102 nightly (my secondary rom btw), unless i make a mistake somewhere it should have worked fine theoretically?

We're not far from a patching process here hmm? :laugh: Possibility to patch our primary rom update zip could be something possible..?

I just wonder cause of course,again,it's not a big deal to flash again secondary rom there's not a lot of discussions about this but a lot of demands regarding how-to update primary...Both (preserve /system/dual + the perms thing) could be done the patcher-way?
[Galaxy S 4 i9505 Original Android Development] Houndcatcher:
I retried it having done what you suggested and it half worked :) I now get the same error I get using the App on the phone with this Rom :) So it's not my Syntax I'm sure :)

iMac:DualBootPatcher-4.0.0beta7-jflte phil$ /Users/Home/Documents/Android\ Root\ Stuff/S4\ i9505\ Root\ and\ Roms/Dual\ Boot\ Stuff/DualBootPatcher-4.0.0beta7-jflte/patch-file.sh /Users/Home/Documents/Android\ Root\ Stuff/S4\ i9505\ Root\ and\ Roms/Dual\ Boot\ Stuff/DualBootPatcher-4.0.0beta7-jflte/Gummy-2.1-01-03-14-NIGHTLY-jfltexx.zip
Detected official Gummy ROM zip
--- Please wait. This may take a while ---
Failed to extract boot image
iMac:DualBootPatcher-4.0.0beta7-jflte phil$
[Galaxy S 4 i9505 Original Android Development] gaww:
Just tried to patch updated [UPDATE 03 Jan][ANDROID 4.4.2][ROM][I9505] Echoe Kit Kat v.2.2 (OTA CUSTOMIZATION twice for Slot 1 with the latest app.

It went through the cycle looking OK, and after finishing it, there is not any file created. I did it the same with the earlier version, which is now on slot 1 and working good.

Does the patcher have to be updated to handle the ROM update ?
[Galaxy S 4 i9505 Original Android Development] DiDA™:
Thank You for this awesome mod!

Unfortunately, I'm having a problem. Everything went fine, I patched CM11 and gapps to DualBoot with TW and I flashed CM11 and it booted up successfully. Now I want to go back to my TW Rom but I can't seem to do it. It boots CyanogenMod every time...

I flashed the DualBootUtilities.zip and tried both booting from the first rom and the second rom but both of them still boot up CM11.

Have I done something wrong and replaced my TouchWiz Rom with CyanogenMod? I didn't even make a backup. :|

Someone enlighten me on this, Thanks! :)
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Did you set secondary kernel as secondary?

Try to reflash dirty your tw ROM. Set that as primary. Then switch to secondary reboot and set as secondary.

Sent from my SGH-I337
[Galaxy S 4 i9505 Original Android Development] DiDA™:
Thank you for this quick reply!

Yes, after booting the secondary ROM (CM11), I installed DualBootSwitcher and set the current kernel as Secondary ROM's Kernel.

Ok, i'll try flashing my TW ROM again but do you know an Official Site for me to download it? Kies can't connect to my device anymore because it says that it's not supported.
[Galaxy S 4 i9505 Original Android Development] Bejda:
It's while on your primary rom that you have to "set current kernel as primary",it's one if not the first step ;)

You should give precisions about the primary you were using,i bet someone will give link for a compatible custom kernel that you could flash through cwm.

That way I guess your phone will boot into primary rom again,I guess..
[Galaxy S 4 i9505 Original Android Development] dclarkg:
To download the original firmware from your carrier you'll have to go here http://www.sammobile.com/firmwares/2/ and search your Model/Carrier, you'll have to create an account to be able to download, you must use ODIN instead of KIES since it won't recognize unofficial ROMS
[Galaxy S 4 i9505 Original Android Development] DiDA™:
I've tried all possible combinations inside the Dual Boot Switcher app and DualBootUtilities.zip but my device still boots CyanogenMod.

I was running Android 4.3 with TouchWiz skin (I believe that's how you say it?)

Baseband Version: I9505XXUEMK8

Kernel: Stock TouchWiz kernel (It's different on CM)
[Galaxy S 4 i9505 Original Android Development] Bejda:
Check this thread for instance:

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

If I were you before downloading my whole firmware and all again I'd download the "touchwiz jellybean 4.3" version and flash it through recovery.

Let's see if your device boot into primary once done,if ok don't forget to set your current kernel as primary rom kernel while you're running your primary rom before anything.
[Galaxy S 4 i9505 Original Android Development] DiDA™:
Okay, It booted up TouchWiz now :cyclops:

I opened the Dual Boot Switcher app and set my current kernel as primary ROM kernel but after restarting, it boots CyanogenMod again. :confused:

EDIT:

I set CyanogenMod as my Secondary ROM kernel... and then chose to switch to Primary Rom from the DualBootUtilities.zip but now I get stuck on the Samsung Galaxy S4 logo.
[Galaxy S 4 i9505 Original Android Development] Bejda:
Stuck at s4 logo is probably not a real problem I'd say,it just happens with aosp rom on s4.

Try to force reboot with a long press on power button until it boots,sometimes several times.
[Galaxy S 4 i9505 Original Android Development] DiDA™:
Dammit! I'm getting tired of this..

Now that I have booted back on TW ROM, I want to remove the whole DualBoot thing so I can only have the TW ROM and it's stock Kernel. I'll give this a go again when i'm more used to Androids. :)
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Master [MENTION=4277844]chenxiaolong[/MENTION]

Quick question

When using dualboot utlitiles.zip in recovery, and going to primary - wipe /cache and wipe /davlik-cache

What exactly does it wipe?

Seems it may be wiping something more unexpectedly...

I used it to wipe cache and davlik, and apps like Astro file manager / Watzapp / Facebook Messenger all of their settings got wiped, had to re-setup...

seems so far just those above, but not sure, may be other apps as well.

Do they keep their config in /cache? usually when i use TWR wipe cache function it does not clear it's config.

EDIT: Oh and in your CM11 ROM, in the dialer, i still see 'search for nearby places' but when i type in a business name like best buy which is not in my contacts, it's not finding it.. it does search through contacts first no problem, but then blank if it's not in contacts... aslo after above wipe...

I did not re-flash CM11 ROM, will wait till tomorrow hopefully your builds are back up then..
[Galaxy S 4 i9505 Original Android Development] enotar:
After a lots of attempts with different ROM I decide this is not worst the effort as this never work so I just will forget about it.

Thank you anyway for the attempt. I hope someone can someday patch the Boot loader to achieve a real dual boot.
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
I dunno dude... Works just fine.. I'm sporting 4 ROMs at the moment

Absolutely no issues with patcher or switcher.

Sent from my SGH-I337
[Galaxy S 4 i9505 Original Android Development] gaww:
Found out my problem patching Echo Update was the internal SD had too little space left, as while it was patching a ROM on external to external, it must need the internal to process it. As soon as I freed up some space, it completed the patch.

The multi-boot tool is really great - had four going for awhile.
[Galaxy S 4 i9505 Original Android Development] tvhak:
i just can't get secondary rom to boot. maybe if use multi slot.

but i have realy no idea how to get a rom in multi slot. even do i used search...

hoping for some help
[Galaxy S 4 i9505 Original Android Development] Mussels84:
i too had this same problem. easiest to patch it on a PC and try that.
[Galaxy S 4 i9505 Original Android Development] gaww:
The OP page does not show multiboot instructions, and have not found a way to do it on PC, but with the app - it is easy.

You select the duel or slot number, select the ROM, and go. When you flash it, it will go to the position you selected when you patched. Don't like it - go to the tool and clear it out.
[Galaxy S 4 i9505 Original Android Development] tvhak:
okay thanks man going to try that..

edit: failed to patch every time.....?
[Galaxy S 4 i9505 Original Android Development] ShAdOw NiNjA:
What ROM are you trying to patch?
[Galaxy S 4 i9505 Original Android Development] kendragon:
is the compatible with this http://xdaforums.com/showthread.php?t=2377129?
[Galaxy S 4 i9505 Original Android Development] tvhak:
echoe kitkat 2.2

now trying 2.1 just thought about maybe 2.2 not suported jet.

edit 2.1 worked hoping it wil boot up in multislot because as second rom nothing will boot..... always hang on samsungs4 screen

thanks

edit yes it worked. he booted in multislot... yes finally. just hoping echoe 2.2 wil be supported soon
[Galaxy S 4 i9505 Original Android Development] Houndcatcher:
Mine sometimes stops at Samsung S4 screen after flashing a new Rom or update but often just pressing the power button once get's through to a full boot then next restart it works fine :)
[Galaxy S 4 i9505 Original Android Development] tvhak:
i tried that already but wont help. but it boots now in multi slot.

only echo kitkat 2.2 wont patch.
[Galaxy S 4 i9505 Original Android Development] illikkalshahid:
where is link for patch-file.bat please???
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! I'll fix that for the next version. The issue is caused by the Echoe devs naming the zips differently. They used to all be "Echo_Rom_...", but from the filenames you gave me, there's now "S4_Echoe...".

As for the newer version, if the patcher detects the file correctly (like if it says "Detected Echoe TouchWiz ROM zip"), then it should be safe to flash. It doesn't hurt to make a backup first though ;)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Oo, that a good idea :) I'll see if I can make a quick script to patch the primary ROM for upgrades.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Maybe there's something wrong with the Jan. 03 nightly. I downloaded the Jan. 04 one and it seems to patch just fine :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
For wiping /cache, it will look at every file in /cache. If the filename is not "dual" and if it doesn't begin with "multi-slot-", then it will delete the file/folder. For wiping dalvik-cache, it does nothing special. It just deletes /data/dalvik-cache.

As far as I know, there aren't any apps that keep their config in /cache (other than OTA updaters), so it's kinda weird that apps would lose their settings. If you wouldn't mind, you could try wiping cache and dalvik-cache again and choose the save recovery log option in the utilities? In the meantime, I'll try to reproduce it on my phone.

For the dialer issue, make sure that Google location reporting is turned on in the settings. Sometimes that gets disabled when cache is wiped or if the gapps is updated.
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
I will wipe cache and grab the log tonight sir. For the dialer it was location turned off after cache wipe. :thumbup:

Thank you!

Sent from my SGH-I337
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Yeah, the patcher needs free space a little bit more than the size of the ROM on the internal storage. Unfortunately, I can't do any processing on the external SD because the FAT32 filesystem doesn't support Linux permissions that's needed for modifying the kernel.
[Galaxy S 4 i9505 Original Android Development] tvhak:
if i use multi slot then it does boot and it all works great. its not working if i use second rom. it wont boot.

as for the new version of echo kitkat v2.2 it wont patch(multi slot) on phone.

it does patch on pc as second rom. but then it wont boot.

is there a ( easy)way to patch on pc as multi slot or is there a way to get it patched on phone

thanks for the great work
[Galaxy S 4 i9505 Original Android Development] Bejda:
To patch a rom as multislot* on windows you have to use the multiboot.bat in the useful folder.

[MENTION=3019752]gaww[/MENTION] ;)
[Galaxy S 4 i9505 Original Android Development] tvhak:
great thanks going to try that

edit

whahaha it worked. going to try to flash it

edit it works like charm thanks all
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
New beta release :) Changelog:

Rewrite mkbootimg and unpackbootimg in Python

No longer need binaries for Mac and Linux :)

Dumps everything from the original boot image so the ramdisk_offset and tags_offset parameters (and several others) can be auto-detected

Eases support for other devices since the necessary parameters don't need to be manually specified

Fix issue where defaults.conf can't be found when script is run from another directory

Add support for Smasher X

Add one more filename pattern for Echoe

(Phoenix and Duxter ROM support didn't make it into this release)
[Galaxy S 4 i9505 Original Android Development] gaww:
I patched that as multi slot and flashed ok. Used the 4 Beta app
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
I may have used up all my "call a friend" lifeline questions... But I have one more if I can::

I had multi 1 and multi 2 ROMs. I didn't want them anymore so I used dual boot utilities in recovery and wiped /system and all cache for both of them. That seemed to remove the ROMs.

1- is that the right way to delete not needed ROMs?

2- I seem to still have backup recovery .IMG files for both of the removed ROMs in /MultiKernels folder on my internal storage.

I tried to manually delete them but something is holding on to them and it won't let me delete...

Any ideas?

Sent from my SGH-I337
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
No problem, always glad to help :D

Yes it is. Starting from version 3.1 of the utilities, wiping /system will also delete the appropriate kernel file. http://d-h.st/users/chenxiaolong/?fld_id=24393#files

There's not much I can do to fix that (because the recovery sets permissions differently), but you should be delete those files in /data/media/0/MultiKernels/ using a root file browser.
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Thank you. I didn't go through /data/media/0 before but straight to sdcard. Going through above worked! Thanks!

Sent from my SGH-I337
[Galaxy S 4 i9505 Original Android Development] Houndcatcher:
Yeah I did the same and it patched fine both ways. So I guess the issue was the Rom not the patcher :) Cheers Chen :)
[Galaxy S 4 i9505 Original Android Development] alexxx87mi:
hi at all, i've got a problem...now i'm on omega v19 (debloated with enough space free) with ktoonsez kernel. i want to dual boot with the cyanogenmod m2 of the 04 of january. i patched boht files (rom and gapps) and installed them as secondary rom but phone won't boot. so i patched the anther time the fils as multi slot 1 but the phone won't boot again. i switched with dualboot utilities to the primary rom and phone boot correctly in omega rom. what can i do to let the phone boot in cm?
[Galaxy S 4 i9505 Original Android Development] Mussels84:
patch and manually install the correct kernel for your secondary rom? sounds like its not installing right.

also make sure you have enough free space, check in the dualbootutilities.zip if your space is showing as 0MB - happened to me when my roms werent slimmed down enough
[Galaxy S 4 i9505 Original Android Development] alexxx87mi:
i flashed also the ktoon 4.4 aosp patched kernel..is it correct?
[Galaxy S 4 i9505 Original Android Development] Mussels84:
the rom is going to come with a kernel of its own. install it first without ktoonz. if that doesnt work, the problem is not the kernel.
[Galaxy S 4 i9505 Original Android Development] alexxx87mi:
've just installed without kernel...doesn't boot...
[Galaxy S 4 i9505 Original Android Development] Mussels84:
then you're probably out of space. when that happened to me i had to wipe the phone clean (primary and secondary) and install them again, making sure they were under 1GB total (its what worked for me - two slim versions of the roms i was using. i dont know what the maximum size you can use is)
[Galaxy S 4 i9505 Original Android Development] alexxx87mi:
ok i will try..thanks a lot...
[Galaxy S 4 i9505 Original Android Development] Brandroid28:
Is the script for sharing apps still working for others? I've tried two different secondary ROMs, and using the script made it stall on the bootanimation. Wasn't frozen, but it didn't load the ROM. I had permissions set properly and set in the correct folder. Primary and secondary were also the same Android version.

US Cellular SGS4; Hyperdrive RLS11; KT Kernel Hydra Profile
[Galaxy S 4 i9505 Original Android Development] monkteo:
Just a little help !

I want to put MIUI secondary rom , patch the rom+gapps , but I ned another kernel for WiFi , I need to patch the kernel ?

and also I need to update the SuperSU for root and an MIUI Rebooted Script , how to ?

I am thinking , if I install MIUI with everything what I need and I make a backup and if I patch the backup can I install that ?
[Galaxy S 4 i9505 Original Android Development] Tunestwo:
Can this be used with stock rom or do i need to root it first to get acces to the changing proces?
[Galaxy S 4 i9505 Original Android Development] bastardociccio:
AOKP

can you add the support for

AOKP kitkat rom ?

http://xdaforums.com/showthread.php?t=2489481
[Galaxy S 4 i9505 Original Android Development] gaww:
Funny - I cannot find that folder in storage/emulate/0 ? I have hidden file and folders on.
[Galaxy S 4 i9505 Original Android Development] gravedigger76:
Are you on the latest beta of switcher app and did you re-save kernels from all ROMs?

Sent from my SGH-I337
[Galaxy S 4 i9505 Original Android Development] AnteusFogg:
I can't thank you enough, chenxiaolong, for this great work you provide.

Since I'm getting a Loki error on the Carbon KK unofficial I guess it's not supported yet? Or maybe I missed a step?

Here's the link:

http://xdaforums.com/showthread.php?t=2588745
[Galaxy S 4 i9505 Original Android Development] Bejda:
It's my multislot2 rom,if you wish for now you could just rename the zip. Just replace a "a" for a "i" will do the trick as,in the aokp family,"iokp_" is already supported.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
New beta release (this will be the last unless someone finds more bugs in the patcher) :)

Changelog:

Add support for most AOKP ROMs

Fix issue where Carbon KK is detected as Kangakat

[MENTION=1524741]bastardociccio[/MENTION]

[MENTION=5513357]AnteusFogg[/MENTION]