[Recovery][Exynos] Official TWRP for Galaxy S7 (herolte)

Search This thread

Mohamedkam000

Senior Member
Hi,

Does new version work w/ encryption, to mount data, for anyone?

Thanks
You can see the new version's changelog, nothing new was stated about decryption, some phones have a modified TWRP that allows decrypting via an inserted password.

There's a command line for decrypting, but it doesn't seem to work, at least not for this device.

There's a reason why dm-verity exist, to prevent automated encryption, cause TWRP cannot mount encrypted partitions.
 

imichalakis

Member
Feb 1, 2021
36
3
I have installed custom rom and I tried magisk and supersu but I can't install them.How to root? Supersu while installing: extracting ramdisk ; aborting failure
 

Newtype14

Member
Feb 24, 2021
9
4
This worked great! Don't neglect to do the dm-verity disabler step or your phone will be stuck at the Samsung boot logo after flashing TWRP!
 
Last edited:

mooms

Senior Member
Nov 21, 2013
581
219
France
Samsung Galaxy S20 FE
You need to flash TWRP with Odin, you need Odin, Samsung USB drivers, and an USB cable.
See FP for detailed instructions.
Be aware that you will need to format data partition, if you don't do it, you will not be able to do a nandroid backup, so right now, your plan will not be possible.

What's the problem with Magisk 22 anyway ? just unhide the manager (if you hide it in the first place) before upgrading and everything will be fine.
 
  • Like
Reactions: kiwigi

mikivid

New member
Mar 22, 2021
2
0
Hello everybody
Since there is lot off old posts and problems for some people
I would like to know how to root my s7 with 8.0 oreo and samsung 9 experience
I just want root access it is G930F phone
And is there a way to keep my data and everything
I would like to know most recent and stable options
Tnx
 

kiwigi

Senior Member
Oct 4, 2012
182
25
LineageOS
Google Pixel 6
You need to flash TWRP with Odin, you need Odin, Samsung USB drivers, and an USB cable.
See FP for detailed instructions.
Be aware that you will need to format data partition, if you don't do it, you will not be able to do a nandroid backup, so right now, your plan will not be possible.

What's the problem with Magisk 22 anyway ? just unhide the manager (if you hide it in the first place) before upgrading and everything will be fine.
Thanks!
I have used TWRP recovery on previous occasions. This time round I just chose Magisk and not thinking further.
Have you updated to V22 as you seem to be very confident that there won't be any hickups?
 

mooms

Senior Member
Nov 21, 2013
581
219
France
Samsung Galaxy S20 FE
Hello everybody
Since there is lot off old posts and problems for some people
I would like to know how to root my s7 with 8.0 oreo and samsung 9 experience
I just want root access it is G930F phone
And is there a way to keep my data and everything
I would like to know most recent and stable options
Tnx
To be able to root, and install TWRP, you need to unlock the bootloader, and this will wipe all data.
To be able to use TWRP, you need to format /data, that will also wipe all the data (obviously).
 

mikivid

New member
Mar 22, 2021
2
0
Ok
What version and metod for root acces is most up to date
And can i make backup with snart switch and then after the root restore it on the phone
 

darkangel32

Senior Member
Mar 26, 2020
75
12
I have a S7 flat exynos, its charging port doesnt work anymore, but the microsd slot seems to function. The phone is on 8.0 stock samsung firmware, latest update to 2020 security patch cant be applied (error, cant be fixed). Now my question is if its possible to unlock its bootloader/root and/or flash a custom rom using the microsd card slot?

Was thinking to use one of these oneclick root apps, and then use an app that supposedly can load recovery, and finally flash using the sd card.
Problem is, i cant seem to find any oneclick apps that can root this phone. Tried kingroot, kingoroot etc etc but none can root the device.
 

Umbert34

New member
May 29, 2021
1
0
HELP! VERIFICATION FAILED! (if this post is wrong here, sry im new)

I´m very new to all this tech stuff, also to this site and am learning while researching aka im a fkn noob ._.

for the first time ever i tried to root a phone (since i deleted personal data and heard it can be saved through recovery programs, if they have root access) my Galaxy S7 SM-930F with (CF-Auto-Root-herolte-heroltexx-smg930f.tar.md5) using odin (and made all the mistakes possible, i guess).
Rebooting my phone i got the "Verification failed. Unable to restart your device. The Integrity Verification failed. Yor need to reset your device to factory settings. This will delete all your data." message and cant access my phone. I have no backup of my personal data and apps (bc im a fkn idiot) and really dont want to lose all of it.
From what i seem to know now the message im getting is a security system to prevent modifications on the phone, so it freezes and forces to factory reset to get rid of potentially harmful software.

At first i tried to flash the stock rom back, downloaded from sammobile (Oreo, i hope it was the system i had before, i dont know sadly). im from germany, so i chose the DBT version (G930FXXU8ETI2_G930FDBT8ETI2_DBT). i used home-csc hoping to keep my personal data.
Odin worked, but i still get the same message forcing me too factory reset. i tried with second oldest version (G930FXXS8ETC6_G930FDBT8ETC1_DBT), also no change.
(in recovery mode at the bottom it says "Successfully verified dmverity hash tree", i think thats good).

i opened the phone, disconnected the battery and rebooted after a few minutes (im desperate here, but apparently for someone else it worked).
i wiped the partition chache in the phones recovery mode. no change

next i flashed twrp (twrp-3.5.2_9-0-herolte.img.tar) through the AP box in odin on the phone (turned of auto reboot). i was able to get to the twrp menu through recovery mode.
then i put the "no-verity-opt-encrypt-6.1.zip" on an sd-card and installied it though the twrp menu (i unchecked the "skip digest check before installing zip", if that helps here). from the jibberish on the screen it seemed to have failed to install (i think).
(One source also mentioned "no-verity-no-encrypt_ashyx.zip". i dont know whats the difference to the above, but i thought id mention it here too.)

After rebooting, same message.
I havent wiped my phone yet. there are 2 options in twrp "advanced wipe" and "format data" (where you need to type yes). i dont know whether advanced wipe does something different, some sources say it only affects the system, not personal data and settings, but i afraid to do it.
also, twrp shows 0mb on my internal storage. but one source says that it cant read it so it only shows as 0mb. i hope thats true and my stuff isnt wiped already.
EDIT: I tried the advanced wipe options on everything except internal storage, it failed.

Many of the tutorials and solutions i found to far seem to conflict or to be outdated. apparently cf autoroot is outdated too, good to know :). Since im a noob, i dont know what to trust here.

I havent tried supersu or migisk before (also dont know what they are, but they got mentioned several times).

At this point i dont really want to root anymore or move on, bc im afraid to completely mess it up. i just want to get access to my data and make a backup before i try rooting again (like someone who seems to know what they´re doing, you know).

Is there any way i can save my data here or maybe even finish the root without losing everything? pls help and thx in adavance!
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 170
    Team Win Recovery Project 3.0.2-4



    This is for the International SM-G930F/FD/X, Korean SM-G930K/L/S, and Canadian SM-G930W8 Exynos models only! Do not flash on S7 edge or Qualcomm models!

    WARNING #1: Flashing a custom recovery to your device will trip the Knox warranty bit on your phone. Check with your mobile provider to see if they will still cover warranty on Knox bit triggered devices. If you understand this risk, continue on.
    You generally don't have to worry, as it's incredibly hard to brick a Samsung device, and physical damage warranties should be exempt from Knox triggering.

    WARNING #2: The Galaxy S7 stock boot image has dm-verity, which prevents you from booting if you swipe to enable system modifications!
    SOLUTION: Follow the full rooting steps below, in order, to allow system modifications without the risk of a boot loop!


    WHAT IS TWRP?

    Oh come on, you know what it is - don't try to fool me!
    In case you're serious, though...

    Team Win Recovery Project is a custom recovery for Android devices.
    It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.

    DOWNLOAD

    You can find the device page here:
    https://twrp.me/samsung/samsunggalaxys7.html

    There is a download link there, as well as instructions on how to flash it.

    I highly recommend using Odin to flash when possible.
    You can find a zip containing Odin as well as Samsung's Mobile drivers here:
    https://build.nethunter.com/samsung-tools/

    FULL STEPS FOR OBTAINING ROOT

    You can follow this video by Max Lee if you'd like: How to Root Galaxy S7 & S7 Edge! [Exynos ONLY]
    Otherwise, follow these instructions:

    1. In your ROM, go to Settings -> About device. Tap 7 times on Build number to enable Developer options.
      Transparent.gif
    2. Now go to Settings -> Developer options. (above About device)
      You need to enable OEM unlock, otherwise you might end up with boot problems or be unable to flash later on.
      Transparent.gif
    3. Extract Odin_3.12.3.zip to your computer.
      Transparent.gif
    4. Install Samsung Mobile Phone Drivers for Odin to find your device.
      Transparent.gif
    5. Download a .tar image of TWRP for herolte.
      Transparent.gif
    6. Reboot your device into Download mode. To do this, select reboot from the power menu and hold the [Volume Down] + [Home] buttons while your device reboots.
      Once you reach the Download mode warning screen, press [Volume Up] to continue.
      Transparent.gif
    7. Open Odin and place that TWRP tar file in the [AP] slot and disable Auto-Reboot, then press [Start].
      Transparent.gif
    8. Hold [Volume Down] + [Home] + [Power] to get out of Download mode and immediately swap [Volume Down] to [Volume Up] (continuing to hold [Home] + [Power]) when the screen blanks.
      If you don't see then TWRP boot splash try again from step 6.
      Transparent.gif
    9. At this point, you will reach the screen asking you if you want to allow system modifications.
      By swiping right, you will trigger dm-verity, and if you don't follow the next step you will be unable to boot!
      If you are going to root your device and follow the rest of these steps, then it is safe to swipe right and enable modifications.
      Transparent.gif
    10. If you want to be rooted with SuperSU:
      Download the latest SuperSU by Chainfire.
      Without exiting TWRP, transfer the SuperSU zip to your device over MTP* and flash it using [Install] in TWRP.
      You will need an external SDcard for this method, if you don't have one you will have to use adb sideload to install SuperSU.

      If you only want a bootable system partition:
      Download the latest dm-verity and force encryption disabler zip.
      Without exiting TWRP, transfer the no-verity-opt-encrypt zip to your device over MTP* and flash it using [Install] in TWRP.
      Note: This does not disable the forced encryption on Bxxx firmware, only Axxx firmware due to a change in vold by Samsung.
      Transparent.gif
    11. Go to [Reboot] -> [System].
      Transparent.gif
    12. Wait 2-5 minutes for your device to finish setting itself up.
    * MTP, known as Media Transfer Protocol, is the same way you transfer files from your PC to your device when booted into system.


    CHANGES
    • v3.0.2-4 - Fix restoring of non-ext4 partitions, update f2fs drivers, update to BPID source & Linux 3.18.43
    • v3.0.2-3 - Fix booting on BPH6/APGH bootloaders, rebase on Note 7 sources, enable NTFS-3G formatting
    • v3.0.2-2 - Fix MTP issue in kernel
    • v3.0.2-1 - Separation of Korean variants, retrieve actual model from bootloader, drop modem from fstab, remove legacy flags, add bootdevice symlink, last_kmsg support
    • v3.0.2-0 - See here for the changes.
    • v3.0.1-0 - Fixed USB OTG storage
    • v3.0.0-0 (twrp.me) - Disabled backup/restore of modem partition (must be signed and flashed in Odin)
    • v3.0.0-0 - Initialize new device tree based on Samsung OSRC G930FXXU1APAW kernel.

    FEATURES
    • MTP support
    • USB Mass Storage support
    • Micro SDcard and USB OTG storage support
    • f2fs file system support (read, write, format, backup & restore)
    • exFAT file system support (read, write, format, backup & restore)
    • NTFS file system support (read, write, format)
    • ADB root
    • Full SELinux support
    • Built in android 6.0 tree

    KNOWN ISSUES

    CONTACT & SUPPORT

    You can find us on IRC at #twrp on chat.freenode.net.
    You can also post in this thread and I will attempt to answer any questions you may have.

    SOURCE CODE

    TWRP: https://github.com/omnirom/android_bootable_recovery (android-6.0)
    Device tree: https://github.com/TeamWin/android_device_samsung_herolte (android-6.0)
    Device tree (Korea): https://github.com/TeamWin/android_device_samsung_heroltekor (android-6.0)
    Kernel: https://github.com/jcadduono/android_kernel_samsung_universal8890 (twrp-6.0)

    CONTRIBUTIONS

    Gerrit for TWRP: http://gerrit.omnirom.org/
    Gerrit for officially supported devices: http://gerrit.twrp.me/

    XDA:DevDB Information
    Team Win Recovery Project - Samsung Galaxy S7, Tool/Utility for the Samsung Galaxy S7

    Contributors
    jcadduono, Team Win & friends
    Source Code: https://github.com/TeamWin/android_device_samsung_herolte


    Version Information
    Status: Stable
    Current Stable Version: 3.0.2-4
    Stable Release Date: 2016-10-15

    Created 2016-03-11
    Last Updated 2019-01-16
    102
    Hey guys :) :highfive:

    Some may know me, some probably not. It's not important who I am BUT I found that our device tree for TWRP builds is damn outdated (based on MM).

    I don't know if you faced this issue already, but some people couldn't mount /data partition in TWRP even though they removed encryption. Why this happens?

    Explanation:
    Samsung added quota support in their oreo update for the /data partition. Means a TWRP update with proper quota support is needed to get this new feature to work. Till now, many developer simply disabled this feature again on their kernels (so they can mount /data without issues on the old TWRP).

    What I did:
    I updated the tree with the latest files, kernels and so on. Including the above mentioned quota support.

    This TWRP version works on stock and supported oreo kernels. Older kernels (which removed quota to fix mounting problems) won't work here. Please advice your kernel developer to update his kernel with the changes :good:

    Download:
    Img file (flash via TWRP)
    tar.md5 file (flash via odin)
    41
    If you have a G930P, G930V, G930R, or G930A (aka the US Snapdragon models) your bootloader is locked. I will not be making TWRP for your device - it simply cannot happen. Sorry.
    Update: G930T users can expect TWRP for their devices as soon as T-Mobile convinces Samsung to unlock the bootloader - I already have a fully complete working build ready.

    You know who you can blame?

    THE DONALD!~~~~~~~~~~~~
    or Obama, I dunno, blaming Obama is getting kind of old guys, sorry.
    22
    3.3.0-1 from ivan's 8.1 sources

    Changelog from 3.3.0-0:
    Remove force quota and fix encryption on aosp

    twrp-3.3.0-1-herolte.img
    twrp-3.3.0-1-herolte.tar

    twrp-3.3.0-1-hero2lte.img
    twrp-3.3.0-1-hero2lte.tar

    The official sources are getting old by now, so ivan rebuilt the herolte and hero2lte device trees.
    14
    I need someone to test 3.0.2-3 for me which should solve the BPH6 and APG8 bootloader issues, and maybe charging while off out of recovery, and possibly a few other bugs.

    Please join #twrp on irc.freenode.net.