• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

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

Search This thread

jcadduono

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



This is for the Chinese SM-G9350 Qualcomm model only! Do not flash on Exynos models!
If you have a SM-G9300 or SM-G9308, 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 edge 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/samsunggalaxys7edgechina.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 hero2qltechn.
    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_hero2qlte (android-6.0)
Device tree (China): https://github.com/TeamWin/android_device_samsung_hero2qltechn (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 edge China, Tool/Utility for the Samsung Galaxy S7 Edge

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


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
 

ryan49er

Senior Member
Mar 8, 2010
132
7
I flashed this twrp but recovery won't boot. Get blue screen with red writing up top that says custom binary blocked by secure boot (recovery.img). I have gs7 edge AT&T version. Now what?
 
  • Like
Reactions: southern-dust

china2017

New member
Jan 23, 2017
2
0
Report...

Team Win Recovery Project 3.0.2-0



This is for the Chinese SM-G9350 Qualcomm model only! Do not flash on Exynos models!
If you have a SM-G9300 or SM-G9308, 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 edge 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/samsunggalaxys7edgechina.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 hero2qltechn.
    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_hero2qlte (android-6.0)
Device tree (China): https://github.com/TeamWin/android_device_samsung_hero2qltechn (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 edge China, Tool/Utility for the Samsung Galaxy S7 Edge

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


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

I had G9350ZCU2APK2 ROM (China), so I installed the Hong Kong ROM G9350ZHU2APK2 (I needed the google services) and the phone work great except the part of receiving or sending SMS's, I have two sim cards cards (China Telecom and China Mobile), if I sent a message from the CT the message was sent also from CM, if I send from CM is not working, when I receive messages I received on both sim cards... :), big problem for me, so, I installed the last G9350ZCU2APL3 ROM (China) and is working ok but no google services...

I've tried your method and is working... :) (kind of) once I installed the TWRP and the last SuperSU the phone had no Wifi and no network signal, so I put back the original firmware...

All I need are the google services because Signal is not working without, the email client is not receiving the email (automatically) without and so on... I've tried all the "possible" ways, no luck...google installer v2 and so on...

Any ideas on how to put the google services?

----- Edit - 28 January 2017 ----

I reinstalled the TWRP provided in the first post and the phone is working, has signal (China Telecom and China Mobile) and also the WIFI is working, I didn't install the SuperSU, kind of weird, with SuperSu installed the phone has no WIFI and no signal...

I've tried to install the gapps pico and the TWRP is saying that "could not mount/data and unable to find crypto folder", "Failed to mount '/data' (invalid argument)", "Unable to recreate /data/media folder", "failed to mount '/data' (Invalid argument)", "Unable to mount storage" , "Unable to mount / data/media/TWRP/. twrps.
The last error is: "Failed to mount'/data' (invalid argument)

After reading more posts on the forum I found the following:

"You CANNOT mount an encrypted partition in TWRP.
You do NOT wipe the partition.
Use the FORMAT DATA button. It's right there under the WIPE options next to the ADVANCED WIPE button."

Probably I will try this method when I am in the mood...
 
Last edited:

china2017

New member
Jan 23, 2017
2
0
This works for SM-G935P? It says manufactured in china on the back.

The post is for the Qualcomm, Galaxy S7 Edge SM-9350, China Open and Hong Kong, same hardware, different software (the Chinese one has no google services).

For your phone SM-G935P, search on google and you will find more instructions, I don't know if I am allowed to post here links from other websites.
 

Root-Maniac

Senior Member
Jan 10, 2012
1,919
836
SO. Cali.

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    As a joke, here you go USA!

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

    It works for all USA variants of the S7 edge, but you can't flash it! Muahahahaha!
    2
    Team Win Recovery Project 3.0.2-0



    This is for the Chinese SM-G9350 Qualcomm model only! Do not flash on Exynos models!
    If you have a SM-G9300 or SM-G9308, 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 edge 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/samsunggalaxys7edgechina.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 hero2qltechn.
      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_hero2qlte (android-6.0)
    Device tree (China): https://github.com/TeamWin/android_device_samsung_hero2qltechn (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 edge China, Tool/Utility for the Samsung Galaxy S7 Edge

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


    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
    I flashed this twrp but recovery won't boot. Get blue screen with red writing up top that says custom binary blocked by secure boot (recovery.img). I have gs7 edge AT&T version. Now what?

    this recovery is for unlocked bootloaders only. IE chinese and hong kong models only.
    2
    I have the SM-G935U (Unlocked US Model). Could I flash the Chinese firmware via Odin and still use this method of rooting and flashing TWRP? They both have the same chip. Snapdragon 820 Chip. Will I run into bootloop sore any problems with my mobile data LTE? Urgent, thanks. If so which firmware should I flash Hong Kong or China (Open China) from SamMobile.
    Can't happen. Odin won't flash it and if you use FlashFire it will brick (hard brick, not fixable via Odin)

    The reason being that the partitions are different between ours and theirs.
    1
    Mine shows up in stock recovery as g935PVPS5BQK1 . If I'm in right area then that's fine for me I'll continue as is but just wanted to make absolutely sure before I carry on.

    Sent from my Alcatel A502DL using XDA Labs