|
2019-11-12
, 13:52
|
|
Posts: 601 |
Thanked: 714 times |
Joined on Jul 2019
@ UK
|
#662
|
Which extra lines do you mean, do you have an example?
And which 4 extra lines are you planning to use?
<project path="device/lge/hammerhead" name="CyanogenMod/android_device_lge_hammerhead" revision="stable/cm-12.1-YOG4P" /> <project path="kernel/lge/hammerhead" name="CyanogenMod/android_kernel_lge_hammerhead" revision="stable/cm-12.1-YOG4P" />
<project path="device/lge/hammerhead" name="edp17/android_device_lge_hammerhead" revision="stable/cm-12.1-YOG4P" /> <project path="kernel/lge/hammerhead" name="edp17/android_kernel_lge_hammerhead" revision="stable/cm-12.1-YOG4P" />
<project path="hybris/droid-hal-version-hammerhead" name="edp17/droid-hal-version-hammerhead-12.1" revision="master" /> <project path="hybris/droid-configs" name="edp17/droid-config-hammerhead-12.1" revision="master" /> <project path="rpm" name="edp17/droid-hal-hammerhead-12.1" revision="master" /> <project path="vendor/lge" name="edp17/proprietary_vendor_lge" revision="stable/cm-12.1-YOG4P" />
The Following User Says Thank You to edp17 For This Useful Post: | ||
|
2019-11-12
, 14:30
|
Posts: 635 |
Thanked: 1,535 times |
Joined on Feb 2014
@ Germany
|
#663
|
|
2019-11-12
, 15:29
|
|
Posts: 601 |
Thanked: 714 times |
Joined on Jul 2019
@ UK
|
#664
|
You have to make these repositories during the Adaptation. These contain the necessary files, to get everything working. This is explained in Chapter 7 of the HADK.
But first you need to get a working kernel after checking out the CM12.1 base.
The Following User Says Thank You to edp17 For This Useful Post: | ||
|
2019-11-12
, 16:13
|
Posts: 635 |
Thanked: 1,535 times |
Joined on Feb 2014
@ Germany
|
#665
|
|
2019-11-12
, 21:50
|
|
Posts: 601 |
Thanked: 714 times |
Joined on Jul 2019
@ UK
|
#666
|
The present kernel configuration has modules disabled. Type 'make config' and enable loadable module support. Then build a kernel with module support enabled. make[2]: *** [modules_install] Error 1 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/home/edp17/mer/android/droid/kernel/lge/hammerhead' make: [TARGET_KERNEL_BINARIES] Error 2 (ignored) mdpath=`find /home/edp17/mer/android/droid/out/target/product/hammerhead/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do arm-eabi-strip --strip-unneeded $i; mv $i /home/edp17/mer/android/droid/out/target/product/hammerhead/system/lib/modules/; done; fi mdpath=`find /home/edp17/mer/android/droid/out/target/product/hammerhead/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi #### make failed to build some targets (14:43 (mm:ss)) ####
No private recovery resources for TARGET_DEVICE hammerhead make: *** No rule to make target `config'. Stop. #### make failed to build some targets (22 seconds) ####
perl: warning: Falling back to the standard locale ("C"). hybris/hybris-boot/Android.mk:71: ********************* /boot appears to live on /dev/block/platform/msm_sdcc.1/by-name/boot hybris/hybris-boot/Android.mk:72: ********************* /data appears to live on /dev/block/platform/msm_sdcc.1/by-name/userdata PRODUCT_COPY_FILES device/lge/hammerhead/apns-full-conf.xml:system/etc/apns-conf.xml ignored. No private recovery resources for TARGET_DEVICE hammerhead make -C kernel/lge/hammerhead O=/home/edp17/mer/android/droid/out/target/product/hammerhead/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/edp17/mer/android/droid/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_hammerhead_defconfig make[1]: Entering directory `/home/edp17/mer/android/droid/kernel/lge/hammerhead' target Symbolic: libc (/home/edp17/mer/android/droid/out/target/product/hammerhead/symbols/system/lib/libc.so) Install: /home/edp17/mer/android/droid/out/target/product/hammerhead/root/property_contexts Install: /home/edp17/mer/android/droid/out/target/product/hammerhead/root/seapp_contexts /home/edp17/mer/android/droid/out/target/product/hammerhead/obj/ETC/file_contexts_intermediates/file_contexts: Multiple different specifications for /sys/devices/virtual/graphics/fb0/rgb (u:object_r:livedisplay_sysfs:s0 and u:object_r:sysfs_hardware:s0). Error loading context file from /home/edp17/mer/android/droid/out/target/product/hammerhead/obj/ETC/file_contexts_intermediates/file_contexts make: *** [/home/edp17/mer/android/droid/out/target/product/hammerhead/obj/ETC/file_contexts_intermediates/file_contexts] Error 4 make: *** Deleting file `/home/edp17/mer/android/droid/out/target/product/hammerhead/obj/ETC/file_contexts_intermediates/file_contexts' make: *** Waiting for unfinished jobs.... GEN /home/edp17/mer/android/droid/out/target/product/hammerhead/obj/KERNEL_OBJ/Makefile # # configuration written to .config # make[1]: Leaving directory `/home/edp17/mer/android/droid/kernel/lge/hammerhead' #### make failed to build some targets (19 seconds) ####
The Following User Says Thank You to edp17 For This Useful Post: | ||
|
2019-11-12
, 22:35
|
Posts: 635 |
Thanked: 1,535 times |
Joined on Feb 2014
@ Germany
|
#667
|
|
2019-11-12
, 23:06
|
|
Posts: 601 |
Thanked: 714 times |
Joined on Jul 2019
@ UK
|
#668
|
You can edit the defconfig files with an editor. The defconfig you need to edit is arch/arm/configs/cyanogenmod_hammerhead_defconfig.
Just enable the modules support(CONFIG_MODULES=y) and try again.
|
2019-11-12
, 23:30
|
|
Posts: 601 |
Thanked: 714 times |
Joined on Jul 2019
@ UK
|
#669
|
target Prebuilt: (/home/edp17/mer/android/droid/out/target/product/hammerhead/kernel) /home/edp17/mer/android/droid/out/target/product/hammerhead/obj/ETC/file_contexts_intermediates/file_contexts: Multiple different specifications for /sys/devices/virtual/graphics/fb0/rgb (u:object_r:livedisplay_sysfs:s0 and u:object_r:sysfs_hardware:s0). Error loading context file from /home/edp17/mer/android/droid/out/target/product/hammerhead/obj/ETC/file_contexts_intermediates/file_contexts make: *** [/home/edp17/mer/android/droid/out/target/product/hammerhead/obj/ETC/file_contexts_intermediates/file_contexts] Error 4 make: *** Deleting file `/home/edp17/mer/android/droid/out/target/product/hammerhead/obj/ETC/file_contexts_intermediates/file_contexts' #### make failed to build some targets (21:57 (mm:ss)) ####
The Following User Says Thank You to edp17 For This Useful Post: | ||
|
2019-11-12
, 23:37
|
|
Posts: 601 |
Thanked: 714 times |
Joined on Jul 2019
@ UK
|
#670
|
Install: /home/edp17/mer/android/droid/out/host/linux-x86/bin/checkfc /home/edp17/mer/android/droid/out/target/product/hammerhead/obj/ETC/file_contexts_intermediates/file_contexts: Multiple different specifications for /sys/devices/virtual/graphics/fb0/rgb (u:object_r:livedisplay_sysfs:s0 and u:object_r:sysfs_hardware:s0). Error loading context file from /home/edp17/mer/android/droid/out/target/product/hammerhead/obj/ETC/file_contexts_intermediates/file_contexts make: *** [/home/edp17/mer/android/droid/out/target/product/hammerhead/obj/ETC/file_contexts_intermediates/file_contexts] Error 4 make: *** Deleting file `/home/edp17/mer/android/droid/out/target/product/hammerhead/obj/ETC/file_contexts_intermediates/file_contexts' #### make failed to build some targets (04:35 (mm:ss)) ####
The Following User Says Thank You to edp17 For This Useful Post: | ||
Tags |
hammerhead, nexus5, sailfishos, sfdroid |
Thread Tools | |
|
And which 4 extra lines are you planning to use?
SFOS Nexus5 CM12.1 custom kernel