yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy S 4] esheesle:
When I run that it says device (which is what I think your script is expecting, so no clue why it wasn't working).

All I did was comment out this chunk of code:

for /f "delims=" %%a in ('files\adb get-state ^| findstr /v "foobar"') do [MENTION=352992]set[/MENTION] pstate=%%a

if not %pstate%==device (

echo.

echo Watch your phone. If you see the "Allow USB debugging?" prompt

echo Tap on the "Always allow from this computer" checkbox

echo then tap OK

echo.

echo If this script appears to be stuck at "Waiting for your phone to appear",

echo then you should tap on the USB icon in the notifications that says

echo "Connected as a media device". On the"USB computer connection"

echo page, switch between "Camera" and "Media Device" to see if the

echo device appears.

)

Worked great once that was commented out. Suspect it must be something with my system as your code seems to work fine for everyone else.
[Verizon Samsung Galaxy S 4] bgmg:
Summary of my system: I am rooted with k1mu SafeRoot and have about twelve system apps (including the touchwiz launchers) frozen with Titanium backup. I use nova launcher as my primary launcher. I wish to remain rooted and according to things I read on the saferoot thread, I cannot receive OTA updates while apps are frozen, yet I received new notification this morning on my phone that says "System Update Downloaded. Touch to install".

I didn't think I could get OTA notifications with system apps currently frozen. I'm afraid this might be the 4.4 update and I don't want to install it... because from everything I've read, I will lose root indefinitely.

Can anyone tell me if this notification that I got is the 4.4 Kit Kat update? and if it is, how can I hide the notification, so that I don't accidentally launch it at a later time with frozen apps, and mess things up.
[Verizon Samsung Galaxy S 4] k1mu:
Go ahead and hit the "Volume Up" at the warning screen. Then you'll be able to check the flag. Once you're done checking, hold the power button to leave downloader mode.
[Verizon Samsung Galaxy S 4] k1mu:
To stop OTA notifications, you need to freeze SDM and FWUpgrade.

See this thread for more.
[Verizon Samsung Galaxy S 4] SparkyRih:
Got a New Padfone Infinity yesterday, now I want to root it, I can choose for:

-The method explained in this thread, but Idon't see any reports of it working on my device, but a user posted a link to this thread on the Padfone Club forums...

-KingoApp, which has been proven to work several times, but I don't trust it for some reason..........
[Verizon Samsung Galaxy S 4] k1mu:
If Kingo works, there's a pretty good chance that Saferoot will as well. It uses the same exploit.
[Verizon Samsung Galaxy S 4] bgmg:
Thanks, I read the thread and kind of you to provide the link. I froze FWUpgrade. Not sure what SDM stands for, and I don't see a SDM in the list but when I type SDM in the filter it brings up a service called "System Update 1.8.8". I froze it also, assuming it's the right one.

I restarted the phone and the "System update downloaded. Touch to install" notification is still on my screen.

1) Is there any way to get rid of the notification after it has already spawned? I don't want to accidentally click on it at a later time.

2) and Is there any way to tell what the update actually is before launching it? Maybe it's not 4.4 and I can launch it.
[Verizon Samsung Galaxy S 4] JerryGNYC:
I haven't had to try this yet as I haven't gotten the update -

http://xdaforums.com/showpost.php?p=50745092&postcount=527

HTH,

-Jerry
[Verizon Samsung Galaxy S 4] SparkyRih:
I think I'm going to try your method then, thanks for the reply...

Edit: You can add the New Padfone Infinity (A86) to the list, I'm rooted, thanks again :)
[Verizon Samsung Galaxy S 4] bgmg:
Thanks. I read the thread. I didn't download root manager, but I did use my own file manager app. I went to the top of the tree and found the cache folder but there were no sub folders (i.e. "fota"). I also ran a search on the entire tree for a "fota" folder and did not find one. I also ran a search on the entire tree for "update.zip" and didn't find one.

Is it possible, that my freezing the "FWUpgrade" and "System Update 1.8.8" automatically removed the "fota" folder and the "update.zip"? That seems unlikely.

or is it possible that I'm dealing with a completely different update (perhaps it's not 4.4, maybe it's something else all together)?

maybe I should just tap the "System Update Downloaded. Touch to install" notification....but I'm so scared....LOL
[Verizon Samsung Galaxy S 4] bgmg:
Here's a pic as evidence that I have NO fota folder or update.zip
[Verizon Samsung Galaxy S 4] mess18:
Re-rooting problem

My problem is a bit different,

I have an AT&T S4 i337 MK2 rooted with Safestrap.

I have installed a custom ROM in Slot 1. All is OK, but I needed to install an app that requires/works on stock ROM only (it checks it internally). So I ran the SuperSU's Full Unroot, than installed this app (works OK). Now I wanted to return full root using the Saferoot. Unfortunately I've got this instead:

...

/system/bin/sh: /data/local/tmp/getroot: can't execute: Permission denied

[*] Checking if rooting succeeded

[*] Unfortunately, rooting failed. Cleaning up

....

When I activate SuperSU, I get:

"There is no SU binary installed,

and SuperSU cannot install it. This

is a problem!

If you just upgraded to Android

4.3, you need to manually re-root -

consult the relevant forums for

your device! "

What should I do to come back to root w/o wiing or re-installing the ROM, in order to keep my special app as it is now?

Please advise.
[Verizon Samsung Galaxy S 4] k1mu:
Are you trying to root a custom ROM slot, or the stock slot?

If you have Safestrap still installed, find a SuperSU flashable zip file and flash it into your ROM and you should be OK.

The zip here: http://download.chainfire.eu/342/SuperSU should do it for you.

If you've removed Safestrap, then it's going to be a bit more difficult. Apparently whatever you've booted doesn't allow executing programs installed in /data/local/tmp, and Saferoot needs to be able to do that.
[Verizon Samsung Galaxy S 4] Nergal di Cuthah:
K1mu, I do see fwupgrade listed in titanium backup, does it have a different friendly name? Is I not always present? SDM is frozen.

VZW S4
[Verizon Samsung Galaxy S 4] k1mu:
Check the other thread - /cache/fumo/OTApkg.zip is the correct filename if I'm right.

Reading /cache won't work if you're not rooted.
[Verizon Samsung Galaxy S 4] k1mu:
Use the filter in Titanium. Open Titanium Backup, tap on "Backup/Restore".

Tap on the magnifying glass and enter "fwu" in the box and tap "Done".

You should now see FWUpgrade 1.2.0

Same with SDM, should find SDM 1.0.
[Verizon Samsung Galaxy S 4] Nergal di Cuthah:
Already tried using filter (but an important step for anyone reading, so I appreciate the sentiment of your gesture). Only thing that comes up with a full search (package and app name) of FW is "allshare cast" 1.2

, I'm not worried but still odd.

---------- Post added at 02:02 PM ---------- Previous post was at 01:50 PM ----------

You must also first type su to get access too
[Verizon Samsung Galaxy S 4] bgmg:
Ran a search across my whole device for OTApkg.zip. No file found.

Please allow me to restate a few things:

1) I have no subfolder under "/cache". I do not have a "fumo" or "fota". I have nothing in my "/cache" folder. I sent a pic of my cache folder from file manager in post 1271

2) On my Sprint SPH-L720T Tri Band phone, I do not have a "SDM" app process. When I type "SDM" in my titanium backup, it brings up a app process called "System Update 1.8.8". I don't know if I should have froze this, but I did. Please look at my titanium pic in the next post. You will see that I typed "sdm" at the top, and the result was "System Update 1.8.8".

3) I ran a search across my whole device for *.zip to return all .zip files. I did find a "/system/etc/security/otacerts.zip". Not sure if I should do anything with that.
[Verizon Samsung Galaxy S 4] bgmg:
As you can see in this pic, I have no sdm app process
[Verizon Samsung Galaxy S 4] mess18:
Thanks!

It's in custom slot 1, not stock.

The safestrap is still there.

I'll try to install the apk and let you know what's happend.
[Verizon Samsung Galaxy S 4] bgmg:
Also, I am rooted. I used your saferoot two months ago. I just went into my file manager app and found a root option. I turned it on and the file manager app requested super user privilege which I granted. Now I can see sub folders under cache, but none of them match your description.

I do see a obvious file called " 0de568e284baa2bbcb25305b099be7cc415386de.USER_L720T_SPT_MK5_to_NAF_Update_FWD.zip". See enclosed pic.

I moved it to my sd card. Do you think I'm OK to press the update option now to make it go away?
[Verizon Samsung Galaxy S 4] k1mu:
OK, sorry, but you're not on a Verizon phone. I have no idea where Sprint puts their OTAs or what processes they use to manage them.
[Verizon Samsung Galaxy S 4] k1mu:
If you've moved it, yes. The update will fail, and stop nagging you.
[Verizon Samsung Galaxy S 4] bgmg:
I tapped the update notification. Now I have the screen shown on the enclosed pic. Not sure if this is normal when the correct file has been moved. Do you think I should tap "Restart and Install"?

I appreciate all you're help.
[Verizon Samsung Galaxy S 4] Scottchy014:
Check out [MENTION=4246643]Tomsgt[/MENTION] He is on YouTube as rootjunky.com. Or you can just message him. He has tons of videos right up your ally.
[Verizon Samsung Galaxy S 4] k1mu:
I'm a bit reluctant given that you're using a phone that I've never used, but..

If you're sure that the zip is no longer there in the original location, go ahead.

What I would do is to shut down, remove the SDcard, then reboot. Now allow it to take the update, since it won't find the file anywhere.

There's probably a safer option where you can clear the data for whatever application is asking you to update, however.

For what it's worth, over several different versions of Verizon phones, removing the OTApkg.zip after it started to prompt to update caused it to reboot, fail, and stop asking. Hopefully Sprint uses similar code.
[Verizon Samsung Galaxy S 4] bgmg:
You have done all you can. Thanks much. *I assume if I want to install this update later, *I'll have to boot to recovery mode and load the zip from there. *I also assume there will be no drawbacks/problems to loading it from recovery instead of the way it was intended.

I need to think it over now. *I may need to learn how to do what was suggested in post 118 of my thread

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

Again thanks for all your help. Your are a boss.
[Verizon Samsung Galaxy S 4] dafonehacker:
So I rooted using saferoot a few days ago, but today the android 4.4.2 update was made available for my device (GT-I9505) in my country.

Is it possible to somehow update to 4.4.2, while retaining root access, or at least the ability to root, without tripping knox warranty void?(maybe removing the new bootloader from the update?)

This is the update:

Firmware: I9505XXUFNB9_I9505OXXFNB2_LUX (Android 4.4.2)

PDA: I9505XXUFNB9

CSC: I9505OXXFNB2

Would it be possible to root it with saferoot?

Verzonden vanaf mijn iPad met behulp van Tapatalk
[Verizon Samsung Galaxy S 4] k1mu:
Without having the phone in hand, I can't say if you'll be able to keep root across the update. Samsung has been getting smarter and smarter about blocking such attempts.

If you set SuperSU to survival mode, you may retain root. However, I think that's pretty unlikely.

Samsung has been shipping kernels with the defect that Saferoot uses fixed for some time now, so there's very little chance that Saferoot will work once you update. There's currently no known kernel flaw that will allow you to re-root once you update.

Once Verizon releases the Kit Kat update for the i545, I'll take it apart to see what it does and see if I can find a way to retain root across the update. However, I don't have a lot of hope.
[Verizon Samsung Galaxy S 4] Homerunnerd:
Hi,

The script is not recognizing my phone. I have drivers installed and the phone is recognized by the computer and by Kies. My phone is on MK2, any ideas how to get adb to recognize this thing? I've tryied toggling USB debugging on/off and MTP/PTP to no avail!

