yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] OhioYJ:
ui_print("VoLTE Universal Patch v3");
ui_print("Kenzo");
ui_print("Commits by TheStrix");
ui_print("Zip by Sudeep Duhoon");
ui_print("Mounting system...");
package_extract_dir("tmp", "/tmp");
set_perm(0, 0, 0777, "/tmp/mytweaks.sh");
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system");
ui_print("Extracting Files...");
package_extract_dir("system", "/system");
set_perm(0, 0, 0644, "/system/addon.d/60-volte.sh");
run_program("/tmp/mytweaks.sh", "mytweak");
symlink("/system/vendor/lib64/libimscamera_jni.so", "/system/vendor/app/ims/lib/arm64/libimscamera_jni.so");
symlink("/system/vendor/lib64/libimsmedia_jni.so", "/system/vendor/app/ims/lib/arm64/libimsmedia_jni.so");
set_perm(0, 0, 0644, "/system/vendor/app/ims/lib/arm64/libimscamera_jni.so");
set_perm(0, 0, 0644, "/system/vendor/app/ims/lib/arm64/libimsmedia_jni.so");
run_program("/sbin/sh", "-c", "sed -i 's:persist.radio.hw_mbn_update.*:persist.radio.hw_mbn_update=0:' /system/build.prop");
run_program("/sbin/sh", "-c", "sed -i 's:persist.radio.sw_mbn_update=.*:persist.radio.sw_mbn_update=0:' /system/build.prop");
run_program("/sbin/sh", "-c", "sed -i 's:persist.radio.VT_HYBRID_ENABLE=.*:persist.radio.VT_HYBRID_ENABLE=1:' /system/build.prop");
run_program("/sbin/sh", "-c", "sed -i 's:persist.audio.fluence.voicecall=.*:persist.audio.fluence.voicecall=false:' /system/build.prop");
run_program("/sbin/sh", "-c", "sed -i 's:ro.qc.sdk.audio.fluencetype=.*:ro.qc.sdk.audio.fluencetype=none:' /system/build.prop");
run_program("/sbin/sh", "-c", "sed -i 's:ro.telephony.default_network=.*:ro.telephony.default_network=22,20:' /system/build.prop");
run_program("/sbin/sh", "-c", "sed -i 's:telephony.lteOnCdmaDevice=.*:telephony.lteOnCdmaDevice=1:' /system/build.prop");
run_program("/sbin/sh", "-c", "sed -i 's:persist.audio.fluence.voicerec=.*:persist.audio.fluence.voicerec=false:' /system/build.prop");
ui_print("Unmounting system...");
unmount("/system");
show_progress(0.2, 10);

I'll preface this by saying I'm not expert, It does have an APK file with it in the ZIP, but from what I can see it's just installing some shared objects, then adding to the build.prop to enable this feature. The 60-volte.sh script mentioned above just appears to be installing everything. It looks like it should work. However VOLTE seems to be hit or miss in Lineage across devices.

I don't use VOLTE though, so hopefully someone else can be of more help with that zip.
[Nexus 5X Original Android Development] Xdevillived666:
Thanks . I honestly don't get it at the moment because I'm tired and my brain refuses to process what is in that text,lol. Just hoping I or someone else can update it to work with Oreo. Thanks again!
[Nexus 5X Original Android Development] Xdevillived666:
Issue resolved. Found a magisk module that enabled my volte here and on orientation to boot!

https://xdaforums.com/apps/magisk/module-v4-volte-enabler-t3649613/page7
[Nexus 5X Original Android Development] bjo81:
Thanks for the zip, Vodafone Germany switches back to 3G for calling because they only support it with branded phones.
[Nexus 5X Original Android Development] khanjui:
Same on Vodafone Turkey.
[Nexus 5X Original Android Development] Vipauer:
Same on Vodafone Portugal :(
[Nexus 5X Original Android Development] andyoudroid:
Shutdown - Volume & Power button (hold until the bootloader selection screen is displayed)

or:

# fastboot reboot-bootloader

# fastboot flash recovery twrp-3.1.1-0-bullhead.img

Up and down keys to select recovery start

Wipe advance (Davik / ART Cache, System, Data, Cache)

# adb push lineage-14.1-20171106-nightly-bullhead-signed.zip / sdcard

# adb push addonsu-14.1-arm64-signed.zip / sdcard

Then twrp choose reboot bootloader

# fastboot flash bootloader bootloader-bullhead-bhz11m.img

# fastboot reboot-bootloader

# fastboot flash radio radio-bullhead-m8994f-2.6.37.2.21.img

# fastboot reboot-bootloader

# fastboot flash vendor vendor.img

# fastboot reboot-bootloader

Then up and down key to select recovery start

installation:

lineage-14.1-20171106-nightly-bullhead-signed.zip

addonsu-14.1-arm64-signed.zip

reboot system
[Nexus 5X Original Android Development] lcrponte:
[MENTION=8702325]andyoudroid[/MENTION] Hm?
[Nexus 5X Original Android Development] Mick4U:
HELP: I installed TWRP on my 5X without worries, but during the installation of any custom rom I try to install, the ZIP check failed, so I try without, but I never reboot, I stay on Google in large with a padlock unlocked at the bottom??

What to do thanks
[Nexus 5X Original Android Development] meciu99:
Does this rom have performance (ram) issues like in a stock oreo?
[Nexus 5X Original Android Development] Colday96:
I would also be interested in this answer
[Nexus 5X Original Android Development] Benjamin_L:
Does it make sense to compare a nougat rom to stock Oreo? How would those issues manifest themselves so I could look for them?
[Nexus 5X Original Android Development] Mr. Clown:
Did a thread cleanup guys. Please, no ETA requests.

Stay on topic, thank you.
[Nexus 5X Original Android Development] ryan19:
Hi. Flashed lineage os 2 days ago and since then I'm having issues with push notifications as I don't get any until I open the app. Does anyone know how to sort this out? Thank you
[Nexus 5X Original Android Development] CLPose:
I've been using this ROM for some time and I like it a lot. I think that RAM management is good, taking into account that we have a 2Gb RAM device. But you should expect many apps running in background if you open a heavy-ram app, of course.

Did you check "Battery optimization" in battery settings. Some apps need to be "not optimized" to receive push notifications.
[Nexus 5X Original Android Development] ryan19:
I have now, and I get all notifications. Hope it's not going to affect my battery drain too much, so far it's been great!

Thank you
[Nexus 5X Original Android Development] zeebee:
If you restored your push-enabled-apps with titanium backup or something similar your google cloud message id gets invalid. So best is to install these apps from scratch, then you don't need to disable battery savings. Also waiting a few days helps (I think you get a valid one after some time).
[Nexus 5X Original Android Development] Banan PL:
Is only for me Music app status bar music queue is buggy? I mean changing music doesn't update queue in status bar. Anybody knows why this happen?
[Nexus 5X Original Android Development] conquerstrife:
I'm actually having the same problem any solutions?
[Nexus 5X Original Android Development] Mick4U:
I think thats TRWP does not detect the ROM as compatible with the Nexus 5X.

I put back Google Image of Oreo and disable every Google App possible and keep the store!
[Nexus 5X Original Android Development] conquerstrife:
We're you able to flash it some other way?
[Nexus 5X Original Android Development] conquerstrife:
Nevermind fixed. Had to flash older version of Android could not do with latest 8.0.
[Nexus 5X Original Android Development] razorloves:
Today's new lineage 14.1 nightly, that will be available on the download portal in a few hours, is updated to november 6 patch level.

platform changes - https://review.lineageos.org/#/q/topic:n_asb_11-2017

device changes - https://review.lineageos.org/#/q/topic:bullhead-nov2017asb

enjoy :D
[Nexus 5X Original Android Development] Knotte:
Great!

Is there any website that has a changelog for non-coders/noobs, summarizing the most important changes in words that your average LineageOS nightly flasher will understand? That would be awesome. I would do that if only I knew what "qcacld-2.0: Update SIR_MAC_AUTH_CHALLENGE_LENGTH as per IEEE spec" and stuff like that meant. :cyclops:

You kow, more like:

- updated security patches to XX

- fixed possible crash in Camera app when XX

Anyway, thanks for all the effort throughout the years.
[Nexus 5X Original Android Development] fnldstntn:
cmxlog.com
[Nexus 5X Original Android Development] razorloves:
cmxlog does not provide what he asked for. It shows the same exact change description as our gerrit changes that he referenced in his post.

And same as our changelog. https://download.lineageos.org/bullhead/changes/

We use to do a changelog blog post on our site that is exactly what you're asking about.

You can see them here. https://www.lineageos.org/

But we haven't been doing them very much at all lately. I would guess it's because we're focussing on lineage 15.

Maybe someone will start them back up once we start releasing lineage 15 nightlies.
[Nexus 5X Original Android Development] Knotte:
That's ok. I was just wondering if anyone was running a blog where they "translate" the changelogs into noob language.

Nice to hear about the effort in Lineage 15. How is that progressing? Could it be ready as a Christmas present? ;)
[Nexus 5X Original Android Development] lcrponte:
[MENTION=4962138]Knotte[/MENTION] A disguised question for an ETA! Ah Ah!
[Nexus 5X Original Android Development] Knotte:
You little Sherlock. ;) (I know those questions are not exactly popular...)
[Nexus 5X Original Android Development] 5ta1da:
Just got new 4.1 bluetooth headphones and experiencing random short glitches or cut-offs when listening music which is really annoying.

Could anyone help? (tried unpair and repair, go outside to the woods with no other electronic device to exclude interference, disable battery optimalization for bluetooth things, using Poweramp where is lot of choices for example buffer size, but changing it makes no effect).

Thanks in advance :)
[Nexus 5X Original Android Development] fnldstntn:
I am experiencing the same problem with my Bluetooth 4.1 Anker headphones. It was fine for couple of months. I tried 8.1 dp1, Aicp 13 (8.0) and Dirty unicorns (7.1.2) all same.
[Nexus 5X Original Android Development] fleischbanane:
I have the issues with my anker earbuds sport as well. It only works with display off and Nexus in my pocket. Very strange. I use my wired ones now.
[Nexus 5X Original Android Development] razorloves:
What do you mean "all same". All those roms had same problem?
[Nexus 5X Original Android Development] fnldstntn:
Yes the same problem.
[Nexus 5X Original Android Development] razorloves:
oh ok. well at least it's nothing i did to cause it. lol.

But something you could try... I remember when i was on oreo rom it had several new bluetooth settings in developer options. Did you try messing with those?
[Nexus 5X Original Android Development] fnldstntn:
Yes i try messing with the setting. Now i triad using the headphones with a Nokia N9 and an iphone 6s and it has the same problem, so probably the headphones are broken.
[Nexus 5X Original Android Development] Paul L.:
Here is a test build of Lineage 15 for the really anxious,

lineage-15.0-20171124_014248-UNOFFICIAL-bullhead.zip

EDIT: I forgot, you should be using these:

bootloader-bullhead-bhz21d.img

radio-bullhead-m8994f-2.6.39.3.03.img

vendor-opr6.170623.023.img

REALLY, IT IS A TEST BUILD. You should wait for the real stuff. I tested it for a bit and it mostly works (that is, WiFI, Bluetooth, Mobile Data and stuff), the only difference from the source is this:

bullhead: Fix build fingerprint for OPR6.170623.023

Which fixes the "your device has a problem" when booting up. Also, I deleted the assert that checks for the device on the updater-script, so if you try to flash this in a device which is not bullhead, it will most certainly don't care.

Also, if the devs or mods want me to delete this I will comply.

EDIT2: And of course silly me doesn't notice there is already a thread in general with daily builds, oh well, atleast the patch could be of use.
[Nexus 5X Original Android Development] Knotte:
Really? That sounds cool, wonder why nobody made this for 14.1. That bootup message always bugged me (not that it's really any trouble, just for being there).
[Nexus 5X Original Android Development] Benjamin_L:
At least it should mention that you are running the wrong vendor image
[Nexus 5X Original Android Development] razorloves:
This has nothing to do with that.

That message is suppose to bug you because it's extremely important and letting you know you have the wrong vendor img installed. His fix is not for what you think it is.
[Nexus 5X Original Android Development] Knotte:
Ok, you obviously didn't mean that message with the Google link telling me my "device cannot be checked for corruption". That's coded into the phone, right?
[Nexus 5X Original Android Development] Paul L.:
Yes, that is a bootloader thing, we cannot change that. My patch only fixes a missing part of the string that checks that you have the correct vendor partition.
[Nexus 5X Original Android Development] Jamin_1:
I finally switched back to Lineage after 2 weeks with 8.1 - the Lineage experience is literally superb compared to stock without even considering great features like the equalizer...

Thank you.
[Nexus 5X Original Android Development] Ferdimage:
Same here, Lineage just feels quicker with more features and battery usage is reasonable on stock kernel. :good:
[Nexus 5X Original Android Development] Ferdimage:
Has anyone got ARISE working with this ROM?
[Nexus 5X Original Android Development] beli3ver:
[MENTION=614507]razorloves[/MENTION]

Is there a way that you update the CVE Tracker (https://cve.lineageos.org/) to get an overview, which CVE's are patched?

Thanks
[Nexus 5X Original Android Development] razorloves:
Bullhead is supported by google. They release a security update for it at the beginning of every month. And lineage is synced with the aosp source code every month when that happens. You can look on our gerrit or github and see. So it's always up to date. The cve tracker is not used because of that.

But we have around 200 other devices that aren't supported by google, so the cve tracker is a very handy tool to help the lineage device maintainers track all the manual cve patching they do.
[Nexus 5X Original Android Development] JJ111:
Hello there,

maybe someone of you can help me: since a few weeks the official "Download-Manager" from LineageOS always has a delay of 11 Minutes, before it starts downloading. Most Apps have their own download-system, so that this is not a problem there. Some Apps swich to the internal download like "Yalp Store" if I deactivate the Download-Manager, but some than simply crash, like the "Lineage Downloader" (which I use for small Delta-Updates of LineageOS). So eighter 11 Minutes of waiting or no download at all.

If I install alternative Download Manager Apps, this doesn't help, since obviously those Apps can't "catch" the download.

So does anyone have an idea, why this happens and how to fix it?

Thanks a lot in advance.
[Nexus 5X Original Android Development] razorloves:
strange. never heard of that issue.

clear data on the app and see if that helps.

settings -> apps -> 3dot menu -> show system -> Download Manager - > storage -> clear data. then reboot
[Nexus 5X Original Android Development] JJ111:
Thanks razorloves, you are Smart as always :) It improved much your advice: first time it startet after 3 minutes, second time after only 1 minute and third time after 2 minutes. I realized, that when I clear data of the download-manager before it started the download, than there will not be any download (probably normal, right?!).

I attaced two Screenshots (as you can see, I pressed download at 21:32 and at 21:34 it just had started with the download). Maybe you have another Idea of further improving?!
[Nexus 5X Original Android Development] razorloves:
I'll have to see your logs to get an idea what's going on. I'm out of guesses. lol.

It does that in any app that uses the built in download manager, right? Not just that lineage download app?

I just installed lineage downloader to try it out and downloads start instantly.

To get logs you can use this app, if you have root. https://play.google.com/store/apps/details?id=com.tortel.syslog

or

Follow the guide here. https://wiki.lineageos.org/logcat.html

And thank you very much for the xda ad-free gifts AGAIN. You are too kind sir. :D
[Nexus 5X Original Android Development] razorloves:
Head's up for Project Fi users.

That "select sim card" pop-up bug was finally fixed last week. That was plaguing several custom roms for almost 2 years now. Ugghh.

It mostly only affected people on Project Fi, so the majority of users never saw it.

https://review.lineageos.org/196258
[Nexus 5X Original Android Development] JJ111:
You are very welcome, razorloves, this is the minimum I can do to show my appreciacion for all the (free) work you are doing for us!

Yes, it also happens with other programs, the LineageOS Downloader is just as one example. I never used SysLog/LogCat before, hope I did right: 1) cleared logcat Buffer 2) opend and started a Download 3) after a few minutes the download started and I quit it 4) I saved the Logcat and attached it - correct?!

