7

TWRP for the Samsung Galaxy Tab S7+ 5G (T976B)

 2 years ago
source link: https://forum.xda-developers.com/t/twrp-for-the-samsung-galaxy-tab-s7-5g-t976b.4163853/page-12#post-86935791
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

TWRP for the Samsung Galaxy Tab S7+ 5G (T976B)

When I used the vbmeta, I always flashed it on top of a stock firmware that had been flashed with Odin. After leaving download mode, it didn't even try to boot Android. It just took me straight to stock recovery with a message saying I would need to reset. I expected this, having done it numerous times already. Not sure what's going on in your case.

If it only took you to Android, then maybe you had flashed that file before. Which means no signature change. I was never able to boot into android with the vbmeta I've linked, without a reset.

When I was initially trying to get twrp installed, I used the old vbmeta that was different from the one you used. I put it in the AP slot and it did exactly what you described in your case. I guess at this point, I could just flash twrp again and install magisk from there and then try to change the recovery file in /vendor to keep it from changing to stock.

AnonVendetta

Senior Member
Apr 29, 2016 1,089 Portland, OR
When I was initially trying to get twrp installed, I used the old vbmeta that was different from the one you used. I put it in the AP slot and it did exactly what you described in your case. I guess at this point, I could just flash twrp again and install magisk from there and then try to change the recovery file in /vendor to keep it from changing to stock.

Patching your boot image is the recommended way of installing magisk on Samsung devices, not from TWRP. It also says this on magisk's official help pages. Installing from recovery may also work, but it's less than ideal.

Installing Magisk

You dont need to patch the entire huge AP firmware file, if you have already flashed the firmware package and are just wanting to root. Use these instructions to patch boot.img only (will still get you fully rooted, and you'll be flashing a much smaller file):

Patch boot.img

the boot.img also needs to come from the same firmware, dont try to use others. Best to use a boot.img whose version exactly matches the firmware.

Patching the entire AP is apparently only necessary if you want to upgrade without losing root.

The recommended order I use when installing a new Android version:

1. Flash full official firmware with Odin (I always do clean flashes only, never upgrades that don't require wiping data)

2. Boot android, connect to net, enable developer options, make sure OEM unlocking is enabled

3. Flash vbmeta in Odin

4. Reset again, and redo step 2

5. Flash Magisk. Once you are back in Android, you can use magisk to reboot to download mode

6. Flash twrp in Odin.

7. Boot twrp, flash @ianmacd's Samsung multi disabler zip (I do this mainly to disable forced encryption of data partition, if you want it then skip this. But you won't be able to do backups of data from TWRP without them being huge).

8. While you're still in twrp, do this so Android doesn't overwrite your TWRP with stock recovery.

Prevent stock recovery from coming back

9. Do a factory reset from TWRP/format data (to remove any encryption on data partition)

After this you are done, boot Android and set things up to your liking.

My process takes an hour to finish at most. It can seem a little slow the first time around. I've been doing the same thing for months and it has always worked, so I'm not changing it.

Last edited: Mar 9, 2022
I am in need of a quick confirmation on exactly the steps I should take, please...

I have the SM-T970 (gts7xlwifi) and before I found this thread, I was able to get it updated to Android 12 and rooted with Magisk. It is working great and I just want to get TWRP added. Exactly what steps do I need to take in light of that? Do I have to do another format/wipe, or can I literally just rename the TWRP-gts7xl-3.6.0_11-A12-1a7_ianmacd.img to recovery.img, then tar it, and flash that in download mode with odin?

Or, do I need to do other steps and/or basically start from scratch? Thanks!

Reactions: Michael Carleone

AnonVendetta

Senior Member
Apr 29, 2016 1,089 Portland, OR
@robroy90: You shouldnt need to start from scratch. Just do steps 6, 7 (optional, but if you do this then you must format data/factory reset to remove encryption), and 8 from my post directly above yours. Tar the recovery.img and flash in Odin.

We have the exact same model and i'm also running Android 12 CVA5 firmware, so my steps should work for you.
@robroy90: You shouldnt need to start from scratch. Just do steps 6, 7 (optional, but if you do this then you must format data/factory reset to remove encryption), and 8 from my post directly above yours. Tar the recovery.img and flash in Odin.

We have the exact same model and i'm also running Android 12 CVA5 firmware, so my steps should work for you.

Thank you very much, I appreciate that! I will give it a go then!

AnonVendetta

Senior Member
Apr 29, 2016 1,089 Portland, OR
@robroy90: @ianmacd posts newer versions of his Android 12 TWRP in his Telegram channel. I suggest you install the app, register a free account, and subscribe to the channel (it's mentioned on first post of this thread). Right now I'm using a newer build than the one you mentioned. My suggestion is to get the img from there instead of his AndroidFileHost link. They usually have bugs fixed. Just rename it to recovery.img and tar it, same as usual.

If you want to update your TWRP in the future, no need to use Odin. Just put it on tablet and flash the img from within TWRP (it has an img flash option built in).

Reactions: Y2Ne1

emko7

Senior Member
Sep 5, 2010
Any chance this would work on the Tab S8+ 5G?

AnonVendetta

Senior Member
Apr 29, 2016 1,089 Portland, OR
Any chance this would work on the Tab S8+ 5G?

No.

Michael Carleone

Senior Member
Mar 3, 2012
Patching your boot image is the recommended way of installing magisk on Samsung devices, not from TWRP. It also says this on magisk's official help pages. Installing from recovery may also work, but it's less than ideal.

Installing Magisk

You dont need to patch the entire huge AP firmware file, if you have already flashed the firmware package and are just wanting to root. Use these instructions to patch boot.img only (will still get you fully rooted, and you'll be flashing a much smaller file):

Patch boot.img

the boot.img also needs to come from the same firmware, dont try to use others. Best to use a boot.img whose version exactly matches the firmware.

Patching the entire AP is apparently only necessary if you want to upgrade without losing root.

The recommended order I use when installing a new Android version:

1. Flash full official firmware with Odin (I always do clean flashes only, never upgrades that don't require wiping data)

2. Boot android, connect to net, enable developer options, make sure OEM unlocking is enabled

3. Flash vbmeta in Odin

4. Reset again, and redo step 2

5. Flash Magisk. Once you are back in Android, you can use magisk to reboot to download mode

6. Flash twrp in Odin.

7. Boot twrp, flash @ianmacd's Samsung multi disabler zip (I do this mainly to disable forced encryption of data partition, if you want it then skip this. But you won't be able to do backups of data from TWRP without them being huge).

8. While you're still in twrp, do this so Android doesn't overwrite your TWRP with stock recovery.

Prevent stock recovery from coming back

9. Do a factory reset from TWRP/format data (to remove any encryption on data partition)

After this you are done, boot Android and set things up to your liking.

My process takes an hour to finish at most. It can seem a little slow the first time around. I've been doing the same thing for months and it has always worked, so I'm not changing it.

HI. Some questions:

1. how to find (and determine) what official firmware you have currently installed?
2. where to find your OEM firmware (links)?
1. where do you get vbmeta, link?
2. how to verify OEM unlocking is enabled?

Hopefully you can clarify. Thanks.

belveder69

Senior Member
Nov 2, 2010 Adelaide
I so wish I could do this, never used to have troubles but my depression medication makes me to zombified.
Is there any Australian that have done it that could send me an image of it done?

This would be great thankyou, please

AnonVendetta

Senior Member
Apr 29, 2016 1,089 Portland, OR
HI. Some questions:

1. how to find (and determine) what official firmware you have currently installed?
2. where to find your OEM firmware (links)?
1. where do you get vbmeta, link?
2. how to verify OEM unlocking is enabled?

Hopefully you can clarify. Thanks.

The firmware version you're running should be listed in the Settings app in the About section (it's on the same screen as the build # info).

You can get your firmware from Frija. I also use galaxyfirmware.com and SamFW.

The neutralized vbmeta I use is at vbmeta. Use the vbmeta_disabled.tar file, flash it in Odin in the userdata slot, not AP. You will most like have to do a data wipe/factory reset after flashing this, Android probably won't boot. It's a 1 time thing, vbmeta will stay neutralized unless you flash an official firmware. So, backup any important info beforehand.

You can check the status of OEM unlocking in developer options. If it's disabled and grayed out (can't be toggled), you're fully unlocked. You won't be able to flash amy thing other than stock images, unless this is disabled.

Reactions: Y2Ne1

arlequin2k3

Senior Member
Dec 22, 2018 94450
Hello ,
I'm out of topic but I would like to know if a twrp would be in progress for the S8, S8+ and S8 ultra tablets. Thank you for your reply .
@+

AnonVendetta

Senior Member
Apr 29, 2016 1,089 Portland, OR
Hello ,
I'm out of topic but I would like to know if a twrp would be in progress for the S8, S8+ and S8 ultra tablets. Thank you for your reply .
@+

Probably, but as you said yourself, wrong topic. The Tab S8 has its' own subforum on XDA, best to post your question there.

Last edited: Mar 29, 2022

Reactions: Y2Ne1

I have the tab S6 and just updated to one UI 4.1 and I'm trying to figure out how to flash TWRP. Every time I hit the button combos to cause a reboot volume down and power up I end up in RDX mode since the update any help would be nice.

ekin_strops

Senior Member
Apr 29, 2016 1,033 Munich OnePlus 9 Pro
I have the tab S6 and just updated to one UI 4.1 and I'm trying to figure out how to flash TWRP. Every time I hit the button combos to cause a reboot volume down and power up I end up in RDX mode since the update any help would be nice.

This is a Galaxy Tab S7 Subforum.

Reactions: ilya33 and Y2Ne1

Hey guys , new to the tablet modding always on note series , anywhom I have a SM-T978U 5G Tablet with Android 12 baseband CVA6 with January 1 , 2022 patch can this be rooted and modded with twrp & magisk ?


I read that after 12 update it's not possible to mod it ... I am able to downgrade to android 11


Any suggestions ?

Loving this tablet but wish I could at least root it


Thanks for reading and thank you in advance for any output you will have for me ...
@robroy90: @ianmacd posts newer versions of his Android 12 TWRP in his Telegram channel. I suggest you install the app, register a free account, and subscribe to the channel (it's mentioned on first post of this thread). Right now I'm using a newer build than the one you mentioned. My suggestion is to get the img from there instead of his AndroidFileHost link. They usually have bugs fixed. Just rename it to recovery.img and tar it, same as usual.

If you want to update your TWRP in the future, no need to use Odin. Just put it on tablet and flash the img from within TWRP (it has an img flash option built in).

Would you happen to know the channels name or link I will definitely check those two or one group out thank you

AnonVendetta

Senior Member
Apr 29, 2016 1,089 Portland, OR
@Y2Ne1: Android 12 is definitely rootable, I did it myself. And since you have a Tab S7+, TWRP should work too. No TWRP for Tab S7 (non plus), only root. That's part of the reason I bought the plus model instead.

I've downgraded to Android 11 BUJ3, because some things on 12 werent working as expected.

I can't remember the name of @ianmacd's TWRP channel, but you can find it in his 1st post on his Tab S7+ TWRP thread.

Reactions: Y2Ne1

@Y2Ne1: Android 12 is definitely rootable, I did it myself. And since you have a Tab S7+, TWRP should work too. No TWRP for Tab S7 (non plus), only root. That's part of the reason I bought the plus model instead.

I've downgraded to Android 11 BUJ3, because some things on 12 werent working as expected.

I can't remember the name of @ianmacd's TWRP channel, but you can find it in his 1st post on his Tab S7+ TWRP thread.

Thank you so much man I really appreciate the info hopefully I can contribute to the tabS7+ community along with 5G

I've installed TWRP on this tablet before but I kiiiiiinda forgot the process and need to do it again after flashing stock everything for a specific need. I've patched my S7+'s firmware with magisk but I'm having difficulties flashing TWRP and making it stay. I've tried renaming /vendors/recovery-from-boot.p to recovery-from-boot.p.bak, but it fails on Solid Explorer (access denied) and with ZArchiver (completed but with errors: pretty much access denied). I could probably rename it from TWRP directly, but the issue of not being able to boot into it after flashing is giving me trouble. As far as I know, I can't boot to recovery from Odin nor can I use an ADB or fastboot command while in download mode. So I'm at a loss. Does anyone know how to get this installed and keep it installed? I've completely forgotten how to do it now.

Top Liked Posts

  • twrp.png
    Introduction

    Welcome to TWRP for the Samsung Galaxy Tab S7+ 5G (T976B). This same image will also work for the wi-fi-only T970.

    Installation

    Only proceed if you are comfortable with low-level device management and are capable of recovering an unbootable device, should an unforeseen mishap occur.

    Unlock your device's bootloader and then install the recovery image below. If you use Odin to flash it, remember to rename the image recovery.img and tar it before flashing. You will also need to flash a neutralised vbmeta.img image if you have not already disarmed verified boot.

    Post-installation

    The Tab S7+ 5G utilises proprietary file-based encryption (FBE) in its factory state for the user data partition. TWRP cannot decrypt this, however, so it must be removed. Otherwise, you will not be able to perform back-ups and restores.

    To remove encryption from your device, please use TWRP to flash the Samsung multi-disabler and then format /data again. You must use at least v2.5 of the multi-disabler.

    These builds are stable and known to perform well on many users' devices.

    Latest releases

    Android 12 (CULC firmware)

    twrp-gts7xl-3.6.0_11-A12-1a7_ianmacd.img

    Android 11 (BUA8 firmware)

    twrp-gts7xl-3.5.0_10-A11_3_ianmacd.img

    Android 10 (ATJ4 firmware)

    twrp-gts7xl-3.5.0_10-2_ianmacd.img

    Source


    Support

    For support or just to talk about the device amongst friends, please join our Telegram group dedicated to TWRP/root on Samsung devices.


    XDA:DevDB Information
    TWRP for the Samsung Galaxy Tab S7+ 5G, Tool/Utility for the Samsung Galaxy Tab S7 / S7 Plus

    Contributors
    ianmacd

    Version Information
    Status:
    Production
    Current Production Version: 3.5.0-1_ianmacd
    Production Release Date: 2020-12-29

    Created 2020-09-16
    Last Updated 2022-01-12
    Changelog

    2021-01-28 3.5.0_A11-3
    • First release with Android 11 kernel, built for BUA8 firmware.
    • Any file beginning with Magisk- is now considered flashable.
    2021-01-25 3.5.0_A11-2
    • Fix device rebooting only to recovery.
    • Fix spurious attempt to perform digest authentication when flashing .apk file.
    2021-01-25 3.5.0_A11-1
    • Report the device as running Android 11.
    • TWRP will now include files named Magisk.apk, app-release.apk or app-debug.apk in the list of flashable .zip files. This is to accommodate the new packaging of Magisk as a payload within the manager app.
    2021-01-19 3.5.0-2
    • Merge post-3.5.0 release bug fixes.
    2020-12-29 3.5.0-1
    • Update to TWRP 3.5.0.
    2020-12-23 3.4.0-3
    • Fixed bug that causes unmounting of System when Advanced menu is entered.
    2020-12-20 3.4.0-1
    • First production release.
    • Working MTP implementation.
    2020-11-06 3.4.0-1a21
    • Fixed image back-up of Optics partition.
    • logcat is now enabled in recovery.
    • With kernel built for ATJ4 firmware.
    2020-10-07 3.4.0-1a16
    • With kernel built for ATI3 firmware.
    Version 3.5.0-1_ianmacd has been released.

    Changelog

    2020-12-29 3.5.0-1
    • Update to TWRP 3.5.0.
    Really frustrated that there's no twrp for the T870.
    It gives me great pleasure to finally be able to issue a production release of TWRP 3.4.0 for the Tab S7+ 5G.

    Over the course of 27 alpha versions and 2 beta releases, the kinks have been worked out and this initial production release now features a fully functional implementation of MTP.

    It's also no longer necessary to disable MTP in order to use adb.

    Changelog

    2020-12-20 3.4.0-1
    • First production release.
    • Working MTP implementation.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK