yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] J.Tichi:
Well, using terminal emulator, i figured out that on my SM-T320 the boot partition seems to be

p14, followed by the recovery partition p15.

P14 is 10240 "blocks" in size. Does anyone know how much is one block?

1kB?

If yes, than this method seems safe, it is not gonna screw up folowng in line recovery partition?

u0_a210@mondrianwifiue:/ $ cat /proc/partitions
major minor #blocks name

179 0 15388672 mmcblk0
179 1 15360 mmcblk0p1
179 2 58816 mmcblk0p2
179 3 512 mmcblk0p3
179 4 32 mmcblk0p4
179 5 32 mmcblk0p5
179 6 2048 mmcblk0p6
179 7 512 mmcblk0p7
179 8 512 mmcblk0p8
179 9 10240 mmcblk0p9
179 10 10240 mmcblk0p10
179 11 14336 mmcblk0p11
179 12 3072 mmcblk0p12
179 13 3072 mmcblk0p13
179 14 10240 mmcblk0p14
179 15 13312 mmcblk0p15
179 16 13312 mmcblk0p16
179 17 7159 mmcblk0p17
179 18 3072 mmcblk0p18
179 19 1 mmcblk0p19
179 20 8 mmcblk0p20
179 21 8192 mmcblk0p21
179 22 9216 mmcblk0p22
179 23 2508800 mmcblk0p23
179 24 307200 mmcblk0p24
179 25 20480 mmcblk0p25
179 26 12364783 mmcblk0p26
179 32 4096 mmcblk0rpmb
253 0 1048576 vnswap0
179 64 31166976 mmcblk1
179 65 31162880 mmcblk1p1
u0_a210@mondrianwifiue:/ $ ls -l /dev/block/platform/msm_sdcc.1/by-name/
lrwxrwxrwx root root 2014-05-03 22:11 aboot -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2014-05-03 22:11 apnhlos -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2014-05-03 22:11 backup -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2014-05-03 22:11 boot -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2014-05-03 22:11 cache -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 2014-05-03 22:11 dbi -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2014-05-03 22:11 ddr -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2014-05-03 22:11 efs -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2014-05-03 22:11 fota -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2014-05-03 22:11 fsc -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2014-05-03 22:11 fsg -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2014-05-03 22:11 hidden -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 2014-05-03 22:11 modem -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2014-05-03 22:11 modemst1 -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2014-05-03 22:11 modemst2 -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2014-05-03 22:11 pad -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2014-05-03 22:11 param -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2014-05-03 22:11 persdata -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 2014-05-03 22:11 persist -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2014-05-03 22:11 recovery -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2014-05-03 22:11 rpm -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2014-05-03 22:11 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2014-05-03 22:11 ssd -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2014-05-03 22:11 system -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 2014-05-03 22:11 tz -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2014-05-03 22:11 userdata -> /dev/block/mmcblk0p26
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] mpouxa:
Noob question .

Finally , is there a way to TowelRoot SM-T520 ? Can we hope in Knox 0x0 too ? :)
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] J.Tichi:
Noob answer.

There is a "conventional" method called CF-auto-root (google it!), which does trip KNOX and thus voids warranty.

There is also this method from this thread, which does not trip KNOX, and cleverly uses an old expoit, but which might have its own troubles, as i was concerned before... it seems my concerns were not grounded...

So, i'm going to root my tabby using the method described here in this thread...
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] mpouxa:
I know about CF - root but in this thread there is no custom kernel for SM-T520 (tab pro 10.1 Wi-fi only) . Someone in older posts said that towelroot doesn't working for Exynos SOC yet. That's the reason of my question .Finally Is there a method for TowelRoot in this model ?

Which is your model ? Have you try anything ?
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] RavenY2K3:
No and won't ever be, Exynos devices are immune from this exploit.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] MYxdaUSERNAME:
Just want to properly thank the op and whoever else made this available. Went smoothly and I'm having fun with xposed modules and oh so happy to have adblock back. All with Knox at 0x0. :D

Love this site.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] J.Tichi:
thank you so much for the recap (maybe one needs to re-post your instructions in the first message?).

just rooted my SM-T320 using your instructions,

it went flawlessly

(I used latest odin 3.10.6 from sammobile.com),

now enjoyng root.

I'd attract everone's attention

(namely of those who rooted but prefers to stay stock)

to replacing the mpdecision utility, which removes "stuck CPU bug" and supposedly makes your tabby run cooler and more battery-friendly..

(post #4 here: http://xdaforums.com/galaxy-tab-pro...tuck-1-57ghz-galaxy-tab-t3084415#post60673341)
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] J.Tichi:
Is adblock an app? Or exposed module?

I usually block ads manually, by disallowing certain "activities" for the most annoying ad-infested apps with the help of 3c toolbox pro, but is there a less tedious way?
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] sstar:
It was an app along with adaway on Play but later removed .

Adaway is still available here :http://xdaforums.com/showthread.php?t=2190753

Provided your device is rooted the app will remove ads from your apps and browser.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] MYxdaUSERNAME:
Just google adblock plus for android. You download it directly from them. ..

If I'm honest, it doesn't seem quite as effective as the last time I remember having it. In-app ads sometimes get through, but website ads are almost gone completely.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] J.Tichi:
THANK YOU, GUYS!

It looks like common opinion on internet favours adaway over adblock plus now. Is that right?
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] MYxdaUSERNAME:
I didn't even know about Adaway so I installed it to try. Seems good so far, not sure of the difference between the two so either should be fine..
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] J.Tichi:
It looks like adaway just uses /etc/hosts file to send ad requests to the middle of nowhere (localhost)... whereas adblock plus runs some sortof local proxy which is more intrusive...

Either way is superior to what i was doing before, becuase i notice thta when i disable 'activities', apps sit in memory long time probably hopelessly trying to exercise those activities...

So im happy with adaway now all one needs to do is to update hosts file from time to time, and the app does that for you...
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] dcsscd:
Hi guys, hope somebody can help me, and tell me if im doing it ok, its the first time i try doing this stuff.

I have a 8,4" Tab SM-T320 WiFi

Kernel 3.4.0-4378637

Firmware KOT49H.T320XXU1BOC1

Bought in Mexico.

My aim is to install lollipop

So first im following Scorpius666 & RavenY2K3 steps to root my tablet, then install TWRP to create a nandroid backup, and then proceed to install a MOD with lollipop.

i already used the kernel from OP post, and Towelroot with no problems, but now like Scorpius666 i wish to go back to my original Kernel or an updated one for my firmware ( i understood that the ones posted here could or will cause problems since is not the same firmware) ... can somebody please upload one? or, im downloading BOC1 firmware from sammobile, can i extract the kernel from here and flash it to the tab the same way as i did with OP kernel? if so, what guide can i follow to extract and package it? ... or i don't need to do this at all since im going to install a mod anyways that will have another kernel?

Thanks!

edit: after more reading, i think i need to use this script http://xdaforums.com/showthread.php?t=2446269

extract the kernel from the firmware im downloading from sammobile, flash it, and problem solved it.

right?

edit2: maybe not, i downloaded a tar.md5 file not an img file for the script. How can i get an img file to take the kernel ?
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] J.Tichi:
My understanding is that you need to extract boot.img file from downloaded tar.md5 firmware (using tar or any universal archiver), and repackage this file alone into a tar or tar.md5... it seems tar is ok, though it does not give you checksum verificatiinon, i.e. it is less safe...

The OP flashes tar (not tar.md5).

What script does, it ads md5 signature to the end of fhe file... Also there are soem specific options for tar in fhe script... I'd use fhe script, or at lease learn first what exactly it does..

---------- Post added at 06:57 AM ---------- Previous post was at 06:53 AM ----------

BTW does anyone know ,

Can this rooting survive factory reset? And firmware update (OTA)?

It seems su binary is copied to a system folder, so it should survive factory reset at least?

What about SuperSU app? Do i need to "make it system app" (an option in its settings)?
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] dcsscd:
Thanks, i can now make the tar file, my question now is, the boot tar file created witht he script, is the same as a kernel tar file? i didn't find kernel.img after extracting the tar file from sammobile.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] J.Tichi:
Yes, i figured boot.img file contains kernel and ramdisk (see my messages couple of pages back).

I remember when i looked at that script, you need to tar with some specific options, imho worth double checking , if you did not use the script...
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] dcsscd:
I used the script, haven't flashed anything yet, and it worked creating the tar , i don't know what options you are talking about.

Also i read your previous posts, i don't need to extract the kernel from the boot.img then, right?
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] ClintE1956:
Ok, I have to ask. Probably stupid question.

The intent of using the exploit discussed in this thread is to be able to root the gtp series tabs without tripping the Knox warranty bit.

The last few posts about installing LP on one of these devices assumes tripping the Knox bit and voiding unit warranty, right?

I haven't looked, but I'm assuming there are some nice rom's for the gtp tabs. I'd love to install LP, but my tab is under warranty until Dec.

Cheers
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] J.Tichi:
I was also trying to understand what is allowed without tripping that infamous knox bit, but only got more confused.. There is quite a lot of information all over the internet, not very clear though..

This piece is relatively recent:

androidforums.com/threads/virgin-mobile-guide-q-a-myths-and-truths-about-knox.807185/

It looks like the main rule is do not touch (downgrade) the knox-enabled bootloader..

How it translates into various possibilities for flashing stock and custom firmwares/androids

Is not clear for me...

If someone could explain, that would be great! Odin? Kies? Older firmwares? Newer firmwares? Should one only use the firmwares withOUT bootloader? Do they exist at all?

And which file does bootloader sits in? Recovery.img? Apparently not in boot.img, which is for kernel and ramdisk only, a bit misleading naming, eh?
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] ClintE1956:
The thread you posted the link to is an interesting read, and confirms what I had originally found to be true:

Flashing any type of custom recovery trips the Knox warranty bit, voiding device warranty.

Enabling root *IS* possible without tripping Knox warranty bit using the steps described at beginning of this thread.

That's as far as I am willing to go with this device at this time. Later this year, when 1-year warranty is over, I intend to install whatever type of recovery, bootloader, ROM etc. that I wish, which will trip the Knox warranty bit (which I have done on both of our Sprint GS3's). Hopefully at that time, the AICP dev team will have a version of their excellent ROM for the GTP8.4.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] J.Tichi:
Ya, i'll also settle on rooted stock for now, until warranty expires, i was just curious how to return it to virginity in case i need a repair from Samsung.

Is it possible at all? If not, maybe it is not worth it to keep knox at zero?

Probably doing something like factory reset or firmware recovery in Kies is the most holy ritual for this, is not it?

The common cause of death of all my past android devices was the micro-usb port that becomes wobbly due to wear and tear, and simply ceases to function. I do not know if this tabby, even if high-end, is going to last one year...
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] ClintE1956:
It should be possible to do a factory reset to get the GTP8.4 back to original, like any Android device (that hasn't had its Knox warranty bit tripped already). The main reason I don't want to void the warranty is possibility of dead pixel(s) showing up, or something else physical happening to it that does not hinder main functions. That way I should be able to reset it to standard unrooted state before warranty return. If the entire screen goes dead or something else catastrophic, I'm not concerned about factory reset. Not sure, but there may be ways to reset it using computer even if screen is completely dead.

I don't worry too much about the USB port on the GTP8.4, because I normally plug it in for charging once every 2 or 3 days. It has a very solid port that connects with a satisfying *click* when used with most higher-quality cables.

My wife's devices get a lot of USB port wear. I purchased a replacement part for the Samsung Galaxy Nexus (toroplus) but haven't installed it yet because I'm going to order the button set and replace everything at the same time. (The is a spare phone since having the second GS3 screen repaired.)

The Asus Nexus 7 2012 USB port has been problematic since it was new, but still seems to work fine as long as it's not moved after inserting cable. I'm hesitant to attempt replacement of that one, just because it works and people have said they had issues getting the replacement part to seat correctly inside the case, causing a "bump" in the back plastic where the port is located.

Most phone and tablet USB ports & buttons aren't very difficult to replace; you just need some patience and small tools, and possibly a magnifying lens for the close work. Even cracked or nonfunctioning screens are fairly easy to fix with proper tools.

** Apologies for getting a bit off-topic in this excellent thread. **
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] J.Tichi:
Thank you for a detailed reply!

Is factory reset really enough to completely get rid of rooting and erase all the traces of it? The su binary is definitely copied to /system/xbin during rooting, which should survive factory reset, as far as i understand. Besides, superSU app has an option of converting itself to system app, which presumably copies it to /system/app and also survives factory reset?

My pattern of charging is more like 1 to 2 plug-ins per day, so the tabby has to survive about 500 micro-usb insertions per warranty period of 1 year.. The devices that failed this for me and family before are HTC, Motorola, Alcatel, Huawei, but we never had a Samsung before, maybe Samsung is better in this respect? Though I doubt.. micro-usb port is a cheap metal no matter what is the manufacturer... I doubt Samsung gives it some high-tech polish...

---------- Post added at 05:56 PM ---------- Previous post was at 05:45 PM ----------

aren't the soldered to the motherboard? which make is a "PITA" for a home work with this small scales...
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] ClintE1956:
I think SuperSU and any other root apps like BusyBox that modify system partition should be uninstalled before factory reset.

USB ports are all the same; our Samsung Galaxy Nexus has worn-out USB port, but then again, it's probably over 3 years old and I recently replaced the battery for the first time.

Most USB ports in phones are connected to a small ribbon cable that has a snap-on motherboard connector. The one for the GNex also has the microphone connected to the cable, and two similar cable assemblies for the power and volume buttons. Apple iPhone 5c has a thin metal heat shield that attaches to the back of the digitizer (screen) that has several ports etc. attached to ribbon cable, which is then glued to the heat shield. The 5c's battery is very simple to replace. Just a couple of examples.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] qwerik:
Where to find an towelebare Kernel for the T520? Or how can i extract ist from an older image?
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] palmbeach05:
Towelebare kernel?
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] qwerik:
A T520 Kernel what works with TowelRoot :)
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] J.Tichi:
OK, thanks! Perhaps I need to inspect some of my old phones to see if I can replace the usb ports, if they aren't soldered..

---------- Post added at 01:45 PM ---------- Previous post was at 01:45 PM ----------

see the OP (bottom of the message)
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] qwerik:
Can i flash the "TR Rootable Kernel for Wi-Fi Only 8.4 SM-T320" on a SM-T520?

Where can i find the Kernel from T520XXUANI1?

Or how can i extract the Kernel from T520XXUANI1 an use it to flash it?
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] dcsscd:
I don't know if you can use it on T520 (i don't think so)

What i did to find the Kernel that i needed, was to download the firmware from sammobile.com, then unpackage the tar file, and you will have a boot.img file, then used this script for the boot.img http://xdaforums.com/showthread.php?t=2446269

to create a tar file and flash it.

I think is what you need to do, but i advice you wait for a more experienced answer, im a noob at this.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] qwerik:
The Script works perfect! Thanks dcsscd

But where can i find an Kernel or Firmware for a T520 what can be rooted with TowelRoot?

The oldest i found was "T520XXUANAE_T520DBTANA2_DBT" but TowelRoot dont work there :(
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] Scorpius666:
Search for "T520" or "Exynos" in this thread or everywhere else. Exynos is not exploitable through Towelroot.

It has been said at least 9 times in this thread. Nobody reads threads anymore? Just the first and last post.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] palmbeach05:
Lol this is xda, no one ever reads or seaches for answers, they just post questions that have already been answered :P
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] shayind4:
Root T520 with KingRoot, Knox 0x0

T520 is rootable with Knox 0x0 with KingRoot.

Check here: http://xdaforums.com/galaxy-tab-pro-12-10-8/general/root-t520-knox-0x0-kingroot-4-1-t3123931

shayind4
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] wellersl:
Pay close attention of you care about tripping Knox. I thought I was and tripped it anyway. :confused:
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] shayind4:
I would be very surprised that KingRoot app in android phone /tab trips Knox. I have used it twice on same tab and Knox remains 0x0. Only the desktop version trips Knox because it install custom recovery.

Did you use the app or desktop version?

shayind4
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] wellersl:
Apologies for the confusion. It was the Towelroot app. I probably borked it myself when I went from a CM ROM to stock and back.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] samsterman:
Thanks for pulling this together! It was a good summary of the most important parts of the 30+ pages I read this morning! :)

Perhaps some of this information could be incorporated into the original post to reduce the number of repeat questions being asked here. If we threw in the new information about KingRoot for the 10.1, it might slow to a trickle (or am I being too optimistic?).

A few details to add:

1) It might be worth noting that the above instructions work for Odin3 v.3.09. I understand that the nomenclature of the "AP" tab may be different in older versions (many of which are still out there), so that could confuse an inexperienced user. It also might be worth mentioning which other boxes to check (Auto Reboot / Reset Time) and leave unchecked.

2) I did a few things differently in step 6. I did not reboot after running TowelRoot. I did let SuperSU update itself upon installation (which you may have as well), but did not let it stop Knox (which some suggested can lead to problems). So far I haven't had any issues, but I'll report back if that changes.

3) Is it necessary to install a version of BusyBox to gain much of the functionality of root? I did so at the behest of Root Checker Pro. If so, perhaps that can be added to this "canonical" list of steps.

4) I was interested to see that not only did the Knox flag not trip, but my system still shows as "Official" in Settings / General / About device / Status / Device status. I used TowelRoot on my GS3, and while the Knox flag did not trip, it shows as "Custom". I don't know if that has anything to do with disabling Knox or not, but for now this seems as close to perfect as I can imagine. :D

Thanks to everyone who has contributed pieces of this approach! These tablets may not be super popular, but they're an incredible buy right now, and the freedom that rooting provides makes them that much sweeter!
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] BoJatey:
Getting ready to root this 8.4 TP I just purchased and because I have the AOC1 kernel I need to flash the TR Rootable kernal first before I use TR. My question is "What is the Original NG1 kernel for and do I need to flash that at some point?" Thanks in advance.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] k8108:
I think the NG1 was the current rom when this tweak was posted. No you don't need it. Flash the rootable kernel, TR, then flash the A0C1 kernel
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] BoJatey:
Thanks, but one more question if you don't mind. I'm probably going to flash a custom recovery after I root but won't that trip the Knox also. If so, wouldn't CF Auto-Root be a better way to root. By better I mean less to do minimizing the risk of me screwing something up. I've never used Odin before but it doesn't seem that difficult. I guess it just comes down to a matter of preference. Thank you again.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] k8108:
If you are going to flash a custom recovery, then yes, I would you use cf auto root. Follow directions exactly and you shouldn't have a problem
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] RavenY2K3:
From what a lot of people gathered when the Note 3 came out (I got mine on day one release and the first with Knox) as long as the firmware version being flashed was equal to or greater than the currently installed, you would be fine. That has been case for me, but i suppose there is always a risk something can go wrong.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] RavenY2K3:
Can you tell me what your current firmware version is?

Update: Ignore that, I've taken the 520 down as the Exynos version of any device seems to be immune/hit or miss.

The Qualcomm versions are all good though.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] RavenY2K3:
Your firmware is using the Kernel that's in this thread anyway, looks like you've got DBT region.

Unless you've flashed the just released UK version that firmware.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] scomat:
My CSC says BTU (United Kingdom). I was just giving the heads up mate to confirm that all is good. If it wasn't for this thread with the excellent instructions I probably would of still be hesitating to try it. Cheers. Much appreciated :good:
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] RavenY2K3:
No worries, didn't mean it to sound sarky (sorry if it did) Did your device come with that version or did you flash it?

Scratch that, I thought you had the 325 (which doesn't have NE3 yet) just noticed you have 320.
[Galaxy Tab Pro 12.2, 10.1, 8.4 General] Nutsonfire:
I read in an S5 thread about region being also an issue. After I tried flashing the US ROM I could not flash the original ROM either and warranty was still 0x0. I think that it went to 0x1 after using kies. Since you have to enter your serial to restore, I guess that your device gets flagged in a database somewhere too.