Recommended Posts

Multiple User Accounts Are Coming To Android: Miles Of Code Is Already In AOSP, And Some Of It Is Quietly Working On Devices Right Now

Multi-user support is one of the few remaining things a desktop OS can do that Android can't. The "coffee table tablet" use case would greatly benefit from a multi-user setup, as would an enterprise user who wants to keep work and home separate. It's been a top 20 item on the Android bug tracker since the debut of Honeycomb, so there is certainly demand for it.

As we've seen from my previous experiments in sticking my nose where it doesn't belong, Google likes to leave breadcrumbs in shipping products for the astute observer to find, and the multi-user situation is no different. After a bit of research, I can tell you that Google islistening. There is a surprising amount of multi-user work being done on Android - some of it is even working on devices right now.

Before we jump into things, we're going to need to learn some vocabulary. "AOSP" is Android Open Source Project, you should know that one. It's the publicly available code base for Android. A "commit" is a code push to this code repository. You're supposed to include a helpful comment with your commit, telling people what the new code is supposed to accomplish. This is Android code, so the commit comments are written by Googlers. In other words: they're accurate.

Now, on to the evidence:

The First Clue

2012-07-27-21.22.00_thumb1.png?d516102012-07-27-21.22.06_thumb1.png?d51610

You can't see it, but there is multi user support in there somewhere.

I was originally clued into the idea of multi-user code already existing by Abhisek Devkota, aka "ciwrl," CyanogenMod's Head Moderator. The guys at CM had stumbled upon some interestingsounding methods named "SetCurrentUser" and "onUserChanged." These methods were found inLockPatternKeyguardView.java, a file for Android's pattern unlock. Here's the whole section:

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

I'm no expert, but this looks pretty straightforward: when the user changes, switch the lock screen over to the new user's lock screen, and redraw the screen so the user can see these changes. It sounds like pattern unlock is listening for a user switch!

There's way more to this than just that one section. Ciwrl also pointed out a few commits to me, and if you start digging through the public AOSP repository, you'll start noticing tons of work related to multi-user functionality. After a bit of work, I've been able to piece together a decent timeline of multi-user upgrades to the AOSP code base.

Source and full article: Android Police

  • 5 weeks later...

If this is implemented, it will only be for tablets.

BUT

on the other hand, this may not be implemented at all....

Linus said that at some point the Android kernel and the Linux kernel will be merged into one....the Linux kernel is multi user so maybe these things we are seeing, is just the Linux kernel being merged into the Android kernel and nothing else....

There is ways to enable multi users in JB now. I made a post a while ago about this.

Oh? I'll have to have a look for that...

I suppose you can have several account on Android at the moment but only in the Market- I've got 3 Google email addresses and if I download on one of them, when the app opens it will sign into that Google email and any in-app purchases can only go through that email. Not as elaborate as it could be but just a little hint.

This topic is now closed to further replies.
  • Posts

    • If you have a TV in your living room, chances are you can probably just use the Steam Link app and play your huge PC in big picture mode, effectively giving you the Steam Machine experience to see if you'd actually like it. The good news is the Steam Machine can have it's drives upgraded. It has a USB-C 10Gbs port as well, so the 512GB drive could be quickly moved to an external enclosure and repurposed.
    • This machine could very well be a second gaming PC for their living room as a console experience. So we would have to assume their main PC exists as well; With that said, I have 10gb home network with a 2.5gigabit internet connection here so we tend to have more than enough speed to download games. However, we can't make use of the 10gb LAN using Steam's built in transfer tool because it always compresses transfers and that slows the transfer down to well below a standard gigabit port speeds, sometimes as slow as 200-300Mb/s transfers. While that's probably still faster than most internet connections anyway, if they'd fix the LAN transfer issue it'd be upto x5 faster even on a gigabit LAN, than simply dropping a 2.5gbe port on there with hopes of a few people having fast internet connections. There are solutions, work arounds, like using LANCache if you run a NAS... or simply copying the files over manually using a network share.
    • Samsung announces ultra-fast UFS 5.0 storage to supercharge mobile AI by Paul Hill Local AI models tend to run a lot more slowly than cloud services like Claude and Gemini; however, Samsung has just announced that it has developed its UFS 5.0 solution, which increases data transfer to speeds of 10.8GB/s, enabling faster storage and processing in mobile memory that has the potential to provide more optimal local AI experiences. Commenting on this development, Jangseok Choi, head of Memory Product Planning at Samsung Electronics, said: If you’ve tried local AI, you’ll know it can be quite slow, especially if using the larger parameter models. By developing this new solution, Samsung says that storage is evolving from just storing data to a core piece of infrastructure that supports AI computation, too. The Korean company said that UFS 5.0 integrates the latest embedded memory interface standard from JEDEC and achieves up to 10.8 gigabytes per second (GB/s) transfer speeds. Regarding write speeds, Samsung UFS 5.0 can reach 9.5 GB/s. Both the read and write speeds are twice as fast as those of the previous UFS 4.1 standard. Aside from being ideal for local AI, Samsung’s UFS 5.0 is more power efficient by 40% compared to UFS 4.1. Samsung achieved this by implementing innovations such as clock gating and multi-voltage technologies. UFS 5.0 is also ultra-compact at just 7.5mm x 13mm x 0.9mm; that is 16.7% smaller than UFS 4.1. The company said it will be bringing it to multiple devices in the future, including mobile, wearable, and extended reality.
    • A bit like the steamdeck, this probably isn't for you.
    • Gamers Nexus already did their review, and building your own will be faster and cheaper, so not very convincing.
  • Recent Achievements

    • Week One Done
      Almohandis earned a badge
      Week One Done
    • Rookie
      dorf went up a rank
      Rookie
    • First Post
      mike_rumble earned a badge
      First Post
    • Dedicated
      tuben earned a badge
      Dedicated
    • Week One Done
      mnsgroup earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      496
    2. 2
      +Edouard
      209
    3. 3
      PsYcHoKiLLa
      99
    4. 4
      Michael Scrip
      86
    5. 5
      neufuse
      69
  • Tell a friend

    Love Neowin? Tell a friend!