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

[UNOFFICIAL][BETA][Q][ROM]LineageOS 17.1 Beta for Galaxy J5 [J500H/FN/F/G/M/Y/8]

Search This thread


Senior Member
Oct 4, 2010
Better use nanodroid, you will get a much better alternative to gapps, but if you still want gapps and have problems when flapping, use bitgapps

i just use playstore from pico. Other Phones and Roms does not have an issue. It must be caused by the ROM. Does anyone else have issue? might try bitgapps


New member
Nov 13, 2016
Android System will crash while connection to cast screen

Hi. thank you for building this rom. can anyone help me how to fix this problem? when I wanna connect to the cast screen, android system crashes and will restart. please check the logcat if you can help me. Thanks!


  • logs-2020-10.zip
    16.9 KB · Views: 6


Senior Member

Top Liked Posts

  • There are no posts matching your filters.
  • 44

    LineageOS 17.1 is a free, community built, aftermarket firmware distribution of Android 10.0, which is designed to increase performance and reliability over stock Android for your device.
    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed.

    ** Disclaimer
    I am not responsible if flashing this ROM bricks your
       phone or causes thermonuclear war  and ends the
        world as we know it. You have been warned.

    ROM Information

    • ROM Target Device: Samsung Galaxy J5 SM-J5008 | SM-J500H | SM-J500F/G/M/Y | SM-J500FN
    • ROM Status: Beta
    • ROM OS: LineageOS 17.1

    What works
    * RIL (in-call audio, messaging, data)
    * Bluetooth
    * WiFi
    * Audio (music, etc)
    * Camera (including video recording)
    * Flash
    * Sensors
    * GPS
    * Brightness controls
    * NFC
    * Bluetooth audio

    What doesn't work
    * Bluetooth audio(an easy workaround can be found below) Fixed
    * KeyDisabler (read below) Removed
    * VoLTE, this will never work on AOSP as it's not easy to implement Samsung's proprietary implementation.

    * Bluetooth Audio
    To fix BT Audio on a Bluetooth headset, first connect to the device and after connecting press the gear icon near it. You should see a screen with 3 toggles(Phone calls, Media audio, Contact sharing), untoggle Phone calls and Contact sharing, leaving only Media audio on. After this you should be able to listen to media with bt headphones.

    Play Store not showing some apps
    You can avoid this bug by adding ro.opengles.version=196608 to your build.prop and rebooting. Make sure to clean Play Store app data.

    The Navigation bar toggle in Settings>System>Buttons will cause touch screen not work after a reboot until the screen is timed out. This means that after rebooting your device you should let the screen turn off itself and then turn it off again to be able to unlock it.
    Device Names

    Verify your device codename before downloading any firmwares or recovery images!
    [B]SM-J500F/G/M/Y[/B] - [COLOR="DarkSlateBlue"][B]j5lte[/B][/COLOR]
    [B]SM-J5008[/B] - [COLOR="DarkSlateBlue"][B]j5ltechn[/B][/COLOR]
    [B]SM-J500FN[/B] - [COLOR="DarkSlateBlue"][B]j5nlte[/B][/COLOR]
    [B]SM-J500H[/B] - [COLOR="DarkSlateBlue"][B]j53gxx[/B][/COLOR]

    ROM Download: here
    OpenGApps Download: here

    Install the latest version(R10.1 or later) of OrangeFox(recommended, download here) or TWRP 3.3.1 or later
    Make a full backup (just in case something goes wrong)
    Make a full wipe(System, Data, Cache)
    * If you are already running LineageOS 16.0(by Galaxy-MSM8916) you can make a dirty flash(flash the build and the Android 10 GApps) but a wipe is recommended
    Download the latest build and transfer it to your phone
    Flash the zip
    If you are installing GApps do it before booting to the ROM. Make sure to flash the correct architecture and version(arm 10.0)
    And finally boot, the first boot can take several minutes as it optimizes all the apps

    There are still quite a few features that are not yet completed for LineageOS 17.1, these are not bugs, this is a beta release.
    You should provide logs when reporting any hardware-related issue.

    How to provide logcats

    Under Windows:

    [B]* Install samsung device drivers and then
     the adb utils from here:[/B]
    [b]* Then enable developer mode, connect your phone to usb,
     and from [B]cmd[/B] paste this command:[/b]
    [I]adb logcat > %userprofile%/Desktop/logcat.txt[/I]
    [b]then try to reproduce the bug.[/b]
    [b]* The logcat file will be on your desktop.[/b]

    Under Linux:

    [b]* Install the adb utils from your distribution's
     package manager and execute the command:[/b]
    [I]adb logcat > ~/logcat.txt[/I]
    [b]then try to reproduce the bug.[/b]
    [b]* The logcat file will be on your home directory.[/b]

    * Submit the logcat here on the forums, or on the Telegram group.

    * If you cant connect the device through adb on windows because the drivers, connect the device over wifi, enable adb over network in developer options, and type:

    adb connect [ip address here]

    And then the adb logcat command for windows.

    Also do not under any circumstances post bug reports if you are using substratum themes or unsupported Magisk modules or you have performed any system modifications.

    I would like to everyone who has helped me throughout the whole process of making Q for J5, included but not limited to those people:

    jenslody for doing the Q bringup, making it boot, fixing most of the bugs, and for everything else he has done to the development!
    Galaxy-MSM8916 team for our base trees.
    SebaUbuntu for finally fixing NFC on j5nlte and for every other fix he has provided!
    Soft-Bullet for suggesting Camera fix.
    All of the testers who have willingly tested the builds.
    And to everyone else who has done even the slightest for the project.

    Source code
    Kernel source code: https://github.com/Galaxy-MSM8916/android_kernel_samsung_msm8916
    ROM Source code: https://github.com/LineageOS
    Device trees: https://github.com/Galaxy-MSM8916/android_device_samsung_msm8916-common

    XDA:DevDB Information
    LineageOS 17.1 Beta for Galaxy J5(2015), ROM for the Samsung Galaxy J5

    ROM OS Version: Android 10
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: >= Marshmallow 6.0

    Version Information
    Status: Beta

    Created 2020-01-22
    Last Updated 2020-01-22
    A new update for LineageOS 17.1 for Galaxy J5 is now available!

    After a long break on the updates, Galaxy-MSM8916 is back up again, with 17.1 builds rolling, thanks to everyone for our hard work and spent time.

    June security patch, with latest LineageOS changes (cool ones!)
    Fixed Bluetooth Audio
    OpenGLES(e.g. Play Store app compatibility check) and other build prop issues have been properly fixed instead of hardcoding.
    Thermal HAL should now work properly
    Snap should be included instead of Camera2.
    Wallpaper flicker issue when transitioning from Doze to Lock screen should be fixed.
    MIDI should now work
    Touch HAL and KeyDisabler have been removed, as those are too buggy and cause other bugs, even when the feature isn't being used.
    Cleanups in device trees, maybe some performance improvements.
    Much more I don't remember.

    Expect to see more updates coming, as the massive bringups and preparations are finished on Galaxy-MSM8916, and everything is now ready.
    Download links are updated on the OP.
    LineageOS 17.1 Go builds will come a bit later.
    If there is anything broken in this build, feel free to report!
    A new LineageOS 17.1 build for Galaxy J5 has been released.

    Latest LineageOS source
    Fixed OpenGLES value (Play Store issues)
    - If you still don't have some apps on the Play Store, clear Play Store's data.

    If you have found any bugs, don't forget to report them here!
    New LineageOS 17.1 update for Galaxy J5 (2015) is out!

    - Merged new LineageOS changes (expect new features and bug fixes)
    - Fixed Miracast
    - Fixed 2nd SIM In-call Audio
    - NFC and DRM issues have been thoroughly fixed! (Thanks to SebaUbuntu for this amazing contribution)
    - Rounded corner animation has been disabled(less lag on gestures)
    - KeyDisabler has been added, meaning you can now see Navigation bar toggle in Settings>System>Buttons (beware, known bugs)
    - Button backlight options have been removed from Settings>System>Buttons
    - OpenGLES version flag has temporarily been hardcoded (Play Store will work properly now, clear Play Store data if it doesn't)

    Known bugs:
    - The Navigation bar toggle will cause touch screen not work after a reboot until the screen is timed out. This means that after rebooting your device you should let the screen turn off itself and then turn it off again to be able to unlock it.

    As always, download from the links in OP.