yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 General] muniz_ri:
You will need to install SElinux Mode Changer from the Play Store and set to premissive before installing the Safestrap apk. The 100% Stock ROM is already set to permissive so SElinux Mode Changer is not required if you use that method.
[AT&T Samsung Galaxy S 4 General] guut13:
Son of a...

Thanks for the reminder. Glad you still have time for the little people, given your 14 min isn't up yet.
[AT&T Samsung Galaxy S 4 General] guut13:
Success. Second time was a charm. Based on directions in OP, this is what I did...

1. Odin to NB1

2. Take NI1 OTA

3. Odin NC1 kernel

4. Root with Towel Root

*** Install SElinux Mode Changer***

5. Install Safestrap app and install recovery

6. Rebooted to confirm safestrap recovery was there

7. Odin NI5 kernel

It worked for me without installing SElinux Mode Changer, but I never had to do it before with the previous NC1 update to get safestrap working. If anyone else needed it before, that's where you'd want to install it.

I also installed a ROM and confirmed NI5 Modules are working.

Thanks [MENTION=4708661]muniz_ri[/MENTION] for figuring it out.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
I believe that later versions of towel root set selinux mode to permissive upon root. However if you reboot after rooting and before installing safestrap you will need SElinux Mode Changer in order to install safestrap apk (again the 100% Stock Rooted ROM automatically sets selinux mode to permissive. This is my preferred method).
[AT&T Samsung Galaxy S 4 General] Bout It Inc:
I Have Root

Finally got root. Thanks to all on this thread for advise and thank you for this root method. Much Love:good::good:
[AT&T Samsung Galaxy S 4 General] dave5777:
Has anyone made NI1 att kernel modules?
[AT&T Samsung Galaxy S 4 General] guut13:
Yep. Those are the modules I was referring to...

https://www.androidfilehost.com/?w=files&flid=17227
[AT&T Samsung Galaxy S 4 General] jack_ssl:
Please Upload I337_NC1 to NI1_OTA.zip File .. Thank You Sir .. I Want To Install NI1

Please That Link Was I337_NB1 to NI1_OTA.zip File .. But I Am In NC1 ..Sir ,You Upload NC1 To NI1
[AT&T Samsung Galaxy S 4 General] iB4STiD:
[MENTION=4708661]muniz_ri[/MENTION] nice job man!! :good:
[AT&T Samsung Galaxy S 4 General] guut13:
If you are trying to keep your data, then this will not help.

But if you have you data backed up and don't care about wiping, you can always odin to NB1 first...

http://xdaforums.com/showpost.php?p=51130818&postcount=5

Then you'll be able to use the NB1 to NI1 update zip from the OP.
[AT&T Samsung Galaxy S 4 General] jack_ssl:
Please Upload I337_NC1 to NI1_OTA.zip File

No Sir Previous Times . You Uploaded File " NC1 " ... Now Again Please You Upload NI1 Update zip File .. I Don't Want Rooted Zip File..

Please Help Me Sir
[AT&T Samsung Galaxy S 4 General] ozz200127:
After we update to the nl1 and root and install safestrap can we flash any of the safestrap Roms?
[AT&T Samsung Galaxy S 4 General] dave5777:
Yes, just flash the at&t NI1 modules after the ROM.
[AT&T Samsung Galaxy S 4 General] tailgunner9:
The NCI1 OTA installed without any problem. But when I do towelroot Now it says my phone not supported. I had it rooted and Safestrap before the OTA install today. So which steps do I do to get Root and Safestrap with TWRP recovery back?? Thanks Guys....
[AT&T Samsung Galaxy S 4 General] dave5777:
I had the same issue you probably have an old version of towel root download the latest from www.towelroot.com
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Towelroot will not work on the NI1 kernel. Follow the instructions in the OP.
[AT&T Samsung Galaxy S 4 General] tailgunner9:
Thanks will try it. dave5777 www.towelroot.com is not a good link.
[AT&T Samsung Galaxy S 4 General] tailgunner9:
Follow the steps and got root but when click on Safestrap it says it has stopped. So do not have Safestrap Recovery with TWRP. NOW WHAT?? Do I uninstall Safestrap and reinstall it????
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Now you download SeLinux Mode Changer, set to premissive, and the safestrap apk should work at that point.
[AT&T Samsung Galaxy S 4 General] tailgunner9:
Got it Now. Thanks for Help.
[AT&T Samsung Galaxy S 4 General] thebestiam:
I have no internet for towelroot, i've flashed NC1 Kernel over NI1 but no internet or LTE.
[AT&T Samsung Galaxy S 4 General] omek07:
Help please i cant turn on the wifi !!! I flash again the Ni1 kernel but nothing

Please help me
[AT&T Samsung Galaxy S 4 General] skylinegtr116:
followed all the steps in the op and now i dont have my network icons and no internet availability after flashing Imperium V12 rom. I did have internet and network icons prior to flashing the rom so im asumming its the rom??
[AT&T Samsung Galaxy S 4 General] dave5777:
Did you go to mobile networks and check if the correct AT&T APN is selected? You might have to add it see the All things MK2, NB1 thread.
[AT&T Samsung Galaxy S 4 General] parkerj7uc:
Does anyone have access to v1 and v2 of towel root. Working on a project and only have v3.
[AT&T Samsung Galaxy S 4 General] dave5777:
https://www.dropbox.com/s/3yrjj2ckpqivius/tr.apk?dl=0. V1
[AT&T Samsung Galaxy S 4 General] parkerj7uc:
I went to that link and it says restricted content. No longer available.
[AT&T Samsung Galaxy S 4 General] dave5777:
Dropbox thinks it's malicious, give me a minute I'll try mega.
[AT&T Samsung Galaxy S 4 General] skylinegtr116:
i forgot to mention that i did and still nothing....strangely no data icons and no internet availability...i have no idea what to do
[AT&T Samsung Galaxy S 4 General] dave5777:
It's probably the ROM, try one that's AT&T base.

---------- Post added at 08:28 PM ---------- Previous post was at 08:26 PM ----------

https://mega.co.nz/#!UAcxgZaI!SblIffec8JVlWHziyeaiUL9ZsOObmXKN6PBdZJDs3Y8
[AT&T Samsung Galaxy S 4 General] parkerj7uc:
Thank you sir.
[AT&T Samsung Galaxy S 4 General] skylinegtr116:
Tried GF v3, it worked with no problems. ..Thank you for your help
[AT&T Samsung Galaxy S 4 General] kristikaty:
I started having trouble with my Wi-Fi (wouldn't turn on at all) randomly the other day, so after spending ALL DAY trying to diagnose, I finally went back to this thread and figured I'd try the process all over again. Somehow, I realized that what I did the first time was I flashed the NI1 first instead of the NC1. Might have been partly because the NC1 file at the time had a bad extension, but still I should have realized I was flashing the wrong file.

So, I did end up flashing NC1, then using Towelroot, then flashing NI1 (Crossed fingers, said a prayer, ha!) and voila! Wi-Fi works AND root works. Thank goodness this fixed my Wi-Fi problems. Thank you so much for your help!
[AT&T Samsung Galaxy S 4 General] dmc2359:
If you still need them....
[AT&T Samsung Galaxy S 4 General] muniz_ri:
I'm glad your problem was solved but no need to cross fingers......just follow the directions and you will get the desired results everytime. There is no magic here.
[AT&T Samsung Galaxy S 4 General] wings9130:
This worked and I was able to root and install recovery on NI1. I noticed all of a sudden when I open the safetrap app it showed the phone as not rooted with no recovery installed inside the app. The phone is rooted and recovery is just fine. I tried uninstalling and reinstalling safetrap (rebooted phone) and now it just says "unfortunately safetrap has stopped" every time. I have version 3.72 for Kitkat and am running 4.4.2 NI1 stock rooted on a galaxy s4. Any idea what could be causing this?
[AT&T Samsung Galaxy S 4 General] skylinegtr116:
You need to install SELinuxmodechanger and set to permissive
[AT&T Samsung Galaxy S 4 General] wings9130:
I can't install it. It says my device isn't supported (galaxy s4 at&t). Any other suggestions?
[AT&T Samsung Galaxy S 4 General] dave5777:
I had the same issue had to get a fresh copy of towel root from gehot's website.
[AT&T Samsung Galaxy S 4 General] wings9130:
Could you give me some details on exactly what I have to do. I have towel root version 3. I had to root and install recovery by using odin to flash the NC1 kernel and then after successful root and safetrap recovery i flashed NI1 kernel again. Safetrap just stopped working today. Recovery and root are fine but I need the safetrap app to work.
[AT&T Samsung Galaxy S 4 General] wings9130:
Forgot to mention that I also got towelroot from the same place. If you can explain the steps I need to do I would appreciate it.
[AT&T Samsung Galaxy S 4 General] dave5777:
If you're already rooted you just need to use selinux mode changer set it to permissive. https://play.google.com/store/apps/details?id=com.mrbimc.selinux
[AT&T Samsung Galaxy S 4 General] wings9130:
I tried this but it says my device isn't supported (galaxy s4 and I can't even download). The app says it doesn't support phones that use samsung knox. Any other way?
[AT&T Samsung Galaxy S 4 General] dave5777:
Here's the one I used. https://www.dropbox.com/s/9ecaiocwoiylxf6/SELinuxModeChanger_v1.2.apk?dl=0
[AT&T Samsung Galaxy S 4 General] wings9130:
My phone won't install it. The install button does not work when I try.. Did this work for you on an at&t gs4 with 4.2.2 NI1?
[AT&T Samsung Galaxy S 4 General] dave5777:
Yeah I used that same file for NI1, did you open supersu and it will prompt you to disable Knox, also did you enable unknown sources and uncheck verify apps in security settings?
[AT&T Samsung Galaxy S 4 General] wings9130:
Ya supersu disabled knox when i first opened it. I enabled unknown sources and unchecked verify apps. I also noticed my gmail app won't send emails. It stays stuck on "sending". This upgrade has been buggy. :(
[AT&T Samsung Galaxy S 4 General] dave5777:
I didn't have any upgrade issues, I started with a fresh NB1 Odin then OTA to NI1. Did you flash the NI1 kernel after you rooted?
[AT&T Samsung Galaxy S 4 General] wings9130:
Ya I put NI1 kernel back on. I'm wondering if I should flash the NC1 kernel and try installing the safetrap app again. Recovery itself is installed and im rooted fine. Any idea about the gmail sent mail issue btw?
[AT&T Samsung Galaxy S 4 General] muniz_ri:
This thread is about how to root NI1. Please stay on topic and move all discussion about safestrap here: http://xdaforums.com/showthread.php?t=2448925
[AT&T Samsung Galaxy S 4 General] wings9130:
For some reason it allowed me to install selinuxchanger today from that link. Changed the permissions and safetrap is good to go. Thank you.
[AT&T Samsung Galaxy S 4 General] trazfer:
doesnt work

the root method is not working. after flashing nc1 kernel and using TW. TW says internet connection required and flashing of nc1 modules disables wifi. ty btw
[AT&T Samsung Galaxy S 4 General] parkerj7uc:
Deleted:
[AT&T Samsung Galaxy S 4 General] trazfer:
Cool this now works. What i did was flashed nc1 modules

installed towelrootv2 from post 72

Open TW then make it ra1n

Flashed ni1 modules.

Goodluck.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
lol, glad it worked for you. Everyone else just follow the instructions in the OP
[AT&T Samsung Galaxy S 4 General] dsfletch:
I must say thank you to muniz_ri for this thread and his help! I followed his post to the tee and odin kept failing. After a trip to Vegas and back home and reflash with odin it failed again leaving me with a yellow tiangle. Then he said an old school thing I forgot about. (sounds like bad cable or bad usb port) Sure enough I used a different usb port in the back of my pc and i'm running a rooted N|1, Thanks again muniz_ri!
[AT&T Samsung Galaxy S 4 General] alryder:
Remove Safestrap

Hi,

I updated from MK2 to NB1 using Safestrap and I337_MK2toNB1_KeepRoot_OTA.zip. I then upgraded from NB1 to NC1 using Safestrap and I337_NB1toNC1_KeepRoot_OTA.zip. With this method available now I would like to get rid of Safestrap completely. Can I do this by flashing I337UCUFNB1_4.4_Stock_Odin_tar and then following the steps in this post?

Thanks in advance.
[AT&T Samsung Galaxy S 4 General] guut13:
If your goal is to just remove safestrap... launch the safestrap app, press "uninstall recovery", uninstall the app, and reboot.

If your goal is to upgrade to NI1, then Yes, Odin the NB1 tar and follow the directions in the OP. In the process you will remove safestrap. Keep in mind, you will loose all your data, so make sure to backup first.
[AT&T Samsung Galaxy S 4 General] moiramd:
Man one question is the Nl1 the last update of the At&t s4? If so what new options that it have?
[AT&T Samsung Galaxy S 4 General] rotty022:
one question i have. if i use this procedure to root my NI1 device, will i be able to upgrade OTA if at&t releases a 4.4.4?
[AT&T Samsung Galaxy S 4 General] dave5777:
Yes, you can return to 100% Stock by using the NB1 Full Odin.
[AT&T Samsung Galaxy S 4 General] ahura999:
Does this root delete any data? And how would i unroot?
[AT&T Samsung Galaxy S 4 General] higgylovin:
Thank You!!

I was so pissed I updated to NI1 without checking for root options before. This saved me. I use root for tasker apps and hate life without them! Followed instructions and got root access in minutes. Best part is no data loss. I was worried I'd lose everything on phone like with ROM installs, but everything is exactly the same. So glad you took the time to figure this out. Just to clarify this process applied root access to build number KOT49H.I337UCUFNI1 with no loss of any thing on my phone.
[AT&T Samsung Galaxy S 4 General] howzitnow:
miI got to this thread by following a link in the Welcome to the AT&T MK2 (4.3) and NB1 / NC1 / NI1 (4.4.2) Index thread. I'm a little confused by something. The NB1/NC1/NI1 thread is obviously for people like me who must use Safestrap, so when I followed the link here and saw this (Flash the I337_NI1_Stock_Kernel in Odin's PDA slot (AP in Odin v3.09+) ), I got confused. I thought safestrap people could not flash kernels.

I'm on NC1 (rooted with towelroot) and running Omega v 38 and am interested in NI1-hoping it improves my 4g recpetion in buildings. My husband has a stock NI1 s4, took all the ota's, never rooted, and he seems to have much less reception trouble than I do.

Is the Option 2 listed below all I would need to do to get from NC1 to NI1?

Option 2 - For Safestrap users: a. Place the I337UCUFNI1_100%_Stock_Rooted_ROM.zip onto your ext-sdcard. b. Reboot into Safestrap recovery then perform an "Advanced Wipe" and wipe everything but your ext-sdcard. c. Flash the I337UCUFNI1_100%_Stock_Rooted_ROM.zip using "Stock Slot." d. Once complete press "Home" then reboot into "Download Mode." e. Flash the I337_NI1_Stock_Kernel in Odin's PDA slot (AP in Odin v3.09+). Done!

Would I then be able to put a custom rom back on :confused:

Thanks!
[AT&T Samsung Galaxy S 4 General] jdisco1:
Yes, you do exactly as you said. The kernel file you flash in Odin actually contains kernel modules, but not a kernel itself....I think. I know that you can safely flash it to get NI1 working properly. Also, Safestrap won't flash a kernel on our phones even if a zip does contain one. I've had it for about a week and have definitely noticed better reception, hence faster speeds in low-bar areas
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Yes. Also to clarify you can odin flash stock signed kernels but not custom kernels.
[AT&T Samsung Galaxy S 4 General] alryder:
Downgrade from NI1

After following these steps and successfully going to NI1, is it possible to downgrade to NB1 by flashing ALL_ATT_I337UCUFNB1_I337ATTFNB1_505595_REV06_user_low_ship_MULTI_CERT.tar.md5 or will that brick the phone? I know that something (I can't remember what, maybe the baseband?) gets upgraded sometimes between versions which doesn't allow downgrading.

Thanks in advance!
[AT&T Samsung Galaxy S 4 General] muniz_ri:
You are able to downgrade from NI1 back to NB1. The qfuse counter in the bootloader has fortunately remained the same since NB1.
[AT&T Samsung Galaxy S 4 General] ahura999:
Will i lose data on this? And should I need to unroot, how wold I go about doing so?
[AT&T Samsung Galaxy S 4 General] TMobDashUser:
NC1 rooted / safestrap - can I update without losing data?

I'm on NC1 rooted and safestrap installed. Is there a way to upgrade without losing data? Can I just wipe dalvik cache, system, and cache? And not wipe data?
[AT&T Samsung Galaxy S 4 General] loganfarrell:
Just make a backup in safestrap and restore after.
[AT&T Samsung Galaxy S 4 General] pulkitjeel:
If I flash NI1 from the scratch and then restore a backup of NC1, would that also not restore the modem of NC1?
[AT&T Samsung Galaxy S 4 General] TMobDashUser:
NC1 Rooted / Safestrap - updated and restored data

I made a backup of just "data" using Safestrap recovery, saving the backup to my external SD card, then followed the "Option 2" instructions. Option 2 - For Safestrap users: a. Place the I337UCUFNI1_100%_Stock_Rooted_ROM.zip onto your ext-sdcard. b. Reboot into Safestrap recovery then perform an "Advanced Wipe" and wipe everything but your ext-sdcard. c. Flash the I337UCUFNI1_100%_Stock_Rooted_ROM.zip using "Stock Slot." d. Once complete press "Home" then reboot into "Download Mode." e. Flash the I337_NI1_Stock_Kernel in Odin's PDA slot (AP in Odin v3.09+). Done!

Once I was rebooted, I shutdown and went back into Safestrap recovery, and restored my "data" backup, then wiped cache and dalvick and fixed permissions. Rebooted and all seems fine. Thanks.
[AT&T Samsung Galaxy S 4 General] loganfarrell:
No problem, man. Glad it all went well for you.
[AT&T Samsung Galaxy S 4 General] RobertR_01:
Thanks

I used towel root and safestrap on my ATT 1337 but only rom I have been able to successfully load on it is Graviton, I have been happy with it but wish i could play with some others just haven't had much luck yet.

More on topic

I booted into recovery and made a backup.

I then used "Option 2" Everything went exactly as it should . :good:

I used google backup to restore my apps and contacts and ran the phone all day. Google search fc'd a few times when I tried to use it. Today was lighter usage than some days but I didn't notice any other glitches and had 70% battery life after my 10 hr. workday. (later 14 apps updated, perhaps that was the cause of the fc)
[AT&T Samsung Galaxy S 4 General] guut13:
Nope. Backups don't grab the modem.
[AT&T Samsung Galaxy S 4 General] churapa:
May I know what is really backed up? (if already on NC1 to NI1)
[AT&T Samsung Galaxy S 4 General] guut13:
Unless I'm completely missing your question, I guess that depends on what you choose to back up in the first place. In safestrap you have the option of choosing System, Data, and/or Cache.
[AT&T Samsung Galaxy S 4 General] bobgodd:
Performed this today, had no hiccups or issues whatsoever. Root works fine, but I seem to have lost the ability to rotate the screen. Any ideas?

Edit: found out it was because I deleted Samsung hub. Got it sorted now.
[AT&T Samsung Galaxy S 4 General] livystewy:
hi guys i need some help here i have installed the NI1 and have gained root but i cant seem to flash a recovery at all i have tried loki safestrap you name it. i have tried reading zedomax and other threads here and the phone reboots and goes straight to download mode and gets stuck. i turned off and turned on rebooted into download mode but cancelled to restart the phone and it came back on but still the same problem no recovery. Something different happened when I switched one of the files in the 3way root. A yellow triangle say at&t has detected software that is not for the phone and again no recovery
[AT&T Samsung Galaxy S 4 General] Agent5150:
So I used the instruction in OP and got my brand new S4 OTA to NI1 then followed the instructions. Towelroot said its installed, super user is installed, knox disabled and safestrap has root access. Safestrp installed but option to boot in recovery is greyed out. State says : Not installed.

What am I not doing here?

Duh.. SELINUX Enforcing was the issue. :)
[AT&T Samsung Galaxy S 4 General] malikfaraj96:
Hey guys (sorry if this was answered before I'm on the app and can't read at the moment) but will flashing those kernels trip the Knox counter? (On the NI1 update)
[AT&T Samsung Galaxy S 4 General] thebestiam:
You can't flash kernels on i337.
[AT&T Samsung Galaxy S 4 General] malikfaraj96:
I know ur not allowed to say 100% sure, but are u pretty confident it won't trip? Sorry I'm good with rooting but ever since Knox came around...
[AT&T Samsung Galaxy S 4 General] muniz_ri:
This method has been done hundreds maybe more times with no claims of warranty flag being tripped.
[AT&T Samsung Galaxy S 4 General] malikfaraj96:
Alright thanks can't wait til I get home ?

---------- Post added at 09:38 PM ---------- Previous post was at 09:38 PM ----------

What do u mean?
[AT&T Samsung Galaxy S 4 General] malikfaraj96:
is there supposed to be a vzw s4 pit in the folder?
[AT&T Samsung Galaxy S 4 General] Angelpirate:
Worked like a charm

I'm a noob, so pardon the question. what do i need the dump & modem for? and how would i use them? do i really need them?
[AT&T Samsung Galaxy S 4 General] thebestiam:
Custom kernels can't be flashed on AT&T Galaxy S4.
[AT&T Samsung Galaxy S 4 General] malikfaraj96:
I'm talking about the stock ones from the op
[AT&T Samsung Galaxy S 4 General] voivodsm336:
They work and do not trip Knox, they're offical. I had to flash them plenty of times cause i goofed up and knox is 0x0, plus my rom is official instead of custom now.
[AT&T Samsung Galaxy S 4 General] malikfaraj96:
I'm just wondering do I have to use the Odin from the op? ( cuz it has a weird pit file in the extracted rar and I'm scared of pits lol)
[AT&T Samsung Galaxy S 4 General] jontaccona:
Is there a video of how to do this or should i just wait for towelroot cause i really dont want ti mess up this phone unless somebody can walk me through the process cause its very co fusing and im a computer nerd
[AT&T Samsung Galaxy S 4 General] jontaccona:
i did this now im rooted now what can I do with this phone it seems no much because of recovery options or can you let me know cause I want to customize this phone like I have been able to with my older android devices
[AT&T Samsung Galaxy S 4 General] guut13:
Check out this thread...

http://xdaforums.com/showthread.php?t=2616221
[AT&T Samsung Galaxy S 4 General] jontaccona:
Is there do you know if there is a wicked rom for ni1 formware i can find one i like the wicked roms if not ill just use root applications and with safestrap is it like a normal recorvey it just boots into the os or do i have to select a certain os everytime i boot
[AT&T Samsung Galaxy S 4 General] guut13:
Doesn't appear to be a wicked rom for 4.4.2, but there are over 50 ROMs you can choose from.

Yes. Safestrap is like a regular recovery. Biggest difference is everytime your phone boots up, you'll see the safestrap menu. you can press a button to enter recovery, or do nothing and it will continue into normal boot process.
[AT&T Samsung Galaxy S 4 General] churapa:
I took the OTA update, after going through steps1-6, Shouldn't I add SuperSU, SafeStrap and SELinuxChanger?

I ask you because I want to make sure I can properly instal custom ROMs after rooting my device to NI1.

Thanks for your answer and all your hard work.
[AT&T Samsung Galaxy S 4 General] danger.ray:
Im having the same problem. I cant seem to get the wifi to work after flashing NC1 and then rooting. Restarted phone, root worked fine, but the wifi wont work, even after flashing the NI1. The wifi tries to turn on, but stops after a few minutes. Totally stuck
[AT&T Samsung Galaxy S 4 General] guut13:
You Odin the nc1 kernel. Rooted. And WiFi did not work... Haven't tested it myself, but that sounds right because you have the nc1 kernel installed and the modules don't match.

When you odin back the ni1 kernel, the modules will match again and wifi should be working. Well, that's the theory, anyways.

Your comment about "flashing ni1"... Were you referring to Odin ni1 kernel or flashing ni1 module?
[AT&T Samsung Galaxy S 4 General] danger.ray:
Yea, I meant that I used odin for the ni1 kernel after the root worked, but the wifi did not with nc1. I tried to reboot after the root, then shut down and used odin for ni1. Still, I am without wifi.