Been featured on the below sites!
*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.
Here's a video:
Manual method(fun, makes you feel like a hacker):
First, we need to enable this.
Go to Terminal Emulator and type these in:
pm create-user test
Hint: "test" being the name of the 2nd user. You can change that to a name, or whatever.
Now, we've created a 2nd User on your JB 4.1 device. Hold the Power/Lock button to bring up the power menu, and you should see this:
From here, you can switch to the 2nd user, which will have a fresh homescreen, and show you the tutorial. Settings are limited to this user, as seen here:
Originally Posted by mantian
In case someone hasnīt figured out how to rename/change any usename, it's pretty easy.
You only have to go to /data/system/users and edit the "userX.xml" file, where X is the user numer(0,1,2,...). The change the name between and to any other you like. For example, from guest to invitado. Save the file and reboot. It work well for me.
P.S: If you don't know which user number has the one you wanna change, check out the userlist.xml file, which has the same path above.
To remove this 2nd user from your phone, switch back to the primary user via the power menu, and go back to Terminal Emulator.
Type this in:
Hint: only if it isn't still running from before
Hint: primary user in this case is 0, 2nd is 1, so on and so on.
Now you should only have one user, and your Power Menu should not have the ability to switch to a new user anymore.
To double check, go back to the Terminal Emulator and type this:
XDA member Raghav Sood has an app that does all of the above for you.
At the moment, this isn't extremely usable, ie texts from the primary user's still show in the 2nd test account. But, with the right launcher installed, and hiding the apps from the drawer on the 2nd account, this can still be usable in its current form.
1.) Label the 2nd user Guest
2.) Use Nova or Apex as the launcher for the Guest user, and hide all of the apps you want(texts, social media, email, etc) from the app drawer.
3.) Setup a security lockscreen on the primary user to prevent Guests from gaining access(each user has different lockscreen settings)
You can read more about this here:
and on their source link.
Originally Posted by cdesai
P.S. - This was done by modifying code in the Settings app, and i did submit the patch to CM Code-Review(http://goo.gl/PU4wQ
), it ins't in yet as it's buggy.
We've tested it pretty extensively, and it's insanely broken.
I also submitted a patch to AOSP related to this(http://goo.gl/u0WbN
), and it got rejected, due to what i said.
The below line comes a developer at google, who's been working on this since more than a year:
"Multi-user feature is not ready for deployment. Bad things will happen if you use it in its current state!"
Originally Posted by Roodborstje
I have it working om my GSM GN.
I found that in the second account there are apps that I don't have in the primary account, for example: Google Wallet, Play Magazines, Play Books and Play Films. (I'm from Belgium)
Oh, they disappeared as soon as I signed in with my Google account.
If you are on the second user, most of the data from the primary user is hidden (you can not acces it).
- unlocked levels in Angry Birds
- google account
- 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 (!)
Ps: this was my first post on xda
I hope you find it usefull.
Sent from my Galaxy Nexus using xda app-developers app
Sent from Mr. Z's Galaxy S3.