FORUMS
Remove All Ads from XDA

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

1,462 posts
Thanks Meter: 5,832
 
Post Reply Email Thread
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:
http://teamw.in/devices/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.
  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.
  3. Extract Odin_3.12.3.zip to your computer.
  4. Install Samsung Mobile Phone Drivers for Odin to find your device.
  5. Download a .tar image of TWRP for herolte.
  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.
  7. Open Odin and place that TWRP tar file in the [AP] slot and disable Auto-Reboot, then press [Start].
  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.
  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.
  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.
  11. Go to [Reboot] -> [System].
  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_d...amsung_herolte (android-6.0)
Device tree (Korea): https://github.com/TeamWin/android_d...ung_heroltekor (android-6.0)
Kernel: https://github.com/jcadduono/android..._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_d...amsung_herolte


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

Created 2016-03-11
Last Updated 2017-10-05
The Following 120 Users Say Thank You to jcadduono For This Useful Post: [ View ]
 
 
11th March 2016, 07:37 AM |#2  
jcadduono's Avatar
OP Recognized Developer
Flag Thunder Bay
Thanks Meter: 5,832
 
Donate to Me
More
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.
The Following 38 Users Say Thank You to jcadduono For This Useful Post: [ View ]
11th March 2016, 08:43 AM |#3  
annson08's Avatar
Senior Member
Flag Bulacan
Thanks Meter: 855
 
Donate to Me
More
Quote:
Originally Posted by jcadduono

For those of you with G930FD, G930T, G930W8, G930P....be patient, I'm waiting for Samsung to release the kernel sources. The trees are already ready, just waiting on kernels...

Great Work Mate! I just ordered my s7 today but the G930FD is the only one available here in the Philippines. Good thing you're working on multi variants. Thanks.
The Following User Says Thank You to annson08 For This Useful Post: [ View ] Gift annson08 Ad-Free
11th March 2016, 08:51 AM |#4  
Leeum's Avatar
Senior Member
Flag Gold Coast
Thanks Meter: 47
 
Donate to Me
More
And root?
11th March 2016, 09:15 AM |#5  
jcadduono's Avatar
OP Recognized Developer
Flag Thunder Bay
Thanks Meter: 5,832
 
Donate to Me
More
Quote:
Originally Posted by Leeum

And root?

Flash SuperSU 2.68 zip. I have not tried, but I'd imagine it might work. I have a kernel (actually, much more than that) coming up very soon as well.
The Following 7 Users Say Thank You to jcadduono For This Useful Post: [ View ]
11th March 2016, 09:19 AM |#6  
Senior Member
Thanks Meter: 284
 
More
Quote:
Originally Posted by jcadduono

Flash SuperSU 2.68 zip. I have not tried, but I'd imagine it might work. I have a kernel (actually, much more than that) coming up very soon as well.

Nice work!
Will your kernel allow system modifications?
The Following User Says Thank You to NisseGurra For This Useful Post: [ View ] Gift NisseGurra Ad-Free
11th March 2016, 09:26 AM |#7  
jcadduono's Avatar
OP Recognized Developer
Flag Thunder Bay
Thanks Meter: 5,832
 
Donate to Me
More
Quote:
Originally Posted by NisseGurra

Nice work!
Will your kernel allow system modifications?

Oh, you don't have the faintest idea...

Let's just leave this image here for clues!

The Following 5 Users Say Thank You to jcadduono For This Useful Post: [ View ]
11th March 2016, 09:42 AM |#8  
Senior Member
Thanks Meter: 284
 
More
Recovery installed nicely. As 1st post stated, any modifications to system (even mount as RW) gives boot loop.
11th March 2016, 09:43 AM |#9  
Member
Thanks Meter: 21
 
More
Is it possible to build the recovery for g935f?

Gesendet von meinem SM-G935F mit Tapatalk
The Following User Says Thank You to 118 For This Useful Post: [ View ] Gift 118 Ad-Free
11th March 2016, 09:57 AM |#10  
Senior Member
Thanks Meter: 284
 
More
Root confirmed, flash BETA-SuperSU-v2.68-20160228150503 from recovery and it boots up nicely.
The Following 7 Users Say Thank You to NisseGurra For This Useful Post: [ View ] Gift NisseGurra Ad-Free
11th March 2016, 10:02 AM |#11  
innit's Avatar
Senior Member
Düsseldorf
Thanks Meter: 133
 
More
hi, sorry for asking but flashing this recovery and then debloater (for example) will cause a bootloop right? because system will get modified. same goes for supersu?

Sent from my SM-G930F using Tapatalk
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread