yashsingh1/xdaforums huggingface dataset:
[XDA-University] limzm:
But the problem is it couldn't boot, which means logcat isn't initialised.
[XDA-University] sevenup30:
this is it :)

in fact there was already this file, but when i deleted all the products.mk to just have mine, i also deleted this one, i just grabbed it back from their github

https://github.com/TeamBAKED/vendor_baked/blob/jb-4.2/products/AndroidProducts.mk

the syntaxes is a little different but it works :)

Now i can start build and fixing issue -_-

thank you
[XDA-University] ktempleton:
No problem my man glad i could help
[XDA-University] AndyFox2011:
Gonna sound they a dumb question, but hey...

CM10 and 10.1 are both jellybean, so are the drivers the same? Can I use the CM10 device files to build 10.1?

Sent from my HTC Desire HD
[XDA-University] sevenup30:
i faced error during build, i tried to do a make -i, the building process goes to the end, but the package was not created because of errors.

So i restart building from start and now i have this error :

device/samsung/p5100/common-overlay/frameworks/base/core/res/res/values/config.xml:210: error: Resource at config_forceDisableHardwareKeyboard appears in overlay but not in the base package; use <add-resource> to add.

i looked into frameworks/base/core/res/res/values/config.xml , but i have nothing which reffer to forceDisableHardwareKeyboard in it !

any idea?

nevermind,

it was a config.xml to remove into device/samsung/p5510/overlay/framework/base/core/res/res/values/config.xml

i dont know why it was here, but it keep building now, until the next error :D
[XDA-University] :
hey i'm trying to build PAC rom but my device is not supported , have xperia x8 , what i need to do to make this work?
[XDA-University] speed_bot:
make a device tree without that you cant build..
[XDA-University] ktempleton:
Yes you can use the device tree that you already have but expect allot of work getting everything in place and don't expect it overnight
[XDA-University] :
ok here i have it https://github.com/OldXperiaTeam/android_device_semc_shakira

but where ? and how i make this work?
[XDA-University] ktempleton:
That device tree is in mr1 staging i would suggest you look for regular jellybean branch then use this tut to get started

Make sure when you get to the part where you init the repo that you search the thread and look for utackas repo

http://xdaforums.com/showthread.php?t=1863547
[XDA-University] :
this one - https://github.com/MiniCM/android_device_semc_shakira

?
[XDA-University] ktempleton:
As long as that's your phone your good to go
[XDA-University] AndyFox2011:
Okay, thanks :)

Sent from my HTC Desire HD
[XDA-University] cviniciusm:
Hello,

I would like to build for Motorola XOOM MZ605.

I'm using CM 10 and CM 10.1 repos'.

Generally, I use MZ601 everest custom ROM from CM 10 or Team Eos.

Can you make a local manifest file for me, please?

P.S.: BTW, happy new year!
[XDA-University] ktempleton:
Hey my man happy new year to you to. Now i think you should look up local manifest and get an idea of what it is and if you need help we will be glad to help

heres a copy of one i have built from to give you an idea of the layout

http://d-h.st/Kqq
[XDA-University] sevenup30:
i was wrong still same error :

device/samsung/p5100/common-overlay/frameworks/base/core/res/res/values/config.xml:210: error: Resource at config_forceDisableHardwareKeyboard appears in overlay but not in the base package; use <add-resource> to add.

this config.xml is only 65 line, any idea?
[XDA-University] Zeljko1234:
Then just add to path... Otherwise system and ./extract-files.sh doesn't know where is adb ;)
[XDA-University] LGariv:
wait a mintue, now i read somthing about that if i have the files from TheMuppets i don't need to do this. does it true?

---------- Post added at 02:35 PM ---------- Previous post was at 02:32 PM ----------

already add it
[XDA-University] Zeljko1234:
True :) I was just getting to edit my message with that. Of course blobs must be in /vendor/ directory.

Anyway, you may need fastboot or adb later so it's good idea to make a path. Obviously you add wrong path. Try with:

gedit ~/.bashrc

then add at end of file, for example:

Or where is your platform-tools folder.
[XDA-University] LGariv:
what to do now? now i get this ****ing error after "brunch i9100":

make: *** No rule to make target `vendor/samsung/galaxys2-common/proprietary/system/etc/wifi/bcmdhd_apsta.bin', needed by `/home/lgariv/Source/out/target/product/i9100/system/etc/wifi/bcmdhd_apsta.bin'. Stop.
make: *** Waiting for unfinished jobs....
[XDA-University] ktempleton:
Looks like you need your vendor files
[XDA-University] skinzy98:
So whenever I go to repo init -u no matter which directory I'm in it still trys to sync them to home/myusrname. I do the little option it gives me and it spits about a whole bunch of random junk and doesn't let me choose which place I want it. I tried the suggestion on the second page but couldn't get it to work either. Any help?
[XDA-University] LGariv:
what to do? i do everything right, but when doing brunch i9100, thats what iget:

View attachment 2526633

please help!
[XDA-University] Ryuinferno:
You are missing the propriety vendor files...get them from https://github.com/TheMuppets

Place under vendor/samsung...
[XDA-University] LGariv:
Already do that!
[XDA-University] LGariv:
Now I have this after repo sync
[XDA-University] Zeljko1234:
What about start building? ;)
[XDA-University] LGariv:
If U don't want to help me, please don't do that. Already do all what I need exactly like these guide. Thats what I get after brunch.
[XDA-University] Zeljko1234:
If you're answer to me, next time write that you have this after brunch, not after repo sync ;)

Be polite, this is not customer support with duty to help you. Otherwise you will not get answer at all.
[XDA-University] LGariv:
So what I need to do now
[XDA-University] LGariv:
What I need to do? The picture is the files in $OUT directory. I do everything right. Just need to build it. There is a tool for that or something? Please help me...
[XDA-University] Cuzz1369:
You didn't get the proprietary files. If you did then you didn't put them in the right place.

Sent from my hammerhead
[XDA-University] LGariv:
Yes I do that :confused:
[XDA-University] LGariv:
Does it matter if I install openJDK or oracle JDK?
[XDA-University] coloxim:
arch

noob question...

i'm using arch...

there is a guide for set environment in arch or is better use virtual machine with ubuntu?
[XDA-University] Zeljko1234:
Recommended and tested is Ubuntu 12.04 but you can try with another distribution, install what maybe missing and build.
[XDA-University] coloxim:
But How can I know the packages Name?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[XDA-University] jjhiza:
I ran into a similar issue a couple of months ago on Arch Linux... Granted, I had other reservations about the high maintenance nature of Arch, but the lack of documentation regarding Android building, had me frustrated. For now, I'm back in Mint 16, and things are great. Just my personal experience. :thumbup:
[XDA-University] coloxim:
Ok... I've understood..

;)

Inviato dal mio Nexus 4 utilizzando Tapatalk
[XDA-University] Zeljko1234:
For start, install listed packages in the first post, try to compile and if you get error, you may get the reason. If you successfully manage to build, make guide on xda :)

Or, just use another proved distribution.
[XDA-University] coloxim:
OK...I'll try ....

Inviato dal mio Nexus 4 utilizzando Tapatalk
[XDA-University] hhp_211:
wondering if anyone could offer up some guidance to what this error might be

Trying to build Omni rom for Samsung Fascinate

including ./Android.mk ...

/home/hhp_211/android/omni/out/target/product/fascinatemtd/obj/APPS/SignatureTest_intermediates

build/core/Makefile:70: warning: overriding commands for target `/home/hhp_211/android/omni/out/target/product/fascinatemtd/system/etc/permissions/android.software.live_wallpaper.xml'

build/core/Makefile:70: warning: ignoring old commands for target `/home/hhp_211/android/omni/out/target/product/fascinatemtd/system/etc/permissions/android.software.live_wallpaper.xml'

PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.

PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.

PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.

PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.

PRODUCT_COPY_FILES vendor/omni/prebuilt/etc/apns-conf-cdma.xml:system/etc/apns-conf.xml ignored.

No private recovery resources for TARGET_DEVICE fascinatemtd

device/samsung/fascinatemtd/shbootimg.mk:8: warning: overriding commands for target `/home/hhp_211/android/omni/out/target/product/fascinatemtd/boot.img'

build/core/Makefile:476: warning: ignoring old commands for target `/home/hhp_211/android/omni/out/target/product/fascinatemtd/boot.img'

make: *** No rule to make target `/home/hhp_211/android/omni/out/target/common/obj/PACKAGING/public_api.txt', needed by `/home/hhp_211/android/omni/out/target/common/obj/PACKAGING/checkapi-last-timestamp'. Stop.

hhp_211@buildbot:~/android/omni$

.
[XDA-University] VfBStuttgart27:
Can you help me?

Hi, I'm trying to build my first ROM (using this tutorial), but I've got a problem with the "repo init"-Command.

It always tells me:

smon@smon-VirtualBox:~$ repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2
Get https://gerrit.googlesource.com/git-repo
error: couldn't connect to host while accessing https://gerrit.googlesource.com/git-repo/info/refs
fatal: HTTP request failed

I'm using VirtualBox on Win7 with Ubuntu 12.04 LTS.
[XDA-University] Zeljko1234:
Are you sure that you VB machine has Internet access? Try browsing. You may change from NAT to bridged network.
[XDA-University] VfBStuttgart27:
Browsing is working generally, If I try to acess https://gerrit.googlesource.com/git-repo/info/refs it says Error: 406 (but that's the same in Windows).

Should I change it although?

Edit: Now I've tried, but the message is the same:(
[XDA-University] Zeljko1234:
Are you in right folder like ~/android/system/?

I suppose that you've done all earlier steps (download repo, make it executable...)
[XDA-University] VfBStuttgart27:
Yeah, I've done all previous steps exactly as given.

What do you mean with "~/android/system"? The repo script is in a folder called "bin" and I'm trying to put the source into a folder called "source".
[XDA-University] Zeljko1234:
You must be in folder where you wish to init repo. Something like:

zeljko@zeljko-ubuntu:~/android/system$ $ repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
[XDA-University] trevd:
Hi

You probably need to download repo manually.. Google moved it not so long back which probably explains your error. Try

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
sudo chmod +x ~/bin/repo

Then do brunch!

Hope that helps :D

For reference : http://source.android.com/source/downloading.html
[XDA-University] VfBStuttgart27:
Thank you... but the message is the same...:crying:
[XDA-University] skinzy98:
hi i really need some help. I am building LiquidSmooth for the samsung vibrant. I have been working with somebody who has built it for the vibrant before and i have made the necessary changes since it is not a supported device but this is the error im getting right at the end of the build.

target Dex: Gallery2

target Dex: Contacts

target Dex: Dialer

target Dex: Launcher3

collect2: error: ld returned 1 exit status

make: *** [/home/skinzy98/liquid/out/target/product/vibrantmtd/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1

make: *** Waiting for unfinished jobs....
[XDA-University] Zeljko1234:
How much memory and swap do you have?

Could be again that compiler just reached memory demanding part. According my experience, at least 2 GB or RAM and about 4 GB of swap is needed.
[XDA-University] skinzy98:
I have 81gb total cmpiling on Ubuntu 13.10 2gb of ram. Its not a space error as I have ran into many of those during this entire process
[XDA-University] Zeljko1234:
What's size of your swap? ;)

Sent from my DROID RAZR HD
[XDA-University] skinzy98:
How exactly do I check that? I don't remember setting a specific size. I just no I freed up that space and installed Ubuntu on it. So how do I check it? Thanks for your help
[XDA-University] Zeljko1234:
Start Disk Utility or in terminal type: cat /proc/swaps or use any other way (swapon -s, gparted...)
[XDA-University] skinzy98:
I have 3.1 GB swap partition. Just to let you know I have it dual booted with windows 7
[XDA-University] Zeljko1234:
You just need about half GB more of swap. To be sure let it be 4 GB all together.
[XDA-University] patraanjan23:
can you explain this part a little more elaborately? I don't understand which path to give? can you give me an example of how it's done? I mean giving a path where you're working.
[XDA-University] Zeljko1234:
Just go to the folder where is bin subfolder and type this command or you can add your full path.

To make it permanent after reboot:

$ gedit ~/.bashrc

then add:

export PATH=${PATH}:~/bin

Just experiment a little ;)
[XDA-University] Cuzz1369:
Help please. Using Ubuntu 13.10
[XDA-University] jjhiza:
1.) using pastebin or the code feature here on XDA would make things a little easier to read - just mentioning this for future reference.

2) the make error points to line 77 in your .../sepolicy_intermediaries/policy.conf. file. Follow the path, outlined in terminal, and check to see if there are spelling errors, misaligned text, or spaces where they shouldn't be.

Unfortunately, files do occasionally get messed up, even if you don't edit them. Check for those errors first, and make clean. Hopefully it's a quick fix... If you're still getting errors, report back. :)
[XDA-University] Cuzz1369:
It was an error on my part. Make gnu wasn't installed properly. I reinstalled and all went well. Thanks for the tips though.
[XDA-University] afi1982:
hey guys i'm compiling cm11 for xperia x8 and i have this problem when compiling ..

bionic/libc/include/string.h:108: error: undefined reference to '__memcpy_chk'

can you help me ?
[XDA-University] Olivier:
Do you use androidarmv6 repos?

Gesendet von meinem Xperia S mit Tapatalk
[XDA-University] afi1982:
yes I did.. I think that I fixed it but now when I run It i's crashing.. can you help me with that?
[XDA-University] skinzy98:
alright this will be a bit long. I had followed this guide and with some help from a friend successfully built liquidsmooth for the samsung vibrant. well literally the build completed and the machine ran out of space at the same time. so i moved the build to desktop and i was forced to get of the computer by my mother. she then shut the computer down and ubuntu corrupted. i then booted to windows and deleted the ubuntu partition. i didnt know i had to fix the boot partition with the installation disc and ended up completely wiping the computer and reinstalling windows. next i tried ubuntu gnome through a usb drive and it had glitches so i decided to go back to regular ubuntu. here i started to set up the build enviroment and was setting paths following another guide to install make gnu and python(still not completely sure how to do thay properly a guide would be lovely) alll of a sudden sudo, su, and ls were not recognized as a command nothing i did or googled worked permanately. so i wiped the partition fixed the boot partition and reinstalled the ubuntu again and just started using this guide. just got done installing the sdk and i went to install the 64bit only libs(the ubuntu is 64 bit but windows is 32) and it says the very first one is not a command. so i tried sudo apt-get and then the command and it says that it is incorrect. i tried the 32 bit and 64 bit system and that didnt work either. Does anyone know what could be going on? i have java jdk6 installed.
[XDA-University] lols21.10:
[MENTION=4922752]mithun46[/MENTION] can you tell me the size of cm10.2 source :confused::confused::confused:
[XDA-University] lols21.10:
And while compiling for my phone grand quattro i am stuck at this error

Import includes file: /home/himanshu/cm11/out/target/product/delos3geur/obj/EXECUTABLES/reboot_intermediates/import_includes
Export includes file: system/core/reboot/Android.mk -- /home/himanshu/cm11/out/target/product/delos3geur/obj/EXECUTABLES/reboot_intermediates/export_includes
make: *** No rule to make target `/home/himanshu/cm11/out/target/product/delos3geur/obj/SHARED_LIBRARIES/libril_intermediates/export_includes', needed by `/home/himanshu/cm11/out/target/product/delos3geur/obj/EXECUTABLES/rild_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....

Any help????
[XDA-University] jjhiza:
Wow man, that was a doozy of a read, lol. If I'm understanding you correctly, you're installing the 64bit Ubuntu on a 32bit machine, correct? If so, that's your issue right there... You can't compile Android in a 32bit architecture.

If I'm wrong, and you have a 64bit box, then I suggest following this guide, which has updated instructions, pertinent to 13.10 and its derivatives (Mint 16, Xubuntu, etc) - http://xdaforums.com/showthread.php?t=2224142. The guide is for building AOSP, but you can repo sync anything you want, when you get to the corresponding step.

As for building gnu and python, I wouldn't even bother if I were you...at least not in your build machine. If you want to learn how to do it, do so on another box. Just use "sudo apt-get install python" and "apt-get install gnu blah blah blah" (related libs) when necessary, and you should be good.

Also, how are you setting up you Ubuntu install? If you're losing the ability to sudo, you may not have set your home directory mount point correctly... It should be mounted as root or simply "/" (without quotes obviously), and should anyways be a primary directory. Hopefully this will help you, but if not, report back, and we'll try again. :)
[XDA-University] skinzy98:
Alright so part of it was correct for one the computer shipped with 32 bit but has 2 GB of ram and can run 64 bit that's what I successfully compiled on when Ubuntu corrupted. As for the second part thanks I didn't know that you could just run the sudo apt-get ins all pythonand i installed Ubuntu the same as last time I accidentally cha he'd the execution line and corrupted it

sent from the bottom of a red solo cup
[XDA-University] afi1982:
can someone help me? im trying to run cm11 on my device and that what i'm getting
[XDA-University] jdegreef:
Building CM 11.0 for P5100

Hi,

This is my first attempt at building a rom,

I try to build CM 11.0 for Galaxy Tab 2 10.1 and I've followed the guide at http://wiki.cyanogenmod.org/w/Build_for_p5100.

Everything went ok up until I made this step

source build/envsetup.sh
breakfast p5100

I get this :

jdegreef@nexus8:~/android/system$ breakfast p5100
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/samsung/p5100/cm.mk]]: "vendor/samsung/omap4-common/common-vendor.mk" does not exist. Stop.
Device p5100 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_samsung_p5100
Default revision: cm-11.0
Checking branch info
CyanogenMod/android_device_samsung_p5100 already exists
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_samsung_p5100

Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/samsung/p5100/cm.mk]]: "vendor/samsung/omap4-common/common-vendor.mk" does not exist. Stop.

** Don't have a product spec for: 'cm_p5100'
** Do you have the right repo manifest?

I have no idea on what's happening. I'm learning but currently I'm stucked :(

And this time Google was not my friend.

Any help would be appreciated..
[XDA-University] ibub:
You initially did not have device folder(s). Now try repo sync again, and try brunch again (or breakfast, or lunch, or whatever).
[XDA-University] :
When build is completed and zip is created it is named something like {build_name}_{date}.zip for example aokp_p760_kitkat_unofficial_2014-04-30.zip

Problem is, for me date isn't updated, i just build five minutes ago and its still named ...2014-04-30.zip

I tried doing . source/envestup.sh again but no luck

I also tried rebooting.

You may think, why would i care i could just rename it after.

Well i cant because, install script also contains date which is also no updated

Ant help is appreciated.
[XDA-University] Nico_60:
You have to make a clean build or if you want to do a dirty build delete build.prop in out folder
[XDA-University] :
Thanks:)
[XDA-University] a2441918:
No.1 u didn get prebuilts

No.2 u didn add vendors

After . build/envsetup.sh

Type this

cd vendor/cm

./get-prebuilts

cd ..

cd ..

lunch

device number

mka bacon -j8

Before that add your vendor to local manifest. Samsung vendor is in www.github.com/TheMuppets

Sent from my SOKP powered Galaxy S 4 i9500.

---------- Post added at 12:12 PM ---------- Previous post was at 12:05 PM ----------

Build isnt peoper. Do a clean build.

Sent from my SOKP powered Galaxy S 4 i9500.
[XDA-University] Cuzz1369:
Having some troubles. Everything builds fine for slim and works alright. Just the output .zip has no device name in it. All I get is slim-version and date.
[XDA-University] a2441918:
Did you make any changes to the common.mk present in vendor/slim/config folder? just remove the folder and resync and just mka bacon -j8 will do.

---------- Post added at 09:42 AM ---------- Previous post was at 09:40 AM ----------

Its too late mate. but did you include hardware/samsung in your manifest? libril is present there.
[XDA-University] judas1977:
Hello,

i have compilation error at very beginning of that process...

make: *** Brak reguł do zrobienia obiektu
`/home/batlin/android/sr/out/target/product/codina/obj/STATIC_LIBRARIES/libsysutils_intermediates/export_includes',
wymaganego przez `/home/batlin/android/sr/out/target/product/codina/obj/RECOVERY_EXECUTABLES/minivold_intermediates/
import_includes'. Stop.

It's popular issue "no rules to make target".."required for"...

I think it could be connected to (wrongly made?) TWRP adaptation, but i cannot find it by myself...

Looks like deleting some lines connected to minivold from system/vold/android.mk solves the error, but... what's that minivold?

what if i compile rom without it?
[XDA-University] störte:
Question was asked earlier already.
[XDA-University] judas1977:
@up

are you referring to my question? Coult you be so nice and point me the answer in that case (sorry, but searching engine is not working well and i don't want to check all 1000+ posts..
[XDA-University] judas1977:
Dirty kernel TAG

Hello...

I forked some repos of the ROM to my github. I made some changes to that repos, commited it and pushed the changes. Every changes are made on "original branch" - jb4.3.

In local manifest - just switched original repos with my own ones (all just like in original - jb4.3).

After syncing sources i didn't make any changes in ROM's sources, just made clean compilation.

BUT everytime kernel is tagged as dirty...

Is there a way to check which part of sources (repo) is making this troubles??

I just changes some repos to higher branch (kk), but i don't think that could be the reason (i changed recovery to kk version)...

Could someone help me to get rid of that "dirty" flag??

TIA.
[XDA-University] bigsupersquid:
things to try:

change to kernel directory

make clean

make mrproper

if it still shows dirty, you can

make clobber

in your main build directory.
[XDA-University] judas1977:
Hmm... i'll try. But i have the feeling that the cause is somewhere else... i make clean build everytime (building whole rom, not just the kernel).

Edit: jee, the.

There was strange uncommitted change in kernel source...

Nothing added by me, nothing that breaks synchronisation... Really strange, but my kernel isn't dirty anymore :)