yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] mishamosher:
I've unlocked bootloader and LineageOS nightly installed. I've also TWRP 3.1.0-0. I can flash ZIPs with TWRP.

I would highly appreciate a ZIP that has the logic to flash bootloader/radio, and that could accept modifications to update them (:
[Nexus 5X Original Android Development] gee one:
PM sent. Good luck!
[Nexus 5X Original Android Development] retaliator:
Is it possible to do an upload and share this zipfile? Thanks in advance.
[Nexus 5X Original Android Development] MAD_666:
I guess there are various possibilities. But I always use the opengapps. With this device Arm64-7.1-Stock.
[Nexus 5X Original Android Development] eNVy:
I'm not getting this much. At max, I'm getting is 1 day.
[Nexus 5X Original Android Development] MAD_666:
Had a similar problem more than once with various devices. But entering the developer options and just switching OTG/MTP and back solves my problems. Maybe give it a try, before you do something more timeconsuming :)
[Nexus 5X Original Android Development] marsaltito:
I have battery issue on 7.1.1 to , but i find out its "phone radio" (used up 50%+ of battery) checked with gsam battery monitor . But when i switched of 4G/LTE issue is gone . !

Try to locate what uses battery .
[Nexus 5X Original Android Development] razorloves:
Correct. Don't use opengapps
[Nexus 5X Original Android Development] orma1:
is the new 7.1.2 stable enough for normal use?

if I come from stock 7.1.2 I only need to install the OS and gapps?

should I use the gapps provided here or open gapps?
[Nexus 5X Original Android Development] buffer overflow:
1.I suppose is stable. 2. Check version bootloader & radio from bootloader and if is not, just flash with fastboot. Don't forgot the vendor. 3. Use only Bean's Gapps.
[Nexus 5X Original Android Development] mishamosher:
You can refer to this thread for bootloader/radio flashable ZIPs:

- Nexus 5x Radio & Bootloader Recovery Flasheable zip

They're practically the same as the zip that Gee One sent me via PM. I'm not going to share that very same ZIP because:

- It hasn't been toroughly tested

- It is not correctly signed

- It requires a compatible vendor already installed on the phone

I just don't want to see phones dying/stop booting because of that zip.

You can always flash vendor.img via recovery with TWRP. Those IMG can be obtained here:

- Bullhead Factory Images

Already tried that. Went from charge only to MIDI device, and no luck with the USB being recognized. It doesn't even work when my 5X is turned on in bootloader/recovery mode. I'm desperately searching for a PC with a Type C connector to try that, its my last hope.
[Nexus 5X Original Android Development] merothh:
Just flashed the latest Lineage build and when I went to recovery to reflash (because I got the gapps config wrong) it asked for encryption password. How could that be changed from the default one ? [MENTION=614507]razorloves[/MENTION]
[Nexus 5X Original Android Development] orma1:
can i flash those from twrp (the bootloader, vendor and radio) or i have to do it with fastboot?

also are the bootloader vendor and radio used in linage from stock 7.1.2 (if yes it does mean that I don't need to flash them right?)

Thanks
[Nexus 5X Original Android Development] buffer overflow:
Vendor can't be flash with twrp, but bootloader and radio just fastboot. Well, i see in one thread XDA couple zip bootloader & radio, but i don't recommend. Yes, if the version for those three is the same, just flash rom, Gapps, SuperSu and custom kernel if you want. In OP is the last version.
[Nexus 5X Original Android Development] orma1:
I flashed lineage and now the fingerprint scanner is working. seems to be working pretty well.

Thank you very much
[Nexus 5X Original Android Development] gjobjo:
I use Nexus Root Toolkit to flash radio, vendor, works great :)
[Nexus 5X Original Android Development] orma1:
because i had stock 7.1.2 I didn't need to flash those they came included with the version.

Good to know you can do it, I only thought you can flash stock and root with it.
[Nexus 5X Original Android Development] mokuni:
Is lineage-14.1-20170424-nightly-bullhead-signed.zip 7.1.2 or still 7.1.1? Bit confused as I thought it would have bumped it to Lineage 14.2.

Thanks in advance.
[Nexus 5X Original Android Development] fedesandor:
7.1.2
[Nexus 5X Original Android Development] ouafnico:
Hi all !

I got a lot of battery drain since the last 4 weekly updates. Anyone in the same state?

I got lineageos or system using 10% each of battery.

