Moto G 5g 2024 (XT2417-1) returns "failed to get unlock data"

2 months ago by procapra to c/lineageos

Recently bought a phone specifically for the purpose of using it with lineage os. It was somewhat cheap and had a headphone jack so I was pretty excited but I am stuck. OEM unlocking is already toggled. Fastboot does recognize the device, but fastboot oem get_unlock_data fails. Used the debian versions of fastboot and adb and the latest ones downloaded online, neither changes anything.

cid: 0x0000

ro.carrier: unknown

Any thoughts?

dodge_fiction109 2 points 2 months ago

I have installed Lineage on the same phone in the past. I seem to remember a step I needed to do through Motorola to properly unlock the device. I found this link on the install page—have you attempted this yet?

https://en-us.support.motorola.com/...

path: 0 25619734, hotness: undefined, score: 2, children: 1
procapra 1 point 2 months ago

I can't do this step until I get an output from get_unlock_data

I think it's just not possible for whatever reason.

path: 0 25619734 25626059, hotness: undefined, score: 1, children: 0
eldavi 1 point 2 months ago

no one was able to help in the lineage forums?

path: 0 25604914, hotness: undefined, score: 1, children: 1
procapra 1 point 2 months ago

Went on the discord but no help there unfortunately.

path: 0 25604914 25612319, hotness: undefined, score: 1, children: 0
lntl 1 point a month ago

I use this phone w Lineageos as my daily, following the instructions provided worked for me.

Questions for you:

  1. Did you make a Motorola account?
  2. Did you install Android SDK?
  3. Did you install Motorola USB Drivers
path: 0 25674258, hotness: undefined, score: 1, children: 4
procapra 1 point a month ago
  1. Yes, but I can't proceed because I can't get the OEM unlock command to succeed

  2. Yes.

  3. I use Linux, I'm unsure if these drivers are available. I wasn't able to find them.

path: 0 25674258 25679286, hotness: undefined, score: 1, children: 3
maxmad 1 point a month ago
path: 0 25674258 25679286 25681615, hotness: undefined, score: 1, children: 0
maxmad 1 point a month ago
path: 0 25674258 25679286 25681564, hotness: undefined, score: 1, children: 0
lntl 1 point a month ago

I see! When you boot into Fastboot mode, what's the output of

$ fastboot devices

path: 0 25674258 25679286 25679690, hotness: undefined, score: 1, children: 0

go to feed...