Often we buy Google Pixel phones from the market, but sometimes their IMEI is either changed or patched using device software. After a factory reset, the IMEI may become null. On this page, I'll share solutions for all Google Pixel IMEI-related issues, including:
- How to repair Google Pixel IMEI
- How to recover lost IMEI
- How to enable Diag Mode
- How to solve "No Service" issues by writing QCN files
How to Unlock Google Pixel Bootloader
- Go to Settings > About Phone
- Tap "Build Number" 7 times to enable Developer Options
- Go to System > Developer Options and enable "OEM Unlocking"
- Power off the phone completely
- Hold Volume Down + Power to boot into Fastboot Mode
- Connect phone to computer via USB
- Install ADB/Fastboot drivers on computer
- Open Platform Tools folder, Shift+Right Click > "Open PowerShell here"
- Enter command: fastboot flashing unlock
- On phone screen, use Volume Up to select "Yes" to unlock
Note: First boot after unlocking may take 5 minutes on Google logo.
Required OS Version/Firmware for IMEI Repair
You need to flash firmware version RQ3A.210805.001.A1 on your Google Pixel. Then root the phone using boot.img from this firmware.
How to Reset EFS Partition
Use these ADB commands (phone will reset after completion):
- adb shell
- su
- rm /dev/block/by-name/fsg,modemst2,modemst1
- ls -l /dev/block/platform/msm_sdcc.1/by-name/
- ls -la /dev/block/by-name/
- dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
- dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
- dd if=/dev/zero of=/dev/block/bootdevice/by-name/fsg
Enable Diag Mode Commands
- adb shell
- su
- resetprop ro.bootmode usbradio
- resetprop ro.build.type userdebug
- setprop sys.usb.config diag,diag_mdm,adb
- diag_mdlog
After last command, change USB mode to File Transfer, then reconnect cable.
Repair Google Pixel IMEI
Use any Qualcomm IMEI Repair Tool to fix SIM 1 IMEI. After reboot, IMEI should be repaired but you may face "No Service" issue.
How to Write QCN File Using QPST Tool
- Install Qualcomm drivers on computer
- Install QPST Tool
- Enable Diag Mode as described above
- Open QPST Configuration from Start Menu
- Click "Start Clients" > "Software Download"
- Click "Restore" and browse for Pixel QCN file
- Click "Start"
Process takes about 1 minute. Reboot phone after completion.
Download Resources
IMEI Repair Commands:
QCN Files:
- Pixel 2 XL
- Pixel 3A XL
- Pixel 3A
- Pixel 3
- Pixel 3 XL
- Pixel 4
- Pixel 4A (Tested)
- Pixel 4A 5G (Not Tested)
- Pixel 4A (Alternative)
- Pixel 4 XL
- Pixel 5