Post Reply

[APP] Multi-User App Share

6th December 2012, 05:24 PM   |  #1  
OP Member
Thanks Meter: 38
 
38 posts
Join Date:Joined: Jun 2006
I have created an app that will help share apps across users on google's new 4.2 multi user feature.

Thanks to mentose457 and unwired for giving me the idea.
see this thread (http://forum.xda-developers.com/show....php?t=1994169)

It works by removing package elements from user's package-restriction.xml file to add the app and adding the package element back to remove the app. (located at \data\system\users\10\package-restrictions.xml where 10 is the user's id)

This is quickly thrown together and will likely have a ton of bugs, but I wanted to go ahead and get it out there for testing.

- This is BETA
-You must have ROOT
- This changes system data on non documented files it could screw something up.
- I'm not responsible for any problems this causes or lost data or bricked or broken devices
- please use cation

- it is currently built to run on main user to enable or disable apps on secondary users (once root is fully working on secondary users I will see about making it run correctly on secondary user's account)
- not tested thoroughly with paid apps*
- does not currently support system apps**
- due to the way I pull the app list from the package manager some installed apps may not show as available to add/remove
- apps installed first on a secondary user's profile will probably not show in the list to add/remove

*paid apps seemed to work but I did not have internet access during testing. My theory is that any paid apps that use Google's license verification will not work or not work for long. So adding your Google Account to the secondary user's play store is probably still the best way to share paid apps.

**The entries in the xml for system apps is different. Therefore I will have to research them more before getting it to work or deciding not to mess with those apps. Currently some will show not installed on other users even though they are and removing/adding them will not work correctly.


------> DOWNLOAD HERE https://play.google.com/store/apps/d...p_announcement

I'd love to get feedback to what is working and what is not. Also if anybody figures out anything more about the package-restriction.xml file I'd love to hear it. Especially when it comes to system apps.
The Following 18 Users Say Thank You to jeepguy04 For This Useful Post: [ View ]
6th December 2012, 06:08 PM   |  #2  
toidimaet's Avatar
Senior Member
Thanks Meter: 49
 
160 posts
Join Date:Joined: Aug 2012
Thanks mate added my sons Google account and it is all running perfectly. Seperate saves and account details for apps and allowing me to share my paid ones with him
First review on play store is up.

Will have a mess around with apps and report back but it appears to be running sweet at the moment

Cheers danny...

Sent from my Nexus 7 using Tapatalk 2
mentose457
8th December 2012, 01:17 AM   |  #3  
Guest
Thanks Meter: 0
 
n/a posts
I wanted to chime in as well. It is working on AOKP. Thanks again jeepguy04.
10th December 2012, 11:47 AM   |  #4  
rkuijpers's Avatar
Senior Member
Thanks Meter: 430
 
911 posts
Join Date:Joined: Aug 2010
More
Looks like it's working for me too :thumbup:
10th December 2012, 03:52 PM   |  #5  
DeadlyDazza's Avatar
Senior Member
Thanks Meter: 80
 
625 posts
Join Date:Joined: Jul 2010
Strange, I'm rooted. Using root apps such as cache mate, titanium & sixaxis.
Multi user app enabler says not rooted.
So does root checker??
10th December 2012, 08:02 PM   |  #6  
rkuijpers's Avatar
Senior Member
Thanks Meter: 430
 
911 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by DeadlyDazza

Strange, I'm rooted. Using root apps such as cache mate, titanium & sixaxis.
Multi user app enabler says not rooted.
So does root checker??

On the first 'owner' account I'm rooted, but the second user account doesn't recognize root in apps shared through multi user app.
mentose457
10th December 2012, 08:08 PM   |  #7  
Guest
Thanks Meter: 0
 
n/a posts
Quote:
Originally Posted by rkuijpers

On the first 'owner' account I'm rooted, but the second user account doesn't recognize root in apps shared through multi user app.

That is a known issue (if you want to call it that). For me it's not a problem as my second user is a guest just like on my computer.

Sent from my Galaxy Nexus using Tapatalk 2
10th December 2012, 10:13 PM   |  #8  
rkuijpers's Avatar
Senior Member
Thanks Meter: 430
 
911 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by mentose457

That is a known issue (if you want to call it that). For me it's not a problem as my second user is a guest just like on my computer.

Sent from my Galaxy Nexus using Tapatalk 2

I know, that's why I quoted the user I meant to answer

It wasn't meant as a negative comment, as I think this app is very useful.
12th December 2012, 11:51 AM   |  #9  
Member
Thanks Meter: 0
 
74 posts
Join Date:Joined: May 2010
I tried this with ten games and all worked fine (free and paid) except Retro Racing. It works with primary user but crashes with secondary user.

https://play.google.com/store/apps/d...ak.retroracing
16th December 2012, 05:20 PM   |  #10  
Senior Member
Flag Hagenberg
Thanks Meter: 105
 
206 posts
Join Date:Joined: Sep 2010
Donate to Me
Do you think it is possible to have a shared folder for fotos and musik for multiple users?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Nexus 7 Themes and Apps by ThreadRank