It happens many time that you need to change the imei within android emulator on Ubuntu. So the following steps will guide you to do the same. The files that requires modification for imei are as follows:
And the location for those files is /sdk/tools within android sdk.
- emulator64-arm
- emulator64-mips
- emulator64-x86
- emulator-arm
- emulator-mips
- emulator-x86
And the location for those files is /sdk/tools within android sdk.
- Download or install android sdk.
- Install bless hex editor.
sudo apt-get install bless - Open one by one the above mentioned files in bless editor. For ex:
- Enable search mode using Ctrl + F and change Hexadecimal to Text
- Search content "CGSN". The content next to the CGSN is the IMEI in the left pane.
For ex: +CGSN.000000000000000.
- Now change the 15 digit to the value as per your choice. For ex: 123456789123456
- Save the file. And perform this operation with each file.
- Create a device in emulator and check the imei.
That's it.
Good Luck !!!!!
No comments:
Post a Comment