Android Reviews, Tutorials, How To's, Root, UnRoot, Flash for Android mobile phones and operating system

Showing posts with label Tutorial. Show all posts
Showing posts with label Tutorial. Show all posts

12 September 2013

How to UnRoot Galaxy S3/S4 + Reset Flash Counter + Restore OFFICIAL Status

This guide is for those of you who would like to back to completely stock firmware, reset flash counter, unroot and receive OTA update at the same time without voiding warranty for Galaxy S3/S4/Note.
It is useful also if you soft brick your phone.

THIS METHOD IS WORKING ONLY ON ANDROID 4.2.2

Don't forget to read the notes

What will introduce this tutorial
  • How to flash official firmware and back to stock
  • How to ROOT your device
  • How to reset flash counter
  • How to UnROOT your device
What will this tutorial leave your device at the end
  • Official firmware
  • No custom (kernel, recovery, ... etc) all are stock
  • Reset device status back to OFFICIAL (NORMAL)
  • Ability to update using OTA update
  • Flash (binary) counter set to zero
  • Full root access
  • Remove the yellow triangle
  • Completely unroot your device Optional 
  • Restore warranty
  • Your device will be like you just take it out of the box
Requirements :
  • Charged Samsung galaxy S3 / S4 / Note
  • Official firmware
  • Odin3
  • Root files
  • "Triangle Away" App
  • USB cable
  • Windows PC
Before starting :
  • BACKUP all your important data because this process will wipe all data on the internal storage
  • Check if "Triangle Away" App is compatible for the model number of your device 
  • Download and install Samusng mobile driver (link below)
  • Download official stock firmware from SamMobile or Samsung-Updates
  • Download Odin3 (link below)
  • Download Root files
  • Close Kies and disable your antivirus software
