[HOWTO][4.2]Now there's an app for that. Enable Multiple Users in Android

mildlydisturbed

Senior Member
Oct 28, 2010
615
101
0
Nashville
FYI, since I stumbled across this looking for 4.2 and it came up because *not 4.2* is in the title, in case it's not here - 4.2 how to (possibly depending on build)

adb shell
su
pm get-max-users (should show 1)
setprop fw.max_users (some number above 2, I chose 7)
pm create-user someusername here

repeat the create-user as wanted.

That popped up a "Users" tab for me after creating 1 that allowed me to create more.

Your mileage may vary, and I did this on a different device so I may just be useless ;)
 

zanderman112

Senior Member
Oct 6, 2010
7,958
1,844
0
SouthEast USA
www.twitter.com
Re: [HOWTO]Enable Multiple Users in Android 4.1, possibly 4.2

FYI, since I stumbled across this looking for 4.2 and it came up because *not 4.2* is in the title, in case it's not here - 4.2 how to (possibly depending on build)

adb shell
su
pm get-max-users (should show 1)
setprop fw.max_users (some number above 2, I chose 7)
pm create-user someusername here

repeat the create-user as wanted.

That popped up a "Users" tab for me after creating 1 that allowed me to create more.

Your mileage may vary, and I did this on a different device so I may just be useless ;)
I just tried on my Epic 4G, and this definitely worked! Will be adding to OP. Thanks!

Sent from my SPH-L710 using Tapatalk 2
 

SferaDev

Inactive Recognized Developer
Jun 28, 2012
1,602
3,494
0
sferadev.github.io
Re: [HOWTO]*NOW 4.2* Enable Multiple Users in Android 4.2

FYI, since I stumbled across this looking for 4.2 and it came up because *not 4.2* is in the title, in case it's not here - 4.2 how to (possibly depending on build)

adb shell
su
pm get-max-users (should show 1)
setprop fw.max_users (some number above 2, I chose 7)
pm create-user someusername here

repeat the create-user as wanted.

That popped up a "Users" tab for me after creating 1 that allowed me to create more.

Your mileage may vary, and I did this on a different device so I may just be useless ;)
For those who doesn't to worry to do it wrong I've coded a app of this procedure.

Link: http://forum.xda-developers.com/showthread.php?t=2187934

See you!

Sent from my GT-I9000 using Tapatalk 2
 
  • Like
Reactions: zanderman112

quack75

Senior Member
Sep 24, 2012
258
96
48
For those who doesn't to worry to do it wrong I've coded a app of this procedure.

Link: http://forum.xda-developers.com/showthread.php?t=2187934

See you!

Sent from my GT-I9000 using Tapatalk 2
Hello,
I installed your app on my Galaxy S I9000 with cm10.1m2 and after performing the procedures and install the User Manager, the situation is this:
-in the options menu is output the tab USERS
-I can create new users and tapping them, I can configure them after a reboot
but ...
when I am the second user I can not in any way back to the primary user (nothing appears in the menu power), the only way is to restart the device to return to being the primary and is no longer available the tab users. I then run the wizard again to see the Users tab from which, however, I can only delete guest users and nothing else.
User Manager creates new users and guests enough but does not display them, let alone manage them.
All this means that this is useless for me, or I'm wrong something?

any help is appreciated
 

SferaDev

Inactive Recognized Developer
Jun 28, 2012
1,602
3,494
0
sferadev.github.io
Re: [HOWTO]*NOW 4.2* Enable Multiple Users in Android 4.2

Hello,
I installed your app on my Galaxy S I9000 with cm10.1m2 and after performing the procedures and install the User Manager, the situation is this:
-in the options menu is output the tab USERS
-I can create new users and tapping them, I can configure them after a reboot
but ...
when I am the second user I can not in any way back to the primary user (nothing appears in the menu power), the only way is to restart the device to return to being the primary and is no longer available the tab users. I then run the wizard again to see the Users tab from which, however, I can only delete guest users and nothing else.
User Manager creates new users and guests enough but does not display them, let alone manage them.
All this means that this is useless for me, or I'm wrong something?

any help is appreciated
Have you tried to long press user and switch?
If not I'll stop referring to um and recreating the terminal in my app!

See you!

Sent from my GT-I9000 using Tapatalk 2
 
  • Like
Reactions: quack75

quack75

Senior Member
Sep 24, 2012
258
96
48
R: [HOWTO]*NOW 4.2* Enable Multiple Users in Android 4.2

Have you tried to long press user and switch?
If not I'll stop referring to um and recreating the terminal in my app!

See you!


Sent from my GT-I9000 using Tapatalk 2
I have solved the problem it's only a tick in a power menu options :p
Sorry for my question, I'll try again all and then I refer ;)

Inviato dal mio GT-I9000 con Tapatalk 2
 
Last edited:

SferaDev

Inactive Recognized Developer
Jun 28, 2012
1,602
3,494
0
sferadev.github.io
Re: [HOWTO]*NOW 4.2* Enable Multiple Users in Android 4.2

I have tried without success, when I long press in a guest user a pop up says me "only the primary user can modify..." and in a primary user nothing can do apart delete users :(

Inviato dal mio GT-I9000 con Tapatalk 2
Strange, today (if I have time) I'll try to push an update with the ability to create and switch between users!

See you and thanks!

Sent from my GT-I9000 using Tapatalk 2
 

quack75

Senior Member
Sep 24, 2012
258
96
48
R: [HOWTO]*NOW 4.2* Enable Multiple Users in Android 4.2

Strange, today (if I have time) I'll try to push an update with the ability to create and switch between users!

See you and thanks!

Sent from my GT-I9000 using Tapatalk 2
Edit:
I have modified my post too slowly when I has the illuminated idea :D


Inviato dal mio GT-I9000 con Tapatalk 2
 

monstaX

Senior Member
Dec 24, 2011
450
143
0
Texas
Script

I enjoy multiple users in case someone wants to use my phone and i wanna limit them to calls and internet, because I wouldnt want anyone seeing my texts. Therefore, I use this alot. I found it suckish that this wouldnt stick between reboots on 4.2.2, at least not for me. So i decided to create the smallest script in the world!!!!! First download SManager. Make sure you have a root explorer and a terminal emulator. Assuming

Second, open Es File Explorer and create a new file and name it "users.sh". Edit it with a text editor and type
Code:
#!system/bin/sh
setprop fw.max_users 5
Save after this of course as "users.sh"

Third, go to terminal emulator and type
Code:
su
chmod 755 /storage/emulated/0/users.sh
Assuming the path to "users.sh" is " /storage/emulated/0/users.sh"


Next, open SManager and click Browse as root.
Navigate to "users.sh" through the Smanager file explorer
Once "users.sh" is found, click on it. Then make sure "is script" is ticked and the icon for superuser and run at boot are lit up.
GO ahead and hit save and you should be done.

All this is assuming you already have at least one more user other than primary already setup.
This will set the Users tab in settings to come up everytime your phone boots up.

REMEMBER TO SWITCH USERS ON 4.2 YOU MUST HAVE Auto-ROTATE ENABLED AND ROTATE YOUR LOCKSCREEN TO LANDSCAPE
If you feel this is too hard for you, shoot me a PM and Ill be glad to help. OR if you have any other questions. HAVE FUN!!!!!
 

quack75

Senior Member
Sep 24, 2012
258
96
48
Hello @SferaDev, any update on your app bro??

I also can't switch users!! looking forward
I have solved the problem it's only a tick in a power menu options :p

Inviato dal mio GT-I9000 con Tapatalk 2
After running the app in the setting you can create a new user (because the app proposals to manage the users not working for me), but to switch you must to enable the option in power menu option and manage the users with power button, this is the only way that i have found, also when i reboot my phone the settings to create/delete users disappears and to have it again i have to run again the application.
I hope to be helpful :highfive:
 

Ba7rani123

Senior Member
Apr 14, 2012
949
255
0
It works on my note 10.1 :D






Even the whatsapp has seperate data !! :D

I checked the settings of the guest it appears he has all the settings and i even uninstalled an app but not a big issue, i have 4.1.2 and i think it will take a long time til samaung update it to 4.2.2 or maybe directly to 4.3/5.0 .

Thanks alot for the tutorial and user managment app :D

Sent from my GT-N8000
 
  • Like
Reactions: petesimon