[Moto G 5G Questions & Answers] terzarima:
I want to put LOS on my new Motorola One 5G Ace (XT2113-2). I downloaded platform tools from here, enabled OEM unlock and USB debugging in settings, and restarted the phone with adb restart bootloader. While in fastboot, fastboot devices showed the device, but every time I tried fastboot oem get_unlock_data it would hang for a while, give up with the following error and reboot into fastboot again:

% ./fastboot oem get_unlock_data
FAILED (Status read failed (No such device))
fastboot: error: Command failed

I read somewhere that this needs to be done on Windows, so I booted up Windows and downloaded platform tools from here, downloaded the USB driver from here, installed that, rebooted everything and tried again. This time fastboot oem get_unlock_data gave up immediately with another error:

> fastboot oem get_unlock_data
(bootloader) Failed to get unlock data.
OKAY [ 0.012s]
Finished. Total time: 0.012s

I read somewhere else that I needed to put a SIM card in the device and wait a while. I also tried enabling data before rebooting into fastboot, as well as various USB cables and ports. On two different PCs.

Any ideas?

% fastboot getvar all
(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-kiev_t-65b8d7a21e0-220703
(bootloader) product: kiev
(bootloader) board: kiev
(bootloader) secure: yes
(bootloader) hwrev: PVT
(bootloader) radio: NA
(bootloader) storage-type: UFS
(bootloader) emmc: N/A
(bootloader) ufs: 128GB SAMSUNG KM2V8001CM-B707 FV=1500 WB=16777216
(bootloader) ram: 6GB SAMSUNG LP4x DIE=16Gb M5-M8=01 07 01 10
(bootloader) cpu: SM_BITRA_H 1.0
(bootloader) serialno: ***
(bootloader) cid: 0x0000
(bootloader) channelid: 0x00
(bootloader) uid: 72BAAEEC
(bootloader) token: inactive
(bootloader) securestate: oem_locked
(bootloader) factory-modes: allowed
(bootloader) verity-state: enforcing (0)
(bootloader) iswarrantyvoid: no
(bootloader) max-download-size: 805306368
(bootloader) reason: Reboot mode set to fastboot
(bootloader) imei: ***
(bootloader) imei2:
(bootloader) meid:
(bootloader) date: 01-05-2021
(bootloader) sku: XT2113-2
(bootloader) carrier_sku: XT2113-2
(bootloader) battid: SB18C85232
(bootloader) battery-voltage: 4027
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) poweroffalarm: 0
(bootloader) ro.carrier: unknown
(bootloader) ro.build.fingerprint[0]: motorola/kiev_t/kiev:11/RZKS31.Q3-
(bootloader) ro.build.fingerprint[1]: 45-16-3-3/d1c34:user/release-keys
(bootloader) ro.build.version.qcom: LA.UM.9.12.r1-12500-SMxx50.0
(bootloader) version-baseband: M7225_HI251_22.578.01.39R KIEV_TMO_CUST
(bootloader) kernel.version[0]: Linux version 4.19.157-perf+ (nobody@and
(bootloader) kernel.version[1]: roid-build) (clang version 10.0.7 for An
(bootloader) kernel.version[2]: droid NDK, GNU ld (binutils-2.27-bd24d23
(bootloader) kernel.version[3]: f) 2.27.0.20170315) #1 SMP PREEMPT Sun J
(bootloader) kernel.version[4]: ul 3 10:35:18 CDT 2022
(bootloader) git:xbl: MBM-3.0-kiev_t-93822280-220703
(bootloader) git:xbl_config: MBM-3.0-kiev_t-93822280-220703
(bootloader) git:abl: MBM-3.0-kiev_t-65b8d7a21e0-220703
(bootloader) git:aop: MBM-3.0-kiev_t-f135681-220703
(bootloader) git:tz: MBM-3.0-kiev_t-5761219a-220703
(bootloader) git:hyp: MBM-3.0-kiev_t-5761219a-220703
(bootloader) git:devcfg: MBM-3.0-kiev_t-5761219a-220703
(bootloader) git:keymaster: MBM-3.0-kiev_t-775ecfe-220703
(bootloader) git:storsec: MBM-3.0-kiev_t-775ecfe-220703
(bootloader) git:uefisecapp: MBM-3.0-kiev_t-775ecfe-220703
(bootloader) git:prov: MBM-3.0-kiev_t-5761219a-220703
(bootloader) git:qupfw: MBM-3.0-kiev_t-0ae1dc5-220703
(bootloader) frp-state: no protection (0)
(bootloader) current-slot: a
(bootloader) running-bl-slot: _a/_a
(bootloader) running-boot-lun: 1
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: yes
(bootloader) slot-successful:_b: yes
(bootloader) slot-unbootable:_a: no
(bootloader) slot-unbootable:_b: no
(bootloader) slot-retry-count:_a: 6
(bootloader) slot-retry-count:_b: 6
(bootloader) logical-block-size: 0x1000
(bootloader) erase-block-size: 0x1000
(bootloader) is-userspace: no
(bootloader) pcb-part-no: SB28C93430
(bootloader) primary-display: csot_ft8756_666_1080x2400_vid
(bootloader) secondary-display:
all: listed above
Finished. Total time: 0.050s