46

Is there such a thing as a "current user" on Android and a way to switch it?

I'm interested in getting a Motorola Xoom and would like to share it with my wife when at home. For my Windows laptop we us fast-user switching so that we can keep our own tabs and logins. I'm not specifically interested in the privacy aspects of user-switching, so if the OS doesn't support separate users, is there a concept of profile switching?

5
  • This can be done by backing up and restoring repeatedly, but it's definitely not "fast" user switching; probably more trouble than it's worth. Hopefully Google will support this soon, with the advent of tablets that are likely to be shared and such. Commented Mar 6, 2011 at 17:21
  • Instead of having to back up the user's ROM each time is there any way to setup a dual boot with two separate instances of Android? That would allow for somewhat quickly switch users by rebooting (assuming the xoom has a quick boot time). Maybe something like this?
    – Matt
    Commented Mar 6, 2011 at 18:51
  • Matt, this is an interesting idea, but would double the storage space that Android occupies on the device. It would make more sense to implement user profiles similar to how the various Linux desktop environments, Mac OS, and Windows support multiple user accounts. There's no reason why Android cannot do the same. Commented Mar 16, 2011 at 21:47
  • 1
    @DerekMahar: there is a BIG reason why Android cannot do the same thing that Linux does for multiuser switching; the main reason is due to the way Android implements application security jail. In Android, every dalvik app runs under its own user account (barring a few exceptions); this means the user is constantly switching accounts while switching between applications. This does not mean that you cannot implement multi-user in Android, but it wouldn't be implemented the same way as it is on regular Linux desktop.
    – Lie Ryan
    Commented Oct 22, 2011 at 16:00
  • 2
    See this: androidpolice.com/2012/07/30/… This was announced a day ago on reddit
    – t0mm13b
    Commented Jul 31, 2012 at 14:44

7 Answers 7

15

This is available for phones starting in Android 5.0 (Lollipop):
http://www.android.com/versions/lollipop-5-0/

And for tablets starting in Android 4.2 (Jelly Bean):
http://developer.android.com/about/versions/jelly-bean.html#42-multiuser

As Tatjana Heuser mentioned, it's also available as hidden functionality in Android 4.1, but not accessible through the regular user interface.

8

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 would on a desktop computer.

The technology behind SwitchMe saves all of your applications and data, protects it and stores it as a file in memory. You can then log out of an account and log into a fresh installation of Android or another account with its own unique content.

You may create as many profiles as the memory is capable of holding. Some of these may require very little free memory because they contain few apps, others will be larger as they contain many applications and lots of cache and data.

1
  • I am really impressed by the App: That was exactly what I was looking for to share my modded Kindle Fire with other people.
    – Flow
    Commented Feb 25, 2012 at 10:23
8

Supporting multiple users has been discussed before, and I think that it is something that is needed as well. If I buy a tablet, and set it up for my email, calendar, etc. I don't want that device to be a community device. Which would mean that multiple tablets would be needed in a family household.

A problem with being able to support multiple users is the space required. If each user had their own settings, then the /data/data would have to be much larger to support these extra users. But not only settings, it would have to support all the apps installed by the user too, so /data would have to be much larger too. You couldn't use the same apps between users, because the paid apps are tied to the account that bought them.

I think this will eventually happen, but much larger storage would be needed for the devices. As it is, my device consistently fills the /data/cache and I have to clear that out because of the number of apps I have installed. Now just imagine have 2 (or more users) using the same device. And where do you set the limit on the number of users that can use one device? There are 2 adults and 3 teenagers in my household. So that is 5 people that could potentially be using one device.

I actually experience issues with Google TV about this very topic as well. It doesn't, currently, have gmail, or apps like that, installed, but I can log in to gmail via Chrome Browser, and then if someone else comes and uses the TV/Browser, now I am logged in. (I don't actually do this, but I noticed it to be an issue with services like youtube and such)


update

Google has been hard at work starting to implement this. No actually information on when it will be available, but the start of the foundation has been laid.

In the LockPatternKeyguardView is the following code:

public void onUserChanged(int userId) {
           mLockPatternUtils.setCurrentUser(userId);
           updateScreen(getInitialMode(), true);
}

So multi-user support is coming, at some point.

Update 2 (10/29/2012)

With the announcement of JellyBean 4.2, Multi-User support is available, but only on tablets.

1
  • "... but only on tablets." -- which makes sense because phones are usually not shared. Tablets are. Commented Jan 9, 2013 at 13:33
5

With the update to 4.1.2, multiple user profiles can be configured. There's some documentation on xda:

In JellyBean, according to XDA, using the commands (need root, so su prior to calling)

pm create user <name>
pm remove-user <number>
pm list-users

user accounts can be created, deleted, and listed (in this order).

3

I'll admit this isn't a great solution, but in case it helps somebody, Titanium Backup has very limited support for this:

http://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-howtos.html#multi-user-data-profiles

2

There is an app called Devide by Enterproid that may do the trick. It's meant to be for deploying in a work environment so that a user can have a work profile and a personal profile on the phone, each separate and secure with different settings and apps specific to the work or personal environment. I don't see why it wouldn't work with two different people's profiles instead of the work vs. personal setup. I don't know about compatibility with the Xoom, or cost (it's probably not cheap) and they are still in an invite only beta but it's worth requesting an invite and checking it out.

1
  • From what I've read the "Work" partition of Divide is extremely limited, eg you can only load apps onto it that have been approved by Enterproid. If you're happy with these restrictions then it is probably the easiest way to divide a device between two users.
    – GAThrawn
    Commented Mar 7, 2011 at 10:10
0

You can login with another user, by adding multiple user in your Android device. We can Enable Multiple User Accounts on Android 4.2 and Above.

  1. Create another User Account by opening the notification by double pulldown notification to get the other quick settings.
  2. In that other quick settings, on top-right corner you'll find a round icon. That is Admin user icon(if you're using it for first time).
  3. Click on it and create a new user(it'll remain until you delete it) or use a guest user(it'll be deleted after using it, but you can also keep it).
  4. After creating new/guest user. Just go to Google Play Store, install whatever app you want. Don't worry it'll use your existing same app files but not users data, so it won't download a new one.
  5. You can login those apps with another id. Like this you can use Whatsapp, hike, facebook, twitter, paytm and more...
  6. Before that, go to more settings Click and open that created new/guest user's settings and enable Allow phone calls and SMS. So that you'll get verification SMS or call. If any help you can comment it, i'll keep on updating it if any change or improvement.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .