yashsingh1/xdaforums huggingface dataset:
[Android Builders Collective] harpin14789:
Ah, shoot. I did everything to try and fix that issue and its not getting fixed. I can't think of what to do anymore about the kernel issue. I tried everything (at least I think I did) :(:mad:

I built using flash kernel. No prob bro. I will keep building ABCrom for shamu. Its also a backup for me fall back on.
[Android Builders Collective] rrrrrrredbelly:
Yeah, i understand its something you want to figure out. It's no big deal to flash a kernel along with the rom though.
[Android Builders Collective] harpin14789:
Yeah, thats true. But I will eventually get it figured out. lol
[Android Builders Collective] johnb380:
No worries here either it runs great with [MENTION=712568]The_Flash[/MENTION] kernel so no need to kill yourself to figure it out. I'm sure it's something little and stupid.

Anyways the newest version of ABC is running great and solid as ever!

Thanks again friend. And thanks [MENTION=2095315]ezio84[/MENTION] and all the ABC TEAM for all the little polish and awesomeness you put into this Rom it really shows. This is by far my favorite rom. I may stray but I always come back to this and will be on it for the foreseeable future!

- Running my ? on

​

and ⚡️ kernel!
[Android Builders Collective] harpin14789:
You said it man, ABCrom is awesome, I also gotta thanks [MENTION=4395895]BeansTown106[/MENTION] for making a great Pure nexus rom which ABC is based off. I am still astray on another rom but will eventually come back to the awesome ABCrom.

I hope you don't mind me asking, how did you get the whale symbol and the flash symbol?
[Android Builders Collective] johnb380:
Just emojis in the Google keyboard lol

- Running my ? on

​

and ⚡️ kernel!
[Android Builders Collective] harpin14789:
[MENTION=2640853]Garrykd[/MENTION] or [MENTION=2095315]ezio84[/MENTION]

Can you guys help me on my signature. How do I make the Android builder collective picture smaller, like to the size of the ABC rom picture.

Thanks.

---------- Post added at 02:06 AM ---------- Previous post was at 02:05 AM ----------

oh, lol I was looking on desktop and I couldn't find them anywhere lol

EDIT: used alt code and got the whale. :D
[Android Builders Collective] kantjer:
Please do us all a favour and use this one :p
[Android Builders Collective] ezio84:
Like in my build rom scripts or kantjer's one, breakfast is the tested working command. Then mka bacon (this is cm implementation).

Also, remember that if you want to use lunch, then mka doesn't require "bacon".

Make otapackage, instead, can break something in the rom (iirc, you wouldn't have the advanced power menu for example).

To install all needed ubuntu packages, as harpin14789 suggested, follow the Building Purenexust thread howto.

Your distro seems still missing some developement packages:

home/ed/LunaOS/external/busybox/scripts/basic/fixdep.c:105:22: fatal error: sys/stat.h: No such file or directory

Check your /usr/include/sys patch, there you should have that stat.h file.
[Android Builders Collective] kantjer:
try making a build for angler (that's fully supported), if that builds you know your setup is OK and the error is in the hh device specific stuff.

I'm a big fan of eliminating and not having to look in 5 places at the same time.
[Android Builders Collective] mondaza:
I have a bullhead. Do you use kernel stock with abdrom or flash other? :)
[Android Builders Collective] Ed St John:
Ok sure I'll do that in a bit.
[Android Builders Collective] peikojose:
Hey [MENTION=2095315]ezio84[/MENTION] any plans to include app ops into ABC?
[Android Builders Collective] Phrodini:
gracias...

You were able to add the screenshot feature in this build?
[Android Builders Collective] Ed St John:
EDIT

From fixing the error below, I now have the folder and the file. What do I do with it?

---------- Post added at 01:24 PM ---------- Previous post was at 01:15 PM ----------

[/COLOR]

Nope failed to build with the same error. Are the first few lines at the start not a problem then?

find: ‘src/android’: No such file or directory

find: ‘src’: No such file or directory

find: ‘../commonutil/src’: No such file or directory

etc.

EDIT

From trying to fix an error I got from using your tutorial, I found the file that ezio told me to find above. Building now and we'll see!

---------- Post added at 02:05 PM ---------- Previous post was at 01:24 PM ----------

[MENTION=2095315]ezio84[/MENTION] [MENTION=3306843]kantjer[/MENTION] Fixed that build error, however now I'm getting a different one. This is clearly due to wrong hh files on my part.

Do you happen to know what to do? If not, [MENTION=3846540]a g bell[/MENTION] do you know or if I am using the wrong files could you point me in the direction of correct github links to the ones I should be using? Thanks.

http://hastebin.com/uwurokisuw.sql
[Android Builders Collective] rrrrrrredbelly:
Yes, it's in there
[Android Builders Collective] Topse:
[MENTION=2033478]Yank555[/MENTION]

[MENTION=5790246]VictorLapin[/MENTION]

I tried to build Yaosp for Shamu.

On my fresh ubuntu 16.04.

Now i get this error

http://pastebin.com/kiWFuxXG

.......

CC scripts/mod/empty.o

ccache: FATAL: Could not find compiler "arm-eabi-gcc" in PATH

/home/topse/yaosp/kernel/moto/shamu/scripts/Makefile.build:308: recipe for target 'scripts/mod/empty.o' failed

.......

I have tried again since hours to find the error itself.

But I think I should ask more often.

Otherwise I lose still the remaining hair ;)

edit:

I think at repo sync something has gone wrong.

Synce again....
[Android Builders Collective] Yank555:
What I wanted to suggest, looks like you'd be missing the needed toolchain.

In case sync goes wrong, let me know, not that I have derped at updating the manifest.

JP.
[Android Builders Collective] Topse:
In /home/topse/yaosp/prebuilts/gcc/linux-x86/arm

only arm-linux-androideabi-4.9

is present.

But LINUX_GCC_CROSS_COMPILE_PREBUILTS_BIN=prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin is needed for shamu Kernel.

I sync again.
[Android Builders Collective] kantjer:
Syncing won't add the 4.8 TC if it isn't in the manifest

Just add the arm-eabi-4.8 TC to your local manifest and sync, that will fix it.
[Android Builders Collective] Yank555:
Aren't you building with my kernel ?

Cause that line is commented out :

https://github.com/YAOSP-NG/device_moto_shamu/blob/YAOSP-NG-7.0.0_r14/BoardConfig.mk#L38

You don't need 4.8 toolchain to build YAOSP-NG for any of the supported devices.

JP.
[Android Builders Collective] Topse:
???

Yes for me it is also commented out.

I did not see that.

Due to the error message.

Ccache: FATAL: Could not find compiler "arm-eabi-gcc" in PATH

I have not looked more closely.

But where does this error come from?

Sure i m building with your kernel.

Just repo sync.

EDIT:

Or should I adjust it in the build.config (/ home / topse / yaosp / kernel / moto / shamu).

LINUX_GCC_CROSS_COMPILE_PREBUILTS_BIN = prebuilts / gcc / linux-x86 / arm / arm-eabi-4.8 / bin

in this >>> prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin
[Android Builders Collective] harpin14789:
Thanks will do. :D

---------- Post added at 07:12 PM ---------- Previous post was at 07:00 PM ----------

Topse ,

First off manually uncomment that line j. Your board cofig. You need that line to have inline kernel building.

Go here https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/

Then cd to your working dir/prebuilts/gcc/linux-x86/arm/

Then run the git clone command that is shown on the website. Then you have the 4.8 toolchain you are looking for.

Also you can always change the toolchain in build.config (for kernel) or board config to arm-linux-androideabi-4.9/bin. If that's the toolchain thats in your prebuilts folder. You can build with kernel with 4.9 toolchain also.

Or you can just download the toolchain like I suggested.

Also if you use 4.8 for nougat in board config it doesn't build correctly (for me at least), so you have to use 4.9 in board config.

---------- Post added at 07:15 PM ---------- Previous post was at 07:12 PM ----------

Yes, it should be included.

But screenshot is always available by pressing power and volume down buttons together for 3 seconds.

---------- Post added at 07:18 PM ---------- Previous post was at 07:15 PM ----------

I suggest you delete your device tree and repo sync again, which should sync your device tree again. Whenever I had any errors with devices, doing that always helped.
[Android Builders Collective] Garrykd:
Yeah, use the one [MENTION=3306843]kantjer[/MENTION] resized for you (:good:) or check out the link in my signature for more banners.

Yes, that's much better :D
[Android Builders Collective] vsot13:
Thanks for keeping Shamu alive. ROM runs perfect, just useful features what I love. And what a great community...

Thanks guys!
[Android Builders Collective] Ed St John:
How do I delete the tree? Also, my device isn't supported by ABC (hh) so doesn't that mean it won't sync it back?
[Android Builders Collective] harpin14789:
In terminal, in you root directory run this command.

sudo apt-get install mc.

It will install a file manager for your terminal.

After install. Just type "mc" in terminal anytime and the file manager will open up. Through here you an delete folder easily.

hh isn't supported so it's better if you add the hh device to your local_manifest.xml then when you resync it will add the device tree again.
[Android Builders Collective] Ed St John:
Yeah I've added the files but I think they might have been wrong which is what made the error. Here are the ones I used (from Beltz ROM)

https://github.com/setiawanjimmy/android_device_lge_hammerhead

https://github.com/setiawanjimmy/android_vendor_lge

https://github.com/setiawanjimmy/android_kernel_lge_hammerhead
[Android Builders Collective] Natakranta:
Thanks for building for N5.

Flashed last night with [MENTION=3306843]kantjer[/MENTION]'s dynamic custom gapps, theme ready gapps, PHH Superuser, Viper zip (I downloaded from your AFH)

All running fine themed with Domination.

Only thing I noticed is that YouTube stops video playback (frame freez, continues with audio) on videos with 60 frame per second, when I chose playback quality 720p60 and 1080p60. Standard 720p and 1080p plays OK. Could somebody please check 60fps videos and confirm? Thanks!

I tried with different governors, but still no go.
[Android Builders Collective] VictorLapin:
Post you local_manifest, just in case
[Android Builders Collective] Ed St John:
<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project path="device/lge/hammerhead" name="setiawanjimmy/android_device_lge_hammerhead" remote="github" revision="beltz" />

<project path="vendor/lge/hammerhead" name="setiawanjimmy/android_vendor_lge" remote="github" revision="n" />

<project path="kernel/lge/hammerhead" name="setiawanjimmy/android_kernel_lge_hammerhead" remote="github" revision="n" />

</manifest>
[Android Builders Collective] VictorLapin:
[MENTION=7289384]Ed St John[/MENTION] looks good to me
[Android Builders Collective] Ed St John:
Hmm then why am I getting the error

build/core/base_rules.mk:183: *** vendor/lge/hammerhead/proprietary: MODULE.TARGET.APPS.OmaDmclient already defined by vendor/lge/hammerhead/hammerhead/proprietary. Stop.
[Android Builders Collective] harpin14789:
Try using a different device tree. A tree that has inline kernel building included in its boardconfig.mk, doing that always works for me.
[Android Builders Collective] Ed St John:
Would the tree from DU work? Also if I use the tree from e.g. DU do the kernel + vendor sources also need to be DU?
[Android Builders Collective] kantjer:
Remove your vendor/lge folder and sync again. Something weird is going in there
[Android Builders Collective] Ed St John:
At the start of the sync it says

warning: local_manifest.xml is deprecated; put local manifests in `/home/ed/LunaOS/.repo/local_manifests` instead

- is this a problem?
[Android Builders Collective] kantjer:
Yes that's a problem. Put the local_manifest were its supposed to be like error say's

Warning and errors when syncing are always bad
[Android Builders Collective] harpin14789:
The local manifest is supposed to be in. .repo/local_manifests. Then make a file called local_manifests.xml that contains your device tree links, vendor links and kernel links.

No, you device tree, vendor, kernel files don't have to match. They can be from different sources.

For example, I pull my device tree from pure nexus, vendor from Octo os and use flash kernel. But I will probably switch to pure nexus vendor in the future.
[Android Builders Collective] Ed St John:
Ok well I've moved the file and it's still building ~30 mins later! Let's hope for the best.

Know and good kernels for hh which I can find on github?
[Android Builders Collective] harpin14789:
Elementalx, I think they develop for hammerhead too. Check their github.
[Android Builders Collective] Phrodini:
The support in this thread is very nice
[Android Builders Collective] Yank555:
No that line should stay commented out ;)

Its purpose when not commented out is to

override

the default toolchain, so it's to build the kernel with a different toolchain than the ROM, which is not what we want here, hence it should stay commented out.

JP.

---------- Post added at 12:34 AM ---------- Previous post was at 12:31 AM ----------

@Topse : You might resync since I've pushed some stuff tonight, not that you have a 'half new - half old' sync. I'm going to bed now, so the source will be syncable :D

JP.
[Android Builders Collective] harpin14789:
Ah, thanks for the clarification. I just assumed because it's not commented out in the pure nexus device tree which is what I use to build abcrom for shamu.

Well, still a beginner here. Lot to learn.
[Android Builders Collective] mohican16:
Fresh ABC build for Bullhead https://www.androidfilehost.com/?fid=385035244224395193

Enable camera EIS by default.

Changelog

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

11-07-2016

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

* device/lge/bullhead/

7d22474 Bullhead: enable EIS (all of it)

* frameworks/base/

09b0a7a Fix race condition in setting notification panel height

92300a6 Power button screenshot: +VolDOWN for fullscreen, +VolUP for region screenshot

8825474 Screenshot delay [1/2]

3b89c95 Clean up "Optional screenshot type" code in PhoneWindowManager

* packages/apps/PureSettings/

19cbd37 Screenshot delay: set a min and add 100ms interval

2d26690 Screenshot type is only for tile now, power button has both actions

a9c0e5f Screenshot delay [2/2]

Many thanks goes to [MENTION=2095315]ezio84[/MENTION] for his work!
[Android Builders Collective] fKm:
Be sure to use the test revision for setiawanjimmy/android_device_lge_hammerhead. beltz revision seems to be for m and not for n.

Gonna try to build for hh too now.

Do I need any other changes in build, vendor etc too?
[Android Builders Collective] ezio84:
Afaik agbell was going to push the hh device tree he's using (and 100% working), so wait for him ;)
[Android Builders Collective] fKm:
It is building for me with the sources from setiawanjimmy and DU. Let's wait and see ;)
[Android Builders Collective] Ed St John:
Getting this error - any idea what to do? It's to do with the kernel files I think.

http://hastebin.com/zujopelaro.rb

[MENTION=3846540]a g bell[/MENTION] [MENTION=3306843]kantjer[/MENTION]
[Android Builders Collective] kantjer:
you are missing the TC needed for the kernel build

FATAL: /home/ed/LunaOS/prebuilts/gcc/linux-x86/arm/arm-eabi-4.9/bin/arm-eabi-gcc: execv returned (No such file or directory)

Add this to your local_manifest and sync/build again

<project path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.9" name="setiawanjimmy/android-prebuilts-gcc-linux-x86-arm-arm-eabi-4.9" remote="github" revision="m" />
[Android Builders Collective] Ed St John:
Thanks! Fixed that error.

Yay another one XD http://hastebin.com/agasofofif.coffeescript

Still to do with the kernel again urghh

[MENTION=3846540]a g bell[/MENTION] do I need the zImage-dtb from blu spark kernel or will beltz rom's kernel be just fine?

