[Nexus 6P General] smartpreet:
what is OP?

I am not an expert in this field.

so please help me like a newbie

---------- Post added at 04:07 PM ---------- Previous post was at 03:10 PM ----------

10. How To Flash The Factory Images (And Return To Stock)

Prerequisites: unlocked bootloader (section 1).

This section will explain how to return the phone to be like it was when it came out of the box. This will wipe everything from the phone. If you wish to flash the factory images without wiping your personal data from the internal storage please move on to the next section.

Go to Settings/Backup & Reset and perform a factory data reset. This will remove all of your user data from the device (apps, settings, photos, music, etc).

Download the appropriate factory images for your model here.

Unzip the angler-xxxxxx-factory-xxxxxxxx (x's replace variables) into a directory on your PC (for this guide we'll use C:\angler\).

Once unzipped you should have a folder named angler-xxxxxx (x's replace variables). Open it and move the following files to a new directory named C:\angler\images\:

bootloader-angler-angler-xx.xx.img

radio-angler-angler-xx.xx.img

(Please note that radio and bootloader naming changes from build to build so the filenames and below commands will change with them)

Within C:\angler\angler-xxxxxx\ you'll see another zip archive named image-angler-xxxxxx, unzip the contents of that zip into the C:\angler\images\ folder we created before. Now within C:\angler\images\ you should have the following files:

android-info.txt

boot.img

bootloader-angler-angler-xx.xx.img

cache.img (not present on Android 7.1.2 and above)

radio-angler-angler-xx.xx.img

recovery.img

system.img

userdata.img

vendor.img

Boot into the bootloader and connect your phone to your PC via usb cable.

Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here), enter these commands to flash:

Code:

fastboot flash bootloader C:\angler\images\bootloader-angler-angler-xx.xx.img

fastboot reboot-bootloader

fastboot flash radio C:\angler\images\radio-angler-angler-xx.xx.img

fastboot reboot-bootloader

fastboot flash boot C:\angler\images\boot.img

fastboot erase cache

(above command is unnecessary on Android 7.1.2 and above)

fastboot flash cache C:\angler\images\cache.img

(above command is unnecessary on Android 7.1.2 and above)

fastboot flash recovery C:\angler\images\recovery.img

fastboot flash system C:\angler\images\system.img

fastboot flash vendor C:\angler\images\vendor.img

On 7.1.2 and above you'll also need to boot into TWRP recovery and wipe cache and dalvik cache.

If you wish to you can also relock the bootloader with this command:

Code:

fastboot flashing lock

(This command will wipe all user data from the device)

Important: do not lock the bootloader unless you have first flashed the stock images. Locking the bootloader while you have a custom recovery installed can result in a brick. Please also note that the locking procedure will wipe all user data from the device.

Once all operations are complete you can reboot the device.

i have followed each step as it is,

but after completion i got the 'red trianlge in android logo and no command' msg.

tell me what am i doing wrong?