yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Android Development] bert269:
OK - did a full wiped (data and cache) and then I flashed 5.0.2 again, login, reboot into download and flashed CFAutoroot. Root got installed (the install script run).

Then I flash 5.1.1 SYSTEM and Boot with FlashFire (without EverRoot) and reboot directly into Download, flashed CFAutoroot - do not reboot and immediately boot into download mode and flashed recovery of 5.1.1

Reboot......and it takes me directly into factory (5.1.1) recovery.

Reboot, and got the bootsound during samsung boot....and the Android is upgrading...starting apps...finishing boot...(good sign)....but NO SuperRoot...it did not stick. - the CFAutoroot script never run again - now that I think about it.

So I boot into Download and flash CFAutoroot again. Scipt installed....restart into download mode and re-installed 5.1.1 recovery. But it boots directly back into 5.1.1 recovery again. No boot sound and boot loop....reboot into recovery and do factoer reset, reboot...bootloop

Boot into recovery again, wipe data and cache, reboot...bootloop, over and over.

Reflashed CFAutoroot and it reboots, root script runs and it reboots and boot-loop again. Reboot into recovery and does notice that 5.0.2 gets installed with CFAutoroot.

[QUOTE} If it still doesn't boot then it's highly likely some sort of security policy enforcement is causing the issue and a custom kernel may be needed.

Does the supersu script in cf_autoroot even run?

If it does I can build it with the 5.1.1 recovery and you can give that a go.

In fact there is an easy way to establish whether it is the recovery that is causing the issue or not.

Install 5.1.1 as normal let it boot then take the recovery.img from 5.0.2 and tar it up. Flash it with odin.

If it doesn't boot then there is part of the problem.[/QUOTE]

I think we should try that....here is BOH6's (5.1.1) recovery
[Galaxy Tab S2 Android Development] ashyx:
I think you've pretty much tried everything here and it's seems to be coming back to an selinux issue.

I will rebuild cf_autoroot with the new recovery, but I think you will find it also fails.

To get this booting it's likely going to need a permissive kernel.

I will get the sources and build the kernel for you to test.
[Galaxy Tab S2 Android Development] whynottoday:
Many thanks for root ?
[Galaxy Tab S2 Android Development] rp3:
I was looking at the Note 4 Exynos development forums. The Note 4 has the same processor and I see permissive kernels were key to rooting 5.1.1 (first 5.0 kernels with SELinux permissive then 5.1 kernels with rooting restrictions removed).

http://xdaforums.com/note-4/development/root-5-1-1-n910c-t3190520
[Galaxy Tab S2 Android Development] ashyx:
Thanks for that it enforces my assumption that it's the increased security policies.

Looks like Samsung are now enforcing the root restriction policy in the later kernels.
[Galaxy Tab S2 Android Development] bert269:
Thank you

I will be happy to flash whatever it takes to get this S2 (T710) rooted. Let me know if you need anything else.

Appreciate your time and effort.
[Galaxy Tab S2 Android Development] ashyx:
Well just hope that samsung aren't playing silly buggers like they are with the Tab A sources.

More security issues preventing even a permissive kernel from booting.
[Galaxy Tab S2 Android Development] Tubgirl:
Hi there... :)

Looking to root my SM-T715 (5.0.2)... it's been a couple of years since I rooted a device (my Note 2) and I seem to recall that it was done using Odin. Is this still the case? A short instruction on how to root would be highly appreciated! :)

Brgds...
[Galaxy Tab S2 Android Development] ashyx:
Samsung haven't released the 5.1.1 kernel source code yet!

Can your 5.1.1 rom boot with the 5.0.2 kernel boot.img?
[Galaxy Tab S2 Android Development] bert269:
Help me out here.....I extracted the "boot.img" from the 5.0.2 rom and replace it into the 5.1.1 .tar image file. Flashed it with FlashFire from the rooted 5.0.2.

YES ! _ I flashed it with FlashFire and selected EverRoot...and it booted right up with Samsung boot sound and all. Then it "Updated the apps" but reboot itself, constantly - once without the boot sound and then after that each time with the boot sound. The SAMSUNG boot logo letters lite up twice (brighter than normal) and then it reboots itself, constantly.

Then I boot into recovery, wipe data/Cache and also just cache, rebooted (again with sound). lit up SAMSUNG word twice again, but back into the bootloop.

So - NO, it does not seem to like it...

Any more ideas?

Let me know the next step you want me to test for you....or what else I can do.

Let me also try to flash it without the EverRoot option and see if that makes the difference for the constant bootloop

Edit - Nope - it's not EverRoot that creates the bootloop. It does the same bootloop even if I do not specify EverRoot as an option in FlashFire

Thanks
[Galaxy Tab S2 Android Development] ashyx:
You can just take the boot.img and tar it up, I'd already assumed thats what you'd previously done with the recovery.img. Then flash it with odin.

This way you dont need to reflash the whole firmware.

Anyway looks like it boots but obviously not fully compatible which was to be expected. We'll just have to wait for sammy to release that source code.

Im gonna build a test kernel for 5.0.2 anyway just for the sake of it.
[Galaxy Tab S2 Android Development] ashyx:
[MENTION=541216]bert269[/MENTION]

Can we move this back to the thread below as it's polluting this one:

http://xdaforums.com/showthread.php?t=3185111
[Galaxy Tab S2 Android Development] ftorres:
Is this working for SM715Y?
[Galaxy Tab S2 Android Development] ashyx:
Most probably as long as you are on lollipop 5.0.2
[Galaxy Tab S2 Android Development] jazzespresso:
[MENTION=4899305]ashyx[/MENTION]

I hope, you will come up root for 5.1.1 (once firmware releases) because I am planing to buy Tab S2:D
[Galaxy Tab S2 Android Development] ftorres:
Yes, working perfectly. Thanks
[Galaxy Tab S2 Android Development] Übermensch:
Just received my SM-T715 from Amazon (Germany).

Started once, checked for updates (none avaliable, still on 5.0.2 LRX22G.T715XXU1AOG9), then rooted with CF-autoroot via Odin.

Result: All fine, works.
[Galaxy Tab S2 Android Development] Alienex22:
Thx it work fine on my brand new Tab S2 running 5.0.2
[Galaxy Tab S2 Android Development] gege0202:
hello, is it possible to have it for t815 plz?
[Galaxy Tab S2 Android Development] mac231us:
same here...got the S2 T715...AWESOME device!

just wondering if the tar is flashed through odin..and in download mode? seems so and does that go into the pda/ap slot? thanks (may look up other devices would think it is the same process)

EDIT yes..first

download drivers from here (chose tab s 8.4) and install

http://androidxda.com/download-samsung-usb-drivers

enable usb debugging

then go to download mode..power vol down and home all at once

download drivers from here (chose tab s 8.4)

http://androidxda.com/download-samsung-usb-drivers

go to odin

in ap slot choose the tar file

only f.reset and auto reboot checked...

that is it...

i have t715 that runs on 5.0.2 so no issues with android version (maybe not but think at least initially meant for 5.0.2..anyway you could check and see maybe it has been resolved)

have root, SuperSU...checked root works! big thanks to the OP

EDIT2 you could also look hee

http://www.droidviews.com/install-cf-auto-root-recovery-files-samsung-galaxy-devices-using-odin/
[Galaxy Tab S2 Android Development] gege0202:
with the t810 it works thanks
[Galaxy Tab S2 Android Development] kisypher:
Thanks for this, T810 working great. ?
[Galaxy Tab S2 Android Development] Bubba Fett:
This is a sweet tablet. Thanks OP for the root links. Has anyone tried xposed with this yet.
[Galaxy Tab S2 Android Development] ProStreetCamaro:
Thanks for the root! I need to debloat this thing in hopes of it improving performance or else I will be forced to return this beautiful tablet because its not powerful enough to run DJI GO app :(

https://youtu.be/pR6XlqNaZ90
[Galaxy Tab S2 Android Development] mac231us:
I looked into xposed...without custom recovery can only do this but not tried yet (also worry if it might fail (takes 30 mins) and then I would have to redo odin the stock rom, reroot etc) In meantime have the flashfire app but not daring to do it (yet)

http://xdaforums.com/g4/themes-apps/guide-installing-xposed-locked-t3181593

have the stock 5.0.2 rom for t715 (took me 8 hrs to download the file)

http://samsung-updates.com/device/?id=SM-T715
[Galaxy Tab S2 Android Development] maris__:
Xposed for touchwiz ROMs currently works only with deodexed ROMs.

Best, maris
[Galaxy Tab S2 Android Development] ashyx:
Just make a backup with TWRP first. If it fails just restore.
[Galaxy Tab S2 Android Development] mac231us:
there is no custom recovery yet (twrp, cwm etc)

---------- Post added at 06:14 AM ---------- Previous post was at 06:13 AM ----------

certain modules of xposed can work on touchwiz (deodexed I think for theming but if doing other things like no sms in call log, dual clock etc I recall that some modules work)
[Galaxy Tab S2 Android Development] suzook:
Really???? Lol. We have twrp running.
[Galaxy Tab S2 Android Development] ashyx:
I wouldn't be too sure about that. :sly:
[Galaxy Tab S2 Android Development] suzook:
Another perfect example of why xda needs a sperate s2 forum. This is ridiculous.
[Galaxy Tab S2 Android Development] kisypher:
Where can I find TWRP for the Tab S2?
[Galaxy Tab S2 Android Development] suzook:
https://www.androidfilehost.com/?
[Galaxy Tab S2 Android Development] kisypher:
Thanks! Would you recommend extracting the recovery.img then flashing? Or use Odin to flash the .tar file?
[Galaxy Tab S2 Android Development] suzook:
Odin
[Galaxy Tab S2 Android Development] ashyx:
Please dont direct link to the download. Link to the actual post. I will be officially uploading links shortly. Thanks
[Galaxy Tab S2 Android Development] suzook:
Sorry
[Galaxy Tab S2 Android Development] kisypher:
Any word on a dedicated Tab S2 forum?
[Galaxy Tab S2 Android Development] mac231us:
agree

---------- Post added at 07:40 PM ---------- Previous post was at 07:39 PM ----------

t715? (sorry understand there are all these different models with and w/o cellular)

EDIT

Ok so found lot of activity here in this thread..lol..(recovery stuff and deodexing attempts),,,great work

http://xdaforums.com/galaxy-tab-s/help/looking-root-tab-s2-t3185111
[Galaxy Tab S2 Android Development] Rhainor:
Any word on 5.1.1 support? I just got my Tab S2 today, and let it update without thinking. :/
[Galaxy Tab S2 Android Development] kisypher:
Could you just Odin back to 5.0.2?
[Galaxy Tab S2 Android Development] Rhainor:
Probably, but I'm a lazy little ****. [emoji14]
[Galaxy Tab S2 Android Development] kisypher:
?? Me too, man. Me too.
[Galaxy Tab S2 Android Development] ashyx:
Well in typical non GPL Samsung style Samsung have not yet released the source code and even then who knows if it will compile as they have a habit of releasing broken source code.
[Galaxy Tab S2 Android Development] wolffe:
Speaking of the devil, it looks like it was just posted :) I'm going to see if I can get it to build on when I get a lunch break.
[Galaxy Tab S2 Android Development] Rhainor:
Woo!
[Galaxy Tab S2 Android Development] ProStreetCamaro:
Hmmm dumb question but how do I get into twrp after flashing it?
[Galaxy Tab S2 Android Development] suzook:
Power off, hold home button and vol up, and press power.
[Galaxy Tab S2 Android Development] bert269:
yeah man!.....

5.1.1 was released (BOH7) - I like it!

Please shout if anyone needs help, please. I am more than willing to test - whenever there is something to test
[Galaxy Tab S2 Android Development] whynottoday:
Link please ? ?
[Galaxy Tab S2 Android Development] bert269:
http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SM-T710
[Galaxy Tab S2 Android Development] BigBot96:
Root worked great. Thanks. Gonna start work on a simple ROM based on 5.0.2 until we get full working root on 5.1.1 :good:
[Galaxy Tab S2 Android Development] suzook:
Oboy, I just came a lil:cyclops:

---------- Post added at 10:16 PM ---------- Previous post was at 09:54 PM ----------

Knowing ashyx, we will have it in no time.:D
[Galaxy Tab S2 Android Development] BigBot96:
can somebody give me the output of mount from either ADB or terminal emulator? I don't have my tab with me at the moment and I wanna get a few things done while waiting for things to finish at work.

just type in:

mount

at the # root prompt in ADB or terminal.
[Galaxy Tab S2 Android Development] suzook:
I'm at work, so I can't till later. BTW, we now have root for 5.1, so I'm not sure you may wanna work on 5.1. Just giving you a heads up.
[Galaxy Tab S2 Android Development] BigBot96:
Awesome. I'll hold off, then. Once he posts the latest root for 5.1.1 and recovery that works with 5.1.1 I'll get back to this. :good:
[Galaxy Tab S2 Android Development] suzook:
The recovery file is listed in the thread, he will be reposting a fixed cf root for 5.1.
[Galaxy Tab S2 Android Development] mac231us:
don't mean to spam this forum or chase your messages and maybe a moot thing but i managed to deodex the t715 (albeit it is 5.0.2) which is what I have

http://xdaforums.com/showpost.php?p=62893646&postcount=271

anyway just fyi...again maybe not useful but thought i'd share

thanks
[Galaxy Tab S2 Android Development] PhantomBrave:
Will there be any support for the Verizon tab s2? T817V
[Galaxy Tab S2 Android Development] BigBot96:
The Verizon tab is almost certainly bootloader locked. This method will not work with locked bootloaders so you'll need an exploit.
[Galaxy Tab S2 Android Development] PhantomBrave:
Thanks for the heads up.
[Galaxy Tab S2 Android Development] jimm2:
Can't access the webpage for the T710 autoroot for 5.1.1.

Bad URL?

http://xn--https-hw3b//www.androidfilehost.com/?fid=24052804347813607%93
[Galaxy Tab S2 Android Development] bert269:
Try this one.....

http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SM-T710
[Galaxy Tab S2 Android Development] kisypher:
Does this also install TWRP?

Sent from my not-so-stock SM-T810
[Galaxy Tab S2 Android Development] lonelime:
go here for TWRP

http://xdaforums.com/tab-s2/development/recovery-twrp-2-8-7-x-lollipop-5-1-1-t3205686
[Galaxy Tab S2 Android Development] kisypher:
I finally pulled my head outta my butt and figured it out, but thanks for responding. ?

Sent from my not-so-stock SM-T810
[Galaxy Tab S2 Android Development] Trix123:
Thanks a lot.

Root working great on my t710.

Only thing was that it replaced TWRP with the stock recovery.

So installed it again and finally, everything is working perfectly.

Sent from my SM-T710.
[Galaxy Tab S2 Android Development] db_darryl:
Hi, I usually root my devices and am the proud new owner of a galaxy tab s2. I have a few questions regarding root before I attempt it. They may appear to be noob questions but they're usually answered already and obviously I want to assess any risks prior to my tab becoming a roof slate!

1. I've heard no mention of unlocking bootloader before root. Is this no longer a necessary step? (I ask based on my previous history of rooting my nexus 7 2013)

2. Does rooting/unlocking bootloader wipe your device at any stage

3. Does rooting disable or cause problems/disable any services once knox is tripped(for example on my s5 root caused issues with PayPal fingerprint, privacy mode etc)

4. Are we limited to twrp as recovery right now once rooted?

5. Is xposed framework working on root?

Thanks in advance for any help provided
[Galaxy Tab S2 Android Development] ashyx:
1. No need unless you have a verizon or AT&T model which are not unlockable.

