yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] ayush rao:
Hi guys, I'm loving the ROM but I'm finding it difficult to root. I gathered from this thread that magisk doesn't work so I tried the default root solution in LineageOS. It works but there's no control as to which apps get access which scares me.

Can someone please advice how to root this ROM? :)

---------- Post added at 09:29 AM ---------- Previous post was at 09:27 AM ----------

Can you get to the bootloader? If so then flash the boot.img you were using to limit it to 4 cores and then reflash the TWRP image as well.

Did you by chance flash TWRP to the boot partition?
[Nexus 5X Original Android Development] razorloves:
this is not the bootloop support thread. https://xdaforums.com/nexus-5x/general/untested-nexus-5x-bootloop-death-fix-t3641199

The su addon root control is provided by privacy guard, just like in lineage 14.1 and unofficial 15.1. Go to developer options and select "manage root access".

Magisk has worked fine for the past few months on 15.1 builds. Probably just something wrong with the newest version of magisk, so try an older version, like 15.4 or 15.3.
[Nexus 5X Original Android Development] ayush rao:
If I flash the SU add-on I do get root access but there is no way to control it. So here I used this app to check for root access, without prompting for access the app used root access. It doesn't show up in "manage root access" nor doesn't give an icon in the status bar.

So what that basically means is any app in the background can use root without the user knowing.
[Nexus 5X Original Android Development] razorloves:
Oh, you're not getting the prompt. Yeah, that's not good. So then the 14.1 su addon doesn't work right on 15.1. So we'll just have to wait for the 15.1 su addons to come out. thanks for letting us know.
[Nexus 5X Original Android Development] ayush rao:
Great no problem!
[Nexus 5X Original Android Development] razorloves:
So you're giving up? lol. You can't try an older version of magisk like i suggested to you?
[Nexus 5X Original Android Development] milouk:
Magisk v16 works well too.. Im on official 15.1 magiskv 16 and everything runs smoothly

Edit: Magisk v16 still has the "Hanging in Google Logo" issue.
[Nexus 5X Original Android Development] razorloves:
that's not what you said yesterday. lol. https://xdaforums.com/showpost.php?p=75719090&postcount=360
[Nexus 5X Original Android Development] milouk:
Yep haha thats a know issue though...it is tthe same in previous versions..its not a v16 exclusive issue...but it can be bypassed by hard rebooting
[Nexus 5X Original Android Development] ayush rao:
Haha I'm not giving up :laugh:! Will try out an older version of Magisk and report.
[Nexus 5X Original Android Development] ayush rao:
Ok so just installed Magisk 15.3. [MENTION=5533673]milouk[/MENTION] was right. After flashing and rebooting, the phone got stuck on the Google screen but on performing a hard reboot the phone booted perfectly. Will try out v16 now.
[Nexus 5X Original Android Development] ayush rao:
So after installing v15.3, I flashed v16 and this time it didn't even hang on the Google screen.
[Nexus 5X Original Android Development] milouk:
The hanging on the boot screen with V16 is much less frequent but still exists. This issue wasnt addressed by magisks developer as far as i know
[Nexus 5X Original Android Development] tomsonmathewv:
It wont work. I tried, the phone wont boot to recovery when flashed the latest. I can flash twrp 3.1.1-0 and it will boot the recovery without any problem. I tried to install through this recovery, it stops with an error

"UPDATER PROCESS ENDED WITH ERROR: 4". Is there ant solution to solve this?
[Nexus 5X Original Android Development] razorloves:
Since there's no su addon zips for 15.1 on our download portal yet, i went ahead and compiled them.

Untested but should work. :fingers-crossed: Don't forget, after flashing you have to enable root in developer options.

addonsuV2-15.1-arm64.zip

and here's the su addon removal zip if, you need it.

addonsu-remove-15.1-arm64.zip
[Nexus 5X Original Android Development] °EraZoR°:
Thanks for providing this!

Unfortunately this does not install properly on my phone.

Returns an error with symlink().

I've set the symlink manually and it seems to work!
[Nexus 5X Original Android Development] vdavy:
Hi all,

Great new to have lineage os 15.1 on bullhead. I tried to install it on my phone but I had to revert to 14.1 because I got a very anyoing bug : the screen remains off or very laggy when I press the on/off button (above volume buttons).

Here is a small description of the problem :

- the phone starts well, and the startup is schema protected

- I let the phone going to sleep and turning the screen off.

- if I try to wake it up by pressing the on/off button, it is laggy to turn the screen on (maybe a 5 seconds delay) or the screen does not turn on

- if I unlock with the fingerprint sensor, the phone vibrates to tell me my finger was properly detected and the screen is laggy or does not turn on

- if the phone is charging (on wall plug charger), the delay is bigger longer

- I tried a factory reset (I installed before on the 14.1 install) and I got the same problem

- same lag problem if I received a phone call

So anyoging problem, so I decided to revert to my 14.1 backup and wait to have a solution.

Did somebody got the same problem ?

Thanks

PS : Please apologise my french english
[Nexus 5X Original Android Development] Heyperion1999:
AddonsuV2 works fine! Thank you very much.
[Nexus 5X Original Android Development] milouk:
Official Gapps 8.1 are available!
[Nexus 5X Original Android Development] redj12:
Hi. I was on 14.1, never ran unofficial ROM. I installed the new 15.1 that I grab from lineage site. Can you explain me why this ROM is recognized as "unofficial" ROM - see attached ?
[Nexus 5X Original Android Development] peltus:
There's a faulty line in the build.prop. the fix is mentioned a few pages back.
[Nexus 5X Original Android Development] razorloves:
https://xdaforums.com/showpost.php?p=75710085&postcount=334

https://xdaforums.com/showpost.php?p=75733023&postcount=391
[Nexus 5X Original Android Development] mattspew:
Does that mean those who flashed MindTheGapp should reflash the Offical version or does it not matter?
[Nexus 5X Original Android Development] razorloves:
no, doesn't matter. it's just another option for users.
[Nexus 5X Original Android Development] miodrag.cutura:
So, with the latest nightly, USB OTG is no longer readable if formatted as exFat. I did not try the experimental version, but it did work with the Unofficial. Does anyone know where could be the problem?

Thanks
[Nexus 5X Original Android Development] razorloves:
there were a bunch of exfat changes a week ago. https://review.lineageos.org/#/q/exfat

looks like i need add a new boardconfig flag to make it work. will look into it more
[Nexus 5X Original Android Development] miodrag.cutura:
Wow, that would be great! I am testing atm, it seems like NTFS works fine.

Thanks again!
[Nexus 5X Original Android Development] razorloves:
it's was removed because of this:

https://github.com/LineageOS/charter/blob/master/device-support-requirements.md#exfat-support

so now, only devices that have it on their stock rom can have it. licensing :(
[Nexus 5X Original Android Development] scinty83:
Up
[Nexus 5X Original Android Development] razorloves:
There's an issue with the weather service intent not starting automatically after a reboot. We have to fix it.

But in the meantime, you can trick it into starting. go to weather settings and change to a different provider, then change it back.

Then the weather will work. If you reboot it will be broke again and you'll need to do the quick trick above again.
[Nexus 5X Original Android Development] fleischbanane:
Will Chronus be added as a provider again?
[Nexus 5X Original Android Development] scinty83:
Many thanks.

Now i try this.

If possible, post a notice when you solve this.

Good work for this 15.1 .

And thanks for your cooperation!
[Nexus 5X Original Android Development] razorloves:
That's done in the Chronus app, not us. So it's up to that app dev.
[Nexus 5X Original Android Development] fleischbanane:
Is there any documentation how the dev can add it for 15.1? Here's his statement after I asked him to bring this feature back: "Last I heard, the LOS team is re-working the API. They will support 3rd party providers st some point."
[Nexus 5X Original Android Development] scinty83:
Hi guys!

After update, for me, whatsapp private mode don't work.

The sound exits only from the external speaker and not from the phone's headset.

Any idea?
[Nexus 5X Original Android Development] DrupadSachania:
https://www.xda-developers.com/open-gapps-now-supports-android-8-1-oreo-arm-arm64/amp/

Open GApps Finally Out for 8.1 Arm and Arm64:angel:
[Nexus 5X Original Android Development] samadhi23:
+1
[Nexus 5X Original Android Development] r3act:
Is there a way to permanently remove some of the stock system apps without them being reinstalled with every new nightly?

I prefer using google apps so I have two agendas, two clocks, calculators, messaging, etc. I froze the lineage/aosp versions but I would like to remove them to free up space and keep the system clean.
[Nexus 5X Original Android Development] Addicted2Bass:
idd, im not a fan audiofx.. after every update the app is back installed... so if permanently remove is possible.. would be great
[Nexus 5X Original Android Development] rp158:
I solve it by executing a bash in TWRP, after flash.
[Nexus 5X Original Android Development] Packsman:
I guess it's too early but i have to ask is native call recorder implemented in lineage 15.1 ? I looked in the source code but couldn't find anything related.
[Nexus 5X Original Android Development] AerogamingHD:
I was also thinking the same thing. It's so annoying.
[Nexus 5X Original Android Development] :
Try this:

https://github.com/opengapps/opengapps/wiki/Stock-Package
[Nexus 5X Original Android Development] BearOfXDA:
Why did you decide to leave the CPU optimizer out for the 5X? I saw it on the Nextbit, and getting that on the 5X would be awesome. I was just wondering because the devices have somewhat of the same internals, but I know there are other factors I may not know about
[Nexus 5X Original Android Development] babett:
Build Number

Just flashed lineage-15.1-20180226-nightly-bullhead-signed.zip from official mirror.

Now having a look at the build number it says:

lineage_bullhead-userdebug 8.1.0 OPM1.171019.018 f62a067688

So I'm confused since this is the build number for taimen/Pixel2XL and should acutally be OPM3.171019.014 for bullhead/Nexus5X.

Did I miss something?

sha256sum ~/android/lineage-15.1-20180226-nightly-bullhead-signed.zip

6df8432cd7defd28aaa1f3c3a7c5d87097be0e572d6b0f91e38e64eafa2cbc46
[Nexus 5X Original Android Development] herofmm:
I second about banking apps. My Barclays bank app also does not work saying my phone is rooted. I tried the following combinations:

- Lineage OS 15.1 + 4 core fix

- Lineage OS 15.1 + EX 6.02 Kernel + 4 core fix

None of them worked for me.

In addition, I have a Nexus 4 phone with bootloader unlocked + TWRP recovery + stock kernel + stock rom. The bank app works fine with my Nexus 4. So, I don't think it is a bootloader problem.
[Nexus 5X Original Android Development] vildevilde:
I have seen microG and signature spoofing being mentioned before here. I am not sure if i's aloud to write about it here because I think Lineage OS has sad no to this and gooogle may not like it :( but anyway....!

With Lineage Os, earlier I have on a few different phones used roms with signature spoofing and microG.

I don't want Gapps, I don't want to be logged in somewhere with my phone to make things work, but I need two bank related apps that doesn't work without

checking something with goooogle services or what it now do, I have no idea.

On my tries with Oreo/Lineage 15.1 roms I have not yet tried any with signature spoofing but one of my banking apps are working on a clean 15.1 without gapps. That app start with a warning that it "will not work because it needs goooooogle play service that are not supported on the device" (maybe bad translation from my Swedish language) then I press ok and the app will work without problem! The other app I have is crashing after start. But if I install microG Services Core and microG services Framework Proxy (I don't know if I need booth) the other app also works without problems. MicroG is not supposed to work without signature spoofing but on Oreo it works enough for me. This is the same on 4 different phones m8, kle amami and bullhead and it didn't work to do like this on 14.1 so something is different. There is also an transportation app, for local trains and buses that get me the same warning that it will not work but after pressing ok that app is also working.

Is this maybe a bug in the apps? Or is there something in Oreo that make this work without signature spoofing now? Maybe somebody know something more about this?
[Nexus 5X Original Android Development] Kael710:
Does this rom feel faster than stock 8.1? My phone is starting to feel old so im thinking about going AOSP again
[Nexus 5X Original Android Development] razorloves:
You should be using the feature built into android. Just go to app info and click on disable. That's permanent.

If that's not good enough for you and you want to do full on android tinkering, you can use the addon.d backup/restore script that's built into lineage roms.

Just open the 50-lineage.sh file in the /system/addon.d folder, then add a new line under "post-restore)" and put the delete command you want. Like this:

post-restore)
rm -rf /system/app/Calendar
# Stub
;;

So, in the example above, whenever you flash a new nightly, the built in calendar app would be deleted during the flashing process in twrp.

If you screw up in anyway or just want to undo the changes you made, you can just delete the 50-lineage.sh file. Then the next time you flash a nightly, all apps and the 50-lineage.sh file will be back to normal.

that's a caf feature. robin is a caf device. bullhead is aosp device. it doesn't have the same hardware code.

There are 2 different build id's. The one shown in Settings is for the non device specific code that comes from here.

Then there is the device specific one from here.

https://xdaforums.com/showpost.php?p=75720118&postcount=366

The nexus 4 is an old phone that doesn't have the bootloader state verification that google added to devices a couple years later.
[Nexus 5X Original Android Development] herofmm:
I think my banking app is checking something else. Now I moved my Nexus 5X back to stock rom. In my current setup,

Bootloader unlock + TWRP 3.1.1 with 4 core patch + stock rom + EX Kernel 6.02 + 4 core patch

The Barclays banking app works fine. Quite strange, I would like to use Lineage, but I guess I need to use stock now.
[Nexus 5X Original Android Development] weaselskhs:
The official release android pay is working perfectly with Franco Kernel 53. I even tested with safety net tester and it also passed there.
[Nexus 5X Original Android Development] preusstang:
For what it's worth, I wiped everything including system, installed latest bootloader, radio, and vendor images, then rom (from last night) and MindTheGapps zip, then magisk 16.0.

Getting stuck at boot logo every other boot but I realize that's a magisk thing and may take a while to get fixed.

After installing magisk manager and setting up magisk hide for certain banking and streaming apps, they can't detect root (yay!) and safety net passes. Also, the root allow/deny dialog comes up reliably. No complaints, rom is nice and smooth. Battery went a little fast today but also had weak cell service all day (constantly searching for service) and the ambient notifications thing was on.

Excellent work. Been waiting patiently on 7.1.2 and watching for a reliable 8.1 build. Now I'm relishing the moment :good::cool:
[Nexus 5X Original Android Development] MaxDim:
Whit OpenGapps, when adding the files from the zip you have to remove com.google.android.camera.experimental2017.jar and com.google.android.camera.experimental2017.xml then reboot and both Google Camera and NX Camera work
[Nexus 5X Original Android Development] razorloves:
He doesn't use any gapps
[Nexus 5X Original Android Development] MaxDim:
Oh, I missed that part, apparently.
[Nexus 5X Original Android Development] suryaabadsar:
Sorry for English

i'm on stock 8.1 February nothing modify

then should i flash the vendor, redio etc or direct flash?
[Nexus 5X Original Android Development] vildevilde:
What's the best way to edit the 50-lineage.sh file? I'm not rooted. I can reach the file from recovery. Can I copy it to computer, edit it and put it back? Permissions for the file, is it important?

Edit: I did what I wrote above and that worked. In recovery copy the file to Download, connect to pc, copy the file to pc, edit file and then copy it back to Download and then to /system/addon.d. reinstalled the rom to test, and yes :) Maybe very basic but anyway....
[Nexus 5X Original Android Development] milouk:
If youre on stock feb. You dont need tk flash vendor radio bootloader..just the system image
[Nexus 5X Original Android Development] suryaabadsar:
means wipe and flash rom gapps and su adon
[Nexus 5X Original Android Development] milouk:
Wipe /system /data /cache

Flash rom , gapps , su
[Nexus 5X Original Android Development] payas0:
Anyone having charging issues?

I'm using the stock wall adapter and cable, one moment it says 23 minutes to full. After 5 minutes it sats 1 hr 30 mins to full. After a few more minutes it says 4 hrs to full. Lineage OS latest nightly with default kernel. Still happens in FK.

P.S.: It does say charging rapidly but ... 4 hours to full? Weird. I might flash stock 8.1 again in a bit to test.

EDIT: Measured with Ampere, I'm only getting 940mA max.
[Nexus 5X Original Android Development] weaselskhs:
I have not seen any charging issues with this rom I would try a different charger as it sounds like you might have a bad cord.
[Nexus 5X Original Android Development] payas0:
Could be that. and now I just found out that my unit (just bought this 2nd hand unit earlier) is affected by the bootloop issue. Ugh.
[Nexus 5X Original Android Development] lfuentes:
Or simply you can "adb pull" the file, modify it and then "adb push" it
[Nexus 5X Original Android Development] vildevilde:
Yes, I have red that somewhere, I will find out how to do that, thanks :)
[Nexus 5X Original Android Development] hozjacz:
Hi,

I read somewhere here, that is possible to use some older version of Google Camera (with HDR) and I tried all which I found in apk mirror:

- Google Camera 5.1.018.177470874

- Google Camera 5.1.016.174405463

- Google Camera 5.1.014.171916386

- Google Camera 5.1.011.170395186

and all of them always crashed, when I took a photo or when I wanted to capture the movie.

Please, I want to try Lineage 15.1, but I can't imagine to use this ROM without Google Camera.

Now, exist some solution? And for the future?

Thank you for the quick response

--------------EDIT-------------------------

I found this modified GAPPS:

https://xdaforums.com/showpost.php?p=75720574&postcount=367

and a few first try looks good. Is this final solution or is there some "but..."?
[Nexus 5X Original Android Development] poondog:
Its an issue with opengapps, as you found with that post

An alternative would be to flash mindthegapps, my google cam is working

It has the files needed for gcam
[Nexus 5X Original Android Development] hozjacz:
I had the same issue with open gapps and also with mindthegapps gapps. Only with fixed mindthegapps from razorloves it looks like it is working.

But fixed it so called "on demand" is not good solution I think.

Will be this solved with other way?
[Nexus 5X Original Android Development] provolinoo:
Problem looks to be the same we have with the original MindTheGApps package.
[MENTION=614507]razorloves[/MENTION] fixed it so maybe he could talk with OpenGApps authors like [MENTION=5083335]SpasilliumNexus[/MENTION] or [MENTION=2010892]Nezorflame[/MENTION] to have them merge the same fix in their packages :)
[Nexus 5X Original Android Development] SpasilliumNexus:
Already done an hour ago as of this post with details ;) Just waiting for a team member in OpenGapps to merge the fix.

I just wish that people would realize that logs help in a BIG WAY since Lineage came out of nowhere with this 15.1 update, causing havoc with getting Gapps packages fixed.

So, to those of you posting issues, POST YOUR GODDAMN LOGS!

Have a great day.
[Nexus 5X Original Android Development] suryaabadsar:
Thanks
[Nexus 5X Original Android Development] paulkono:
Many thanks for the sweet release! 15.1 looks great on bullhead.

I'm unable to connect to my wifi network that has the ssid hidden. When I unhide the ssid then there's no problem connecting to the network.

Also, is it possible to add button actions to "take a screenshot" and "show the power menu"? Those are the only two actions that I use the power button for.

Thanks again.
[Nexus 5X Original Android Development] weaselskhs:
I am running NX Camera and I have full function with photo's and also 4K video seems to be working properly.
[Nexus 5X Original Android Development] scinty83:
Hi guys!

sorry for my "up", but this is a problem.

Anyone have this problem except samadhi23?
[Nexus 5X Original Android Development] DXperia00764:
so far great ROM! feels better then stock due to customization. :cool:

15.1+opengapps+su addon. not a single problem till now.

thanks pressed :good:
[Nexus 5X Original Android Development] bromoxitos:
guys can i use the magisk 15. for root? or only su works? cose magisk 16 make bootloop!!
[Nexus 5X Original Android Development] Greatness_GH:
Magisk 15.3 working fine for me here. I don't know about 16 though
[Nexus 5X Original Android Development] hozjacz:
Hi , I used Magisk 16 and no problem - no bootloop for me. See in attachment...View attachment 4437624

Odesláno z mého Nexus 5X pomocí Tapatalk
[Nexus 5X Original Android Development] mattspew:
I get the bootloop once or twice, but it isn't exactly the end of the world; how often do you restart a phone anyway.
[Nexus 5X Original Android Development] lfuentes:
I´ve also added etc/mixer_paths.xml and etc/thermal-engine-8992.conf but when I flash the ROM both files are restored to the ROM´s versions, and libjni_latinimegoogle.so is wiped out.

What I´m doing wrong?
[Nexus 5X Original Android Development] razorloves:
you left out tons of details, and i can't see what you did so how would i know? lol. could be like 20 different things
[Nexus 5X Original Android Development] lfuentes:
In my script file I have this:

Nothing else was touched, so I assumed that those files should be preserved. But no. When I flash the ROM the files are deleted and/or restored to their original versions.
[Nexus 5X Original Android Development] nickefor:
Does anyone else experience random freezes when using the phone while charging?

I'm on the latest build with mindthegapps and no root.
[Nexus 5X Original Android Development] weaselskhs:
No this ROM has been totally solid.
[Nexus 5X Original Android Development] cmattern:
I've seen something like that with certain chargers using both stock and custom ROMs. Are you using stock or aftermarket charger?
[Nexus 5X Original Android Development] Ulqiorra:
New nightly is up (lineage-15.1-20180305-nightly-bullhead-signed.zip ) but Check for Updates on my N5X gives "No update availiable" :(
[Nexus 5X Original Android Development] zurik:
Flash it manually.
[Nexus 5X Original Android Development] sherincal:
LineageOS announced that the this weeks nightly / weekly needs to be manually downloaded and flashed. Updater has a bug / buil.prop file is wrong. Flash this week manually, next week the updater will work
[Nexus 5X Original Android Development] Billys20:
Just installed the latest Lineageos build and it runs great!This is my first custom ROM on my Nexus 5x. I just unlocked it and flashed it with Gapps. Everything seems to work great and smooth. Great job Razorloves!