yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] nicandris:
It built. I am making a clean build right now just to be sure

Update

mka clobber && mka bacon: done

mka bacon: done

Everything works fine here. what's the errors you get?
[Nexus 6P Android Development] fhem:
I just did another clean OS install and am setting up again -- I will let you know and thank you so very much for testing -- It has to me :good::good:

UPDATE: [MENTION=1468373]nicandris[/MENTION] The third clean install was the charm --- Mint 18.1 w/ 4.9 k building ok now. Thanks so much for the help and the testing. I am building a new box and wanted to use this combination to take advantage of the 4.9 k hardware/cpu support. I am happy now.

FYI [MENTION=6842057]The Flash[/MENTION]
[Nexus 6P Android Development] Hateware:
Hi all!

According to THIS POST it seems simple add or remove round icons to every ROM.

So, in my opinion Pure Nexus would be absolutely perfect with round icons.

There is a simple way to decompile Framework-res.apk file and edit that line? Some online tool?

I've never looked into it, I don't know where to start, so sorry if my question can be a bit noobish!
[Nexus 6P Android Development] JamFan05:
Has anyone else had trouble syncing the source. I've tried several times and it makes it almost to the end and then it

just gets stuck. It's not giving me any errors though. Here is what I see in Terminal.

Fetching projects: 95% (470/494) Fetching project platform/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8

Fetching project platform/hardware/qcom/bootctrl

Fetching project platform/packages/apps/Test/connectivity

Fetching project platform/build/soong

Fetching project platform/packages/apps/DeskClock

Fetching projects: 96% (475/494) Fetching project platform/system/vold

Fetching project platform/prebuilts/tools

Fetching project platform/external/jacoco

Fetching project platform/external/libcxx

Fetching project android_packages_services_Telecomm

Fetching projects: 97% (480/494) Fetching project platform/external/nist-sip

Fetching project platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9

Fetching project platform/external/libpcap

Fetching project platform/external/nfacct

Fetching project platform/external/crcalc

Fetching projects: 98% (485/494) Fetching project platform/external/testng

Fetching project platform/external/jetty

Fetching project platform/external/owasp/sanitizer

Fetching project platform/external/fio

Fetching project android_system_extras

Fetching projects: 99% (490/494) Fetching project android_packages_inputmethods_LatinIME
[Nexus 6P Android Development] AzraelsKiss:
Have you applied an ssh key to your gitlab.com profile as discussed recently in this thread?

Have a good one!
[Nexus 6P Android Development] nicandris:
# Device Fingerprint
PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_NAME=angler \
- BUILD_FINGERPRINT=google/angler/angler:7.1.1/NMF26F/3425388:user/release-keys \
- PRIVATE_BUILD_DESC="angler-user 7.1.1 NMF26F 3425388 release-keys"
+ BUILD_FINGERPRINT=google/angler/angler:7.1.1/N4F26J/3549317:user/release-keys \
+ PRIVATE_BUILD_DESC="angler-user 7.1.1 N4F26J 3549317 release-keys"

January security update added
[Nexus 6P Android Development] dieselbuddeh:
So after my nuking it synced fine. Went to resync today to build and got this error: error: .repo/manifests/: contains uncommitted changes.
[Nexus 6P Android Development] pvtjoker42:
hitting the same thing. It seems Beans has added the Jan security update and is actively working on things, so no sync yet.
[Nexus 6P Android Development] Chochiwpg:
I notice in the Pure Nexus github a commit was added yesterday that says track android-7.1.1_r9.

However, if I look at Google's source the most recent branch is android-7.1.1_r12.

I'm still fairly new to this, but is there a difference between the two branches? Should you build using the most recent branch available? Thanks
[Nexus 6P Android Development] nathanchance:
r9 has a few commits that are not in r12. Beans could have just picked them in and went with r9 but everything that is in r12 is in r9 so that's what he went with. Google's tagging and branching has been very odd the past couple of years, really started with Pixel C.
[Nexus 6P Android Development] Chochiwpg:
Ok thanks, makes sense. I didn't realize the r9 branch had a few more commits, I just assumed r12 would have been newer and more up to date. But glad I asked. Thanks for your help. :good:
[Nexus 6P Android Development] hibby50:
I compiled today and it boots, lots of supersu force closes when granting titanium backup permission and chrome FCs when trying to DL a file along with other random fcs, so i guess there is still some work to be done merging the new security update.
[Nexus 6P Android Development] p70shooter:
Beans has released a build tho so dunno happening with yours then
[Nexus 6P Android Development] hibby50:
Strange... Did he just not update the thread? I'll have to find that build and see what's up

---------- Post added at 08:34 PM ---------- Previous post was at 08:28 PM ----------

Can't find the build, got a link?
[Nexus 6P Android Development] dieselbuddeh:
Did yours start syncing?
[Nexus 6P Android Development] p70shooter:
Oops I'm a knobhead, he hasn't released a build. I heard a build was coming and then saw a post on g+ and put 2 and 2 together and got 3. It was a build of Gapps. Lol. Sorry, big apologies. As you were lol
[Nexus 6P Android Development] hibby50:
Lol I saw that post on g+ when I was looking and thought that may be what happened. Thanks anyway, he did say a release within 24 hours though. Oh well I just recompiled as user instead of user debug, maybe that'll help.
[Nexus 6P Android Development] pvtjoker42:
Nope, and redoing my repo init fails as well. Not sure if it's my end or github..
[Nexus 6P Android Development] hibby50:
mine was able to sync this morning around 10am, but i already had it initialized in a folder

edit: just checked cuz I had ubuntu running. its syncing right now
[Nexus 6P Android Development] nicandris:
I build and synced fine just now. The only issue I have is that I get the warning about the outdated vendor (need N4F26J).

Can I build it separately or should I extract it from Google's Stock Image?
[Nexus 6P Android Development] pvtjoker42:
it's best to just pull it from the stock image.:good:

just created a new folder, and re-did my repo init, syncing everything now. we'll see what other issues i run into now..
[Nexus 6P Android Development] hibby50:
Let me know if you guys get the fc issue, I can't figure it out unless it's a backend thing
[Nexus 6P Android Development] AzraelsKiss:
I also experienced multiple fc's on my homemade build... More than likely there's commits that haven't been pushed yet, considering Beans implied a release is near...

Have a good one!
[Nexus 6P Android Development] nicandris:
Yeah my last builds are giving me fcs also. Mainly when downloading something or when sharing between apps. I'm going to wait for the release a d sync&build again

In other news here is the new Vendor img from Beans

https://www.androidfilehost.com/?fid=385035244224410287
[Nexus 6P Android Development] p70shooter:
Have you tried downloading Chrome and switching the webview to Chrome in the dev settings? This was a problem on Benzo a while back
[Nexus 6P Android Development] AzraelsKiss:
The webview isn't the culprit for me... I think it has something to do with the peaking notifications, because it seems to happen when I would expect one. Unfortunately, disabling them doesn't fix it. I get this in the logcat, which looks to me like it may have something to do with a multiuser exception...

01-06 14:37:11.067 12443 12443 D AndroidRuntime: Shutting down VM
01-06 14:37:11.068 12443 12443 E AndroidRuntime: FATAL EXCEPTION: main
01-06 14:37:11.068 12443 12443 E AndroidRuntime: Process: eu.chainfire.supersu, PID: 12443
01-06 14:37:11.068 12443 12443 E AndroidRuntime: java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL

Of course... 9 out of 10 voices in my head claim I'm talkin' out my arse, so who knows...

Have a good one!

---------- Post added at 02:55 PM ---------- Previous post was at 02:51 PM ----------

And... It looks like Beans just pushed a commit to fix that error... lol

Have a good one!

---------- Post added at 03:44 PM ---------- Previous post was at 02:55 PM ----------

nm... Still fc'ing...

Have a good one!
[Nexus 6P Android Development] hibby50:
Looks like a pushed a commit to fix the fcs, it was caused by toast notifications. Unfortunately I'm on vacation so I can't test or build
[Nexus 6P Android Development] dieselbuddeh:
Is [IMG="this"]http://i.imgur.com/XodSytW.png[/IMG] an error to be worried about and can i build with it?
[Nexus 6P Android Development] AzraelsKiss:
Just built again and the fc's are better... Toast notifications are working again...

Have a good one!
[Nexus 6P Android Development] carguy303:
Seems like the FC error should be fixed with this commit.
[Nexus 6P Android Development] pvtjoker42:
doing a sync and rebuild to check this out. Hopefully the fc's disappear. :cool:
[Nexus 6P Android Development] nathanchance:
Is that with a force sync?
[Nexus 6P Android Development] dieselbuddeh:
yes
[Nexus 6P Android Development] JamFan05:
Just synced and built and everything is working fine. No more fc's
[Nexus 6P Android Development] pvtjoker42:
seems that commit fixed my FC's as well. Love it!:laugh:
[Nexus 6P Android Development] laxattack:
So I am still trying to revert this change from AOSP https://android.googlesource.com/platform/frameworks/base/+/b8be33b0bedec211708c4525b9d3f3b4effb385c with no success, I think i found the change in the Pure Nexus github (located here https://github.com/PureNexusProject...mmit/00e808b06b71373cddc1fe7f2131f37b126386d7 ) but I cant seem to find a way to revert the change. Anyone got a suggestion?

I tried to revert it and got this error:

git revert 00e808b06b71373cddc1fe7f2131f37b126386d7
error: Commit 00e808b06b71373cddc1fe7f2131f37b126386d7 is a merge but no -m option was given.
fatal: revert failed

Well i was wrong but still getting an error. I am trying to remove this commit ( https://github.com/PureNexusProject...mmit/41ca1bce01af7e86aeff9009df54bbc81e3c77d0 ) and now getting this error:

git revert 41ca1bce01af7e86aeff9009df54bbc81e3c77d0
error: could not revert 41ca1bc... Backport changes to whitelist sockets opened by the zygote.
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
Recorded preimage for 'core/jni/com_android_internal_os_Zygote.cpp'
[Nexus 6P Android Development] p70shooter:
It's not a clean revert, so you will have to fix the errors and then do what it's says about git add and git commit

---------- Post added at 08:20 AM ---------- Previous post was at 08:09 AM ----------

If you do git status it will tell you what the errors are
[Nexus 6P Android Development] laxattack:
ok, so I have done that but I dont understand what to do next:

git status
HEAD detached at b100dce
You are currently reverting commit 41ca1bc.
(fix conflicts and run "git revert --continue")
(use "git revert --abort" to cancel the revert operation)

Unmerged paths:
(use "git reset HEAD <file>..." to unstage)
(use "git add/rm <file>..." as appropriate to mark resolution)

both modified: core/jni/com_android_internal_os_Zygote.cpp
deleted by them: core/jni/fd_utils-inl.h

no changes added to commit (use "git add" and/or "git commit -a"
[Nexus 6P Android Development] p70shooter:
Have a look at this https://xdaforums.com/showpost.php?p=52925654&postcount=4

There's probably a better guide somewhere but I had that bookmarked
[Nexus 6P Android Development] nicandris:
Suggestion for [MENTION=6842057]The Flash[/MENTION] add github/source code link to OP
[Nexus 6P Android Development] AzraelsKiss:
Tsk tsk tsk Flash... Haven't updated the OP with the new branch yet... Ya should be ashamed of yaself...

lol j/k

Have a good one!
[Nexus 6P Android Development] p70shooter:
Best bet is to search xda for what you want. Here's is a guide for cherry picking features https://xdaforums.com/showthread.php?t=2763236
[Nexus 6P Android Development] AzraelsKiss:
There are tons of information on this subject. I'd recommend googling for it... I'd start with getting more acquainted with git...

https://help.github.com/articles/good-resources-for-learning-git-and-github/

Have a good one!
[Nexus 6P Android Development] pvtjoker42:
i was just startin to feel the itch to flash, when what do i see? a new PN release.. guess i'll sync and get it done!
[Nexus 6P Android Development] Faaipke:
Quick question, I have followed all steps in the guide but when I hit the $ mka bacon command and building tools are being verified, I keep getting error message saying folders are not found (e.g. src/android); how can I resolve this ? Google didn't help, neither found anything proper in this thread (running linux mint 18.1)
[Nexus 6P Android Development] AzraelsKiss:
Is the build failing or are you just getting a warning and the build continues?

Have a good one!
[Nexus 6P Android Development] Faaipke:
After few minutes build is failing. Doing a clean install of mint as we speak and then I'll try again...

Update: Clean flash and going through steps, generates the same error... perhaps someone can help me identify the issue ? (first time builder, aosip though not PN)

http://pastebin.com/waDK73GR
[Nexus 6P Android Development] Audioffensive:
I'm building Cyanide fir Angler. Build goes well and i can flash it.

But i am having issues with SIM not bei g recognized.

Googled a lot and found it has something to do with linking to Vendor partition.

Found a lit of things to edit in build/core/makefile and boardconfig.mk

Still can't get it to play nice

Anyone more suggestions to take a look at if that is set ok?
[Nexus 6P Android Development] AzraelsKiss:
I don't have any experience building AOSIP, but I noticed that you skipped the lunch command and used the wrong make (mka) command. You may want to look at https://github.com/AOSIP/platform_manifest According to the manifest for AOSIP, the build commands are different than on PureNexus, so use the commands listed on the manifest. Good luck!

Have a good one!

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

It appears that Tommy Bray (https://plus.google.com/107505173068165970676) may be the maintainer for N6P on Cyanide, so you may want to contact him for advice. Good luck!

Have a good one!
[Nexus 6P Android Development] Audioffensive:
I know. But Tommy Bray is very busy and does not respond.

So i would like to build myself.

Am very close.... But need the last bit:)
[Nexus 6P Android Development] Clark Joseph Kent:
Enough.

XDA is about learning development. You wanna a build for your self, learn like others are doing here.

Stop the bickering, and consider this the Warning.

✯ ✯ Υ Σ Μ Χ ✯ ✯
[Nexus 6P Android Development] snoprosledneck88:
You my friend are the one that does not get it. The builds they are making and talking about in this thread are not theirs to share. Plain and simple. I suggest we stop, we are now cluttering a helpful thread with amateur nonsense that is not pertaining to the topic at hand. If you want to continue this discussion please feel free to send me a PM and I will continue to explain why what you are asking for is not ethical. Take care and enjoy the ROM when it is built and officially released and distributed by Nate.
[Nexus 6P Android Development] oldman_58:
Wow you have some nerve, Judge Dredd is a moderator, everyone has tried to assist you and if you would take the time to read the thread and link threads you would have been able to build your own PN by now instead of thinking your entitled to everyone else's work.
[Nexus 6P Android Development] Clark Joseph Kent:
Now you have time to go learn, to do some building.

✯ ✯ Υ Σ Μ Χ ✯ ✯
[Nexus 6P Android Development] indian84:
I see what you did there. Hahahahahahaha.
[Nexus 6P Android Development] :
Try exporting the value in your environment.

export USE_NINJA=false
export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4g"

I've set the value in build/core/config.mk but I'm not sure that it did the trick. Also, make sure to stop&start the jack admin process manually :

user@androidbuilder:~/PN-OMS$ ./prebuilts/sdk/tools/jack-admin stop-server
Stopping background server
user@androidbuilder:~/PN-OMS$ ./prebuilts/sdk/tools/jack-admin start-server
[Nexus 6P Android Development] hi4s4:
Thanks! Let me try! I'll update in 3 hours :fingers-crossed: :D
[Nexus 6P Android Development] Gizmoe:
You can assign 2 per core. So of you have 8 you could use -j16. Most people have 4 cores so -j8 would be really common. The fastest builds are done with -j32. If you set it too high for your machine though you will error out obviously.
[Nexus 6P Android Development] DevALT:
I'm all in with you,

I'm already a student in this domain at college, and I love PN

Since people were poping screenshots of the homemade version I decided to learn, guess what, my PC wasn't enough powerful to run a VM (tried many config and many distro of Linux..)

My workaround, use Google cloud computing, create a VM running Ubuntu 16.04 on a cloud, install gnome and vnc through SSH command configure all that then connect to that VM through realvncviewer to start finally install dependencies to build a ROM and build it

I've learned all that in less than a day with Google and xda-university.

To learn you need to be curious otherwise you are lazy.

Now I'm running PN 7.0 and it's awesome

People must stop asking for an easy way, and try to do it it's really not that hard !

I'm also trying to figure out how I could port this ROM to my n5x device too, but I'll wait the official releases (and as you guessed if I can port it to my n5x be sure the build won't be shared)

Thanks XDA, I've been learning so much those last few years by sticking around, exploring GitHub.
[Nexus 6P Android Development] snoprosledneck88:
This is really awesome. I have been wanting to build too but I do not have enough space on my computer to do so. I have few questions (Ok its really like a 100 questions). How long did it take to build the ROM on google cloud server? Why do you need Gnome, vnc, and realvncviewer? Once you make a VM on the google cloud that is Ubuntu wouldn't you just start setting up your build environment?
[Nexus 6P Android Development] hi4s4:
YeeeeeHaaaa! Game On!! Thanks a lot. Just finished building!

---------- Post added at 05:26 PM ---------- Previous post was at 05:24 PM ----------

Oh! I thought 8 = 8 cores (facepalm).

Will try that next time I compile.
[Nexus 6P Android Development] DevALT:
PM me I just finished my courses and I could give you all answers you need when I'll be back at home

To setup correctly the VM with access to it via VNC(took me like 5-6 retry) around 5hours

You don't really need gnome and VNC, you could go full geek and use only SSH/terminal command ;) but I decided to install a desktop and finded a way to access/control it from my windows laptop (exactly as I would on VMware workstation)

- Google cloud compute doesn't install a desktop for you only the terminal mode of Ubuntu and all his package that why i installed gnome and vnc

I didn't see the building and can't really answer you to this question I started it in the morning go to college and when I was back it was done

But I saw the repo sync time and that took me around 3hours
[Nexus 6P Android Development] AzraelsKiss:
It depends on if you're using a processor with simultaneous multithreading... Most modern Intel processors have simultaneous multithreading (hyper-threading), so they are capable of working 2 threads per core at one time, so if you have a quad-core processor, you'll be able to perform 8 jobs at a time (1 job per thread, 2 threads per core X 4 cores = 8 jobs). AMD processors, on the other hand, do not yet employ SMT, so an octa-core AMD processor would still only be able to perform 8 jobs at a time (1 job per thread, 1 thread per core X 8 cores = 8 jobs).

Here's the rub... If your system is telling you that you have 8 threads available... That is 8 threads... So a maximum of 8 jobs can be processed at a time... -j8 will assign a job to each thread available. Assigning more jobs than eight should, theoretically, queue up the extra jobs, so that they are ready when a thread is available. The thing is... The make (mka) system should already be optimizing the queue for jobs waiting for available threads, so setting the jobs for anything more than the available threads shouldn't provide much, if any, true benefit. The -j option is much more beneficial for limiting the number of jobs being assigned to the task, by setting the number to less than the number of threads available, so as to prevent it from using all the processing resources of a system or slow down the build to keep things building in an orderly fashion.

Have a good one!
[Nexus 6P Android Development] garnet&gold:
No need to port it. Just use brunch bullhead instead of angler and you'll have a 5x build
[Nexus 6P Android Development] hi4s4:
Hi Azrael,

Thanks for the wonderful explanation. That makes sense. I was confusing the number of processors with number of cores.
[Nexus 6P Android Development] hibby50:
Im about to give up. by the time I get this there will probably be an official release lol. im building on a crappy old i5 laptop that i installed ubuntu on for this purpose and after over 2 hours of compiling it failed with this:

clang++: error: linker command failed with exit code 1 (use -v to see invocation)

build/core/shared_library_internal.mk:81: recipe for target '/home/hibby/android/out/target/product/angler/obj/SHARED_LIBRARIES/libart_intermediates/LINKED/libart.so' failed

make: *** [/home/hibby/android/out/target/product/angler/obj/SHARED_LIBRARIES/libart_intermediates/LINKED/libart.so] Error 1

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

#### make failed to build some targets (02:06:38 (hh:mm:ss)) ####
[Nexus 6P Android Development] nathanchance:
Just a heads up, if you want to specify a different number of cores for your make command, don't use mka, use make. Mka is short for make -j(max number of threads). So if you wanted to use less threads, you would use make bacon -j4.

And to elaborate on why personal builds aren't allowed to be shared, Nate (Beans) releases whenever he feels that the features and stuff he has added is stable. If we have a bunch of potentially unstable builds floating around, that harms the PureNexus name. So personal builds are just that, personal. If you want builds more often, then come learn to build.
[Nexus 6P Android Development] aalupatti:
So for me using surface book ( http://www.notebookcheck.net/Microsoft-Surface-Book-Core-i7.153348.0.html ) and the processor Intel core i7 - 6600 u

Is it correct to say there are 4 threads and hence can use the value -j4 ?

I thought surface book had a processor with more cores!!!!!!!!:(

---------- Post added at 12:14 PM ---------- Previous post was at 12:13 PM ----------

So if I use mka angler , it will use all the threads without me specifying it ?
[Nexus 6P Android Development] Faaipke:
Tried the commands found on their github... Maybe I should just start with PN and see if that works following this guide ? thanks for the responses
[Nexus 6P Android Development] nathanchance:
Few thread updates!

1. Added source code link for [MENTION=1468373]nicandris[/MENTION] (at the bottom)

2. Updated repo init branches (but added a note that I'm not going to update it all the time)

3. Added a link to Arch Linux setup instructions since that is what I use now. It's not for the faint of heart but it's good if you have time and patience.
[Nexus 6P Android Development] Audioffensive:
Have tried the device tree from PureNexus now.

Then i get this error.

https://hastebin.com/goribopuno.scala

Anyone know what this means?
[Nexus 6P Android Development] mrjaydee82:
I'm not understanding these build errors at all lol
[Nexus 6P Android Development] mrjaydee82:
Nvm lol I figured it out