yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy S 4] muniz_ri:
**You can begin the following process from any 4.4.x Build/ROM or higher, but you must already have Root Access. Safestrap Users must flash from "Stock" Slot Only**

**Required** FlashFire - Play BETA - PREVIEW

1. Join the G+ community using the same Google account as you're using for Play on your phone/tablet Here.

2. Sign up to receive the BETA versions from Play Here.

- Use the link provided after sign-up to download the app.

**Caution!** The following process is only for the Verizon I545 S4 Variant. Use on any other device may result in a hardbrick!

***FlashFire v19 Recommended***

Downloads:

- I545_OC1_Stock_Rooted_ROM_wNK4_BL

- I545_OC1_Stock_DeOdexed_ROMwNK4_BL

Attention! Set your screen timeout to 10 mins before beginning!

1. Place the ROM onto your device (use either internal or ext-sdcard).

2. Open the FlashFire app and "Agree" to the Terms and Conditions.

3. Press "(+)" twice to bring up the "Actions" menu.

4. Select "Flash Zip or OTA" and locate and select the ROM. Leave "Auto-mount" unchecked under the "Options" menu and press the checkmark to continue.

5. From the main menu Uncheck all options under "EverRoot" and use default "Reboot" setting.

6. Last, press the lightning bolt then "Ok" to begin the flash .

The screen will turn black then display the contents of your system before beginning the flash. FlashFire will pause for about 1 minute while flashing the "system" partition. Once complete your device will reboot and pause on the Verizon splash screen for about 2 - 3 minutes (10 - 15 mins for DeOdexed version) before completely rebooting. Done!

Tip: for blazing fast speed turn off animations from Developer Options and reboot!

Known Issues:

- None!

- When reporting an issue please always include your starting firmware, FF version, and relevant details.

Optional:

- I545_OC1_TetherAddOn (Flash using FlashFire's "Flash zip or ota" option).

- I545_OC1_Batch_Debloater (Customizable)

Notes:

1. FlashFire has a bug which sometimes causes a premature reboot during the flash resulting in getting stuck on the Samsung boot screen. To avoid this press the Volume Key every few seconds during the flash. Seeing "Rebooting....." at the end of the flash usually indicates a successful flash.

2. The above process will not affect your Knox Warranty Flag.

3. The process will update your Modem, Non-hlos, System, Kernel, and Stock Recovery to OC1 and your Bootloader to NK4 (the NK4 bootloader allows for downgrading your firmware to NC5).

4. Safestrap will no longer function after updating to OC1.

5. If you do not already have root access (or to unbrick) flash the Full Wipe NC5 Odin .tar (Caution!: do not flash if you took the OC1 ota update), root with Towelroot, then proceed with the above process.

6. To learn more about FlashFire's capabilities on locked bootloader devices see here: http://xdaforums.com/showpost.php?p=60070810&postcount=2

Credits:

[MENTION=2479195]dgutierrez04[/MENTION] - for capturing both the NK4 and OC1 ota updates.
[Verizon Samsung Galaxy S 4] muniz_ri:
Reserved
[Verizon Samsung Galaxy S 4] dgutierrez04:
Muniz_ri i finally got around to it. I flashed it and everything booted up fine. Right now i am running lollipop and no crashes yet. The only bug i found is the WIFI. if you depend on wifi a lot do not update it yet. it seems to be broken. but everything else seems to work. Also the playstore doesn't seem to want to download apps. but how it says FOLLOW INSTRUCTIONS. if you need to read it 5 times do it. But once again nice Job Muniz_ri.

Update I figured how to fix the playstore. U need to wipe data from the playstore app for it to work. If u can't download any apps. So is back to just the wifi issue.
[Verizon Samsung Galaxy S 4] ahmedsz:
thanks [MENTION=4708661]muniz_ri[/MENTION]

everything works fine with me except WIFI.

is there any way to fix WIFI issue?

Update: Works great, WIFI is working now
[Verizon Samsung Galaxy S 4] jr4594:
This was a fast process but I'm also having wifi problems. It's like the phone doesn't see the antenna. Thanks for the work so far!
[Verizon Samsung Galaxy S 4] slackor:
Worked simply and well, except for WiFi. Thanks
[Verizon Samsung Galaxy S 4] muniz_ri:
It's the 4.4.2 bootloader on the 5.0 system. I will see what can be done.

Let's first make certain that the ROM updated the modem/non-hlos correctly. Someone that flashed the ROM please flash the following using Odin: I545_OC1_Stock_Modem.tar.md5
[Verizon Samsung Galaxy S 4] dgutierrez04:
U flash it where on Odin in the AP box?
[Verizon Samsung Galaxy S 4] muniz_ri:
Correct
[Verizon Samsung Galaxy S 4] dgutierrez04:
After flashing the tar the problem still persist.
[Verizon Samsung Galaxy S 4] jgkim:
DELETE
[Verizon Samsung Galaxy S 4] muniz_ri:
No, you can't flash custom recovery or kernels on a locked bootloader device.
[Verizon Samsung Galaxy S 4] rp1226:
The Verizon variant of the S4 has a locked bootloader... Since the bootloader is locked, no way to install custom recovery.
[Verizon Samsung Galaxy S 4] Stryke_the_Orc:
While this may work on your device, it will not work for this one. Verizon locks down theirs by locking their bootloaders. The international version (i9505) AFAIK does not have this problem. As stated above, you can not flash kernels on a device with a locked bootloader.
[Verizon Samsung Galaxy S 4] yellowcooln:
I'm new to the whole android flashing. So sorry for the noob questions.

Noob Question #1

Will this wipe my phone? If I do have to wipe it I don't mind. It's just going to be a pain to get it up and working again.

Noob Question #2

Added a picture of my About Phone. Will my phone work?

Sorry for the noob questions. But I have to start somewhere.
[Verizon Samsung Galaxy S 4] muniz_ri:
This ROM is still in testing. Stongly suggest Noobs do not flash at this time.
[Verizon Samsung Galaxy S 4] michael3770:
This is great hopefully the WiFi issue gets solved soon
[Verizon Samsung Galaxy S 4] lookimback:
Delete
[Verizon Samsung Galaxy S 4] yellowcooln:
I rooted my phone. I do know what I am doing. I'm just worried that I will need to reinstall everything.
[Verizon Samsung Galaxy S 4] JeeperDon:
The proper syntax is <rant>... yada yada yada... </rant>
[Verizon Samsung Galaxy S 4] PartyDroid:
OC1 kernel

where can I find the OC1 kernel to download. because i am confused. I followed this OP several times. with FF v0.18 apk and it ether stays at the Samsung Galaxy Boot Screen or Once i got it to go as far as the Verizon Red Boot screen and hit hung there for an hour. So I odin back to NC5 and have ever since been trying it from FF and thats when it hangs @ Samsung Galaxy Boot screen. Please tell me am I doing something wrong? So I am wanting to try the SS now but I am not sure where to download the OC1 kernel. I tryed the one from MDK file and it was just a zip file no .tar file. Any help please and I thank you in advance.I really want to keep trying but i am close to pulling my hair out. I have been working on this from last night 8:00pm est to 3.30am est and i started back up again this morning from 7.23am est still to know 10.03am est

HELP Please
[Verizon Samsung Galaxy S 4] skepticmisfit:
it is locked enforcing like nk1, and with lollipop Google wants it that way. as such, there are no compatibility issues with running enforcing selinux stuff

(compatibility issues only happened on custom ROMs like Eclipse and the gpe safestrap stuff)
[Verizon Samsung Galaxy S 4] Failrunner:
Yes if I flashed the tether with the rom I was getting a bootloop.

---------- Post added at 10:33 AM ---------- Previous post was at 10:32 AM ----------

Actually viper4android won't work which is a big deal for me. You need selinux set to permissive or it won't work.
[Verizon Samsung Galaxy S 4] i8qbert:
Worked great for me! Thanks for doing this!
[Verizon Samsung Galaxy S 4] muniz_ri:
If the flash was successfull and the device hangs upon reboot try pulling battery and reinserting. Also, someone mentioned enabling the SuperSu app setting "enable su during boot." I have never had to do that but worth a try.
[Verizon Samsung Galaxy S 4] zero75:
Verified checksums of the download? What version of SS have you been using? After downgrading; can you or have you tried updating SuperSU before using FF?
[Verizon Samsung Galaxy S 4] npjohnson:
Use a different USB cable, and flash the NC5 PIT file as well as the TAR. (The pit file can be pulled from the tar via winrar)
[Verizon Samsung Galaxy S 4] EdrickMG:
Everything working awesome... I was using xposed framework regarding unlocking SD card anyone figure anything out to do it without xposed?
[Verizon Samsung Galaxy S 4] rslu2:
Search Google play for the kit Kat external SD fix. Does the same thing. It allows me to use tibu without the out of memory error.
[Verizon Samsung Galaxy S 4] muniz_ri:
Uploading a new version of the ROM which will wipe all data whether the User forgets to wipe or place the "actions" in the correct order. Stand by....
[Verizon Samsung Galaxy S 4] Failrunner:
I gave this rom another shot to see if I could stomach it. No way. Too many restrictions. Almost feels like an apple device. Viper4android won't work, eq apps don't work, my favorite screen recorders don't work with internal audio, Xposed framework doesn't work. Might as well buy an iphone. Lol. I think i'm gonna go with hyperdrive. Thanks for the hard work though. This may be great for someone with different needs. I was really looking forward to having lollipop. :(
[Verizon Samsung Galaxy S 4] ATGkompressor:
What I did was uninstall safestrap from the Safestrap apk but I didn't uninstall the apk itself. I'm beginning to believe that if you leave Safestrap installed as recovery, it can have adverse effects when flashing with flashfire. Doing so, I've not had one problem except for 1 Wi-Fi lockup, which a reboot fixed.
[Verizon Samsung Galaxy S 4] EdrickMG:
Completly agree, i have tried really hard to like this but well modem and bluetooth has a little bit more range and stuff still root is available without it definitly could be a no no but hey give time i bet developers will not stay with cross hands...
[Verizon Samsung Galaxy S 4] zombolt:
I followed the directions and I'm liking it. However the tether addon won't work. Still have to use foxfi
[Verizon Samsung Galaxy S 4] PartyDroid:
This worked next question is how do i go about the wifi tethering install? I tryed b4 and i was just stuck on Verizon Red Bootloader again for 52 mins b4 i just pulled the battery and Odin back to NC5 again.
[Verizon Samsung Galaxy S 4] EdrickMG:
Use flash fire and flash module... Without wipe get use to FF, it will be your best friend
[Verizon Samsung Galaxy S 4] muniz_ri:
What worked? Pulling the battery or "enable super su on boot?"
[Verizon Samsung Galaxy S 4] PartyDroid:
enable super su on boot

I redownloaded the wifi tether and it's working now.

THANK YOU FOR YOUR HARD WORK AND THE REST OF THE COMMUNITY HERE FOR ALL OF YOUR HELP TOO.
[Verizon Samsung Galaxy S 4] muniz_ri:
No worries. I will add a note to the OP requiring enabling supersu upon boot. Thx.
[Verizon Samsung Galaxy S 4] PartyDroid:
God I love this Rom:laugh:
[Verizon Samsung Galaxy S 4] Jraider44:
Just want to say I followed the directions in the OP and everything worked great! Glad to finally get lollipop on the ole GS4 and still have root... Thanks for all the hard work [MENTION=4708661]muniz_ri[/MENTION]
[Verizon Samsung Galaxy S 4] jth08527:
Stuck at Verizon Screen

I have tried this process 3 times now, and each time I get stuck at the Verizon screen. Before starting, I ODIN'd back to a completely stock NK1, then performed your instructions on how to root NK1. I have also verified all file hash's. The first two times I did not enable su during boot in SuperSu, but the third time I did and it is still stuck at the Verizon screen. Any ideas on what may be wrong? The only way I can get my phone working again is if I ODIN back to NK1 again. Pulling the battery and popping it back in yields the same result. Thanks for any help you can provide.
[Verizon Samsung Galaxy S 4] Tech 4 9:
Perhaps try it on NC5? That's what I did. I don't see the point in NK1 anymore. Odin to nc5...root..then ff the wipe and rom only...then ff the tether.
[Verizon Samsung Galaxy S 4] EdrickMG:
Xposed framework download2sd was perfect solution to download directly some directories to SD external, there are plenty apps to move apps but not what you download from Apps like pics or videos does anyone has a workaround regarding this?? I could do it manually but... Lollipop has bittersweet taste...
[Verizon Samsung Galaxy S 4] jth08527:
That did it. Thank you [MENTION=6219221]Tech 4 9[/MENTION] . ODIN'd back to NC5, and I was able to do this upgrade on the first try. But I am curious. [MENTION=4708661]muniz_ri[/MENTION] , to the best of your knowledge, should this be compatible with people on NK1? Is there anyone that can say they successfully pulled this off from an NK1 base?
[Verizon Samsung Galaxy S 4] bytech:
A couple quick questions

First off, this is totally awesome. Keep up the good work guys! I love how stuff like this can keep a device like the s4 fun to use. Anywho, I have a couple noobish questions...

1) Can I reinstall safestrap once running a rooted oc1? I've already flashed it, and every time I mess something up I have to odin back to nc5 and start all over. Also the backup/restore in flashfire doesn't seem to work, it reboots halfway through the restore.

and

2) Since my device is now running a lollipop based kernel, could someone theoretically port over a 5.0.1 gpe rom using the same kernel? (For locked devices obviously)

Thanks in advance! :D
[Verizon Samsung Galaxy S 4] MarkusMcNugen:
I did a full ODIN restore to NC5 then followed the instructions exactly and the S4 is stuck at the Verizon boot logo unfortunately. Its been about 15 minutes so it's definitely not going to boot. Guess this just doesn't work on some phones.
[Verizon Samsung Galaxy S 4] jth08527:
You installed SuperSu, updated binaries(and rebooted after updating), and set su at boot?
[Verizon Samsung Galaxy S 4] MarkusMcNugen:
Yup. Rooted with Towel Root, Installed SuperSU, Updated the binaries, rebooted, and set su at boot. Only other thing I did was disable knox in SuperSU after updating the binaries and rebooting. Maybe that's the cause? I wouldn't think so though.

First time I tried it I had safestrap installed. It ended up just hanging at the Galaxy S4 boot screen. So I figured a full wipe NC5 ODIN restore would do the trick. That appears not to have worked either.
[Verizon Samsung Galaxy S 4] EM EN:
Verizon Orange Kit Kat sry start up?

Just wanted to say thanks everything is working fine for me so far, I flash NC5 and went from there, no issues. Have not tried tethering but installed the zip just fine. Checked the baseband version and it is indeed OC1. Just curious if anyone else is still getting Verizon orange kit Kat splash at start up? Not a big deal I just expected the lollipop one. I haven't seen where anyone else mentioned it unless I missed it. Did I do something wrong?
[Verizon Samsung Galaxy S 4] Failrunner:
That's only if you're on at&t. Don't try it on verizon.
[Verizon Samsung Galaxy S 4] ATGkompressor:
I can confirm that tether is working for me without having flashed the tether add on. And I'm almost positive that I'm not paying for it from Verizon.

When I first installed this Rom tethering broke my Wi-Fi. But it doesn't now.
[Verizon Samsung Galaxy S 4] reliant_turbo:
just flashed this afternoon with flashfire.

i followed the instructions and it worked just fine. I see the Tether setting stuff too even though i havent tried it yet.

i was a little confused at the wipe "internal storage" command because of the weird naming that android sometimes has with SD cards and internal SD cards etc.

I was on a NK1 based rom before this so much of my app data is maintained after the apps reinstalled due to the above paragraph so I was up and running faster than if i had done a total 100% wipe. I hope this was the way the instructions were supposed to be interpreted.

I did some debloating via Titanium.

I havent deleted any samsung apps though because i dont know if deleting samsung hub will break auto rotate like with kitkat nor what the fix would be if it did.

either way it works. its fast. surprisingly fast.

thanks,

brian
[Verizon Samsung Galaxy S 4] Failrunner:
I uninstalled it and auto rotate still worked.
[Verizon Samsung Galaxy S 4] muniz_ri:
As stated in the OP the process should work from any build or ROM. But keep in mind that FF is still BETA so there may be variability. From my perspective the files have been downloaded close to 1k times with minimal number of reported issues so things are looking good.

As mentioned earlier today just uploaded a new version to the OP with minor script changes to wipe aspects of data and account for some User error. Let's see how that goes....
[Verizon Samsung Galaxy S 4] techguy2002:
Muniz,

Excellent work!!! Haven't tried the tether yet but notice two things. When I reboot I get a message about process stopping and it asks to wait or ok. Hit OK it reboots then works. I'm also having trouble writing to sd. Also I'm guessing Knox is still around but can be killed with titanium.
[Verizon Samsung Galaxy S 4] toyosup88:
Anyone having trouble installing busybox? I'm using the stericson one and every time I hit install it freezes for a few seconds then reboots the phone.
[Verizon Samsung Galaxy S 4] Failrunner:
Busybox on rails worked for me.
[Verizon Samsung Galaxy S 4] SnyderGuy:
Anyone know what customization is allowed on this ROM?

For example, can we use bootanimations.zips?

Any theming capabilities?
[Verizon Samsung Galaxy S 4] xCHAOSNCx:
Anyone here know how to get viper4android.apk working on this rom?
[Verizon Samsung Galaxy S 4] techguy2002:
Unable to go back to NC5!!

Decided to try and go back to NC5 using the full wipe. Its a no go! I started out on NK1 and followed the process exactly and looks like everything went to OC1.
[Verizon Samsung Galaxy S 4] Failrunner:
You would need a custom kernel that allows permissive mode to be enabled. So far I don't see how that can happen if you have a locked bootloader. SS nor FF can flash custom kernels. Unless the kernel can be modded to allow it or another kernel can be included into the rom.
[Verizon Samsung Galaxy S 4] CurbThePain:
wifi has problems but its fixable. basically install oc1 and install safestrap. reboot and install the nk1 kernel and reboot to safestrap install the rom and reboot back to download mode and install the oc1 kernel. boots up fine and has 4G LTE for Net10, ATT, etc. users. kinda cool and useful for people that want lte but hate verizons outrageous prices
[Verizon Samsung Galaxy S 4] Failrunner:
Try a different usb port. That always happens to me with the front ones on my pc. Also make sure they aren't usb 3.0.
[Verizon Samsung Galaxy S 4] sinner822:
You can infact Odin to MK2 from OC1.

As long as you keep the MK2 BL.
[Verizon Samsung Galaxy S 4] xCHAOSNCx:
You can infact Odin to MK2 from OC1.

As long as you keep the MK2 BL.

That's only if you started on mk2 correct?
[Verizon Samsung Galaxy S 4] techguy2002:
Flashed the file in the op and tried to go back to nc5 it did not work thats because I believe the file did in fact change the bootloader to oc1. I finally got my phone to boot again by using odin to load the neutered oc1 . I have lost root since this hoping there is a solution to get root again. Everything is still set to oc1. I never took the OTA this is all from the OP.
[Verizon Samsung Galaxy S 4] dgutierrez04:
If you flash his file u should have root. Is a custom rom that has root pre-installed. Like they say try using a different USB port on the computer. To see if it works. U should have the boot loader at NK4. So u should be able to downgrade. But try installing supersu it should give u root access.

---------- Post added at 03:00 AM ---------- Previous post was at 02:48 AM ----------

