yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S 4 Android Development] s3ff3r:
First I want to say thank you to the OP for putting this together and to everyone else involved.

I had a hell of a time getting this to work, and it looks like what I had to do is also along the lines of what others had to do as well. Thought I would share the method that worked for me.

I was coming from either MDC or MDL, not sure which, either way, I followed the OP instructions to the T and I have experience flashing and romming. I just couldn't get it to work, thought I had screwed up my phone.

After going all the way through step by step, my phone was super laggy, couldn't even wake it up. No sound, random vibrations, no wifi/hotspot. Pretty much everything everyone else has had.

Here's what ended up working for me:

I ended up flashing the MK2 Firmware, then flashing the MK2 Rom, went in and did the screen lock fix, then flashed the NAE Rom, booted up and it was working but I was getting security messages. Turned my phone off and flashed the NAE Firmware, booted up and everything was working. Then flashed the SD Card fix and the Hot Spot mod. Everything is normal and I have wifi + hot spot.

Hope this helps to anyone else having issues with the original method.

Thanks again to everyone else!
[Sprint Samsung Galaxy S 4 Android Development] doctorman:
so the only difference was going from MF9 > MK2 > NAE instead of jumping over MK2?

here is the link to all the modem Firmwares for this phone..

http://xdaforums.com/showthread.php?t=2338919

http://xdaforums.com/showthread.php?t=2338919
[Sprint Samsung Galaxy S 4 Android Development] EpicLove:
I had the exact same issue going from MF9 to NAE, horrible lag waking up the phone, no sound/phone calls, and no wifi. Tried again following the steps below (MF9 > MK2 > NAE) and now everything works beautifully. Thanks draghn/Suntar and Mudavo!
[Sprint Samsung Galaxy S 4 Android Development] quan74:
Thanks Suntar (and Mudavo for the OP)!

I followed these exact steps:

-> Started on stock rooted MF9 and stock recovery

-> Titanium backup apps I wanted to keep, and dialer storage (to keep old mms/txt messages)

-> Odin flash Philz

-> Use Philz to make nandroid backup, then factory wipe to install ROM

-> Odin flash MK2 Radio

-> Philz flash MK2 ROM from SD card

-> Boot MK2 and set up lockscreen only

-> Boot to Philz recovery, wipe (format) System, Cache, Preload and Dalvik Cache

-> Odin flash NAE Radio

-> Philz flash NAE ROM from SD card

-> Philz flash SD Card write fix from SD card

-> Philz flash Hotspot mod from SD card

-> Install Busybox and ROM Toolbox from Google Play. Be sure to RUN busybox after installing from play store. Fix permissions In ROM Toolbox go to (Run Script) > (Fix Permissions)

-> Use titanium backup to restore (data only) for dialer storage and the apps I backed up, then backup (just in case) and uninstall sprint and samsung crapware

The phone is running great. connectivity (3g/4g/wifi) and battery life seem as good or better than MF9 was so far.

The only thing I haven't gotten to work is adding the mobile hotspot toggle to pull down menu (hotspot works fine when started from settings though). I've tried both sqllite editor and feature.xml methods.

Does anyone know if performing a factory reset (and wiping data) will require re-installing the SD card fix?
[Sprint Samsung Galaxy S 4 Android Development] Suntar:
Hey Quan, I didn't have that problem so I can't really say for sure BUT I would think doing a reset and wipe will require a re-install of the card fix. I am going to do a friends phone this week and I will see if I get that error but I haven't heard of anyone else mention it but I will keep a eye out on it
[Sprint Samsung Galaxy S 4 Android Development] quan74:
I managed to break auto screen rotation by uninstalling Samsung Hub app (apparently it removes some shared libs it shouldn't be removing). I tried restoring the app but still no auto-rotation. No problem, I thought, I'll just factory reset, which I did, as well as re-apply the SD Card fix.

BAD IDEA

Somehow permissions got messed up. the external SD Card /storage/ExtSDcard is fine, its apps writing to INTERNAL storage (/data/media | /sdcard) that are having problems. HBO Go, Kindle, and other apps can't write to internal unless I disable SELinux. I've flashed the permission fix and ran rom toolbox fix permissions script a dozen times, I tried a dirty flash, I tried a full wipe (/system /data etc.) and reinstalled rooted NAE, STILL the same problem.

The only fix that works seems to be disabling SELinux using SELinux Mode Changer app from market, which sets SELinux to permissive on boot (wanam exposed has this option also). TBH I don't know if SELinux was even enforced after the initial upgrade...can someone who used this process (MF9-MK2-NAE without wiping data between MK2-NAE) check and see if their SELinux is enforcing (about device->SE for Android status)

All I can think is, going to MK2 and not wiping /data does more than just fix the lock screen...

Bottom line: don't factory reset unless you're planning on going all the way back...
[Sprint Samsung Galaxy S 4 Android Development] Suntar:
This File Manager setup looks good I am redoing my phone and a friends this weekend and will give a shot. On another note I had a bad experience with my sd card at one point. It got locked and couldn't delete or copy to it at all. What I had on it was still good just couldn't add or delete anything. I am going to go over everything you wrote and maybe I can fix the old card but not a big deal its still working. I might have done the fix at the wrong time or something but I will see. ..
[Sprint Samsung Galaxy S 4 Android Development] TrickyD76:
i followed all the steps, but was using a newer (older?) version of Philz recovery for wipe/install, and it does not have the wipe system option, or preload, only reset/factory wipe, and cache wipe, and dalvik cache wipe...and then the obvious point here...my **** is still broke...help?
[Sprint Samsung Galaxy S 4 Android Development] guitardoc64:
Try it again with the version of PhilZ suggested in the OP.
[Sprint Samsung Galaxy S 4 Android Development] TrickyD76:
am trying, and have tried...I am getting hung up on when I ODIN the philz in OP, I have unchecked the reboot tag...I then hold down power button, and when phone goes to reboot, I hold volume up...it NEVER reboots into recovery...it either hangs at recovery reboot with Samsung logo, or doesn't reboot into recovery, simply reboots...so its suky
[Sprint Samsung Galaxy S 4 Android Development] guitardoc64:
Are you powering down to get to download mode? That has caused me trouble with Odin. Power off then boot to download. Flash recovery and it might work better for you.
[Sprint Samsung Galaxy S 4 Android Development] 2WhiteWolves:
Are you using Odin in Run as Administrator on your pc?

I used Phliz touch 6.08.9 jfltespr tar, and followed OP instructions, everything went fine. Was on jfltespr mk2 stock02 rom.
[Sprint Samsung Galaxy S 4 Android Development] TrickyD76:
THINK I got it!! but I didn't set up wifi on the MK2 rom install, I saw the wifi connections, and just ignored them, finished installing, set the lock screen to pin, and rebooted to philz...now ive got the NAE rom in there, it is running stable, I have sound, camera, and phone...but cant install busy box or rom toolbox bc I cannot connect via WIFI...I try to go through settings, I get nothing...I try to open google play, and it asks me to set up gmail, but then when I try to login, it goes to wifi toggle, which is in OFF position, and I cannot move to ON, then the only option left is to hit back button...so now what?

im so close, I can even taste making a phone call....please help just a bit more, and ill be home free!! thanks all!!
[Sprint Samsung Galaxy S 4 Android Development] 2WhiteWolves:
Try going into Settings - Applications and clearing caches in Gmail and Hangouts. Then go to Hangouts and sign in then sign out. I had same problem and that worked. Hope it does the same for you. If not try going into recovery and wipe dalvik cache-cache and reboot.
[Sprint Samsung Galaxy S 4 Android Development] TrickyD76:
did the wipe on gmail and hangouts, then tried t sign into hangouts, but again it asked me to sign into a network...do i need to still adjust the build.prop? i have no cellular service, im still in europe...if that makes a difference, but the hotel has wifi, and my other gadgets are on it

cclearing dalvik and cache didnt do the trick and every time i try to hit wifi after reboot, i get security message in status bar that says your phones security has blocked an action that is not permitted...

thx for continued support...
[Sprint Samsung Galaxy S 4 Android Development] guitardoc64:
Sorry to hear that you are still fighting it. I just went through the process myself today, and all of it went fine.
[Sprint Samsung Galaxy S 4 Android Development] 2WhiteWolves:
Does it have to do with your sim card? Did you have to get it unlocked when you went there? Was it unlocked before you went to Europe? I did not realize that you are in Europe. That could have something to do with it.
[Sprint Samsung Galaxy S 4 Android Development] guitardoc64:
On a very positive note, my experience with following the guide was great. Everything went perfect and so far has had zero issues. Battery consumption is way down, versus MF9 stock rooted. Everything that I've tried so far has worked. Thanks to all who contributed.
[Sprint Samsung Galaxy S 4 Android Development] TrickyD76:
I too can add a HUGE THANK YOU to the contributors to this Thread...I am BACK, even though I have no cellular service...I did have Sprint unlock me before my trip, but then I was wiping/factory resetting from the airport to try and fix the mess I had created...so I assume I have no cellular b/c the unlock I was given had been disabled after all my wipes

so, thank you again to everyone for their help...I was wondering if I could get some tips on proper wanam settings...I went in, and chose "recommended settings" and now it appears I am on a "rebooting now" screen...its been a while, 5 minutes or so, and nothing has happened. im not familiar with wanam.

maybe that's another question for another forum..bottom line, thank you all!
[Sprint Samsung Galaxy S 4 Android Development] rsngfrce:
Loosing mobile connection and GPS?

Has anyone who has performed this update had issues with loosing their mobile connection and GPS? After a month or two of NAE be the most stable phone I think I have ever had, I have developed an issue where a while after the phone is booted, I loose my mobile connection and GPS. WIFI continues to work fine. If I reboot the phone, the mobile connection and GPS will work again, for an unspecified amount of time, then they stop working again. (Some other strange things have occurred, such as Titanium Backup loosing my Pro key, which I had to re-download...).

My feeling is that his isn't specifically related to the NAE update, since it was working fine for a while, so I must have changed something, but it may be related somehow?

RELEVANT DATA: Sprint Samsung Galaxy S4, Software version: NAE (updated by from MF9 by the method in this thread, no Knox), Android version: 4.4.2, Baseband version: NAE, Kernel: KT-SGS4 4.4, Recovery: PhilZ Touch 6.48.4, SuperSU. Stock TouchWiz Rooted.

HELP ME! I AM IN AGONY! :crying:

(UPDATE): Please ignore this post due to extreme stupidity on my part and messing with my APNs... :eek:
[Sprint Samsung Galaxy S 4 Android Development] Ziida:
Anyone know why I have been unable to save my build.prop? Have tried ES file explorer and Root explorer, both with root privileges and no luck :eek:
[Sprint Samsung Galaxy S 4 Android Development] masterosok:
Thanks! Great instuctions. Worked Flawlessly
[Sprint Samsung Galaxy S 4 Android Development] ethanhunteg:
I've tried these instructions every which way - including trying the instructions on Sac's website for TWRP (vs phillz recovery) But, each time i'm in a rom with the NAE modem/ firmware the rom is very unresponsive. If I try to open and use the dialer it might take 20 seconds and while I can make a call - the screen on the phone just freezes while the call is in progress (I can't end it from the phone - the other person has to hang up). Also getting out of the lock screen takes 10-30 seconds when swiping to unlock.

Could this be because I still have the MF9 bootloader? Should I just flash the full NAE modem with bootloader? ..... My only hesitation now with that is that my only saving grace is that i've been able to reflash the MF9 modem and then wipe and restore my nand backup and be back to where I was when I started this Friday. If I goto the full modem and bootloader my understanding is I will be prevented from reverting to MF9 at that point.

Any suggestions or something I might be overlooking? (I've tried seriously 6 or 7 different roms and multiple ways of flashing the NAE radio only from http://xdaforums.com/showpost.php?p=42954149&postcount=2 in the last 48 hours.)
[Sprint Samsung Galaxy S 4 Android Development] rsngfrce:
I followed these instructions and have the MF9 bootloader with system NAE (including firmware and modem) and do not have your issue, so I would say it is NOT because you still have the MF9 bootloader (though I HAVE developed an issue loosing my mobile connection and GPS a while after the phone is booted, until I reboot, but no one else seems to have this issue, so I think the cause lies elsewhere).

You said:

Do you mean THIS ROM or are you using other ROMs? I'd suggest following the directions in the OP exactly, including the firmware/modem part, and sticking to THIS ROM, at least until you have it working. You may have already tried this, but it took me two attempts if I remember correctly.

Remember that once you abandon the MF9 bootloader, there is no going back. Good luck!:thumbup:
[Sprint Samsung Galaxy S 4 Android Development] ethanhunteg:
I've tried the full instructions with the following:

jfltespr_mk2_stock02.zip followed by StockRootedNAE.zip as in original instructions (philz rec.)

StockRootedNAE.zip by itself (philz rec. and TWRP)

SACS_CUSTOM_ROM_V4.zip (TWRP Only)

Sacs_Custom_Rom_4.3_v5.6.zip (TWRP only)

S4_Rom_Fixed_with3Minit_Finished_Rom.zip (v6 4.4.2) (philz rec. and TWRP)

and with those roms i've tried some with philz_touch_6.57.5-jflte.tar.md5 (latest) and with openrecovery-twrp-2.7.1.0-jfltespr.tar (recommended by sac for his roms) for recoveries
[Sprint Samsung Galaxy S 4 Android Development] rsngfrce:
Hmm... I don't know... are you missing steps or just not mentioning them?

1) You need to install "NAE-ModemOnly.tar.md5.zip" from [FIRMWARE][ODIN] All Sprint Firmwares {2/13/14}, following directions in that thread.

2) Step 2 of the instructions about using Odin to install Philz Recovery I skipped, because I already had Philz Recovery installed, but if you don't you should likely follow them.

3) Boot into Philz Recovery. Install the Stock MK2 Odex ROM linked in the OP. Boot the ROM. (IF YOU USE ONE... Go to lockscreen settings and set up a pattern or pin lock... OTHERWISE FORGET THAT). Reboot to recovery and wipe System, Cache, Preload and Dalvik Cache. DO NOT wipe data. Install either the Stock NAE Rooted ROM or Sac23's v3 ROM linked in the OP.

MAYBE this IS what you have done... but I always figure it is better to be safe than sorry.

(I'm personally not sure that installing MK2 first is necessary if you don't need the lockscreen fix, but I wouldn't mess with the process without being sure...)
[Sprint Samsung Galaxy S 4 Android Development] pcmanager:
I was on mf9 boot and modem firmware and had some of the issues that are mentioned above.. When I SKIPPED the step of updating through Odin from mf9 to mk2..! CHECK THAT YOU HAVE wifi, mobile signal and data after you Odin mk2, Then Odin to NAE.

That is what worked for me :D
[Sprint Samsung Galaxy S 4 Android Development] membrain:
I followed the instructions verbatim, and have phone delays, lock screen delays and NO WIFI. Everything else seems to work OK though.

I originally started with MDL rooted with TWRP recovery, upgraded to MF9 Rooted with TWRP recovery, and then followed the listed instructions:

(reboots and wipes were also done in order)

Loaded the NAE modem - OK

Loaded Philz Recovery v 6.57.5 - OK

Loaded Stock MK2 Odex - OK

Loaded Stock NAE Rooted - OK

Loaded SD Write Fix - OK

Loaded Hotspot Mod - OK

Loaded Transparent NAE Weather Widget - OK

No wifi....trying to turn the wifi "switch" on results in no message at all, and the switch stays in the OFF position.

Anyone have any ideas?
[Sprint Samsung Galaxy S 4 Android Development] Suntar:
Hi Membrain, If you go back a few pages and see some of my other quotes I have answered this a couple of times. I had the exact same issues and I was missing a step each time and same with others as well. Your missing or skipping something. It took me 4 times of swearing that I did it right and the instructions were wrong but as luck would have it I was wrong as usual. Good luck but the instructions work, trust me on that one...
[Sprint Samsung Galaxy S 4 Android Development] membrain:
Yah, I know... I actually followed the video step by step, pausing until my phone caught up.

I was able to restore wifi by updating the kernal, but I still have no audio and phone operation is laggy...

UPDATE: Finally (FINALLY!) got everything in the right place and it works.

Thanks to Suntar for his help in prodding me forward. I know that while most phones are expected to be the same, that sometimes there is always someone with something that works a bit different.

Following Suntar's notes my phone never took the NAE modem or ROM, so I had to go back and do them one at a time, i.e. flash the NAE modem, reboot, then complete power-off, boot into recovery, then flash the ROM followed by a complete power-off, then boot into NAE and everything actually worked.

Lastly, thanks to Mudavo for the OP, and THANKS To Unknownforce, Sac23, Phil3759, runwithme, cmonsterf50, fgr, tallblazer124 and Chainfire for all the other pieces of this this puzzle!

Tips:

Make sure you download and copy everything over which you want to flash from the recovery mode BEFORE you get started on flashing... worst case you can mount the USB from recovery and copy your zips over then, but the ROMs are pretty big and will take some time. Smaller flashes should go quick enough.
[Sprint Samsung Galaxy S 4 Android Development] Suntar:
Glad you got it working Membrain, Its always something we all over look and with me it was the step by step flashing. Good luck...
[Sprint Samsung Galaxy S 4 Android Development] doctorman:
please update the OP with this info to avoid the issue with WiFi not turning on :

IF you are coming from MF9 ROM and you like to keep your MF9 bootloader and avoid Knox and perhaps keep your SIM unlock:

Install Mf9 Stock rooted ROM via Odin

(Downgrade to MDL and do international SIM unlock then upgrade to MF9 Modem)

Odin MJA Modem only & restart

Odin MK2 Modem only & restart

Odin NAE Modem only & restart

Odin NG2 Modem only & restart

Install Philz Recover ,

Install NG2 ROM of your choice. now Wifi should work.

If you get stock on a samsung screen in boot and can not get rid of go to stock MF9 recovery and wipe all data.

Lockscreen fix build prop: #security.mdpp=None
[Sprint Samsung Galaxy S 4 Android Development] rsngfrce:
I went from MF9, keeping my MF9 bootloader, avoiding Knox and I DID have a WiFi issue on my first attempt, but on the second attempt it worked fine (both times following the OP)... so I am not saying your instructions may not be helpful, but I didn't require them... :highfive:
[Sprint Samsung Galaxy S 4 Android Development] doctorman:
I did international Sim unlock on the MF9 modem so if you do that you need to do what I said with every single modem ..

I guess if you do not unlock the sim perhaps you can just skip up to NG2..

I tried many many ways and nothing else worked for me
[Sprint Samsung Galaxy S 4 Android Development] Tekone:
Is this method will restore stock NAE rom? I currently on NAE with knox, the WiFi fail to turn on when flash to MDC modem to unlock SIM. When flash back to NAE modem, the WIFI still can not turn on. It only happen this device, that flashed.

It seems like a corrupt with NAE bootloader with MDC modem. I need to restore the NAE stock rom, modem and bootloader etc. Please advice..
[Sprint Samsung Galaxy S 4 Android Development] BoominSVX:
I couldn't get anything to keep wifi through past MDL. Giving up. Deleted old text. Can't delete post.
[Sprint Samsung Galaxy S 4 Android Development] nobody291:
There might not be any reason to cling to the MF9 bootloader anymore, but this still worked for me when upgrading to OD2. I installed OD2 without this process and I wasn't able to set a passcode. I was on NG2 before, flashed back to MK2, booted and set a passcode, then used this ROM to update to OD2. Thanks again for creating this thread.
[Sprint Samsung Galaxy S 4 Android Development] Mindripper72:
Ok will give it a go and see what happens
[Sprint Samsung Galaxy S 4 Android Development] bender beerman:
Don't know if it's heimdall, which I thought was for Mac, or if it's just a different Odin, but that zip is the one I used and it worked perfectly the first time... thanks sextape
[Sprint Samsung Galaxy S 4 Android Development] Lethal_NFS:
Followed the steps and everything worked perfectly! Great guide!!!!
[Sprint Samsung Galaxy S 4 Android Development] FeversMirrors:
I keep getting E:signature verification failed.

I have the recovery installed fine. It seems like people were saying that was the hard part in the thread but here is where my problem comes in.

I reboot my phone into the Recovery. I move down to apply update from external storage. When I get there, I see "Stock-MDL-Stable-spr-TW.zip" and "SuperSU-v1.25+.zip"

When I go onto the kernel "Stock-MDL-Stable-spr-TW.zip" and choose to install it, it says a few things and then "E:signature verification failed" then a few other things and says it was complete. It then reboots. The kernel version stays the same as stock. What do I do to get by the "E:signature verification failed"?
[Sprint Samsung Galaxy S 4 Android Development] Mudavo:
Redownload shabbys modified kernel zip and put on your internal SD card and try again.
[Sprint Samsung Galaxy S 4 Android Development] Esoteric68:
This post (and all the posts linked in the OP) were incredibly helpful. Thanks to everyone who contributed!
[Sprint Samsung Galaxy S 4 Android Development] FeversMirrors:
how do I get to the file once I put it on my internal SD? in recovery, do i still go to apply update from external storage, adb, or cache?
[Sprint Samsung Galaxy S 4 Android Development] chicagoaan:
Best and most functional way of doing this is keep all files on SD card or Root,

Keep back cover of GS4 OFF,

Run files through ODIN as instructed,

Once you see green PASS PULL THE BATTERY then the USB cable,

re seat battery, hold Vol Up and PWR, Let go of PWR once you see blue text keep holding Vol Up,

you should successfully get into Shabbys CWM,

Run/Install Zip files Kernel + SU, reboot and all should be Bueno!

You'll probabaly see that error message about the Knox thing after you reboot and update. Delete or freeze those knox files I personally deleted because I wont be needing any Knox related security.

:good:Good Luck
[Sprint Samsung Galaxy S 4 Android Development] antmon:
1hr and counting.... no luck :(

got the usb drivers installed.... I get into download mode and hear the usb connection sound.....and when I launch odin and select the pda file to run it...it just says "<OSM> All threads completed. (succeed 0 / failed 0)"

basically... it is not letting me connect.... tried multiple versions of Odin, 2 diff usb cables and 3 diff usb ports....*ahhhhhhhhhhhhh* :p

there is nothing I need to select when in download mode, correct? I see the reboot system, apply update from adb, apply update from external storage, etc etc etc.... and at the bottom it says Manual Mode and successfully applied mult-CSC

am I in the right spot???

thanks! :crying::D