How To Guide [UNOFFICIAL] [Snapdragon] [GSI] LineageOS 20 on Galaxy S21FE

Search This thread

hunter3000

Senior Member
Dec 14, 2010
153
44
Wonderland
www.youtube.com
* Your warranty is now void.
*
* I'm not responsible for bricked devices, dead SD cards,
* Please do some research if you have any concerns about features included in this recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, i will laugh at you.

Simple guide to use LineageOS 20 with Android 13 on Samsung Galaxy S21FE Snapdragon version (SM-G990B/DS)​

Should work also with Exynos version.

Unlock bootloader first:


Go to your phone → Settings → About Phone → Software information → Press Build number 6 times until you see the notice “You’re now a developer”

Go in Settings → Developer options → enable OEM unlocking

Power off your phone first. Then, connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone.

When you arrived at Download Mode, long press volume up until you see the black screen. Confirm to unlock the bootloader and you will erase your device.

  1. Flash recovery for snapdragon version, i'm using: OrangeFox Recovery
  2. Please do everything that is written for flashing recovery (Installation), u need to disable encryption and wipe data
  3. reboot and check if phone is on "hello screen"
How to boot on recovery first time:
Uncheck reboot after flash AP in Odin, unplug cable and then push vol - and power -> immiedietly after turn off download mode hold vol + and power and plug in cable -> now should work

Flash GSI image:​

First you need to download image from here: Image with Google Apps or find image here: all images here
Remember to use arm64 with b !
  1. Reboot to recovery
  2. Now u should see on PC when u connect via cable internal memory - copy image to folder, probably should be "Fox" or create new
  3. Touch files, find image
  4. Now select to flash System image
  5. Reboot
And thats it you should boot to system.

Post install settings​

On Phh Treble Settings set:

  • Samsung features:
    • Use alternate audio policy
    • Enable stereo audio mode
    • Enable extended brightness range
    • Enable double tap to wake (if u want)
    • Enable reversed wireless charging (if u want to reverse charge other device)
    • Enable access to all cameras
    • Enable extra sensors
  • Misc features:
    • On Display set rounded corners diameter to 44
    • Force FPS to [email protected] if you want 120Hz refresh rate display
    • On camera set expose aux cameras and force enable camera2api
To disable AOD u need to uncheck quick setting on desktop.

That works:

  • Dispaly with 120Hz
  • WiFi (5GHz too)
  • Sound with stereo
  • Camera back and front
  • RIL also works (mobile data checked)
  • MHL
  • Fingerprint sensor
  • Bluetooth audio (tested on Galaxy Buds 2)
  • And probably rest of functions
Not working/problems:
  • Google Pay app nor NFC
  • Galaxy wearables
  • Device have strange model build name, so most of the apps will be problematic.

Root image to flash after boot to GSI:

WARNING!

Boot image comes from G990BXXS2DVL1/G990BOXM2DVL1/G990BXXS2DVL1 version! (EUX) You need to create own root patched image if not use my stock samsung rom version that i have before GSI!


  1. Instal magisk
  2. copy image here to download to internal memory
  3. flash via recovery boot image
  4. reboot
  5. go to magisk select yes for popup message
  6. reboot
  7. viola!
 

Attachments

  • Screenshot_20230129-005242_Trebuchet.png
    Screenshot_20230129-005242_Trebuchet.png
    631.9 KB · Views: 207
  • Screenshot_20230129-005255_Ustawienia.png
    Screenshot_20230129-005255_Ustawienia.png
    183 KB · Views: 207
  • Screenshot_20230129-012344_Magisk.png
    Screenshot_20230129-012344_Magisk.png
    178.2 KB · Views: 206
Last edited:

originalul

Senior Member
Apr 22, 2013
81
12
Iasi
Master , I hope that nfc will be fixed in this version cuz is really needed. Call recording is working ?
 

hunter3000

Senior Member
Dec 14, 2010
153
44
Wonderland
www.youtube.com
because we need to change something in build.prop not via hide props. someone with root on stock samsung rom need to copy all strings from build prop and upload here. Changing name on settings do nothing, because on google accounts still show something like GSI-romish phone. And safetyfix only hides phone on g appstore and on gpay to simulate vaild phone.

of course no one cares to make full ported rom only some s**ty oneui ports, so we can only use GSI system image. Still - all cameras dont work even if you try to use via opencamera.
 

dillon1432

New member
Mar 23, 2023
1
0
I flashed this to my s21 fe and it all went fine till I found out the fingerprint scanner doesn't show up at all in settings?? Is anyone else having this issue?
 

Top Liked Posts