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

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

Search This thread

bxlentpartyon

Member
Aug 19, 2020
47
46
Just wanted to drop a note here that I've collected the necessary pieces and am looking into doing a build for the T870. I have a lot of experience with the Linux kernel, and at least some Android knowledge, so I'm pretty hopeful that I can pull this off. I'm writing a document on what needs to be done along the way, so hopefully others will be able to reproduce this effort as kernel sources for other related devices become available.

Wish me luck - I'll post back if/when I've made more progress.
 

bxlentpartyon

Member
Aug 19, 2020
47
46
I've managed to successfully build the customized kernel for TWRP, and I've extracted the dtb and recovery_dtbo from the recovery.img in the BUC6 firmware that I got my hands on. Looking at the layout of the unpacked recovery.img, I believe these should be able to be dropped straight into Ian's twrp_gts7xl tree with few other modifications, aside from the device name and security patch level.

I'm still not super clear on how the TWRP puzzle-pieces fit together after that though. It seems to me like the the twrp_gts7xl tree (or twrp_gts7lwifi in my case) should be added as a submodule to the android_bootable_recovery TWRP source tree, and then everything is built from there, but I don't quite see how that would work just yet.

I've looked at these two "guides" on building TWRP:


But the first is very outdated, and the second seems to be going a whole different route than what Ian did (from what I can tell at least). I think I'll get this figured out eventually, but if anyone knows anything about this piece of things (or knows someone who does), I'd certainly appreciate a little guidance here.
 
  • Like
Reactions: jhill110

bxlentpartyon

Member
Aug 19, 2020
47
46
But the first is very outdated, and the second seems to be going a whole different route than what Ian did (from what I can tell at least). I think I'll get this figured out eventually, but if anyone knows anything about this piece of things (or knows someone who does), I'd certainly appreciate a little guidance here.

I think I'm getting this figured out. The second guide turns out to be pretty close to what I needed, but I'm new to building this stuff, so I didn't quite understand it at first. After looking at a few other builds on the TWRP Telegram group, I'm starting to understand.

Fingers crossed the repo sync doesn't fill up my disk. Not sure how much more stuff I can erase :p
 
  • Like
Reactions: ilya33 and jhill110

bxlentpartyon

Member
Aug 19, 2020
47
46
I prayed to grep for a couple hours and figured out the issue here. Took a couple hours to build, but I finally got a recovery.img.

I have my bootloader unlocked and was hoping to test this out using `fastboot boot <image>`, but I keep getting an "unknown command" error from that. I'll put the recovery image up for others to try tomorrow, but I was wondering: Is it possible to test the image in this manner, or do I need to actually flash it to the device to test it on the T870?
 

jhill110

Senior Member
Oct 12, 2012
1,897
1,320
Santa Barbara
HTC U11
Moto G Power
I prayed to grep for a couple hours and figured out the issue here. Took a couple hours to build, but I finally got a recovery.img.

I have my bootloader unlocked and was hoping to test this out using `fastboot boot <image>`, but I keep getting an "unknown command" error from that. I'll put the recovery image up for others to try tomorrow, but I was wondering: Is it possible to test the image in this manner, or do I need to actually flash it to the device to test it on the T870?
As far as I know with Samsung devices you'll need to actually flash the recovery image in odin.
T870 guy since the beginning. I've been hoping someone would do this. Thanks for the effort.
 
  • Like
Reactions: bxlentpartyon

bxlentpartyon

Member
Aug 19, 2020
47
46
As far as I know with Samsung devices you'll need to actually flash the recovery image in odin.
Ok, good to know. Just to confirm: I've seen some conflicting stuff on here regarding whether or not that will trip Knox/void my warranty. Will it do those things if I flash with Odin? I'm not super concerned about that, but I wanted to know what I'm signing up for.

Anyway, I've got some work to do outside, but I'll get this uploaded in a few hours for others to try.
 
  • Like
Reactions: jhill110

Vntnox

Senior Member
Feb 12, 2017
154
49
London
Ok, good to know. Just to confirm: I've seen some conflicting stuff on here regarding whether or not that will trip Knox/void my warranty. Will it do those things if I flash with Odin? I'm not super concerned about that, but I wanted to know what I'm signing up for.

Anyway, I've got some work to do outside, but I'll get this uploaded in a few hours for others to try.
No wonder custom code in any partition will trip Knox.
Especially TWRP recovery.
 
  • Like
Reactions: jhill110

bxlentpartyon

Member
Aug 19, 2020
47
46
Here is a link to the T870 (T870XXU2BUC6) recovery image on my Google Drive:


Please let me know if you're able to download this. I'll find a "better" place to upload it once somebody can confirm that it actually works. I looked into AndroidFileHost, but their "Request Developer Access" page appears to be completely broken, so I can't actually request it...

Anyway, I'm looking into what I need to do to test this myself to make further development easier, but I'm not fully confident that I understand the entire process, and I don't wanna brick my brand new tablet.
 
  • Like
Reactions: jhill110

jhill110

Senior Member
Oct 12, 2012
1,897
1,320
Santa Barbara
HTC U11
Moto G Power
Here is a link to the T870 (T870XXU2BUC6) recovery image on my Google Drive:


Please let me know if you're able to download this. I'll find a "better" place to upload it once somebody can confirm that it actually works. I looked into AndroidFileHost, but their "Request Developer Access" page appears to be completely broken, so I can't actually request it...

Anyway, I'm looking into what I need to do to test this myself to make further development easier, but I'm not fully confident that I understand the entire process, and I don't wanna brick my brand new tablet.
Don't worry about bricking your device. Unless you really do something stupid ODIN-ing a full image will always bail you out.
 
  • Like
Reactions: bxlentpartyon

jhill110

Senior Member
Oct 12, 2012
1,897
1,320
Santa Barbara
HTC U11
Moto G Power
I'm definitely gonna start one once somebody has had a chance to test it. I wanted to see if it actually works before I start one, although I should probably stop flooding this thread at some point no matter what, haha.
Well, I went back to Android 10 when you still could so I don't know if I could actually test it for you.
I may just update because the issue I had with 11 is no longer a problem (adding a file to the system folder).

Another reason to start a thread is it could pull in some help.
 

bxlentpartyon

Member
Aug 19, 2020
47
46
I may just update because the issue I had with 11 is no longer a problem (adding a file to the system folder).
Well let me know if you do get a chance to test it. I'm feeling a bit more comfortable with hacking on the thing knowing that I have a full copy of the replacement firmware, so I'll hopefully get around to trying it myself today or tomorrow, if someone doesn't beat me to it.

BTW, I'm creating my own TWRP thread now. I'll post a link to it here once it's up.
 
  • Like
Reactions: jhill110

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    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 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 2021-01-28
    4
    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.
    4
    Version 3.5.0-1_ianmacd has been released.

    Changelog

    2020-12-29 3.5.0-1

    • Update to TWRP 3.5.0.
    4
    Really frustrated that there's no twrp for the T870.
    4
    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.