yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] Bejda:
Individuals apps sharing doesn't work for now when secondary rom is involved. Must be some general "write perm" issue when it comes to secondary rom,maybe the same reason why we have "couldn't determine secondary rom version" on latest patcher.

From what i see only people that manage to share apps to secondary rom used "share all primare apps to current rom" option.

Well..primary rom kernel is not patched of course so same story than before when you launched the app on your not-repatched secondary rom/kernel.

Did you try "share all primary apps to current rom"?

Again this one should work but if you really want to try "individuals apps sharing" for now you better install a new multislot rom and share some apps from primary to multislot.

---------- Post added at 06:50 PM ---------- Previous post was at 06:44 PM ----------

Ah yeah sorry,I totally forgot the rom was supported lol. My memory is often messed up :o

Thank you it will surely help those wanting to patch it to know for sure how much space left is needed.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
1/ I've not: "share all primare apps to current rom", so impossible for me, I've got it at a moment (after flashing re-patched kernel) but after reboot, I lost it.

2/ Maybe, it will be good to have the possibility to patch also the primary rom to set that.

3/ No, I can't, it's written in the 1.

4/ ??? :confused: Not for me... I don't know.
[Galaxy S 4 i9505 Original Android Development] Bejda:
It's not the fact you rebooted that made you lost the option (your newly repatched kernel actually),it's rather the fact that you switched to another rom and then switched back.

And this because..

One of the reason why we may need to also have patcher support for our primary roms would be to edit updater-script for it doesn't wipe all of our system partition and then preserves system/dual + backup/restore secondary rom permissions. Feature was once considered in the past,let's see later.

I don't think we really have or need to manage apps-sharing from primary but well..why not if primary rom patching option appears in the future.

See above.

:confused:
[Galaxy S 4 i9505 Original Android Development] franzyroy:
1/ OK

2/ OK

3/ ;)

Otherwise, the secondary.img has been overwritten, the date of modification is july 12th 2014.
[Galaxy S 4 i9505 Original Android Development] Bejda:
And right now have access to all sharing-apps options on your secondary rom?
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Only "share individual app to current rom".
[Galaxy S 4 i9505 Original Android Development] Bejda:
But you had others options right after you flashed your aosb patched with latest patcher from what you said so you should flash it again and once it boot use "set kernel" option.

This time all sharing apps options shouldn't disappear.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Any opinions on this UI for the individual app sharing? (ignoring the huge margins on the side, of course :)) Is it easier to understand how it works?
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
This looks good :good:

I now have a major problem due to being able to use so many roms - just flashed miui 5 as suggested by bejda earlier and find that despite being 4.4.2 and based on cm 10.2 it Is actually kinda nice, a bit like having a dare I say it, great big iphone on steroids (sorry for the swearing) lol

Thanks bejda (I think) :silly:

What I notice Is that all the app I previously shared on this slot are all still here on first boot. Very cool :cool:
[Galaxy S 4 i9505 Original Android Development] Bejda:
Talking about ui it was sometimes hard,depending on dpi,to not click on scroll bar while choosing apps in portrait mode :)

As for apps list giving location details..:good:
[Galaxy S 4 i9505 Original Android Development] franzyroy:
It seems me that I already did it, but I gonna yet try to see.

---------- Post added at 12:27 AM ---------- Previous post was at 12:20 AM ----------

Indeed, the options are back after flashing the kernel patched. I now have to see if it remains after a stint in the primary rom. I made the option "Set as kernel" as you told me.
[Galaxy S 4 i9505 Original Android Development] gaww:
I had read this and forgot to do it - lol.

I reflashed the above ROM and set the kernel on boot. It did not make the expanded menu available - even after a reboot. I only see the share individual app option - which works on many of the apps..
[Galaxy S 4 i9505 Original Android Development] Shanks:
It works for me, specially the part where is says" share the same app across"

Is this new app sharing feature supposed to share the data of the apps to or just apk?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for the feedback! I've found the fast scroll to be a bit annoying too, so I'll disable it.

The new app sharing feature currently only shares the apk, but I'll try to add data sharing in version 8.1.0.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! Yeah, that's another feature of the new app sharing feature. If you reinstall or install a new ROM into a slot with shared apps, those shared apps will be automatically installed :D
[Galaxy S 4 i9505 Original Android Development] gaww:
Sharing data would be good. When I actually install an app, it shares data, so to have it part of the app sharing greatly increases its utility.

Now if J could only get the UI to work for me.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
A new testing version 7.0.0.r110.g8967629 is being built right now. This release contains the improved UI for individual app sharing only. I'm still working on fixing issues with the functionality :)

Changes:

The apps are now shown as a card list and hopefully makes it clear how the sharing works

Proper checkboxes!

Individual app sharing will be disabled if global app sharing is enabled

Disabled the annoying scrollbar
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for the mentioning that! What you're seeing is not supposed to happen at all. If you uninstall a shared app, it should remain in the others. I'll see what I can do to fix it.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Were you booted into the primary ROM when you took that screenshot? If you were, that was supposed to happen.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Hmm, I'll have to test the secondary ROM again. I've been doing most of my debugging from multi slot 1. In theory, the individual app sharing should work exactly the same way, no matter which ROM you're booted into, even primary.

EDIT: Should be fixed now
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Could you give me the link to the MIUI ROM you're using? I'll see if I can fix the issue.
[Galaxy S 4 i9505 Original Android Development] xarive:
Could this probably being able to port over Xperia Z C6603 Yuga device?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Okay, I'm dumb. The secondary ROM issue was caused by me accidentally swapping some paths (eg. "if /raw-system/dual exists, use /system/dual", etc). It's fixed in the new development version 7.0.0.r111.g1c92b96 (which is being built right now)

EDIT: The missing global app sharing checkboxes is fixed in 7.0.0.r112.g0a82eda.

EDIT2: The issue where the kernel needs to be set manually is fixed in 7.0.0.r113.gff74d14.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
To anyone testing app sharing on the development versions:

Many of the workarounds [MENTION=3648432]Bejda[/MENTION] and [MENTION=5528810]Jimsilver73[/MENTION] mentioned have now been fixed. As a result, the app sharing features will be disabled until the ROM or kernel is repatched with

7.0.0.r114

or higher.
[Galaxy S 4 i9505 Original Android Development] monkteo:
here you go and THX

http://xdaforums.com/showthread.php?t=2543667
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Woah Chen, how did you manage to do all that so quickly?? Do you never sleep!

The new app sharing ui looks and seems to work fantastic and no need to set individual kernels now.

Just reflashing all my newly patched ROMs,, I love the way we can go into the patcher app once and choose which apps go where.

Honestly, this is a masterpiece, I am going to report this thread as a news worthy read as I think this has so much potential for the android community as a whole it should be highlighted to all :highfive:
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
The development version 7.0.0.r118.gd89f76a now has support for renaming ROMs (finally, right? ;)) Just hold down the ROM to change its name.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
The first time that I had this screen, it's because I didn't re-patch rom/ kernel. So normal

The second time, I re-patched kernel, in the layout of DualBoot Patcher, the 3 options were there. But when I was in the primary and came back to the secondary, I saw again the layout like this screen. Bejda said me to make "Set kernel as..." in the secondary after to have to install the re-patched kernel. I did it, but I didn't yet take the time to test.

Now, I gonna rather test the new app.

DualBootPatcherAndroid-7.0.0.r115.g0091f60-snapshot.apk

I missed several versions!

Thanks 4 ur work!
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Nope! (But maybe I should...) :D

Thanks a lot! :laugh:
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for testing! I think that should be fixed in development versions >= 7.0.0.r114. If not, please let me know :)
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Have you corrected for KT kernel?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Not yet, I'll do that first thing after I wake up tomorrow. I don't think the issue is caused by the new app sharing features though. I'm guessing there's some incompatibility with the new KT kernels. An older version will probably still work.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
OK, I'll do it.

You talk about of 7.0.0.r118 in another post. Is the one you test right now? Therefore not available?

Thanks!
[Galaxy S 4 i9505 Original Android Development] franzyroy:
No problem! :p I make with Alucard kernel for the moment.

First look (7.0.0.r115)

:

Installed 7.0.0.r115 without re-patched the kernel with.

3 options but greyed... normal, and better since I see the 3 options.

Patched the kernel and installed

After restarting, I always see the 3 options but reachable

By going into a menu "Share individual app ...", now I also see apps to the secondary rom.

Great work! :good:

---------- Post added at 12:54 PM ---------- Previous post was at 12:11 PM ----------

Second look (7.0.0.r115)

:

Boot on the primary rom.

Installed 7.0.0.r115 on this primary.

By going into a menu, I only have "Share individual app ..." but this is normal

I try to share an app of the secondary with the primary

I see nothing, but normal, it seems, I have to reboot.

After reboot, I see the app but FC when I want to open.

I continue my investigations later, and I tell you again. :cool:
[Galaxy S 4 i9505 Original Android Development] Bejda:
[MENTION=2875350]franzyroy[/MENTION]

Better use latest 7.0.0.r118 version if you're into testing and report.
[Galaxy S 4 i9505 Original Android Development] remorema:
R115 1f60

Finally individual app sharing working with zero issues. Touchwiz as primary with Adam kernel, Dan's google edition with googymax 1.1.0 as secondary

:happy: :happy: :happy:

Since newer builds are mostly UI and this one is working great I guess I'll stick with this version until v8 is out ;)

Tapatalked from I9505 Dual Slot Google Edition GoogyMax3
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Please could you post the link to the latest, I can only find up to 7.0.0.r115 ?

Edit: my bad, I see it now, must have looked to quick after Chen's post earlier!
[Galaxy S 4 i9505 Original Android Development] Shanks:
OK thanks, well app sharing works great for me, i shared all apps with multislot 1 but when i rebooted it took like 5 minutes, im guessing was because i have many apps

Just 1 thing, hope it doesn't bother you... Grarak has a multiboot app too(rom switcher), it works way different than your app but he has accomplished app data sharing and his project is open source just in case you wanna use some of his code
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Here!

---------- Post added at 02:21 PM ---------- Previous post was at 02:14 PM ----------

A proposal:

Which would be in "Rom Settings", it would be that the app is already checked in the rom where it is used.

---------- Post added at 02:50 PM ---------- Previous post was at 02:21 PM ----------

Third look (7.0.0.r118)

:

Installed 7.0.0.r118 on the both.

Completely removed 7.0.0.release on the secondary. I've not yet done.

Tried to share an app of the primary with the secondary

Reboot on the secondary

Tried shared app on the secondary

SUCCESS!!! First for me.
[Galaxy S 4 i9505 Original Android Development] gaww:
I only see that when in Multislot1 ROM repatched with app sharing patcher. Also, even though I repatched SuperSU, cannot get the binary to load. It works fine in Multislot2 - which is the same ROM but without app sharing.

That was with #112 - have not yet tried latest builds yet.

Update - Now with 118, I get the list with three options.
[Galaxy S 4 i9505 Original Android Development] xk0niR:
Hey,

I know it is not recommended to install TW as secondary, but this doesnt mean its not possible.

So what I did so far:

1. Went back to ext4 (because there is no f2fs support for Touchwiz)

2. Clean installed an AOSP Rom as primary

3. Root and install patcher

So i want to use this rom as secondary:

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

Its not supported by the patcher, so I need to set settings by my own

I want to use it with Googy Kernel.

Can someone tell me what I need to set?

I did:

Preset = Custom

Auto Patcher = Standard

Boot image = (nothing, leave blank)

Ramdisk = Touchwiz

and installed.

The 1st time i tried to switch Rom, Dual Booter said "Failed to write Kernel"

Somehow it worked now but I got stuck in endless bootloop.

Any idea/help?

Thanks a lot!

Edit:

I might found mistake... need test
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Well, I have just managed to install miui official based on tw in slot 2 - that's with wanam in primary, ge in dual, and slim in multi 1 - had to ditch carbon though as I didn't have enough space but let's see if I can squeeze it in later lol
[Galaxy S 4 i9505 Original Android Development] Houndcatcher:
I've had a good play with it today but whenever I patch a Gummy zip with the new App sharing Patcher Google Play just persistently FC's on me :(
[Galaxy S 4 i9505 Original Android Development] xk0niR:
This is so strange...

So I found out my mistake. The Rom I used had no boot Image...

Okay so I got one with boot Image and patched it. The patched ZIP is bigger than the normal one.

I flashed It and the Rom in my Dual Boot started... But its installed as secondary!

I even used the Dual Boot Utilities to switch to Primary (which is AOSP) but still the TW Rom started...
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Try with the 7.0.0 release.. normally, it should work, I was in same configuration before. AOSP in first and TW in second.

---------- Post added at 07:01 PM ---------- Previous post was at 06:41 PM ----------

About that:

It's good for me, I've not re-tried to share apps of the secondary to the primary. But I like it like that, I find it more logical that you share the primary to the secondary.

Otherwise, I only use "Share individual applications", because, I don't want to share all applications between TW and AOSP, like the themes which have nothing to do with it.

---------- Post added at 07:05 PM ---------- Previous post was at 07:01 PM ----------

Google Play made FCs, you mean! Did you share it to secondary to primary?
[Galaxy S 4 i9505 Original Android Development] sronweb:
[MENTION=4277844]chenxiaolong[/MENTION]

Thanks for the great job! Dual Boot Patcher R118 is close to perfection!

I like the new GUI for the sharing apps.
[Galaxy S 4 i9505 Original Android Development] David_cole:
Can this be do e without a pc? My pc died.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
The new development version 7.0.0.r122.g8523710 fixes the Ktoonsez boot loop issue (it's building right now and should be available shortly) :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Yes, everything that can be done with the PC version and also be done with the Android app :)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
This is fixed in development version 7.0.0.r125.g8a1934f and will also be fixed in the upcoming 8.0.0 version :)
[Galaxy S 4 i9505 Original Android Development] franzyroy:
It's good, re-patched Ktoonszez kernel boot fine now !

Send from my GT-I9505 using Tapatalk
[Galaxy S 4 i9505 Original Android Development] RK:
[MENTION=4277844]chenxiaolong[/MENTION] I am unable to patch loki'd kernels on android apk with the latest snapshot release. Same kernel with same config works if the kernel is not loki'd
[Galaxy S 4 i9505 Original Android Development] monkteo:
Yes you are right, now it's working.:good:

THX :laugh:
[Galaxy S 4 i9505 Original Android Development] gaww:
I have been having problems with SuperSU updating binary on both new build app sharing ROMs and non-app sharing ROM (noodev 20140713). Don't know if it is a patcher issue, or since the ROMs I am having issues with are 4.4.4 maybe SuperSU latest 2.01 is not fully compatible with 4.4.4 yet. I tried updating and also wiping, zipping, and flashing patched file.

Are any others having issues with superSU currently ?
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Report on my test (7.0.0.r127)

:

Installed 7.0.0.r127 on the both.

Completely removed apps from secondary (finally almost - except those only AOSB)

Completely installed my backup (backup of apps to the secondary rom) on the primary (finally almost)

Shared the apps of the primary with the secondary (with individual method)

Reboot on the secondary

Restored datas of certains apps on the secondary (same backup like above)

All works fine.

Really great work... thanks! ;)

Edit

:

My configuration is in my signature. ;)
[Galaxy S 4 i9505 Original Android Development] zeus85:
I can't find a link to anything past v7.0 can anyone help me out please I'd love to give dual booting a try :)

Gt-I9505_Cm11_M8_SNAPSHOT
[Galaxy S 4 i9505 Original Android Development] franzyroy:
There!
[Galaxy S 4 i9505 Original Android Development] zeus85:
Thank you much appreciated :)

Gt-I9505_Cm11_M8_SNAPSHOT
[Galaxy S 4 i9505 Original Android Development] xk0niR:
Someone any idea what I need to choose for Light Rom in the patcher?

After patched and installed, device is just keeping rebooting.

Here link to rom:

http://xdaforums.com/showthread.php?t=2601638
[Galaxy S 4 i9505 Original Android Development] franzyroy:
This is a TW. What rom have you as primary?
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Chen, please could you have a look at this new kk miui port and see if you can get it dual booting for us: http://xdaforums.com/showthread.php?p=54146836 post #1179

Thanks :)

I tried patching as is, and also using custom other/miui but splash screen starts but phone gets crazy hot and no boot :(
[Galaxy S 4 i9505 Original Android Development] xk0niR:
I got a GE Rom as primary.

Well I patched the Rom now using the Windows Tool and all seems working fine!
[Galaxy S 4 i9505 Original Android Development] Bejda:
It went fine for me with default custom settings (no preset,nothing).

It hanged at bootanimation yes (happens pretty often to me on miui on first install when i flash rom + gapps in a row) but i forced a reboot (long press power) and it finally started fine.

Not sure but for the little i used it today it seemed that phone calls weren't working on my side (no tone and then "can't connect" message).

Edit: What sucks for me is that it's like on the TW based one,you have to do the dialer code after every reboot to get LTE.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Thanks bejda, I don't have LTE where I live, Vodafone operates out of a small candle lit cave in the south of England where I live :rolleyes:

Any how, I saw your post too late and a mixture of curiosity and impatience got the better of me so I deleted my primary ROM and installed it there.

Interestingly after restoring my dual and multi 1 they both still had all apps, but when I why into my new primary ROM nothing there (which I expected to be honest) however when I reinstalled patcher app and ticked all the apps I wanted on primary then rebooted none came back, also tried going into secondary and sharing apps from there and then rebooted but still nothing. So I'm reinstating through tb but then I think does this defeat the object because they must already be stored else where otherwise three would not be in secondary and multi 1?

Edit: calls working fine here for me on miui kk
[Galaxy S 4 i9505 Original Android Development] Technical:
KT kernel was patched successfully on latest v7.

But I'm getting TONS of FC on almost each app shared in the secondary ROM. What happened?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for letting me know! Glad you got it working :D
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Could you give me a link to the exact version of the loki'd kernel? Due to the hackish nature of loki, sometimes I need to add some workarounds for specific kernels.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
If you wiped the primary ROM from the DualBootUtilities zip, then it also deleted the configuration file for app sharing (because I forgot to update it yet, oops...). When you reinstalled the primary, it wouldn't know what apps were shared. What's confusing me is that booting into secondary and sharing apps from there is not working. With your current setup, would you mind sharing any app while you're booted into secondary and checking if it appears in the primary ROM's /data/app/ folder?

That's correct. It uses Linux's hard links, which basically means that the apks in primary, secondary, and multi slot 1 are just 3 different filenames for the same data.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
That's a great reply, love the mind map :good:

So I messed a lot last night as I lost Wi-Fi on primary, it's happened once before so I formatted my sd and then installed tw and ensured all working, restored secondary and multi 1 from backups. Went into multi 1, where all my apps were still to be found and then did the app share (after install miui kk as multi 2) then shared apps across ROMs inc new primary, (this is the bit I missed before) wiped cache/dalvik in dual boot utilities for primary and multi 2, then rebooted into primary and voila all my apps were there :)

Haven't gone into multi 2 yet but I can't see any reason why my apps won't be shared there again after app optimising.

I think it is amazing apps still share afte restoring back up (sends like voodoo magic to me as a non dev hahaha)

My question is - a I restored both dual and multi 1 with apps will they still be sharing?
[Galaxy S 4 i9505 Original Android Development] remorema:
Hey chen i noticed one thing. Individual share works fine between primary tw and sscondary ge but when I untick am app from imdividual share and reboot the app still shows in secondary. I have to go to app manager and uninstall to make it work.

Tapatalked from I9505 Primary Slot XXUGNF1 With Adam Kernel
[Galaxy S 4 i9505 Original Android Development] franzyroy:
I'd got the same issue in another version, I forgot to look if it had corrected.
[Galaxy S 4 i9505 Original Android Development] remorema:
Still present in r127 :(

Tapatalked from I9505 Primary Slot XXUGNF1 With Adam Kernel
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Fortunately, it's not a big deal! ;)