a typo in CM12 section:
For CM 11.0 KitKat 4.4.x should be For CM 12.0 Lolipop 5.0.x
also could you explain how to add ofast, o3 and graphite?
would be glad if you would do that.Thank you So Much Bro For finding that typo
regarding -ofast , o3 and -fgraphite Flags :: = Aim of this project is to help new guys , Advanced Flags Require Proper Toolchains [Eg. for -fgraphite you need gcc 4.9.x Toolchain] , i might make a new Thread if guys are need a Proper Kernel Stuff understanding tutorial
Thank you So Much Bro For finding that typo
regarding -ofast , o3 and -fgraphite Flags :: = Aim of this project is to help new guys , Advanced Flags Require Proper Toolchains [Eg. for -fgraphite you need gcc 4.9.x Toolchain] , i might make a new Thread if guys are need a Proper Kernel Stuff understanding tutorial
compiling rom with dual core and 2 GB ram? it would be painful, get at least 4 GB ram and quadcore processorThanks a lot for the guide. will try to build a rom following the steps.
Can i know the download size of cm12 for redmi 1s?
i have 3ghz dual core with 2gig ram and 200 gig allocated for linux.
is it enough?
compiling rom with dual core and 2 GB ram? it would be painful, get at least 4 GB ram and quadcore processor
make: *** No rule to make target
„/home/stety/cm11/out/target/product/armani/obj/SHARED_LIBRARIES/libqdutils_intermediates/export_includes“
required for
„/home/stety/cm11/out/target/product/armani/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/import_includes“.
End.
<project path="hardware/qcom/display-caf-new" name="armani-dev/android_hardware_qcom_display-caf-new" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/media-caf-new" name="armani-dev/android_hardware_qcom_media-caf-new" remote="github" revision="cm-11.0" />
TARGET_QCOM_DISPLAY_VARIANT := caf-new
TARGET_QCOM_DISPLAY_VARIANT := caf
TARGET_QCOM_MEDIA_VARIANT := caf-new
TARGET_QCOM_MEDIA_VARIANT := caf
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- armani Specific -->
<project path="device/qcom/common" name="CyanogenMod/android_device_qcom_common" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/fm" name="CyanogenMod/android_hardware_qcom_fm" revision="cm-11.0" />
<project path="kernel/xiaomi/armani" name="armani-dev/android_kernel_xiaomi_armani" remote="github" revision="cm-11.0" />
<project path="device/xiaomi/armani" name="armani-dev/android_device_xiaomi_armani" remote="github" revision="cm-11.0" />
<project path="vendor/xiaomi" name="armani-dev/proprietary_vendor_xiaomi" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/display-caf-new" name="armani-dev/android_hardware_qcom_display-caf-new" remote="github" revision="cm-11.0" />
<project path="hardware/qcom/media-caf-new" name="armani-dev/android_hardware_qcom_media-caf-new" remote="github" revision="cm-11.0" />
</manifest>
. build/envsetup.sh
brunch armani
...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
E:Zip file is corrupt!
did you build success? i follow your solution,but got an zip that can not flash.it saidHi guys,
I'm trying to build cm11 for armani using this guide, but I get this error:
Code:make: *** No rule to make target „/home/stety/cm11/out/target/product/armani/obj/SHARED_LIBRARIES/libqdutils_intermediates/export_includes“ required for „/home/stety/cm11/out/target/product/armani/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/import_includes“. End.
Can you advise me what am I doing wrong?
Edit: Fixed
Solution: Add these two lines to local_manifests/device.xml
Or:It should also help to change these lines: (in device/xiaomi/armani/BoardConfig.mk) (Untested)Code:<project path="hardware/qcom/display-caf-new" name="armani-dev/android_hardware_qcom_display-caf-new" remote="github" revision="cm-11.0" /> <project path="hardware/qcom/media-caf-new" name="armani-dev/android_hardware_qcom_media-caf-new" remote="github" revision="cm-11.0" />
toCode:TARGET_QCOM_DISPLAY_VARIANT := caf-new
andCode:TARGET_QCOM_DISPLAY_VARIANT := caf
toCode:TARGET_QCOM_MEDIA_VARIANT := caf-new
But I do not know what is better. caf or caf-new?Code:TARGET_QCOM_MEDIA_VARIANT := caf
Also would like to update the tutorial.
...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
E:Zip file is corrupt!