[ROM][UNOFFICIAL][S20,S20U][120hz] - LineageOS 17.1

jimbo77

Recognized Contributor
Nov 2, 2010
2,127
2,857
203
Guatemala


Code:
#include <std_disclaimer.h>

/*
 * Your warranty is now void.
 *
 * We are not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 *
 */

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.

Base source code is available in the LineageOS Github Repo

Instructions:

  • TWRP or LineageOS Recovery
  • Make sure you flash any stock OneUI 2.1 ROM. This is mandatory otherwise several errors are expected.
  • Download your phone build. S20 - x1q, S20U - z3q
  • In TWRP wipe data and flash the ROM
  • Additionally you might flash OpenGapps

What's working:

  • Wifi
  • Camera
  • Audio
  • Bluetooth
  • NFC
  • FingerPrint
  • High Refresh Rate (120hz)
  • GPS
  • Video Playback
  • RIL

Known issues:

You tell me

Downloads:

You can find the downloads in the folder below:

ANDROIDFILEHOST

Thanks to:
@chongodroid for testing the changes for x1q and building for s20.
@jesec for all of his work. The ROM is based completely off Jese's trees and kernels with modifications made to force it run in [email protected] Go ahead and thank him, donate to him because none of this would have been possible without his work.

Source code:

Device Trees:
x1q - https://github.com/ChongoDroid/android_device_samsung_x1q
z3q - https://github.com/Jimbo77/android_device_samsung_z3q
Samsung Common - https://github.com/Jimbo77/android_device_samsung_sm8250-common
Kernel:
Kernel - https://github.com/Jimbo77/android_kernel_samsung_sm8250
Base:
LineageOS - https://github.com/LineageOS

Donations are not required but are encouraging, If want to support my work just click HERE

XDA:DevDB Information
[ROM][UNOFFICIAL][S20,S20U][120hz] - LineageOS 17.1, ROM for the Samsung Galaxy S20

Contributors
jimbo77, chongodroid, jesec
Source Code: https://github.com/Jimbo77/android_kernel_samsung_sm8250

ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Samsung UI 2.1 Vendor
Based On: LineageOS

Version Information
Status: Beta

Created 2020-11-09
Last Updated 2020-11-09
 
Last edited:

jimbo77

Recognized Contributor
Nov 2, 2010
2,127
2,857
203
Guatemala
Reserved

If you also want to run LOS with a Custom Kernel, you may also install the Custom Kernel below:

JimboK-LOS KERNEL

Features:

  • Several EAS commits for balancing power+efficiency
  • Fsync On/Off Toggle
  • Dynamic Sync Control
  • SLIMBUS OC to improve the Audio Mods
  • BBR2 TCP Congestion algorithm by Default
  • Added IO-SCHED drivers like: ZEN, FIOPS, MAPLE etc...
  • KLAPSE Driver (check out https://forum.xda-developers.com/and...odule-t3907025)
  • KCAL Color Control Driver (Up to date)
  • Boeffla Wakelock Blocker Driver
  • Adreno Boost
  • Enabled a few drivers inside of Kernel: CDC, NTFS, CIFS and some native gaming devices as well
  • Added and Enabled HID: NINTENDO SWITCH controllers support
  • Enabled ZSTD Compression, it is recommended to enable this for ZRAM moving forward
  • Disabled LZO, updated LZ4 compression algorithms
  • Several Upstreams to NET/TCP in order to improve Network Connectivity and Speed.
  • Added a fix to hide Magisk Mount for Isolated Processes. This is a critical leak in MagiskHide that can be exploited by apps trying to determine if the device is rooted. I had an issue with two payment apps that after applying this fix, they work. Not sure if they were finding magisk with this method lol. Read more here https://darvincitech.wordpress.com/2...g-magisk-hide/
 
Last edited:

keaheng

Senior Member
Feb 19, 2013
412
173
63
Cambodia
Yes we just need a tester. Neither @ChongoDroid or I own a S20+ so the support in kernel is there but need testers
I own the s20+ G986U1. I think i can help.

---------- Post added at 10:24 AM ---------- Previous post was at 10:23 AM ----------

It should work though on s20+, I wonder if FHD density is the same as ultra. Also finger print placement might need testing.
You mean i can try the ultra version on my plus?
 

ChongoDroid

Senior Member
Jul 29, 2010
6,207
2,908
253
Vancouver
I own the s20+ G986U1. I think i can help.

---------- Post added at 10:24 AM ---------- Previous post was at 10:23 AM ----------


You mean i can try the ultra version on my plus?
No no, I mean you could build lineage with our code for S20+ and it'd flash and work fine.

We've only been building for our devices but the trees from lineage have support for S20+.

We'll think about it, maybe I'll build an alpha build for S20+ and see if how it is.
 

jimbo77

Recognized Contributor
Nov 2, 2010
2,127
2,857
203
Guatemala
I own the s20+ G986U1. I think i can help.

---------- Post added at 10:24 AM ---------- Previous post was at 10:23 AM ----------


You mean i can try the ultra version on my plus?
No. That's not gonna work, it won't boot. What he says is we can build with the same parameters since we are forcing [email protected] the resolution and assets need to be adjusted.

Jesse's trees are configured to build at [email protected] so we need yo move stuff around to make it work at FHD+