*Insert Disclaimer Here*
Also, I have navigation bar mod on my 7/30 build of CM10, so ignore those.
This should work on any Jellybean Android 4.1.x ROM built from AOSP, like CM10, AOKP, etc.
Please read this entire post before doing any of this!
This feature is now in AOSP fully as of Android 4.2!!
After reading about the recent discovery of multiple user code being in JB, I decided to mess with it.
^^ Um, yes, I took it from Him.
And it works on TouchWiz, Just so you know.
Okay guys, we can work with multiple users on this device.
Before we begin, here's what you need:
1- Root access granted
2- Terminal Emulator [from Google play] OR adb enabled
3- Busybox installed [increases the range of commands accepted by the emulator]
Now open Terminal Emulator, and type these codes to see the maximum users allowed
It would show nothing.
To change the maximum users allowed, type
Mine is 4.
To create a user, type
To remove a user, type
NOTE:- the primary user number is 0. The users you have created would have numbers from 1 and onwards.
If you want to change the user names after creation, go to /data/system/users/userX.xml
here X is the user number, from 0 and onwards.
0 is the primary user.
SECURITY NOTE:
The second user can still access your messages, contacts, etc. It's best if you set a lock screen password on your own user, and select another launcher for the second user, hide all the sensitive applications using some application hider.
If you are on the second user, most of the data from the primary user is hidden (you can not acces it).
For example:
- photos
- unlocked levels in Angry Birds
- music
- contacts
- google account
- clipboard
- home screen
But there are a few exceptions:
- all the apps are there, as if they were just installed
- the recent apps menu
- the use-app-as-default-setting (I don't know the official name). For example: if you set Apex as default in the Guest account, it will also be default in the primary account.
- your messages!!
Original Method for 4.1 below:
Been featured on the below sites!
XDA Portal
http://www.xda-developers.com/android/switch-user-profiles-on-jelly-bean/
XDA TV
http://www.youtube.com/watch?v=MLdt973MToM&feature=youtube_gdata_player
Phandroid
http://phandroid.com/2012/08/02/and...but-confirmed-for-future-versions-of-android/
The Verge
http://theverge.com/2012/8/2/3216403/android-multi-user-feature-shown-off-developers-video
AndroidCommunity
http://androidcommunity.com/multi-u...ndroid-tweaks-enabled-in-jelly-bean-20120802/
Android Central
http://androidcentral.com.feedsport...s0Edefinitely0Enot0Efinished0Eyet/story01.htm
Slashgear
http://www.slashgear.com/android-multi-user-support-uncovered-in-jelly-bean-02241519/
OS News
http://www.osnews.com/story/26244/Android_4_1_has_rudimentary_multiuser_support
Phone Arena
http://www.phonearena.com/news/How-...unts-on-a-Jelly-Bean-device-right-now_id33001
Android Headlines
http://androidheadlines.com/2012/08...-multi-user-accounts-in-jelly-bean-video.html
PhoneDog
http://www.phonedog.com/2012/08/03/...r-accounts-on-android-was-a-long-time-coming/
Boxden(?)
http://slumz.boxden.com/f244/androi...-but-confirmed-future-versions-andro-1793277/
Geeky Gadgets
http://www.geeky-gadgets.com/androi...ple-user-accounts-in-action-video-03-08-2012/
DroidDog
http://www.droiddog.com/android-blog/2012/08/root-set-up-user-profiles-in-jelly-bean/
Pocket Droid
http://www.pocketdroid.net/simple-multiuser-environment-hidden-android-41-jellybean/
SCREENSHOTS:
1- created maximum users
2,3- created new user TEST
4- home screen of new user TEST
5,6- removed user TEST (user #1) (primary is #0)
Attachments
Last edited: