yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 General] wallacetsoi:
So it's strange.. phone was running for the past 42hrs

I powered down and powered up.. on cue stuck on Samsung Galaxy S4 splash screen again :rolleyes:

Before wiping and reinstalling..

I pulled the battery, powered up again, same result. Second battery pull, powered up.. woah, it booted.

BUT then it asked me to set up CM and sign into Google account. All data was intact. This is doesn't sound too good.

However, I've rebooted 5+ consecutive times without any problems. One of those times the lower left of the corner read "Safe Mode".

I duno, this just doesn't seem very stable.
[AT&T Samsung Galaxy S 4 General] :
Yeah, that is all very wierd. Don't know--especially Safe Mode coming up--:(

Maybe try ktoonsez kernel for aosp:

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

Flash from recovery and wipe only Cache/Dalvik Cache after flashing kernel and before rebooting. No loki--

Otherwise could be issues with phone itself and/or Odin back to stock-Return to Radio Shack for swap.

Maybe full wipe everything including internal card first, then reroot/reflash--backup first--
[AT&T Samsung Galaxy S 4 General] wallacetsoi:
Hey rugmankc,

I didn't try the ktoonz. I've been using it after my last post for the past few days without any trouble. Reboots flawlessly.

I won't try to reflash again til the next stable version comes out, M9. Hopefully you won't hear from me at that point, meaning the problem has resolved from the Gapps you provided.

I'm very gracious for your help to this point :good::good::o
[AT&T Samsung Galaxy S 4 General] :
Glad you got it--kernels are a big cause of operating issues. And they work differently for each user--more or less--:good:

I used ktoonsez kernels exclusively for a long time even contributed to a great dev. But, for some reason, I now have better luck with a rom's stock kernel--go figure--:confused:
[AT&T Samsung Galaxy S 4 General] cool77:
I have a Canadian S4 from Bell, it's a NE1 4.4.2 , can I use the post #1 guide safely? Also, is there a way to avoid tripping efuse from Knox. Thanks
[AT&T Samsung Galaxy S 4 General] cool77:
It worked out perfectly. Don't know about Knox. Cheers and thank you for this guide!
[AT&T Samsung Galaxy S 4 General] Abu Ameer:
Partition

I wish I would have known about this guide before flashing my partition on my SSGS4 4.4.2. Now I cannot get past the samsung logo with the open padlock. I can get to download and recovery modes but do not know what to do past there. I'm getting a lot of different versions of what I'm am and am not suppose to do and need to know if I permanently hard bricked or am I still in soft-brick mode with options. Can you please help me knowledgeable one?
[AT&T Samsung Galaxy S 4 General] jd1639:
You're not hard bricked. You always have Odin which may be your best bet right now. Start everything over from fresh.
[AT&T Samsung Galaxy S 4 General] Abu Ameer:
Softbricked

Well is it safe to say softbricked. Nonetheless, if I knew exactly which files to odin after flashing landing on 4.3 MK2 and then I believe I clean wiped my ROM. The only thing I know is that I am confused as to which ROM to attempt flashing. And which version of odin to use with what files. Is a loki clean or dirty flash an alternative at this point?
[AT&T Samsung Galaxy S 4 General] jd1639:
Do your know if your firmware version is 4.3 or 4.4.2?
[AT&T Samsung Galaxy S 4 General] Abu Ameer:
Softbricked

When I got the phone it said 4.4.2. NC1. But after I successfully flashed it it read 4.3 NC1. From KitKat to Jelly Bean...
[AT&T Samsung Galaxy S 4 General] jd1639:
Flash the nb1 rootable tar file from here. Download it and extract it. http://xdaforums.com/showthread.php?p=50912149

Google Odin v1.85 xda. Put the extracted file in the PDA slot of Odin
[AT&T Samsung Galaxy S 4 General] Abu Ameer:
Odin Instructions

do I insert the PIT file included with: [u1_02_20110310_emmc_EXT4.pit] into the PIT slot with: [I337UCUFNB1_Rootable_Full_Odin.rar] in the PDA slot? And do I check off Partition along with the PDA slot? On stand-by.
[AT&T Samsung Galaxy S 4 General] jd1639:
You don't need a pit. Do NOT check re- partition
[AT&T Samsung Galaxy S 4 General] Abu Ameer:
I337UCUFNB1_Rootable_Full_Odin.rar

Odin 3 v1.85 is not seeing file I337UCUFNB1_Rootable_Full_Odin.rar. after I extracted it. So now I am downloading all of the mirror and alternative downloads to see if odin recognizes them. The only file that odin sees are files with the .tar, .md5 and .smd extentions. Unless I am doing something wrong. I'm beginning to think I'm the newest member on this forum. A noob noob.
[AT&T Samsung Galaxy S 4 General] jd1639:
Extract it using 7-zip or win rar. You should end up with a .tar.md5 file
[AT&T Samsung Galaxy S 4 General] Abu Ameer:
Unbricked

Samsung Galaxy SGH-I337 successfully unbricked orginally on i337UCUFNC1 rooted to i337UCUFNB1, 4.4.2 fully credited to jd1639. You are definitely an Android Wizard. I really appreciate you lending me your assistance. It was invaluable when I had almost gave up all hope.

:good: Thanks again and on the thank you meter as well... Is there any way I can unlock it so I can use my T-Mobile Simm card?
[AT&T Samsung Galaxy S 4 General] jd1639:
Try this http://xdaforums.com/showthread.php?p=54932702
[AT&T Samsung Galaxy S 4 General] Abu Ameer:
Unbricked

I am at the step when you direct to "Download the included MF3 Modules ZIP file from the link down below" I have the files on my desktop. Yo obviously want this file downloaded to the device. However, am I to extract it first and select one of the files from the extracted folder to add to the device? Or am I to simply copy the file to my device as is?
[AT&T Samsung Galaxy S 4 General] jd1639:
Don't extract it, just flash it in safestrap
[AT&T Samsung Galaxy S 4 General] Abu Ameer:
On T-Mobile from ATT

Maaan, you made my wife really proud of me after she had lost all confidence. I do not believe the concise and accuracy of the information that you present here. A baby noob can follow you. To me, you are truly the Android Guru. Thank again for the unlock and the instruction on finally how to navigate and use this safestrap thing. Thank you

---------- Post added at 02:39 AM ---------- Previous post was at 02:36 AM ----------

Full credit goes to jd1639 The Man amongst the men of Android hacks...
[AT&T Samsung Galaxy S 4 General] jd1639:
I'm definitely not an android guru. There are others here who are. I just know how to do stuff.

You did all the work. I just pointed you in the right directions.
[AT&T Samsung Galaxy S 4 General] Abu Ameer:
Unbricked

Is there any chance I can upgrade to the new Samsung Galaxy S5?
[AT&T Samsung Galaxy S 4 General] kpirnie:
sure... go out and buy one...
[AT&T Samsung Galaxy S 4 General] jt1998:
:silly::laugh::good:
[AT&T Samsung Galaxy S 4 General] :
If you mean flash rom with S5 apps and theming

http://xdaforums.com/galaxy-s4-att/development/movin-please-posts-t2864506

Read OP post 4 and the SafeStrap instructions carefully

I believe you are running on SafeStrap now after jd's help. If I understand correctly??

If not see the All things MK2 and ATT thread in General and Hashcodes SafeStrap thread in Dev section to study up on how to flash SafeStarp roms--:)
[AT&T Samsung Galaxy S 4 General] kpirnie:
:good: :cyclops: :D :silly:
[AT&T Samsung Galaxy S 4 General] Uncle Vinnie 666:
Don't understand!!!

All-in-One Guide!??? I wish it was!

What the Hell does I337M & MDL - MF3 - MK2 Mean???

NO! I'm not a Developer or a Computer Nerd. I don't have any patience with Computers, Computer Syntax or a any Computer Mum-Bo-Jumbo BS!!!

I believed that "ROOTING" my phone was going to be a simple road to un-limited FREEDOM & I would be out from under the Corporate Yolk. BOY!!! Was I mistaken.

Do U Geniuses have any bright Ideas???
[AT&T Samsung Galaxy S 4 General] jd1639:
Patience, start by looking at your build number in settings, about device. Look at the last three characters
[AT&T Samsung Galaxy S 4 General] Funkadube:
Mad at myself

OK, where do I begin? Got my att gs4 a couple days ago and looked up how to root easily before even looking into OS & build versions...impatient & idiotic, I know. Of course, I later found out I have the 4.2.2 mf3 build, not awesome. But before realizing that & how much this impacts things, I somehow got onto the towel root webpage and rooted my MF3 build that way, which I do not see any references to on this thread. I'm now at a loss as to what I need to do to install a custom recovery (my thought is use post#2 - safestrap) and flash a rom that gets rid of all of the Samsung/att bloatware.

Thankfully, the towelroot did not try to install cwm or twrp or I'd be bricked and really angry with myself. SU is installed and everything is working ok except towelroot must've blocked something (think it did do some sort of Knox removal or something) b/c my phone cannot update to a newer OS... stuck on 4.2.2. Was really into the modding/flashing scene back in the day when I had my HTC tp2 and then a wp7 (had to root and flash to do anything on that garbage os) but I later bought a gs3 that had already been rooted and flashed with a good barebones rom, so I am a little behind when it comes to Odin, loki, etc. I am just looking for some direction b/c I'm not sure what towelroot actually did to my phone to root it. I am about to install titanium to backup everything.

Recap: was an idiot and rooted before looking into everything. Used a rooting method not common or mentioned in many places. I'm stuck on 4.2.2 with mf3 build and now I don't know where to go from here in order to install custom recovery and find a better rom (no bloatware) to flash.

Thanks in advance for any help you all can provide
[AT&T Samsung Galaxy S 4 General] jd1639:
Why don't you start here, then come back to the op of this thread http://xdaforums.com/showthread.php?p=55338138
[AT&T Samsung Galaxy S 4 General] Funkadube:
Thanks a lot, had been searching the threads and somehow did not come across that thread. Should've searched using towelroot instead of mf3 i think...derp. Saw this thread and decided to read it first, but that one is more applicable to my situation right now. Thanks again for the direction. This thread is quite useful though, bookmarked for later use.
[AT&T Samsung Galaxy S 4 General] Uncle Vinnie 666:
Don't understand !!! ???

MF3- MK2 ??? What do those two things mean???

---------- Post added at 03:13 PM ---------- Previous post was at 03:06 PM ----------

I guess I should submit this in the " no question too dumb " Section !
[AT&T Samsung Galaxy S 4 General] jd1639:
Those are firmware versions. Look at the last three characters of your build number in settings about device.
[AT&T Samsung Galaxy S 4 General] jhoxda:
MDL ATT S4 seeks aid to try his first new ROM

Rooted my ATT S4 i337 using CASUAL when I first got it, so I’m still on MDL. (Thanks to you all!) Have TWRP 2.5.0.2 installed. This is the first time I’m going to try a new ROM as I would like Gear Manager to use a smartwatch my wife is buying me. I've read lots of threads, looked at a few of the TW roms, and it appears Hyperdrive will work (but I'm open to suggestion).

I don't want to risk bricking my phone without knowing how to proceed, and don't want to lose root. I have Titanium Backup (although not sure how well things will work when updating ROMs). After TB, nandroid and EFS backup, what do I have to load into TWRP? If I go with Hyperdrive RLS20, for example, I then reboot into TWRP (do I need to upgrade TWRP first?) and:

Full wipe (/data, /cache, /dalvik)

Flash Hyperdrive v20 zip (NO REBOOT)

Wipe caches (/cache, /dalvik)

Flash an AT&T S4 kernel (use Ktoonz because it's loki'd? Is this a choice I'll see in AROMA?)

Wipe caches again

Install modules for modem? Not sure how or which?

Then Reboot system and sweat for 10 minutes.

I want to keep it simple, and would prefer not to use Odin to undo my own stupidity/ignorance. Any step-by-step help would be appreciated. Thanks in Advance.
[AT&T Samsung Galaxy S 4 General] jd1639:
I'd update twrp first, download the latest image file to your device http://techerrata.com/browse/twrp2/jflteatt. Get flashify from the play store and flash the image in that. Then make a nandroid backup in twrp. Download hyperdrive to your device and flash it in twrp. Use tibu to restore your non system apps, our just let Google restore them
[AT&T Samsung Galaxy S 4 General] nosmokingbandit:
Im in a bit of a pickle here. I've rooted successfully but I can't get TWRP to install. I have an sgh-i337.

Goo manager seems to be defunct so I downloaded the twrp img and flashed it via Flashify. Now when I boot it automatically goes into download mode and won't fully boot.

What can I do to 1) get my phone working again, and 2) get twrp installed safely?

I did this to my old S3 with no trouble at all, but this phone seems to be a pita, and every tutorial references goo manager and nothing else.
[AT&T Samsung Galaxy S 4 General] jd1639:
What firmware version are you on?
[AT&T Samsung Galaxy S 4 General] nosmokingbandit:
4.4.4

I followed this guide to root:

http://www.droidviews.com/root-att-galaxy-s4-sgh-i337-android-4-4-4-kitkat-firmware-i337ucufnj4/
[AT&T Samsung Galaxy S 4 General] jd1639:
You can root with that guide but you can't use twrp. Safestrap is then only custom recovery you can use. You'll probably have to Odin back to nb1

Edit, see this http://xdaforums.com/showthread.php?p=56453100
[AT&T Samsung Galaxy S 4 General] nosmokingbandit:
Thanks, I'll get back to stock asap. Does twrp just not like 4.4.4 on this phone? It seems like 4.4.2 has all of the options available.

edit: alright, a little confused again. It looks like I'll follow "NB1 STOCK" to get me back to normal again, but then what is the difference between NJ4, NI1, NC1, NB1, etc? What I originally started with was NJ4, so I'm assuming I should head that direction?

And while I have your attention, the only reason I want to root and install a custom recovery is to eventually flash the 5.0 Play Edition rom: http://xdaforums.com/showthread.php?t=2537495

Is that feasible with SafeStrap?
[AT&T Samsung Galaxy S 4 General] jd1639:
You have to be on mdb or mdl bootloader for twrp to work, 4.2.2
[AT&T Samsung Galaxy S 4 General] CluelessNoob:
So I followed all the steps and have a rooted NJ4 with Safestrap installed. I did a system and data backup through Safestrap as well. Now I want to install custom Roms (say CM11). Do I have to keep my stock NJ4 in one of the Safestrap system partition or can I delete the NJ4 system and install only CM? I don't think I want to go back to stock NJ4, I want CM only and don't care for partitions. Thoughts?
[AT&T Samsung Galaxy S 4 General] jd1639:
Cm does not work with safestrap
[AT&T Samsung Galaxy S 4 General] StoneyJSG:
twrp nor clockwork mod recovery will work on the at&t galaxy s4 unless you are on the MDB or MDL bootloader running Android jelly bean, which if you are on Android 4.4.x there is no going back to 4.2.2.

NJ4,NB1,NC1,Nl1, etc. are the different firmwares for the sgh-i337. Yes, if you were on NJ4 then head for NJ4, unless you want to stay on NB1 I think it is. I think that yes you can flash GPE roms via safe strap, well certain versions of it anyway.
[AT&T Samsung Galaxy S 4 General] Xenotrumpet:
Hi all, if anyone still reads this thread

I have with me an old AT&T Galaxy S4 running off the MF3 firmware with Safestrap. I want to update it to the latest firmware through Odin. I only have one question: is it safe? By that, I mean, my phone won't brick if I flash it? I'm trying to sell it off.
[AT&T Samsung Galaxy S 4 General] jd1639:
No, it won't brick it. I'd recommend you flash the nb1 tar file in Odin. Then allow it to ota to nj4. It'll then have the latest firmware on it when you sell it.
[AT&T Samsung Galaxy S 4 General] nate39:
I have a rooted i337 running safestrap and the nj4 version. But I am confused as to how to know my firmware build. I can't find MF3, MDB, MDL, etc. This makes it confusing as to what ROMs I can flash and so forth. Can someone please tell me how to find this out on my phone? thanks
[AT&T Samsung Galaxy S 4 General] jd1639:
The best way is from a terminal emulator on your phone type

gerprop ro.bootloader

Other wise look at your build number in settings, about device
[AT&T Samsung Galaxy S 4 General] nate39:
here is my build number KTU84p.i337UCUFNJ4

Terminal emulator said not found
[AT&T Samsung Galaxy S 4 General] jd1639:
You're on nj4 firmware, that's android 4.4.4
[AT&T Samsung Galaxy S 4 General] nate39:
I realize that but why can't I use the ROMs on the OP page that don't need safestrap. Why can I only use safestrap. I do not understand what makes my version of phone different, thanks
[AT&T Samsung Galaxy S 4 General] jd1639:
The s4 has a locked bootloader. On mdb and mdl bootloaders there is an explore, Loki, that gets around the locked bootloader. That was patched on newer versions of android. Now safestrap is the only recovery that works. Those who can flash non-safestrap versions never updated their firmware/bootloader.
[AT&T Samsung Galaxy S 4 General] Xenotrumpet:
Forgot to tell you results

Flashed the NB1 tar like you said. Worked like a charm. Although I couldn't take the NJ4 OTA for some reason. I had to pull the OTA from XDA and flash it from stock recovery. Everything works great now. Thanks!

---------- Post added at 12:02 AM ---------- Previous post was at 12:01 AM ----------

If the ROM you're trying to flash is made for NJ4, you can flash it. Otherwise don't even try to.
[AT&T Samsung Galaxy S 4 General] DmitriyVT:
Hello all! I hate to grave-dig since this is a pretty old thread, but I wouldn't be doing it unless I was really desperate. I got a i9505 from AT&T that was carrier unlocked and I tried flashing it, but I didn't realize there was a problem with locked bootloaders. Odin can't flash anything besides the PIT on Odin 3.07; everything else returns an error with the phone saying the file failed a safety check, even all the stock ROM files I was able to dig up. Odin always says FAIL! (Auth). Is there any workaround to this at all? Is it possible to get back to ANY working ROM? I've had this phone for literally a day after three years with the Galaxy S1 4G. :(

Thanks in advance! I really appreciate it!!!
[AT&T Samsung Galaxy S 4 General] jprattnu:
I wish i knew Dmitry, I'm also from VT.

My problem is that I bought a sgh-i337m from a canadian - it works ok, but i can't get a signal worth more than half a bar, (my current coverage is only like 3 bars anyhow where i live, but this phone just sucks.

BTW, i'm also in VT if that is what you refer to in your username
[AT&T Samsung Galaxy S 4 General] atrmuh:
Hi, sorry if this is answered somewhere in this thread I have been looking all over the place and haven't been able to find a solution.

I have my i337 s4 rooted with towelroot in 4.4.2. I tried to flash both CWM and TWRP and when I tried CWM it would only boot into stock recovery and in TWRP it would just stay at the "download mode" screen until I reset my phone out of it.

I then tried to install the latest safestrap which I believe has TWRP 2.7.0.0 and it seemed to be successful. After creating a backup I tried using that to flash cyanogenmod and after rebooting my phone it was an eternal bootloop swapping between the stock recovery screen and safestrap. I wiped my phone as I've read that I have to do and tried a few different things but until this point have not been able to successfully flash a ROM. Is there something doing wrong and could it have something to do with the fact that CWM and TWRP were not working?
[AT&T Samsung Galaxy S 4 General] DeadlySin9:
You can't use CWM or normal TWRP on 4.4.2, and you can't flash AOSP ROMs like cyan on Safestrap. There's no way around either of those restrictions.
[AT&T Samsung Galaxy S 4 General] atrmuh:
OK thank you. So am I stuck with what I have on there for now or is there a way I can downgrade out of 4.4.2 and then flash a ROM?
[AT&T Samsung Galaxy S 4 General] DeadlySin9:
Nothing you can do but use Safestrap to flash the roms listed in the [INDEX] thread. You can flash any of the 4.4 ROMs or you can flash one of the few Lollipop ROMs also. Just follow all instructions carefully. The closest thing you can get to CM is one of the Google Edition ROMs, but none of them function perfectly.
[AT&T Samsung Galaxy S 4 General] ozz200127:
Can u downgrade from oc3 to nj4
[AT&T Samsung Galaxy S 4 General] creepyncrawly:
Please do not double post. Thank you.
[AT&T Samsung Galaxy S 4 General] ozz200127:
I didnt
[AT&T Samsung Galaxy S 4 General] ktechnow1:
Kernel

Hello, I just rooted my Samsung galaxy S4 SGH-I337M ad the kernel changed from a Samsung stock kernel to 3.4.0-4508315 dpi@SWHD7402. Can I change it back to a Samsung kernel, if yes how? I need to reset my binary counter.
[AT&T Samsung Galaxy S 4 General] Sarfarash:
can someone point me the right thread about rooting ATT i337 5.0.1?

thanks
[AT&T Samsung Galaxy S 4 General] jxsilicon9:
So can I flash the I337M to ATT stock rom?
[AT&T Samsung Galaxy S 4 General] audit13:
With a locked bootloader, you cannot flash an i337m ROM onto an i337.

Even without a locked bootloader, flashing an i337m ROM onto a i337 could brick the phone.
[AT&T Samsung Galaxy S 4 General] RaniKheir:
This got me curious, if I may ask, why are we backing up the EFS separately for TWRP?
[AT&T Samsung Galaxy S 4 General] audit13:
If your phone loses its imei and you dont have an efs backup, you could be screwed.
[AT&T Samsung Galaxy S 4 General] 441407:
I really want to get root but how
[AT&T Samsung Galaxy S 4 General] audit13:
Which phone do you have? If it's the i337m, install TWRP and flash supersu from TWRP or use CFautoroot and Odin.
[AT&T Samsung Galaxy S 4 General] mrrocketdog:
very good tutorial

err on the side of kindness
[AT&T Samsung Galaxy S 4 General] KCH2005:
For the last 2 days I've been reading through multiple threads & finally understood everything enough to start flashing but then come across this simple, well explained, straight to the point, summed up guide. Wish I would of came across this thread first because I would of understood everything I needed to know & been flashing away within an hour or so instead of on my third day owning the phone. Thanks :good:
[AT&T Samsung Galaxy S 4 General] AxAtAx:
Man, I wish you hadn't said this, xBeerdroiDx's head is going to swell. Just kidding.:laugh:

It is a very good guide, wish I had seen something like this back in mytouch days, I had to learn the hard way..

makes my thread look pathetic.

xBeerdroiDx keep it up bud.
[AT&T Samsung Galaxy S 4 General] @gbaxh:
Thanks XBeerdroiDx....
[AT&T Samsung Galaxy S 4 General] xBeerdroiDx:
I'm glad the guide can be helpful to you all. Keeping the steps simple and all the material under one roof is crucial to getting as many new users successfully on their feet as possible. Be sure to thank Adam, Dan and the others as you are linked to their awesome material via this guide. Cheers
[AT&T Samsung Galaxy S 4 General] AxAtAx:
Why didn't you say your link was not in my guide. I added it now. I thought it was there sir, sorry.
[AT&T Samsung Galaxy S 4 General] Fusoya_:
Thanks man.

This post has helped me a TON coming to Android from iOS.
[AT&T Samsung Galaxy S 4 General] xBeerdroiDx:
welcome to android. :good: cheers
[AT&T Samsung Galaxy S 4 General] thatpimp007:
Great guide. Thanks!!!
[AT&T Samsung Galaxy S 4 General] caanda45:
Hey Guys picking up the SGS4 so to get into download mode does the old jig from The Captivate still work on the SGS4 as it did on the SGS3? Either way I will try when I get the phone....and report back, unless it gets answered.
[AT&T Samsung Galaxy S 4 General] xBeerdroiDx:
I've seen several people on here that have used their jigs to get into download mode. No confirmation of whether it does anything else
[AT&T Samsung Galaxy S 4 General] AxAtAx:
I own a jiig, it does nothing but get into d/l mode, that's it. And I have an older one, they still work on the G4, done it already.