Thanks

EDIT: Installed samsung drivers in the post, rebooted, and adb finally connected.
[Verizon Samsung Galaxy S 4] Samstealth7:
WOW so easy lol.

THANKS
[Verizon Samsung Galaxy S 4] alemosman:
Can anyone confirm if it works with Sprint mk3
[Verizon Samsung Galaxy S 4] k1mu:
It's been reported to work on Sprint SPH-L710 running MK5. There's no reason it won't work on MK3.
[Verizon Samsung Galaxy S 4] cinnamngrl:
The update will unroot your phone. So far I can't find saferoot for 4.4.2 but I'm still hoping
[Verizon Samsung Galaxy S 4] yake:
You mean you couldn't find a root method for 4.4.2 without tripping knox, right?

Now I am running stock 4.3 without root due to security updates that do not allow saferoot to make effect. I am thinking about updating to 4.4.2 but I don't know if it would be the case since there is no way to root it without tripping knox and I don't know if any method to root should be released for 4.3 or 4.4.2 first... :confused:
[Verizon Samsung Galaxy S 4] DangerousB:
can i root my sgs 4 with this method? build number is JSS15J.I9505XXUEMKF
[Verizon Samsung Galaxy S 4] k1mu:
The i9505 with MKF build has been reported to be successfully rooted. There's a list of phones where this works in the first post of this thread.
[Verizon Samsung Galaxy S 4] Sir_Eagle:
So are you saying you know a root method for 4.4.2? Even tough it would trip knox.
[Verizon Samsung Galaxy S 4] JDM STi:
BRAND NEW day 0 S4 rooted successfully!

Just picked up my Rogers S4 i337M today and decided to give it a try. It's baseband MK6 and I followed the instruction, and rooted it within 3 min.

Thx OP!
[Verizon Samsung Galaxy S 4] yake:
Correct: I am talking about CF-Auto-Root.

http://xdaforums.com/showthread.php?t=2219803
[Verizon Samsung Galaxy S 4] semperfidelis316:
k1mu, are you the developer of this awesomeness?
[Verizon Samsung Galaxy S 4] Acesohigh:
Amazing

I rooted my Verizon s4 using saferoot and its simply the easiest method. But not only that I also rooted my buddies LG Optimus F6 and Samsung Galaxy Nexus using the very same root. This should be a sticky
[Verizon Samsung Galaxy S 4] bodieism:
Maybe this one? My GF's VZW Galaxy S3 shows VRUCML1 in the "About phone" menu. She accidentally installed the update before talking with me and it caused her to lose root. While searching for a way to undo the damage she had caused I found the above link, which directed me to this thread. However, this thread states that the root method is for VRUEMJ7 so I'm not sure if I want to risk it.

Has anyone rooted VRUCML1 using Saferoot?

Edit: Just read in the first post that the VZW GS3 is supported so I will probably be giving this a shot.

Verified! Worked perfectly on my GF's Verizon Galaxy S3 with VRUCML1.
[Verizon Samsung Galaxy S 4] k1mu:
Which won't work on devices with locked bootloaders as far as I know, so that doesn't help many of us. (AT&T, Verizon, etc.)
[Verizon Samsung Galaxy S 4] k1mu:
Yes, and no. I started with an exploit from cubeundcube that's used to gain root access, but that tool was unable to permanently root the phone.

I modified his tool to use a different technique to install the Superuser and su programs, and wrote a better installer.

Without cubeundcube's starting point, I wouldn't have been able to make this tool. I made it work on phones with SELinux enforcing.
[Verizon Samsung Galaxy S 4] Braccoz:
confirmed working on I9505XXUEMJ7, thanks! no knox tripping :good:
[Verizon Samsung Galaxy S 4] semperfidelis316:
Right on. This was the easiest root method I've ever used. I'd love to buy you a beer but I doubt I'll be in Virginia anytime soon so the donate button worked just fine.

Cheers.
[Verizon Samsung Galaxy S 4] LiquidT:
Hey I've done everything you said on how to uninstall saferoot and the lock icon on the boot up screen. Everything seem to uninstall fine, but I still have the lock on the boot up screen. If I do a factory reset from the settings I get a message saying go to a Verizon store. How do I fix this???
[Verizon Samsung Galaxy S 4] k1mu:
What phone are you using and what build are you on? The best way to clear that custom status is to flash an OEM image, but I can't point you to that without knowing what you're running.
[Verizon Samsung Galaxy S 4] papzi57:
Somebody tryed it on Xperia Z1c with firmware .142, .144 or .146?

I have rooted .114, but when upgarde to .142, .144, I will lost root, and now nothing info the upgraded Z1c firmware method.
[Verizon Samsung Galaxy S 4] k1mu:
There is no risk in trying to re-root. Saferoot will either work, or tell you that the device is not supported.

If it fails, it cleans up what was put onto the phone.

Of course, the Knox Warranty Void flag won't be set either way.

Give it a try and let us know.
[Verizon Samsung Galaxy S 4] BillTheCat:
Hello! Looking to root a friend's S4 - need to know if this method will erase any of his data, and if so, how would I go about backing up apps and data for restoration without Titanium Backup, since that requires root which we don't have yet.

Thanks in advance!
[Verizon Samsung Galaxy S 4] bgmg:
Highly unlikely this method could corrupt his data and nearly impossible it could erase his data. That being said you should explain to your friend that it is his decision and their is always some risk in rooting. Confirm whether he wants you to try our not. That's always the smart thing to do, but there is very little risk in this method.
[Verizon Samsung Galaxy S 4] cinnamngrl:
I

I did have root before knox. I was able to saferoot 4.3 I was not able to get my phone to allow hotspot. I also didn't block ota so my phone has 4.4.2 now. my knox is still 0x0. I guess I will wait longer and then just cf auto root. my warranty is up in may
[Verizon Samsung Galaxy S 4] yake:
Mines' up in August, but I couldn't wait and rooted my phone using CF - Autoroot last week. Now I hope that I wouldn't have any hw problem during the next few months.

Enviado de meu GT-I9505 usando Tapatalk
[Verizon Samsung Galaxy S 4] LiquidT:
Thanks for your help. I just flashed the OEM rom back and it fixed it. It was a Verizon gs3 4.3 with the locked bootloader.
[Verizon Samsung Galaxy S 4] LexusBrian400:
your donation is now complete

Confirmation number: 9YA88132EK813"XXXX"

Thank you, enjoy the beer!
[Verizon Samsung Galaxy S 4] zzzk:
Successfully rooted Droid razr maxx hd, safe to upgrade and unlock

Hello,

Thank you! I just successfully rooted my Droid razr maxx hd, it was on 4.1.2 and 9.30.1 system version. What I would like to know is if I can safely upgrade it with the stock ota to android 4.4 without losing root? Also, is it possible to unlock it? Will this link work? :

http://www.droid-life.com/2013/04/0...zr-m-and-atrix-hd-bootloader-unlock-released/

Someone, please, how to upgrade, unlock, what order? Steps, etc? ;) Thank you!
[Verizon Samsung Galaxy S 4] k1mu:
I haven't tried the upgrade to 4.4 so I can't tell you what's going to happen for sure. However, you will lose root. You may be able to get it back if you have SuperSU set to enable survival mode (requires pro if I'm not mistaken).

I will try this when VZ gets around to issuing 4.4, but that will likely mean losing root, perhaps for a very long time.
[Verizon Samsung Galaxy S 4] bloke0002:
Need help!!

tried rooting getting following messages. Tried different cables, different usb ports, restarted both laptop and phone...Verizon galaxy note 2 running OTA 4.3. Using windows 7 laptop.

--- 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=t0ltevzw

ro.build.id=JSS15J

search kallsyms...

1 2

(kallsyms_addresses=c084c2f0)

(kallsyms_num_syms=0000f1f5)

kernel dump...

1 2 3 4 5 6 7 8

[*] Checking if rooting succeeded

error: device not found

[*] Unfortunately, rooting failed. Cleaning up.

error: device not found

error: device not found

error: device not found

error: device not found

Press any key to continue . . .
[Verizon Samsung Galaxy S 4] dafonehacker:
What is the build number of your device? Go in the dialer en type *#1234# (or something like that) and tell what is says. Maybe your software is not supported as samsung has patched it on some versions.

Verzonden vanaf mijn iPad met behulp van Tapatalk
[Verizon Samsung Galaxy S 4] RobertdeHoop:
Stock no-wipe ROM for I9505XXUEMKF

Hi,

After having a bad experience with my previous phone, before rooting my new phone, I would like to ensure that I can rollback to stock for warranty support.

I have a non Verzion device and am looking for the Stock no-wipe firmware for it.

My model number is: I9505XXUEMKF

Hope anyone can help me find it.

thanks Rob
[Verizon Samsung Galaxy S 4] dkephart:
Depends on what you mean by roll back. Un rooting is easy - one click in SuperSu. Restoring stock ROM depends on what is possible with your device. I had no problem Odining back to stock on AT&T GS4. Check the forum, but I presume MKF is no more difficult than MK2.
[Verizon Samsung Galaxy S 4] decaturbob:
as long as there is stock image you can odin, shouldn't be an issue
[Verizon Samsung Galaxy S 4] RobertdeHoop:
Thanks for the reply, what I mean is: When I need to go back to completely stock, the guide in post #2 mentioned to use ODIN to flash a no-wipe rom. I did some research, but cannot find a no-wipe rom for I9505XXUEMKF.

I hope someone can help me find a download site for the no-wipe version for I9505XXUEMKF. Maybe I just do not understand the no-wipe thing and I can just download the stock ROM from samsung-updates.com.
[Verizon Samsung Galaxy S 4] bloke0002:
in about phone it says JSS15J.I605VRUEMJ9
[Verizon Samsung Galaxy S 4] dkephart:
By "no-wipe" I think you mean without wiping /data, right? But if you are returning to stock, this us just what you need to do: extraneous data there or on /sdcard, and of course on /system may lead to a non-stock situation. The answer is to back up everything you need (like pictures) to an external sd card, remove the card from the phone, then do the Odin flash.

Afterwards, remount the card and restore whatever you wish.
[Verizon Samsung Galaxy S 4] koreo:
any roms work with this? my s4 has been giving me a whole lot of wifi problems and im quite fed up with it:(
[Verizon Samsung Galaxy S 4] RobertdeHoop:
Thanks for helping. By no-wipe, I do not know what it means. It is explained in post #2. There they are talking about "stock no-wipe ROMs from this forum". I was not able to find out what it means. I think that you are right, that it is only needed if you whish to keep your data.

I do not care about my data, I just want the option to go completely back to stock with all flaggs back to factory settings to be able to get warranty when needed.

Therefore I would like to know if I can flash the roms from: http://www.sammobile.com/ or http://samsung-updates.com/ without triggering the knox warranty fuse.
[Verizon Samsung Galaxy S 4] NRadonich:
Good Morning.

Just tried SafeRoot on 4.4.2 - and it failed pretty miserably. Oh well.

Not going for the CF Root, I prefer to keep the KNOX Flag from getting tripped.
[Verizon Samsung Galaxy S 4] pintopunk:
Sorry if it's posted else where I am trying to root friends Verizon note 2 he does not have access to computer but needs to run titanium backup to restore app data. Is there a way to root on latest update without computer. Thank you
[Verizon Samsung Galaxy S 4] JerryGNYC:
Without knowing what carrier or Android version you have, how can anyone answer your question. Also, have you looked in the OP? There's a list there...

---------- Post added at 01:07 PM ---------- Previous post was at 01:05 PM ----------

It's been stated plenty of times in this thread that it does not work on 4.4.2. <sigh> :confused:

:rolleyes: