Error while building cyanogenmod 12.1 - Android Q&A, Help & Troubleshooting

Hello guys,
I am trying to built cyanogenmod 12.1 for the Nexus Player("fugu").
I am using an ubuntu(15.04) system.
I have synced the source and followed the guide on the cyanogenmod wiki.
Unfortunately the building process fails, due the fact that I am completely new to ROM development , I have no idea how to fix this error.
I have not modified the source at all , it's a clean sync and I already tried to disable CCACHE and making a clean build.
You can find the console error output here : http://pastebin.com/EENLeua6
Additionally , I recieve some warnings at the start of the build process , you can find them here : http://pastebin.com/dDaR0JNx
Thanks for taking time to help me

Related

[Q] Building CM11

I'm trying to build CM11 for LG L9 P760.
I tried following some of the tutorials and reached the point where I synced the CM11 repo.
I've also pulled the device tree to vendor/lge/p760 from a git and used extract_files.sh to get the files from device.
But I don't know where to go from here. I tried brunch p760 and got the following output.
http://paste.ubuntu.com/6626112/
There is an error towards the end.
I am also confused whether to add the kernel source, and if i have to, where and how i have to add it.
It'd be really great if you guys could help.
thanks.
Thanks
Thanks Master

Creating a CM build for an old device that only has old CM support

I've been trying to figure out how to build Cyanogenmod from source for a few devices. I've looked at many tutorials and such, but I haven't been able to find one that explains how to build Cyanogen for a device that had an old version of Cyanogen but hasn't been updated since. For example, the official builds for a certain device only go up to 12.1, but I want to build it for 13.0. Does anyone have any advice?
spenceboy98 said:
I've been trying to figure out how to build Cyanogenmod from source for a few devices. I've looked at many tutorials and such, but I haven't been able to find one that explains how to build Cyanogen for a device that had an old version of Cyanogen but hasn't been updated since. For example, the official builds for a certain device only go up to 12.1, but I want to build it for 13.0. Does anyone have any advice?
Click to expand...
Click to collapse
I would recommend starting by using the device tree for your device that supports 12.1 and try using that tree to compile 13. To do this download the 13 code and put the 12.1 device tree in the proper folders (device, vendor, kernel) and try compiling a build and start seeing what errors you get. Let me know if you still have questions I'll do my best to help you out!

[help]getting device tree for new devices for cyanogenmod builds

Hello Everyone!
I had started building Cyanogenmod-11.0:angel: from source.I had sucessfully completed the repo sync and now searching for getting device tree but my device haven't had any builds at so finally I've found this Cyanogenmod porting guide.
Code:
https://wiki.cyanogenmod.org/w/Doc:_porting_intro[/URL]
I'am trying this guide to get device tree out my device.
Now, I've been trying Method-1 you can see image of method I'am using from attachments.
But I get errors can anyone help me.
https://wiki.cyanogenmod.org/w/Doc:_porting_intro

Building Android Rom from Scratch

Hi. I am having xiaomi redmi note 3(kenzo). I know a bit of java and c languages. I want to build android rom from scratch for kenzo. Not from the cyanogenmod, but from the google's source code. I need help finding proprietary binaries and tools required. I have installed ubuntu on vmware workstation 12 and done everything stated in "Downloading Source" section of source.android.com page. I need help in finding proprietary binaries and a little bit of assistance in making the rom bootable. I am no way building the rom from cyanogenmod sources, because i know i will end up building a nightlie of cm at max. please help. Thank you.

[Q] POSP suzu port stuck at logo during boot, audioserver error

Hi guys,
I've ported (or at least trying to) POSP to suzu (Xperia X) but I'm stuck in a bootloop caused by the audioserver service.
I've already tried changing the frameworks/av potato project to the aosp one (because aosp build and boot correctly with it) but I'm still stuck with the same error.
You can find the log taken from the bootloop device here.
If someone have an idea I'll be very grateful.
Thanks
0
Seppppx said:
By "ported" do you mean built from source? If yes sharing your trees would make it more easy to identify the error.
Do you have "system/bin/audioserver" in your ROM?
I suppose that's missing.
Click to expand...
Click to collapse
Yes sorry, I mean built it from source.
here my trees:
common tree
device tree
platform tree
and my local manifests (the last entries in qcom.xml, releated to media, audio, bootctrl and frameworks are test to solve the error, but the ROM build without errors, and with the same boot error, with the potato project too)
local_manifests
and here the output for
Code:
[[email protected] posp]$ locate system/bin/audioserver
/home/nemo/android/posp/out/target/product/suzu/symbols/system/bin/audioserver
/home/nemo/android/posp/out/target/product/suzu/system/bin/audioserver
that's the only thing I've found. Also I've tried to build using aosp frameworks/av project (because I already built aosp 10 and works) instead of using frameworks/av from potato project, but the error still remains.
0
Seppppx said:
Did you flash the BLOBS from the sony website? They are needed to successfully boot the ROM.
https://developer.sony.com/develop/open-devices/downloads/software-binaries
Download the BLOBS for the Loire platform for the right Android version.
Click to expand...
Click to collapse
Yes yes I know about the Sony blob. As said I've built and used aosp 10 and that too need Sony blobs to boot. I'm tried the latest one and the ones before (v9 and v8) but the problem persist. Digging i've found that is a "native problem" as stated in google documentation but I'm not finding a way to fix it sadly. Is a null dereference fatal error (don't know if knowing this can give someone an idea of how to help me)

Categories

Resources