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

Search This thread

ChongoDroid

Senior Member
Jul 29, 2010
6,294
2,960
Vancouver
Google Pixel 4
Google Pixel 4 XL

Attachments

  • yqLCR3jYH907y8FL84DyJ3-3lq_Pa5G0HbeN5MuyGKM.jpg
    yqLCR3jYH907y8FL84DyJ3-3lq_Pa5G0HbeN5MuyGKM.jpg
    23.8 KB · Views: 106

ShroudOfAgony

Senior Member
Mar 23, 2012
105
11
Google Pixel 4a 5G
Did anyone manage to get Wear OS to work past the splashscreen? I tried a combination of many things among which installing Pico/Nano Opengapps, Google app and even downgrading/upgrading via Apkmirror but nothing seems to work 😅

Edit: Everything else works amazing on G988W. Had to do a few things to pass CTS certification for Google Pay but all good now
 
  • Like
Reactions: ChongoDroid

ChongoDroid

Senior Member
Jul 29, 2010
6,294
2,960
Vancouver
Google Pixel 4
Google Pixel 4 XL
Did anyone manage to get Wear OS to work past the splashscreen? I tried a combination of many things among which installing Pico/Nano Opengapps, Google app and even downgrading/upgrading via Apkmirror but nothing seems to work 😅

Edit: Everything else works amazing on G988W. Had to do a few things to pass CTS certification for Google Pay but all good now
I'm not sure but I have a feeling it likely requires something in Samsung's framework. I don't have one to test either unfortunately.
 

coolgoose1

Member
Feb 15, 2018
29
19
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.
 
  • Like
Reactions: dazemc and Mortify1

decayed.cell

Senior Member
Jan 16, 2010
269
30
I'm having trouble booting this ROM. I dunno what I've done wrong. I have a SM-G981N which is the korean model but still with Snapdragon. I have ATFD firmware, I've put the relevant bits in the slots in Odin. I've added vbmeta_disabled into USERDATA.

Then I boot normally, this causes the phone to prompt for a factory reset, which I do. I boot normally and go through setup to avoid PRENORMAL. Then boot into download mode, and put TWRP into AP slot and flash that.

I boot TWRP immediately. I format data since I can't copy multidisabler over until I do that. Reboot back into TWRP again. Copy multidisabler, flash multidisabler. Reboot into TWRP

Copy ROM, pico Gapps, magisk. Flash those three. Then I get stuck on that warning logo screen. I also tried just the ROM, the ROM and magisk only, still no boot
 

decayed.cell

Senior Member
Jan 16, 2010
269
30
I'm having trouble booting this ROM. I dunno what I've done wrong. I have a SM-G981N which is the korean model but still with Snapdragon. I have ATFD firmware, I've put the relevant bits in the slots in Odin. I've added vbmeta_disabled into USERDATA.

Then I boot normally, this causes the phone to prompt for a factory reset, which I do. I boot normally and go through setup to avoid PRENORMAL. Then boot into download mode, and put TWRP into AP slot and flash that.

I boot TWRP immediately. I format data since I can't copy multidisabler over until I do that. Reboot back into TWRP again. Copy multidisabler, flash multidisabler. Reboot into TWRP

Copy ROM, pico Gapps, magisk. Flash those three. Then I get stuck on that warning logo screen. I also tried just the ROM, the ROM and magisk only, still no boot
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
 

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 [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
    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).