yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 General] ToastyOats:
This is a Repost from a prior thread after being instructed where to go.

I was given a Samsung I337 from a friend and upon Kingrooting it I noticed the stability started to degrade.

I then performed a factory reset, and then jumped back in. Noticing google no longer allowed access to the play store, rooted again in an attempt to sort out my Host file, with the intention of "Unrooting" later on.

Everything seemed to work fine, then my phone reset, and stopped at the AT&T logo.

Is it salvageable, or should I just toss it in the bin?

I would love to be able to get to a point where I could just use it, my intention was to eventually put Cyanogen on it.

It's running Android 5.0.1 that was the last thing I remembered while in my About Phone settings. I do not believe USB Debugging is enabled, considering how many times I've factory reset it trying to solve the problem.

I also for some reason can't get MTP Device drivers to install on my Win 7 64-bit PC.

[UPDATE]

So I finally got to flash to a stock rom. But now my WiFi won't turn on. I keep getting a prompt that results in the Phone rebooting. But it has no effect on my WiFi when done.

I used AP_I337UCUEMK2_1921628_REV06_user_low_ship_MULTI_CERT.tar.md5.tar for the stock firmware ODIN flash id that makes a difference
[AT&T Samsung Galaxy S 4 General] A_D_D:
BTW.

I already had stock firmware so I skipped step 1 and used ADB to sideload the files, Worked like a charm, now this cheapskate can get some more life out of his old S4! Thanks!
[AT&T Samsung Galaxy S 4 General] guut13:
Thread updated with OK3 info
[AT&T Samsung Galaxy S 4 General] carlosbalbuena_:
Thanks bro

Enviado desde mi SGH-i337 mediante la aplicación XDA-Developers Legacy
[AT&T Samsung Galaxy S 4 General] carlosbalbuena_:
As I understood the update OK3 would come with 5.1, as shown in the photo

But actually it is 5.0.1 and the security patch is 2015 that according to the at & t page would come with the patch of 2017
[AT&T Samsung Galaxy S 4 General] guut13:
Yep. good work, ATT.

It's the same date in OK2. Either they forgot to change it, or the date is for "5.0.1" My vote is for the former.
[AT&T Samsung Galaxy S 4 General] carlosbalbuena_:
mmmm I would have liked it to be really 5.1, but thank you anyway.
[AT&T Samsung Galaxy S 4 General] sus hill:
Error signature verification failed

I was on OK2 base but want to use custom ROM also my bootloader is locked so, I went to NB1 stock rooted ROM by Odin and tried to take OTA NB1 to NJ4 but all I got is signature verification failed. I tried downloading again and again but always there's this error and also I tried to flash stocked Rooted OC3 Rom by flashfire app but after phone reboots, there is an error promote saying xxx unfortunately has stopped I tried pressing OK then again another application has stopped it's going and going. Don't know If I am able to go to another ROM. I really need helps.
[AT&T Samsung Galaxy S 4 General] guut13:
Post 2 of this thread has detailed instructions on getting to whichever base you want. Can you tell me which step gave you the "signature verification failed" and be as detailed as possible, please. Thanks.
[AT&T Samsung Galaxy S 4 General] sus hill:
I was first at OK2 base and I like to use a custom ROM as mention in this https://xdaforums.com/galaxy-s4-att/general/how-to-installed-custom-lollipop-rom-t3135396 and I started searching for couples of hours and download I337UCUFNB1_4.4_Rootable_Stock_Odin_tar this file as mention. I successfully went to NB1 and use towelroot to root a device and my device is rooted. after that, I download OC3 for Upgrading to ROOTED STOCK OC3 with the help of flashfire and supersu I did exactly mention like here https://xdaforums.com/galaxy-s4-att/general/how-to-update-to-i337oc3-5-0-1-keeproot-t3075814 this is for OK2 but I had the files of OC3 and after reboot it stuck almost 10 minutes in att logo and there was a black screen with a popup saying numbers of application has unfortunately stopped. So, I couldn't go the home so I went to recovery mood and wipe the cache data and tried it, again and again, I ran into the same problem. After number of failures I change my mind and want to go to OK3 base so, I came to this thread and download NJ4_update_from_NB1.zip put it on memory card and went to recovery mood and select update from sd card option and navigate to the right directory after couples of second there was a red message saying ~footer is wrong signature verification failed~ and ~error signature verification failed~ I tried it 6-7 time but same error. So, I thought me be it is due to rooted base and tried I337UCUFNB1_4.4_Stock_Odin_tar with Odin and then NJ4_update_from_NB1.zip then again I ran into same problem.
[AT&T Samsung Galaxy S 4 General] guut13:
Thank you. You wouldn't have been able to update with a rooted base. Flashing back to NB1 Stock was the right call.

Do you have a different memory card you can use?
[AT&T Samsung Galaxy S 4 General] sus hill:
If using files from different memory card helps than I will look forward to it.
[AT&T Samsung Galaxy S 4 General] Sgooter:
guut13's Guide enabled me to rescue my boot-looped SGH-i337. Recently bought an -i337; was able to unlock it thru AT&T yesterday, then I tried to use Wondershare's Mobile Go / One Click Root to root this phone. Although I had successfully used the Mobile Go One Click Root on a different -i337 several months ago, it failed yesterday to confirm root on my latest -i337. Instead, during the rooting actions, this phone rebooted several times with no indication on the phone nor on my PC that any actual progress was happening. After a lengthy wait I disconnected the phone from the PC, then it started repeatedly rebooting; never fully booted up. Thanks goodness I found this Guide and was able to restore the phone back to Lollipop OC4. The Root Checker app says my phone is not rooted, but during the first part of any reboot, I get the Samsung opened lock Custom screen. Perhaps at some point in the Mobile Go rooting activity this phone may have been rooted, but it clearly wasn't successfully nor thoroughly completed. Everything else seems to be working fine; keeping my fingers crossed.

Update: Today I was able to successfully root my -i337 using the MobileGo One Click Root feature, though it did require 3 attempts over a 30 minute period to achieve success, as verified by Root Checker. Of course, the next step was to thoroughly uninstall MobileGo off my phone and off the PC - because MobileGo does come with some undesirable baggage. After the normal uninstall process on the PC, you will need to also bring up task manager and stop a couple of active/running Wondershare services, then delete the Wondershare folder residing in your program 86 area. Thanks again to guut13.
[AT&T Samsung Galaxy S 4 General] guut13:
Thank you. Glad the thread helped.

I've never used "Mobile Go One Click" so I'm not going to be much help there.

Kingroot mobile app worked for me on OC4.

And the "ALTERNATE - Rooted Lollipop and Safestrap Method" in post 2 has also worked for me. Try one of those 2 methods.
[AT&T Samsung Galaxy S 4 General] guut13:
Ignore
[AT&T Samsung Galaxy S 4 General] mkoev:
Hello guys,

Coming from the Nexus forums trying to flash newer rom for my friend who owns an S4 Galaxy ATT with a MF3 bootloader. I think they are using Android 4.2.2. I've flashed a few unlocked S4s so no problem using fastboot, but I guess that's not the case with ATT :D Anyway... all those topics are really old and long and I would need days to read through all of them. I did read through some of them though. I was even able to locate the LOS 14.1 thread, but I was not able to flash the TWRP recovery unfortunately. So what I've gotten so far is that I should use ODIN and get to a lollipop base and lat least use lollipop. I have no problem with using Odin and losing all of my data:) So I looked through the OP and figured out:

1. I wanna be able to flash different roms, so use the alternative method. Unfortunately it starts with "Starting with any rooted kitkat base, follow this method to flash a rooted OC3 or OC4 Stock ROM Base. ". Obviously I am not on KITKAT :( 4.2.2 is JB.

2. So do I have to go through steps 1 and 2 to get me to android 4.4.x and then proceed forward with Step to get to 5.0.1?

Will I be able to flash LOS Roms with SafeStrap? Will I be able to flash lokied TWRP 3.x.x.x.over SafeStrap so I can flash Android 7.x.x roms?

Unfortunately the Samsung itself tells me there are no updates although the official one is up to 5.0.1. The phone is not used in the USA and I've been told that without an american SIM it won't update. So that's why I want to update it manually.
[AT&T Samsung Galaxy S 4 General] guut13:
Mf3 is the first locked bootloader. Safestrap only recovery that works with a locked bootloader. TWRP will not.

Also since the bootloader is locked, you cannot change the kernel. Therefore​ any rom you flash has to be compatible with the stock kernel. This limits you to only TouchWiz based Roms. LOS/CM, AOSP, etc... Will not work.

There is a link to my other thread in OP. It lists all the Roms that work with all the different bases. Decide which room you want to use, the follow the steps in this thread to get to that base.
[AT&T Samsung Galaxy S 4 General] mkoev:
Dev, thank you very much for replying so fast !! Yep, I figured I will not be able to flash anything but TW roms. I started reading your other thread. But still, isn't it better to upgrade to a higher base so I can use at least 5.x TW roms?
[AT&T Samsung Galaxy S 4 General] guut13:
Up to you. 5.x is more recent and has updated security patches, but also a few more hurdles to jump through to get a rom installed. Early bases are more straight forward to install. Read the rom flashing instructions in the other thread and decide what you feel comfortable with.
[AT&T Samsung Galaxy S 4 General] galaxys4bricked:
can not boot into stock recovery

I have spent hours reading this tread and all the threads it links to no less than 6 times all the way through and have all the files for every process download and hash checked. I have flashed the stock nb1 rom no less than 10 times and followed the steps to the T. Have not succeeded in anything aside from gaining root on 4.4.2 nb1 base rom and had to do that with odin and dr.fone, was not able to gain proper root with kingroot and not able to boot into stock recovery to use any other methods for rooting, flashfire or safestrap. My goal is to install safestrap with working root to flash custom roms. I'm trying to keep this post short to not clutter up threads so if any more info is needed let me know. My biggesgt problem is trying to boot into stock recovery and have even held the volume up for at least 5 minutes after releasing the power button when "recovery booting" appears. it just hangs on a blank screen after the first reboot.
[AT&T Samsung Galaxy S 4 General] guut13:
If you have only been able to Odin Stock NB1, then your root issues are expected...

- Kingroot (phone app) only works with OC3 and OC4 kernels

- Kingroot (desktop app) only works with OK2 and OK3 kernels

- Towelroot only works with NC1 kernel (or the rootable NB1 odin image because it has the NC1 kernel)

Not sure what's going on with stock recovery. Did someone try installing CWM or TWRP on your phone before you got it? You'd think ODIN stock base would overwrite it, but I have heard it cause issues to others in the past.

I did a google search and found this link... http://www.android.gs/how-to-enter-samsung-galaxy-s4-recovery-mode/

Never tried it with the home button, myself, but this site says...

- Power off your device completely.

- Press and hold Volume Up, Home and Power buttons simultaneously.

- Release the buttons when the phone’s screen flickers or the Stock Recovery logo appears.

and there is a matching video...

https://www.youtube.com/watch?v=B8TOJkBOZfs
[AT&T Samsung Galaxy S 4 General] galaxys4bricked:
recovery mode

thanks......yes i have tried the power+vol+home and it made no difference
[AT&T Samsung Galaxy S 4 General] guut13:
Well, if you want to flash some ROMs, Odin the NB1 rootable base (I337UCUFNB1_4.4_Rootable_Stock_Odin_tar) found here...

https://xdaforums.com/showthread.php?t=2674223

You can then root it with towelroot, install safestrap, then flash any of the CUSTOM 4.4.2 TOUCHWIZ ROMS found in post 4 in this thread...

https://xdaforums.com/showthread.php?t=2616221

(make sure to used the NC1 modules since that is the kernel inserted into the base.)
[AT&T Samsung Galaxy S 4 General] galaxys4bricked:
does not work for my device

just hangs on a blank screen after the "recovery booting" disapears
[AT&T Samsung Galaxy S 4 General] slaithe:
How long should flashing to stock take? It's been 30mins.

Ah, changing from desktop front USB port to powered USB hub's port did the trick! ^^

Whew!
[AT&T Samsung Galaxy S 4 General] Antmann91:
step 2?

my bootloader before doing step 1 was ok3 and i was running 5.0.1 is step 2 necessary because i dont have an external sdcard to complete step 2
[AT&T Samsung Galaxy S 4 General] guut13:
Yes.
[AT&T Samsung Galaxy S 4 General] Antmann91:
Step 2

Is it possible to do step 2 from internal storage or is an external micro sd necessary to complete this cause right now I'm running my s4 on ancient software and don't really have cash to spare on a sd card
[AT&T Samsung Galaxy S 4 General] guut13:
I don't think you can put it on the internal SD. An alternative to external SD is sideloading it from your computer. I confirmed it worked on an previous post here...

https://xdaforums.com/showpost.php?p=63472468&postcount=307
[AT&T Samsung Galaxy S 4 General] Tekram:
Can the "STEP 2 - Flash Update(s) in Stock Recovery" be done using Odin? What is the alternative for doing these if one does not have an external storage device
[AT&T Samsung Galaxy S 4 General] guut13:
No to Odin.

Post before yours has alt method.
[AT&T Samsung Galaxy S 4 General] Tekram:
Worked beautifully using the abd sideload method!
[AT&T Samsung Galaxy S 4 General] guut13:
Glad you you got it working.

Any ROM in post 3 will work. Tested all the 4.4.4 ones myself. Feel free to try any other you find and report back, but yes... they need to be touchwiz based. (unless they are made specifically for safestrap)
[AT&T Samsung Galaxy S 4 General] JHarley17:
I used triangle away when I was on MF3 rooted and it worked for that. Havent tried yet on NJ4
[AT&T Samsung Galaxy S 4 General] Asxetos:
Wonder why this didn't happen on NI1 upgrade. Steps where the same (NB1 stock -> NI1 update -> NC1 kernel -> towelroot -> NI1 kernel)...
[AT&T Samsung Galaxy S 4 General] dovedescent7:
I'm on NC1

i337 rooted

keeps trying to OTA update,ignored for a while, now getting

intermittent "no sim inserted please restart" messages.

haven't been keeping up with these forums but I just want to fix this and probably have the newest fw that's able to have root.

would I Odin to a stock image? if so which one???

keep getting update failed errors after downloading multiple times etc etc and it even installing. I unfroze knox and everything except kept rooted, could root be blocking the OTA?

srry if this was asked guys, not noob, just super busy @ work for Xmas and not been around. thanks
[AT&T Samsung Galaxy S 4 General] biglilsteve:
*edit*

I asked a stupid question...found the answer in the first post lol.
[AT&T Samsung Galaxy S 4 General] guut13:
Can't speak for the "no sim" error, but OTA's won't work if you are rooted. (Even unrooting doesn't always help)

My recommendation is...

1. Do a backup up in safestrap

2. Figure out what base you want to end up on and follow those step in the OP to get there.

3. Once you are rooted and have safestrap installed, restore your backup.

*** probably a good idea to backup your apps first too, just in case something goes wrong with the backup.
[AT&T Samsung Galaxy S 4 General] dovedescent7:
About the base..

That is my question...

Since i am on NC1, and it is trying to update but not working, then what ,logically would this be trying to update to?

Or let me ask another way? What is the newest FW that can be rooted???
[AT&T Samsung Galaxy S 4 General] jd1639:
Read through the op. The firmware it's trying to update to is most likely nj4. But that's not directly rootable, nc1 is with towelroot.
[AT&T Samsung Galaxy S 4 General] dovedescent7:
Ahh thanks.

so if I want to keep root, then I need to stick with nc1..

K
[AT&T Samsung Galaxy S 4 General] dovedescent7:
So i am assuming i can just Jump from NC1 to NJ4 simply through ODIN

Im assuming just Download the NJ4 stuff and odin it? Simple as that?

I am on NC1 rooted without safestrap

thanks

---------- Post added at 10:23 PM ---------- Previous post was at 10:08 PM ----------

i am trying to locate your I337_NI1_Stock_Kernel.tar.md5 in the referenced link but it isnt there....

am i crazy? trying to go to nj4
[AT&T Samsung Galaxy S 4 General] guut13:
Negative. Each base can be rooted, you just need to follow the directions in the OP.

Again, just follow the directions. NJ4 is an update. You need to ODIN NB1 and then either take the OTA or flash the update in stock recovery.

It was in the first post of that thread. For some reason the link was to a later post. Thanks for pointing that out. I'll fix.
[AT&T Samsung Galaxy S 4 General] dovedescent7:
thanks for fixing this link so fast... you are really great. great thread, much appreciated. seems all so simple now...
[AT&T Samsung Galaxy S 4 General] Virtygo:
Hi, doing step 3 in NJ4 rooted with safestrap, can't flash NC1 with ODIN... please advise.
[AT&T Samsung Galaxy S 4 General] stealthmoe:
Does this work on the I337UCUAMF3 build? I've been given advice to Odin to nb1 and let it ota to nj1 4.4.4. Can anyone confirm this seems right?
[AT&T Samsung Galaxy S 4 General] guut13:
You'll need to provide a little more detail. How do you know it didn't work? Did you get an error message? Perhaps the download was bad. Try redownloading I337_NC1_Stock_Kernel.tar.md5.

99.99% sure you can odin to NB1 from MF3 without issue. (.01% doubt is because I did not do it myself so I cannot tell you from experience.)

If you think about it, though, the NB1 Odin image replaces all files on your phone with NB1. Since it also works if you soft bricked your phone, I assume starting at MF3 is no bid deal.
[AT&T Samsung Galaxy S 4 General] guut13:
First. Towelroot ONLY works on NC1. Therefore, if you rooted successfully, you correctly odined the NC1 kernel.

Now that you are rooted, install safetrap, and then Odin the NJ4 kernel. Once you have done that, then check mobile hotspot.
[AT&T Samsung Galaxy S 4 General] Virtygo:
Yes I did that, thinking that maybe there is not an indication of the NC1 kerel, am i correct that settings will still indicate NJ4? but to this point mobile hotspot is a nogo. I have checked for root, seem like SU thinks it's rooted. I even went as far as replacing framework-res.

anything else i might be able to try?
[AT&T Samsung Galaxy S 4 General] guut13:
Only way to tell in settings is to look at kernel version. NJ4 is...

Don't be confused with Baseband. That is just the modem.

Does wifi work?
[AT&T Samsung Galaxy S 4 General] Virtygo:
Kernel version is what you have included, is this the correct kernel for NJ4 or NC1?

Yes I have wi-fi. but no mobile hotspot. I goes to verify account then nothing, reverts back to wi-fi.

please keep giving me nuggets, I'll keep trying, at least until i have to sleep, but will continue after work.

---------- Post added at 06:05 AM ---------- Previous post was at 06:01 AM ----------

Sorry just saw that:

3.4.0-2960651

dpi@SWDD5803 #1

Fri Oct 17 22:42:06 KST 2014

is for NJ4... what should it be for NC1? I may try the whole thing from the beginning tomorrow night.

but if you have a way to get this to work tonight all better.

thanks
[AT&T Samsung Galaxy S 4 General] guut13:
That was NJ4. And since wifi is working, sounds like you odin'd the nj4 kernel back correctly, as well.

Not sure why hotspot is not working now. My suggestion is to odin back to nb1 and then take the nj4 update. Before you root or do anything else, check to see if hotspot is working.
[AT&T Samsung Galaxy S 4 General] Virtygo:
thanks, but what is the indication that NC1 has taken during step 3?
[AT&T Samsung Galaxy S 4 General] guut13:
1. Phone will reboot on its own after flashing kernel in Odin

2. Towelroot works to root your phone. If you are on any other kernel, except NC1, you would get an "unsupported" message when you click "make it rain"
[AT&T Samsung Galaxy S 4 General] Can0dope:
Where can I download Odin? I can't find any good links, they're all either broken or deleted... or malware...

Edit: I think I found a good one... http://androidcentral.us/2013/11/download-odin/

But it's slightly different, specifically, it says on the "header": Odin3androidcentral.us

Is this version legit?

Nevermind, I'm just a little slow today... I just found your link in the OP. I should've known you've got everything covered. Thanks again, guut13!
[AT&T Samsung Galaxy S 4 General] Can0dope:
If I could make one suggestion, it might be helpful to some (like my forgetful ass) to add a step after rooting to install SuperSU.
[AT&T Samsung Galaxy S 4 General] youngdaddytc:
need some help - no wifi

so im stuck at the step of 'making it rain' because i have no internet connection. mobile data is not an option and the wifi isn't working. any alternate ideas or ways to get the wifi up and runnign so that i can run towelroot?
[AT&T Samsung Galaxy S 4 General] jd1639:
Reboot your router. Without internet towelroot isn't going to work
[AT&T Samsung Galaxy S 4 General] youngdaddytc:
i dont think you understand. when clicking the wifi icon on my phone, it will not turn on. the wifi router in my home is perfectly fine but the phone's wifi refuses to stay in the 'on' position.

as for mobile data - i do not have a cellular mobile connection/plan/contract. so i cannot connect to the mobile network.

i tried to flash the ATT modules for my ATT S4 phone, but flashing that in recovery from the external storage didnt seem to make the wifi work as it has in the past.

UPDATE: found a version of towelroot that does not require internet, on the forum found here...

http://xdaforums.com/galaxy-s4-att/general/how-to-root-i337ucufnj4-4-4-4-11-13-2014-t2939553

I then downloaded this towelroot apk and installed, which allowed me to gain root access and install safestrap. i should now be good to go from here :)
[AT&T Samsung Galaxy S 4 General] brooklynite:
I had the same issue yesterday WIFI doesnt work and phone does not show up on the PC when connected to USB. But Bluetooth works. Download the towelroot that requires no internet from here, then Bluetooth it to your phone with another Samsung phone. At least that is what I did.

How can I find out what my bootloader is? There is no splash screen when I boot up. POWER-VOL UP and HOME button goes to some screen but doesnt talk about bootloader.
[AT&T Samsung Galaxy S 4 General] TylerMarshall256:
I have the NI1 and I followed this step by step. I thought this would work out for me but It didn't I'm now doing an emergency recovery with kies. The problem I had was kies popped up and said failed at around 95%. I don't know what happened.
[AT&T Samsung Galaxy S 4 General] guut13:
Try uninstalling kies. It sometimes interferes with Odin and re-download the nb1 odin file. May have been a bad download the first time.

After uninstalling kies, if your computer doesn't see your phone, you may have to install the drivers. Link in OP.

Since you are on NI1, NB1 is the furthest back you can go. Flashing anything before that, such as MDL, will not work.

Also, I'd recommend NC1. Fewer steps to root and install recovery... less room for error. (That's what base my phone is on)
[AT&T Samsung Galaxy S 4 General] TylerMarshall256:
I've fixed it. Its all GOOD now. All I did was go to my cousins house and use his desktop and his factory usb cable. And now it works fine!!!!!!