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

Search This thread

Ocrovelo

Member
May 25, 2020
6
0
Amazon Fire Phone
Nexus 6
Okay sorted now. I didn't realise you couldn't specify a particular firmware with Frija, it just downloads the latest one. So I thought I was one OneUI 2.1, but actually I was on OneUI 3.1.

Now I'm having a problem with the fingerprint reader. The sensor area shows up on screen, when I press it it changes colour but it won't register
Same problem with the fingerprint for me. (S20 Ultra Korean)
UPDATE: It fixed itself for me, I could suddenly enrol my fingerprint. Not sure why.
 
Last edited:

decayed.cell

Senior Member
Jan 16, 2010
269
30
I've also got a weird issue with lockscreen notifications. When the screen is off and a notification comes in the phone screen flashes really quickly instead of showing lockscreen?
 

tonytrijullo

Member
Jan 1, 2022
6
0
Can i use this ROM on S20 FE Snapdragon 4G (G780G/DS)? I have twrp already as a bootloader, so i don't face the locked bootloader problem like people in America/Canada
 

Theo1218

Senior Member
Nov 4, 2015
113
24
Hi! Can I ask how did you fixed the resolution/refresh rate issue? I'm trying to fix this on exynos but the hardware is a bit different so I can't find a way to make the refresh rate higher than 60hz
 

shakeshaker

Member
Feb 13, 2022
15
3
https%3A%2F%2Fimg.xda-cdn.com%2FXqSk-0HKYC2crjXpdeIYJelltKQ%3D%2Fhttps%253A%252F%252Fi.imgur.com%252F2okPze5.png


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 FHD@120hz. 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
Hi jimbo77. I followed all the instruction but in twrp I'm getting the following error: "updater process ended with ERROR: 7". Any idea what I'm doing wrong. I have the Korean version 986N of the galaxy S20.
 
Just wanted to confirm this is working great on my Galaxy S20 (SM-G981U1). Everything including fingerprint reader and cameras work great, after I followed these steps.
  • Unlock bootloader
  • Reboot into download mode (vol up + vol down + power)
  • Flash stock OneUI 2.1 firmware (from mid 2020) using Odin to have a clean base, include vbmeta_disabled in USERDATA slot
  • Boot and skip through initial setup
  • Reboot back into download mode
  • Flash TWRP using Odin, in AP slot
  • Immediately press and hold vol up + power to boot into TWRP recovery
  • Wipe -> format data to get rid of disk encryption
  • Install this rom, Open GApps nano, multidisabler (see twrp thread), and Magisk
  • Boot and do initial setup
  • Pass SafetyNet: Use MagiskHide props config to edit device fingerprint and force basic key attestation - I used the "S20 FE 5G" device for both
  • Install GCam (Wichaya's version, with the samsung package name)
Thanks @jimbo77 for providing this rom, and everyone else who worked on it.

I've noticed that battery life isn't as good as the stock firmware, but I haven't identified exactly what is causing it. I've disabled always on display and it helps.
I'm on android 12, oneUI 4.0. Can I still flash oneUI 2 and force my phone to downgrade?
 
  • Like
Reactions: Sakima

j0912hq7

Member
Aug 20, 2020
11
0
Hello Developers My G988N has been installed with G988NKSU1ATB6,The first one, the original Firmware
But unfortunately installed LineageOS reboot has been stuck in the boot LOGO.
Is there something wrong with my operation? Is there anything else I should pay special attention to?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    https%3A%2F%2Fimg.xda-cdn.com%2FXqSk-0HKYC2crjXpdeIYJelltKQ%3D%2Fhttps%253A%252F%252Fi.imgur.com%252F2okPze5.png


    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 FHD@120hz. 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
    2
    New build would be nice to try out.

    @jimbo77 If you have some spare time, could you make one please? :)
    2
    Thanks @jimbo77, in case others find it useful, I flashed LineageOS on my G986U1 using this sequence:
    • Flashed stock firmware from samfw version G986U1UEU1ATG2 to go back to OneUI 2.1. My phone was on G986U1UES1BTIG. Pay attention to the CSC shown on Download mode. My System showed LRA but Download mode showed XAA and I used XAA.
    • Unlocked bootloader and flashed TWRP as I described here.
    • Boot to recovery, moved lineage zip file from OP to sdcard and moved pico opengapps.
    • Flashed lineage zip file followed by opengapps from TWRP.
    • Wipe cache, data and dalvik
    • Reboot
    Things look good as of now, I will use this as daily driver and report if I notice any issues.
    Following are the issues I noticed:
    1. My Voice call quality is not great. First few seconds of the call I am not able to hear the other side and vice versa, then it gets better but still randomly flaky. I have tried using LTE network type rather than 5G but no noticeable difference. Has any one run into this and fixed it ?
      1. Worth mentioning that Wifi calls (whatsapp, signal) work fine and worth mentioning that I installed Lineage as soon as I got the phone, did not try Stock at all. So not sure if the issue is hardware or software.
      2. I tried building the latest sources hoping that it might solve the issue, but ran into build errors. Not sure what I am doing wrong (this is the first time I am building an unofficial device). I did the following
        1. repo init
        2. repo sync
        3. breakfast y2q
        4. updated the .repo/local_manifests/roomservice.xml to point to Jimbo77/android_device_samsung_y2q, Jimbo77/[email protected], Jimbo77/android_device_samsung_sm8250-common
        5. repo sync
        6. breakfast y2q
        7. brunch y2q
    2. Screen keeps flashing and jumping at times. More often than not, I get flashing and jumping when I use Firefox, so it could be how Firefox uses graphics layer. Anyone ran into this and fixed it ?
      1. If I close Firefox and reopen, then it works for some time.
    2
    Just wanted to confirm this is working great on my Galaxy S20 (SM-G981U1). Everything including fingerprint reader and cameras work great, after I followed these steps.
    • Unlock bootloader
    • Reboot into download mode (vol up + vol down + power)
    • Flash stock OneUI 2.1 firmware (from mid 2020) using Odin to have a clean base, include vbmeta_disabled in USERDATA slot
    • Boot and skip through initial setup
    • Reboot back into download mode
    • Flash TWRP using Odin, in AP slot
    • Immediately press and hold vol up + power to boot into TWRP recovery
    • Wipe -> format data to get rid of disk encryption
    • Install this rom, Open GApps nano, multidisabler (see twrp thread), and Magisk
    • Boot and do initial setup
    • Pass SafetyNet: Use MagiskHide props config to edit device fingerprint and force basic key attestation - I used the "S20 FE 5G" device for both
    • Install GCam (Wichaya's version, with the samsung package name)
    Thanks @jimbo77 for providing this rom, and everyone else who worked on it.

    I've noticed that battery life isn't as good as the stock firmware, but I haven't identified exactly what is causing it. I've disabled always on display and it helps.
    1
    I've been having issues with the fingerprint reader and the camera not opening from some apps. Everything else that I've tested has been working fine.

    Can you please confirm that I followed the process correctly before I dig too much deeper into the issue? Here's what I've done so far (I've done it from scratch a few times now):
    1. (I have a SM-G981U1)
    2. From TWRP recovery, Wipe --> Format Data
    3. Reboot into Download mode
    4. Using Odin, flash BL + AP + CP + CSC (from HOME_CSC) from "[up_vnROM.net]_G981U1UEU1ATBN_G981U1OYM1ATBN_XAA_10.0_FULL.zip", with USERDATA set to vbmeta_disabled.tar
      1. I've previously confirmed that, when setting up the phone after this step, Settings claims that we're on OneUI 2.1.
    5. Before the phone is able to reboot into the Samsung ROM, get it into Download mode again
    6. Using Odin, flash TWRP recovery in the AP slot (and vbmeta_disabled.tar in the USERDATA slot... guessing this is probably unnecessary here, but *shrugs*)
    7. Before the phone is able to reboot into the Samsung ROM, get it into TWRP recovery
    8. adb push lineage-17.1-20201107-UNOFFICIAL-x1q.zip /sdcard
    9. Install it using TWRP
    10. Reboot into recovery
    11. adb push open_gapps-arm64-10.0-nano-20201205.zip /sdcard
    12. Reboot into the system proper for the first time
    13. Follow the setup instructions on the screen
    When following that process, I observe the following:
    1. The fingerprint setup fails, with the error message: "Enrollment was not completed / Fingerprint enrollment didn't work. Try again or use a different finger.". After this, I must pretend like I'm setting it up again and then click "Skip", otherwise a fingerprint icon stays on my screen indefinitely.
    2. When opening the camera through an app (other than the built-in Camera app or Google's Camera app), the preview window either sticks on a black screen or a still frame of what it saw initially. Tested with the QR code scanner in Google Authenticator (black frame), Amazon Shopping's camera search (still frame), and ZXing's Barcode Scanner app (still frame).