yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 General] BBRecon:
I've been researching, and it's possible to make your own ODIN flashable tar.md5. A full flashable tar should flash every partition listed in the tar, so if there's a userdata partition image in the tar, then that gets flashed too. The way around this is to remove the userdata image from the tar, but doing this corrupts the image signature, so then one has to rebuild their own tar with a new signature. I suppose getting the phone to start again might be an issue though (as is common with not wiping all the data)
[AT&T Samsung Galaxy S 4 General] guut13:
The benefit of a locked bootloader is it makes it EXTREMELY hard to brick your device. There is really nothing that flashing stock NB1 won't fix.

That said... I have heard stories of bricked GS4s.

Sorry, but this is not something I'm familiar with so I leave it up to you.
[AT&T Samsung Galaxy S 4 General] BBRecon:
Yes!! That is for sure haha. With great power also comes great danger haha. I'll let you know my progress.

- First thing, I have successfully created and flashed my own custom tar image to flash NB1 WITHOUT wiping my data. Next step may be to use update zips to update to a newer OS which actually will boot (since the data can cause problems booting up)

- Also, a lesson in life is learned. Never give up, there's almost always a way if you refuse to settle for anything less than the best.:good::fingers-crossed:
[AT&T Samsung Galaxy S 4 General] guut13:
Good work. I bet you were sweating that first boot up.
[AT&T Samsung Galaxy S 4 General] BBRecon:
Yes, but in fact, Android recovery had a blue orb thing and a progress bar.. For all I know it was trying to wipe my data still. :eek: Still was worth a try.

Do you know what the blue spinning orb means?
[AT&T Samsung Galaxy S 4 General] guut13:
No. Do you have a pic?
[AT&T Samsung Galaxy S 4 General] BBRecon:
It looks similar to this. It showed up immediately after booting up into recovery.
[AT&T Samsung Galaxy S 4 General] guut13:
Thanks. Been too long since I used my GS4. I remember that screen while flashing updates in stock recovery, but that's it. Don't recall a variation. Sorry.
[AT&T Samsung Galaxy S 4 General] BBRecon:
Hmm, thanks! :) At least gives hope that there's still data left. Learned some interesting things in the process though. :)
[AT&T Samsung Galaxy S 4 General] BBRecon:
I thought you'd like to see this. This is what was happening. :)
[AT&T Samsung Galaxy S 4 General] faktorqm:
Hi forum! I'm currently have OC3. There is a way like I did from mk2 to oc3 to put a file on flashfire and start the phone with ok3? I can't find any file. Thank you! Regards!
[AT&T Samsung Galaxy S 4 General] TheGingerSage:
Has anyone tried splitting a stock boot image for the ZRAM file then taken that file to build CyanogenMOD with the prebuilt kernel? It seems to me that if we can build cm with the stock prebuilt then we should be able to flash the ROM then flash the untouched stock kernel and it should boot right?
[AT&T Samsung Galaxy S 4 General] BBRecon:
I don't know much about this, but I heard it requires a touchwiz os and some special kernel modules. Basically, you can't modify it that much from the stock way it came. Certainly nothing like cyanogen (unless you're bootloader unlocked)

---------- Post added at 05:37 PM ---------- Previous post was at 05:34 PM ----------

Would be lovely if someone can make an ok3 rooted ROM installable through flash fire. I used kingroot to root ok3, which worked, but kingroot is nasty and won't completely remove itself. I really would love to replace the system folder
[AT&T Samsung Galaxy S 4 General] TheGingerSage:
I can do that! How about a full rom all in one /boot /system and /data backup of stock rooted flash able via NB1 SafeStrap... With all kinds of Audio Engine goodies!!! Unfortunately to get that to you all I would need to fully wipe my version unless I find a way to back it up...
[AT&T Samsung Galaxy S 4 General] BBRecon:
That would be absolutely amazing! Only an OK2 stock rooted ROM is available at the moment, and I'm already on OK3 now.

OK3 completely stock in every way, except for rooted with SuperSU (never having been touched with Kingroot, eww). Although I'm not sure how to officially update to OK3 (you can't mod your OS until after finished with the updates to OK3), then root without Kingroot (I haven't found any alternative root method that didn't require kingroot).

But such a ROM would be invaluable to many people, and saving others a lot of time.

Is there a way without the audio goodies? (Though I'm interested in knowing about them, maybe it can be in a separate flashable zip ? Do y have v4a by any chance? I could never get that to work on gs4)
[AT&T Samsung Galaxy S 4 General] TheGingerSage:
Alright I can do that and it on the way. Flash able audio engine is already released but to get it on lollipop the hoops I had to jump through were unnecessary for you to repeat. I will get a thread up in a few and tag you in it if your worried about bugs then don't because there aren't any I know of

Best demonstration for audio settings. Max Volume your Stereo

[YOUTUBE]28O8UQfObK8[/YOUTUBE]
[AT&T Samsung Galaxy S 4 General] BBRecon:
Thank you very much, I am looking forward with anticipation. ;) :o
[AT&T Samsung Galaxy S 4 General] TheGingerSage:
Alright well unfortunately I have wiped my device and now I cant fix ViPER4Android so as soon as I get the audio engine running I'll have this out for you!
[AT&T Samsung Galaxy S 4 General] BBRecon:
Thank you ! :o And I know, ViPER4Android can be such a pain on SELinux devices :/
[AT&T Samsung Galaxy S 4 General] SuperBrolySSJ:
Can anyone guide me on installing Viper4Android? If it matters, I'm on Goldeneye Lollipop Room, SGH-I337.
[AT&T Samsung Galaxy S 4 General] TheGingerSage:
I absoluetly have no idea as to how i got it working before I wiped it... That was a long time ago back when my audio engine install procedure had six zips to flash that I dont have anymore... So Unfortunately my first release will be a 100% all six audio apps working 4.4.4 Kit Kat... I'm almost done have full v4a support and its all debloated! Uber Xcited BRB

View attachment 4249528

NEWS! It turns out that I'm super satisfied with build NJ4 4.4.4 Be on the look out I'm getting this done tonight!
[AT&T Samsung Galaxy S 4 General] TheGingerSage:
I have not had any success and have given up on it for the moment, but dont worry I'll eventually try again later, but in the mean time look out for my NJ4 build tonight it's almost done!
[AT&T Samsung Galaxy S 4 General] SuperBrolySSJ:
Will do. Thanks
[AT&T Samsung Galaxy S 4 General] TheGingerSage:
https://xdaforums.com/galaxy-s4-att...ui-spotify-t3660912/post73504129#post73504129

Everything is final now check it for all the updates and install procedure.
[AT&T Samsung Galaxy S 4 General] TheGingerSage:
https://xdaforums.com/showthread.php?t=3660912
[AT&T Samsung Galaxy S 4 General] TheGingerSage:
SUCCESS!!! FINALLY!!! NEWS!!! I got all of my audio engine working on stock OC4!!! Updates are coming today! Look at this thread tomorrow for the installation procedure!

https://xdaforums.com/galaxy-s4-att/orig-development/rom-hexfx-touchwiz-audio-7xgui-spotify-t3660912
[AT&T Samsung Galaxy S 4 General] BBRecon:
Wow, things are looking good! I'm sorry I didn't reply quickly, I was a little busy lately with family and gf . I'll get back as soon as I have time and review :) looking soooooo good!!
[AT&T Samsung Galaxy S 4 General] TheGingerSage:
Updated with embedded links EVERYTHING IS FINAL!
[AT&T Samsung Galaxy S 4 General] TheGingerSage:
5.0.1 ROM HERE!

Updated HEX FX Fixes Instructions!
[AT&T Samsung Galaxy S 4 General] guut13:
THREAD UPDATE

LOLLIPOP ROMs - added HEX FX Fire Audio

HEX FX Fire Audio -- ATT

https://xdaforums.com/galaxy-s4-att/orig-development/rom-hexfx-touchwiz-audio-7xgui-spotify-t3660912

[MENTION=5978274]CIGBURN[/MENTION] Thanks for continuing to support the device.
[AT&T Samsung Galaxy S 4 General] TheGingerSage:
Thank You so much! Ever since I got this completely locked to the brim AT&T Galaxy S4, (With a cracked but fully functional digitizer) I knew then I wanted to donate the development around such locks to the community. The AT&T Galaxy S4 has been by far the most challenging piece of Android I have ever worked with. But thanks to you and your thread plus my already knowledge on audio elements + porting, I was able to bring light to a truly stellar galaxy s4 to xda and it is flashable latest 5.0.1. Thank You for the Update of your Thread, so I can help get it to the people faster!
[AT&T Samsung Galaxy S 4 General] MasterXan:
Hi everybody,

I am currently using an AT&T Galaxy S4 running Android 4.4.4 on the NJ4 update. I want to update onto lollipop and onto the latest update (OK3). My phone is not unlocked. I am not looking to root or unlock any bootloaders. I know those updates are OTA but I am currently using the phone in Canada so that is not an option. Did anyone manage to grab the OTA updates leading to and including OK3?

Thanks.
[AT&T Samsung Galaxy S 4 General] guut13:
Everything you need can be found here...

https://xdaforums.com/galaxy-s4-att/general/guide-odin-to-stock-updating-rooting-t2926642
[AT&T Samsung Galaxy S 4 General] CAMERON1988:
In step 2 of the link am I going to download the link or choose anyone from NJ4.zip, OC2.zip, OC3.zip, OK2.zip, OK3.zip
[AT&T Samsung Galaxy S 4 General] guut13:
Updates are incremental. Decide which base you want to end up on, then download all the zips that you'll need to get to that base.
[AT&T Samsung Galaxy S 4 General] CAMERON1988:
I didn't find my baseband there "NJ5"
[AT&T Samsung Galaxy S 4 General] guut13:
The zip to get from nj4 to nj5 is there. If you are referring to something else, please explain further.
[AT&T Samsung Galaxy S 4 General] CAMERON1988:
Thanks, been already at NJ5 do I need to flash from NJ4-NJ5 or from NJ5 to something else? I don't know whether upgrading to stock lollipop will unlock my bootloader, I found an OTA lollipop package but my baseband NJ5 wasn't there. Am considering taking it to flashing center. The reason I can't do much on my own for now is that 'I don't have a PC yet so anything I will do will be done manually without a PC.
[AT&T Samsung Galaxy S 4 General] guut13:
1. Your bootloader is locked. Nothing you can do to your phone will change that.

2. Your best bet is to wait until you have a pc, Odin back to nb1 and start the update from there. Never heard of a flash center.

Good luck.
[AT&T Samsung Galaxy S 4 General] CAMERON1988:
Thanks man, I am very new on this, just want to learn but got the wrong phone to start with
[AT&T Samsung Galaxy S 4 General] su_me:
alternative method [No Flash Fire Necessary]

Lollipop Cheat Sheet

From Scratch...

1. Odin NB1 Base (rootable version)

2. Install Towelroot and root phone

3. Install SS 3.72 and reboot into recovery

4. Install SuperSU and reboot

5. Set Screen Timeout --> 10 min

6. Install Flashfire and launch

-- Press + for Menu

-- Select... Flash ZIP or OTA

-- Select... OC4 Stock Rooted ROM

-- Verify auto-mount is unchecked

-- Click... checkmark to continue

-- Select... EverRoot

-- Verify all options are unchecked

-- Click... checkmark to continue

-- Select... Reboot

-- Select... Download

-- Click... checkmark to continue

-- Click Lightening Bolt and then Ok to Flash.

-- Phone will reboot into Download Mode when done

7. On PC, open Odin

-- Flash OC4 Bootloader in AP slot

*** YOU ARE NOW ROOTED LOLLIPOP ***

8. Install BusyBox

9. Install SS 3.75 and then install recovery

10. Install NC1 Flasher, open it, and Flash

-- When Finished, Tap to reboot into SS

11. In SS recovery

-- Wipe > advanced wipe... all EXCEPT sdcard

-- Flash ROM

-- Flash OC4 Modules

-- Flash OC4 Kernel

-- Reboot

12. Install SS 3.75 and then uninstall recovery

To Flash another ROM...

Repeat steps 8 - 12

Prereqs:

Download

Odin, I337UCUFNB1_TWRootable_Full_Odin.tar.md5, and

I337_OK2_Bootloader.tar.md5 to PC.

Download

Towelroot-v3.apk, Safestrap-JFLTE-3.72-kk-B01, Safestrap-I337-3.75-KitKat-

A03, NC1_Flasher,

I337_OK2_Stock_Rooted_ROM.zip, ATT_OK2_modules.zip and

I337+OK2+Stock+KERNEL+Recovery+Flashable.zip to extSDcard.

1. Boot phone into "Download Mode" (power + volume down) then Odin NB1 Base (rootable version)

2. Enable unknown sources and USB debugging then Install Towelroot and root phone

3. Install busybox and supersu from play store (open both apps and install from apps) and SS 3.72 from extSDcard

4. Reboot into Safestrap recovery

5. Flash I337_OK2_Stock_Rooted_ROM.zip

6. Reboot to "Download Mode"

7. On PC, open Odin

-- Flash I337_OK2_Bootloader.tar.md5 in AP slot

8. Reboot to Safestrap recovery

9. Flash ATT_OK2_modules.zip and I337+OK2+Stock+KERNEL+Recovery+Flashable.zip

10. Reboot phone and select continue (multiple times) in Safestrap

*** YOU ARE NOW ROOTED ON LATEST LOLLIPOP ***

To change ROM or base version:

11. Install BusyBox

12. Install SS 3.75 and then install recovery

13. Install NC1 Flasher, open it, and Flash

-- When Finished, Tap to reboot into SS

14. In SS recovery

-- Wipe > advanced wipe... all EXCEPT sdcard

-- Flash ROM

-- Flash Modules

-- Flash Kernel

-- Reboot

15. Install SS 3.75 and then uninstall recovery
[AT&T Samsung Galaxy S 4 General] JT1510365:
how did you root ok3 with supersu may you please tell me how if you do i can make a rooted ok3 rom please explain everything in detail

---------- Post added at 03:14 AM ---------- Previous post was at 03:11 AM ----------

thats too sad and i wish we could unlock the bootloader we just need to find somebody that knows how to do it shouldnt be imposdible its just hard but i bet samsung knows how to unlock bootloaders
[AT&T Samsung Galaxy S 4 General] BBRecon:
Simple, I used kingroot (afterwards tried to remove it and replace it with SuperSU). But don't use kingroot, it's untrusted, and it's impossible to completely remove it as it behaves like a virus. To date, I found no solution to use only SuperSU to root it without the terrible workaround
[AT&T Samsung Galaxy S 4 General] SuperBrolySSJ:
Anyone still use this device?
[AT&T Samsung Galaxy S 4 General] Cliffhanger68:
I was using it happily, altho' it was slowing a little. It is still a good phone. I had to upgrade to a larger screen. I went with a Honor 6x.
[AT&T Samsung Galaxy S 4 General] toddk63:
Any advantage to NJ4 over NB1

I have a Galaxy S4 AT&T i337 with Safestrap 3.75 (Stock NB1 & Goldeneye KitKat on ROM slot). All working well.

Is there any advantage to running the one upgrade file (NB1 to NJ4) after the Stock NB1 install?

Is it possible to still having a functioning Safestrap if I do this?

I don't want to upgrade all the way to OK3 Lollipop because from what I read you have to jump through a lot of hoops to keep Safestrap (and your OK3) working.

Thanks,

Todd K.
[AT&T Samsung Galaxy S 4 General] guut13:
Sorry. Just saw this now.

If you are running a ROM, then there is no point to updating. Best to stay on the base that matches the ROM.
[AT&T Samsung Galaxy S 4 General] :
:laugh: I trying them all out, it's my first taste at roms. So addicting
[AT&T Samsung Galaxy S 4 General] conyey:
Anyone know of a root for our NB1'ed S4's? And if/when one will be available? Love kit Kat, miss my root capabilities.
[AT&T Samsung Galaxy S 4 General] DeadlySin9:
No root yet. If there was one it would be well known. Also, asking for ETA's on anything is against the XDA guidelines.

Sent from Black<3's I337 running Foxhound ROM
[AT&T Samsung Galaxy S 4 General] gottech:
full nb1 odin files

4 tar files

https://www.dropbox.com/s/bmp5ple7s...505595_REV06_user_low_ship_MULTI_CERT.tar.md5

https://www.dropbox.com/s/6k6ssbbwb...505595_REV06_user_low_ship_MULTI_CERT.tar.md5

https://www.dropbox.com/s/mvwd2rsnv...505595_REV06_user_low_ship_MULTI_CERT.tar.md5

https://www.dropbox.com/s/0ozo4q9kf...505595_REV06_user_low_ship_MULTI_CERT.tar.md5

all in one tar file

https://www.dropbox.com/s/dwepjrv3k...505595_REV06_user_low_ship_MULTI_CERT.tar.md5
[AT&T Samsung Galaxy S 4 General] guut13:
And good morning to you, too! That was quick.

Looks like the OP needs to be updated again. :D

Thank you
[AT&T Samsung Galaxy S 4 General] gadget069:
Awesome! Just need root and we're golden.
[AT&T Samsung Galaxy S 4 General] guut13:
OP Updated.

NB1

added Restore to NB1 section.

cleaned up a few other sections

MK2

Insanity Rebirth updated to v1

Consolidated "install by zip" ROM sections. (Just trying to condense the OP as much as possible for when NB1 opens up.)
[AT&T Samsung Galaxy S 4 General] tehtechnoguy:
So with this new NB1 downgrade, it doesnt get you CWM to install things other than touchiz 4.2.2 roms for safe strap correct?

Its only if youre bricked, or updated to 4.3 or 4.4?

To clarify, my ATT S4 is on mf3, and my only recovery options are still just safestrap and certified safe strap roms?
[AT&T Samsung Galaxy S 4 General] guut13:
The downgrade is only to go from NB1 (4.4.2) to MK2 (4.3). At present time, you cannot go back to MF3 (4.2.2).

You are right about safestrap. Its the ONLY recovery for 4.2.2 and 4.3.

If you are on 4.2.2 you can flash other 4.2.2 touchwiz based roms AND 4.2.2 google play edition roms. Once you upgrade to 4.3, you can only flash 4.3 touch based roms (All the roms from the OP.)
[AT&T Samsung Galaxy S 4 General] bbarber9:
Hey DeadlySin9, have you had any issues with group messaging in foxhound ROM? That was my favorite ROM but for some reason group messages weren't getting to me. :/
[AT&T Samsung Galaxy S 4 General] guut13:
One more OP Update today...

2 more ROMs to add from the Verizon forum. Both are ports by [MENTION=3618916]gigilie[/MENTION]. I tested all versions on both ROM and Stock slots. Same instructions as the rest... Flash ROM install zip and then MK2 modules

BLUMAK2000 3.1 gV1

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

gDux v1.0 Slim version

gDux v1.0 Full version

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

Note: If flashing Full version, switch the keyboard from DE to ENGLISH in input settings

Note: After flashing Slim version in stock slot, you will need to reinstall safestrap.
[AT&T Samsung Galaxy S 4 General] DeadlySin9:
I didn't use group messaging, and I'm actually on Black Box now, but if you mean like MMS group messaging then i know i never had problems with normal MMS at least. I'm actually not getting MMS on blackbox now ;P.
[AT&T Samsung Galaxy S 4 General] Maribou:
I was just about to ask you how you liked blackbox because I was wanting to try it.

No MMS though? That's a deal breaker for me. :(
[AT&T Samsung Galaxy S 4 General] dave5777:
Mms worked fine when I ran it you have to use the proper APN settings.
[AT&T Samsung Galaxy S 4 General] Maribou:
Sweet! Thank you I'm downloading now.
[AT&T Samsung Galaxy S 4 General] Maribou:
WiFi is working great after the 4.4 downgrade to MK2 on SHOstock v3.1 ROM with [MENTION=2471504]jeboo[/MENTION] 's bypasslkm exploit.

Moving the bypasslkm file to /system/etc/init.d folder and modifying the install-recovery.sh has it working after every reboot.
[AT&T Samsung Galaxy S 4 General] DeadlySin9:
I have my APN the same as it's always been. For some reason it would come in with a notification for the SMS, but then it wouldn't actually show up. I tried reflashing and hopefully that will clear it up.
[AT&T Samsung Galaxy S 4 General] gigilie:
Unless your doing a clean install vs a dirty reflashing wouldn't be your issue... I'd check and make sure your using proper MMS APN settings and that the messaging app from whatever version your using of blackbox is compatible or doesnt maybe have internal apns set in the messaging app itself. If those two things don't fix the error reflash modem mk2 and modules restart and bet that's all it could possibly be but it's software / APN issue my opinion that's a quick fix data/WiFi/GPS/phone/MMS issue one of the things I need to do for every rom not specifically developed on or for my specific model number and normally current base but now there's all these patches flying about so you can add a step in a final given her all she's got would be flashing the modem And system files from that carrier or and or base then retrying the ROM with settings its dev says are and then revert it piece by piece back to your device / carrier. But one thing you definitely should try is to flash any compatibility pack or u could even try a MARC pack ive been working on for a while now....over any initial install you have for any ROM ported or imported from, for your phone with upto date apns and necessary carrier system files the flash your modem apnholos and lastly your modules I believe nb1 are the newest but ss modules should match up to Base of whatever ROM mk*_=:mk2, etc.

of course before posting an issue or problem especially with something like this when your still able to load the ROM would be make a logcat. Send yourself one of these messages your not receiving save the log as a text maybe zip it if length is an issue and post it. With a log I could tell you in 5sec why your not getting what everyone else is and another search if I didn't know off top of my head would tell me your problem and how to fix if possible in great detail usually via a great developer on xda or similar.

Search and fix your self any ROM that runs can run bug free or be ported to your phone pretty general statement but true.
[AT&T Samsung Galaxy S 4 General] guut13:
GoldenEye updated to v21 safestrap edition. Installed without issue on ROM and Stock slots. ATT MK2 Modules are included in ROM, so just flash and enjoy. Thanks [MENTION=1380660]iB4STiD[/MENTION]

Goldeneye v21 Safestrap Edition -- ATT -- XXUENAA -- 3.9.14

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

And... Getting Closer...

Thanks [MENTION=3781107]nickscap[/MENTION] for your post.
[AT&T Samsung Galaxy S 4 General] Maribou:
This is AWESOME news! [MENTION=631273]Chainfire[/MENTION] is a beast!
[AT&T Samsung Galaxy S 4 General] Ideas_:
I have a s4 at&t i337 NB1 rooted with towelroot and using safestrap, is there anyway I can get marshmallow on this device?
[AT&T Samsung Galaxy S 4 General] guut13:
Nope.
[AT&T Samsung Galaxy S 4 General] TheGingerSage:
The device is locked that's why you have to use safestrap. The second you install custom code with that you will be locked out of the device and it will say take to attend store to fix. I337 only supports stock ROMs and marshmallow was never released for this device
[AT&T Samsung Galaxy S 4 General] CAMERON1988:
Please I have SG4 att NJ4 and I want to install safestrap and flash a stable custom ROM I need guide pls on which ROM to flash

---------- Post added at 07:34 AM ---------- Previous post was at 07:17 AM ----------

Root the device with kingroot v4.5 then download SuperSUme v6.0 launch the SuperSume by tapping on the blue circle and grant it root access then it should successfully remove kingroot and replace it with SuperSu
[AT&T Samsung Galaxy S 4 General] BitterCynic:
Been trying to follow some guides to install a 5.0.1 rom on my S4 but they're all dated and fail me at some point.

My bootloader is a locked NC1 (says so from running a command in terminal emulator)

The phone was already rooted when I bought it used a few days ago

I have flashed safestrap 3.75 and installed superSU 2.82

Flashfire crash closes once it reaches a "checking for pro" or something like that

[IMG="About device"]http://www.datukaste.lv/index.php/apps/files_sharing/ajax/publicpreview.php?x=1504&y=599&a=true&file=Screenshot_2018-09-18-01-43-10.png&t=hvbkL9oAaKCIUzn&scalingup=0[/IMG]

Gotta say, I'm not all that impressed with the state of this forum and the android world in general. All the new phones have been progressively becoming more like iPhones (in every bad way), Google still dominates with its play store, developers on xda use some shady filehosting instead of google drive, lots of dead links. It almost looks like it'd be more feasible to design my own phone with blackjack and hookers instead of hoping for something decent out of this industry.