Please Refer the below link first to know what procedure i have followed.
http://forum.xda-developers.com/showthread.php?t=1479493
After running make command to make a ported zip file, got this error. Please tell me what about the error is and how can i fix that.
Code:
cp /home/jayasimha/thepatcher/miui/system/framework/framework-miui-res.apk .build/ZIP/system/framework/framework-miui-res.apk
build .build/framework-res.apk...
--------------------------------------------
cp -r framework-res .build
/home/jayasimha/thepatcher/tools/apktool b .build/framework-res .build/framework-res.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'wifi_available' has no default translation in /home/jayasimha/thepatcher/i9100G/.build/framework-res/res; found: ms
aapt: warning: string 'wifi_available_detailed' has no default translation in /home/jayasimha/thepatcher/i9100G/.build/framework-res/res; found: ms
I: Building apk file...
cp apks-unsinged to zip dirs
cp .build/framework-res.apk .build/ZIP/system/framework/framework-res.apk
build .build/MIUISystemUI.apk...
--------------------------------------------
cp -r SystemUI .build
/home/jayasimha/thepatcher/tools/apktool b .build/SystemUI .build/MIUISystemUI.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
res/drawable-hdpi/status_bar_background.png:0: error: Resource entry status_bar_background is already defined.
res/drawable-hdpi/status_bar_background.9.png:0: Originally defined here.
/home/jayasimha/thepatcher/i9100G/.build/SystemUI/res/values/styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Holo.Light.Panel'.
/home/jayasimha/thepatcher/i9100G/.build/SystemUI/res/values/styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Holo.Light.Panel'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL2651416676899838457.tmp, -I, /home/jayasimha/apktool/framework/1.apk, -S, /home/jayasimha/thepatcher/i9100G/.build/SystemUI/res, -M, /home/jayasimha/thepatcher/i9100G/.build/SystemUI/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL2651416676899838457.tmp, -I, /home/jayasimha/apktool/framework/1.apk, -S, /home/jayasimha/thepatcher/i9100G/.build/SystemUI/res, -M, /home/jayasimha/thepatcher/i9100G/.build/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
make: *** [.build/MIUISystemUI.apk] Error 1
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
Hey guys I am kind of a noon when it comes to rooting and debugging can some help me fix droidsheep
Here is the debugging code:
DEBUG SESSION START! Mon Jun 08 18:21:13 PDT 2015
Droidsheep path: /data/data/de.trier.infsec.koch.droidsheep/files/droidsheep
ARPSPoof Path: /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof
Testing SU
BusyBox v1.23.2 (2015-03-30 10:55:10 ICT) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2012.
Licensed under GPLv2. See source distribution for detailed
copyright notices.
Usage: busybox [function [arguments]...]
or: busybox --list[-full]
or: busybox --install [-s] [DIR]
or: function [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as.
Currently defined functions:
[, [[, ash, awk, base64, basename, blkid, bunzip2, bzcat, bzip2, cal,
cat, chat, chattr, chgrp, chmod, chown, chroot, chrt, cksum, comm, cp,
crond, crontab, cut, date, dd, depmod, devmem, df, diff, dirname,
dmesg, dnsd, dnsdomainname, dos2unix, du, echo, egrep, env, ether-wake,
expand, expr, fakeidentd, fatattr, fbset, fdflush, fdformat, fgrep,
find, fold, free, freeramdisk, fsck, fstrim, fsync, ftpd, ftpget,
ftpput, fuser, getopt, grep, groups, gunzip, gzip, hd, head, hexdump,
hostid, hostname, httpd, hwclock, id, ifconfig, ifenslave, inotifyd,
insmod, install, ionice, iostat, ip, ipaddr, ipcalc, iplink, iproute,
iprule, iptunnel, kill, killall, killall5, last, less, ln, logname,
losetup, ls, lsattr, lsmod, lsof, lsusb, lzop, lzopcat, md5sum,
microcom, mkdir, mkdosfs, mke2fs, mkfifo, mkfs.ext2, mkfs.vfat, mknod,
mkswap, modinfo, modprobe, more, mount, mountpoint, mt, mv, nameif,
nanddump, nandwrite, nc, netstat, nice, nmeter, nohup, nslookup, ntpd,
od, patch, pgrep, pidof, ping, pkill, pmap, powertop, printenv, printf,
ps, pscan, pwd, rdate, rdev, readahead, readlink, realpath, renice,
rev, rfkill, rm, rmdir, rmmod, route, run-parts, script, scriptreplay,
sed, seq, setsid, sh, sha1sum, sha256sum, sha3sum, sha512sum, shuf,
sleep, smemcap, sort, split, start-stop-daemon, stat, strings, stty,
sum, swapoff, swapon, sync, sysctl, tac, tail, tar, tee, telnet,
telnetd, test, tftp, tftpd, time, timeout, top, touch, tr, traceroute,
tty, ttysize, tunctl, umount, uname, uncompress, unexpand, uniq,
unix2dos, unlink, unlzop, unzip, uptime, users, usleep, uudecode,
uuencode, vconfig, vi, watch, wc, wget, which, who, whoami, whois,
xargs, zcat
-rwxrwxrwx app_89 app_89 116992 2015-06-08 18:21 droidsheep
-rwxrwxrwx app_89 app_89 32256 2015-06-08 18:21 arpspoof
executing command: chmod 777 /data/data/de.trier.infsec.koch.droidsheep/files/droidsheep
executing command: chmod 777 /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof
executing command: killall droidsheep
executing command: chmod 777 /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof
executing command: chmod 777 /data/data/de.trier.infsec.koch.droidsheep/files/droidsheep
Error with command: chmod 777 /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof: killall: droidsheep: no process killed
executing command: echo 1 > /proc/sys/net/ipv4/ip_forward
executing command: iptables -F
executing command: /data/data/de.trier.infsec.koch.droidsheep/files/droidsheep
executing command: iptables -t nat -F
executing command: iptables -t nat -I POSTROUTING -s 0/0 -j MASQUERADE
executing command: iptables -P FORWARD ACCEPT
executing command: /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof -s 1 -i wlan0 192.168.1.1
command: /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof -s 1 -i wlan0 192.168.1.1line: e0:b9:a5:a:82:3e ff:ff:ff:ff:ff:ff 0806 42: arp reply 192.168.1.1 is-at e0:b9:a5:a:82:3e
command: /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof -s 1 -i wlan0 192.168.1.1line: e0:b9:a5:a:82:3e ff:ff:ff:ff:ff:ff 0806 42: arp reply 192.168.1.1 is-at e0:b9:a5:a:82:3e
command: /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof -s 1 -i wlan0 192.168.1.1line: e0:b9:a5:a:82:3e ff:ff:ff:ff:ff:ff 0806 42: arp reply 192.168.1.1 is-at e0:b9:a5:a:82:3e
command: /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof -s 1 -i wlan0 192.168.1.1line: e0:b9:a5:a:82:3e ff:ff:ff:ff:ff:ff 0806 42: arp reply 192.168.1.1 is-at e0:b9:a5:a:82:3e
command: /data/data/de.trier.infsec.koch.droidsheep/files/arpspoof -s 1 -i wlan0 192.168.1.1line: e0:b9:a5:a:82:3e ff:ff:ff:ff:ff:ff 0806 42: arp reply 192.168.1.1 is-at e0:b9:a5:a:82:3e
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