Edit: Firstly, please follow the answer here. It offers an easier approach and is tested with Android 7.1.1.
Some users have reported that the following solution didn't work for Android Marshmallow and above. That may be so since I tested this with Android Lollipop and worked well on it.
Yes and No! It depends upon how you want to use this answer.
Yes there is.
When the community discovered this feature in android 4.1 (the code was exist but has not been declared yet so Google did not open the feature in Settings), I remember playing with this in my Nexus 4.
So, here are some commands that I remember for the android Terminal:
Create new user: pm create-user User_Name
To switch between users: am ...
The Linux user IDs that Android uses to isolate apps from each other are completely unrelated to user profiles on Android 4.2 tablets.
In Android, each app gets its own directory for saving data. The Linux user ID system is used to make sure apps can't read each others' data. But all these data directories are inside one directory on the filesystem, /data/...
This is available for phones starting in Android 5.0 (Lollipop):
And for tablets starting in Android 4.2 (Jelly Bean):
As Tatjana Heuser mentioned, it's also available as hidden functionality in Android 4.1, but not accessible through the ...
For Android Oreo and possibly for Nougat too I suppose, run:
adb shell get-current-user #returns USER_ID of the foreground user
adb shell dumpsys activity | grep mCurrentUser
You output would be:
0 is always the user Id for the owner (primary user). Any other number, say 10 or 11, would reflect a secondary user (...
Set up a child account on the device, this is pretty simple, there's an overview of that process here. You don't to sign the child in using a Google account, it lets you skip these steps.
Assuming you want your kids to be able to download any apps you've already paid for, or want to be able to download any apps you buy them, sign into the Play Store on the ...
They are stored in
I've just created a restricted profile and it created a new folder in there with the name "10", the main admin users folder is "0". You should be able to copy the files into the relevant place within these folders to get mine craft to pick them up.
(This was done on the 2012 Nexus 7 but I don't think it will be any ...
SwitchMe app just appeared featuring profiles for root users. The free version is able to manage 2 profiles. In order to manage more profiles you need to buy the key for around 3$. SwitchMe needs, not surprisingly, root.
SwitchMe is a unique application for root users that allows you to log
in and out of multiple installations of Android just as you ...
In terminal emulator;
List users to get their ID. It's the first number listed, usually 11 for the first user. 0 is owner. Ie 11:user:10 & 0:owner:13
# pm list users
Stop the users execution instance (logoff)
# am stop-user <id>
Usually 'am stop-user 11'
You can't logoff the device owner, ID 0.
In a terminal app on Android, enter (requires root access) :
am stop-user USER_ID
E.g. For a Guest user, its USER_ID in my device is 11 so the command would be am stop-user 11.
am stop-user doesn't process multiple input so you've to execute the command for every secondary user which you want to pause.
This is bit different from restarting the ...
The Android emulator doesn't currently support this, unfortunately. There is a configuration file in the build system that determines whether or not to enable the user accounts feature, and it is disabled in the emulator images distributed by Google. You can star this issue on the bug tracker in the meantime.
However there are two alternatives you can look ...
As of this moment, it is not possible to convert a user into a profile.
However, you could create a profile based on the existing user. Downside: Since a profile doesn't have a Google account tied to it, they can't have a GMail app. And as you have already mentioned, they would also lose those user-specific data.
UPDATE #1: From Android.com, it says that ...
I've checked on one of my devices, and as the comment chain already suspected, you don't need to worry about everyone having access to everybody elses data. First:
/storage/sdcard0 -> /storage/emulated/legacy
Which means, it's just a symlink which always points to the data of the current user:
/storage/emulated/legacy -> /mnt/shell/emulated/0
Each user account has its own lockscreen settings, so the easiest way to do this is to simply use a password lockscreen for each user. In fact, you can use entirely different lockscreen security for one user than you do for another (e.g. one could use a pattern, one a PIN, one a slide lock, etc).
To set this up, select a user and unlock the device, then go ...
Any ideas whether this feature will be part of the core of Android
4.2, or if it's just for Nexus 10?
Multi-user support in Android 4.2 will be for ALL TABLETS. So yes, all tabs with Android 4.2 Jelly Bean will have multi-user support.
Google is officially supporting this only for tablets as of now. However, I'm very sure that custom ROM makers will ...
It works in a very similar way to how one user's apps are isolated from each other. Whereas apps' private data used to be stored in /data/data, now it's stored in /data/users/n, where n is the ID of the user profile. Each user gets their own directory, and each app that user uses gets a directory within that. POSIX file system permissions protect the data ...
Yes, it is possible.
Need a File Manager w/Root
First, you need a file manager that has root access. Personally I use ES File Explorer. Within ES File Explorer, you will need to enable Root access (it's under the Tools part on the left menu).
All users will need to have signed in
All users must have had to signin at least once to create their ...
I think the first answer (by June Lau) misses the point - the question was about sharing files between different users on the SAME device. I have been using subdirectories that I created within android/obb with success. In my Nexus 7 tablet the exact path is /storage/emulated/0/Android/obb/. The issue is that the media browser does not see files in there, so ...
It is supported, but you must have rooted device.
Download file manager that allows root access(for example: ES File Explorer)
Navigate to /system/
Add these lines at the end of build.prop file:
Save and reboot device
If something went wrong, restore build.prop backuped version from recovery.
You can enable multiuser support without rooting the device by using ADB.
Enable debug mode (developer settings)
Connect the device via USB to a PC with ADB installed.
Execute these commands:
adb shell setprop fw.show_multiuserui 1
adb shell setprop fw.max_users 4
The settings might be lost after reboot. I'm sure it's possible to modify the build....
With the update to 4.1.2, multiple user profiles can be configured.
There's some documentation on xda:
Switch User Profiles on Jelly Bean
Application (needs root)
Application SwitchMe (doesn't need root) and works starting 2.1, so this is probably what the OP might be looking for.
In JellyBean, according to XDA, using the commands (need root, ...
The problem has been solved. My device (3G) had Android 4.2 installed initially. However the multiple user functionality is only available with Android 4.2.1. My device didn't show the udpate. Today it did - no idea why - and now the item is visible.
Shared apps are stored only once on the device (with just the data and settings part being specific for each user), so whenever one user decides to update a shared app, it gets updated for all users (Source: Heise.DE). As usual with some of the real important details (see: Google Backup), there are no details (or even manuals) describing exactly how it works....
The only way I found was to restart the device.
Be careful to not switch to other users after the restart. Once you switch to another user, his processes are initiated and continue working even if you switch back to your user - just like you said in the question.
Strange that Google haven't tackled this issue. Perhaps on a newer Android version 4.3+?
On rooted system change in xml file for user in /data/system/users/ flags from 16 to 24
user id="11" serialNumber="13" flags="24" created="1373565328127" lastLoggedIn="1376779161829" icon="/data/system/users/11/photo.png"
Here are the constants https://android.googlesource.com/platform/frameworks/base.git/+/android-4.2.2_r1/core/java/android/...