The nexus hold on only one day... before it was 2-3 days.
[Nexus 5X Original Android Development] Javi22:
Please do you know if this kernel forces encryption? I use to flash super su for avoiding it but want to know if it's necessary or not..

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X Original Android Development] merothh:
Yes it forces encryption.
[Nexus 5X Original Android Development] Javi22:
Many thanks

It's the same kernel as stock? So I can flash modified boot.img from the general forum safely?

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X Original Android Development] jazzyyki:
I didn't use custom boot.img, but I used ElementalX kernel from this forum.

fastboot stock factory -> wipe -> flash CM14.1 -> flash gapps -> flash elementalx kernel -> FORMAT data

should be unencrypted and stay unencrypted!!
[Nexus 5X Original Android Development] Javi22:
Yeah I know but I suffer random touch freezes with ElementalX

And I wanted to return stock kernel

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X Original Android Development] nigga99:
I need to install SuperSU instead of the addon root provided in the first post. Please, could you give me a link to a working SuperSU for LineageOS? I have tried to install SuperSU from the Market, but my phone became brick.
[Nexus 5X Original Android Development] buffer overflow:
Try SuperSu from here.https://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
[Nexus 5X Original Android Development] nigga99:
Thank you very much, buffer overflow. Do I need install it after the SU Addon? Or with this SuperSu, the addon from the top message is not needed? Sorry for dumb questions.
[Nexus 5X Original Android Development] buffer overflow:
No need SU addon, just flash SuperSu. Don't be panic if after flash boot will be longer.
[Nexus 5X Original Android Development] orma1:
I found a bug:

When using the google phone app, the app start counting the time of the call from a random second instead of 0:00 (each time it's something else).

when using stock that did not happen.

I am using google phone app from the play store
[Nexus 5X Original Android Development] airtower:
Anyone get 5/1 booted up? Sat at bootanimation for 10+ minutes, tried to go back to 4/24, same thing.

I miss the rebuilding cache days......at least there was some indicator of progress.
[Nexus 5X Original Android Development] fleischbanane:
No problems here. 5/1 booted up fine and works es expected.
[Nexus 5X Original Android Development] orma1:
Are there any major updates or it is only minor updates?

I wanna know if I should update from the April 24 one.
[Nexus 5X Original Android Development] buffer overflow:
In OP is a link for changelog. https://download.lineageos.org/bullhead/changes/
[Nexus 5X Original Android Development] jimpoison:
finally miracast is working for me since 04/24 nightly!!

but i wonder if google itself fixed it in 7.1.2 and so it works in lineage since the 7.1.2 update from 04/24 or do we have to thank lineage team for this??
[Nexus 5X Original Android Development] razorloves:
No thanks to google. This fixed it: https://review.lineageos.org/167502

See the comments too.

I don't know who that [MENTION=5064452]billchen1977[/MENTION] guy is, but looks like he knows what he's doing. :good:

Many thanks to him.
[Nexus 5X Original Android Development] OhioYJ:
As someone who runs ElementalX on two 5Xs and three N7s currently (so I'm a fan of it). The settings you choose give you complete control over how it performs. Personally I'm not all that found of the "default" settings, but that's me, so that's where the kernel manger comes into play, but that requires root.
[Nexus 5X Original Android Development] eNVy:
Same for me as well.
[Nexus 5X Original Android Development] ouafnico:
That's crap today. 50% battery dead without using it.

6% on android platform, 5% on android system.. only 13 hours left.

Will try the last update..
[Nexus 5X Original Android Development] razorloves:
new blog post

https://www.lineageos.org/Changelog-8/
[Nexus 5X Original Android Development] mishamosher:
I can't express with words the joy of this! I've had this miracast adapter for months without being able to use it with my mobile, and now, voila, it works great! Very good video timing, crisp audio, and 1080p resolution. Tested working with the Microsoft Wireless Display Adapter V2.
[Nexus 5X Original Android Development] razorloves:
Grab me logs so I can try to see what's going on.

https://play.google.com/store/apps/details?id=com.tortel.syslog
[Nexus 5X Original Android Development] ouafnico:
Sure I will :)

I don't have root on the phone... you will not see lot of things without no ?
[Nexus 5X Original Android Development] razorloves:
you need root if you use an app. if you don't want to flash the su addon, you can use a pc https://wiki.lineageos.org/logcat.html#with-a-computer
[Nexus 5X Original Android Development] zaffar.mughal:
Question, how to have Pixel launcher on Lineage 7.1.2?
[Nexus 5X Original Android Development] zurik:
How to take Logcat while the phone stuck in infinite loop?
[Nexus 5X Original Android Development] airtower:
Two options:

install as user app. Download https://labs.xda-developers.com/store/app/com.google.android.apps.nexuslauncher and install as you would any other apk. Installing this way will not get you swipe left for google assistant or weather.

install as system app by either moving the aforementioned APK into /system (and setting permissions - google for details) or find a flashable zip and flash it in recovery. Or use a gapps that includes it (what i do).
[Nexus 5X Original Android Development] ouafnico:
any private mail to send you the log file?
[Nexus 5X Original Android Development] weaselskhs:
I would use NRT to get the logcat. That's the only way I can think of if you are in a bootloop.
[Nexus 5X Original Android Development] zurik:
OK. Thanks for information.
[Nexus 5X Original Android Development] Javi22:
I suffer random screen touch freezes, If I grab log could you see where is the problem?

I use RR rom but it's based on Lineage and that Rom does not have so much support
[Nexus 5X Original Android Development] zurik:
Just someone noticed random freezes and the screen won't turning on and need to make hard reboot?
[Nexus 5X Original Android Development] Banan PL:
It seems that these freezes are caused by ElementalX (In my case). I haven't got any touchscreen freezes on other kernels.
[Nexus 5X Original Android Development] zurik:
And Racer Kernel also. I used it yesterday till I moved to Franco.
[Nexus 5X Original Android Development] Javi22:
The same happening to me

I asked in ElementalX thread (aporting log) they told me not kernel related

I will try stock modified kernel from general section cause I guess it's the same as stock lineageOs kernel

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X Original Android Development] zurik:
I just saw a commit "Fix UI freezing"... I don't know if it is related with that.
[Nexus 5X Original Android Development] razorloves:
lol. smh
[Nexus 5X Original Android Development] tory13579:
Hello all,

I'll be updating my GF's 5X tonight from CM to Lineage. Do I still need to flash the experimental build to retain data or was that fixed?

If I don't flash the experimental build, is it like a factory reset or does she just lose internal storage? If internal storage I can back that up and put it back after if that will work.

Thanks!
[Nexus 5X Original Android Development] machoman1337:
Bug on latest build - phone failed to reacquire a data connection after reacquiring its signal, when I exited a parking garage. Had to reboot to restore it.

I'll try to logcat next time it occurs.
[Nexus 5X Original Android Development] fleischbanane:
I never have signal in my office and I always have signal again after I left it. I don't need to reboot the phone.
[Nexus 5X Original Android Development] machoman1337:
Yeah most of the time I don't need to reboot either - this was a first. Lasted for at least 5 minutes before I realized it.
[Nexus 5X Original Android Development] razorloves:
looks like this fixes the battery drain issue https://review.lineageos.org/171954

I built a boot.img with that change included. Those of you with unusual battery drain, try it out.

Just boot into twrp and flash it.

https://drive.google.com/open?id=0Bx5X4DXWhwmqWDl4bV9TUUNETGc

Note: If you have any problems with this kernel, you can flash the original one back by flashing the nightly rom zip.

EDIT: This change was merged and is in the new 8 May nightly that just came out.
[Nexus 5X Original Android Development] nesoor1230:
Hi. First thanks for such great ROM . just some few restarts beginning to happen when trying to call using Bluetooth at the phase of connecting,

I noticed it specially when carrier network is busy or trying to reach someone mobile in bad signal area. So when connecting is taking much long time restart occurred.

Any explanation please ? Thanks.
[Nexus 5X Original Android Development] razorloves:
Just a reminder for everyone...

The new LineageOS bullhead nightly, that should be coming in about 10 hours, will be based on google's new monthly update N2G47O.

The changes were done a few days ago, as you can see here:

https://github.com/LineageOS/android/commit/fc78b86c1f7a829b9aae6678f6955cf81d153305

Device tree: https://github.com/LineageOS/androi...mmit/3bcfe76b73c967e027b47ba73e3a79d152c2e467

Kernel tree: https://github.com/LineageOS/androi...mmit/91c230a33b82d954647ae4943cda78dac1ed86ba

Proprietary binaries: https://github.com/TheMuppets/proprietary_vendor_lge/commit/fc084b3cf8ead1cb697d64029fb4de2b22553ad0

The N2G47O build from google has a new bootloader img, but the radio img is the same as in last month's update. Here's a download link for the new bootloader so you can update it when you flash the new LineageOS nightly.

bootloader-bullhead-bhz11m.img

And here's the new vendor img you'll also need.

vendor-n2g47o.img

I'll update the first post once the new nightly is available for download. :good:

EDIT: New nightly is on the download portal and first post updated.
[Nexus 5X Original Android Development] zurik:
Out now! ?
[Nexus 5X Original Android Development] orma1:
Can I flash the new vendor and bootloader in TWRP?

Which one should I flash first?

Can I update through lineage OTA or because of the new vendor and bootloader it won't work?
[Nexus 5X Original Android Development] airtower:
vendor you can flash in twrp, but bootloader must be flashed via fastboot. Order does not matter. Since I've got to hook up to a pc anyway, i just flash bootloader and vendor (and radio although not necessary this month) through fastboot, then the nightly through adb sideload.
[Nexus 5X Original Android Development] zurik:
Vendor via TWRP

Bootloader and Radio via fastboot.
[Nexus 5X Original Android Development] fluidinmo:
installed 0508img w/ vendor, bootloader

works fine! thanks!:)
[Nexus 5X Original Android Development] orma1:
One more question: flashing the vendor bootloader and lineageos rom will remove my data or will it stay?
[Nexus 5X Original Android Development] airtower:
it will stay
[Nexus 5X Original Android Development] nesoor1230:
Just flashed the new update and the vendor .. Everything is working fine.. Why should I install the bootloader? Thanks
[Nexus 5X Original Android Development] nirogu325:
If you want maximum compatibility, you should flash it. If it wasn't necessary, Google wouldn't have bothered to work on/release it.

Sent from my Nexus 5X
[Nexus 5X Original Android Development] Serpico_One:
boot.img of 0508 is the last 'patched' for better battery life? I installed it only yesterday but from what i saw it solved battery drain problem.

As usual, great job mr. razor... :good:
[Nexus 5X Original Android Development] zurik:
You mean the drain while using the phone? Or when the phone is on standby?
[Nexus 5X Original Android Development] Serpico_One:
On standby. But probably I'm not being clear because of my bad English. I was asking if the boot.img posted by razor on 7th May 2017, 03:02 AM (post #1739) was included in this new build.

Then, I looked at his post again and I read the edit about it (that confirm that is included).

I apologize for the useless post (but thank you AFK for your response).
[Nexus 5X Original Android Development] razorloves:
The experimental data migration build is not officially available anymore. The lineage team only wanted to offer it temporarily because of its experimental nature, as stated here. It's best to start clean with lineageos.

When you flash a rom that's signed with different keys, you have to factory reset or it will just give you an error in twrp saying you need to wipe. This is an android security feature, not something that needs fixing, as you asked.

When using TWRP, internal storage is not wiped when you do a factory reset or wipe data.
[Nexus 5X Original Android Development] zurik:
How many hours you get SoT (Screen on Time) with stock kernel...?
[Nexus 5X Original Android Development] Serpico_One:
I'm not the best benchmark for battery life.

I live in a rural area where signal is very low (at home I got a very low signal, no 3g, no edge, only phone calls and not everywhere) and I'm using the 5x not so much (some calls, not so much messages on what's app, as kodi remote and little else...)

So I have a low battery consumption for daily usage and (I think) very high to keep a signal 'alive'.

Saying that, with last few build I got 55/60 % of battery drain within 24 hours.

With 0501 build and 'patched' boot.img I'm on 20/25% within the day (so very good).

I just installed the 0508 build (from what I've seen so far seems on the same good level of last boot.img)

I hope this can help (and is understandable... :laugh:)
[Nexus 5X Original Android Development] airtower:
[MENTION=614507]razorloves[/MENTION] have there been any bluetooth changes over the past couple months? Lately my phone has not been pushing metadata (artist, track, album, etc) to one of my two car's head units. It works on my toyota entune, but I get no track data on my Ford Sync 2 (myfordtouch). Track controls don't work either. Same issue on both stock and EX kernel, and over the last three months' vendors. I have factory reset a few times and deleted and repaired the device from the unit each time to no avail.

If you think a logcat will help, let me know when to run it (presumably to capture the initial connection).
[Nexus 5X Original Android Development] tory13579:
Thanks for the info!

I figured a wipe would be best. She is going to hate it because she will have to set everything back up though lol.

That's what I get for waiting too long.
[Nexus 5X Original Android Development] sgren:
Anyone got a clue what I've messed up to lose function of my bottom nav bar except for the back button, notification draw not functioning properly and dev menu telling me "this user doesn't have access" or something along those lines?

Edit: Okey doke, all solved. Not exactly sure what triggered this problem when updating to the latest nightly, but perhaps it was Magisk? After googling a bunch of symptoms this is the fix I found to work: forums.androidcentral.com/samsung-galaxy-s7/659407-s7-edge-not-showing-notifications-tray-recent-apps-button-settings-button-dnt-work.html
[Nexus 5X Original Android Development] mdisieno:
What is this boot.img 0508 we are talking about?
[Nexus 5X Original Android Development] OhioYJ:
It's a page or two back now, but razorloves had built a test build with a new boot.img to help with the battery drain that some users were experiencing. Since it seemed to help, the fix is included in the new 5-8 build. You don't need to install or flash anything additional for that fix.

You DO NEED the May vendor image and bootloader for the 0508 rom. See this post. <-- Thanks to Razorloves
[Nexus 5X Original Android Development] razorloves:
Gello is finally getting a major update. I tested it today and both issues you mentioned are fixed.

Hopefully will be merged soon. https://review.lineageos.org/172114

yeah, a few. especially with 7.1.2 merge.

https://github.com/LineageOS/android_system_bt/commits/cm-14.1

https://github.com/LineageOS/android_packages_apps_Bluetooth/commits/cm-14.1

Do you know which build the problem started on? that would help a lot.
[Nexus 5X Original Android Development] airtower:
No, sadly I don't recall exactly. I only use that particular car once a week. If i had to say, it'd have been maybe an early March build.

I did see something here related to AVRCP: https://github.com/LineageOS/androi...mmit/c01c8f02aab23508f22f498a611d944b61ccdf3d

Let me get a log for you capturing the connection handshake.
[Nexus 5X Original Android Development] orma1:
can someone please link me a guide on how to flash the bootloader (what I need to install and how I do it) please?

I want to update to the latest nightly and I don't know how to flash the bootloader (never used fastboot before)

I have twrp installed

is there any way to do it in wugfresh's nexus root toolkit?

edit: I was able to flash bootloader with nexus root toolkit so everything is fine
[Nexus 5X Original Android Development] razorloves:
I got your log. looks like it's broken on all devices with lineage, and started at the end of february.

https://jira.lineageos.org/browse/REGRESSION-130
[Nexus 5X Original Android Development] simplicio11:
After flashing latest weekly, fingerprint doesn't work. I didn't know I had to upgrade vendor and bootloader, so I flashed (sucessfully) them, but fingerprint doesn't work yet. How can I fix it?

Thanks
[Nexus 5X Original Android Development] drik05:
Hi brother, try this one.

1. Boot device to Safe Mode.

2. From Safe Mode, delete all registered fingerprints.

3. Restart to Normal Mode then register fingerprints.
[Nexus 5X Original Android Development] simplicio11:
Safe mode?
[Nexus 5X Original Android Development] simplicio11:
[MENTION=614507]razorloves[/MENTION] can you help me?
[Nexus 5X Original Android Development] Aguys:
1. Press power button to bring up the reboot option.

2. Tap and hold Power off option until a new menu appears.

3. Select Reboot to safe mode by tapping OK.
[Nexus 5X Original Android Development] simplicio11:
Ok, and then? I have to disable fingerprint, reboot normal mode and enable fingerprint?

Thanks
[Nexus 5X Original Android Development] Aguys:
Then, try previous instruction by [MENTION=6188458]drik05[/MENTION]
[Nexus 5X Original Android Development] simplicio11:
It didn't work. I have no idea to fix fingerprint :(

I hope in [MENTION=614507]razorloves[/MENTION]
[Nexus 5X Original Android Development] OhioYJ:
If you are rooted you could try deleting the key files from the phone?

Have you tried re-flashing the ROM yet? You may just have to admit defeat and do a clean install.
[Nexus 5X Original Android Development] JimWest7997:
Hey everyone,

so last night i started an App on my Nexus and all of a suddon it froze and went into a bootloop. Today the same thing happened just randomly, without me doing anything besides checking the time.

It does boot every once in a while so I was able to push the latest lineage update to the sdcard - and I also flashed an update of TWRP. But neitehr recovery nor the system will boot normally - only bootloader is working properly.

I believe I am on the 0105 built, I flashed the latest bootloader and vendor and I have the latest lineage OS on my sdcard. Is there any way to flash the ZIP through fastboot? Or any otehr idead how I can get it to boot up properly? I have no idea what caused the problem, since everything was working fine until last night - hopefully the update will fix this.

Thanks