[ROM][UNOFFICIAL][x1s|y2s|z3s][SM-G980/1/5/6/8][11] LineageOS 18.1 for Samsung Galaxy S20 series

Search This thread

Dragos1221

Member
Jun 21, 2020
19
2
Hi, @DeHuMaNiZeD. Can u make a build with signature spoofing permission for this ROM? I need it for MicroG, and i don't know how to get it, also, if u can add stock camera or a good alternative that work with 64mp sensor, would be perfect. Appreciate your work, keep it up!
 

seujo

Member
Nov 15, 2018
38
16
Paris
On G980F I did not succeed in OTA updating to ''lineage-18.1-20211119-UNOFFICIAL'', the error message notified the need of firmware update.

I did not found Firmware update instructions so I post the way I dealt with it - There could be better method, please let know if there is -


0-Backup datas if you want to be secure

1-Flash DUJ5 firmwares (example below for S20 with 'firmware-SM-G980F-G980FXXSCDUJ5', see device relevant command)
Code:
heimdall flash --DQMDBG dqmdbg.img --DTBO dtbo.img --HARX harx.bin --KEYSTORAGE keystorage.bin --LDFW ldfw.img --RADIO modem.bin --CP_DEBUG modem_debug.bin --BOOTLOADER sboot.bin --SSP ssp.img --TZAR tzar.img --TZSW tzsw.img --UH uh.bin --UP_PARAM up_param.bin

2-At reboot the device is stuck on warning bootscreen (OS is unable to load with newer firmwares)
  • Go in Download Mode (device off, press VOL- & VOL+ and connect USB)

3-Flash updated Recovery
Code:
heimdall flash --RECOVERY lineage-18.1-20211119-recovery-x1s.img --no-reboot

4-Sideload system update
Code:
adb sideload lineage-18.1-20211119-UNOFFICIAL-x1s.zip

Optionnaly

5-Flash bootscreen warning mod
Code:
heimdall flash --UP_PARAM up_param.bin

6-Re-root
 

twolitrepinto

Member
Jan 3, 2016
8
3
Many thanks for this build and the latest update. It feels a lot faster, especially the boot time. (G981B - X1S)
I see the USB-C audio is listed as being fixed but I cannot for the life of me get it to work.
I am using a basic USB-C to Hdmi adapter as i have an IPTV subscription which is nice to use on my TV. The adapter is brand new and passes audio to the TV fine on other devices?
Another question although not too bothered about this one, it would just be nice to fix.
I am using magisk and microG (succesfully spoofed) but can't get safetynet to pass. I enable magiskhide on gsmcore etc and have droidgaurd helper installed (via the microG revived installer magisk module)
I have also installed Magiskhide props config and configured basic attestation and fingerprint set up as a Oneplus 3a via Termux, also installed universal safetynetfix module but with no luck. Not the end of the world as most apps seem to work with just magiskhide anyway.

Thanks again for your hard work.
 

DeHuMaNiZeD

Senior Member
Feb 20, 2011
3,919
2,710
25
Jastrebarsko
Samsung Galaxy S20
ASUS ZenFone 8
Many thanks for this build and the latest update. It feels a lot faster, especially the boot time. (G981B - X1S)
I see the USB-C audio is listed as being fixed but I cannot for the life of me get it to work.
I am using a basic USB-C to Hdmi adapter as i have an IPTV subscription which is nice to use on my TV. The adapter is brand new and passes audio to the TV fine on other devices?
Another question although not too bothered about this one, it would just be nice to fix.
I am using magisk and microG (succesfully spoofed) but can't get safetynet to pass. I enable magiskhide on gsmcore etc and have droidgaurd helper installed (via the microG revived installer magisk module)
I have also installed Magiskhide props config and configured basic attestation and fingerprint set up as a Oneplus 3a via Termux, also installed universal safetynetfix module but with no luck. Not the end of the world as most apps seem to work with just magiskhide anyway.

Thanks again for your hard work.
I am aware of usbc audio, and am working on it. For the safetynet, i really dont know as i dont use it
 
Many thanks for this build and the latest update. It feels a lot faster, especially the boot time. (G981B - X1S)
I see the USB-C audio is listed as being fixed but I cannot for the life of me get it to work.
I am using a basic USB-C to Hdmi adapter as i have an IPTV subscription which is nice to use on my TV. The adapter is brand new and passes audio to the TV fine on other devices?
Another question although not too bothered about this one, it would just be nice to fix.
I am using magisk and microG (succesfully spoofed) but can't get safetynet to pass. I enable magiskhide on gsmcore etc and have droidgaurd helper installed (via the microG revived installer magisk module)
I have also installed Magiskhide props config and configured basic attestation and fingerprint set up as a Oneplus 3a via Termux, also installed universal safetynetfix module but with no luck. Not the end of the world as most apps seem to work with just magiskhide anyway.

Thanks again for your hard work.
safetynet with MicroG just doesnt work to my knowledge, ive been running microG on this rom for a while and i havent been able to get anything to work.
 

twolitrepinto

Member
Jan 3, 2016
8
3
I am aware of usbc audio, and am working on it. For the safetynet, i really dont know as i dont use it
Ok thanks. Will this update be an OTA update considering I upgraded to the latest file system already?

Also Radius (WPA3) still doesn't seem to work?

Not too bothered about the safetynet tbh, everything i need still seems to work without it just using magisk hide, don't use google pay etc anyway.
safetynet with MicroG just doesnt work to my knowledge, ive been running microG on this rom for a while and i havent been able to get anything to work.
This is the conlcusion I have come to now. All i can find when searching are people complaining that it hasn't worked since earlier this year.
 

Benoni1

Senior Member
Mar 2, 2015
69
9
Czech
Xiaomi 12
Josef Synáč, [3.12.2021 22:25]
Ahoj. Mám Samsung S20 exynos. Spustil jsem root a úspěšně nainstaloval magisk-all. Na svém PC mám nainstalovaný 7zip a obnovovací soubor jsem přejmenoval na tar. Po zadání AP slotu v ODINu a následné iniciaci tlačítka start ODIN okamžitě spadne, takže mi nejde nainstalovat Lineage os 18.1. Prosím o jakoukoliv radu. Možná nainstalovat TWRP, ale co. Jose

Translated by GT:
Josef Synáč, [12/3/2021 10:25 PM]
Hi. I have a Samsung S20 exynos. I ran root and successfully installed magisk-all. I have 7zip installed on my PC and I renamed the recovery file to tar. After entering the AP slot in ODIN and the subsequent initiation of the start button, ODIN crashes immediately, so I can't install Lineage os 18.1. I ask for any advice. Maybe install TWRP, but what. Jose
 
Last edited by a moderator:

Benoni1

Senior Member
Mar 2, 2015
69
9
Czech
Xiaomi 12
The last version boot and work very well ! Many thanks :)
Instaloval jsem twrp a magisk, vše bez problémů. Když jsem v twrp prováděl flash na lineage, twrp hlásí: updater skončil s chybou 1. o pomoc. Diky

Translated by GT: I installed twrp and magisk, all without any problems. When I made a flash on lineage in twrp, twrp reports: updater ended with error 1. for help. Thanks
 
  • Like
Reactions: Xmistikx

miramax001

Member
May 10, 2021
44
9
Hi all, thx OP for your work. LineageOS is always a BOMB :)

Only one question, I'm unable to use gpay (GApps) or get safenet pass
I tried everyting I know
-KO: Magisk stable + Magisk Hide + Props Config + Universal SafenetFix
-KO: Magisk Canary + Zygote Deny + Props Config + Universal SafenetFix


I'm missing something?


EDIT:

Resolved

Magisk stable + Magisk Hide + Props Config + Universal SafenetFix

I forgot to update the device fingerprint
- MagiskHide Props Config -> Edit device fingerprint -> Pixel 4 XL
 
Last edited:

mrw0lfe

Member
Mar 7, 2016
8
0
That's weird that you couldn't get Pokemon Go working, at first I couldn't but I just had to install Magisk with; Busybox, Systemless Hosts, MagiskHide Props Config, and Enable MagiskHide in the settings.
When i did it, I just installed magisk(on recovery and app) and the micro-g module.All the other things thay ou mentioned are modules for magisk?

I'll try to do it again soon.

Regards

Edit: I've installed lineage again, magisk and all the recommended modules, but now I'm having a hard time with the spoofing itself.(microG services has them unchecked.) I'm almost this close to just give up on the S20 and buy a officially supported LineageOS Device that has a microG image built into.(A oneplus or a pixel prior to 6).

Edit2:

I've managed to spoof it, but i still have these options missing from self-check:
  • "System spoofs signature"
  • "Play Services (GmsCore) has correct signature"
  • "Play Store (PhoneSky) has correct signature"
And i can't find any docs on how to activate them.
 
Last edited:

Xmistikx

Member
May 20, 2017
16
1
It seems there's more requirements than just OneUI3

I'm on Android 11, OneUI3. Attempting to flash results in an error needing a higher version 11 or something off the top of my head.the
 

[email protected]

Senior Member
Aug 24, 2010
95
13
Need Help,

I update my s20 with a new Firmware (firmware-SM-G980F-G980FXXSCDUJ5). Im on Lineageos 18.1 lineage-18.1-20210521-UNOFFICIAL-x1s. So after Flashing the Firmwarefiles with Heimdall the Phone will not boot and i can´t enter into a recovery. What did i wrong?

OK after a few new tries all works fine. I don´t no what goes wrong in the first tries ???
 
Last edited:

Xmistikx

Member
May 20, 2017
16
1
Need Help,

I update my s20 with a new Firmware (firmware-SM-G980F-G980FXXSCDUJ5). Im on Lineageos 18.1 lineage-18.1-20210521-UNOFFICIAL-x1s. So after Flashing the Firmwarefiles with Heimdall the Phone will not boot and i can´t enter into a recovery. What did i wrong?

