yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] makers_mark:
Your png file can't be interlaced. They don't seem seem to be interlaced though.

When you zip you bootanimation files up: You have to set the compression level as `Store`
[Galaxy S 4 Q&A, Help & Troubleshooting] ilkaayy:
fixed

Thank you all, for... ehm... nothing really..

I Fixed it myself. How?

I flashed the KitKat samsung based leak.

It wasnt a .tar.md5 file , but multiple files

BL

AP

CP

CSC

It worked for me. Hopefully it will help someone else too.

Have a great day.
[Galaxy S 4 Q&A, Help & Troubleshooting] theunderling:
Well done, and I hope you like kit-kat.
[Galaxy S 4 Q&A, Help & Troubleshooting] ilkaayy:
Not solved

Hii, Well.. today my phone got stuck, and could not restart.

it said;

Movinand Checksum Confirmation Fail

It's in loop. I only get to see 'Movinand Checksum Confirmation Fail' in the top left corner for half a second and its gone.

Then it restarts and i get to see the same thing.

What can i do now?

I tried reflashing 4.4.2 but it says ;

<ID:0/007> Added!!

<ID:0/007> Odin v.3 engine (ID:7)..

<ID:0/007> File analysis..

<ID:0/007> SetupConnection..

<ID:0/007> Initialzation..

<ID:0/007> Set PIT file..

<ID:0/007> DO NOT TURN OFF TARGET!!

<ID:0/007> FAIL!

<ID:0/007>

<ID:0/007> Re-Partition operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Galaxy Note II General] pearlpassat:
Anyone got a stand alone mk4 bootloader

Cheers
[Moto G General] Raum1807:
Reserved

Reserved
[Moto G General] denzel09:
Good;)
[Moto G General] Petrovski80:
Thanks for taking the effort to write this down. :cowboy:
[Moto G General] robin0800:
Docker template for building CyanogenMod

Have you seen this?

http://xdaforums.com/showthread.php?t=2650345
[Moto G General] Raum1807:
Guide changed

New V1.1 - 20140219 Repos changed

First post has been changed accordingly.
[Moto G General] michalurban:
Is it not necessary to also run this again?

cd vendor/cm
./get-prebuilts
cd ../..

PS: At the end of part IV youve got "get-prebuilts" instead of "./get-prebuilts".
[Moto G General] tazlooney89:
if you could add option to build with Linaro-Toolchain
[Moto G General] michalurban:
+1
[Moto G General] Raum1807:
It is the pre-built terminal program. You just need it the first time you build. Otherwise you would get an error message while compiling the ROM. It is unnecessary to get the program over and over again. Since it's pre-built, it gets its updates from the market/play store.

Something got mixed up there. Changed my lines. But your solution works too, of course. Thanks for pointing me to it.

Really depends on the time I will have on my hands and the interest the thread draws. Maybe I'll add some tweaks and tricks including a basic set of compiling against Linaro TC 4.8.x next week. We will see...
[Moto G General] michalurban:
Is there an automatic way to have the build.prop file (the system/build.prop option ro.build.date) altered?

I have a script renaming the compiled rom - to make the filaname end with "-michalurban-$NOW" where $NOW is a variable containing date and time of creation. And I would like to remove the ro.build.date value and replace it with michalurban-$NOW so I would easily know if Im using Official NIGHTLY or my build ...

My Linux (Bash, whatever) skill is knee deep in manure Im afraid ... is this possible? :)
[Moto G General] Raum1807:
I usually change the build.prop indirectly before the building process.

I delete a few files before rebuilding. E.g. the old build.prop with

rm -f out/target/product/falcon/system/build.prop

Whenever I am setting up a new build environment I edit the file common.mk in /vendor/cm/config

In line 317 or 323 you could try to change the value of CM_DISPLAY_VERSION or ro.cm.display.version to suit your needs.

Or you can do what I am doing - I usually add a time value to my ROMs (Rom-name and CyanogenMod-version under 'About phone'):

line 288 reads:

CM_VERSION := $(PRODUCT_VERSION_MAJOR)-$(shell date -u +%Y%m%d)-$(CM_BUILDTYPE)$(CM_EXTRAVERSION)-$(CM_BUILD)

and I changed it to

CM_VERSION := $(PRODUCT_VERSION_MAJOR)-$(shell TZ=":Europe/Berlin" date +%Y%m%d\-%H%M%S)-ac64@raumschiff-$(CM_BUILDTYPE)$(CM_EXTRAVERSION)-$(CM_BUILD)

I also added ac64@raumschiff. You can change practically everything here.

Then save the file and rebuild.

The CyanogenMod Version in 'about phone' should look like this when you flash the ROM:

Happy building!
[Moto G General] michalurban:
Is it possible to do this on a NTFS-formatted drive? Im running low on space on my linux /home directory but Ive got plenty of space on my Win7 NTFS drive ... Im just afraid of file permission troubles ...
[Moto G General] Rhyn:
you can make an image file on the NTFS partition loopmount it, then format it to ext4.

Sent from my XT1032
[Moto G General] michalurban:
You mean to create a file on the NTFS partition, format it as EXT4, mount it somewhere and then use it for compilation via Ubuntu but "on" the NTFS drive? Wouldnt it mean a hard hit to the performance? I suppose it wont but as my PC is not high-end everything matters ... :)

BTW I found some guide on the Net and Ive modified it for my needs (probably lol). Is it ok?

# Create file to store EXT4 partition on NTFS partition (100GB)
dd if=/dev/urandom of=/media/D/linux.img bs=2048 count=50000000

# Create and format loop device (of the EXT4 file)
losetup /dev/loop0 /media/D/linux.img
mkfs.ext4 -b 1024 /dev/loop0

# Mount the new EXT4 file
mount -o loop /media/D/linux.img /home/michal/NTFSdrive

EDIT: Script tested and running fine (I got so excited I wrote this edit in czech not english the first time lol).
[Moto G General] Rhyn:
yeah I meant exactly that. This guide seems ok. The performance won't be as good as with a native partition, but won't be terribly bad either

Sent from my XT1032
[Moto G General] michalurban:
Another weird question of mine:

I deleted all files, set the CCACHE to be 100GB using command "prebuilts/misc/linux-x86/ccache/ccache -M 100G" which was confirmed and started the whole process. But after successfully finishing compilation the directory is again "only" 50GB ... why? I expected it to be twice as large ...
[Moto G General] Raum1807:
You have to inform the compiler that the cache will be used first, then config a directory and last, set the cache size to xx GB which creates the hidden dir. (to see it, use Ctrl+H)

$ export USE_CCACHE=1
$ export CCACHE_DIR=/your_path_here/.ccache
$ prebuilts/misc/linux-x86/ccache/ccache -M 100G

Btw: it's a good idea to use a 'make clean' first...

To see what's going on while caching, open another terminal, go to your cm11 root dir and execute

watch -n1 -d prebuilts/misc/linux-x86/ccache/ccache -s
[Moto G General] michalurban:
Now, Ive got a script building the ROM for me. It usually works fine for first sync and compilation as well as for any secondary syncs. But sometimes it returns a message that something isnt present in some file (it differs) and the compilation ends with "Error 1" which I found to be "Out of memory". Now, the guide at CM web says that I should

edit: system/build/tools/releasetools/common.py
change: java -Xmx2048m to java -Xmx1024m or java -Xmx512m

BTW the right file path is

build/tools/releasetools/common.py

But Im curious if this change could be done in an automated way by the script (and Im not really familiar with sed, awk and all this regular expressions) ... If not, I guess Ill put some READ command before the compilation itself, giving me time to change it - or just add "nano system/build/tools/releasetools/common.py". But still, automatic way would be better. :)

EDIT: Solution (with JAVAMEM being set in the beginning of the script):

sed -i 's/Xmx2048m/Xmx'$JAVAMEM'm/' build/tools/releasetools/common.py

ADD:

Weird, when I try to set the directory and size for CCACHE, nothing happens - it stays at /home/michal/.ccache and 100GB ...
[Moto G General] michalurban:
About two days ago a new problem emerged. I followed the guide exactly but in the end, after "brunch falcon"

make: *** [/home/michal/Build/MotoG-CM11/out/target/product/falcon/obj/SHARED_LIBRARIES/hwcomposer.msm8226_intermediates/hwc_utils.o] Error 1

It happened before so I erased all content of the directory and did all the commands from scratch. But its the same ... even after changing Java memory something (Xmx2048m) to 1024, which was recommended in the CM guide.
[Moto G General] Raum1807:
If the building process breaks with an error message about missing files or undeclared functions in the source code you can't help the building process by changing the allocated memory for java. If you had success with this procedure in the past, most probably it was a coincidence by syncing the repos, getting new commits and rebuilding afterwards solved the problems.

About CCACHE: if you want to change the size or location of the ccache, just use -C as parameter or delete the old hidden .ccache directory and set a new one. In my opinion, 100GB is too much if you are building for just one device anyway.

Usually, the reason for this kind of error message is a problem in the source code. This time an undeclared struct (mdp_overlay_list) in hardware/qcom/display-caf-new was the reason. In this case you can either try to solve the problem in the source on your own or dial back the changes in the source code by reverting the commit(s) that brought the changes and problems in the first place.

The problem has been solved by now (commit 3a4ef346) so it is sufficient to sync the repos and brunch again and you should be good to go.
[Moto G General] michalurban:
Thanks, Ill try it. :)

I did erase everything, made init and sync ... but when I set the CCACHE and then check its settings its not changing ... I did use those:

export USE_CCACHE=1
export CCACHE_DIR=/your_path_here/.ccache
prebuilts/misc/linux-x86/ccache/ccache -M 100G
watch -n1 -d prebuilts/misc/linux-x86/ccache/ccache -s

Anyway, its not that important ... :)

EDIT: After last sync both ROM build and CCACHE setup works fine ... THANKS! :)
[Moto G General] alfick3:
So, in the first post, you say to enter my credentials, what credentials are those? I tried to just enter my name and email and it gave me an error (it's been a week or so since I did this, so can't remember now and I didn't capture a screen shot, sorry). Do I need to set up an account with github to do this?

Thank you very much for your time.
[Moto G General] michalurban:
I had some trouble using git before I signed up with github and set it up on my pc. After that done, all is working fine. At "repo init", the credentials dont need to be the same as with github (personally, I use "michalurban" and my email address) ...

PS: I used the first three links (https://www.google.cz/search?q=gith...0j7&sourceid=chrome&espv=2&es_sm=141&ie=UTF-8)

to create my github username and set it up on my linux (ubuntu 12.04.4 amd64) machine.
[Moto G General] rr46000:
What changes should I make in the device sources for XT1033
[Moto G General] michalurban:
I dont believe any changes are necessary as all (four?) XT103x devices have been merged into one "falcon" tree ...
[Moto G General] rr46000:
Well

maybe i can use the boardconfig.mk of x1033

because the main problem is the network
[Moto G General] jvictor852:
Thanks a lot for the guide!

Enviado de meu Moto G usando Tapatalk
[Moto G General] MasterAwesome:
XT1033

Hi Sir,

I was trying to build cyanogenmod earilier today and got a error.i intitated the build evironment;then i used "breakfast falcon"then after it was done i extracted the proprietary blobs then i used "brunch falcon"it started building it and got a error and building stopped.I have attached a screenshot of what happened. Please help me.

Thank you
[Moto G General] zack.1988:
How much free space do you get with a minimal cyanogen installation? How many MB could I save respect the stock one?
[Moto G General] michalurban:
Compilation error 1:

make: *** [/home/michal/Build/MotoG-CM11/BUILDING/out/target/product/falcon/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/omx_vdec_msm8974.o] Error 1
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Compilation error 2:

make: *** [/home/michal/Build/MotoG-CM11/BUILDING/out/target/product/falcon/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/omx_vdec_msm8974.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/qcom/media-caf-new/mm-video-v4l2/vidc/venc/src/omx_video_encoder.cpp: In member function 'virtual OMX_ERRORTYPE omx_venc::set_config(OMX_HANDLETYPE, OMX_INDEXTYPE, OMX_PTR)':
hardware/qcom/media-caf-new/mm-video-v4l2/vidc/venc/src/omx_video_encoder.cpp:1422:54: warning: comparison between 'OMX_VIDEO_AVCPROFILETYPE {aka enum OMX_VIDEO_AVCPROFILETYPE}' and 'enum QOMX_VIDEO_AVCPROFILETYPE' [-Wenum-compare]

I the evening (14hrs ago) I compiled this ROM with no problems ... now, I end up with the previous error (1). I tried to sync and compile three times but there was the same error (1) again ... next try, I had a new error (2). Could there be any problem with github (unlikely) or some mess with some of the sources (msm8974 for example)?
[Moto G General] ash1794:
Same Error

Bump.. Did you solve this error? I'm facing the same issue. Don't know what to do.. Any help is appreciated! Thanks.
[Moto G General] MaLiXs:
I'm trying to build my own cm11. Was trying to get it working on my minimal ubuntu and never been able to make it work... I'll try With a full ubuntu desktop ( a chance that I have unlimited bandwidth)

Envoyé de mon falcon en utilisant Tapatalk
[Moto G General] MaLiXs:
Got the same error with slimkat build
[Moto G General] ash1794:
Can somebody who's done a build help?
[Moto G General] deltafile:
Thanks forma the tutorial, is very clear

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G General] Minervamc:
It's that I looking for.Very nice.
[Moto G General] jared.leto:
First of all thanks a ton for such a simplified [MENTION=4732829]Raum1807[/MENTION] +1

I just want to know when there are some changes that would be included in the next nightly displayed here ::: www.cmxlog.com/11/falcon

will they be included in the rom that we build using the following method even before the official nightly is released?

Hope you understand what I am trying to say. It is very cumbersome to download the entire 220+ MB rom everytime I have to update, downloading only the new sources and building the rom by our ownself would be much better.

And a very noobish question the sources that we download using your method are the same as the sources being used to compile the official roms, right?

Thanks :)
[Moto G General] ash1794:
Use an app called cynadelta instead. Saves you data..
[Moto G General] TeamMex:
I have this problem

Please Help me :/

In file included from hardware/qcom/display-caf-bfam/liboverlay/overlayUtils.cpp:37:0:
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h:69:36: error: 'mdp_overlay_list' has not been declared
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h:175:43: error: 'mdp_overlay_list' has not been declared
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::validateAndSet(const int&, int&)':
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h:176:19: error: 'MSMFB_OVERLAY_PREPARE' was not declared in this scope
In file included from hardware/qcom/display-caf-bfam/liboverlay/overlayMdp.h:24:0,
from hardware/qcom/display-caf-bfam/liboverlay/overlayCtrlData.h:34,
from hardware/qcom/display-caf-bfam/liboverlay/pipes/overlayGenPipe.h:34,
from hardware/qcom/display-caf-bfam/liboverlay/overlay.cpp:32:
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h:69:36: error: 'mdp_overlay_list' has not been declared
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h:175:43: error: 'mdp_overlay_list' has not been declared
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::validateAndSet(const int&, int&)':
hardware/qcom/display-caf-bfam/liboverlay/mdpWrapper.h:176:19: error: 'MSMFB_OVERLAY_PREPARE' was not declared in this scope
make: *** [/home/klozz/android/out/target/product/falcon/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayUtils.o] Error 1
make: *** Waiting for unfinished jobs....

Display caf-bfam is the same of Caf-new :)
[Moto G General] shivraj3192:
Can we do this from Windows?
[Moto G General] MasterAwesome:
Sadly no. Unless you use a virtual machine

Sent from my Moto G
[Moto G General] PatrickDziura:
Can someone help me? I can't do this on my PC. I installed Ubuntu 14.04 LTS and I can't do the repo init.

I got:

Get https://gerrit.googlesource.com/git-repo

fatal: unable to access 'https://gerrit.googlesource.com/git-repo/': Could not resolve host: gerrit.googlesource.com

Or:

fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle

fatal: error [Errno -2] Name or service not known
[Moto G General] MasterAwesome:
You need ssl dev packages..
[Moto G General] PatrickDziura:
I installed and I got this too.

In my laptop and on Virtual Machine, I can get everything working. Only when I boot on Ubuntu that I can't do the repo init =/
[Moto G General] MasterAwesome:
Check it again install synaptic package manager

Install libssl-dev or go to one of my guides(building roms from source) I've written the pre-requisite for building roms in the 2nd post do as said there.

Regards.
[Moto G General] PatrickDziura:
Can you send me the link of your guide? I was following this guide: http://xdaforums.com/showthread.php?t=2653397

EDIT:

Found your guide. Thanks =)
[Moto G General] PatrickDziura:
I build the CM11 for falcon successfully, but I have some doubts.

How can I change settings, like for XT1033 to change from:

SIM 1 -> Only GSM

SIM 2 -> GSM/WCDMA/EVDO...

to

SIM 1 -> GSM/WCDMA preferred

SIM 2 -> Only GSM

and other settings...

And how can I add some things like Halo or Hover or something like that?
[Moto G General] Gnatzelle:
First of all thanks for such a simplified and easy Guide :D Had no Problems at all compiling my "own" CM for 2 Months now.

But since 2 Days ago i'm encountering an error right at the start of the building process, I must admit that i'm fairly new to the whole stuff of "CM-Homebrewing", so i hope anyone here could help :)

including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.4
CM_VERSION=11-20140813-UNOFFICIAL-falcon
TARGET_PRODUCT=cm_falcon
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-32-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KTU84Q
OUT_DIR=/home/gnatz/cm11/out
============================================

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.4
CM_VERSION=11-20140813-UNOFFICIAL-falcon
TARGET_PRODUCT=cm_falcon
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-32-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KTU84Q
OUT_DIR=/home/gnatz/cm11/out
============================================
/home/gnatz/cm11/out/target/product/falcon/obj/APPS/SignatureTest_intermediates
build/core/base_rules.mk:134: *** device/motorola/msm8226-common: MODULE.TARGET.ETC.wpa_supplicant_overlay.conf already defined by device/motorola/falcon/wifi. Schluss.

From what i understand is that there are 2 (indentical?) sources being used for compiling the same stuff, but obviously only one is needed. I think this error started with this commit here > hXXp://review.cyanogenmod.org/#/c/69808/ (sry, new member. can't post external links)

So what i don't understand...only a source problem in the manifest (falcon.xml) since this commit or something deeper "wrong" in those .mk files?

Gnatz
[Moto G General] Rhyn:
If you remove the "CyanogenMod/android_device_motorola_qcom-common" project from your local_manifest.xml it will build again.
[Moto G General] Gnatzelle:
Thanks...will try this out later :) Also noticed that since those recent changes Kernel was "downgraded" form .99 > .42. Looks like their reorganizing falcon...

Gnatz
[Moto G General] Rhyn:
Yep, it's based on the latest Motorola source
[Moto G General] Rubytux:
AdWareAndroid.Admob.ads,gen in WhisperPush for MotoG/CM 11.0

Hi all, i am back to XDA and i just came to ask the AdWare policy in Cyanogenmod. This is probably not the best forum to ask, but since i am a new user again, i think there is no other option:

Now, i scanned my Moto G with AVL Antivirus and it detected "AdWareAndroid.Admob.ads,gen" in WhisperPush for CM 11.0. It also detected another AdWare for My.com Mail App and i uninstalled. However, since WhisperPush is part of the CM 11.0, i wasn't able to uninstall it.

I am not sure if this AdWare is OK according to CM 11.0 policies(may be it's a false alarm), but i would like to erase it from my device if possible. Would it be safe/possible to remove it as a Superuser ?
[Moto G General] checkmateyou:
Excuse me for being a noob, but do you mean by falcon.xml rather than local_manifest, as per the tutorial? And do I delete the entire line or just CyanogenMod/android_device_motorola_qcom-common?

Thank you in advance
[Moto G General] Rhyn:
Yes, from the falcon.xml, and the entire line.
[Moto G General] checkmateyou:
After countless days, I finally got it to start building, but ran into another problem. :eek:

If someone could kindly help a fellow help, please! It ran for about 10 minutes, and this came out:
[Moto G General] MasterAwesome:
Looks like your kernel building has some errors but your output you pasted here doesn't contain it. Clean and build again I got a working build today.
[Moto G General] Gnatzelle:
"Vanilla"-Build or some tweaks like other Toolchains, etc.? Without any tweaks CM11 is building fine for me. But as soon i use another Toolchain (even Google's 4.8 GCC) or other things i get errors too.

Would try "make clean" > delete .ccache content > brunch again...

Gnatz
[Moto G General] checkmateyou:
As much as I hate double posting, this problem has shed hours upon hours of my life. Could anyone please help me with the problem I posted above?
[Moto G General] Rhyn:
/Volumes/android/kernel/motorola/msm8226/scripts/xz_wrap.sh: line 23: exec: xz: not found

You probably need to install xz-utils package
[Moto G General] checkmateyou:
I forgot to mention that I'm using Mac OS X... perhaps I need to load a linux distro... is there something of equivalent value to xz-utils for mac?
[Moto G General] Rhyn:
You should ask this in a mac forum... Or learn to use Google.. [emoji6]