[MOD][CM10.1][31/12] Multiuser Mod

Search This thread

charsleysa

Member
Nov 17, 2011
24
55
Palmerston North
Well I started working on this last week on Tuesday, but got hold up due to x-mas etc.

When I'm home I'll show you the exact lines where it checks, I'm not sure why it checks for userid 0. Maybe just leaving it out will make it work.

I don't think that the widget is useless, overlaying the switcher is just ugly and hackish. If you put the switcher into a widget the android way it would be a much better solution.

It's also the reason why I hadn't put up a topic on xda. Because my solution right now makes any widgets on the lock screen get an offset and I'd rather get the widget working so if you use the tile switcher it doesn't add a non existing one (square with a plus sign).

Just my two cents :)

Sent from my GT-I9300 using xda app-developers app

I do agree that it would be nice making the widget, but do remember that CM10.1 still has a long way to go for the i9300.
Also I don't have the development environment setup for Android because I'm a C# and Web developer so I find it easier to stick with Windows.
Plus I'm too lazy / busy with other projects to setup a forth development environment, I just made this mod so my girlfriend could play games on my phone and install all her stuff without cluttering my user space. :silly:
 
  • Like
Reactions: rathi3558

smohanv

Senior Member
Nov 5, 2006
2,119
650
Higham, Rochester, Kent
so what's this mods benefits?
are data like contacts, messages, call logs visible for other users?

After you copied this mod your phone will restart. Once booted go to Setting and you will see a menu as "User". Now you can set many users and each user can not see the privacy of other user (like windows log). Each user can have their own set of apps. If you want to share your phone with others then you can keep "guest" login to protect your private information. Hope it helps.
 
  • Like
Reactions: SignalX

charsleysa

Member
Nov 17, 2011
24
55
Palmerston North
UPDATE 28/12:
I have updated the framework-res.apk using the CM10.1 nightly build.
With this update comes a restyled Lockscreen that will look nicer.
You may notice that it also doesn't interfere with widgets anymore.
 
  • Like
Reactions: Mkvarner

elroy944

Senior Member
Oct 8, 2007
1,311
156
just tried to flash the cwm file, it gave me error in multiuser_mod.zip (status 0) installation aborted


edit: nevermind just extracted the framework file and replaced it. now it's working :)
 
Last edited:

elroy944

Senior Member
Oct 8, 2007
1,311
156
hmm after manualy change framework i keep getting fc's all the time when setting up another account
 

g0t-cheeri0s

Senior Member
Apr 21, 2012
149
52
Manual framework.apk replacement worked for me. Thank you :)

Sent from my GT-I9300 using Tapatalk 2
 

elroy944

Senior Member
Oct 8, 2007
1,311
156
Manual framework.apk replacement worked for me. Thank you :)

Sent from my GT-I9300 using Tapatalk 2

which nightly are you using? im on dec 29 and when using the second user it keeps fc-ing nonstop

edit: found the problem, theme must be standard, when using a theme chooser theme, than it keeps force closing, switching back to stock theme (and reboot) solves the fc's. So i think it's a bug
 
Last edited:

pradeepb

Senior Member
Sep 17, 2012
642
105
Darmstadt
Does it work on [ROM][AOSP][JB][4.2.1][JOP40D] SuperNexus 2.0 - I9300 - BUILD 1 [01-01-13] ???? if so tell me how to use it plz....
 

rfmalta

Senior Member
Nov 1, 2011
135
41
@charsleysa did you abandoned this project??

I wanna use this mod but i just don't know how... tried manually overwrite your framework but the phone went on bootloop... can you provide some step-by-step instalation?? thx
 

charsleysa

Member
Nov 17, 2011
24
55
Palmerston North
@charsleysa did you abandoned this project??

I wanna use this mod but i just don't know how... tried manually overwrite your framework but the phone went on bootloop... can you provide some step-by-step instalation?? thx

You must boot the phone into recovery mode (ClockWorkMod) and then use ADB to push to file on to the phone.
The command would look something like this:
Code:
adb remount
adb push ./path/to/framework-res.apk /system/framework/framework-res.apk
 

rfmalta

Senior Member
Nov 1, 2011
135
41
thanks for the support but these shell/adb commands are way beyond my knowledge, dont even know where to start... why don't make a flashable zip??
 

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    Hey guys!

    I was just curious if this could be done and apparently it can so I'm just sharing the apk here.
    It basically does what the title says, it enables multiple users on the Samsung I9300.
    This apk was made from the latest nightly build of CM10.1 for the I9300.

    UPDATE 19/01:
    I have updated framework-res.apk using the 2013/01/18 nightly build of CM10.1
    Changed ROM to ParanoidAndroid. View attachment framework-res.apk
    Changing the theme will cause the phone to crash when switching users. Reason unknown.

    UPDATE 31/12:
    I have created a flashable zip file that works with ClockWorkMod, though its untested as I haven't had time.
    I have also uploaded new screenshots. Another update will be coming soon with an updated CM10.1

    UPDATE 28/12:
    I have updated the framework-res.apk using the CM10.1 nightly build.
    With this update comes a restyled Lockscreen that will look nicer.
    You may notice that it also doesn't interfere with widgets anymore.

    PLEASE NOTE: This mod only works on Android 4.2 and higher! This mod has only been tested on Cyanogenmod 10.1!

    Cheers!

    Screenshots:

    Screenshot_2012-12-30-22-07-20.jpgScreenshot_2012-12-30-22-07-34.jpgScreenshot_2012-12-30-22-26-17.jpgScreenshot_2012-12-30-22-08-06.jpgScreenshot_2012-12-24-04-15-57.jpgScreenshot_2012-12-24-04-16-06.jpg
    1
    Which CM nightly did you try it on?

    Sent from my GT-I9300 using xda app-developers app

    the 2012-12-21 nightly build
    http://get.cm/get/5oQ
    1
    will this work with every nightly which will follow? do i have to reflash it anytime i update cm?

    This should work with upcoming nightlies but I provide no guarantee that it will.
    And yes you will need to flash it again every time you update CM10.1
    1
    How to adb push???? A apk file??:(

    - copy APK to /system using Root Explorer or any other file manager with root access
    - now set correct permissions (rw-r--r--)
    - move and replace APK to /system/framework
    - reboot

    OP: thanks for this mod
    1
    Well I started working on this last week on Tuesday, but got hold up due to x-mas etc.

    When I'm home I'll show you the exact lines where it checks, I'm not sure why it checks for userid 0. Maybe just leaving it out will make it work.

    I don't think that the widget is useless, overlaying the switcher is just ugly and hackish. If you put the switcher into a widget the android way it would be a much better solution.

    It's also the reason why I hadn't put up a topic on xda. Because my solution right now makes any widgets on the lock screen get an offset and I'd rather get the widget working so if you use the tile switcher it doesn't add a non existing one (square with a plus sign).

    Just my two cents :)

    Sent from my GT-I9300 using xda app-developers app

    I do agree that it would be nice making the widget, but do remember that CM10.1 still has a long way to go for the i9300.
    Also I don't have the development environment setup for Android because I'm a C# and Web developer so I find it easier to stick with Windows.
    Plus I'm too lazy / busy with other projects to setup a forth development environment, I just made this mod so my girlfriend could play games on my phone and install all her stuff without cluttering my user space. :silly: