[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S7 herolte Stock to Android 13

Search This thread

djibe89

Senior Member
May 24, 2014
1,222
637
Samsung Galaxy Tab S2
Google Pixel 4a
[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S7 herolte Stock to Android 13
[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S7 herolte (Exynos SOC) Stock to Android 13 / LineageOS 20

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 13.
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


CHANGELOG

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.6.2_9-0 official recovery + Magisk Root + adb.exe). Unzip files.

+ ROM Unofficial LineageOS 20: https://xdaforums.com/t/lineageos-2...e-spoofing-ota-updates-for-s7-exynos.4484505/
Download latest build: https://ivanmeler.github.io/devices/herolte.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.
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 "Download mode, 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-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 immediatly 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.
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 from 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 + GApps + 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 (OPTIONAL)

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 > 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:
Code:
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
 
Last edited:

ytccts

Member
Dec 28, 2014
19
2
Thank you for this guide.

Used with 18.1 + NikGapps core 65 + Magisk and work absolutely fine.
 

abhi_qwerty

Senior Member
Apr 13, 2013
185
72
Bhopal
Hey, thanks for the detailed explanation. Will root and install Lineage in upcoming weekend. Before proceeding with tripping knox, will I be able to use Google Pay and banking apps after installing Lineage ROM? Will wireless charging work? And if I do not want to take backup, will I be able to flash stock firmware in future to revert back to original? There was a time when I was into this stuff rooting and custom ROMS, but now I am too old for it and just being cautious. Thanks again dear.
 

djibe89

Senior Member
May 24, 2014
1,222
637
Samsung Galaxy Tab S2
Google Pixel 4a
Hey, thanks for the detailed explanation. Will root and install Lineage in upcoming weekend. Before proceeding with tripping knox, will I be able to use Google Pay and banking apps after installing Lineage ROM? Will wireless charging work? And if I do not want to take backup, will I be able to flash stock firmware in future to revert back to original? There was a time when I was into this stuff rooting and custom ROMS, but now I am too old for it and just being cautious. Thanks again dear.

Hi,
  • Thanks for your message.

  • PLEASE make a TWRP backup before flashing, it just takes 2 minutes.
  • No idea for wireless charging. You may ask in ROM's thread
  • Normaly banking apps work with Magisk + MagiskHide module
 
  • Like
Reactions: abhi_qwerty

seba3651

Member
Apr 29, 2015
46
24
Hamburg
thanks a lot for this guide!

I successfully used it on my SM-G930F with following files:
- twrp-3.5.2_9-0-herolte.img.tar
- lineage-18.1-20210505-UNOFFICIAL-herolte.zip
- MinMicroG-NoGoolag-2.10-20210428084817-signed.zip

(y)
 
  • Like
Reactions: djibe89

bgsdeluxe

Senior Member
Feb 23, 2013
137
44
Thanks for this excellent instruction.
Maybe you'd like to consider one small change in part 6 - Flash ROM, Gapps, Magisk.
According to the devs of BitGapps they suggest to do a reboot to recovery after flashing of ROM:
 
  • Like
Reactions: djibe89

djibe89

Senior Member
May 24, 2014
1,222
637
Samsung Galaxy Tab S2
Google Pixel 4a

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    [GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S7 herolte Stock to Android 13
    [GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S7 herolte (Exynos SOC) Stock to Android 13 / LineageOS 20

    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 13.
    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


    CHANGELOG

    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.6.2_9-0 official recovery + Magisk Root + adb.exe). Unzip files.

    + ROM Unofficial LineageOS 20: https://xdaforums.com/t/lineageos-2...e-spoofing-ota-updates-for-s7-exynos.4484505/
    Download latest build: https://ivanmeler.github.io/devices/herolte.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.
    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 "Download mode, 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-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 immediatly 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.
    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 from 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 + GApps + 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 (OPTIONAL)

    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 > 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:
    Code:
    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
    2
    Hi, I updated tutorial for Android 12
    2
    Thank you kindly this is exactly what I have been looking for. God bless you and Merry Christmas
    Glad you liked it ! Merry Christmas
    2
    Tutorial updated for Android 13 and TWRP 3.7
    1
    Hey, thanks for the detailed explanation. Will root and install Lineage in upcoming weekend. Before proceeding with tripping knox, will I be able to use Google Pay and banking apps after installing Lineage ROM? Will wireless charging work? And if I do not want to take backup, will I be able to flash stock firmware in future to revert back to original? There was a time when I was into this stuff rooting and custom ROMS, but now I am too old for it and just being cautious. Thanks again dear.

    Hi,
    • Thanks for your message.

    • PLEASE make a TWRP backup before flashing, it just takes 2 minutes.
    • No idea for wireless charging. You may ask in ROM's thread
    • Normaly banking apps work with Magisk + MagiskHide module