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

[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S7 herolte (Exynos SOC) Stock to Android 14 / LineageOS 21

Supported models:

International & Canada:

- SM-G930F

- SM-G930FD

- SM-G930W8

Korea:

- SM-G930S

- SM-G930K

- SM-G930L

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

Make sure your phone is herolte/Exynos before going further: in Android, go to Settings > About phone > Check model number is listed below.

If not, quit this tutorial.

### READ THOSE WARNING COMMENTS

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

CHANGELOG

v10. Android 14, TWRP 3.7.0_9-1, add safetynet pass

v9. Back to TWRP 3.6 until 3.7 is fixed

v8. Android 13, TWRP 3.7

v7. BiTGApps v1, Magisk v25

v6. Switch to MindTheGApps as BiTgapps are dead, TWRP 3.6.2

v5. Add Screen definition override with adb folder + screen sensitivity recalibration, TWRP 3.6.1

v4. Android 12, improve readability, fix ROM download link, TWRP 3.6

v3. Android 11, Magisk 22, fixed the missing OEM unlock description

v2. Moved to LineageOS 17.1 because of low call sound on earpiece with Pixel Experience

v1. Initial release for Android 10 / Pixel Experience

1) DOWNLOAD

- djibe Galaxy S7 herolte pack: https://bit.ly/djibe-galaxys7-pack

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

+ ROM Unofficial LineageOS 21: https://xdaforums.com/t/lineageos-2...e-spoofing-ota-updates-for-s7-exynos.4655853/

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

+ BiTGApps Package ARM64 14 (Mini or other): https://bitgapps.io/

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

// Not 14 - OR MindTheGApps XX ARM64:

+ Charge phone to 100%

+ microSD card

Copy ROM, Gapps and all the files in the /djibe folder (except USB drivers) on the microSD card.

Insert it in phone.

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.

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

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

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 "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.7.0_9-1-herolte.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 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 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, Cache, Baseband and EFS partitions. In case of problem, you will have your phone in its original state.

Set the storage as microSD.

Swipe to Backup and wait during process.

Go to Home screen and continue with next chapter.

Later, don't forget to store the backup in another place than the microSD card.

5) FORMAT PARTITIONS

Go to Wipe > Advanced wipe,

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

6) FLASH ROM, (MAGISK ROOT) AND GAPPS

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 2 minutes.

Configure Android setup as you like.

You can set gesture navigation during the LineageOS tutorial.

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

Connect to Wi-Fi but don't launch Google Play for 10 minutes (it will update in background).

7) ROOT ACCESS (OPTIONAL)

No need for extra work to be root.

Magisk launches with Android.

Superuser permissions can be managed from Magisk Manager app.

Go to Files app > tap on Magisk-v27.0.apk.

In the Files Settings that open > Allow from this source > Install.

Launch Magisk app.

Dialog: Requires Additional Setup > OK. Phone auto-reboots.

Then, allow extra files > Direct install, reboot again.

After reboot, launch Magisk app.

Go to Settings > Hide the Magisk app, give it a name (ex Extra) and switch Zygisk option ON.

Go to Modules Tab > Install from Storage: install MagiskHidePropsConfig and safetynet (located in my archive).

Unlock Developer options: go to Settings > About.

At the bottom, tap 7 times on Build number.

Go to Settings > System > Advanced > Developer options > Disable Android debugging (ADB).

Reboot.

8) TWEAKS

- Improve responsiveness

Go to Developer options, set Windows, Transition and animation to scale 0.5x

- 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 > Screen saver > Desactivated

- Activate Developer options

Go to Settings > About.

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

Go to Settings > System > Avdanced > 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 480

// Defaults 1440x2560 and 640

- 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

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

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