-JFK- Posté(e) 13 novembre 2013 Posté(e) 13 novembre 2013 Bonjour, Je viens du Nexus 4 et j'ai maintenant un LG G2. J'apprends à "porter depuis les sources" une ROM dispo sur le N4 et bientôt sur le N5. Je me heurt à certain problèmes... Si des dev dans le coin pouvaient y jeter un oeil, ça m'aiderait fortement. Je poste ici dans Dev ROM & CO car c'est vraiment du dev. Voici la marche à suivre que j'ai réalisé ainsi qu'à la fin mon soucis actuel. Merci par avance ! *repo sync : repo init -u https://github.com/PSX-PureSpeed/android_manifest.git -b kk-4.4 *J'ai ajouté ça dans le manifest pour le LG G2 : <project path="device/lge/g2-common" name="CyanogenMod/android_device_lge_g2-common" remote="cm" revision="cm-10.2" /> <project path="device/lge/d802" name="CyanogenMod/android_device_lge_d802" remote="cm" revision="cm-10.2" /> <project path="hardware/qcom/display-mdss" name="CyanogenMod/android_hardware_qcom_display-mdss" remote="cm" revision="cm-10.2" /> <project path="hardware/qcom/media-v4l2" name="CyanogenMod/android_hardware_qcom_media-v4l2" remote="cm" revision="cm-10.2" /> <project path="kernel/lge/msm8974" name="CyanogenMod/android_kernel_lge_msm8974" remote="cm" revision="cm-10.2" /> *Normalement, j'ai tout pour bosser. *Sous "psx/vendor/psx" j'ai édité "vendorsetup.sh" Ajout de : add_lunch_combo d802-user * Sous "psx/vendor/psx/products" j'ai crée un fichier "d802.mk" avec : # Inherit AOSP device configuration for hammerhead. $(call inherit-product, device/lge/d802/d802.mk) # Inherit common product files. $(call inherit-product, vendor/psx/products/common.mk) # Setup device specific product configuration. PRODUCT_NAME := d802 PRODUCT_BRAND := LGE PRODUCT_DEVICE := d802 PRODUCT_MODEL := LG G2 PRODUCT_MANUFACTURER := LGE PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=hammerhead BUILD_FINGERPRINT="google/hammerhead/hammerhead:4.4/KRT16M/893803:user/release-keys" PRIVATE_BUILD_DESC="hammerhead-user 4.4 KRT16M 893803 release-keys" *J'ai crée un dossier "d802" under psx/vendor/lge and add that : https://github.com/rohanmathur/vendor_lge_d802 *J'ai édité le ficher "AndroidProducts.mk" sous "psx/vendor/psx/products" pour avoir ça : PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/psx_emulator.mk \ $(LOCAL_DIR)/psx_mako.mk \ $(LOCAL_DIR)/psx_hammerhead.mk \ $(LOCAL_DIR)/d802.mk \ $(LOCAL_DIR)/psx_flo.mk *J'ai édité le ficher "d802.mk" sous "psx/device/lge/d802" et renomé : PRODUCT_NAME := full_d802 en PRODUCT_NAME := d802 *Dans un terminal sous "psx/" : . build/envsetup.sh lunch *J'ai choisis "13" qui est "d802-user" *Le terminal renvoi : build/core/product_config.mk:227: *** _nic.PRODUCTS.[[vendor/psx/products/d802.mk]]: "frameworks/native/build/phone-xxhdpi-2048-dalvik-heap.mk" does not exist. Stop. ** Don't have a product spec for: 'd802' ** Do you have the right repo manifest? *J'ai donc ajouté " phone-xxhdpi-2048-dalvik-heap.mk" dans " frameworks/native/build/" *Dan un terminal sous "psx/" : . build/envsetup.sh lunch *J'ai choisis "13" qui est "d802-user" *This is the terminal return : build/core/product_config.mk:227: *** _nic.PRODUCTS.[[vendor/psx/products/d802.mk]]: "frameworks/native/build/phone-xxhdpi-2048-hwui-memory.mk" does not exist. Stop. ** Don't have a product spec for: 'd802' ** Do you have the right repo manifest? *J'ai donc ajouté " phone-xxhdpi-2048-hwui-memory.mk" dans " frameworks/native/build/" *Dans un terminal sous "psx/" I do : . build/envsetup.sh lunch *J'ai choisi "13" that qui est "d802-user" *There is no more error !" make otapackage -j8 *Et le terminal retourne : ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=4.4 TARGET_PRODUCT=d802 TARGET_BUILD_VARIANT=user TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a-neon TARGET_CPU_VARIANT=krait HOST_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-3.11.0-13-generic-x86_64-with-Ubuntu-13.10-saucy HOST_BUILD_TYPE=release BUILD_ID=KRT16M OUT_DIR=out ============================================ Checking build tools versions... build/core/binary.mk:427: target `out/target/product/d802/obj/EXECUTABLES/skia_test_intermediates/MatrixTest.o' given more than once in the same rule. find: `src': No such file or directory frameworks/uiautomator/Android.mk:82: warning: overriding commands for target `out/target/common/obj/PACKAGING/uiautomator-checkapi-last-timestamp' frameworks/testing/uiautomator/library/Android.mk:82: warning: ignoring old commands for target `out/target/common/obj/PACKAGING/uiautomator-checkapi-last-timestamp' frameworks/uiautomator/Android.mk:99: warning: overriding commands for target `out/target/common/obj/PACKAGING/uiautomator-checkapi-current-timestamp' frameworks/testing/uiautomator/library/Android.mk:99: warning: ignoring old commands for target `out/target/common/obj/PACKAGING/uiautomator-checkapi-current-timestamp' frameworks/uiautomator/Android.mk:111: warning: overriding commands for target `update-uiautomator-api' frameworks/testing/uiautomator/library/Android.mk:111: warning: ignoring old commands for target `update-uiautomator-api' make: *** hardware/qcom/: Is a directory. Stop. *J'ai aucune idée de comment résoudre cette erreur...
Recommended Posts
Archivé
Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.