yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] dieselbuddeh:
Does anybody else get the ringtone selection screen bug like [IMG="this"]http://i.imgur.com/PnB8eB4.jpg[/IMG] on their home builds?
[Nexus 6P Android Development] mrjaydee82:
For the life of me...I cannot get passed this error
[Nexus 6P Android Development] DowntownRDB:
[MENTION=556304]mrjayd[/MENTION]ee I'm NOT a guru at this but appears your errors are ninja related. I had issues with ninja for a while doings builds a couple of months or so back and did the following to fix that issue.

I disabled ninja by adding this to the .bashrc file:

export USE_NINJA=false

After saving .bashrc file I typed following in terminal:

source ~/.bashrc

. build/envsetup.sh

brunch angler userdebug

Knock on wood, haven't had anymore Ninja issues with it disabled. Good luck getting your issue resolved.

If this doesn't help maybe [MENTION=6842057]The Flash[/MENTION] or [MENTION=3964027]AzraelsKiss[/MENTION] will come along and be of much more help as they are both Gurus at this stuff. :)
[Nexus 6P Android Development] nathanchance:
Pretty sure your error is above the kernel compilation section.
[Nexus 6P Android Development] AzraelsKiss:
I agree with The Flash, so without any further information, I would recommend syncing the repo and trying again. Good luck!

Have a good one!
[Nexus 6P Android Development] mrjaydee82:
Thanks I got it all working now :)
[Nexus 6P Android Development] dape16:
I am looking for a way to build Pure Nexus with bluetooth stack from CM/LineageOS. It looks like they both use AOSP Fluoride bt stack but CM has a modified variant with aptX support. I have no problem building PN and CM roms from source, but when I tried to replace the system/bt folder in the sources it couldn't build. I am sorry if this is a little OT but I would be thankful for any ideas what to start to modify. :)
[Nexus 6P Android Development] AzraelsKiss:
Why not cherry pick the changes you want instead of trying to replace the entire thing?

Have a good one!
[Nexus 6P Android Development] Audioffensive:
Hey Guys. I finally managed to get my ROM (not pure nexus though) to build.

I have 1 strange thing.

Without Gapps all works well. But when i flash Gapps it doesn't fully start.

It boots. And the welcome wizard works too. All up to restoring settings and apps. After that it should move on to the homescreen. But instead it hangs at "Android is Starting"

Anyone an idea what it could be?

Tried different Gapps packages too. Opengapss and Dynamic. No difference.
[Nexus 6P Android Development] Curiousn00b:
After you get that issue, it normally means you have no homescreen is installed, you should check your installed apps to see if it's true.

Many people have been experiencing this and came up with their own solutions, such as opening Google or going to the settings to gain access to the Play Store, and so on.
[Nexus 6P Android Development] Audioffensive:
Ok, but how can i have no homescreen installed?

If i don't flash the gapps i do have it. The default launcher.

That can't be removed by installing gapps can it?
[Nexus 6P Android Development] Curiousn00b:
It's completely possible within the script of it, but I'm unsure of the issue since I use OpenGapps Aroma.

Is the default launcher with PN Launcher3 or the Pixel Launcher?
[Nexus 6P Android Development] Audioffensive:
Neither. It's Cyanide Android with it's own launcher.

It is a heaviliy modded Pixel Launcher.

Could aroma gapps be the answer for me?
[Nexus 6P Android Development] Curiousn00b:
You could give it a shot.

My reasoning for using Aroma GApps is because I prefer the Google Apps over the AOSP apps and also dislike some things that get prebuilt with the rom(gallery,music,etc). A lot of people don't like being connected with Google due to battery drains or whatnot, but I easily get 4+ SOT without tweaking anything besides color calibration. ?
[Nexus 6P Android Development] Audioffensive:
I will give it a go then.

Thanks for the advise :)
[Nexus 6P Android Development] dape16:
Yes, I guess it would be the best to find the right commits and cherry pick them but I am fairly new to Github and I can't find much related to aptX in the CM/LineageOS repos.
[Nexus 6P Android Development] AzraelsKiss:
Well... Either way, these are advanced ROM building situations that'll require a fair bit of work. Either replace the AOSP bt repo with the LineageOS bt repo and face the issue of chasing down the errors and making sure the repo is set up for PN and all dependencies are met. Or cherry-pick the changes you want to make and make sure all the dependencies for that change are met and manually fix the conflicts that occur. You're going to need to do a lot of Googling and reading. Goog luck!

Have a good one!

https://github.com/LineageOS/android_system_bt/commit/2c2dcd3b7c10efa5b62c868b44080ddad2d30dd7
[Nexus 6P Android Development] Audioffensive:
Well you were absolutely right.

Launcher was missing.

I let the wizard restore Apex and Voila. Working. :)

Now i face a new thing. Only hslf of my apps are able to be restored.

The rest is said to be incompatible according to google Play. Apps like twitter, facebook and hangouts etc....

Any thoughts on that?
[Nexus 6P Android Development] Curiousn00b:
Any chance you changed your display size while it was happening?

I normally change my display size after to prevent that from happening. ?
[Nexus 6P Android Development] Audioffensive:
Yeah actually i did. :)

Damn... Sometimes its so simple you just don't think of it.

Will try again. Thanks again!! ?
[Nexus 6P Android Development] Audioffensive:
I tried again. With standard size. But stil missing lots of apps.

Twitter and facebook and more are giving incompatible when i search for them on Playstore.

Any idea what could cause that behaviour?

Wrong info somewhere in build?
[Nexus 6P Android Development] Curiousn00b:
When you say you tried again, you changed your display size and proceeded to check the Play Store, or did you fresh flash?

Change the display back to normal, then wipe the Play Store data. That's what I did when the issue appeared for me.
[Nexus 6P Android Development] Audioffensive:
It was a clean install.

Made new build but that has stability issues.

Really annoying this hahah
[Nexus 6P Android Development] dbroer91884:
So quick question about the original post:

This line:

Does this mean something like

sudo nano ~/.bashrc

And then actually going to end of of the file and adding:

export USE_CCACHE=1

to the end?

Thanks!
[Nexus 6P Android Development] DowntownRDB:
[MENTION=950972]Dbroer[/MENTION] You are correct. Then be sure and hit ctrl-X, Y, and enter to save.

Then type $ source ~/.bashrc
[Nexus 6P Android Development] AzraelsKiss:
You shouldn't need to sudo. Just nano ~/.bashrc.

Have a good one!
[Nexus 6P Android Development] svvnirmal:
Regarding Boot animation creation

Hi brother, I'm building my own rom from source ! I need to create a boot animation ! How could I do that ? Some guides seem to be too old. Can u guide me with some steps or a link that works ?

Thanks In Advance :):confused:
[Nexus 6P Android Development] nathanchance:
No, sorry, I don't know how to do this. This also is not the place for that question, try making a post in the Android Q&A forum.
[Nexus 6P Android Development] svvnirmal:
Thanks for response

Its okay bro , I will try looking in some other thread :)
[Nexus 6P Android Development] dbroer91884:
Short of comparing what you have on your computer vs what is present online, is there a way to tell if any updates to the project were posted? Like, when you resync the repo, is there a way to tell with what happens that new things were updated?
[Nexus 6P Android Development] nathanchance:
You can either go to Github and view the commit list there or you can watch the repo sync, see what repos have changes, move into the folder, and run git log.
[Nexus 6P Android Development] svvnirmal:
Finally Built my first rom ;) thanks for the guide bro
[Nexus 6P Android Development] DowntownRDB:
[MENTION=5181491]svvnirmal[/MENTION] Congratulations on your first home built ROM. Keep up the great work and soon you too could become a great ROM developer.

[MENTION=6842057]The Flash[/MENTION] Just wanted to add my thanks again for setting up this thread and stopping by as often as your busy schedule permits. I know how busy your schedule can be especially with being a full time student with homework and all, working part or full time and still dedicating many hours to being proactive on XDA and numerous threads. I am not sure how you manage all this and still are able to get some sleep. LOL Anyway, I for one, and I'm sure many others really, really appreciate your support and dedication.
[Nexus 6P Android Development] pvtjoker42:
hey guys, been building my own PN for a while now, the last 2 builds i've run into an issue. My phone is encrypted, and i use pattern to unlock at boot. Previously it's never been an issue, but the last 2 builds when getting to the pattern unlock to continue booting into android, the pattern dots a shrunken down to smaller than a micro sd card making it impossible to unlock.

Built yesterday, using superSU 2.79, openGAPPS nano, and the latest theme ready apps. Any help would be appreciated.

(i wish i could remember what i did to get the last build working, sadly that was a night I decided to flash after having a few drinks)
[Nexus 6P Android Development] garnet&gold:
I believe you just need to delete locksettings.db

see this thread: https://xdaforums.com/nexus-6p/general/psa-twrp-backups-lockscreen-security-t3245070
[Nexus 6P Android Development] pvtjoker42:
I don't want to bypass the lockscreen, i want to figure out why it's showing up so tiny that it's impossible to do anything with. :good:
[Nexus 6P Android Development] AzraelsKiss:
You may need to delete your current security as recommended then enter new security credentials once you boot into system. I do not have the issue you're describing, so it's not something normal in the build.

Have a good one!

btw... I clean flash every build I make and disable security in system prior to flashing, then setup security on first boot.
[Nexus 6P Android Development] pvtjoker42:
Yeah, i did a clean flash to get back up and running, just one of those things that i wish i had a bit more insight into to figure out what was going on.
[Nexus 6P Android Development] 5.1:
Hi guys & girls...

I'm new to rom building.

My build environment: Dell laptop e7450

CPU: i7 5600u 2.6GHZ

RAM: 16GB DDR3 1600MHZ

SSD: 500GB 850 EVO SAMSUNG

I partitioned my SSD and made a 250GB partition, installed UBUNTU 16.04 and just followed OP how-to to get up and running. Repo took a while... Let's say 5 hours to download the ~50GB of source. First build took, hmm a long time too.

It displayed a lot of errors, but finally it finished.

I only have one question... Is it "normal" that my build is approximately 20MB bigger than the official Pure Nexus build?

Thank you in advance.

Also, thank you OP for taking time to write this great tutorial... :good:
[Nexus 6P Android Development] pvtjoker42:
What was your total size? And did you flash successfully?

My most recent build on the 4th was 399.96mb

And welcome to the build club! Hope you enjoy it as much as I do!
[Nexus 6P Android Development] 5.1:
Hi pvtjoker42,

Well, just wanted to take a picture of the zip properties on ubuntu... I'm a bit embarrassed now. I just realised the filesize has exactly the same number of octets as windows or my android file explorer has... BUT, total filesize differ a bit.

Ex: Windows reports: 399*Mo (419*392*179 octets)

Ubuntu reports: 419,4MB (419*392*179 octets)

So i just did a google search and found out windows and ubuntu don't use the same metrics as stated here:

http://askubuntu.com/questions/573586/files-sizes-differs-from-windows-to-linux

It makes sense to me now. Also i didn't flash yet... I was too scared of messing something up...

Once the dear BeansTown106 update the source to February security update, i'll build again and install it on my phone :)
[Nexus 6P Android Development] AzraelsKiss:
Actually... The current PN code should be updated with the Feb security patch already.

Have a good one!
[Nexus 6P Android Development] 5.1:
Hi AzraelsKiss...

I always (only) check PN change log. I guess that's why I thought it wasn't updated yet. Just checked on GitHub and it's indeed up to date. The n00b in me isn't used to these things yet. Thank you. :good:
[Nexus 6P Android Development] t83wood:
I want to try this. I'm not a dev but have a good Linux background. Would this be a good start to get into programming?
[Nexus 6P Android Development] Piesek:
I am not a programmer and started playing around with compiling ROMs from source a couple months ago (started with CopperheadOS). I just successfully compiled Pure Nexus from source as well :D. Coming from ZERO knowledge of Linux or programming, I found it helpful to make me Google a ton of things to understand what is actually happening.
[Nexus 6P Android Development] AzraelsKiss:
To just build a ROM, you really don't get any programming experience... It's just a straight-up compiling, sorta like compiling a custom kernel, but less options to worry about. Now if you're thinking about customizing the ROM later on... That's where you'll get your feet wet in programming... Especially if you end up working on your own commits to fix bugs or add functionality. Good luck!

Have a good one!
[Nexus 6P Android Development] kyle_el:
Totally, totally true. Built PN awhile ago with minimal experience in programming. Super easy.
[Nexus 6P Android Development] pvtjoker42:
Anybody found any differences between the standard feb release (N4F26O) and the one listed "for verizon only" (NUF26K) ? I'm on verizon, but never messed with the couple of updates that said they were for just verizon.

Other than a radio version difference, i haven't seen anything in the zips that looks different. assuming that's the only difference?
[Nexus 6P Android Development] nathanchance:
Radios are the only difference.
[Nexus 6P Android Development] anthonyg45157:
Do you know what the difference is(version number)? Which version is "verizon only"
[Nexus 6P Android Development] pvtjoker42:
the verizon version (NUF26K) comes with radio 3.79, the standard version (N4F26O) comes with radio 3.78
[Nexus 6P Android Development] samsuning:
Hi,

