yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Android Development] ashyx:
It seems so. I had done a little research afterwards and it seems that encrypting the data partition also causes the device to do an integrity check of the device. Obviously for security reasons.
[Galaxy Tab S2 Android Development] camdadeye291:
[MENTION=4899305]ashyx[/MENTION] greetings brother, I am using an SM-T810 and MTP is not functioning for me. I have tested on multiple PC's with Windows 10 x64 and Windows 7 x64. I am certain I have everything configured correctly. I have tried with both MM and N firmware installed.
[Galaxy Tab S2 Android Development] savagepagan:
Should I stay with Marshmallow rooted or upgrade to Nougat and root for the T713?
[Galaxy Tab S2 Android Development] nostupidthing:
T713 is entirely different check other thread
[Galaxy Tab S2 Android Development] ianmacd:
I'm struggling to get my T710 running Nougat and rooted. The device was rooted and running MM 6.0.1 until today.

I first flashed Nougat (T710XXU2DQCL_T710PHN2DQD2_PHN) with Odin and the device rebooted into Android with no problems.

I then used Odin to flash TWRP and booted into recovery. Again, no problems. Everything looked great.

However, when I use TWRP to flash SuperSU and reboot, the device cycles a couple of times as expected, but then gets stuck at the pulsing Samsung logo.

I made another attempt, this time flashing the dm-verity ZIP before flashing SuperSU, but that made no difference.

Am I missing something obvious here? This is how I've rooted other devices (including this device from Lollipop to Marshmallow), so I'm not sure what, if anything, I'm doing wrong this time.

Thanks in advance.
[Galaxy Tab S2 Android Development] ashyx:
SuperSU version?
[Galaxy Tab S2 Android Development] ianmacd:
2.79 SR3.

That's the one my other devices run and the only version I'd dare install at the moment, given the current problems with 2.80 and 2.81.
[Galaxy Tab S2 Android Development] ashyx:
I take it you can boot again by restoring your boot image backup?

Can you do the process again in twrp, save the recovery log then post the file?
[Galaxy Tab S2 Android Development] ianmacd:
Yes.

No problem. Thanks for your help.

The log is attached.

I see a couple of SuperSU-related errors in there, but I've no idea which are abnormal. No errors are displayed during flashing, at least.

I really appreciate your assistance. Thanks again.
[Galaxy Tab S2 Android Development] ashyx:
The error seems to be the boot image is too large:

- Flashing boot image

dd: writing '/dev/block/mmcblk0p9': No space left on device

3585+0 records in

3584+0 records out

14680064 bytes (14.0MB) copied, 0.077250 seconds, 181.2MB/s

The problem is likely because nougat requires extra patching in the boot image making the image oversize.

You should maybe try Magisk instead.
[Galaxy Tab S2 Android Development] ianmacd:
Hmm, there seem to be other people in this thread who have rooted one of these tablets running Nougat using SuperSU. How did they do it?

I'll look into Magisk in the meantime.

Cheers.
[Galaxy Tab S2 Android Development] ashyx:
Because they were probably using an earlier nougat build. The boot image size changes depending on what changes Samsung make to it.
[Galaxy Tab S2 Android Development] ianmacd:
OK, so that would be an option, too.

However, all things considered, I think I'd rather run Magisk than be stuck running the last Nougat firmware for this device that was compatible with SuperSU; even if that means that apps like CF.lumen no longer work.

Thanks for pointing me in the right direction.
[Galaxy Tab S2 Android Development] ianmacd:
Magisk works, I can confirm.
[Galaxy Tab S2 Android Development] Sraichvold:
Hi folks. I'm having a hard time getting TWRP installed on my stock and rooted T710. I've tried a bunch of versions of Odin, but they all get stuck on "NAND Write Start!!" Does anyone know how I can resolve this? Thank you in advance!
[Galaxy Tab S2 Android Development] wirelesskebab:
Hi ashyx,

Just wanted to confirm that the same fixes listed in the S2 (2016) TWRP thread are the same for the 2015 edition (here), such as ADB being functional from TWRP?

Thanks for your hard work!
[Galaxy Tab S2 Android Development] Squuz:
My mistake, I got it now. Thanks
[Galaxy Tab S2 Android Development] ashyx:
Finally got my device tree up. This should be a working tree and compiles with Omni 5.1 sources.

https://github.com/ashyx/android_device_samsung_gts210wifi-

Compiled binary built from device tree: https://www.androidfilehost.com/?fid=24052804347829364
[Galaxy Tab S2 Android Development] hurray:
It flashes and boots very well but the touch controls are swapped (like in the first versions of Twrp for the TabS 2).
[Galaxy Tab S2 Android Development] ashyx:
Whoops forgot to add the touch swap flags.

Thanks for confirming though!

https://www.androidfilehost.com/?fid=24052804347829364
[Galaxy Tab S2 Android Development] hurray:
Thanks for the new version! Now it runs very well: I made a full backup to the external sdcard with success.
[Galaxy Tab S2 Android Development] T_I:
Thanks, although the 5.0.2 version didn't start/wasn't recognized. Installing the ll 5.1.1 TWRP version worked.
[Galaxy Tab S2 Android Development] ashyx:
Wasn't recognised? Already confirmed working.

The 5.0.2 version is for 5.0.2 only.
[Galaxy Tab S2 Android Development] T_I:
I'm just reporting what happened, installed the 5.0.2 twrp, installed root-cf, rebooted, device worked and was rooted, reboot to recovery and hang on Samsung screen. Only thing I can think of I did wrong was not to reboot between the flashes, having the first not being activated/installed correctly. I installed the 5.1.1 capable TWRP on my 5.0.2 Tab S2 and that one works like a charm.

My tablet is 5.0.2. (Still is, waiting for a cm version to start messing about with it a bit more)
[Galaxy Tab S2 Android Development] ashyx:
It didn't work because you installed cf_autoroot afterwards. This wipes any custom recovery and replaces it with stock.
[Galaxy Tab S2 Android Development] workdowg:
Bumping a 2 month old thread... Although this is THE way to get TWRP installed on our device.

Question: Is adb not working with this port of TWRP? I have not issues in Android itself...

Thanks!
[Galaxy Tab S2 Android Development] ashyx:
ADB is the one thing I couldn't get working. I tried everything I could think of, no idea why. It seems to be related to the kernel itself.
[Galaxy Tab S2 Android Development] RedBullet:
sorry to ask here. I got the T810 and want to get on this!

My question is, do I first need to unlock the bootloader? Or is it already unlocked?

Thanks in advance!
[Galaxy Tab S2 Android Development] ashyx:
No bootloader isn't locked on t810
[Galaxy Tab S2 Android Development] bynarie:
no luck getting twrp to stick. flashed with odin, powered off tablet. booted directly into TWRP, rebooted into android and attempted to boot back into twrp again and it was replaced with stock recovery.
[Galaxy Tab S2 Android Development] ashyx:
Uncheck the read only box in twrp.
[Galaxy Tab S2 Android Development] ThaiDai:
Added this recovery to my new T715. Thanks a lot. With this I could start to build my custom rom based on stock. Hope to have this one in the next few days.

Your support for this device/forum is really good.
[Galaxy Tab S2 Android Development] bynarie:
Yea, I figured it out. Thanks!
[Galaxy Tab S2 Android Development] nirvana97:
Hi, currently Using a T715Y model. Does the T715 TWRP work for this model (because of the letter difference. Ik it may sound crazy but just making sure I'm doing it properly.)

:)
[Galaxy Tab S2 Android Development] ashyx:
Will be fine.
[Galaxy Tab S2 Android Development] Mischa42:
Hi ashyx,

Thanks a lot. I did successfully installed TWRP 2.8.6.3 on my Galaxy Tab S2 (T815) with Android 5.0.2! Great work, much appreciated! :good:

Cheers,

Mischa
[Galaxy Tab S2 Android Development] Lambetts:
Am I right to say, as it happened with my Note 5, that you will get boot loops if you try and use stock kernel as it sees if the system partition has been seen or written too? If on 5.1.1 we have to use a custom kernel.

I haven't found any, or many if I've missed them, kernels for the Y variant? Really would like to crank this baby up a bit, root and maybe even get stock CM running. Please link if I've missed anything.

Thanks guys!
[Galaxy Tab S2 Android Development] bhale:
First timer with a T710 here. How do I install TWRP?

I have Odin3 v3.12.3 and twrp_3.1.0-1_sm-t710_13317 downloaded. Tablet is running Nougat (7.0). I tried flashing TWRP with Odin, but I only have one file for installing TWRP. Do I need a stock firmware version to use also?

Edit: So apparently I needed to uncheck the auto reboot in Odin. I flashed TWRP and installed supersu. What do I do to check to make sure I am set?
[Galaxy Tab S2 Android Development] noratroll:
What exactly is your question? After you've figured out to remove the checkbox "Auto Reboot" the TWRP is accessible - the only thing to do: Reboot manually into TWRP after the Odin-Flash. From now on you can use TWRP to flash whatever you want.

Or do I missunderstand your Question?

Regards, Nora
[Galaxy Tab S2 Android Development] nikomaniaC:
I have a sm-t710 running 7.0 and I want to root it. So I need to flash the latest twrp found in this post using odin and then flash magisk? Also, should I use magisk or supersu? I know my questions have been answered 100 times but I'm lost because I dont know whats compatible with my device
[Galaxy Tab S2 Android Development] ianmacd:
In my experience with 7.0 on the T710, you should use Magisk. Flashing SuperSU onto my device caused it to fail to boot. This was never a problem prior to 7.0. Flashing Magisk was not my preference, buy it worked and the device has been running reliably ever since.
[Galaxy Tab S2 Android Development] nikomaniaC:
The thing is that I just flashed magisk and its not working or to say it better, Im doing something wrong. What I did was to flash magisk, install magisk manager and it says everything is ok but when I use "rootChecker" it says that the device is not properly rooted and on top of that I cant pass safety net check while the device is completely stock. What am I missing?
[Galaxy Tab S2 Android Development] ianmacd:
Occasionally, my T710 thinks it has lost root. After a reboot, it's fine again. I'm not sure what's going on there.

Other than that, though, Magisk 12 has worked fine since the moment I installed it. Flashing it certainly presented no difficulties..

Previously, I used SuperSU on all my devices (including this one when it was running Lollipop and Marshmallow), but that just wouldn't work on Nougat on this device.

Not passing SafetyNet is standard behaviour, even on stock firmware. You need to go into Magisk Manager's settings and turn on Magisk Hide.
[Galaxy Tab S2 Android Development] NeWONEx:
Anyway to fix this issue ?
[Galaxy Tab S2 Android Development] romeomike:
SM-T810 on 7.0. installed twrp 3.1.0-1 and then rooted with SuperSU v2.82 SR1.

No problems. Camera and MPT work fine.:good:
[Galaxy Tab S2 Android Development] motorrad:
SM-T815 on Android 7

Wlan is not working after flashing TWRP twrp_3.1.0-1_sm-t815_13317.tar

Any Idea ?
[Galaxy Tab S2 Android Development] pluto123:
What ROM version are you using??
[Galaxy Tab S2 Android Development] motorrad:
T815XXU2CQCL_T815OXA2CQCL_T815XXU2CQCL_HOME.tar.md5
[Galaxy Tab S2 Android Development] ashyx:
I highly doubt TWRP is causing the issue. Which version of SuperSU did you flash?
[Galaxy Tab S2 Android Development] andyroidking:
I had the same issue flashing 7.0 because I was using an older SU version....

https://xdaforums.com/showpost.php?p=71796592&postcount=31

https://xdaforums.com/showpost.php?p=71826338&postcount=36
[Galaxy Tab S2 Android Development] motorrad:
newest

I have made a clean Install afterwards and it works fine

