Help building CM11 from source for higgs2g - Samsung Galaxy Star

I started Samsung GALAXY star Advance/2 Plus development, so I wanted to build CM11 from source for it.
I stuck on the latest step to build CM. So, I tap:
Code:
brunch higgs2g
And I got:
Code:
including vendor/cm/vendorsetup.sh
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
Trying dependencies-only mode on a non-existing device tree?
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.4
CM_VERSION=11-20151224-UNOFFICIAL-higgs2g
TARGET_PRODUCT=cm_higgs2g
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-25-generic-i686-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KTU84Q
OUT_DIR=/home/xdahicham03/CM11/out
============================================
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.4
CM_VERSION=11-20151224-UNOFFICIAL-higgs2g
TARGET_PRODUCT=cm_higgs2g
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-25-generic-i686-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KTU84Q
OUT_DIR=/home/xdahicham03/CM11/out
============================================
/home/xdahicham03/CM11/out/target/product/higgs2g/obj/APPS/SignatureTest_intermediates
"ebtables is disabled on this build"
find: "src": Aucun fichier ou dossier de ce type
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
find: "bootable/recovery/res-480": Aucun fichier ou dossier de ce type
No private recovery resources for TARGET_DEVICE higgs2g
host StaticLib: libmincrypt (/home/xdahicham03/CM11/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a)
ERROR: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/bin/x86_64-linux-ar only run on 64-bit linux
make: *** [/home/xdahicham03/CM11/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a] Erreur 1
Can someone tell me what am I doing wrong ?
(I manually modified Galaxy V device tree to be higgs2g's)

Hicham03 said:
I started Samsung GALAXY star Advance/2 Plus development, so I wanted to build CM11 from source for it.
I stuck on the latest step to build CM. So, I tap:
Code:
brunch higgs2g
And I got:
Code:
including vendor/cm/vendorsetup.sh
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
Trying dependencies-only mode on a non-existing device tree?
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.4
CM_VERSION=11-20151224-UNOFFICIAL-higgs2g
TARGET_PRODUCT=cm_higgs2g
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-25-generic-i686-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KTU84Q
OUT_DIR=/home/xdahicham03/CM11/out
============================================
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file: Erreur de format pour exec()
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.4
CM_VERSION=11-20151224-UNOFFICIAL-higgs2g
TARGET_PRODUCT=cm_higgs2g
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-25-generic-i686-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KTU84Q
OUT_DIR=/home/xdahicham03/CM11/out
============================================
/home/xdahicham03/CM11/out/target/product/higgs2g/obj/APPS/SignatureTest_intermediates
"ebtables is disabled on this build"
find: "src": Aucun fichier ou dossier de ce type
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
find: "bootable/recovery/res-480": Aucun fichier ou dossier de ce type
No private recovery resources for TARGET_DEVICE higgs2g
host StaticLib: libmincrypt (/home/xdahicham03/CM11/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a)
ERROR: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/bin/x86_64-linux-ar only run on 64-bit linux
make: *** [/home/xdahicham03/CM11/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a] Erreur 1
Can someone tell me what am I doing wrong ?
(I manually modified Galaxy V device tree to be higgs2g's)
Click to expand...
Click to collapse
You need to use a 64-bit Linux system to build Android.

corphish said:
You need to use a 64-bit Linux system to build Android.
Click to expand...
Click to collapse
My PC is non-upgradable to 64 bit... :crying:
Thanks for your reply anyway..

hey you can install 64 bit on 32 bit system...
Better try it!
it can be slow ..

good

Related

i cant compile cifs, missing atomic64_32.h

Hi, i need cifs support for mount network shares but first i tried making changes with winhex but all trieds failed ....
now i installed ubuntu 12.04 in my desktop for compile cifs module but im stuck with some errors or missing steps, i tried follow some guides:
http://forum.openhandhelds.net/index.php?topic=61.0
http://forum.xda-developers.com/showthread.php?t=837170
...
/home/userx/mb855/kernel-tegra/arch/x86/include/asm/atomic.h:294:26: error fatal: atomic64_32.h: Missing file or directory.
i check the path and there are others files as: atomic_32.h, atomic64_64.h, atomic_64...
Is there some guide step for step for compile an module?
kernel source & .config
link from where i downloaded kernel source:
http://sourceforge.net/projects/photon4g.motorola/files/PHOTON-4G/4.5.1A-1_SUN-198_6/
Attach .config file available in my phone.
still trying ....
stuck now with:
[email protected]:/home/userx/mb855/kernel-tegra# make prepare
CHK include/linux/version.h
make[1]: «include/asm-arm/mach-types.h» está actualizado.
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CC kernel/bounds.s
cc1: error: no se reconoce la opción de línea de órdenes ‘-mlittle-endian’
cc1: error: no se reconoce la opción de línea de órdenes ‘-mapcs’
cc1: error: no se reconoce la opción de línea de órdenes ‘-mno-sched-prolog’
cc1: error: no se reconoce la opción de línea de órdenes ‘-mfloat-abi=softfp’
cc1: error: no se reconoce la opción de línea de órdenes ‘-mfpu=vfpv3-d16’
kernel/bounds.c:1:0: error: ABI desconocida (apcs-gnu) para -mabi= switch
kernel/bounds.c:1:0: error: valor erróneo (armv7-a) para -march= switch
kernel/bounds.c:1:0: error: valor erróneo (cortex-a9) para -mtune= switch
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
Please help.
I'm tired, go to bed.

Error compiling cm7

Hello to all, im sync CM7 repo and build, but i have the next error
[CODENo hay ninguna regla para construir el objetivo «out/target/common/obj/JAVA_LIBRARIES/libGoogleAnalyticsV2_intermediates/javalib.jar», necesario para «out/target/common/obj/APPS/CMStats_intermediates/classes-full-debug.jar». Alto.
make: *** Se espera a que terminen otras tareas....
][/CODE]
How to fix this?

[Q] bsdiff problems!

Hello all, i'm trying to build for the Motorola XT925.. But it fails..
This is the output:
Code:
make: *** No hay ninguna regla para construir el objetivo
«/home/snakehaveyou/utouch/out/host/linux-x86/bin/bsdiff»,
necesario para «/home/snakehaveyou/utouch/out/target/product/xt925/cm_xt925-ota-eng.snakehaveyou.zip». Alto.
make: *** Se espera a que terminen otras tareas....
APK certs list: /home/snakehaveyou/utouch/out/target/product/xt925/obj/PACKAGING/
apkcerts_intermediates/cm_xt925-apkcerts-eng.snakehaveyou.txt
# In case value of PACKAGES is empty.
"No hay ninguna regla para construir el objetivo" can be translated to: "No rule to make target"
Any ideas??
Edit: Seems to be solved.. Downloaded /external/bsdiff from CyanogenMod's git.

[Q] Install the rom

Hello I can not install the rom on lg g watch, I'm under linux ubuntu, there in no problem to unlock the bootloader but I do not know the command to install the script. SH
thank you
the info in the zip rom says:
1. reboot (to make sure no extra apps are running)
2. ensure usb debugging is enabled on watch
3. connect watch to computer via usb
4. run linux_installer.sh
bogdan_wrc said:
the info in the zip rom says:
1. reboot (to make sure no extra apps are running)
2. ensure usb debugging is enabled on watch
3. connect watch to computer via usb
4. run linux_installer.sh
Click to expand...
Click to collapse
I am running ubuntu and here are his words:
Code:
Commande 'run' non trouvée, vouliez-vous dire*:
La commande 'qrun' du paquet 'torque-client-x11' (universe)
La commande 'qrun' du paquet 'torque-client' (universe)
La commande 'runq' du paquet 'exim4-daemon-heavy' (main)
La commande 'runq' du paquet 'exim4-daemon-light' (main)
La commande 'runq' du paquet 'sendmail-bin' (universe)
La commande 'rup' du paquet 'rstat-client' (universe)
La commande 'zrun' du paquet 'moreutils' (universe)
La commande 'srun' du paquet 'slurm-llnl' (universe)
La commande 'rn' du paquet 'trn4' (multiverse)
La commande 'rn' du paquet 'trn' (multiverse)
La commande 'grun' du paquet 'grun' (universe)
run*: commande introuvable
try opening terminal in folder (cd/..), and then for the final step, drag the file .sh on to the terminal.
or like this
http://askubuntu.com/questions/122428/how-to-run-sh-file
bogdan_wrc said:
try opening terminal in folder (cd/..), and then for the final step, drag the file .sh on to the terminal.
or like this
http://askubuntu.com/questions/122428/how-to-run-sh-file
Click to expand...
Click to collapse
Code:
[email protected]:~$ cd Bureau
[email protected]:~/Bureau$ cd 0
[email protected]:~/Bureau/0$ ls
aapt.exe AdbWinUsbApi.dll linux_installer.sh update.zip
adb.exe fastboot.exe osx_installer.sh windows_installer.bat
adb.linux fastboot.linux rboot.img
adb.osx fastboot.osx README.txt
AdbWinApi.dll LGGW-rootboot.img rom
[email protected]:~/Bureau/0$ chmod +x linux_installer.sh
[email protected]:~/Bureau/0$ ./linux_installer.sh
[*]
[*] Gohma v1.0
[*] by jakeday
[*]
[*] for the LG G Watch
[*]
[*] Before continuing, ensure ADB debugging is enabled
[*] and that your watch is connected via USB.
[*]
[*] Press enter to install the rom.
[*]
[*] Waiting for device...
./linux_installer.sh: ligne 18: ./adb.linux: Aucun fichier ou dossier de ce type
[*] Device found.
[*] Installing root...
./linux_installer.sh: ligne 24: ./adb.linux: Aucun fichier ou dossier de ce type
[*] Press any key when on bootloader screen.
./linux_installer.sh: ligne 28: ./fastboot.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 30: ./adb.linux: Aucun fichier ou dossier de ce type
[*] Pushing ROM files to watch...
./linux_installer.sh: ligne 35: ./adb.linux: Aucun fichier ou dossier de ce type
[*] Installing ROM...
./linux_installer.sh: ligne 38: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 40: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 41: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 42: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 44: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 45: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 46: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 47: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 48: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 50: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 51: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 52: ./adb.linux: Aucun fichier ou dossier de ce type
[*] Cleaning up...
[*] Installation complete!
[*] Press any key to exit.
This looks like you may want to also chmod+x on the fastboot.osx & adb.osx files as well.
Can you post the results of an `ls -la` ?
bobdivx said:
Code:
[email protected]:~$ cd Bureau
[email protected]:~/Bureau$ cd 0
[email protected]:~/Bureau/0$ ls
aapt.exe AdbWinUsbApi.dll linux_installer.sh update.zip
adb.exe fastboot.exe osx_installer.sh windows_installer.bat
adb.linux fastboot.linux rboot.img
adb.osx fastboot.osx README.txt
AdbWinApi.dll LGGW-rootboot.img rom
[email protected]:~/Bureau/0$ chmod +x linux_installer.sh
[email protected]:~/Bureau/0$ ./linux_installer.sh
[*]
[*] Gohma v1.0
[*] by jakeday
[*]
[*] for the LG G Watch
[*]
[*] Before continuing, ensure ADB debugging is enabled
[*] and that your watch is connected via USB.
[*]
[*] Press enter to install the rom.
[*]
[*] Waiting for device...
./linux_installer.sh: ligne 18: ./adb.linux: Aucun fichier ou dossier de ce type
[*] Device found.
[*] Installing root...
./linux_installer.sh: ligne 24: ./adb.linux: Aucun fichier ou dossier de ce type
[*] Press any key when on bootloader screen.
./linux_installer.sh: ligne 28: ./fastboot.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 30: ./adb.linux: Aucun fichier ou dossier de ce type
[*] Pushing ROM files to watch...
./linux_installer.sh: ligne 35: ./adb.linux: Aucun fichier ou dossier de ce type
[*] Installing ROM...
./linux_installer.sh: ligne 38: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 40: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 41: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 42: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 44: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 45: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 46: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 47: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 48: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 50: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 51: ./adb.linux: Aucun fichier ou dossier de ce type
./linux_installer.sh: ligne 52: ./adb.linux: Aucun fichier ou dossier de ce type
[*] Cleaning up...
[*] Installation complete!
[*] Press any key to exit.
Click to expand...
Click to collapse

multi-target configuration AOSP build

Well, hi everyone.
Im trying to build an AOSP rom. Thats my first try with 60bits android and have some problems.
I dowload the source from 5.1.1, then I found some CM git to my device (lg g flex 2)
I start modifing the device and settings, using my prebuildts and so.
the problem was in the start.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
TARGET_PRODUCT=z2
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA[email protected]_3.40GHz-with-gentoo-2.2
HOST_BUILD_TYPE=release
BUILD_ID=LMY48W
OUT_DIR=out
============================================
build/core/dex_preopt_libart_boot.mk:48: atención: se anulan las instrucciones para el objetivo 'out/target/product/generic/system/framework/arm/boot.art'
build/core/dex_preopt_libart_boot.mk:48: atención: se ignoran las instrucciones viejas para el objetivo 'out/target/product/generic/system/framework/arm/boot.art'
build/core/dex_preopt_libart_boot.mk:54: atención: se anulan las instrucciones para el objetivo 'out/target/product/generic/dex_bootjars/system/framework/arm/boot.art'
build/core/dex_preopt_libart_boot.mk:54: atención: se ignoran las instrucciones viejas para el objetivo 'out/target/product/generic/dex_bootjars/system/framework/arm/boot.art'
including ./abi/cpp/Android.mk ...
build/core/base_rules.mk:550: atención: se anulan las instrucciones para el objetivo 'out/target/product/generic/system/lib/libgabi++.so'
build/core/base_rules.mk:550: atención: se ignoran las instrucciones viejas para el objetivo 'out/target/product/generic/system/lib/libgabi++.so'
build/core/dynamic_binary.mk:76: atención: se anulan las instrucciones para el objetivo 'out/target/product/generic/symbols/system/lib/libgabi++.so'
build/core/dynamic_binary.mk:76: atención: se ignoran las instrucciones viejas para el objetivo 'out/target/product/generic/symbols/system/lib/libgabi++.so'
including ./art/Android.mk ...
art/build/Android.common.mk:42: *** Do not know what to do with this multi-target configuration!. Alto.
#### make failed to build some targets (2 seconds) ####
Click to expand...
Click to collapse
the settings in BoardConfig.mk
TARGET_ARCH := arm64
TARGET_ARCH_VARIANT := armv8-a
TARGET_CPU_ABI := arm64-v8a
TARGET_CPU_VARIANT := generic
ART_TARGET_SUPPORTED_ARCH := arm
TARGET_2ND_ARCH := arm
TARGET_2ND_ARCH_VARIANT := armv7-a-neon
TARGET_2ND_CPU_ABI := armeabi-v7a
TARGET_2ND_CPU_ABI2 := armeabi
TARGET_2ND_CPU_VARIANT := cortex-a53
TARGET_USE_QCOM_BIONIC_OPTIMIZATION := true
TARGET_USES_64_BIT_BINDER := true
Click to expand...
Click to collapse
the last line, I try with false too.
Some expert can help me?
All guides I found are for 32bits build, and I cannot find nothing
The only thing that I want to build is system, I dont want at this time the recovery and boot.img (flex 2 have a locked bootloader)
I want the system to try if it works
thanks
well I found the first solution,
I call another product instead of $(call inherit-product, $(SRC_TARGET_DIR)/product/full.mk)
I call:
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_arm64.mk)
And compilation start.

Categories

Resources