Btw: I don't have any Google Stuff (GApps...) installed / I use "Yalp Store"...
[Nexus 5X Original Android Development] fleischbanane:
Is it possible do use the "fstrim" command without installing busybox? I searched for it and it doesn't seem to work on Lineage 14.1. And another question: In the past this command seems to bring hugh perfomance boosts. Is it placebo? Is it still usefull in Android 7.1? And one last question: Are there any disadvantages by installing busybox?
[Nexus 5X Original Android Development] JJ111:
For all others, who might have the same problem: I found a solution; in the Log the "ApkPure" App was several times listed, so I deleted this App. Now everything works fine again, no idea, why this App obviously blocked my Download. Anyway, I won't install this App again.

All the best to all :)
[Nexus 5X Original Android Development] razorloves:
yes. it's built into android since android 4.3.

open the terminal app (you can enable it in developer options), and enter these 2 commands

su

vdc fstrim dotrim

And that's it. You can also run that command in adb shell from a pc, if you prefer. Does the same thing. You can pull up logcat to see it run. i just ran it. It will look like this.

vold : Starting trim of /data
vold : Trimmed 9285271552 bytes on /data in 5486ms
VoldConnector: RCV <- {662 /data 9285271552 5486981499}
vold : Starting trim of /cache
vold : Trimmed 710078464 bytes on /cache in 411ms
VoldConnector: RCV <- {662 /cache 710078464 411061407}

Not placebo. Prior to 4.3 there were huge boosts. But in 4.3+ it runs automatically all the time (i think at least once a day), so you probably wont notice any difference manually running it.

not sure of any. maybe increased memory usage? idk
[Nexus 5X Original Android Development] fleischbanane:
Thank you very much for your detailed answer. I tried it and it works:

1-30 20:39:59.180 358 18737 D vold : Starting trim of /data
11-30 20:39:59.733 358 18737 I vold : Trimmed 985849856 bytes on /data in 552ms
11-30 20:39:59.733 971 3001 D VoldConnector: RCV <- {662 /data 985849856 552116774}
11-30 20:39:59.735 358 18737 D vold : Starting trim of /cache
11-30 20:39:59.736 358 18737 I vold : Trimmed 0 bytes on /cache in 0ms
11-30 20:39:59.737 971 3001 D VoldConnector: RCV <- {662 /cache 0 784792}

I read somewhere that it should run once a day, but my devices speeds up after trimming so I sometimes think there must be something wrong with it, even only for me with my setup. But thanks, this way I can do it when the phone slows down again!
[Nexus 5X Original Android Development] crazydip:
Thank you razorloves for all you do. LineageOS is amazing because of you. Nexus 5X with Project Fi is and has been working flawlessly. Fantastic job!

Question: we're in December, why is the current monthly Google update still N2G48C (August 2017)?
[Nexus 5X Original Android Development] Benjamin_L:
Google doesn't update the 7.1.2 line with new vendor images. Also most security stuff happens kernel and os side anyway so don't worry
[Nexus 5X Original Android Development] razorloves:
For those of you that use the weather service in lineage rom, the weather provider apk's have been updated.

https://download.lineageos.org/extras

The previous apk's were built in june, so it's been a few months.

But only the OpenWeatherMapWeatherProvider.apk had a significant change.

The reset of the changes were just translation improvements.
[Nexus 5X Original Android Development] androidalexm:
Good morning everybody.

I have installed this rom a few days ago. So far no problems apart from this one. When I try to turn off the device, the screen goes quite immediately black, as the phone is powered off. If instead I try to turn it on or connect the charger, it takes a lot of time to respond, as it is still powering off. Not a big deal though, just to signal it.

I'm using magisk and Ex Kernel.

Anyway if anyone know how to resolve, obviously tell me...

Thanks in advance and sorry for my english
[Nexus 5X Original Android Development] Addicted2Bass:
Yo guys, my phones was working all fine until few hours ago, phone is in a bootloop i think.. dont know what happend to cause that

when i boot to recovery it freezes and goes back in the loop, i try to install twrp fresh but in powershell i get ´cannot load´ twrp.img

can someone lead me the right way to install recovery and rom!

Thx
[Nexus 5X Original Android Development] mooondark:
I had the same issue. I called google and got a RMA to get a refurbished one.

Hope you made a backup of your data :(
[Nexus 5X Original Android Development] Addicted2Bass:
nope i did not.. this came out of nowere

Edit: Installed stock rom.. its working again :)
[Nexus 5X Original Android Development] razorloves:
You can still make it work. https://www.xda-developers.com/nexus-5x-bootloop-fix-boot-phone/

Temporarily
[Nexus 5X Original Android Development] mooondark:
Have a try with the above method. In my case it did not work.

I was reading an email, my n5x rebooted, and bootloop.
[Nexus 5X Original Android Development] Addicted2Bass:
yeah indeed its stuck in loop again, anyway thx for the link Razor will try it, i hope its gonna work!

---------- Post added at 09:47 PM ---------- Previous post was at 08:51 PM ----------

im getting the error: cannot load.. phone is in fastboot mode and the files are in de adb map
[Nexus 5X Original Android Development] razorloves:
this thread is for help with lineage. click the button at the end of that article and it will take you to the thread for that bootloop fix.
[Nexus 5X Original Android Development] Jamin_1:
December 4 build animation when turning on WiFi or Bluetooth is not working. Still turning on though.
[Nexus 5X Original Android Development] androidalexm:
For me it's working. Stock kernel
[Nexus 5X Original Android Development] razorloves:
New post on our site.

https://www.lineageos.org/Changelog-15/
[Nexus 5X Original Android Development] SuperR.:
Just got this up and running on my 5X...Very nice work on this ROM, thank you :)

The only issue I had (as others mentioned) was getting Google Camera to work without crashing. I flashed this ROM, then OpenGapps stock and to my surprise the camera was not installed. After inspecting the zip, I discovered Google Camera is in the gapps package and is meant to be installed and remove the existing stock camera app. Clearly this is not happening. Frankly, the only reason I was flashing the stock opengapps package in the first place was to get Google Camera, so fail lol.

I did find a solution, which is to copy all the Google camera related files from the OpenGapps package into the appropriate places on my 5X and set the correct permissions. No more crashes :)

I created a flashable zip that should do what OpenGapps meant to do with Google Camera, but I have not tested it so use at your own risk. It should remove Snap and install Google Camera. If you don't want to flash it, or if it doesn't work, you can get the files and where they go from the zip to do it yourself manually. I hope it helps :)

GoogleCamera_LineagOS-14.1_bullhead.zip
[Nexus 5X Original Android Development] razorloves:
Weird. First i'm hearing of that problem. Guessing it's a new bug in gapps.