[Moto X4 Questions & Answers] callnishanth:
I have been using my Moto X4 on a custom ROM (with magisk) for over 3 years without any issues. Just yesterday, my phone battery died and I plugged in a charger and start up the phone in a couple of mins and I get this message "Your device is corrupt. It cant be trusted and will not boot.

I was surprised to find that on the Fastboot screen, the OEM Status shows as LOCKED - How can this happen after so many years and that too in a snap ?

The problem now is that I'm not sure if the "OEM Unlocking option" under Developer Settings is disabled (It has been long since I went into these settings).

When I try to unlock OEM, I get this message below. What are my options now since the phone doesn't start for me to enable the option using the GUI ? I would like to access my data if there is an chance.

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem unlock O4USDSC3JS6UX4VQBA1B
...
(bootloader) Check 'OEM unlocking' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.012s]
finished. total time: 0.013s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all
(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-uefi-c18849c-181018
(bootloader) product: payton
(bootloader) board: payton
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: APAC
(bootloader) storage-type: eMMC
(bootloader) emmc: 64GB SAMSUNG DH6DMB RV=08 PV=05 FV=0000000000000005
(bootloader) ufs: N/A
(bootloader) ram: 4GB SAMSUNG LP4x DIE=16Gb M5=01 M6=06 M7=10 M8=12
(bootloader) cpu: SDM630 1.0 (0)
(bootloader) serialno: ZY224GABCD
(bootloader) cid: 0xDEAD
(bootloader) channelid: 0x00
(bootloader) uid: 00000000
(bootloader) securestate: oem_locked
(bootloader) verity-state: enforcing (0)
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: 351899081981234
(bootloader) meid:
(bootloader) date: 10-25-2017
(bootloader) sku: XT1900-2
(bootloader) carrier_sku:
(bootloader) battid: SNN5995A
(bootloader) battery-voltage: 4135
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) ro.build.fingerprint[0]: motorola/payton/payton:8.0.0/OPWS2
(bootloader) ro.build.fingerprint[1]: 7.57-40-3-15/16:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.27.306.16.payton.ret
(bootloader) ro.build.version.full[1]: ail.en.US
(bootloader) ro.build.version.qcom: <not found>
(bootloader) version-baseband[0]: M660_7036.16.01.69.02R PAYTON_APACDSDS
(bootloader) version-baseband[1]: _CUST
(bootloader) kernel.version[0]: Linux version 4.4.78-perf-gc27dd6c (huds
(bootloader) kernel.version[1]: oncm@ilclbld28) (gcc version 4.9.x 20150
(bootloader) kernel.version[2]: 123 (prerelease) (GCC) ) #1 SMP PREEMPT
(bootloader) kernel.version[3]: Thu Oct 18 11:53:59 CDT 2018
(bootloader) git:abl: MBM-3.0-uefi-c18849c-181018
(bootloader) git:xbl: MBM-3.0-uefi-dfccc3a-181018
(bootloader) git:pmic: MBM-3.0-uefi-dfccc3a-181018
(bootloader) git:rpm: MBM-3.0-uefi-245b046-181018
(bootloader) git:tz: MBM-3.0-uefi-30789d4-dirty-181018
(bootloader) git:hyp: MBM-3.0-uefi-30789d4-dirty-181018
(bootloader) git:devcfg: MBM-3.0-uefi-30789d4-dirty-181018
(bootloader) git:cmnlib: MBM-3.0-uefi-30789d4-dirty-181018
(bootloader) git:cmnlib64: MBM-3.0-uefi-30789d4-dirty-181018
(bootloader) git:keymaster: MBM-3.0-uefi-30789d4-dirty-181018
(bootloader) git:prov: MBM-3.0-uefi-30789d4-dirty-181018
(bootloader) git:storsec: MBM-3.0-uefi-30789d4-dirty-181018
(bootloader) qe: "qe 1/1"
(bootloader) frp-state: protected (77)
(bootloader) ro.carrier: retin
(bootloader) current-slot: _b
(bootloader) running-bl-slot: _b/_b
(bootloader) running-boot-lun: 0
(bootloader) slot-suffixes: _a,_b
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: yes
(bootloader) slot-successful:_b: yes
(bootloader) slot-unbootable:_a: yes
(bootloader) slot-unbootable:_b: no
(bootloader) slot-retry-count:_a: 6
(bootloader) slot-retry-count:_b: 6
all: listed above
finished. total time: 0.984s

C:\Program Files (x86)\Minimal ADB and Fastboot>