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

[Recovery][Exynos] Official TWRP for the Galaxy Note 7 (gracelte)

Search This thread

jcadduono

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



This is for the International SM-N930F/X, Duos SM-N930FD, and Korean SM-N930K/L/S Exynos models only! Do not flash on Snapdragon 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 Note 7 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!

WARNING #3: When using custom kernels on the Note 7, never turn off developer options or OEM unlock. If you do, you will lose all your data and have to flash a full stock firmware restore to use your device again!


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/samsunggalaxynote7exynos.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.
    Do not ever turn off Developer Options or OEM unlock. Doing so will cause your device to refuse to boot and require a full factory restore.
    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 gracelte.
    Transparent.gif
  6. Reboot your device into Download mode. To do this, select reboot from the power menu and hold the [Volume Down] + [Home] + [Power] 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 to [Volume Up] 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.

    If you want to be rooted with something else or just want a bootable system:
    Download the latest Samsung Anti-Root Protection Removal zip.
    Without exiting TWRP, transfer the samsung-antiroot-removal zip to your device over MTP* and flash it using [Install] in TWRP.
    This zip will allow you to flash SuperSU versions earlier than 2.77 and use other rooting methods.
    It uses a hex pattern (by Chainfire) replacement method in the kernel that simply disables the anti-rooting protection.
    It will also disable the status bar notification about unauthorized changes.
    It includes the functions of the no-verity-opt-encrypt zip.
    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-1 - Fix restoring of non-ext4 partitions, update f2fs drivers, update to BPID source & Linux 3.18.43, add 60% battery charging limiter
  • v3.0.2-0 - Official release on twrp.me
  • v3.0.2-0-b3 - Fix colors and use NTFS-3G
  • v3.0.2-0-b2 - Initialize new device tree based on Samsung OSRC N930FXXU1APGK kernel source.

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 (International): https://github.com/TeamWin/android_device_samsung_gracelte (android-6.0)
Device tree (Korea): https://github.com/TeamWin/android_device_samsung_graceltekor (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 Note 7, Tool/Utility for the Samsung Galaxy Note 7

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


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

Created 2016-08-23
Last Updated 2016-11-08
 

bigbiff

Senior Recognized Developer
Jun 8, 2010
6,875
7,082
Team Win Recovery Project 3.0.2-0-b2



This is for the International SM-N930F/X, Duos SM-N930FD, and Korean SM-N930K/L/S Exynos models only! Do not flash on Snapdragon models!

snip

For the current note 7 series, @jcadduono will be the primary maintainer. I will subscribe to this thread however, I will be getting the n930fd. Good job @jcadduono!
 
Last edited:

dr.ketan

Recognized Developer / Recognized Contributor
I am away from PC but will try later tonight or tomorrow. Meanwhile any N930F users face any issue or got bootloop after testing here is stock recovery and kernel based on N930FXXU1BPH6 to fix bootloop

http://d-h.st/cHao

Flash it with Odin for AP tab
I have faced this y'day while modifying CF auto root and experienced that it may fail initially to flash soon after Odin log showing Initializing - Fail
Repeated attempt should work.
 
  • Like
Reactions: TEKHD and MSH2000FF

lehongwang

Senior Member
Aug 29, 2006
281
70
Nice to see you here, Im using your rom on my note 4, s6, next is note 7, but my note 7 is 930FD, 2sim, so I have to wait more...

I am away from PC but will try later tonight or tomorrow. Meanwhile any N930F users face any issue or got bootloop after testing here is stock recovery and kernel based on N930FXXU1BPH6 to fix bootloop

http://d-h.st/cHao

Flash it with Odin for AP tab
I have faced this y'day while modifying CF auto root and experienced that it may fail initially to flash soon after Odin log showing Initializing - Fail
Repeated attempt should work.
 

jcadduono

Recognized Developer
Jan 17, 2014
1,492
6,212
29
Thunder Bay
adduono.com
Nice to see you here, Im using your rom on my note 4, s6, next is note 7, but my note 7 is 930FD, 2sim, so I have to wait more...

Yeah Samsung has so far only released APGK and not FD's BPH6. I don't know if the S7 bootloader changed that happened in BPH6 on G930 also applies to N930FD though, so this might work for N930FD just the same as N930F.
 
  • Like
Reactions: ALLDAT

imatts

Senior Member
Oct 17, 2012
406
91
Whats the status on Canada/US models?
I have an N930W8, waiting patiently for root ^.^

Also, I remember having pretty bad wakelock / deep sleep problems with the Note 5 root, has that issue been figured out for Note devices? I remember having to use a modified SU and Dr.Ketans deep sleep fix in order to have my Note 5 sleep properly. Just wondering if this is still a thing or not ^.^
 

jcadduono

Recognized Developer
Jan 17, 2014
1,492
6,212
29
Thunder Bay
adduono.com

Awesome! If you have the time, join #twrp on irc.freenode.net and upload recovery.log for us from the build. We need to make sure everything is detected and pointed to the right locations, as well as features working.

Here's a checklist if you want to go through it for us as well:
Code:
Blocking checks
[ ] - Correct screen/recovery size
[ ] - Working touchscreen
[ ] - Backup to internal/microSD
[ ] - Restore from internal/microSD
[ ] - Reboot to system
[ ] - ADB & ADB shell
[ ] - Flash zips in Install page
[ ] - Flash boot.img/recovery.img using Flash Image in Install page

Medium checks
[ ] - Flash zip with ADB sideload
[ ] - UI colors (red/blue inversions)
[ ] - Screen goes off (and back on :))
[ ] - EXT4 support (wipe/format/restore to)
[ ] - F2FS support (wipe/format/restore to)
[ ] - exFAT support (wipe/format)
[ ] - NTFS support (wipe/format)
[ ] - System, Data, Internal Storage, microSD card, and Modem/Firmware/EFS (if applicable) partitions listed in mount/backup choices
[ ] - Decrypt encrypted /data
[ ] - Correct date
[ ] - MTP read/write
[ ] - USB Mass Storage read/write
[ ] - Set brightness level

Minor checks
[ ] - Reboot to bootloader
[ ] - Reboot to recovery
[ ] - Power Off
[ ] - Battery level
[ ] - Temperature
[ ] - Encrypted backups
[ ] - Vibration
[ ] - Screenshot
[ ] - Resize data partition

Use pass or fail in each box.

Data encryption/decryption will most certainly not work. :p


Whats the status on Canada/US models?
I have an N930W8, waiting patiently for root ^.^

Also, I remember having pretty bad wakelock / deep sleep problems with the Note 5 root, has that issue been figured out for Note devices? I remember having to use a modified SU and Dr.Ketans deep sleep fix in order to have my Note 5 sleep properly. Just wondering if this is still a thing or not ^.^
They will never receive TWRP support and it's unlikely that they will ever see root either, unless an engineering boot image is leaked similar to what happened with the S7, but being stuck on an old kernel for the rest of your devices life just to root is kind of crappy. Do advise selling it and buying an F or FD Exynos model.
 

dr.ketan

Recognized Developer / Recognized Contributor
Ok I can confirm - TWRP works
Root - No
Root didn't work may be because of I have updated to latest base PH6 and believe this base have some changes and issue reported on S7 on this base as well
Before this Y'day I have modified CF auto root based on PH6 recovery and sent log to CF as well tested file from CF as well. According to @Chainfire he is aware of this and he will first fix S7 issue and probably this should fix for us as well.
So game started and have to wait till new magic from @Chainfire
Again thank to @jcadduono and @bigbiff for great work. Again Thank you very much to all involved to this project behalf of N7 community.
Here attached logs.
PS : Very busy today and just arrived from out, couldn't resist to test. Will report more details later
Regards
Dr.Ketan
 

Attachments

  • recovery.log
    18.4 KB · Views: 261
  • dmesg.rar
    32.4 KB · Views: 262

i23u8

Senior Member
Jul 24, 2015
435
148
Manila
OnePlus 7 Pro
Xiaomi Poco F3
Do I have to flash both SuperSU and no-verity? Or SuperSU alone is fine?

Also tried this on both APG7 and BPH6 and they bootloop.

