yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 General] jonsun1:
Appreciation

I WANT TO SAY A BIG THANKS TO MUNIZ_RI FOR SUCH A WONDERFUL PERSON HE HAS BEEN AND FOR THIS POST ASWELL AS HELPING ME UNBRICK MA I337. DEEPLY APPRECIATED.

NONE THE LESS I'M STILL GONNA WANT TO GET TO THE LOLLIPOP UPDATE...LOL.....GUIDES PLS...LOL

THANKS SO MUCH [MENTION=4708661]muniz_ri[/MENTION]:good::good::good::good:
[AT&T Samsung Galaxy S 4 General] Maribou:
I'm not hip to the new lollipop security measures, but had anyone tried disabling selinux?

I tried, but "su 0 setenforce 0" isn't working.
[AT&T Samsung Galaxy S 4 General] jorgeg73:
Will this work whit 5.1.1?

Thanks
[AT&T Samsung Galaxy S 4 General] churapa:
Is the official version 5.1.1 out?
[AT&T Samsung Galaxy S 4 General] jorgeg73:
No, custom rom.
[AT&T Samsung Galaxy S 4 General] alexsoin:
I have stock rooted and unlocked (following this great guide) NB1 i337 4.4.2 with Safestrap. So TMobile's 4G LTE works now prob but I want Lollipop. Will I bee able to unlock my cell after flashing OC3? Did anyone try it? Is there anyway to install Xposed on Lollipop, I read it doesn't work for Lollipop samsungs :(
[AT&T Samsung Galaxy S 4 General] jonsun1:
wheew!

thanks to muniz_ri i have been able to flash to the lollipop update and im enjoying it....

Two problems tho is that:

1) wifi NOT working

2) baseband is still I337 ucufnb1

ANY SUGGESTIONS FOR ME

EDIT

thanks people, i reflashed it and everthing works fine, special thanks to [MENTION=4708661]muniz_ri[/MENTION]...and all that have one way or the other contributed to this thread.....ur failures and successes have been helpful in coming this far! thanks
[AT&T Samsung Galaxy S 4 General] alexsoin:
for everyone who's interested in updating to Lolli by flashing OC3 and keep i337 unlocked here's a link with the great news!!!
[AT&T Samsung Galaxy S 4 General] mwj2996:
Does tethering work with this version?

Never mind I found it
[AT&T Samsung Galaxy S 4 General] alexsoin:
How did you fix tethering? Are you on AT&T?
[AT&T Samsung Galaxy S 4 General] mwj2996:
In this threat there is a link for Tethering. Once you flash the rom then you can flash the tether. Yes I'm ATT.
[AT&T Samsung Galaxy S 4 General] sahively:
Odd way to threaten
[AT&T Samsung Galaxy S 4 General] big.simba:
It looks like the custom logo is caused by "device status: custom" (or "system status: custom").

I've tried triangleaway. It can reset the flash counter back to 0 (although in my case it has always been at 0). It doesn't offer an option to convert "device status" back to "normal".

If anyone knows how to fix this, please reply and thanks in advance.
[AT&T Samsung Galaxy S 4 General] big.simba:
If anyone here wishes to change the physical "menu" button to a "recent apps" button (like on the S5 and newer), I found a semi-working solution:

1. Install any root explorer app and use it to

2. Go to system/usr/keylayout and open Generic.kl

3. Change values "139 MENU" with "139 APP_SWITCH"

4. Save and Reboot.

This replaces the menu button with the recent apps function.

However, the menu icon (also called "action overflow" icon) does not appear in apps.

How can I make the apps know that there is no menu/"action overflow" button so that the "menu/"action overflow" icon will appear in apps?
[AT&T Samsung Galaxy S 4 General] stuffinthesky:
Made my day!
[AT&T Samsung Galaxy S 4 General] martea_roma:
hello!

can I use this to flash LP on i337 mk2 MDL baseband running android 4.4.2 Goldenfinger?

Thanks!
[AT&T Samsung Galaxy S 4 General] mwj2996:
[/COLOR]

Obviously can't type on my S5 and auto correct is not your friend!:D

---------- Post added at 04:41 PM ---------- Previous post was at 04:38 PM ----------

Glad I made you smile! Typing on the S5 was not a good idea for me last night when I responded.:D
[AT&T Samsung Galaxy S 4 General] mmalka:
This may be a stupid question, but I will ask anyway: is there any way to deodex just the email app (SecEmail_K\SecEmail_K.apk) and the Exchange app (SecExchange/SecExchange.apk) as this ROM has not been deodexed yet?

I ask because I use a hack available at XDA that removes the keyguard and other security policy restrictions, but it only owrks for deodexed.

Anyway, great work and my thanks to every one who contributed to this effort!
[AT&T Samsung Galaxy S 4 General] nickhaven:
Does anyone have a working link to the partitions file? I know the method has gotten easier but I need that file for testing on a ROM.

Edit: Found a copy
[AT&T Samsung Galaxy S 4 General] macasus76:
Did you happen to read this....

http://xdaforums.com/showthread.php?t=2967242
[AT&T Samsung Galaxy S 4 General] mmalka:
Yes, I did and tried both the instructions provided and the batch tool. Following the instructions, it worked on the SecEmail_K.apk and failed the SecExchange.apk.

Then I used the batch tool and it failed on SecEmail_K.apk and worked on SecExchange.apk.

I then took the successful copy of each, loaded back into their respective System folders and rebooted the phone. I kept getting a message stating that email stopped working.

I had a backup of the folders, restored them to no avail - still getting the message that says that email stopped.

Any ideas besides reflashing the ROM?

PS: Please ignore my signature below. I have yet to update it.

Thanks
[AT&T Samsung Galaxy S 4 General] Tank87:
custom ROM? any luck?
[AT&T Samsung Galaxy S 4 General] enoch1985:
I was able to flash the albe rom and GE everything working good except root. For some reason I lost root with both roms and I haven't being able to re-rooted with any method
[AT&T Samsung Galaxy S 4 General] Tank87:
damn... let us know if you've got it working. BTW do you know if this method locks the bootloader forever preventing downgrading and installing custom roms? I getting conflicting answers to this question
[AT&T Samsung Galaxy S 4 General] enoch1985:
You can alway downgrade to I337UCUFNB1 using Odin I have done it several times. Only be aware of triggering Knox.
[AT&T Samsung Galaxy S 4 General] Tank87:
are you running 4.4.4 or 5.0.1? if 4.4.4 are you rooted and do you have a custom ROM installed?
[AT&T Samsung Galaxy S 4 General] enoch1985:
Running 5.0.1 new bootloader I'm rooted running stock room by muniz at the moment but I've tried a couple custom roms using safestrap and flashfire the only issue is that when I flash a custom rom I lost root for that reason I'm back to stock room but I'm able to goback to 4.4.4 through Odin if I need to
[AT&T Samsung Galaxy S 4 General] nickhaven:
It's the Google Play Edition/Super Nexus 5.0.1 ROM. I am not having much luck with getting a log from the current build (from joe-tech) we are working with. I am doing some reading about the update script now because I think I have flashed this build every different way possible. Safestrap, FlashFire, flashing with positions, modules, mixing it with odin flashes... My s4 has the Sim card tray issue so it is no longer my daily driver.
[AT&T Samsung Galaxy S 4 General] Tank87:
are you also losing root when you flash this? I'm so unhappy with Touchwiz that i'd sacrifice root lol
[AT&T Samsung Galaxy S 4 General] vietnight:
CWM or TWRP

Can anyone help me.

I got 5.0.1 install with root everything work.

What i need is to to install CWM or TWRP i try flashing couple bootlooder but it didn't work, so i end up flash bootload from file 5.0update.zip covert boot.img to odin flashable file.

Anyone have best solution to install CWM or TWRP? Phone is already root.

