yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] cm2003:
Not sure what you mean by that.

I've tried to end the application, which didn't help. I've tried to "freeze" it, didn't work either. I have no root though, for that reason I was only able to "freeze" it using adb shell - "cmd appops set <package_name> RUN_IN_BACKGROUND ignore"

I'm using this app also on my "mainland" and there I have no issues with the security authentication. So it has to be related to island. But I could understand if this request is way to specific to be taken care off.
[Android Apps and Games] jago25_98:
You don't need island to achieve what it does. Android has it built in. Island is just an interface. You can do what island do with command line commands. Your search term is 'android for work' on xdadevs and command line.
[Android Apps and Games] cm2003:
Well I can't get it to work. Your "search for android for work" advice doesn't help either, as there is basically no documentation for android for work on the forums nor on google... Except for "there's a android for work dev workspace"...

Also I highly doubt that everything that Island does can be achieved with simple adb commands. As far as I understand the working of Island is, that it creates an MDM profile (management profile) and within this management profile it's installing apps. So it's basically what Microsoft Intune is supposed to be.

I'm not sure if an MDM profile is supposed to work within an MDM profile. All I know is that my phone is actually registering and setting up correctly in Intune, but it fails the "installation of unknown sources" check.

Whats actually a little bit silly is, that the app installation by Intune actually doesn't work. In Intune I'm told that the installation was successful, but the app itself isn't available.

It's really unfortunate, because I'd love to separate my private data from my work data completely. And I don't really like having Microsoft Intune installed on my private mobile just for receiving company emails :(

Maybe I'm lucky and oasisfeng actually does have an idea how to resolve my issue :)
[Android Apps and Games] CHEF-KOCH:
I'm not sure if it's not a security risk to work with multiple profiles, just because you can do this for good doesn't mean malware can't abuse this to lock you out, secretly capture things or encrypt the profile.

Since im not aware of any malware which uses such techniques I do think that it's better to turn it off to avoid the risk. IMHO the sandbox or a true sandbox should work at the same user level, so that you won't lose control over its content. Escaping profiles isn't with root privileges s challenge. Im also not sure what happens when an infected app fills up your ram and space because you're might crash the OS and then you can't boot anymore without wiping things via recovery. It's not against your apps but this kind of layer protection seems ineffective against mentioned attack scenarios. Of course we need a poc once the app is final but I seriously have some doubts. It's not that you install a lot unknown apps daily or that this could protect against data theft to obtain your private data or keys.
[Android Apps and Games] bnwg:
If you just need to check email then try ALTO email. No need those M$ intune stuff like that and work for office 365 account.
[Android Apps and Games] cm2003:
No, that doesn't work since it's an exchange server policy of my company. If you device isn't rolled out you can't access your mails anymore, no matter which client you are using.
[Android Apps and Games] bnwg:
My company email requires the same. I've tried many email clients. ALTO works very well so far.

Anyway, good luck.
[Android Apps and Games] jago25_98:
hmm... I'm not sure it's possible but I can try to share a bit of stuff that might help. It seems the android package manager is managed profiles aware so maybe that has some undocumented feature...

some stuff to investigate in searching. More documentation on related pm commands needed? Probably the problem is that most of it is intended for programmers:

https://oasisfeng.github.io/island/setup.html

https://developer.android.com/work/managed-profiles.html

https://github.com/codepath/android_guides/issues/197

https://www.cheatography.com/citguy/cheat-sheets/android-package-manager-pm/

Example related commands:

pm create-user --profileOf 0 --managed Island
pm install -r /data/app/com.oasisfeng.island-1/base.apk
adb shell pm list users
adb shell am start --user 10 \
-n "com.example.myapp/com.example.myapp.testactivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER

edit: also bear in mind that managed profiles can get confusing. For example, I couldn't figure out why my VPN isn't working. Then I realised the VPN is only enabled for mainland. So be careful not to get confused between one of the islands and another one. I know if mainland is rooted then the island isn't too
[Android Apps and Games] cm2003:
Thank you very much for your effort.

I might go through these pages tomorrow. However what I've seen so far, this seems to be pretty much out of my comfortable knowledge zone. (If this makes any sense when translated to English :))
[Android Apps and Games] sunsero:
Sounds very interesting. But do you really have to remove the work profile before switching to God mode? And if so what happens with all the installations that are only in Island - do they get deinstalled by the system when removing the work profile?
[Android Apps and Games] oasisfeng:
Unfortunately, that's a hard restriction enforced by Android system, I can't find any workaround for non-root device.
[Android Apps and Games] oasisfeng:
If you are using Magisk root, please upgrade Magisk to v13.6 which fixed the multi-user root issue.

I personally have not used Titanium Backup for quite a while, I'll test it later.
[Android Apps and Games] oasisfeng:
In Island setting - setup, you can deactivate God mode. But you may have to remove all accounts and Island space to activate God mode again.
[Android Apps and Games] oasisfeng:
Did you add account via system Settings - Accounts - Work accounts? Any error message for the failure?

Some OEM stock Contacts app may not work well with work profile. Could you try Google Contacts app instead?
[Android Apps and Games] oasisfeng:
To disable "install from unknown source", you need to execute this command in ADB shell:

pm set-user-restriction --user 10 no_install_unknown_sources 1

Replace the number "10" with actual user ID of Island, which can be queried with "pm list users" (the number before ":Island", not the one after).

You may need root privilege to execute the above command.

Remember to revert this settings with

pm set-user-restriction --user 10 no_install_unknown_sources 0

Contacts in Island can be shared to mainland, but not the opposite. This is how Android implements contacts sharing.
[Android Apps and Games] oasisfeng:
I'm afraid that's probably a bug in Nova Launcher. Alternatively you can freeze an app in Island to make it disappear from launcher.
[Android Apps and Games] bnwg:
I tried the command but it gives error: unknown command 'set-user-restriction'

pm list users indicts both mainland and island are running
[Android Apps and Games] kasav:
Thanks for your reply!

I cannot add a user account, neither from system settings (clicking on"add account" simply fails without error message no reaction whatsoever) nor from within island (for example if I start Google contacts and click on add account I get an error message reading "you are using this app outside of island").

I would love to use this app, hope you find a solution!

Thank you
[Android Apps and Games] cm2003:
Thank you very much mate! You are a legend!

Unfortunately I'm receiving an error message saying that I need "MANAGE_USERS" permission to setUser Restriction.

I guess that's the reason why you might need root.

There is no other way than rooting the device, right? This might cause other problems with Intune, because it's also checking for root :(

Any other idea maybe? :D
[Android Apps and Games] oasisfeng:
Looks like you are running a lower version of Android, this command is only supported on Android 7+.

I'm afraid there's no easy way to change that restriction then. I will consider adding toggles for those restrictions in future version of Island.
[Android Apps and Games] d14gvn:
Hi! thanks for this amazing work!

I have a doubt.

How can I hide the duplicated apps (i.e. whatsapp) from the launcher? without disabling it from Island?

Tried on nova launcher beta and lawnchair without success.

Thanks in advance!
[Android Apps and Games] Xifar:
Is there any way for me to allow island apps to access my mainland storage?

I have flud in island and would like to be able to set it to download files to emulated0 rather than emulated12.
[Android Apps and Games] oasisfeng:
This is a planned feature.
[Android Apps and Games] oasisfeng:
You can hide any icon in Nova Launcher. It's a feature in Nova.
[Android Apps and Games] d14gvn:
Yes, but when I hide the - i.e - duplicated whatsapp icon, the original hides too.

I just want to hide one icon, the work profile one.
[Android Apps and Games] oasisfeng:
That's not affected by Island, you may need to submit a bug report to Nova.
[Android Apps and Games] loserskater:
Just wanted to note that after installing and setting up the island, Google and Amazon kept FCing. Could've been more but those were the only background apps that did. Had to clone Chrome and now everything is working great. Version 2.2.2 on 8.0 on 6P.
[Android Apps and Games] gamiheme:
Island using same storage as personal user

Hi,

Island uses my normal personal user storage instead of a different work storage.

Why is this so?

How do I fix this?

I need help on this

I'm surprised at this though
[Android Apps and Games] meetkalamar:
In Island, go to the app you want to hide, click on it and them on the lock symbol. The icon is hidden on Nova :)
[Android Apps and Games] sunsero:
Deleted my old Island, enabled God mode and created a new Island.

Works well except for one issue:

Recent apps do no more show apps started on the Island.

With my old Island this worked. Do you have any idea to fix this?
[Android Apps and Games] kmartburrito:
Hi, having tons of issues with island since I went to Oreo on my Pixel XL. I'm getting tons of force closes with google play services and google play games, and any game that uses GPG is FC'ing also. I tried clearing cache on google play services and google play games, and nothing is working.

This is after a factory reset as well, island was one of the first apps I installed. Any help you could provide would be great! Would be glad to help you troubleshoot and get data about android 8.0.0
[Android Apps and Games] gamiheme:
Hi, I need your help to resolve this, kindly respond to this.
[Android Apps and Games] Licaon_Kter:
Define what happens exactly?

What device?

What Android version?

Some pics and a step by step guide on how to reproduce this could help...
[Android Apps and Games] ch3mn3y:
Since last update most apps stopped working.

Have AliExpress, Swipe Pro, Google Play, MAGISK, Contacts, Files and Sony Album and only MAGISK, Filest and Albums works. Other gives FC just after start or 5 seconds after (Ali, can do anything in this 5 seconds)...

Resetting the Island doesnt help...

Xperia Z2, Resurrection Remix 5.8.4 and MAGISK 13.6.

Sent using D6503 - Resurrection Remix/RR N
[Android Apps and Games] sunsero:
Same here - in Saturday I've switched to God mode and apps inside Island worked fine afterwards.

Today many apps inside Island force close immediately or a few seconds after starting. Reprovisioning Island and rebooting phone do not fix the issue.

Galaxy A5 2016 on Stock Nougat with Island from Play Store
[Android Apps and Games] DragonFire1024:
On the Amazon Fire HD 8, I can get all commands to be accepted except for the create-user one. Though this could be because I used the 'uninstall' command for most of Amazon apps. I'd have to do a reset to test out this app, but not ready to do that just yet.
[Android Apps and Games] kasav:
My apologies, I had not realized that i would need to clone google play services first - after i have done that i was able to use a second google account within island without problems.
[Android Apps and Games] suljo94:
Any way to force the shell in post 2 as root the app just says can not install because device security setting and you are running a custom rom but the terminal command just fails with javasecurity exception cannot create user with flags 32 because you do not have sufficient privileges

Also I can create new user in settings but that won't work for my case
[Android Apps and Games] gamiheme:
I check root folder, I discovered that there was no /data/media/0 or /storage/emulated0, but found /data/media and /data/emulated, also found /data/user/0 and /data/user/10

Normally I was expecting island to create it's storage folder like /data/media/10 or /storage/emulated10/
[Android Apps and Games] sunsero:
The crashing apps worked inside Island before switching to God mode. What can I do to fix this?

I've already tried to delete the work profile and setting it up again but to no avail. Can anybody reproduce this? E.g. Hay Day is an app that worked before God mode in Island but now it crashes after the intro. However it still works in Mainland.

Update: Unfreezing Chrome fixes this issue!
[Android Apps and Games] kenosis:
Do I need root access in order to use Island?

My device is "Sharp Aquos Xx3 506sh" and unable to root.
[Android Apps and Games] bnwg:
see post #2 for the instruction.
[Android Apps and Games] kenosis:
Thank you
[Android Apps and Games] wzhy:
Only two question.

1. How to create more than one island ?

2. How to make GCM working in island ? I add the dialer and dial *#*#426#*#* but open nothing. All google packages have been cloned.
[Android Apps and Games] sunsero:
Update: Unfreezing Chrome fixes this issue!
[Android Apps and Games] bijixda:
This app work nicely for cloning WhatsApp

Moto Z2 play , nougat
[Android Apps and Games] sunsero:
[MENTION=4376588]oasisfeng[/MENTION]: Does this work for you with God mode?
[Android Apps and Games] andriana936:
Works well on LineageOS 14.1 (Nougat 7.1.2 on Redmi 3S)

Thanks God, this app is a lifesaver. Since this app is utilizing native Android feature I don't worry about security, and then for privacy setup I can create different PIN or use different fingerprint for cloned app.

*Edit: After install island I Found a bug in writing files to SDCard. Unable to copy or move files to SDCard, the copied files are always 0 bytes.
[Android Apps and Games] bnwg:
Hi OP

I enjoy pretty much the God mode. But how can I remove/disable God mode?

Since God mode will set island as device admin and it can't be switched off from the setting. It may be probably due to the set-device-owner when activating God mode.

Thanks for guidance.
[Android Apps and Games] xNotta:
Does island prevent the isolated app from seeing which other apps(non-island) are installed on the device?
[Android Apps and Games] Draylord:
It does not work on Samsung Galaxy J7 (2016)
[Android Apps and Games] pkaak1979:
Installed Island on my Nokia 8, set it up and direct after that i get the message to clone Chrome. That does not work and every other app that i try to clone give the message ‘allready cloned’, but they are not...
[Android Apps and Games] envieme:
My question with respect to Work Profile is this:.

Isn't it the more secure space than mainland?

So doesn't it make sense to keep dialer, contacts, messages, etc inside Island with no contacts or sms in mainland? While all the other apps work in mainland, so that way they can't access any data from the work profile?

Let me know.

---------- Post added at 10:09 AM ---------- Previous post was at 09:56 AM ----------

I am RR 5.8.5 on Note 4 rooted with Magisk and running AFwall+ with Island.

In Afwall I have allowed WiFi, LAN, and data permission for an app called "Work Profile" under system. I have allowed Island internet access as well. But cloned apps like say Facebook doesn't connect while their mainland counterpart connects.

For example, AFwall shows in low com Facebook.katana blocked when I try to open the island version of the app!
[Android Apps and Games] ap20001:
execute setprop fw.max_users 10 is not effective， still show "couldn't create User"
[Android Apps and Games] iHack13:
Hi,

Where do I find the equivalent of /data/data/com.whatsapp/shared_prefs for the cloned WhatsApp ?

Edit: finally found it. It is /data/user/10/..
[Android Apps and Games] Explorare:
How to clean up the app cache using "Settings"?
[Android Apps and Games] qkall:
I'm not positive, but I'm having issues with oreo. It could be the app through. I'm having issues with Facebook wrapper called Phoenix
[Android Apps and Games] Nightflowers:
Great app, I've finally managed to get it to work on my device *but* it seems that apps inside Island can't see GPS coordinates.

Is there a way for a app inside to see GPS outside ? (like adding a location service inside Island ?)

Edit : Google Maps insinde Island can see GPS data, it seems that the problem comes from Pokemon GO which is unable to find GPS. Any thoughts ?
[Android Apps and Games] ccgx:
Did you allow Pokemon Go to use Location while starting the app for the first time? I have no problems with GPS in my Pokemon Go in Island.
[Android Apps and Games] Nightflowers:
Yes I did, but after some research I think this has nothing to do with Island, some app is messing with my phone.

I'm actually on 6.0.1, does Island works on Nougat with manual override too ?
[Android Apps and Games] nguyen4514:
Is it possible to create multiple islands? I would like to create an island for work apps and an island for apps that my kids use.
[Android Apps and Games] jago25_98:
How did you get on?

I need to install an apk without Google Play for security... and then move that to the Island. but I can't remember the way to do it
[Android Apps and Games] bonisoul:
I recommend NoxApp+, personally I think it runs very well multiple accounts on my phone. Try it if you have problems with the one you r using now.
[Android Apps and Games] ahac85:
Hi im using the latest version on my HTC 10, the only problem i have is when i install a work profile some of my sms wont show the contact names on their number shows, how can i fix this issue?? this happens with stock htc sms app
[Android Apps and Games] jago25_98:
The contacts for work and personal are separate right? You know that? It's like having 2 phones. Even the vpn isn't shared.
[Android Apps and Games] aznablegs:
hi Oasis, island is a great idea. thanks.

I've used on my shield K1 very nice. but hitting some issue with Redmi 4x. tried manually create user still failed. any idea?

santoni:/ $ pm create-user --profileOf 0 --managed Island

Error: couldn't create User.

1|santoni:/ $ pm list users

Users:

UserInfo{0:eek:wner:13} running

UserInfo{10:security space:13} running

UserInfo{999:XSpace:800010}

santoni:/ $ pm list users

130|santoni:/ $ pm create-user --profileOf 5 --managed Island

Error: couldn't create User.

1|santoni:/ $ setprop fw.max_users 10

santoni:/ $ pm create-user --profileOf 5 --managed Island

Error: couldn't create User.

1|santoni:/ $ pm list users

Users:

UserInfo{0:eek:wner:13} running

UserInfo{10:security space:13} running

UserInfo{999:XSpace:800010}
[Android Apps and Games] ahac85:
[MENTION=4376588]oasisfeng[/MENTION] I have just created the default work profile and when i go into my HTC messages app the contact names don't appear only the numbers show up for my existing sms. If i delete the default island then contact names suddenly show up in the same app. Also note if i use lets say google messaging or Handcent sms app, everything seems fine. Its just an issue with the stock htc messaging app.
[Android Apps and Games] jago25_98:
Looks like you're not root?

Su command, confirm terminal app has been given root permissions

---------- Post added at 01:27 AM ---------- Previous post was at 01:23 AM ----------

Hmm.

That's interesting.

I wonder what happens with another messaging app that is installed as a system app like the HTC one.

I also wonder how contact apps behave as system or non system app installed to the island.

4 states to investigate :

1 - contacts app installed as system App in mainland

2 - contacts app installed as system App in work island

3 - contacts app installed as user App in mainland

4 - contacts app installed as system App in work island
[Android Apps and Games] oasisfeng:
Seems like your device already has unusual extra users (probably some kind of internal features in MIUI).

Please try removing those users if possible before setting up Island. It may show up in system settings like "Second Space" or "dual apps".

----- UPDATE -----

I just found that you have typed the incorrect command "pm create-user --profileOf 5 --managed Island".

It should be "0" instead of "5".
[Android Apps and Games] oasisfeng:
To find out whether it's an issue of Island or HTC stock SMS app (the same applies to any app), you can alternatively install Google's official TestDPC (https://play.google.com/store/apps/details?id=com.afwsamples.testdpc) for a test run.

If that app is also not working properly in TestDPC, then it's highly possible that app is incompatible with Android for Work.
[Android Apps and Games] oasisfeng:
In the latter case, you may create a secondary user, which is supported since Android 7 on phones.
[Android Apps and Games] oasisfeng:
Just install and setup Island in God mode manually, then install the latest version of IceBox, which is now compatible with Island.
[Android Apps and Games] oasisfeng:
Can you explain the situation "does not work" in more details?
[Android Apps and Games] aznablegs:
thanks Oasis. I aware of the second space feature which bring the 2nd user there. but still couldn't figure out the user came from XSpace. even turn off second space or dual app. not much from Google.

Also I tried with either 0 or 5, same error. quick one, why is said can have 5 max user, but still couldn't create...

UserInfo{999:XSpace:800010}
[Android Apps and Games] mhtsoftware003:
Hello.

Island is not able to create work profile.

I am getting this message..

........ Oops!

Couldn't set up your work profile.

Contact your IT department or try

again later.........

My phone is xiaomi redmi 4.

MIUI Global 8.5 | Stable 8.5.4.0(NAMMIED).
[Android Apps and Games] dougluna:
Excellent work, I installed on my LG X Power K220DSF and is working perfectly in God mode + greenify 3.8.1, thank you very much I can more live without this double installed on my device;)
[Android Apps and Games] Nataku90:
Compatible with twrp/magisk/safetynet?

I have a samsung galaxy s8 with twrp and magisk installed.

Safetynetcheck on magisk is allright.

I was wondering if installing island can cause any problems to twrp/magisk/safetynet and corrupts it or even bootloops?

It would be very nice if someone with the same setup of twrp magisk and safetynetbypass is using island without problems. Then i would love to join using it

Ps im also a huge fan of greenify! greetings :D

*edit*

Ok i just tried to install and it fails to create a workprofile because the securityguidelines forbid it due i have a modded android. :(

Guess thats because of twrp and magisk. :(
[Android Apps and Games] oasisfeng:
Samsung enforces extra limitation beyond Android, to forbid work profile to be created with custom recovery installed.

You can either temporarily revert back to stock recovery, or setup Island manually.
[Android Apps and Games] Nataku90:
Thank you,

Ill give it a try with the manual debugbridge :)
[Android Apps and Games] Nataku90:
Works on GS8+Twrp+Magisk+Safetynet

UPDATE:

I installed Island manually via ADB.

It now runs perfectly on my Galaxy S8 along with Twrp + Magisk, also safetynet is allright!

Very cool. :D
[Android Apps and Games] ooscrewyou:
I use Ice Box in Island. Every time I unfreeze an app in Island, a launcher is added to the home screen. Is this a feature of Island? Can I turning it off?