yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy S 4] dgutierrez04:
Yes it is safe after u r done wit everything u can delete safestrap :)
[Verizon Samsung Galaxy S 4] Fadtydawg:
Muniz_ri... Again Bravo!! Another great achievement. Updated successfully to NK1!!
[Verizon Samsung Galaxy S 4] nj12nets:
You can fix the extsd write lock by using root explorer navigating to etc\platform\permissions.xml

You need to mount as RW and edit the file to match what I'm pasting below.

You can ignore the middle part about syscope info but change your version for "write_external_storage" the "access_all_external_storage" and the "write_external_storage"

Don't delete anything from the file or do this without paying attention. Do not alert the syscope permission in between the 2nd and 3rd permissions that relate to storage.

I found this method through Google but it's worked for me so fast with no problems. If you use root explorer and open the file in text editor when you save the modified file, the original file will have .bak appended to it. The guide I used only changed 2 of the 3 permissions I'm saying to edit but the sd lock fix went away after restarting but since I changed the permissions to what I changed below is been working gray even after restarting.

Remember be careful with how you edit the file, only change it in the places I showed to make sure there aren't any complications. If you type it manually make sure to match the formatting and symbols exactly. If you ate going to cut/paste make sure only to change the permissions to exactly how I show it.

I'm not responsible for any damage or issues caused by following this method incorrectly. Remember to save the file with the original name of permissions.xml and then restart the phone to check your now working sd card.

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >

<group gid="sdcard_r" />

<group gid="sdcard_rw" />

<group gid="media_rw" />

</permission>

<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" >

<group gid="sdcard_r" />

<group gid="sdcard_rw" />

<group gid="media_rw" />

<group gid="sdcard_all" />

</permission>

<permission name="com.sec.android.app.sysscope.permission.SYSSCOPE_ACCESS_SYSTEM_INFO" >

<group gid="radio" />

</permission>

<permission name="android.permission.WRITE_MEDIA_STORAGE" >

<group gid="media_rw" />

<group gid="sdcard_rw" />

</permission>
[Verizon Samsung Galaxy S 4] muniz_ri:
I usually take issue with a thread jack but this is actually useful. Thx
[Verizon Samsung Galaxy S 4] djdmbrwsk:
This root/upgrade method worked great from ng6 -> nk1 thanks a bunch!
[Verizon Samsung Galaxy S 4] nj12nets:
Sorry about the thread jack. ..I ended up typing way more than I meant to but I didn't want to give incomplete instructions for someone to mess up. I did post the directions in its own thread so hopefully no more thread jacking for this issue
[Verizon Samsung Galaxy S 4] heydave:
If I'm already on nk1 do I need the rom?
[Verizon Samsung Galaxy S 4] muniz_ri:
Alternative "Kernel Swap" Method added to the OP

Alternative "Kernel Swap" Method added to the OP

I received a report from [MENTION=2780274]Sir_Eagle[/MENTION] that the "kernel swap" method worked for him to gain root access after taking the NK1 ota update. I was unable to duplicate this on my devices(phone would not boot on NC5 kernel), however I have added the "kernel swap" method steps to the OP so that unrooted, NK1 users can try it and let everyone know if it works for them.
[Verizon Samsung Galaxy S 4] kamameel:
Perfect, thanks!

Ran the whole process as described with no errors! Thank you for the hard work.:good:

(For anyone that is new to this like me, when the OP says to "flash" the NK1 stock file, he is referring to the "install" command in SafeStrap recovery.)
[Verizon Samsung Galaxy S 4] gm2500main:
Followed All Instructions, but Still Having Trouble

I can't get SS (any version) to be able to mount /system. This keeps me from doing any of the rest of the steps. When I try to run the command through terminal ("mount /system") gives me the error that it can't find /system in the fstab file...any ideas? I have already wiped the phone doing the non SS factory reset multiple times with no avail. I definitely have root access, but no way to mount the system partition. Thanks in advance! :D
[Verizon Samsung Galaxy S 4] muniz_ri:
Try the alternative kernel swap method that I just added to the OP.
[Verizon Samsung Galaxy S 4] transformthis:
help please

Hey everyone. I am having trouble downloading the NK1 file to put on my extcard. It will not download at all. I have tried every mirror. I even tried downloading it to my computer but i had the same problem. Has anyone experienced this problem and if so how can i download the NK1?
[Verizon Samsung Galaxy S 4] Sir_Eagle:
Just tried it again here, and it works fine to my PC.
[Verizon Samsung Galaxy S 4] transformthis:
I will try it again. Maby its the wifi network i am on?
[Verizon Samsung Galaxy S 4] Fadtydawg:
Try to disable any antivirus software you may have enabled.
[Verizon Samsung Galaxy S 4] transformthis:
I uninstalled the antivirus app I had on my phone. I am able to get the file to start downloading but it takes about 20 mins to get to 8% and then it fails and says Download Unsuccessful. I have never had a problem like this downloading roms or any other kind of file. this is driving me nuts.
[Verizon Samsung Galaxy S 4] nj12nets:
Are you sure you have enough space on your phone where its trying to save? I've had the download unsuccessful issue when downloading a big file when I had less space available than I thought
[Verizon Samsung Galaxy S 4] transformthis:
I have had that problem also but with my S3. This file is 1.5 GB and I have 5.57 GB on my phone and 4.39 GB left on my card. So I don't think that's the problem. I really don't know what problem is. I am trying to download on to my computer now, I am at 5%. So ill see how this does. I appreciate everyone's help so far.
[Verizon Samsung Galaxy S 4] muniz_ri:
Try a different browser. I use Chrome.
[Verizon Samsung Galaxy S 4] Sir_Eagle:
Just downloaded it to my phone. Not a problem with the file or primary mirror. I use Fire Fox.
[Verizon Samsung Galaxy S 4] jodieoleboy:
upgraded now stuck

ive rooted my verizon s4 before so im kind familiar with rooting but i recently upgraded to nk1 now i cant root. i want the s5 echo rom sooooo bad please help me:confused::confused::confused::confused::confused::confused::confused::confused::confused:
[Verizon Samsung Galaxy S 4] sinner822:
Read OP
[Verizon Samsung Galaxy S 4] kamameel:
No new root access

Procedure works! Somehow the "TapJacking" preference in SuperSu got checked and prevented me from granting root access but that is most likely my fault!
[Verizon Samsung Galaxy S 4] Fadtydawg:
No issues here. Granting root permissions no problem.
[Verizon Samsung Galaxy S 4] transformthis:
Thanks guys

Thank you to everyone who was trying to help me out yesterday. I finally figured out what the problem was, it was the Internet service I was using. I was using my WiFi at work and I guess our Internet provider isn't worth a dang. Soon as I got home I tried it and I was able to download the NK1 file.

---------- Post added at 09:58 PM ---------- Previous post was at 09:46 PM ----------

I haven't messed around with a rooted phone in about a year. ( S3 From US Cellular ) But now I am on Verizon and I rooted my S4 last week and I figured out how to flash the NK1 update from this thread, thank you muniz_ri. I have done some reading about this but is there a way to flash other ROMS for this phone? I was told there wasn't but then I was told about safestrap and I found this thread.
[Verizon Samsung Galaxy S 4] crystalpc:
Hyperdrive Rom KK RLS20

You can try Hyperdrive for Safestrap users. You'll have to do a lot of reading. I used it for many releases, but had some wifi issues develop that I couldn't live with. It's all here:

http://xdaforums.com/showthread.php?t=2301724
[Verizon Samsung Galaxy S 4] nerdslogic:
Performed alternate route without issues. Thank you very much OP
[Verizon Samsung Galaxy S 4] muniz_ri:
Thanks for confirming. I'm going to switch the OP to make the alternative method the primary method since it's much simpler.
[Verizon Samsung Galaxy S 4] NemeGuero:
stuck in reboot cycle

Please help!

I have a SCH-i545. I was previously rooted with TowelRoot on NG6 using the previous NC5 downgrade method.

Everything was perfect until the OTA update tried to come through. I used SU to "unroot" my device and then I tried the OTA. (I don't know why I felt compelled to do that)

The OTA failed and the phone would reset after messing with it once in a while.

I've gone back to the NC5 kernel with Odin but TowelRoot doesn't take anymore and I'm in a vicious reboot cycle. I've tried towelroot several times and the phone just keeps rebooting.

I saw the line in the first post about Flashing to the NK1. Is this what I have to do and then repeat? Will I lose my data? I don't see the phone being stable enough for me to back up anything at this point. Also, I don't know how to do this step.

Thanks in advance.

*EDIT* I flashed to NG6 and it seems that all is calm at this point. Can I just do the NC5/NG6 thing again or do I have to NK1 since I attempted the OTA?
[Verizon Samsung Galaxy S 4] dgutierrez04:
Give it a try. What do u have to lose. It should work.
[Verizon Samsung Galaxy S 4] blacligtnin113:
I did something similar where I tried to downgrade to MK2, but Odin wouldn't take because I'm an idiot and didn't realize I can't go back to that bootloader with a no-wipe. I flashed a couple different things to no avail, and I tried flashing an NC5.tar, but my phone became unstable and entered a bootloop. Then I remembered OP's troubleshoot and flashed I545VRUFNK1_I545VZWFNK1_I545VRUFNK1_HOME.tar which took me back to NK1, then I followed the directions and everything went smooth as butter. Lost no data and everything works better than before. :D
[Verizon Samsung Galaxy S 4] fallkirk:
is the I545VRUFNK1_I545VZWFNK1_I545VRUFNK1_HOME.tar no wipe?
[Verizon Samsung Galaxy S 4] names01@q.com:
Same issue here....

Took the NK1 update this morning...

Installed TR

Downgraded to NC5 Via odin 3.10

--stuck in an unusable boot loop.....

Went back to NK1...all is fine for now.....

I was going to try the I545VRUFNK1_I545VZWFNK1_I545VRUFNK1_HOME.tar

but I am a little out of my league now, this is not just a kernel flash? since the file is 1.4 gig ?

Thanks.....!!!!
[Verizon Samsung Galaxy S 4] dgutierrez04:
Yes it shouldn't wipe data u are not deleting anything.

---------- Post added at 08:23 AM ---------- Previous post was at 08:21 AM ----------

Is the rom of OTA. It should help u downgrade to NC5 without u getting stuck in a bootloop :)
[Verizon Samsung Galaxy S 4] ech1253:
HELP....

Please Help... I had no problems Towel-rooting my NG6 S4 using Muniz_RI (Odin) procedures back in Oct in his previous post... Never had "the" reboot issue and everything ran well until yesterday... Over the weekend I noticed that SuperSU upgraded itself, but I am (now) guessing that it didn't carry over the root-priviledged apps list, as Titanium Backup wasn't listed last night in SuperSU... It didn't dawn on me until this morning that I had used TiB to "freeze" SDM weeks ago, so I woke up to find the Nk1 OTA being pushed and offered... At first I disabled SDM and FWUpdater by renaming them, but I started getting random reboots... When I found this thread today, at first I re-enabled SDM and FWUpdater and tried to take the OTA NK1 update, but it wouldn't launch... So then I used Odin to flash the NK1 update instead (as suggested above) and that process seems to have worked( Reboots have stopped on NK1).

However, I cannot proceed with the remaining Steps (2+) and get Towelroot to work on this device again ("make it ra1n" button yields "This phone isn't currently supported" error rmessage)...

I removed my antivirus and firewall apps and Towelroot seems to install OK... ANY suggestions?? My VZ S4 is on NK1 now and I am trying to regain root at this point...

Thanks in advance!

Ed
[Verizon Samsung Galaxy S 4] sinner822:
Flash the NC5 kernel then use towelroot then flash back just like it says in the OP.
[Verizon Samsung Galaxy S 4] ech1253:
Thanks Sinner 822!! Step 2 says nothing about running Towelroot yet (Step 5)

That was a serious Homer move on my part... Multi-tasking is for computers ;)

Thanks again!

Ed
[Verizon Samsung Galaxy S 4] mcmi11ions:
Is there a way for me to just not accept the update to NK1, or am I going to just get prompted every day? My phone just prompted for it this morning. I used this method to get root on NG6, and while it worked, the wonky behavior that came with NC5 (boot loops) scared the crap out of me. I'd like to avoid having to go all through that again, but will if I must I suppose.
[Verizon Samsung Galaxy S 4] dgutierrez04:
U need to freeze FWUpgrade and SDM in system apps. It stops OTA updates and the notification
[Verizon Samsung Galaxy S 4] mcmi11ions:
I found SDM but could not find FWUpgrade. Also, I don't have the pro version of TI. I guess I may just bite the bullet and go through the root process all over again tomorrow. I wonder how many more OTA's Verizon will plan on releasing for this phone...
[Verizon Samsung Galaxy S 4] dgutierrez04:
Send u a private message wit further instructions to help u out. To keep this thread from getting clutter.
[Verizon Samsung Galaxy S 4] alexrirak:
Hi,

If my phone is currently on NC5 and rooted already can I just skip to step 6 or do I still need to preform the flashing of NC5?

Thank you.
[Verizon Samsung Galaxy S 4] dgutierrez04:
Well if u r trying to go to NK1 no u need to take the OTA. Or do the alternative method. But u cant go to step 6. U need to start from step one if u r trying to get to NK1.
[Verizon Samsung Galaxy S 4] Officer_Nubcake:
Hi, it's been a while since I've rooted, but have never experienced any problems. I was already on NK1 when I attempted to flash NC5, but Odin failed. The phone was bricked until I flashed NC5 again, which managed to boot me into the OS, but the system claimed it was still on NK1, yet allowed me to root and install Safestrap. During the flash of NK1, Odin failed again and I had to flash the NC5 kernel to get back to booting to the OS. My phone then was stuck in a reboot loop, where I had to completely wipe the data to factory in order to regain stability. Now I am on stock NK1 with no root and a notification telling me I have unauthorized actions. I am wondering if I should keep trying or if there are steps I am doing wrong, though I'm sure I already made a mistake with continuing the steps while still on NK1 lol. Any help will be appreciated. I should also note that during all this phone chaos I managed to remove the stock recovery and make it just a black screen and made my wifi permanently disabled.
[Verizon Samsung Galaxy S 4] Kaiyo Droid:
Working great here :)

Was originally on NC5 stock, no root. Followed the first set of instructions and all went perfectly. Thanks!
[Verizon Samsung Galaxy S 4] sj124594:
Worked, Tricky, but worked

I had just finally got around to rooting my S4 a couple of weeks ago, dealt with the random crash issues with the Xposed framework fix.

Saw this update come out and immediately looked for this thread.

Having recently rooted, I was familiar with the steps here.

Already had SuperSU, towelroot, Ti, Xposed, Root Checker Basic and Odin on the PC.

Downloaded the NK1 that was posted, followed the steps, ran towelroot.

Before rebooting, I thought I better check the version and when I looked at the version it was still saying NK1, not NC5, then it went into a reboot cycle.

Root Checker kept saying that it wasn't rooted.

Flashed NC5 back down, hit towelroot again, still acting wonky, rebooting in a loop.