Thanks.
[AT&T Samsung Galaxy S 4 General] nickhaven:
Well the 4.4.4 version of the gpe/sn is great stock with root, is great on battery, and best part is no TouchWiz. I would give it a try if you have never had stock Android.

The gpe/sn 5.0.1 version is not there yet. Bootloop issues and I can't seem to get logcat running but I don't think it will be published without root.
[AT&T Samsung Galaxy S 4 General] Abdal Asif:
Want update for lollipop 5.0.1

Good Day!

Dear XDA-Develpoers,

please help me out, i am new in this and stuck with the firmware 4.4.2 and want to update 5.0.1. I have AT&T S4 GT-19500 or you can say SGH-1337 not confirmed as in the attachment my phone setting shows I9500 whereas when i am in ODIN mode(Download mode) it shows the product name as SGH-1337. The frimware version i am usin is ZDUGHND1 which was released for china. I believe my phone is also asembeled in China as its CSC is I9500CHNGND1. I tried to flash this official firmware from sammobile's link: http://www.sammobile.com/firmwares/database/GT-I9500/CHN/ but when i flash it after following the exact instruction it is throwing an error of unsupport_dev. In the Odin it is giving the following error:

<id:0 006=""> Added!!

<osm> Enter CS for MD5..

<osm> Check MD5.. Do not unplug the cable..

<osm> Please wait..

<osm> I9500ZCUJOC3_I9500CHNJOC3_I9500ZCUJOC3_HOME.tar.md5 is valid.

<osm> Checking MD5 finished Sucessfully..

<osm> Leave CS..

<id:0 006=""> Odin engine v(ID:3.1005)..

<id:0 006=""> File analysis..

<id:0 006=""> SetupConnection..

<id:0 006=""> Initialzation..

<id:0 006=""> Get PIT for mapping..

<id:0 006=""> Firmware update start..

<id:0 006=""> SingleDownload.

<id:0 006=""> sboot.bin

<id:0 006=""> NAND Write Start!!

<id:0 006=""> FAIL!

<id:0 006="">

<id:0 006=""> Complete(Write) operation failed.

<osm> All threads completed. (succeed 0 / failed 1)

<id:0 006=""> Removed!!

Even i checked my bootloader if it is enabled but no i believe it is disable. I search out some xda-threads where it is mentioned that if in download mode the phone shows CSB-CONFIG-LSB: [sum] than your bootloader is disable and my phone shows the same as like CSB-CONFIG-LSB: 0*30. anyways i have gave up trying to install the official frimware manually but still i have intentions to get 5.0.1 so decided to flash a custom ROM from here can you please guide me should i go with the same procedure you posted or it will throw the same error :crying: please advise!!
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Download the Phone INFO app and check your bootloader version.
[AT&T Samsung Galaxy S 4 General] alexsoin:
everything went incredibly smooth, huge thanks for the manual. sgs4 i337 runs great on rooted oc3 5.0.1!
[AT&T Samsung Galaxy S 4 General] Abdal Asif:
Bootloader verion

[MENTION=4708661]muniz_ri[/MENTION] my bootloader version is I337UCUFNB1
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Then you do have an I337. You can use the process in the OP.
[AT&T Samsung Galaxy S 4 General] Abdal Asif:
Confirmation

Thanks :D :o [MENTION=2504548]Muniz[/MENTION]_ru i will try it and also last thing i am using an other carrier on my phone instead of AT&T will this ROM going to restrict using other carriers? will i have to unlock it again? Also is my bootloader deactivated so should i proceed ? :confused:
[AT&T Samsung Galaxy S 4 General] muniz_ri:
No, flashing ROM's/firmware will not relock your sim.
[AT&T Samsung Galaxy S 4 General] Abdal Asif:
Turn Off Write Protections

Also please advice or post a link to deactivate write protection for s4 SGH1337 because the app flashtool is asking to disable it before its use.

Thanks in advance :good:

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

Thanks again [MENTION=4708661]muniz_ri[/MENTION] but you didn't told me about the bootloader is it deactivated?
[AT&T Samsung Galaxy S 4 General] chap_man:
Hi [MENTION=4708661]muniz_ri[/MENTION],

i am pondering on upgrading i337 on FNB1 with SafeStrap and Root access (saferoot) with tether add on to OC3 as per this post. The OP mentions the bootloader will be upgraded to OC3 if I take this route. In future would it be possible to go back to a lower version of bootloader without tripping Knox? Dont know if I ever want to go lower version. but also would like ot know if it does good to upgrade the bootloader to OC3.

if I make a back up of data/cache using safestrap, will it be possible to restore those to OC3

Thanks in advance for all your work!

cheers!
[AT&T Samsung Galaxy S 4 General] SoonerLater:
Odd question, but...

....if you have installed Lollipop on your S4, do you like it better?
[AT&T Samsung Galaxy S 4 General] nickhaven:
If you are talking stock only, no xposed framwork, then I like it better. It's a bit snapper and better with the battery than the stock 4.4.4 release

But for me I am either going to upgrade back to lollipop when xposed is working or the custom Google Play Edition is working.
[AT&T Samsung Galaxy S 4 General] macasus76:
Did you wipe cache and dalvik cache afterwards? Set permissions?
[AT&T Samsung Galaxy S 4 General] cutmylifein2:
i have rooted the phone using motochopper and installed aosp rom using twrp

..can i flash the lastest official lollipop rom just by putting it on the sd card and flashing it in a normal way
[AT&T Samsung Galaxy S 4 General] uvbeenburned:
need help wifi and hot spot won't turn on
[AT&T Samsung Galaxy S 4 General] DeadlySin9:
Use the oc3 rom from the development section so you don't overwrite bootloader or anything. But yeah, you can flash normally, just not with these files.

Make sure you installed the stock partitions so that you have the correct modem and kernel.

Sent from my SGH-I337
[AT&T Samsung Galaxy S 4 General] chap_man:
OC3 upgrade questions

Hello XDA,

i am thinking of upgrading my i337UCUFNB1 with SafeStrap and Root access (saferoot) and tether add on to OC3 per OP which mentions the bootloader will be upgraded to OC3.

I have a few questions

1. Can a back up of data/cache done using safestrap be able to be restored after upgrading to OC3

2. In future would it be possible to go back to a lower version of bootloader without tripping Knox? Don't know if I ever want to go lower version. Should I be concerned

3. but also would like ot know if it does good to upgrade the bootloader to OC3.

thanks
[AT&T Samsung Galaxy S 4 General] dothanhthuy_haui:
Add language Vietnamese

I want add language Vietnamese. I use root explorer --> system --> CSC and open edit file Language.xml add vi_VN. But not add language Vietnamese in the setting.
[AT&T Samsung Galaxy S 4 General] Abdal Asif:
Finally Got It

