{All 2011}[GUIDE][DEV] How to build CyanogenMod 11.0

Search This thread

plethorahil

Senior Member
Jun 12, 2013
244
200
My own build

I also have a 1Mbps ADSL line, sources took me about a day-and-a-half to download the first time. After that, the repo sync takes 5 minutes each time. With a little patience, you can be the master of your own ROM :)

I have two laptops one 32 bit old AMD dual core and battery is failed if i disconnect the charging cable then laptop turns off and slow 1 GB RAM only.... other one is in my signature ...with 64 bit 4 GB RAM 1.8 GHz quad core i5 3 rd gen and fast .and trustable windows 8.1...

i am confused b/w them.... :confused:

What if anything goes wrong (means internet disconnects suddenly during downloading) then can i resume download like torrent ?
and 8.1 is there in 2nd laptop(if i choose it ) so everytime i have to use UBUNTU with dual boot ?

Thanks for reply
 

Langes

Senior Member
Sep 23, 2012
1,713
2,731
51
Sweet Spot
I have two laptops one 32 bit old AMD dual core and battery is failed if i disconnect the charging cable then laptop turns off and slow 1 GB RAM only.... other one is in my signature ...with 64 bit 4 GB RAM 1.8 GHz quad core i5 3 rd gen and fast .and trustable windows 8.1...

i am confused b/w them.... :confused:

What if anything goes wrong (means internet disconnects suddenly during downloading) then can i resume download like torrent ?
and 8.1 is there in 2nd laptop(if i choose it ) so everytime i have to use UBUNTU with dual boot ?

Thanks for reply

The repos download separately with multiple threads, if downloading gets interrupted it will resume with a little bit of lost data, depending on the current file sizes (some are a few hundred MB, but most are not so big). If you do not restart and the Terminal stays open, you may even resume where you left off after network interruptions.
I built with Window8 on a i7-950 with 6GB RAM using Ubuntu 64bit on a VirtualBox virtual machine in the past. Building took 90-120 min

Now I'm dualbooting and builds are 30-40 min if ccache is fresh :)
 
  • Like
Reactions: plethorahil

leandro_colocdk

Senior Member
Dec 2, 2012
65
35
la plata , buenos aires
32 o 64 bit

hi mike, hello all I create a rom for mini pro. install ubuntu 13.04 32 and 64 bits.
both install the android sdk and other things but I can not, I get error gets cm11.
is there any other more specific guidance? there any video? to guide me better ..
I know it's annoying but I would like to learn and help contribute as needed .. greetings
 
Last edited:

cajhin

Senior Member
Jan 5, 2006
208
176
hi mike, hello all I create a rom for mini pro. install ubuntu 13.04 32 and 64 bits.
both install the android sdk and other things but I can not, I get error gets cm11.
is there any other more specific guidance? there any video? to guide me better ..
I know it's annoying but I would like to learn and help contribute as needed .. greetings

Sorry, I still don't understand. Your core problem is " I can not, I get error gets cm11."
Did you follow Mike's instructions, exactly?
 

leandro_colocdk

Senior Member
Dec 2, 2012
65
35
la plata , buenos aires
32 o 64 bit

excuse me realize q queise follow the steps and run the commands in the page translated .. and it gives me error.

so now when I get the work implements commands untranslated page

preferred ubuntu is 32 bit or 64?.
 

Jawor245

Senior Member
Dec 7, 2012
232
269
Oleśnica
Someone can help me with this error? I'm trying to update unaccepted commits.
Code:
jawor@chimera:~/android/system$ curl https://raw.github.com/LegacyXperia/local_manifests/cm-11.0/updates.sh > ~/android/system/updates.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   796  100   796    0     0     50      0  0:00:15  0:00:15 --:--:--   246
jawor@chimera:~/android/system$ chmod a+x updates.sh
jawor@chimera:~/android/system$ ./updates.sh
Abandoning branch: auto
Abandoned in 1 project(s):
  frameworks/base

Applying change number 54582 ...
--> Subject:       "camera: Fix preview on SEMC msm7x30 devices"
--> Project path:  frameworks/av
--> Change number: 54582 (Patch Set 1)
--> Author:        Michael Bestas <mikeioannina@gmail.com> 2013-08-21 02:14:28
--> Committer:     Michael Bestas <mikeioannina@gmail.com> 2013-11-25 18:30:50
From git://github.com/CyanogenMod/android_frameworks_av
 * branch            refs/changes/82/54582/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

Command that failed:
cd frameworks/av && git cherry-pick FETCH_HEAD
jawor@chimera:~/android/system$
 

neurer

Member
Mar 10, 2011
34
20
PHP:
devel@ubuntu:~/android/system$ ./updates.sh
Abandoning branch: auto
Abandoned in 1 project(s):
  frameworks/av

Applying change number 54582 ...
--> Subject:       "camera: Fix preview on SEMC msm7x30 devices"
--> Project path:  frameworks/av
--> Change number: 54582 (Patch Set 1)
--> Author:        Michael Bestas <removed@gmail.com> 2013-08-21 02:14:28
--> Committer:     Michael Bestas <removed@gmail.com> 2013-11-25 18:30:50
From git://github.com/CyanogenMod/android_frameworks_av
 * branch            refs/changes/82/54582/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

Command that failed:
cd frameworks/av && git cherry-pick FETCH_HEAD

Getting a similar error as "Jawor245" already reported. On a clean 64bit 13.10 VM for me. Suggested fix by "Langes" doesn't seem to do the trick. Any advise would be appreciated.
 
Last edited:

leandro_colocdk

Senior Member
Dec 2, 2012
65
35
la plata , buenos aires
jeje

Could you show us message from terminal ?

HARED_LIBRARIES/libmedia_intermediates/import_includes
Import includes file: /home/leangra/android/system/out/target/product/mango/obj/SHARED_LIBRARIES/libRS_intermediates/import_includes
target StaticLib: libLLVMLinker (/home/leangra/android/system/out/target/product/mango/obj/STATIC_LIBRARIES/libLLVMLinker_intermediates/libLLVMLinker.a)
target StaticLib: libLLVMipo (/home/leangra/android/system/out/target/product/mango/obj/STATIC_LIBRARIES/libLLVMipo_intermediates/libLLVMipo.a)
target StaticLib: libLLVMIRReader (/home/leangra/android/system/out/target/product/mango/obj/STATIC_LIBRARIES/libLLVMIRReader_intermediates/libLLVMIRReader.a)
target StaticLib: libLLVMBitWriter (/home/leangra/android/system/out/target/product/mango/obj/STATIC_LIBRARIES/libLLVMBitWriter_intermediates/libLLVMBitWriter.a)
target thumb C++: libLLVMBitReader <= external/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/A15SDOptimizer.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
external/llvm/lib/Target/ARM/ARMAsmPrinter.cpp: In member function 'virtual bool llvm::ARMAsmPrinter::printAsmOperand(const llvm::MachineInstr*, unsigned int, unsigned int, const char*, llvm::raw_ostream&)':
external/llvm/lib/Target/ARM/ARMAsmPrinter.cpp:502:7: warning: 'RC' may be used uninitialized in this function [-Wmaybe-uninitialized]
aapt: warning: string 'permdesc_cancelNotifications' has no default translation in frameworks/base/core/res/res; found: ca cs da de el es fi fr hu it ja nl pl pt pt_PT ru sk sv zh_CN zh_TW
aapt: warning: string 'permlab_cancelNotifications' has no default translation in frameworks/base/core/res/res; found: ca cs da de el es fi fr hu it ja nl pl pt pt_PT ru sk sv zh_CN zh_TW
aapt: warning: string 'policydesc_enforceMmac' has no default translation in frameworks/base/core/res/res; found: de el es it ru zh_TW
aapt: warning: string 'policydesc_enforceSelinux' has no default translation in frameworks/base/core/res/res; found: de el es it ru zh_TW
aapt: warning: string 'policylab_enforceMmac' has no default translation in frameworks/base/core/res/res; found: de el es it ru zh_TW
aapt: warning: string 'policylab_enforceSelinux' has no default translation in frameworks/base/core/res/res; found: de el es it ru zh_TW
device/semc/msm7x30-common/overlay/frameworks/base/core/res/res/values/config.xml:27: error: Resource at config_screenOnAnimation appears in overlay but not in the base package; use <add-resource> to add.
device/semc/mango/overlay/frameworks/base/core/res/res/values/config.xml:35: error: Resource at config_symKeyShowsImePicker appears in overlay but not in the base package; use <add-resource> to add.
make: *** [/home/leangra/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Se borra el archivo «/home/leangra/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk»
make: *** Se espera a que terminen otras tareas....
leangra@leangra-System-Product-Name:~/android/system$

brunch handle

was running the last command

---------- Post added 4th December 2013 at 12:18 AM ---------- Previous post was 3rd December 2013 at 11:26 PM ----------

leangra@leangra-System-Product-Name:~/android/system$ breakfast mango
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
CM_VERSION=11-20131204-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.11.0-13-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KRT16S
OUT_DIR=/home/leangra/android/system/out
============================================

leangra@leangra-System-Product-Name:~/android/system$ brunch mango
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
CM_VERSION=11-20131204-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.11.0-13-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KRT16S
OUT_DIR=/home/leangra/android/system/out
============================================

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
CM_VERSION=11-20131204-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.11.0-13-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KRT16S
OUT_DIR=/home/leangra/android/system/out
============================================
find: «src»: No existe el archivo o el directorio
frameworks/uiautomator/Android.mk:82: atención: se imponen comandos para el objetivo «/home/leangra/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-last-timestamp»
frameworks/testing/uiautomator/library/Android.mk:82: atención: se ignoran las instrucciones viejas para el objetivo «/home/leangra/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-last-timestamp»
frameworks/uiautomator/Android.mk:99: atención: se imponen comandos para el objetivo «/home/leangra/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-current-timestamp»
frameworks/testing/uiautomator/library/Android.mk:99: atención: se ignoran las instrucciones viejas para el objetivo «/home/leangra/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-current-timestamp»
frameworks/uiautomator/Android.mk:111: atención: se imponen comandos para el objetivo «update-uiautomator-api»
frameworks/testing/uiautomator/library/Android.mk:111: atención: se ignoran las instrucciones viejas para el objetivo «update-uiautomator-api»
build/core/copy_headers.mk:15: atención: se imponen comandos para el objetivo «/home/leangra/android/system/out/target/product/mango/obj/include/qcom/display-legacy/copybit.h»
build/core/copy_headers.mk:15: atención: se ignoran las instrucciones viejas para el objetivo «/home/leangra/android/system/out/target/product/mango/obj/include/qcom/display-legacy/copybit.h»
build/core/copy_headers.mk:15: atención: se imponen comandos para el objetivo «/home/leangra/android/system/out/target/product/mango/obj/include/qcom/display-legacy/copybit_priv.h»
build/core/copy_headers.mk:15: atención: se ignoran las instrucciones viejas para el objetivo «/home/leangra/android/system/out/target/product/mango/obj/include/qcom/display-legacy/copybit_priv.h»
build/core/Makefile:44: atención: se imponen comandos para el objetivo «/home/leangra/android/system/out/target/product/mango/system/lib/libril.so»
build/core/base_rules.mk:529: atención: se ignoran las instrucciones viejas para el objetivo «/home/leangra/android/system/out/target/product/mango/system/lib/libril.so»
No private recovery resources for TARGET_DEVICE mango
make -C kernel/semc/msm7x30 O=/home/leangra/android/system/out/target/product/mango/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/leangra/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= nAa_mango_defconfig
make[1]: se ingresa al directorio «/home/leangra/android/system/kernel/semc/msm7x30»
host Executable: clang (/home/leangra/android/system/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang)
target thumb C++: libminivold <= system/vold/VolumeManager.cpp
target thumb C++: libminivold <= system/vold/CommandListener.cpp
GEN /home/leangra/android/system/out/target/product/mango/obj/KERNEL_OBJ/Makefile
target thumb C++: libminivold <= system/vold/NetlinkHandler.cpp
target thumb C++: libminivold <= system/vold/Volume.cpp
target thumb C++: libminivold <= system/vold/DirectVolume.cpp
target thumb C++: libminivold <= system/vold/main.cpp
target thumb C++: libvold <= system/vold/VolumeManager.cpp
target thumb C++: libvold <= system/vold/CommandListener.cpp
target thumb C++: libvold <= system/vold/NetlinkHandler.cpp
target thumb C++: libvold <= system/vold/Volume.cpp
target thumb C++: libvold <= system/vold/DirectVolume.cpp
target thumb C++: libvold <= system/vold/main.cpp
target thumb C: recovery <= bootable/recovery/recovery.c
target thumb C: recovery <= bootable/recovery/roots.c
target thumb C: recovery <= bootable/recovery/ui.c
target thumb C: recovery <= bootable/recovery/extendedcommands.c
bootable/recovery/ui.c: In function 'ui_rainbow_mode':
bootable/recovery/ui.c:1104:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
bootable/recovery/extendedcommands.c: In function 'read_last_install_path':
bootable/recovery/extendedcommands.c:124:9: warning: function returns address of local variable [enabled by default]
bootable/recovery/extendedcommands.c: In function 'show_install_update_menu':
bootable/recovery/extendedcommands.c:224:28: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
bootable/recovery/extendedcommands.c: In function 'show_partition_menu':
bootable/recovery/extendedcommands.c:956:17: warning: implicit declaration of function 'format_sdcard' [-Wimplicit-function-declaration]
bootable/recovery/extendedcommands.c: At top level:
bootable/recovery/extendedcommands.c:1235:6: warning: conflicting types for 'format_sdcard' [enabled by default]
bootable/recovery/extendedcommands.c:956:17: note: previous implicit declaration of 'format_sdcard' was here
bootable/recovery/extendedcommands.c: In function 'format_sdcard':
bootable/recovery/extendedcommands.c:1245:5: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
bootable/recovery/extendedcommands.c:1259:5: warning: passing argument 1 of 'get_menu_selection' from incompatible pointer type [enabled by default]
In file included from bootable/recovery/extendedcommands.c:32:0:
bootable/recovery/recovery_ui.h:106:1: note: expected 'const char **' but argument is of type 'char **'
target thumb C: libvoldclient <= bootable/recovery/voldclient/commands.c
target thumb C: libvoldclient <= bootable/recovery/voldclient/dispatcher.c
target thumb C: libvoldclient <= bootable/recovery/voldclient/event_loop.c
target Export Resources: framework-res (/home/leangra/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk)
#
# configuration written to .config
#
make[1]: se sale del directorio «/home/leangra/android/system/kernel/semc/msm7x30»
Copying: /home/leangra/android/system/out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/leangra/android/system/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/leangra/android/system/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/emma_out/lib/classes-jarjar.jar
target Static Jar: android-support-v4-eclair (/home/leangra/android/system/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-eclair_intermediates/javalib.jar)
Export includes file: frameworks/native/libs/gui/Android.mk -- /home/leangra/android/system/out/target/product/mango/obj/SHARED_LIBRARIES/libgui_intermediates/export_includes
target thumb C++: libgui <= frameworks/native/libs/gui/BufferQueue.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/ConsumerBase.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/DisplayEventReceiver.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/GLConsumer.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/ISurfaceComposer.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/Surface.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/SurfaceControl.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/SurfaceComposerClient.cpp
Import includes file: /home/leangra/android/system/out/target/product/mango/obj/SHARED_LIBRARIES/libcamera_client_intermediates/import_includes
Import includes file: /home/leangra/android/system/out/target/product/mango/obj/SHARED_LIBRARIES/libmedia_intermediates/import_includes
Import includes file: /home/leangra/android/system/out/target/product/mango/obj/SHARED_LIBRARIES/libRS_intermediates/import_includes
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/ARMMCInstLower.cpp
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/ARMRegisterInfo.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/ARMSubtarget.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/ARMTargetMachine.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/MLxExpansionPass.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/Thumb1InstrInfo.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/Thumb2InstrInfo.cpp
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/Thumb2RegisterInfo.cpp
target thumb C++: libLLVMARMCodeGen <= external/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp
target thumb C++: libLLVMARMAsmParser <= external/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
target thumb C++: libLLVMARMAsmPrinter <= external/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
target thumb C++: libLLVMARMInfo <= external/llvm/lib/Target/ARM/TargetInfo/ARMTargetInfo.cpp
target thumb C++: libLLVMARMDesc <= external/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
target thumb C++: libLLVMARMDesc <= external/llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
target thumb C++: libLLVMARMDesc <= external/llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
target thumb C++: libLLVMARMDesc <= external/llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
target thumb C++: libLLVMARMDesc <= external/llvm/lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
aapt: warning: string 'permdesc_cancelNotifications' has no default translation in frameworks/base/core/res/res; found: ca cs da de el es fi fr hu it ja nl pl pt pt_PT ru sk sv zh_CN zh_TW
aapt: warning: string 'permlab_cancelNotifications' has no default translation in frameworks/base/core/res/res; found: ca cs da de el es fi fr hu it ja nl pl pt pt_PT ru sk sv zh_CN zh_TW
aapt: warning: string 'policydesc_enforceMmac' has no default translation in frameworks/base/core/res/res; found: de el es it ru zh_TW
aapt: warning: string 'policydesc_enforceSelinux' has no default translation in frameworks/base/core/res/res; found: de el es it ru zh_TW
aapt: warning: string 'policylab_enforceMmac' has no default translation in frameworks/base/core/res/res; found: de el es it ru zh_TW
aapt: warning: string 'policylab_enforceSelinux' has no default translation in frameworks/base/core/res/res; found: de el es it ru zh_TW
device/semc/msm7x30-common/overlay/frameworks/base/core/res/res/values/config.xml:27: error: Resource at config_screenOnAnimation appears in overlay but not in the base package; use <add-resource> to add.
device/semc/mango/overlay/frameworks/base/core/res/res/values/config.xml:35: error: Resource at config_symKeyShowsImePicker appears in overlay but not in the base package; use <add-resource> to add.
make: *** [/home/leangra/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Se borra el archivo «/home/leangra/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk»
make: *** Se espera a que terminen otras tareas....
leangra@leangra-System-Product-Name:~/android/system$
 

JimieTheFox

Senior Member
Aug 11, 2013
70
31
I have the exact same error ! Got it just now, i synced the repo and tried to build for the second time ( first time was a complete success ) and got that error :confused:

Code:
Import includes file: /home/jimiethefox/android/system/out/target/product/coconut/obj/SHARED_LIBRARIES/libRSDriver_intermediates/import_includes
aapt: warning: string 'permdesc_cancelNotifications' has no default translation in frameworks/base/core/res/res; found: ca cs da de el es fi fr hu it ja nl pl pt pt_PT ru sk sv zh_CN zh_TW
aapt: warning: string 'permlab_cancelNotifications' has no default translation in frameworks/base/core/res/res; found: ca cs da de el es fi fr hu it ja nl pl pt pt_PT ru sk sv zh_CN zh_TW
aapt: warning: string 'policydesc_enforceMmac' has no default translation in frameworks/base/core/res/res; found: de el es it ru zh_TW
aapt: warning: string 'policydesc_enforceSelinux' has no default translation in frameworks/base/core/res/res; found: de el es it ru zh_TW
aapt: warning: string 'policylab_enforceMmac' has no default translation in frameworks/base/core/res/res; found: de el es it ru zh_TW
aapt: warning: string 'policylab_enforceSelinux' has no default translation in frameworks/base/core/res/res; found: de el es it ru zh_TW
Import includes file: /home/jimiethefox/android/system/out/target/product/coconut/obj/SHARED_LIBRARIES/libRSCpuRef_intermediates/import_includes
Import includes file: /home/jimiethefox/android/system/out/target/product/coconut/obj/SHARED_LIBRARIES/libSR_AudioIn_intermediates/import_includes
Import includes file: /home/jimiethefox/android/system/out/target/product/coconut/obj/STATIC_LIBRARIES/libESR_Portable_intermediates/import_includes
Import includes file: /home/jimiethefox/android/system/out/target/product/coconut/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/import_includes
device/semc/msm7x30-common/overlay/frameworks/base/core/res/res/values/config.xml:27: error: Resource at config_screenOnAnimation appears in overlay but not in the base package; use <add-resource> to add.
Import includes file: /home/jimiethefox/android/system/out/target/product/coconut/obj/SHARED_LIBRARIES/libinputservice_intermediates/import_includes
make: *** [/home/jimiethefox/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `/home/jimiethefox/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: *** Waiting for unfinished jobs....
 

Top Liked Posts

  • There are no posts matching your filters.
  • 78
    This thread is intended for devs & advanced users only.

    Here you can learn how to build CyanogenMod 11.0 for any of the 2011 xperia devices.
    I will use 'smultron' as an example device, you should replace the codename with the device you want to build.


    For the first time you try to build CM11.0
    Follow this guide up to "Initialize the CyanogenMod source repository" step (don't execute this step).
    http://wiki.cyanogenmod.org/w/Build_for_smultron

    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-11.0

    Get the required local manifest
    Code:
    mkdir -p ~/android/system/.repo/local_manifests
    curl https://raw.githubusercontent.com/LegacyXperia/local_manifests/cm-11.0/semc.xml > ~/android/system/.repo/local_manifests/semc.xml

    Download the source code
    Code:
    repo sync

    Setup the build environment
    Code:
    . build/envsetup.sh

    Download some commits from CyanogenMod gerrit which are not accepted yet
    Code:
    ln -s vendor/extra/updates.sh updates.sh
    ./updates.sh

    Get the prebuilts
    Code:
    cd ~/android/system/vendor/cm
    ./get-prebuilts

    Setup the build 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-11.0-DATE-UNOFFICIAL-LegacyXperia-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.githubusercontent.com/LegacyXperia/local_manifests/cm-11.0/semc.xml > ~/android/system/.repo/local_manifests/semc.xml
    repo sync

    Setup the build environment
    Code:
    . build/envsetup.sh

    Download some commits from CyanogenMod gerrit which are not accepted yet
    Code:
    ./updates.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-11.0-DATE-UNOFFICIAL-LegacyXperia-smultron.zip


    Steps to build only the kernel:
    Sync the repositories.
    Code:
    cd ~/android/system/
    repo sync

    Setup the environment
    Code:
    . build/envsetup.sh

    Download some commits from CyanogenMod gerrit which are not accepted yet
    Code:
    ./updates.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

    Some suggestions for faster builds:
    * Enable ccache
    * Use the fastest hdd on your pc to store the source, build output & ccache
    * You can also buy an ssd, if it's not large enough to hold everything, just store the build output & ccache
    * mount /tmp on tmpfs (RAM).

    The above have greatly improved my dirty build times with removed /out/target from 1h30m to 30m.
    Mounting /tmp on tmpfs made the biggest improvement for me.


    Credits: Thanks to hnl_dk for the initial CM9 & CM10 guides.
    15
    You overtaken me. I will reset the repo now and do a new build.

    If it works I think it's time to roll some builds... it's been 2 months without update
    13
    I have pushed some experimental changes:
    * Enabled real stereo recording (might need some adjustments)
    * Enabled in-call noise suppression (needs http://review.cyanogenmod.org/63399)
    * Added initial support for zeus devices in kernel. Should not affect mogami devices, but please test if I messed up anything
    * Enabled some LPA properties to test if there are any improvements
    * Enabled SIM hotswap (should fix the "New SIM inserted" popup on boot)
    * Enabled support for wiimote in kernel (CM just merged support for it in userspace, also needs this http://review.cyanogenmod.org/63389)
    * Removed some unused SEMC audio code from kernel

    I will push some more changes for frameworks/av in cm gerrit now and update the cherry-pick script so you don't miss anything.
    I'll edit this message when I'm done with the changes.
    EDIT: Done. Don't forget to run updates.sh before starting the build (https://github.com/LegacyXperia/local_manifests/blob/cm-11.0/updates.sh)
    12
    New Test

    Hi Guys,

    First off I would like to give you all a big Thank You :highfive: for testing the ion kernel on your devices. The comunity response has been really amazing :good:

    Mike has made some changes to the kernel that should sort out the graphics bug (works on my Ray)
    I have once again made kernels for all the 2011 Xperias currently enjoying KK support.

    If you don't mind, please test again.

    This time all should work, so please post your dmesg and device if you do still have the graphics glitch.

    If you can get into recovery with this kernel, your device is ready for the ion :D

    http://pacman.basketbuild.com/index.php?dir=main/devs/langes/iontest_2/
    (all uploads should be done in the next 30 minutes)