yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S 4 Android Development] jj14:
You could try the MF9 hotspot hack from http://xdaforums.com/showthread.php?t=2256950

I may be mistaken, but I don't think you can keep your apps. They will get wiped out - but should get reinstalled from the play store once you log back in using the same google account. You can backup your data using titanium backup (just try to avoid restoring any system apps).

I used the instructions in post 2 (and files from post 1) at http://xdaforums.com/showthread.php?t=2357471 - I went with the no-data-wipe zip file
[Sprint Samsung Galaxy S 4 Android Development] acplayer:
Okay, when I flash with that .tar file in Odin, does the phone need to be in download mode first? I'm still a little new to Odin...
[Sprint Samsung Galaxy S 4 Android Development] Chiefho70:
Thank you it worked this time
[Sprint Samsung Galaxy S 4 Android Development] jj14:
Correct. Put it in stock recovery download mode, launch Odin on your computer (right click, start in admin mode), and then, connect the USB cable from computer to phone. Verify that you see the port# in odin.

Read the "how to use Odin" link on http://xdaforums.com/showpost.php?p=43426447&postcount=2 (for the Galaxy S4, you need to hold the power+volume down+home buttons (step 4 of the document at the link)

Also, if you are using noobnl's modem+firmware download, read the quoted text in the first post at http://xdaforums.com/showthread.php?p=43418277 about changing PhoneBootUpdate in the .ini file. I don't know if that is required, but I followed those instructions.
[Sprint Samsung Galaxy S 4 Android Development] pvinodnayak:
I was rooted on MDL,

to unroot I odined MDC and then I updated to MF9 through stock recovery.. phone is working fine have all the new features. The instructions were to update from MDL, so will I have any problems with the phone on software end?
[Sprint Samsung Galaxy S 4 Android Development] Dubbleurx:
After reverting back to completely stock mdl I can no longer access my stock recovery. I volume up + power, and in the top left corner "recovery booting" is on, the phone just goes black. What did I do wrong?
[Sprint Samsung Galaxy S 4 Android Development] crawrj:
Try installing the stock recovery again.
[Sprint Samsung Galaxy S 4 Android Development] Dubbleurx:
I'm also getting "battery disconnected" message since reverting to stock. Anyone else have this happen?
[Sprint Samsung Galaxy S 4 Android Development] PdawG43:
HI quick question. I am on rooted MDC with TWRP recovery, am I able to go from MDC to MF9? or will i need to go to MDL first? and If I do need to go to MDL first, what is the best recommendation for updating from MDC to MDL? Thanks all.
[Sprint Samsung Galaxy S 4 Android Development] pvinodnayak:
Right now only stock recovery cab update from MDL to MF9. Custom recovery can't flash it.
[Sprint Samsung Galaxy S 4 Android Development] gsd17:
I had same issues as well, after the first boot from Odin when flashing to MDL it didnt let me go into stock recovery. I had to flash the stock recovery again in Odin and then it was ok.
[Sprint Samsung Galaxy S 4 Android Development] guitardoc64:
Thanks for this guide! It worked and now I'm on MF9! I will add that in the noobnl guide you must enter download mode manually. I used the 4-in one to enter download the first time and it failed. I tried again by manually entering download (power+vol down then vol up) and it went off without a hitch.

Here is what worked for me:

Starting at stock rooted MDL

1) Flashed noobnl's firmware.

2) Wiped system, dalvik,cache,boot. (all but data)

3) Flashed MF9 kernel.

4) Flashed Crawrj's rooted MF9

5) Flashed Unknownforce 4-in one reboot.

Profit.

I was able to do it as a "dirty" flash and keep data, your mileage may vary.
[Sprint Samsung Galaxy S 4 Android Development] hitman4274:
worked flawlessly, thanks for throwing all the downloads together.

I used odin to go back to stock mdl flashed the update to mf9 then used CF autoroot to root it then flashed twrp with goo manager.. everything works like it should. spo those that are having issues I would advise starting over and following the guide word for word..
[Sprint Samsung Galaxy S 4 Android Development] masterosok:
I was running the stock rom with the kernel and mods in my sig before I started. I flashed back to stock MDL with Odin however all my apps are still installed though it does appear that it flashed correctly as I no longer have my mods or root. I figured it would have wiped my apps like it did when I flashed back to MDC before upgrading to MDL. However, when I boot back in to download mode is still says custom for system and binary. In the instructions it says to use Triangle Away if this occurs but that requires root so I am confused as if I root MDL again I am just going to have to flash it in Odin again in order to get the MF9 update installed.

Any suggestions?
[Sprint Samsung Galaxy S 4 Android Development] Mudavo:
Try factory reseting your current MDL and flash Stock MDL .tar again in Odin.
[Sprint Samsung Galaxy S 4 Android Development] masterosok:
Is their there a factory reset option on the phone or do you have to do that in Odin?
[Sprint Samsung Galaxy S 4 Android Development] Mudavo:
Factory reset is in the recovery.
[Sprint Samsung Galaxy S 4 Android Development] masterosok:
Looks like my stock recovery is missing :/ It says its loading recovery but just reboots instead.

Where can I get just the stock recovery or should I just keep flashing MDL until it takes?

I know the instructions say to make sure Auto-reboot is checked when flashing in Odin but wasn't there some issues with getting the recovery to stick when using that option when flashing back to MDC?

EDIT: I flashed MDL a second time and now the custom and binary are showing as official though my stock recovery is missing still.
[Sprint Samsung Galaxy S 4 Android Development] Mudavo:
No. Having auto reboot unchecked is for flashing a custom recovery.

Do a battery pull. Check if you can boot into stock recovery again to do a factory reset. If not reflash the MDL tar.
[Sprint Samsung Galaxy S 4 Android Development] masterosok:
Thanks! Recovery is working now.
[Sprint Samsung Galaxy S 4 Android Development] ChicTek:
I'm using a version of Odin that disallows you to uncheck the auto reboot box (it's greyed out) - I want to just all twrp but since I can't uncheck that box, I was worried it would mess my phone up. Now I simply want root - any special instructions for cf auto root on mf9?

•Sent from my Sprint GS4 using Tapatalk •

•• Formerly "Evo_girl"
[Sprint Samsung Galaxy S 4 Android Development] Im a troll:
Could someone tell me if I need to flash stock if I rooted and installed hotspot/ su only? ....can I get away with uninstalling hotspot only (1.5Gb is tough to dl now)

I could not understand from the OP if I needed to flash stock in this case since I am not on deodex.

Thank you:D
[Sprint Samsung Galaxy S 4 Android Development] Mudavo:
No. Do the first guide, MF9 ROM and firmware.
[Sprint Samsung Galaxy S 4 Android Development] pvinodnayak:
In the Odin folder open the odin.ini file in notepad, look for option heading, change the value of OptionEnable=1 from 0, save and close notepad.

Then run Odin again.
[Sprint Samsung Galaxy S 4 Android Development] lukelee83:
I tried with odin 3.0.7, and the recovery did not stick after auto reboot. I tried again with auto reboot unchecked and booted straight into recovery and that worked. Didn't need to do the battery pull.
[Sprint Samsung Galaxy S 4 Android Development] zackandethan:
hey guys , in Odin do we select phone or pda

EDIT . Nevermind . PDA I got it .
[Sprint Samsung Galaxy S 4 Android Development] Mudavo:
Glad it is working for folks with no issues. :good:
[Sprint Samsung Galaxy S 4 Android Development] BrandoKC:
Took me a couple of tries but I unchecked force reboot and pulled the battery instead.

Many thanks!
[Sprint Samsung Galaxy S 4 Android Development] phistyle:
not sure if I got this right....how does shabby recovery look like? I got into recovery and try to flash the modified kernel but it fails verification and reboots

edit: ok nevermind got everything working...recovery didn't stick at first...root access! thanks

btw what is this detection information status i keep getting? it says the device has detected an application attempting unpermitted actions. to protect your device, it is recommended you reboot.
[Sprint Samsung Galaxy S 4 Android Development] Pheonix28:
I'm not sure what happened, or what I did, but since upgrading and going through this process my ES File Explorer crashes every time I try to view my SD card. This may not be the proper thread to post this, however I had the issue after going through this process. Any ideas? The SD card works, and can be accessed in other ways.
[Sprint Samsung Galaxy S 4 Android Development] BrandoKC:
See if it has permissions in the SU app. If so then clear it. If not uninstall ES and reinstall.

Other than that I'm afraid I can't be much help. I use ROM Toolbox Pro as my file explorer and have no issues to report.

---------- Post added at 11:05 PM ---------- Previous post was at 11:03 PM ----------

Unauthorized App Requesting Permissions Pop Up

This has been mentioned a few other places but I haven't seen it in this thread. If you receive this notification, it will request a reboot. If you reboot it will come right back.

I have found as have others that the only way to get rid of it is to install Titanium BackUp and freeze SamsungKnox and SeaAndroid.

Hope this helps.
[Sprint Samsung Galaxy S 4 Android Development] phistyle:
I use ES file explorer and I can view my external SD card fine with it....try clearing it's data and reinstalling it
[Sprint Samsung Galaxy S 4 Android Development] Mudavo:
ESFile Explorer is working fine for me. Try clearing data for that app or uninstall and reinstall.

edit: LOL jinxx!!!!!
[Sprint Samsung Galaxy S 4 Android Development] J_Uneek:
Was able to get back to stock everything, and download and install update. However, when the phone boots back up, I have an MDL build number, but MDC software version and Baseband... WTH?

update: forget it.. Just did it over and the update installed correctly.. moving on to next step..
[Sprint Samsung Galaxy S 4 Android Development] Pheonix28:
I actually did a factory reset and fresh install to see if it would fix it and I'm still having the problem. It may be a bug and have nothing to do with this process. I guess I will keep trying to figure it out.

Thanks.
[Sprint Samsung Galaxy S 4 Android Development] crawrj:
Just an FYI, you only need to freeze seandroid.
[Sprint Samsung Galaxy S 4 Android Development] J_Uneek:
Guess I'm just unlucky. Had it all working last night, made a mistake and flashed the MDC version of the reboot MOD (idot) and the phone wouldn't go past the yellow Sprint screen. So I started the whole process over I can't get the custom recovery to stick at all. Tried battery pulls both before and after I power the phone down. Screwed......
[Sprint Samsung Galaxy S 4 Android Development] crawrj:
Just keep trying. Also try a different recovery. And just as an FYI, if this ever happens again, all you have to do is go back into recovery and install the right one. No need to start over. Also a reminder to always have a good backup on hand.
[Sprint Samsung Galaxy S 4 Android Development] J_Uneek:
Yeah I started over because when I went to flash the right one, Shabby's recovery was gone and somehow I was back to stock.
[Sprint Samsung Galaxy S 4 Android Development] MoHoGalore:
If the battery pull isn't doing the trick to get it to stick - while using pc odin to flash the recovery, uncheck auto reboot, don't pull the battery but use the key press for recovery and hold until it reboots. (That's what I had to do)
[Sprint Samsung Galaxy S 4 Android Development] Mudavo:
Yeah... Samsung really pulled a fast one on us with this update. It seems there's a sweet spot in between flashing the custom recovery and reboot. If you don't get it right the stock recovery restores itself.
[Sprint Samsung Galaxy S 4 Android Development] yournamehere:
Does anyone know if this will work on the USCC variant ?
[Sprint Samsung Galaxy S 4 Android Development] J_Uneek:
Yeah maybe I'll try again some other time cuz I have tried flashing this recovery like 50 times now and I'm frustrated.... Will be just stock for now I guess. Hopefully somebody comes with a more less finicky way to flash recoveries because pretty soon the phones will be shipping stock MDL and all the new owners will need an exploit..
[Sprint Samsung Galaxy S 4 Android Development] crawrj:
Wait a minute. The ones that are having the problems with recovery sticking. This is always on stock MDL right? I know what is happening, or at least I think I do. The stock updates come with a recovery script that restores stock recovery on every boot. So if you are stock MDL and Odin recovery then let it boot into the system it will erase and go back to stock. Once you Odin you have to go directly into recovery from the first boot before the script has a chance to run.

Using MDL I never had the issue and was using twrp. Maybe my timing was just good. I always hold power+VUP and count to 3 and release. Or maybe twrp has something that removes or kills the script. Any have this not sticking issue using twrp?
[Sprint Samsung Galaxy S 4 Android Development] eurominican:
Thank you so much for this guide OP!!
[Sprint Samsung Galaxy S 4 Android Development] Graphic Anomaly:
Hey, I got a question.

I just got my Sprint GS4 a few days ago, and am having trouble getting root on MF9. The phone was completely stock, I OTA'd to MF9 no problem. I then used Oden 3.07 to flash TWRP no problem. I then flashed koush's superuser.zip from recovery no problem. Unless I'm wrong...that's it...I should be rooted right? I booted up, and superuser is in fact installed, the su binaries are where they should be, but I don't have root (root explorer says I don't when trying to enable r/w). What am I missing?

I'm not new to this (been playing with Android for quite a while), but I am new to Samsung devices. I had the OG Evo 4G before this, and played with that extensively. I know it's a different ball game with Samsung, but it seems pretty straight forward after doing some research...so...I'm stumped.

I know I could have just used CF-Auto-Root or something, but from what I could see, those just install SuperSU, and the binaries. I Prefer koush's Superuser over SuperSU, and that's why I didn't use other methods. Am I missing something?

Thanks
[Sprint Samsung Galaxy S 4 Android Development] jcorcione:
Guys??... I am getting some type of Prevention Information warning Saying "the device has detected an application attempting un-permitted actions and has stopped loading to protect your device To Protect your Device it is recommended you reboot" I long press the warning and shows and Application SEAndroid Version 1.0 The wi-fi attempts to turn on and that's when i get the prevention warning any ideas? Also it comes on when I tap the wi fi icon
[Sprint Samsung Galaxy S 4 Android Development] Tracker Tim:
Same here.
[Sprint Samsung Galaxy S 4 Android Development] Mudavo:
Freeze SEAndroid.apk with Titanium Backup.
[Sprint Samsung Galaxy S 4 Android Development] Tracker Tim:
I had to flash the MF9 kernel to get my wifi back.

http://www.androidfilehost.com/?fid=23032113221600563
[Sprint Samsung Galaxy S 4 Android Development] rnmedic1839:
Also lost access to WIFI does not want to turn on
[Sprint Samsung Galaxy S 4 Android Development] Graphic Anomaly:
Never mind, I figured it out. I's a known issue with Koush's Superuser right now. It just isn't working with MF9 at all. I'm sure it will be updated soon.
[Sprint Samsung Galaxy S 4 Android Development] lakemann:
Rooted with mf9 stock, twrp custom recovery and hotspot mod odex. When phone starts every time after the yellow boot screen it says "android updating and starting apps." Is this they way it should do every time it starts? Everything seems to be working OK. Also can files be deleted after flashing?

Thanks
[Sprint Samsung Galaxy S 4 Android Development] njspank:
Yes, that's normal. At least in my world.
[Sprint Samsung Galaxy S 4 Android Development] DarqAnshin:
Wireless keeps losing password

So I have a small problem. I took the OTA, and it failed (Basically how I knew that MF9 existed). I started having problems updating the PRL (Error: Connection Error (6602)).

I then read how to do patch everything. I followed the ODIN 3.07 information and verified that the Baseband changed to MF9 (Build was still MDL)

Rebooted into TWRP and patched with the ODEX no-wipe version. Rebooted and checked now everything is MF9.

Perfect right? Not exactly. For some reason About Device has turned yellow and I still count update my PRL (same error). However now, my wifi doesn't stick. I keep having to put my password in for my wireless. So... any ideas?
[Sprint Samsung Galaxy S 4 Android Development] guitardoc64:
It shouldn't do that every reboot. The first, yes. After a dalvik wipe, yes. But not every reboot.
[Sprint Samsung Galaxy S 4 Android Development] lakemann:
Any idea how to correct it or what is causing it?
[Sprint Samsung Galaxy S 4 Android Development] guitardoc64:
Sounds like the dalvik is having a problem. I would reflash it all over again.
[Sprint Samsung Galaxy S 4 Android Development] DarqAnshin:
Sounds like you have something cached. Try to clear your caches again (Recovery or through Titanium) and reboot.
[Sprint Samsung Galaxy S 4 Android Development] lakemann:
If I clear the dalvik it does the complete "android updating and counts the app as they update and shows the total number of apps."

after that every time it is restarted it just says "android updating" It does not show a number and only last a few seconds. The first part is just like when first flashed. That I understand the second part is what I don't understand and wonder if it should do that.
[Sprint Samsung Galaxy S 4 Android Development] DarqAnshin:
Clearing both your cache and your Dalvik will cause your apps to reoptimize.

Dalvik:

When your phone starts up, the Dalvik Virtual Machine looks at all your apps and frameworks, and creates a tree of dependencies which is stored in the dalvik-cache. This allows applications to run in an optimised state (and explains why your phone takes longer to boot up after applying a new rom, it’s rebuilding the cache.)

Base Cache:

This is the partition where Android stores frequently accessed data and app components. Wiping the cache doesn’t effect your personal data but simply gets rid of the existing data there, which gets automatically rebuilt as you continue using the device.

Clearing these two should fix your issue as it sounds like you have something pre-loading from the cache, but it isn't rebuilding the optimized cache programs.
[Sprint Samsung Galaxy S 4 Android Development] guitardoc64:
Great explanation. Thanks!
[Sprint Samsung Galaxy S 4 Android Development] lakemann:
I booted into TWRP, wiped both. Restarted and it said "Android Upgrading Optimizing 1 thru 164 apps." Then on another reboot I get "Android Upgrading Starting Apps" that does not remain on the screen but about 10 to 15 Seconds.

Thanks for the explanation. I understand that now but still can't figure out what is going on. As I stated everything works so it is not keeping anything form working that I can tell.
[Sprint Samsung Galaxy S 4 Android Development] DarqAnshin:
Stupid question (only my curiosity). Do you have any modified apps (ie. modified Google Wallet, Cracked Google Play, etc.)? This would trigger this if you didn't Wipe before actually installing the MF9 ROM upgrade.

I've looked through the forums for the issue you are having and came up with something similar in the S3 galleries. Take a look at this link. It appears on the 12th post that the user flashed at the and had this problem. They fixed by having a complete wipe and reset. I'm not saying that this is the solution, but if you haven't installed an altered app, this may be a way to fix your issue.

.... now I just have to figure out how to fix my issue.
[Sprint Samsung Galaxy S 4 Android Development] lakemann:
This was a replacement phone from Asurion. The only app that I have that did not come from Google Play is the Flash Player app. I also do have a pay app that came from the web (here) (unpaid) free. It would have been installed before rooting. It is not a pay version and does not show up in my Google Apps but does show up on the phone.
[Sprint Samsung Galaxy S 4 Android Development] dtndvm:
Was having the exact same problem until a few minutes ago. Google searches found many references to the problem with no uniform fix. However, Titanium Backup kept coming up over and over. Although I don't recall ever selecting "Integrate sys Dalvic into ROM" under Storage in Settings, when I selected "Undo sys Dalvic integration", the phone automatically rebooted (note: the first reboot took longer and still gave the message as Dalvic was rebuilt) and the message was gone on subsequent reboots. Also check the Advanced settings in Preferences to see if TB is set to"Auto-integrate sys Dalvic".:fingers-crossed:
[Sprint Samsung Galaxy S 4 Android Development] lakemann:
Thanks!!!! Mine did not go through a reboot but cleaned the Dalvic and said to "Undo Dalvic Intergration" Have rebooted twice and do not have the problem. Fingers crossed also.

Thanks to everyone that gave suggestions, explanations, and responded.
[Sprint Samsung Galaxy S 4 Android Development] jctello1:
I have a question for anyone.........I am on stock mf9.....I came from stock mdl and updated through ota to mf9.......anyway my question is.......if i use the CF ROOT method which is just a ODIN PDA step away...........when using this method to root are there any issues????......And before you ask......YES ....i have gone back and read some earlier posts.....and from what I got from earlier posts were that people were having problems with there wifi and random reboots......but they did not specify which method of rooting was used???.......either way any feedback would be most appreciated...........thanks in advance...
[Sprint Samsung Galaxy S 4 Android Development] pvinodnayak:
Cf auto root has no issues. I recently unrooted by flashing Stock MDL. Got MF9 OTA. Used Cf Auto Root by chanfire. It's safe
[Sprint Samsung Galaxy S 4 Android Development] yotaking:
U rooted all wrong and can cause alot of problems down the road. Follow qbking77 steps. Unroot ur device. Ota thru sprint. Then follow his steps for one click root thru odin. After root then go to goo manager openscript and download ur custom recovery. N then u have ofrical root with fully stock mf9. And No Problems at all. Hotspot free (included in the root) every other way ive done it causes signal errors with wifi 4g/3g hotspot etc.
[Sprint Samsung Galaxy S 4 Android Development] steveoski111:
Hey guys I have a quick question, I was stock rooted on MDL and did the hotspot mod. I wanted mf9 so I hard reset and than flashed back to the original MDL via ODIN and than hard reset again and than did the mf9 manual via stock recovery. once all that was done, I used cf-auto root and rooted my MF9. root was successful. I than went to qbking website and downloaded the hotspot MF9 files and reapplied but every single time I do that after changing the files and rebooting I just get stuck at the yellow SPRINT screen and it just hangs there. so I flashed back to original MDL and did it all over again, I have tried it twice to no avail. did something change? what am I doing wrong? can someone help? THANKS! its driving me up the wall!