[Moto G7 Power Questions & Answers] dannyetlv:
Hi everyone!

I hope this is the right place to post this issue.

I have an Motorola G7 Power

model ID XT1955-4

CID 0x0032

The phone has the bootloader unlocked.

this is all the info about it C:\mfastboot>mfastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: MBM-2.1-ocean_retail-a5c9d71-190702

(bootloader) product: ocean

(bootloader) board: ocean

(bootloader) secure: yes

(bootloader) hwrev: PVT1

(bootloader) radio: 6

(bootloader) storage-type: emmc

(bootloader) emmc: 64GB MICRON S0J9N8 RV=08 PV=10 FV=0000000000000004

(bootloader) ram: 4GB MICRON LP3 DIE=8Gb M5=FF M6=01 M7=00 M8=5F

(bootloader) cpu: SDM632

(bootloader) serialno: ZY326H3KLF

(bootloader) cid: 0x0032

(bootloader) channelid: 0x00

(bootloader) uid: E301320D00000000000000000000

(bootloader) securestate: flashing_unlocked

(bootloader) iswarrantyvoid: yes

(bootloader) max-download-size: 536870912

(bootloader) reason: Reboot mode set to fastboot

(bootloader) imei: 359517095583159

(bootloader) meid:

(bootloader) date: 08-06-2019

(bootloader) sku: XT1955-4

(bootloader) carrier_sku: XT1955-4

(bootloader) battid: SB18C28956

(bootloader) iccid:

(bootloader) cust_md5:

(bootloader) max-sparse-size: 268435456

(bootloader) current-time: "Sun Jun 7 10:22:15 UTC 2020"

(bootloader) ro.build.fingerprint[0]: motorola/ocean_reteu/ocean:9/PPOS2

(bootloader) ro.build.fingerprint[1]: 9.114-134-2/0d27:user/release-keys

(bootloader) poweroffalarm: 0

(bootloader) ro.build.version.full[0]: Blur_Version.29.281.2.ocean_reteu

(bootloader) ro.build.version.full[1]: .retail.en.US

(bootloader) ro.build.version.qcom: LA.UM.7.6.2.r1-04600-89xx.0

(bootloader) version-baseband: M632_26.100.01.120.01R OCEAN_ROWDSDS_CUST

(bootloader) kernel.version[0]: Linux version 4.9.112-perf+ (hudsoncm@il

(bootloader) kernel.version[1]: clbld34) (gcc version 4.9.x 20150123 (pr

(bootloader) kernel.version[2]: erelease) (GCC) ) #1 SMP PREEMPT Sun Aug

(bootloader) kernel.version[3]: 4 11:49:12 CDT 2019

(bootloader) sbl1.git: MBM-2.1-ocean_retail-b508f3a-190702

(bootloader) rpm.git: MBM-2.1-ocean_retail-22daab3-190702

(bootloader) tz.git: MBM-2.1-ocean_retail-8798b8e-dirty-190702

(bootloader) devcfg.git: MBM-2.1-ocean_retail-8798b8e-dirty-190702

(bootloader) keymaster.git: MBM-2.1-ocean_retail-8798b8e-dirty-190702

(bootloader) cmnlib.git: MBM-2.1-ocean_retail-8798b8e-dirty-190702

(bootloader) cmnlib64.git: MBM-2.1-ocean_retail-8798b8e-dirty-190702

(bootloader) prov.git: MBM-2.1-ocean_retail-8798b8e-dirty-190702

(bootloader) aboot.git: MBM-2.1-ocean_retail-a5c9d71-190702

(bootloader) frp-state: no protection (144)

(bootloader) ro.carrier: reteu2

(bootloader) current-slot: b

(bootloader) running-boot-lun: 0

(bootloader) running-slot: _b

(bootloader) slot-suffixes: _a,_b

(bootloader) slot-count: 2

(bootloader) slot-successful:_a: No

(bootloader) slot-successful:_b: No

(bootloader) slot-bootable:_a: No

(bootloader) slot-bootable:_b: Yes

(bootloader) slot-retry-count:_a: 0

(bootloader) slot-retry-count:_b: 6

all: listed above

finished. total time: 0.040s

I wanted to reset my phone so that I could start over with all the data and apps. I did a reset from Motorola settings. It didn't reset then. Then I went in twrp recovery in "advanced" category and I made format data (I typed format). Then the phone got stuck in bootloop.

I downloaded from web XT1955-4_OCEAN_RETEU_9.0_PPO29.80-44_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip and this Motorola_Moto_G7_Power_XT1955-4_OCEAN_PPO29.80-27_CID50 and I tried to install firmware through twrp, on "Image" category (I downloaded the zip on sdcard) but it gave me "invalid zip file" error. After some more research on google I found that you can't install the stock rom through twrp, but only through fastboot.

I followed those instructions from web

mfastboot.exe oem lock begin

mfastboot.exe flash partition gpt.bin

mfastboot.exe flash motoboot motoboot.img

mfastboot.exe flash logo logo.bin

mfastboot.exe flash boot boot.img

mfastboot.exe flash recovery recovery.img

mfastboot.exe flash system system.img_sparsechunk.0

mfastboot.exe flash system system.img_sparsechunk.1

mfastboot.exe flash system system.img_sparsechunk.2

mfastboot.exe flash system system.img_sparsechunk.3

mfastboot.exe flash system system.img_sparsechunk.4

mfastboot.exe flash system system.img_sparsechunk.5

mfastboot.exe flash system system.img_sparsechunk.6

mfastboot.exe flash system system.img_sparsechunk.7

mfastboot.exe flash system system.img_sparsechunk.8

mfastboot.exe flash modem NON-HLOS.bin

mfastboot.exe erase modemst1

mfastboot.exe erase modemst2

mfastboot.exe flash fsg fsg.mbn

mfastboot.exe erase cache

mfastboot.exe erase userdata

mfastboot reboot

Each command worked well, excepting:

mfastboot.exe flash motoboot motoboot.img

target max-sparse-size: 256 MB

error: cannot load 'motoboot.img': No error

mfastboot.exe flash boot boot.img

(bootloader) Image signed with key bad key

mfastboot.exe flash recovery recovery.img

target max-sparse-size: 256 MB

error: cannot load 'recovery.img': No error

The phone displayed only "bad key" so I finally downloaded a logo.bin file and ran "mfastboot flash logo logo.bin" It started, but didn't pass over the logo, so I finally did a hard reset. Then it started but without IMEI, the sim card wasn't recognized. So I did again a hard reset then flashed the other zip (the xml file). Now touchscreen doesn't work, when I go to recovery it doesn't open the twrp (because of hard reset, I think). The buttons for home and volume work.

While googling, I found that many users struggled with problems like this and not all of them fixed them.

My phone info is "model ID XT1955-4 CID 0x0032" so then I thought I need a firmware with cid32 (those 2 zips are with cid50) but I didn't find such zips for XT1955-4.

I think that because of that cid, the imei and now the touchscreen isn't working anymore.

I found an answer on the web that I should relock the bootloader but I don't know if it helps or it will block me the access through fastboot.

The questions are:

1. It's possible to fix my phone without going to service (I can't, I don't live in city)?

2. What exactly do I need to need to fix this phone?

3. If I bricked it, why it happened that?

Thanks!