OK after a few new tries all works fine. I don´t no what goes wrong in the first tries ???
Most likely deleted your recovery. Use Odin to flash a recovery to the phone.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hello there ! My S20 (SM-G980F/DS) device runs BeyondROM (A12, OneUI4). Can I wipe and install LOS 18 on it ? If not, how would I downgrade to OneUI3 ? Thanks !
    You don't need OneUI 3. I successfully flashed this on Oneui 4 just fine. Besides, sboot makes it almost impossible to downgrade. 120hz works like a charm.
  • 20
    1607247455067.png


    Code:
    /*
    
    * 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.
    
    */


    FEATURES:
    Code:
    SELinux enforcing
    Improved performance
    High touch sensitivity mode
    SamsungDoze hand wave/pocket pulse
    AES-256-XTS File Based Encryption (FBE)
    ROM is signed with our developer keys



    ISSUES:
    • 5G

    REQUREMENTS:
    • unlocked bootloader - guide here thanks to @jesec
    • OneUI 3 firmware

    INSTALL INSTRUCTIONS:
    • Download the provided lineage recovery! ( Others will not work! And encryption only works properly with the provided lineage recovery! )
    • Flash it with Odin/Heimdall or whatever way
    • go to Wipe > format data/factory reset - This will wipe your INTERNAL storage, so please back up your important files before doing this!
    • Go to Apply update > install it
    • It will say that signature verification is failed, just choose install anyway
    • OPTIONAL: Install gapps
    • Enjoy!


    DOWNLOAD AND CHANGELOG: https://exynoobs.github.io/OTA/
    FIRMWARE UPDATES:
    NOTE: Builds are unified so:

    • x1s = SM-G980, SM-G981 versions
    • y2s = SM-G985, SM-G986 versions
    • z3s = SM-G988 versions
    SUPPORT: Telegram support group


    Credits:

    What A Wurst guys (@derf elot @modpunk ) - We referenced their device trees alot, and for help in general
    @Ivan_Meler for being a friend and helping when needed

    Last but not least, this is a project by team Exynoobs, @Linux4, @Synt4x.93 and lastly, myself. special thanks to them.

    Our sources are availiable on our github org, Exynoobs
    10
    CHANGELOG:

    2021-01-28 :
    Initial release

    2021-02-11:
    Fixed USB-C Audio
    Fixed crackling Audio while recording
    Fixed wireless powershare
    Added support for S20+ (5G) (y2s) and S20 Ultra (z3s)

    2021-02-24:
    Updated vendor and kernel to XXU6DUB5 OneUI 3.1
    Fixed OMX
    Fixed camera issues on y2s/z3s
    Sync latest lineage changes

    2021-05-21:
    NOTE:UPDATING THE RECOVERY AND FORMATTING DATA IS REQUIRED FOR THIS UPDATE, BECAUSE IT WILL NOT BOOT OTHERWISE. ADDITIONAL DATA FORMATTING WILL NOT BE NEEDED, THIS IS BECAUSE OF SWITCHING FROM EXT4 TO F2FS.


    Fixed USB tethering
    Fixed OMX issues
    Fixed audio issues
    Fixed camera issues/switched to snap api1
    Switched to F2FS, improved random write speed from 30 to 200 Mb/s
    Switched to opensource NFC stack
    Updated lineage sources
    Updated kernel source to latest samsung release
    Updated blobs and secpatch to latest samsung release
    Enabled MAC randomisation
    Enabled Wi-Fi direct
    Disabled Wi-Fi Display
    Building libbt-vendor from source
    Commonized stock blobs
    Enabled haptic text cursor
    Enabled call recording
    Addressed some more sepolicy denials
    Added sepolicy for HDMI out
    Added support for freeform windows and PiP mode
    Enabled Multiuser
    Improved SQlite storage speed
    Adjusted powerhint
    Fixed charging speed reporting on lockscreen

    2021-10-16
    - Updated blobs/kernel from latest samsung release
    - WPA3 Fixed
    - Updated init.exynos990.rc/ueventd.rc from XXSDUE4
    - Cleaned up uneeded proprietary files
    - Cleaned up device manifest
    - Building Fastcharge HAL
    - Allow fastbootd to flash super/userdata partition
    - Sepolicy - addressed multiple denials
    - Major device tree refactor, adapted to standard lineageos devicetree structure
    - Updated Lineageos sources

    Major thanks to Tim and Rob for these updates

    2021-10-23
    **NOTE: This build needs to be flashed manually, OTA will work again starting from next release**
    **NOTE #2: This will most probably be the last lineage-18.1 build. We will now focus work on lineage-19 instead**
    - Fixed OTA
    - Kanged autobrightness values from starlte + commonized them
    - Dropped SamsungDoze, switched to AOSP implementation which uses pickup sensor, no more accidental touches
    - removed unneded remove config_radio_access_family overlay

    2021-11-18
    - Updated sources from latest samsung XXSCDUJ5 Release
    - Added firmware assertion
    - For firmware updates, check here: https://github.com/Linux4/firmware-update/releases
    5
    FAQ

    Reporting Bugs
    DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

    Code:
    What is your--
    LineageOS version:
    LineageOS Download url:
    Gapps version:
     
    Did you--
    wipe:
     restore with titanium backup:
    reboot after having the issue:
     
    Are you using--
    a task killer:
    a non-stock kernel:
    other modifications:
     
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
    4
    Build updated, changelog in github downloads and 3# post, enjoy :)
    4
    New update is out, please READ the release notes, and enjoy.