yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] P4Block:
Download new build here and in the main post.

Android has been updated, no idea on the specific bugfixes. The build is smooth as silk, nothing broke.

Not deodexed, sorry. I want to keep it stock and performant.

I remind people that you need to use Magisk for root.

You can set volume buttons to wake on Lineage's button settings. I have no idea on what other kernel devs are doing.
[Nexus 5 Android Development] Johnfoo19:
Amazing build! Just one question, is it mandatory rooting with magisk?

I only need root in order to have kernel adiutor working, nothing else. So I rooted with supersu and thats it
[Nexus 5 Android Development] 9Lukas5:
I thought that would just be a build setting, how it gets compiled, so it would still be stock.

And up to now, all stock cm/los build I have come through were deodexed^^

But thanks for an answer ?
[Nexus 5 Android Development] P4Block:
Update

Download here

We got color themes now.

[IMG="Added color theming"]https://i.imgur.com/6LeRyRo.jpg[/IMG]

Also fixes a cpu deadlock bug.
[Nexus 5 Android Development] andreapier:
Do calls over bluetooth work in this ROM?

I read many complaints in other Oreo ROMS about BT calls issues.

Thanks
[Nexus 5 Android Development] andPS2:
thanks for the amazing ROM!

unfort. the site seems to be down

can anyone pls provide a mirror for the latest download

(the one with the color schemes)?

thanks in advance
[Nexus 5 Android Development] nomadewolf:
I cannot flash this... it says it's not a hammerhead ROM... Anyone else have this problem?...
[Nexus 5 Android Development] P4Block:
My internet went down for the night, as usual. Don't use Vodafone lol
[Nexus 5 Android Development] lulli1:
Nope. Changelog doesn't seem to solve the problem. It's a major bug. No Oreo ROM has fixed it yet.
[Nexus 5 Android Development] P4Block:
It's not much of a fix, but rather that oreo requires some new audio configuration that needs to be done from scratch.

Amaces got a working basic implementation that allowed us to have audio in the first place. It could be worse lol
[Nexus 5 Android Development] driton.talinoci:
hi can i update to your rom from this one:

https://xdaforums.com/google-nexus-5/orig-development/unofficial-lineageos-15-0-nexus5-t3711115

i mean without loosing data
[Nexus 5 Android Development] JekaPinsk:
The only thing that blocks me from installing this room is broken NFC :(

But I'll keep an eye on this thread,

! Thanks, dev!
[Nexus 5 Android Development] P4Block:
You should be able to
[Nexus 5 Android Development] driton.talinoci:
Ok, is it worth it to update?
[Nexus 5 Android Development] andPS2:
to whom it may concern:

root through lineage addon didnt work for me had to flash magisk
[Nexus 5 Android Development] Krizthian:
What Gerrit patches have you used?

Greetings
[Nexus 5 Android Development] milowke:
The download link is not working.

Can you please fix this?
[Nexus 5 Android Development] Taji34:
Is the intention to get this ROM to meet the requirements so it can be an Official LineageOS ROM?
[Nexus 5 Android Development] musajeehuzeifa:
Everything with this build is 100% except the sound, can anyone suggest a tested workaround/solution to this problem, literally cannot hear anything.
[Nexus 5 Android Development] joco82:
New version?
[Nexus 5 Android Development] P4Block:
Works for me

New version will be released next week due to issues with the build (and I'm away from home)
[Nexus 5 Android Development] GopalKaul:
Hi friend.

What's your build specs?
[Nexus 5 Android Development] andPS2:
it seems camera recording video doesnt really work

with the lineage os cam it crashes occasionally

then u get the infamous cannot connect to camera message

with footej camera it records but the playback is choppy

anyone else can confirm?
[Nexus 5 Android Development] ohynek:
It is a known problem on all Oreo 8.1 ROMs for now alongside with BT call bug.
[Nexus 5 Android Development] spjuggalojoe:
Confirmed, same problem. I've tried both clean wipe and dirty flash, makes no difference. :(
[Nexus 5 Android Development] svncibrahim:
when will the new version come?
[Nexus 5 Android Development] TheCh0sen0ne:
The Google Camera App works perfectly
[Nexus 5 Android Development] Shotg1:
What version of google camera?
[Nexus 5 Android Development] TheCh0sen0ne:
4.2.035.141213305
[Nexus 5 Android Development] Shotg1:
Thanks, just noticed latest google camera wont work with our device
[Nexus 5 Android Development] andPS2:
with google camera i also get stutters when playing back the recorded vid

which is strange since its working on moto g 2014 lineage os 15.1 (only with footeji cam) and its supposed to be the same camera...

p.s. just saw in the moto thread the app cameringo lite

that one works flawlessly!!
[Nexus 5 Android Development] swapnildixit3:
Anybody tried new build?

lineage-15.1-20180225-UNOFFICIAL-hammerhead

What changes are there? Is it working fine?
[Nexus 5 Android Development] jobayer:
Low volume in call has been fixed but Camera and flashlight is broken!

Update:

volume adjustment in call also not working, its stuck on maximum volume
[Nexus 5 Android Development] davidshen84:
Hi P4Block,

I got the 20180225 build. I found the these issues:

- The camera is not working. There's not apparent error. The app just hang there with a black screen. The phone is still responsive.

- Google stops working from time to time.

Thanks.
[Nexus 5 Android Development] P4Block:
Finally back at home!

I see that you have found my secret build! Yes, it was broken as ****.

That's why I didn't post it, lol.

But now with the good news, after 20 builds or so, a New Build is ready. It's up to current Lineage sources, including new exciting release-y stuff. And I found an NFC fix deep in gerrit (amaces did it, who would've thought :cool:)

- February security patch

- Added dynamic icons

- New WallpaperPicker with awesome wallpapers

- Installing APKs works properly now

- Fixed NFC

- We still have audio and camera (hah)

Also I've changed the recommended gapps to MindTheGapps as per upstream Lineage recommendation.

Main post updated. Also, Download here.
[Nexus 5 Android Development] Vanquish17:
[MENTION=5567986]P4Block[/MENTION]

I hv found another gapps package(other than MindTheGapps) for los 15.1 working perfectly fine

https://xdaforums.com/android/apps-games/arm-unofficial-opengapps-builds-android-t3743495/page31

*Page 31

Hope u may update the gapps package on ur thread to this also:good:
[Nexus 5 Android Development] P4Block:
I edited the post yesterday with some changes, but now apparently they're not there.

Fixing
[Nexus 5 Android Development] Ice_machinE:
Has anyone managed to find where's the setting for sRGB? When I search for it, it leads me to developer options but there's no settings for that there.
[Nexus 5 Android Development] P4Block:
This phone doesn't even have display calibration options on AOSP. You'd need a CAF rom or custom kernel for that, the toggle has never done anything as far as I know :eek:

That said, we happen to have a pretty custom kernel on this rom, so you can definitely calibrate to your liking on something like kernel adiutor and in settings.

EDIT: the toggle is there, but deactivates itself / is useless, as expected. I would recommend a clean flash with the new build and new gapps, I have done it myself and some old quirks are gone. ie. Snap is back and working.
[Nexus 5 Android Development] Ice_machinE:
Thanks, but when you say "clean flash" you mean wipe everything and flash the latest nightly version? because yesterday I wiped clean everything from my phone including userdata and flashed lineage-15.1-20180226-nightly-oneplus3-signed.zip on it.

I know for a fact that the sRGB changed the way my screen looked to be more "eased" when I used OOS so I'd expect LOS to have it as well.
[Nexus 5 Android Development] Vanquish17:
Yes...clean flash means wiping EVERYTHING and flashing roms and gapps and other packages from start
[Nexus 5 Android Development] Ice_machinE:
Like I said, that's exactly what I did.

Also, I have another problem, when I get a notification on the lock screen and double click on it to go to it, I get the "emergency call" screen and not the app that this notification belong to.
[Nexus 5 Android Development] GopalKaul:
Can you tell us your build specs? Whether online server or a PC?
[Nexus 5 Android Development] EMK2000:
I have faced an interesting problem.

I flash the Lineage-20180228 build + OpenGApps (nano), it failed and shows that there is no enough space for the GApps, and asked me to use a smaller GApps. OMG it's already nano...

But I tried Lineage-20180225 build + the same GApps, it succeeded.

I compared the sizes of the two ROM builds, the difference is less than 20 MB...

Is it nothing I could do except changing the GApps to pico???
[Nexus 5 Android Development] P4Block:
I build on my old 4790K, Ryzen 2 waiting room.

Building the entire thing takes 1 hr, but with Android 8 it is pretty useless to do so. Basically you build that once, then make installclean when you do changes, then make bacon again.

Rebuilding an entirely new device tree takes 15 minutes, rebuilding with just an audio sauce swap or minor change takes between 1.5 minutes and 3 minutes.
[Nexus 5 Android Development] GopalKaul:
Any idea how long will an i5 2500k and a 4 gig ram laptop with an SSD of 250 GB will take?
[Nexus 5 Android Development] Krizthian:
That SSD it's a really good improvement and it might help a lot to speed up build process, but your RAM it's the real problem, for building Android Oreo you need at least 16gb RAM (Just if you want to build on 1 or 2 hours) You can build with 4gb or 8gb RAM changing some values on Android default compiler (Jack) but build process would be so long and you might get some errors while building...

PD: If you increase your RAM to 16gb your laptop will be perfect for building Android ;)

Greetings.
[Nexus 5 Android Development] svncibrahim:
thank you!
[Nexus 5 Android Development] JekaPinsk:
Tiny ROM Review

Hello everybody!

I've just installed this ROM and used it for a day.

Here is the short review about it:

The ROM is working good and is fluent, no lags or anything.

Things are not working or broken I found so far:

1) Video tearing in videos taken by Google Camera in 1080p. Slightly less tears in 720p.

2) Looks like second mic is either "uncalibrated" or not working at all - too much noises in video recording (Seems that there are no noise in calls, but I haven't heard myself and people are telling that everything is OK).

3) SafetyNet check - failed :(

Battery life is just like on stock ROM - took from charger at 8am and by 11pm there is 20% left.

Thanks devs!

Some screenshots:
[Nexus 5 Android Development] losl1946:
I flashed this ROM in my Nexus5 as a secondary OS and got "updater process ended with error 7". Should i modify the " Updater-script" as found from google search?

Thank you for your advice.

losl

---------- Post added at 06:59 PM ---------- Previous post was at 06:33 PM ----------

This thread was closed yesterday!

https://xdaforums.com/showpost.php?p=75745228&postcount=394

losl
[Nexus 5 Android Development] Vanquish17:
And for your kind information.....I wrote about it 3 days back

LOSL

And yess...... updater process won't work in any unofficial build....anyways....
[Nexus 5 Android Development] jobayer:
Are there any work around to install Netflix? I'd be grateful if someone can help me out. Thanks in advance.
[Nexus 5 Android Development] matteo2:
Official gapps is out!

Inviato dal mio SM-G950F utilizzando Tapatalk
[Nexus 5 Android Development] JekaPinsk:
I've just noticed that light diode blinks every minute while on charge, probably should not.

Audio is louder than on stock ROM.
[Nexus 5 Android Development] P4Block:
The devs spent the last few days working on very nice and needed device tree patches. Camera recorder may work better now, and the kernel has been improved as well with functionFS and cpu sched fixes. Plus, themes API and a whole lot more changes since last week.

Download link updated.
[Nexus 5 Android Development] lakija:
Can anyone confirm camera is fixed? I want to flash this rom but I need video recording...
[Nexus 5 Android Development] P4Block:
Just tested and video recording is still somewhat glitchy. Unlegacy has it fully working, if you need it, iirc.
[Nexus 5 Android Development] youl_junior:
Hello,

Did anyone managed to install official nano opengapps ? When I try to install, it says that I don"t have enough space.

I may try another package (like Pico), but I don't want to loose any gapps functions :(
[Nexus 5 Android Development] P4Block:
Try MindTheGapps.

Also, a note here for those of us who have been having extreme mobile radio active battery drain (50%+) and crap battery life since lollipop. I flashed kitkat 4.4 radio and now... that seems gone. I will report after a few days of testing.

I'm not recommending you to downgrade your radio to 2013, as it's probably now vulnerable as ****, but do try if you were facing that issue.
[Nexus 5 Android Development] P4Block:
Quick Update

March security patch just in

Wipe caches for this one, or give it a reboot after the initial dex optimization.

Download updated
[Nexus 5 Android Development] Kotaless:
[MENTION=5567986]P4Block[/MENTION]

Can you do something about low in call volume?
[Nexus 5 Android Development] joco82:
New realese?
[Nexus 5 Android Development] flk91:
when will the officiality of the ROM 15.1?

when will the officiality of the ROM? I've been looking forward to it for a long time :)
[Nexus 5 Android Development] Pwnna:
Is there a working device tree/kernel/other patch combination that actually works? I've tried to take patches from Gerrit but I can't actually get them to even merge into my tree cleanly, never mind building.
[Nexus 5 Android Development] P4Block:
[MENTION=4224560]Pwnna[/MENTION]

Checkout this commit, set selinux as permissive and just build ahead.

New build

I changed buildserver and merged upstream changes.

The device tree now requires only 1 cherry pick (nfc) to build correctly. When the camera recorder bug is fixed for the old HAL this phone and many others will be able to get official nightlies.

Been testing for a day, performance seems improved. No idea on call volume, bluetooth... (I don't use those)

EDIT: We got Lockdown mode, inspired by P's own lockdown action. Forgot to mention.

Download
[Nexus 5 Android Development] Pwnna:
[MENTION=5567986]P4Block[/MENTION] Thanks for the help! For the record, I also seemed to have to cherry-pick this commit to get the cmhw error to go away. The build is able to start but we'll see if it actually finishes/boots/works.

To set the system to permissive, I applied the following patch if anyone else is interested:

diff --git a/BoardConfig.mk b/BoardConfig.mk
index b39e97b..779e7d8 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -25,7 +25,7 @@ TARGET_NO_BOOTLOADER := true
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_PAGESIZE := 2048

-BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=hammerhead user_debug=31 maxcpus=2 msm_watchdog_v2.enable=1 androidboot.bootdevice=msm_sdcc.1
+BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.selinux=permissive androidboot.hardware=hammerhead user_debug=31 maxcpus=2 msm_watchdog_v2.enable=1 androidboot.bootdevice=msm_sdcc.1
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02900000 --tags_offset 0x02700000
BOARD_KERNEL_IMAGE_NAME := zImage-dtb
KERNEL_TOOLCHAIN := $(ANDROID_BUILD_TOP)/prebuilts/gcc/$(HOST_OS)-x86/arm/arm-eabi-4.8/bin

Is there somewhere I can find out about what the other patches on Gerrit is about? Also what about the fact that I need it to set to permissive? What's wrong with enforcing right now?
[Nexus 5 Android Development] P4Block:
Selinux enforcing doesn't result in a usable experience without some extra commits, and I'm not even sure it does work after those. Don't bother (also, it's useless)

The needed lineage commits are all merged as of this morning except for nfc. Just look at the open system_nfc commits and there's one to fix the n5's nfc chip.
[Nexus 5 Android Development] Krizthian:
I don't understand, you can't boot Lineage? If you've cherry-picked "64Bit Binder API Support" you must enable that support on your kernel source if you don't have it then you won't be able to boot Lineage. Anyway if you want a kernel source with that support you should use Unlegacy-Android hammerhead kernel source.

About enforcing: We won't get OFFICIAL builds until fix SELinux, even if we fix camcorder issue we need ENFORCING SELINUX, this comes from new requirements to get OFFICIAL Builds, you can read all we need to get OFFICIAL LineageOS on hammerhead here: https://github.com/LineageOS/charter/blob/master/device-support-requirements.md. And yes, it's obligatory.

Greetings.
[Nexus 5 Android Development] Pwnna:
Actually I'm just trying to build lineage and even with the cherry picks above I'm still getting some issues:

hardware/qcom/audio/default/hal/acdb.h:21:10: fatal error: 'linux/msm_audio_calibration.h' file not found
#include <linux/msm_audio_calibration.h>
[Nexus 5 Android Development] P4Block:
You are not using unlegacy's kernel, which is just about the one that works with Lineage's device tree.
[Nexus 5 Android Development] Pwnna:
Thanks for all the help! For the record again, I had to pull two more changes from Gerrit: this and this.

Will have to see if it actually boots or not, tho.

Edit: and it doesn't boot. No ADB logs either, just kicks me back to fastboot. Am I supposed to be using the stable branch from Unlegacy-Android's kernel? I also note there's an aosp-8.0 branch.

Edit 2: Doesn't seem like the aosp-8.0 branch builds either, I'm having the same trouble as the error above where I can't find linux/msm_audio_calibration.h.
[Nexus 5 Android Development] JekaPinsk:
Hi [MENTION=5567986]P4Block[/MENTION]! Could you please make non-block-based builds? I really want to install stock gapps package on my repartitioned N5 but after flashing the ROM /system partition is partially not writable.

I believe I am not alone with this problem
[Nexus 5 Android Development] nadeemsyd:
is this 64 bit rom or 32 bit..i want to install portrait mode google camera..
[Nexus 5 Android Development] lulli1:
https://xdaforums.com/google-nexus-5/development/rom-aospextended-rom-v4-5-t3670574/post75931267
[Nexus 5 Android Development] P4Block:
Although I don't understand why would you do that to yourself :eek:, I will build one if you find where the build system wants me to disable system.img creation.

I recall doing it years ago, can't find it anymore. Google-fu not strong enough.
[Nexus 5 Android Development] JekaPinsk:
I don't understand why don't you understand why I did that :silly:.

The latest commit I found was on lineage-14.1 branch (https://review.lineageos.org/#/c/161249/)

But don't bother, it's easier to replace erasing with "rm -rf" in TWRP settings and then restore just flashed ROM from backup.
[Nexus 5 Android Development] P4Block:
Adding more gapps to /system is useless because when they update, they will fill /data anyway. Better to shrink /system (well, not really, but that)

It's good that you found a workaround, because that flag doesn't work anymore apparently

(or maybe the zip still contains a .img but it applies the update differently)

Here it is for download. Completely untested.
[Nexus 5 Android Development] Vrushant:
Hey why doesn't ElementalX works with this, it boot loops after flashing ElementalX
[Nexus 5 Android Development] oestevan:
Setting crashes when trying to put any kind of screen lock.

Is it just for me or a bug?
[Nexus 5 Android Development] Vrushant:
Will nano gapps work ?
[Nexus 5 Android Development] amir hd2:
Hi all

Did anyone get to enable picture in picture in this room?

I tried in some apps like YouTube but had no chance!

Any suggestions?
[Nexus 5 Android Development] szili9992:
Youtube needs Youtube RED subscription to enable pip mode.
[Nexus 5 Android Development] amir hd2:
Thanks bro

Do you suggest any app which works without subscription?

Just wanna give pip a try.
[Nexus 5 Android Development] Krizthian:
Google Chrome does with some websites, pretty useful ;)

Greetings :D
[Nexus 5 Android Development] Vrushant:
Try VLC player
[Nexus 5 Android Development] TheCh0sen0ne:
Google Maps
[Nexus 5 Android Development] P4Block:
Update

Lineage now has support for snapdragon 800 based phones out of the box. No need to patch it to build anymore, we just need the device tree/kernel/blobs.

Changed buildserver. Updated lineage sources. LineageSDK, styles API and a few other things are in.

Download

Don't use without Magisk >= 16.3. If google is giving trouble, clear play store data.

Also, recommended google camera
[Nexus 5 Android Development] drac0:
[MENTION=5567986]P4Block[/MENTION] will the latest build work with /cache and /data on f2fs? I saw Unlegacy kernel supports latest f2fs, right? Thanks in advance!

Edit: works like a charm, cheers! +1
[Nexus 5 Android Development] P4Block:
Super secret build that has nothing to do with today specifically

Updated to have Changelog 17 features

On an unrelated note, if you were using the Dark theme before the introduction of the Styles API, you will need to change to light and back to dark to make applications recognize it.
[Nexus 5 Android Development] jobayer:
Getting a warning message after flashing this build. "LineageOS Settings: you might be a victim of software counterfeiting" :eek:
[Nexus 5 Android Development] Vrushant:
What's there in this super secret build?
[Nexus 5 Android Development] fxstone:
If you klick on the link where it says so two posts above yours.
[Nexus 5 Android Development] Vrushant:
I didn't get what your are trying to say
[Nexus 5 Android Development] fxstone:
Well that post begins with a yellow highlited text "super secret build..."

That is a link. And if you follow it, it will take you to the build you asked about.
[Nexus 5 Android Development] Vrushant:
Okay thanks ?
[Nexus 5 Android Development] fxstone:
Oh, i just reaslized that you asked whats in it the build...

I thought you were asking where to find it.

Sorry for that!
[Nexus 5 Android Development] Vrushant:
Finally!

---------- Post added at 12:22 PM ---------- Previous post was at 12:20 PM ----------

So do you know what's in the build ?
[Nexus 5 Android Development] fxstone:
Unfortunately not. I guess someone else has to step in here...

My apologies again.
[Nexus 5 Android Development] Vrushant:
Okay, no problem though

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

Okay, No problem
[Nexus 5 Android Development] driton.talinoci:
Does this rom have OTA updates?
[Nexus 5 Android Development] solace mukhtar:
No. Until it become official.
[Nexus 5 Android Development] albinsuresh:
[MENTION=5567986]P4Block[/MENTION] It'd be nice if you can add some info on whether dirty flashing/clean flashing is recommended for the updates you publish. In the absence of OTA that info would really help. Thanks.
[Nexus 5 Android Development] P4Block:
You can always dirty flash. Just make sure to clean caches if some app does something weird.

Also, yes, last build was basically for April Fools. They have published instructions on how to remove the annoying notification. My next build won't have it.
[Nexus 5 Android Development] P4Block:
It's very easy to point Updater to my host, and the rom would work normally. I just don't think it's a good idea considering my builds may require manual intervention, and definitely contain critical bugs (such as video camera not working properly)

I don't want to create the illusion of having a normal, usable, stable, you name it, official rom.
[Nexus 5 Android Development] P4Block:
Update

Massively updated device tree came into gerrit. Rebuilt with the latest sources. April 5 security patch. Removed annoying April Fools joke.

Changes to basically everything. Wipe caches for this one. (else, camera won't work)

Download
[Nexus 5 Android Development] HermannSenator:
The latest build works fine~
[Nexus 5 Android Development] swapnildixit3:
Ex Kernel is not working with this build.