Adb Change Device Serial Number
Posted By admin On 21.08.19Is there some adb or android shell command that I could run that would return a device's IMEI or MEID number? Preferably that's all that would be returned.
Serial Number Changer (Q&A. > More device coverage Mask your device Serial number. Change Serial number to any. To revert back to the original Serial Id.
Change Device Name
7 Answers
I figured out how to do this. You need to run adb shell dumpsys iphonesubinfo
in a shell. It will give you a bit more than you need, but it will also return IMEI or MEID number.
Edit (2017): In Android 5.0+ you'll need to use the service call
command. More info about that can be found here.
For ESN you can do
service call iphonesubinfo 16
at least it gives me the right one on Motorola Photon Q.
To clean it up (assuming you have shell on the device and have a capable busybox there, if not I highly recommend one):
For MEID with cleanup:
As the iphonesubinfo 1
command does not work on many devices, here is a little workaround that should work consistently on most Android versions and on rooted and unrooted devices:
If you already have an own app that you can install on the device that you want to know the IMEI from, add this BroadcastReceiver
to your app:
and to the AndroidManifest.xml
:
Call your receiver over ADB:
..and the output will be something like:
..where data
is the device IMEI.
Device Serial Number Lookup
If you have don't have an existing app to integrate this solution into, I created this simple one which includes the required code:https://github.com/saschoar/android-imei-getter (also includes the APK and full instructions).
This works for me on my nexus 5 and moto 5G.
output:
Script: get.deviceinfo.bash
It requires:
• Did you purchase Office online or from a retail store? Yes we have installation ID and confirmation ID generation in Microsoft Office Activation center. Installation id confirmation id generator office 2013. Before we start with the troubleshooting steps I need more details: • Did you purchase Office 2013 or Office 365 subscription? Hi Suresh, Thank you for your reply. Installation ID is available in activation screen after the product is installed, but confirmation ID need to be obtained by calling the Product Activation Center telephone number available on the activation screen (IVR).
- UBS debugging ON (developer options)
adb
(Android SDK Platform Tools)
IMEI-adb shell service call iphonesubinfo 1 awk -F '' '{print $2}' sed '1 d' sed 's/.//g' awk '{print}' ORS='
Android ID=
adb shell settings get secure android_id
Just run ./adb devices
and it lists all connected IMEIs.