Finally pulled battery to stop the reboot loop (couldn't time it right to get into download mode).

Flashed NK1, launched SuperSU, root checker now says I have root.

So, long story short, trusting muniz_ri's steps is the key, it works... Flash NC5, towelroot, flash NK1, SuperSU, done.

The cool think is NK1 appears to have fixed the crash problem that the Xposed fix was there for.

I'm happy, thanks [MENTION=4708661]muniz_ri[/MENTION]

:D
[Verizon Samsung Galaxy S 4] alexrirak:
So I should do OTA update from NC5 and then downgrade back to NC5?
[Verizon Samsung Galaxy S 4] dgutierrez04:
Yes u r updating everything to NK1 after that u r just swapping the kernel to NC5 to root than r u swapping it back to NK1. Just read the instructions and make sure u have everything correctly before u do it.
[Verizon Samsung Galaxy S 4] NemeGuero:
TowelRoot won't take

I've flashed the NK1 ROM and then successfully flashed the NC5 kernel but TOWELROOT won't root.

It says that it roots successfully and then I've tried flashing back to NK1 kernel but after that anything I try to do (Xposed Installer,root checker) says I do not have root access.

Any ideas? I've followed the steps exactly.

*SOLVED. Forgot the SU Super install*
[Verizon Samsung Galaxy S 4] Tyr5678:
Question

I only use linux and i have flased with Jodin before and it has always worked but while trying to flash NC5 its telling my my PIT file is corrupt is there any way i can do this using Heimdall or does any one know how i can get a pit file from my device i Tried using the one from Sextape but still get the same error
[Verizon Samsung Galaxy S 4] tlfromva:
I'm new to the S4 having *finally* moved on from my old HTC Rezound which kept on going and going by the grace of other devs in the XDA community and some great ROM ports.

I picked up this stock S4 the other day and accepted the OTA NK1 update when it was offered soon after powering up.

I'm interested in rooting this and noticed when this thread started, there was a caveat in the IP indicating that to regain root after the NK1 update you had to have been rooted before. That caveat seems to have since been removed. I'm looking for confirmation that the kernel swap procedure will work on devices that we're not rooted before.

Also looking for advice on your recommended recovery. I've used CWM and TWRP in the past but see that I have other options here.

Finally, where can I read more about Odin?

Thanks all.

Sent from my phone
[Verizon Samsung Galaxy S 4] corgan1001:
I can confirm this process works. Tried it out earlier today. Not sure how much luck you'll have with recovery, this seems to be the only method with the NK1 bootloader: http://xdaforums.com/showpost.php?p=56030788&postcount=2281

I also ran into a tremendous amount of difficulty flashing ROMs since they are not yet adapted for the NK1 update. I did work with the SS update a bit and ROM slots work well, so do backup/restore functions. I'm hoping the devs catch up to the OTA update, but it seems like Samsung is really cracking down.

It's also worth noting that both the root method and the SS recovery will not trip Knox, keeping your factory warranty in tact.
[Verizon Samsung Galaxy S 4] Sir_Eagle:
Works
[Verizon Samsung Galaxy S 4] XxD34THxX:
I followed your other thread on rooting NG6 with the same method, and I am running NG6 rooted with no safestrap. Can I just flash the NK1 and keep root? Or can I disable the OTA update and set it so I can update manually from settings?

EDIT: Disabled SDM. I'll update if Lollipop update gets root and if we ever get lollipop.
[Verizon Samsung Galaxy S 4] MegaVortex:
Worked like a charm. Thank you sir!! :)
[Verizon Samsung Galaxy S 4] jspector:
Any idea how to enable tether after the fnk upgrade. Everything worked perfect but I really need to be able to tether.
[Verizon Samsung Galaxy S 4] Tech 4 9:
Can this method be done without a pc? Perhaps using mobile Odin app and a kernel flashing app?

---------- Post added at 01:03 AM ---------- Previous post was at 12:37 AM ----------

Disregard last. I think I answered my own question...yes but not for Nk1 yet.
[Verizon Samsung Galaxy S 4] guho:
I am still on MK2 rooted with several mods (tethering etc.) in place. What is the simplest way for me to upgrade to MK1 rooted? Could SuperSu survive the upgrade if I were to take the OTA? Or should I undo my mods, and just follow instructions in the OP? Thanks.
[Verizon Samsung Galaxy S 4] tshelby73:
I just nc5 full Odin. Did updates. There is 2 one to ng6 then nk1. Then follow op. I did root, tether and sdfix. All good for me. I tried unrooting and ota but ota kept failing so had to full Odin.
[Verizon Samsung Galaxy S 4] phiberoptick:
Jodin can pull the PIT from your phone. I used jodin and had it extract the PIT. Was able to root following the instructions in the OP with no issues.

My phone was previously unrooted stock NK1.

-Ronan

---------- Post added at 11:53 AM ---------- Previous post was at 11:48 AM ----------

I use X-Tether module in Xposed Framework. Works like a charm.

-Ronan
[Verizon Samsung Galaxy S 4] edjanx:
Sorry for a newbie question on #2, but should this backup be the Data setting only, or also Cache and System?

Thanks,

Janx
[Verizon Samsung Galaxy S 4] guho:
Thanks. Did the procedure in the op. Took 3 ota updates to get to nk1. Everything works great. X tether module works for tethering. Thanks for the info. One last question: which system apps should i freeze in titanium backup besides SDM?
[Verizon Samsung Galaxy S 4] dgutierrez04:
---------- Post added at 07:14 PM ---------- Previous post was at 07:11 PM ----------

[/COLOR]

Just back it up i do it all the time rather be safe than sorry

---------- Post added at 07:15 PM ---------- Previous post was at 07:14 PM ----------

Also the FWUpgrade
[Verizon Samsung Galaxy S 4] Tech 4 9:
So...its gonna be a few days before Ill have access to a online pc to follow this thread and, for the first time ever, attempt to root. I'm nervous and excited to begin learning the FULL potential of my phone. Any other advice and/or input from all you would be appreciated. Thanks.
[Verizon Samsung Galaxy S 4] muniz_ri:
No
[Verizon Samsung Galaxy S 4] dgutierrez04:
The only advice i can give u make sure u have everything in place before u start wit the root process. But other than that enjoy ur device :)
[Verizon Samsung Galaxy S 4] edjanx:
Upgrade backup step - Data Only, or also System?

I also back it up all the time. I was actually looking for a yes/no answer, as I think I have gotten in a loop where my Baseband number is NK1, and the Build Number is NC5. I was thinking that when I backed up for upgrade purposes, also checking system screws me up when I do the restore data step - hence my question, back up *only* data, vs data, cache, and system. When my system upgrade is finished, I do a backup with all three, but I am only asking about the upgrade process.

While on my rooted device, I notice that within a given day, my text messaging can't sending outbound SMS messages while inbounds are fine. This is regardless of what text messaging app I use. To fix this I need to clear all data in the Messenger app, freeze it, reboot, then reset it as my default app. Wondering if it is related to the above mixed Baseband/Build Number condition. Thanks!
[Verizon Samsung Galaxy S 4] crystalpc:
I used the data only to restore my apps and settings, the way they were on NG6 before the upgrade. It worked great. I then ran the backup selecting system also to have a working backup of the phone on NK1. I never backup the cache, since it rebuilds itself. The baseband (modem) and build (firmware) are the same on my phone. You can flash the NK1 modem zip to match your build.
[Verizon Samsung Galaxy S 4] Zelmo88:
Backup "data" only. Sounds like somehow you're restoring your "system" files after you convert over to NK1, so it's putting all the old NC5 files back. I'm guessing the problem with the SMS messages, is the NK1 kernal doesn't like the NC5 system files. They should both be the same version to avoid problems. I'd start over again, and just backup and restore the "data" files.
[Verizon Samsung Galaxy S 4] Tech 4 9:
Thank you. Could you expand? What is "everything" and where should I put it?

---------- Post added at 01:52 PM ---------- Previous post was at 01:44 PM ----------

Yes sir...that's what I'm talking get about. What all should I have in place and where should I put it? Thanks to all...loving the info on this forum.