On August 25, 2017 I have downloaded and compiled the AOSP sources as explained on https://source.android.com/source/devices#hikey-boards
The included kernel version is
adb shell uname -a yields
Linux localhost 4.9.39-g5bc470574a05 #1 SMP PREEMPT Wed Jul 26 17:36:38 UTC 2017 aarch64
There have been a number of bugs in android O I was hoping would be fixed before an official release of android 8.0 on hikey board, but the bugs persist. I’m opening this thread in the hope that we can fix these bugs or someone point me to the official hikey board bug tracker.
- Bug: Runtimeexpception when I run dpm set-device-owner
adb root
adb shell dpm set-device-owner com.my.package/.DeviceOwnerReceiver
java.lang.RuntimeException: Can't set package ComponentInfo{com.my.package/com.my.package.DeviceOwnerReceiver} as device owner.
at com.android.commands.dpm.Dpm.runSetDeviceOwner(Dpm.java:149)
at com.android.commands.dpm.Dpm.onRun(Dpm.java:96)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:54)
at com.android.commands.dpm.Dpm.main(Dpm.java:41)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:284)
On the DB410c on android 5.1.1 and android 6 the same procedure works. Unfortunately, the error message is not very helpful. Has anyone tried to run the hikey board in kiosk mode?
- the second bug concerns the virtual keyboard.
When you click on the ?123 button on the bottom left, the soft keyboard app crashes
W/InputMethodManager: IME died: com.android.inputmethod.latin/.LatinIME
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:748)
at com.android.internal.view.IInputMethodSession$Stub$Proxy.updateSelection(IInputMethodSession.java:220)
at android.view.inputmethod.InputMethodManager.updateSelection(InputMethodManager.java:1616)
at android.widget.Editor.sendUpdateSelection(Editor.java:1626)
at android.widget.Editor.finishBatchEdit(Editor.java:1471)
at android.widget.Editor.endBatchEdit(Editor.java:1445)
at android.widget.TextView.endBatchEdit(TextView.java:7686)
at com.android.internal.widget.EditableInputConnection.endBatchEdit(EditableInputConnection.java:78)
at android.view.inputmethod.BaseInputConnection.finishComposingText(BaseInputConnection.java:442)
at android.view.inputmethod.BaseInputConnection.closeConnection(BaseInputConnection.java:161)
at com.android.internal.widget.EditableInputConnection.closeConnection(EditableInputConnection.java:88)
at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:541)
at com.android.internal.view.IInputConnectionWrapper.dispatchMessage(IInputConnectionWrapper.java:225)
at com.android.internal.view.IInputConnectionWrapper.closeConnection(IInputConnectionWrapper.java:211)
at android.view.inputmethod.InputMethodManager$ControlledInputConnectionWrapper.deactivate(InputMethodManager.java:568)
at android.view.inputmethod.InputMethodManager.startInputInner(InputMethodManager.java:1262)
at android.view.inputmethod.InputMethodManager$H.handleMessage(InputMethodManager.java:506)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6510)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:771)
- the third bug concerns USB
I have connected a USB touch device to the hikey board. However, if I don’t click anything after reboot, the USB connection seems to get lost and subsequent touch events are ignored.
Unplugging the USB cable helps, but is not feasible for production use.
Where should I report these issues and is it realistic that these issues might get resolved in the upcoming month?