[GUIDE][DEV][DISCONTINUED] How I build my own CM10.2 test builds - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

This is still unofficial. This thread is intended for devs & advanced users only.
Guide how I build CM10.2 for my smultron.
For the first time you try to build CM10.2
Follow this guide up to "Initialize the CyanogenMod source repository" step (don't execute this step).
http://wiki.cyanogenmod.org/w/Build_for_smultron
Download & install lzop compression tool
Code:
sudo apt-get install lzop
Initialize the CyanogenMod source repository
Enter the following to initialize the repository:
Code:
cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2
Get the required local manifest
Code:
mkdir -p ~/android/system/.repo/local_manifests
curl https://raw.github.com/LegacyXperia/local_manifests/cm-10.2/semc.xml > ~/android/system/.repo/local_manifests/semc.xml
Download the source code
Code:
repo sync
Download some commits from CyanogenMod gerrit which are not accepted yet
Code:
curl https://raw.github.com/LegacyXperia/local_manifests/cm-10.2/updates.sh > ~/android/system/updates.sh
chmod a+x updates.sh
./updates.sh
Get the prebuilts
Code:
cd ~/android/system/vendor/cm
./get-prebuilts
Setup the environment & prepare the device-specific code.
Code:
cd ~/android/system
. build/envsetup.sh
breakfast smultron
Build the ROM (takes long time)
Code:
brunch smultron
If the build finishes successfully, you will find the build here (change DATE into the date):
~/android/system/out/target/product/smultron/cm-10.2-DATE-UNOFFICIAL-smultron.zip
The next times you want to build, you only need to do the following:
Sync the repositories & make sure you are using the latest local_manifest.
Code:
cd ~/android/system/
curl https://raw.github.com/LegacyXperia/local_manifests/cm-10.2/semc.xml > ~/android/system/.repo/local_manifests/semc.xml
repo sync
Download some commits from CyanogenMod gerrit which are not accepted yet
Code:
curl https://raw.github.com/LegacyXperia/local_manifests/cm-10.2/updates.sh > ~/android/system/updates.sh
chmod a+x updates.sh
./updates.sh
Setup the environment
Code:
. build/envsetup.sh
Build the ROM
Code:
brunch smultron
If the build finishes successfully, you will find the build here (change DATE into the date):
~/android/system/out/target/product/smultron/cm-10.2-DATE-UNOFFICIAL-smultron.zip
Steps to build only the kernel:
Sync the repositories.
Code:
cd ~/android/system/
repo sync
Setup the environment
Code:
. build/envsetup.sh
Build the kernel
Code:
breakfast smultron
make -j4 bootimage
If the build finishes successfully, you will find the boot image here:
~/android/system/out/target/product/smultron/boot.img
Credits: Thanks to hnl_dk for the initial CM9 & CM10 guides.

Reserved

Mike you are the F**kin BOSS ... You work is amazing, keep it up bro
Bless

Nice guide :angel:
can i run the code level on windows??if can how? or must only ubuntu?
hope ur advice
edit.
have done with virtual machine http://www.psychocats.net/ubuntu/virtualbox

hurriX8 said:
Nice guide :angel:
can i run the code level on windows??if can how? or must only ubuntu?
hope ur advice
Click to expand...
Click to collapse
U can create a linux environment using cygwin but to get full functionality is not possible....
U can use any linux with windows already installed....
try mint if u r a beginner i think its way polished than ubuntu...

salsreloded said:
U can create a linux environment using cygwin but to get full functionality is not possible....
U can use any linux with windows already installed....
try mint if u r a beginner i think its way polished than ubuntu...
Click to expand...
Click to collapse
using cygwin is not fully perfect..
I mean if possible to fully functionaly such as terminal emulator in linux but run in windows OS?
I hate installed 2 OS.
i'm not install linux OS while i've windows installed.
1 OS is quick better
Anyway, thanks for your advice :good:

Awesome!
This is awesome!

hurriX8 said:
using cygwin is not fully perfect..
I mean if possible to fully functionaly such as terminal emulator in linux but run in windows OS?
I hate installed 2 OS.
i'm not install linux OS while i've windows installed.
1 OS is quick better
Anyway, thanks for your advice :good:
Click to expand...
Click to collapse
No its not at all possible in windows to run terminal emulator.....
but u can use liveusb for linux without installing it...
u can also use damm small linux(just 45 mb) will not disturb ur linux...
u can also install linux inside a windows partition...
and last u can also use virtualbox....
thats all the solution out there...

I don't get device tree
I try build on buildbox by goo.im

Thanks for the tutorial, Mike.
I've got two quick questions: How much HDD space does it take to compile a release (I've read it may go up to 12 gigs)?
How long does it take to finish a build on your PC, are you using anything to make it faster - like say, ccache?
I'm asking it, because my PC is a quite old C2D with 4GB of RAM, so I just don't want to bother myself if it won't be worth the time.

hurriX8 said:
using cygwin is not fully perfect..
I mean if possible to fully functionaly such as terminal emulator in linux but run in windows OS?
I hate installed 2 OS.
i'm not install linux OS while i've windows installed.
1 OS is quick better
Anyway, thanks for your advice :good:
Click to expand...
Click to collapse
use vmware player or virtual box to create a linux virtual machine
that's the best solution

pan_pietrek said:
Thanks for the tutorial, Mike.
I've got two quick questions: How much HDD space does it take to compile a release (I've read it may go up to 12 gigs)?
How long does it take to finish a build on your PC, are you using anything to make it faster - like say, ccache?
I'm asking it, because my PC is a quite old C2D with 4GB of RAM, so I just don't want to bother myself if it won't be worth the time.
Click to expand...
Click to collapse
I have same question. I too have Core 2 Duo and 4GB RAM and just about 15GB freespace.
Is it sufficient?
My internet speed is also very slow. Just about 512kbps.
I want to try android development as a hobby only so I do not want to spend a lot of time in that. (Also I can not spend lot of time due to other work)
PS: I am experienced Linux developer.

Thank you mike for the great tutorial.
You could include the "Install the repo command" section of the cyanogenmod guide, otherwise everything worked for me on Linux. It was my first Android ROM i've ever built on my computer.
Maybe you could mention that repo sync will take some hours when it is run for the first time.
CM10.2 works well so far. SU did not work (or maybe I did something wrong).
Thanks a lot!

ok at time of "Brunch Mango" repo synced sucessfully
it is showing "error 126"
my config :- atom / 1gb
here my log
Code:
[email protected]:~/android/system$ . build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/goldfish/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/semc/anzu/vendorsetup.sh
including device/semc/coconut/vendorsetup.sh
including device/semc/haida/vendorsetup.sh
including device/semc/hallon/vendorsetup.sh
including device/semc/iyokan/vendorsetup.sh
including device/semc/mango/vendorsetup.sh
including device/semc/satsuma/vendorsetup.sh
including device/semc/smultron/vendorsetup.sh
including device/semc/urushi/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
[email protected]:~/android/system$ breakfast mango
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
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
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
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
[email protected]:~/android/system$ brunch mango
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
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
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
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
build/core/Makefile:44: warning: overriding commands for target `/home/karan/android/system/out/target/product/mango/system/lib/libril.so'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/karan/android/system/out/target/product/mango/system/lib/libril.so'
PRODUCT_COPY_FILES device/semc/mango/rootdir/system/usr/idc/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES device/semc/mango/rootdir/system/usr/idc/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/karan/android/system/out/target/product/mango/system/etc/mkshrc'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/karan/android/system/out/target/product/mango/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE mango
make -C kernel/semc/msm7x30 O=/home/karan/android/system/out/target/product/mango/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/karan/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" headers_install
host C: acp <= build/tools/acp/acp.c
make[1]: Entering directory `/home/karan/android/system/kernel/semc/msm7x30'
host Executable: mkbootfs (/home/karan/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
host StaticLib: libhost (/home/karan/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.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/karan/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a] Error 1
make: *** Waiting for unfinished jobs....
CHK include/linux/version.h
UPD include/linux/version.h
WRAP arch/arm/include/generated/asm/auxvec.h
WRAP arch/arm/include/generated/asm/bitsperlong.h
WRAP arch/arm/include/generated/asm/cputime.h
WRAP arch/arm/include/generated/asm/emergency-restart.h
WRAP arch/arm/include/generated/asm/errno.h
WRAP arch/arm/include/generated/asm/ioctl.h
WRAP arch/arm/include/generated/asm/irq_regs.h
WRAP arch/arm/include/generated/asm/kdebug.h
WRAP arch/arm/include/generated/asm/local.h
WRAP arch/arm/include/generated/asm/local64.h
WRAP arch/arm/include/generated/asm/percpu.h
WRAP arch/arm/include/generated/asm/poll.h
WRAP arch/arm/include/generated/asm/resource.h
WRAP arch/arm/include/generated/asm/sections.h
WRAP arch/arm/include/generated/asm/siginfo.h
WRAP arch/arm/include/generated/asm/sizes.h
HOSTCC scripts/unifdef
INSTALL include/asm-generic (34 files)
INSTALL include/media (7 files)
INSTALL include/drm (16 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/linux/can (5 files)
INSTALL include/mtd (5 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/rdma (6 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/scsi (3 files)
INSTALL include/sound (11 files)
INSTALL include/video (3 files)
INSTALL include/linux/hsi (1 file)
INSTALL include/xen (2 files)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mfd/wcd9xxx (2 files)
INSTALL include (0 file)
INSTALL include/linux/mmc (1 file)
INSTALL include/linux/mfd (2 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/linux/netfilter/ipset (4 files)
INSTALL include/linux/netfilter_bridge (18 files)
INSTALL include/linux/netfilter_ipv4 (12 files)
INSTALL include/linux/netfilter (75 files)
INSTALL include/linux/netfilter_ipv6 (11 files)
INSTALL include/linux/nfsd (5 files)
INSTALL include/linux/raid (2 files)
INSTALL include/linux/spi (1 file)
INSTALL include/linux/sunrpc (1 file)
INSTALL include/linux/tc_act (7 files)
INSTALL include/linux/tc_ematch (4 files)
INSTALL include/linux/usb (10 files)
INSTALL include/linux/wimax (1 file)
INSTALL include/linux (409 files)
INSTALL include/asm (32 files)
make[1]: Leaving directory `/home/karan/android/system/kernel/semc/msm7x30'
[email protected]:~/android/system$

tnx
i always say nice work your thw boos i love your work

You should have about 24gig of storage before you start this tutorial. Initial sync would use between 7 and 14 gig, for your builds you would need another 10
Sent from my Xperia Ray

using mint mate 15
Code:
[email protected] ~ $ cd ~/Downloads
[email protected] ~/Downloads $ svn checkout -r 91 http://lz4.googlecode.com/svn/trunk/ lz4
Checked out revision 91.
[email protected] ~/Downloads $ cd lz4 && make && cp lz4demo ~/bin/lz4demo
make: Nothing to be done for `default'.
[email protected] ~/Downloads/lz4 $
---------- Post added at 03:13 PM ---------- Previous post was at 02:23 PM ----------
officiallysonyrebel said:
ok at time of "Brunch Mango" repo synced sucessfully
it is showing "error 126"
my config :- atom / 1gb
here my log
Code:
[email protected]:~/android/system$ . build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/goldfish/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/semc/anzu/vendorsetup.sh
including device/semc/coconut/vendorsetup.sh
including device/semc/haida/vendorsetup.sh
including device/semc/hallon/vendorsetup.sh
including device/semc/iyokan/vendorsetup.sh
including device/semc/mango/vendorsetup.sh
including device/semc/satsuma/vendorsetup.sh
including device/semc/smultron/vendorsetup.sh
including device/semc/urushi/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
[email protected]:~/android/system$ breakfast mango
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
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
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
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
[email protected]:~/android/system$ brunch mango
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
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
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
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
build/core/Makefile:44: warning: overriding commands for target `/home/karan/android/system/out/target/product/mango/system/lib/libril.so'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/karan/android/system/out/target/product/mango/system/lib/libril.so'
PRODUCT_COPY_FILES device/semc/mango/rootdir/system/usr/idc/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES device/semc/mango/rootdir/system/usr/idc/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/karan/android/system/out/target/product/mango/system/etc/mkshrc'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/karan/android/system/out/target/product/mango/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE mango
make -C kernel/semc/msm7x30 O=/home/karan/android/system/out/target/product/mango/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/karan/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" headers_install
host C: acp <= build/tools/acp/acp.c
make[1]: Entering directory `/home/karan/android/system/kernel/semc/msm7x30'
host Executable: mkbootfs (/home/karan/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
host StaticLib: libhost (/home/karan/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.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/karan/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a] Error 1
make: *** Waiting for unfinished jobs....
CHK include/linux/version.h
UPD include/linux/version.h
WRAP arch/arm/include/generated/asm/auxvec.h
WRAP arch/arm/include/generated/asm/bitsperlong.h
WRAP arch/arm/include/generated/asm/cputime.h
WRAP arch/arm/include/generated/asm/emergency-restart.h
WRAP arch/arm/include/generated/asm/errno.h
WRAP arch/arm/include/generated/asm/ioctl.h
WRAP arch/arm/include/generated/asm/irq_regs.h
WRAP arch/arm/include/generated/asm/kdebug.h
WRAP arch/arm/include/generated/asm/local.h
WRAP arch/arm/include/generated/asm/local64.h
WRAP arch/arm/include/generated/asm/percpu.h
WRAP arch/arm/include/generated/asm/poll.h
WRAP arch/arm/include/generated/asm/resource.h
WRAP arch/arm/include/generated/asm/sections.h
WRAP arch/arm/include/generated/asm/siginfo.h
WRAP arch/arm/include/generated/asm/sizes.h
HOSTCC scripts/unifdef
INSTALL include/asm-generic (34 files)
INSTALL include/media (7 files)
INSTALL include/drm (16 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/linux/can (5 files)
INSTALL include/mtd (5 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/rdma (6 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/scsi (3 files)
INSTALL include/sound (11 files)
INSTALL include/video (3 files)
INSTALL include/linux/hsi (1 file)
INSTALL include/xen (2 files)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mfd/wcd9xxx (2 files)
INSTALL include (0 file)
INSTALL include/linux/mmc (1 file)
INSTALL include/linux/mfd (2 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/linux/netfilter/ipset (4 files)
INSTALL include/linux/netfilter_bridge (18 files)
INSTALL include/linux/netfilter_ipv4 (12 files)
INSTALL include/linux/netfilter (75 files)
INSTALL include/linux/netfilter_ipv6 (11 files)
INSTALL include/linux/nfsd (5 files)
INSTALL include/linux/raid (2 files)
INSTALL include/linux/spi (1 file)
INSTALL include/linux/sunrpc (1 file)
INSTALL include/linux/tc_act (7 files)
INSTALL include/linux/tc_ematch (4 files)
INSTALL include/linux/usb (10 files)
INSTALL include/linux/wimax (1 file)
INSTALL include/linux (409 files)
INSTALL include/asm (32 files)
make[1]: Leaving directory `/home/karan/android/system/kernel/semc/msm7x30'
[email protected]:~/android/system$
Click to expand...
Click to collapse
you need 64 bit system for comiling cm10.2/cm10/cm10.1
Code:
n1kolaa-ASUS-DEKSTOP system # curl https://raw.github.com/LegacyXperia/local_manifests/cm-10.2/updates.sh > ~/android/system/updates.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 922 100 922 0 0 2400 0 --:--:-- --:--:-- --:--:-- 2664
n1kolaa-ASUS-DEKSTOP system # chmod a+x updates.sh
n1kolaa-ASUS-DEKSTOP system # ./updates.sh
From http://review.cyanogenmod.org/CyanogenMod/android_system_core
* branch refs/changes/74/38174/1 -> FETCH_HEAD
error: Your local changes would be overwritten by cherry-pick.
hint: Commit your changes or stash them to proceed.
fatal: cherry-pick failed
From http://review.cyanogenmod.org/CyanogenMod/android_hardware_qcom_audio-caf
* branch refs/changes/84/47484/2 -> FETCH_HEAD
error: Your local changes would be overwritten by cherry-pick.
hint: Commit your changes or stash them to proceed.
fatal: cherry-pick failed
From http://review.cyanogenmod.org/CyanogenMod/android_frameworks_av
* branch refs/changes/95/46495/1 -> FETCH_HEAD
error: Your local changes would be overwritten by cherry-pick.
hint: Commit your changes or stash them to proceed.
fatal: cherry-pick failed
From http://review.cyanogenmod.org/CyanogenMod/android_frameworks_native
* branch refs/changes/59/47259/1 -> FETCH_HEAD
error: Your local changes would be overwritten by cherry-pick.
hint: Commit your changes or stash them to proceed.
fatal: cherry-pick failed
n1kolaa-ASUS-DEKSTOP system #
@mikeioannina is that corect?

know using a 64 bit PC
i ve tried to compile kernel only
Code:
make[1]: Leaving directory `/home/rebel/android/system/kernel/semc/msm7x30'
make -C kernel/semc/msm7x30 O=/home/rebel/android/system/out/target/product/mango/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=" /home/rebel/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" modules_install
make[1]: Entering directory `/home/rebel/android/system/kernel/semc/msm7x30'
INSTALL drivers/net/wireless/wl12xx/wl12xx.ko
INSTALL drivers/net/wireless/wl12xx/wl12xx_sdio.ko
INSTALL drivers/scsi/scsi_wait_scan.ko
INSTALL fs/cifs/cifs.ko
INSTALL net/mac80211/mac80211.ko
INSTALL net/wireless/cfg80211.ko
DEPMOD 3.4.56-nAa+
make[1]: Leaving directory `/home/rebel/android/system/kernel/semc/msm7x30'
mdpath=`find /home/rebel/android/system/out/target/product/mango/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 /home/rebel/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/rebel/android/system/out/target/product/mango/system/lib/modules/; done; fi
mdpath=`find /home/rebel/android/system/out/target/product/mango/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
after this terminal exited to home
and no boot img there ..

officiallysonyrebel said:
ok at time of "Brunch Mango" repo synced sucessfully
it is showing "error 126"
my config :- atom / 1gb
here my log
Code:
[email protected]
Click to expand...
Click to collapse
I have HP Mini 110-3500 with atom and 1GB too
And it's not enough for good compiling
I try to use dev server but i think i have to buy better notebook with 8GB and core i3/5
Sent from my SK17i via Tapatalk 4

Errors
Code:
oduct/anzu/obj/STATIC_LIBRARIES/libvideoeditor_mcs_intermediates/libvideoeditor_mcs.a)
frameworks/av/libvideoeditor/vss/src/M4DECODER_Null.c: In function 'M4DECODER_NULL_setOption':
frameworks/av/libvideoeditor/vss/src/M4DECODER_Null.c:213:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
target StaticLib: libvideoeditor_stagefrightshells (/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libvideoeditor_stagefrightshells_intermediates/libvideoeditor_stagefrightshells.a)
target StaticLib: libvideoeditor_3gpwriter (/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libvideoeditor_3gpwriter_intermediates/libvideoeditor_3gpwriter.a)
Generating CSSPropertyNames.h <= CSSPropertyNames.in
Generating CSSValueKeywords.h <= CSSValueKeywords.in
perl external/webkit/Source/WebCore/../../../chromium/android/generateAndroidForwardingHeader.pl /home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/third_party/WebKit/WebKit/chromium/public/WebFormControlElement.h "public/WebFormControlElement.h"
perl external/webkit/Source/WebCore/../../../chromium/android/generateAndroidForwardingHeader.pl /home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/third_party/WebKit/WebKit/chromium/public/WebRegularExpression.h "public/WebRegularExpression.h"
sh: 1: sh: 1: gperf: not found
gperf: not found
calling gperf failed: 32512 at makevalues.pl line 137.
calling gperf failed: 32512 at ./makeprop.pl line 140.
make: *** [/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSValueKeywords.h] Error 25
make: *** Deleting file `/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSValueKeywords.h'
make: *** Waiting for unfinished jobs....
make: *** [/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSPropertyNames.h] Error 25
make: *** Deleting file `/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSPropertyNames.h'
Mike help!
EDIT: i think i fix it with installing gperf

Related

{Q} Errors during CM9 building for unsupported device

Please help. I am encountering following errors during compilation..
Code:
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/a9plus/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1
and
Code:
<command-line>: warning: "REFRESH_RATE" redefined
<command-line>: warning: this is the location of the previous definition
system/core/libpixelflinger/codeflinger/disassem.c:710: warning: initialization from incompatible pointer type
target thumb C: libhardware_legacy <= hardware/libhardware_legacy/power/power.c
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/a9plus/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1
I tried it on my phone and it worked fine I could never run the wifi

[Q] [help] build from source

please help about this error
[email protected]:~/cm10.1$ cd ~/cm10.1
[email protected]:~/cm10.1$ mkdir -p bin
[email protected]:~/cm10.1$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22889 100 22889 0 0 33347 0 --:--:-- --:--:-- --:--:-- 53230
[email protected]:~/cm10.1$ chmod a+x ~/bin/repo
[email protected]:~/cm10.1$ ^C
[email protected]:~/cm10.1$ cd ~/cm10.1/vendor/cm
[email protected]:~/cm10.1/vendor/cm$ ./get-prebuilts
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 117 0 0:00:01 0:00:01 --:--:-- 208
100 391k 100 391k 0 0 51153 0 0:00:07 0:00:07 --:--:-- 92144
Archive: ./proprietary/Term.apk
inflating: ./proprietary/lib/armeabi/libjackpal-androidterm4.so
inflating: ./proprietary/lib/mips/libjackpal-androidterm4.so
inflating: ./proprietary/lib/x86/libjackpal-androidterm4.so
[email protected]:~/cm10.1/vendor/cm$ source build/envsetup.sh
bash: build/envsetup.sh: No such file or directory
[email protected]:~/cm10.1/vendor/cm$ breakfast aoba
breakfast: command not found
[email protected]:~/cm10.1/vendor/cm$ gedit ~/cm10.1/.repo/local_manifest.xml
[email protected]:~/cm10.1/vendor/cm$ cd ~/cm10.1
[email protected]:~/cm10.1$ gedit ~/cm10.1/.repo/local_manifest.xml
[email protected]:~/cm10.1$ repo sync -j14 -c
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Fetching projects: 4% (13/318) fatal: remote error:
Repository not found.
fatal: remote error:
Repository not found.
Fetching projects: 7% (23/318) fatal: remote error:
Repository not found.
Fetching projects: 99% (315/318) fatal: remote error:
Repository not found.
fatal: remote error:
Repository not found.
fatal: remote error:
Repository not found.
error: Cannot fetch TheMuppets/proprietary_vendor_Sony.git
error: Cannot fetch CyanogenMod/Sony-kernel-msm8660
error: Cannot fetch CyanogenMod/android_device_Sony_aoba
error: Exited sync due to fetch errors
[email protected]:~/cm10.1$ ~/cm10.1/vendor/cm/get-prebuilts
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 206 0 --:--:-- --:--:-- --:--:-- 531
100 391k 100 391k 0 0 49918 0 0:00:08 0:00:08 --:--:-- 81054
Archive: /home/nelikp/cm10.1/vendor/cm/proprietary/Term.apk
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm4.so
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/mips/libjackpal-androidterm4.so
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/x86/libjackpal-androidterm4.so
[email protected]:~/cm10.1$ . build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/cm10.1$ brunch aoba
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "device/*/aoba/cm.mk" does not exist. Stop.
Device aoba not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_aoba
Adding dependency: CyanogenMod/android_device_sony_aoba -> device/sony/aoba
Syncing repository to retrieve project.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
remote: Counting objects: 232, done.
remote: Compressing objects: 100% (110/110), done.
remote: Total 232 (delta 92), reused 214 (delta 79)
Receiving objects: 100% (232/232), 38.12 KiB, done.
Resolving deltas: 100% (92/92), done.
From git://github.com/CyanogenMod/android_device_sony_aoba
* [new branch] jellybean -> github/jellybean
Fetching projects: 100% (1/1), done.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Repository synced!
Looking for dependencies
Adding dependencies to manifest
Adding dependency: CyanogenMod/android_device_sony_fuji-common -> device/sony/fuji-common
Adding dependency: CyanogenMod/android_kernel_sony_msm8x60 -> kernel/sony/msm8x60
Adding dependency: CyanogenMod/android_packages_apps_FMRadio -> packages/apps/FmRadio
Adding dependency: CyanogenMod/android_hardware_sony_DASH -> hardware/sony/DASH
Syncing dependencies
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
remote: Counting objects: 240, done.
remote: Compressing objects: 100% (135/135), done.
remote: Counting objects: 428, done.
remote: Compressing objects: 100% (161/161), done.
remote: Counting objects: 955, done.
remote: Compressing objects: 100% (522/522), done.
remote: Total 428 (delta 271), reused 388 (delta 259)
Receiving objects: 100% (428/428), 155.14 KiB | 86 KiB/s, done.
Resolving deltas: 100% (271/271), done.
From git://github.com/CyanogenMod/android_hardware_sony_DASH
* [new branch] jellybean -> github/jellybean
remote: Total 240 (delta 56), reused 227 (delta 49)
Receiving objects: 100% (240/240), 206.67 KiB | 72 KiB/s, done.
Resolving deltas: 100% (56/56), done.
remote: Counting objects: 62614, done.
From git://github.com/CyanogenMod/android_packages_apps_FMRadio
* [new branch] jellybean -> github/jellybean
remote: Total 955 (delta 476), reused 828 (delta 367)
Receiving objects: 100% (955/955), 2.64 MiB | 82 KiB/s, done.
Resolving deltas: 100% (476/476), done.
From git://github.com/CyanogenMod/android_device_sony_fuji-common
* [new branch] jellybean -> github/jellybean
remote: Compressing objects: 100% (41095/41095), done.
remote: Total 62614 (delta 22038), reused 44611 (delta 20885)
Receiving objects: 100% (62614/62614), 124.27 MiB | 183 KiB/s, done.
Resolving deltas: 100% (22038/22038), done.
From git://github.com/CyanogenMod/android_kernel_sony_msm8x60
* [new branch] jellybean -> github/jellybean
Fetching projects: 100% (4/4), done.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Checking out files: 100% (39583/39583), done.
Syncing work tree: 100% (4/4), done.
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "vendor/sony/fuji-common/common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_aoba'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
[email protected]:~/cm10.1$ source build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/sony/aoba/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/cm10.1$ breakfast aoba
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "vendor/sony/fuji-common/common-vendor.mk" does not exist. Stop.
Device aoba not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_aoba
CyanogenMod/android_device_sony_aoba already exists
Syncing repository to retrieve project.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Fetching projects: 100% (1/1), done.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "vendor/sony/fuji-common/common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_aoba'
** Do you have the right repo manifest?
[email protected]:~/cm10.1$ y
y: command not found
[email protected]:~/cm10.1$ cd ~/android/system/vendor/cm
bash: cd: /home/nelikp/android/system/vendor/cm: No such file or directory
[email protected]:~/cm10.1$ mkdir -p ~/bin
[email protected]:~/cm10.1$ mkdir -p ~/android/system
nelik[email protected]:~/cm10.1$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22889 100 22889 0 0 27066 0 --:--:-- --:--:-- --:--:-- 52497
[email protected]:~/cm10.1$ chmod a+x ~/bin/repo
[email protected]:~/cm10.1$ export PATH=${PATH}:~/bin
[email protected]:~/cm10.1$ gedit ~/.bashrc
[email protected]:~/cm10.1$ cd ~/android/system/
[email protected]:~/android/system$ repo init -u git://github.com/CyanogenMod/android.git -b ics
remote: Counting objects: 14, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 12 (delta 7), reused 9 (delta 4)
Unpacking objects: 100% (12/12), done.
From git://github.com/CyanogenMod/android
2c5de82..11823bf cm-10.1 -> origin/cm-10.1
* [new tag] cm-10.1-M3 -> cm-10.1-M3
error: Your local changes to the following files would be overwritten by checkout:
default.xml
Please, commit your changes or stash them before you can switch branches.
Aborting
.repo/manifests/: discarding 43 commits
error: .repo/manifests/: manifests checkout bf4935bf568e492e40f1c4a680652f992ea4f45f
Traceback (most recent call last):
File "/home/nelikp/android/system/.repo/repo/main.py", line 414, in <module>
_Main(sys.argv[1:])
File "/home/nelikp/android/system/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/home/nelikp/android/system/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/home/nelikp/android/system/.repo/repo/subcmds/init.py", line 347, in Execute
self._SyncManifest(opt)
File "/home/nelikp/android/system/.repo/repo/subcmds/init.py", line 203, in _SyncManifest
m.Sync_LocalHalf(syncbuf)
File "/home/nelikp/android/system/.repo/repo/project.py", line 1120, in Sync_LocalHalf
upstream_gain = self._revlist(not_rev(HEAD), revid)
File "/home/nelikp/android/system/.repo/repo/project.py", line 2006, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/nelikp/android/system/.repo/repo/project.py", line 2155, in rev_list
p.stderr))
error.GitError: manifests rev-list ('^HEAD', 'bf4935bf568e492e40f1c4a680652f992ea4f45f', '--'): fatal: bad revision '^HEAD'
[email protected]:~/android/system$ repo init -u git://github.com/CyanogenMod/android.git -b jellybean
Traceback (most recent call last):
File "/home/nelikp/android/system/.repo/repo/main.py", line 414, in <module>
_Main(sys.argv[1:])
File "/home/nelikp/android/system/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/home/nelikp/android/system/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/home/nelikp/android/system/.repo/repo/subcmds/init.py", line 347, in Execute
self._SyncManifest(opt)
File "/home/nelikp/android/system/.repo/repo/subcmds/init.py", line 200, in _SyncManifest
m.MetaBranchSwitch(opt.manifest_branch)
File "/home/nelikp/android/system/.repo/repo/project.py", line 2348, in MetaBranchSwitch
self.Sync_LocalHalf(syncbuf)
File "/home/nelikp/android/system/.repo/repo/project.py", line 1086, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/home/nelikp/android/system/.repo/repo/project.py", line 2006, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/nelikp/android/system/.repo/repo/project.py", line 2155, in rev_list
p.stderr))
error.GitError: manifests rev-list ('^d15b08668a9aab975cabf51702f4dc1af2fb22dd', 'HEAD', '--'): fatal: bad revision 'HEAD'
[email protected]:~/android/system$ repo sync
Traceback (most recent call last):
File "/home/nelikp/android/system/.repo/repo/main.py", line 414, in <module>
_Main(sys.argv[1:])
File "/home/nelikp/android/system/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/home/nelikp/android/system/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/home/nelikp/android/system/.repo/repo/subcmds/sync.py", line 569, in Execute
if mp.HasChanges:
File "/home/nelikp/android/system/.repo/repo/project.py", line 2383, in HasChanges
elif self._revlist(not_rev(HEAD), revid):
File "/home/nelikp/android/system/.repo/repo/project.py", line 2006, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/nelikp/android/system/.repo/repo/project.py", line 2155, in rev_list
p.stderr))
error.GitError: manifests rev-list ('^HEAD', '11823bf4a4a1fda7e048a6b11e11d8f7f453616f', '--'): fatal: bad revision '^HEAD'
[email protected]:~/android/system$ cd ~/android/system/vendor/cm
bash: cd: /home/nelikp/android/system/vendor/cm: No such file or directory
[email protected]:~/android/system$ ./get-prebuilts
bash: ./get-prebuilts: No such file or directory
[email protected]:~/android/system$ ~/cm10.1/vendor/cm/get-prebuilts
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 193 0 --:--:-- --:--:-- --:--:-- 486
100 391k 100 391k 0 0 57504 0 0:00:06 0:00:06 --:--:-- 90013
Archive: /home/nelikp/cm10.1/vendor/cm/proprietary/Term.apk
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm4.so
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/mips/libjackpal-androidterm4.so
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/x86/libjackpal-androidterm4.so
[email protected]:~/android/system$ . build/envsetup.sh
bash: build/envsetup.sh: No such file or directory
[email protected]:~/android/system$ . build/envsetup.sh
bash: build/envsetup.sh: No such file or directory
[email protected]:~/android/system$ cd ~/cm10.1
[email protected]:~/cm10.1$ ~/cm10.1/vendor/cm/get-prebuilts
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 196 0 --:--:-- --:--:-- --:--:-- 481
100 391k 100 391k 0 0 29827 0 0:00:13 0:00:13 --:--:-- 51554
Archive: /home/nelikp/cm10.1/vendor/cm/proprietary/Term.apk
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm4.so
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/mips/libjackpal-androidterm4.so
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/x86/libjackpal-androidterm4.so
[email protected]:~/cm10.1$ . build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/sony/aoba/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/cm10.1$ brunch aoba
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "vendor/sony/fuji-common/common-vendor.mk" does not exist. Stop.
Device aoba not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_aoba
CyanogenMod/android_device_sony_aoba already exists
Syncing repository to retrieve project.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Fetching projects: 100% (1/1), done.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "vendor/sony/fuji-common/common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_aoba'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
[email protected]:~/cm10.1$ breakfast aoba
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "vendor/sony/fuji-common/common-vendor.mk" does not exist. Stop.
Device aoba not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_aoba
CyanogenMod/android_device_sony_aoba already exists
Syncing repository to retrieve project.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Fetching projects: 100% (1/1), done.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "vendor/sony/fuji-common/common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_aoba'
** Do you have the right repo manifest?
[email protected]:~/cm10.1$ ^C
[email protected]:~/cm10.1$
Click to expand...
Click to collapse
nelikp said:
please help about this error
Click to expand...
Click to collapse
You have alot of stuff going on in there, maybe i missed it but why didn't i see a command to add your device repo to the device folder, also do you have a correct kernel source? because after you add your device repo, you can either opt for a prebuilt kernel or a config in the boardconfig.mk... And what is this command "^C" i dont use this one... Which all leads back to your device repo, which is the key to configuring the rom to your device. If you don't have one you can pull others from the device folder in the repo ( this is only for observation)every device will be configured differently from your own . to get the repo, all you need is repo command , sudo apt-get install git, git-core, and curl. then comes the device repo cloning, then kernel cloning, then prp blobs from your prop list, then you get the prebuilts, then if everything goes good " . build/envsetup.sh && brunch <device name according to you config.> Then get ready for fatal errors because they may come...
Warped420 said:
You have alot of stuff going on in there, maybe i missed it but why didn't i see a command to add your device repo to the device folder
Click to expand...
Click to collapse
local_manifest.xml
i cant exactly pinpoint the problem, you tried too many different things in all kinds of mixed up orders. but try doing a straight up
. build/envsetup.sh && brunch aoba
see what output you get from just that and try to let it go, itll probably give you some random errors but if it continues let it continue, if it stops on its own fine, but if you ctrl c it you could be the only thing stopping it
still got this error
[email protected]:~/android/system/vendor/cm$ source build/envsetup.sh
[email protected]:~/android/system/vendor/cm$ breakfast aoba
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "device/*/aoba/cm.mk" does not exist. Stop.
Device aoba not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
^CTraceback (most recent call last):
File "build/tools/roomservice.py", line 56, in <module>
result = json.loads(urllib2.urlopen(githubreq).read())
File "/usr/lib/python2.7/socket.py", line 351, in read
data = self._sock.recv(rbufsize)
File "/usr/lib/python2.7/httplib.py", line 561, in read
s = self.fp.read(amt)
File "/usr/lib/python2.7/socket.py", line 380, in read
data = self._sock.recv(left)
File "/usr/lib/python2.7/ssl.py", line 241, in recv
return self.read(buflen)
File "/usr/lib/python2.7/ssl.py", line 160, in read
return self._sslobj.read(len)
KeyboardInterrupt
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "device/*/aoba/cm.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_aoba'
** Do you have the right repo manifest?
[email protected]:~/android/system/vendor/cm$ breakfast aoba
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "device/*/aoba/cm.mk" does not exist. Stop.
Device aoba not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Click to expand...
Click to collapse
Please help me
Please help me...
I get error will sync cm10.1 repo...
Can someone tell me how to fix it..? :crying:
Code:
[email protected]:~/arya_ruby/Source$ repo sync
Traceback (most recent call last):
File "/home/arya/arya_ruby/Source/.repo/repo/main.py", line 414, in <module>
_Main(sys.argv[1:])
File "/home/arya/arya_ruby/Source/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/home/arya/arya_ruby/Source/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/home/arya/arya_ruby/Source/.repo/repo/subcmds/sync.py", line 569, in Execute
if mp.HasChanges:
File "/home/arya/arya_ruby/Source/.repo/repo/project.py", line 2383, in HasChanges
elif self._revlist(not_rev(HEAD), revid):
File "/home/arya/arya_ruby/Source/.repo/repo/project.py", line 2006, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/arya/arya_ruby/Source/.repo/repo/project.py", line 2155, in rev_list
p.stderr))
error.GitError: manifests rev-list ('^HEAD', 'cfa5271b7e33bfd833b1750956b3bfc19e0ecbed', '--'): fatal: bad revision '^HEAD'
[email protected]:~/arya_ruby/Source$
Sorry for my bad english
Thanks
Thanks for the writeup!
[email protected]:~/opensemc$ mka bacon
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3.1
CM_VERSION=10.2-20131019-UNOFFICIAL-aoba
TARGET_PRODUCT=cm_aoba
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-37-generic-x86_64-with-Ubuntu-12.10-quantal
HOST_BUILD_TYPE=release
BUILD_ID=JLS36I
OUT_DIR=/home/nelikp/opensemc/out
============================================
bionic/libc/Android.mk:429: TARGET_CPU_VARIANT is not defined
bionic/libc/arch-arm/arm.mk:30: *** "TARGET_CPU_VARIANT not set or set to an unknown value. Possible values are cortex-a5, cortex-a7, cortex-a8, cortex-a9, cortex-a15, krait, scorpion. Use generic for devices that do not have a CPU similar to any of the supported cpu variants.". Stop.
[email protected]:~/opensemc$
Click to expand...
Click to collapse
any help for me with this mess??
fix your boardconfig value by that name, set it to something it.listed closest to what your processor is
I'M GOD OF THE SEA PEOPLE!!!
Junkie2100 said:
fix your boardconfig value by that name, set it to something it.listed closest to what your processor is
Click to expand...
Click to collapse
Just another stuck messing with me
anyone pro/advance can help me?
including ./vendor/tmobile/libs/com.tmobile.themes/Android.mk ...
including ./vendor/tmobile/providers/ThemeManager/Android.mk ...
build/core/main.mk:510: *** Some files have been added to ALL_PREBUILTS.
build/core/main.mk:511: *
build/core/main.mk:512: * ALL_PREBUILTS is a deprecated mechanism that
build/core/main.mk:513: * should not be used for new files.
build/core/main.mk:514: * As an alternative, use PRODUCT_COPY_FILES in
build/core/main.mk:515: * the appropriate product definition.
build/core/main.mk:516: * build/target/product/core.mk is the product
build/core/main.mk:517: * definition used in all products.
build/core/main.mk:518: *
build/core/main.mk:520: *
build/core/main.mk:521: *** ALL_PREBUILTS contains unexpected files. Stop.
Click to expand...
Click to collapse
I know i need to edit build/core/main.mk
but what should it be?
include $(BUILD_SYSTEM)/legacy_prebuilts.mk
ifneq ($(filter-out $(GRANDFATHERED_ALL_PREBUILTS),$(strip $(notdir $(ALL_PREBUILT)))),)
$(warning *** Some files have been added to ALL_PREBUILTS.)
$(warning *)
$(warning * ALL_PREBUILTS is a deprecated mechanism that)
$(warning * should not be used for new files.)
$(warning * As an alternative, use PRODUCT_COPY_FILES in)
$(warning * the appropriate product definition.)
$(warning * build/target/product/core.mk is the product)
$(warning * definition used in all products.)
$(warning *)
$(foreach bad_prebuilts,$(filter-out $(GRANDFATHERED_ALL_PREBUILTS),$(strip $(notdir $(ALL_PREBUILTS)))),$(warning * unexpected $(bad_prebuilts) in ALL_PREBUILTS))
$(warning *)
$(error ALL_PREBUILTS contains unexpected files)
endif
Click to expand...
Click to collapse

[HELP] Error building aospa

I've never faced these issues before.
They happen at kernel compiling and at the end when it creates the otapackage, can you help me please? I'm stuck with this...
KERNEL (This log is from another pc but it is as the same as mine):
Code:
make[1]: se sale del directorio «/home/t4n017/android/PA/kernel/samsung/u8500»
make -C kernel/samsung/u8500 O=/home/t4n017/android/PA/out/target/product/janice/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/t4n017/android/PA/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-" dtbs
make[1]: se ingresa al directorio «/home/t4n017/android/PA/kernel/samsung/u8500»
make[3]: No se hace nada para «arch/arm/boot/dtbs».
make[1]: se sale del directorio «/home/t4n017/android/PA/kernel/samsung/u8500»
make -C kernel/samsung/u8500 O=/home/t4n017/android/PA/out/target/product/janice/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/t4n017/android/PA/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-" modules
make[1]: se ingresa al directorio «/home/t4n017/android/PA/kernel/samsung/u8500»
GEN /home/t4n017/android/PA/out/target/product/janice/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
Using /home/t4n017/android/PA/kernel/samsung/u8500 as source for kernel
CHK include/generated/utsrelease.h
make[3]: «include/generated/mach-types.h» está actualizado.
CALL /home/t4n017/android/PA/kernel/samsung/u8500/scripts/checksyscalls.sh
.config:7359:warning: symbol value 'm' invalid for KVM
make[6]: *** [silentoldconfig] Error 1
make[5]: *** [silentoldconfig] Error 2
Usage: /home/t4n017/android/PA/kernel/samsung/u8500/scripts/setlocalversion [--save-scmversion] [-s srctree] [-t ref_tag]
Building modules, stage 2.
MODPOST 7 modules
make[1]: se sale del directorio «/home/t4n017/android/PA/kernel/samsung/u8500»
make -C kernel/samsung/u8500 O=/home/t4n017/android/PA/out/target/product/janice/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=" /home/t4n017/android/PA/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-" modules_install
make[1]: se ingresa al directorio «/home/t4n017/android/PA/kernel/samsung/u8500»
OTAPACKAGE:
Code:
using device-specific extensions in device/samsung/u8500-common
using custom bootimage makefile device/samsung/u8500-common/shbootimg.mk...
using prebuilt recovery.img...
using custom bootimage makefile device/samsung/u8500-common/shbootimg.mk...
using prebuilt boot.img...
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 1117, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 1085, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 538, in WriteFullOTAPackage
Item.Get("system").SetPermissions(script)
File "./build/tools/releasetools/ota_from_target_files", line 315, in SetPermissions
recurse(self, (-1, -1, -1, -1, None, None))
File "./build/tools/releasetools/ota_from_target_files", line 307, in recurse
recurse(i, current)
File "./build/tools/releasetools/ota_from_target_files", line 307, in recurse
recurse(i, current)
File "./build/tools/releasetools/ota_from_target_files", line 313, in recurse
item.mode, item.selabel, item.capabilities)
File "/home/mauro/aospa/build/tools/releasetools/edify_generator.py", line 284, in SetPermissions
'"capabilities", %s' % (fn, uid, gid, mode, capabilities)
TypeError: %d format: a number is required, not NoneType
make: *** [/home/mauro/aospa/out/target/product/janice/pa_janice-ota-eng.mauro-ota-eng.mauro.zip] Errore 1

make otatools

Hey guys,
I try to port cwm to a new device with this tutorial but at the command
PHP:
make -j4 otatools
I become some errors
PHP:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3.1
CM_VERSION=
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-25-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JLS36I
OUT_DIR=/home/noel/bin/out
============================================
grep: /build/target/board/generic/recovery.fstab: Datei oder Verzeichnis nicht gefunden
No private recovery resources for TARGET_DEVICE generic
build/core/tasks/kernel.mk:87: **********************************************************
build/core/tasks/kernel.mk:88: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:89: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:90: * BoardConfig.mk file *
build/core/tasks/kernel.mk:91: **********************************************************
Can't open build/target/board/generic/arch/arm/configs/: Datei oder Verzeichnis nicht gefunden at -e line 1.
Can't open build/target/board/generic/arch/arm/configs/: Datei oder Verzeichnis nicht gefunden at -e line 1.
host C: minigzip <= external/zlib/src/test/minigzip.c
host C: libz <= external/zlib/src/adler32.c
host C: libz <= external/zlib/src/compress.c
host C: libz <= external/zlib/src/crc32.c
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/src/compress.o] Fehler 1
make: *** Auf noch nicht beendete Prozesse wird gewartet …
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/src/adler32.o] Fehler 1
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/EXECUTABLES/minigzip_intermediates/src/test/minigzip.o] Fehler 1
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/src/crc32.o] Fehler 1
and I haven't any idea what I have to do.
Wheather I type
PHP:
build/tools/device/mkvendor.sh lge h525n ~/boot.img
it says
PHP:
unpackbootimg not found. Is your android build environment set up and have the host tools been built?
Can you help me?
LG Noel

Help build CM12.1 for SM-G350E

I successfully initialized CM12.1 git, setted up device folder, but when I type "brunch higgs2g", I got a lot of errors:
Code:
[email protected]:~/Desktop/cm12.1$ brunch higgs2g
including vendor/cm/vendorsetup.sh
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
Trying dependencies-only mode on a non-existing device tree?
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20160519-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
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-16-generic-i686-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=LMY49J
OUT_DIR=/home/hicham03/Desktop/cm12.1/out
============================================
make: Entering directory '/home/hicham03/Desktop/cm12.1'
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20160519-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
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-16-generic-i686-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=LMY49J
OUT_DIR=/home/hicham03/Desktop/cm12.1/out
============================================
build/core/binary.mk:745: target '/home/hicham03/Desktop/cm12.1/out/target/product/higgs2g/obj/STATIC_LIBRARIES/libc_bionic_intermediates/arch-arm/bionic/memcmp.o' given more than once in the same rule
"ebtables is disabled on this build"
find: `dummy': No such file or directory
find: `../../../../../../external/hamcrest/src': No such file or directory
find: `../../../../../../external/junit/src/org': No such file or directory
find: `../../../../../../external/hamcrest/src': No such file or directory
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
No private recovery resources for TARGET_DEVICE higgs2g
build/core/tasks/kernel.mk:333: warning: overriding recipe for target '/home/hicham03/Desktop/cm12.1/out/target/product/higgs2g/kernel'
build/core/Makefile:46: warning: ignoring old recipe for target '/home/hicham03/Desktop/cm12.1/out/target/product/higgs2g/kernel'
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: libmincrypt <= system/core/libmincrypt/dsa_sig.c
/bin/bash: prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/x86_64-linux-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/x86_64-linux-gcc: cannot execute binary file: Exec format error
build/core/binary.mk:699: recipe for target '/home/hicham03/Desktop/cm12.1/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o' failed
make: *** [/home/hicham03/Desktop/cm12.1/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 126
make: *** Waiting for unfinished jobs....
build/core/binary.mk:699: recipe for target '/home/hicham03/Desktop/cm12.1/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/dsa_sig.o' failed
make: *** [/home/hicham03/Desktop/cm12.1/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/dsa_sig.o] Error 126
make: Leaving directory '/home/hicham03/Desktop/cm12.1'
#### make failed to build some targets (04:03 (mm:ss)) ####
My PC specs are: HP Compaq 6000 Pro SFF (an old PC!), Intel Pentium Dual-Core 2.8GHz, 2GB RAM, Ubuntu 15.10 i686 OS (I can update to 64bit, but I have only 2GB RAM)
Anyone knows what I am doing wrong here?
u have 64 bit linux system ?
Dreamstar said:
u have 64 bit linux system ?
Click to expand...
Click to collapse
No, 32bit Linux system. 'Cause I tried to install Ubuntu x64, but always lags and crashed (2GB RAM only)
install ubuntu 64 bit with 2GB swap partition
Dreamstar said:
install ubuntu 64 bit with 2GB swap partition
Click to expand...
Click to collapse
OK, thanks for your reply

Categories

Resources