• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Recovery][Qualcomm] Official TWRP for the Galaxy S7 (heroqltechn)

Search This thread

jcadduono

Recognized Developer
Jan 17, 2014
1,492
6,213
29
Thunder Bay
adduono.com
Team Win Recovery Project 3.0.2-0



This is for the Chinese SM-G9300 and SM-G9308 Qualcomm models only! Do not flash on Exynos models!
If you have a SM-G9350 look here instead!


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:
http://teamw.in/devices/samsunggalaxys7china.html
There is a download link there, as well as instructions on how to flash it.

I highly recommend using Odin 3.12.3+ 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

Follow these instructions until someone nice comes along and makes a video from them (without ads):

  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. You will need to unlock your bootloader now. To do this, download the app "CROM Service By Samsung Electronics Co., Ltd." from the Galaxy Apps store and run it.
    Follow the instructions in the CROM Service app to allow your device to accept custom images in download mode.
    Transparent.gif
  4. Extract Odin_3.12.3.zip to your computer.
    Transparent.gif
  5. Install Samsung Mobile Phone Drivers for Odin to find your device.
    Transparent.gif
  6. Download a .tar image of TWRP for heroqltechn.
    Transparent.gif
  7. 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
  8. Open Odin and place that TWRP tar file in the [AP] slot and disable Auto-Reboot, then press [Start].
    Transparent.gif
  9. Hold [Volume Down] + [Home] + [Power] to get out of Download mode and immediately swap to [Volume Up] when the screen blanks.
    If you don't see then TWRP boot splash try again from step 7.
    Transparent.gif
  10. 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 step 10 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
  11. 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.

    If you want to be rooted with something else or just want a bootable system:
    Download the latest no-verity-opt-encrypt zip.
    Without exiting TWRP, transfer the no-verity-opt-encrypt zip to your device over MTP* and flash it using [Install] in TWRP.
    It will allow your system to boot after swiping to enable modifications or using backup/restore in TWRP.
    It should also allow you to use [Format Data] and prevent encryption, allowing you to use your data partition and internal storage inside TWRP.
    Transparent.gif
  12. Go to [Reboot] -> [System].
    Transparent.gif
  13. 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.0 - Official release on twrp.me

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 (USA): https://github.com/jcadduono/android_device_samsung_heroqlte (android-6.0)
Device tree (China): https://github.com/TeamWin/android_device_samsung_heroqltechn (android-6.0)
Kernel: https://github.com/jcadduono/android_kernel_samsung_msm8996 (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 China, Tool/Utility for the Samsung Galaxy S7

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


Version Information
Status: Stable
Current Stable Version: 3.0.2-0
Stable Release Date: 2016-09-09

Created 2016-09-10
Last Updated 2016-11-22
 

obone410

Member
May 26, 2013
16
3
I have a Samsung Galaxy S7 SM-G930U (unlocked version) ........I currently am using this device in nigeria and i want to unlock bootloader/root/ install TWRP but it doesnt allow the TWRP install on ODIN.... MY device is using the Qualcomm/ not the EXYNOSS
phone model: SM-G930U
device type: heroqlteue
product name: heroqlteue
product code: SM-G930UZKAXAA
CSC: XAA USA/US
BOOTLOADER: G930UUEU2APG9
Hardware: qcom/msm8996
please help.
 

jcadduono

Recognized Developer
Jan 17, 2014
1,492
6,213
29
Thunder Bay
adduono.com
I have a Samsung Galaxy S7 SM-G930U (unlocked version) ........I currently am using this device in nigeria and i want to unlock bootloader/root/ install TWRP but it doesnt allow the TWRP install on ODIN.... MY device is using the Qualcomm/ not the EXYNOSS
phone model: SM-G930U
device type: heroqlteue
product name: heroqlteue
product code: SM-G930UZKAXAA
CSC: XAA USA/US
BOOTLOADER: G930UUEU2APG9
Hardware: qcom/msm8996
please help.

U = USA (only SIM unlocked, still bootloader locked, it's the same as all the other USA variants)

it will never be able to use TWRP.
 

nickitp

Member
Jun 8, 2010
33
1
U = USA (only SIM unlocked, still bootloader locked, it's the same as all the other USA variants)

it will never be able to use TWRP.

WHY HAST THOU FORSAKEN ME!!!!

But really tho when you say never... Will I never be able to use GOV Tuner?


Also for anyone stuck in a loop after trying to flash TWRP (don't ask how I know this!) if you restart into download mode and press up you can get it to restart normally from there. FYI.
 
Last edited:
  • Like
Reactions: bcrichster

d33dvb

Senior Member
Sep 30, 2007
713
165
Any luck with the v variants? G935v / G930v? Could we boot a recovery and not flash it like the guys in the amazon fire forum?
 

jcadduono

Recognized Developer
Jan 17, 2014
1,492
6,213
29
Thunder Bay
adduono.com
i have a s7 g9308 from china mobile, pls confirm if this will gonna work and can i install gapps aftet thid method works?

no idea, you should let me know. back up system in twrp and then flash your gapps package, probably "ARM64 -> 6.0 -> Nano" (it is minimal but has everything that can't be installed from play store) from opengapps.org to be safest. Any other google app can be installed from play store if that succeeds.
If it fails to work, simply restore the system backup you made and you're back to how you were!
 
Last edited:

knoxgin

Member
Mar 20, 2012
32
2
Batangas
no idea, you should let me know. back up system in twrp and then flash your gapps package, probably "ARM64 -> 6.0 -> Nano" (it is minimal but has everything that can't be installed from play store) from opengapps.org to be safest. Any other google app can be installed from play store if that succeeds.
If it fails to work, simply restore the system backup you made and you're back to how you were!



ok tnx sir. but this method really work? if i follow the steps? coz if i brick it , i dnt know How to flash it back to stock tru odin.
 

knoxgin

Member
Mar 20, 2012
32
2
Batangas
installing twrp works, but if i flash supersu only, then reboot, root works but lost my signal and if i flash no-verity-opt-encrypt zip. only then reboot, it works and has signal, and if i flash both, rooted but no signal, pls help.. also, gapps x64 6.0 nano get errors in google play services, cant download or update apps, i think the problem sir is in supersu, coz everytime i flash it i lost my signal, im glad i have my backup in twrp , pls help fix this bug, i want a rooted and working gapps, coz china mobile dnt have gapps pre installed
 
  • Like
Reactions: Samir96

Trannam2410

New member
Feb 19, 2015
4
0
Help me

i tried to flash your recovery and stock rom after that. So my mobile is starting bootloop. Can you help me to solve this problem. I think a stock recovery is a solution to solve that
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Team Win Recovery Project 3.0.2-0



    This is for the Chinese SM-G9300 and SM-G9308 Qualcomm models only! Do not flash on Exynos models!
    If you have a SM-G9350 look here instead!


    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:
    http://teamw.in/devices/samsunggalaxys7china.html
    There is a download link there, as well as instructions on how to flash it.

    I highly recommend using Odin 3.12.3+ 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

    Follow these instructions until someone nice comes along and makes a video from them (without ads):

    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. You will need to unlock your bootloader now. To do this, download the app "CROM Service By Samsung Electronics Co., Ltd." from the Galaxy Apps store and run it.
      Follow the instructions in the CROM Service app to allow your device to accept custom images in download mode.
      Transparent.gif
    4. Extract Odin_3.12.3.zip to your computer.
      Transparent.gif
    5. Install Samsung Mobile Phone Drivers for Odin to find your device.
      Transparent.gif
    6. Download a .tar image of TWRP for heroqltechn.
      Transparent.gif
    7. 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
    8. Open Odin and place that TWRP tar file in the [AP] slot and disable Auto-Reboot, then press [Start].
      Transparent.gif
    9. Hold [Volume Down] + [Home] + [Power] to get out of Download mode and immediately swap to [Volume Up] when the screen blanks.
      If you don't see then TWRP boot splash try again from step 7.
      Transparent.gif
    10. 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 step 10 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
    11. 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.

      If you want to be rooted with something else or just want a bootable system:
      Download the latest no-verity-opt-encrypt zip.
      Without exiting TWRP, transfer the no-verity-opt-encrypt zip to your device over MTP* and flash it using [Install] in TWRP.
      It will allow your system to boot after swiping to enable modifications or using backup/restore in TWRP.
      It should also allow you to use [Format Data] and prevent encryption, allowing you to use your data partition and internal storage inside TWRP.
      Transparent.gif
    12. Go to [Reboot] -> [System].
      Transparent.gif
    13. 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.0 - Official release on twrp.me

    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 (USA): https://github.com/jcadduono/android_device_samsung_heroqlte (android-6.0)
    Device tree (China): https://github.com/TeamWin/android_device_samsung_heroqltechn (android-6.0)
    Kernel: https://github.com/jcadduono/android_kernel_samsung_msm8996 (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 China, Tool/Utility for the Samsung Galaxy S7

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


    Version Information
    Status: Stable
    Current Stable Version: 3.0.2-0
    Stable Release Date: 2016-09-09

    Created 2016-09-10
    Last Updated 2016-11-22
    2
    As a joke, here you go USA!

    https://idlekernel.com/twrp/heroqlte/twrp-3.0.2-0-heroqlte.tar.md5

    It works for all USA variants of the S7, but you can't boot it because of your signature enforcement (locked bootloader)! Muahahahaha!
    2
    Can't read!

    ---------- Post added at 06:20 PM ---------- Previous post was at 06:18 PM ----------

    xD I'm waiting for the damn bootloader's to be unlocked!
    There is always hope (Looks at Note 4)
    1
    U = USA (only SIM unlocked, still bootloader locked, it's the same as all the other USA variants)

    it will never be able to use TWRP.

    WHY HAST THOU FORSAKEN ME!!!!

    But really tho when you say never... Will I never be able to use GOV Tuner?


    Also for anyone stuck in a loop after trying to flash TWRP (don't ask how I know this!) if you restart into download mode and press up you can get it to restart normally from there. FYI.
    1
    installing twrp works, but if i flash supersu only, then reboot, root works but lost my signal and if i flash no-verity-opt-encrypt zip. only then reboot, it works and has signal, and if i flash both, rooted but no signal, pls help.. also, gapps x64 6.0 nano get errors in google play services, cant download or update apps, i think the problem sir is in supersu, coz everytime i flash it i lost my signal, im glad i have my backup in twrp , pls help fix this bug, i want a rooted and working gapps, coz china mobile dnt have gapps pre installed