yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Android Development] mocsab:
Can't Boot into TWRP - T813

I originally had trouble installing TWRP on my new S2 - purchased in Jan 2017 - tried four different ODINs and while they all seemed to flash correctly, stock recovery was still installed after flashing.

I finally tried Odin 10.06 - and success! Flashed - rooted - all is good....funny, I have never had that happen before - but glad I got it working.
[Galaxy Tab S2 Android Development] justibasa:
I have the tab 2 T818T, the T-Mobile version with the Snapdragon processor. Will root for any of these devices work for it, or am I going to need to wait? Thanks.
[Galaxy Tab S2 Android Development] downtownscience:
Working on SM-T713 w/ Android 6.0.1

Just wanted to say thanks for your work and let you know it all went down very smoothly.

I received an SM-T713 (US) running Android 6.0.1 today. Read the thread until I felt comfortable.

1. Did this first after the initial setup. Didn't test with this setting disabled.

Settings -> Developer Options -> OEM unlocking

AND ENABLE OEM UNLOCK FIRST OR YOU MAY ENCOUNTER 'BLOCKED BY FRP LOCK' WHEN FLASHING.

1. TWRP install with ODIN went off without a hitch. I formatted data as instructed. I could mount data, see the data, and run a backup.

System sat at Samsung boot logo after first boot (post TWRP install) until....

2. Copied the boot image patcher and SU installer to an SD card. Mounted and installed with TWRP. No errors. Booted quite fast actually.

I'm not having any issues.

Only thing I've noticed is that a) the system update that I was being prompted to install is no longer awaiting install. b) device requires a reregister when attempting to pull down the new update. c) registration completes but won't allow for "manual" updates because when it checks it comes back with "operating system has been modified in an unauthorized way", "try downloading updates using Smart Switch on your computer". I haven't tried "Smart Switch" yet.

When I setup the tablet initially I didn't enable/configure KNOX which was an option instead of something that runs behind the scenes and annoys you!

Thanks again for your expertise!

EDIT TO UPDATE: Downloaded and installed Samsung Smart Switch for PC. Connected tablet, PC installed new drivers, software detected firmware version and determined an update was available. Allowed the update to download and install. Install happens in ODIN/Fastboot mode. All recovery, boot image patch, and SU go away. You can put it all back the way it was by simply following the directions again. All files produce the same results on the updated version of 6.0.1 with security patch dated 12/1/16 (Build PK6)
[Galaxy Tab S2 Android Development] toddnbrown:
I bought a T813 from Best Buy last night, open box deal. Brought it home, fired it up, and the google account lock thing is keeping me from being able to use the tablet. Took it back, they didn't have a clue. One guy told me to call google, which I did.. to no avail. What should I do? I could just return it, but that's the only open box deal they had.
[Galaxy Tab S2 Android Development] samyd:
Hello,

I bought a T713. I was able to install twrp with odin. But after booting to recovery mode there starts always the Android bootloader? Where is the mistake? How can I enter to twrp and install SU?
[Galaxy Tab S2 Android Development] davidapease:
I have read the the posts in this thread, and the OP several times, and still have a question: If I don't care about the encrypted data partition (so I won't reformat Data), do I still need to flash the no-verify-no-encrypt file?

Thanks! -David
[Galaxy Tab S2 Android Development] ashyx:
No.
[Galaxy Tab S2 Android Development] Zargon335:
Installed earlier today without a problem. Thanks [MENTION=4899305]ashyx[/MENTION]!
[Galaxy Tab S2 Android Development] JReeher:
I've installed twrp and downloaded both required zips but I can't seem to access the zips in recovery can someone help me out
[Galaxy Tab S2 Android Development] jhill110:
Where did you download the zips to?
[Galaxy Tab S2 Android Development] JReeher:
Into my internal storage
[Galaxy Tab S2 Android Development] jhill110:
In twrp hit install and navigate to SDCARD. Look there and in download. Should be in one of those places.
[Galaxy Tab S2 Android Development] JReeher:
Nope now I messed something up and odin keeps failing
[Galaxy Tab S2 Android Development] ashyx:
You can't mount internal storage in TWRP, that's what the no-verity-no-encrypt_ashyx is for.

You need to copy to sdcard, otg or adb sideload.
[Galaxy Tab S2 Android Development] JReeher:
I can't find a file explorer that will allow me to move it to my SD card without being rooted
[Galaxy Tab S2 Android Development] ashyx:
You shouldn't need root to move stuff from internal to external storage.

Even the stock file manager can do that.

Try root explorer or Es file Explorer or just use Windows to copy it to the sdcard.
[Galaxy Tab S2 Android Development] nk33:
LoL. Why dont you just take the sd card out, use a card reader to copy it in windows, then put the card back in
[Galaxy Tab S2 Android Development] piezan:
818T?

Hi guys, I just bought a tmobile tab s2 T818T that i am regretting because i cant root it. could this work for that, it has the snapdragon cpu
[Galaxy Tab S2 Android Development] justibasa:
I've actually asked a couple of times about the T818T in this thread and have never got an answer. The only reason I want TWRP is for adoptable storage, and to maybe debloat a bit. Still love the tablet. Hoping it gets nougat.
[Galaxy Tab S2 Android Development] ashyx:
As far as I'm aware the T818T is just the Tmobile version of the T819.

All specs are the same.

It's highly likely that TWRP will work just fine.

Your stock firmware is available so you have nothing to lose by flashing TWRP.
[Galaxy Tab S2 Android Development] justibasa:
Guess I'll give it a try after work. Thanks dude.
[Galaxy Tab S2 Android Development] piezan:
i am trying to flash 819 now and having no luck, it just keeps failing. I have oem unlocked and usb debugging.

I forgot to uncheck autoroot i may be good, will get back shortly
[Galaxy Tab S2 Android Development] justibasa:
Fingers crossed dude. :victory:
[Galaxy Tab S2 Android Development] piezan:
100 percent working on tmobile t818t when using 819
[Galaxy Tab S2 Android Development] justibasa:
Now I'm excited. Can't wait to go home and get this done on mine. May have just had a tiny orgasm. :laugh:
[Galaxy Tab S2 Android Development] piezan:
:laugh: i did i almost lost hope last night!
[Galaxy Tab S2 Android Development] Danilynne:
Dangit, i am having the same problem, but that Odin did not work either, hmm:confused::confused:
[Galaxy Tab S2 Android Development] mocsab:
I don't know why it was so hard to get thigns to take,*but one thing I*thought my might effect it - this is going to sound strange - is how you get to Download mode. Seems to me that when I booted into DOWNLOAD*mode after the tablet was completely turned off, and then connected to odin to flash - it worked. IN otherwords,*turn off tablet. Then hold home, power and vol down to get to download - don't do the three finger boot with the tablet powered on.

I may be wrong - but I seem to recall that is the sequence I did when it finally flashed correctly. Hope this helps...hope it works for you.
[Galaxy Tab S2 Android Development] Danilynne:
I'll try it, thanks..no..

OMgosh i am so frustrated it won't stick, ive tried every odin. I just got it today and it software updated, i'm thinking that's why. What firmware do you all have?

T713XXU2APK6
[Galaxy Tab S2 Android Development] Danilynne:
Anyone have any ideas why twrp won't stick?:confused:
[Galaxy Tab S2 Android Development] ashyx:
Neither of you are actually paying attention to the install instructions.

This gets a little tiresome for me as I have to repeat this over and over again.

Auto-reboot must be disabled.

IMPORTANT! When odin gives a Pass after flashing you must IMMEDIATELY use the 3 button combo to boot to recovery.

That means do NOT allow the device to boot to the OS.

If the instructions are not followed to the letter then twrp will get replaced by stock recovery.
[Galaxy Tab S2 Android Development] jshamlet:
Wow, that was the second easiest root I've ever done - with only the Nexus 7 being easier. Nice work! :)
[Galaxy Tab S2 Android Development] Danilynne:
Sorry ashyx. Your right I did not follow the directions. :eek:
[Galaxy Tab S2 Android Development] Adeptius:
SM-T819

Could not mount /data and unable to find crypto footer

Failed to mount '/data' (Invalid argument)...

I cant do backup. Size of data partition is zero.
[Galaxy Tab S2 Android Development] ashyx:
Correct.
[Galaxy Tab S2 Android Development] Adeptius:
Sorry, i see :)
[Galaxy Tab S2 Android Development] hast:
Installed this last night on my 813. Working flawlessly. Thank you very much for your time and effort in creating this. Enjoying the ability to customize afforded by N and RR.
[Galaxy Tab S2 Android Development] ashyx:
Your welcome thanks.
[Galaxy Tab S2 Android Development] yumao.kao:
twrp for t719c

Hi, I just make a twrp_3.0.3-0 for T719C and could flash supersu into.

The recovery is based on ashyx's gts28ve kernel and TWRP tree for gts28ve.

Thanks you ashyx and luk1337. :good:

Everything is identical except use msm8976_sec_gts28velte_chn_defconfig instead.

Hope it helps :)
[Galaxy Tab S2 Android Development] java8769:
Thank god！！！

I'll try my t719c as soon as possible, Hope it is useable!:D:D:D
[Galaxy Tab S2 Android Development] java8769:
It worked for me :good:

I just did it to my T719C with TGY rom, and thank u again cause i bought it three days ago and luck to be the first:laugh:
[Galaxy Tab S2 Android Development] johnnytraveler:
Thanks. Thanks. Thanks.

That was easy, especially with the walkthrough. Even for an old guy like me who's rusty on flashing.

So I'm running stock rooted rom on my 713. What rom's are you guys running that's light, debloated and fast? I intend to use the tab for mostly web browsing, watching videos, reading ebooks and some games.
[Galaxy Tab S2 Android Development] vshapke:
Thanks for your work on this! Ive installed TWRP on my brand new 819Y.

Am i right in thinking any update functions can now be disabled as to update we will need to flash with odin?
[Galaxy Tab S2 Android Development] billking13:
Mine is sm--T713 and Odin keeps failing after I press start, I have Debugging mode on and I want to root my device. I am wondering how I can fix it.
[Galaxy Tab S2 Android Development] hybris91:
Hello,

Recovery work great with news TAB S VE SM-T813 and Root is OK .... thanks very well .....
[Galaxy Tab S2 Android Development] ashyx:
Can you post the screen shot?
[Galaxy Tab S2 Android Development] Kivansh:
I have sm-t713 I put the latest supersu which is 2.79v then I flash the two with odin 3.10.7 after that tarp opened on my tab s2 but I can not found the folder of supersu and also memory or something like that always read (0)
[Galaxy Tab S2 Android Development] ashyx:
You need to put it on your sd card not internal memory.
[Galaxy Tab S2 Android Development] Kivansh:
do you mean i buy new SD card and insert it inside the tab or something in the system.. im too brand new to this so i hope you can help me with my question sir.
[Galaxy Tab S2 Android Development] ashyx:
Yes, you will need a microsd card or you can use adb sideload.
[Galaxy Tab S2 Android Development] Kivansh:
so first thing i do i put the latest SuperSU which is 2.79v inside tablet(from pc to phone) then flash TWRP MS-t713 then go to download mode after that restart it and go to that page called taewan something like this. then go to install and it will show supersu and install it and thats it? is it okay you can write the steps more clear for beginners or a video i tried to look up on youtube but none could help. i will really appericate that with a donate :D
[Galaxy Tab S2 Android Development] ashyx:
Update: TWRP 3.1.0.-1 released.
[Galaxy Tab S2 Android Development] Grop:
My tab is already rooted and the previous version of TWRP (3.0.2.-1) is installed. Can I install this version just by booting in twrp and then install this tar-file?

Thanks for your great work.
[Galaxy Tab S2 Android Development] ashyx:
Extract the recovery.img from the tar file and flash with TWRP.
[Galaxy Tab S2 Android Development] Grop:
If I start up in TWRP I choose Install Image, select recovery.img and then I have to select a partition: Boot or Recovery or System Image.

Maybe a stupid question (I am just an elderly amateur) but which one is the correct partition?
[Galaxy Tab S2 Android Development] Windsor1959:
Recovery!

BTW, I have found that the only stupid question is the one that should have been asked, but I was too proud to ask it...
[Galaxy Tab S2 Android Development] justibasa:
Maybe someone can help me. Did a factory reset in TWRP. Tried to reboot and now it will only reboot into recovery. Will not reboot to system. I cannot find official firmware to go back to stock and smart switch does not recognize my device. I have the T-Mobile T818T. I could really use some help.
[Galaxy Tab S2 Android Development] ashyx:
It will take at least 10 mins to boot to system after factory reset.
[Galaxy Tab S2 Android Development] justibasa:
It won't even try to boot to system. It boots directly back to the recovery if I try to boot to system, or power off.

Edit: I'm uploading a video to YouTube for you. I'll post it in a minute.

Edit2: Here is a video of what I'm dealing with. [youtube]uc7hI1t_IKM[/youtube]
[Galaxy Tab S2 Android Development] justibasa:
Any suggestions on what I can do?
[Galaxy Tab S2 Android Development] jhill110:
It's interesting smart switch doesn't see it. Does ADB recognize it?

ADB Devices
[Galaxy Tab S2 Android Development] justibasa:
ADB does recognize it. I just tried. Is there anything I can do with ADB?
[Galaxy Tab S2 Android Development] LouK:
Did you (can you) boot into download mode?
[Galaxy Tab S2 Android Development] justibasa:
Yes I can not into download mode. But I can't find the tar file for my device.

I just want to Odin back to stock now.

Edit: Finally got back in. Reflashed recovery and SuperSU and it got me back in.
[Galaxy Tab S2 Android Development] ashyx:
Seems like you've somehow wiped the system partition. Did you use factory reset in twrp or did you wipe the partitions yourself?

I suggest you install the stock firmware with ODIN.

http://updato.com/firmware-archive-select-model?record=DD3BFCC8EA3E11E69215FA163EE8F90B
[Galaxy Tab S2 Android Development] marshell:
Hi guys,

I recently updated, more or less by mistake to the newest nougat boot rom from Samsung for the T-719. Right after that TWRP doesn't come up any more. Every time I go into recovery mode, the TWRP splash screen shows up, stays there for a moment and then the device shuts down. This is identical for TWRP versions 3.0.2-0, 3.1.0-0 and 3.1.0-1.

Any ideas what I could do?

With best regards,

Marshell
[Galaxy Tab S2 Android Development] Gandicela:
I'm curious as to where did u get that ROM from. Any link please? Custom ROM, is it?
[Galaxy Tab S2 Android Development] Monaxos:
Hello, I've got exactly the same problem as Marshell. Splash Screen of TWRP in any of the known versions pops up for just two seconds and then the T-719 reboots into system. Maybe Samsung changed something here in the new Nougat ROM?

The ROM is comming from Sammobile. Unfortunately I'm not allowed to post an outside link to Sammobile directly but you can do search for the device/model: SM-T-719
[Galaxy Tab S2 Android Development] Gandicela:
For Germany, yes. not released however to this part of the globe. And I imagine I'm gonna go thru unroot/root path again.

Sadly this 719 model isn't really popular, no ROMs to go around with. I'm rooted, but stuck to stock and on M still. O is in the horizon and this device hasn't even smelled N.
[Galaxy Tab S2 Android Development] marshell:
No Custom ROM, a Samsung ROM downloaded from Sammobile. I stumbled over it when I searched for the SM-T719 model there.
[Galaxy Tab S2 Android Development] ashyx:
Which part of the globe would that be?
[Galaxy Tab S2 Android Development] Gandicela:
Singapore, my good Sir.
[Galaxy Tab S2 Android Development] ashyx:
This only seems to be happening with the T719. This is potentially going to cause me a massive headache.

It seems the bootloader may no longer like the Marshmallow kernel or I may need to compile within the Android 7 branch. A real PITA as it means having to update my entire code base to Android 7 and download many gigaloons of data. :eek:

I'll get something up to test out.

While we're at it there's a chance the recovery log is available in

cache/recovery/last_log

Can somebody post the log file directly after booting to TWRP?
[Galaxy Tab S2 Android Development] Monaxos:
Sorry to cause you a PITA (at least this way ;) ) dear ashyx, thanks for taking over us poor souls who bought the T-719... :good:

I tried to read the content of the "cache" partition right after Installation of the "twrp_3.1.0-1_sm-t719_1417" but after booting to system there seems to be no readable content inside the Cache Partition. (Well, quite logical as I don't have ROOT access anymore). I'm also watching the Huawei P9 section of this forum, so I suppose you are right that the new bootloader needs a nougat kernel for allowing TWRP to boot up.

Should you need any other Information, let me know. Thanks for your good work! :)
[Galaxy Tab S2 Android Development] ashyx:
Ah right no root.

Can you do this instead with adb:

adb pull /cache/recovery/last_log

Then post the log file.
[Galaxy Tab S2 Android Development] Monaxos:
Well, I tried it but the reply was:

"remote object '/cache/recovery/last_log' does not exist"

:confused:
[Galaxy Tab S2 Android Development] ashyx:
What do you get for:

adb shell

ls /cache/recovery
[Galaxy Tab S2 Android Development] Monaxos:
Result was:

gts28velte:/ $ ls /cache/recovery

ls: /cache/recovery: Permission denied
[Galaxy Tab S2 Android Development] ashyx:
Damn need root. OK.
[Galaxy Tab S2 Android Development] ashyx:
Oh dear, no nougat kernel source available. :rolleyes:

Any luck with these?:

https://www.androidfilehost.com/?fid=529152257862719035

https://www.androidfilehost.com/?fid=817550096634761806

.
[Galaxy Tab S2 Android Development] Rafcio67:
I installed twrp_3.1.0-1_sm-t719_13417a, but now it always booted to TWRP recovery.
[Galaxy Tab S2 Android Development] ashyx:
Did you use a reboot utility of some sort?

Reflash Twrp and only use the hard keys to boot to recovery.
[Galaxy Tab S2 Android Development] Monaxos:
The first link

https://www.androidfilehost.com/?fid=529152257862719035

worked for me. Was able to boot into TWRP finally, to root and decrypt the data partition. Maybe there are still some little bugs like showing wrong temperature, date and time in the TWRP recovery but it finally works! :highfive:

Great job, ashyx! Thanks a lot! :good:

P.S.: Haven't tried the second link as the first one seems to do the trick. Maybe someone else can give it a try or I will try within the next days.
[Galaxy Tab S2 Android Development] Rafcio67:
Me too :)
[Galaxy Tab S2 Android Development] ashyx:
Time is wrong, have you set the timezone?

Anyone else report on the reboot issue?
[Galaxy Tab S2 Android Development] Rafcio67:
After reboot time is OK, but temparature is wrong.
[Galaxy Tab S2 Android Development] ashyx:
I'll look into that, probably need to set the cpu temp path in the config.
[Galaxy Tab S2 Android Development] Monaxos:
Yes, I set the right timezone before but for some reason TWRP wasn't keeping the settings after a reboot. But after formatting and decrypting DATA and rooting the device it kept the language and time settings but the temparature has still been wrong.

I also gave it a try to reboot into recovery from system via a root app and then the reboot issue occured. I wasn't able to reboot into System anymore, even after shutting off the device. Just rebooting into recovery or download mode was possible, so I had to flash the whole Firmware and reroot again.

I also tried the TWRP from the second link now (the "b" Version) but this recovery wasn't able to mount my external SD-Card at all. So it is quite useless I think?

Dear ashyx, maybe you could investigate the reboot issue when rebooting into recovery from System via root app? When booting into TWRP recovery with the button method all seems fine despite showing the wrong temperature.
[Galaxy Tab S2 Android Development] ashyx:
You shouldn't have needed to flash the entire firmware to fix the reboot loop.

Reflashing TWRP with auto-reboot enabled should have been enough to clear the reboot flag.

