yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy S 4] k1mu:
That's a simple question with no simple answer.

Rooting adds files to your device - the su program and the SuperSU apk.

SuperSU also requires a script file in /system/etc to be modified to enable su.

That's it. Saferoot also installs busybox, which provides a set of command utilities that many programs assume come along with the rooting process. Those files are added to the phone and don't modify anything distributed by the vendor.

When you take an OTA, installing the OTA updates a bunch of vendor-distributed files by patching them. The patch process starts with an old file and makes changes to that file to transform it into the new one, If you've deleted or changed any of the files that the OTA is going to change, then the patch won't work and the OTA will fail.

So, if you root your phone, the OTA will work fine. Most of the changes made during rooting are files added to the phone, so they won't block an OTA. However, that assumes that you just rooted. If you did anything AFTER rooting - like deleting "bloat" - then you may interfere with an OTA. For example, if you deleted "NFL Mobile" from your phone due to the huge amount of space it wastes, then you will probably cause an OTA to fail.

A rooted device can be updated. The OTA will remove root permission. You may or may not be able to recover root once the update is done. Updating to Kit Kat, whenever Verizon gets around to it, will very likely render you with an unrootable device.,
[Verizon Samsung Galaxy S 4] ggravier:
Hi!

Now that is strange... because I'm seeing something potentially different. If I go to the phone's OTA updates menu to check for new firmwares, it's telling me that "Your device has been modified. Software updates are not available". (note, I've just done the rooting, not removed any stuff).

But Kies seems to be OK telling me that my phone is running latest version...

So I imagine if SamMobile tells me a new firmware is available, I can always plug into Kies and update?

Or remove root with above procedure and update?

Or Odin the new firmware on to the device directly?

Cheers,

Gilles.

---------- Post added at 07:35 AM ---------- Previous post was at 07:18 AM ----------

Ah... and using the "remove root" procedure described on page one, I can get back to enabling the OTA updates... and checking for updates now just tells me "No update available". So I'm good to go.

Rooting back my phone... :)

(what people do at 07H00 on Sunday mornings)

Gilles
[Verizon Samsung Galaxy S 4] k1mu:
You can clear the "Custom" flag using Triangle Away (Periodic system modified reset), or using Wanam xposed. That'll allow you to check for updates.
[Verizon Samsung Galaxy S 4] youphone:
I rooted following the directions in the thread. It went very smoothly.

However, I'm now wondering about two things:

(1) when Verizon releases Kit Kat via OTA, what steps do I need to take to ensure that the OTA is installed successfully?

(2) now that my phone is rooted, what can I do with it? what apps can I now run that I couldn't do before rooting?

Thanks!
[Verizon Samsung Galaxy S 4] ggravier:
Rooting lets you remove some useless system apps. Clean up more stuff. Run full backups of your device rather than just some of the settings and files. Customize some settings like make the camera silent. And more...
[Verizon Samsung Galaxy S 4] Sir_Eagle:
Hope I don't sound rude or mean here, but why would someone root their phone without having a reason to?
[Verizon Samsung Galaxy S 4] decaturbob:
all S4 owners need to start with this thread...

http://xdaforums.com/showthread.php?t=2606501
[Verizon Samsung Galaxy S 4] youphone:
my phone has been rooted using Saferoot...

what will happen if I do a factory reset now?

thanks!
[Verizon Samsung Galaxy S 4] mielletseed:
since the root binary resist in the /system partition you will stay rooted. but you will have to install a root application (SuperSU) again
[Verizon Samsung Galaxy S 4] youphone:
is it possible to return the phone to its original un-rooted state?

thanks! :)
[Verizon Samsung Galaxy S 4] mielletseed:
there is a unroot option in SuperSU, don't know whether or not it leaves traces

to be sure, you have to flash a stock rom with Odin
[Verizon Samsung Galaxy S 4] ggravier:
Yes. Instructions on page one.
[Verizon Samsung Galaxy S 4] k1mu:
Read post #2.
[Verizon Samsung Galaxy S 4] k1mu:
If you wish to upgrade to Kit Kat, or any OTA for that matter, you'll need to return the phone to near-stock state.

Being rooted won't stop the OTA, but mods like the xposed framework, busybox, etc. can interfere with OTAs.

If you're going to update to Kit Kat, flash a no-wipe stock ROM first. You'll lose root in the process, and may not be able to re-root after Kit Kat.
[Verizon Samsung Galaxy S 4] youphone:
wait.... I rooted only because I wanted to stop the OTA to Kitkat. (for now, anyway)

but are you saying that my rooted phone will still get OTA no matter what? I did rename SDM.apk and FWupgrade.apk. Or does that not help prevent OTA from Verizon? :(

Thanks! :)
[Verizon Samsung Galaxy S 4] k1mu:
Freezing those will block the OTA, so you're OK.

Most people ask about this because they want the OTA, ignoring that it will cost them root. Sounds like you're not one of those. :)
[Verizon Samsung Galaxy S 4] youphone:
I prefer both.(OTA KitKat and root)

However, I know it's not possible, so I pick root and hold off on the OTA KitKat.

Surely someone must be able to come up with a way to root KitKat, right? Just a matter of time...
[Verizon Samsung Galaxy S 4] k1mu:
Yeah, but "time" may be weeks, months... no guarantee.

Samsung isn't stupid and will close any holes we identify. Each iteration gets better and better at locking the phone down for good.
[Verizon Samsung Galaxy S 4] bgmg:
I don't know about other model GS4's but CF Root has been confirmed multiple times to work on kit kat on at least the new Sprint 720T triband GS4 though it will trip the Knox flag.

I prefer the saferoot method so I'm waiting around on 4.3 for awhile. I felt the need to post this inorder to put out the message that kit kat is rootable.
[Verizon Samsung Galaxy S 4] k1mu:
Repeating myself yet again: that's because your bootloader is unlocked. You can't use CF-Root (or CF-Auto-Root) on a bootloader locked device as it will soft brick it.

Unfortunately, the number of people who keep repeating that Kit Kat is rootable without clarifying what they mean is just convincing people that there's no problem with the Kit Kat upgrade. That means that there will be a bunch of people who will believe that all of the Galaxy S4's are rootable and end up unrooted and unrootable.
[Verizon Samsung Galaxy S 4] bgmg:
K1mu. I have been subscribed to your thread for months now and reading every post. I either forgot that or missed it. My apologies. I'll remember it this time. Thanks.
[Verizon Samsung Galaxy S 4] OstrichSak:
Quick question before I dive into research before rooting my device... is this device (MK2 on 4.3) capable of being rooted using this method without losing or resetting any data? What I'm looking for here is root access w/o any sort of reset or data loss and if I can't achieve this then I don't want to spend time researching something that isn't possible. I realize that it's a risk but if it's a certainty then I'm not going to put any more time into reading all about it as it doesn't fit my needs with this phone.

Thanks!
[Verizon Samsung Galaxy S 4] OstrichSak:
I think this confirms my speculation that this method will leave my data, apps & settings as is while granting root access. This is exactly what I'm looking for so I'm going to get started on this MoFo! :cool:
[Verizon Samsung Galaxy S 4] k1mu:
[MENTION=5662793]bgmg[/MENTION] - no need to apologize. I'm a bit hair trigger on this as I'm trying to decide myself if I'm going to take the OTA. There's risk, but perhaps SuperSU survival mode will work, and I'll need to be on 4.4 eventually if I'm going to root it.
[Verizon Samsung Galaxy S 4] k1mu:
Exactly. If successful, you have root. If not, you haven't changed or lost anything.
[Verizon Samsung Galaxy S 4] OstrichSak:
Yep, worked fine. Simple process too. Rooting used to be much more difficult and invasive. I've got root access w/o any other changes. Exactly what I wanted. Thanks OP!
[Verizon Samsung Galaxy S 4] alundra212:
I have rooted my s4 with saferoot.

Now im getting an official push notification to update to 4.4 kitkat.

What will happen if i update? Will i keep root and not trip knox? Will it brick my s4? Or will it update and erase root?

Thanks
[Verizon Samsung Galaxy S 4] Nergal di Cuthah:
Seriously these are all answered a few posts up.

Yes you will likely lose root

No it will not brick or trip

You won't be able to take the update if you've got modifications (such as Xposed modules)

If you want to avoid the update (for which there is currently no known working root method) use an app freezer (such as Titanium Backup) and freeze SDM and/or FWUpdate (i didn't have FWUpdate, and BGMG didn't have SDM).
[Verizon Samsung Galaxy S 4] OstrichSak:
I already froze SDM but what is Updater? I see nothing in the list called Updater that I can freeze.

Also, I found a list of Xposed modules but can you link me to something explaining what they are? Based on reading the list of files/options it seems I can use these to possibly customize my stock ROM slightly to do a few things I may prefer. Is this accurate or is this only for custom ROMs and such? Thanks!
[Verizon Samsung Galaxy S 4] Nergal di Cuthah:
I made some edits (immediately after posting and which are in your quote so I'm not sure how you missed them [emoji87] ) but it's FWupdate and I didn't have it either. But if SdM in frozen how did you get an update notice

---------- Post added at 09:43 AM ---------- Previous post was at 09:38 AM ----------

Yes visual and functional tweaks for Stock Roms (many specifically designed for our Touchwiz Samsung Galaxy Roms); start with Wanam Xposed IMHO. However as K1mu said this is a development thread and we're only supposed to discuss the Root method, so you'll be better served by posting in the Q&A forum about things like that.

EDIT: THREAD FOR XPOSED http://xdaforums.com/showthread.php?t=1574401
[Verizon Samsung Galaxy S 4] OstrichSak:
Looks like we're both doing ninja edits. I think when I added my edit it updated your quote with your edit but I can't be sure. Never seen that before actually & I'm familiar with forum software so it's new on me.

I wasn't wanting a discussion just a link to get me in the right direction since all I found was a 500+ page thread discussing development of them. I'm looking for more of a 'Here's what these can do and how they work' basic discussion. I'll find something as my intent was certainly not to cloud this informative thread. I'll do some more digging and will use Google instead of the forum search since I always fail whenever I use this forum's search option for some reason.
[Verizon Samsung Galaxy S 4] Nergal di Cuthah:
Lol super ninja edits I was re-re-editing and added the link above, however it's pretty plug and play, first post in thread is really all you need
[Verizon Samsung Galaxy S 4] OstrichSak:
Exactly what I was looking for. Thank you.
[Verizon Samsung Galaxy S 4] bgmg:
No problem but thank you. You've done such great work that I have strong faith in your ability to come up with a fix for kit kat eventually. People like you don't give up easily. You da man.

I just wish Verizon would push kit kat out already, so progress can start being made.

I'm sprint so fortunately I dont have to deal with a locked bootloader.
[Verizon Samsung Galaxy S 4] Surge1223:
Ive been working toward this and have somewhat of a half plausible plan but its conditional. If we and our AT&T friends cant come up with something together then it will be a sad day...for the Q&A thread....poor guy.
[Verizon Samsung Galaxy S 4] bgmg:
Working towards what? Unlocking AT boot loaders or rooting kit kat on locked boot loaders or what? I have to fess up, I didn't follow that at all.
[Verizon Samsung Galaxy S 4] CRzz:
Swedish Telenor Sim-locked rooted on 4.3

I can report that my Swedish GT-i9505 rooted nicely without any issues!

Have been very satisfied with my phone until I got the idea to factory restore the phone to perhaps get Kitkat to my sim-locked phone.

Samsungs "terrific" support suggested that, she obviously didn't have clue what she was talking about.

She also told me that it might take months before it would be released...

My only issues I had with the phone was I wanted the battery mod.

And the obvious thing, google apparently likes ads (sigh)... and bloat !

Ps. as one or two people have mentioned, read the first post... I apparently skipped through some parts.

Cause I had some issues, the bat-file and the sh-file both skipped through the script... used both Windows 7 and Ubuntu 13.10.

Until I had another look and saw the thing, very important thing... the path to the folder.

I am happy with my rooted device, 3rd android device to mess up... one can only hope that I have learned a thing or from my mistakes.

Thank you very much sir for the rooting script/mod, happy happy joy! :)
[Verizon Samsung Galaxy S 4] Nergal di Cuthah:
I wanted to quote this to reiterate its importance.
[Verizon Samsung Galaxy S 4] sega dude:
Just successfully rooted my Virgin Mobile LG Optimus F3 using this tool. Is it possible to use Superuser (com.noshufou.android.su) instead of SuperSu? I like Superuser better and I am more used to it.
[Verizon Samsung Galaxy S 4] Nergal di Cuthah:
There's an option in SuperSu to switch to another SU program
[Verizon Samsung Galaxy S 4] sega dude:
Thanks. That worked. Just ran that option and installed Superuser from the Play Store.
[Verizon Samsung Galaxy S 4] bgmg:
Curious ,what do you like better about superuser?
[Verizon Samsung Galaxy S 4] youphone:
no
[Verizon Samsung Galaxy S 4] gothicasshole:
Call me insane but can't we root 4.4 with the odin work around for safe strap???
[Verizon Samsung Galaxy S 4] tshelby73:
How you going to install safestrap without root
[Verizon Samsung Galaxy S 4] youphone:
I had FoxFi and it worked fine in 4.3. (after it installed a certificate)

Then I rooted the phone using Saferoot.

Is FoxFi supposed to continue working in a rooted phone or not?

Thanks!
[Verizon Samsung Galaxy S 4] k1mu:
Any existing "work around" may or may not work on the Verizon phones. We won't know until VZ releases 4.4.x.

There's something to do with the AT&T phones that allows upgrade to the 4.4 kernel but flashing back a base MK2 ROM, but I don't understand how that can be rooted, at least on our bootloader-locked phone.

However, if we're careful, you might be able to flash a 4.4 kernel, keep root and Safestrap running, and use that base to flash a Kit Kat ROM.
[Verizon Samsung Galaxy S 4] THE-COPS:
Ok. searched this thread .. nada.. maybe I didn't search enough, but I can't seem to find out which version of Kies to install. Reading this thread, I had the whole idea that standard Kies is to be used, but when I installed it on my computer for my VZW GS4 Android 4.3, it tells me Kies 2.6 isn't supported on my phone after starting Kies up. Do I use Kies 3 or is something wrong with this Kies version? I am on Win 7 64bit.
[Verizon Samsung Galaxy S 4] sega dude:
I'm familiar with it and I know how to use it. I used it on the first Android device I ever rooted, the Craig tablet in my sig, as well as on my first Android phone, the Motorola Triumph. I guess it's nostalgic in a way.

This is unrelated to what bgmg asked but I wanted to ask about it. I keep getting "root has been granted superuser permissions" periodically, even when I'm not using the phone. Why does root keep granting itself superuser permissions and what is it doing? It doesn't show up in the applist so I can't disable the notifications for it.
[Verizon Samsung Galaxy S 4] k1mu:
I'm not sure what's causing this, but is it possibly caused by having a 'su' program from SuperSU but Superuser controlling it?

I think you'll need to ask this in a Superuser thread, but I can't seem to find one that's not for ChainsDD Superuser.
[Verizon Samsung Galaxy S 4] bgmg:
Little different topic. Did you know there are two different "superuser" apps in the play store?

Not sure which one you like. One is made by clockworksmod and one by chainsDD.
[Verizon Samsung Galaxy S 4] gothicasshole:
Guys!!!!!!!!! I just got this tow work 0 errors !!!!!! I'm now running kit kat on a 4.3 boot loader I'm not kidding

---------- Post added at 08:29 AM ---------- Previous post was at 08:15 AM ----------

http://xdaforums.com/showthread.php?t=2680868

Seriously if your on the MK2 boot loader try this and also dark Venom rom or for more of a stock look try golden eye this shot is amazing!!!! 4.4.2 pre rooted safe strap editions WARNING SAFE STRAP WILL NOT BE ABLE TO MOUNT SYSTEM AFTER THE MDL ODIN FLASH FONT GO INSANE IT STILL WORKS BUT PARTIALLY SO NO BACKUPS WITHOUT GOING BACK TO FULL MK2 STOCK HOPEFULLY HASH OF CODE UPDATES THIS TO ALLOW SYSTEM R/W BUT THESE APPROVED ROMS WILL BE KIT KAT PRE ROOTED AND FULL ST READ/WRITE SO HE'LL YES
[Verizon Samsung Galaxy S 4] dwl99:
I have a UK I9505 on Android 4.2, XXUDMGG and have a possibly silly question. The only ROM I can see on the sammobile website as being confirmed working with saferoot is an MKE one, Colombia (Comcel)	2014 March	4.3	I9505VJUEMKE	I9505UWAENB1. I'm in the UK - if I flash this Colombian ROM will I run into problems with wifi, 3G/4G or mobile phone signals? The other ROM I would have chosen would have been	Ireland	2014 March	4.3	I9505XXUENAA	I9505YXXENB4 but nobody has confirmed that it is working with saferoot and I suspect that it has the patched kernel as it is much more recent. Thanks.
[Verizon Samsung Galaxy S 4] dafonehacker:
I would suggest you try to update to the newest version for your country, without getting the new knox bootloader. Then it doesn't really matter how you root, because you can reset the flash counter with triangleaway. I don't exactly know how to remove the bootloader from the odin file, so you'll have to google it. Maybe using Mobile Odin, as that doesn"t flash bootloaders. I did hear that there might be some wifi problems, but I think there is a patch for that.

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Verizon Samsung Galaxy S 4] gothicasshole:
I do have a rooted 4.4 rom....
[Verizon Samsung Galaxy S 4] gothicasshole:
Proof
[Verizon Samsung Galaxy S 4] gothicasshole:
More proof
[Verizon Samsung Galaxy S 4] gothicasshole:
And terminal emulator
[Verizon Samsung Galaxy S 4] k1mu:
And? You seem oblivious to the fact that doesn't say anything about whether or not the VZ bootloader-locked phones will allow the same thing.

I'll tell you what, I'm going to tell everyone who upgrades to Kit Kat on their Verizon phones to ask YOU how to install a rooted ROM afterwards. After all, you're claiming that it's already possible. Please explain how a VZ owner can do this (after all, you insist that it's just the "MK2 bootloader" that's needed). If you can't put up, then please shut up.

Note: I'm not disputing that getting 4.4 rooted on the SCH-I337 is possible. My point is that us VZ owners won't likely be able to do that. If you disagree, please state your evidence.
[Verizon Samsung Galaxy S 4] Nergal di Cuthah:
...at this time and for some lengthy amount of time after now
[Verizon Samsung Galaxy S 4] chauhanjayc:
Xperia T2 Ultra

could you make some changes and make safe root working for xperia t2 ultra running 4.3 plz

thank you
[Verizon Samsung Galaxy S 4] gothicasshole:
OK you will need to get with the op on the kit kat magic tool we will simply have to wait and see but the AT&T customers can either partial downgrade and full mk2 will have to odin flash the mdl files it's based off of the leaked firm ware you do make a point about the verizon/coma most likely being different but for AT&T customers it's a green light
[Verizon Samsung Galaxy S 4] peterme58:
I wanted to ask wether this method works for galaxy note 3 sm9005 with MJ7
[Verizon Samsung Galaxy S 4] gothicasshole:
Check the original post and read the first page or 2 it might but please read to confirm
[Verizon Samsung Galaxy S 4] mike.sw:
Works like magic on S4 XXUEMJ9 (Israel Orange), thank you OP!
[Verizon Samsung Galaxy S 4] Gazzuk:
Im on sprint S4. 4.4.2 is it safe to use?
[Verizon Samsung Galaxy S 4] JerryGNYC:
Ah... for KitKat, I believe you'll need to use CF Auto Root, IIRC
[Verizon Samsung Galaxy S 4] Gazzuk:
i am ROOTED NOW! woohooo thanks!
[Verizon Samsung Galaxy S 4] JerryGNYC:
You're most welcome. If you're going to stick with a TW ROM, I recommend Xposed and this module... :D -

http://xdaforums.com/showthread.php?t=2383484
[Verizon Samsung Galaxy S 4] amynjimmy:
Does this work on tablets.... Buying a sm-p600... It's running 4.3

MB865/ST-ATT/4.4.2/BMM

ZLP- SM-N900W8/Att-ST/OxO/CWM/ViSiOn NC2_4.4.2,Madmack 2.0

SMP605- ? brand new
[Verizon Samsung Galaxy S 4] k1mu:
Possibly. It works on my Galaxy Tab 2, so it does work on tablets. It can't hurt to try it.
[Verizon Samsung Galaxy S 4] The Jinxer:
Used to work...

Hi guys, I rooted my S4 mini successfully with this tool, thanks, but after some or other firmware update, I now have knox and it looks like the script won't work anymore... here is the output of the script run without admin on windows (and also the same happened on linux).

The output:

--- Samsung Galaxy S4 Android 4.3 Root ---
--- Based on the CVE-2013-6282 exploit by cubeundcube ---
[*] Testing adb usability

Plug in your phone and Press any key to continue . . .
[*] Waiting for your phone to appear[*] Your phone is detected and ready for rooting.
[*] Sending files to your device...
[*] Starting rooting program.
ro.build.product=serrano3g
ro.build.id=JDQ39
setsockopt() failed: Bad address.
this device is not supported.
kallsyms_addresses search failed.
[*] Checking if rooting succeeded[*] Unfortunately, rooting failed. Cleaning up.
Press any key to continue . . .
[Verizon Samsung Galaxy S 4] masondoctorjt:
I have a T-Mobile t999l.that was rooted using saferoot, but now that it is updated from uvbmk4 to uvubnc1 the exploit doesn't work. Any chance there will be a working saferoot exploit for that update?
[Verizon Samsung Galaxy S 4] decaturbob:
kmu1 has warned about taking updates. I know when 4.4 android is released for verizon (kit-kat), I will not take it unless safestrap and saferoot are both working on it. There is a possibility that root may not be attainable.

with what little improvements offered in kitkat, my S4 will be fine on 4.3
[Verizon Samsung Galaxy S 4] masondoctorjt:
Oh yeah, I know. it's all good. I just wanted to try and see if it worked with nc1. I am back on MK4 and rooted. I just would like the update as my wife's phone runs really smooth with it and signal is better I think. but I want to be rooted and don't want to trip the knox counter.
[Verizon Samsung Galaxy S 4] odicamillo:
How can you downgrade with a Knox bootloader installed without tripping the knox counter?

How can you even downgrade? I understood that downgrading results in a non working device.

Can you explain a bit more what you did?

Thank you.
[Verizon Samsung Galaxy S 4] mielletseed:
As far as I know it's not possible to downgrade to a version without knox bootloader but it's possible from a newer version with knox bootloader to a older version with knox bootloader.
[Verizon Samsung Galaxy S 4] k1mu:
That's the bad news that means that your kernel has been patched.

Unless you can downgrade to an older kernel, then Saferoot won't work until someone discovers a new exploitable kernel flaw. Sorry.
[Verizon Samsung Galaxy S 4] The Jinxer:
Thanks a lot for the effort you've put into this script. is there any way to downgrade without tripping Knox?
[Verizon Samsung Galaxy S 4] amynjimmy:
doeant work for my galaxy note 10.1 2014 sm-p600 on build jss15j.p600ueubmk1....anyone know why???:silly:
[Verizon Samsung Galaxy S 4] joNz.:
Trying to unroot

Hi, im trying to unroot and i get this message:

"/system/bin/sh: /system/xbin/unroot: not found"

what should i do?
[Verizon Samsung Galaxy S 4] k1mu:
Sometimes, but most of the time no. You'll need to find a forum for your specific device and see if anyone has a flashable kernel from an older release.