IMEI repair typically involves altering device identifiers, which is illegal in many countries (e.g., under the US Wireless Telephone Protection Act or similar laws in the EU and elsewhere) unless done by an authorized manufacturer/service center with proper documentation of ownership and legal justification (e.g., replacing a damaged motherboard with an identical IMEI transferred under regulation).
Deep in a Reddit thread with only three upvotes, a user named “Qualcomm_Surgeon” had posted a cryptic guide: “Repairing lost IMEI on Motorola One Action (XT2013-2) using QPST and a hex editor.” motorola one action imei repair