thanks for this thread. Is there any guide for building the pure Nexus for S7 SM-G930W8 or the S3?

Thanks
[Nexus 6P Android Development] pvtjoker42:
so, just in case anyone runs into the issue i mentioned before of the pattern to unlock being super small and unusable, it seems it's an issue with TeamBlackout's Theme Ready Gapps.
[Nexus 6P Android Development] sToRm1nG:
During the build I receive the following error (the build itself however is continuing and successfully finishing):

The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.

make[1]: *** [modules] Error 1
make: *** [sub-make] Error 2
make: Leaving directory `/home/storming/ROMs/PN/kernel/huawei/angler'
make: Entering directory `/home/storming/ROMs/PN/kernel/huawei/angler'

The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.

I know that this should be fixable by editing the .config and make sure that it looks something like this:

CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y

However, I don't know where to look for this.

I am using Arch Linux and try building angler.

Does anybody know how I can get around this?
[Nexus 6P Android Development] nathanchance:
That's not your error, it will always say that. Your error is above the kernel building.
[Nexus 6P Android Development] sToRm1nG:
Hm... Stupid me. :D

I tried to recreate the error but this time no error at all (maybe some weird ninja stuff was happening....).

If I experience it again, I'll try to cover the complete message.
[Nexus 6P Android Development] AzraelsKiss:
Errors and warnings during builds are normal. As long as the compile completes, you don't have any fatal errors and the build should work. If you have fatal errors, or the build is buggy, (and you didn't make any manual changes to the code) then repo sync and try again (beans is probably updating the code in the repo and you didn't have all the commits). Good luck!

Have a good one!
[Nexus 6P Android Development] sToRm1nG:
Ok, I was having the "issue" again but I guess it is totally fine:

[...]
SYSMAP System.map
OBJCOPY arch/arm64/boot/Image
GZIP arch/arm64/boot/Image.gz
CAT arch/arm64/boot/Image.gz-dtb
make: Leaving directory `/home/storming/ROMs/PN/kernel/huawei/angler'
make: Entering directory `/home/storming/ROMs/PN/kernel/huawei/angler'
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
make[2]: Nothing to be done for `dtbs'.
make[2]: Nothing to be done for `dtbs'.
make[2]: Nothing to be done for `dtbs'.
make: Leaving directory `/home/storming/ROMs/PN/kernel/huawei/angler'
make: Entering directory `/home/storming/ROMs/PN/kernel/huawei/angler'

The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.

make[1]: *** [modules] Error 1
make: *** [sub-make] Error 2
make: Leaving directory `/home/storming/ROMs/PN/kernel/huawei/angler'
make: Entering directory `/home/storming/ROMs/PN/kernel/huawei/angler'

The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.

make[1]: *** [modules_install] Error 1
make: *** [sub-make] Error 2
make: Leaving directory `/home/storming/ROMs/PN/kernel/huawei/angler'
[...]

As far as I understand it, it's states that sub-make exited with 2 which points to "make[2]: Nothing to be done for `dtbs'.".

So I guess nothing to worry about. :)

Rebuilding with the new translations in place. :D
[Nexus 6P Android Development] dieselbuddeh:
What lines in what file would I have to delete/comment out in order to disable notification bundling. I absolutely hate bundled notifications!
[Nexus 6P Android Development] svvnirmal:
Bro Need ur help or guide ! I need to build this rom for yu yureka mobile ! what i need to know is how to get proprietary drivers of device and how to make that vendor folder in working directory.?? while building for my nexus 6p , i built successfully using this guide with your help. If i need to build for any other phone ? whats the change i have to do?? please guide me or suggest me a link ?
[Nexus 6P Android Development] placebo_domingo:
So this now happens when I sync android-7.1. Did something change?
[Nexus 6P Android Development] pvtjoker42:
Looks like Beans made some updates like 40 min ago, so might be what's breaking your sync..
[Nexus 6P Android Development] nathanchance:
Branches are being renamed.
[Nexus 6P Android Development] rlivin:
Thanks, I was getting alot of errors during sync and after. Thought it was me.
[Nexus 6P Android Development] dbroer91884:
So are branches still being renamed? I'm getting the same errors a day later:

How long does the process of renaming branches take? Not being impatient, I'm just curious. Also, do I just try to resync later or does anything need to be deleted?
[Nexus 6P Android Development] nathanchance:
Rebasing is happening at the same time as renaming so it can take a while.
[Nexus 6P Android Development] AzraelsKiss:
You'll likely have to re-init and do a force sync when the rebase is completed, but you'll probably not have to delete anything... Unless you want to start fresh. Just be patient... Good code is rarely rushed and rushed code is rarely good.

Have a good one!
[Nexus 6P Android Development] sToRm1nG:
I guess this is already a preparation for 7.1.2, right? Or did something happen that he needs to rebase?
[Nexus 6P Android Development] AzraelsKiss:
Beans was probably just bored and decided to give himself more work to do... :P

Have a good one!
[Nexus 6P Android Development] dbroer91884:
And to be clear, I have no problem with waiting and if I came off that way, I apologize. I was mostly curious how long this process takes in general. That's all!

Thanks
[Nexus 6P Android Development] AzraelsKiss:
Unfortunately... We won't know until it's over... There is no "general" timeframe... Could take days... Could take weeks... Hell... If Beans wasn't superhuman, it could even take months...

Have a good one!
[Nexus 6P Android Development] nathanchance:
I think he just felt he wanted the source to be cleaner in spots.
[Nexus 6P Android Development] HiM@L:
i hope i can post this here....and get some help.

I am trying to cherry pick this commit

https://github.com/ezio84/abc-n_frameworks_base/commit/3326567723094994c4fb34d4d62a3cd016d5b7ac

for my personal build of Krexus ROM. I have added nothing more other than latest changes in krexus repo.

But i am not able to....generally, when we cherry pick we edit files but in this case all four files status gives me "deleted by them"

is there a step prior to this i need to do ?

thanks in advance.
[Nexus 6P Android Development] nathanchance:
You picked into the wrong repo because all of those files are stock files (aside from the custom strings one).
[Nexus 6P Android Development] HiM@L:
thanks for the reply.

I thought i did in right repo....will try again tonight.
[Nexus 6P Android Development] Audioffensive:
Does anybody know how i can incorporate the stock email app (which is in CM/Lineage for example) with exchange option in a rom? What to cherrypick?
[Nexus 6P Android Development] AzraelsKiss:
I'm sure y'all know, but ya can build the n-mr1 branch now.

Have a good one!
[Nexus 6P Android Development] Spannaa:
I didn't - cheers for the heads-up ;)
[Nexus 6P Android Development] DowntownRDB:
[MENTION=3964027]AzraelsKiss[/MENTION] I did a build this morning and it is working great, no issues. Thanks for the heads up.
[Nexus 6P Android Development] dieselbuddeh:
[MENTION=6842057]The Flash[/MENTION] did you delete your building PN script from your guthub?
[Nexus 6P Android Development] nathanchance:
Which script?
[Nexus 6P Android Development] dieselbuddeh:
https://raw.githubusercontent.com/nathanchance/Android-Tools/master/Scripts/build-pure.sh This one.
[Nexus 6P Android Development] nathanchance:
Check the repo from the top, it's been renamed since it's been made generic
[Nexus 6P Android Development] DEVILOPS 007:
Would someone be able to possibly help me with applying a patch file with git into a rom by compiling and merging with the source code please. I have no clue where to start. Any tips, links or anything would be greatly appreciated. Thanks!
[Nexus 6P Android Development] p70shooter:
What do you want to do?
[Nexus 6P Android Development] dieselbuddeh:
Did something change? My file size is now 640+MB vs 414MB.
[Nexus 6P Android Development] AzraelsKiss:
GApps are baked in.

Have a good one!
[Nexus 6P Android Development] Fralund:
Strange sync error

Hi,

I have a strange error when getting the source. I have removed the entire Android folder, including .repo and restarted several times. I do "repo init -u https://github.com/PureNexusProject/manifest.git -b n-mr1" as desceribed in the Manifest at Github and then "repo sync --force-sync". I have attached the log after re-trying without beginning from scratch. The result is the same however.

Have anyone seen this?
[Nexus 6P Android Development] AzraelsKiss:
I don't know... Looks like you may have hit a connection issue... If it continues to happen, you may want to try some of the Source Sync fixes mentioned in https://source.android.com/source/known-issues.html and see if any of them help. Personally, I'm not having any sync issues, but I'm not trying to pull the whole code base, so that could be the difference. Good luck!

Have a good one!
[Nexus 6P Android Development] Fralund:
No, I don't have a conneciton issue. I do repo sync of standard AOSP without problems, so it's very strange. Anyway, thank you for your help, I will continue searching.