yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 General] muniz_ri:
1. Take the NI1 OTA update. (Should the update fail see troubleshooting section below).

2. Place your phone into "Download Mode" (press and hold the "Home", "Volume Down", and "Power" keys until the phone powers on and displays warning screen, then press "Volume Up" key).

3. Flash the I337_NC1_Stock_Kernel using Odin's PDA slot(AP in Odin v3.09+).

4. Root using Towelroot-v3.apk(internet access not required).

5. Power off then boot into "Download Mode" again.

6. Flash the I337_NI1_Stock_Kernel also in Odin's PDA slot(AP in Odin v3.09+).

7. Install SuperSU to manage root access. Done!

Important!: Do not skip

any

of the above steps or you may experience issues with your device.

Notes:

1. After flashing the NC1 kernel your phone may run a little wonky, e.g. extreme lag, no wifi, etc., and towelroot may not root on the first try. If that happens reboot and try towelroot once again. Once rooted and after flashing the NI1 kernel your phone will again run like a champ!

2. Neither User Data nor knox warranty flag will be affected by following the above process.

3. The most common cause of a failed Odin flash is a bad usb port or cable. Please check before reporting a failure.

Troubleshooting:

Should the NI1 ota update fail consider flashing back to stock NB1 using either file in this thread: I337UCUFNB1 4.4 Stock Odin Tars & System Dump. Then take the NI1 ota update. (or place the I337_NB1toNI1_OTA_Update.zip onto your ext-sdcard and sideload from stock recovery). Once updated to NI1 continue from Step 2 above.

Alternative Method for Safestrap Users:

1. Use Safestrap's Backup Function to back-up User Data.

2. Place the I337UCUFNI1_100%_Stock_Rooted_ROM.zip onto your ext-sdcard.

3. Reboot into Safestrap recovery then perform an "Advanced Wipe" and wipe everything but your ext-sdcard.

4. Flash the I337UCUFNI1_100%_Stock_Rooted_ROM.zip using "Stock Slot."

5. Once complete press "Home" then reboot into "Download Mode."

6. Flash the I337_NI1_Stock_Kernel in Odin's PDA slot (AP in Odin v3.09+).

7. Reboot into Safestrap recovery and use the Restore Function to restore User Data. Done!

Notes:

1. The I337UCUFNI1_100%_Stock_Rooted_ROM.zip process will update your Modem, Non-hlos, System, Kernel, and Stock Recovery to NI1 but does not include the NI1 Bootloader.

2. Follow

all

of the above steps in the order provided and

do not skip any steps

or you may experience issues with your device!
[AT&T Samsung Galaxy S 4 General] muniz_ri:
I337_NI1 Stock Modem, Recovery, and System Dump

I337_NI1_Stock_Modem.tar.md5

I337_NI1_Stock_Recovery.tar.md5

Flash in PDA Slot in Odin(AP in Odin v3.09+).

I337_NI1_System_Dump.rar (If you don't know what this is you don't need it).
[AT&T Samsung Galaxy S 4 General] Venom0642:
Nice now all i need is the system dump from NI1 And Flashable Modem!
[AT&T Samsung Galaxy S 4 General] ted77usa:
[MENTION=4708661]muniz_ri[/MENTION]

You done it again Bud.....Amazing
[AT&T Samsung Galaxy S 4 General] ted77usa:
[MENTION=4631220]Venom0642[/MENTION]

Sorry double post ...Tapatalk error
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Uploading system dump now but may take awhile. My upload speed sucks.
[AT&T Samsung Galaxy S 4 General] Venom0642:
Awesome bro thanks curious though is this 4.4.4 or is it still 4.4.2 ?

Sent From My Galaxy S5 SAMSUNG-SM-G900A Running On New Deadly Venom v4.0.0 KitKat 4.4.2
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Still 4.4.2 but seems noticeably faster, mabe placebo. IDK
[AT&T Samsung Galaxy S 4 General] Venom0642:
Oh ok thanks someone should be soon enough adding modem flashable.

Sent From My Galaxy S5 SAMSUNG-SM-G900A Running On New Deadly Venom v4.0.0 KitKat 4.4.2
[AT&T Samsung Galaxy S 4 General] muniz_ri:
I will work on the modem and stock recovery when I get some extra time. And I take that back about my uploads speed...time warner just upgraded my plan free of charge, weird! I will post the link to the dump in a few minutes.
[AT&T Samsung Galaxy S 4 General] Venom0642:
Nice thanks again[emoji106]

Sent From My Galaxy S5 SAMSUNG-SM-G900A Running On New Deadly Venom v4.0.0 KitKat 4.4.2
[AT&T Samsung Galaxy S 4 General] muniz_ri:
I337_NI1_System_Dump.rar
[AT&T Samsung Galaxy S 4 General] Venom0642:
Awesome Thanks! :good:
[AT&T Samsung Galaxy S 4 General] douggiephresh:
rooting

I just got this phone today and it just updated as well. I have rooted my old S4s and have some experience. Do i need to do anything to this phone before I follow the instructions in muniz's first post? Do i need to have alreay been rooted or anything? My phone is completely stock at the moment. Thanks.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Modems and Recovery added to Post# 2.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Nope
[AT&T Samsung Galaxy S 4 General] chitown835:
Is there any kernel modules yet for NI1?
[AT&T Samsung Galaxy S 4 General] muniz_ri:
You can pull the modules from the system dump in post #12.
[AT&T Samsung Galaxy S 4 General] caccolino:
hey,

I wanted to know one thing ..

my phone is already nc1 root stock, what should I do to upgrade it to nc1 root stock ??

Thanks
[AT&T Samsung Galaxy S 4 General] mqlin:
Could anyone upload a NI1 update.zip? Thanks in advance.
[AT&T Samsung Galaxy S 4 General] runner77:
Sprint guy with a AT&T i337 question

Hello everyone,

I rooted my co-workers AT&T S4 the day he bought his phone last year. He still has the old MDL bootloader and is currently running the Google Edition ROM. He wants to go to the latest stock (rooted) TW rom while keeping his bootloader as is. My question is, could he just flash the "I337UCUFNI1_100%_Stock_Rooted_ROM.zip" file via his TWRP recovery? It seems like this zip updates everything but the bootloader which is great but I wasn't sure if this zip only worked with Safestrap recoveries....?

TIA........and sorry to you all for having to deal with locked bootloaders. That sucks! :(
[AT&T Samsung Galaxy S 4 General] ted77usa:
[MENTION=2661277]runner77[/MENTION]

Just flash any TW from INT forum I9505 or ATT I337 that have NI1 base.... i believed [MENTION=4708661]muniz_ri[/MENTION] stock rooted rom it also work.
[AT&T Samsung Galaxy S 4 General] ajriddle:
Is NI1 worth updating to from NC1? My OTA update fails (because I'm rooted on NC1) and I'm not sure if it is worth my time to go to stock manually.
[AT&T Samsung Galaxy S 4 General] K-alz:
Why isn't safestrap 3.72 working? I installed busybox and still recovery didn't install. Any idea? Thanks

---------- Post added at 02:46 PM ---------- Previous post was at 02:37 PM ----------

Never mind. Worked. Read through the thread and I found that I have to change the damn selinux to permissive. Didn't know that you can change the selinux with a locked bootloader. Does that mean we can have custom recovery and flash AOSP ROMs. Sorry I'm a note 3 user and none of these is possible.
[AT&T Samsung Galaxy S 4 General] jd1639:
Still no custom recovery, only safestrap, or AOSP
[AT&T Samsung Galaxy S 4 General] Roblewis17:
Anyone know how to unlock the boot loader & flash twrp or cwm?
[AT&T Samsung Galaxy S 4 General] K-alz:
Hold on! You're saying I can flash AOSP roms?
[AT&T Samsung Galaxy S 4 General] jd1639:
No, you can not
[AT&T Samsung Galaxy S 4 General] K-alz:
Crap. Would you be able to point out a nice KK rom for me in a PM? So we don't offend anyone.
[AT&T Samsung Galaxy S 4 General] jd1639:
Sorry, I don't have the device
[AT&T Samsung Galaxy S 4 General] K-alz:
No problem, brother. I'll go search around. It's not my daily driver anyway. Just bored and wanted to flash something.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
This version of safestrap did away with the need for the setenforce command and SELinux Mode Changer app: http://xdaforums.com/galaxy-s4-att/general/updated-safestrap-i337-kitkat-v3-75-rom-t2904854
[AT&T Samsung Galaxy S 4 General] Uncle Vinnie 666:
Sorry! I don't understand any of this computer bull **** !!!

Look U geniuses ! I'm not a developer or computer literate. I'm disabled & have NO PATIENCE with Computer Syntax & I don't own or want to own a GD Computer! I made the mistake of switching from APPLE cell phones to this GD DUMB piece of crap AT&T Samsung Galaxy S4 ANDROID cell phone. IT'S NOT USER FRIENDLY AS ADVERTISED!!! I've been trying to Root it for over a month. I probably only understand about 1/100th of what U geniuses R printing. I'd like to jailbreak the phone & get out from under the suppressive yolk of monopolistic GREEDY CORP GIANTS!!!

Is there anyone out there that knows where I could ship the GD phone & pay a SMALL FEE to have the procedure done for me??? I'm a shut-in DISABLED old man whose frustrated with all the BS ! PLEASE ADVISE only if U HONESTLY HAVE A SOLUTION !
[AT&T Samsung Galaxy S 4 General] ALD3:
Go to the link I will give you. It is towel root and with root your GS4, use your phone browser to get there. Click on the red symbol in the center of the page....RED looks like an A! Towel root will download and when its finished downloading, install towelroot. Then open the towelroot app up and root your device. Just click on the link below.

https://towelroot.com
[AT&T Samsung Galaxy S 4 General] crustysmooth:
is towelroot just an app in google play or do you have to download and flash in odin?
[AT&T Samsung Galaxy S 4 General] ALD3:
It's an app but not on Play. Click the link I provided to towelroot and click the Red symbol in the middle of the page to download it. In settings / security you must have a check in Unknown Source.
[AT&T Samsung Galaxy S 4 General] jamorenom:
I need help, I have my GS4 with NI1 and rooted, I'm trying to install Philz Recovery via ODIN, but I always get an error (Odin Error)

<ID:1/004> NAND Write Start!!

<ID:1/004> FAIL! (Auth)

<ID:1/004>

<ID:1/004> Complete(Write) operation failed.

I just want to install GPE Rom.

------------

I Install CWM via Motochopper but when I try to get into recovery I got the triangle screen with the legend "System software not authorized by ATT..."
[AT&T Samsung Galaxy S 4 General] jd1639:
You can not flash any custom recovery other than safestrap on your device. You might have to Odin back to nb1 at this point to get your device working correctly. See this. http://xdaforums.com/showthread.php?p=56453100

Edit, do you have an i337m or i337?
[AT&T Samsung Galaxy S 4 General] jamorenom:
Thank you, I have an i337, I already install safestrap 3.72, but I can't get into recovery (it said "state: installed", "safe system: not active"
[AT&T Samsung Galaxy S 4 General] jd1639:
I'd Odin nb1 and start over. It will wipe your device so make sure you have anything you want to keep backed up
[AT&T Samsung Galaxy S 4 General] jamorenom:
I will try it. Thank you
[AT&T Samsung Galaxy S 4 General] WordsworthESP:
Will the SafeStrap method wipe internal storage?
[AT&T Samsung Galaxy S 4 General] jd1639:
Just installing safestrap will not wipe your device
[AT&T Samsung Galaxy S 4 General] bimes:
hi,

wifi not working after flashing nc1 kernel (all okey after ni1 kernel flashed back)

so unable to root with towel root

any trick there

i reboot phone 2-3 times as well

need help
[AT&T Samsung Galaxy S 4 General] godd:
Read #4 from OP list.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Updated the 100% Stock ROM in the OP. It now includes chainfire's latest SuperSU which sets selinux to permissive.
[AT&T Samsung Galaxy S 4 General] lrose79:
Hey there everyone, I have looked around trying to find ways to root this phone...

I have a AT&T Samsung Galaxy S4 when I got it I have rooted it using the Towelroot and it done it successfully... Well today I got a new LCD to put on it, and after putting it on it asked if I wanted to update my software.... Well I didn't know this was going to happen, but it took my root away from me...

Now when I try to root it with Towelroot v3.0 and 1.0 neither one of them work... The 3.0 says my phone isn't supported and the 1.0 just sits there and after some time it will tell me it's not responding to wait or close it...

I was going to see about flashing the firmware back to were it was, but I can't figure it out....

As of right now this is the info from my phones about me...

Device Name: Samsung-SGH-I337

Android Version: 4.4.2

Base Version: I337UCUFNI1

Kernel Version: 3.4.0-2539008

dpi@SWDD5616#1

Thu Sep 4 15:06:08 KST 2014

I have downloaded all the files on this post... ODINv3.10, I337_NC1_Stock_Kernel.tar, I337_NI1_Stock_Kernel.tar, I337_NB1toNI1_OTA_Update.zip, I337_NI1_Stock_Modem.tar, and I337_NI1_Stock_Recovery.tar... I'm new to this, so my question that he failed to tell is when you open ODINv3.10 were are you suppose to mount the file I337_NC1_Stock_Kernel.tar at, and what boxes do you put checks in and all before you hit start, and after that is finished I know you root the phone with Towelroot v3, but after that your suppose to put Flash the I337_NI1_Stock_Kernel.tar to the phone do you do it the same way as you do the first file?

So a good walk through would be greatly appreciated to help people like me out....

Thanks, Leo
[AT&T Samsung Galaxy S 4 General] jd1639:
Flash the tars in AP slot. Only have auto-reboot and f.reset checked
[AT&T Samsung Galaxy S 4 General] lrose79:
Thanks jd1639 for the quick reply... after you said what you did and looking at the first post I feel stupid... lmao He even told me where to put the files at and I didn't know thats what he meant....
[AT&T Samsung Galaxy S 4 General] WordsworthESP:
Not the installation of SafeStrap itself, sorry I should've specified. It's the Odin/kernel flash aspect I was inquiring about. While I've lots of experience with SafeStrap, I've used Odin very little... typically to return to stock, etc.

Odin is pretty well known to wipe internal storage, but that could merely be due to the method required to Odin back to stock. Since SafeStrap users need only to flash the kernel in Odin, I was hoping that internal storage would remain intact. It seems that'd be the case, but the kernel layer and below isn't a subject I'm well versed in - so it's just not a step I was willing to take blindly.
[AT&T Samsung Galaxy S 4 General] jbrookley:
Hey guys, I have a pretty straight forward question that's probably pretty obvious. So, I had reset my phone to stock MF3, then took the OTA to NI1. Can I jump straight to the towelroot step, since I have stock firmware already or is there something special about the "stock FW" version uploaded in the initial post? I'm assuming I can jump straight to towelroot but I figured I'd ask all the same (just to play it safe, since I have a locked bootloader . . . :p).

Thanks, guys!
[AT&T Samsung Galaxy S 4 General] jd1639:
No you can't. You have to flash the nc1 kernel first. See in the general forum how to root nl1
[AT&T Samsung Galaxy S 4 General] jbrookley:
. . . I saw NC1 stock kernal when I first read that. Maybe I shouldn't be rooting if I can't even read things correctly! . . . heh.

Thanks again for saving my butt, JD!
[AT&T Samsung Galaxy S 4 General] mitenpatwa88:
Thank you so much [MENTION=4708661]muniz_ri[/MENTION].. I was able to root my phone with the help of your instructions... and currently running I337_NI1_Stock_Kernel..

So after this I tried flashing CWM using Odin..but was not successful .. Can you please guide me with a correct thread so I can install custom ROMs ? or steps that I need to follow after I rooted my phone with your method.. Appreciate your help !
[AT&T Samsung Galaxy S 4 General] duboisbrian:
few question i have done all step including step 6 just not step 7 because i cant get my wifi to work ?

and my wifi did not fix after doing step 6 ? what do i do now why has it not fixed ?

also everytime i turn on phone in top left corner is say s """ SET WARRANTY BIT : KERNEL """ ?? how to i get this removed and what is it

is there a way to check what kernel u have installed ?
[AT&T Samsung Galaxy S 4 General] duboisbrian:
nvm this post is not for BELL galaxy s4

is there not a root for bell nI1 galaxy s4 ??
[AT&T Samsung Galaxy S 4 General] mitenpatwa88:
Can anyone please help me with this ?? Trying to install custom roms but don't want to go ahead without any advice from senior members
[AT&T Samsung Galaxy S 4 General] jd1639:
You can only use safestrap as a custom recovery
[AT&T Samsung Galaxy S 4 General] Uncle Vinnie 666:
Thanks 4 the Advice BUT towel root not supported on my device

I have tried to use Towelroot over a dozen times but to NO AVAIL!

Tapping 3 times doesn't work either. I tap the " A " & it says, your device is not supported. So I uninstalled towel root because my security system says its a Virus & Malware!
[AT&T Samsung Galaxy S 4 General] jd1639:
You need to use the nc1 kernel. And your virus scanner will show towelroot as a virus. Don't worry about that

Also, see this http://xdaforums.com/showthread.php?p=56453100
[AT&T Samsung Galaxy S 4 General] muniz_ri:
I'm thinking about closing this thread to minimize confusion now that NJ4 is out. Does anyone see any need to keep this thread open? The links would remain live and I will link it to the NJ4 root guide. Thanks.
[AT&T Samsung Galaxy S 4 General] jd1639:
[MENTION=2982241]guut13[/MENTION] Odin, and root guide references this thread so it probably doesn't need to be open. But the links are important.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Now that NJ4 4.4.4 is available I am having this thread closed.

Please refer to the latest guide here: [How-To] Root I337UCUFNJ4 - 4.4.4 (11/13/2014)
[AT&T Samsung Galaxy S 4 General] ogsho:
question... my update fails at 25%.. so, my question is, can I update using these 2 files?
[AT&T Samsung Galaxy S 4 General] mwinikoff:
I am new to this I have two questions:

Is the baseband on NI1 locked as it was for NC1?

Is there anyway I can install CWM11?

Thanks for your help!!!
[AT&T Samsung Galaxy S 4 General] kristikaty:
Confused

Okay, here's what I did....

Downloaded both files; noticed that the NI1 file had an extra extension on if after the md5, ignored that for the moment...

Flashed NC1 using Odin, phone rebooted. I had actually walked away from my phone while NC1 was flashing, so not entirely sure it flashed properly....

Then, I used Towelroot to root..... Root did not work the first time, so rebooted and ran towelroot again... Root was successful.

Tried to flash NI1 kernel, but that extra extension prohibited me from adding it to PDA slot...

Just then, phone popped up with an alert saying "unauthorized actions have compromised the security of this phone, reboot to remove these changes."

I got alarmed, so checked the kernel on my phone and it was NI1!!

Now what to do? Is it possible that NC1 never flashed properly? I dismissed the error message, but it already came back once. How do I get it to go away? I've rebooted a couple of times and I still have root.... And NI1..... That's the goal, right? I never did flash the NI1 kernel the OP posted. What should my next step be?

Thanks so much for your help.

---------- Post added at 12:58 PM ---------- Previous post was at 12:14 PM ----------

So I did some research and that error message may be due to Knox not being disabled. By the way, I did try flashing NC1 again and in Odin, the final message in the script says "Removed." It also says after that "All threads completed." It also has the green "Pass" lit up. Anyway, my kernel is STILL NI1. I read that a way to remove that alert is to open SU and disable Knox that way. Sure enough, when I opened SU, it said Knox was indeed not disabled and asked if I wanted SU to try to disable it. The disable of Knox WAS successful and thus far, I have not had that message pop back up!

So it seems, essentially, I used Towelroot while on the new NI1 kernel... Root was not successful the first time, but it was the second time I ran Towelroot. However, Knox was not disabled, so I used SU to disable Knox. Do you think I was just lucky not to have something worse happen to my phone using Towelroot while inadvertently on NI1? Or is it possible this method will work for ALL i337's? (1. Update over-the-air to NI1, 2) Towelroot, 3) Open SU and disable Knox).

It appears I *should* have checked to see if my kernel was NC1 before trying to use Towelroot, but luckily, it all seems to worked out in the end.
[AT&T Samsung Galaxy S 4 General] jt1998:
This makes no sense. So Confused.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
What exactly makes you believe that you were on the NI1 kernel when you rooted with towel root? Were you looking at the build number or baseband instead of the kernel date in "about phone?"
[AT&T Samsung Galaxy S 4 General] kbraun:
I want to Thank you multiple times! So Easy!!!!

I was already rooted on 4.2.2 base MF3. followed the steps exactly with no issues.

Trying to figure out how I can enabled tethering, I used to have the modded tethering provision .apk but it's been ages since I've updated.

Ideas anyone? Is it just flashing a modem?
[AT&T Samsung Galaxy S 4 General] Bout It Inc:
No WIFI after flashing to NC1 Kernel

I had that same issue with the baseband version. I flashed the NC1 kernel with a pass, and to find out after the reboot that the baseband was the same (I337ucufni1) . Tried to towl root in this state, but my wifi was not working. Had to flash the stock UCUFNI1 kernel to get wifi working again. So all in all I still can't get root due to wifi not working on the NC1 kernel. Lost need help
[AT&T Samsung Galaxy S 4 General] kristikaty:
Hmmmm...

My WiFi is working just fine. :/

Hope you manage to get it working.
[AT&T Samsung Galaxy S 4 General] Bout It Inc:
I got it working after flashing back to NI1 kernel. I still can't access root. :(
[AT&T Samsung Galaxy S 4 General] kristikaty:
Did you try running Towelroot again? I had to run it twice, but you may have to run it several times. Reboot before trying Towelroot again. That's what I did.

---------- Post added at 03:08 PM ---------- Previous post was at 03:07 PM ----------

muniz_ri - It's listed under Baseband version (I337UCUFNI1) and also under Build Number (KOT49H.I337UCUFNI1). Both of those used to end in NC1 prior to upgrading to the NI1 this morning. Kernel date is March 25th.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
I will add a safestrap flashable tethering add-on to the OP shortly.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Guys, baseband and build represent modem and system version not kernel. The kernel version in the "about phone" section is represented by......wait for it.............."kernel version." Therefore you should expect your baseband and build to reflect NI1 after taking the NI1 ota update and neither baseband nor build will change after flashing either kernel.
[AT&T Samsung Galaxy S 4 General] Bout It Inc:
I Understand that now thanks. But I still have that issue. When I first flashed to the NC1 kernel I couldn't access wifi. I even tried to a hardwire connection (Ethernet). And still not able to get wifi or enternect. While on the NC1 Kernel I already had towlroot installed (didn't run it yet). but the apk needed internet connection to work (strange) . So I had to flash back to the NI1 kernel. I think It would have gone smooth if I only had internet connection.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Towelroot has never asked me for internet access you may try searching for a different version of towelroot. I believe there were at least 3 versions released. And yes, as the note in the OP states, your phone may run weird after flashing the NC1 kernel.
[AT&T Samsung Galaxy S 4 General] guut13:
Hey. Finally home from work and giving this a try now. Thanks for all your hard work.

BTW - Did you know that you are famous? Googled Ni1 update and this was the first link...

http://www.andromods.com/root-unlock/ni1-att-galaxy-s4-ota-update.html

:good:
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Lol, now only 14 minutes of fame remaining! Thx!
[AT&T Samsung Galaxy S 4 General] guut13:
Here are the NI1 modules if anyone needs them...

https://www.androidfilehost.com/?w=files&flid=17227

Haven't tested it yet, but I made the same as the others so they should work fine... I'm still trying to get safestrap working myself.