yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] franzyroy:
They're there now, I translated them. There are 5 strings in more.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Wow, you guys are guick! :D I just uploaded the new strings ~15 mins ago and they're already translated

EDIT: Busted my thanks button again ;)
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Frenh translation will be in the next ! ;)
[Galaxy S 4 i9505 Original Android Development] peppe130:
I've updated the Italian translation again ;)

---------- Post added at 00:29 AM ---------- Previous post was at 00:23 AM ----------

It's so late.. Goodnight guys ;)
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Too fast Chen ! You've already updated them !
[Galaxy S 4 i9505 Original Android Development] peppe130:
Deleted
[Galaxy S 4 i9505 Original Android Development] peppe130:
[MENTION=4277844]chenxiaolong[/MENTION] I found a bug.. The app can't stay in background.. For example: if I read a WhatsApp message while I'm patching a file with the Dual Boot Patcher, the patching process is aborted because the app in background is killed.. I'm talking about the latest snapshot release
[Galaxy S 4 i9505 Original Android Development] franzyroy:
[MENTION=4277844] chenxiaolong[/MENTION]

Few modified translations don't seem to have changed in french. Not the last strings, but some that I had already done before.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
I think the reason is due to fact I've only changed location of text. I reduced space for a better location.
[Galaxy S 4 i9505 Original Android Development] peppe130:
For me works perfectly.. I also reduced space for a better location
[Galaxy S 4 i9505 Original Android Development] franzyroy:
For me, the others times, it had also worked. But not for the latest.

I don't know why... I can't really check the reason due to my connection issue. I avoid to all consume my phone network.
[Galaxy S 4 i9505 Original Android Development] peppe130:
[MENTION=4277844]chenxiaolong[/MENTION] The patcher is also compatible with Note 3?

---------- Post added at 10:55 AM ---------- Previous post was at 10:38 AM ----------

Italian translation updated
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
I read here that individual app data sharing will come in a future release. Actually, on the latest version, non-individual app data sharing is available?
[Galaxy S 4 i9505 Original Android Development] peppe130:
App sharing yes, data not yet

Edit: for non-individual app sharing, you mean global sharing?
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Exactly, global sharing. But about app data, so not yet available
[Galaxy S 4 i9505 Original Android Development] Pump Ac7i0n:
Directions are in the OP under the How do I tab?

Switch the ROM if something doesn't work properly?

Flash DualBootUtilities.zip. You will get a menu allowing you to switch to the primary or secondary ROM.

Wipe /cache, /data, /system, or dalvik-cache?

Flash DualBootUtilities.zip. You will get a menu that lets to wipe the respective partitions for either the primary or the secondary ROM.

It's important to not use the recovery's built-in wiping functions because they may delete files needed for the secondary ROM.

Update the primary ROM?

Edit META-INF/com/google/android/updater-script so that it does not format /system or /dev/block/mmcblk0p16 (because the 16th partition is /system)

Flash DualBootUtilities.zip before updating the ROM and choose Wipe Primary /system. If the primary ROM is AOSP-based, you will need to reflash Gapps.

Make sure to set the kernel as primary in the Dual Boot Switcher app

Alternative: Just flash the update as normal and then reflash the secondary ROM. It's a bit tedious, but it works and you won't lose any files/settings.

Update the secondary ROM?

Just patch the new zip and flash it

Flash a mod or custom kernel for the primary ROM?

Just flash it :)

If it's a custom kernel, make sure you set it in the Dual Boot Switcher app

Flash a mod or custom kernel for the secondary ROM?

If it's a custom kernel, just patch and install it.

If it's a mod or some other flashable zip, see the "How do I patch a zip file manually?" section.
[Galaxy S 4 i9505 Original Android Development] filipefumaux:
Replaced with it and changed permissions to CHMOD +x

Using MAC too

Now I`m getting different error:

Failed to run command: "xz -d -k -f /Users/filipefumaux/Desktop/DualBootPatcher-1.15/scripts/../ramdisks/ramdisks.tar.xz"

Installed http://sourceforge.net/projects/macpkg/files/XZ/5.0.5/XZ.pkg/download

Got another problem:

error: unsupported page size 800
Failed to create boot image
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Negalite is now supported in version 1.16 :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
The script looks perfect, so maybe the update-binary file is too old. I suggest replacing the gapps one with one from any ROM's zip.
[Galaxy S 4 i9505 Original Android Development] Vaygr:
ROM Support Request

Thank you very much for sharing this great dual boot mod/app!:good:

I'm wondering if the following ROM can be supported in the future? (if not already supported)

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

If yes, can I install the AOSP ROM as the first one and this ROM as the second? And since this is a debloated TouchWiz, do I still need to clean up space in the system partition? (Currently my /system is at 481MB / 2.66GB)

Thanks in advance!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Could you try extracting the boot.img and running:

./unpackbootimg -i /path/to/boot.img

If that's failing, it might be that the unpackbootimg and mkbootimg binaries are too old. If you happen to have XCode installed, I could help you in compiling the latest version (just two commands) ;)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Intrinsic is now supported in version 1.16.1 :) If you've ever installed that ROM before, you probably noticed it took forever to flash. That's because updater-script was installing the same files 6 times. That's something they could improve on ;)
[Galaxy S 4 i9505 Original Android Development] kingzain900:
How long did it take you to flash the HTC One ROM? Mine is not loading anymore :(
[Galaxy S 4 i9505 Original Android Development] SilentEYE:
[MENTION=4277844]chenxiaolong[/MENTION]

Thank you very much for your work and support.

I just wanted to ask some questions:

1. In which way is the standard CWM working in reltationship with the 2 ROMs?

I think that every action I do in CWM I do affect the primary ROM.

So the backups and restores do affect only the primary ROM. Is that right?

2. Is there any way to backup secondary ROM?

3. Is there any way to restore any backup into secondary ROM?

4. Are there any performance differenes between the first and secondary ROM?

5. What do you like to drink? Starbucks, McCafe, Bubble Tea? I want to buy you a drink.
[Galaxy S 4 i9505 Original Android Development] schizovivek:
i updated the binary file to the binary file from the JellyBeer ROM i flashed .. still no GApps :( ..

any ideas whats going on? the 2nd ROM boots fine .. I have no issues but for the GApps :( ..
[Galaxy S 4 i9505 Original Android Development] mkhattat:
Fix Permissions

Hi

Thanks for your useful patcher.

I'm wonder how can I Fix Permissions from recovery for secondary rom or primary rom. I have installed a kernel and in the OP said: "Fix Permissions after flashing kernel" (http://xdaforums.com/showthread.php?t=2297379)

Cheers,

Mostafa
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Hmm...what if you used:

run_program("/tmp/dualboot.sh", "mount-system", "ext4", "/dev/block/mmcblk0p16");

instead of

run_program("/tmp/dualboot.sh", "mount-system", "ext4", "/dev/block/platform/msm_sdcc.1/by-name/system");

That will make the script mount the 16th partition instead of a partition named "system"

If it still fails, could you flash DualBootUtilities.zip and choose the Save Recovery Log option? That will copy the recovery log to the internal storage.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
You're welcome :)

Everything in recovery applies to both ROMs, including backups and any wiping operations. If you ever need to wipe any partition for a single ROM, you need to use DualBootUtilities.zip

The flash storage works similar to SSD's on computers. As long as you keep ~7% of the internal storage free, there shouldn't be any slow downs.

Anything :D Thanks for your support!
[Galaxy S 4 i9505 Original Android Development] NinjaOne:
Was really looking forward to this...

But when trying to patch Foxhound (I tried both 1.8 and 2.0) i get this error:

Error -3 while decrompressing: invalid distance code...

What's that?

(Using Windows 7 x64)

/NinjaOne
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Sorry, I should have mentioned I need the log right after you flash the gapps because the log is reset after a reboot.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
TriForceROM is now supported in version 1.16.2 of the patcher :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
It's now supported in version 1.17 of the patcher :D
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! The log says that dualboot.sh cannot be found. From your screenshot on your previous post (http://xdaforums.com/showpost.php?p=46175358&postcount=356), it looks like the zip has that file, but can you double check to make sure?

EDIT: I have a patched Gapps uploaded here if you want to get the ROM working first: http://d-h.st/XnS
[Galaxy S 4 i9505 Original Android Development] gaww:
Update on global app sharing glitches.

After apps like play store disappeared oe did not function correctly, I unchecked global sharing and rebooted. Most of the apps were gone (I left paid apps checked), and the home screens were pretty empty - BUT, play store and a few others were back and fully functional (this is a TW ROM, so they were part of the ROM).

I then rechecked global sharing, reboots - and they were back - but the above (including play store - which I believe is a system app) were gone. Took another reboot to get them back on the home screens.

I am wondering if individual app sharing is the only way to get around this, although I had run into glitches with it earlier.

Chen - the above is only to share information and not a complaint. You are progressing on overdrive on this project and my old bones can hardly keep up with you - lol.

On a serious note, you are one of the youngest but also one of the most mature Dev's around here. No wining about not getting enough thanks, donations , etc. and getting mad and taking your bat and ball home as I have seen on these threads many times over the years.

You just keep your head down and move on down the road. Plus - you really seem to enjoy it a bunch - good for you.
[Galaxy S 4 i9505 Original Android Development] iyahman:
Not a real problem but for me the latest snapshot apk fc with landscape mode when I'm on the individual apps sharing menu.
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
I would love to know this also [MENTION=4277844]chenxiaolong[/MENTION] because when i used on my sisters S4 i saw the Hlte option :eek:

---------- Post added at 11:11 PM ---------- Previous post was at 10:37 PM ----------

Can someone patch this Note 3 boot.img for me? https://db.tt/e5lJlxPE
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Once I fix the background crashing issue and release 8.1.0, let's work on this :)
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Woohoo!!!!!! Yesss soo oglad to hear this
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Chen -I think there is a pressing issue with primary ROMs losing ability to switch on WiFi after a few boots/some time. I reported it a couple of days ago but my post seems to have been overlooked. I thought maybe it was a tw issue. But [MENTION=1011179]Technical[/MENTION] has reported the same problem using slim.

Please could you have a look for us and see what's going on/wrong. Please let us know what you need us to do to help trouble shoot.

Many thanks for all your awesome work too, I have the same problem as you and my thanks button keeps breaking lol.
[Galaxy S 4 i9505 Original Android Development] sronweb:
I'm not sure if already reported but since few days (I guess latest 10 snapshots!) I need to update the ram disk in order to use the app sharing feature. Otherwise it appear in grey. If not normal or needed I may provide some log. Thanks
[Galaxy S 4 i9505 Original Android Development] Shanks:
Same here, i update ramdisk, everything works after reboot, if i reboot 1 more time i gotta update ramdisk once again and so on
[Galaxy S 4 i9505 Original Android Development] 012512:
Guys. Pardon me but I can't install a secondary kernel for my secondary rom (slimkat). I flashed the alucard aosp kernel and patched to the secondary rom and now the device won't reboot on the secondary rom. It seems fine from the primary rom. Before flashing the kernel at secondary rom, the rom boots fine but upon booting, the phone is lagging. perhaps it was the cause of thr kernel because it was setup for a TW kernel? Alucard TW. My primary rom was Imperium.

Can somebody help me with this tiny issue?
[Galaxy S 4 i9505 Original Android Development] gaww:
having a little problem following your writeup above. Did you first patch the alucard aosp kernel successfully as a secondary kernel ?

Did you also flash a primary alucard TW unpatched kernel after you had previously flashed slimkat ROM ? The reason I am asking this is if cache was wiped when you did so, your secondary ROM would be gone, and flashing a patched kernel would not get secondary to boot - no ROM.

If your primary is working OK, try reflashing slimkat and the patched aosp kernel at the same time.
[Galaxy S 4 i9505 Original Android Development] 012512:
Haha oh sorry for my grammar. I was on a hurry typing because I was preparing my things for a trip. Good thing that you understood it. Thanks.

I will try your suggestion.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
On the latest snapshot (r64), I've a FC if I do a back when I'm in "ROM settings".
[Galaxy S 4 i9505 Original Android Development] sronweb:
Have you patched the kernel as seconday, right? Are you using the Alucard AOSP version 2.6.9x?
[Galaxy S 4 i9505 Original Android Development] Bejda:
Not on my side on primary,secondary and multi1 (all CM/aosp).

Try to clear app's data and if still happens a log may help to know what's up, app's bug or something else.

---------- Post added 8th August 2014 at 12:04 AM ---------- Previous post was 7th August 2014 at 11:24 PM ----------

Maybe there's something but it didn't happened to me yet, at the moment my primary rom is a more or less up to date CM nightly (so rather frequently updated and up to date right now).

What would help i guess would be to tell if it happens on a primary-upgraded rom but mainly to check when it happens the version or even the date of the currently installed kernel to be sure it matches the currently running build because usually when such thing happens it's often due to a kernel><rom's system/lib/modules/files mismatch.

Related or not to patcher/primary-upgrade the issue is probably on kernel side.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
OK - thanks - I think I updated the primary with one of the early primary patcher apps with this ability.

Not realy sure what to do other than flash primary again - I think I might try with newest snapshot to patch it then update again and see what happens.
[Galaxy S 4 i9505 Original Android Development] 012512:
Yes I was patching 2.6.9x. Still can't get it working. If I don't install a secondary kernel, the phone will lag when booted on the secondary rom. ?

---------- Post added at 07:46 AM ---------- Previous post was at 07:33 AM ----------

@chenxialong

Please support this ROM? It fails when flashing. Patching process is fine though
[Galaxy S 4 i9505 Original Android Development] Technical:
Tested again TW ROMs as secondary without luck. Goldeneye and Purified failed to load.

I bet on Kernel issues (none of the internal kernels boot nor KT patched).

But I manage to install SHOStock. Only 125Mb left on system partition, what makes me think it will be a space issue with other ROMs.

Anyway, TW is not for dualboot for me. I don't want it as primary ROM.
[Galaxy S 4 i9505 Original Android Development] chillje:
Thx for this nice tool.

With dual boot i actually test a PA as second boot option. Now i will test a MIUI rom (V5). Any tipps which version works with dual boot?

thx
[Galaxy S 4 i9505 Original Android Development] 012512:
My mistake mate. ktoonez and Danz Rom isn't supported at all. Been trying to patch but I got errors.
[Galaxy S 4 i9505 Original Android Development] m2millenium:
IMPERIUM 9 and OMEGA 35 issues

When I try to patch the last IMPERIUM 9,0, there's an error saying name 'device' not found.

Is it a problem of the ZIP?

Can I solve it manually?

Besides, I've successfully patched the OMEGA v35, but when installing it via recovery, it's ther w/o being rooted. Is it normal? Does it need to be patched by you?

Thx
[Galaxy S 4 i9505 Original Android Development] peppe130:
[MENTION=4277844]chenxiaolong[/MENTION] An Italian user suggests to add a dark UI in Dual Boot Patcher.. What do you think about? :)
[Galaxy S 4 i9505 Original Android Development] Technical:
I'll ask again the injection of the .apk file of the app when a ROM is patched.

Right now, we need to install the app after we boot the ROM.
[Galaxy S 4 i9505 Original Android Development] sronweb:
Agree. Better marriage with AMOLED display!! :good:
[Galaxy S 4 i9505 Original Android Development] omnifarious:
I get an error when I try to patch SuperSU.

Latest snapshot and stable. Newest version of SuperSU and latest previous build.
[Galaxy S 4 i9505 Original Android Development] sronweb:
FYI: apk version is available on play store instead of zip.

http://xdaforums.com/showthread.php?t=1538053
[Galaxy S 4 i9505 Original Android Development] peppe130:
You need a specific patch file to patch the SuperSu because its updater-script is empty. The whole script is written in the update-binary
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Oh, I run Dan's ge with googymax3 no probs, maybe use that build for the time being and patch latest KT separately and flash that over.
[Galaxy S 4 i9505 Original Android Development] jthrasher47:
I've got just that... Love the xposed module "holo themer" it can make a dark ui in most apps
[Galaxy S 4 i9505 Original Android Development] v00d007:
Maybe I'm wrong, but my experiences showed me that when a rom is deodexed AND has got a SUPPORTED kernel, then it works with almost every rom. You can put a sup. kernel in a rom zip and delete the one inside. Or you flash a sup. k. right after a recovery reboot.
[Galaxy S 4 i9505 Original Android Development] animelover:
I wonder if you could add new devices like my newly won Galaxy TabPRO 8.4. Would love to be able to dual boot CM11 alongside TouchWiz like I do on my beloved Galaxy S4, which shines in a new light thanks to you. :D
[Galaxy S 4 i9505 Original Android Development] Technical:
Is there anyone using Delta updates for ROMs patched with Dual Boot tool?

CM, Nameless and any other with this app (http://xdaforums.com/android/development/tool-deltajen-t2839999) can use Delta updates and I want to know how to patch these files. Thanks.
[Galaxy S 4 i9505 Original Android Development] v00d007:
hey, what a cool combination! I'm just up to buying a TabPro 8.4 too...
[Galaxy S 4 i9505 Original Android Development] gaww:
Most of the time, it is a space issue when you are trying to flash a patched TW. When you flash one in secondary, primary, or multi and it locks on boot, if you go to the tool in recover, it will probably show /system is full, or cache if you are trying multiboot.

I don't know how many ROMs you are running, but you can get a debloadted TW up in multi - I have a TMo TW there (with WiFi) calling. It takes up most of cache space, so can only run 2 others (primary & secondary), but that is plenty for me.

I had 5 up at one point, but really did not use most of them much - just wanted to do it.
[Galaxy S 4 i9505 Original Android Development] Technical:
Indeed. But I have already chosen: I'd like more my apps than TW interface. So I'll keep the AOSP + apps instead of losing all space with TW.
[Galaxy S 4 i9505 Original Android Development] gaww:
Was not talking to that at all. Just saying if you for whatever reason try to install TW as a non-primary ROM, you HAVE to deal with the space issue.

In your case (not clear on why, based on your comment above, you are still messing with TW), fill your AOSP with all the apps you want, data share with TW if you want them there also, but debloat the TW extensively (system apps) so it will fit. I did so to mine, as I was most interested in maintaining WiFi calling.
[Galaxy S 4 i9505 Original Android Development] sronweb:
As I know from my experience Shostock is one of the few TW rom (or maybe the only one) which can be installed as primary. I have it on my phone and I have CM11 as secondary. But my real primary rom is cyanogen for my daily use.
[Galaxy S 4 i9505 Original Android Development] HampTheToker:
I have The Sickness' Insane Kit Kat installed as primary with zero issues that I've noticed using 8.0 patcher. I have every rom slot filled as well. Danvdh's GPE in dual, Task650 in multi 1, Carbon in multi 2, and CM11 M9 in multi 3. I have about 250 Mbs free in /system and over 500 Mbs in /cache.

I haven't tried using any other TW rom as primary.
[Galaxy S 4 i9505 Original Android Development] Technical:
I've taken all debloated TW Roms using external debloaters or following the stripped way via Aroma installer.

I'm sure I got no Samsung apps at all... The only one that worked is SHOstock, but it has a slower developing (still on 4.4.2) and I keep very small free space for system. I'm asking for trouble if I go further...
[Galaxy S 4 i9505 Original Android Development] v00d007:
wow! how much gigabytes has your s4 built in?? 32?
[Galaxy S 4 i9505 Original Android Development] gaww:
That will not impact anything with respect to the above, unless you physically ran out of internal disk space. All the above is a function of the partitions available and the sizes of the ROMs and GAPPs you put in them (their data is restricted to how much total space you have though).

I had a similar setup running and my internal is only 16GB.
[Galaxy S 4 i9505 Original Android Development] omnifarious:
I'm running 3 TW and 2 ASOP roms: Phoenix, Sickness V9, Imperium, Pure ASOP 4.4.4, and SlimKat.
[Galaxy S 4 i9505 Original Android Development] gaww:
Did you have to pare all the tw's down a lot - how big were the zips ?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks, that means a lot to me! I really have to thank everyone here in this thread. We're up to 383 pages now and everyone is still so nice and helpful; debugging issues when I'm not around, explaining things to people new here, giving suggestions on how to improve the project. Without you guys, this project surely wouldn't exist. You guys are what make this place so awesome :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
This should be fixed in the latest snapshot (8.0.0.r74.g7a25ddd) :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Hmm, I think that might be related to the bootloader. If that ever happens again, could you try taking out the battery and then booting it back up again?

EDIT: Another thing that could cause this is if the kernel wasn't set after an update. The kernel modules (drivers) are installed to /system/lib/modules and their version has to match the kernel.