yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 General] lordloki77:
So I foolishly forgot to do: Attention! Set your screen timeout to 10mins before beginning!

Hardware buttons are lit up, the screen is off/the phone does not seem to be doing anything. Should I let it continue? Or battery pull? How long should I let it sit in this state?

Edit: Answer is wait. about 10-15 minutes. It will do its thing - and then when it tries to boot, it gets angry because the bootloader hasn't been flashed yet. flash that in Odin in AP mode. Now waiting for it to build the dex files.
[AT&T Samsung Galaxy S 4 General] Marduc:
I'm a bit lost here guys. I carefully followed all instructions and it worked fine. However, after messing with custom roms I had to redo the whole process again. Now when i do absolutely the same thing i did before it boot loops on Samsung logo. It won't even load into download mode after flashing system, just freezes on that freaking samsung logo screen. I tried to manually enter download mode and flash boot loader, but that didn't help. I've tried the same process 5 times already with the same result. And after waiting 10-15 min on that logo screen phone starts to reboot every couple minutes showing the same logo screen every time.

Thank you.

update: So apparently Flashfire is not always the best solution. After following instruction very carefully....10 total times....I was stuck with the same result. So, I went with the safestrap and magically everything worked the first time i tried it.

Fresh install NB1/Skip the initial setup

installed towelroot/superuser app/reboot (ignored the

knox turn off

option in the superuser app)

installed busybox/safestrap/nc1 flasher

rebooted to safestrap/wipe-data-cache-system-etc (no micro sdcard)

installed I337_OK2 - 5.0.1 (deodexed in my case)

Happy face.
[AT&T Samsung Galaxy S 4 General] chris1379:
I rooted my S4 with Kingroot and hate the ads. Since I'm already at OK2 and have root, can I just flash the OK2 rooted ROM with Flashfire?
[AT&T Samsung Galaxy S 4 General] carlosbalbuena_:
Yes but you have to have SuperSu not Kinroot

Enviado desde mi SGH-I337 usando WizCyan S6/S7
[AT&T Samsung Galaxy S 4 General] chris1379:
So you're saying that Flashfire won't work with Kingroot? Well, I managed to get Supersu without flashing. I Uninstalled Kingroot 4.9.6 and installed 4.5. I also had to uninstall Purify. After uninstalling it, I searched for King and found 4 files leftover and deleted them. After 4.5 was installed, I used SuperSu-me 6.7 to switch to SuperSu. Everything is normal now and I have root. The newer versions of both programs did not work.
[AT&T Samsung Galaxy S 4 General] chris1379:
I know one or two changes were made to build.prop in a failed attempt to install viper4android but I can't remember which ones changed. Can someone Post an umodified build.prop file please?
[AT&T Samsung Galaxy S 4 General] jxsilicon9:
So how do you do a full backup without custom recovery?
[AT&T Samsung Galaxy S 4 General] Baconwich:
So, absolutely stupid question: Let's say I've done all this successfully and haven't moved on to another ROM yet, is there any way I can keep Lollipop without having Root? There's some... erm... Pokemon related apps I'm having trouble running because of root access. This is embarassing.
[AT&T Samsung Galaxy S 4 General] truglodite:
OK3?

Do we have hopes for a rooted OK3 rom? Att fota popped up on my phone this morning, which prompted me to download an update here. I am a bit wary of the lack of OK3 discussion, but maybe it's just too early.

Kev
[AT&T Samsung Galaxy S 4 General] carlosbalbuena_:
WTF!!!!!!!

Enviado desde mi SGH-I337 usando WizCyan S6/S7
[AT&T Samsung Galaxy S 4 General] carlosbalbuena_:
What you really updated is Android 5.1

Enviado desde mi SGH-I337 usando WizCyan S6/S7
[AT&T Samsung Galaxy S 4 General] truglodite:
Sorry I may not have been clear. Fota is actually disabled on my phone (flashfire/stock rooted ok2). The ok3 (5.1.0) pop up message appears, but the download/upgrade fails gracefully. I could of course unroot and go stock ok3, but I would prefer keeping root (same as when I updated to ok2).
[AT&T Samsung Galaxy S 4 General] carlosbalbuena_:
There is no way, if you know how to do it to extract the file that you resisted to manually install by recovery stock?
[AT&T Samsung Galaxy S 4 General] truglodite:
I used the method from the first post of this thread to upgrade from oc3 to ok2 (worked for me anyways), and I am hoping folks smarter than me were working on making a "stock rooted deodexed ok3", bootloader, etc.

Muniz_ri, were you or anyone else considering 'doing' ok3? I would love to help but I am very much a newb with android internals.
[AT&T Samsung Galaxy S 4 General] carlosbalbuena_:
The problem that in my country I do not get the ota, so I was hoping that you could extract the ota to update my cell phone and create a rom already with the version ok3 and send the rom to a companion of this forum so that it integrates in the rom that I am using now that is based on the s6 / s7

Enviado desde mi SGH-I337 usando WizCyan S6/S7
[AT&T Samsung Galaxy S 4 General] albiz2000:
Gotta problem! I flashed both the odexed version and the non-odexed version by mistake! I thought they were both needed! My phone froze on the "Samsung Galaxy S4" icon and not going to the AT&T icon screen. I waited for 15 minutes before I decided to take off battery. It still did not work. I then tried to flash the md5 file via odin and that is stuck too. PLEASE HELP!
[AT&T Samsung Galaxy S 4 General] Silentz0r:
Can't install

[MENTION=4708661]muniz_ri[/MENTION]

I have previously installed this 100% each time but now i don't know why i can't install it. Can you check this and guide me what i have to do? Thank you.

https://xdaforums.com/galaxy-s4-att/help/custom-tw-rom-fails-to-install-t3557173

Fixed, nvm. It was the FlashFire causing problems. In the mean time use FF v0.53 or below.
[AT&T Samsung Galaxy S 4 General] marcuztan:
Need PC to do this procedure to upgrade ??

Thanks
[AT&T Samsung Galaxy S 4 General] reisyreinier:
Hi, i follow all instructions in OP but after flash 'I337_OK2_Stock_Rooted_Deodexed_ROM.zip' the phone dont go to download mode. Im currently running "I337UCUFNB1_TWRootable_Full_Odin.tar"(4.4.2, rooted) and FlashFire "eu.chainfire.flash_0.55.1-551_minAPI17". Thank in advance
[AT&T Samsung Galaxy S 4 General] VanillaSkies:
So I followed your tutorial no problems a few days back. Then today I tried flashing xposed, and now I'm stuck in boot loop. I can access the stock recovery mode from this ROM, and also Odin bootloader mode; but that's it. Can you direct me to a tutorial to in brick (softbrick) my sghi337 now? I'd appreciate it greatly. Thx
[AT&T Samsung Galaxy S 4 General] cfli1688c1:
after i follow the instruction, i see that i am still on nb1/4.4.2

what could have gone wrong?

edit: i did it again, followed the instruction, still back to 4.4.2
[AT&T Samsung Galaxy S 4 General] jxsilicon9:
How do you unroot and get back to stock? I can't find an ok2 stock without root anywhere?
[AT&T Samsung Galaxy S 4 General] theinfamousj:
I have a problem that I haven't seen enumerated anywhere here yet.

I am attempting this method from towelrooted NB1. I am following the directions explicitly as stated.

FlashFire (or is it FireFlash?) very verbosely flashes things, then the screen goes black and it reboots, but not into Download mode. Instead it goes through the Samsung Splash Screen and into the ATT splash screen, sans-sound, where it sits with the breathing blue LED for ... well the longest I have left it is an hour. I'm using the odexed ROM so I'm supposed to assume that it will take 1-2 minutes.

Am I being impatient? Is this part of the process? How long ought I reasonably to wait? Did something go wrong somewhere?

When I power cycle it after watching the ATT logo and breathing blue LED for over an hour, I do then boot up into some botched install of Android where it kindly tells me that every single app has had to close. Is this because somehow FlashFire failed to reboot the phone into Download mode and I should do it manually and flash the bootloader? (I haven't for fear of making things worse.)

Any assistance would be greatly appreciated. I'm running FlashFire 0.57. I tried to run FlashFire 0.55.1 (which is the most 0.55 that I could find on the 'net) as I've researched and found that perhaps the FlashFire apk version might be to blame, but FlashFire 0.55.1 crashes when I attempt to run it on NB1.

Thanks again for your time.
[AT&T Samsung Galaxy S 4 General] cfli1688c1:
Try to clear cache. If still does not work, clear user data in recovery. Of course you will lose all your data [YOUTUBE][/YOUTUBE]
[AT&T Samsung Galaxy S 4 General] redhonker:
Hi,

I'm following the instruction and flashed the deodexed OK2 (upgrading from OC4). The reboot is very quick and verbose log is shown the progress. Then it reboots again into AT&T logo. It's now almost an hour. I have done this before and don't recall it took this long. Should I keep it going? How long should I wait?

If it never end, what's my option? Should I Odin the boot loader? Or should I odin to NB1 full?

Thanks

--- edit

Should have read the last post and I would have not have started this. Too late for that. Next time :(

---------- Post added at 11:30 PM ---------- Previous post was at 10:53 PM ----------

I'm going to leave it running overnight. Don't expect magic. But hopefully someone can tell me what to do next. Thanks

---- update

Morning now, it's still the same (Logo and breathing blue LED). I pressed and held the power button to shutdown the device and then reboot. Surprisingly, it boots up normally. And it's still OC4. I'm using Flash Fire 0.57. Won't upgrade again until further instruction.

Thanks
[AT&T Samsung Galaxy S 4 General] carlosbalbuena_:
Your problem is the flashfire the latest version is no longer compatible with our device so use this one.

https://www.dropbox.com/s/9vmp7uipkepknzr/FlashFire v0.53 Final [Pro].apk?dl=0
[AT&T Samsung Galaxy S 4 General] redhonker:
That's 0.53. Can anyone confirm success with this version? Thanks
[AT&T Samsung Galaxy S 4 General] carlosbalbuena_:
If I'm sharing it, it's because I've already tested it, I use it for installation custom rom

Enviado desde mi SGH-i337 mediante la rom WizCyan 4.1
[AT&T Samsung Galaxy S 4 General] redhonker:
Flash appeared to be successful. I did not watch once it reboots. 20 min later, I found it with a black screen with notification bar and soft buttons on, but not responding. I pressed the home button a few times and it started rebooting.

As I watched the AT&T logo goes away, a dialog pops up on black screen "process system isn't responding, wait or close"? I tried both options, same outcome -- it will show a black screen for 1-2 min and eventually reboot, without me touching anything. There is a very brief screen showed up (less than a second so I can't be sure which app it is).

What could I do now?

Thanks

---------- Post added at 07:42 PM ---------- Previous post was at 07:41 PM ----------

How did yo unlock the boot loader?
[AT&T Samsung Galaxy S 4 General] carlosbalbuena_:
No, my bootloader is blocked I do not know what you're doing wrong I've done several rom installations and it works fine..

Enviado desde mi SGH-i337 mediante la rom WizCyan 4.1
[AT&T Samsung Galaxy S 4 General] redhonker:
It's now working on OK2. It rebooted 5 times. The last time I shut it down while rebooting, tried to enter recovery and failed (boots normally), shut it down again and reboot normally, I got the set up screen. I'm writing this steps down because I don't know if it's just 5 reboots or manual shut down is required. One more thing to notice, only the last time there is that AT&T sound when its logo came up. The previous ones do not have sound.

All app and data are gone. I don't recall if this is normal or not.

If your boot loader is still locked, how did you get custom ROM on it?

Thanks
[AT&T Samsung Galaxy S 4 General] carlosbalbuena_:
Make the wipes before installation??
[AT&T Samsung Galaxy S 4 General] redhonker:
No, did not wipe it.

Is loss of all data expected?
[AT&T Samsung Galaxy S 4 General] carlosbalbuena_:
That is why I caused you these errors must be done before installation so that there are not errors..
[AT&T Samsung Galaxy S 4 General] redhonker:
So the wipe is not required (also mean the data loss is expected). I don't recall doing this before.
[AT&T Samsung Galaxy S 4 General] theinfamousj:
It worked!!!! Thank you. This is amazing! To anyone else on my particular journey, don't just use any 0.53 found online, but use the one from the dropbox link posted in this thread.
[AT&T Samsung Galaxy S 4 General] redhonker:
[MENTION=539070]carlosb[/MENTION]albuena

Still curious how you load the custom ROM on a locked boot loader. Would share?
[AT&T Samsung Galaxy S 4 General] carlosbalbuena_:
I made a guide a while ago I do not know if you have seen it but here I leave the link

https://xdaforums.com/showthread.php?t=3483736
[AT&T Samsung Galaxy S 4 General] b52murph:
Ok...I've tried this using Flashfire 0.57 about 6 times now. Same result every time....it appears to load, then reboots. Hangs on the AT&T splash screen for a while, then reboots again back into the original version (Kitkat 4.4.4, rooted NJ5). No issues (that I'm aware of) with the root; everything that requires root runs perfectly. I even changed the Flashfire setting to "flash bootloaders," still without success. Even tried to separately download Flashfire old version (0.53); unfortunately that wouldn't run and quickly automatically updated back to 0.57. Trying to flash to OK2 (or 3)....thoughts?

(thanks!)
[AT&T Samsung Galaxy S 4 General] BBRecon:
Thinking about creating a ok3 zip? I really could use it do to a system replacement [MENTION=4708661]muniz_ri[/MENTION]
[AT&T Samsung Galaxy S 4 General] chris1379:
Has anyone used this to obtain root on OK3?
[AT&T Samsung Galaxy S 4 General] chris1379:
I'm at OK3 and rooted but I can't get Viper4android to work. I think it's because supolicy.zip won't flash correctly. The phone locks on the white screen after flashing with Flashfire or erases everything after adb sideloading. Can I just flash back to a version that worked like OC4 and would I use Odin or Flashfire for that? Would I also need to flash the bootloader files separately?
[AT&T Samsung Galaxy S 4 General] EngineerMind:
Tether is unreliable and breaks Wifi

I flashed the OK2_TetherAddon right after installing the OK2 Bootloader.

But, when I try to turn on the Native Tethering, a Pop-up says "Enabling Mobile Hotspot...", then the slider control switches to "Off", then after a few seconds, it automatically switches back to ON, and then it might immediately repeat this on, then off process a few times, then it will finally stay ON and work fine.

But, when I then manually turn it off when I don't need it anymore, I then can't get Wifi to work. It says "Connected" to my AP, but I have no internet access. If I turn off wifi, then I get internet through the cellular connection.

I have to reboot the phone to get wifi working again.

Any ideas how to fix this on,off,on,off....ON, then when switched off, loose wifi?

Any help would be greatly appreciated!
[AT&T Samsung Galaxy S 4 General] chris1379:
Have you tried it with the Mobile Hotspot app?
[AT&T Samsung Galaxy S 4 General] EngineerMind:
I forgot to mention that I am using the Mobile Hotspot app to do this - so yes, I am.

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

I remember seeing somewhere else that it's because the S4 has SE set to "Enforce" and the post I saw had a detailed description how to work around that - so do a search for the other article.
[AT&T Samsung Galaxy S 4 General] ananda jaisi:
How to update to1337-ok2
[AT&T Samsung Galaxy S 4 General] sirtweak0:
As of 7/5/2018 what is the final results???

Hello and thank you for your work.

After reading through all these posts the end result is 5.0.1 with OK2, rooted but without the ability to use flashfire (unless you do the workaround every time) or any custom recovery?

Someone please confirm.
[AT&T Samsung Galaxy S 4 General] EngineerMind:
I am using this method/rom with flashfire version 0.53 - just select normal zip compression in flashfire when making image backups so the restore images to work ok.
[AT&T Samsung Galaxy S 4 General] sw1173:
Is there anyplace to get a Odin flashable OC3 rooted stock rom? The link on the first page goes to a discontinued page.
[AT&T Samsung Galaxy S 4 General] natenkiki2004:
Here's my personal files I downloaded a year or two ago and kept for flashing my Samsung S4 AT&T. I didn't modify them but do use them at your own risk.

https://www.dropbox.com/sh/x14lkdbzjfdkxzj/AABjw-rbmmgKxlCQVGTaFcMoa?dl=0

*EDIT* Give the files about 3-4 hours to finish uploading from the time of this post.
[AT&T Samsung Galaxy S 4 General] sw1173:
Thanks for the files

Thank you for the files but I have all those. It's the Odin flashable Stock rooted oc3 5.01. Those files are mentioned on several sites lead to a link that has been disabled. I'm trying to avoid going back to 4.44 or 4.42 and doing a complete rebuild of the S4. Any help would be greatly appreciated.

:fingers-crossed:
[AT&T Samsung Galaxy S 4 General] natenkiki2004:
I don't know that I ever came across one to be honest. I messed up my phone and had to totally re-install with the ODIN I337UCUFNB1 flashable and then upgrade with Flashfire from there. It wasn't that big of a deal at the time and went pretty smooth.
[AT&T Samsung Galaxy S 4 General] ZippyBolt:
Hey guy I'm stuck on the AT&T screen
[AT&T Samsung Galaxy S 4 General] uvbeenburned:
need help i downloaded 3 times can't get safestrap to restore file I'm on safestrap 3.72 I've tried 3.75 but can't get it to mount system
[AT&T Samsung Galaxy S 4 General] Nepoxx:
If anyone is having the same issue, I followed the instructions here: http://xdaforums.com/galaxy-s4-att/general/guide-odin-to-stock-updating-rooting-t2926642

I went to NJ4 unrooted, installed safestrap 3.75 and attempted the same steps as described in this thread. This time it worked. It wasn't working because I had checked the "check md5" checkbox in Safestrap and it did not completely install the rom.
[AT&T Samsung Galaxy S 4 General] n007w:
I managed to install it perfectly but sometimes it switches off randomly. Please help
[AT&T Samsung Galaxy S 4 General] sunnyzip:
confirming it does work on canadian 1337m (i was unable to flash the partition file thru odin , but the rom worked just fine...!!
[AT&T Samsung Galaxy S 4 General] dtowngs4g:
I have a question. Once we upgrade is it possible to install another recovery like twrp or is it for the unlocked bootloader mdl versions only? Will we still be only able to use safestrap and only if we flash nj4?
[AT&T Samsung Galaxy S 4 General] John The Rhino:
Safestrap is the only recovery we can use even with the new lollipop update. Please refer to the guide for more details..
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Today I successfully flashed a ROM on my I337 using Chainfire's new Flashify BETA app. More testing to be done but I think we have our safestrap replacement!
[AT&T Samsung Galaxy S 4 General] BhavyaBirla:
You mean a normal rom not the safestrap ones?
[AT&T Samsung Galaxy S 4 General] muniz_ri:
It was a ROM made for safestrap.i.e. no kernel. However it seems as if it would flash kernels, lots more testing to be done to determine how it works.

EDIT: ability to flash kernels on the I337 confirmed. Just flashed a modified NB1-to-NJ4 ota .zip however it wouldn't flash the non-hlos for some reason.
[AT&T Samsung Galaxy S 4 General] pettyfan45:
ok I am having an issue with loading the lollipop backup in safestrap when do I get a massage that says it failed and then I had to Odin back to 4.4.2 to save it. Is there something I need to between wiping and opening the restore or is just my crappy SD card
[AT&T Samsung Galaxy S 4 General] LordPhap:
Galaxy S4 screen?

I did this all to a T, and was wondering how long I would stay at the Samsung GALAXY S4 screen for? It's been about 4 minutes already, so just making sure I did it properly
[AT&T Samsung Galaxy S 4 General] BhavyaBirla:
I tried flashing the xposed framework zip it didn't work!? Can you try to flash twrp and see how that goes? Iam so excited to flash non safestrap rom!
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Don't know if that is the problem, but not recommended to restore data from 4. 4. 4.
[AT&T Samsung Galaxy S 4 General] caccolino:
I tried, only that odin just do not recognize the phone
[AT&T Samsung Galaxy S 4 General] emptyPD:
Are you saying you flashed another Kernel not the official to your SGH-i337 with locked bootloader? [emoji46]

This means we can finally use GPE Roms in our locked phones right ?

(Crossing fingers) [emoji2] [emoji2] [emoji2]
[AT&T Samsung Galaxy S 4 General] blackhorses777:
i was rooted on NJ4, i wiped everything and used odin to flash stock NB1. i then regained root access and installed safestrap. then i used the restore function to restore your backup. everything went flawless. the first hour or 2 the phone was sluggish, but ive been running this for 24 hrs now and have all my apps reinstalled from the play store and everything is butter. phone is quick, responsive, and smooth and i havent noticed or had a single problem thus far.

i never login or post here, i just wanted to say thank you muniz_ri for all your hard work. i greatly appreciate it :good:
[AT&T Samsung Galaxy S 4 General] macasus76:
Your a beast muniz_ri! We appreciate your sacrifice and time fella.

Thanks!!!!
[AT&T Samsung Galaxy S 4 General] DankHeals:
Wait, isn't Flashify an app by Christian Gollner?
[AT&T Samsung Galaxy S 4 General] dmc2359:
What he meant to say was FlashFire.

http://xdaforums.com/general/paid-software/flashfire-t3075433
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Sorry, meant Flashfire.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
No, you can only flash stock kernels or you will soft brick. Once I spend more time with it will put out a guide.for locked BL devices.
[AT&T Samsung Galaxy S 4 General] DankHeals:
Ah. That makes sense.
[AT&T Samsung Galaxy S 4 General] GStrobe31:
I'll be on the edge of my seat. Just when I thought my Att S4 was dead to me.
[AT&T Samsung Galaxy S 4 General] clstengel:
Safestrap back to 4.4.4?

If I follow this update procedure can I restore my safestrap 4.4.4 (Stock rooted) backup after I Odin flash the NJ4 kernel? Do we know if the OC3 bootloaded is compatible with NJ4? In other words can we downgrade if needed? Thanks for your help!
[AT&T Samsung Galaxy S 4 General] Sean89us:
Same here dude. I was about to give up on my S4 until I got this rooted lollipop a couple days ago, now we might even get ROMs?! Badass!!

On another note, Since flashing this rooted lollipop update my phone now says Samsung Custom and has an unlocked padlock when I boot it up. Did something trip? No side effects so far but yeah.
[AT&T Samsung Galaxy S 4 General] BhavyaBirla:
It's your Knox.

You'll need to download this app called triangle away to remove it. Search for tutorials of how to use triangle away
[AT&T Samsung Galaxy S 4 General] Cusa:
Would it be possible to get a flashable zip instead of going through all this?
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Put one together but was buggy for some reason. May work on it over the weekend.
[AT&T Samsung Galaxy S 4 General] selw0nk:
I hope someone makes a safestrap rom soon.
[AT&T Samsung Galaxy S 4 General] mugsy77:
Lots of folks are using GoldenEye 51 with SS, including me. Just be sure to follow instructions =)
[AT&T Samsung Galaxy S 4 General] legaltender:
PLease help

Someone please help. I followed all the instructions but after reboot on OC3, safestrap shows and goes away, does this a couple of times and then the screen just turns black. I can't get into recovery. Anyone have a solution, much appreciated.
[AT&T Samsung Galaxy S 4 General] Apoplectic1:
Which ROM did you flash? So far GE is the only one that I have tried so far that will work on 5.0.1.