Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
Add notes about installing gms in workprofile
Browse files Browse the repository at this point in the history
  • Loading branch information
phhusson committed Apr 16, 2020
1 parent f4d5a3c commit 872ba42
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions experiment-gms-in-workprofile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
pm create-user --profileOf 0 --managed Google
pm create-user --profileOf 0 --managed Facebook
am start-user 10

adb install --user 10 system/product/app/TrichromeLibrary/TrichromeLibrary.apk
adb install --user 10 system/product/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
adb install --user 10 system/product/priv-app/PrebuiltGmsCoreQt/PrebuiltGmsCoreQt.apk
adb install --user 10 system/product/priv-app/Phonesky/Phonesky.apk
pm grant --user 10 com.google.android.gms android.permission.WRITE_SECURE_SETTINGS
pm grant --user 10 com.google.android.gms android.permission.ACCESS_FINE_LOCATION

pm grant --user 10 com.android.vending android.permission.CLEAR_APP_CACHE
pm grant --user 10 com.android.vending android.permission.INSTALL_PACKAGES


adb install --user 10 system/product/app/Chrome/Chrome.apk
adb install --user 10 system/product/app/Photos/arm64/Photos.apk

0 comments on commit 872ba42

Please sign in to comment.