1

So, android 5.0.2 doesn't allow side loading of apks for 2nd user (irrespective of whether it is guest or standard user). "Unknown Sources" is disabled and is uncheckable. And I use a pure Cyanogen Mod 12 (android 5.0.2) without any Google apps. So, there is no Play Store app.

But I have root access.

As shown in the pics, Unknown Sources is Uncheckable and installation is blocked.

(Click image to enlarge)

IMG: install-blocked IMG: unknown sources uncheckable

With this situation, how can i install apks on to the 2nd user account??

EDIT:

It seems Google intentionally (in the name of security) blocked sideloading apks for 2nd user in android 5.0.2. There is a bug report here. And sideloading was reenabled in android 5.1.

I will post how to sideload apks on lolipop 2nd user using adb. If this can be done without adb please post.

  • enable sideloading – Schwertspize Aug 15 '15 at 5:52
  • 1
    How? Unknown sources is untickable in 2nd user in lolipop 5.0.2 . – Bharat G Aug 15 '15 at 6:40
  • amd first user? I think it's untickable because the main user has disabled it. so any other user can't active it – Schwertspize Aug 15 '15 at 6:41
  • 1
    Main user has it enabled. 2nd user has only option to install apps from play store. Device without gapps are affected... – Bharat G Aug 15 '15 at 6:44
  • it's working on cm 12.1. I tried it right now. – Schwertspize Aug 15 '15 at 6:48
3

Using the command,

adb install -r whatever.apk

will install the application in 2nd user of android 5.0.2 .

Source

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.