Unfortunately this is a bug I haven't been able to solve on all devices as it happens with other devices. It's something Samsung have changed in the kernel.

I have contacted TeamWin several times regarding a fix, but are not interested.

I'll look into it, but can't promise a fix.

Does the issue occur with version b?
[Galaxy Tab S2 Android Development] Tyrion74:
I'm looking for twrp for T819 Android 7

Sorry for my Bad english
[Galaxy Tab S2 Android Development] ashyx:
Here: https://xdaforums.com/tab-s2/development/twrp-3-0-2-1-galaxy-tab-s22016-sm-t713-t3390627
[Galaxy Tab S2 Android Development] Tyrion74:
twrp_3.1.0-1_sm-t819_1417 this go to bootlogo and reboot system
[Galaxy Tab S2 Android Development] ashyx:
OK come back in 15mins.

EDIT, here we go: https://www.androidfilehost.com/?fid=457095661767153805

.
[Galaxy Tab S2 Android Development] Tyrion74:
i'm back :)
[Galaxy Tab S2 Android Development] Monaxos:
You are right, reflashing the TWRP with auto-reboot cleared the reboot flag and the device booted into system without trouble. This I should have known 150 playstore apps earlier... :silly:

I tried with version "b" as well and the same issue takes place. Probably really something with the new Nougat kernel.

Pity that TeamWin seems not to be interested in bug fixing at all. I hope you can fix it one day but I could live with that issue for now...

I'm sure it's the same problem with the T-819 TWRP, maybe you could fix it the same way like you did with version "a"? This could be of great help for the people who own that device.

Thanks again for your great work, ashyx! :good:
[Galaxy Tab S2 Android Development] Tyrion74:
Who ist the Version?
[Galaxy Tab S2 Android Development] Monaxos:
Have a look at the link of edited post #731 from ashyx! ;)
[Galaxy Tab S2 Android Development] Tyrion74:
sorry i'm not adb profi
[Galaxy Tab S2 Android Development] bus-mt:
Same (?) problem here with SM-T713 (freshly updated to Stock Nougat T713XXU2BQCO) and twrp_3.1.0-1_sm-t713_1417. Boots up to TWRP logo and then shuts down again.
[Galaxy Tab S2 Android Development] Tyrion74:
yes

TWRP Bootlogo,----reboot, and boot in Android

---------- Post added at 05:19 PM ---------- Previous post was at 05:09 PM ----------

Thanks great :) :)
[Galaxy Tab S2 Android Development] ashyx:
What does this mean, working or not?
[Galaxy Tab S2 Android Development] Ghostrider:
Hi @ all

Some info on Rooting my T719

Install Orginal German DBT version of Android 7

Go through all first Boot install

Enable OEM Lock

Shut down

Download Mode

In Odin tick Auto Reboot off.

Install twrp_3.1.0-1_sm-t719_13417a.tar the b version did not work foe me in Odin.

Reboot in Twrp

Format Data

Reboot Twrp manuelly ( not in Twrp Menu)

Now I used Margisk 12 to Root ( It has also removed the write protection)

So it is working without problems at the moment

Root Exlorer and AdBlock are working OK with Root.
[Galaxy Tab S2 Android Development] ashyx:
Back in a few minutes...
[Galaxy Tab S2 Android Development] Tyrion74:
Yes this works
[Galaxy Tab S2 Android Development] ashyx:
https://www.androidfilehost.com/?fid=673368273298947274

.
[Galaxy Tab S2 Android Development] Tyrion74:
thanks for you work
[Galaxy Tab S2 Android Development] bus-mt:
Works now, great job! Thanks!
[Galaxy Tab S2 Android Development] ashyx:
UPDATE 14/4/2017: Fixed Nougat builds added to the OP.
[Galaxy Tab S2 Android Development] jean2323:
tried this twrp_3.1.0-1_sm-t719_13417n for the german nougat .... installs fine, but fails to do anything ... it won't mount data or system

why?
[Galaxy Tab S2 Android Development] ashyx:
Read the OP maybe? :rolleyes: