[Galaxy S6 General] djibe89:
[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S6 SM-G920F Stock to Android 13

[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S6 SM-G920F/zerofltexx Any version to Android 13 / LineageOS 20

This detailed step-by-step guide helps you transform your Samsung Galaxy S6 SM-G920F/zerofltexx to a powerful one with Android 13.

Make sure your phone is SM-G920F before going further: in Android, go to Settings > About > Check model is SM-G920F.

If not, quit this tutorial.

### You maybe won't be able to use Banking apps with a custom ROM

Read all my tutorials at https://github.com/djibe/Android-tutorials

CHANGELOG

v7. Upgrade to Android 13, update pack

v7. Upgrade to Android 12

v6. Move to MindTheGapps

v5. Improved tutorial thanks to @g3rrydanc3

v4. Alternative ROM LineageOS 17.1, updated Magisk, reworked tutorial

v3. Change ROM for PixelExperience, latest Magisk zip, added GPU optimizations.

v2. Link to latest build

v1. Initial release for Android 10

1) DOWNLOAD

- djibe Galaxy S6 zerofltexx pack: https://mega.nz/file/4eFRkTrT#CJBqytfEocI-59Dm5YmU8nslKFTSMF5-y5VxgBERzFg

(contains Samsung tweaked Odin 3.13.1 + Samsung USB drivers + Fakeman's TWRP 3.7 recovery + Magisk Root + PlayIntegrityFix). Unzip files.

+ ROM LineageOS 20 Unofficial: https://xdaforums.com/t/rom-unofficial-13-0-lineageos-20.4586295/

Download latest @fakemanoan build: https://github.com/fakemanoan/LineageOS-Releases/releases

+ BitGapps 13 ARM64 (Mini or other): https://bitgapps.io/

+ Charge phone to 100%

2) BACKUP DATA

Install Samsung drivers (you unzipped earlier).

Then plug phone to PC in File transfer mode.

Collect all .jpg or .mp4

Use Google built-in cloud backup and apps like SMS Backup & Restore to backup texts, contacts, etc.

Backup your WhatsApp messages in Google Drive.

Everything else: podcasts, Authenticators,

Then copy the backup on your PC.

Make sure you have latest official updates for your phone:

Connect to Wifi and go to Settings > About device > Software update > Update now

3) FLASH TWRP 3.7 RECOVERY

Shut down phone.

Boot in Download Mode : hold Home + Power + Volume- until you see Samsung's logo and release all buttons.

Confirm access to Download mode by pressing Volume+.

Phone now displays: Download mode, do not turn off target.

Connect phone in USB, wait for bootloader drivers installation.

Then launch Odin.exe (included in my archive) and wait for Odin indicator ID:COM to become blue.

In options: Verify re-partition and Auto Reboot are NOT ticked while F. Reset Time is ticked.

In AP > select TWRP_3.7.0-9.0_zeroflte_19012024.tar

### Warranty will be Void after next click ###

Click Start.

Wait until flash Success message appears.

Unplug phone.

Restart phone to recovery :

- hold Power + Home + Volume- until phone screen becomes black.

- and immediately switch from Volume- to Volume+ (still holding Power + Home) to land in TWRP recovery.

### If Android launches, hold 3 buttons until phone restarts and Samsung logo appears.

4) BACKUP IMEI PARTITION AND SYSTEM (Nandroid backup)

Boot in Recovery Mode : Hold Home + Power + Volume+ until you see Samsung's logo then release and wait a few seconds for TWRP recovery to boot.

Recovery asks for Keep System Read Only ? > Swipe to Allow Modifications.

Go to Backup > you can select the partitions you want to save.

Select at least EFS partition to backup your IMEI. If a flash fails and partition is damaged you will still be able to restore this partition and use the phone.

If IMEI is lost during a flash, phone won't be able to reach cellphone networks.

I prefer to backup EFS, Boot, Data and System partitions. In case of problem, you will have your phone in its original state.

Swipe to Backup and wait during process.

Go to Home screen and continue with next chapter.

Save backup: still under TWRP recovery, connect phone to PC.

Go to Mount menu and check Data partition is checked and MTB button is on "Disable MTP" state.

From Windows explorer, access phones memory and copy-paste the TWRP folder (located in root folder, beside DCIM and Music folders) somewhere safe on your computer.

5) FORMAT PARTITIONS

### Make sure you copied TWRP backup from internal memory to somewhere safe.

Go to Wipe, tap on Format data.

Type yes and confirm with bottom right button (check icon)

Now go to Wipe > Advanced wipe,

select Dalvik, Cache, System, Data, Internal Storage (if you really made a backup from step 2), then Swipe to Wipe.

### Don't try to format to F2FS, it won't work.

Back to TWRP home screen, go to Reboot > Recovery and swipe to reboot.

On next launch, check the checkbox to remember choice and swipe to allow modifications.

6) FLASH ANDROID 13 ROM, GAPPS

Back to TWRP main menu, go to Mount menu.

Check Data partition

Bottom right button shows Disable MTP. If not, tap on button.

Connect phone to PC and use Windows explorer to copy files on phone's internal memory.

Copy files of ROM + GApps + Magisk.apk + Magisk.zip + PlayIntegrityFix on phone.

Go back to TWRP Home menu. Then tap on Install > choose lineage*.zip,

then Add more Zips > bitgapps*.zip

then Swipe to confirm Flash.

Wait for operation to end.

### Don't flash Magisk now

Then tap Wipe cache/dalvik, swipe to confirm,

then Reboot System and on Install TWRP App? menu, tap on button Do Not Install

Let Android start and configure it at first launch.

Don't try to set fingerprints at first setup. It will crash.

Optional for root: Then restart to Recovery once again.

Back to TWRP, go to Install, select Magisk and swipe to flash.

then Reboot System and on Install TWRP App? menu, tap on button Do Not Install

7) ROOT ACCESS

No need for extra work to be root as Magisk launches with Android.

Superuser permissions can be managed from the Magisk Manager app.

Open Magisk app (v23+).

### If not seen, go to Files app > install Magisk*.zip

Go to Settings > go to App Rename app to Godmode to hide it.

Below, switch MagiskHide AND Zygisk ON.

Now go to Magisk Modules tab > install PlayIntegrityFix.

Restart phone.

Connect to your Google account, download from Play Store Netflix and Disney+.

### If you are already connected to Google account.

Clear cache (Settings > Apps > All apps > Google Play Store > Storage > Clear storage) and restart tab.

Relaunch Play Store, Netflix and Disney+ will be available in SD.

You must specify each bank app in the Deny list.

8) TWEAKS

### Fingerprint reader won't work

- If fingerprint gestures are missing, edit build.prop: https://forum.xda-developers.com/t/hiding-the-big-stupid-navbar-android-11.4166377/post-85093513

Add new line: qemu.hw.mainkeys=0

- Physical buttons illuminated too often ?

Go to System > Buttons > Backlight > Illuminate only when pressed

- Calibrate battery: https://www.ifixit.com/Wiki/Battery_Calibration

- Set dark Mode to improve battery by 30%: Settings > Display > Dark theme

- Activate Developer options

Go to Settings > About.

At bottom, tap 7 times on Build number. You activated Developer options.

Go to Settings > System > Advanced > Developer options.

- Change screen definition for low GPU/CPU usage.

Developer options must be activated.

In developer options: Set Windows animation scale, Transition animation scale and Animator duration scale to 0.5x.

Also switch On Terminal.

Now in apps list, open Terminal.

type

su

Grant superuser privileges.

then type

wm density 480

(original is 640),

then

wm size 1080x1920

(original is 1440x2560),

then

stop && start

.

- To tweak overclocking and more, use SmartPack-Kernel Manager

SmartPack-Kernel Manager - Apps on Google Play

The ultimate tool to manage your kernel

play.google.com

Enjoy,

djibe

Thanks: @¶fakemanoan, @Exhigh, Pixel Experience team, JoshuaDoes, ananjaser1211, Lunarixus, ripee, xSil3nt, @BenLue, @enesuzun2002, lukasb06, u99dev, TeamNexus, LOS Team, TWRP Team

---------------------------------------

Force Samsung Galaxy S6 restart

Hold Power + Volume down for 10-20 seconds