[AT&T Samsung Galaxy S 4 General] SnoggyTheBear:
THIS GUIDE IS ONLY FOR GALAXY S4 SGH-1337M

Guide made on 2017-03-12

I AM NOT RESPONSIBLE FOR ANY DAMAGE YOU DO TO YOUR PHONE!

PERFORMING THIS WILL MAKE YOUR WARRANTY GO AWAY!

LEAVE A THANKS IF IT WORKS

This guide is split up into four parts meaning that if you just want to root your phone or just want to restore to stock then you can YOU CAN NOT INSTALL XPOSED WITHOUT ROOTING AND GETTING STOCK FIRST!

Welcome to my guide on how to install XPOSED on the Samsung Galaxy S4 (SGH-1337M) this guide is strictly for the SGH-1337M the reason I made this was because I spent a lot of hours trying to put parts of threads together since no one had specifically made a guide that was simple and noob friendly for installing XPOSED. Another reason is some people feel uncomfortable following guides made for the SGH-1337 mainly because it is different from the SGH-1337M. Another reason was I found no updated 2016/2017 guides for it. Follow every part step by step or you may risk losing your phone.

Also make sure you backup anything that isn't synced with Google that you want to keep, photos, music, contacts. This will delete all data on the phone.

This guide will be split up into four parts:

-Stock

-Root

-ROM that is needed

-Installing XPOSED

Requirements:

-A PC

-Internet

-Samsung Galaxy S4 SGH-1337M

-USB Cable

-SD Card with at least three free GB on it.

Stock Firmware

BEFORE YOU BEGIN (IMPORTANT)

1. Power off device

2. Boot into the stock recovery by holding Power Button+Home Button+Volume Up Button when you see the Galaxy S4 logo then let go of Power Button but keep holding Home and Volume Up

3. Wipe Data/Factory Reset

4. Wipe Cache Partition

5. Power Down

Now you may begin

1. Download the latest stock firmware from sammobile for your device from make sure it is for 5.0.1:

-https://www.sammobile.com/firmwares/database/SGH-I337M/

2. Extract the .zip after you finish downloading

3. Download ODIN v.3.12.3

-Attachment at bottom of thread.

4. Extract the .zip to get the ODIN program.

5. Turn your device off.

6. Boot into download mode by holding Power Button+Volume Down Button

7. When it gives warning press the Volume Up Button

8. Connect device to PC using USB cable.

9. Run ODIN as administrator

10. Your ODIN screen should look like this now:

-http://prntscr.com/ej6hrl

Note: Where it says [0:COM8] The 8 can be any number.

11. Click AP and find the .md5 file you extracted from the stock firmware .zip from earlier.

Note: It is normal for ODIN to freeze while checking the file don't panic and don't close out.

12. On the left hand side where it says options copy down these settings

-http://prntscr.com/ej6ivi

13. When you are done all that it should look like this:

-http://prntscr.com/ej6jmz

Note: My .md5 file or binary size won't look exactly like yours don't panic.

14. Click start

15. It will take a while just be patient and wait, mine took about 10-15 minutes yours might take longer. It should look like this when done and it should reboot automatically:

-http://prntscr.com/ej6nq9

Note: First boot may take a while be patient.

16. Quickly go through setup it doesn't matter what you choose because this isn't the final product.

17. As soon as you finish setup head over to Settings.

18.Go to "More" and click Security

19. Check Unknown Sources

20. Go back to "More"

21. Go to About Device

22. Tap the Build Number until it says developer options enabled.

23. Go back to "More"

24. Go to Developer options

25. Check USB Debugging

26. Turn phone off.

Rooting The Device

1. Download CF-Auto-Root.zip

-http://download.chainfire.eu/327/CF-Root/CF-Auto-Root/CF-Auto-Root-jfltecan-jfltevl-sghi337m.zip

2. Extract the .zip

3. Boot into Download Mode.

4. Connect Device to PC

5. Run ODIN as administrator

6. Your ODIN screen should look like this now:

-http://prntscr.com/ej6hrl

Note: Where it says [0:COM8] The 8 can be any number.

7. Click AP and click the CF-Auto-Root .md5 file that you downloaded

8. On the left hand side where it says options copy down these settings

-http://prntscr.com/ej6ivi

9. When you are done all that it should look like this:

-http://prntscr.com/ej779o

10. Click Start

11. It should look like this when done and it should reboot automatically:

-http://prntscr.com/ej77ok

Note: First boot may take a while be patient.

12. When it starts go to Play Store sign in and download Root Checker by joeykrim

13. Open the app and make sure the phone is rooted

Note: When you click "Check for root" it will ask for SuperUser permission you have 15 seconds to click grant otheriwse it will show wrong results.

14. If it isn't repeat this process again

15. Turn phone off.

Custom ROM that is needed.

General Information:

-Basically XPOSED requires a deodexed firmware and when I wanted to get it I didn't know how to deodex my firmware so instead I found a custom ROM which is very popular and extremely good that has a deodexed firmware.

We can do this two ways, but first we must do this.

1. Power off device

2. Boot into the stock recovery by holding Power Button+Home Button+Volume Up Button when you see the Galaxy S4 logo then let go of Power Button but keep holding Home and Volume Up

3. Wipe Data/Factory Reset

4. Wipe Cache Partition

5. Power Down

Method 1 Downloading ROM using PC then transferring to SD Card

1. Download the GoldenEye ROM from here

-https://www.androidfilehost.com/?fid=23991606952595353

2. Do not extract the .zip

3. Transfer .zip onto SD Card

4. Put SD card into phone

5. Boot phone and go through setup

6. Go to Google Play Store sign in and download ClockworkMod Rom Manager

7. Run the ROM Manager

8. Click Recovery Setup

9. Click ClockwordMod Recovery

10. Click your device.

11. Click "Flash ClockworkMod Recovery"

12. Give Superuser permissions

13. Reboot into Recovery from the ROM Manager

14. Wipe Data/Factory Reset

15. Wipe Cache Partition

16. Go to advanced

17. Wipe dalvik cache

18. Go back

19. install zip

20. Find the GoldenEye ROM from your SD card and install

21. It will start the Aroma installer click 1337M at device selection after you agree to terms.

22. Select GoldenEye Full

23. Go through the rest of the installer choosing your options that you prefer

24. It will take quite a while to install

Note: After it installs it will take a long time to boot do not panic for me it took around 15-20 minutes it might take longer for you.

Method 2 Downloading ROM using Device then transferring to SD Card

1. Boot Phone

2. Go through setup

3. Download the GoldenEye ROM from here using any browser from the Play Store

-https://www.androidfilehost.com/?fid=23991606952595353

4. Do not extract the .zip

5. Move .zip onto sd card using any file manager found on Play Store

6. Go to Google Play Store sign in and download ClockworkMod Rom Manager

7. Run the ROM Manager

8. Click Recovery Setup

9. Click ClockwordMod Recovery

10. Click your device.

11. Click "Flash ClockworkMod Recovery"

12. Give Superuser permissions

13. Reboot into Recovery from the ROM Manager

14. Wipe Data/Factory Reset

15. Wipe Cache Partition

16. Go to advanced

17. Wipe dalvik cache

18. Go back

19. install zip

20. Find the GoldenEye ROM from your SD card and install

21. It will start the Aroma installer click 1337M at device selection after you agree to terms.

22. Select GoldenEye Full

23. Go through the rest of the installer choosing your options that you prefer

24. It will take quite a while to install

Note: After it installs it will take a long time to boot do not panic for me it took around 15-20 minutes it might take longer for you.

Installing XPOSED

We can do this two ways, but first we must do this.

1. Power off device

2. Boot into the stock recovery or CWM recovery by holding Power Button+Home Button+Volume Up Button when you see the Galaxy S4 logo then let go of Power Button but keep holding Home and Volume Up

3. Wipe Data/Factory Reset

4. Wipe Cache Partition

5. Power Down

Method 1 Downloading XPOSED using PC then transferring to SD Card

1. Download the XPOSED Framework and .apk installer from here

XPOSED Framework

-https://www.dropbox.com/s/taywsnvw994uvha/xposed-v86.2-samsung-5.0.x-sdk21-by-dkcldark-arm.zip?dl=1

XPOSED Installer

-Attached at bottom of thread

2. Do not extract the .zip

3. Transfer .zip and .apk onto SD Card

4. Put SD card into phone

5. Boot phone and go through setup

6. Go to Google Play Store sign in and download ClockworkMod Rom Manager

7. Run the ROM Manager

8. Click Recovery Setup

9. Click ClockwordMod Recovery

10. Click your device.

11. Click "Flash ClockworkMod Recovery"

12. Give Superuser permissions

13. Reboot into Recovery from the ROM Manager

14. Wipe Data/Factory Reset

15. Wipe Cache Partition

16. Go to advanced

17. Wipe dalvik cache

18. Go back

19. install zip

20. Find the XPOSED Framwork from your SD card and install

21. It will start the installing

24. It will take quite a while to install

Note: After it installs it will take a long time to boot do not panic.

25. Go through setup process and then install the .apk from the SD card by clicking it using any file manager.

26. It will install

Final

We have finally finished installing XPOSED it was a long process but it was worth it.