yashsingh1/xdaforums huggingface dataset:
[XDA-University] matt95:
Well, we need to know more to tell you that...
[XDA-University] Great_Geek:
My laptop with 2 GHz, 4 GB RAM and SSD has to be left overnight to compile.. wouldn't recommend that you try compiling on a machine with just 1GB of usable RAM
[XDA-University] shine911:
My laptop have core i5 480M processor and with 4GB RAM i create virtual machine and now i know i should complie with Ubuntu Dualboot
[XDA-University] matt95:
ssd are very fast but it all depends on the processor, i have an i7 2600k 5ghz and it takes me about an hour and a half
[XDA-University] warface123:
How to build PAC-ROM for a unsupported device ?

My device is GT-I9105P . Please make a fully tutorial for it so I can understand it :( .

Greetz Warface123 :).
[XDA-University] slogar25:
Anyone ever run a build with no errors but not see a zip file in out directory on Ubuntu 13.04

Sent from my XT907 using Xparent BlueTapatalk 2
[XDA-University] warface123:
What kinda phone do you have?

Search for your build.prop and search for ro.product device=
[XDA-University] warface123:
I'll see what i can do for you :). But you want slimbean ?

I'll make it from source for you but you test it ok ?
[XDA-University] warface123:
Ohh. SOrry did not know that you want to build on your own. My excuses for it Goodluck :)
[XDA-University] warface123:
I will help you ;).

Gimme a hour pls:).
[XDA-University] Gava97:
You can build slimbean 4.2 for novathor devices?
[XDA-University] warface123:
Sure I can do that :).

BTW guys. I'm going back to the Netherlands. My flight will be in the next 2 hours :). See you then guys.
[XDA-University] JohnDoes:
Sorry for answering so late, i was on vacation. Thank you both for your replies.

I have tried now to cherry pick several times, but every time something with the merging goes wrong and the rom does not compile properly. Has somebody a tip for merging the files, i am new in this sector. Have tried diffmerge, but i think it messes up more than it helps, or i am just too "stupid" to use it :D
[XDA-University] Toni5830:
I'm stuck on this error

/Volumes/Android/cm/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /Volumes/Android/cm/out/target/product/janice/obj/SHARED_LIBRARIES/libstagefright_intermediates/OMXCodec.o: in function android::eek:MXCodec::allocateOutputBuffersFromNativeWindow():frameworks/av/media/libstagefright/OMXCodec.cpp:2137: error: undefined reference to 'android::eek:MXCodec::eek:mxToHALFormat(OMX_COLOR_FORMATTYPE)'
collect2: ld returned 1 exit status
make: *** [/Volumes/Android/cm/out/target/product/janice/obj/SHARED_LIBRARIES/libstagefright_intermediates/LINKED/libstagefright.so] Error 1
make: *** Waiting for unfinished jobs....

frameworks/av/media/libstagefright/OMXCodec.cpp is this https://github.com/TeamCanjica/android_frameworks_av/blob/cm-10.1/media/libstagefright/OMXCodec.cpp

any help would be appreciated
[XDA-University] rastomanchik:
hello developers.

i`m compile CM10.1 and use qcom display drivers (hardware/qcom/display).

i`m have error

device/htc/primou/qcom_display_drivers/liboverlay/overlayMdssRot.cpp: In member function 'virtual int overlay::MdssRot::getDstMemId() const':
device/htc/primou/qcom_display_drivers/liboverlay/overlayMdssRot.cpp:46:21: error: 'const struct msmfb_overlay_data' has no member named 'dst_data'
device/htc/primou/qcom_display_drivers/liboverlay/overlayMdssRot.cpp: In member function 'virtual uint32_t overlay::MdssRot::getDstOffset() const':
device/htc/primou/qcom_display_drivers/liboverlay/overlayMdssRot.cpp:50:21: error: 'const struct msmfb_overlay_data' has no member named 'dst_data'
device/htc/primou/qcom_display_drivers/liboverlay/overlayMdssRot.cpp: In member function 'virtual bool overlay::MdssRot::queueBuffer(int, uint32_t)':
device/htc/primou/qcom_display_drivers/liboverlay/overlayMdssRot.cpp:134:18: error: 'struct msmfb_overlay_data' has no member named 'dst_data'
device/htc/primou/qcom_display_drivers/liboverlay/overlayMdssRot.cpp: In member function 'bool overlay::MdssRot::open_i(uint32_t, uint32_t)':
device/htc/primou/qcom_display_drivers/liboverlay/overlayMdssRot.cpp:173:14: error: 'struct msmfb_overlay_data' has no member named 'dst_data'
device/htc/primou/qcom_display_drivers/liboverlay/overlayMdssRot.cpp:174:14: error: 'struct msmfb_overlay_data' has no member named 'dst_data'

MdssRot.cpp:50

uint32_t MdssRot::getDstOffset() const {
return mRotData.dst_data.offset;
}

struct msmfb_overlay_data in file include/linux/msm_mdp.h

struct msmfb_overlay_data {
uint32_t id;
struct msmfb_data data;
uint32_t version_key;
struct msmfb_data plane1_data;
struct msmfb_data plane2_data;
};

anyone can suggest or help fix the problem ? :confused:

this error has been in this topic but did not have an answer

sory for bad english
[XDA-University] judas1977:
Beginner question (maybe somebody has similar problems) a.k.a. why "lunch" command doesn't like my computer...

I set up compiling enviroment, everything seems to work properly (hope so). I successfully compiled some ROMs (ok, not really - but compilation went well, just the sources weren't "the best", at least not all of them;)). That ROMs used "brunch" command to compile...

But when i tried to compile ROMs that uses "lunch" command - the compilation process stops just at the beginning, without any error, just stops after that "summary table":

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.2.2

TARGET_PRODUCT=liquid_codina

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.8.0-29-generic-x86_64-with-Ubuntu-12.04-precise

HOST_BUILD_TYPE=release

BUILD_ID=JDQ39E

OUT_DIR=/home/judas77/liquid/out

============================================

Do any of you know what could be the reason? I spend much time on setting the sources up but then - the problem i described above appears...

It happened on Slim Bean and Liquid Smooth ROMS....

TIA for any help
[XDA-University] Red Devil:
you can also try make otapackage.. see how that goes..
[XDA-University] Ryuinferno:
Lunch does not compile anything...read this for more info: http://wiki.cyanogenmod.org/w/Envsetup_help
[XDA-University] judas1977:
@up

TY, TY! How stupid I am;)

Ok, compiling in progress, we will see what will happen:)

Thank you again...

Wysyłane z mojego GT-I8160 za pomocą Tapatalk 2
[XDA-University] warface123:
[MENTION=4922752]mithun46[/MENTION] I have synced CM 10.1.

But my device is not supported.

How can I still compile it ?
[XDA-University] AndyFox2011:
Okay some places say that you can't compile on 32bit, and other places say you can. ... does anyone know for definite? Or should I just try it and find out?
[XDA-University] Toni5830:
I've always read that you can compile android 2.3 or lower on 32bit, but for 4.0+ you need a 64bit os

Sent from my N73 using Tapa
[XDA-University] AndyFox2011:
I read that too, but i've seen a lot of people say you can compile 4+ on 32bit, i get the feeling it maybe the kernel that doesn't compile on 64bit...

I normally use my desktop on 64bit but i find myself with a 32bit laptop that i could recondition to use as a dedicated build pc..
[XDA-University] trevd:
The reason for this is because some of the projects found in the external directory require 64 bit build environments, However Android is currently built with the -m32 compiler flag so even though a 64bit environment is required all code is compiled to 32 bit ( AFAIK )

Again AFAIK There's numerous patches out there that will (re)enable building later versions of Android on a 32 bit OS should you require it.

Hope That Helps :)

[MENTION=4265689]AndyFox2011[/MENTION] [MENTION=4576707]Ryuinferno[/MENTION]

EDIT: Just to make this a little more concrete
[XDA-University] Ryuinferno:
Good explaination..:)...will be using this for clarifying similar questions...
[XDA-University] AndyFox2011:
That is a great help! Thanks mate :)
[XDA-University] pritm:
Will it work for lava xolo q700

Hi, I have xolo q700 and i wish to bould a CM rom for it. So wanted to know if this method will work for it or not. Or even better has anyone tried it..

P.S

xolo q700 is a Mediatek mtk 6589 device.
[XDA-University] RohanAJoshi:
i m completely noob on ubuntu.

1st step says download sdk, while sdk shows me 400+ mb size, but I downloaded only sdk tools with 90mb size.

what i got is tgz package, what i need to do next ?

stucked.
[XDA-University] judas1977:
Hello again, i have two sets of compilation errors. Assuming, that i found that errors on pastebin - i'm not the only one...

*

I tried to compile CM10.1, and the result were errors, breaking compilation process:

*

frameworks/base/core/java/android/app/admin/DeviceAdminInfo.java:411: error 101: Unresolved link/see tag "#USES_POLICY_ENFORCE_MMAC" in android.app.admin.DeviceAdminInfo

frameworks/base/core/java/android/app/admin/DeviceAdminInfo.java:411: error 101: Unresolved link/see tag "#USES_POLICY_ENFORCE_SELINUX" in android.app.admin.DeviceAdminInfo

frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.java:104: error 101: Unresolved link/see tag "TelephonyManager#NETWORK_TYPE_DCHSPAP TelephonyManager.NETWORK_TYPE_DCHSPAP" in android.telephony.NeighboringCellInfo

frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.java:166: error 101: Unresolved link/see tag "TelephonyManager#NETWORK_TYPE_DCHSPAP TelephonyManager.NETWORK_TYPE_DCHSPAP" in android.telephony.NeighboringCellInfo

*

That is copy-pasted from pastebin (not mine), but the errors are EXACTLY the same, all four (when trying to compile slimbean - there were only two last errors)

*

I found couple of pastebin entries with those errors, which mean that i'm not only one with it, but solutions on some forums aren't clear enough to me...

*

I found solution for last two errors on some chinese forums (that solution was copy-pasted trough that forums, because was exactly the same, with the same spelling errors:)):

*

2 crrect the file NeighboringCellInfo.java

$ vim frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.java

3

27 //import static android.telephony.TelephonyManager.NETWORK_TYPE_HSPA;

4

:%s/DCHSPAP/HSPA/g

:wq

5

$ make**

*

i think that i'm supposed to change line 27 in NeighboringCellInfo.java, but i don't know exactly how (adding two slashes?)

and i don't understand point 4 of that solution completely ^^

*

Other solution says, that i should delete some "@hide" from TelephonyManager.java or sth, but it didn't help too (but i didn't perform "make clean")

*

For last two errors - i believe, that my country doesn't support that DCHSPAP type of network, so maybe reverting commit adding that type of network could help (if so - how to do it "automatically"?).

*

I found solution for the first two errors too, but it didn't helped much also:

*

The error is fixed by adding '$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)' into device configuration file.

*

but where? We have such line in "full_device.mk": full_codina.mk, but its "full_base_telephony.mk".

I checked some other phones and that's full_base_telephony.mk too...

*

So, if someone could help me to get rid of those errors - i'll be grateful.

TIA
[XDA-University] mithun46:
<removed>
[XDA-University] Ryuinferno:
As a RC, you should very well know that asking for donations isn't allowed in XDA...:o
[XDA-University] soccerfan6789:
Removed
[XDA-University] bobthecooldad:
i have a device that isnt supported by cyanogenmod (no previous rom) and there is no blobs how would i do the step with finding blobs or is there another way to make roms
[XDA-University] slicingtaco:
You mentioned that our devices have o be officially supported by CyanogenMod, what if they aren't but we still have a work source with a somewhat almost working tree?
[XDA-University] mithun46:
Then use that. roomservice it
[XDA-University] trevd:
Did anyone order a setup script for a saucy salamander? No? Oh well!

https://github.com/trevd/android/blob/master/init_android_dev_lite.sh

Hack on folks :good:
[XDA-University] tribual:
Hi!

I have bought a POMP W99 Phone ( http://en.comebuy.com/cell-phones-om31958.html ) .

What are the first steps to port anything like PACman or LiquidSmoth or CM?

I'm new to this and want to lern, but need help. If there is anyone who can help me, this would be very nice! :laugh:

THX and Greetz

tribual
[XDA-University] afi1982:
Hey everyone , i have Q for you.. my device (xperia x8) has cm10 source up and runinig for some time but it stoped there so i want to know if the device tree from cm10 are going to be a good base for cm10.2 ? xan someone help me to get it work?

thank you all.
[XDA-University] whitemamba:
Hello guys!

I have an error at brunch:

EDIT: FIXED BY DELETING EVERYTHING AND RESTARTING
[XDA-University] misterjaytee:
Nice script!

Just one minor thing - The print_status function is missing (doesn't stop the script from working though).
[XDA-University] erlucky:
Hi all

I have error with my cm10.2 compilation

My device not supported to cm

Huawei G510 u8951

Thank you.
[XDA-University] matt95:
If it's not supported you have to edit many files by your own to get it running on your device...
[XDA-University] Akhil:
Hello guys!

I am trying to build aokp for my device (Exynos S4).So i was downloading the aokp source but dont know why its stuck now from hours, its not showing any error. My internet connection is working fine.

I am running ubuntu 13.10.

Any suggestion?

Here's pic of it.
[XDA-University] trevd:
You probably need to use less -j with your sync command. It seems github has been getting a bit upset lately if you try to use -j16 .

repo sync -j8

You can also add the --trace switch to get a more verbose output from repo

repo --trace sync -j8
[XDA-University] lackyking:
deleted!
[XDA-University] Settaz:
I'm trying to build CM 11 and upon doing brunch I get the following error:

device/samsung/jf-common/irda/irda.c:25:27: fatal error: irda/hardware.h: No such file or directory
compilation terminated.
make: *** [/home/michael/android/system/out/target/product/jfltevzw/obj/SHARED_LIBRARIES/irda.msm8960_intermediates/irda.o] Error 1
make: *** Waiting for unfinished jobs....

Device: Samsung Galaxy S4 (jfltevzw)

Btw, I've gotten the proprietary blobs via ADB and TheMuppet guthub. I tried both, I've started my whole process over 3 times already. Not sure, what I should do to fix this, if there is anything that I can do.
[XDA-University] :
I'm not sure but after syncing finish.The folder is empty without any files at all but it still occupies the space.Can somebody please help me because i spent a long hour waiting for it to finish :(
[XDA-University] ktempleton:
It didn't finish or you would have files in there do repo sync again and watch it for errors
[XDA-University] Ryuinferno:
All the files are in a folder called .repo (hidden, Ctrl+H to reveal)...repo sync again and they'll be checked out...
[XDA-University] zscomp:
In the op says:

Just an observation :cool:
[XDA-University] whitemamba:
Apparently, this zcat problem is harder than it looks...

The zcat in OS X (which I develop on) is broken, so I had to use gzcat.

If I use zcat, there will be a "ramdisk.img.Z" not found error, as zcat appends a .Z file. gzcat will not have this problem.

So, I had to delete the zcat file, and replace it with a copied gzcat file.

However, the same error occurs!

I don't know why! I am basically doing the same thing (as the zcat and gzcat files are the same!), but getting different results? Am I going insane?

It seems like OS X remembers the old zcat file! I restarted a few times, but nothing! This error is driving me crazy! I did all the right stuff, but still got it wrong!

I checked by looking at the gzcat and zcat versions, and they both output the same version!

What do you make of it? I am really really pissed by this. Such a stupid error has stopped me when I am so so close!

I am really shaking my head now... :confused:

Solved: copy zcat from Ubuntu /bin directory to OS X
[XDA-University] PhilAd:
Hi,

I'm trying to build AOSPA for Xperia Z.

EDIT: Solved the last error and some following. At the moment I'm getting this error:

make: *** Keine Regel vorhanden, um das Target »kernel«, (No Rule, for the Target 'Kernel')
benötigt von »/home/pa/git/aospa/out/target/product/c6603/kernel«, zu erstellen. Schluss. (Required by '....' End.
make: *** Warte auf noch nicht beendete Prozesse...
logtags: /home/pa/git/aospa/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/src/src/java/com/android/internal/telephony/EventLogTags.java <= frameworks/opt/telephony/src/java/com/android/internal/telephony/EventLogTags.logtags
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
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.
[XDA-University] Great_Geek:
Your problem has nothing to do with proprietary blobs. It's missing a file / bad file location. Either way, try repo syncing again, or if you're developing, make sure you're pulling the required dependencies for irda
[XDA-University] winxuser:
The error I get while tying to compile also is

No rule to make target.... It always happens when it tries to compile the kernel..
[XDA-University] WildfireDEV:
If you could post a Lin to paste in with your error or post it in this thread. Everyone can take a look at it.

P.S. I accidentally pressed the thanks button when trying to quote you so you now have a extra thanks. :):)

Sent from my HTC One
[XDA-University] winxuser:
sure i will start the compile,,, it will stop straight away, heres the error

make: *** No rule to make target `out/target/product/i9305/kernel', needed by `out/target/product/i9305/boot.img'. Stop.

---------- Post added at 04:00 PM ---------- Previous post was at 03:58 PM ----------

typing make -jx otapackage it wants to compile the kernel first but it just comes up with that,, but if i type make -j it will compile all other things till other errors come up,
[XDA-University] WildfireDEV:
Are you sure that you have the kernel in the right place with the right folder names.

Sent from my HTC One
[XDA-University] winxuser:
i had to use a prebuilt kernel,,, it didnt compile one
[XDA-University] WildfireDEV:
Try and see if you can find a folder called kernel if so then look for Samsung and then inside there look for smdk4412. Then copy the kernel file inside there to where it is needed.

Sent from my HTC One
[XDA-University] winxuser:
here is another build error,, this is building AOSP kitkat

target thumb C++: gralloc.exynos4 <= hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp

hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp: In function 'int gralloc_lock(const gralloc_module_t*, buffer_handle_t, int, int, int, int, int, void**)':

hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:385:17: error: 'GRALLOC_USAGE_YUV_ADDR' was not declared in this scope

hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp: At global scope:

hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:476:1: error: 'gralloc_module_t' has no non-static data member named 'getphys'

make: *** [out/target/product/i9305/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/gralloc_module.o] Error 1

make: *** Waiting for unfinished jobs....

winxuser@winxuser-Presario-CQ61-Notebook-PC:~/kitkat$
[XDA-University] Toni5830:
Check here, worked perfectly for me http://superuser.com/questions/517218/how-do-i-install-gcc-4-7-2-on-os-x-10-8

Sent from Italy using Tapatalk
[XDA-University] sandbaky:
very nice
[XDA-University] :
Can anyone help me in creating a local_manifests file? I know the location of all the sources required but can't figure out how to create the file.
[XDA-University] Red Devil:
I have a guide on the same linked in my signature
[XDA-University] :
Thanks for that guide; I used it and managed to create the following file:

<manifest><project name="Exothermic/android_device_samsung_codina-common" path="device/samsung/codinavid"/><project name="Exothermic/android_kernel_samsung_codina-common" path="kernel/samsung/codinavid"/><project name="Exothermic/android_vendor_samsung_codina-common" path="vendor/samsung/codinavid"/></manifest>

but when I run the breakfast codinavid command, it results in:

"breakfast codinavid

including vendor/cm/vendorsetup.sh

ls: cannot access device/*/codinavid/cm.mk: No such file or directory

build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_codinavid". Stop.

Device codinavid not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

Repository for codinavid not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.

ls: cannot access device/*/codinavid/cm.mk: No such file or directory

build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_codinavid". Stop.

** Don't have a product spec for: 'cm_codinavid'

** Do you have the right repo manifest?"

and I did run the . / build/envsetup.sh command prior to running breakfast codinavid.
[XDA-University] Red Devil:
That is because you have to set up the make files .

What I do is to :

Add device tree in android_device_oemname_devicecodename

Then I add kernel source in kernel_oemname_devicecodename

Then I edit boardconfig to point at kernel source

then go to vendor/cm/products and add devicename.mk (if you have a device readymade then you will find it with it or you can kang another similar devices... you will have to use your logic on this one)

then I edit androidproducts.mk

edit vendorsetup.sh and then brunch..

if there's something else, then I use common sense and edit it.. this guide is a bit different from my technique and this guide is mainly for offiically maintained devices..