[ROM][unOFFICIAL] LineageOS 15.1 for Nexus 5X (bullhead)

Search This thread

paradoxiumwind

Senior Member
Jul 23, 2012
1,189
143
Sorry for the dumb question guys, I got a Pixel 3A and have spent the past few weeks dealing with how to flash things to that etc and now I've completely forgotten how to root this thing.

I installed the latest Magisk app, but it's asking for a boot image to patch, should I use the boot.img from inside the lineage zip, or the stock boot image? what if I've installed a custom kernel already (which I believe mods the boot image?)

Thanks in advance.

Edit: Nevermind, you can just rename the .apk to .zip and flash in TWRP.
 
Last edited:

ema97

Member
Aug 7, 2017
45
10
LG Nexus 5X
Xiaomi Mi A2 Lite
I tried to dirty flash the build on top of the previuos one, but phone reboot in recovery.
Now I made a clean flash of the march build and phone boot. I don't know if it is related to new build, maybe i will try to reflash it later.

I also took a recovery log from TWRP, but only after the first attempt of boot and after I tried to dirty flash March build on top of April one (to see if phone boot) and failed boot again, so I don't know if it could be useful.
 
Last edited:

dynamo1950

Senior Member
Jan 8, 2010
60
23
Las Vegas, NV
  • Like
Reactions: razorloves

fLDmPajNNJ5qCd

New member
Apr 23, 2021
1
0
It seems that you also need to flash back to the factory vendor image (along with the boot and radio as instructed in the first post), at least in my case, if you're downgrading from an Android 10 ROM, because for me it would crash once it loaded into the OS shortly after spamming a bunch of "Google Play Services has crashed" and such and bootloop.

I am not entirely sure, but, after flashing the vendor back to its factory state and loading into the OS, it worked flawlessly. The only issue was installing openGapps, as it would spam the same message about Google Play services stopping, which was mitigated by clearing the regular cache and dalvik cache - no errors or issues after that.
 

berom

Senior Member
Sep 21, 2007
83
16
LG Nexus 5X
I had Pe10 and came back to this ROM. I just wiped all except for the infernal.

Works really well. Thanks @razorloves for maintaining this.

Any recommendations for launcher, gallery, Calendar, email, weather widget that doesn't use a lot of ram?

I'm trying this:
Launcher: nova: I'm missing grouping in lineage launcher
Gallery: Google photo go
Weather: OnePlus weather
Calendar: default lineage calendar is OK. I still prefer google calendar
Email: fairmail
 
Last edited:
  • Like
Reactions: razorloves

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Thank you for the ROM and keeping nexus 5x alive.
  • 97
    yUIn6TF.png

    LineageOS is a free, community built, aftermarket firmware distribution of android, which is designed to increase performance and reliability over stock android for your device.

    All the source code for LineageOS is available in the LineageOS Github repo. If you would like to contribute to LineageOS, please visit our Wiki.




    Important Info
    To flash this rom you need TWRP 3.2.0-0 or newer. https://twrp.me/lg/lgnexus5x.html

    Make sure you have the radio & bootloader img's installed from the stock oreo 8.1 OPM7.181205.001 Dec 2018 factory image.
    They can be extracted from the factory image on google's site here. Or you can use the ones linked below that I already extracted:
    radio & bootloader img's: https://androidfilehost.com/?w=files&flid=286834
    Those img's can be flashed with fastboot command.

    Download Links
    rom: https://download.lineageos.org/bullhead
    Note: LineageOS servers no longer make 15.1 builds for any devices. You can use my unofficial builds here. My older builds are here.
    Note#2: if you want to switch from an official build to my unofficial builds, follow instructions here.
    google apps (optional): https://wiki.lineageos.org/gapps.html (Use arm64 / 8.1)
    root su addon (optional): https://download.lineageos.org/extras Note: Use arm64 15.1 zip. After installing the su addon, you can enable root in developer options.

    Instructions
    If updating from old unofficial to newer unofficial, follow the steps below:
    1. if you don't already have them installed, flash the newest radio and bootloader img's linked above.
    2. boot into twrp and flash the rom zip.
    Reboot & enjoy.
    NOTE: if you previously flashed gapps and/or the su addon, there's no need to flash them again. They will be automatically re-installed during rom zip installation.
    NOTE2: if you want to switch from an official build to my unofficial builds, follow instructions here.

    If coming from a different rom:
    1. if you don't already have them installed, flash the newest radio & bootloader img's linked above. also make sure you have the newest twrp, linked above.
    2. boot into twrp and wipe system & data & cache.
    3. flash rom & gapps & su addon zips (gapps & su zips are optional).
    Reboot & enjoy.



    Weather Provider Addon (Optional)
    For those that like the lineage cLock widget, here's the OpenWeather apk you need to get weather info.
    https://download.lineageos.org/extras
    Grab the one for version 16.0. It also works with 15.1.
    Note: You'll need an api key from OpenWeather.

    LineageOS Stats
    https://stats.lineageos.org/

    Credits
    Many thanks to my fellow LineageOS team members and all the contributors out there in the community. :good:


    LineageOS device maintainers:
    razorloves

    Source Code:
    Device tree: https://github.com/LineageOS/android_device_lge_bullhead/tree/lineage-15.1
    Kernel tree: https://github.com/LineageOS/android_kernel_lge_bullhead/tree/lineage-15.1
    Vendor tree: https://github.com/TheMuppets/proprietary_vendor_lge/tree/lineage-15.1

    Android version: 8.1.0 Oreo
    Kernel version: Linux 3.10.73
    32
    New build is ready. WOOHOO. :D

    lineage-15.1-20180127-UNOFFICIAL-bullhead.zip


    if updating from my previous 15.1 build:
    just reboot into twrp recovery, flash the rom zip, then reboot.


    Major changes since last build:
    1. led brightness settings for 'do not disturb' mode
    2. adjustable led brightness
    3. lockscreen pattern grid size adjustable
    4. volume control fixed (was switching to media, instead of ring)
    5. privacy guard added
    6. su is now built in. you can enable it in dev options. so you no longer need magisk.
    7. dark theme fixed (see NOTE below)(only applies to settings & notification drawer)
    8. corrected rogers apn
    9. improved advanced reboot menu UI
    10. improved network traffic monitor settings
    11. fixed lineage weather service and providers, and I compiled new weather provider apks.


    NOTE: Annoyingly, google includes a dark theme apk on the /vendor partition that trumps the lineage dark theme apk that's on /system. So, until i figure out a workaround, you just have to delete the google theme apk that's on the vendor partition, for the lineage theme apk to work.
    just go to this folder "/vendor/overlay/SysuiDarkTheme" and delete the apk that's in it, then reboot. that should do the trick.

    IQhQ7CD.png

    For those that like using the cLock weather widget, here are the weather provider apk's:
    https://www.androidfilehost.com/?w=files&flid=243785
    I haven't fixed and compiled the OpenWeatherMap one yet. If you want that one let me know.
    27
    New rom I just built. The opm3.171019.013 January changes and security patches are included.
    This is untested, so backup first.
    lineage-15.1-20180109-UNOFFICIAL-bullhead.zip

    Here's the vendor, radio, and bootloader img from the new opm3.171019.013 factory image:
    https://www.androidfilehost.com/?w=files&flid=239918
    Note: The radio img is the same as what was in last month's update from google, so if you already have it, no need to flash it.

    If updating from my previous 15.1 rom, do the following:
    1. flash the new vendor and bootloader img's.
    2. flash the rom.
    reboot

    Note: advanced reboot now works, but the power menu button settings are still a little wonky, so bare with it. :good:
    27
    The new nightly coming out in a few hours will have the changes from the OPM6.171019.030.E1 July 2018 security update from google. (details here and here)

    Here are the vendor, radio, & bootloader img's from that security update (extracted from the factory image):
    https://androidfilehost.com/?w=files&flid=278598
    NOTE: The bootloader & radio img is the same as in last month's factory image, so if you already have them installed, you don't need to reflash them.
    So you just need to flash the new vendor img when you flash the new nightly. :good:
    25
    ok, here we go. :D
    new build with March 2020 security patches from google.

    lineage-15.1-20200310-UNOFFICIAL-bullhead.zip

    Important notes: Normally when you switch from an official to unofficial rom, you have to wipe data because they're signed with different keys.
    But you can just flash this migration zip right before you flash my unofficial rom to avoid wiping. Then you're good to go.
    Should make a backup in twrp, just in case.
    So just boot into twrp, make a backup, flash migration zip, flash rom zip, done. :good:

    changes:
    https://review.lineageos.org/q/topic:"O_asb_2020-03"
    https://review.lineageos.org/c/LineageOS/android_external_chromium-webview/+/269676