Hello, I just installed Graphene on a new phone and ran into issues trying to provision a work profile for my company. They use IntelligentHub to do the provisioning, and I'm able to log in to my account through my personal profile, go through the Google intro screens explaining the newly created work profile, but when it loads IntelligentHub in the work profile it crashes with the following error:
12-07 21:39:02.605 16517 16758 I AirWatch_AndroidForWorkAccount: already Grant permissions and prepare registration
12-07 21:39:02.605 16517 16758 I AirWatch_GoogleAccount: Ensuring working environment for Google account
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: Couldn't get play services version
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: android.content.pm.PackageManager$NameNotFoundException: com.google.android.gms
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:256)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:216)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:210)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.utility.AfwUtils.isPlayServicesAboveRequiredLevel(SourceFile:12)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.delegate.afw.AndroidForWorkAccount.showProgressMessage(SourceFile:1)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.delegate.afw.GoogleAccount.prepareRegistrationImp(SourceFile:16)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.delegate.afw.AndroidForWorkAccount.prepareRegistration(SourceFile:30)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.ui.enroll.wizard.RegisterAndroidWorkAccountWizard.prepareOrUpdateRegistration(SourceFile:91)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.ui.enroll.wizard.RegisterAndroidWorkAccountWizard.lambda$initializeWorkRegistration$0(Unknown Source:0)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.ui.enroll.wizard.RegisterAndroidWorkAccountWizard.d(Unknown Source:0)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.ui.enroll.wizard.k.run(Unknown Source:4)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at java.util.concurrent.FutureTask.run(FutureTask.java:264)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at android.os.Handler.handleCallback(Handler.java:942)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at android.os.Handler.dispatchMessage(Handler.java:99)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at android.os.Looper.loopOnce(Looper.java:201)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at android.os.Looper.loop(Looper.java:288)
12-07 21:39:02.605 16517 16758 E AirWatch_AfwUtils: at android.os.HandlerThread.run(HandlerThread.java:67)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: Couldn't get playstore version
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: android.content.pm.PackageManager$NameNotFoundException: com.android.vending
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:256)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:216)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:210)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.utility.AfwUtils.isPlayStoreAboveRequiredLevel(SourceFile:12)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.delegate.afw.AndroidForWorkAccount.showProgressMessage(SourceFile:5)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.delegate.afw.GoogleAccount.prepareRegistrationImp(SourceFile:16)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.delegate.afw.AndroidForWorkAccount.prepareRegistration(SourceFile:30)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.ui.enroll.wizard.RegisterAndroidWorkAccountWizard.prepareOrUpdateRegistration(SourceFile:91)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.ui.enroll.wizard.RegisterAndroidWorkAccountWizard.lambda$initializeWorkRegistration$0(Unknown Source:0)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.ui.enroll.wizard.RegisterAndroidWorkAccountWizard.d(Unknown Source:0)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at com.airwatch.agent.ui.enroll.wizard.k.run(Unknown Source:4)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at java.util.concurrent.FutureTask.run(FutureTask.java:264)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at android.os.Handler.handleCallback(Handler.java:942)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at android.os.Handler.dispatchMessage(Handler.java:99)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at android.os.Looper.loopOnce(Looper.java:201)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at android.os.Looper.loop(Looper.java:288)
12-07 21:39:02.606 16517 16758 E AirWatch_AfwUtils: at android.os.HandlerThread.run(HandlerThread.java:67)
It seems like the installation is getting stuck because Google play doesn't exist in the work profile when it's created. Since it's a work profile I don't seem to have permissions to install sandboxed Google play either. Does anyone know of a way around this? Or will this never work since work profiles don't allow installation of any apps.