Here are the results of the testing so far:
Status Blocking checks
Pass [ ] - Correct screen/recovery size
Pass [ ] - Working touchscreen
Pass [ ] - Backup to internal/microSD
[ ] - Restore from internal/microSD
Pass [ ] - Reboot to system
Pass [ ] - ADB & ADB shell
Pass [ ] - Flash zips in Install page
Pass [ ] - Flash boot.img/recovery.img using Flash Image in Install page
Medium checks
[ ] - Flash zip with ADB sideload
Pass, yellow [ ] - UI colors (red/blue inversions)
Pass [ ] - Screen goes off (and back on :))
Pass [ ] - EXT4 support (wipe/format/restore to)
[ ] - F2FS support (wipe/format/restore to)
[ ] - exFAT support (wipe/format)
[ ] - NTFS support (wipe/format)
Pass [ ] - System, Data, Internal Storage, microSD card, and Modem/Firmware/EFS (if applicable) partitions listed in mount/backup choices
[ ] - Decrypt encrypted /data
Pass [ ] - Correct date
[ ] - MTP read/write
Pass [ ] - USB Mass Storage read/write
Pass [ ] - Set brightness level
Minor checks
Pass [ ] - Reboot to bootloader
Pass [ ] - Reboot to recovery
Pass [ ] - Power Off
Pass [ ] - Battery level
Pass [ ] - Temperature
[ ] - Encrypted backups
Pass [ ] - Vibration
[ ] - Screenshot
[ ] - Resize data partition
 
  • Like
Reactions: dj3boud

dr.ketan

Recognized Developer / Recognized Contributor
Do I have to flash both SuperSU and no-verity? Or SuperSU alone is fine?

Also tried this on both APG7 and BPH6 and they bootloop.
Flash supersu on apg7 and see if boot
If not
Flash stock files I have provided on prev page
Flash twrp
Flash dm verify disabler
Now device will boot
 
  • Like
Reactions: ALLDAT

jcadduono

Recognized Developer
Jan 17, 2014
1,492
6,212
29
Thunder Bay
adduono.com
Fixing screen colors, yellow should not be normal lol.

Okay what I want to know is:

Does USB-OTG work?

Does mounting and writing to NTFS work?

Does mounting and writing to exFAT work?

Does mounting and writing to f2fs work?

Does MTP work (microSD card)?

Does MTP work (format internal storage to mount data unencrypted after flashing opt-encrypt zip)?

Does USB Mass Storage button work in Mount page (with external SDcard) - allows oldschool access to microSD from PC?

Output of following commands from terminal:
Code:
ls -l /dev/block/bootdevice/by-name/
cat /proc/partitions
ls /dev/block
 
Last edited:
  • Like
Reactions: dj3boud and ALLDAT

i23u8

Senior Member
Jul 24, 2015
435
148
Manila
OnePlus 7 Pro
Xiaomi Poco F3
Flash supersu on apg7 and see if boot
If not
Flash stock files I have provided on prev page
Flash twrp
Flash dm verify disabler
Now device will boot
Hi Dr Ketan, I've flashed APG and SuperSU and it didn't boot, it loops.
I'm able to recover the phone. :)

Hi jcadduono,

Does USB-OTG work? Yes it works.

Does mounting and writing to NTFS work? Yes, my external HDD on NTFS works.

Does mounting and writing to exFAT work? Yes it works, my USB-OTG is exFat.

Does mounting and writing to f2fs work? I didn't convert any of my storage.

Does MTP work (microSD card)? Yes, it works.

Does MTP work (format internal storage to mount data unencrypted after flashing opt-encrypt zip)? Yes it works before I make my first boot to system.

Does USB Mass Storage button work in Mount page (with external SDcard) - allows oldschool access to microSD from PC? Yes this works.

Apart from those I havent tested, booting to system and then booting back to TWRP, I lose access to the data partition and it looks like I need to re-wipe and install no-verity.
 
Last edited:
  • Like
Reactions: dr.ketan

jcadduono

Recognized Developer
Jan 17, 2014
1,492
6,212
29
Thunder Bay
adduono.com
Apart from those I havent tested, booting to system and then booting back to TWRP, I lose access to the data partition and it looks like I need to re-wipe and install no-verity.
Is it encrypting again after installing no-verity zip? This was an issue on Exynos 7870 and if it's happening on 8890 that would be terrible. (they made it impossible to disable encryption on 7870)

Also, see if the colors are fixed in https://idlekernel.com/twrp/gracelte/twrp-3.0.2-0-b3-gracelte.tar.md5
They should be blue and black and grey, no yellow!
And check NTFS again, I removed kernel driver for pure ntfs-3g to see if I could trim it down a little and make NTFS more stable.
 
Last edited:
  • Like
Reactions: ALLDAT

Top Liked Posts

  • There are no posts matching your filters.
  • 52
    Team Win Recovery Project 3.0.2-1



    This is for the International SM-N930F/X, Duos SM-N930FD, and Korean SM-N930K/L/S Exynos models only! Do not flash on Snapdragon 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 Note 7 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!

    WARNING #3: When using custom kernels on the Note 7, never turn off developer options or OEM unlock. If you do, you will lose all your data and have to flash a full stock firmware restore to use your device again!


    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/samsunggalaxynote7exynos.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.
      Do not ever turn off Developer Options or OEM unlock. Doing so will cause your device to refuse to boot and require a full factory restore.
      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 gracelte.
      Transparent.gif
    6. Reboot your device into Download mode. To do this, select reboot from the power menu and hold the [Volume Down] + [Home] + [Power] 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 to [Volume Up] 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.

      If you want to be rooted with something else or just want a bootable system:
      Download the latest Samsung Anti-Root Protection Removal zip.
      Without exiting TWRP, transfer the samsung-antiroot-removal zip to your device over MTP* and flash it using [Install] in TWRP.
      This zip will allow you to flash SuperSU versions earlier than 2.77 and use other rooting methods.
      It uses a hex pattern (by Chainfire) replacement method in the kernel that simply disables the anti-rooting protection.
      It will also disable the status bar notification about unauthorized changes.
      It includes the functions of the no-verity-opt-encrypt zip.
      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-1 - Fix restoring of non-ext4 partitions, update f2fs drivers, update to BPID source & Linux 3.18.43, add 60% battery charging limiter
    • v3.0.2-0 - Official release on twrp.me
    • v3.0.2-0-b3 - Fix colors and use NTFS-3G
    • v3.0.2-0-b2 - Initialize new device tree based on Samsung OSRC N930FXXU1APGK kernel source.

    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 (International): https://github.com/TeamWin/android_device_samsung_gracelte (android-6.0)
    Device tree (Korea): https://github.com/TeamWin/android_device_samsung_graceltekor (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 Note 7, Tool/Utility for the Samsung Galaxy Note 7

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


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

    Created 2016-08-23
    Last Updated 2016-11-08
    23
    I don't doubt root will be there. But Note7 release in my country has been postponed to September 9 - and that's for pre-order delivery. I don't think I will have a device in hand before the 15th or so.

    So I guess I will try to work with someone over IRC or Hangouts and debug live.
    22
    SuperSU v2.77 BETA has been posted in the SuperSU BETA thread here: http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133

    Release notes are still being written, be sure to check back later and read them. Useful stuff to know.

    Having some issues getting CF-Auto-Root to work on Dr.Ketan's device right now, so I will probably delay official support for that until I have my own device.

    Thanks to @dr.ketan and @SeraphSephiroth for their help.

    EDIT: Release notes here: https://plus.google.com/+Chainfire/posts/S4ucYdfqPhq
    19
    @SeraphSephiroth 's device now has SuperSU apparently fully working. Hurrah.

    Needs some more automation and testing, but should be released soon.
    19
    I don't doubt root will be there. But Note7 release in my country has been postponed to September 9 - and that's for pre-order delivery. I don't think I will have a device in hand before the 15th or so.

    So I guess I will try to work with someone over IRC or Hangouts and debug live.

    So, me and @dr.ketan have been spending quite a few hours on this (remote debugging for the lose) and we did find the problem.

    The quickest and dirtiest fix would be universal and give you basic root, but it would disable some of SuperSU's functionality and will still cause many root apps to fail (and trigger reboots).

    Another option is a kernel built from source with the patch, but this is not universal. I also have not succeeded compiling a booting kernel from source yet for this device, but that failure is probably wholly mine.

    I have another solution in mind that will be kernel-agnostic, but has some other drawbacks, like longer boot times and just being plain odd.

    Anyway, time to catch some sleep. This sure would've been a lot faster if I had an actual device.