yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Open.Orange:
[MENTION=4376588]oasisfeng[/MENTION]

Hi, Mr. Feng ,

My device is a multiple-profiled 5.0.1 ROM ,but it returns 'Sorry, the required feature "Managed Profile" is not supported on this device.'

Thus I followed the manual setup for Island but returns the following errors instead:

D:\adb>adb -d shell
shell@b1:/ $ pm create-user --profileOf 0 --managed Island
Success: created user id 10
shell@b1:/ $ pm install -r /data/app/com.oasisfeng.island-1/base.apk
pkg: /data/app/com.oasisfeng.island-1/base.apk
Success
shell@b1:/ $ dpm set-profile-owner com.oasisfeng.island/.IslandDeviceAdminReceiver 10
java.lang.SecurityException: Neither user 2000 nor current process has android.permission.BIND_DEVICE_ADMIN.
at android.os.Parcel.readException(Parcel.java:1540)
at android.os.Parcel.readException(Parcel.java:1493)
at android.app.admin.IDevicePolicyManager$Stub$Proxy.setActiveAdmin(IDevicePolicyManager.java:2943)
at com.android.commands.dpm.Dpm.runSetProfileOwner(Dpm.java:104)
at com.android.commands.dpm.Dpm.onRun(Dpm.java:75)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
at com.android.commands.dpm.Dpm.main(Dpm.java:38)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:256)

Is there any method to solve it?

I truly appreciate your time and effort :)
[Android Apps and Games] ajinxa:
Have you tried cloning overlays to the island. Or cloning substratum and theme interfacer?
[Android Apps and Games] bnwg:
Tried and confirmed it works with older build.
[Android Apps and Games] ebautista:
Currently, no. Until i know which service and apps need to clone and especially if iam able to grant supersu access to work profile, i have to do some experiments. Actually in starting tio quit experimenting on it. :)
[Android Apps and Games] jemshi101:
It seems like the Camera module and microphone module is not accessible from the apps inside Island. Whenever i tried camera from apps like whatsapp, google Camera or even the default camera apps cloned in, doesn't open the camera, shows errors like the camera is in use by another application and stuff. Similar is the case with audio recording. It says its not available.

Can you guys point to the cause and a possible fix.

By the way, im using LeEco Le 2.
[Android Apps and Games] cameljockey1:
Is there a way I can make my 1+3T dual SIM phone simultaneously both data work at one time? What would I need to clone?
[Android Apps and Games] diogo.sena:
Hi, its possible for island to don't use internal sdcard at all ?

Forcing island isolated apps to use external sdcard as its primary storage for everything?

Thanks!
[Android Apps and Games] EncikMRH:
It's not available for kitkat?
[Android Apps and Games] Licaon_Kter:
They've introduced profiles in 5.0 iirc
[Android Apps and Games] forestchen:
Thanks for this great app.

I notice some system apps got automatically cloned such us the "settings", but I do not found a way to launch them unlike the also automatically cloned "play store" which has a launch icon.

is there a way to launch these automatically cloned system apps? If it can, does the settings I change in the cloned "settings" app affect the apps in island? for example there is a privacy setting in lingageos, , does the clone privacy guard protect privacy against the cloned apps?
[Android Apps and Games] kashinath:
I am using this app mainly for dual WhatsApp, it's awesome and better than apps like parallel. Messages are recieved without delay. However I have 2 issues.

1. Firewall for cloned apps: How to block internet access of cloned apps. I am using RMN3 lineage os 7.1.2 rooted with los addon. I have afwall+ installed and working. But when i clone afwall in island, it cannot accquire root.

2. Cannot insert gif in WhatsApp using Gboard. It says file format is not supported
[Android Apps and Games] bnwg:
I think you need to enable the multi-user function from supersu within mainland and then clone supersu in island in order to have apps in island acquired root work.
[Android Apps and Games] kashinath:
I am not using supersu but los inbuilt root manager. Supersu has problems with sensors in this device+LOS
[Android Apps and Games] demonshouter:
How long does it takes for island to setup profile? It keeps showing profile ismt available yet...thanks

Edit: done by executing the command from op...thanks nice work mate...love this app
[Android Apps and Games] aviralrstg:
It's impossible to use data from two SIMs at the same time.
[Android Apps and Games] jago25_98:
Could we protect apps in the island from apps outside the island with a pin? Useful to protect sensitive data
[Android Apps and Games] Open.Orange:
How to clone Apps into island without Play Store?

