yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 4 General] thisisapoorusernamechoice:
In Settings > Security, check the Unknown Sources box (Allow installation of apps from sources other than the Play Store) and uncheck the Verify Apps box (Block or warn before installing apps that may cause harm). Make sure you're not getting automatic security updates. If your tablet comes pre-installed with any sort of security/anti-virus app (e.g. my Samsung AT&T phone came with an app called Lookout before I could get rid of it) go to Settings > Application manager > All and select whatever security app there is and force stop it.
[Galaxy Tab 4 General] ericyao:
Thanks for the help. I did the Security Settings as you said before installing towel root. It turns out I downloaded a wrong apk. After installing the correct towel root, my Tab 4 is rooted now. But the Security Notice keeps popping up from time to time on the top. I couldn't find any security app installed. There are several security related apps or process in the Application Manager. I will just leave the warning there for now.
[Galaxy Tab 4 General] ericyao:
Is there any custom rom available that have stable 4G lte working for this model?
[Galaxy Tab 4 General] thisisapoorusernamechoice:
You can freeze or uninstall them with Titanium Backup if you know the name(s) of the app(s) or process(es) responsible
[Galaxy Tab 4 General] pre4speed:
No and there never will be unless we can get safestrap support and a dev that cares enough to make one. We are locked from our bootloader on this model.
[Galaxy Tab 4 General] greenturtles:
This worked for me but I did have some unexpected results along the way. FYI, I bought the T337A on Feb 15 2015, and it had NF4 with build date of Nov 10 2014. When the NK4 ota update was applied (darn it, I tried to stop it!), it changed to NK2, and kept the same build date. I followed this tutorial and it only changed the build date, to June 10 2014, and it did not change the build no or baseband no, which is still NK2. I figured the build date change to June 10 2014 was the important thing as some other users have reported that towelroot won't work on builds after June 2014.

Once I finished the tutorial, I started getting popup messages that "unauthorized actions have taken place". Oh my. But I proceeded to install towelroot anyway. It took a few tries over the course of an hour or so for it to work. I'm not sure why. Every time I clicked on the "make it ra1n" button in towelroot, it said successful, but when I tried to enable "root explorer" in ES FileExplorer, it would enable for 10 seconds or so, then say, "test access failed, you are not rooted". Root Checker also said I was not rooted. I rebooted a few times, tried Towelroot a few times, and eventually, ES FileExplorer was able to enable root explorer, and root checker also had success.

Once rooted, I installed SuperSU (and selected option to disable KNOX) so that other apps cannot take advantage of my root access and also to stop those security check warnings, probably caused by KNOX (developer says it does not trip KNOX, however I don't know how to verify that). Then I froze some apps related to ota updates with Titanium Backup Pro, renamed a file, and changed permissions on a folder...So hopefully I've nailed the ota updates down.

This is my first android device and my first time trying anything like this! Thanks for posting!

Frozen apps in Titanium Backup Pro:

Att software upgrade

FWUpgrade

Local FOTA

wssyncmlnps

Renamed file:

/etc/security/otacerts.zip to otacerts.zip.bak

Unchecked all permissions boxes for folder:

data/fota
[Galaxy Tab 4 General] drivel2787:
Simple, cut and dry, and it works. Thank you so much! Now I can get rid of all this JUNK bloatware! :good:
[Galaxy Tab 4 General] pre4speed:
Do you have the NK2 kernel to ODIN after rooting?
[Galaxy Tab 4 General] yolo_:
Worked like a charm thanks!
[Galaxy Tab 4 General] avemt1:
I was able to get this working with the nk2 version, although have had issues with google play. and a few other apps.

---------- Post added at 08:47 PM ---------- Previous post was at 07:59 PM ----------

installed Superuser, and everything works fine!
[Galaxy Tab 4 General] bongra80:
Hi after rooting the sm-t337a is there any custom rom for it?
[Galaxy Tab 4 General] pre4speed:
No and there never will be unless we get a safestrap type recovery for it.
[Galaxy Tab 4 General] CocaFoca:
We should start a thread and try to gather everything we know. I would love to have a custom rom for my tab 4, stock is so slow... Will do anything I can to help get this working.
[Galaxy Tab 4 General] pre4speed:
[MENTION=3987687]moonbutt[/MENTION] was trying already but he struck out. However, there is a new tool called FlashFire from the dev of SuperSU that works for the AT&T S5 locked bootloader that *may* be worth checking out. I am NOT a dev, so I can't elaborate on it. If someone with that talent wants to check it out, maybe we can have something for our Tab4.
[Galaxy Tab 4 General] DUHAsianSKILLZ:
I did some research (just Googled flashfire works on locked bootloader) and chain fire said this "The app itself can work with a locked bootloader. But if you're going to flash things like custom kernels then your phone will (soft)brick. It's a warning/disclaimer just in case."

Here's his post http://xdaforums.com/showpost.php?p=60059287&postcount=199

So... yeah someone might wanna try something idk.
[Galaxy Tab 4 General] thejoker954:
if flashfire ends up working with our tablet that will be awesome. I'm waiting for a more stable version of flashfire before I try playing with it. if nothing else, just having the ability to make and restore a backup would be amazing.

not sure if we would ever be able to get a touchwiz-less rom (don't know much about rom development so don't know if stock kernel would work with a non-touchwiz rom) , but I can dream.
[Galaxy Tab 4 General] DUHAsianSKILLZ:
I found more info regarding flashfire. Here's what someone tested

- Will run on Android v4.x.x/5.0.x.<br />

- Will not trip your Knox Warranty Flag.<br />

- Will flash ROM's (use "flash .zip or ota" option).<br />

- No AROMA installer ROM's.<br />

- <font color="Red">Caution!</font> FF flashes to the boot partition, i.e. flashing custom kernels will result in soft brick!<br />

- You can drop a Full Odin .tar or .zip file containing the raw images onto your device and it will flash system, kernel, cache, and recovery (will not flash modem, non-hlos, or bootloader) (use "flash firmware package" option).<br />

- You can flash the remaining partitions via a .zip at the same time or via your PC using Odin.<br />

- Flashes .tars with unsigned images, e.g. system.img.ext4, modem.bin. (use "flash firmware package" option).<br />

- You can also flash individual (un-.tar'd) images, e.g. recovery.img, boot.img.<br />

- Flashes .zip files, e.g. mod's, SuperSu Update.zips, etc (use "flash .zip or ota" option).<br />

- Makes Backups of and Restores all partitions.<br />

- Wipes partitions.<br />

- Injects Root.<br />

<br />

-DUHA
[Galaxy Tab 4 General] mrkhigh:
Injects root? Thought it required root.
[Galaxy Tab 4 General] thejoker954:
from my understanding it requires root to initially install, but it will inject root for say at&ts/samsung official lollipop update which obviously wouldn't be rooted. so we wouldn't have to wait for someone to find an exploit.

**edit**

broke down and tried flashfire a little. I successfully backed up my system partition, but my sd card died the other day so I don't have space to try a full backup. took about 10 scary minutes of black screen before it rebooted ( I really hope chainfire can do something about that - even if its just a simple "working" text.)

gonna try and find something that comes in a flashable zip to test, if anyone has any ideas for this let me know.
[Galaxy Tab 4 General] pre4speed:
You did this on the 337a? Try flashing a theme or something from the theme section?
[Galaxy Tab 4 General] thejoker954:
Yes, I am doing this on the 337a. Just flashed viper4android from the tab 4 theme section but it didn't work. however i'm not sure it's a flashfire issue as I then flashed custombootanimation.zip (lets us use bootanimation.zip as opposed to that stupid qmg format.) and it worked.

for more info on the custombootanimation : http://www.xda-developers.com/add-custom-boot-animation-to-any-samsung-rom/
[Galaxy Tab 4 General] pre4speed:
This is very promising! If we can just get a dev to attempt a rom to test that would be awesome. I'm in the midst of moving (and painting the entire inside of a 1500 Sq ft house first! ?) or I would test anything and everything. I haven't taken any updates beyond what it shipped with so I still have the option of doing an ODIN restore and being able to root with towelroot. What about flashing previous version kernels? Can you try that?
[Galaxy Tab 4 General] CocaFoca:
How would we go about trying to flash a rom? I would be up for testing anything if someone would link me to a rom! I took a look at flashfire and was SO LOST lol. I really hope we would be able to cm 12 or something like that.
[Galaxy Tab 4 General] pre4speed:
Yeah we would have to have a dev that is willing to make or port a ROM. The problem with this device is there just isn't enough dev interest. Hopefully someone SOMEWHERE can help. Lol
[Galaxy Tab 4 General] thejoker954:
sorry for the late reply, family is in town so have been dealing with that.

* first - sorry to keep hijacking your thread CocaFoca - I keep wanting to start a new thread about about flashfire and the 337a, but as I'm just taking shots in the dark here, ( I really don't know anything about the workings of android) I just want to keep posting where I found out about flashfire :p -without you I wouldn't even have root lol.

*2nd -only the nf4 update (downgrade) is available (http://xdaforums.com/tab-4/general/links-stock-galaxy-tab-4-firmware-t3013128) nk2 is the newest right? ( I really don't know much I am used to working off what others have done and ignore official stuff.)

Due to space limitations (sd card died as previously stated) I'm currently attempting a titanium backup for user apps - then uninstalling said apps before I try flashing nf4. but I have to admit, I'm kind of scared to be trying this without a sd card. I'm going to back up everything I can onto my pc before I try this, but even so... lol... I really hope we can find someone who knows what their doing.

*3rd- (again I really don't know about the workings) but we may be able to port a rom from another tab 4 device. but it would still take someone who has at least an idea of what they're doing (and I certainly don't) to even get something that would boot on our device, never-mind be fully functionable.

**edit**

well it was sort of a success - my tab didn't blow up or otherwise die, but while I got the build number to change the kernel version remained the same.

It may be something as simple as needing to change some settings in flashfire. but maybe not, as flashfire says protected partitions should still be flashed with odin.

oh man, as I was typing this I remembered I'm using the older kernel already. doh. that's how we got root lol. if anyone has the newer nk2 kernel I could try flashing that but I haven't been able to find any downloads for nk2 myself.
[Galaxy Tab 4 General] draxie:
I just noticed this quoted in another thread and -while it's old hat now- I couldn't let it slide...

The modulus doesn't matter **at all**. A cube is a cube is a cube... (-;

AND: the PKCS#1 v1.5 format itself gives a sharper upper bound that works for any modulus

(and its cuberoot is fairly trivial to do by hand).
[Galaxy Tab 4 General] vortox:
That's right. I just wasn't sure if I overlooked a case.

If you do by hand numbers will just be very big ;)
[Galaxy Tab 4 General] sardox25:
hi

does anyone know - is it possible to enable text and voice calls on t337a?

does root help?
[Galaxy Tab 4 General] pre4speed:
I haven't found any mods that allow for this but look around, maybe you can. ☺
[Galaxy Tab 4 General] draxie:
True. but if you take the closest power of 2 as an upperbound,

taking cuberoot would mean dividing the exponent by 3.

I don't think that's out of reach for most people past high school. ;)
[Galaxy Tab 4 General] omega33655:
amazing. i cheapened out and got this tablet instead of the 8.4 (which i regret) and suffered with a mediocre tablet with less power than my phone and certainly not as snappy. i had been looking around and around for a way to root it and finally the original poster helped me out. my ATT t337a is now rooted and after freezing bloatware much faster. it was so sluggish before!!

one question, anyone know how to enable OTG?? i assumed it was enabled and ran to the store, bought the cable+usb drive and found out otherwise...tried every app on the market without success.
[Galaxy Tab 4 General] rl0156:
OTG works fine for me on my stock un modded t337a .

Is it possible that you froze or removed something that is affecting OTG? Did OTG work for you before you rooted?
[Galaxy Tab 4 General] omega33655:
i tried it both before and after. im surprised youre saying it works, i think ive read the tab 4 had it disabled. tab 3 worked though
[Galaxy Tab 4 General] misu3108:
Just followed your tutorial on my galaxy tablet tab 4 8.0 at&t and it worked! Thank you!!
[Galaxy Tab 4 General] gdownloads:
I dont know of a way without a 3rd party app however I use Pinger for text & voice. I already had a Pinger phone # so i just downloaded the app & signed in. It works great .

Also you can call/receive calls free from/to any Facebook friends thru facebook messenger. Calls are even better than with any other app.

Hangouts dialer also works to call anyone free.
[Galaxy Tab 4 General] loc626:
I had been looking for a way to root my Galaxy Tab 4 8.0 ATT (SM-T337A) since I am unable to root my Note 4. Took a shot at this and it really couldn't have been any easier! Thank you to the OP and the work put into this method!!!

Everything is smooth and I have almost all my favorite root apps that I had on my slightly old S3. Really hope a method comes out later at some point for the Note 4 AT&T variant.

Again, THANK YOU!!!!!
[Galaxy Tab 4 General] Number_6:
This worked perfect! Thanks!

Still waiting on Lollipop for this tablet. Anyone heard anything?
[Galaxy Tab 4 General] stash182:
Thanks OP, easiest root instructions I've ever used!

Is there a way to uninstall all these AT&T bloat apps? I don't have Ti Backup, but seems like freezing the apps would be the next best option. I found this thread, but Flashfire crashes when I try to launch it.

http://xdaforums.com/tab-4/themes-apps/mod-super-debloat-tool-sm-t337a-att-t3164673
[Galaxy Tab 4 General] TheDogman:
I have seen this question asked multiple times now in this thread and still no answer. Does ANYBODY have the stock Tab 4 T337AUCU1ANK2 Odin flashable kernel image? I have scoured the web to no avail. Please anyone post if you can. Thank You! -cheers- :good:
[Galaxy Tab 4 General] pre4speed:
I have seen around xda that flashfire beta expired BUT people are getting around it by changing the device date to prior to September 1st. Try that and see if it works. Don't forget to put the date back lol.
[Galaxy Tab 4 General] thejoker954:
Well link2sd will also let you freeze/uninstall system apps and reliably integrates updates into the system rom.
[Galaxy Tab 4 General] DertyJoe:
Perfect

Worked perfect, Thanks for your efforts o/
[Galaxy Tab 4 General] DatGrapeDrink:
I just picked up my Tab 4 8.0 today, followed to instructions on the first page and bricked my tablet. If anyone can help me, I'd very much appreciate it. I think the flash failed because I was running Lollipop and not Kitkat.
[Galaxy Tab 4 General] Kkalil:
Do you have any response, i am in the same situation. My t337a is soft bricked.

I need T337AUCU2BOH4.

Thanks.
[Galaxy Tab 4 General] DatGrapeDrink:
Nope, I took it to the Samsung Rep at Best Buy hoping he could fix it. He only had kitkat and wasn't able to flash it. I was lucky and Best Buy swapped it out for a new one.
[Galaxy Tab 4 General] thelous:
Soft brick is easy to fix, just follow guide how to flash stock firmware to samsung device :) just download ROM for your device found here, this will fix soft brick.
[Galaxy Tab 4 General] Kkalil:
I've test this yesterday. It dosen't work. I'v been on lolillop befor soft break. I think that we can't dwongrade the firmeware from lilollop to KitKat. Odin say "faild auth".

I' beleve that will work with t337aucu2boh4 ROM. So if you have any link to this stock rom, it will be helpefull.

Thanks.
[Galaxy Tab 4 General] CocaFoca:
Yeah I've been looking for it myself. Tried to downgrade my tab and its soft bricked. As soon as I find a link to the odin file I will post it to the first page under the warning I just posted about the lolipop update.
[Galaxy Tab 4 General] thelous:
Wow so we cant downgrade tab 4 ? once you install lollipop you stay lollipop. unless you install with custom recovery a deodexed rom
[Galaxy Tab 4 General] Kkalil:
Can any one get dump the boot.img from lollipop t337a and post it her? It will probably solve m'y soft breack.

Thanks.
[Galaxy Tab 4 General] Number_6:
Do you need the 5.1.1 boot.img or the kitkat one?

Here is a link to the 5.1.1 OTA .cfg file. Change the extension to .zip and you can open it as an archive.
[Galaxy Tab 4 General] CocaFoca:
You are a beast man. I am going to post the lolipop boot.img to the OP. It won't have root but it should unbrick everyone who is bricked. Maybe even make a pre rooted ota update? I'm not that experienced but I'll see what I can do

EDIT. The lolipop fix should work. Let me know if it works. Follow the same instructions as if you were rooting again.
[Galaxy Tab 4 General] Kkalil:
Thank you for this Nice work. I just change the extension to .zip and apply from recovery mode, and the softbrick is fixed.
[Galaxy Tab 4 General] Laertes007:
Same question here...
[Galaxy Tab 4 General] rob_z11:
so if you upgrade the OTA LP from AT&T, you would loose root?
[Galaxy Tab 4 General] thisisapoorusernamechoice:
Not only that but you need to have not rooted kitkat at all for the OTA to even be able to install
[Galaxy Tab 4 General] rob_z11:
I am going to stick with the KK, and keep my root.. I hate having AT&T locked bootloader.. Really getting frustrating experience with ATT Note3 and now tablet..
[Galaxy Tab 4 General] thisisapoorusernamechoice:
I totally understand, I have a Galaxy S4 Active (AT&T-specific model) and the locked bootloader is awful, so much wasted development potential. I think for Christmas I'm going to get myself an unlocked T-Mobile model phone (S4 or S5 or Note something, whatever I can afford with an SD slot) and remind myself what it feels like to have a good phone with cyanogenmod on it. The only unlocked bootloader phones I have are legacy devices, not really up to snuff to be my primary phone. AT&T and Verizon are @$$holes for locking down the bootloaders, I hate it
[Galaxy Tab 4 General] rob_z11:
I know what you mean.. I have Note2/ATT, and it is an incredible fun flashing crap all the time, and it just keep going Until I got two Note3/ATT from family, and swapped my note2 with note3/locked bootloader. What a nightmare.. Running stock with few international modified ROM, but nothing like AOSP or CM12.

You could pickup LG/G3 from T-mobile, and has everything like Samsung, and no locked bootloader, and runs well on ATT. I had it, but sold, and kept my note3 since it was free. Christmas, may be pickup note4/Lg G4 or something from T-Mobile. Hell with ATT and their crappy policy..
[Galaxy Tab 4 General] CocaFoca:
Root 5.1.1 is here!

**UPDATE**

There is a working root method for the 5.1.1. update. Kingroot 4.6.2 has succesfully rooted my tablet as shown below.

http://i.imgur.com/zIASoxS.png?1

Download to Kingroot: http://xdaforums.com/android/apps-games/one-click-root-tool-android-2-x-5-0-t3107461. Make sure to download 4.6.2. Then install the apk. Run it. It might say something like its not compatible with this device but hit root anyways. It should work. If it did congratulations you are rooted again! :)
[Galaxy Tab 4 General] medina0644:
Disappears on reboot... thoughts?
[Galaxy Tab 4 General] CocaFoca:
Yeah I noticed that. Its weird? Almost like a semi-jailbreak type deal. Im sure they are working to get it to stick till after boot but for now this is all we have. I tried to install Super-SU and change it to Super-SU instead of king and it just bricked my tablet so I wouldn't recommend trying to change the Root Manager.
[Galaxy Tab 4 General] C64assembly:
Yes, my tablet got bricked after i tried using super sume to change root application to super su. Is there any way to recover tablet without 5.1.1 firmware file?
[Galaxy Tab 4 General] :
Reboot to recovery, connect to pc and via adb shell , do a manual unroot.

that usually consists of

adb shell mount /system

adb shell rm /system/xbin/su

adb shell rm -fr /system/bin/.ext <----.ext is a directory

adb shell ls -al /system/bin/app_*

lrwxrwxrwx root root 2014-06-30 09:42 app_process -> /system/xbin/daemonsu

lrwxrwxrwx root root 2014-06-30 09:42 app_process32 -> /system/xbin/daemonsu <---remove this symlink

-rwxr-xr-x root shell 13588 2008-08-01 08:00 app_process32_original <---- rename to app_process32

-rwxr-xr-x root shell 73508 2008-08-01 08:00 app_process32_xposed <------ not there if you don't have xposed

-rwxr-xr-x root shell 13588 2008-08-01 08:00 app_process_init

Then search /data/app /system/app and /system/priv-app and remove the offending apk's base directory.

m
[Galaxy Tab 4 General] C64assembly:
Well, I was able to access tablet through adb sideload but could not issue commands because I received an error stating that I didn't have permission.
[Galaxy Tab 4 General] jdmsohc22:
just got my tab 4 from AT&T today as part of their promo with a new phone.. I tried to run this as I already have odin on my computer from my note 3 but after a few minutes it comes back as failed.. Any tips..?? I'm on 4.4.2 all stock..
[Galaxy Tab 4 General] medina0644:
King Root Brick

Believe king root bricked device, tried to load boot image through Odin and may have been the wrong one. Now I can't get back into Odin to try again. Stuck in boot loader, any way of using adb to unbrick? On lollipop currently.
[Galaxy Tab 4 General] Painsplayground:
I rooted my device using Kingroot and, when it started skitzing out, I restarted... BIG MISTAKE. It softbricked my beloved tablet.. Well.. after hours upon hours of research, testing, trying, praying, raindancing, voodoo dolls, and enough caffeine to kill a horse, I came across your thread... You, my friend... are a scholar, a gentleman... could possibly be even bordering on magical...

THANK YOU!!!
[Galaxy Tab 4 General] uudruid74:
UPDATE: Fixed it. May still have root.

OK. I have a "T337A". I basically want Lollipop and Viper (maybe Moab and Xposed if possible, but Viper is a must, but likely the hardest because of selinux).

I updated OTA to 5.1.1. Rooted with Kingsroot. Looked good. I installed Viper via APK. It mentioned it needed to fix selinux and change audio priority in boot.prop. I let it thinking that I could always fix via adb. I was WRONG.

On boot it says there is unauthorized software and refuses to boot. Tried flashing the firmware update.zip (Lollipop) via adb sideload in recovery. I tried wipes via recovery and tried flashing stock recovery via ODIN but it gives the Failed (AUTH) error on first file.

Thread mentions a possible fix? What file goes where to fix this? I'm pretty competent, but no experience with a locked bootloader that can't be unlocked.

Can it be fixed?

Can I get Viper working?
[Galaxy Tab 4 General] uudruid74:
I had the same problem but flashing the root(LP fix) from OP fixes problem, but loses root. You have root until you reboot. I think its something to do with selinux that is causing the issue. I'm going to try turning it back on and see if AT&T's bootloader locks me out again.
[Galaxy Tab 4 General] uudruid74:
Its unclear if anyone has managed to hold root across reboots on 5.1.1. Right now I have to remove root to boot then reroot. Suggestions ?