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

[ROM][UNOFFICIAL][R]LineageOS 18.0 for Galaxy J5 [J500H/FN/F/G/M/Y/8]

Search This thread
Feb 1, 2021
5
0
El link de las gapps no funcionan :( se me queda en blanco alguien me dice porque?

Mod Edit (Translation):
The link of the gapps does not work :( I am left blank, someone tells me why?
 
Last edited by a moderator:

Haxival

Member
Mar 26, 2017
40
8
Hi @Zakaryan2004! I've installed this ROM and so far it works wonders minus the known bugs. Is there any chance calls, SIM Cards and Bluetooth will ever be fixed? I'm planning on giving this phone to my grandad.

Note: Yesterday the phone had trouble connecting to my home's WiFi. Today it works just fine. No clue on how it fixed itself but I guess it was something worth noting.
 

Haxival

Member
Mar 26, 2017
40
8
Hi @Zakaryan2004! I've installed this ROM and so far it works wonders minus the known bugs. Is there any chance calls, SIM Cards and Bluetooth will ever be fixed? I'm planning on giving this phone to my grandad.

Note: Yesterday the phone had trouble connecting to my home's WiFi. Today it works just fine. No clue on how it fixed itself but I guess it was something worth noting.
More about the weird WiFi behavior: it's an hypotesis, but I think it stops working after late afternoon. Each new day it recognizes my WiFi just fine but after a certain hour it just disconnects for some reason.
 

Adrian Kiss

New member
Apr 11, 2021
1
0
@Zakaryan2004

Yo lo instale en j500m lte (2015) y no puedo usar el telefono.....seguire esperando....parece re buena

Translation: I installed it on j500m lte (2015) and I can't use the phone ..... I'll keep waiting .... it seems good
 
Last edited by a moderator:

one_half_3544

New member
May 31, 2021
4
0
Flashed this ROM to my j5nlte device (SM-J500FN). Indeed, felt sluggish - and then checked logcat and found out that NFC is constantly crashing:

Code:
% grep DEBUG.\*pid nfc_crashes.log
05-31 16:36:22.193 26990 26990 F DEBUG   : pid: 26967, tid: 26967, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:23.134 27002 27002 F DEBUG   : pid: 26997, tid: 26997, name: android.hardwar  >>> /vendor/bin/hw/[email protected] <<<
05-31 16:36:23.471 27033 27033 F DEBUG   : pid: 27010, tid: 27010, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:24.708 27064 27064 F DEBUG   : pid: 27041, tid: 27041, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:25.968 27095 27095 F DEBUG   : pid: 27072, tid: 27072, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:27.244 27126 27126 F DEBUG   : pid: 27103, tid: 27103, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:28.144 27137 27137 F DEBUG   : pid: 27133, tid: 27133, name: android.hardwar  >>> /vendor/bin/hw/[email protected] <<<
05-31 16:36:28.509 27169 27169 F DEBUG   : pid: 27146, tid: 27146, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:29.753 27200 27200 F DEBUG   : pid: 27177, tid: 27177, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:31.039 27231 27231 F DEBUG   : pid: 27208, tid: 27208, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:32.340 27263 27263 F DEBUG   : pid: 27239, tid: 27239, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:33.221 27272 27272 F DEBUG   : pid: 27267, tid: 27267, name: android.hardwar  >>> /vendor/bin/hw/[email protected] <<<
05-31 16:36:33.568 27305 27305 F DEBUG   : pid: 27282, tid: 27282, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:34.843 27336 27336 F DEBUG   : pid: 27313, tid: 27313, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:36.079 27367 27367 F DEBUG   : pid: 27344, tid: 27344, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:37.490 27402 27402 F DEBUG   : pid: 27378, tid: 27378, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:38.445 27409 27409 F DEBUG   : pid: 27406, tid: 27406, name: android.hardwar  >>> /vendor/bin/hw/[email protected] <<<
05-31 16:36:38.781 27444 27444 F DEBUG   : pid: 27421, tid: 27421, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:39.994 27475 27475 F DEBUG   : pid: 27452, tid: 27452, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:41.205 27506 27506 F DEBUG   : pid: 27483, tid: 27483, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:42.437 27539 27539 F DEBUG   : pid: 27514, tid: 27514, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:43.290 27546 27546 F DEBUG   : pid: 27543, tid: 27543, name: android.hardwar  >>> /vendor/bin/hw/[email protected] <<<
05-31 16:36:43.627 27581 27581 F DEBUG   : pid: 27558, tid: 27558, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:44.915 27615 27615 F DEBUG   : pid: 27592, tid: 27592, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:46.207 27647 27647 F DEBUG   : pid: 27623, tid: 27623, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:47.424 27680 27680 F DEBUG   : pid: 27655, tid: 27655, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:48.284 27687 27687 F DEBUG   : pid: 27684, tid: 27684, name: android.hardwar  >>> /vendor/bin/hw/[email protected] <<<
05-31 16:36:48.572 27722 27722 F DEBUG   : pid: 27699, tid: 27699, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:49.765 27753 27753 F DEBUG   : pid: 27730, tid: 27730, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:50.989 27785 27785 F DEBUG   : pid: 27761, tid: 27761, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:52.206 27817 27817 F DEBUG   : pid: 27793, tid: 27793, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:53.149 27829 27829 F DEBUG   : pid: 27826, tid: 27826, name: android.hardwar  >>> /vendor/bin/hw/[email protected] <<<
05-31 16:36:53.400 27861 27861 F DEBUG   : pid: 27834, tid: 27834, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:54.613 27892 27892 F DEBUG   : pid: 27869, tid: 27869, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:55.865 27924 27924 F DEBUG   : pid: 27900, tid: 27900, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:57.060 27955 27955 F DEBUG   : pid: 27932, tid: 27932, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:58.164 27988 27988 F DEBUG   : pid: 27984, tid: 27984, name: android.hardwar  >>> /vendor/bin/hw/[email protected] <<<
05-31 16:36:58.271 27993 27993 F DEBUG   : pid: 27963, tid: 27963, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:36:59.483 28029 28029 F DEBUG   : pid: 28005, tid: 28005, name: com.android.nfc  >>> com.android.nfc <<<
05-31 16:37:00.727 28061 28061 F DEBUG   : pid: 28037, tid: 28037, name: com.android.nfc  >>> com.android.nfc <<<

Full logcat is attached.
NFC icon is disabled, so I guess there is no way to disable this process from the UI. How to disable it from adb?

Thanks.
 

Attachments

  • nfc_crashes.zip
    139.9 KB · Views: 2
Last edited:

one_half_3544

New member
May 31, 2021
4
0
MS Intune company portal complains that the device is rooted. And indeed adb shell shows 'root' when I type whoami.
Lineageos official policy is to produce non-rooted build, isn't it?
Guess I'd have to rebuild this one to achieve that... Would be grateful for any advice on how to do that.
 

one_half_3544

New member
May 31, 2021
4
0
Ah, and the encryption does not work =(
Code:
% adb logcat | grep Crypt
05-31 20:59:43.026   226 17266 E Cryptfs : Bad magic for real block device /dev/block/bootdevice/by-name/userdata
05-31 20:59:43.026   226 17266 E Cryptfs : Orig filesystem overlaps crypto footer region.  Cannot encrypt in place.

UPD: ok, this probably could be solved by actually resizing the partition https://thomas.blarre.net/2020/03/10/fixing-lineageos-encryption-issue.html

UPD2: resizing via TWRP works, but then if I try to encrypt again, the phone gets into the reboot loop. Wiping /data via twrp fixes this (well, after reinstallation), but restores the resizes the fs size to the partition size (i.e. the original) =(
Now, the partition size shouldn't be altered, as that space at the end is needed for encryption. So, looking for a way to make twrp skip that step ('Updating partition details...')

UPD3: so I tried the following sequence:
1. wipe via twrp (this resizes partition implicitly)
2.
Code:
umount /data
umount /sdcard
e2fsck -f /dev/block/mmcblk0p28
resize2fs /dev/block/mmcblk0p28 4874280K #it was 4874296, so we want -16K
# df then shows that /data size is actually 4718684K
3. unpack rootfs contents (or what else installing .zip does)
4. reboot into fresh installation and select 'Encrypt phone
This leads to a reboot loop =) But at least the df from the twrp terminal shows that the /data has stayed in the 4718684K size.

Is there any way to access logcat from the twrp? Should be somewhere on the /data...
Getting anything via adb logcat from the phone in the reboot loop fails - adb is waiting for the device forever
Code:
% adb logcat 
- waiting for device -
 
Last edited:

Rika_san

Member
Jun 23, 2021
7
0
LineageOS
2okPze5.png


LineageOS is a free, community-built, aftermarket firmware distribution of Android 11, 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 restores the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

ROM Information



What works

* Boots
* Basic functionality
* Wi-Fi
* Audio (music, etc)
* Camera (including video recording)
* Flash
* Sensors
* etc


What doesn't work
* RIL (in-call audio, messaging, data)
* Bluetooth
* GPS (may partially work, not tested)
* Miracast
* VoLTE, this will never work on AOSP as it's not easy to implement Samsung's proprietary implementation.
* Test and report other bugs

Device Names




Downloads

ROM Download: here
GApps Download (BitGapps): here


Installation
Install the latest OrangeFox(recommended, available 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)
* Dirty flash may work, try and tell me.
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 11.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 18.0, these are not bugs, this is a beta release.
You should provide logs when reporting any hardware-related issue.

How to provide logcats


[/HIDE]

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.


Credits
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.
Galaxy-MSM8916 team for our base trees.
jenslody,
2okPze5.png


LineageOS is a free, community-built, aftermarket firmware distribution of Android 11, 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 restores the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

ROM Information



What works

* Boots
* Basic functionality
* Wi-Fi
* Audio (music, etc)
* Camera (including video recording)
* Flash
* Sensors
* etc


What doesn't work
* RIL (in-call audio, messaging, data)
* Bluetooth
* GPS (may partially work, not tested)
* Miracast
* VoLTE, this will never work on AOSP as it's not easy to implement Samsung's proprietary implementation.
* Test and report other bugs

Device Names




Downloads

ROM Download: here
GApps Download (BitGapps): here


Installation
Install the latest OrangeFox(recommended, available 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)
* Dirty flash may work, try and tell me.
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 11.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 18.0, these are not bugs, this is a beta release.
You should provide logs when reporting any hardware-related issue.

How to provide logcats


[/HIDE]

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.


Credits
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.
Galaxy-MSM8916 team for our base trees.
jenslody, SebaUbuntu, Soft-Bullet, and others for the Q bringup and other contributions!

itexpert.120 (Zeeshan Ahmad) for providing a server for building!
And everyone else who has done even the slightest for the project.

Source Code
Kernel source code: https://github.com/Galaxy-MSM8916/an...amsung_msm8916
ROM Source code: https://github.com/LineageOS

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

Contributors
Zakaryan2004
ROM OS Version: Android 10
ROM Kernel: Linux 3.10.x
ROM Firmware Required: 6.0 Marshmallow Bootloader/Modem
Based On: LineageOS

Version Information
Status:
Testing

Created 2020-11-17
Last Updated 2020-11-17

SebaUbuntu, Soft-Bullet, and others for the Q bringup and other contributions!

itexpert.120 (Zeeshan Ahmad) for providing a server for building!
And everyone else who has done even the slightest for the project.

Source Code
Kernel source code: https://github.com/Galaxy-MSM8916/an...amsung_msm8916
ROM Source code: https://github.com/LineageOS

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

Contributors
Zakaryan2004
ROM OS Version: Android 10
ROM Kernel: Linux 3.10.x
ROM Firmware Required: 6.0 Marshmallow Bootloader/Modem
Based On: LineageOS

Version Information
Status:
Testing

Created 2020-11-17
Last Updated 2020-11-17
Can u make it available for j5ltexx tooo...I really want lineage os 18 for that model
 

Top Liked Posts

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


    LineageOS is a free, community-built, aftermarket firmware distribution of Android 11, 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 restores the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    ROM Information

    • ROM Target Device: Samsung Galaxy J5 SM-J5008 | SM-J500H | SM-J500F/G/M/Y | SM-J500FN
    • ROM Status: Testing
    • ROM OS: LineageOS 18.0 (Android R)

    What works
    * Boots
    * Basic functionality
    * Wi-Fi
    * Audio (music, etc)
    * Camera (including video recording)
    * Flash
    * Sensors
    * etc


    What doesn't work
    * RIL (in-call audio, messaging, data)
    * Bluetooth
    * GPS (may partially work, not tested)
    * Miracast
    * VoLTE, this will never work on AOSP as it's not easy to implement Samsung's proprietary implementation.
    * Test and report other bugs

    Device Names

    Verify your device codename before downloading any firmware 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]


    Downloads
    ROM Download: here
    GApps Download (BitGapps): here


    Installation
    Install the latest OrangeFox(recommended, available 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)
    * Dirty flash may work, try and tell me.
    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 11.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 18.0, 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:


    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 in your home directory.[/b]

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

    * If you can't connect the device through ADB on Windows because of the drivers, connect the device over wifi, enable ADB over Network in developer options, and type:

    Code:
    adb connect [ip address here]

    And then the adb logcat command for windows.
    [/HIDE]

    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.


    Credits
    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.
    Galaxy-MSM8916 team for our base trees.
    jenslody, SebaUbuntu, Soft-Bullet, and others for the Q bringup and other contributions!

    itexpert.120 (Zeeshan Ahmad) for providing a server for building!
    And everyone else who has done even the slightest for the project.

    Source Code
    Kernel source code: https://github.com/Galaxy-MSM8916/an...amsung_msm8916
    ROM Source code: https://github.com/LineageOS

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

    Contributors
    Zakaryan2004
    ROM OS Version: Android 10
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: 6.0 Marshmallow Bootloader/Modem
    Based On: LineageOS

    Version Information
    Status: Testing

    Created 2020-11-17
    Last Updated 2020-11-17
    2
    Thanks for make j5 still alive:cowboy:
    1
    Reserved

    Screenshots
    1
    I try to root using magisk few times but always fail, am i missing something? My device is SM-J500G thanks for help. I did flash using OrangeFox 10.1
    Typically anything over 20.422 should work. Which magisk package are you using?
    1
    I try to root using magisk few times but always fail, am i missing something? My device is SM-J500G thanks for help. I did flash using OrangeFox 10.1
    Use Magisk 21, that's the version which will work on Android 11. I have been using Magisk and it works just fine