[MENTION=4708661]muniz_ri[/MENTION] Thanks again every thing went smooth and is running good for now the only issue i have is with the network. In 4.2.2 there is an option to chose the network mode weather you want to be on 3G or 4G. In my area 4G isn't good at all that's why i always chose CDMA mode on 4.2.2 which was convenient for me whereas in 5.0.1 i am not able to chose it and most of the times my phone shows me no signal :( any idea to sort this out :confused:

Thanks in advance
[AT&T Samsung Galaxy S 4 General] deandrefortune:
Hi guys ..i followed the guidelines and i was able to flash successfully..however the phone is not booting. When i power it up and the “ samsung galaxy s4“ is displayed it gets stuck and stays like that ..i was originally on NB1 before i flashed. Kindly help me out.
[AT&T Samsung Galaxy S 4 General] vietnight:
use language enable to change it to Vietnamese reboot, but with lollipop it does not enable it, but you still have Vietnamese language.
[AT&T Samsung Galaxy S 4 General] mmalka:
Yes. No luck. Ended up having to reflash the ROM.
[AT&T Samsung Galaxy S 4 General] s629c:
Sounds like a softbrick. Probably have to just try again

Sent from my SAMSUNG-SGH-I337
[AT&T Samsung Galaxy S 4 General] chicinwang:
The mirrors for the rootable nb1 and rooted OC3 are not working for me. And I've tried it on 3 different browsers.
[AT&T Samsung Galaxy S 4 General] CrossBones3129:
Was this guide edited? I'm pretty sure I followed this guide when Lollipop first came out but the files I have downloaded aren't similar to the ones you have listed.
[AT&T Samsung Galaxy S 4 General] peter_ff:
soft brick after trying this update

Tried this and soft-bricked my s4. Obviously did it wrong. Stuck in boot loop. Suggestions appreciated.
[AT&T Samsung Galaxy S 4 General] Long Island NOOBIE:
Get device back into download mode and ODIN back to 'I337UCUFNB1'. Slowly follow all instructions to the letter. Good luck!
[AT&T Samsung Galaxy S 4 General] vietnight:
i got my boot loop also, but i wipe the phone again, reflash boot.img with odin, image file from 5.0update\2400258.cfg\ convert .img to flashable odin in AP, after that it boot up and do the setup.
[AT&T Samsung Galaxy S 4 General] dohdies:
Successfully updated. Anyone knows how to enable AWS for this rom?

I change the usb mode but the PC won't recognize the phone. Thanks.
[AT&T Samsung Galaxy S 4 General] jroq8400:
I am looking for the link to your I337_OC3_Stock_Partitions.zip file but I get a 404 file not found. Did you move it or removed?

Thank you!!
[AT&T Samsung Galaxy S 4 General] AintHurtinNobody:
Encryption

As many others have said, great work, muniz_ri.

Also like others, I apologize if I missed the answer to this question (I've looked and can't find it).

My company's Exchange enforces data encryption. I used SafeStrap on 4.4.4 and Xposed to bypass (since I couldn't encrypt due to SS), but that's not an option with Lollipop yet.

So is there any reason I can't encrypt data with the stock ROM rooted using Flashfire?
[AT&T Samsung Galaxy S 4 General] racerx002:
Can't download any files for safestrap update process.
[AT&T Samsung Galaxy S 4 General] gefi:
Guys help , tried this three times . First time i was on nb1 rooted , then i just followed the steps . Flashing goes smooth phone restarts , and i get "SYSTEM SOFTWARE NOT AUTHORIZE BY ATT FOUND ON YOUR PHONE" and in the upper left corner with redsays "KERNEL" . Went back downloaded I337UCUFNB1_Rootable_Full_Odin.tar , flashed it with odin (everything smooth again) , rooted with towelroot and again with the steps to OC3 . 2 times in a roll then and again i get the same thing ... Someone help out ...
[AT&T Samsung Galaxy S 4 General] talvigi:
Yes dear these posts as well as files are being edited after every major change so they can be different.

---------- Post added at 01:19 PM ---------- Previous post was at 12:24 PM ----------

@gefi you need to read the post again and this time more carefully. Like, if you are just for now thinks brick and you have to start over again start from last steps of the post the ones which says Notes:

And then you need to start from Required:

And in the last Instructions: [MENTION=4708661]muniz_ri[/MENTION] made it very Clear step by step but you know is not always fit for us end users we always sometimes have other situations than they have and they are devs man . Thanks Muniz and his team for their great work
[AT&T Samsung Galaxy S 4 General] lvl5accelerator:
Mobile data dead...?

Looks like this hasn't happened yet to anyone in this thread, but after updating to Lollipop, I can't connect to mobile data anymore. I can still make calls and send messages, so I'm thinking it could have something to do with the modem. I've already downloaded the zip file for the OC3 and NJ4 modem, but now I'm stuck with no clear way of flashing it. Does anyone know what went wrong in my upgrade or have any tips? Anything will be appreciated.

Edit: I managed to fix it by manually setting my T-Mobile APN Settings.
[AT&T Samsung Galaxy S 4 General] AintHurtinNobody:
Just in case anyone else happens upon my question above, the answer would appear to be "no." I let it encrypt, and it restarted and went to a black screen with the notification light, menu and back button illuminated. Left it like that overnight, and it was the same approximately 10 hours later. Restarted (by taking battery out) and it said encryption had failed and erased my data (but left the system intact). Maybe it hadn't finished yet, but 10 hours seems too long to encrypt.
[AT&T Samsung Galaxy S 4 General] gefi:
Well , went back and nothing ... Followed everything to the dot and same thing happens...

Process - Flash NB1 Rootable with odin , take the NJ4 ota update - install nc1 kernel root then back to nj4 kernel , then oc3 and NOPE!

Then again - Flash NB1rootable with odin , this time safestrap method for NJ4 - then OC3 and again NOPE....

I just cant get what i am missing
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Although it should work from any build, no need to go from NB1 to NJ4 first. I have gone from NB1 then directly to OC3 many times while testing by following the process in the OP.
[AT&T Samsung Galaxy S 4 General] gefi:
Tried it direct from NB1 before , but after the mate above mentioned to read carefully that was the only difference i saw , so i figured i had to be on NJ4 to make it work .. but nope :(
[AT&T Samsung Galaxy S 4 General] muniz_ri:
I have this same guide for other devices and variants and see this issue reported for every 75 - 100 downloads. I did extensive testing today and have been unable to determine if the issue is with FF or other. Anyway, I am still testing and am uploading new ROM's across the board. I will post them tomorrow. You should wait and try again then.
[AT&T Samsung Galaxy S 4 General] gefi:
Ok mate , Thanks . I will i am not using the phone as is so i can test all i want :) Please just tag me if you put the rom in a new thread so i can see it and test.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
The new ROM is now in the OP. Let me know how it goes. Thx
[AT&T Samsung Galaxy S 4 General] gefi:
Reporting for duty :) HUGE THANKS MATE , this time everything went smooth like a butter . Only difference from the guide in the OP is that when i waited 1-2 mins on the ATT logo , it did not reboot ... Got to play 2-3-4 mins with it , is this a true OFICIAL ROM , cause i see quite some differences between this and the s5 lollipop version ... Or is it meant to be like that ?

Again , huge thanks !
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Glad things worked out. And yes, the ROM is completely stock except for root access.
[AT&T Samsung Galaxy S 4 General] fumanchu_1973:
I'm ready for this upgrade! I've been stuck on 4.2.2 rooted with no OTA. I only use my phone and pro tab, so I can't use Odin tether update. So I'm going to be doing this Flashfire!

So my question is, can I flash I337_OC3_STOCK_ROOTED_ROM.zip onto 4.2.2? Or do I have to build it onto the other updates?

I want to be able to use Flashfire throughout the whole process.

Please help!
[AT&T Samsung Galaxy S 4 General] mmalka:
I had exactly the same problem. Left it running for over 12 hours. Ended up having to reflash the ROM and use MailWise meanwhile to avoid the encryption and still get my work e-mail.

---------- Post added at 05:12 PM ---------- Previous post was at 05:08 PM ----------

What is the difference between this new ROM and the previous one posted?
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Made minor edits to the updater script.
[AT&T Samsung Galaxy S 4 General] AintHurtinNobody:
I too found Mailwise, which also appears to take care of my problem. I like the interface better than the stock email app anyway, and it's better than Enhanced Email (which has apparently been abandoned by its developers) that I had used before Xposed in order to bypass Exchange.

Still anxiously await Xposed getting figured out for these Touchwiz devices.
[AT&T Samsung Galaxy S 4 General] ozz200127:
Wat new ROM?
[AT&T Samsung Galaxy S 4 General] macasus76:
Post #492 ^ he edited the updater script. ......