Android Nougat(7.1.1) Source code available for download

It’s common issue about Jack server on Android Nougat, you can google for the instructions

solved: not enough RAM, added RAM and everything is OK.
Build was completed successfully.

using prebuilt boot.img from IMAGES…
amlogic extensions:FullOTA_InstallEnd
running: openssl pkcs8 -in build/target/product/security/testkey.pk8 -inform DER -nocrypt
running: java -Xmx2048m -Djava.library.path=out/host/linux-x86/lib64 -jar out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmpOIaRnI out/target/product/kvim/kvim-ota-20170326.zip
done.

make completed successfully (34:04 (mm:ss))

1 Like

How much RAM size did you install before and now? :slight_smile:

before 4 GB, now 10GB for WMWare.

PS:

Source has not gapps, and ‘device/khadas/kvim/kvim.mk’: BUILD_WITH_GAPPS_CONFIG :=false

Hi,davemf:
You can follow below steps to build gapps.

###Steps

  1. Download the gapps file from github
$ cd <path-to-your-project>
$ cd vendor/amlogic
$ git clone -b naugat https://github.com/terry2droid/google
  1. Enable GAPPS by edit ‘device/khadas/kvim/kvim.mk’:
BUILD_WITH_GAPPS_CONFIG :=true
  1. Build your rom again
$ cd <path-to-your-project>
$ make  installclean
$ make  -jN otapackage
1 Like

Is it true for root?

It is invalid for root .
I will add the instruction for it when i complete the root .
Thanks.

1 Like

Root on 7 is not as easy as on 4/5/6!

1 Like

But without root it is not needed at all.

Well they will do it eventually… just take more time to find the solution.
From my tests i think i know the solution but i can be wrong!
And im really busy now with work and some other devices that i have to work on, and i still need to fix my compile PC… dead HDD…

3 Likes

Have You solved the problem with the root ?

Wifi does not work on Nougat.
And ABD does not work too.
How to fix it?

The usb adb is unavailable in this version.
We will add the usb adb function in next release rom.
About the wifi does not work,Can you provider the logcat and kernel printing log for me,I will reply for you tomorrow

I sent the kernel log on your email.

The main problem is:

[   62.389161@3] dhd: Unknown symbol cfg80211_scan_done (err 0)
[   62.389282@3] dhd: Unknown symbol cfg80211_remain_on_channel_expired (err 0)
[   62.397069@3] dhd: Unknown symbol cfg80211_new_sta (err 0)
[   62.401795@3] dhd: Unknown symbol cfg80211_disconnected (err 0)
[   62.408032@3] dhd: Unknown symbol cfg80211_ready_on_channel (err 0)
[   62.414264@3] dhd: Unknown symbol cfg80211_inform_bss_width_frame (err 0)
[   62.420554@3] dhd: Unknown symbol wiphy_register (err 0)
[   62.426212@3] dhd: Unknown symbol wiphy_new (err 0)
[   62.430656@3] dhd: Unknown symbol cfg80211_put_bss (err 0)
[   62.435963@3] dhd: Unknown symbol cfg80211_roamed (err 0)
[   62.441392@3] dhd: Unknown symbol cfg80211_ch_switch_notify (err 0)
[   62.447573@3] dhd: Unknown symbol cfg80211_ibss_joined (err 0)
[   62.453480@3] dhd: Unknown symbol cfg80211_michael_mic_failure (err 0)
[   62.459770@3] dhd: Unknown symbol wiphy_apply_custom_regulatory (err 0)
[   62.466422@3] dhd: Unknown symbol cfg80211_connect_result (err 0)
[   62.472570@3] dhd: Unknown symbol wiphy_unregister (err 0)
[   62.477843@3] dhd: Unknown symbol cfg80211_get_bss (err 0)
[   62.483599@3] dhd: Unknown symbol __ieee80211_get_channel (err 0)
[   62.489338@3] dhd: Unknown symbol cfg80211_mgmt_tx_status (err 0)
[   62.495585@3] dhd: Unknown symbol cfg80211_find_ie (err 0)
[   62.500797@3] dhd: Unknown symbol cfg80211_unregister_wdev (err 0)
[   62.506853@3] dhd: Unknown symbol cfg80211_del_sta (err 0)
[   62.512396@3] dhd: Unknown symbol ieee80211_channel_to_frequency (err 0)
[   62.518932@3] dhd: Unknown symbol cfg80211_rx_mgmt (err 0)
[   62.524456@3] dhd: Unknown symbol cfg80211_chandef_create (err 0)
[   62.530501@3] dhd: Unknown symbol ieee80211_frequency_to_channel (err 0)
[   62.537115@3] dhd: Unknown symbol cfg80211_unlink_bss (err 0)
[   62.542810@3] dhd: Unknown symbol wiphy_free (err 0)
  1. Check if the file ‘/system/lib/cfg80211.ko’ exist.
  2. Get informations from ‘/proc/kallsyms’ and make sure the above functions like ‘cfg80211_scan_done’ in it.

The file “cfg80211.ko” is not in the folder /out/target/product/kvim/system/lib/
But it is in the folder /out/target/product/kvim/obj/KERNEL_OBJ/net/wireless/cfg80211.ko

How to fix it?

Did you modify the file ‘common/arch/arm64/configs/kvim_defconfig’ ?
Make sure the config ‘CONFIG_CFG80211=m’

I did not modify.
I checked file, kvim_defconfig. It has ‘CONFIG_CFG80211=m’

I am sorry for that,I missed the info.
You can follow below command to pack the update.img

$ make otapackage  -j8  TARGET_SKIP_OTA_PACKAGE=true  

What do I do?
only this:

$ make otapackage -j8 TARGET_SKIP_OTA_PACKAGE=true

or

$ make installclean -j8
$ make otapackage -j8 TARGET_SKIP_OTA_PACKAGE=true