THX
[Galaxy Tab S2 Android Development] khenault:
I followed the directions to the letter, now I can only boot to the splash screen, or the downloading screen. Any suggestions on how to recover?
[Galaxy Tab S2 Android Development] carcotashul:
Root problem

I have the 815 with 7.0

I flash twrp and installed supersu

Rootcheck it says this is rooted

I try to install multi window from market and the app requires root, but when i open the app it says that the device is not rooted

What should i do ?
[Galaxy Tab S2 Android Development] ashyx:
Contact the author and get him to update his app to work properly with systemless root or use the XBIN compatibility mode.
[Galaxy Tab S2 Android Development] vuvuxela:
Thanks ashyx.

I just updated my 710 to latest Canada version 7.0 via odin, then follow your instruction to flash the TWRP recovery.

It just work, thanks.
[Galaxy Tab S2 Android Development] paul8m3:
My 810 with 7.0 is not rooted yet. I assume I must use Odin, since flashfire only works on rooted devices. Is this correct? I have odin, I just want to make sure there is not an easier way.
[Galaxy Tab S2 Android Development] pmeler:
Hi All...

I am using SM-T810, 6.0.1, T810DBT2CPK1.

I have I have successfully flash twrp_3.1.0-1_sm-t810_13317 and then manually enter TWRP.

But while in TWRP, my phone just shutdown by it self (about 30 seconds after entering TWRP).

I power it up and enter TWRP again and same thing happened.

I also tried twrp_3.0.2-1_sm-t810 with same result.

Any idea???
[Galaxy Tab S2 Android Development] andyroidking:
Silly question... Are you sure the screen didn't just shut off? It is set to do that in recovery. Had to ask....
[Galaxy Tab S2 Android Development] pmeler:
No, the phone is SHUT OFF. I also tried disable screen timeout setting in TWRP but the result is the same :(

btw, I have no OEM Unlocking option in my Developer options, so I just checked USB debugging.
[Galaxy Tab S2 Android Development] ashyx:
Are you sure it's actually shutting down and not just turning the display off? Twrp turns the display off after a set amount of time.
[Galaxy Tab S2 Android Development] pmeler:
Yes, I'm 100 sure. When the screen turn off, I tried press any & every button but nothing happened. The I press power button along time and the phone boot again.

Anyway, I flash the stock rom again (T810XXU2CPK1_T810DBT2CPK1_DBT) and then flash twrp_3.1.0-1_sm-t810_13317 again and still same result.

my temporary solution is to flash TWRP-T810-3.1.0 by schwabe93 (in hurry before the phone shutdown), and this shutdown problem doesn't occur in schwabe93 version.

I'm using Galaxy Tab S2 9.7 Wifi
[Galaxy Tab S2 Android Development] ashyx:
SM-T817R4 test build:

https://androidfilehost.com/?fid=817906626617948144
[Galaxy Tab S2 Android Development] w0rdie:
Worked flawlessly. Thanks!

Also... I realize that this is a weird SKU not to mention a dated device - and won't get broad love but having this access makes a big difference to me. Donation inbound.
[Galaxy Tab S2 Android Development] k0ster:
Dear, ashyx

Could you help me please with stock recovery.

I already rooted my devices (SM-T813 and SM-T819) and now i need recovery without file manager, but when i flash stock recovery, then dm-verity error is occured.

What i should do to save tuned firmware and lock file manager in recovery?
[Galaxy Tab S2 Android Development] ashyx:
You need the recovery build that matches your firmware build.
[Galaxy Tab S2 Android Development] k0ster:
My flashing algorythm:

1. Flash stock firmware.

2. Flash twrp and supersu

3. Install apps and setting it up to me.

4. Flash recovery from stock FW.

5. DM-verity error.
[Galaxy Tab S2 Android Development] ashyx:
The DM-VERITY error is likely due to your modified boot partition. You would need to remove the dm-verity check from the recovery image.
[Galaxy Tab S2 Android Development] k0ster:
I don`t know how to do that.

Could you help me please?
[Galaxy Tab S2 Android Development] ashyx:
Post the recovery image you are using.
[Galaxy Tab S2 Android Development] k0ster:
Files are too large for attach. Links here:

SM-T813 stock recovery link

SM-T819 stock recovery link

Thank you very much :)
[Galaxy Tab S2 Android Development] ashyx:
Which device do you have?
[Galaxy Tab S2 Android Development] k0ster:
Both of it. (813 and 819)
[Galaxy Tab S2 Android Development] megamb11:
Do you have a link to the custom kernel?
[Galaxy Tab S2 Android Development] ripee:
[MENTION=4899305]ashyx[/MENTION], could you please update your repos with the android-7.1 branch, or whichever one you used to build version 3.1, specifically the one for T810? I'm trying to figure out how to properly configure my BoardConfig.mk to build it myself, but it never works. I'm using the official LineageOS gts2 kernel from branch 14.1, which I am able to compile without problems.
[Galaxy Tab S2 Android Development] k0ster:
Dear ashyx,

Do you have any information for me about stock recovery dm-verity patch?

Thanks.
[Galaxy Tab S2 Android Development] ashyx:
I'll come back to you, hopefully tomorrow on my day off
[Galaxy Tab S2 Android Development] ashyx:
Just use whichever branch you need. If you're building for Nougat then use Android 7 branch.

The configuration stays the same regardless apart from changing the kernel and DTB.
[Galaxy Tab S2 Android Development] ripee:
With all due respect, if it were that easy, I wouldn't be getting this error:

build/core/config.mk:655: COMMON_GLOBAL_C(PP)FLAGS changed
[Galaxy Tab S2 Android Development] ashyx:
Likewise with all due respect returned, I have built every update with the same tree.

However I use Omni sources not CM or Lineage.

For Lineage you need to change certain flags.

You should consult the documentation for this.
[Galaxy Tab S2 Android Development] ripee:
deleted
[Galaxy Tab S2 Android Development] jager27:
Dear all,

I have a T815Y. It came with a stock rom that is customised for a local carrier (T815YTEL2CQI5) and I want to replace it with the standard stock rom (T815YXSA2CQI5). I haven't rooted it or installed any other custom rom.

I installed TWRP so I could take a backup of the existing system, but didn't know I should back up the boot image first. So now, as it understand it, it has the modified boot image which means installing another stock rom may cause the dmverity error.

Is it safe to install the standard stock rom, and if it causes the dmverity error is there a way around it? I've seen references to "no-verity-opt-encrypt" but don't know if it would work.

Also, will having TWRP break OTA updates on the stock rom?

Thanks a lot.
[Galaxy Tab S2 Android Development] ashyx:
If you have done a full backup then you will already have a backup of the boot image. Not sure why you state you need to make a backup of the boot image, what has modified it?
[Galaxy Tab S2 Android Development] jager27:
Sorry, I think I used the wrong terminology? It's the recovery partition.

I did a full backup after installing TWRP. I just need to know if I flash the alternative stock ROM now, is it going to overwrite TWRP with the stock recovery and go back to a completely vanilla system?

Or if flashing stock rom still retains TWRP in the recovery partition, will it trigger dm-verity?

Thanks.
[Galaxy Tab S2 Android Development] ashyx:
Installing any stock rom will overwrite the recovery partition. You just need to flash with ODIN.
[Galaxy Tab S2 Android Development] lahegry:
I have the tab s2 8.0 t710, 3.2 is registering wrong touch points, is it just me. Can't get it to register the right part of the screen that I touch
[Galaxy Tab S2 Android Development] ripee:
Can you be more specific? Are the touch points consistently off in any particular direction relative to how you're tapping? For example, does the screen always register a tap to the left of your finger on the entire screen surface?
[Galaxy Tab S2 Android Development] lahegry:
That's the thing, it's not consistent. I was unable to get it to work consistently enough to even get a good feel of what was going on. I just reinstalled the previous twrp.
[Galaxy Tab S2 Android Development] ripee:
I figured it out! I added the TWRP flags necessary to orient the X and Y axes to match the landscape mode of the interface in the gts2-common repo, but gts28wifi's device tree repo is the only of the 4 Galaxy Tab S2 2015 variants to have those same flags as well. This means that the orientation is flipped by one set of flags but then reversed back to portrait orientation by the other set of the flags :D

Edit 2: Perhaps it's not the doubling of the X and Y flags, but that gts28wifi was the only device tree that didn't also include the TW_THEME := landscape_hdpi flag in addition to the X and Y. It seems that, if a device tree contains all 3 of these flags, or none at all, it orients properly. Either X and Y without theme, or theme without X and Y, reverses it back to the unintended orientation.
[Galaxy Tab S2 Android Development] lahegry:
Sweet, thank you for the new incoming build!!!
[Galaxy Tab S2 Android Development] ripee:
Revised build is up :good:
[Galaxy Tab S2 Android Development] ashyx:
Can you move this to your own thread please.
[Galaxy Tab S2 Android Development] ripee:
Sure, later today.
[Galaxy Tab S2 Android Development] halloarno:
And maybe create a thread for your lineage rom too? It's a fine rom, working Netflix :), and daily updates. It deserves it's own thread. And people can find it more easy.
[Galaxy Tab S2 Android Development] shpitz461:
Hi ashyx, TWRP 3.2.0.0 just came out, and I don't see it available on the twrp website.

I'm having issues with 3.1.0.1 where a backup would freeze, sometimes almost at the beginning, sometimes in the middle, but it's inconsistent, so I'd like to try with 3.2.0.0.

Thanks!

EDIT: This freezing happens with compression turned on, and i noticed that the CPU temp is going up rapidly, over 70c.
[Galaxy Tab S2 Android Development] k0ster:
Hello, ashyx.

Do you have any positive result about my question? :o

Hope that answer is "yes" :fingers-crossed:

Thanks.
[Galaxy Tab S2 Android Development] ashyx:
Whoops, apologies forgot to come back to this. I'll get on it as soon as.
[Galaxy Tab S2 Android Development] ashyx:
Try these out, I have removed the dm-verity check.

https://androidfilehost.com/?fid=962021903579497421

https://androidfilehost.com/?fid=817906626617951612
[Galaxy Tab S2 Android Development] k0ster:
Hello, ashyx.

Thank you so much, but no success. :crying:

The same message: "dm-verity verification failed..."

Could you check please? May be something missed?
[Galaxy Tab S2 Android Development] ashyx:
Where exactly do you see this message. In recovery or when booting up?
[Galaxy Tab S2 Android Development] k0ster:
In recovery.
[Galaxy Tab S2 Android Development] ashyx:
The thing is if you've modified the system partition in anyway, even TWRP modifies the system partition then you will always get the dm-verity notification.

Only way to get rid of it is to be completely stock.

However even with the dmverity warning in recovery the device should still boot as long the boot image is patched to remove the dmverity check.
[Galaxy Tab S2 Android Development] k0ster:
Ok, i understand.

Another question: could we remove file manager from twrp?
[Galaxy Tab S2 Android Development] ashyx:
Probably, but it would need some XML editing and even if it was anyone could still use adb to access the file system.
[Galaxy Tab S2 Android Development] shpitz461:
Why remove file manager? I use it all the time...
[Galaxy Tab S2 Android Development] k0ster:
Ok, Thank you very much. :good:

I will try this method.

Could you recommend me a tool for recovery packing?
[Galaxy Tab S2 Android Development] tripLr:
Mod Edit: removed quote

I'm doing backups of my critical apps and a full backup in twrp before I do this. So probably tomorrow. Have to upload a 1.8 GB app to cloud and then to a drive.

Thanks
[Galaxy Tab S2 Android Development] tripLr:
It flashed, and loaded

Touch screen not working

Thanks
[Galaxy Tab S2 Android Development] ashyx:
Mod Edit: Removed deleted quote

I'm really must ask that you start creating your own threads and posting there.

I understand your motives for posting in this thread, however Irrespective of whether something works or not, all threads in this section are development threads and any bug busting and support issues can be addressed and handled in your own thread.

Thanks.