yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Android Development] theandroid02:
Sorry but I don't have the time (atm), knowledge or motivation to make this official. I haven't done any work to bring up Q on bullhead, I have just modified the PE trees accordingly and that's it, maybe in the future but not now
[Nexus 5X Android Development] eganonoa:
Using 0612 (not BLOD) and have everything working perfectly. Thanks very much for this. If there is a way I can make a contribution please do post.

Just wanted to highlight one issue I had in case its useful for others. After encryption the camera stops working. This appears to be an issue that others are having with PixelExperience. I tried multiple different versions and PixelExperience itself and couldn't resolve it either with no Gapps or with Gapps. I did get it working, however, with MicroG instead of Gapps. No idea why that should be, but it is all working perfectly now (occasionally the camera might not work if another app with camera permissions is working in the background, but disabling camera permissions for that app resolve it). Hope that might be useful to someone.
[Nexus 5X Android Development] jdancer:
Where can one get a version of MicroG to work this ROM?
[Nexus 5X Android Development] sinkoo1979:
Delete
[Nexus 5X Android Development] surmoi:
Thank you for that build! It's working great :)

There's only one thing I miss from LOS 15.1, is that when I pick up my phone, it displays the regular lock screen instead of the simplified black one (easier for the eyes in the night to check the time). Very interested by a workaround if there's any!
[Nexus 5X Android Development] theandroid02:
New build: 20200717

Changelog:

Merge new commits from PE that fix the offline charging animation, time on boot and hopefully camera while encrypted

Vendor security patch level is now December 5 2018

July security patch

Links: (Now on AFH as GitHub is very slow with uploads. I will still tag releases like this)

lineage-17.1-20200717-UNOFFICIAL-bullhead.zip

lineage-17.1-20200717-UNOFFICIAL-bullhead_blod.zip
[Nexus 5X Android Development] berom:
Thanks a lot. Have you also included the VoLTE patch?
[Nexus 5X Android Development] HTCDreamOn:
No-one else has commented, so can confirm that stock camera does work even on encrypted device :good: (using BLOD patched version) . Struggling to find a GCam mod that works but that's definitely my problem and not the ROM aha.

Thanks for bringing LineageOS here :victory:
[Nexus 5X Android Development] txbrownrice:
So I'm having a problem with mobile data turning off and phone apk force closing on current build. I rolled back to previous 6.13 build and had no problems with either. What changed in current build?
[Nexus 5X Android Development] payas0:
Flashed it and everything seems to work. Only problem is it's extremely laggy. I am not surprised as the phone is obviously really old and 2GB of RAM just can't cut it anymore with Android 10. Although I flashed gapps nano. Do you guys think it can do better with pico?

Maybe the official 8.1.0 is the way to go to make the phone still usable.

But thanks for supporting the Nexus 5X. Really appreaciate it!
[Nexus 5X Android Development] jclendineng:
First off, great ROM, super snappy (as lineageos generally is). I always come back to lineageos because it is so lightweight and the Nexus is a rather old phone :) quick question, does this support signature spoofing? Im going to install microg and that requires signature spoofing. Thanks again, this is one of the fastest ROMs for the nexus that isn't based on an ancient version of android.
[Nexus 5X Android Development] nexus5xxxx:
Is volte working?
[Nexus 5X Android Development] jclendineng:
I use it wifi only, so I dont know but Id assume since this is based on pixelexperience which has it working.
[Nexus 5X Android Development] nexus5xxxx:
For me it's not working
[Nexus 5X Android Development] jclendineng:
I believe you need signature spoofing to allow some of that, I do not believe any current android 10 roms have it from what I can tell
[Nexus 5X Android Development] :
Rtc clock is not working. When phone boots up, it displays date and time like system build
[Nexus 5X Android Development] HTCDreamOn:
I succesfully managed to patch this ROM using this method. You could try the beta NanoDroid patcher but it didn't work for me.
[Nexus 5X Android Development] jclendineng:
Thanks! NanoDroid has a version 22.7 that allegedly works and is in the repo but does not have a build yet, Im thinking about just pulling it and making a build for myself. If not, Ill use that script, good find.
[Nexus 5X Android Development] :
Hi. Does android auto works? (Connection with car), if yes , what gaps do i need, pico or nano?

I just need the lighest rom to work in my old nexus only for android auto.

Thanks,

Edit, i am in 3.1.1-0 team win recovery, and can't be flashed, coming fron android 7 rom.

Should i update something?

edit, ok latest twrp did the job..

Unfortunately doesn't connect to car with Android auto..
[Nexus 5X Android Development] drnoellyg:
Same for me, Android auto was not a good experience.
[Nexus 5X Android Development] :
I installed old 7.1.2 rom based to original , also doesn't work android auto..

It was the only thing i was using the phone.

After an android auto update, connection with the car, doesn't work anymore, and you can't use older android auto version (it ask you to update). If anyone use a rom which android auto works please tell me.

There is always a possibility that it is a hardware problem of the phone i suppose, but it is strange to work everything exept connection with the car.

Thanks,
[Nexus 5X Android Development] chopoLet:
What gcam did u guys use? Is there a none sluggish gcam or minimal gcam that I can use for this sluggish device
[Nexus 5X Android Development] beeyannkonehrri:
Incoming August build ETA?
[Nexus 5X Android Development] theandroid02:
No ETA. Probably an update won't come soon because I have to download the LOS source again.

However, building it yourself doesn't differ much from devices with official LOS. Just add my 3 repos (device, kernel and vendor) to your manifest and also apply this two patches: https://github.com/LineageOS/androi...mmit/c485279137acea7319466d1ece1f9ef7dc568cf7 and https://github.com/LineageOS/androi...mmit/46401ab9826a1b6eaa7c3462db472fc806563a8c
[Nexus 5X Android Development] tjburrows:
GPS does not work for me. I clean flashed version 20200717 without installing GAPPS, and it is unencrypted. Does it work for anyone else?
[Nexus 5X Android Development] Mr.....T:
Hi,

GPS works with the 20200717 build and the open GApps nano package.

I also can confirm, that encryption works with the Gapps nano package and as far as I can tell, everything works fine. (The trebuchet launcher kept crashing when I used the mini/micro Gapps package september 5th. Nano works.)

EDIT: I was wrong, I just tested it with GPSTest and my phone also won't get a valid gps position.
[Nexus 5X Android Development] beeyannkonehrri:
Many thanks for this.:highfive:
[Nexus 5X Android Development] theandroid02:
If you are interested, I have updated OP with a link to a manifest ready for building.
[Nexus 5X Android Development] berom:
How is the camera app on this ROM? Can you install a google camera? I have PE10 and camera app is slow.
[Nexus 5X Android Development] pentode:
Apparently broken for me too. Clean flash (BLOD version) + Gapps nano, unencrypted as well. Tested with GPS test and GPS toolbox. The phone sees a suspiciously small number of satellites (1-3 in the same spot other phones see at least 10-15) and never gets a lock.
[Nexus 5X Android Development] HTCDreamOn:
Works for me w UnifiedNlp (MicroG). Had to install both Mozilla Location Service (location backend) and Nominatim (address lookup backend), was wildly inaccurate at first, but now works fine.
[Nexus 5X Android Development] pentode:
Just out of curiosity, what software are you using to verify that the GPS is actually working, i.e. quality of signal, number of satellites, type of lock etc?

Also, are you using the UnifiedNLP version that can be installed on top of Gapps? It's been a couple years since I touched the microG stuff, I realize now there are subtleties to their packages I wasn't aware of. I thought it was an either/or thing, I didn't realize there was any interoperability between the 2.
[Nexus 5X Android Development] HTCDreamOn:
I haven't actually done any proper test admittedly, just checking on OsmAnd if I get an accurate lock and I usually do. I'll download the app you mentioned earlier to test properly.

And I don't think so, I used the Magisk NanoDroid module so UnifiedNlp was in that package from what I remember. I thought it was a choice between each address lookup method too, but it didn't work at all with only Mozilla's backend installed; unless the Mozilla backend doesn't work at all so it's just that it's using the other method. Will get back to you after testing.
[Nexus 5X Android Development] pentode:
Thanks for that extra info- I was doing a bit of reading this morning and seeing all kinds of comments about MicroG either not working at all under Android Q or being next to impossible to install properly. With your info though I think I'll give it a shot - I'm curious if it's (my specific) phone hardware, a driver thing, a Google thing, or a bug of some kind. This should help to narrow it down. I've already tried upgrading from nano GApps to mini as some have claimed you need Google maps installed for location services to work, which sounds totally screwy, and also totally believable knowing Google.
[Nexus 5X Android Development] new_melody:
Same here.
[Nexus 5X Android Development] HTCDreamOn:
Huh, doesn't work at all now. UnifiedNlp is telling me 'has no last known location' and 'do not have Location to test Geocoder' too. GPSTest no locks at all of course. I am positive it worked briefly though a few weeks ago. Will post more GPSTest results if I do get any luck.
[Nexus 5X Android Development] pentode:
I hope someone who knows the rules better than I do will let me know if I need to spin this off into a separate topic, but I have a bit more information on the apparent GPS problem. I've tried several different builds of 10/Q and the GPS doesn't work properly on any of them. I have gone back to an 8.1 build of Lineage and the GPS works perfectly on my phone, so I'm interested in figuring out what exactly is causing the problem here. I only know enough to be dangerous, but I'm hoping someone who knows this phone and/or Lineage better than I do to point a finger in the right direction. Is it a radio blob problem, a config problem, or some basic incompatibility with android 10? Hoping to share ideas either here or in another thread if necessary.

---------- Post added at 03:34 PM ---------- Previous post was at 03:30 PM ----------

I think my page was cached for a bit before I last posted... missed this one. I suspect that if you have wifi/LTE enabled, it might be trying to deal with location as best it can with those methods.
[Nexus 5X Android Development] RelentlesS747:
Check out this answer to my logcat logs

https://xdaforums.com/nexus-5x/development/rom-kernel-lineageos-17-1-t4163495/post83531395
[Nexus 5X Android Development] theandroid02:
That is indeed the problem. I'll do a new build this week with the patch applied.
[Nexus 5X Android Development] pentode:
I'm pretty rusty at the android stuff so maybe I'm way off base here- but can anyone confirm that the actual relevant code changes to this phone are the 2 lines in 1 file? (lines 893-895 of loc_eng.cpp - actually there are 2 identical files in 2 places but I suspect only 1 is being used)
[Nexus 5X Android Development] linckandrea:
you will probably need this also https://github.com/linckandrea/andr...mmit/dcbdf1f4058c35dcef5388b08b8b522004448f7c
[Nexus 5X Android Development] pentode:
Thinking I had somehow screwed up my source last night, I started fresh- and it appears that those patches are already applied in the main 17.1 source tree. Can anyone else confirm this?
[Nexus 5X Android Development] theandroid02:
They are already applied, but one is missing, here it is:https://github.com/Toomoch/android_hardware_qcom_gps/commit/da12d61a8c025d3a86bf47813b0ec488a5f39ab2

I have made a test build, if someone wants to test it PM me as I don't have my bullhead.
[Nexus 5X Android Development] pentode:
Many thanks theandroid02,

I spent a couple hours yesterday and this morning playing detective and found that other bug... I've been compiling all afternoon (from your manifest) and I guess I'm a couple hours from done. Maybe quicker to finish what I started than to try to get it from you unless you have great internet (I don't, although I'm happy to test yours if it's easy for you to upload somewhere)

Thanks a bunch for putting together the manifest.
[Nexus 5X Android Development] pentode:
Ok, I'm going to tap out for now- my build locked up my machine after 8 hours, now won't build at all... I'll wait for spoon feeding I guess :(
[Nexus 5X Android Development] theunlucky:
Hi

q to the rom:

when instlaling it with the smallest possible GApps-package (nano or pico - I would just like to install the play store)

- does Safetynet work? (can i install banking-apps that only run with safetynet WITHOUT having to "workaround" with magisk?)

- can Google Pay be installed (and used with NFC)?

- ...most important: is Lineage 17.1 on the 5X less resource-hungry than PixelExperience?

(I run my 5x as backup-phone on PE10 - the 2GB-RAM-factor is visible as soon some Apps are open, and for testing which of my apps still require an "official, certified ROM" and if not how well they "beahve" (as soon all the Apps I'm using run good enough on a customROM, my current daily driver (Mi 9SE) will be flashed with some none-MIUI-ROM) - would love seeing a more "lightweight-ROM" on the 5x, leaving more resources to "check in a daily situation")

Thanks for your advice :)
[Nexus 5X Android Development] Punkiderma:
[MENTION=6765239]theandroid02[/MENTION] I saw on you Android File Host a build dated 09/21, but it is only available with the BLOD patch; there's any hope to see it compiled also without the patch? Does it includes the latest gps and VoLTE fixes?

Thank you
[Nexus 5X Android Development] berom:
For sure VoLTE is there, you can see it in the source. Looking at previous discussion, it looks like gps fix is there.

Using the instructions, I've compiled this ROM without blod but haven't had time to test it.

DO you want to test it?
[Nexus 5X Android Development] Punkiderma:
Would be happy to test it in the next days/week, I was also trying to compile it myself!

Thanks
[Nexus 5X Android Development] berom:
I sent you a PM with the link.
[Nexus 5X Android Development] Mr.....T:
Building howto - is this still the way to go?

Hi guys!

It has been quite a while since I have built a rom. So I'm wondering, if this howto is still up-to-date, if I would use 17.1 instead of 15.1 source url?: https://lineageos.github.io/lineage_wiki/devices/bullhead/build

Or do I have to follow the manual, posted at the beginning (https://xdaforums.com/nexus-5x/development/rom-lineageos-17-1-t4049993 ) of this Thread: https://github.com/Toomoch/android_local_manifest_bullhead

There is another source at github: https://github.com/tothi/lineageos-bullhead-build

So which source do I have to use to build a working rom with the gps fix and what changes to the first manual do I have to consider?
[Nexus 5X Android Development] berom:
To build it yourself, click on the manifest link in the first page (https://github.com/Toomoch/android_local_manifest_bullhead). Instructions are there.

I've build the non BLOD ROM two weeks ago. I can send you a message with the link. I didn't had time to test it. But [MENTION=3060816]Punkiderma[/MENTION] tested it and confirmed everything was fine. If someone has a suggestion for storing it somewhere, let me know.
[Nexus 5X Android Development] sherlxanaxiq:
Thank you so much for your hard work, really appreciate it, but is there info on when encryption will be patched?

Have a nice day :D
[Nexus 5X Android Development] Punkiderma:
Encryption works fine, I'm using this ROM as daily driver.

Maybe I can upload the build I've made which is more updated if could be useful.
[Nexus 5X Android Development] sherlxanaxiq:
Thank you Punkiderma for your response, I would love to get your build :D

Sorry I didn't make myself clear at the beginning. Encryption works fine, but TWRP seems to have an issue decrypting data (doesn't matter if the passphrase is a pattern, pin or just a classic alphanumeric password). I tried possibly every version from 3.2.1 up to 3.4.0 and it doesn't seem to make a difference, so I tried searching if it's a TWRP thing or Lineage misbehaving. I use TWRP mainly for backup and because I tend to break things on a weekly basis TWRP is a game changer. If anyone managed to get it working I would really look forward for a response.

Many thanks in advance. Have a nice day,

a noob :D
[Nexus 5X Android Development] Punkiderma:
I'm very sorry but I looked for the build and I realized that I accidentally deleted the flashable zip that took my laptop hours and hours to build :I

I'm planning to try to build it again but this won't happen in the next days, so meanwhile you can ask [MENTION=616841]berom[/MENTION] for his build, it was just some days older than mine.

Also, yesterday I have discovered some android GO optimization that are enabled in Nexus ROM (from which I came from before using lineage) that really makes difference in the usability of the phone, so I can post them here!

About TWRP, I use the latest official from their website and everything works well with encryption, I don't know why it doesn't for you.
[Nexus 5X Android Development] sherlxanaxiq:
Thank you very much for your response, time is not an issue, the ROM is completely usable and the performance (even with 2 cores instead of 4) is outstanding. I have plenty of time and will be looking forward for your build. In the meantime, I'll try some more tinkering with my Nexus. Have a nice day! :D
[Nexus 5X Android Development] beeyannkonehrri:
DailyDriver?

Really, as your daily driver?:confused:

A couple of quick questions, if you'd be so kind as to answer them.

1) From a security standpoint, how are you updating Webview? Via Playstore? Via rom re-build?

2) From a sustainability standpoint, i.e. to keep up with the monthly patches and keep Webview secure, how often do you rebuild and reflash?
[Nexus 5X Android Development] Punkiderma:
Yes, for the first time in my experiences with android a unsupported version is faster than than the latest officially supported version for my phone. I find Q faster and smoother than Oreo from which I came from and I used for lots of time.

I have to say, think this have lots to do with the Android Go optimisation that I took from Nexus ROM: I'm starting to believe that our phone always had too little ram to perform smooth without a sorta of "lowram" flag enabled, even running supported android version. Before enabling these, I was incurring in lots of hiccups and micro freezes, but with these on the experience is almost lag-free like I've never experienced.

To reply to your questions: regarding webview, I use the module bromite system webview to substitute the original webview, and it gets updated via fdroid. I also don't have gapps and use microg.

Regarding the system security patches, I don't know if I'll have the time and resources to rebuild every month: in any case, this phone was already abandoned from a security update standpoint, so I think I'll live with the risks involved in using and old, unsupported phone. The only other way to get security updates seems to use Pixelexperience which is actively maintained, but it's not my kind of ROM.
[Nexus 5X Android Development] Mr.....T:
Hi berom,

Thanks for your info. I have built my rom and luckily tested it with the android emulator - it does not work. So I have to give it another try ;)

Anyway, I would be happy, if you could send me the link to your rom.

You could use android file host: androidfilehost or your google drive with its 15 GB free storage, where you can share the file with us :)

Thank you!
[Nexus 5X Android Development] beeyannkonehrri:
Brilliant blueprint!:highfive:

However, how do you flash a new build without reversing your Webview change?

Additionally, can you flash a non-BLOD build over a BLOD build without doing a full wipe?

I ask because I'd love to test your GO optimizations on a non-BLOD build.:cool:
[Nexus 5X Android Development] Balthazard:
If you would share it with me I could host the link for everyone to use.

I was using the LineAgeOs Optimized one. An amazing and smooth rom. The only problem is that GPS doesnt work.

Question. Those Android Go optimisations. Do they need to be implemented while building or can they be implemented after?

And could you elaborate more? Where I can find and implement them?
[Nexus 5X Android Development] berom:
I will send you a PM with the October build. I was planning to create a new one soon but was also waiting from the optimization of [MENTION=3060816]Punkiderma[/MENTION].

I think these are coming from the optimized Lineageos build.
[Nexus 5X Android Development] Balthazard:
[MENTION=616841]berom[/MENTION]

Thank you! I left you a message.

Good to hear about the optimized build. I can host that one too when it's done.

And if those optimizations are the same as the Optimized LineAgeOs Build than it'll be buttery smooth.
[Nexus 5X Android Development] Punkiderma:
These are not the sane optimization from linckandrea's Lineage, they come from Nexus ROM.

They are just some lines in build prop and fstab so they can be changed anytime, even in you already flashed (like I did). Today I will post them as soon as I can turn my PC on!
[Nexus 5X Android Development] RoyalPanda:
Hi folks,

I'm currently trying to bump into build from [MENTION=6765239]theandroid02[/MENTION] sources. No good so far, but I'll try to make it work. [MENTION=6765239]theandroid02[/MENTION] are you dropping the bullhead ? I understood that you don't own one anymore.

Second thing, I may host build. But since I'm not able to make one for now, does someone have one with GPS fixed that could be unleash ?

Thanks for the work by the way.
[Nexus 5X Android Development] linckandrea:
just to clarify some things:

those should be

dalvik.vm.heapstartsize=16m (Increase heap start size to 16m to minimize GC with larger bitmaps)

dalvik.vm.heapminfree=2m (Increase heap min free to 2m to improve first launch latency)

Imho

Very important: lazytime need kernel support without it, you can say welcome to bootloops
[Nexus 5X Android Development] RoyalPanda:
[MENTION=5536696]linckandrea[/MENTION] Hi, I'm coming in building for bullhead. Latest 17.1 regular build based on [MENTION=6765239]theandroid02[/MENTION] is good for now. But I saw that you made many changes, being ahead in android device. But below for the shadow kernel. Is there any reason for not merging your work in the device part and using vanilla shadow kernel together ?

Thanks in advance.
[Nexus 5X Android Development] RoyalPanda:
For the record : Lazytime is supported by [MENTION=6765239]theandroid02[/MENTION] kernel.

bullhead:/ # mount | grep lazytime
/dev/block/mmcblk0p40 on /cache type ext4 (rw,lazytime,seclabel,nosuid,nodev,noatime,noauto_da_alloc,data=ordered)
/dev/block/mmcblk0p24 on /persist type ext4 (rw,lazytime,seclabel,nosuid,nodev,noatime,nodelalloc,data=ordered)

Weirdly, /data doesn't get the lazytime options from fstab. But a mount -o remount,lazytime is working. (I have encrypted data, that may be related).