The app I want to clone isn't on Play Store thus I can't make it.

I fully appreciate it. :D
[Android Apps and Games] bnwg:
If you have the apk file, install it via file manager cloned in island.
[Android Apps and Games] trueruer:
Temporary fix for afwall+

Here is a temporary fix in a form of a custom script to manually add apps to the relevant AFWall+ chains.

#!/system/bin/sh

### uncomment or comment & modify if needed
#IP6TABLES=/system/bin/ip6tables
IPTABLES=/system/bin/iptables

### All chains, like in the app ( 1, 2, 3, 4, 5)
AfWallChainList=(afwall-wifi-lan afwall-wifi-wan afwall-3g-home afwall-3g-roam afwall-vpn)

### UID:CHAINS, ex: 1010082:1,2,3 or 1010083:1,2,3,4,5 or 1010084:1,3,5
### ex: AppList=(1010082:1,2,3 1010083:1,2,3,4,5)
AppList=(1010133:2,3 1010134:2,3 1010135:2,3)

for App in ${AppList[@]}
do
unset AppChainList
if [[ $App == *":"* ]]
then
tmpArray=(${App//:/ })
App=${tmpArray[0]}
AppChainList=${tmpArray[1]}
AppChainList=(${AppChainList//,/ })
fi

for AppChainId in ${AppChainList[@]}
do
[[ ! -z ${IPTABLES+x} ]] && [[ -f "$IPTABLES" ]] && $IPTABLES -A ${AfWallChainList[$AppChainId-1]} -m owner --uid-owner $App -j RETURN
[[ ! -z ${IP6TABLES+x} ]] && [[ -f "$IP6TABLES" ]] && $IP6TABLES -A ${AfWallChainList[$AppChainId-1]} -m owner --uid-owner $App -j RETURN
done
done

echo
[Android Apps and Games] y2kbugleung:
Excuse me. My Pixel-XL is on Android-O.

pm install -r /data/app/com.oasisfeng.island-1/base.apk

Both -1, -2 does not work. "No such file or directory"

Any hint?
[Android Apps and Games] forestchen:
Hi guys, I searched it but no one mentioned about it.

I want to share file between original profile and the work profile, after doing some googling, I found out we can put files in /sdcard/Android/obb (create it if not exist), this location can be seen by both profile.
[Android Apps and Games] bnwg:
I supposed you already installed island, not just download in some of the folder in the device before running the command.

---------- Post added at 05:06 PM ---------- Previous post was at 05:00 PM ----------

I want to seek help on OP or anyone knows how to launch the app in island by sending intent. Thanks.
[Android Apps and Games] y2kbugleung:
Sure. I have been using Island for a long time.

It works well on N, but not on O.
[Android Apps and Games] bnwg:
It may be because of different folder location in O?

Instead of /data/app is in /data/app-private?

Of course that is just guess. If your device is rooted you may probably be able to locate where com.oasisfeng.island is and change the script with corresponding finding and check if it can be installed.
[Android Apps and Games] Licaon_Kter:
Wasn't app-private always a folder for system (aka OEM) installed apps? Did that change in O?
[Android Apps and Games] Arbelzapf:
Is there a way to add widgets for cloned apps?

Like, have 1 calendar agenda widget display events from one google account, and a second widget display events from the other?

This would be very, very useful.
[Android Apps and Games] closedcircuit:
Alternative to Xprivacy without Xposed - Android 7.0+

Would it possible to add customized fine granular user data controls (i.e. imei, phone number, SSID, location) as a generally applied template and also on a per app basis. If these features were implemented I could see Island becoming a extremely viable solution to people that want Xposed like app control on Android 7+.
[Android Apps and Games] surajrv6:
Island doesn't work on my moto z. When I open island, it first says to create a work profile. After setting the work profile the app closes and I get a message saying the work profile is created and wait for the app to restart. But nothing happens. When I manually open the app, the whole procedure repeats again
[Android Apps and Games] closedcircuit:
You need to follow the instructions on the 2nd post to manually create the profile. https://xdaforums.com/showpost.php?p=66549181&postcount=2
[Android Apps and Games] surajrv6:
Hay, thanks man :)

I think the info in the 2nd post is incomplete.

He missed the main step to include

"adb -d shell"

after that..

pm create-user --profileOf 0 --managed Island

pm install -r /data/app/com.oasisfeng.island-1/base.apk

no need to put "adb shell" here

(Android 6.0+) adb shell dpm set-profile-owner --user <user id> com.oasisfeng.island/.IslandDeviceAdminReceiver

or (Android 5.x) adb shell dpm set-profile-owner com.oasisfeng.island/.IslandDeviceAdminReceiver <user id>

adb shell am start-user <user id>

adb shell am start com.oasisfeng.island﻿

this worked for me
[Android Apps and Games] JudgeDread11:
Afaik this can all be done through a terminal emulator in which case the adb commands are not needed.
[Android Apps and Games] chirvan:
I have already installed and configured island on my Moto G 4 plus, with locked bootloader and unrooted,

Now i am going to unlock bootloader(wipes all data),custom recovery and to root also, do i need to install and configure again (or only configure),

If yes then it required to follow all the steps after rooting mentioned in first post?

Does it need any extra care?
[Android Apps and Games] ch3mn3y:
Any way to make launchers (like Nova) put island apps with their mainland counterparts?

It just looks bad when app starting with A (here AliExpress) is last one...
[Android Apps and Games] NoSkypeOnCM:
It seems like in Lineage 13 (Android 6) GPS is not accessible in island/Android for work. is there a fix?
[Android Apps and Games] h0l:
Quick fix for the "work" play store not working? Huawei mate 8, Android nougat, rooted with magisk.
[Android Apps and Games] jago25_98:
Very handy system, this. Almost like having 2 phones. You can even have 2+ VPN running at the same time!

But how to share things between the profiles? Can you reinstall an app with the user data? If so, would you need to buy something like titanium backup for each profile?
[Android Apps and Games] jago25_98:
GPS might be completely separate - privacy settings are separate from mainland, like vpn
[Android Apps and Games] cm5:
Stopped working on the S8+ either after the last update of island from google play store, or after the last security update this month by samsung.

Google Play work cannot launch, and greenify wont' freeze apps.

So i tried from scratch, delete the island, workprofile, uninstall island, restart.

Install Island, ToS click agree , setup up work profile next, "Setting up your work profile"..... " Setup complete waiting for island to start, Provisioning Island in notification, "Island has stopped, close app / send feedback"
[Android Apps and Games] jago25_98:
Good to warn others of exact android version. I will avoid upgrading if I know it's not going to work
[Android Apps and Games] rmittal:
I am using Island for past few days on my Moto G5 Plus (4GB/32GB) (encrypted and unrooted).

I installed Island version 2.0 beta 5. from Play Store and used ADB to set up island. The app seemed to be working fine. I have only 2-3 apps installed in Island out of which one app is installed in Island alone. I have not setup any google account within Island.

Today I updated the Island app to version 2.1.1 from play store and my phones app drawers became empty after reboot. I have rebooted a few times, also frozen all visible apps in Island. The problem still persists.

Please note the the above problem was not there when I was using the old version of Island.

I therefore request you to solve the above issue.

Regards.
[Android Apps and Games] ch3mn3y:
I love this app, but since latest update I cannot use it.

Before it was FCing, but worked, but now it doesn't.

I still cannot create Island using app, old island (one made before the update was deleted coz of Wipe data of the app after it was FCing all the time) didn't work and created using ADB gives "Error opening Island"...

Any idea?
[Android Apps and Games] cm5:
Using the newest version 2.1.1 and still crashing after setting up island.
[Android Apps and Games] kwokut:
This app working fine in old version(play store download and adb setup, in old version i cant setup in the app), even play store auto update. But when i recreate profile(in the app not adb), i cant install apk file in new version, OS say "not allowed to install apps with unknown origins". I try to use adb setup but still doesn't work. I checked i had set allow install apps with unknown origins in setting. I'm using HTC 10 and android 7.0
[Android Apps and Games] rock.n.dave:
Hi,

I've been using Island for use some work apps, and it was working perfectly until a couple of days ago, when I updated my device rom.

Since them, all the apps work more or less fine, but none of them can create/delete/change any file in the storage. It is like the folder "/storage/emulated/10" had revoked all the permissions. Thanks to this, I cannot download any attached file, see whatsapp picture, delete any document... I cannot modify the files either from the normal user profile as I used to before the upgrade (I could access /emulated/10 from Solid Explorer and handle all files)

I've checked that permissions and ownership of the /emulated/10 folder are the same as /emulated/0 (root 771). I've reinstalled the app Island, different versions...

Do you have any idea what else can I check?

Thank you in advance. Best regards
[Android Apps and Games] rmittal:
Update

I unfroze all the system apps in Island and rebooted. My app drawer has started working again.
[Android Apps and Games] oasisfeng:
Do you mean the file permission (not the Android permission) ?

There's nothing we could do for file permissions, which is handled in the lower layer of Android system, far out of the reach of any Android apps.

I'm afraid that might be caused by your ROM not being well tested for the upgrade scenario with "Android for Work".

Sorry, but I have no viable solution at present. The probably working way is to destroy the Island and rebuild it again.
[Android Apps and Games] oasisfeng:
Could you please try "re-provisioning" in the Island Settings - Setup? Hope that could fix it.

BTW, there's a bug in manual setup on Android 7, I'll release a new version soon to address it.
[Android Apps and Games] oasisfeng:
Sorry to have missed your previous reply. Some users reported this random "drawer empty" issue, which widely affecting stock launchers in various models of different brands. But I still couldn't reproduce this issue on my test devices.

Could you remember any suspicious frozen system app which might be the cause?
[Android Apps and Games] rmittal:
I didn't add any system app to my Island. There were the default system app namely Contact, Documents, Google Play Store.

I also have Greenify pro installed on my phone which is working on non root mode with manual hibernation of some apps activated.

Regards
[Android Apps and Games] cm5:
Using the newest version 2.1.1 and still crashing after setting up island from a fresh start. I'm on samsung galaxy 8.
[Android Apps and Games] kwokut:
doesn't work
[Android Apps and Games] psycholyzern:
How do I clear cloned app data?

I cleared it in App info, but the app still loading the old account.

Edit: Also I removed the island for the app but when I re-cloned, the same account of the app is loaded.
[Android Apps and Games] phantom146:
all right [MENTION=4376588]oasisfeng[/MENTION] im gonna go ahead and try this and will report back immediately... im gonna play with it more and lets see if i can mess with system clocks
[Android Apps and Games] oasisfeng:
Seems like it attempts to use an Android bug to post malformed (thus invisible) on-going notification to get its background service not killed. But this trick somehow failed in multi-user environment.
[Android Apps and Games] oasisfeng:
It's fixed in the alpha2, you may need to manually activate system app "VpnDialogs" to start VPN service inside Island.
[Android Apps and Games] oasisfeng:
Can you find "Island" in Settings - Security - Device Admin? If so, try activating it for work profile.
[Android Apps and Games] oasisfeng:
Sure. Just use the clone of Google Play in Island. It may feel different from outside, but you can install apps as usual.
[Android Apps and Games] weiwei233:
I activate it,but start islands still prompt "build the island"
[Android Apps and Games] phantom146:
[MENTION=4376588]oasisfeng[/MENTION]

ok what ive done is I cloned my 3rd party apps and I uninstalled the real ones as you have mentioned.. tried a reboot.. all the apps I've cloned were missing..

is this what it's supposed to do?
[Android Apps and Games] oasisfeng:
What do you mean by missing? Are they still listed in Island (with "Show all" in menu checked)? If not, are they visible in Settings - Apps?
[Android Apps and Games] phantom146:
they are not visible anywhere :/
[Android Apps and Games] oasisfeng:
Some users reported rebooting again could bring them back. I'm investigating this issue, but still could not re-produce it in my test devices.
[Android Apps and Games] Vaughan_Vaughan:
Any relationship with Samsung Knox?

I am trying this with my Samsung S7 edge, thanks a lot. I think it's kind of like Samsung Knox, but more fluency. So they have a same basics?
[Android Apps and Games] yaoppp:
Nice job once again!

I'm on a rooted encrypt nexus5x with "pure nexus" rom. Here are my questions:

1. I "island" some apps and delete the outside original ones. Does it affect update from Play Store in the future?

2. After island build its environment, I find some of the system apps are "islanded" too, like "Downloads", "Contacts", even "island" itself has an "island" version. Is that supposed to be?

3. Is there any way to auto-freeze apps in island in current version?

Thanks for your time.
[Android Apps and Games] vysea:
not compatible with Samsung?
[Android Apps and Games] swest:
[MENTION=4376588]oasisfeng[/MENTION]

I want to install the app in my MeiZu Note2 (Android 5.1), but Google Play says "This item is not compatible with your device."

Why?
[Android Apps and Games] JimmyCai:
Try :

adb shell dpm set-profile-owner --user <user id> com.oasisfeng.island/.IslandDeviceAdminReceiver

Worked for me on Xperia Z3 Compact 6.0
[Android Apps and Games] Snowby123:
It has been mentioned in this thread that it is currently incompatible with many devices but in a later update will receive a feature called God Mode that enables it on all devices. Just be patient.
[Android Apps and Games] cshlcsh:
Same problem on my device.

Sent using XDA One
[Android Apps and Games] oasisfeng:
Samsung Knox is the predecessor of "Android for Work" (as a contribution to Android 5.0, mentioned by Google). Island share the same internal infrastructure used by "Android for Work".
[Android Apps and Games] oasisfeng:
Currently, Island required "managed profile" feature which is removed by OEM in the ROM of some devices, especially devices on sale in some regions (e.g. China).

The "God mode" does not require this feature and it will be revealed in the next beta version.
[Android Apps and Games] oasisfeng:
1. Google Play Store will update parallel existent apps (both in and outside Island), but not show update for apps exclusive in Island. If you want to update exclusive apps, you may need to clone Google Play Store is Island and open it inside. Or you can use the action "install outside" first, then update it through Google Play and uninstall the outer one again.

2. Yes. They are essential for other apps to work. Island itself must be opened inside to manage other apps, the original one outside simply just open itself inside. The experience will be optimized to avoid confusion in the future.

3. No, but planned in the near future (with Greenify).
[Android Apps and Games] kamarilla:
I copy to island titanium backup and done island app backups.... Is there any way to restore an app that was at island? I tried to restore but it isn't working. And when I try, the app that tried to restore stopped working at mainland.

Thanks in advance
[Android Apps and Games] ch3mn3y:
Since latest update, any app which was cloned stop showing shortcuts in Nova Launcher. Something changed or it is possible to have them back?

Sent using D6503 - Resurrection Remix/RR N
[Android Apps and Games] kwokut:
I try to setup again, now it is fine.

This time i uninstall anti-virus app before setup,

before open play store and login google account,

i clone file manager app first then install apk (use sd card transmit).

Also, i install anti-virus app and in same profile login google account, open play store

it still can install apk.

Strange:angel:

A few days ago i try to install old version, unexpectedly old version cant install apk,

i can install old version mean my phone security setting dosent have problem, maybe.
[Android Apps and Games] leeswagger:
Is "God mode" still not "stabil" enough for daily usage?
[Android Apps and Games] oasisfeng:
After months of daily usage, I can tell God mode is stable enough for me. It has even better compatibility with apps.
[Android Apps and Games] leeswagger:
Nice! :) You mention in your post that "God" could "brick your device", in case something goes wrong.. But how is that possible without root access?

Also can you uninstall Island again after set as Device Owner from within the app? Or do I need to factory reset?
[Android Apps and Games] kasav:
I'm unable to add an account in island, island installed via play store and no error messages when starting the app. When I try to use contacts in island it tells me "you are using this app outside of island" - any ideas what I might be doing wrong?

P.S. running lineage OS 14.1, device encrypted and rooted with magisk

Thanks
[Android Apps and Games] cm2003:
Really amazing app. Love it for cloning WhatsApp and using my private as well as work account simultaneously.

Just two minor questions:

I'd like to install and use Microsoft Intine (company portal) within island. One of our company requirements is to have 3rd party installations disabled (it's only been checked during setup though, which is pretty silly...). Now my issue is that I can't proceed because it detects that this setting is set to allow 3rd party apps. I guess that's required for cloning etc. Is there a way to temporally disable that?

My other question is: is there a way to share contacts between work and private account? Within the phone settings it is enabled, but the contacts app, neither WhatsApp, show any contacts.

Cheers
[Android Apps and Games] Xifar:
Hey, is there any way to hide island apps in Nova launcher?

Right now, if I hide an island app it also hides the mainland counterpart.

All the island apps appear at the bottom of my app drawer, along with the ones only installed in island.
[Android Apps and Games] jago25_98:
OK everyone. Bear in mind island is basically afaik a set of commands to manage Android FOR WORK.

If you post any questions, they are typically android for work questions. Bear this in mind when you are searching for help.

Mods, please make this a sticky / faq

---------- Post added at 06:15 AM ---------- Previous post was at 06:13 AM ----------

My idea: switch to the underlying android for work commands and freeze island. Let me know of you find more info