yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! It flashed just fine for me using in-app flashing. Just wondering, were you using IAF from the ported Lollipop TouchWiz ROM? If you're on that ROM and using the KT kernel (both original and brightness-fix-patched), there are issues where root commands hang for a couple minutes and then just fail. You might to flash a stock kernel to avoid that issue or set SuperSU to always allow.

Stock kernel for INTL port: https://noobdev.io/visionx/N910FXXU1BOC3_Patched.zip

Stock kernel for Canadian port: https://noobdev.io/canada/Kernel_N910W8VLU1BOC4_Patched.zip

I have no idea why it's only happening on AxAtAx's builds. I'm running my own build extracted from the Odin stock image and I have no issues: http://xdaforums.com/note-4-tmobile...nstruction-t3066794/post59860803#post59860803
[Galaxy S 4 i9505 Original Android Development] todivefor:
The last log was in the correct place. I will keep an eye on it.

The not-quoted path problem was fixed. Works fine now.

Sorry, but my report "I tried in-app flashing and get message need to patch with some beyond 1063" was user error. I had two versions of the patcher and used the wrong one.
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
I thank you very much as that is exactly it :D I was thinking myself about starting up a ROM. Haven't put one out since the N3. Super Debloated Stock. Will try your idea before work and see what happens
[Galaxy S 4 i9505 Original Android Development] todivefor:
Anyone run AntaresOne CM 12.1, http://xdaforums.com/galaxy-s4/i9505-orig-develop/exclusive-antaresone-alucard24-s-t3066696? Will mandatory system f2fs cause problems with dualboot or the other dualbooted roms? I would like to install in slot-1.
[Galaxy S 4 i9505 Original Android Development] gaww:
build.prop issue

I am suing a 5.0.2 TW by [MENTION=3444472]able95[/MENTION] and it has device=zeroflte, and Duelboot app would not switch ROMs because it did not recognize it. I change it and related settings back to S4 settings, and to fixed the issue, but don't know yet if this will impact the ROM's S6 ported mods.

Could you add trltexx ( and zeroflte?) to the whitelist of the patcher?
[Galaxy S 4 i9505 Original Android Development] flexxoo:
First Thank you for your amazing work.I want it to ask you if is possible that when we patch the roms in your app that you can also fix the .prop location for the note 4 when is patching so like that we just patched and that's it I also would like to know if is possible to make dual boot when the phones start?

Thanks again!!
[Galaxy S 4 i9505 Original Android Development] v00d007:
I tried to get it work as 2nd rom with 1st is Echoe-Rom v45 (TWz). Couldn't get it boot correctly. Without flashing a custom kernel it doesn't even pass the 1st screen. So i flashed alucard LP5.02 kernel v1.1a and it booted up but then nfc module crashes followed by infinite bootloop... Patching done with 911, 1072, 1074, all no success.
[Galaxy S 4 i9505 Original Android Development] todivefor:
Thanks. Would have taken same approach.
[Galaxy S 4 i9505 Original Android Development] JhoonB51:
I loaded [MENTION=5464206]AntaresOne[/MENTION] CM 12.1 (20150403) successfully in multi-slot-2 as i have 3 other roms: [MENTION=5804776]Kushan02[/MENTION] TW Lollipop as primary, CM-12 Official as dual and [MENTION=5464206]AntaresOne[/MENTION] Optimized 5.0.2 in slot-1. So far there appears to be no adverse affects, however I may need to debloat the TW rom as I have very little space left i system. See attached screenshot...
[Galaxy S 4 i9505 Original Android Development] todivefor:
Did it format system as f2fs? Did you have to flash a kernel? Last question, what TW lollipop are you running? I run SACS TW kit-kat as primary.
[Galaxy S 4 i9505 Original Android Development] v00d007:
And with which patcher version did you patch the rom.zip? How did you install, via patcher or with recovery?
[Galaxy S 4 i9505 Original Android Development] JhoonB51:
No I did not format f2fs. I did not have to flash a kernel. I am running [MENTION=5804776]Kushan02[/MENTION] TW Lollipop v4.0...it should all be in screenshot. I used to run Sac's as well but support dried up.

I used r1051 and patched on my phone. I patched & did in rom install, one of them i forget which now..I think AntaresOne 12.1 (last slot-2) it sort of hung or i got impatient and installed from recovery.
[Galaxy S 4 i9505 Original Android Development] todivefor:
What kernel did you flash?

Edit: Misread did not flash kernel.
[Galaxy S 4 i9505 Original Android Development] JhoonB51:
I did not have to flash any kernels for dual, slot-1 or slot-2 as we have had to do is some of the past builds.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for the info! "trltexx" has already been added to the whitelist (I don't remember which version). I'd rather not add zeroflte because that's the S6's actual codename and I wouldn't want it to be recognized as an S4. The developer of the ROM should probably change the build.prop file to say jflte.
[Galaxy S 4 i9505 Original Android Development] Houndcatcher:
I tried too and it all patched OK for Multislot 3 but I get booted back into recovery if I try to boot into it. I've not tried flashing a kernel over the top yet.
[Galaxy S 4 i9505 Original Android Development] todivefor:
In the past, it has sometimes been necessary to flash a kernel after flashing a rom. As a result, I like to have a flashable kernel available. I asked for a flashable kernel in the AntaresOne 12.1 thread. See http://xdaforums.com/showpost.php?p=59911957&postcount=289. If I were to flash a secondary and it doesn't boot, could I move the extracted boot.img to /sdcard/multiboot/slot, boot a working rom, go to patcher app and select my new rom to make it work?
[Galaxy S 4 i9505 Original Android Development] v00d007:
Definitely no, because since aroma was integrated in the patcher the kernel (boot.img) isn't patched for a specific slot anymore. So this trick i used many times too doesn't work anymore. [MENTION=4277844]chenxiaolong[/MENTION] maybe should re-integrate an option to patch a kernel for use in a specific slot.

---------- Post added at 05:35 PM ---------- Previous post was at 04:55 PM ----------

I recognised that in that case the data folder of that rom was empty.
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Running lollipop touchwiz 5.0.2 and 5.1 AOSP and its great Note 4
[Galaxy S 4 i9505 Original Android Development] sronweb:
I had the same experience trying to flash CM12.1 as multislot 1 as replacement of CM12 but it does not boot.

I tried to set the kernel and the rom but no success on reboot. I'm forced to stay with CM12 for now and and Echoe rom as primary.
[Galaxy S 4 i9505 Original Android Development] Technical:
Are you trying to flash the enhanced versions of CM12.1? Some of them are set to f2fs as /system file system. Maybe this is an issue? Who knows...
[Galaxy S 4 i9505 Original Android Development] sronweb:
Yes, you are right. It might be the problem. I should format the memory and then flash again also the primary rom basically. I guess that restoring of previous backup would be not possible. Also the primary rom Echo I guess is not compatible with f2fs then making more complicate.

Basically my target would be to have together CM12.1 rom with a Sammy rom. Perhaps I should wait for the official CM12 update which should not require f2fs format change.
[Galaxy S 4 i9505 Original Android Development] JhoonB51:
it might be possible to already have cm12.1 and sammy rom together..see here:

http://xdaforums.com/showpost.php?p=59897543&postcount=5526
[Galaxy S 4 i9505 Original Android Development] sronweb:
Thank you!! Sorry, I have seen the discussion some pages back!
[Galaxy S 4 i9505 Original Android Development] Technical:
How many apps do you have installed? I can barely have a 2nd ROM... No room for nothing...
[Galaxy S 4 i9505 Original Android Development] jpeps:
Any way to run android from SD card they did it on HTC back in the day HTC windows phone and ran android from sdcard
[Galaxy S 4 i9505 Original Android Development] sahbin:
What am i doing wrong !!!

I am using the latest 1077 snapshot to dual boot cm12 with stock TW boc3 lollipop. My device is SM-N910F 5.0.1 stock TW lollipop N910FXXU1BOC3. I succesfully patch the rom with dual boot patcher but when I try to flash it in app I get this error "this package is for device: trltexx, trltedt; this device is trlte" failed to run real update-binary,.... I also tried dual boot app from [MENTION=3145598]rlorange[/MENTION], the rom shows under dual but it doesn't do anything when I tap on it.

Edit: I flashed simplrom v3f no improvement still the same :(
[Galaxy S 4 i9505 Original Android Development] JhoonB51:
I have only 211 apps in my TW primary, had to debloat after install not much room left, now have 354mb free in system, 793mb free in cache.
[Galaxy S 4 i9505 Original Android Development] lukas77:
Hi Chen,

Could you add d850 and d851 codenames for LG G3? Patcher works with this devices but switching ROMs not.

Thank you
[Galaxy S 4 i9505 Original Android Development] sronweb:
I have patched Kushan02 TW Lollipop 4.0 rom , then wiped all on primary rom (Echoe) and then flashed using the "update primary" option.

But then I get reboot on Samsung logo. I have tried to debloat the rom using aroma zip and I have more then 2 Gb free space.

If I understand correctly we need to flash also the kernel again to have the primary rom booting?

I know that installing without patcher will format the other slots which means I should reflash all again? What is wrong in this procedure?
[Galaxy S 4 i9505 Original Android Development] rlorange:
OK guys I've incorporated re-patching for specific ROM slots for Note4 users especially. Easier method you choose your file and it will generate the patch in the location the file resides in.

ONLY repatching and Dual backup and restore are supported atm with no checks really so please check the tarz it creates.

TEST ONLY PM ME YOUR OBSERVATIONS OR FAILURES

Of course TWRP backup to be sure.

Also remove dual rom should work too

Edit sorry that one was broken

Try this

https://www.dropbox.com/s/il7pq1cv4btt6q6/Multboot_Backup_Restore.37_sign.apk?dl=0
[Galaxy S 4 i9505 Original Android Development] sronweb:
Hello' does make sense to test it on Samsung S4 I9505? Thanks
[Galaxy S 4 i9505 Original Android Development] sahbin:
I am having problem with the procedure. Can anybody help me ?: videos below

Dual boot app

Multiboot app
[Galaxy S 4 i9505 Original Android Development] rlorange:
Sorry that last one was bunk

Rlbbox wouldn't install try this instead

OK guys I've incorporated re-patching for specific ROM slots for Note4 users especially. Easier method you choose your file and it will generate the patch in the location the file resides in.

ONLY repatching and Dual backup and restore are supported atm with no checks really so please check the tarz it creates.

TEST ONLY PM ME YOUR OBSERVATIONS OR FAILURES

Of course TWRP backup to be sure.

Also remove dual rom should work too

Edit sorry that one was broken

Try this

https://www.dropbox.com/s/il7pq1cv4btt6q6/Multboot_Backup_Restore.37_sign.apk?dl=0

---------- Post added at 03:21 AM ---------- Previous post was at 03:17 AM ----------

Probably redundant since AROMA works

Backup and restore however is very handy
[Galaxy S 4 i9505 Original Android Development] flexxoo:
Still doesn't work
[Galaxy S 4 i9505 Original Android Development] todivefor:
Patcher r1076 Windows, Sprint variant. Installing AntaresOne CM 12.1 (cm-12.1-20150403-OPTIMIZED-jflte.zip). Patcher recognized as CM and patched successfullky. Patched Gapps (gapps-lp-20150314.zip), not recognized. Patched custom, no boot.img. Patched successfully. Ran in-app flash to slot-2. rebooted. Samsung logo, bluelight, Samsung logo, recovery. Ran dualboot utilities slected dual (CM12), "There's no kernel for seondary rom." DB utl, switch to Primary (Sacs TW 4.4.2), rebooted fine. From dualboot app switched to dual (CM12) rebooted fine. From dualboot app switched to slot-2. Switched fine, but did not boot as before. Tried flashing from recovery. Exact same results. I have the multiboot.log from both if they would be of any use. I have not wiped slot-2 if i can gleam anything from it.
[Galaxy S 4 i9505 Original Android Development] sronweb:
+1

Same experience on S4.
[Galaxy S 4 i9505 Original Android Development] v00d007:
Well, this backup solution seems to be a really cool idea. But isn't there one disadvantage: when there's, for some reason, no working android system available/bootable, isnt then a solution via recovery/aroma like the old one needed??

Edit: i also tested the beta on S4 jflte now. When trying to backup, i.e. dual, it shows the correct properties but when initiating nothing seems to happen at all... :/
[Galaxy S 4 i9505 Original Android Development] todivefor:
Maybe someone smarter than me can shed some light on this. Attached is my multiboot log from the in-app flash. I just tried booting slot-2 (CM12.1) again and captured the last_kmsg from this boot.
[Galaxy S 4 i9505 Original Android Development] rlorange:
OK I'll look into it
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Done :) 8.0.0.r1079.gfdacce7 should be available soon.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
We only need it on the Note 4 because the AROMA selection screen does not work on the Adreno 420 GPU.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for the logs! The last_kmsg log somehow got truncated, but I've got an idea of what's going wrong. The automatic reboot to recovery happens when the dual boot program can't mount the partitions, so I'm guessing the latest F2FS changes in AntaresOne CM are causing issues. I'll take a look at it tonight to see if I can come up with a quick fix.
[Galaxy S 4 i9505 Original Android Development] ktetreault14:
Can you add trlteCAN to the N4 codenames please :D
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
It should already be there :D https://github.com/chenxiaolong/DualBootPatcher/blob/master/libmbp/patcherconfig.cpp#L429
[Galaxy S 4 i9505 Original Android Development] flexxoo:
[MENTION=4277844]chenxiaolong[/MENTION]

First Thank you for your amazing work.I want it to ask you if is possible that when we patch the roms in your app that you can also fix the .prop location for the note 4 when is patching so like that we just patched and that's it I also would like to know if is possible to make dual boot when the phones start?

Thanks again!!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
I'll consider adding something to fix the info.prop :) For the boot menu, I hope to implement that in the future. The developer of the AROMA installer is making a really nice graphics framework called libaroma that should make this easy to do, but it's not quite complete or stable yet.
[Galaxy S 4 i9505 Original Android Development] xocomaox:
This worked great on my LG G3 (vs985). Thanks so much for the hard work!
[Galaxy S 4 i9505 Original Android Development] flexxoo:
Thanks
[Galaxy S 4 i9505 Original Android Development] todivefor:
Someone reported success with r1052. For kicks and giggles, I gave it a try. Patched with windows and flashed in recovery. It worked! Now going back to flash gapps. To recap r1076 doesn't work r1052 does.
[Galaxy S 4 i9505 Original Android Development] Grumpy Bastid:
Yesterday's snapshot works great on my D850. Thank you!
[Galaxy S 4 i9505 Original Android Development] monkteo:
So TW primary and Antares 12.1 secondary or multislot1 with 1052 will work ?:good:

I must try this tonight .:laugh:
[Galaxy S 4 i9505 Original Android Development] todivefor:
TW primary, jfltespr 12.0 dual, GPE slot-1, AntaresOne 12.1 slot-2. Only 12.1 patched with 1052.
[Galaxy S 4 i9505 Original Android Development] rlorange:
Ok sigh...

Please try this version anyone and everyone...

I've included patching for note4 aroma bypass but this time you can choose the file with my crude but working file browser.

Rlbbox detecting and installation should be fixed.

Backup restore delete rom and delete data should all work as well for dual only for the time being.

I can't test multi slots since the cache partition won't hold a ROM it's too small lol

https://www.dropbox.com/s/3c6m92ekoadjv2d/Multboot_Backup_Restore.44_sign.apk?dl=0

---------- Post added at 02:52 AM ---------- Previous post was at 02:50 AM ----------
[Galaxy S 4 i9505 Original Android Development] monkteo:
Yes it's working , i just installed as multislot1 without no extra kernel.

THX
[Galaxy S 4 i9505 Original Android Development] flexxoo:
It fails to install quick question, when you testing this app are testing it in touchwiz or cm12 because maybe that's why is not working for some people because your other app works perfect in cm12 but not in touchwiz
[Galaxy S 4 i9505 Original Android Development] shadowcliffs:
The link to dualbootutilities (DualBootUtilities-4.0-snapshot1.zip) on https://snapshots.noobdev.io is dead. Anyone has a mirror to it?
[Galaxy S 4 i9505 Original Android Development] rlorange:
You must uninstall three old one it's just a signing mismatch
[Galaxy S 4 i9505 Original Android Development] flexxoo:
Unistall what? Sorry I'm not understanding can you explain
[Galaxy S 4 i9505 Original Android Development] rlorange:
Uninstall the old version assuming you have it already installed.
[Galaxy S 4 i9505 Original Android Development] flexxoo:
That's what I did but it doesn't work is giving me a error about rlb custom binary failed and not installing
[Galaxy S 4 i9505 Original Android Development] rlorange:
Argh yeah it's not installing on tw grr I'll fix it just a minute
[Galaxy S 4 i9505 Original Android Development] todivefor:
I get the same messages I always get on Ribbox install "Invalid installation or outdated version." Then it looks like it installs. I have backed up dual. Does it backup to /sdcard/raw/... ? What's in there does not look like your old backup data.
[Galaxy S 4 i9505 Original Android Development] rlorange:
https://www.dropbox.com/s/84a9vjulo2zcdcf/Multboot_Backup_Restore.46_sign.apk?dl=0

Ok this should fix it!

You can choose to backup to either internal or external SD.

Your backup archives should look like this

---------- Post added at 05:36 AM ---------- Previous post was at 05:25 AM ----------

I've just backed up and restored my secondary ROM cm12remix a half dozen times. First boot is a bit rough but it settles in within a few minutes
[Galaxy S 4 i9505 Original Android Development] Bejda:
It's hard to find better words than what stated in OP,really :o

Ask us about some points more specifically maybe..then we may find a way to start answering..

What is your understanding of, let's say, point 3 for instance?

"Remove some bloatware" means ,if you're running a stock/full Samsung firmware ,to go with a root file manager under /system and remove some stuffs (mainly /system/app/***.apk) you're sure you won't need.

To give an example mine were S-health and story widget for another rom's system + gapps fits under the 2.7gb we have on /system partition.

I checked first the place left I had under /system with my full touchwiz custom Rom.

I extracted the aosp rom I wanted to flash as secondary rom,did the same for gapps,and checked their system size.

Did the maths.

It was too much,then I guess I only removed the two mentioned apk's for secondary rom and gapps fits into place left under /system.
[Galaxy S 4 i9505 Original Android Development] smar:
Shared apps?

Hi [MENTION=4277844]chenxiaolong[/MENTION]

Thanks again for such a useful tool!

You mentioned in an earlier post that it was relatively straightforward to share user apps between the roms. Can you tell me is this just a case of making the appropriate bindings in dualboot.sh, or is there anything else that has to be considered?

(Space has become very tight on my /data partition - now down to less than 500Mb!).

Many thanks.
[Galaxy S 4 i9505 Original Android Development] Hecatrice™:
then .. I managed to install the second rom but I have a continuous crash of various applications and system...I think it is caused by the fact that there are applications are in conflicting.

Now ... the point 3 .. if I start from a stock rom what should I change?

point 4...What do you mean patch the rom? I did like in the picture before bringing the rom (jamal's goole edition) but nothing happened..so I tried with the kernel .. and this time it's gone but when I try to install the phone stops at the inscription galaxy s4 and I have to reinstall the kernel unmodified (I do not know why dualBootSwitcher see 2 kernel and 2 rom).

point 6...what file i flash?:rolleyes::rolleyes::rolleyes::rolleyes::confused:

ps1. sorry for my english...:eek::(

ps2 I hope I explained myself better

thank youuu
[Galaxy S 4 i9505 Original Android Development] mkhattat:
I managed to share my apps (only apps and not data's) by putting a script in the /etc/init.d folder of the secondary rom (of course if your secondary rom supports init.d).

This is only two lines script :)

#!/system/bin/sh

mount -o bind /raw-data/app /data/app

It simply mounts the user apps folder of the primary rom(if your apps are in the sdcard) into the user apps folder of the secondary rom. And don't forget to change the permissions.

PS: I tried to mount also user data by making a blacklist for system apps, but no success. I appreciate any help to share the user data's.

I hope it helped you :)
[Galaxy S 4 i9505 Original Android Development] Sushibagel:
Thanks for sharing this script I'm gonna have to give it a go. As soon as I finish backing up. :D

You said to put a script in /etc/init.d so do I just create a text file with that in it? Does it need to be named with a specific file type? Thanks again.

Edit: Managed to do it without breaking my phone! Lol

For any others attempting it just don't forget to set the permissions. I forgot at first do it didn't work right away.
[Galaxy S 4 i9505 Original Android Development] 13silencer13:
Is wicked v7 supported as primary rom with ktoonsez 4.2 tmobile tw and how do I ask for support for blackbox 4.2 tw rom and I can have both rom tw right primary and secondary thanks in advance
[Galaxy S 4 i9505 Original Android Development] smar:
That's great - I was in fact wondering whether a simple bind in init.d would work, but wasn't sure at what stage in the boot cycle init.d was processed. Thanks for confirming - much appreciated!

For sharing the user data, what did you try that didn't work? i.e. how did you blacklist the system apps?
[Galaxy S 4 i9505 Original Android Development] mkhattat:
Good to see it worked.

Thanks! I tried to mount /raw-data/data/the-name-of-the-folder into /data/data/the-name-of-the-folder . But actually after restarting the phone, the app disappeared from the secondary rom.

Maybe I did something wrong.

PS: for the blacklist: I made another script to detect the system apps (I don't have it now. And to be honest it didn't work very well. I had to control the list manually), so it didn't mount the system data and ignored them. But I didn't use it cause the main problem is that the app disappears from the secondary rom when I try to mount it's data folder from the primary rom.

Maybe somebody else has a better idea.
[Galaxy S 4 i9505 Original Android Development] smar:
Thanks for that. I wonder whether symbolic links would work instead as otherwise we would in any event end up with a large number of mount points using your approach above? I'll probably have a try later when I have a bit of time, now that immediate urgency of sharing the apps is working.
[Galaxy S 4 i9505 Original Android Development] beerindex:
Would love to see support for SACS_Custom: http://xdaforums.com/showthread.php?t=2359590
[Galaxy S 4 i9505 Original Android Development] rlorange:
OK Guys I've got a test release of my new app which will allow you to backup and restore your second rom to your choice of internal or extSD.

Beta testers please pm me your interest and I'll share my test release
[Galaxy S 4 i9505 Original Android Development] jova33:
This works on the VZW S4, correct? Just before I go messing things up, I just wanted to check.