yashsingh1/xdaforums huggingface dataset:
[XDA-University] regalstreak:
Go to vendor/cm/config

Just open common.mk

And disable CMAudioService

(Put a hash)

Its disabled. Use the pro tip. Commit: Disable non working projects

regalstreak
[XDA-University] Eurofighter_ty:
I forgot that commit when I applied the fixes for the build and chipset :D

---------- Post added at 00:48 ---------- Previous post was at 00:41 ----------

[MENTION=5325978]regalstreak[/MENTION]

Another make failed:

http://pastebin.com/Jc5WtnkZ

This time I can't see the error so I copied all the logs :D

Thanks !

make clean should do the trick ?
[XDA-University] regalstreak:
Use hastebin. Better.

Ugh ill do this tomortow its 4am here

regalstreak
[XDA-University] Eurofighter_ty:
solved !
[XDA-University] P4Block:
I'm encountering the same error, what did you do?
[XDA-University] nicesoni_ash:
Editing amd removing and writing solved isn't a good method. Instead if only you could add in the end of ur post what u did to solve it will be helpful for others.

Sent from my "1+2" powered by Unofficial RR

Compiled by myself.
[XDA-University] Eurofighter_ty:
[MENTION=4659955]nicesoni_ash[/MENTION]

If someone gets out of memory error just edit the jack-admin file and at JAVA ARG add: -Xmx4096M

and now my build breaks (one week ago did work without a problem)

https://paste.omnirom.org/view/861138c8

javac: file not found: /home/maxh/android/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/cyanogenmod/platform/Manifest.java

FAILED: /bin/bash -c "(rm -f /home/maxh/android/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates/classes-full-debug.jar )

These are some of the errors.
[XDA-University] bigsupersquid:
building cm14 yesterday I got OOM error. 16GB RAM! no way I was really OOM.

I was lucky enough to be able to mka bacon again right after the build crashed without further issue, but I appreciate you posting a fix.
[XDA-University] Eurofighter_ty:
If doesn't work with 4096 increase it to 5500. Did encounter my problem above regarding bin bash error ?
[XDA-University] bigsupersquid:
Haven't tried adding the variable yet, I've only run into the OOM problem once now since getting that RAM. It's just nice to have a fix available if it pops up again.

but no, no other build errors since cm14 mostly stabilized a week or so ago.
[XDA-University] Eurofighter_ty:
You need to build telephony-ext by modifying some file from device directory
[XDA-University] lovebirdi:
Im building RR rom for Galaxy note 3 N900 exynos, i have manually synced all the repos including device tree etc but always getting stuck at this error
[XDA-University] MZO:
Your tree isn't being picked up by Lineage, are you sure you have all the dependencies?
[XDA-University] lovebirdi:
Thanks, i solved it and yes i was missing something.
[XDA-University] Faye Reagan:
I build RessurectionRemix Marshmallow Sultanized-CAF for my 1+3T, it will boot only when i'm not flashing any GApps.

Anyone experienced this issue? Where did i go wrong?
[XDA-University] vijer:
Is this a command to run in the Terminal or are these separate libraries we need to install? If I enter this in a terminal window I get an error "g++-multilib: command not found".

Thanks
[XDA-University] DiamondJohn:
To "get" these packages, prefix the line list of packages with "sudo apt-get -y install"; within the terminal.
[XDA-University] vijer:
Frustrated

According to my Synaptic package manager g++-multilib 4:5.3.1 is installed but the command keeps returning this error "g++-multilib: command not found"

Any suggestions?

Thanks for your assiatance
[XDA-University] DiamondJohn:
web search: https://duckduckgo.com/?q=g++-multilib+apt+get+install&atb=v27-4_k&dbexp=a&ia=qa

I personally installed the following (limited to "multilib" ref) for LOS 13.0 & LOS 14.1. Both working.

sudo apt-get -y install g++-multilib gcc-multilib

I think the version number you are specifying is just the expected version that would be installed as at the time your source info was written. The space in itself looks wrong.
[XDA-University] RemusW:
Hi i am having the same error message and thus far been unable to work out what is missing. Can i ask you lovebirdi what was it that was missing for you ?

Or if anyone else has an idea what is missing I would be very grateful.

Thanks in advance for any help you can give me on this.
[XDA-University] walid77dz:
Hi, thanks for this guide.

I want to know if there is a " videos guide" to learn compiling cwm recovery for any android device. Thanks in advance

sent from my lenovo K10a40
[XDA-University] carloswb:
Hi,

I understand this guide is for compiling from any CyanogenMod and CyanogenMod source-based source for any phone. I have two questions:

What steps would need to change (or to be added) if we were compiling from the master branch of the AOSP instead?

I can't seem to find a tutorial of how to do it. I am not being able to connect the dots from different sources (being in a bit of an hurry doesn't help it...).

I want to build a custom ROM to a device and need to know what I need to ask the vendors for. I understand I might need to create modules and devices for the HAL (and something else? answers to question 1 might help on this) because it is not an officially supported device.

What do I need to ask the vendor for and in which format?

Do providers usually make drivers available in the format Google does?

I have already spent a lot of time looking for answers here, at the official AOSP page and all over the web, reading and watching videos. There's always something I don't understand. This guide seems to be a very nice starting point. I would be very thankful if someone could help me on this one! I am a software engineer, don't worry about some technical stuff. I just do not have any experience, yet, with embedded systems.

Thanks!
[XDA-University] nix0datta:
getting the proprietary blobs

can we get the proprietary blobs without extraction from the device?

if yes:), could you please explain how....
[XDA-University] sgspluss:
Just search proprietary_vendor_lg/samsung/motorola or any other phone on google or best known themuppets on guthub.

If you have any custom roms for your device, you can also look into the devs github, there you should also find the vendor.
[XDA-University] nix0datta:
Thank you for your help,??
[XDA-University] bunnyy:
Did you find the fix?? I'm facing the same issue

ninja: error: '/home/buns/Slim7/out/target/common/obj/JAVA_LIBRARIES/telephony-ext_intermediates/classes.dex.toc', needed by '/home/buns/Slim7/out/target/common/obj/APPS/Settings_intermediates/with-local/classes.dex', missing and no known rule to make it

---------- Post added at 04:37 AM ---------- Previous post was at 04:35 AM ----------

Please Help Anyone.....
[XDA-University] bunnyy:
I fixed it anyways thank you[emoji1303][emoji1303]
[XDA-University] rajit:
any way to fix this?
[XDA-University] speed_bot:
Remove the reference to that line in overlays
[XDA-University] reef2009:
It's a long time ago with active Rom building.

Can anyone help me starting?

1. Does someone have the manifest for the HTC Sensation or do I only need to enter:

2. Anyone the source of AOKP 4.2?

3. Does the source include a "working" kernel? In my N7 I needed to flash another kernel to get it working.

thnx guys!!
[XDA-University] mithun46:
aokp's device tree for some devices are brocken
[XDA-University] femmyade2001:
mithun46, Thanks for the instructions...very very helpful! Do you think you can get the manifest for an "Acer Iconia A500"?
[XDA-University] mithun46:
i think this

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="teamhacksung/buildscripts" path="buildscripts" remote="github" revision="jellybean">

<copyfile dest="build.sh" src="build.sh" />

</project>

<project name="TheMuppets/proprietary_vendor_acer" path="vendor/acer" remote="github" revision="cm-10.1" />

<project name="CyanogenMod/iconia-dev/android_device_acer_a500" path="device/acer/a500" remote="github" revision="jb-aosp" />

<project name="iconia-dev/android_device_acer_t20-common" path="device/acer/t20-common" remote="github" revision="jb-aosp" />

<project name="iconia-dev/android_kernel_acer_t20-common" path="kernel/acer/t20-common" remote="github" revision="2.6.39" />

</manifest>

. ask a dev in your iconia community is the above manifest correct
[XDA-University] femmyade2001:
Thanks mithun46. I will give it a shot.
[XDA-University] chinajjb:
May I get the LOCAL MANIFEST .xml files from you?,I really don't know how to write this file for an unsupported device,my devices is viewsonic n710.

for example:

<manifest>

<project name="CyanogenMod/android_device_lge_p990" path="device/lge/p990" remote="github" revision="jellybean"/>

<project name="CyanogenMod/android_device_lge_star-common" path="device/lge/star-common" remote="github" revision="jellybean"/>

<project name="CyanogenMod/lge-kernel-star" path="kernel/lge/star" remote="github" revision="jellybean"/>

<project path="vendor/lge" name="TheMuppets/proprietary_vendor_lge.git" remote="github" revision="jellybean"/>

</manifest>

this content is for lge p990,will it work if I simply replace lge_p990m with viewsonic_n710??

I highly doubt it!
[XDA-University] speed_bot:
that wont work..these manifests corresponds to their github device trees
[XDA-University] sevenup30:
yeah i was confusing, i'm building p5110 but the file is in the p5100 :p

edit::

Wow, the build process end without any error,but i have a package which is 57Mb sized :o

inside i have few app only one framework, wtf?

to build i have to type

. build/envsetup.sh
breakfast
make bacon

right ?

but the i also have the same package but this one is named OTA_.... is it only a patch to apply onto cm10.1 ?
[XDA-University] xueyufei:
for the beginners, there is a part need update to a new version, libwxgtk2.6-dev=> libwxgtk2.8-dev, otherwise will return error and interupt the intallation

sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python
[XDA-University] speed_bot:
type make -jx otapackage for a complete flashable zip
[XDA-University] mithun46:
OP updated for new packages . thnx to xueyufei
[XDA-University] sevenup30:
thank you, but still ota 55Mb :/

i attached the installed-file.txt
[XDA-University] limzm:
Anyone know how do I generate a proper proprietary-files.txt or do I have to edit it manually?

If I have to edit it manually, how do I do it?
[XDA-University] speed_bot:
try this brunch (device name)

ex

brunch beni

brunch cooper
[XDA-University] sevenup30:
i tried yesterday,

as they said on cyanogen wiki

when i do brunch p5110 it say: no specific device found for baked_p5110,

so i just do brunch then choose p5110 and the same result,

i also build p5100 same result, only 55mb zip with few app & one framework .
[XDA-University] mithun46:
does it have updater-script? if yes post here . let me see
[XDA-University] pratyush795:
OP:

To copy-paste in the terminal, use Shift-Ctrl-C and Shift-Ctrl-V. Works like a charm.
[XDA-University] mithun46:
also mouse highlight + mouse middle click in terminal
[XDA-University] sevenup30:
yes it have, i'll give you when back at home in few hour thanks
[XDA-University] phobixm1:
Thanks for the instructions. They worked flawlessly for me :)

Would it be possible to get a manifest for CM 10.1, Samsung Galaxy SII (T989d Hercules)?
[XDA-University] mithun46:
is it i9100?
[XDA-University] phobixm1:
No, The i9100 is the international version of the galaxy SII. The T989 (Hercules) is the tmobile variant of the Galaxy SII, it features a Dual-core 1.5 GHz Qualcomm APQ8060 as opposed to the cortex A9 of the i9100.
[XDA-University] sevenup30:
there the updater-script
[XDA-University] thebogmonster:
Hi,

Would it be possible to get the local manifests for both the HTC Sesnsation (pyramid) and the HTC Desire Z (Vision) ?

Thanks in advance

:)
[XDA-University] mithun46:
did u get correct device/kernel/commons??
[XDA-University] mithun46:
will look 2morrow. am tierd toay
[XDA-University] phobixm1:
Thanks
[XDA-University] sevenup30:
yes,

https://github.com/CyanogenMod/android_device_samsung_p5110

https://github.com/cyanogenMod/android_kernel_samsung_espresso10

https://github.com/cyanogenmod/android_vendor_samsung_p5110

local_manifest.xml

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<project path="device/samsung/p5100" name="android_device_samsung_p5100" remote="cm" revision="cm-10.1" />
<project path="device/samsung/p5110" name="android_device_samsung_p5110" remote="cm" revision="cm-10.1" />

<project path="kernel/samsung/nespresso10" name="android_kernel_samsung_espresso10" remote="cm" revision="cm-10.1" />
</manifest>
[XDA-University] mithun46:
Will do in 2 or 3 hours bro
[XDA-University] ruhban.shah:
Local Manifest For Micromax A110

Hi,

Thanks a lot for this tutorial. But could you please provide me with the local manifest file for MIcromax A110.

I tried to figure it out myself but couldn't get the hang of it.

Would really appreciate your help..

Note: Am not sure if its usefull but "https://github.com/icevoux/kernel_mediatek" is the link for kernal.
[XDA-University] mithun46:
no mediatek is not supprted by any cyanogenmod
[XDA-University] NickSaul:
Does anyone know where the proper place to suggest/request a new feature to the CyanogenMod team is?

I feel like just commenting on one of their Google+ posts is not gonna do it.
[XDA-University] sswb27:
Where would i find the manifest for the sgs3 d2tmo, or could you help me make one?
[XDA-University] thebogmonster:
Much appreciated! :)
[XDA-University] mithun46:
i cant do any help for a week or 2 week becoz i am going to my country(india) for vacation .

spped_bot will help here
[XDA-University] mithun46:
try to pm entropy512
[XDA-University] mithun46:
Sorry bro . i did not find any device tree for you device
[XDA-University] mithun46:
Sorry bro . i did not find u can pm any developer in your community for local manifest
[XDA-University] mithun46:
is it international version . ie : i9300
[XDA-University] speed_bot:
i feel honoured to help here
[XDA-University] ktempleton:
Hey my man these guys can probably help you get what you need

http://xdaforums.com/showthread.php?t=1798056
[XDA-University] mithun46:
thank you brother
[XDA-University] mithun46:
no. it wont work. his mobile is tmobile not skyrocket nor at&t
[XDA-University] ktempleton:
They can probably find it trust me I know those guys and I think they can help
[XDA-University] mithun46:
ok friend. i trust you
[XDA-University] sevenup30:
so, do you guys have an idea why building baked rom end with an OTA package 55mb size?
[XDA-University] mithun46:
can you give the link to baked rom github and also can you give your manifest here and also your net speed
[XDA-University] :
remote: aborting due to possible repository corruption on the remote side.

fatal: early EOF

fatal: index-pack failed

i'm getting this and i tried every possible sultion and it's not working

BTW it start happning in the past two days
[XDA-University] mithun46:
it is happening to me also , cyanogenmod is upgradin their repository .
[XDA-University] sevenup30:
https://github.com/teamBAKED

manifest.xml

attached

local_manifest.xml

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<project path="device/samsung/p5100" name="android_device_samsung_p5100" remote="cm" revision="cm-10.1" />
<project path="device/samsung/p5110" name="android_device_samsung_p5110" remote="cm" revision="cm-10.1" />
<project path="vendor/samsung/p5110" name="android_vendor_samsung_p5110" remote="cm" revision="cm-10.1" />
<project path="kernel/samsung/nespresso10" name="android_kernel_samsung_espresso10" remote="cm" revision="cm-10.1" />

</manifest>
[XDA-University] phobixm1:
Thanks, I will check in that thread. I do have a manifest but for CM 10...Could this be helpful to use as a basis for developing one for CM 10.1? Sorry for the Noob questions but I am totally new to this.
[XDA-University] mithun46:
Found your mistake!!

you just made the manifest without searching!!

did u check github before making manifest??

is your tablet wifi only.

then i have solution for you brother
[XDA-University] sevenup30:
Ok you point me to the right direction, i have to build p5wifi right? :D

you're right i feel stupid lol, just search for p5 on their github and i have kernel / device / vendor -_-

i feel stupid cuz i search like 20mn on their github without fiding my device lol i was looking for p5110 :D
[XDA-University] AFAinHD:
Ive got a very serious question here and i'm sorry if it is dumb. Would it be possible to compile a CM10 ROM for the lg doubleplay with this guide?
[XDA-University] jamal2367:
My Build stops at the kernel is this normal ? i'm waiting 20 minutes ....

Fetching projects: 98% (353/360) Receiving objects: 21% (1790/8292), 63.92 MiFetching projects: 99% (357/360) Receiving objects: 14% (99620/683446), 71.52remote: Total 8292 (delta 4817), reused 7662 (delta 4363)

Receiving objects: 100% (8292/8292), 255.69 MiB | 140 KiB/s, done.

Resolving deltas: 100% (4817/4817), done.236.88 MiB | 593 KiB/s

From git://github.com/TheMuppets/proprietary_vendor_samsungKiB/s

* [new branch] cm-10.1 -> github/cm-10.1

remote: Total 2071617 (delta 1729751), reused 2067152 (delta 1728013)

Receiving objects: 100% (2071617/2071617), 458.30 MiB | 78 KiB/s, done.

Resolving deltas: 100% (1729751/1729751), done.

From git://github.com/CyanogenMod/android_kernel_samsung_smdk4210

* [new branch] cm-10.1 -> github/cm-10.1
[XDA-University] phobixm1:
Unfortunately, I have too few posts to be able to post in the that forum...:silly: :LOL

Can someone else post on my behalf???

Following is the manifest for the T989 for CM10...Any chance this could be adapted to CM 10.1?

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="CyanogenMod/android_device_samsung_hercules" path="device/samsung/hercules" remote="github" revision="jellybean" />

<project name="CyanogenMod/android_kernel_samsung_msm8660-common" path="kernel/samsung/msm8660-common" remote="github" revision="jellybean" />

<project name="CyanogenMod/android_device_samsung_msm8660-common" path="device/samsung/msm8660-common" remote="github" revision="jellybean" />

<project name="TeamChopsticks/hercskytools" path="hercskytools" remote="github" revision="jellybean" />

<project path="vendor/samsung" name="TheMuppets/proprietary_vendor_samsung" remote="github" revision="jellybean" />

</manifest>
[XDA-University] hecantbreathe:
Could you build me a local manifest for sch-i515 the Verizon Gnex? Want to try to build AOKP. Please and thank you.
[XDA-University] ktempleton:
I've already sent some pm s to one of those guys I would suggest looking up the kernel and what changes you need to make my phone isn't supported either and I'm working on 10.1 there is a way to update your tree to 10.1 branch on github set up an account and fork the needed files and start researching the changes don't expect a quick easy build our kernel is having display driver issues I've been working on mine for over a week and still haven't completed a build yet also check cyanogen because I believe most of that stuff in your manifest has a10.1 branch download the source because you can't build anything without that
[XDA-University] mithun46:
ok use p5wifi and check bro

u can compile for any phone if it has a device source tree

which phone are you building for?? and close your terminal then restart it . then u cd to folder then repo sync again
[XDA-University] mithun46:
use the same manifest for cm10.1

as it jb4.2 and jb4.1 there are no big difference.

threre will be some problems in the rom sometimes as you are using different device tree branch.
[XDA-University] mithun46:
One Advice

After Making the Rom Don't Forget to link this thread in credits

Not Compulsory . But if u want u pls credit me​
[XDA-University] AndyFox2011:
Is there a command I can add to get it to compile and ignore errors?
[XDA-University] speed_bot:
im afraid to say this but no
[XDA-University] rachanta:
How to build aokp jb-mr1 rom for i9100?

I am an absolute newbee and want to build an aokp jb-mr1 rom for my i9100.

I have successfully done:

repo init -u https://github.com/AOKP/platform_manifest.git -b jb-mr1

repo sync

When I do:

. build/envsetup.sh && lunch i9100-userdebug

I get:

build/core/product_config.mk:211: *** No matches for product "i9100". Stop.

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

** Do you have the right repo manifest?

What do I do? Is there a good tutorial for me. I am below rookie level.
[XDA-University] sevenup30:
it dont work, for the good reason that baked_team call p5wifi the GT-P7310 "first gen 10.1 galaxy tab" so it's absolutely not made for the gtab 2 p5110 :D

i have to deal with cm device & kernel but i still dont understand why it only build the half of the rom...
[XDA-University] mithun46:
bro even if u got device tree correct . your other components in manifest dosent have a proper maker
[XDA-University] mithun46:
did u create the local manifest
[XDA-University] sevenup30:
Ok, so what am i supposed to do? edit files in device/samsung/p5110 to match with baked one?
[XDA-University] mlaws90:
I built CM 10.1 for grouper today and want to build AOKP, I repo sync'd AOKP's jb-mr1 branch. How does the terminal know which repo to build from? What is the build command for AOKP 4.2.1?

for CM 10.1 I did: brunch grouper

What command for AOKP?

Thanks for the awesome tutorial BTW!
[XDA-University] speed_bot:
same command but be in the path for aokp source.. i hope that you have kept them in different directories..
[XDA-University] ttibbetts83:
<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="teamhacksung/buildscripts" path="buildscripts" remote="github" revision="jellybean">

<copyfile dest="build.sh" src="build.sh" />

</project>

<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="jellybean" />

<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="jellybean" />

<project name="CyanogenMod/android_device_samsung_n7000" path="device/samsung/n7000" remote="github" revision="jellybean" />

<project name="CyanogenMod/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="jellybean" />

<project name="CyanogenMod/android_kernel_samsung_smdk4210" path="kernel/samsung/smdk4210" remote="github" revision="jellybean" />

<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="jellybean" />

</manifest>

will this manifest work for cm10.1 or does anything need to be changed
[XDA-University] mithun46:
I have sent u a PM check
[XDA-University] mithun46:
Bro building from scratch the kernel,device tree and all needs heavy work and a lot of help