Open Kerberus35 opened 4 years ago
Do you have Play Store installed?
This was with FakeStore installed, i try to run without google code.
I installed the play store like this: https://shadow53.com/android/downloads/microg/#google-play-store-standalone The standalone no-priv patched version
The playstore runs. However the DJI error remains. New LogCat:
07-28 14:40:07.374 1324 2866 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=dji.mimo/.main.DJISplashActivity (has extras)} from uid 10098
07-28 14:40:07.378 1324 2866 W system_server: resources.arsc in APK '/data/app/dji.mimo-oM-leI5RzVPHO2kLYh1prQ==/base.apk' is compressed.
07-28 14:40:07.419 7568 7568 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@606cf58
07-28 14:40:07.426 1324 2866 W ActivityManager: Request to remove task ignored for non-existent task 3798
07-28 14:40:07.430 3576 7898 D SafeParcel: Unknown field num 10 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
07-28 14:40:07.430 3576 7898 D SafeParcel: Unknown field num 11 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
07-28 14:40:07.430 3576 7898 D SafeParcel: Unknown field num 12 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
07-28 14:40:07.430 3576 7898 D GmsMeasureBrokerSvc: bound by: GetServiceRequest{serviceId=MEASUREMENT, gmsVersion=12451000, packageName='com.teslacoilsw.launcher', extras=Bundle[{}]}
07-28 14:40:07.431 3576 7898 D GmsMeasureSvcImpl: onTransact [unknown]: 10, android.os.Parcel@cf8b0c9, 16
07-28 14:40:07.530 3576 7898 D SafeParcel: Unknown field num 10 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
07-28 14:40:07.530 3576 7898 D SafeParcel: Unknown field num 11 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
07-28 14:40:07.530 3576 7898 D SafeParcel: Unknown field num 12 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
07-28 14:40:07.530 3576 7898 D GmsMeasureBrokerSvc: bound by: GetServiceRequest{serviceId=MEASUREMENT, gmsVersion=12451000, packageName='dji.mimo', extras=Bundle[{}]}
07-28 14:40:07.538 1324 1349 I ActivityManager: Displayed dji.mimo/.main.DJISplashActivity: +157ms
07-28 14:40:07.544 3576 7898 D GmsMeasureSvcImpl: onTransact [unknown]: 1, android.os.Parcel@41ee8d0, 16
07-28 14:40:07.545 3576 7898 D GmsMeasureSvcImpl: onTransact [unknown]: 10, android.os.Parcel@cf8b0c9, 16
07-28 14:40:08.998 1324 8080 I ActivityManager: START u0 {cmp=dji.mimo/dji.assets.obb.ObbDownloadActivity (has extras)} from uid 10143
07-28 14:40:09.010 3576 7898 D GmsMeasureSvcImpl: onTransact [unknown]: 10, android.os.Parcel@41ee8d0, 16
07-28 14:40:09.014 7568 7568 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@f9cd9b8
07-28 14:40:09.047 3576 7898 D GmsMeasureSvcImpl: onTransact [unknown]: 1, android.os.Parcel@cf8b0c9, 16
07-28 14:40:09.057 7568 7568 I LicenseChecker: Binding to licensing service.
07-28 14:40:09.058 1324 8080 W ActivityManager: Permission Denial: Accessing service ComponentInfo{com.android.vending/com.google.android.finsky.services.LicensingService} from pid=7568, uid=10143 requires com.android.vending.CHECK_LICENSE
07-28 14:40:09.067 3576 7898 D GmsMeasureSvcImpl: onTransact [unknown]: 1, android.os.Parcel@41ee8d0, 16
07-28 14:40:09.069 3576 7898 D GmsMeasureSvcImpl: onTransact [unknown]: 10, android.os.Parcel@cf8b0c9, 16
07-28 14:40:09.526 7568 7568 E DJI-MIMO: java.lang.NoSuchFieldException: No field mLastSrvView in class Landroid/view/inputmethod/InputMethodManager; (declaration of 'android.view.inputmethod.InputMethodManager' appears in /system/framework/framework.jar!classes2.dex)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at java.lang.Class.getDeclaredField(Native Method)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at dji.libs.d.v.b(SourceFile:117)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at dji.libs.d.v.a(SourceFile:29)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at dji.libs.d.v$1.onActivityDestroyed(SourceFile:69)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at android.app.Application.dispatchActivityDestroyed(Application.java:276)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at android.app.Activity.onDestroy(Activity.java:2003)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at android.support.v4.app.FragmentActivity.onDestroy(SourceFile:382)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at dji.base.ui.base.FitScreenActivity.onDestroy(SourceFile:162)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at com.bangcle.andjni.JniLib.cV(Native Method)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at dji.mimo.main.DJISplashActivity.onDestroy(Unknown Source:15)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at android.app.Activity.performDestroy(Activity.java:7403)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1306)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4481)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4515)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:39)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at android.os.Handler.dispatchMessage(Handler.java:106)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at android.os.Looper.loop(Looper.java:193)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at android.app.ActivityThread.main(ActivityThread.java:6718)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at java.lang.reflect.Method.invoke(Native Method)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
07-28 14:40:09.526 7568 7568 E DJI-MIMO: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
07-28 14:40:12.600 7568 7568 I LicenseChecker: Binding to licensing service.
07-28 14:40:12.601 1324 5978 W ActivityManager: Permission Denial: Accessing service ComponentInfo{com.android.vending/com.google.android.finsky.services.LicensingService} from pid=7568, uid=10143 requires com.android.vending.CHECK_LICENSE
This seems to be the problem:
07-28 14:40:12.600 7568 7568 I LicenseChecker: Binding to licensing service.
07-28 14:40:12.601 1324 5978 W ActivityManager: Permission Denial: Accessing service ComponentInfo{com.android.vending/com.google.android.finsky.services.LicensingService} from pid=7568, uid=10143 requires com.android.vending.CHECK_LICENSE
I think the main reason the Mimo app does call the license check service is, that it tries to load additional resources via OBB (?), which is not supported by any alternative Play store besides the official one and MicroG itself. Although, this is just a wild guess, so please correct me if I'm wrong here.
Anyways, I was having similiar issues with some of the DJI apps and found that if you sideload the official APKs from their website (https://www.dji.com/downloads/djiapp), everything seems to work perfectly fine.
@Kerberus35
This main problem "Binding to licensing service" should be already fixed, try the latest version of FakeStore please: https://github.com/microg/FakeStore/releases
Instead for the problem java.lang.NoSuchFieldException: No field mLastSrvView in class Landroid/view/inputmethod/InputMethodManager
I don't know.
Update both microG GmsCore and FakeStore and retry please.
Hi
Thanks for the awesome work on microg. Allmost everything works flawlessly, a very impressive feat, meaning this is a very good daily driver, with total control over the OS.
Except for one app in my collection: DJI Mimo, a camera app to connect to the Osmo Pocket and act as a screen.
The app starts correctly but displays "Update failed. Check Network Connection". Restore of a previous working TitaniumBackup appdata file does not fix the issue.
These seem to be the problem:
LOGCAT:
Any input how to fix this? I found only 1 other reference for this error here: https://github.com/microg/android_packages_apps_GmsCore/issues/46