Visualizzazione stampabile
-
Nella guida dice di copiare sull'editor del testo. Nel testo cisonole seguenti righe:
codice:
# Google Nexus 7 MTP mode : automatic mount when plugged (all android versions)
ENV{ID_MODEL}=="Nexus_4", ENV{ID_MODEL_ID}=="4ee2", ACTION=="add", RUN+="/usr/bin/sudo -b -u yourlogin /usr/local/sbin/go-mtpfs -allow-other=true /media/Nexus4"
ENV{ID_MODEL}=="Nexus_4", ENV{ID_MODEL_ID}=="4ee2", ACTION=="add", RUN+="/usr/bin/sudo -b -u yourlogin /usr/local/sbin/go-mtpfs -allow-other=true /media/Nexus4"
ENV{ID_MODEL}=="Nexus_7", ENV{ID_MODEL_ID}=="4e41", ACTION=="add", RUN+="/usr/bin/sudo -b -u yourlogin /usr/local/sbin/go-mtpfs -allow-other=true /media/Nexus7"
ENV{ID_MODEL}=="Nexus_7", ENV{ID_MODEL_ID}=="4e42", ACTION=="add", RUN+="/usr/bin/sudo -b -u yourlogin /usr/local/sbin/go-mtpfs -allow-other=true /media/Nexus7"
# Google Nexus 7 MTP mode : automatic unmount when unplugged (all android versions)
ENV{ID_MODEL}=="Nexus_4", ENV{ID_MODEL_ID}=="4ee2", ACTION=="remove", RUN+="/bin/umount /media/Nexus4"
ENV{ID_MODEL}=="Nexus_4", ENV{ID_MODEL_ID}=="4ee2", ACTION=="remove", RUN+="/bin/umount /media/Nexus4"
ENV{ID_MODEL}=="Nexus_7", ENV{ID_MODEL_ID}=="4e41", ACTION=="remove", RUN+="/bin/umount /media/Nexus7"
ENV{ID_MODEL}=="Nexus_7", ENV{ID_MODEL_ID}=="4e42", ACTION=="remove", RUN+="/bin/umount /media/Nexus7"
Bisogna lasciare Nexus 7 e 4, oppure devo cambiare e mettere il mio, ossia il Nexus 5?
Grazie...
-
Qual'è il procedimento qui indicato?
http://img.tapatalk.com/d/14/03/24/te9yte7e.jpg
Quando do il comando che poi dovrebbe creare il zip flashabile mi restituisce:
Export includes file: system/core/mkbootimg/Android.mk -- /home/ettore/sorgenti/cyanogenmod/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/export_includes
Export includes file: build/libs/host/Android.mk -- /home/ettore/sorgenti/cyanogenmod/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/export_includes
Import includes file: /home/ettore/sorgenti/cyanogenmod/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/import_includes
Export includes file: build/tools/acp/Android.mk -- /home/ettore/sorgenti/cyanogenmod/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/export_includes
make: *** Nessuna regola per generare l'obiettivo "/home/ettore/sorgenti/cyanogenmod/out/target/product/hammerhead/kernel", necessario per "/home/ettore/sorgenti/cyanogenmod/out/target/product/hammerhead/boot.img". Arresto.
make: *** Attesa per i processi non terminati....
Notice file: system/core/libmincrypt/NOTICE -- /home/ettore/sorgenti/cyanogenmod/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libmincrypt.a.txt
-
codice:
make[1]: uscita dalla directory "/home/andrea/sorgenti/purity/kernel/lge/hammerhead"
make -C kernel/lge/hammerhead O=/home/andrea/sorgenti/purity/out/target/product/hammerhead/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/andrea/sorgenti/purity/prebuilts/misc/linux-x86/ccache/ccache /home/andrea/sorgenti/purity/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" zImage-dtb
make[1]: ingresso nella directory "/home/andrea/sorgenti/purity/kernel/lge/hammerhead"
GEN /home/andrea/sorgenti/purity/out/target/product/hammerhead/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/andrea/sorgenti/purity/kernel/lge/hammerhead as source for kernel
GEN /home/andrea/sorgenti/purity/out/target/product/hammerhead/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Generating include/generated/mach-types.h
CC kernel/bounds.s
ccache: No such file or directory
Is your PATH set correctly?
make[3]: *** [kernel/bounds.s] Errore 2
make[2]: *** [prepare0] Errore 2
make[1]: *** [sub-make] Errore 2
make[1]: uscita dalla directory "/home/andrea/sorgenti/purity/kernel/lge/hammerhead"
make: *** [TARGET_KERNEL_BINARIES] Errore 2
Continuo ad avere questo errore non appena inizio a compilare. Come risolvere?
-
Quote:
Originariamente inviato da
realkiavika
codice:
make[1]: uscita dalla directory "/home/andrea/sorgenti/purity/kernel/lge/hammerhead"
make -C kernel/lge/hammerhead O=/home/andrea/sorgenti/purity/out/target/product/hammerhead/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/andrea/sorgenti/purity/prebuilts/misc/linux-x86/ccache/ccache /home/andrea/sorgenti/purity/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" zImage-dtb
make[1]: ingresso nella directory "/home/andrea/sorgenti/purity/kernel/lge/hammerhead"
GEN /home/andrea/sorgenti/purity/out/target/product/hammerhead/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/andrea/sorgenti/purity/kernel/lge/hammerhead as source for kernel
GEN /home/andrea/sorgenti/purity/out/target/product/hammerhead/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Generating include/generated/mach-types.h
CC kernel/bounds.s
ccache: No such file or directory
Is your PATH set correctly?
make[3]: *** [kernel/bounds.s] Errore 2
make[2]: *** [prepare0] Errore 2
make[1]: *** [sub-make] Errore 2
make[1]: uscita dalla directory "/home/andrea/sorgenti/purity/kernel/lge/hammerhead"
make: *** [TARGET_KERNEL_BINARIES] Errore 2
Continuo ad avere questo errore non appena inizio a compilare. Come risolvere?
cd /sorgenti
make clean
-
ragazzi una domanda. dopo aver seguito la guida per buildare il kernel ora ho una cartella con tutti i moduli .ko e la zImage. ora cosa devo fare per ottenere il mio kernel da flashare o la boot.img sempre da flash are?
-
Quote:
Originariamente inviato da
DAVIDEFERRARA1998SMARTII
cd /sorgenti
make clean
Ho provato, ma non risolve il problema:
-
Is your path set correctly ? ;)
-
Ho controllato più volte e il path è settato correttamente...
-
Una domanda quando io faccio il cherry-pick di una funzione dove la trovo poi nelle impostazioni?
-
ragazzi ho un problema provando a dare la cherry pick da github. quando scrivo il tutto e do invio mi viene fuori questo:
Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch wccd
sapete quale possa essere il problema? grazie