I do not think you can odin to a lower version if u decide to flash it. I believe the lowest version u can revert back to is NC5. Anything lower than that will denied you. Is like the bootloader OC1 once ur there u can't go any lower. When u flash this rom it will update ur bootloader to NK4. So if u want ur bootloader at MK2 DO not flash. Because it will update ur bootloader to NK4. But u can downgrade to NC5.
[Verizon Samsung Galaxy S 4] sinner822:
If you pull the all but meta, boot, recovery, system, modem and non-hlos from the zip you can in fact revert to your original BL. To MK2 and I would put money on MJ7. Although I have not tested MJ7. Also if you want to get rid of the custom lock. Reflash only the TZ partition of your previous backup after you delete sysscope. If you didn't have the custom lock on your previous rom that is.
[Verizon Samsung Galaxy S 4] muniz_ri:
I know that you have no bad intent and I am also glad that no one appears to be taking you seriously but you need to stop stating that the ROM updated your BL to OC1.
[Verizon Samsung Galaxy S 4] sportytony:
I thanked you, I donated to you, You guys are CRAZY!!!!!!!! Been with this board for years and you always blow me away!!! even bought the the flashfire pro version cuz we should support you ALL. Thanks again!!!!
[Verizon Samsung Galaxy S 4] techguy2002:
Using this file - I545_OC1_Stock_Rooted_ROM_wNK4_BL. has me at this. Regardless of cables or usb ports or cables same result. I cant downgrade to save my life and cant get all my apps to download either to make the phone half way usable. If anyone can help me downgrade to a working phone at this point it would be appreciated.
[Verizon Samsung Galaxy S 4] rp1226:
Use the attached app to see what you bootloader is. It will show you under Firmware. Post screenshoot.

Thanks,

Rohit
[Verizon Samsung Galaxy S 4] toyosup88:
I will have to try that instead
[Verizon Samsung Galaxy S 4] techguy2002:
Muniz ,

I was wrong! I use this for my business and was in a panic! Looks like my bootloader is in fact nk4 but I'm still unable to downgrade.
[Verizon Samsung Galaxy S 4] Nuke39:
Love the rom. Upgraded from stock, rooted, NK1, with no problems. This should hold off my cravings for an S6 until (hopefully) it can be rooted on Verizon.
[Verizon Samsung Galaxy S 4] rp1226:
[MENTION=5873836]techguy2002[/MENTION]

Have you tried this from the notes from [MENTION=4708661]muniz_ri[/MENTION] in the OP:

This may give you better results then to flash the current BL you are trying to flash. Worth a shot...
[Verizon Samsung Galaxy S 4] sinner822:
If you started with MK2 BL. You are correct.
[Verizon Samsung Galaxy S 4] EM EN:
I think I got it..

So that's my issue then why I'm seeing the same kit Kat logo I'm on the old boatloader..right? Because the new boatloader has not been opened? Is this correct?
[Verizon Samsung Galaxy S 4] -Lawless:
Everything is working beautifully so far except one thing.

Has anyone been able to get into Safe-Strap after flashing this?

I can install the 3.75 installer and install recovery but when rebooting, I can't actually get into safestrap. It just boots back normally.

It even gives me the two options of recovery or continue.

I have to be missing something simple..

---------- Post added at 11:49 AM ---------- Previous post was at 11:42 AM ----------

Edit. I'll give this a try.

http://xdaforums.com/galaxy-s4-verizon/general/safestrap-t3097741
[Verizon Samsung Galaxy S 4] mike.s:
Is there some part of the following, quoted from the OP, which isn't clear? Or did you simply not read it?
[Verizon Samsung Galaxy S 4] techguy2002:
Flashing the NC5 Full Wipe from the NK4 bootloader in this process does not downgrade to NC5. Only thing I have been able to do is reflash the neutered file and be stuck on OC1 5.0.1 without root. Does anyone have any ideas? I was initially having issues with my phone rebooting on the rooted OC1 and process system failing with the option to hit ok or cancel either one I needed to reboot three or four times to use my phone. I have included screenshots of odin with the failure. with trying to flash the NC5.

* I have used different cables from samsung and different USB Ports with the same result. *
[Verizon Samsung Galaxy S 4] rslu2:
Fwiw, I used the pit file from the nc5 full wipe thread not gogol is pit