[Samsung Galaxy S7 Edge Guides, News, & Discussion] djibe89:
[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S7 Edge Stock to Android 13

[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S7 Edge (hero2lte Exynos SOC) Stock to Android 13 / LineageOS 20

Supported models

International & Canada:

- SM-G935F

- SM-G935FD

- SM-G935X

- SM-G935W8

Korea:

- SM-G935S

- SM-G935K

- SM-G935L

This detailed step-by-step guide helps you transform your Samsung Galaxy S7 Edge hero2lte to a powerful one with Android 13.

Make sure your phone is hero2lte/Exynos SOC before going further: in Android, go to Settings > About phone > Check Model number is listed above.

If not, quit this tutorial.

### READ THOSE WARNING COMMENTS

CHANGELOG

v5. Back to TWRP 3.6 (3.7 oversize)

v4. Android 13, TWRP 3.7

v3. BitGApps v1, Magisk 25.2

v2. Update TWRP, add adb to change screen definition, update download link

v1. Initial release for Android 12

1) DOWNLOAD

- djibe Galaxy S7 hero2lte pack: https://bit.ly/djibe-galaxys7edge-pack

(contains Samsung tweaked Odin 3.13.1 + Samsung USB drivers + TWRP 3.6.2_9-0 official recovery + Magisk Root + adb.exe). Unzip files.

+ ROM Unofficial LineageOS 20: https://xdaforums.com/t/lineageos-2...ofing-ota-updates-for-s7-edge-exynos.4484511/

Download latest build: https://ivanmeler.github.io/devices/hero2lte.html

+ BiTGApps Package ARM64 13: https://github.com/BiTGApps/BiTGApps-Release/releases

OR NikGApps T Basic: https://sourceforge.net/projects/nikgapps/files/Canary-Releases/NikGapps-T/

OR MindTheGApps 13 ARM64: http://downloads.codefi.re/jdcteam/javelinanddart/gapps

+ Charge phone to 100%

2) BACKUP DATA

Install Samsung USB drivers (you unzipped earlier).

Then plug phone to PC in File transfer mode.

Collect all .jpg or .mp4

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

Backup your WhatsApp messages in Google Drive.

Everything else: podcasts, Authenticators, TODOs etc...

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

### BACKUP NOW, you will lose everything.

3) FLASH TWRP 3.7 RECOVERY

Go to Settings > About phone> Software information.

Tap 7 times on Build number item to unlock Developer options.

Go to Settings > Developer options, switch OEM unlock ON and Confirm.

Shutdown phone.

Boot in Download Mode: hold Home + Power + Volume- until you see blue-green Warning screen and release buttons.

Confirm access to Download mode by pressing Volume+.

Phone now displays "Downloading..., Do not turn off target".

Connect phone in USB, wait for 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.6.2_9-0-hero2lte.img.tar

### Same recovery for Korean models (G930S/K/L variants)

### 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 immediatly switch from Volume- to Volume+ (still holding Power + Home) and hold until Samsung's logo is displayed 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 Wipe > Format Data.

Type: yes and confirm with bottom right check icon.

Encryption is removed. You can now access partitions.

### If you miss this step you won't have access to any partition.

Back to home menu > Backup.

You can now 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 Boot, System, Baseband and EFS 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 > Advanced wipe,

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

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 ROM, (MAGISK ROOT) AND GAPPS

Back to TWRP main menu, go to Mount menu again to connect phone to PC again.

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

Copy TWRP folder from your phone to somewhere safe on PC.

This backup can restore your phone to its original Samsung state.

Copy files of ROM + BitGApps + Magisk on phone.

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

Optional for root: Add More zips > Magisk*.zip

then Swipe to confirm Flash.

Wait for operation to end.

Go to Reboot > Recovery and swipe to reboot.

After restart, go to Install, select bitgapps*.zip and swipe to flash.

Then tap Wipe cache/dalvik, swipe to confirm,

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

Wait for the phone to boot during 5 minutes.

7) ROOT ACCESS

Configure Android as you like.

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

No need for extra work to be root.

Magisk launches with Android.

Superuser permissions can be managed from Magisk Manager app.

8) TWEAKS

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

- Set dark Mode to improve battery by 30%

Settings > Display > Dark theme.

- For better battery, remove Always on display

Settings > Display > Lock screen > Ambient display

- 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: from 1440x2560 to 1080x1920

You need developer options to enable USB debugging.

Open a terminal where adb.exe from my pack is located.

Plug phone and Authorize USB debugging.

Then type:

adb shell wm size 1080x1920 && adb shell wm density 400

// Defaults 1440x2560 and 504

- Screen sensitivity is too low ?

Try to recalibrate screen sensitivity with https://play.google.com/store/apps/details?id=touchcalibration.favoritappindia&hl=en&gl=US

Enjoy,

djibe

Thanks: @Ivan_Meler, LineageOS team, TWRP team, TopJohnWu

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

Coming from another ROM

- Backup

- Recovery: Wipe Cache, Dalvik cache, System and Format Data > yes

- Reboot recovery

- Flash rom

- Reboot recovery

- Flash BitGApps

Enjoy

Force Samsung Galaxy S7 restart

Hold Power + Volume down for 10-20 seconds