[RECOVERY][ROOT]TWRP 3.2.3-1 Galaxy Tab S4 - T830/T835

Search This thread

EggZenBeanz

Senior Member
Jul 21, 2005
286
92
After the first step of flashing dm verity patch and rebooting to OS I get a security message and force reset. But it loops into twrp again. What did I do wrong? I have the t835
 

EggZenBeanz

Senior Member
Jul 21, 2005
286
92
You need to format in twrp.

Isn't that to disable encryption though?

1. Flash the dm verity kernel in download mode
2. Reboot to OS <== But I can't access the OS again. The security message makes be reboot.

Should I be able to reboot to OS after flashing dmverity kernel in Odin?
 

cbb77

Senior Member
Nov 28, 2010
483
133
Massachusetts
Just quick check, is rooting still available on the latest firmware? I don't have one of these units yet, but thinking of pulling the trigger since these are on sale for BF. However, root is a must for me, thus just want to confirm.

Thanks
 

ashyx

Inactive Recognized Contributor
Oct 14, 2012
15,110
9,884
Isn't that to disable encryption though?

1. Flash the dm verity kernel in download mode
2. Reboot to OS <== But I can't access the OS again. The security message makes be reboot.

Should I be able to reboot to OS after flashing dmverity kernel in Odin?
It doesn't matter just boot to Download mode regardless and flash twrp then FORMAT.
 
  • Like
Reactions: EggZenBeanz

EggZenBeanz

Senior Member
Jul 21, 2005
286
92
It doesn't matter just boot to Download mode regardless and flash twrp then FORMAT.

Thanks

---------- Post added at 09:47 AM ---------- Previous post was at 09:46 AM ----------

Just quick check, is rooting still available on the latest firmware? I don't have one of these units yet, but thinking of pulling the trigger since these are on sale for BF. However, root is a must for me, thus just want to confirm.

Thanks


Yep I'm on the October security release, latest I think, with root
 
  • Like
Reactions: neuer31

steevou

Member
Sep 4, 2009
36
2
Hello,

I have a FAIL message for part 2 : Run ODIN and first flash the custom patched kernel below using the AP slot

ODIN Message :

<ID:0/004> Added!!
<ID:0/004> Odin engine v(ID:3.1301)..
<ID:0/004> File analysis..
<ID:0/004> Total Binary size: 21 M
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> NAND Write Start!!
<ID:0/004> SingleDownload.
<ID:0/004> boot.img
<ID:0/004> FAIL! (Auth)
<ID:0/004>
<ID:0/004> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)

Tab S4 SM-T830
 

Attachments

  • Capture.PNG
    Capture.PNG
    64.8 KB · Views: 141
Last edited:

powerade001

Member
Jun 3, 2006
36
6
Nicolet, QC
@Reuben_skelz92
After having done a factory reset of my tab by flashing latest ARJ3 firmware for my country (XAC) with CSC intead of HOME_CSC, my OEM unlock is back again after 168 hour wait! I am so happy!
@ashyx
To get TWRP back, can I follow instructions in OP or do I need to ajust since bootloader is newer? Will I be able to wipe DATA?

Thank you.
 

ashyx

Inactive Recognized Contributor
Oct 14, 2012
15,110
9,884
@Reuben_skelz92
After having done a factory reset of my tab by flashing latest ARJ3 firmware for my country (XAC) with CSC intead of HOME_CSC, my OEM unlock is back again after 168 hour wait! I am so happy!
@ashyx
To get TWRP back, can I follow instructions in OP or do I need to ajust since bootloader is newer? Will I be able to wipe DATA?

Thank you.
Same procedure. However as an additional step to prevent RMM lock again I suggest flashing the RMM bypass zip as soon as you boot to twrp.
 
  • Like
Reactions: powerade001

neuer31

Senior Member
Mar 2, 2018
54
9
@ashyx
Surprise surprise
So I used my friends Laptop and suddenly it works without problems ..... wtf
JFYI which system had a problem: AMD Ryzen 7 1700 on a Crosshair VI with newest drivers and newest Windows 10 1809
This system is Intel i7-4710HQM on a unknown Medion Motherboard and Windows 10 pre 1809 though
Both systems had Samsung Smart Switch installed to ENSURE

Problem:
After flashing TWRP, I don't get into Recovery mode ...
I tried the usual Power+Volume Down and after vibrate, immediately Power+Volume UP, either I am too slow or it doesn't work
I can get into Download mode, but thats not what we want
>>> (p.s.) found the solution: Do the same but do Power + Volume Up BEFORE the vibration :)

2 Questions I have:
1. If I **** up the immediate reboot thing, do I just flash the AP from the original firmware again? Or do I need other stuff (maybe useful to put into the guide as a Ps or something)
2. Would you be so nice to put in RMM bypass into your guide so everyone knows about it?

Some other notes:
1. I got a TWRP error using the encryption disabler ... I think it was something about not being able to mount data
2. I could not see storage on PC while in TWRP (if that is a function even)

If I get it to work, I will definitely donate you btw :) Your support is great
 
Last edited:
  • Like
Reactions: konchog uma

Reuben_skelz92

Senior Member
Feb 20, 2016
1,873
590
@Reuben_skelz92
After having done a factory reset of my tab by flashing latest ARJ3 firmware for my country (XAC) with CSC intead of HOME_CSC, my OEM unlock is back again after 168 hour wait! I am so happy!
@ashyx
To get TWRP back, can I follow instructions in OP or do I need to ajust since bootloader is newer? Will I be able to wipe DATA?

Thank you.
That's good to hear. I think I used the home one....I will use the other CSC. coming close to selling the thing to get a new one and start again
 

ashyx

Inactive Recognized Contributor
Oct 14, 2012
15,110
9,884
@ashyx
Surprise surprise
So I used my friends Laptop and suddenly it works without problems ..... wtf
JFYI which system had a problem: AMD Ryzen 7 1700 on a Crosshair VI with newest drivers and newest Windows 10 1809
This system is Intel i7-4710HQM on a unknown Medion Motherboard and Windows 10 pre 1809 though
Both systems had Samsung Smart Switch installed to ENSURE

Problem:
After flashing TWRP, I don't get into Recovery mode ...
I tried the usual Power+Volume Down and after vibrate, immediately Power+Volume UP, either I am too slow or it doesn't work
I can get into Download mode, but thats not what we want
>>> (p.s.) found the solution: Do the same but do Power + Volume Up BEFORE the vibration :)

2 Questions I have:
1. If I **** up the immediate reboot thing, do I just flash the AP from the original firmware again? Or do I need other stuff (maybe useful to put into the guide as a Ps or something)
2. Would you be so nice to put in RMM bypass into your guide so everyone knows about it?

Some other notes:
1. I got a TWRP error using the encryption disabler ... I think it was something about not being able to mount data
2. I could not see storage on PC while in TWRP (if that is a function even)

If I get it to work, I will definitely donate you btw :) Your support is great
I you miss the timing with reboot, just flash twrp again and continue the procedure.

The errors are not related to flashing the encryption disabler.
Carry on with the steps and FORMAT /data and you'll never see those errors again.
 

Reuben_skelz92

Senior Member
Feb 20, 2016
1,873
590
@Reuben_skelz92
After having done a factory reset of my tab by flashing latest ARJ3 firmware for my country (XAC) with CSC intead of HOME_CSC, my OEM unlock is back again after 168 hour wait! I am so happy!
@ashyx
To get TWRP back, can I follow instructions in OP or do I need to ajust since bootloader is newer? Will I be able to wipe DATA?

Thank you.
I've put factory software on with CSC. will give it a week and see what happens
 

speed_boy

Senior Member
Dec 6, 2008
133
15
After flashing the patch it is necessary to *FORMAT* (not wipe) the /DATA partition using the FORMAT DATA button under the wipe options.

We are discussing on our russian forum about flashing twrp.
It is possible that we have to wipe DATA first and only then flash patch?
So one guy said that there is only the way he managed to install TWRP. He had errors if tried to follow your steps.

Can you please explain?
Thanks in advance.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 44
    Unofficial release -TWRP recovery for the Galaxy Tab S4 2018 - SM-T830/T835 MSM8998

    teamwin-recovery-project-twrp-logo.jpg




    TWRP 3.2.3-0 Released
    Aug 6, 2018
    TWRP 3.2.3-0 is out now for most currently supported devices.
    What's new in 3.2.3-0:
    * Fix automatic installing of OTA zips on encrypted devices
    * Remove SuperSU from TWRP
    * Support both md5 and md5sum file extensions when doing MD5 checking for zip files
    Want to get notifications when we release new versions of TWRP? Install the TWRP app and select your device!
    We need your help! The bulk of TWRP work is done by a handful of people on a volunteer basis. We have pushed most of our device files to our github and we have a gerrit instance. If you have the ability, please help us maintain our official devices and/or add your device to our official device list. Thanks in advance!
    You can track the progress of builds here





    Update 21/9/2018
    Beta build released.
    Current status - Beta (tested working)
    Treble supported
    Pretty much everything is working except for ADB and MTP at the moment.


    You flash this at your own risk. Please ensure you have the stock ROM to hand downloaded from SAMMOBILE in case of problems. This will trip the knox counter.

    NOTE: ON ANDROID 5.1.1> DEVICES IT IS NECESSARY TO GO TO:
    Settings -> Developer Options -> OEM unlocking
    AND ENABLE OEM UNLOCK FIRST OR YOU MAY ENCOUNTER 'BLOCKED BY FRP LOCK' WHEN FLASHING.



    *****INSTALL INSTRUCTIONS:*****


    Flash with ODIN in the AP slot.


    1. Put your device in DOWNLOAD mode.
    (Hold POWER + VOL DOWN + VOL UP) ]

    2. Run ODIN and uncheck Auto reboot.

    3. Load the file below into the AP slot and hit start.
    twrp_3.2.3-1_t830_26918


    4. After flashing and ODIN reports PASS immediately force reboot to recovery. Do NOT let the device boot to the OS.
    You should now see TWRP recovery.

    NOTE: FAILURE TO FOLLOW THE STEPS ABOVE IMPLICITLY WILL RESULT IN STOCK RECOVERY REPLACING TWRP AT FIRST BOOT.




    *****OREO ROOT INSTRUCTIONS:*****

    Note: A MicroSD card is required to install the files below to your device.

    1. Flash the Forced encryption disabler patch. This is only required if you wish to have full functionality in TWRP.
    Flashing this will disable Samsung's forced encryption. Disabling encryption will allow TWRP to mount the data partition.
    After flashing the patch it is necessary to *FORMAT* (not wipe) the /DATA partition using the FORMAT DATA button under the wipe options.
    PLEASE NOTE THIS WILL DELETE EVERYTHING ON INTERNAL STORAGE AND FACTORY RESET THE DEVICE, SO BACK UP ANYTHING YOU WISH TO KEEP.
    TabS4_oreo_forced_encryption_disabler

    2. To root I suggest installing Magisk as this is a currently supported project, SuperSu is no longer getting active development.
    https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

    3. Enjoy your rooted device.


    DEVICE TREE: https://github.com/ashyx/TWRP_Samsung_GTS4LWIFI


    PLEASE DO *NOT* DIRECT LINK TO THESE FILES. PLEASE LINK TO THIS POST




    Credits: Me, Teamwin, @ianmacd. Huge thanks to Ian for his full support and testing, helping patch the kernel and providing everything needed to get this done.

    Please note I don't own this device and spend a lot of my free time bringing these builds for you to use and benefit from.


    FEEDBACK IS APPRECIATED PLEASE.
    THANKS.


    DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU

    9
    I don't expect this to even boot as I have been forced to use the stock kernel and even if it does there is likely to be problems mounting partitions or accessing certain parts of the file system.
    This is due to Samsung's current kernel source being totally borked causing many compiler errors I have not yet managed to fix.

    Let me be the first to say thank you for this, @ashyx.

    I don't have time to flash it until later in the day, but you mention having to use the stock kernel, so I wanted to point you at my repo of Samsung's kernel source for firmware revision ARGH. Samsung hasn't released the source of a more recent version yet.

    I built this before I even had the device (before it had even been released in Europe, in fact), so it's also untested, but I did fix all of the compile errors before committing it. You can either clone this repo, or just cherry-pick the commit that fixes all of the compile errors (e1af7e420d4d1eb0a3302d65bb1b6e8e54f7f36b). The defconfig is as released by Samsung, so probably needs a number of config options turned off before it will produce a kernel that will even boot as an unofficial build.

    Thanks once again for all of your hard work (often on devices you don't even own).
    5
    Let me be the first to say thank you for this, @ashyx.

    I don't have time to flash it until later in the day, but you mention having to use the stock kernel, so I wanted to point you at my repo of Samsung's kernel source for firmware revision ARGH. Samsung hasn't released the source of a more recent version yet.

    I built this before I even had the device (before it had even been released in Europe, in fact), so it's also untested, but I did fix all of the compile errors before committing it. You can either clone this repo, or just cherry-pick the commit that fixes all of the compile errors (e1af7e420d4d1eb0a3302d65bb1b6e8e54f7f36b). The defconfig is as released by Samsung, so probably needs a number of config options turned off before it will produce a kernel that will even boot as an unofficial build.

    Thanks once again for all of your hard work (often on devices you don't even own).
    Ah good stuff.
    Yep most of them were include and tracepoint errors. Had pretty much fixed most of them by the looks of it, but got fed up after a while and got stuck at multiple tracepoint defines errors.

    Honestly sometimes Samsung just release any old rubbish source code just to comply with the GPL.
    No way is this the actual source code used in the stock kernel.

    Many thanks for the link to the kernel source. I'll ensure you get some credit for the commits.
    4
    Honestly sometimes Samsung just release any old rubbish source code just to comply with the GPL.
    No way is this the actual source code used in the stock kernel.

    Yes, I wouldn't be a bit surprised if we're never able to produce a bootable custom kernel for this device, as with the Tab S3. Once we have TWRP up and running, however, I shall certainly give it my best shot.
    4
    Sorry, I was rushing out the door and keen to answer you before I left. As soon as I was outside, I remembered what you had written about expecting file-system access to be impaired.


    Sent from my SM-G965F using XDA Labs
    Ok have recompiled TWRP with the patched kernel and created a patched boot to disable dm-verity and a flashable zip to disable forced encryption.

    twrp_3.2.3-1_t830_test_r2

    To disable forced encryption, mount internal storage(DATA) and disable dm-verity:

    1. Install the patched boot below. This can be installed with ODIN or extract the boot.img and flash with TWRP:

    T830XXU1ARH8_dmverity_patched_boot

    2. Boot to TWRP

    3. Install the Forced encryption patch: TabS4_oreo_forced_encryption_disabler

    4. Format DATA using the *FORMAT DATA button* under the wipe options.
    (NOTE - THIS WILL WIPE ALL INTERNAL STORAGE!)

    5. Reboot and check DATA is mountable

    Done.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone