yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] psychomaniac189:
Would I be able to build pure nexus with a laptop like this

http://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c02750678

This is all I wanna do on it
[Nexus 6P Android Development] AzraelsKiss:
You may find that memory to be a little low for building, but the right settings may let you build. The build will likely take a while, but it may be possible... Best advice I have is install Lubuntu or Xubuntu (or some other lightweight linux distro) and give it a try.

Have a good one!
[Nexus 6P Android Development] psychomaniac189:
thanks. I think the specific laptop im actually intererested in has 4gb ram memory. if that is the memory you are talking about. i do plan on installing lubuntu, as long as i have a zip after work. im good. lol
[Nexus 6P Android Development] pvtjoker42:
This something that will get merged soon, or are we all going to have to cherry pick this one for a while?
[Nexus 6P Android Development] nathanchance:
It's been merged as of this morning.
[Nexus 6P Android Development] pvtjoker42:
Thanks for the update! :good:
[Nexus 6P Android Development] dharmabm:
So you went a year and a half without a kernel update? I've never understood the fixation with uptime :eek:
[Nexus 6P Android Development] jmtjr278:
hey [MENTION=1751716]theflash[/MENTION] i just finished building and flashed. still get bootloop when attempting to reboot after applying theme via substranum. did this patch fix the issue for you? did i build before the patch was fully merged? i repo synced at approx 0900 hrs and the git said the commit had been added.
[Nexus 6P Android Development] pvtjoker42:
I built again after it was merged as well, but still get the bootloop as well.
[Nexus 6P Android Development] nathanchance:
It's being looked into. In the meantime, OMS just got merged and will work 100%.
[Nexus 6P Android Development] jmtjr278:
Sweet! Building again. Thanks for the heads up.
[Nexus 6P Android Development] laxattack:
So does anyone know if there is a way to revert this android patch ( https://android.googlesource.com/platform/frameworks/base/+/b8be33b0bedec211708c4525b9d3f3b4effb385c ) from the ROM source. It would help those of us that are trying to use suhide on the Nov security patch
[Nexus 6P Android Development] kantjer:
That's easy but I don't think reverting a security patch is a smart thing todo.

But if you really want to

cd to source/frameworks/base/

git revert d20378fe12002608c1bbcd016d03ecc10a840d3b
[Nexus 6P Android Development] aalupatti:
Any idea what is happening in github with the new n-mr1 branch ?

Just curious.

Thanks
[Nexus 6P Android Development] AzraelsKiss:
I believe Nate has said he's playin' around with 7.1... It's probably his new branch for getting ready to work on a bring up.

Have a good one!
[Nexus 6P Android Development] winxuser:
[MENTION=6842057]The Flash[/MENTION] and any other ROM developers.. from marshmallow and nougat, the resources needed to compile these roms quickly and without building errors due to lack of memory.. now I have a 6 core amd with only 8gb of ram. And compiling nougat using all 6 cores takes about 5 hours due to slowing down to nearly a complete stop when "building with Jack".. if I give Jack 3gb to compile it won't complete complaining about running out of memory, if I give it 4gb then it will complete a working ROM but like I said takes a long time and slows the computer down to nearly nothing.. :( is there a way to make it more efficient to be able to build quicker and not slow down, without having to spend the money on getting more ram??
[Nexus 6P Android Development] nathanchance:
No, not from what I have seen. Jack is instrumental to building Android, there is not much that can be done :/
[Nexus 6P Android Development] winxuser:
Damn looks like I need to buy more ram then :(
[Nexus 6P Android Development] kantjer:
RAM is only one factor that influences build time.

CPU and disk speed also have impact on build speed, don't expect your build time to drop from 5h to 1h just by adding more RAM.

Do you already use ccache, that will speed up subsequent builds.

For example, my build times are:

1st build, no ccache ~1 hour

2 nd build with ccache (make clean) ~20 minutes

2 nd build with ccache (make installclean) ~ 5-10 minutes
[Nexus 6P Android Development] winxuser:
Yeah I know that just adding ram won't drop it that much but it will help a bit. No I do not have ccahce setup. I always make clobber, I do not want to risk something not being compiled properly
[Nexus 6P Android Development] kantjer:
start with setting ccache, that will drop build time.
[Nexus 6P Android Development] AzraelsKiss:
ccache is smart and is very very unlikely to cause problems with the build.

Have a good one!
[Nexus 6P Android Development] jmtjr278:
Is the mr1 branch buildable yet? I tried to sync with the sources and could not. Have you guys tried?
[Nexus 6P Android Development] DowntownRDB:
[MENTION=4534021]jmtjr278[/MENTION] I got the same results as you. I'm thinking that after Beanstown106 releases next update we will be able to build from that branch. Of course, I could be 100% wrong. Maybe The Flash will weigh with the right answer as his busy schedule permits.

Edit: Appears Beans has been very busy in that branch, just made new commits hours ago.
[Nexus 6P Android Development] DowntownRDB:
[MENTION=4534021]jmtjr278[/MENTION] Take a look at manifest. Appears Beanstown106 busted his butt for many hours again last night making numerous commits and the build branch is now changed to 7.1 Going to give it a shot at building in a bit.

You simply can't beat the dedication that Beanstown106 puts into his ROMS. His devotion to putting out a perfect ROM is fantastic. I wish I had his mad skills. LOL
[Nexus 6P Android Development] nathanchance:
Repos are still being moved around and updated, it won't build just yet.
[Nexus 6P Android Development] DowntownRDB:
[MENTION=6842057]The Flash[/MENTION] I was bored earlier this morning so I gave building a shot and found out exactly what you state....not quite ready yet. No problem, I'll be patient and wait till Beans or you says it's ready.
[Nexus 6P Android Development] jmtjr278:
[MENTION=1751716]theflash[/MENTION] we good to go yet? And if not could you give us the heads up when it is safe to build, please?
[Nexus 6P Android Development] pvtjoker42:
repo sync failed, looks like Beans is making the move over to 7.1 (unless i'm seeing things wrong on github)
[Nexus 6P Android Development] DowntownRDB:
[MENTION=1413661]pvtjoker42[/MENTION] Appears Beanstown106 is got a full court press on finishing tweaking his 7.1 ROM version as he has been super busy making tons of commits these last few days. Lots of personal touches coming in next release. Can't wait to see the finished product and then do a personal build. :good:
[Nexus 6P Android Development] pvtjoker42:
I can't wait to build a 7.1 rom. :)
[Nexus 6P Android Development] AzraelsKiss:
It builds and boots... Love the new boot ani... It still asks for the 91K vendor, so I'm guessin' the blobs haven't been updated yet (too lazy to check yet and way too lazy to do it myself tonight... lol)... Now back to settin' my phone up...

Have a good one!
[Nexus 6P Android Development] AzraelsKiss:
Okay... All setted up...

btw... Yeah... Blobs not updated yet... Yeah... I'm too lazy to do it myself... lol

Loving the build... Thank you Nate Benis!

Have a good one!
[Nexus 6P Android Development] psychomaniac189:
how can you tell if it fails? im doing this in a virtual box on my windows 10 pc (i cant afford another pc to put linux on and i dont know how to make another partation for a linux distro) and when i type the two commands nothing happens.

repo init -u https://github.com/PureNexusProject/manifest.git -b n
repo sync --force-sync

just shows another command line waiting for me to input something.
[Nexus 6P Android Development] mazz0310:
After doing the repo sync you have a few more commands.

. build/envsetup.sh

breakfast angler

mka clobber

mka bacon

That will give you a zip after a number of hours of running.
[Nexus 6P Android Development] psychomaniac189:
ok ,but the commands i mentioned do nothing. must be something wrong with my machine.
[Nexus 6P Android Development] nathanchance:
You need to init the correct branch which is android-7.1 now, instead of n
[Nexus 6P Android Development] mukesh22584:
[MENTION=6842057]The Flash[/MENTION]

I've flashed "FLASH" Kernel many times in "Digital high" ROM but doesn't stick... [emoji20]

Edit..[emoji375]

Just restore previous ROM's (Resurrection Remix) Boot partition and it works...[emoji4]

Sorry Wrong Tread..[emoji16]
[Nexus 6P Android Development] mazz0310:
Those of you that have installed 7.1, do any of you have an issue with the camera being very dark? (all camera applications)

EDIT: Disregard, this is because I am using Franco Kernel for 7.1.1.
[Nexus 6P Android Development] pvtjoker42:
Anybody dirty flash? Want to update to my new build but i'm feeling lazy. I'll probably do a clean install, just not sure if anyone had tried a dirty flash with any success yet.
[Nexus 6P Android Development] mazz0310:
I did a dirty flash and haven't come across any issues yet.
[Nexus 6P Android Development] AzraelsKiss:
Nate updated the blobs, but the boot warning still asks for 91K (fingerprint isn't updated yet)... Still running great. and keeps getting better.

Have a good one!
[Nexus 6P Android Development] pvtjoker42:
No, i don't think it was the kernel, because i did a dirty flash from my previous 7.0 build, and everything was working fine until i went to use my camera, all i got was a nearly black screen. none of the settings i tried made any difference. did a clean flash, and the camera did the exact same thing. just rolled back to my 7.0 build for tonight, might mess with 7.1 some more tomorrow.
[Nexus 6P Android Development] psychomaniac189:
does that mean the insturctions are out of date? because i have no frickin clue what im doing when it comes to building android. i just follow instructions.
[Nexus 6P Android Development] nathanchance:
Yeah it means the instructions are out of date but I just kind of figured most people would pick up on that they need to init a different branch. I'll try to update it tomorrow.
[Nexus 6P Android Development] jmtjr278:
Flashed my new build this morning. Lots of apps force close. Is it incompatibility with 7.1.1 or have I screwed something up? I tried clean flash as well as dirty on top off a 7.0 build. Anyone else?
[Nexus 6P Android Development] Bucika:
Can someone PM the download link to their personal build? 7.1.1? I can't really build it myslef right now, but would love to test it out.

Thanks.
[Nexus 6P Android Development] jmtjr278:
Won't happen. Sorry. No one here will share their personal build with anyone. This is not our work we are simply building what beans has made for us. It would be improper to post anything before he feels it is ready. If you follow [MENTION=1751716]theflash[/MENTION] guide in op you can have a build made in an evening.
[Nexus 6P Android Development] AzraelsKiss:
Could be your GApps... I'm using OpenGApps mini and not having issues with force closes on a clean flash with Ti Backup for user apps. Good luck.

Have a good one!
[Nexus 6P Android Development] jmtjr278:
Thanks. I think it may be that the apps I'm attempting to use just aren't updated to work work 7.1.1 yet. Most work but some don't. Can't get busy box to install so I can't install viper. First world problems, right?
[Nexus 6P Android Development] jmtjr278:
Built again this morning and something that was merged overnight fixed my app compatibility issues.
[Nexus 6P Android Development] pvtjoker42:
anybody know why the NMF26F factory image lists "All carriers except Verizon" on the download page?

could that be a part of the reason my camera goes black/super dark?
[Nexus 6P Android Development] jmtjr278:
What kernel you using?
[Nexus 6P Android Development] pvtjoker42:
Stock, nothing extra.
[Nexus 6P Android Development] jmtjr278:
What vendor image?
[Nexus 6P Android Development] pvtjoker42:
NMF26F.. Built again this evening and now camera seems to be fine. A little darker but perfectly usable this time.
[Nexus 6P Android Development] oldman_58:
What Repo Init did you use, please?

Never mind I found it...

repo init -u https://github.com/PureNexusProject/manifest.git -b android-7.1
[Nexus 6P Android Development] pvtjoker42:
Looks like beans is getting ready for a full release, he's been adding/updating github like mad today.. :D
[Nexus 6P Android Development] dieselbuddeh:
Should i update Ubuntu 14.04 to 16.04 to build 7.1.1 or is 14.04 still usable?
[Nexus 6P Android Development] DowntownRDB:
[MENTION=5409941]dieselbuddeh[/MENTION] I just did a successful build of PN 7.1.1 r6 and I'm using Ubuntu 14.04.
[Nexus 6P Android Development] dieselbuddeh:
Thanks! I'll sync source and try building.
[Nexus 6P Android Development] Trak-X:
Guys,

Anyone know how this issue can be solved:

fatal error: too many errors emitted, stopping now [-ferror-limit=]

20 errors generated.

It's not from PN, its from DU, but i am asking just as a general question. Maybe at some point it can happen with PN too. Where can we set the limit?
[Nexus 6P Android Development] pkelly517:
Maybe you should try to understand why you are getting the errors, and not try to get more.
[Nexus 6P Android Development] pvtjoker42:
Hey all, just got back from vacation, looks like beans has renamed the repo or locked it or??? I get this error.

The authenticity of host 'gitlab.com (104.210.2.228)' can't be established.

ECDSA key fingerprint is SHA256:HbW3g8zUjNSksFbqTiUWPWg2Bq1x8xdGUrliXFzSnUw.

Are you sure you want to continue connecting (yes/no)?

Thoughts?

Going to try a repo init and sync again see if i get anywhere.
[Nexus 6P Android Development] DowntownRDB:
[MENTION=1413661]pvtjoker42[/MENTION] I was able to sync late yesterday evening and build this morning. Are you using link listed in manifest? Was wondering as I see gitlab.com in your post. Hope you get it sorted out.
[Nexus 6P Android Development] mazz0310:
I too am having an issue building at the moment.

Fetching projects: 99% (490/494) Fetching project platform/hardware/qcom/bootctrl
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: Cannot fetch android_vendor_pixelgapps

error: Exited sync due to fetch errors

I tried to re-init the directory as well:

392 repo init -u https://github.com/PureNexusProject/manifest.git -b android-7.1
393 repo sync --force-sync
[Nexus 6P Android Development] pvtjoker42:
i just tried to do a repo sync --force-sync and it stops at this:

Fetching projects: 99% (490/494) Fetching project platform/external/opencv3

Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

after hitting enter a couple times i finally get my ssh session to respond with

"error: Cannot fetch android_vendor_pixelgapps

aborted by user"

i used the repo init line directly from the manifest section of the Pure Nexus github page that i copied yesterday after running into the issue i posted above.

any thoughts on what i might be doing wrong?

Thanks.
[Nexus 6P Android Development] nathanchance:
For those sync issues, go into .repo/manifests, open default.xml, and remove the line about PixelGApps.

FWIW, there really hasn't been much added since the 12/15 release
[Nexus 6P Android Development] DowntownRDB:
[MENTION=756777]mazz0310[/MENTION] and [MENTION=1413661]pvtjoker42[/MENTION] I just got back from a double round of golf and saw your posts. I apologize for not letting you know in my hurried post this morning that I got the pixelgapps error so I just went into .repo, manifests and then opened default.xml and removed the entire line about pixelgapps and then saved. Sorry, next time I'll be more detailed. :)

EDIT: Just noticed that I got ninja'd by The Flash and you got an answer.

Also, when I synced the repo The Flash was right as there were only 16 commits discarded from device/huawei/angler, 12 commits discarded from frameworks/base and 13 commits discarded from vendor/pure. Not a lot of changes but I like to keep my repo as current as I can.
[Nexus 6P Android Development] pvtjoker42:
I'll have to check that xml file when I get home and go from there.. Thanks guys!
[Nexus 6P Android Development] pvtjoker42:
I like to build every week or so, just keeping myself busy mostly.. :good:
[Nexus 6P Android Development] dieselbuddeh:
If I delete <project path="vendor/pixelgapps" name="android_vendor_pixelgapps" remote="gitlab" revision="android-7.1" />

from .repo/manifests/default.xml I get an error of

: Traceback (most recent call last):

File "/home/ben/PN_7.1/.repo/repo/main.py", line 531, in <module>

_Main(sys.argv[1:])

File "/home/ben/PN_7.1/.repo/repo/main.py", line 507, in _Main

result = repo._Run(argv) or 0

File "/home/ben/PN_7.1/.repo/repo/main.py", line 180, in _Run

result = cmd.Execute(copts, cargs)

File "/home/ben/PN_7.1/.repo/repo/subcmds/sync.py", line 821, in Execute

project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)

File "/home/ben/PN_7.1/.repo/repo/project.py", line 1363, in Sync_LocalHalf

lost = self._revlist(not_rev(revid), HEAD)

File "/home/ben/PN_7.1/.repo/repo/project.py", line 2501, in _revlist

return self.work_git.rev_list(*a, **kw)

File "/home/ben/PN_7.1/.repo/repo/project.py", line 2700, in rev_list

(self._project.name, str(args), p.stderr))

error.GitError: android_device_google_marlin rev-list ('^c927d273dbbbbce19e8c68abffe1d89f5d7b9419', 'HEAD', '--'): fatal: bad object HEAD

If undo the line deletion I still encounter a freeze at 99%.
[Nexus 6P Android Development] pvtjoker42:
i deleted the pixelgapps line from default.xml and everything built normally..

I haven't flashed yet, but that's the plan shortly..
[Nexus 6P Android Development] dieselbuddeh:
So i nuked my build directory. Then i went and initialized the repo and then commented out the pixelgapps line. Repo sync finalized without any errors. Building now.
[Nexus 6P Android Development] Anjustice1:
https://docs.gitlab.com/ce/ssh/README.html

This fixed the sync error for me.

Just Did steps 1 thru 5.
[Nexus 6P Android Development] AzraelsKiss:
I can verify that the repo sync will complete properly if you have the correct ssh key associated with a gitlab account.

Have a good one!
[Nexus 6P Android Development] mrjaydee82:
I can't figure out step 5
[Nexus 6P Android Development] nathanchance:
What part?
[Nexus 6P Android Development] mrjaydee82:
Nvm just figured it out lol. Thanks
[Nexus 6P Android Development] mrjaydee82:
Well I created the SSH key and it still errors out...Can't figure out what I'm doing wrong
[Nexus 6P Android Development] DowntownRDB:
[MENTION=556304]mrjaydee[/MENTION] As [MENTION=6842057]The Flash[/MENTION] posted on previous page you need go into .repo, manifests, open default.xml, and remove the line about PixelGApps. The picture you posted indicates: error: Cannot fetch android_vendor_pixelgapps

Without removing the line about PixelGApps in the default.xml it will continue to get to 99% and fail. Hope this helps.
[Nexus 6P Android Development] mrjaydee82:
It might be something I need maybe? I'm building for pixel xl
[Nexus 6P Android Development] Anjustice1:
After you generate a key. Navigate to the 'SSH Keys' tab in your 'Profile Settings'.(in your Gitlab account) Paste your key in the 'Key' section and give it a relevant 'Title'.

Hope this helps.

Happy new year.
[Nexus 6P Android Development] mrjaydee82:
I did all that and still the same result
[Nexus 6P Android Development] Anjustice1:
I first did

Repo --trace sync -c -d -j4

Something came up and asked about SSH key yes or no (typed yes)

Did the SSH key gen and copy paste. Then.

Repo-trace sync -fcj4 --force-sync --force-broken

Good luck just trying to help.
[Nexus 6P Android Development] nathanchance:
It's because some Pixel stuff is private on Gitlab and just generating an SSH key isn't enough, you'd have to be added to the repo by Beans.
[Nexus 6P Android Development] mrjaydee82:
Gotcha...Should still build okay then for the pixel?
[Nexus 6P Android Development] nicandris:
hey guys/gals, how big are your builds? I got 395Mb but the 15/12 build is 306Mb.
[Nexus 6P Android Development] pvtjoker42:
my last build on 12/30 was 395mb as well.
[Nexus 6P Android Development] AzraelsKiss:
Did ya close and reopen your terminal after generating the ssh key? If you added a passphrase for your key, a pop-up should show asking for your passphrase during the repo sync (of course, if you didn't add a passphrase, it should complete without prompting) and once entered, it should continue with the sync. Good luck!

Have a good one!
[Nexus 6P Android Development] fhem:
[MENTION=6842057]The Flash[/MENTION] Happy New Year and keep up the great work. Your are everywhere and much appreciated by this old guy. I know you keep up the latest stuff .................. I have a quick question. Have you or do you know if anyone has been using the latest 16.04.1 (18.1) for their OS build environment??? Also what about the linux 4.9 K?? I have tried but I have not had any success.

I know this is a bit OT but not too far I hope.

Thanks again for the help.
[Nexus 6P Android Development] nathanchance:
No I don't, I am using Arch for my environment on 4.8.15; I'll update to 4.9 when my custom kernel updates lol. I'll poke around though!
[Nexus 6P Android Development] fhem:
Thank you sir -- I will try hitting mr script up on G+ maybe he knows.
[Nexus 6P Android Development] nicandris:
I am using a VM with 16.10 and had no problems
[Nexus 6P Android Development] mrjaydee82:
Finally got it to work. Building for sailfish and Marlin now
[Nexus 6P Android Development] :
"repo init -u https://github.com/PureNexusProject/manifest.git -b n"

When I enter the above I receive the following error

repo init -u https://github.com/PureNexusProject/manifest.git -b

"""fatal: Couldn't find remote ref refs/heads/n

fatal: cannot obtain manifest https://github.com/PureNexusProject/manifest.git"""

Has somebody removed the Nougat branch?
[Nexus 6P Android Development] dieselbuddeh:
It is now: repo init -u https://github.com/PureNexusProject/manifest.git -b android-7.1
[MENTION=4395895]BeansTown106[/MENTION] has switched to 7.1.1 from 7.0
[Nexus 6P Android Development] nathanchance:
Need to change n to android-7.1. I haven't updated the OP since it's supposed to be a generic guide and I haven't had time.
[Nexus 6P Android Development] fhem:
Thanks for the response -- I tried mint 18.1 (clean install) and the builds will finish but the build times are 25-50% longer then on 18.0. I tried clean install w/ 18.1 and 4.9K and the builds won't finish. I assume you have not tried the 4.9K.

Thanks again for the response.
[Nexus 6P Android Development] nicandris:
I'm on 4.8, gonna try 4.9 later on just to test.

Update

server@server:~/PureNexus$ mka bacon
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
PURE_VERSION=7.1.1-20170102-HOMEMADE
TARGET_PRODUCT=angler
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53.a57
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-040900-generic-x86_64-with-Ubuntu-16.10-yakkety
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NMF26Q
OUT_DIR=/home/server/PureNexus/out
============================================
Running kati to generate build-angler.ninja...

Update2:

It build successfully. running

mka clobber

and building again now just to be sure
[Nexus 6P Android Development] fhem:
:good::good: Please let me know if it finishes -- Then I will know it is just dumb ole' me doing something wrong again --- Thank you so much for testing.