[Moto G5 Plus Guides, News, & Discussion] rishivg:
Hey Guys,

I recently had hardbricked my potter device.. Was unable to flash any rom, not even stock rom and I didnt find any thread in this forum which could have helped me.

I unbricked my device, flashed the stock rom and locked the bootloader,

The following steps will also get you unbrick your device... So, I would like to share the steps with all of you.

Note that this isnt only for unbricking, this can be done by any user who wants to flash stock rom and lock their bootloader.

Step 1: Download your potter rom from the following link: https://mirrors.lolinet.com/firmware/moto/potter/official/RETAIL/

"POTTER_RETAIL_7.0_NPNS25.137-33-5_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip" download the following zip file.

Step 2: Download Minimal adb and fastboot from the following link: https://androidfilehost.com/?fid=745425885120698566

Step 3: Install Minimal adb and fastboot and extract the downloaded rom to the same folder where you have installed Minimal And fastboot package.

Step 4: After extracting open command prompt in that folder (where you have extracted the rom/ the adb and fastboot folder)

Step 5: Now boot your phone into your bootloader by pressing volume down+ power button at the same time.

Step 6: Type the following in your command prompt: fastboot devices

If it detects your device move to the next step, if it does not then you will have to install drivers for your device.

Step 7: Now Copy the following code and paste it to your command prompt:

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash dsp adspso.bin

fastboot flash oem oem.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot erase clogo

fastboot oem fb_mode_clear

fastboot reboot

Step 8: This will completely wipe your data and install stock 7.0 OS on your potter device. Note that this does not lock your bootloader.

Step 9: Boot your device to check if it boots and if it works.... now if you want to lock your bootloader move to the next step.

Step 10: Reboot again into your bootloader.

Step 11: Again follow the step 4, step 5 and step 6.

Step 12: Now paste the following commands in the command prompt:

fastboot oem lock

fastboot oem lock

fastboot flash oem oem.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash boot boot.img

fastboot oem lock

Step 13: Reboot your device...

In this way you will be able to move to stock rom and lock your bootloader..

Please do comment if this works for you too and if you find any issues...

Thank you!!

All the Best!!:fingers-crossed::fingers-crossed::good::good: