ROM Android: Modifikasi config kernel e980 untuk f240k
Revision as of 20:51, 2 January 2015 by Onnowpurbo (talk | contribs)
Kebetulan LGE e980 mirip sekali dengan LGE f240k salah satu yang beda adalah pada audio / sound.
Tampaknya cara yang lebih mudah untuk membuat ROM lge f240k adalah
- Sambungkan handphone LGE f240k ke komputer
- Lakukan
adb devices adb pull /proc/config.gz gzip -d config.gz
- Siapkan source lge e980
cd ~/android-cyanogenmod repo sync ~/android-cyanogenmod/vendor/cm/get-prebuilts cd ~/android-cyanogenmod . build/envsetup.sh breakfast e980
Jika update vendor/cm/vendorsetup.sh sudah dilakukan, putuskan proses.
Ubah config kernel e980 dengan config f240k
cd ~/android-cyanogenmod/kernel/lge/gproj/arch/arm/configs cp cyanogenmod_e980_defconfig cyanogenmod_e980_defconfig.asli cp ~/tempat-file-config/config cyanogenmod_e980_defconfig
Supaya lebih aman, jalankan menuconfig supaya secara automatis memperbaiki konfigurasi kernel yang kurang
cd ~/android-cyanogenmod/kernel/lge/gpro cp ~/tempat-file-config/config .config cp .config ~/android-cyanogenmod/kernel/lge/gproj/arch/arm/configs/cyanogenmod_e980_defconfig make clean && make mrproper make menuconfig
Compile ROM
Lakukan
cd ~/android-cyanogenmod ~/android-cyanogenmod/vendor/cm/get-prebuilts cd ~/android-cyanogenmod . build/envsetup.sh brunch e980
Semoga lancar.
Error BCMDHD
Tampaknya ada error :(
/home/onno/android-cyanogenmod/kernel/lge/gproj/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c: In function 'wl_set_wpa_version': /home/onno/android-cyanogenmod/kernel/lge/gproj/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:3172:33: error: 'NL80211_WAPI_VERSION_1' undeclared (first use in this function) /home/onno/android-cyanogenmod/kernel/lge/gproj/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:3172:33: note: each undeclared identifier is reported only once for each function it appears in /home/onno/android-cyanogenmod/kernel/lge/gproj/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c: In function 'wl_set_set_wapi_ie': /home/onno/android-cyanogenmod/kernel/lge/gproj/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:3203:33: error: 'NL80211_WAPI_VERSION_1' undeclared (first use in this function) /home/onno/android-cyanogenmod/kernel/lge/gproj/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c: In function 'wl_set_key_mgmt': /home/onno/android-cyanogenmod/kernel/lge/gproj/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:3517:9: error: 'WLAN_AKM_SUITE_WAPI_CERT' undeclared (first use in this function) /home/onno/android-cyanogenmod/kernel/lge/gproj/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:3520:9: error: 'WLAN_AKM_SUITE_WAPI_PSK' undeclared (first use in this function) /home/onno/android-cyanogenmod/kernel/lge/gproj/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c: In function 'wl_set_set_sharedkey': /home/onno/android-cyanogenmod/kernel/lge/gproj/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:3567:28: error: 'NL80211_WAPI_VERSION_1' undeclared (first use in this function) /home/onno/android-cyanogenmod/kernel/lge/gproj/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c: In function 'wl_cfg80211_connect': /home/onno/android-cyanogenmod/kernel/lge/gproj/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:3840:33: error: 'NL80211_WAPI_VERSION_1' undeclared (first use in this function) make[6]: *** [drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.o] Error 1 make[5]: *** [drivers/net/wireless/bcmdhd] Error 2 make[4]: *** [drivers/net/wireless] Error 2 make[3]: *** [drivers/net] Error 2 make[3]: *** Waiting for unfinished jobs....