[ROM][EXYNOS] LineageOS 18.1 for S10e|S10|S10+ - v2.2 (UPDATE: 2021-07-23)

Search This thread

ioeg41

Member
Apr 13, 2021
17
0
Since 18.1 hasn't been "officially" released yet it wouldn't suprise me if one runs into build errors.

Did you manage to get the magiskinit64 file? Since v22 they merged Magisk and the Magisk Manager App, so there is no more downloadable Magisk.zip which contains the arm/magiskinit64 file. Seems like one also has to build Magisk on it's own.
I read that 18.1 official builds are being generated here (and I hope it isn't an April Fools joke), so I thought the lineage-18.1 branch is ready for builds. It's unclear which branch is being used and I am not familiar with official build process/ pipelines to know.

I did build Magisk from source, however the default built process is generating magiskinit for armeabi-v7a which is 32-bit.
Upon further internet search, I came across this, and to quote:



I double checked with v1.4 source by downloading the init file Modpunk used from here and ran:
saitejal@MacBook-Pro ~ % file Downloads/init Downloads/init: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, BuildID[sha1]=1e6afa77c4724a091cd787585cba739f04bbaaa3, stripped
I am yet to build a bootimage and test it out but I am attaching the Magisk v22.1 init file zipped.

I'll upload a boot.img which is pre-patched for Magisk 20.4. You can flash this via twrp and Magisk should work, just need to install the Magisk Manager.

edit: Here it is https://www.androidfilehost.com/?fid=4349826312261761185 Unzip the file. If you wish, you can verify it using gpg, then flash the boot.img via TWRP.
Who can provide the beyond0lte-boot-magisk20.4 (LineageOS 18.1) file?
Perhaps Downgrade patch.
Rescue LineageOS 18.1
 

phaze3131

Senior Member
Feb 11, 2010
339
38
can twrp backups be done to backup everything included data?

I'm on lineage 17.1 and twrp backups CAN NOT be done because you just get twrp backup failed "required key not available"

thanks for any help
 
Jun 9, 2012
43
18
I couldn't get the data partition to backup in TWRP with the latest version. All other partitions do backup OK.

From what I can tell it's a TWRP issue.
 

bym22028

Member
Jan 31, 2021
6
2
My Wifi hotspot disables immediately after enabling it. "error"
In 17.1 it worked but in 18.1 not anymore. I did a complete fresh install.

Does anybody know how I can fix that?

I use latest 2021-06-23 | 2.1
with Magisk
 

The A.I. Project

New member
Jul 20, 2021
2
0
Guys I am having some issues setting up the fingerprint. When I tap on "fingerprint" in the security menue the screen turns black and after some time I get an "app not responding" message. The top slider still responds and the "back" button is still shown. But only thing I can do to get rid of the black screen is kill the app. Note that this is not the bug mentioned in the known bugs for the fingerprint sensor (since that assumes one can even start the setup)...

I had a similar reaction during initial setup when trying to setup the google account and services. From online search there it looked like an issue from OpenGapps deleting WebView... I was able to circumvent (not fix) that part by completely deleting the setup wizard directory and just going with the basic LOS setup

The logcat does not really speak to me regarding what is going on.

I'm using the S10
I did a format + wipe + clean flash of
LOS 18.1, 2021-06-23 version
OpenGapps pico 2021-07-17
Firmware XXSBFUE6 as suggested

I ran Ivan's ROM a few days back (yes, I did a complete format after that), and with it the fingerprint sensor worked fine. At that point I think I had an even more recent firmware version though (I had updated to the most recent released with Samsung stock OTA), i.e. XXSBFUE6 was probably a downgrade.

Anybody else experiencing the "frozen black screen" issue, or anything else specific to fingerprint sensor setup?

Thanks in advance!

Edit: here is a bit of logcat that keeps repeating more or less the same, that looks suspicious:

Code:
07-20 11:37:24.770  5509  5509 E bauth_FPQCBAuthSensorControl: BAuthDeviceCtrl sys call failed rv : -1
07-20 11:37:24.770  5509  5509 I bauth_FPQCBAuthSensorControl: dscc 0
07-20 11:37:24.770  5509  5509 E bauth_FPBAuthService: Sensor Device SpiCtrl on Fail
07-20 11:37:24.770  5509  5509 E bauth_FPBAuthService: Sensor Device Control Fail
07-20 11:37:24.771  5509  5509 I bauth_FPQCBAuthSensorControl: FPQCBAuthSensorControl, 205
07-20 11:37:24.771  5509  5509 I bauth_FPQCBAuthSensorControl: already closed
07-20 11:37:24.771  5509  5509 I bauth_FPBAuthService: ncmi : , ncpf : 1
07-20 11:37:24.771  5509  5509 I TLC_BAUTH: Call FP cmd 0xc (43)
07-20 11:37:24.771  5509  5509 I TLC_BAUTH: status : 0, cmd : 0x0x4 rsp : 0x0x177008
07-20 11:37:24.771  5509  5509 E TLC_BAUTH: TZ Session is not opened properly - Ignore
07-20 11:37:24.771  5509  5509 I bauth_FPBAuthService: check_opcode status = 5, opcode = 43, func_ret_val = 67, function_status = 0, timeout = 0
07-20 11:37:24.771  5509  5509 I bauth_FPBAuthService: FPBAuthService, 11586
07-20 11:37:24.771  5509  5509 I bauth_FPBAuthService: FPBAuthService, 11590
07-20 11:37:24.771  5509  5509 I bauth_FPQCBAuthSensorControl: FPQCBAuthSensorControl, 568
07-20 11:37:24.771  5509  5509 I qfp-vendorlib:  failed to open /dev/qbt2000_fd
07-20 11:37:24.771  5509  5509 I bauth_FPBAuthService: done

The "failed to open part" looks like the issue

EDIIT: if this helps at all to break it down. The fingerprint sensor works fine with v1.4 (i.e. LOS 17.1) and with the current firmware it also works with Ivan's ROM. I also flashed the stock firmware in between, to make sure that any remainders of the "multi disabler" are gone. So it really seems to be specific to v 2 (I tried all 3 of them so far).

Any clues or help are warmly appreciated :)
 
Last edited:

penguyman

Member
Jul 1, 2021
7
1
Monteprandone
Just to understad. I rebooted in TWRP buy seems cannot decrypt my storage (pin and fingerprint removed), what could it be?

Update: tried to reflash twrp + vbmeta but same, Lineage works smoothly but cannot decrypt storage from twrp

Update 2: Did the update without decrypt and it works.
 
Last edited:

John5788

Senior Member
Nov 12, 2008
202
33
www.x5788.net
I am noticing hotspot is not working with the 2.1 release. I have not updated to 2.2 yet since changelog does not mention anything about hotspot fix.

Here is relevant logcat outputs from trying to activate hotspot

Code:
08-01 10:44:04.925  5621 13435 I WifiService: startTetheredHotspot uid=1073
08-01 10:44:04.926  5621  5758 D WifiActiveModeWarden: Starting SoftApModeManager config = null
08-01 10:44:04.959  5340  5340 E libc    : Access denied finding property "ro.vendor.wifi.sap.interface"
08-01 10:44:04.959  5340  5340 E android.hardware.wifi@1.0-service: Failed to add interface: wlan1 NOT_SUPPORTED
08-01 10:44:04.953  5340  5340 W wifi@1.0-servic: type=1400 audit(0.0:896): avc: denied { read } for name="u:object_r:vendor_wifi_prop:s0" dev="tmpfs" ino=15055 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:vendor_wifi_prop:s0 tclass=file permissive=0
08-01 10:44:04.953  5340  5340 W wifi@1.0-servic: type=1300 audit(0.0:896): arch=c00000b7 syscall=56 success=no exit=-13 a0=ffffff9c a1=7fe336c068 a2=88000 a3=0 items=0 ppid=1 auid=4294967295 uid=1010 gid=1010 euid=1010 suid=1010 fsuid=1010 egid=1010 sgid=1010 fsgid=1010 tty=(none) ses=4294967295 exe="/vendor/bin/hw/android.hardware.wifi@1.0-service" subj=u:r:hal_wifi_default:s0 key=(null)
08-01 10:44:04.953  4981  4981 W auditd  : type=1327 audit(0.0:896): proctitle="/vendor/bin/hw/android.hardware.wifi@1.0-service"
08-01 10:44:04.953  4981  4981 W auditd  : type=1320 audit(0.0:896): 
08-01 10:44:04.957  5340  5340 W wifi@1.0-servic: type=1400 audit(0.0:897): avc: denied { sys_module } for capability=16 scontext=u:r:hal_wifi_default:s0 tcontext=u:r:hal_wifi_default:s0 tclass=capability permissive=0
08-01 10:44:04.960  5621  5758 E HalDevMgr: executeChipReconfiguration: failed to create interface ifaceType=1: 4 ()
08-01 10:44:04.961  5621  5758 E WifiVendorHal: Failed to create AP iface
08-01 10:44:04.961  5621  5758 E WifiNative: Failed to create AP iface in vendor HAL
08-01 10:44:04.961  5621  5758 E SoftApManager: setup failure when creating ap interface.
08-01 10:44:04.963  5621  5663 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.net.wifi.WIFI_AP_STATE_CHANGED flg=0x4000010 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
08-01 10:44:04.964  5621  5758 D WifiController: AP disabled, remain in EnabledState.
 
I just tried flashing LOS 18.1 over 17.1 again (w/o wiping data, but w/ wiping cache&dalvik). I understood that this is a supported ugrade method?

The system server seems to crash, and then it goes into a bootloop. I attach an logcat output but I think here's the relevant backtrace:

Code:
07-11 23:06:05.616 15455 15455 E System  : ******************************************
07-11 23:06:05.617 15455 15455 E System  : ************ Failure starting system services
07-11 23:06:05.617 15455 15455 E System  :
07-11 23:06:05.618 15455 15455 I DropBoxManagerService: add tag=system_server_crash isTagEnabled=true flags=0x2
To know how you create your bootlog would be interesting! :)
 

JWildfireT

Member
Jun 13, 2021
5
1
Hi!

If you are using 18.1 since February I assume you use a build that was made by Ivan Meler. Meler's and modpunk's build are not compatible. Meler diables encryption as far as I know and does a few other things different too.

So your best bet is to do a fresh install with a full wipe before. Also, I do recommend to check out the build from Linux4. It's with working encryption, the sources are available, SELinux is enforcing and updates do come regularly. With modpunk there is some uncertainty for updates. If you follow the thread you will know what I mean.
Sorry for the delay in responding, life stuff happening.

Just wanted to say a big thank you for the above info. I switched over to the Linux4 build early July and it's been smooth sailing since.
 

msna

New member
Apr 17, 2020
4
2
Hotspot is not working, neither in version 2.1 nor in 2.2.
Does anyone know how to get it working?
Or can others confirm that it is working for them?
 

ilviandante

Member
Jul 9, 2013
34
1
hi! I have found another Los18 for another phone that had miracast with Samsung smartview.. there is a way to have it on this rom for s10e??
 
Last edited:
  • Like
Reactions: Quinquadrate

Top Liked Posts

  • There are no posts matching your filters.
  • 61
    - - - - - -
    This project provides LineageOS with SELinux for the Samsung Galaxy S10e (SM-G970F, beyond0lte), S10 (SM-G973F, beyond1lte) and S10+ (SM-G975F, beyond2lte).
    - - - - - -


    lineage_17.1_banner.jpg

    FEATURES

    We provide a secure and up to date ROM, check the Lineage Trust status of your phone!

    Secure ROM

    • Fine-grained SELinux policy
    • Latest 4.14 Linux Kernel release
    • Improved performance
    • Wireguard support
    • USB restrictions
    • AES-256-XTS File Based Encryption (FBE)
    • Signed with developer keys

    Nice features

    • FDroid and AuroraStore preinstalled
    • Bluetooth phone calls

    lineage_version.png
    lineage_trust.png


    KNOWN ISSUES

    Don't be scared by the "BETA" label. Our ROMs are always rock solid.

    • Some audio effects are missing
    • Miracast not working
    • Wideband SCO
    • IMS not working (No AOSP solution yet)

    Some minor issues are described in the FAQ below.

    DOWNLOAD

    You can download the latest version under the following links:

    S10e
    S10
    S10+


    INSTALLATION

    Put the zip file of the ROM on your external SD card boot into recovery. If you use our TWRP recovery, you should use that one to flash the ROM.

    Make sure you select: Zip signature verification.

    This will verify that the signature of the ROM will match the one in TWRP recovery. A more detailed step by step description is in the FAQ below.

    SECURITY ADVICE

    Don't flash Magisk modules or anything else which sets SELinux to permissive or you open your device for malware!
    Do not flash Multi Disabler on this ROM!


    What a Wurst!

    This ROM is developed by derf elot, linux4 and modpunk

    Contributors
    modpunk, derf elot, linux4
    Source Code: https://github.com/whatawurst

    ROM OS Version: Android 11
    ROM Kernel: Linux 4.14.236
    ROM Firmware Required: XXSBFUF3
    Based On: LineageOS
    27
    REQUIRED FIRMWARE: XXSBFUF3


    CHANGELOG


    2021-07-23 | 2.2
    • Update to Linux 4.14.239

    2021-06-23 | 2.1
    • Update to Linux 4.14.236
    • Fixed GPS
    • Improved autobrightness (Thanks to linux4)

    2021-06-07 | 2.0
    • Added support to disable fast charging
    • Kernel fix to disable the touchscreen during handheld phone calls
    • Improved auto-brightness
    2020-12-17 | 1.4
    • Add support for glove mode

    2020-10-26 | 1.3
    • Update to Linux 4.14.206

    2020-10-26 | 1.2
    • Update to Linux 4.14.202
    • Added Seedvault (Video)
    • Fixed bluetooth regression
    • Fixed NFC service registration (SELinux denials)
    • Fixed camera issues
    • Fixed LineageOS recovery

    2020-09-11 | 1.1
    • Update to Linux 4.14.196
    • Added Kernel changes from CTG4 (fixes usb audio issues)
    • Improved DT2W support (thanks linux4)
    • Fixed camera access to some sensors

    2020-08-08 | 1.0
    • Update to Linux 4.14.192
    • Performance improvements
    • New thermal HAL for better overheating protection
    • Fixed light sensor auto-brightness
    • Fixed extended-length NFC (required for ePerso App)

    2020-07-13 | RC2
    • Update to Linux 4.14.188
    • Fixed reboot issue with new Power HAL
    • Fixed crash issue with power HAL
    • Update to latest Security release
    • Removed su for adb root

    2020-07-06 | RC1
    • Update to Linux 4.14.187
    • Performance improvements (new power HAL)

    2020-06-17 | BETA3
    • Update to Linux 4.14.184
    • Update to Wireguard 1.0.20200520
    • Fixed HDR support
    • Upstreamed vibrator service implementations

    2020-05-20 | BETA2
    • Update to Linux 4.14.177
    • Added Wireguard support
    • Added support for L1 widevine security level (Netflix etc.)
    • Added in-screen fingerprint support for S10(+)
    • Added "Wireless Powershare" support
    • Get the full list of sensors working, including tilt, rotation_vector, game_rotation_vector and pick_up_gesture
    • Fixed USB tethering
    • Fixed wifi hotspot
    • Fixed proximity sensor
    • Fixed phone calls over bluetooth
    • Fixed phone off charger with nice animation now

    2020-04-14 | BETA1
    • Update to Linux 4.14.175
    • Added magisk building support
    • Added USB Trust HAL
    • Added "Always On Display" quick setting tile (merged upstream)
    • Fixed performance issues
    • Fixed video calls (e.g. in Signal)
    • Fixed proximity sensor
    • Fixed significant motion sensor

    2020-04-05 | BETA0.1
    • Fixed Play Store
    • Fixed permission list
    • Added missing vendor properties
    • Fixed product definitions

    2020-04-03 | BETA0
    • Initial release


    OUR UPSTREAM EFFORTS

    22
    Features + Known Bugs Summary:
    This ROM does already support most features of the hardware. If you need specific features, please check the list below. Each feature was manually tested, so it is possible that it does not match your experience with the ROM. In this case please tell us, see the "Getting Help" section at the end of this post.


    Ratings Description
    • ++ perfect (in depth tested, performs like stock or better)
    • + good (lighly tested only or has minor flaws but is good enough for normal use)
    • o ok (can be used with some limitations)
    • - broken (doesn't work at all)
    • x not supported (unlikely to be implemented, relies on samsungs closed source code)
    • ? can't test, please give feedback

    Performance
    • ++ geekbench 5 score: 2267 (gsmarena stock: 2141)
    • ++ antutu v8.4.1 score: 403909 (gsmarena stock: 389694)

    Speed (values in MB/s, sr =seq. read, sw = seq. write, rr = random read, rw = random write)
    • ++ internal SD 128GB
      • AndroBench5: sr 815.0, sw 193.1, rr 138.7, rw 24.7 (= notebookcheck stock)
      • CPDT 1GB: sr 735.3, sw 139.2, rr 19.2, rw 4.52
    • ++ external SD, 128GB Samsung Evo Plus
      • Androbench5: sr 68.2, sw 34.5, rr 5.75, rw 2.56
      • CPDT 1GB: sr: 75.2, sw: 29.5, rr: 4.08, rw: 1.71
    • ++ USB 3.0 MTP, sw 105MB/s (PC CrystalDiskMark -> mtpdrive -> internal SD)
    • ++ USB 3.0 OTG, sw 105MB/s (Sandisk Extreme 64GB -> internal SD, 10.8GB file, 102s)
    • + bluetooth file transfer, 0.1MB/s (29MB; from other phone 4m42s, from PC 5m24s) (theoretical max. is 0.3 for BLE4.0, 0.8 for BLE4.2 and 1.4 for BLE5.0)

    Connectivity
    • ++ phone calls, 3G, LTE; also with dual sim
    • ++ wifi (delivers 50Mb/s, the maximum my provider supports)
    • ++ bluetooth (file transfer to phone & pc; headphons incl. mic; speakers; keyboard incl. special keys)
    • ++ NFC (only card read tested)
    • x VoLTE

    Screen
    • + 10 finger multitouch, "high touch sensitivity" mode not available
    • ++ full brighness range available
    • ++ double tap to wake
    • + AOD works, but might be dimmer than stock and brightness cant be changed. While active the proximity sensor is used an its LED blinks dimly next to the camera

    Sound
    • ++ dual laudspeaker for media, quality as expected, high volume selectable
    • + earpiece (no in depth test)
    • + headphones (3.5mm jack) have clean audio, high volume selectable, limited to 16bit/48kHz (instead of 24bit/192kHz) possibly by ROM
    • + build-in mic, limited to 16bit/48kHz (instead of 24bit/192kHz), volume should be normal (test)
    • + headphone mic, limited to 16bit/48kHz (instead of 24bit/192kHz)
    • + some external DACs supported, limited to 24bit/48kHz; (reported by @El Dun)

    Camera (with opencamera + camera API v2)
    • ++ wide, ultrawide, front, front-crop
    • ++ PDAF autofocus, face tracking optional (main + front camera, ultrawide is always fixed focus)
    • ++ manual setting for exposure/ ISO/ shutter/ focus
    • ++ raw files option (main camera)
    • ++ optional HDR
    • + dual apperature (main camera), only manual switch (default f1.5)
    • + video up to 2160p/30fps, 1080p/30fps (all cameras should support 60fps, but OpenCamera only produces 30fps files)
    • + 1080p/240fps (main)/ 1080p/120fps (front) high speed/ slow-mo works in stock cam + GCam
    • x no 720p/960fps super slo-mo
    • x no supersteady
    • - S10, S10+: no telephoto camera (details + help wanted)
    • x S10+: no front depth camera

    Sensors
    • ++ gps, quick fix with A-GPS data
    • + fingerprint (all variants), can glitch during setup (see bug list)
    • ++ accelerometer, gyroscope, magnetometer, pressure, light (front) (all values are within tolerance)
    • + light sensor, but only the front/ under-screen sensor, not the rear sensor
    • ++ IR/RGB sensor outputs values for IR/Red/Green/Blue/Clear (test) (COM.SAMSUNG.SENSOR.LIGHT_IR)
    • ++ grip sensor
    • + front proximity (makes only one measurement per second, if you put it quickly to your ear it may touch the screen before it's turned off; reported by @Lav64)
    • ++ software sensors: step counter, rotation vector, gravity, linear acceleration, compass
    • ++ S10/S10+ heart rate/ SpO2 (confirmed by @Ned)
    • o several software sensors don't produce data, but don't do it on stock either. Affected are the IDs: PICK_UP_GESTURE, COM.SAMSUNG.SENSOR.PROXIMITY_POCKET, COM.SAMSUNG.SENSOR.HALLIC, COM.SAMSUNG.SENSOR.BIO_IR (proof thanks @Brembo109, more info from modpunk)

    Charging & Battery
    • ++ 15W quick charge
    • ++ 4.75W reverse charge (with USB OTG adapter)
    • + 7.5W+ qi-wireless charge (limited by my charger)
    • + 2.5W+ reverse qi-wireless charge (limited by the receiver IC BQ51013)
    • + low 40mW idle power consumption (details)
    • + ACCA (advance charging controller app) works with limited settings

    Misc
    • ++ all buttons, bixby can be reprogrammed (workaround for other functions)
    • ++ wired headphone buttons (pause/play, vol+, vol-)
    • + flashlight has only one brighness option (instead of 5 on stock)
    • - S10e: no fingerprint swipe up/down geture, not even with 3rd party app "Quick Fingerprint Geture"

    Known bugs:
    • when phone is shut down, it reboots instead (fixed in RC2)
    • reboot to recovery boots directly into system (fixed in RC2)
    • reboot takes long, about 30s (fixed in RC2, now it only takes a few seconds)
    • double tap to wake not always working (should be fixed in RC2)
    • holding fingerprint too long during setup can cause problems details
    • in full screen apps there may be a black bar to hide the camera cutout which can not be disabled (details, workaround)
    • high sensitivity touch screen / "glove mode" not available (details)
    • bixby-button hold-shortcut does not work (details)
    • google backup does not work with 4x4 or 5x5 pattern. This is an LineageOS issue, but important enough to deserve a note here. (details (thanks @Ivo_Todorov)


    Installation:

    How do I install this ROM on my phone for the first time?
    Below you find a brief checklist of the required installation steps. Installation is more complicated than other ROMs because we take device security very seriously. If you are unfamiliar with installing custom roms , please click the links and read the additional details there.

    • Confirm the firmware version
      • Check the top of the ChangeLog which firmware version is required for the ROM release to work well
      • Go to settings/software-update and update only if the new version matches the requirement!
      • Alternative: flash with odin/heimdall (details see below)
    • Unlock your device
      • Backup all data, unlocking will factory reset your phone
      • Enable developer mode to and enable the OEM-unlock switch there
      • Turn off device and boot to bootloader (hold VolumeDown + Bixby, then connect USB cable)
      • Follow instructions on-screen
      • Finish the initial setup after unlock. You must connect to WiFi, but can skip everything else. Do not specify a pin/pattern during setup afterwards, otherwise TWRP may cause the "try again after 86400 seconds" issue (see below)
      • Confirm in the settings that the bootloader is actually unlocked. (greyed out, telling you its unlocked)
    • Install our TWRP (official thread) | more details (thanks @AndrOdin)
      • Download our TWRP recovery and the vbmeta-disabled.img file
      • Unpack the .xz file with 7zip
      • Check integrity of TWRP (optional, but important for security)
      • Rename files to recovery.img and vbmeta.img; then pack both files together in a .tar archive with 7zip
      • Install Samsung USB drivers and odin, (direct link)
      • Start odin as admin, disable "Auto Reboot" and click "AP "to select the .tar archive
      • Turn off device, boot to bootloader and, once odin detects it, click "Start"
      • When the screen turns off, immediately hold (and keep holding) VolumeUp + Bixby + Power to enter recovery mode
      • When the secondary warning appears, release everything but VolumeUp
      • Swipe slider to allow for modification
    • Install LinageOS
      • copy the ROM ZIP file an external SD card
      • Boot into the recovery
      • Wipe cache + dalvik (wipe->advanced and select cache + dalvik)
      • Format data (wipe->format data, use the dedicated button, wipe->advanced does not work)
      • Flash the ROM (install -> select storage -> micro SD card and select the .zip file)
      • Optional: Flash GAPPS (e.g. OpenGAPPS)
      • Reboot to system

    How do I update LineageOS?
    Updating LinageOS is a lot less work and you can keep all user data. The process is similar to the last part of the installation:

    • Backup all important files optional, but very helpful if something goes wrong)
    • Remove any pin/password/pattern to prevent "retry after 86400 seconds"
    • Copy the ROM ZIP file an external SD card or internal storage; download the new firmware files to PC (if needed)
    • Boot into the recovery, do not reboot until you've installed the new ROM and firmware
    • Flash the ROM (install -> select storage -> micro SD card and select the .zip file)
    • (Optional: Update GAPPS to the latest version)
    • Wipe dalvik and cache
    • Reboot to download
    • Flash new firmware with instructions below
    • (Optional: if you use Magisk, flash the new BOOT file. You can also do this in previous step instead of using Stef4n82's "BL.tar" file.)
    • Reboot to system


    How do I update the firmware?
    On the stock ROM you can update from the settings menu. You can't do this on lineageOS (yet), so ypu need to use use Odin or Heimdall instead.

    How do I update the firmware manually?
    Thanks to @Stef4n82's new instructions and repacked firmware files installation is easier than ever. Below you find a copy of his post:

    If you use Heimdall:

    1. Download the latest firmwarepackge for your device: "G97?F_Firmwareupdate_Heimdall_????.tar.gz"
    2. Extract the package
    3. Flash the firmware files with this command:
    Code:
    heimdall flash \
        --BOOTLOADER sboot.bin \
        --PARAM param.bin \
        --UP_PARAM up_param.bin \
        --CM cm.bin \
        --KEYSTORAGE keystorage.bin \
        --UH uh.bin \
        --DTB dt.img \
        --RADIO modem.bin \
        --CP_DEBUG modem_debug.bin

    If you use Odin:
    1. Download the latest firmwarepackge for your device: "G97?F_Firmwareupdate_Odin_????.zip"
    2. Extract the package and you will get an AP.tar, a BL.tar and a CP...tar.md5
    3. Flash the 3 files with Odin (tested with latest Odin 3.14.x)

    You can download the repacked firmware from the links below.
    1. S10
    2. S10e
    3. S10+

    If you don't want this repacked firmware packages and want to download the whole firmware by your own. Make sure if you flash it via Odin that you use this files:

    1. From AP_G97?FXX*.tar.md5 take the dt.img and create a new AP.tar
    2. CP_G97?FXX*.tar.md5
    3. Extract BL_G97?FXX*.tar.md5 and create a new BL.tar without the vbmeta.img.lz4


    Try again after 86400 seconds?
    With newer version of the Samsung blobs, if you unlock the storage (/data) with TWRP (ie. you enter your pin/password/pattern in TWRP), the trustzone thinks it is a failed attempt and will lock the storage unlocking for 1 day (86400 seconds). To prevent this do not enter your pin (press cancel) and you can still flash an update. If you tripped the trustzone you can either wayt for 1 day to unlock your device (do not power it off) or try rebooting the phone a few times (thanks @Stef4n82), or this slightly more detailed guide (thanks @Exilion90)

    You can prevent this completely by removing any pin/password/pattern before entering recovery. This does remove all stored fingerprints, so you'll have to set the up again after the update.



    3rd Party Software:

    How do I install Google apps?
    You can download and install the Google Apps from Open Gapps Project. You need ARM64 and 10.x. We suggest to always use the pico package. If you need additional apps you find them in the Play Store.

    Put the Open Gapps ZIP file on your SD card and flash it directly after you flashed LineageOS and before the first boot!


    Can I use GPay? What about other banking apps
    GPay as well as some other banking apps check if the device passes safetynet and will not start if it doesn't. Safetynet fails when the bootloader is unlocked and therefore this ROM will not run GPay and other applications that need it. This official LineageOS statement explains why safetynett will never by bypassed (by default).

    Safetynet used to be easy to bypass with Magisk, but since an Update eralier this year Google uses the TPM module and that can't be circumvented easily. However there might be a workaround with "MagiskHide Props Config", please check out this post and this one. (thanks @Stef4n82) Please note that this has not yet been tested and we can not provide any support. If you got it working on your device, please share how you've done it so we can add it here!

    How do I get MicroG with this ROM?
    MicroG is an open source alternative to GAPPS. , but unfortunately not recently updated and therefore not recommended.

    If you want to install it anyway, read this guide by @JoeRifle and this post (appendum) by @ned14 . Update: It has been reported that the new MicroG version works without issues. (thanks @ichmyselfandi)


    Does this ROM have root?
    Not by default. If you need root (eg. for AFWall) you can get it through Magisk.

    How do I install Magisk?
    Important security Advice: Don't flash Magisk modules or anything else which sets SELinux to permissive or you open your device for malware!

    Option 1 (recommended):

    • Download the boot image for Magisk: S10e -- S10 -- S10+
    • Verify the integrity of the file -> See INTEGRITY
    • Unzip the boot image using xz or p7zip
    • (Needed for Odin) Rename the file to boot.img and use 7zip to pack it into a .tar file
    • Flash the boot image to the BOOT partition using Odin, Heimdall or TWRP
    • Install https://******************/

    Option 2:


    Which camera app do you suggest?
    OpenCamera:
    Great open source app that supports a lot of the camera's features with the camera API v2 (select this option in the settings):
    • All cameras supported (except telephoto, this is a issue with the ROM)
    • Manual change of exposure, aperture, shutter speed, ISO
    • The (main) developer uses an S10e himself so you can expect good HW support :p
    You can get it from F-Droid or Play Store

    GCam Variants:
    There is no "official" GCam for this ROM, but there are some that work. Please read this excelent post by @ned14 for more details. The current recommendation is "GCam_5.1.018.177470874.41362666_IDan_N6_3.5_fix.apk" from (IDan). You need GAPPS, microG (post) or the Google Service Framework(post).

    In comparison to OpenCamera it sacrifices manual controls + extra lenses for:
    • simpler user interface
    • better single-shot HDR
    • better panoramas + photospheres
    • SlowMo video (1080p @120/240fps)
    I've also written a more detailed comparison. You can have both camera apps installed at the same time, so you can always choose the better one depending on the scenario.


    Getting Help:

    General:
    Before you post, please check this FAQ, use the search function and skim the few last pages of this thread. We want LinageOS to work on your device, that's the whole point of this thread, but this way you can get the fastest help. If you did not find an answer, feel free to ask here :) We do this in out free time and it may take us some time to answer, so please be patient.

    How to report a bug?
    To fix any bug we first have to be able to reproduce it. Please include all relevant information:
    • device (S10e/S10/S10+)
    • ROM version
    • is gapps/ microg/ magisk installed?
    • steps to reproduce the issue

    When in doubt it's better to include to 0much information than too little. A good example is @Sheffield Steve's bug report. Check out Simon's "How to Report Bugs Effectively" to write even better reports (and thus get better help).

    How to create a logfile?
    To get an even better insight into your issue, a logfile can help us a lot. On Android this is called "logcat". Short logcats are best. They contain less fluff which makes finding the issue easier. Here are the steps how to create a log with adb:

    • install adb drivers
    • open cmd and navigate to the adb file eg. cd C:\Users\<user>\Desktop\platform-tools
    • Connect your phone via USB
    • Select "Allow USB Debugging" on the popup on the phone (see below how to activate it)
    • Clear the log using: adb logcat -c
    • Start loggingwith: adb logcat | tee beyond.log
    • Reproduce the issue
    • Stop logging by pressing CTRL+c
    • Send us the log (in a PM)

    How do I enable USB Debugging?
    To enable USB Debugging you need to do the following steps:

    • Go to Settings -> About Phone
    • Look for Build number
    • Tap on Build Number several times till you get the message that Developer Options have been enabled
    • Go to Settings -> System -> Advanced -> Developer Options
    • Enable USB Debugging


    About this FAQ:
    This FAQ is originally written by modpunk and partly maintained by me (ctrej) to reduce modpunk's workload. We try to keep the FAQ as up-to-date as possible, but it may lag a few days behind. Please read the last posts in this thread for latest information.

    Changelog:
    20200813 (v1.0)
    • update: this changelog, now with ROM version at time of posting and a hide section for older changelogs
    • update: firmware update section (thanks @Stef4n82!)
    • update: ROM update section
    • update: getting help section, rewritten for clarity
    • update: proximity sensor, slow sample rate (thanks @Lav64)
    • update: audio section with my test and @El Dun's report
    • add: gpay/safetynet explanation
    • change: link formating to stay under the 30k character limit

    20200809 (RC2)
    • update: audio output with limited frequency range, limited DAC support (thanks @El Dun)
    • update: double tap to wake works well, used it for a few weeks now without issues
    • update: "86400 seconds" section (thanks @Exilion90)
    • add: links to each version of this FAQ, just click one of the datecodes
    • add: ACCA to feature list
    • add: ADO works kinda
    • add: dual sim to feature list (thanks @Exilion90)
    20200802 (RC2)
    • update: microG section (thanks @ichmyselfandi)
    • update: unlock instructions, setup with wifi required (thanks @Lunat1c)
    • update: "86400 seconds" section (thanks @Lunat1c & @Stef4n82)
    • add: gapps/ microg/ google framework requirement for the GCAM (thanks @KanyT & @ned14)
    • add: bug google backup pattern with 4x4 or 5x5 pattern (thanks @Ivo_Todorov)
    • fix: twrp "more details" link (thanks @Lunat1c)
    20200719 (RC2)
    • update: rgb light sensor, all channels working
    • update: software sensors don't output values on stock either (thanks @Brembo109)
    • add: gcam information (thanks @ned14)
    • add: grip sensor
    • add: microg appendum (thanks @ned14)
    • add: workaround for black status bar in fullscreen
    • add: bug no glove mode (thanks @raggatip)
    • add: bug bixby button hold shortcut (thanks @Lav64)
    20200713
    • update: feature/ bug list (previously called working/ not working) with fixed from RC2
    • update: instructions for microG (thanks @ned14)
    • update: magisk install instructions
    • update: wireless power share works fine, the phone just didn't like the synthetic load I used for testing
    • add: black bar on camera cutout in fullscreen apps (thanks @Sradgads)
    20200707 (RC1)
    • update: section "get help" with copy & paste template
    • update: font for cmd to Courier New
    • confirm: removing pin/password/pattern solves the 86400 second wait delay (thanks @fishnetfancy)
    • add: working/not working section
    • add: this changelog
    • add: telephoto lens not working (thanks @Ned)
    • add: several RC1 issues (thanks @angela5246)
    • add: vbmeta_disabled note to firmware instructions (thanks @okloloi)
    • add: reminder to update Magisk alongside lineage (thanks @fishnetfancy)
    20200705 (Beta3)
    • first FAQ update by me (ctrej)
    • change: order to the "natural" installation flow
    • change: install section into a more detailed checklist (thanks @AndrOdin)
    • add: sub-sections (install/ 3rd party/ support)
    20
    JFYI: I'm working on LineageOS 18.1 however I didn't have had time to work on it the last two weeks. Next week will be better.
    17
    What is difference between this and Ivan's lineage os?

    The most obvious one is that we provide SELinux enforcing and care about security and privacy. For the rest I can't give you an answer as Ivan doesn't want to release the source of his device tree. It would be great if Ivan would join our effort and contribute.