This repository has been archived by the owner on Jan 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add notes about installing gms in workprofile
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |