I can confirm the issue.
I compiled AOSP from scratch and followed the official Google documentation, see https://source.android.com/source/devices.
repo init -u https://android.googlesource.com/platform/manifest -b android-7.1.2_r6
repo sync -j8
. ./build/envsetup.sh
lunch hikey-eng
Then flash images according to ./device/linaro/hikey/installer/README
cd device/linaro/hikey/installer
./flash-all.sh
I can connect to the Hikey board via WIFI. On my system via
adb connect 192.168.1.110
Running
adb shell
feels very sluggish and the adb connection is reset after a couple of seconds.
Running
adb shell dmesg
yields several errors related to WIFI networking:
[ 2581.511593] cfg80211: Timeout while waiting for CRDA to reply, restoring regulatory settings
[ 2581.511674] cfg80211: Restoring regulatory settings
[ 2581.511742] cfg80211: Kicking the queue
[ 2581.513013] android_work: sent uevent USB_STATE=CONNECTED
[ 2581.629371] dwc2 f72c0000.usb: new address 52
[ 2581.693160] configfs-gadget gadget: low-speed config #1: b
[ 2581.699161] android_work: sent uevent USB_STATE=CONFIGURED
[ 2584.663597] cfg80211: Timeout while waiting for CRDA to reply, restoring regulatory settings
[ 2584.663676] cfg80211: Restoring regulatory settings
[ 2584.663744] cfg80211: Kicking the queue
[ 2587.815402] cfg80211: Timeout while waiting for CRDA to reply, restoring regulatory settings
[ 2587.815478] cfg80211: Restoring regulatory settings
[ 2587.815543] cfg80211: Kicking the queue
[ 2590.967584] cfg80211: Timeout while waiting for CRDA to reply, restoring regulatory settings
[ 2590.967664] cfg80211: Restoring regulatory settings
[ 2590.967732] cfg80211: Kicking the queue
[ 2651.143611] cfg80211: Verifying active interfaces after reg change
It seems that the country code is not correct. Running
iw reg get
I get the output
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 40), (6, 20), (N/A), PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 160), (6, 20), (N/A), PASSIVE-SCAN
(5250 - 5330 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
Maybe these errors are the reason for the issue?
Best
Sebastian