yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 General] Socket:
Ok, thanks again. There are enough "must do this first", and "can't get there from here" situations in this process that I think I need to draw up a state transition diagram so I know what paths are valid to get from A to B, what the precedents are, and where the dead ends are so I can avoid them.

One odd bit I'm noticing this morning - I went to verify I still have root and at first thought I had lost it. Last night I had changed the SuperSU "default access" setting back to "prompt" (since it's safer) as final step. This morning I fired up Root Checker Basic (from Joeykrim.com) to confirm all was still well, but instead it said no root.

In the past, when SuperSU default access was in prompt mode and I ran RCB, I would be prompted to grant RCB root access, I'd do so, and RCB would confirm rooted. But this morning, no prompt.. RCB just sat and spun until it timed out, which is what it does when I'm not rooted at all. "Crap" I muttered.

Then I started writing an update in this thread about how I no longer had root, and I was asking if it was because I let the phone be on wifi overnight and perhaps some kind of OTA (or OTWifi I suppose, since SIM card still not installed) had happened and unrooted me...

But before hitting submit I thought I should go back into SuperSU and set default=grant again and then try RCB. This time it said rooted!

So, good news that I'm still rooted, but bad news is maybe SuperSU's prompt mechanism somehow is now broken on my phone, which is strange. I don't want to leave the default access on "grant" all the time and be totally exposed.

The only thing I can think may have caused this is, after being rooted last night, I went into SuperSU and told it to upgrade to Pro (I had bought the Pro license before, but in the course of all the ROM flashing and reinstalling SuperSU it reverts back to non-Pro). Maybe upgrading to Pro messed with it's prompt ability somehow. Not sure why. Any thoughts here would be welcome...

Anway, aside from the SuperSU prompt issue, my other priority now is how to prevent an OTA or any other event which can unroot me. I've read about using Titanium Backup to nerf a few "services" that do the OTA. Is that the recommended method or is there a better way?

I appreciate all the help so far. I hope I'm not hijacking the thread.. to me this is all about following the process in this thread and having it stick, so I think it's all related. If I should go bark up another tree re the OTA question feel free to tell me so. :)
[AT&T Samsung Galaxy S 4 General] jroq8400:
Specifically with GE53 and some other ROMs the SuperSU prompt does not work and even with default grant doesn't work for some programs. It has nothing to do with anything else you did.

---------- Post added at 02:43 PM ---------- Previous post was at 02:39 PM ----------

Regarding Safestrap, while it's annoying to have to click continue 4 times each reboot I would just leave it in until you are sure you will not be making changes. Better than having to start from scratch if you mess up.

---------- Post added at 02:45 PM ---------- Previous post was at 02:43 PM ----------

Go to this thread for more info http://xdaforums.com/showthread.php?p=53758227
[AT&T Samsung Galaxy S 4 General] Socket:
Excellent, so it's not me (this time). Guess I'll stick my neck out and leave it at default access=grant.

Thanks for the link - lots of good info there. That will keep me busy for a while :)
[AT&T Samsung Galaxy S 4 General] Sirfearoth:
ok well its still no luck with getting odin to flash anything! everything I try fails some as soon as I click the start button.... any other suggestions before I claim my first paper weight?
[AT&T Samsung Galaxy S 4 General] jroq8400:
Try different cable, PC USB ports or like i had to...you may need to replace the charging port on the phone. Its not as hard as it sounds. Part is less than $10 and several YouTube available

sgh-m919 BlissPop-v3.8-jfltexx
[AT&T Samsung Galaxy S 4 General] Sirfearoth:
will look at the charging port a little closer, the phone is only a few months old and only been used during rooting process but hey stranger things have happened...

I found a usb cable in my closet that worked so now I'm back to stock.
[AT&T Samsung Galaxy S 4 General] angelicodin:
Phone: AT&T Galaxy S4

Build Number: LRX22C.I9505XXUH0D7

Rom: Goldeneye 53 XXUH0D7

Just installed my frist custom rom (wow so much faster and better already), but when i try to turn on the WiFi it dose not turn on. After reading the FAQ I guess I need to update my stuff.

I open odin3 (3.09) and load the BL file and CP file but then I get an error on both phone and in odin:

I'm following and using the files found here: http://xdaforums.com/showpost.php?p=50965837&postcount=2627

What can I do do fix this? I really need wifi or my data plan is going to be sucked up really quick.
[AT&T Samsung Galaxy S 4 General] Cats_PJs:
Did you remember to flash the oc3 modules after you flashed your ROM? That's all you should need to do. Don't follow the instructions in the link you posted, it isn't necessary.
[AT&T Samsung Galaxy S 4 General] angelicodin:
yeah I did the oc3 while in safestrap.
[AT&T Samsung Galaxy S 4 General] jroq8400:
Did you flash the ATT OC3 wifi modules? This is in addition to the OC3 kernel
[AT&T Samsung Galaxy S 4 General] angelicodin:
That might be the part I'm missing. Just to make sure before trying it again (as reverting take a really long time to go back), safestrap goldeneye, install the att OC3, the kernel recovery, and the att OC3 wifi 'fix'?
[AT&T Samsung Galaxy S 4 General] jroq8400:
Steps 4.2.3 and 4.3.4 in the OP

Do 4.3.4 after installing any non i337 ROM
[AT&T Samsung Galaxy S 4 General] angelicodin:
Did it again, followed instructions again to the letter and only get mobile data no wifi.
[AT&T Samsung Galaxy S 4 General] Cats_PJs:
You do have an i337 correct?
[AT&T Samsung Galaxy S 4 General] angelicodin:
[IMG="Screenshot"]http://i.imgur.com/fhsExKC.png[/IMG]
[AT&T Samsung Galaxy S 4 General] Cats_PJs:
Ah, you updated to oc4 so you need the modules and Kernel from this post.http://xdaforums.com/showpost.php?p=62353419&postcount=4011

Instead of flashing the the oc3 WiFi module and kernel in safestrap flash the oc4 WiFi module in safestrap, then reboot into download mode and flash the oc4 kernel in Odin.
[AT&T Samsung Galaxy S 4 General] bluekiwi:
I have an att s4, am on rooted lollipop, does this mean that I can just start at step 4.1?

Also, what roms allow me to use the sd card for apps?

Want to try goldeneye
[AT&T Samsung Galaxy S 4 General] jroq8400:
Yes. I think most let you move some user apps to SD
[AT&T Samsung Galaxy S 4 General] scopefield:
I'm having trouble with this step: 4.2.4 Open NC1 flasher app and press "flash" (it's the only button).

I can't get the flasher to install because I get a "Busybox or Safestrapp is not installed" error. I have Busybox installed, but when I click install recovery on Safestrap, it pretends to install but the State says: Not Installed and I can't "Reboot to Recovery." Anybody have any ideas?
[AT&T Samsung Galaxy S 4 General] jroq8400:
Set SuperSu to Grant by default for safestrap to be able to install recovery.
[AT&T Samsung Galaxy S 4 General] scopefield:
I'm using Kingroot. What would I do there?
[AT&T Samsung Galaxy S 4 General] doritos93:
Thanks for the guide sac,

I'm at 2.4 Use Odin to flash ROOTABLE NB1 ROM to your device.

and Odin keeps replying "Re-Partition operation failed"

I put I337UCUFNB1_TWRootable_Full_Odin.tar.md5 in the AP slot on odin.
[AT&T Samsung Galaxy S 4 General] thereeladrian:
dammit! I was trying to flash a different custom rom and I was doing it right, but I did not install the OC3 modules!! that was my only mistake :'( Gonna try this one now. Thanks! :D
[AT&T Samsung Galaxy S 4 General] thereeladrian:
#HELP I'm stuck at the Samsung logo (particles come out). I'm pretty sure I did everything you said.

EDIT: Never mind that :D it was just booting the ROM. I get desperate if things don't happen fast LOL sorry

---------- Post added at 07:29 PM ---------- Previous post was at 06:44 PM ----------

How do I get safestrap to work?? I enabled SU on boot, but safestrap won't show any of the options. I want to uninstall recovery..
[AT&T Samsung Galaxy S 4 General] Cats_PJs:
Set su default access to "grant" and install busy box. It should work after that.
[AT&T Samsung Galaxy S 4 General] thereeladrian:
It was a problem with the version of SuperSU. I uninstalled the one that came with the ROM and installed the beta for lollipop. Worked fine after that :D
[AT&T Samsung Galaxy S 4 General] Kcube989:
Followed everything aside from the part where I need to flash the ATT OC3 Modules, stupidly forgot. My phone booted without problems but wifi is not working, just wondering what are the ATT OC3 modules for and what is the best way for me to flash them.
[AT&T Samsung Galaxy S 4 General] jroq8400:
Use the NC1 flasher to get back into safestrap. Flash the modules then the reflashable kernel.

You need the modules for WiFi fix on non-i337 ROMs

SGH-M919 AICP jfltetmo v10.0
[AT&T Samsung Galaxy S 4 General] Kcube989:
Sorted it out, forgot to update my post. I couldnt install NC1 to re enable safestrap. So i just went back to NB1 and then did the process again.
[AT&T Samsung Galaxy S 4 General] Kcube989:
Is it possible to use xposed for lollipop using this install method?
[AT&T Samsung Galaxy S 4 General] thereeladrian:
Yes! but not all modules work :/ you have to flash sdk21 to be able to use xposed
[AT&T Samsung Galaxy S 4 General] jack_ssl:
I Can't Install Custom ROM ... Keep I Am Getting This Error .. How To Install .. I Followed That Steps : :( Help Me From This
[AT&T Samsung Galaxy S 4 General] jack_ssl:
I Can't Install Custom ROM ... Keep I Am Getting This Error .. How To Install .. I Followed That Steps : Help Me From This

And I Tried Another ROM
[AT&T Samsung Galaxy S 4 General] 8k3:
Does anyone know if PACMAN rom works? It's based on Lollipop 5.1.1 see teamandroid.com/2015/06/27/update-att-galaxy-s4-i337-android-511-pacman-lollipop-custom-rom/2/

I'm trying to avoid touchwiz and get all the features the phone came with and have lollipop 5.1.1
[AT&T Samsung Galaxy S 4 General] faheyd:
"...Note: SuperSU is finicky on Lollipop. See this thread for how to manipulate SuperSU to get your root apps working."

True true, but after looking at that link in post #1, all is well.

Followed directions and all worked.

For noobs, you have to 'unzip' and transfer the APK to the SD Card, not the zip file in "4.2.4 Open NC1 flasher app and press "flash" (it's the only button)"
[AT&T Samsung Galaxy S 4 General] jack_ssl:
4.3.7 Keep hitting "continue" when you get the safestrap recovery screen. This is a symptom of Lollipop not being compatible with Safestrap. Hit "continue" repeatedly (like 4 or 5 times) and eventually you will get into your ROM.

Keep I Am Trying .. To Hitting " Continue " Four Times .. Then Blank Screen 15 Mins ... Then I Tried To Turn On Device Again Hitting " Continue " Four Times .. Not Booting Into ROM .. ( PhoeniX.ROM.V11 ) .. Please Help Me
[AT&T Samsung Galaxy S 4 General] John The Rhino:
If you have the At&t S4 then you are limited to Touchwiz roms. Read this guide. It Has everything you.need to flash custom roms on your locked bootloader S4.Happy reading and good luck.

http://xdaforums.com/showthread.php?p=53758227
[AT&T Samsung Galaxy S 4 General] 8k3:
Yeah I have Goldeneye V53 at the moment just trying to see if there is something better out there that will give me a more pure google experience OR at least lollipop 5.1.1. Thanks
[AT&T Samsung Galaxy S 4 General] focussoft:
I installed CarHDRom this way , i love it , thanks
[AT&T Samsung Galaxy S 4 General] xymic:
@sac02: Thanks for the excellent guide! I used it multiple times with success. :D

Regarding the SuperSU being finicky, I think I found a fix by accident. My problem was SuperSU never showed prompt so I was unable to use root apps. One of the fix is to set default access to Grant which is already mentioned, but it's kind of dangerous to leave it that. Another fix I found:

1. Open SuperSU.

2. Set Default Access to "Prompt".

2. Untick "Enable Superuser" checkbox. It will uninstall root.

3. Tick "Enable Superuser" checkbox again and it will reinstall root and reboot.

4. Open any root apps and it should prompt you to grant/deny permission.

Had the same problem on few i9505 ROMs I tried and this fix worked fine.

PS: My bad if it's already mentioned in previous pages. I did quick search, but couldn't find anything related. :highfive:
[AT&T Samsung Galaxy S 4 General] thereeladrian:
Flash Albe95's S6 Port

Currently using that 5.1.1

---------- Post added at 06:46 PM ---------- Previous post was at 06:44 PM ----------

These ROMs worked for me (AT&T Galaxy S4 - SGH i337):

Flashed using Safestrap on 5.0.1 OC3

Just be patient, some take a long time to boot

Osiris:

http://xdaforums.com/galaxy-s4/i9505-develop/rom-osiris-rom-v1-0-t3147053/post61626308

Albe95 S6 Port: (Currently using this)

http://xdaforums.com/galaxy-s4/i9505-develop/rom-albe95-s6-port-1-0-t3092479

Imperium LL:

http://xdaforums.com/galaxy-s4/i9505-develop/rom-imperium-ll-v1-0-t3046889

GoldenEye:

http://xdaforums.com/showthread.php?p=42294395

Don't forget to install OC3 modules and stock kernel recovery after you've flashed the ROM
[AT&T Samsung Galaxy S 4 General] creepyncrawly:
[MENTION=5538411]jack_ssl[/MENTION], you have posted this in three threads. Please do not double or triple post; it is against forum rules, and it will not make it more likely that you get an answer. In fact, it may make it less likely that you get an answer.

Thank you for your cooperation.
[AT&T Samsung Galaxy S 4 General] jack_ssl:
Ok .. Sorry For That [MENTION=2916435]creepyncrawly[/MENTION]
[AT&T Samsung Galaxy S 4 General] :
Wifi isn't working for me I flashed the oc3 module and that did not work. BASEBAND version is NB1. Can anyone help?

EDIT: I used Albe95 5.1.1 based.

EDIT 2: I updated my baseband to oc3 with RocketRatt modem. I tried flashing the module provided here with safest rap. That did not work so I tried flashfire and that did not work either. Help would appreciated thanks.

I still need help here's more info:

OC3 BASEBAND

3.4.0-4408911 Kernel
[AT&T Samsung Galaxy S 4 General] :
What version are you using for Albe95 S6 port?

Edit: NVM I reread your post.
[AT&T Samsung Galaxy S 4 General] lirong:
I followed the directions here and it worked perfectly...almost!

Great guide, but if someone can help resolve this one issue?

When I log in to my google account on the new ROM and start having google / play download my apps, it starts and then somewhere along the way it fails.

Google Play for some reason cant log in to my google account, and doesnt get the right permissions, so all the downloads get put on hold, and I cant find a way to restart them.

I have already tried factory reset once and started again, but same thing happened and I cant figure out whats the issue...?
[AT&T Samsung Galaxy S 4 General] lirong:
4.3.8 (Optional) Install safestrap.apk (that you d/l to your SD card) to your phone, and then use it to UNINSTALL recovery. This will avoid the above step 4.3.7 happening every time you reboot your phone.

Congrats, you now have a custom Lollipop ROM running on your device.

Can someone please help me figure out how to do this? Now that I have gone through all the steps I seem to have lost root. So I am unable to run safestrap and uninstall it to avoid the multiple "Continues" every time I reboot. How do I achieve this?

Thanks.
[AT&T Samsung Galaxy S 4 General] CrossBones3129:
I'm on a deodexed OC4 S4. How can I get on Cyanogenmod?
[AT&T Samsung Galaxy S 4 General] xymic:
You didn't lose root. Lollipop roms has some problem with it. Just open SuperSU > "Settings" tab at top > Set "Default Access' to "Grant."

Download Safestrap 3.75 apk. Put it on SD card or if you download from your phone, open "Downloads" app and you'll see it. Tap on the APK and install it. Then, Open Safestrap app and you'll see "Uninstall recovery" option. Tap that and it'll uninstall it.

I recommend keeping the recovery, though. In case you need to go back to recovery, you just use NC1 Flasher, do your thing in recovery, and flash back the OC3 kernel (or OC4 if you upgraded to that) and you're all set. If you remove the recovery and need it later on, you have to go through hassle of installing safestrap, installing recovery, etc. all over again. I'd say the couple seconds of wait on "Continue" screen when booting up is worth it for the convenience. ;)
[AT&T Samsung Galaxy S 4 General] CrossBones3129:
I just followed your guide trying to install CM12 and got to the safestrap screen, kept hitting continue and it would never boot up. I was on OC4.
[AT&T Samsung Galaxy S 4 General] xymic:
You can only flash Touchwiz ROMs. AT&T has locked down the S4 pretty tight so no AOSP roms for us unfortunately.
[AT&T Samsung Galaxy S 4 General] jroq8400:
Go to this thread for instructions and list of ROMs available for i337

http://xdaforums.com/showthread.php?p=53758227

SGH-M919 AICP jfltetmo v10.0
[AT&T Samsung Galaxy S 4 General] lirong:
Thats really helpful thank you.

So (different question) at this point, am I able to and should I be downloading AT&Ts latest update from last week that addresses Stagefright? I didnt really understand whether I now can/should download these OTA updates?
[AT&T Samsung Galaxy S 4 General] xymic:
I don't think you can update with the rooted ROM as AT&T would block it, but not sure. If all you want is to fix Stagefreight issue, download this patch and flash in recovery...that is if you didn't uninstall the recovery otherwise you got some work to do:D
[AT&T Samsung Galaxy S 4 General] lirong:
Good news: I took your advice and left the recovery so thanks for that suggestion!

Bad news: When I tried to flash the file I got some kind of error message, and it then went on to wipe the data from my device and now Im back to a clean start. Should this have happened as part of flashing the patch?
[AT&T Samsung Galaxy S 4 General] xymic:
Nope, that definitely should not have happened. The patch only overwrites the files it needs, doesn't touch anything else. I flashed it multiple times without errors. Do you remember what the error was?
[AT&T Samsung Galaxy S 4 General] lirong:
Unfortunately not. I placed the .zip file found here (http://xdaforums.com/galaxy-s4-att/development/stagefright-patch-sgh-i337m-galaxy-s4-t3194826) on my SDCard, rebooted into "Recovery" and then selected this file.

As part of the install I got some error message in the scripting lines and then it continued on to a total data wipe...so Im not eager to try it again! :D
[AT&T Samsung Galaxy S 4 General] DukeSilver79:
Followed to step 3.4. I used flashfire to I337_OC3. After reboot I got stuck on the Samsung logo with "custom" and an unlocked padlock. I am frozen there. Any help?
[AT&T Samsung Galaxy S 4 General] lirong:
Im trying to do it again but want to make up a backup of this ROM install first.

But I cannot get Safestrap to boot into recovery? As you initially suggested I left it in place and when I reboot I get the safestrap screen that you hit "continue" to bypass, but it says Safestrap Disabled. When I go into Safestrap from my Apps, it says "Safe System: Not Active" and when I choose Reboot to Recovery it just reboots, but I am never making it into recovery.

I think somewhere I must have missed an important step?
[AT&T Samsung Galaxy S 4 General] xymic:
I think you're using stock recovery which would explain why your data was wiped out last time. Are you using NC1 Flasher to go into Safestrap recovery? Here's basic steps:

1. Download NC1 Flasher zip file, unzip it and install NC1 Flasher.apk file.

2. Download I337_OC3_Stock_KERNEL_Recovery-Flashable.zip from same link above and keep it in SD card.

3. Download the stagefreight patch to SD card if you don't have it.

4. Open NC1 flasher > Tap on "Flash" > "Tap to reboot" and you phone will reboot into recovery.

5. Tap "Install" > Choose the patch zip file > and Slide to install. It'll do its thing.

6. Go Back and Flash the I337_OC3_Stock_Kernel zip file or your phone won't boot. (Do this every time after you're done flashing something).

7. Reboot > System. Your phone will reboot.

8. Check if stagefreight patch worked usingStagefreight detector.
[AT&T Samsung Galaxy S 4 General] Gerard897:
It seems I have correctly followed all instructions until the part where I get to flash my own rom on safestrap. I tried to install golden eye 53 but it the installation fails as the aroma installer doesn't appear. Any help? When I tried to reboot, it forced me to go to the stock recovery. There I stupidly tried to install the rom there but obviously it failed. I accidentally pressed volume down and it stared deleting the data on my phone rip. I tried going to download mode to odin back because I'm scared lol but it won't show up. Eventually by miracle safestrap opened back up as I was trying to get into download mode. Right now I'm planning on redownloading the rom onto my microsd and transfer it over to the phones main storage then flash. Is this the correct way? Or did I mess everything up by pressing volume down on stock recovery?

---------- Post added at 05:16 AM ---------- Previous post was at 04:32 AM ----------

Yeah, it seems whenever I try to install Goldeneye the aroma installer wont show up and the installation failed. Any Ideas?

EDIT: It seemed to have been a bad transfer to the phone as the rom was corrupted when opened on the computer. Transferred again to the phone and it worked. Anyone here get viperfx4android to work? It seems I need to change my selinux mode to permissive, but with the messed up root I can't seems to change it.
[AT&T Samsung Galaxy S 4 General] lirong:
Got it. I dont think I did this again after flashing Goldeneye in your original set of instructions so I will do this. To make sure I understand, every time I want to flash something new, I need to go through these steps again right? So for example, after I flash the stagefright patch as described above, I would need to once again start at Step 1 above if I want to flash any other patch, try a new ROM or whatever?

Also, if I want to go into recover and create a backup, do I need to do it before step 6? Im not sure I understand how to use Safestrap recovery to make periodic backups of my ROM and settings, and what process I need to follow?

And lastly, will the steps above make me lose my apps and data on Goldeneye as it stands now?

Thanks - I know theres a series of questions here!
[AT&T Samsung Galaxy S 4 General] xymic:
Yep, that's right. You can flash multiple files if they're related. For example, if you flash Goldeneye, you can flash OC3 modules right after you're done with Goldeneye. You don't need to reboot after Goldeneye and go into recovery again to flash the modules.

Tip: If you flash a ROM and it gives you option to Reboot Now, uncheck it. Because you have to go back to recovery and flash OC3 modules or your wifi won't work. Goldeneye does this.

Backup before flashing anything, that way the phone is backed up exactly as it was before. So best time to do it is when the recovery starts.

To backup, all you do is when you're in recovery, go to Backup > Make sure Data, Cache, and System are checked > Swipe to backup.

Same with Restoring a backup. Go to Restore > Select your backup > Swipe to restore.

Nope, everything should stay same if all goes well. Best of luck :D
[AT&T Samsung Galaxy S 4 General] lirong:
You are awesome!

This worked perfectly thank you so much.

To make sure I finally understand here - going forward is it correct that every time I want to make a backup, I need to go through the flashing procedure you described (reflash NB1, make the backup, reflash OC3 Stock Kernel)?
[AT&T Samsung Galaxy S 4 General] xymic:
That's right. :good:
[AT&T Samsung Galaxy S 4 General] slee2714:
Hey guys, I am currently on google play edition 4.4.4 by joe-tech, sghi337, wanting to try and upgrade to 5.0

At first I thought this was impossible because no one has figured out how to unlock the bootloader yet

Will this thread allow me to upgrade to a 5.0 rom?