• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread


Senior Member
May 18, 2019
Google Nexus 5
Moto G 2015
@razorloves Thanks for keeping this phone going. Just out of interest, what is it that stops this google phone from moving to a newer version of lineageos? I see that there are other old nexus devices that have done. Is it something with a processor chip or something like that?


Mar 16, 2019
LG Nexus 5X
I've been usine Linux for years. Made .IMG backups with dd a while back. Unfortunately I lost mynbackups and now I have a curropt persist partition. I really need a persist IMG to fix it. I have a nexus 5x and the partition is p24. If anyone can send me a copy. You can pull it from twrp or a root terminal with

dd if=/dev/block/mmcblk0p24 of=/sdcard/persist.img

Id really aprecate it.


Senior Member
Apr 29, 2014
@razorloves I think the source DT and kernel linked to in the OP it out of date, can you please provide updated sources / confirm if they are up to date? Thanks for all the effort :D Cheers
  • Like
Reactions: surmoi
Feb 1, 2012
still great phone and great rom!!

btw, this rom is not signed.

could there be any possible future issues if i use unsigned rom?

or is there any way to sign it?

Top Liked Posts

  • There are no posts matching your filters.
  • 97

    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.

    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.
    Grab the one for version 16.0. It also works with 15.1.
    Note: You'll need an api key from OpenWeather.

    LineageOS Stats

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

    LineageOS device maintainers:

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

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


    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.


    For those that like using the cLock weather widget, here are the weather provider apk's:
    I haven't fixed and compiled the OpenWeatherMap one yet. If you want that one let me know.
    New rom I just built. The opm3.171019.013 January changes and security patches are included.
    This is untested, so backup first.

    Here's the vendor, radio, and bootloader img from the new opm3.171019.013 factory image:
    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.

    Note: advanced reboot now works, but the power menu button settings are still a little wonky, so bare with it. :good:
    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):
    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:
    ok, here we go. :D
    new build with March 2020 security patches from google.


    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: