yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] d800d00d:
Android Basics 101: Understanding Xposed Framework (video)

Xposed - General info, versions & changelog

[MENTION=7504944]clgt[/MENTION] and [MENTION=7544973]AWildGamer[/MENTION] Sorry for the delayed response. Did you figure out what you wanted to know? Do you still have questions?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] d800d00d:
Awesome, thanks for following up! :good: I haven't tried this myself yet, and I'm not sure if/when I'll get around to it. But if arter97 says to use rovo89's uninstaller, and you confirm that it works, I'll take your word for it.

As for the newer framework, dkcldark refers to it in his thread as a "beta version," and I'm not sure how much testing or future updating there will be. So for now I've left the original instructions in my guide using arter97's framework. But I've added dkcldark's framework as a footnote under

Installing Xposed

. It might be hard to find, but I figure that way people who don't read the entire guide and don't really know what they're doing won't be able to find it and screw up their install, lol.

If [MENTION=4898097]arter97[/MENTION] has no plans to update his framework to a newer version of Xposed (Version 86 just came out, btw), and if [MENTION=2715309]dkcldark[/MENTION] confirms his framework as stable, then I'll rewrite the

Installing Xposed

section of my guide to use dkcldark's as the primary framework.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Crystalpnk:
On the Best Buy thing, they explained it to me that they don't actually flash it, it just reinstalls the OS or something like that.

I have gotten used to root, there are xposed that I use and the only reason I know about it is when I first got the phone I was trying to tether and it would not work - I downloaded xposed and x tether and everything worked. Snapchat has been a problem as I guess they check for xposed installed on your phone. Although I hear if you install and log into snapchat and then install xposed then this is not a problem.

In all to answer your question, I would like to stay rooted. You said in option 2 "flash back to stock and follow this guide's . . ." Is stock required in order to follow this guide? Or could I start with the firmware update (step 3)?

I have Titanium Backup, which says I have root access as well as the 3 xposed I currently have running - but should I run a root checker to be sure? After posting I also figured out what baseband I currently have - which is NB1.

Also, you talked about future OTA updates that there would likely not be any - is it possible to update an S4 to 6.0? I'm not saying it something I'd want to do now but in the future is it/would it be possible?

Thank you very much for your help!
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] d800d00d:
Huh, I don't use Snapchat so I hadn't heard about it checking for Xposed during the install. That's so weird.

No need to run a root checker. If you've got Xposed running then you're definitely rooted.

Is stock required in order to follow this guide? No, sorry for the confusion. You can start this guide whether you have a stock or custom ROM. It also doesn't matter whether you're currently rooted or unrooted. You'll end up with a stock, rooted firmware if you follow the guide.

I have a SGH-I337 AT&T running NB1. I bought it rooted. Is it safe to skip to the firmware update (step 3)? Everyone following this guide needs to read the

Purpose

and

Disclaimer

, and then do the

Prep Work

and

Backing Up Your Phone

steps. No exceptions.

You only need to do the

Downgrading Firmware

step "If your firmware must be downgraded in order to root." You're already rooted, so you skip this step.

Proceed to the

Rooting and Upgrading Firmware

step. Do Step 1, skip Step 2, then proceed to Steps 3-7. After that you can decide for yourself if you want to do the

Installing Xposed

,

Removing Bloatware

, and

Resetting the Flash Counter

steps. Just remember to install Snapchat before you install Xposed. :p

Is it possible to update an S4 to Android 6.0? In the future is it/would it be possible? At present, there are some custom ROMs for the S4 based on 6.0, but good luck finding one you like. Personally, I prefer stock ROMs with Xposed. Will AT&T ever release a 6.0 (or any other) OTA update for S4s in the future? It may be possible, but I'm not holding my breath. If they do, then yeah of course you could update to it. The actual OTA would be blocked if you followed my guide, but that's a good thing because the update would most likely defeat your root if you OTA it. You'll probably want to wait first for someone to find a way to root it (or more likely, find a way to flash the update without losing root).
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Crystalpnk:
I look forward to doing this in the next few days, thank you very much for your help and patience in clarifying things for me. I backup my phone fairly frequently, been having an issue with it so I just backed it up yesterday. All Media, contacts . . . I also backed up my apps with titanium backup but as I have read that it may not be compatible when updating os.

I do have 3 last questions, 1. This is probably a dump question. It says install the latest samsung drivers - my phone connects to my computer fine, I've actually have had problems with the newest drivers (about a month ago) so should I see what happens with the latest drivers or is it safe to continue as the phone does connect to the pc? 2. When I start this process and download and flash the rooted OK2 rom should I be connected to the pc during this whole process or connect to pc once I am in download mode and ready to use odin? 3. So the OK2 rom goes on the SD card to be flashed, I have extra Sd cards can I use one of these extras so I don't have to worry about the loss of any data on my SD card or are files stored on the SD card when flashing that requires the continual use of the same SD card?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] d800d00d:
Hey [MENTION=7105500]Crystalpnk[/MENTION] those sound like the questions of someone who already has all the information they need to get started, but maybe is still a little too nervous to dive in. ;) So I'll just say: don't worry, none of those things are going to derail the process. You can do it, best of luck, let me know how it goes! :good:
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Crystalpnk:
Did it, worked great. Had a problem with odin seeing the phone - downloaded the latest drivers and it worked. I'm downloading my apps and all the personal data now. Thank you very much for all your help and answering all my question - I know I had alot!
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] d800d00d:
Right on, very good to hear. Knew you could do it!
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Llaizor:
Hello, I was looking for a thread like this for a long time but now I have a problem.

Now I'm running my S4 SGH-I337 on 5.0.1 OK2 rooted (just perfect!) But now I'm at ''Installing Xposed'' Step3

When I download the ''Xposed Installer APK'' Its a ''.ZIP file'' so when I put that file in my SD don't let me install it so I cant continue.

What can I do ? (into the .ZIP file I don't see any ''APK file'')

Sorry for my english.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Crystalpnk:
I was wondering, I used toucher pro and now that I upgraded the data on/off feature doesn't work anymore. Is that because of the update? Is there a way around it?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] oiphal:
Would this method work with any 5.0 tw att ROM? My battery life on this stock has been awful and for some reason the charging is much slower than on custom Roms.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Ra3zor0:
Can I skip to the rooting and upgrading firmware step if I have a rooted, ODEXED, 5.0.1 lollipop with OK2 baseband? In other words, can I start at the part for deodexing the rom?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] static.chaos73:
HI, would the OctOS for the AT&T GS4 work with this method? I am used to the GS3 and assumed the GS4 would be just as easy to root/custom rom LOL

Does this actually unlock the bootloader to allow non-stock roms to be installed? Is it similar to bootstrap/safestrap/whatever it is called now?

Thanks for the detailed instructions! just want to hopefully end up with a CM13-type rom instead of stock, if at all possible, for this phone.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Flandry:
My advice after trying this three times is to not waste your time. It borks the system every time when flashfire tries to update and it's really a drag to have to reflash nb1 and go through all that again. TBH at this point i'd just be satisfied with an unrooted OK2 if i could find an odin ROM for it.

ETA i also tried once following the alternative someone posted as a reply in one of the threads that details this process. They had also had repeated failures at the update step and so used recovery to flash the zip instead. That one didn't work for me either. Who knows maybe this is the 1-in-a-huge-number case where the hash is good but the update file is corrupt.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] static.chaos73:
This worked perfect the first time through!

However, I installed an xposed module that won't let my phone boot, just stuck on the ATT logo. I have the file downloaded to uninstall xposed but I can't get the phone to boot up, so no using Flashfire to access the file. Even if I could, I would just go in and disable the module instead of removing xposed altogether.

So...any way to disable xposed or remove the framework from either Odin or the s4 stock recovery screen? I have an option to apply update from external storage but it's not seeing the zip file for removal. Thanks for any help!
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Flandry:
I re-downloaded the update files and tried again, and again it failed at the flashfire step.

But... I guess sixth time is the charm. I did everything exactly the same as the previous times except the phone sat overnight on NB1 before I applied the update. Weird.

Will this root survive a factory reset?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] d800d00d:
The file you want is not a ZIP file, it's an APK file. I just now re-verified to make sure it hasn't changed since I posted this guide. It hasn't. So it sounds like you're just downloading the wrong file. The file you want is called XposedInstaller_3.0_alpha4.apk. If you'd just read the instructions...(if you get confused about any of the steps in my guide, click on the button that says CLICK TO SHOW CONTENT). Sigh.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] d800d00d:
I have no idea what toucher pro is, so I can't comment in specifics. But if you updated an app that was working, and now after the update it's broken, then what you want to do is uninstall it, find the older version of the app that was working before (APK file), install it, go into the Play Store, and turn off automatic updates for that specific app. Then you can run the old version as long as you want.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] d800d00d:
I'm not going to help you figure out which custom ROMs are compatible with your phone and which aren't, that's way outside the scope of this guide. If you're uncertain about what this guide is for, read the first three paragraphs. They're not there for decoration.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] d800d00d:
Yes, since you're already rooted, skip the

Downgrading Firmware

step. But you still need to do the

Prep Work

and

Backing Up Your Phone

steps. After that, go to

Rooting and Upgrading Firmware

, do Step 1, SKIP Step 2, do Step 3 (if you already have SuperSU, just update it), and continue on from there.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] d800d00d:
First of all, I'm glad the guide worked for you! :good: That's a huge bummer about the faulty Xposed module, but such are the risks of messing with your phone like this, right? I think you're just going to have to go back to

Downgrading Firmware

Step 1. :(

What was the faulty Xposed module called? You should post it here so others may avoid it.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] d800d00d:
What a retard. Here you go, have fun: http://xdaforums.com/galaxy-s4-att/general/guide-odin-to-stock-updating-rooting-t2926642

Or maybe you're just a retard, because the exact same file is working for everyone else.

Well do you want help with this guide or do you want a stock OK2? You're going to badmouth my work and then ask questions?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] static.chaos73:
I ended up doing a factory reset from the stock recovery screen and it kept root, just had to reinstall xposed.

The module I installed was NottachXposed, supposed to be specifically for the ATT GS4. However, I did already have gravitybox for lollipop installed at the time as well, so in retrospect, that could have caused some issues. A lot of the gravitybox features weren't working so I tried nottach...guess I should have uninstalled first. :)

Thanks for this thread, it was seriously so simple and straightforward to get it working! I am used to the GS3 so it was a shock finding out all the steps to root this thing, but you made it very understandable!
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] d800d00d:
Haha, wow, that was a lot easier, nice job! I'll definitely keep that in mind if I ever accidentally install any faulty Xposed modules.

You're welcome, and thanks for the feedback!
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Fancypost:
hey d00d, I just got a galaxy s4 that is loaded with junk I don't need and had been lookin around for a good way to fix that. Your guide seems like the best way to get it done. I have an Sgh-i337 that was on 4.4.4, so I downloaded Odin and the .tar file to downgrade it, and odin began work on the phone, and I got this message when it was writing the image.

<ID:0/005> Complete(Write) operation failed.

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

<ID:0/005> Removed!!

Now my phone is sitting at downloading with a half progress bar, and I'm worried I shouldn't try to reset it, but I can't run Odin again. Any ideas?

---------- Post added at 02:48 PM ---------- Previous post was at 02:38 PM ----------

Somehow I got Odin to go again and got this:

<ID:0/005> Added!!

<ID:0/005> Odin v.3 engine (ID:5)..

<ID:0/005> File analysis..

<ID:0/005> SetupConnection..

<ID:0/005> Initialzation..

<ID:0/005> Set PIT file..

<ID:0/005> DO NOT TURN OFF TARGET!!

<ID:0/005> Get PIT for mapping..

<ID:0/005> Firmware update start..

<ID:0/005> SingleDownload.

<ID:0/005> sbl1.mbn

<ID:0/005> NAND Write Start!!

<ID:0/005> sbl2.mbn

<ID:0/005> sbl3.mbn

<ID:0/005> rpm.mbn

<ID:0/005> aboot.mbn

<ID:0/005> tz.mbn

<ID:0/005> boot.img

<ID:0/005> recovery.img

<ID:0/005> persdata.img.ext4

<ID:0/005> system.img.ext4

<ID:0/005> FAIL! (Auth)

<ID:0/005>

<ID:0/005> Complete(Write) operation failed.

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

There's a whole lot of red text on the phone that says "Invalid percent of drawing download progress bar"

then "SECURE CHECK FAIL : system"

---------- Post added at 03:39 PM ---------- Previous post was at 02:48 PM ----------

***disregard*** third time was the charm XD
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] renz427:
I'm alreadt on OK2

Do I still need to follow step 4 on rooting? im on OK2 unrooted right now and I am confused on what step 4 was.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] bigbob_ftw:
thanks for the guide, it worked flawlessly!
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] graycg:
Flashfire doesn't detect ROM

I have tried a few times to get Flashfire to find the ROM downloaded from the link, but have been unable.

-uninstalled and reinstalled Flashfire

-downloaded the ROM to both the PC and the sdcard
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] scotttu711:
I LOVE your guideline - detailed and complete.

I came across your thread from google search. Funny thing, I was searching from XDA in tapatalk and posted for help for several days and nothing came forward. I thoroughly enjoyed reading your guideline - very systematic and detailed each step along the way :good::good::good:. This is exactly what I am searching for. I read your description 3 times and each time I learned something more about root (yeah, I am relative new, and am very 'retard' and nervous about rooting).

I plan to read few more times of your guide to COMPLETELY understand each step and download all your recommended apks and/or programs on my PC and Galaxy S4 sd card before hand, so that I won't get panic in case I get surprised in the process. Below is the S4 phone specs:

Carrier: AT&T about 3 years, never being rooted, nor unlocked

Model: Samsung Galaxy SGH-I337

Android: 5.0.1 (So called Lollipop?

not sure what is your OK2 in the heading?Pls clarify

)

Baseband: I337 UCSGOK3

Kernel: 3.4.0-685444

Build LRX22C.I337 UCSGOK3

I have read other threads suggesting different methods. What I am 'scared' is the success rate is 60% for multiple phones and/or carriers (by the developer) and some of the reviewers criticize the developer attempts to bait you in and fail your phone but leave instruction to call for help with money.....this implies my working phone might turn into a brick 40% of chance. I am happy with the phone as is, although lately I am seeing it slowing down. Few weeks ago, one of my tablet (Toshiba) suddenly failed to boot and I was able to root it (my first time :)) to a working condition. So, I am thinking pro-actively for my Galaxy phone. The reason that I want to root the phone is (1) create a backup image or rom on my SD card so that if my phone fails to boot, I have a way to recover it from SD card. (2) get rid of bloatwares to improve speed and memory. Since there is 40% chance of making phone bricked for rooting, I told myself that my best strategy might be wait until it 'dies', then I can root it to rescue it . After reading your site, I gain encouragement and is thinking give it a try since your guideline is 100% designed for my phone. Should I fail somewhere, I can always reset it to factory condition and do update OTA for as long as I follow your guideline, right?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] scotttu711:
In reading through one more time and check each step, I found some difference in "Downgrading Firmware" Step 4 "to manually disable KNOX: Go to your Settings ...... .....for each application: KLMS Agent, KNOX Notification Manager, KNOX Store, and Samsung KNOX. "

On my phone, I found "KLMS Agent" but do not find "KNOX Notification Manager", "KNOX Store", and "Samsung KNOX"; instead I find five KNOX related items (three labelled as KNOX only, one labelled as "KNOX II" and one labelled as "KNOX SetupWizardClient", although one KNOX and the KNOX II show 00 kb memory use). Is this normal? Do I just proceed regardless by force stop, clear cache on each of these items? I just want be careful on every steps.:D
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] d800d00d:
Please read Step 2 of

Prep Work

.

It just needs to be on your phone's SD card. Did you successfully root your phone?

Yep Android 5.* is called Lollipop. OK2 refers to a particular Baseband Version. Yours is I337UCSGOK3, but we refer to Basebands by their last three characters, so yours is

OK3

. Yeah if anything gets messed up along the way, Odin can get you out of a softbrick and you can just start over. It happens, and after you get out of your first one you'll realize it's not that big a deal. Just follow the guide line by line and you'll be fine. If you get to any step and think "I don't know how to do that!" there's most likely a button right under the instructions that says "CLICK TO SHOW CONTENT" which will provide you with all the information a complete noob would need to do that step. ;)

So if you're on OK3 right now looking at that list, it's normal that there would be differences. Because at that particular step in the guide (when you've actually completed all the steps up to that point), you'll be on NB1 not OK3. That said, once you actually do the steps, if you get to that point in the guide and you do still see all those extra/different KNOX items you mentioned, then yeah, I would force stop and clear cache on all of them. The point is just to shut down KNOX as much as you possibly can, which makes the Security Notice warnings stop popping up.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] scotttu711:
Xpose installation

I find little use for me on Xposed and framework, I guess I can skip this installation and jump to Removing Bloatware, can't I? Thanks. You run a cool thread.:cool:
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] carlosbalbuena_:
Does anyone have the OTA file to manually update to OK3?

Enviado desde mi SGH-I337 usando WizCyan S6/S7
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] ChewyFurrr:
Instead of FlashFire I had to go with SafeStrap but was able to get through all the steps until last reboot when, instead of booting to new ROM (5.0.1) I end up with Android system recovery black screen...

What went wrong?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] carlosbalbuena_:
What rom install?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] ChewyFurrr:
As per the guide in this thread I went back to 4.4.2 NB1 and attempted upgrade to 5.0.1 OK2 with associated bootloader. In SafeStrap both the ROM and bootloader report successful install but on the final reboot to system I end up with the system menu on black screen
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] carlosbalbuena_:
you must use flashfire use this version that of play store has failure

http://www.apkmirror.com/apk/chainf...-release/flashfire-0-53-android-apk-download/
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] ChewyFurrr:
what's wrong with Play Store version?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] vtails:
My phone took an upgrade on F/W it's UCSGOK3 , I Hope that this will still be able to root. This happened last week. It was for Security for Android pay and probably has more ways to keep from rooting. I'm not sure I really want to try and flash 442 since there's no firmware for ucsgok3 that's rooted.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] carlosbalbuena_:
You tried using kingroot ?.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] vtails:
Yes I have tried it, reviews of it are pretty Bad Also one click can't think of names but they were all pay 4 sites and now fighting to get $ back.. So if I was to flash 4.4.2 and it has something in new firmware is it really possible to unbrick it ?

Who would know what's in new F/W maybe get bit more info since I paid more than I should have for 5 year old phone and its all I have except for my IPhone 4 but it still works. I hoped that that someone would have posted this update here let people know.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] chuchipando:
hello, I followed all steps and made sure to be on the correct rootable versions of firmware and baseband. Im srtuck on Rooting and Upgrading Firmware step 5. I hit the lightning bolt button on flashfire and the phone rebooted, at startup some while text scrolled on a black screen and a "Loading..." hovering in front., then showed samsung logo and then att logo, and thats where Im stuck, on the att logo, its been about 30 minutes. is this normal?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] 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 Q&A, Help & Troubleshootin] carlosbalbuena_:
The problem is flashfire use this to me it works

https://www.dropbox.com/s/9vmp7uipkepknzr/FlashFire v0.53 Final [Pro].apk?dl=0

Enviado desde mi SGH-i337 mediante la aplicación XDA-Developers Legacy