I dont know if this has already been posted, but I could not find anything that enabled multi-user support directly.
It is fairly simple to add multi-user support to your Android 4.2 rom using the device overlay.
To enable multi-user support you will have to add the following to your config.xml:
<integer name="config_multiuserMaximumUsers">8</integer>
This will enable the Users section in Settings to add/remove new users.
Additionally you will have to modify layout-port/keyguard_host_view.xml, because the layout-port version of keyguard_host_view.xml does not have the multi-user selector.
You will need to add the following to the layout:
<include layout="@layout/keyguard_multi_user_selector"/>
Instead of modifying the layout xml directly you can also just add a modified version of the .xml to your device overlay.
That will add the user selector to the keyguard/lockscreen.
The changes can be found here:
https://github.com/adrian-bl-hox-jb...mmit/ba74d22a7e88f73c0c639ed23aac8617cc9abc9f
In case there is just one user it will not show the user selector in the keyguard/lockscreen.
Known issues:
* The dialer only works in the main user and and trying to dial in any other user will result in a crash, because the dialer does not support multi-user yet.
It is fairly simple to add multi-user support to your Android 4.2 rom using the device overlay.
To enable multi-user support you will have to add the following to your config.xml:
<integer name="config_multiuserMaximumUsers">8</integer>
This will enable the Users section in Settings to add/remove new users.
Additionally you will have to modify layout-port/keyguard_host_view.xml, because the layout-port version of keyguard_host_view.xml does not have the multi-user selector.
You will need to add the following to the layout:
<include layout="@layout/keyguard_multi_user_selector"/>
Instead of modifying the layout xml directly you can also just add a modified version of the .xml to your device overlay.
That will add the user selector to the keyguard/lockscreen.
The changes can be found here:
https://github.com/adrian-bl-hox-jb...mmit/ba74d22a7e88f73c0c639ed23aac8617cc9abc9f
In case there is just one user it will not show the user selector in the keyguard/lockscreen.
Known issues:
* The dialer only works in the main user and and trying to dial in any other user will result in a crash, because the dialer does not support multi-user yet.
Last edited: