Tuesday, December 1, 2015

[GUIDE] How to flash a factory image | Return to stock

How to flash a factory image | Return to stock


[CENTRE]Heya Play Users,

In this thread, I'll help you to flash factory images on your Moto X Play.[/CENTRE]

If followed correctly, this guide can be a useful tool. These steps are listed in the order in which they should be completed. The intent is to seamlessly return to stock leaving as little room for error as possible. This process will erase and/or reset everything on your device. All steps are assuming you have backed up your contacts, texts, pictures, videos, etc. I do not take credit for any of this material or information.


Quote:

I am not responsible if anything goes wrong.

Installing necessary Desktop Tools
[QUOTE]
ADB and Fastboot Installation
[CENTRE]Using Android SDK

1. Download the full Android SDK here (scroll to the bottom of the page>DOWNLOAD FOR OTHER PLATFORMS>SDK Tools Only).
2. Extract the zip and place the android-sdk-windows folder on your desktop.
**If you chose to download the slimmed sdk skip to step 5**
3. Only if you downloaded the full sdk: Go into the android-sdk-windows folder and run SDK Manager.exe. Install the following packages (there are a total of 4 packages):
- Tools > Android SDK Tools, Android SDK Platform-tools
- Extras > Android Support Library
4. Only if you downloaded the full sdk: Go back into the android-sdk-windows directory, and you should see a new folder named platform-tools. If you don't see this new folder, repeat the step above.
5. To confirm that it is indeed working, open a command prompt window and enter the following commands:
Code:

cd Desktop/android-sdk-windows/platform-tools
adb version

If it displays "Android Debug Bridge version x.x.xx" it is working. If it is gives an error saying that adb is not a recognized command, it has not been successful. Carefully repeat the steps above if this is the case. Close the command prompt window when you are done.
[/CENTRE]
[CENTRE]Using ADB|Fastboot Manually
Download and intall it from this thread or here's a direct link for the download.
Windows 10 users may need this pack.
To confirm that it is indeed working, open a command prompt window and enter the following command:
Code:

adb version
If it displays "Android Debug Bridge version x.x.xx" it is working. If it is gives an error saying that adb is not a recognized command, it has not been successful.



FLASHING STOCK FIRMWARE

1. Download the Factory Image from here.
2. Download the Motorola USB Drivers and install it.
- Using Motorola Device Manager

[CENTRE]OR][/CENTRE]
- Using only the Motorola Drivers

3. Extract the Firmware zip file in Desktop/android-sdk-windows/platform-tools folder.
4. Reboot the phone into 'Bootloader mode.
- The 'hardware' way.

a) Unplug the USB cable and power off the phone.
b) Press and hold 'Volume down' and power on the phone.
c) Connect USB cable to your computer.

- The 'software' way.

a) Enable developer mode on the Moto G (Settings-> 'About Phone'. Tap 7 times on 'Build Number')
b) Enable USB debugging. (Settings -> 'Developer options' -> 'USB Debugging' -> check)
c) Connect phone to computer via USB. You should see a new ADB device detected and drivers installed.
d) Open Command Prompt or Terminal, navigate to the ADB folder (i.e cd Desktop/android-sdk-windows/platform-tools ) and type:

Code:
adb reboot-bootloader

5. Now execute these commands in cmd.
Code:

mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk1
mfastboot flash system system.img_sparsechunk2
mfastboot flash system system.img_sparsechunk3
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot

6. After everything, it will automatically reboot the phone. Your phone now should be stock.


via xda-developers http://ift.tt/1lthXG5

IFTTT

Put the internet to work for you.

Turn off or edit this Recipe

No comments:

Post a Comment