yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] oasisfeng:
Manual override for non-encrypted device (NO ROOT REQUIRED)

Currently, Island will prompt that it requires device encryption to work. You need either an encrypted device or the root privilege to create the Island.

If you don't want to encrypt your device, besides the root option, there's actually also a manual procedure to create Island on your device for advanced users.

Execute the following commands in the shell (in exact order):

If all goes well, Island will start, showing the app list.

Now, have fun without device encryption.
[Android Apps and Games] oasisfeng:
Experimental "God mode"

In normal mode, Island only takes care of apps inside the Island space. The “God mode” is an experimental mode, in which Island takes control of ALL apps, both inside and outside Island space. For example, you can freeze any app without cloning it first.

It is still in beta testing and not ready for average users. At present it is only recommended for advanced users who is well understanding what is going on the device and how to deal with unforeseeable troubles.

The limitations in “God mode”:

App Backup (Cloud backup for app data by Google Play services) will stop working on Android 5.x~6.x. (Not an issue on Android 7+)

If G Suite (Google for Work) account is logged in Island, Play store will switch to work mode and you cannot install most of the apps. Log out the G Suite account will revert Play store to normal mode.

God mode could only be setup manually:

Remove all accounts and "Work profile" (which is the Island space if you have already setup normal mode of Island) in system Settings - Accounts.

Execute in ADB shell:

dpm set-device-owner com.oasisfeng.island/.IslandDeviceAdminReceiver

If you get error message in this step, please try executing settings put global device_provisioned 0 and then above dpm ... command again, followed by settings put global device_provisioned 1. (The last command is very important, otherwise you may face status bar locked and being unable to call or SMS.).

Start Island app now and it will work in God mode.

God mode could even work together with normal mode in Island, giving you full control on apps both inside and outside of Island. Just setup God mode first and then follow the steps to setup normal mode, as mentioned above.
[Android Apps and Games] Deleted member 2086469:
Is this the same concept as MoboClean? Interested to see how it works and save more battery for all of us :)
[Android Apps and Games] oasisfeng:
No, Island never repack apk file locally, which is inherently insecure for users, since all your app data (including password input) are technically in the hand of MoboClean. (The same applies to other similar tools, e.g. LBE Parallel Space)

Instead, Island takes advantage of the underlying mechanism used by "Android for Work". This ensures that all your apps run natively in Android system and their data are securely stored in internal location of Android which is never accessible by Island. It has the same level of security as "Android for Work".
[Android Apps and Games] SeemuRimu:
This will be another weapon against bloatwares.

绝对又是一款神器。
[Android Apps and Games] weiwei233:
always here..

shell@E6883:/ $ pm install --user 10 -r /data/app/com.oasisfeng.island-1/base.apk

l --user 10 -r /data/app/com.oasisfeng.island-1/base.apk <

pkg: /data/app/com.oasisfeng.island-1/base.apk
[Android Apps and Games] oasisfeng:
If it hangs, try that command without "--user 10" instead.

pm install -r /data/app/com.oasisfeng.island-1/base.apk
[Android Apps and Games] weiwei233:
OK!Success

----

127|shell@E6883:/ $ dpm set-profile-owner com.oasisfeng.island/.IslandDeviceAdminReceiver 11

et-profile-owner com.oasisfeng.island/.IslandDeviceAdminReceiver 11 <

java.lang.IllegalStateException: Not allowed to set the profile owner because there are already some accounts on the profile

at android.os.Parcel.readException(Parcel.java:1618)

at android.os.Parcel.readException(Parcel.java:1558)

at android.app.admin.IDevicePolicyManager$Stub$Proxy.setProfileOwner(IDevicePolicyManager.java:6079)

at com.android.commands.dpm.Dpm.runSetProfileOwner(Dpm.java:132)

at com.android.commands.dpm.Dpm.onRun(Dpm.java:85)

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:251)

:(
[Android Apps and Games] oasisfeng:
Please remove the work profile in Settings - Accounts, then follow the instructions strictly with all the commands entered one by one.
[Android Apps and Games] weiwei233:
i think i messed up..

sorry

Start island app still prompt "build the island"

1|shell@E6883:/ $ pm create-user --profileOf 0 --managed Island

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

Success: created user id 14

1|shell@E6883:/ $ pm install -r /data/app/com.oasisfeng.island-2/base.apk

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

pkg: /data/app/com.oasisfeng.island-2/base.apk

Success

1|shell@E6883:/ $ dpm set-profile-owner com.oasisfeng.island/.IslandDeviceAdminReceiver 14

-profile-owner com.oasisfeng.island/.IslandDeviceAdminReceiver 14 <

java.lang.IllegalStateException: Trying to set the profile owner, but profile owner is already set.

at android.os.Parcel.readException(Parcel.java:1618)

at android.os.Parcel.readException(Parcel.java:1558)

at android.app.admin.IDevicePolicyManager$Stub$Proxy.setProfileOwner(IDevicePolicyManager.java:6079)

at com.android.commands.dpm.Dpm.runSetProfileOwner(Dpm.java:132)

at com.android.commands.dpm.Dpm.onRun(Dpm.java:85)

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:251)

1|shell@E6883:/ $ am start-user 14

am start-user 14

Success: user started

127|shell@E6883:/ $ am start com.oasisfeng.island

am start com.oasisfeng.island

Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] pkg=com.oasisfeng.island }

shell@E6883:/ $
[Android Apps and Games] Open.Orange:
[MENTION=4376588]oasisfeng[/MENTION] Hi, I've become a beta tester and operation system is 5.0.2 but still can't download from Google play ,and it says this application with all of your devices are incompatible.
[Android Apps and Games] jyu2uh:
Works great on my Sony E5823. Hope the automatic mode will come soon.

Really excellent work and admire your always ingenious work.
[Android Apps and Games] jyu2uh:
Something wrong with the cloned app Meituan. While running, the force close warning will keep poping out though after click yes, the app is still usable without being force closed.
[Android Apps and Games] oasisfeng:
This means your existing managed profile is not correctly removed. Please try removing it first in the Settings - Accounts, or use the following shell command to remove it:

pm list users

pm remove-user <user id>
[Android Apps and Games] oasisfeng:
Sorry, not all devices / ROMs support managed profile as the AOSP/Nexus device. If you are using 3rd-party ROM, please contact the ROM modder for support of "managed profile" feature.

Even if your device is not supported right now, please stay tuned for the incoming "God mode" which supports all devices of Android 5.0+.
[Android Apps and Games] weiwei233:
disaster :(

shell@E6883:/ $ pm list users

pm list users

Users:

UserInfo{0:+86:13} running

UserInfo{11:Island:30} running

1|shell@E6883:/ $ pm remove-user 11

pm remove-user 11

Success: removed user

1|shell@E6883:/ $ pm create-user --profileOf 0 --managed Island

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

Success: created user id 12

1|shell@E6883:/ $ pm install -r /data/app/com.oasisfeng.island-2/base.apk

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

pkg: /data/app/com.oasisfeng.island-2/base.apk

Success

shell@E6883:/ $ dpm set-profile-owner com.oasisfeng.island/.IslandDeviceAdminReceiver 12

rofile-owner com.oasisfeng.island/.IslandDeviceAdminReceiver 12 <

java.lang.IllegalStateException: Trying to set the profile owner, but profile owner is already set.

at android.os.Parcel.readException(Parcel.java:1618)

at android.os.Parcel.readException(Parcel.java:1558)

at android.app.admin.IDevicePolicyManager$Stub$Proxy.setProfileOwner(IDevicePolicyManager.java:6079)

at com.android.commands.dpm.Dpm.runSetProfileOwner(Dpm.java:132)

at com.android.commands.dpm.Dpm.onRun(Dpm.java:85)

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:251)
[Android Apps and Games] jyu2uh:
It seems the apps in "island" can't share the VPN connection in the system. Anyway to fix this?
[Android Apps and Games] TNSMANI:
[MENTION=4376588]oasisfeng[/MENTION]

A small correction in the heading of this thread.

"Inner Peace" instead of "Inner Peach".
[Android Apps and Games] lpyyss:
Is installation through Google Play Store inside island possible?
[Android Apps and Games] ebautista:
Finally able to transfer from parallels space to this. This is smoother and lesser power hungry. So far, the issue i encounter is i cannot share from any apps in Island to Mainland apps. Or i misses something again? Can someone share how to if you know? Thanks
[Android Apps and Games] oasisfeng:
I'm afraid it's probably a bug of the launcher itself, since some 3rd-party (including OEM) launchers may not be tested with Android for Work. Could you please try Nova Launcher to see if the issue is still there?
[Android Apps and Games] laymanal:
Yes, Nova Launcher works fine.
[Android Apps and Games] oasisfeng:
Is your Island setup normally (via Android for Work setup UI) or manually (via ADB)? There might be some inconsistency in sharing availability, which I'm investigating.
[Android Apps and Games] ebautista:
It is setup normally. I am also rooted.
[Android Apps and Games] oasisfeng:
As data plans became cheaper and cheaper, I'm afraid that app is irrelevant nowadays. There's no plan to continue the development on "Bytes Insight" app.
[Android Apps and Games] oasisfeng:
Could you post the stacktrace of the FC?
[Android Apps and Games] oasisfeng:
APKs are now shared with Dropbox. Link in the OP.
[Android Apps and Games] oasisfeng:
Beta 3 is the most recent version.
[Android Apps and Games] hyperterminal:
Ok, which is the most stable?
[Android Apps and Games] G4 Man2:
I have the exact same problem on the stock Pixel Launcher and even GNL. Just sort of happened randomly, unlocked my phone and all my apps were gone from my app drawer. Seems like some Samsung users get this issue from how Knox handles secure apps and MIUI users for some other reason I'm not quite sure.
[Android Apps and Games] JoshDaWhite:
i totally understand you, but it was pretty good for making sense of my data spending.Likeessenger spent 5mb in 10min, while Instagram ate 70 mb in 5 mins.Do you intend to open source the app, or sell the source code ?3rd world countries could find the app useful.
[Android Apps and Games] bnwg:
FYI. I can share from work profile to personal profile but not the other way around. Island setup by manual (via ADB). Device is rooted.
[Android Apps and Games] Artim_96:
deleted
[Android Apps and Games] ebautista:
[MENTION=4376588]oasisfeng[/MENTION], the thread is quiet. Does that mean we are waiting for your magical update? :)
[Android Apps and Games] Licaon_Kter:
2.0beta3 is out already.

God mode is here on post #3.

Magic Update?
[Android Apps and Games] oasisfeng:
Thanks for your report. This issue is also confirmed here, I'm working on a fix.
[Android Apps and Games] oasisfeng:
It makes sense. I'll open source BytesInsight in the near future, after some code clean up.
[Android Apps and Games] Gborg3:
Is there any known issue working with LVM partitioning? I have my HP TouchPad running the third alpha N release of Evervolv and there are multiple other users wanting to use Facebook on a bigger screen(yes my daughter and wife are the other users). When I try to build the island the app force closes without even a message. Update to more recent release on my touchpad or expect N to take a little longer to play nice or realize that island is still in a moderately experimental state?? Parallel space even with root and Lucky Patcher removing ads really doesn't feel snappy, secure or worth the extra waste of time especially with it affecting people I care about.
[Android Apps and Games] Raijin:
Before, I want to thank oasisfeng for you work. ?

I like a lot the performance of Island. I am using it just to clone WhatsApp to have two WhatsApps running at the same time in my phone, so unfortunately the privacy features are going against me.

Gboard is not letting me to sync the words saved because sync is not available for devices with G Suite or Android for work accounts".

And I can't access the contacts of my Google account, so I can't access the contacts of my WhatsApp.

Is there some workaround for at least one of the problems? Maybe another type of Island that doesn't use Android for work but works that nicely? (I tried Parallel Space and it has to have the cloned apps open to receive notifications).

Edit: I forgot to say that Pixel Launcher is immediately closed when having the Island created. When the Island is destroyed, it works again. ?

Thank you very much.
[Android Apps and Games] ebautista:
For the contacts, please make sure you cloned the Google Contact Sync to your island profile. Then login to google account in the Android Settings->Accounts in the work profile section(see screenshot attached).

For other issues, [MENTION=4376588]oasisfeng[/MENTION] need to answer them.

And i forgot. You need to enable contacts in the permission settings of the cloned app like whatsapp.
[Android Apps and Games] ebautista:
[MENTION=4376588]oasisfeng[/MENTION] just a feature request. Is it possible to add search feature in the Island app for mainland and island. I have a bunch of apps and need to scroll at the bottom in order to locate it. Would be good feature.
[Android Apps and Games] G4 Man2:
Since this also affects Pixel Launcher and Google Now Launcher do you think you'll be able to fix this or is it something that only can only be fixed with Android for Work itself?
[Android Apps and Games] ebautista:
My pixel launcher in stock op3t is working great with island. No issues when cloning app.
[Android Apps and Games] G4 Man2:
That's not the issue. The issue is that if you freeze an island application and then reboot (or sometimes it just happens randomly) all applications from the app drawer disappear. I've tested it with Pixel launcher, Google Now Launcher, Nova, and Action Launcher. Doesn't affect Action or Nova but it does affect Pixel and GNL.
[Android Apps and Games] oasisfeng:
I'm also experiencing a lot of issues in the stock Google Now launch on Nexus device, the most common case is app icon not being removed after freezing, causing crash upon click. I have submitted crash report to Google many times, but it's still not fixed yet.

Since they are not open source, I could hardly analyze the cause. I'll keep digging workaround.
[Android Apps and Games] oasisfeng:
Thanks for your feedback. It's a planned feature. :)
[Android Apps and Games] droidnxs:
Okay, I didn't analyze the complexity of this app, installed it on my non-root LG V20 running Nougat. Now the phone just freezes with low memory and becomes unusable a minute after startup. Any help? I tried destroying the created island, but that simply force-closes the Island app itself. Is there any way to recover from this? Help!
[Android Apps and Games] Raijin:
Thank you very much for your detailed response [MENTION=911450]ebautista[/MENTION] ! I'll try it later.

Kind regards
[Android Apps and Games] Utini:
Does this also bring security related benefits? E.g. sandboxing the browser to prevent exploits from touching your system?
[Android Apps and Games] oasisfeng:
I'm afraid not.
[Android Apps and Games] Utini:
Alright so this is mainy to prevent apps like facebook/whatsapp/cheetah stuff from spying on your phone?

Is there a way to e.g. let cheetah's quickpic only access /dcim/ and no network access at all?

Can I freeze system apps without root ?

Thanks !
[Android Apps and Games] Massyboy:
Loving this app so far-seems to give the same functionality as Ice Box when I had my previous rooted phone.

Sorry if I missed something or if I'm being daft but when I need to update the frozen apps on the Island, at the moment, because I can't seem find another way of doing it, I manually click each app, unfreeze them all (I have loads of apps unfortunately) then open the Play Store and update then go back and freeze them all manually again. Is there a way of automating this process anyway, selecting multiple apps to unfreeze or unfreezing all apps at once? Again, apologies if this has been covered previously
[Android Apps and Games] oasisfeng:
Thanks for your feedback. That's definitely something I need to find a solution for. I'm also not satisfied with this situation personally.
[Android Apps and Games] oasisfeng:
To block network access, you have plenty of choices from Google Play Store implemented by Android VPN mechanism, just search "firewall".

The good news is that you can use different VPN service app in Island and outside.

For the photos access, I'm planning to provide a special storage bridge to access photos across the border of Island, in controlled manner.
[Android Apps and Games] sunsero:
So this means a VPN based firewall on the main land doesn't filter traffic in the island?

I really love Island since I've installed it a few days ago but I'm a bit concerned about RAM usage and network traffic if you have to run apps twice.

Besides from the firewall I also have to run Play Store on mainland and island for app updates, don't I?

What's shared between mainland and island and what isn't?

Another question: If my Galaxy A5 2016 unrooted will offer an OTA update from Android M to Android N, should I destroy Island before installing the Android update?
[Android Apps and Games] ebautista:
File bridge is awesome dude.
[Android Apps and Games] hadi_rena:
Does the special storage access only work for photos? Or any files?
[Android Apps and Games] elmex1000:
xTremly useful concept! I'm impressed.

Has anybody a good way on how to get internet access in the island with AFWall? Installing it into the island works if you add Superuser as well to the island. However, the AFWall in the island conflicts with the one on the mainland. And in the mainland one, there is no way to allow or block the apps installed in the island. The UID are not visible at all. Hints would be appreciated.
[Android Apps and Games] oasisfeng:
1. Yes, VPN based firewall on the main land doesn't filter traffic in the island.

2. I think only a small number of apps need to run in Island constantly. VPN service app should generally be lightweight on memory footprint.

3. I've mentioned the Play Store issue in several posts back. App binaries are shared, so only apps exclusive in Island have to be updated via the Play Store in Island.

I hope Google could solve this issue in the Play Store app itself, but if not, I'll work out a workaround for that.

4. What's shared between mainland and Island depends on the Android version. App binaries are always shared, alongside device-unique status, including IMEI, SMS and etc.

From Lollipop to Marshmallow, and Nougat, more and more features are supported to work separately in Work profile. For example, you can have separate screen lock and fingerprints in Island since Android N.

5. I believe you don't need to do anything before OTA update, since that's surely expected for Android for Work.
[Android Apps and Games] ratbags:
So I installed then uninstalled soon after. Now I have two icons for most of the system apps on my phone. The second icon has the little island icon on it. How do I get rid of the second icons?
[Android Apps and Games] oasisfeng:
Just go to system Settings - Accounts - Remove work profile
[Android Apps and Games] oasisfeng:
I'd suggest contacting the developer of AFWall to support multi-user mechanism properly. Since it uses root privilege, I believe all apps should be visible there.
[Android Apps and Games] venreddy:
Very good concept and works fine as mentioned.

Few points to note, if you can able to incorporate in next builds...

1. Apps only in island are not visible in playsyore and updates would not come directly unless you reinstall full app again.

2. Uninstalling island app is not automatically destroying work profile, caused all apps are invisible in launcher app drawer. Even non-island apps disappeared from app drawer.

3. I have banking app that verifies mobile number, it is not working in island even after adding play services, playsyore, contacts, phone, phone services...Etc to island. App just stuck at validating mobile number.

4. Not able to hide island app normal app icon from launcher. Two icons visible.

5. It would be good if there is option to create more than one profile... One for social apps, one for Banks...Etc.
[Android Apps and Games] jaibar:
Could be nice if the island had a port that connects to the mainland.

For example, perhaps a shared folder that could be accessible by both island and mainland? This can be handy sometimes, for example if one uses an app in the island to get some document/pdf/photo/whatever, now needs to read it in mainland or be able to share it to 3rd party such as whatsapp, some contact, etc.

I couldn't find a way to easily do this, but having a shared folder could facilitate this.
[Android Apps and Games] MaXX99:
Feature Request:

More intensive use of "Activities". That way some of the functionallities would be accessible through Tasker/Macrodroid/LLama/...; for example

- freeze all apps

- freeze a particular un

- unfreeze apps

- clone app

etc etc ....

Allowing the use of island without having to go through the GUI everytime
[Android Apps and Games] sunsero:
Freeze all Island apps and if possible even quit Island completely would be great as Llama / Tasker Plugins.

Also I'd love to have an app state to automatically change the state of an Island app to frozen when the screen turns off.
[Android Apps and Games] Atrate:
Does it block apps from running particular shell commands?

For example does it prevent from reading /proc/net/xt_qtaguid/stats ?

Malicious apps, like Facebook can use it to snoop on all the device's connections.
[Android Apps and Games] Licaon_Kter:
Why don't you _stop_ using malicious apps then?
[Android Apps and Games] Atrate:
As of Vault7, it would require me to remove zygote and all that stuff. You can never be too secure.

On a more serious note, I am asking this, because as of now I see Island as just a non-root sidegrade of Xprivacy and I'd like to know whether features like these would be implemented.

Also, it would help other people that choose to use _malicious apps_.
[Android Apps and Games] JudgeDread11:
Afwall seems to work for me. Make sure you use the block selected mode and check multi user in experimental settings both in and outside the island.
[Android Apps and Games] elmex1000:
Thanks for the hint. Will try. I am on allow selected. So this might be the missing link. Cheers.
[Android Apps and Games] JudgeDread11:
It says it in the app at the multi user option.
[Android Apps and Games] tdcrone:
Amazing, thank you! Been using it for a week. Notes:

1) Love being able to run separate VPNs using OpenVPN!

2) Amazon license check (e.g Amazon Video, paid apps) doesn't seem to work inside the island - anyone have a solution? Amazon apps (Alexa, Kindle) from the Play Store work fine.

3) So far everything from the Play Store has been perfect out of the box.
[Android Apps and Games] ebautista:
I got new issue here. In stock oxygen os 4.1 beta (nougat) I cannot download sent images. It shows me "download failed". It seems like permission error. [MENTION=4376588]oasisfeng[/MENTION], any thougts on this?