Quantcast
Channel: DroidWin
Viewing all articles
Browse latest Browse all 969

How to Dump devinfo Partition and Read IMEI Number

$
0
0

In this guide, we will show you the steps to dump the devinfo partition, extract it, and then read the IMEI number of your Android device. This tweak might come in handy if for some reason the generic approach of typing in *#06# does not yield the required result. With that said, this tweak should work across all those devices that house the IMEI in the devinfo partition [such as the Pixel devices].

If your device has the IMEI in the EFS partition, then extracting devinfo will result in 0 values. In that case, you’ll have to extract the EFS partition using the exact same steps that are given for devinfo and you’ll get the required data. The below instructions should make it all clear. So without any further ado, let’s check it out.

How to Dump devinfo Partition and Read IMEI Number

  1. First off, download and extract Android SDK Platform Tools on PC.
  2. Next, enable the USB Debugging & OEM Unlocking on your device.Dump devinfo Partition and Read IMEI Number
  3. Then unlock the bootloader on your device and root it using Magisk.
  4. Now open CMD inside platform-tools and type the below command:
    adb shell
    su
    ls -la /dev/block/bootdevice/by-name
  5. You’ll get a couple of prompts, make sure to tap on Allow and Grant.
  6. Note down the address of the devinfo partition. In my case, it’s sdd1.Dump devinfo Partition and Read IMEI Number
  7. Now type in the below command to extract devinfo from your device:
    dd if=/dev/block/sdd1 of=/sdcard/devinfo.img
    Make sure to replace sdd1 with your devinfo address
  8. The file will be placed in the Internal Storage. Transfer it to your PC.Dump devinfo Partition and Read IMEI Number
  9. Now install a Hex Editor app like Hxd and open devinfo.img using it.
  10. Now hit Ctrl+F, type IMEI, and you’ll get both your IMEI 1 and 2 values.extract imei devinfo

That’s it. These were the steps to dump the devinfo partition, extract it, and then read the IMEI number of your Android device. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution as soon as possible.

UPDATE: Read IMEI via Fastboot Commands

Well, it turns out there is no need to 1root your device after all! You can get hold of the device’s IMEI number using Fastboot Commands as well. Here’s how:

  1. Download and extract Android SDK Platform Tools on your PC.
  2. Now enable USB Debugging and connect your device to the PC.
  3. Then open Command Prompt inside the platform-tools folder.
  4. Now type the below commands to get the IMEI 1 and 2 values.
    fastboot oem get_config imei1
    fastboot oem get_config imei2

    get imei via fastboot commands

  5. Once done, you may reboot your device to the OS via command:
    fastboot reboot

The post How to Dump devinfo Partition and Read IMEI Number appeared first on DroidWin.


Viewing all articles
Browse latest Browse all 969

Trending Articles