Instructions :
Flashing FW process
1- Unzip FW.zip file only one time and Odin
2- Run Odin as administrator then click on PDA and navigate to "FW.tar.md5" file
3- Put your device into download mode (Vol down+Home+Power then Vol up)
4- Connect your device to PC and wait until you see a sign in Odin (Added in message box)
5- Click Start button in Odin and wait a few minutes until Odin display PASS!
Rooting process (I will use CF-Auto-Root method because it support more devices)
1- Open "CF-Auto-Root ....zip" file, drag and drop "CF-Auto-Root ....tar.md5" file
2- Run Odin as administrator then click on PDA and navigate to "CF-Auto-Root ....tar.md5"  file
3- Put your device into download mode (Vol down+Home+Power then Vol up)
4- Connect your device to PC and wait until you see a sign in Odin (Added in message box)
5- Click Start button in Odin and wait a few seconds until Odin display PASS!
Resetting binary counter process
1- Download "Triangle Away" App Google play link Lite ver (link below)
2- Open the App, continue [ONLY] if it display the model number of your device and follow the notifications shown.
3- Press "Reset flash counter" and continue
Your device will reboot into triangle away mode
4- Press volume up to continue
Now you have been reset the flash counter of your device (Check it by putting your device into download mode) and get back the warranty
Reseting status to OFFICIAL (NORMAL) process to receive OTA update
If you check the status of your device : Settings > More > About device > Status you will find that it's "Custom" or "Modified"
1- Boot into recovery mode (Vol up+Home+Power buttons)
2- Navigate to "wipe data/factory reset" (using vol down button) and Press OK (power button)
3- Select yes, wait few seconds then reboot
Now, your device's status is OFFICIAL + Full ROOT access
UnRooting process (optional and I suggest to don't do this step)
  1. Open "Super SU" App then Settings tab
  2. Tap on "Full unroot"

Notes :
  • Don't unplug the cable while flashing or rooting process.
  • This precess will delete all your data.
  • If your device stuck in bootloop after flashing stock FW, wipe data/factory reset from recovery.
  • I am not responsible if something wrong happened to your device (USE AT YOUR OWN RISK)
  • Devices which running on full stock FW (skip flashing) and start by rooting process.
  • Devices which running on full stock FW & rooted (skip flashing and rooting) and start by reset flash counter process (you don't need computer)
  • DON'T continue if Triangle Away display a different model number of your device.
  • This tutorial not only for Samsung galaxy S4, Samsung galaxy S3 it's also for Galaxy Note 2 and many galaxy devices.
  • Devices which have locked bootloader, you need to unlock it first.
  • Credits goes to "Chainfire" Dev who create for us "CF-Auto-Root" and "Triangle Away" App.
  • If you update your device by OTA, Kies or Odin you will lose root access.
  • If you flash any custom file by Odin, it will change the binary to custom. 
  • Before starting Check autoroot.chainfire and Triangle Away app to see if your device is supported or not.
Some supported devices (not all) :
  • Samsung Galaxy S3 all devices [international, AT&T SGH-I747M, Sprint SPH-L710, T-Mobile SGH-T999, Canada, MetroPCS, LTE, US Cellular, Cricket SCH-R530, C-Spire and Verizon SCH-I535 (unlocked bootloader)]
  • Samsung Galaxy S4 [international LTE, T-Mobile SGH-M919, Sprint SPH-L720, US Cellular SCH-R970, Canada SGH-I337M]
  • Samsung Galaxy Note 2 [GT-N7100/T, GT-N7102, GT-N7105/T LTE, SPH-L900 Sprint, SGH-T889 T-Mobile, SGH-R950 US Cellular, Canada SGH-I317M, SCH-I605 Verizon (unlocked bootloader)]
and more .....

Downloads :

23 August 2013

How to Change CSC (Region Code) for Samsung Galaxy Models

What is the CSC (Consumer Software Customization) code?
The CSC code contains information about software packages specific to a particular region, carrier branding and also APN settings for data connection.
In this way, unless the PDA, PHONE and CSC codes do not match correctly, you will not be able to update your device over Samsung Kies or via OTA"

If the PDA, PHONE and CSC codes do not match correctly, Samsung Kies software will display this message in "Firmware information" section when you connect your Samsung device to PC
"Your device's current firmware version is not supported to update firmware via kies."
And normally If the PDA, PHONE and CSC codes match correctly, Samsung Kies software will display
"This is the latest firmware." or "New firmware is available."
Lets start

Requirements :
1. Samsung galaxy device
2. "Android Terminal Emulator" App

Before Startting :
1. Backup your important data because changing CSC will delete all data on your device.
2. Root your Samsung galaxy
3. Download "Android Terminal Emulator" App (Link below)

Steps :
1. Open "Android Terminal Emulator" App and type
Su
Then enter
It will ask for root permission
2. Type
am start -a Android.intent.action.MAIN -n com.sec.Android.Preconfig/com.sec.Android.Preconfig.Preconfig
Then enter (Text file link below)
It will open the "Preconfig"
If it doesn't work, Try this
am start -a android.intent.action.MAIN -n com.android.Preconfig/com.android.Preconfig.Preconfig
Then enter (Text file link below)
3. Select sales code then Install
Your device will reboot
Done!

YT video link : http://www.youtube.com/watch?v=K6O09G_OIaw
Notes :
~ WARNING : Changing CSC will factory reset your device (delete all data)
~ This method will work only on ROOTED devices
~ This will only work if your current firmware support Multi-CSC
~ It might display "PreconfigUI does not support SingleCSC" if your current firmware doesn't support Multi-CSC.
~ This method should work for many galaxy devices which running Android jelly bean, tested on galaxy advance, S3 and S4.
~ Devices which running Android ice cream sandwich, just dial *#272*Phone’s IMEI Here# (you can get the IMEI of your device by dialing *#06*).

Downloads :
"Android Terminal Emulator" App HERE
CSC1.txt HERE
CSC2.txt HERE

21 August 2013

How to Flash Official Firmware for Samsung Galaxy S4 by Odin

This guide will be about how to flash official firmware for Any Samsung galaxy S4 or any Samsung galaxy device.
By this guide you can upgrade or downgrade the galaxy device to any firmwares by using Odin

Requirements :
1- Official firmware for the model number of your device
2- Odin3
3- Samsung Kies or Samsung mobile driver
4- USB cable
5- Charged galaxy device
6- Windows PC

Before starting :
1- Backup your important data first just in case of this process corrupt your data. [important in downgrading]
2- Download and install Samsung mobile driver (Skip this if you already have Samsung Kies)  (Link below)
3- Download a firmware file SamMobile or Samsung-updates then unzip it only one time
4- Download Odin3 then unzip it (Link below)
5- Disable the antivirus software
6- Close Samsung Kies and disconnect any device connected to USB ports on your computer

Flashing instructions :
1- Run "Odin3" as administrator
2- Click on PDA button and navigate to the *.tar or *.tar.md5 file that you extracted (this is for firmware which contains only one file *.tar or *.tar.md5)
root
android
 - If the Zip file contains more than one *.tar file then they will be labeled with PDA, Phone and CSC. Put them in the corresponding section of Odin
3 - Shut down your device and make sure your device is completely off
4 - Put your device into download mode by pressing and holding (Volume Down + Home + Power) buttons
5 - Press Volume up to continue
6 - Connect the device to your computer by USB cable and wait until you get a sign in Odin (ID:COM section) and "Added" in message box.
7 - Make sure re-partition is NOT SELECTED [Very important]
  8- Click Start and wait a few minutes until you see "PASS!".
Done!
Notes :
~ Do not disconnect the cable or turn off the device while flashing
~ I am not responsible if something wrong happened to your device (use this AT YOUR OWN RISK)
~ Install Samsung Mobile Driver or Samsung Kies if you don't see a sign in Odin (Step 6)
~ Close or End process Samsung Kies If you see in message box this error :
SetupConnection..
Can't open the serial(COM) port.
All threads completed. (succeed 0 / failed 1) 
~ This process takes maximum 10 minutes
~ Flashing unofficial firmware will increase the flash counter
~ Flashing official firmware won't increase the flash counter and won't cancel the warranty of your device
~ If your device stuck in boot loop after downgrading, factory reset your device from recovery mode (Vol up+Home+Power)

Downloads :
Odin3_v3.04 HERE, v3.07 HERE, v3.09 HERE
Samsung Mobile Driver HERE
Latest Samsung Kies HERE

13 August 2013

How to Exit Factory Mode for Samsung Galaxy Devices

"Factory Mode" is enabled if the EFS partition of your device is corrupted.
Sometimes if you succeeded in fixing the EFS partition, you stuck in factorymode.
If you see a annoying transparency black box which contains some info about your device (PDA, CSC, H/W, TSP, TSK ...) in yellow characters ... mean you are in factory mode.

Your device must be rooted to exit this mode.

Steps :
1. Download "ES File Explorer" or "Root Explorer" app
2. Open " Root Explorer" and navigate to : efs/FactoryApp/
3. Open "factorymode" file with text editor
4. Change it from
OFF
to
ON
5. Save and exit then Reboot your device
If it doesn't work, do the same steps for "keystr" file
You can also exit this mode by using another method

Steps :
1. Download "Terminal Emulator" app
2. Open "Terminal Emulator" and type
Su
Then enter
3. Type
rm /efs/FactoryApp/keystr
rm /efs/FactoryApp/factorymode
echo -n ON >> /efs/FactoryApp/keystr
echo -n ON >> /efs/FactoryApp/factorymode
chown 1000.1000 /efs/FactoryApp/keystr
chown 1000.1000 /efs/FactoryApp/factorymode
chmod 0744 /efs/FactoryApp/keystr
chmod 0744 /efs/FactoryApp/factorymode
reboot
Then enter ... your device will reboot

Downloads :
"ES File Explorer" app HERE
"Root Explorer" app HERE
"Terminal Emulator" app HERE

12 August 2013

How to Backup & Restore EFS [IMEI] for All Samsung Galaxy S4 Variant

IMEI is a unique identification number programmed onto your device and you can check the unique IMEI of your device by dialing *#06# or written on sticker under the battery. It is required in order to be correctly identified on a mobile network.
Without IMEI, you cannot make calls, send SMS or use mobile data.

EFS is a partition on the internal memory of your device which contain important data including the IMEI.
If the data in this partition gets corrupt, you will lose your IMEI

Requirements :
1. Samsung galaxy S4 device
2. "Android Terminal Emulator" app (Link below)

Before starting :
1. Root your device
2. Download and install "Android Terminal Emulator" app

EFS Backing up Steps :
1. Open "Android Terminal Emulator" and type
Su
Then enter
It will ask for root permission
2.A. For galaxy S4 GT-I9500 Type :
dd if=/dev/block/mmcblk0p3 of=/sdcard/efs.img
Then enter
B.  For galaxy S4 all LTE and US variant Type :
dd if=/dev/block/mmcblk0p10 of=/sdcard/efs.img
dd if=/dev/block/mmcblk0p11 of=/sdcard/mod1.bin
dd if=/dev/block/mmcblk0p12 of=/sdcard/mod2.bin
Then enter
C.  For galaxy S3 all LTE and US variant Type :
dd if=/dev/block/mmcblk0p11 of=/sdcard/efs.img
dd if=/dev/block/mmcblk0p12 of=/sdcard/mod1.bin
dd if=/dev/block/mmcblk0p13 of=/sdcard/mod2.bin
Then enter
3. Backup the created files on your phone's internal storage to your PC or the cloud.

EFS Restoring Steps :
1. Send the files (Step 3) to the internal storage of your device
2. Open "Android Terminal Emulator" and type :
Su
Then enter
It will ask for root permission
3.A. For galaxy S4 GT-I9500 Type :
dd if=/sdcard/efs.img of=/dev/block/mmcblk0p3
Then enter
B. For galaxy S4 all LTE and US variant Type :
dd if=/sdcard/efs.img of=/dev/block/mmcblk0p10
dd if=/sdcard/mod1.bin of=/dev/block/mmcblk0p11
dd if=/sdcard/mod2.bin of=/dev/block/mmcblk0p12 
Then enter
C. For galaxy S3 all LTE and US variant Type :
dd if=/sdcard/efs.img of=/dev/block/mmcblk0p11
dd if=/sdcard/mod1.bin of=/dev/block/mmcblk0p12
dd if=/sdcard/mod2.bin of=/dev/block/mmcblk0p13 
Then enter
4. Restart your device
Done !
Notes :
~ It won't delete your data
~ Make sure you choose the correct cmd in restoring process
~ This method will work only on ROOTED devices
~ Backing up EFS partition is highly recommended for users who use the custom Roms
~ Use it at your own risk
~ This method won't repair your device if you don't have a backup of the EFS partition, but you can to try this How to Fix "Not Registered on Network"/Wrong IMEI for Galaxy S3/S4/Note2
~ Every device has unique partition, so you can't use this if you have backup file from another device

Downloads :
Android Terminal Emulator App HERE 

04 August 2013

How to Boot Into Recovery and Download Mode without Button

This is a fast way to boot your android device into download mode or recovery mode without using any buttons or computer
To use this method your device must be rooted

Steps :
1. Download and install "Terminal Emulator" App
2. Open "Terminal Emulator" and type
Su
Then enter
It will ask for root permission
3.A. To boot into download mode type
Reboot download
Then enter
3.B. To boot into recovery mode type
Reboot recovery
Then enter
Done!
Downloads :
Android Terminal Emulator App HERE

23 July 2013

How to Flash Custom Recovery for Samsung Galaxy S4 Models

This is a tutorial about flashing/installing a stock/custom recovery on Samsung galaxy S4 (its exactly the same steps for other galaxy devices, you just need the correct recovery file for your galaxy model)

Custom recovery will allow you to perform some powerful actions, like full backup / restore, flash custom ROMS, Mods, themes, apps, install updates to Android operating system manually and many other features.

Flashing/installation instructions :
 It won't wipe any data but it's recommended to backup your important data first just in case of this process corrupt your data 
1- Download the correct recovery file for your device (Link below) or any recovery you prefer
2- Download and install Samsung mobile driver (Link below)
3- Unzip the downloaded file only one time
4- Run "Odin3" as administrator
5- Click on PDA button and browse to the unzipped file.tar that you extracted
Recovery android jelly bean
Flash custom Recovery
6 - Disconnect any device connected to USB ports on your computer, disable your antivirus software and exit Samsung Kies
7 - Shut down your device
8 - Put your device into Download Mode (Volume Down + Home + Power)
9 - Volume up to continue
download mode jailbreak s3
10 - Connect the device to your computer by USB cable and wait until you get a sign in Odin (ID:COM section) and "Added" in message box
11 - Make sure re-partition is NOT SELECTED [Very important]
jailbreak the galaxy  samsung galaxy s3
12 - Click Start and wait a few seconds.
- Disconnect your device and check the custom recovery
download mode jailbreak s3
Done !
Notes :
  • I am not responsible if something happened to your device (use this AT YOUR OWN RISK)
  • Skip step 2 if you already have Samsung Kies or Samsung mobile driver on your PC
  • This stuff is made for Samsung galaxy S4 devices (AT&T, Cricket, GT-I9500, Canada/Bell, Sprint, T-Mobile, US Cellular, Verizon and GT-I9505)
  • Some devices have a locked bootloader, unlock it first before flashing the recovery file
  • I just converted "*.img" files from clockworkmod website to "*.tar" file which you can flash by Odin3
  • (You can convert it by following this easy TUT : How to Convert *.img to *.tar.md5 )
  • Official CMW website www.clockworkmod.com
  • Download and Install Kies or Samsung mobile driver, if you didn't get a sign in ID:COM or "Added" in message box
Downloads :
  • Odin3_v3.04 HERE, v3.07 HERE, v3.09 HERE 
  • Latest Samsung Mobile Driver Here
  • Latest Samsung Kies Here
Touch CWM

04 July 2013

How to Root Samsung Galaxy S4 [CF-Auto-Root]

Root Samsung galaxy S4
CF Auto Root is one of the easiest rooting methods for many Samsung galaxy S4 models 
International, US Cellular, T-Mobile, Sprint, Canadian and LTE (GT-I9500, GT-I9505, SGH-I337M, SGH-M919, SCH-R970, SPH-L720, and many versions of Samsung devices)
By using this method, you can root your galaxy S4 which is running on Android 4.2.2 or 4.3 jelly bean

Rooting instructions :
Backup your data first
1- Visit autoroot.chainfire and Download "CF-Auto-Root" file (Make sure that you have been chosen the correct file for your device model)
Root galaxy S4 cf-auto-root

Root galaxy S4 cf-auto-root
2 - Unzip the downloaded file ONLY one time
3 - Run Odin as administrator
4 - Click on PDA button and browse to "CF-Auto-Root-....tar.md5" file that you extracted
Odin
5 - Disconnect any device connected to USB ports on your computer and disable your antivirus software
6 - Shut down your device
7 - Put your device into Download Mode (Volume Down + Home + Power)
8 - Volume up to continue
Samsung galaxy S4 Download Mode
9 - Connect the device to your computer by USB cable and wait until you get a sign in Odin (ID:COM section) and "Added" in message.
(If you don't get any sign, then you need to download and install Samsung Kies or Samsung mobile driver)
10 - Make sure re-partition is NOT TICKED [Very important] (Only if you use another ver of Odin)
11 - Click "Start" and wait a few seconds.
Done !
Notes :
~ Check this if you face problem after rooting How to Fix Android 4.3 Jelly Bean Rooting Problem for Galaxy S3/S4/Note 2/3
~ Do not disconnect the cable or turn off the device until rooting is complete
~ I am not responsible if something bad happened to your device (USE AT YOUR OWN RISK)
~ This stuff is made for many version of Samsung galaxy devices
Visit this link http://autoroot.chainfire.eu/  for check if your device is listed or not .
~ The warranty of your device will be canceled because the flash counter will be increased
~ Download and Install Kies or Samsung mobile driver, if you didn't get a sign in ID:COM or "Added" in message box
~ This method of rooting will install SuperSU binary, APK and Stock recovery ONLY
~ CF-Auto-Root does not include CWM recovery
~ If SuperSU wasn't installed after rooting process, Install it from Google Play
~ Credits goes to "Chainfire" (CF-Auto-Root developer)
~ Rooting will not wipe your data, but its better to backup first
~ XDA "CF-Auto-Root" official thread http://goo.gl/6CrPu

Downloads :
CF-Auto-Root website autoroot.chainfire
Latest Samsung Mobile Driver HERE
Latest Samsung Kies HERE