yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 General] John The Rhino:
Just wanted to personally thank you for taking time to put this all together. You are another shining example of what makes XDA so great. Great job sir.
[AT&T Samsung Galaxy S 4 General] robot_head:
I do believe nf1 is a tmobile baseband. If it's saying att, it could be sim unlocked or region unlocked. Search nf1 baseband and double check just so you're flashing the right modules and firmware and kernels. But just about any s4 or i9505 rom will work. Have a look here to start http://xdaforums.com/showthread.php?t=2788445

sent from my gs4 bumpin' that *°•.CarHDRom.•°*
[AT&T Samsung Galaxy S 4 General] longreach:
Thanks for your response rh

I had seen the NF1 mentioned in the i9505 area, however my phone claims to be Model: i9500 Build: ORG.I9500ZCUGNF1
[AT&T Samsung Galaxy S 4 General] longreach:
I got a hardware info app from the store which identified my phone as jflteatt (aka AT&T) so theoretically the method mentioned here should work but I think I'll keep digging for now.
[AT&T Samsung Galaxy S 4 General] xelerater01:
[MENTION=5461785]sac02[/MENTION]

Hello I just bought an AT&T S4 i337, when I turned it on, on boot screen it has unlocked icon (custom) under samsung logo what does that mean? Does it mean that my bootloader is unlocked? But I'm running KTU84P.I337UCUFNJ4 build and it's rooted already. Please guide.

Thank you
[AT&T Samsung Galaxy S 4 General] creepyncrawly:
No, the boot loader is not unlocked.

The unlock icon just means that the stock firmware detects the rooting files, and/or some other customization that has been done on the phone.

Assuming you are new to the SGH-I337, I would suggest you do enough reading in the forums here until you are familiar with the peculiarities of this phone, before you actually try any customizations.
[AT&T Samsung Galaxy S 4 General] xelerater01:
[MENTION=2916435]creepyncrawly[/MENTION]

I am rooted but I can't see supersu any where and I'm already running those apps which require root. Root check app also says that it's rooted. How can it be possible? I think I should start from nb1 Odin method.

One thing more, when I go to stock recovery and then I reboot to system it says error! on top of android guy, is it normal?
[AT&T Samsung Galaxy S 4 General] robot_head:
, if you follow this tutorial exactly to the T and even read through all of the comments for any possible troubleshooting you may encounter, you will be able to run almost any custom ROM for your device s4/gt i9505

sent from my gs4 bumpin' that *°•.CarHDRom.•°*
[AT&T Samsung Galaxy S 4 General] creepyncrawly:
SuperSU itself is not the rooting file, but rather an application that manages root access on your phone. Root itself is usually indicated by the su binary in either system/bin or system/xbin.

To the second question, it wouldn't do that if the system was fully stock, so I'd have to say it's not normal. Did it continue on and boot into system?

I agree with robot_head, you can install almost any custom firmware (made for the I337 or the I9505). Just be sure that you read enough that you understand what you are doing before you act.
[AT&T Samsung Galaxy S 4 General] Cats_PJs:
I would like to add that this person should stick to tw based roms, as nj4 means the bootloader is locked.
[AT&T Samsung Galaxy S 4 General] xelerater01:
Thank you for detailed reply.

Second question, that is what I'm thinking as well that it's not fully stock. Yes phone is working perfectly without any issues.

Alright but as per my understanding I'm locked on NJ4 bootloader I can only Odin back to NB1 and root it again but I can only use safestrap recovery after that so I won't be able to use all of the roms. Only roms which are compatible with safestrap can be used.

Kindly guide if I'm wrong.

Thank you
[AT&T Samsung Galaxy S 4 General] creepyncrawly:
I probably should have left that last sentence off.

You are essentially correct. Since the boot loader is locked, you will be limited to running Samsung touchwiz based firmware. The main reason for this is that you can not replace the stock kernel. Safe Strap and custom firmware work around the locked boot loader.

That being said, there are a few choices of custom firmware that you can run, including KitKat and Lollipop versions. You can also use some firmware from the 9505. There are several threads here that will give you the information that you need.
[AT&T Samsung Galaxy S 4 General] xelerater01:
Alright, then I think I should start from golden eye rom by following op.

And kindly guide how can I backup my IMEI/EFS before flashing new rom?

And kindly also pm me link of some good 9505 rom which is compatible with safestrap.
[AT&T Samsung Galaxy S 4 General] creepyncrawly:
The best way to back up efs is to make a copy of the partition in which it resides, and keep a copy off the phone, maybe on your pc, as well as a copy on your phone. To do this, you must be rooted with busybox, install terminal emulator or similar program, and run the command:

dd if=/dev/block/mmcblk0p10 of=/sdcard/efs_backup.img

I do not own this phone, so I cannot verify that is the correct block. According to this post however, it is.

Alternatively, you can install an efs backup program from the play store, which presumably does the above or something similar in the background.

Again, since I don't own the phone, can't answer the last question.

[MENTION=5461785]sac02[/MENTION], sorry I helped xelerater01 hijack your thread... back to normal now.
[AT&T Samsung Galaxy S 4 General] sac02:
NP, I'm just glad people are finding this thread helpful.
[AT&T Samsung Galaxy S 4 General] xelerater01:
Can u kindly point me to the thread where I can find kernels in .tar, and which odin version u are using to flash kernels 3.09? And how to flash it? Just select it in AP slot? While leaving both Auto Reboot and F. Reset Time checked? And start?
[AT&T Samsung Galaxy S 4 General] xelerater01:
Thank you for such a great guide, I have successfully installed GE 53. If anybody tried more stable rom kindly let me know.

I would like to know that i am running GE 53 and I dont have a stock backup, so is it possible if I install safestrap and nc1 flasher and reboot to safestrap to install any other custom rom? And then flash modules and kernel. Or I have to be on stock to install anyother custom rom?
[AT&T Samsung Galaxy S 4 General] John The Rhino:
The boorloader is locked on our beloved S4. This has been posted countless times throughout various threads here. There is no way to flash a custom kernel, CWM and non TW roms. Please read the guide completely several times before you do anything to your phone.
[AT&T Samsung Galaxy S 4 General] Ruturaj001:
I don't have SD card, Can install rom without SD card?

Edit: Never mind, went to best buy, got new SD card.
[AT&T Samsung Galaxy S 4 General] Homeboy76:
I think xelerater01 is asking

can he install Safestrap and NC1 Flasher while using GoldenEye v53 to flash another Lollipop Touchwiz ROM and then flash the AT&T OC3 module and the I337_Stock_OC3_kernel_recovery_flashable

Or

Does he have to Odin back to NB1 before he can install another Touchwiz Custom ROM

Good Question.
[AT&T Samsung Galaxy S 4 General] xelerater01:
Yes exactly that was my point.
[AT&T Samsung Galaxy S 4 General] Cats_PJs:
You can use safestrap and nc1 flasher from GE 53. Just a caution, nc1 flasher is great but I have had an occasional issue with it that has caused me to have to start from scratch. If I'm near a computer I usually install safestrap and then Odin the nj4 kernel, I have never had an issue doing it that way.
[AT&T Samsung Galaxy S 4 General] xelerater01:
Hmmm thank you very much, Odin the OC3 kernel i think you have made a typing mistake. It will fail if you odin the NJ4 kernel on lollipop 5.0.1 build because NJ4 belongs to Kitkat 4.4.4

---------- Post added at 11:30 PM ---------- Previous post was at 11:27 PM ----------

Why cant we use Xposed on GE v53? Its deodexed then why not?

: confused :
[AT&T Samsung Galaxy S 4 General] Cats_PJs:
No, I meant Odin the nc1 so you can use safestrap, and I just use the recovery flashable oc3 kernel once the rom is flashed.

Not sure about the xposed question, I haven't been on GE for quite some time.
[AT&T Samsung Galaxy S 4 General] Homeboy76:
whether you Odin to Stock NJ4 - 4.4.4, NC1 - 4.4.2 or NB1 - 4.4.2 you are starting from scratch. Some think this is the best way to change custom touch wiz ROMs. Instead of flashing NC1 flasher and getting errors. I agree, for me, it is better to start from scratch.
[AT&T Samsung Galaxy S 4 General] Ruturaj001:
So I was trying to install imperium LL Rom v7.1 -- XXUHOE2 -- i9505 -- 6.7.15, got stuck on 4.3.2, so tried downloading again, when I rebooted it wasn't working right, so started from first step. Any suggestion to flash this particular rom. Safe strap was giving error can not open ZIP file ( downloaded on mac).

Update: Again tried imperium rom, same can not open zip file, installed golden eye rom this time.
[AT&T Samsung Galaxy S 4 General] Cats_PJs:
No, I just Odin the kernel not the entire rom. I prefer to use Odin instead of nc1 flasher but you end up with the same result, a kernel safestrap can use to flash your new lollipop rom.
[AT&T Samsung Galaxy S 4 General] Homeboy76:
Thanks for enlightening me. I'll try flashing the NC1 kernel (I337_NC1_Stock_Kernel.tar.md5) in the future.
[AT&T Samsung Galaxy S 4 General] xelerater01:
So its like first install safestrap from any custom TW rom based on 5.0.1 and then boot into download mode and flash NC1 kernel through odin and restart the phone and it will boot into recovery? From there we can proceed to install new TW custom rom after wiping system cache dalvik data and then flash ATT OC3 modules and OC3 stock kernel and reboot system?

What will be odin settings to flash NC1 kernel, as mentioned in the odin guide thread? Or something else?
[AT&T Samsung Galaxy S 4 General] Cats_PJs:
Yes, exactly like that. Don't change any settings in Odin, open the tar file in the AP slot.
[AT&T Samsung Galaxy S 4 General] xelerater01:
Alright thank you.

Which rom you are using right now?
[AT&T Samsung Galaxy S 4 General] Cats_PJs:
http://xdaforums.com/galaxy-s4/i9505-develop/touchwiz-lollipop-leaked-rom-i9505-t3027063 It's excellent.
[AT&T Samsung Galaxy S 4 General] xelerater01:
I will try give it a try very soon but did you wipe the internal storage (user media) as mentioned in the installation instructions? And used extsdcard to flash?
[AT&T Samsung Galaxy S 4 General] Cats_PJs:
Yup, I always wipe internal and use external to install. Hope you like it.
[AT&T Samsung Galaxy S 4 General] moizhaque:
Hi, am little lost in post can some one guide me.. See the Image Attach

Am on Galaxy s4 At&t 5.0.1 Stock Rooted..(On Start i get Samsung logo with Unlock Lock with Custom Written below) No recovery install.. I wanna install Goldeneye v53 or any other ROM..

Please guide me in easy step will be very thankful
[AT&T Samsung Galaxy S 4 General] robot_head:
Install safestrap 3.75

Download odin 3.09 to your pc

Download your rom choice gti9505 compatible

Download nc1 flasher and nc1 tar file...sometimes flasher wont work

Download oc3 kernel tar ... its the only lollipop kernel available for i337, or else rom won't work.

Ps d/l your stock firmware nb1 to odin back to if you jack up your phone... This is the last and most important thing ...read this thread and other ones like it for your device

http://xdaforums.com/showthread.php?p=45556614

This is the rom I chose just because it didn't look like every other rom but it has all the mods and anything you could ever want in a custom ROM. There are also two flashable aroma installers one from the developer and the other from Mr Green. themed up like a mofo..

Don't get overly excited to put a new ROM on your phone get excited to learn every single detail about your phone first then start flashing.

For starters.... go here. http://xdaforums.com/showthread.php?t=2616221 .this is where i started. Then read this thread and read it again and then read it one more time trust me you will get it and understand then you can teach someone else that is unsure how to do this properly good luck
[AT&T Samsung Galaxy S 4 General] Ruturaj001:
I would say follow this guide from step 4.
[AT&T Samsung Galaxy S 4 General] Vishoka:
Great post! Thank you so much for fool proof walkthrough. Much appreciated!!!

First off, thanks for this post. It is pin point in accuracy.

On to my question: I did something stupid and tried to remove my S Planner app with TB. thinking I could migrate to Google calendar which is my preferred app of choice. Not only did the icon not vanish, I also ended up with multiple calendar errors. Is there anyway to restore that .apk?
[AT&T Samsung Galaxy S 4 General] destructionj:
Lollipop touchwiz roms 1337 to m919

Great instructions and i followed with no problem. However I have reverted back to M919_NH7_for_I337_NJ4 (Joseph_230 ) due to the fact i cannot find a S4 LOLLIPOP TOUCHWIZ ROM that is T-Mobile based. I use the Wi-Fi calling feature quite often as it plays well with my basement.

I basicly converted my i337 to a m919 via safestrap 3.75.

Dose a S4 lollipop t-mobile based ROM currently exist that would work with safestrap on the i337. . thanks
[AT&T Samsung Galaxy S 4 General] Sirfearoth:
I've tried and tried this but it will not work with my i337. After flashing the rootable rom with odin, and using towelroot it still says I'm not rooted when I open flashfire. Anyone run into this issue?
[AT&T Samsung Galaxy S 4 General] destructionj:
Actually now that i remember, i was already on 4.4.4 NJ4 rooted and just picked up form the flashfire step. however all went smooth for me.

you could look here and look down to the notes and there is a I337UCUFNB1_Rootable_Full_Odin.tar and towelroot. maybe see if that helps.

http://xdaforums.com/galaxy-s4-att/general/how-to-update-to-i337oc3-5-0-1-keeproot-t3075814
[AT&T Samsung Galaxy S 4 General] Sirfearoth:
Well I got partial success trying that method. It gets stuck in a boot loop now which is the most progress I've been able make. Maybe I need to get a buzz/almost drunk. I've been completely sober every time I've tried so far.
[AT&T Samsung Galaxy S 4 General] jroq8400:
I basically used same as the OP but I skipped the flash fire section and went from rooted nb1 with safestrap 3.75 to install lollipop rom using nc1 flasher steps (flash oc3 modules and flashable kernel after rom)
[AT&T Samsung Galaxy S 4 General] destructionj:
Just a thought but you could try to Odin in the I337UCUFNB1_Rootable_Full_Odin.tar

then towelroot to get root,

then install safestrap 3.75,

THEN flash in the I337UCUFNJ4_100%_Stock_Rooted_ROM

look for ((Alternative Safestrap Method (Updated 3/29/2015 - Odin no longer required))

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

then flashfire to the I337_OC3_Stock_Rooted_ROM.

I don't actually know but the thinking here is that possibly flashfire has different versions and the current one works best when ran from 4.4.4 but again i dont know.

I just know that this was the order i went in. It could also be a error in settings, or corrupt download, or lack of alcoholic beverages. :good:

That would be much faster , i didnt try in fear of fire and brimstone and what not.
[AT&T Samsung Galaxy S 4 General] Socket:
Very helpful to have the full sequence laid out in one place.. thank you to the OP.

I came to this page because my S4 reboots itself like 5 times a day (for the last 18 months), AT&T won't help me because I'm out of warranty, and I figured rooting the phone would help me get the proper logging ability to see what was causing the reboots.

Now for my issue..

I followed all steps to the letter, using the specific ROMs, kernel, modules, etc referenced in the original posting (including the final Goldeneye v53 ROM). Everything went as expected (including the phone being rooted along the way, which I confirmed), up until step 4.3.7 (the final reboot).

At step 4.3.7 I did the 4 or so "continue"s in Safestrap and the phone eventually rebooted to the dark screen with the little sparks flying outward from the SAMSUNG logo animation. However it stayed on that screen for what seemed like a good 10 minutes, sparks flying the entire time. I just waited it out and eventually the initial setup screen appeared. "Awesome" I thought.. good to go, right?

Only problem is the phone had lost root, which was kind of the point of the exercise.

So I went back and repeated the entire process 2 more times from the beginning. Same result each time.. I would have root along the way (as evidenced by SuperSU prompts coming up at various points for me to grant root), but then after the final, very long reboot: no root. (by the way, yes I had to install SuperSU even though not called out in the instructions - Flashfire required it).

Once I am booted into Goldeneye and don't have root, I can't get it back. I try running Towelroot again, but instead of it working (like it did in step 2.6), I get "This phone isn't currently supported".

Oh, and step 4.3.8 (to uninstall recovery).. I can't get that to work either given I've lost root. Without root, I can't reinstall safestrap in order to uninstall recovery.

Any ideas what's going on during that last reboot that makes the phone lose root? Anyone else having this specific issue? Suggestions?

Anyway thanks again for the help.. I think I can see the finish line, just can't seem to get there..

Edit: here is the OS/kernel, etc info in the About menu I see after the long final reboot into Goldeneye and loss of root:

Android version: 5.0.1

Baseband version: 1337UCUGOC3

Kernel version: 3.4.0-4408911, dpi@SWDD5005 #1, Wed Mar 11 17:07:08 KST 2015

Build number: LRX22C.19505XXUHOD7

SE for Android status: Enforcing, SEPF_SAMSUNG-SGH-1337_5.0.1_0009

Secure boot status: Type: Samsung

ROM version: GOLDENEYE 53 XXUHOD7

Developer: iB4STiD
[AT&T Samsung Galaxy S 4 General] jroq8400:
For GE53 go into SuperSU settings and set default to Grant
[AT&T Samsung Galaxy S 4 General] destructionj:
Once rooted, NC1 flasher workaround will let you back into safestrap when needed.

http://xdaforums.com/galaxy-s4-att/general/nc1-flasher-odin-to-safestrap-t3082620
[AT&T Samsung Galaxy S 4 General] Socket:
I tried this, and (with one tweak) was ultimately successful having root at the end of the process! Thanks jroq8400! (and OP sac02!)

Just making that setting change once didn't work for me -- I set default=grant only after first installing SuperSU, and ended up with unrooted Goldeneye at end.

What ultimately worked for me was to set SuperSU's default=grant multiple times along the process. For all I know, maybe only the last one mattered (perhaps that's what you meant?), but either way, doing it at these 3 places worked, even if overkill:

- At first installation of SuperSU (which I did between steps 3.3 and 3.4)

- just after step 3.4 (because step 3.4 results in SuperSU's settings going back to default=prompt)

- and again after step 4.3.7 (because somewhere in section 4.3 SuperSU's settings go back to default=prompt again)

sac02, do you think this "SuperSU default settings fixup" should be added to the process steps? I know your link at the end re "Super SU is finicky" (had I followed it) sort of covers this, but it's not clear at what step(s) in the process it needs to be applied.

I would suggest adding:

3.3b - Install SuperSU (since Flashfire in the next step won't run without it)

3.3c - After installing and running SuperSU, click on "Settings" in the SuperSU app and set Default=grant, and check "Enable su during boot"

...

3.4.1 - After the device reboots, run SuperSU, select Settings in the app, and set Default=grant, and check "Enable su during boot"

...

4.3.7.1 - (Same as 3.4.1, but needs repeating at this point)

(my numbering is kludgy just to make it fit - some renumbering may be in order)

---------- Post added at 12:41 AM ---------- Previous post was at 12:34 AM ----------

Thanks destructionj.

I remember reading that, but didn't think I could use that method because my intent was to uninstall recovery to avoid having to hit continue 4 times any time my phone rebooted (which currently happens multiple times a day, until I figure out that separate unrelated issue).

If I uninstall recovery, doesn't that prevent using the NC1 flasher + Safestrap workaround because Safestrap won't get triggered?

What does one do if at OC3 but wants to keep the ability to flash mods? Just grin and bear the 4 continues at each reboot?
[AT&T Samsung Galaxy S 4 General] destructionj:
This is my understanding. If my explanation is incorrect someone please correct me.

Root access and safestrap are two different things. As long as you maintain the ability to have root access to the phone you can run the NC1 flasher. Safestrap can be installed or uninstalled with root on lollipop however safestrap wont work on lollipop unless you flash the NC1 into the phone and restart. To change roms once your on lollipop you would

1. Run NC1_Flasher.zip and hit flash and reboot into safestrap custom recovery ( step performed from within lollipop rooted rom)

2. Do your ROM installation, edits and flashing and what not. (4.3.3 At the end of the ROM installation, uncheck the "reboot now" option and continue - it will send you back to safestrap.)

3. While Still Within safestrap you do step 4.3.4 ( From within SS, install the OC3 modules from your SD card). Uncheck the "reboot now" option and continue.

4. While Still Within safestrap you do step 4.3.5( From within SS, install the I337_Stock_OC3_kernel_recovery_flashable from your SD card).

5. reboot to ROM.

Uninstalling safestrap should not remove root on the phone and as long as your rooted you can always install it when needed. OC3 roms dont run correctly on NC1 so you always have to flash back in the OC3 modules and needed files as a final step before rebooting outa safestrap.