Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,359 Members 39,580 Now Online
XDA Developers Android and Mobile Development Forum

New Root Method for AT&T Samsung Galaxy S 4 (OTA MF3 + Safe update to MK2)

Tip us?
 
jortex
Old
(Last edited by jortex; 23rd December 2013 at 07:23 PM.)
#1  
Member - OP
Thanks Meter 686
Posts: 43
Join Date: Dec 2011
Prompt New Root Method for AT&T Samsung Galaxy S 4 (OTA MF3 + Safe update to MK2)

HOWTO:
  1. Use a card reader to format the micro SD card to exFAT (FAT32 or other formats does not work) in Windows. I haven't tried Linux or MacOS X, so they may not work.
  2. Download the attached file (Root_for_ATTSG4_FM3.rar) and extract it into the root of your EXTERNAL microSD card using the card reader in Windows. (You can do the extraction using WinRAR or 7-zip).
  3. Put the SD card back to the phone and download the Android Terminal Emulator app.
  4. Open the Terminal Emulator app and run below 3 commands:
    Code:
    cd /mnt/extSdCard
    ./pwn
    ./script.sh
  5. Then, open SuperSU and check everything looks good.
  6. Then open a root app and it should be working properly.
  7. Reboot your device once to confirm root is still working after reboot.
  8. Come back to the post and press the THANKS button

Notes:
  • I uploaded a screenshot from the Terminal screen where the instructions are entered. Yours should be the same except you don't need to enter the "ls -l" command. It's just to show what files I have on the SD card. Ignore LOST.DIR directory.
  • Remove any SuperSU apps from your phone before following the above steps. script.sh installs it automatically.
  • You can use adb shell instead of a terminal app which is more convenient but requires Android SDK. Follow these steps only if you are about to use adb:
    • Download and install all Samsung Galaxy S 4 drivers from here.
    • Activate Developer options -> USB Debugging mode. To have the phone show the Developer options, go to Settings -> More -> About device. Tap on "Build number" 6 times.
  • You have to use an external SD card. No other alternative have been found yet. Using the device storage, i.e. /mnt/sdcard, or /data/local/tmp, DOES NOT work.
  • Warning (suggested by rushi.1986): "We have root for MF3 but we neither have a working recovery, nor an ODIN back to stock package. Be very careful what you do with your root. At this point, there is no way to recover even from a soft brick. (unless you know exactly what caused the soft brick and can correct it using adb)"
  • For those who do not know how to format an SD card on Windows (thanks to jee'sgalaxy):
    1. Insert the micro SD into the computer (may have to use a reader or a micro SD adapter).
    2. Go to "My Computer".
    3. Right click on your SD card that showed up.
    4. Click Format.
    5. Choose exFAT as the format.
    6. Click "OK".

Stopping AT&T Auto Software Update
Since AT&T just rolled out the new update (4.3), I add this short guide on how to stop it before it becomes late! Note that these steps require root, so you should follow the rooting steps first.
  1. Download and install "App Quarantine ROOT/FREEZE" from Play Store.
  2. Open the app and go to settings by tapping on the wrench icon at the top right of the screen.
  3. Uncheck the "Hide system services" option.
  4. Go back to the app and select "AT&T Software update".
  5. Tap on the lock icon on the top right of the screen.
  6. It may ask you to enable the USB debugging.
  7. Feel safe from AT&T's new attack

How to get MK2 without losing root
I have tested this approach and it worked for myself. You should consider the risk of losing the root access and follow these steps on your on risk:
  1. Root your MF3 phone using the approach described earlier in this post.
  2. Stop AT&T from pushing the update as described above.
  3. Install Super SU Pro. Note that this is not a free app and it is an add-on for Super SU.
  4. Run Super SU. Go to Settings and check the "Survival Mode". If you don't have this option, probably you don't have the Pro version.
  5. Disable your guard against the AT&T update by enabling "AT&T Software update".
  6. Let the device update itself and hope for the best.

Don't forget to press the THANKS button.

Credits:
***Exploit adapted for AT&T by Jortex***
***Original Guide by Open1Your1Eyes0 for Verizon Galaxy S 4***
***Original Exploit by DooMLoRD***
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2013-08-04-19-36-31.jpg
Views:	25844
Size:	31.2 KB
ID:	2165681  
Attached Files
File Type: rar Root_for_ATTSG4_FM3.rar - [Click for QR Code] (1.81 MB, 48900 views)
The Following 629 Users Say Thank You to jortex For This Useful Post: [ Click to Expand ]
 
scott14719
Old
#2  
scott14719's Avatar
Senior Member
Thanks Meter 813
Posts: 2,064
Join Date: Dec 2011
MF3
.
.
SGH-I337 (AT&T) 32GB
P-ROM (1st Gen.), De-Odexed, AMDL
Rooted
Auto-LOKI OUDHS CWM


Make sure you read and understand the "PINNED" threads in the "General" and "Q & A" sections of the AT&T S4 forum BEFORE you ask for help. Use the forum's "search" function to find posts with additional information. You should not expect others to help you if you haven't tried to help yourself first. Also, read, understand, and follow the "XDA" rules.
The Following 7 Users Say Thank You to scott14719 For This Useful Post: [ Click to Expand ]
 
Nick James
Old
#3  
Senior Member
Thanks Meter 11
Posts: 126
Join Date: Feb 2011
Can't wait to try it...

Sent from my SAMSUNG-SGH-I337 using xda premium
The Following User Says Thank You to Nick James For This Useful Post: [ Click to Expand ]
 
Billsfan99
Old
#4  
Junior Member
Thanks Meter 1
Posts: 14
Join Date: Jul 2013
I get permission denied. In terminal emulator I type
CD /mnt/extSdCard
./pwn
Then it says permission denied

Sent from my SAMSUNG-SGH-I337 using xda app-developers app
 
Nick James
Old
#5  
Senior Member
Thanks Meter 11
Posts: 126
Join Date: Feb 2011
Quote:
Originally Posted by Billsfan99 View Post
I get permission denied. In terminal emulator I type
CD /mnt/extSdCard
./pwn
Then it says permission denied

Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Same here
 
jortex
Old
(Last edited by jortex; 3rd August 2013 at 01:23 AM.)
#6  
Member - OP
Thanks Meter 686
Posts: 43
Join Date: Dec 2011
Quote:
Originally Posted by Nick James View Post
Same here
Sorry guys. I missed one step. You should format the external SD card to exFAT. Windows supports it.
The Following 14 Users Say Thank You to jortex For This Useful Post: [ Click to Expand ]
 
ddslee
Old
#7  
Member
Thanks Meter 3
Posts: 68
Join Date: Aug 2010
Default Question

Does this mean that we can flash Google Edition rom on the MF3 AT&T S4?
Or do we have to wait until more exploits are discovered?

I was rocking GE rom until I went back to the stock Samsung ROM to SIM unlock my phone.
I got screwed by the OTA MF3 and have been following this forum everyday for a new root method.
The Following User Says Thank You to ddslee For This Useful Post: [ Click to Expand ]
 
jortex
Old
(Last edited by jortex; 24th February 2014 at 12:27 PM.)
#8  
Member - OP
Thanks Meter 686
Posts: 43
Join Date: Dec 2011
Quote:
Originally Posted by ddslee View Post
Does this mean that we can flash Google Edition rom on the MF3 AT&T S4?
Or do we have to wait until more exploits are discovered?

I was rocking GE rom until I went back to the stock Samsung ROM to SIM unlock my phone.
I got screwed by the OTA MF3 and have been following this forum everyday for a new root method.
This only allows you to root your device. No method to use custom ROM has been found yet.
The Following 6 Users Say Thank You to jortex For This Useful Post: [ Click to Expand ]
 
Nick James
Old
#9  
Senior Member
Thanks Meter 11
Posts: 126
Join Date: Feb 2011
So my phone WAS rooted, stock ROM.
I installed the OTA update on accident.
Ran the new exploit
Installed SuperSU
It asked me if I wanted to update the binary, I told it "Continue" and it comes back with "failed"

I suspect this is because of my previous root?
 
jortex
Old
(Last edited by jortex; 3rd August 2013 at 01:22 AM.)
#10  
Member - OP
Thanks Meter 686
Posts: 43
Join Date: Dec 2011
Quote:
Originally Posted by Nick James View Post
So my phone WAS rooted, stock ROM.
I installed the OTA update on accident.
Ran the new exploit
Installed SuperSU
It asked me if I wanted to update the binary, I told it "Continue" and it comes back with "failed"

I suspect this is because of my previous root?
No need to install anything yourself. Uninstall everything and run SuperSU. Let it update itself. If that doesn't work, a reboot may help.
Also try to make sure that you have root.

The Following 11 Users Say Thank You to jortex For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes