[ROM][UNOFFICIAL][10] LineageOS 17.1 for Galaxy J4+ [j4primelte]

ataberkozen

Senior Member
Oct 14, 2016
282
625
103
Adana


Code:
/*
 * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...). 
 * Please do some research if you have any concerns about features included in the products you find here before flashing it! 
 * YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you. 
 * Your warranty will be void if you tamper with any part of your device / software.
 * Same statement for XDA.
 */

LineageOS is a free, community built, aftermarket firmware distribution of Android 10 (Q), 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.

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.



What's working :
  • Boots
  • RIL (Calls, SMS, Data)
  • Wi-Fi
  • Bluetooth
  • Camera
  • Camcorder
  • Video Playback
  • Audio
  • Sensors
  • Flash
  • GPS
  • NFC
  • Flashlight
  • Mobicore keystore

Known issues:
  • VoLTE
  • Selinux is permissive

Instructions :
  • If you're on oreo, flash OneUI latest.
  • Download the latest build.
  • Reboot to recovery
  • Flash the latest build.
  • Optional: Flash GApps for Google Services and Magisk for root.
  • Reboot

Downloads :

Sources :

XDA:DevDB Information
[ROM][UNOFFICIAL][10] LineageOS 17.1 for Galaxy J4+ [j4primelte], ROM for the Samsung Galaxy J4+

Contributors
ataberkozen
Source Code: https://github.com/LineageOS

ROM OS Version: Android 10
ROM Kernel: Linux 3.x
ROM Firmware Required: OneUI, U2
Based On: LineageOS

Version Information
Status: Beta
Current Beta Version: 1.1
Beta Release Date: 2020-02-25

Created 2020-02-25
Last Updated 2020-03-10
 
Last edited:

ataberkozen

Senior Member
Oct 14, 2016
282
625
103
Adana
Changelogs :
Public Beta 3 - 18/03/2020 :
  • Fixed a issue which some users have broken ril.
  • Fixed a issue which some users have broken nfc.

Public Beta 2 - 10/03/2020 :
  • Merge Security Patch: 5 March 2020
  • Fix audio on second sim: @Geckyn
  • Fix HDR on Camera.
  • Fix FM Radio.
  • Fix torch releated issues.
  • Fix Mac Adress releated issues.
  • LineageOS Source Upstream.

Public Beta 1 - 26/02/2020 :
  • First public release.
 
Last edited:

ataberkozen

Senior Member
Oct 14, 2016
282
625
103
Adana
I will NOT accept your bug report if you are using a custom kernel.
I will NOT accept your bug report if you are using a modification (Like some magisk modules etc.).
I will NOT check your bug report if you didn't provide any logs (Some bugs may will be checked).
 
Last edited:
  • Like
Reactions: KotaMangga

Andhika24kd

Senior Member
Jan 28, 2017
54
17
8
Jakarta
Ashyx kernel sir?
Let me make the steps clear for you:
1) You must be on Android Pie (custom or stock ROM doesn't matter). If you're on Samsung Oreo (U2), upgrade to Samsung Pie first so the device bootloader will be upgraded to U4 or newer.
2) If you're on Samsung Pie, flash TWRP and do all the required steps (this includes flashing RMM bypass, flashing encryption disabler, and formatting your data). If you're already using custom ROM, just skip this step.
3) Go to TWRP. As far as I remember, you can boot directly to TWRP by pressing POWER + VOL UP when the device is off.
4) In TWRP, swipe to allow modifications. Go to wipe - advanced wipe - and select dalvik/ART, system, data, and cache - swipe to wipe. You may also want to wipe your internal/external storage to avoid dirty data from previous ROM and apps.
5) Go to install - select your ROM zip and flash it - also flash Magisk and GApps after that (if needed)
6) Reboot system. If asked to install TWRP system app, just unselect all checkboxes and press do not install.
7) You're done. First boot will take a while, be patient.

No, kernel is already shipped within the ROM itself. No ROM comes with no kernel (lol). Moreover, most custom kernels on the J4+ forum may not be compatible for Android 10 yet. The OP also stated do not flash custom kernel if you want to get his support. However, if you insisted, make sure to reflash Magisk (if installed before) after flashing custom kernel. Alternatively, flash the custom kernel first before flashing Magisk.

No, OrangeFox recovery is not tested. If you're having trouble flashing the ROM using OrangeFox, unpack TWRP tar file and flash the recovery.img as recovery inside OrangeFox. After reboot, you will have TWRP again as your recovery (press POWER + VOL UP, as stated earlier).

ROM screenshot: (Stock apps are actually there and just like in LOS 16, sorry I already uninstalled most of them)
 

Attachments

Last edited:

KotaMangga

Member
Nov 2, 2019
20
0
0
15
Indramayu
Let me make the steps clear for you:
1) You must be on Android Pie (custom or stock ROM doesn't matter). If you're on Samsung Oreo (U2), upgrade to Samsung Pie first so the device bootloader will be upgraded to U4 or newer.
2) If you're on Samsung Pie, flash TWRP and do all the required steps (this includes flashing RMM bypass, flashing encryption disabler, and formatting your data). If you're already using custom ROM, just skip this step.
3) Go to TWRP. As far as I remember, you can boot directly to TWRP by pressing POWER + VOL UP when the device is off.
4) In TWRP, swipe to allow modifications. Go to wipe - advanced wipe - and select dalvik/ART, system, data, and cache - swipe to wipe. You may also want to wipe your internal/external storage to avoid dirty data from previous ROM and apps.
5) Go to install - select your ROM zip and flash it - also flash Magisk and GApps after that (if needed)
6) Reboot system. If asked to install TWRP system app, just unselect all checkboxes and press do not install.
7) You're done. First boot will take a while, be patient.

No, kernel is already shipped within the ROM itself. No ROM comes with no kernel (lol). Moreover, most custom kernels on the J4+ forum may not be compatible for Android 10 yet. The OP also stated do not flash custom kernel if you want to get his support. However, if you insisted, make sure to reflash Magisk (if installed before) after flashing custom kernel. Alternatively, flash the custom kernel first before flashing Magisk.

No, OrangeFox recovery is not tested. If you're having trouble flashing the ROM using OrangeFox, unpack TWRP tar file and flash the recovery.img as recovery inside OrangeFox. After reboot, you will have TWRP again as your recovery (press POWER + VOL UP, as stated earlier).
OK , thanks for the tutorial also the full explanation :D
 

Andhika24kd

Senior Member
Jan 28, 2017
54
17
8
Jakarta
any temp fix for VoLTE and sec sim voice
Maybe you could try sending logcat when attempting voice (call?) on SIM 2. There is a handy app on Play Store called "Logcat Reader" to catch & filter logs easily, just press to round button to record the logs.

I currently can't do it since I don't have someone important to call.
 

KotaMangga

Member
Nov 2, 2019
20
0
0
15
Indramayu
I has installed the rom sir , this rom more faster.

I see little problem :

1. when i change to power saver , battery indicator going red . but after switch mode , its back normal
 

Attachments

Last edited: