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

[UNOFFICIAL][ROM] LineageOS/Go 16.0 for Galaxy J5 [SM-J5008/H/F/FN/G/M/Y]

Search This thread

vince2678

Recognized Developer
Jul 5, 2016
1,071
1,903
2okPze5.png


LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), 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. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.


Code:
** 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


Device Names

Verify your device codename before downloading any firmwares or recovery images!
Code:
[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]


Download


If you are completely new to flashing custom ROMs and have no idea how to begin, start by downloading a TWRP image for your device from the link below and flash it using the ODIN tool (see Instructions below). You cannot flash a custom ROM over stock recovery, so downloading a custom recovery is the first thing you will need to do:



ROM Downloads can be found at:



You will probably need to install GApps (Google Apps Suite) as well if you want access to Play Store, and other Google apps. There are two versions:



Instructions



Installation via recovery (TWRP/LineageOS Recovery)
* Download a recent .zip file from the links above for your device.

* Reboot into recovery mode [Press Power+Volume Up+Home].

* Wipe your data and cache partition (equivalent to doing a Factory Reset)
if you are coming from a stock ROM.


* Either: Plug in your phone into your computer, copy the zip file to a location on your Internal or External Storage on a device, click Install on TWRP on your phone and locate the zip file in the phone, or:

* Plug in your phone into your computer, and open Advanced->ADB Sideload on TWRP on your phone and swipe the slider to enter sideload mode.
Then open a command prompt/terminal on your computer in the folder you put the file by Shift-Clicking (Shift+Right Click) and selecting "Open Command Prompt/Terminal Here" (you will need to have adb installed) and type:

adb sideload name_of_zip.zip

to sideload the file. Replace name_of_zip.zip with the name of the file. If you are running Linux you may need to type adb kill-server and use sudo adb sideload if you get an `Insufficient Permissions` error.

* Download and flash GApps in the same way.


How to provide logcats

Under Windows:


Code:
[B]* Install samsung device drivers and then
 the adb utils from here:[/B]

[url]https://forum.xda-developers.com/showthread.php?t=2588979[/url]

[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:


Code:
[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 on the quick setting tiles, and type:

Code:
adb connect [ip address here]

And then the adb logcat command for windows.



FAQ

Q: Are you taking device requests?
A: No.

Q: Are you accepting feature requests?
A: No.

Q: Can you make XXX ROM as well as LOS?
A: No.

Q: Can I throw money at you?
A: Most certainly. Donations are always welcome.

XDA:DevDB Information
[UNOFFICIAL][ROM] LineageOS/Go 16.0 for Galaxy J5 [SM-J5008/H/F/FN/G/M/Y], ROM for the Samsung Galaxy J5

Contributors
vince2678, Zakaryan2004, minz1, deadman96385,Dyneteve,vlwwwwww
Source Code: https://github.com/Galaxy-MSM8916

ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.10.x
ROM Firmware Required: >= 6.0.x Marshmallow
Based On: LineageOS

Version Information
Status: Beta

Created 2018-10-06
Last Updated 2019-10-26
 

Attachments

  • Screenshot_20181005-233147.jpg
    Screenshot_20181005-233147.jpg
    83.9 KB · Views: 33,178
  • Screenshot_Quickstep_20181005-233243.jpg
    Screenshot_Quickstep_20181005-233243.jpg
    86.6 KB · Views: 34,050
  • Screenshot_Quickstep_20181005-233303.jpg
    Screenshot_Quickstep_20181005-233303.jpg
    82.3 KB · Views: 34,198
  • Screenshot_Settings_20181005-231607.jpg
    Screenshot_Settings_20181005-231607.jpg
    88 KB · Views: 33,970
  • Screenshot_Settings_20181005-231620.jpg
    Screenshot_Settings_20181005-231620.jpg
    67.3 KB · Views: 32,765
  • Screenshot_Settings_20181005-231628.jpg
    Screenshot_Settings_20181005-231628.jpg
    65.1 KB · Views: 31,687
  • Screenshot_Settings_20181005-231631.jpg
    Screenshot_Settings_20181005-231631.jpg
    88.2 KB · Views: 30,166
  • Screenshot_Settings_20181005-231638.jpg
    Screenshot_Settings_20181005-231638.jpg
    70.2 KB · Views: 29,076
  • Screenshot_Settings_20181005-232545.jpg
    Screenshot_Settings_20181005-232545.jpg
    59.1 KB · Views: 28,631
  • Screenshot_Settings_20181005-232853.jpg
    Screenshot_Settings_20181005-232853.jpg
    95.8 KB · Views: 27,602
  • Screenshot_Settings_20181005-233134.jpg
    Screenshot_Settings_20181005-233134.jpg
    52.7 KB · Views: 26,479
  • Screenshot_Settings_20181005-233159.jpg
    Screenshot_Settings_20181005-233159.jpg
    55 KB · Views: 25,168
  • Screenshot_Settings_20181005-233218.jpg
    Screenshot_Settings_20181005-233218.jpg
    38.5 KB · Views: 23,993
  • Screenshot_Updater_20181005-232837.jpg
    Screenshot_Updater_20181005-232837.jpg
    40.2 KB · Views: 23,798
  • index.jpeg
    index.jpeg
    62.1 KB · Views: 23,673

vince2678

Recognized Developer
Jul 5, 2016
1,071
1,903
What works

Code:
[B]
* RIL (in-call audio, messaging, [I]data possibly[/I])
* Bluetooth (including audio)
* WiFi
* Audio (music, etc)
* Camera (including video recording)
* Flash
* Sensors
* GPS
[/B]

Known Issues

Code:
[COLOR="RoyalBlue"][B]All devices[/B][/COLOR]
* [B][[COLOR="Red"]BUG[/COLOR]][/B] [B] Audio is buggy (music playback through speaker/headphones in particular) [/B]
* [B][[COLOR="Red"]BUG[/COLOR]][/B] [B] RIL (telephony) is broken [/B]

Changelog

Code:
[COLOR="Black"][B]06/10/2018[/B][/COLOR]
* [B][[COLOR="Green"]NOTE[/COLOR]][/B] [B] First working image built. [/B]
 
Last edited:

Zakaryan2004

Senior Member
Jun 1, 2017
292
527
Yerevan
A review of LineageOS 16.0 for J500H(this review is for the build I made a week ago but the bugs should be the same)

What's working:
Wi-Fi
Bluetooth
Camera
Location
Flashlight
Audio(didn't experience any audio bugs as told in the OP thread)
and other minor things(basically the same as told in the OP thread)

What does not work:
RIL(no calling and SMS)
Nearly all of the apps are "incompatible" in Play Store, but installing with APK should work Ok.
As expected, no option to wake the phone with Home key(because not implemented in LineageOS itself yet)

Videos don't play OS wide(Gallery app, YouTube, Settings which have video in it, any file explorer...)

Other things needed to take into considerationn:
Gallery app is very old(KitKat era) not the new one found in LineageOS 15.1
The boot time is more than 5 minutes mostly.(not the first boot)
Digital Wellbeing works if the necessary gapps is installed and signed up to the beta program from Play Store
You can't enable virtual navbar from settings(but you can from build.prop. And if enabled, Swipe Up gestures work perfectly)

I think this should help anyone decide whether or not to install the new LineageOS 16

---------- Post added at 06:29 AM ---------- Previous post was at 06:24 AM ----------

Also there is a typo in both this and Grand Prime's thread. In this thread the ROM Firmware Required is >= 6.0 (Nougat) which is wrong for sure. And in GP's thread it tells 5.0(Marshmallow). I don't know why both of them have the same mistake...
 

vince2678

Recognized Developer
Jul 5, 2016
1,071
1,903
Also there is a typo in both this and Grand Prime's thread. In this thread the ROM Firmware Required is >= 6.0 (Nougat) which is wrong for sure. And in GP's thread it tells 5.0(Marshmallow). I don't know why both of them have the same mistake...

That's not a typo on the GP thread. I'll need to fix the J5 ones later. Thanks for pointing that out.

The minimum required firmware corresponds to the firmware provided by that version of stock ROM. By firmware, I mean proprietary code such as modem firmware and bootloader that are flashed onto dedicated partitions on the device that can only be obtained from a stock ROM update, which can not be provided, overwritten or overrriden within the custom ROM and have to be flashed via Odin.

With a lower version, the custom ROM might still work, but probably not as well. In the worst case it might not boot at all.
 
Last edited:

Zakaryan2004

Senior Member
Jun 1, 2017
292
527
Yerevan
That's not a typo on the GP thread. I'll need to fix the J5 ones later. Thanks for pointing that out.

The minimum required firmware corresponds to the firmware provided by that version of stock ROM. By firmware, I mean proprietary code such as modem firmware and bootloader that are flashed onto dedicated partitions on the device that can only be obtained from a stock ROM update, which can not be provided, overwritten or overrriden within the custom ROM and have to be flashed via Odin.

With a lower version, the custom ROM might still work, but probably not as well. In the worst case it might not boot at all.
I think you understood me wrong. 5.0 is Lollipop, not Marshmallow. I meant that.
 

knut2002

Member
Feb 12, 2017
20
1
Thanks for this great rom, is there a chance to see a rom which brings us project treble support on our Galaxy j5 ?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 66
    2okPze5.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), 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. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.


    Code:
    ** 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


    Device Names

    Verify your device codename before downloading any firmwares or recovery images!
    Code:
    [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]


    Download


    If you are completely new to flashing custom ROMs and have no idea how to begin, start by downloading a TWRP image for your device from the link below and flash it using the ODIN tool (see Instructions below). You cannot flash a custom ROM over stock recovery, so downloading a custom recovery is the first thing you will need to do:



    ROM Downloads can be found at:



    You will probably need to install GApps (Google Apps Suite) as well if you want access to Play Store, and other Google apps. There are two versions:



    Instructions



    Installation via recovery (TWRP/LineageOS Recovery)
    * Download a recent .zip file from the links above for your device.

    * Reboot into recovery mode [Press Power+Volume Up+Home].

    * Wipe your data and cache partition (equivalent to doing a Factory Reset)
    if you are coming from a stock ROM.


    * Either: Plug in your phone into your computer, copy the zip file to a location on your Internal or External Storage on a device, click Install on TWRP on your phone and locate the zip file in the phone, or:

    * Plug in your phone into your computer, and open Advanced->ADB Sideload on TWRP on your phone and swipe the slider to enter sideload mode.
    Then open a command prompt/terminal on your computer in the folder you put the file by Shift-Clicking (Shift+Right Click) and selecting "Open Command Prompt/Terminal Here" (you will need to have adb installed) and type:

    adb sideload name_of_zip.zip

    to sideload the file. Replace name_of_zip.zip with the name of the file. If you are running Linux you may need to type adb kill-server and use sudo adb sideload if you get an `Insufficient Permissions` error.

    * Download and flash GApps in the same way.


    How to provide logcats

    Under Windows:


    Code:
    [B]* Install samsung device drivers and then
     the adb utils from here:[/B]
    
    [url]https://forum.xda-developers.com/showthread.php?t=2588979[/url]
    
    [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:


    Code:
    [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 on the quick setting tiles, and type:

    Code:
    adb connect [ip address here]

    And then the adb logcat command for windows.



    FAQ

    Q: Are you taking device requests?
    A: No.

    Q: Are you accepting feature requests?
    A: No.

    Q: Can you make XXX ROM as well as LOS?
    A: No.

    Q: Can I throw money at you?
    A: Most certainly. Donations are always welcome.

    XDA:DevDB Information
    [UNOFFICIAL][ROM] LineageOS/Go 16.0 for Galaxy J5 [SM-J5008/H/F/FN/G/M/Y], ROM for the Samsung Galaxy J5

    Contributors
    vince2678, Zakaryan2004, minz1, deadman96385,Dyneteve,vlwwwwww
    Source Code: https://github.com/Galaxy-MSM8916

    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: >= 6.0.x Marshmallow
    Based On: LineageOS

    Version Information
    Status: Beta

    Created 2018-10-06
    Last Updated 2019-10-26
    20
    Reserved

    If this is your first time flashing P, you will need to install the latest unofficial TWRP image for your device from the links above before flashing a zip image, otherwise installation of a zip will invariably fail.
    18
    What works

    Code:
    [B]
    * RIL (in-call audio, messaging, [I]data possibly[/I])
    * Bluetooth (including audio)
    * WiFi
    * Audio (music, etc)
    * Camera (including video recording)
    * Flash
    * Sensors
    * GPS
    [/B]

    Known Issues

    Code:
    [COLOR="RoyalBlue"][B]All devices[/B][/COLOR]
    * [B][[COLOR="Red"]BUG[/COLOR]][/B] [B] Audio is buggy (music playback through speaker/headphones in particular) [/B]
    * [B][[COLOR="Red"]BUG[/COLOR]][/B] [B] RIL (telephony) is broken [/B]

    Changelog

    Code:
    [COLOR="Black"][B]06/10/2018[/B][/COLOR]
    * [B][[COLOR="Green"]NOTE[/COLOR]][/B] [B] First working image built. [/B]
    17
    New update for LineageOS 16.0 for Samsung Galaxy J5 (2015) available!

    Changelog:
    - Fixed home button wake
    - Fixed FM Radio
    - Fixed 2nd SIM In-call Audio
    - Use Snap instead of Camera2
    - Merged latest LineageOS changes(incl. August security patch)

    Some info:
    Currently, I am the new maintainer for LineageOS for Galaxy J5. I will continue giving updates and fixing bugs, so if you have any questions, suggestion or found any bugs, direct it to me in this thread.

    Download links in the original(first) post.
    13
    New images are up for all devices. There are too many threads for me to update all the OPs forall of them, and no one reads those anyways.

    A few changes/fixes i can remember:

    - Sim detection issue is now fixed, and possibly in call audio for dual sim devices.

    - RIL/Telephony works for P builds.

    - Audio works fully for P builds.

    - Bluetooth mac address is now read from efs and set proper.

    - A lot of backend server and repo/device tree stuff that is not user visible, e.g cleaning up, rom support, e.g bringing dotOS, setting up github uploads and transferring artifacts there, etc.

    - As a consequence, download server no longer hosts artifacts. Using the dl server will redirect to github releases, where the artifacts for most of the builds within the past ~ 1 year are hosted. Any builds before then were lost with the previous download server (s).


    I've tried to issue builds for all devices and their variants within the last week. I haven't been well for a while, and working on this for this long continuously takes a lot out of me, so I'll be going on hiatus for an undefined period of time to rest, recover and take some me to focus on other things. Please don't PM me or mention me here or on telegram or email me, or contact me on github or wherever else i can be found, i really would like not to be bothered.


    The server will remain up.