Android N support

I’d like to use Android 7.x.x.

Can the Hikey960 be flashed with Android 7.x.x?

no, android will reach stable on the 960 only with android O. Android N branch has support on for the HiKey board not the 960.
Although if you are desperate enough you can try to backport it.

@leo-yan and @ric96
I have tried Android N on Hikey960 android is booted but adb is not working any particular changes need to do for this?
I have used device specific changes as per Android O from linaro.
for dmesg i got below response.

For N ADB Not working
504477.275558] usb 1-1: new high-speed USB device number 38 using xhci_hcd
[504477.406453] usb 1-1: New USB device found, idVendor=18d1, idProduct=d00d
[504477.406458] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[504477.406460] usb 1-1: Product: HI3650
[504477.406462] usb 1-1: Manufacturer: Fastboot2.0
[504477.406464] usb 1-1: SerialNumber: 4418763103000000
[504565.309718] usb 1-1: USB disconnect, device number 38

For O ADB working:
[267860.218611] usb 1-1: new high-speed USB device number 124 using xhci_hcd
[267860.347703] usb 1-1: New USB device found, idVendor=18d1, idProduct=4ee7
[267860.347707] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[267860.347709] usb 1-1: Product: ADB Gadget
[267860.347711] usb 1-1: Manufacturer: HISILICON
[267860.347712] usb 1-1: SerialNumber: 0123456789ABCDEF
[267863.109840] usb 1-1: USB disconnect, device number 124
[267864.793364] usb 1-1: new high-speed USB device number 125 using xhci_hcd
[267864.927178] usb 1-1: New USB device found, idVendor=18d1, idProduct=4ee7
[267864.927183] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[267864.927186] usb 1-1: Product: ADB Gadget
[267864.927187] usb 1-1: Manufacturer: HISILICON
[267864.927189] usb 1-1: SerialNumber: 0123456789ABCDE

Are you using adb over usb? Do you have access to a console? If yes, then check the output of getprop sys.usb.configfs. If it returns 0, do setprop sys.usb.configfs 1 and try again.

Otherwise, try adb over tcp. Re: networking - How can I connect to Android with ADB over TCP? - Stack Overflow.

@vchong, Yes i am using adb over usb and not able to acces to console.

I have tried adb over tcp as you suggested through link,My bad luck Wi-Fi functionality not working.
I am unable to turn on Wi-Fi. Is there any way to make adb work?

Without console access, you might not be able to setup adb over tcp access either.

How are you building Android N? From which repo/branch? Is there a device/linaro/hikey/init.common.usb.rc file? In the file, is there a line that says setprop sys.usb.configfs 1? If not, you can try setting the line and rebuild. If yes, then I’m out of ideas as well. Maybe try comparing device/linaro/hikey for both N and O to see if you can maybe spot some related setting/configs that are missing but needed.

I don’t think HiKey 960 is being actively developed on N.
If you have projects in mind probably start developing usind android O.

how did you make android n version and which branch and where did you get aosp? plz tell me in detail