Can anyone help me on building Resurrection Remix on clover? - Xiaomi Mi Pad 4 Questions & Answers

I use the following roomservice, alongside the platform manifest for resurrection remix:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="lineageos"
fetch="https://github.com/LineageOS/"/>
<remote name="sdm660"
fetch="https://github.com/xiaomi-sdm660/"/>
<!-- XIAOMI MANIFEST -->
<!-- kernel -->
<project name="ResurrectionRemix-Devices/kernel_xiaomi_sdm660" path="kernel/xiaomi/sdm660" remote="github" revision="Q"/>
<project name="android_kernel_xiaomi_clover" path="kernel/xiaomi/clover" remote="sdm660" revision="kernel.lnx.4.4.r38-rel-wifi"/>
<!-- clover -->
<project name="android_device_xiaomi_clover" path="device/xiaomi/clover" remote="sdm660" revision="lineage-17.1"/>
<!-- Common-->
<project name="ResurrectionRemix-Devices/device_xiaomi_sdm660-common" path="device/xiaomi/sdm660-common" remote="github" revision="Q"/>
<!-- vendor -->
<project name="android_vendor_xiaomi_clover" path="vendor/xiaomi/clover" remote="sdm660" revision="master"/>
<project name="ResurrectionRemix-Devices/vendor_xiaomi_sdm660-common" path="vendor/xiaomi/sdm660-common" remote="github" revision="Q" />
<project name="android_vendor_xiaomi_MiuiCamera" path="vendor/xiaomi/MiuiCamera" remote="sdm660" revision="master" />
</manifest>
I cannot find specific repositories for Resurrection Remix and I have to use the ones provided by the sdm660 repo. Because of that, building clover gives me this error:
Code:
make[1]: Entering directory '/out/target/product/clover/obj/KERNEL_OBJ'
//android/buildRom/RR/kernel/xiaomi/sdm660/Makefile:709: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
make[1]: clang: Command not found
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
//android/buildRom/RR/kernel/xiaomi/sdm660/Makefile:709: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
make[1]: clang: Command not found
CHK include/config/kernel.release
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
Using //android/buildRom/RR/kernel/xiaomi/sdm660 as source for kernel
CC scripts/mod/empty.o
CC scripts/mod/devicetable-offsets.s
/bin/sh: clang: command not found
make[3]: *** [//android/buildRom/RR/kernel/xiaomi/sdm660/scripts/Makefile.build:158: scripts/mod/devicetable-offsets.s] Error 127
make[3]: *** Waiting for unfinished jobs....
/bin/sh: clang: command not found
make[3]: *** [//android/buildRom/RR/kernel/xiaomi/sdm660/scripts/Makefile.build:283: scripts/mod/empty.o] Error 127
make[2]: *** [//android/buildRom/RR/kernel/xiaomi/sdm660/scripts/Makefile.build:489: scripts/mod] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [//android/buildRom/RR/kernel/xiaomi/sdm660/Makefile:555: scripts] Error 2
make[1]: Leaving directory '/out/target/product/clover/obj/KERNEL_OBJ'
make: *** [Makefile:152: sub-make] Error 2
make: Leaving directory '//android/buildRom/RR/kernel/xiaomi/sdm660'
21:14:32 ninja failed with: exit status 1
However, if I do a mmm kernel/xiaomi/sdm660 or a mmm kernel/xiaomi/clover, it builds everything ok.
Is there anything I can do to build RR on clover?

For anyone wondering. I think I have a bunch mix of revisions, and that affects the prebuilt/clang/host/linux-x86. My latest clang revision there is clang-r353983d.
So I went to device/xiaomi/sdm660-common/BoardConfigCommon.mk and changed TARGET_KERNEL_CLANG_VERSION to that revision. At least the kernel is compiling.

Related

[Q] Compiling CM kernel error

Im trying to compile a CM kernel for my device using this guide:
http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source
I run into this error:
[email protected]:~/android/kernel/cm-kernel$ make ARCH=arm CROSS_COMPILE=$CCOMPILER -j`grep 'processor' /proc/cpuinfo | wc -l`
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/empty.o
cc1: error: unrecognized command line option ‘-mlittle-endian’
cc1: error: unrecognized command line option ‘-mapcs’
cc1: error: unrecognized command line option ‘-mno-sched-prolog’
scripts/mod/empty.c:1:0: error: unknown ABI (apcs-gnu) for -mabi= switch
scripts/mod/empty.c:1:0: error: bad value (armv4t) for -march= switch
scripts/mod/empty.c:1:0: error: bad value (arm9tdmi) for -mtune= switch
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
[email protected]:~/android/kernel/cm-kernel$
I did have a look in the scripts/mod/empty.c file. Only line of txt in there is:
/* empty file to figure out endianness / word size */
my config file: http://www.mediafire.com/?5kq9m6vecl22rzx
Someone a idee how to fix this problem?

[ROM][GT-I9100][JB][4.1.1] CyanogenMod 10 | DEV THREAD

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.1 (JB), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
* Submitting bug reports on nightly builds is the leading
* cause of male impotence.
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
SOURCES
Click to expand...
Click to collapse
Device: https://github.com/CyanogenMod/android_device_samsung_i9100
Common: https://github.com/CyanogenMod/android_device_samsung_galaxys2-common
Kernel: https://github.com/CyanogenMod/android_kernel_samsung_smdk4210
CyanogenMod: http://github.com/CyanogenMod
HOWTO BUILD
Click to expand...
Click to collapse
http://teamhacksung.org/wiki/index.php/CyanogenMod10:How_to_build
DEAR KANGERS
Click to expand...
Click to collapse
If you're going to reuse our work, which we're doing for free, be fair and give proper credits.
This is the only payment we're really demanding and we deserve it to be mentioned because of the countless hours we've put into this project.
Open-Source doesn't meant Out-of-Respect!!!
USER THREAD & DOWNLOADS
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=29280423
HOW TO REPORT A BUG
Click to expand...
Click to collapse
To be clear, posts without detailed instructions on how to reproduce a problem and without attached logs will be ignored.
Always provide android (adb logcat) and kernel logs (adb shell dmesg).
If it's a RIL problem we would need a radio log (adb logcat -b radio), too.
When will the Team Hacksung repo be sent upstream to CMs repo?
hillbeast said:
When will the Team Hacksung repo be sent upstream to CMs repo?
Click to expand...
Click to collapse
When its ready.
thracemerin said:
When its ready.
Click to expand...
Click to collapse
I was more asking 'what state does the system need to be in before it is able to be included in the CM repo', not an ETA.
Thx for your post, a lot.
I had download the source code but, i'm not able to find
Code:
~/android/system/device/samsung/i9100.
In
Code:
~/android/system/device
i just have :
Code:
common generic google sample ti
I make something wrong?
Znuf said:
Thx for your post, a lot.
I had download the source code but, i'm not able to find
Code:
~/android/system/device/samsung/i9100.
In
Code:
~/android/system/device
i just have :
Code:
common generic google sample ti
I make something wrong?
Click to expand...
Click to collapse
Check your local_manifest.xml. Do you add it right?
hiepgia said:
Check your local_manifest.xml. Do you add it right?
Click to expand...
Click to collapse
i use this one.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="teamhacksung/buildscripts" path="buildscripts" remote="github" revision="jellybean">
<copyfile dest="build.sh" src="samsung/build.sh" />
</project>
</manifest>
Znuf said:
i use this one.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="teamhacksung/buildscripts" path="buildscripts" remote="github" revision="jellybean">
<copyfile dest="build.sh" src="samsung/build.sh" />
</project>
</manifest>
Click to expand...
Click to collapse
I added I9100 projects by hand
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="teamhacksung/buildscripts" path="buildscripts" remote="github" revision="jellybean">
<copyfile dest="build.sh" src="samsung/build.sh" />
</project>
<project name="teamhacksung/android_device_samsung_i9100" path="device/samsung/i9100" remote="github" revision="jellybean" />
<project name="teamhacksung/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="jellybean" />
<project name="teamhacksung/android_kernel_samsung_smdk4210" path="kernel/samsung/smdk4210" remote="github" revision="jellybean" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="ics" />
</manifest>
I dont know if it's enought since I'm still compiling.
Inviato dal mio GT-I9100 con Tapatalk 2
PieR said:
I added I9100 projects by hand
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="teamhacksung/buildscripts" path="buildscripts" remote="github" revision="jellybean">
<copyfile dest="build.sh" src="samsung/build.sh" />
</project>
<project name="teamhacksung/android_device_samsung_i9100" path="device/samsung/i9100" remote="github" revision="jellybean" />
<project name="teamhacksung/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="jellybean" />
<project name="teamhacksung/android_kernel_samsung_smdk4210" path="kernel/samsung/smdk4210" remote="github" revision="jellybean" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="ics" />
</manifest>
I dont know if it's enought since I'm still compiling.
Ah.. you've to enable the i9100 on vendor/cm/vendorsetup.sh
Inviato dal mio GT-I9100 con Tapatalk 2
Click to expand...
Click to collapse
. /build/vendorsetup.sh
lunch cm_i9100-userdebug
mka bacon recoveryzip recoveryimage checkapi
It will do the rest
Or do in this guide
http://teamhacksung.org/wiki/index.php/CyanogenMod10:How_to_build
PieR said:
I added I9100 projects by hand
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="teamhacksung/buildscripts" path="buildscripts" remote="github" revision="jellybean">
<copyfile dest="build.sh" src="samsung/build.sh" />
</project>
<project name="teamhacksung/android_device_samsung_i9100" path="device/samsung/i9100" remote="github" revision="jellybean" />
<project name="teamhacksung/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="jellybean" />
<project name="teamhacksung/android_kernel_samsung_smdk4210" path="kernel/samsung/smdk4210" remote="github" revision="jellybean" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="ics" />
</manifest>
I dont know if it's enought since I'm still compiling.
Ah.. you've to enable the i9100 on vendor/cm/vendorsetup.sh
Inviato dal mio GT-I9100 con Tapatalk 2
Click to expand...
Click to collapse
Thank's i'll try
hiepgia said:
. /build/vendorsetup.sh
lunch cm_galaxys2-userdebug
mka bacon recoveryzip recoveryimage checkapi
It will do the rest
Or do in this guide
http://teamhacksung.org/wiki/index.php/CyanogenMod10:How_to_build
Click to expand...
Click to collapse
it's called i9100 now
Ok, I sync, i build (90min) and now?
I don't have any *.zip file.
The 72th last line in my terminal :
Code:
host C++: libLLVMCore <= external/llvm/lib/VMCore/Verifier.cpp
host StaticLib: libclangParse (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangParse_intermediates/libclangParse.a)
host StaticLib: libclangSema (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangSema_intermediates/libclangSema.a)
host StaticLib: libclangAnalysis (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangAnalysis_intermediates/libclangAnalysis.a)
host StaticLib: libclangCodeGen (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangCodeGen_intermediates/libclangCodeGen.a)
host StaticLib: libclangAST (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangAST_intermediates/libclangAST.a)
host StaticLib: libclangLex (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangLex_intermediates/libclangLex.a)
host StaticLib: libclangEdit (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangEdit_intermediates/libclangEdit.a)
host StaticLib: libclangFrontend (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangFrontend_intermediates/libclangFrontend.a)
host StaticLib: libclangBasic (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangBasic_intermediates/libclangBasic.a)
host StaticLib: libLLVMVectorize (out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMVectorize_intermediates/libLLVMVectorize.a)
target R.java/Manifest.java: Gallery2 (out/target/common/obj/APPS/Gallery2_intermediates/src/R.stamp)
Copying: out/target/common/obj/JAVA_LIBRARIES/com.android.gallery3d.common2_intermediates/classes-jarjar.jar
target R.java/Manifest.java: HTMLViewer (out/target/common/obj/APPS/HTMLViewer_intermediates/src/R.stamp)
target R.java/Manifest.java: InputDevices (out/target/common/obj/APPS/InputDevices_intermediates/src/R.stamp)
target R.java/Manifest.java: KeyChain (out/target/common/obj/APPS/KeyChain_intermediates/src/R.stamp)
target R.java/Manifest.java: LatinIME (out/target/common/obj/APPS/LatinIME_intermediates/src/R.stamp)
nothing matches overlay file main.dict, for flavor ,,cs,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,da,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,de,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,el,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,en,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,es,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,fi,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,fr,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,hr,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,hu,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,it,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,iw,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,ka,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,nl,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,pt,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,ru,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,sv,,,,,,,,,,,,,,,,
Copying: out/target/common/obj/JAVA_LIBRARIES/inputmethod-common_intermediates/classes-jarjar.jar
target R.java/Manifest.java: Launcher2 (out/target/common/obj/APPS/Launcher2_intermediates/src/R.stamp)
target R.java/Manifest.java: LiveWallpapersPicker (out/target/common/obj/APPS/LiveWallpapersPicker_intermediates/src/R.stamp)
target R.java/Manifest.java: MediaProvider (out/target/common/obj/APPS/MediaProvider_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: Mms (out/target/common/obj/APPS/Mms_intermediates/src/R.stamp)
target R.java/Manifest.java: PackageInstaller (out/target/common/obj/APPS/PackageInstaller_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: Phone (out/target/common/obj/APPS/Phone_intermediates/src/R.stamp)
target R.java/Manifest.java: PicoTts (out/target/common/obj/APPS/PicoTts_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: QuickSearchBox (out/target/common/obj/APPS/QuickSearchBox_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: SamsungServiceMode (out/target/common/obj/APPS/SamsungServiceMode_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: Settings (out/target/common/obj/APPS/Settings_intermediates/src/R.stamp)
target R.java/Manifest.java: SettingsProvider (out/target/common/obj/APPS/SettingsProvider_intermediates/src/R.stamp)
target R.java/Manifest.java: SpareParts (out/target/common/obj/APPS/SpareParts_intermediates/src/R.stamp)
target R.java/Manifest.java: Stk (out/target/common/obj/APPS/Stk_intermediates/src/R.stamp)
target R.java/Manifest.java: TelephonyProvider (out/target/common/obj/APPS/TelephonyProvider_intermediates/src/R.stamp)
target R.java/Manifest.java: Torch (out/target/common/obj/APPS/Torch_intermediates/src/R.stamp)
packages/apps/Torch/AndroidManifest.xml:27: error: Error: No resource found that matches the given name (at 'label' with value '@string/widget_label').
make: *** [out/target/common/obj/APPS/Torch_intermediates/src/R.stamp] Erreur 1
make: *** Attente des tâches non terminées....
aapt: warning: string 'pref_flash_mode_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'pref_network_mode_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'pref_screentimeout_mode_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'pref_use_dithering_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_hide_indicator' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_hide_onchange' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_hide_scrollbar' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_widget' has no default translation in packages/apps/Settings/res; found: ru
Elapsed: 87 min(s) 48 sec(s)
It's bad?
Thank's for your help
Znuf said:
Ok, I sync, i build (90min) and now?
I don't have any *.zip file.
The 72th last line in my terminal :
Code:
host C++: libLLVMCore <= external/llvm/lib/VMCore/Verifier.cpp
host StaticLib: libclangParse (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangParse_intermediates/libclangParse.a)
host StaticLib: libclangSema (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangSema_intermediates/libclangSema.a)
host StaticLib: libclangAnalysis (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangAnalysis_intermediates/libclangAnalysis.a)
host StaticLib: libclangCodeGen (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangCodeGen_intermediates/libclangCodeGen.a)
host StaticLib: libclangAST (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangAST_intermediates/libclangAST.a)
host StaticLib: libclangLex (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangLex_intermediates/libclangLex.a)
host StaticLib: libclangEdit (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangEdit_intermediates/libclangEdit.a)
host StaticLib: libclangFrontend (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangFrontend_intermediates/libclangFrontend.a)
host StaticLib: libclangBasic (out/host/linux-x86/obj/STATIC_LIBRARIES/libclangBasic_intermediates/libclangBasic.a)
host StaticLib: libLLVMVectorize (out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMVectorize_intermediates/libLLVMVectorize.a)
target R.java/Manifest.java: Gallery2 (out/target/common/obj/APPS/Gallery2_intermediates/src/R.stamp)
Copying: out/target/common/obj/JAVA_LIBRARIES/com.android.gallery3d.common2_intermediates/classes-jarjar.jar
target R.java/Manifest.java: HTMLViewer (out/target/common/obj/APPS/HTMLViewer_intermediates/src/R.stamp)
target R.java/Manifest.java: InputDevices (out/target/common/obj/APPS/InputDevices_intermediates/src/R.stamp)
target R.java/Manifest.java: KeyChain (out/target/common/obj/APPS/KeyChain_intermediates/src/R.stamp)
target R.java/Manifest.java: LatinIME (out/target/common/obj/APPS/LatinIME_intermediates/src/R.stamp)
nothing matches overlay file main.dict, for flavor ,,cs,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,da,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,de,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,el,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,en,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,es,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,fi,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,fr,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,hr,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,hu,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,it,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,iw,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,ka,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,nl,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,pt,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,ru,,,,,,,,,,,,,,,,
nothing matches overlay file main.dict, for flavor ,,sv,,,,,,,,,,,,,,,,
Copying: out/target/common/obj/JAVA_LIBRARIES/inputmethod-common_intermediates/classes-jarjar.jar
target R.java/Manifest.java: Launcher2 (out/target/common/obj/APPS/Launcher2_intermediates/src/R.stamp)
target R.java/Manifest.java: LiveWallpapersPicker (out/target/common/obj/APPS/LiveWallpapersPicker_intermediates/src/R.stamp)
target R.java/Manifest.java: MediaProvider (out/target/common/obj/APPS/MediaProvider_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: Mms (out/target/common/obj/APPS/Mms_intermediates/src/R.stamp)
target R.java/Manifest.java: PackageInstaller (out/target/common/obj/APPS/PackageInstaller_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: Phone (out/target/common/obj/APPS/Phone_intermediates/src/R.stamp)
target R.java/Manifest.java: PicoTts (out/target/common/obj/APPS/PicoTts_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: QuickSearchBox (out/target/common/obj/APPS/QuickSearchBox_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: SamsungServiceMode (out/target/common/obj/APPS/SamsungServiceMode_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target R.java/Manifest.java: Settings (out/target/common/obj/APPS/Settings_intermediates/src/R.stamp)
target R.java/Manifest.java: SettingsProvider (out/target/common/obj/APPS/SettingsProvider_intermediates/src/R.stamp)
target R.java/Manifest.java: SpareParts (out/target/common/obj/APPS/SpareParts_intermediates/src/R.stamp)
target R.java/Manifest.java: Stk (out/target/common/obj/APPS/Stk_intermediates/src/R.stamp)
target R.java/Manifest.java: TelephonyProvider (out/target/common/obj/APPS/TelephonyProvider_intermediates/src/R.stamp)
target R.java/Manifest.java: Torch (out/target/common/obj/APPS/Torch_intermediates/src/R.stamp)
packages/apps/Torch/AndroidManifest.xml:27: error: Error: No resource found that matches the given name (at 'label' with value '@string/widget_label').
make: *** [out/target/common/obj/APPS/Torch_intermediates/src/R.stamp] Erreur 1
make: *** Attente des tâches non terminées....
aapt: warning: string 'pref_flash_mode_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'pref_network_mode_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'pref_screentimeout_mode_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'pref_use_dithering_summary' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_hide_indicator' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_hide_onchange' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_hide_scrollbar' has no default translation in packages/apps/Settings/res; found: ru
aapt: warning: string 'summary_expanded_widget' has no default translation in packages/apps/Settings/res; found: ru
Elapsed: 87 min(s) 48 sec(s)
It's bad?
Thank's for your help
Click to expand...
Click to collapse
Try this commit: http://review.cyanogenmod.com/#/c/20065/
golcheck said:
weird I cannot access anything at review.cyanogenmod.com
Edit: I switched from chrome to firefox and is ok now
Click to expand...
Click to collapse
It's merged now anyway, just repo sync
pulser_g2 said:
Try this commit: http://review.cyanogenmod.com/#/c/20065/
Click to expand...
Click to collapse
Thank's a lot. It's working great :highfive:
Recent update to android_frameworks_native breaks the build...
Code:
...
frameworks/native/libs/ui/GraphicBuffer.cpp:132:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
target thumb C++: libui <= frameworks/native/libs/ui/PixelFormat.cpp
target thumb C++: libui <= frameworks/native/libs/ui/Rect.cpp
target thumb C++: libui <= frameworks/native/libs/ui/Region.cpp
target thumb C++: libicuuc <= external/icu4c/common/bmpset.cpp
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In constructor 'android::FramebufferNativeWindow::FramebufferNativeWindow()':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:100:19: error: 'framebuffer_device_t' has no member named 'numFramebuffers'
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:101:19: error: 'framebuffer_device_t' has no member named 'numFramebuffers'
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:102:34: error: 'framebuffer_device_t' has no member named 'numFramebuffers'
make: *** [out/target/product/i9100/obj/SHARED_LIBRARIES/libui_intermediates/FramebufferNativeWindow.o] Error 1
make: *** Waiting for unfinished jobs....
Elapsed: 4 min(s) 45 sec(s)
I am having trouble building. I've followed the instructions up to syncing the repo but on the next step (lunch cm_i9100-userdebug) at first I got "No such file: cm_i9100-userdebug", then after doing . build/envsetup.sh I get:
Code:
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/i9100/cm.mk]]: "device/*/i9100/cm.mk" does not exist. Stop.
Device i9100 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for i9100 not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/i9100/cm.mk]]: "device/*/i9100/cm.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_i9100'
** Do you have the right repo manifest?
There is no /build/vendorsetup.sh (which someone suggested earlier). I tried . ./vendor/cm/vendorsetup.sh but that didn't seem to do anything (and I tried adding a i9100 line but still nothing).
Anyone know what I'm actually supposed to do?
Edit: Am I meant to add that extra stuff to the local manifest which someone posted earlier?
Yes, use that extra stuff. Should work then
To build:
Code:
./build.sh i9100
Sent from my GT-I9100 using xda premium
Bleh, now I'm getting "fatal: The remote end hung up unexpectedly" when I try to sync. Guess I must have reached some usage limit...
Thanks for the answer, anyway.
Guys, I've done something wrong while editing some apk sources. I've compiled CM10, took freaking 111 minutes, and realised that I've forgot something while editing one java file. How can I compile only the apk? I tried "make "apk"", but came up with odex and the apk was missing a lot of resources.

[Q] local_manifest in Slimbeans sync

Hello,
I am trying to build Slim bean for Xperia 2011 devices which are not supported by Slim bean.
I have my device tree (based on cm10.2 with it's source) which is a semc.xml file that I copy in "Local_manifest" folder to sync with source.
It works in CM10.2 repo but with Slim bean, I get these errors:
Code:
[email protected]:~/android/mix$ repo sync
fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
And here is content of my semc.xml file:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="LegacyXperia/android_device_semc_msm7x30-common" path="device/semc/msm7x30-common" />
<project name="LegacyXperia/android_device_semc_mogami-common" path="device/semc/mogami-common" />
<project name="LegacyXperia/android_device_semc_anzu" path="device/semc/anzu" />
<project name="LegacyXperia/msm7x30-3.4.x-nAa" path="kernel/semc/msm7x30" />
<project name="CyanogenMod/android_hardware_sony_DASH" path="hardware/sony/DASH" />
<project name="LegacyXperia/proprietary_vendor_semc" path="vendor/semc" />
<project name="LegacyXperia/android_hardware_qcom_display-legacy" path="hardware/qcom/display-legacy" />
<project name="LegacyXperia/android_hardware_qcom_media-legacy" path="hardware/qcom/media-legacy" />
</manifest>
Any Idea?
Thanks in advance

Help, Error Building AOKP E975

Error build AOKP for LG G E975, building 20 min and...
host C++: libicuuc <= external/icu4c/common/patternprops.cpp
host C++: libicuuc <= external/icu4c/common/stringtriebuilder.cpp
host C++: libicuuc <= external/icu4c/common/ucharstrie.cpp
host C++: libicuuc <= external/icu4c/common/ucharstriebuilder.cpp
host C++: libicuuc <= external/icu4c/common/ucharstrieiterator.cpp
host C++: libicuuc <= external/icu4c/common/dictionarydata.cpp
host C++: libicuuc <= external/icu4c/common/ustrcase_locale.cpp
host C++: libicuuc <= external/icu4c/common/unistr_titlecase_brkiter.cpp
host C++: libicuuc <= external/icu4c/common/uniset_closure.cpp
make[1]: *** [sub-make] Error 2
make[1]: se sale del directorio «/home/evogp/aokp/kernel/lge/gee»
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Se espera a que terminen otras tareas....
My local_manifest is...
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="gh"
fetch="git://github.com/" />
<project path="kernel/lge/gee" name="TeamPlaceholder/android_kernel_lge_gee" remote="gh" revision="cm-10.2-update" />
<project path="device/lge/geehrc_intl" name="TeamPlaceholder/android_device_lge_geehrc_intl" remote="gh" revision="jb_2.5" />
<project path="device/lge/gee-common" name="TeamPlaceholder/android_device_lge_gee-common" remote="gh" revision="cm-10.2" />
<project path="vendor/lge/gee" name="TeamPlaceholder/proprietary_vendor_lge_gee" remote="gh" revision="cm-10.2" />
</manifest>
/home/evogp/aokp/kernel/lge/gee/drivers/cpufreq/cpufreq_interactive.c: In function 'cpufreq_interactive_timer':
/home/evogp/aokp/kernel/lge/gee/drivers/cpufreq/cpufreq_interactive.c:295:2: error: 'now_idle' undeclared (first use in this function)
/home/evogp/aokp/kernel/lge/gee/drivers/cpufreq/cpufreq_interactive.c:295:2: note: each undeclared identifier is reported only once for each function it appears in
/home/evogp/aokp/kernel/lge/gee/drivers/cpufreq/cpufreq_interactive.c:296:2: error: 'delta_idle' undeclared (first use in this function)
/home/evogp/aokp/kernel/lge/gee/drivers/cpufreq/cpufreq_interactive.c:404:7: error: 'governidle' undeclared (first use in this function)
/home/evogp/aokp/kernel/lge/gee/drivers/cpufreq/cpufreq_interactive.c:405:8: error: 'struct cpufreq_interactive_cpuinfo' has no member named 'timer_idlecancel'
/home/evogp/aokp/kernel/lge/gee/drivers/cpufreq/cpufreq_interactive.c:277:6: warning: unused variable 'load_since_change' [-Wunused-variable]
error, forbidden warning: cpufreq_interactive.c:277
make[4]: *** [drivers/cpufreq/cpufreq_interactive.o] Error 1
make[3]: *** [drivers/cpufreq] Error 2
make[2]: *** [drivers] Error 2
make[2]: *** Se espera a que terminen otras tareas....
That branch doesn't work yet. Use cm-10.2-merge for kernel. Let me know if you have any other questions or suggestions. Also, our e975 repo is way outdated. I'll bring that up to date tomorrow. If you care about camera, use the cm repos rather than ours for now, since our rear camera doesn't work yet. I'll try to get that working soon though.
Sent from my LG-LS970 using xda app-developers app

Trying to build a kernel

I am trying to build a kernel for moto g 2014 based on cm source.
Code:
[email protected]:~/kernelmoto$ export ARCH=arm
[email protected]:~/kernelmoto$ export CROSS_COMPILER=~/android/arm-cortex_a7-linux/arm-cortex_a7-linux-gnueabihf-
[email protected]:~/kernelmoto$ make titan_defconfig
drivers/usb/gadget/Kconfig:881:warning: defaults for choice values not supported
#
# configuration written to .config
#
[email protected]:~/kernelmoto$ make -j6
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/usb/gadget/Kconfig:881:warning: defaults for choice values not supported
CHK include/linux/version.h
CC scripts/mod/empty.o
gcc: error: unrecognized argument in option ‘-mabi=aapcs-linux’
gcc: note: valid arguments to ‘-mabi=’ are: ms sysv
gcc: error: unrecognized command line option ‘-mlittle-endian’
gcc: error: unrecognized command line option ‘-mno-thumb-interwork’
scripts/Makefile.build:307: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 1
scripts/Makefile.build:443: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
Makefile:515: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
[email protected]:~/kernelmoto$
what am I missing, I am using the linaro toolchain. How do I fix these errors?

Categories

Resources