2. No

3. Only knox stuff is affected.

4. What do you mean by that? Do you know the effort that went into getting this working?

5. Yes. You need a deodex rom.
[Galaxy Tab S2 Android Development] db_darryl:
Thank you for the answers.

Regarding

3. Can you elaborate on the knox stuff that is affected please.

4. I appreciate the work into getting twrp working. My comment is only based on negative experiences with twrp on other devices. I'd use it if it's the only recovery but if the choice was there I'd pick another.

5. Have any Deodex ROMS been made available yet?

Once again. Thanks for the answers.
[Galaxy Tab S2 Android Development] ashyx:
3. Its more the corporate side of security such as knox container that is lost. Best to look this stuff up on Google as there's plenty info on it.

4. I have used twrp on many, many devices and the versions I post usually include fixes for issues made by myself.

Twrp is now one of the best and most stable recoveries available.

5. Yes.
[Galaxy Tab S2 Android Development] db_darryl:
Thanks again, I'll read up on knox again just to satisfy my curiosity and probably proceed with root on the weekend when I have more time. Need to be ad free and also xposed is essential. I'll give twrp another go.
[Galaxy Tab S2 Android Development] NoblessArget:
Funny enough I can't even boot into the recovery mode on SM-T810, it just hangs on the starting screen. Up+Volume+Mid button. Doing that caused a boot loop.

And it currently is stuck into a boot loop. Power and Volume down don't shut it down, it goes again and again in the same bootloop. I can only access download mode. Should I flash it with Odin again?
[Galaxy Tab S2 Android Development] ashyx:
It clearly states in the op, that you need to flash the custom kernel on LP 5.1.1.
[Galaxy Tab S2 Android Development] NoblessArget:
Oh, drat. No. I'm still on the 5.0.2 - It's causing this issue on that version. Maybe since when I flash it, i use the AP in Odin. It says recovery is not in seandroid or something when I flash it and I can't get into clockwork mode.

Tell me if I can get a hand on this.
[Galaxy Tab S2 Android Development] Pjotr8:
Thanks for the root!

The Samsung Keyboard book cover is no longer recognised, can that be due to the root?
[Galaxy Tab S2 Android Development] jarayn:
Is it possible to root 5.02 then update to 5.1.1 keeping root?

on my z3c thats how you do it but it requres a prerooted stock rom. Im not sure how they do those.
[Galaxy Tab S2 Android Development] kisypher:
You could just Odin 5.1.1 then root and flash TWRP.

Sent from my not-so-stock SM-T810
[Galaxy Tab S2 Android Development] jthspace:
Hi, have got all of the files together to update to 5.1.1 and root etc etc. Have also been browsing the web to check for benefits and issues and so on - dont want to end up with a 9.7 paperweight!

Anyway, one comment popped up on a newsite - "this trips KNOX, meaning KNOX would stop working on your device, and thus you won’t be able to Samsung Pay, or install enterprise Apps on your device at Office". I know tripping Knox invalidates warranty and so on - but does it also stop me using Miscrosoft (Powerpoint / Word / Excel) from my MS365 subscription? If it does, then a "root" is a no-no for me. :(

Jeff
[Galaxy Tab S2 Android Development] ashyx:
Unlikely, only products that are security sensitive are usually affected by knox and rooting.

Banking applications and where money is involved is a security risk on a rooted device, so these types of apps generally refuse to function on such devices.

However pretty much everything else will be fine, not only that rooting opens the door for many other very useful apps to be used which otherwise wouldn't be able to.
[Galaxy Tab S2 Android Development] mac231us:
Banking has always worked on rooted devices for me..this one no exception here in the U.S (Many such from various manufacturers too)....yes have heard like in Korea the banking apps do not work on rooted devices. From the latest news yes Samsung Pay will not work on rooted devices and non stock roms. Not sure of enterprise in the office work.
[Galaxy Tab S2 Android Development] jthspace:
Thanks Ashyx and Mac231us. There is an article by a Google engineer on this website (see side panel or link below) as to why Android Pay will not be working on rooted devices - that's fair enough and I can understand the argument why this is so - as to also agreeing with other banks that decide not to allow access to their systems via a rooted device. You only have to see the numerous articles of malware being hidden in normal apps as available from legit and non-legit sources so "safe is good" especially with MY cash and banking data. Banking fraud is HUGE which is why we have had chip and pin in Europe for years, but this is now under attack here and new methods of security are being tested, such as bio security for example. Anyway, I digress from the original question of Microsoft products on a rooted Tablet. I cannot find a definitive article about it so will hold off for now and keep researching.

Google Engineer and Android Rooted - Android Pay

Kind regards

Jeff
[Galaxy Tab S2 Android Development] kenshinio:
Hi guys.

I never before done rooting this way and don't want to screw something up...

Could someone direct me to a tutorial on how to flash my T815 with the file from the first post, please?
[Galaxy Tab S2 Android Development] ashyx:
http://www.theandroidsoul.com/samsung-galaxy-tab-s2-root-sm-t810-sm-t710-sm-t715-84217/
[Galaxy Tab S2 Android Development] gweminence:
Ashyx, thanks for your time and work. I looked through the thread and didn't see this, so forgive me if I missed it: I don't see a kernel specific for the T817T 5.1.1 (tmobile, which bootloader isn't locked). Which of the kernels, if any, would I use, and then be able to root? Thanks a bunch.

Edit: Ok, I see in another thread you said the 815 and 817 kernels are the same, but here I only see an 810, in your thread.
[Galaxy Tab S2 Android Development] jazzespresso:
[MENTION=4899305]ashyx[/MENTION]

Absolutely brilliant work, I am quite proud of new Tab S2 owner, and I always root my devices, but since this baby is quite new, want to make sure I will be happy with it (not end up returning), so I will play around for a week or so.

anyway, I am quite aware of rooting voids warranty, trips the darn knox, etc....I know in some cases depends on rooting method, you can flash back full firmware, which will return the device in original stage, but even so knox trip may still say 0x1, I know some developers in S6 thread, they have figure out leaving knox 0x0 after flashing full firmware back to the device (even if it was rooted previously).

so my question; say I rooted the device, and later on decided to return back to original stage for some reason, flashing back full firmware using odin will still end up showing knox 0x1?
[Galaxy Tab S2 Android Development] android4life92:
Yes will still show Knox being tripped
[Galaxy Tab S2 Android Development] kubo_yosiharu:
does it work on SM-T815Y ?
[Galaxy Tab S2 Android Development] plutozz:
Yes it does work flawlessly on my SM-T815Y :D
[Galaxy Tab S2 Android Development] jander54111:
Help please

I need exact steps how to do this every time I flash kernel or root it says seandroid something in red at top and bootloops.

im on 5.1.1 and im not sure how or why its not working. In oden I put in ap? It wont reset stuff on tablet either I flashed a stoc rom it went threw and then came to blue screen after eboot wid said eraseing then booted up and stuff was still there. I am stumped... also im on sm-t710 8in

---------- Post added at 03:49 PM ---------- Previous post was at 03:10 PM ----------

Also it says mdm does not allow factory reset.
[Galaxy Tab S2 Android Development] ashyx:
You need to disable reactivation lock first.
[Galaxy Tab S2 Android Development] shero73:
Root and flash TWRP working great on my T710 5.0.2. No problems with screen on/off with smart cover or fingerprint scanner.

Everything working great. Cheers OP
[Galaxy Tab S2 Android Development] bert269:
New 5.1.1 rom for US T710 - ideas if this Root will work?

Has anyone tried the new XU2BOJ1 rom for the T710 and does the Root methods on OP work on this?

Thanks.
[Galaxy Tab S2 Android Development] shero73:
I flashed the Canadian BOJ1 and rooted just fine. I'm in UK and there was no sign of 5.1.1 coming my way. It works a treat, just make sure and flash custom kernel first as stated in OP. good luck