Fuller build log - http://pastebin.com/gM1UuLd6 (hastebin only allows a certain number of lines)

Thanks again Kantjer for helping me with this! Means a lot

Just realised when I do . build/envsetup.sh, nothing about hammerhead comes up. Is this ok? Seems to start to build anyway?

EDIT

Might have fixed the error by doing 'sudo apt-get install liblz4-tool', building now and we'll see
[Android Builders Collective] a g bell:
Hmm don't understand if your using prebuilt kernel why you are getting these kernel errors??l will be uploading all you needs to build on my git later on today will explain when it's all there what you need?

Thanks [MENTION=636871]ezio[/MENTION]?

Sent from my Nexus 5 using the A team van
[Android Builders Collective] Ed St John:
Been building for ~ 1 hour and no error so far so we'll see!
[Android Builders Collective] Ed St John:
Building error - think it might be jack problem, out of memory.

Building with Jack: /home/ed/LunaOS/out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes.dex

host Executable: dexdump2 (/home/ed/LunaOS/out/host/linux-x86/obj/EXECUTABLES/dexdump2_intermediates/dexdump2)
Install: /home/ed/LunaOS/out/host/linux-x86/lib64/libart.so
touch /home/ed/LunaOS/out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.dex.toc
Copying: /home/ed/LunaOS/out/host/common/obj/JAVA_LIBRARIES/bouncycastle-bcpkix-host_intermediates/javalib.jar
Copying: /home/ed/LunaOS/out/host/common/obj/JAVA_LIBRARIES/conscrypt-host_intermediates/classes-jarjar.jar
Building with Jack: /home/ed/LunaOS/out/target/common/obj/JAVA_LIBRARIES/libprotobuf-java-micro_intermediates/classes.jack
Out of memory error (version 1.2-rc4 'Carnac' (298900 f95d7bdecfceb327f9d201a1348397ed8a843843 by android-jack-team@google.com)).
GC overhead limit exceeded.
Try increasing heap size with java option '-Xmx<size>'.
Warning: This may have produced partial or corrupted output.
make: *** [/home/ed/LunaOS/out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes.dex] Error 41
make: *** Waiting for unfinished jobs....

#### make failed to build some targets (02:04:27 (hh:mm:ss)) ####

Do I need to increase heap size as it says above? If so, how much? For some reason I only have 15GB free space left.
[Android Builders Collective] fKm:
Do what is mentioned in this post: http://xdaforums.com/showpost.php?p=68814797&postcount=13018
[Android Builders Collective] Yank555:
YAOSP-NG v0.12 NBD90Z

The result of my time I could spend on the ROM this WE :

Security : Show/hide battery info on lockscreen when charging (current, voltage and temperature)

Developer options : switch to enabled/disable ADB over Network

Developer options : toggle Android debugging notification

Developer options : Long press back to kill foreground app

Developer options : customize device hostname

added QS tiles (Ambient Display, Sync, Music, ADB over network, USB tether, Screenshot,

Caffeine, Brightness, Reboot/Recovery, IME selector, Sound, 3-way DND,

Expanded desktop)

added QS tile option for 3,4,5 tiles per row

DeskClock removed from build, use the one from PlayStore

angler, bullhead, shamu : fix dirtycow (CVE-2016-5195)

Supported devices : angler, bullhead, shamu

Angler and shamu are up, Victor will upload Bullhead

Sources, Changelog & Downloads : https://github.com/YAOSP-NG/manifest#changelog﻿
[Android Builders Collective] harpin14789:
Looking real nice. Love YOSP. Now I can't decide between YOSP and ABCrom. The struggle is real!! :victory:

---------- Post added at 07:54 PM ---------- Previous post was at 07:53 PM ----------

Just curious, how much ram do you have?

I have 12gb, and luckily I have never encountered the jack memory error.
[Android Builders Collective] Ed St John:
8GB on laptop, 4GB for virtual machine which is what I'm building in
[Android Builders Collective] harpin14789:
I think it would be better if you use the

tag or just upload to pastbin, it would make it a bit easier to read.

---------- Post added at 08:03 PM ---------- Previous post was at 07:58 PM ----------

Anybody here building YAOSP for hammerhead or bullhead or shall I give it a try. :)
[Android Builders Collective] Topse:
I forgot that in the APP the hide function does not work.....
[Android Builders Collective] harpin14789:
I am also on VM, 16gb base system with 11gb VM. What sucks is that if I even open chrome when building, windows crys about low memory and sometimes virtualbox even dies on me. lol
[Android Builders Collective] Ed St John:
Aaaand another build error. At least it's taking longer each time for there to be one haha

http://hastebin.com/ekuwuqexay.go

Some problem with hammerhead camera files.

In the /HAL3/ folder, there is an android.mk file. This includes the line

LOCAL_C_INCLUDES += \
hardware/qcom/display/msm8974/libgralloc

When I got to this folder, there is no msm8974 folder. There are other numbers (8084, 8226, 8909, 8960, 8994, 8996) but not that number.

Also, there is no #include <gralloc_priv.h> in device/lge/hammerhead/camera/QCamera2/HAL3/QCamera3HWI.cpp which is weird.

Any ideas?
[Android Builders Collective] fKm:
Include

<project name="DirtyUnicorns/android_hardware_qcom_msm8x74" path="hardware/qcom/msm8x74" remote="github" revision="n" />

in your local manifest.
[Android Builders Collective] VictorLapin:
I've had to expand my buildbox RAM to 16Gb to eliminate out of memory error completely

I build for bullhead :)
[Android Builders Collective] Ed St John:
Damn I wish I could have 16GB of ram haha
[Android Builders Collective] VictorLapin:
24Gb here, I can play XCOM2 while building :D
[Android Builders Collective] Ed St John:
Wow.

Isn't there something like a box which I can pay for to build android as well? If they work at making it faster
[Android Builders Collective] Yank555:
If you can spare the time to bring up hammerhead. would be nice ;)

Don't think I'll manage the time anytime soon.

JP.
[Android Builders Collective] fKm:
I am searching for something like that too but I dont want to spend so much money for that ☹️
[Android Builders Collective] Ed St John:
Yeah I'm looking for like only a couple of dollars a month which I probably won't find.

---------- Post added at 10:27 PM ---------- Previous post was at 09:59 PM ----------

Just tried to build, still gives me that error. Do I replace the "x" in the DU files to "9" to make 8974?
[Android Builders Collective] kantjer:
Good luck with that. Don't think that will do it.
[Android Builders Collective] Ed St John:
Well I can try haha

Any idea on how to fix that error I posted with the camera?
[Android Builders Collective] kantjer:
The error is very clear gralloc_priv.h is missing in the source.

How to fix it I don't know.
[Android Builders Collective] a g bell:
Check the link l sent ya
[Android Builders Collective] Topse:
Anyone has an idea how to deal with this communication error with jack?

http://pastebin.com/NAYZghtp
[Android Builders Collective] harpin14789:
You guys should take a look at Google cloud.

http://xdaforums.com/chef-central/android/guide-how-to-build-rom-google-cloud-t3360430/page16

This thread explains it better. I think it's a cheap solution but I haven't looked that much into it myself. But maybe it might help you guys.

---------- Post added at 11:21 PM ---------- Previous post was at 11:17 PM ----------

Man, I am jealous. When building, I gave to use edge to browse or watch some movie on my HDD, other than that nothing else. If I start up anything else windows would slowly struggle and die on me as I get close to 15.4/15.9gb of ram used.

But the one thing I hate about VM building is that once the VM starts using ram, it just stays that way. Even after a build has finished, virtualbox ram usage will be the same. It won't free up the ram it doesn't need back to Windows. I have to restart the VM for that.
[Android Builders Collective] a g bell:
Which is why l sacked windows off oh and windows 10 sucks as well cortana f off!

Now just on mint but do miss wmp?