导航:首页 > 器材知识 > 模拟器怎么改设备码

模拟器怎么改设备码

发布时间:2023-02-06 20:04:36

Ⅰ 求助:请问海马玩模拟器怎么修改设备ID号的

在夜神上可以在设置中直接修改就可以了,你可以找找设置中有没有操作,没有的话可以换夜神试试。

Ⅱ 联想电脑笔记本设备码在哪能查到,用夜神模拟器能改设备码么

模拟器的IMEI可以修改,在设置按钮中可以修改。

Ⅲ 如何修改安卓模拟器的设备唯一标识

手机唯一识别码是IMEI吧,打开手机键盘,拨*#*#3646633#*#*然后选择GPRS输入你要输入的IMEI码

Ⅳ 如何作用安卓模拟器以及修改机型和imei号

猩猩助手的的极速版有这个功能,将游戏安装到极速版之后
1、点击游戏打开极速版
2、点击右下角的关于按钮,点击设计
3、点击属性设置,就可以修改了

Ⅳ 如何修改android模拟器上的IMEI,IMSI,SIM card serial number

手机使用IMEI和IMSI登录到GSM网络的,由GSM网络侧负责将IMSI和映射成手机号(MSISDN),以及执行相反方向的映射。

(一)、SIM card 号的修改:
SIM card号就是印制在SIM上的一串数字。
读SIM card号的AT命令为:AT+CRSM=176,12258,0,0,10
因此在andorid模拟其源码中找到该AT命令——在sim_card.c中:
const char*
asimcard_io( ASimCard sim, const char* cmd )
{
int nn;
#if ENABLE_DYNAMIC_RECORDS
int command, id, p1, p2, p3;
#endif
static const struct { const char* cmd; const char* answer; } answers[] =
{
{ "+CRSM=192,28436,0,0,15", "+CRSM: 144,0," },
{ "+CRSM=176,28436,0,0,20", "+CRSM: 144,0," },

{ "+CRSM=192,28433,0,0,15", "+CRSM: 144,0," },
{ "+CRSM=176,28433,0,0,1", "+CRSM: 144,0,55" },

{ "+CRSM=192,12258,0,0,15", "+CRSM: 144,0," },
{ "+CRSM=176,12258,0,0,10", "+CRSM: 144,0,98101430121181157002" },

...

...

因此用UE二进制方式打开emulator-arm.exe 或 emulator-x86.exe,并搜索字符串“98101430121181157002”,然后将其修改成需要的SIM card号。
比如:
00209a00h: 31 30 00 00 2B 43 52 53 4D 3A 20 31 34 34 2C 30 ; 10..+CRSM: 144,0
00209a10h: 2C 39 38 31 30 31 34 33 30 31 32 31 31 38 31 31 ; ,981014301211811
00209a20h: 35 37 30 30 32 00 2B 43 52 53 4D 3D 31 39 32 2C ; 57002.+CRSM=192,

(二)、IMEI、IMSI号的修改:

Java代码中获取手机的IMEI号与ISMI号途径为:

TelephonyManager manager = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);
String imei = manager.getDeviceId();
String imsi = manager.getSubscriberId();

在android的源码树中找到类TelephonyManager的实现:
成员函数getDeviceId:
/**
* Returns the unique device ID, for example, the IMEI for GSM and the MEID
* or ESN for CDMA phones. Return null if device ID is not available.
*
* <p>Requires Permission:
* {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE}
*/
public String getDeviceId() {
try {
return getSubscriberInfo().getDeviceId();
} catch (RemoteException ex) {
return null;
} catch (NullPointerException ex) {
return null;
}
}

成员函数getSubscriberId:
/**
* Returns the unique subscriber ID, for example, the IMSI for a GSM phone.
* Return null if it is unavailable.
* <p>
* Requires Permission:
* {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE}
*/
public String getSubscriberId() {
try {
return getSubscriberInfo().getSubscriberId();
} catch (RemoteException ex) {
return null;
} catch (NullPointerException ex) {
// This could happen before phone restarts e to crashing
return null;
}
}

上面两个成员函数最终调用共同的一个私有成员函数getSubscriberInfo():
private IPhoneSubInfo getSubscriberInfo() {
// get it each time because that process crashes a lot
return IPhoneSubInfo.Stub.asInterface(ServiceManager.getService("iphonesubinfo"));
}

而上面私有函数getSubscriberInfo获取的手机IMSI和IMEI号被硬编码在文件android_modem.c中:
/* the Android GSM stack checks that the operator's name has changed
* when roaming is on. If not, it will not update the Roaming status icon
*
* this means that we need to emulate two distinct operators:
* - the first one for the 'home' registration state, must also correspond
* to the emulated user's IMEI
*
* - the second one for the 'roaming' registration state, must have a
* different name and MCC/MNC
*/

#define OPERATOR_HOME_INDEX 0
#define OPERATOR_HOME_MCC 310
#define OPERATOR_HOME_MNC 260
#define OPERATOR_HOME_NAME "Android"
#define OPERATOR_HOME_MCCMNC STRINGIFY(OPERATOR_HOME_MCC) \
STRINGIFY(OPERATOR_HOME_MNC)

#define OPERATOR_ROAMING_INDEX 1
#define OPERATOR_ROAMING_MCC 310
#define OPERATOR_ROAMING_MNC 295
#define OPERATOR_ROAMING_NAME "TelKila"
#define OPERATOR_ROAMING_MCCMNC STRINGIFY(OPERATOR_ROAMING_MCC) \
STRINGIFY(OPERATOR_ROAMING_MNC)
/* a function used to deal with a non-trivial request */
typedef const char* (*ResponseHandler)(const char* cmd, AModem modem);

static const struct {
const char* cmd; /* command coming from libreference-ril.so, if first
character is '!', then the rest is a prefix only */

const char* answer; /* default answer, NULL if needs specific handling or
if OK is good enough */

ResponseHandler handler; /* specific handler, ignored if 'answer' is not NULL,
NULL if OK is good enough */
} sDefaultResponses[] =
{
/* see onRadioPowerOn() */
{ "%CPHS=1", NULL, NULL },
{ "%CTZV=1", NULL, NULL },

...

{ "!+VTS=", NULL, handleSetDialTone },
{ "+CIMI", OPERATOR_HOME_MCCMNC "000000000", NULL }, /* request internation subscriber identification number */
{ "+CGSN", "000000000000000", NULL }, /* request model version */
{ "+CUSD=2",NULL, NULL }, /* Cancel USSD */

...

/* end of list */
{NULL, NULL, NULL}

};

因此用UE二进制方式打开emulator-arm.exe 或 emulator-x86.exe,并搜索字符串"+CGSN"修改为需要的IMEI号;搜索"+CIMI"修改为需要的IMSI号。需要注意的是 IMSI 号的头六个数字"310260"不能修改,否则模拟器无法与网络连接。
例如:
001fc700h: 33 00 41 00 48 00 21 2B 56 54 53 3D 00 2B 43 49 ; 3.A.H.!+VTS=.+CI
001fc710h: 4D 49 00 33 31 30 32 36 30 30 30 30 30 30 30 30 ; MI.3102600000000
001fc720h: 30 30 00 2B 43 47 53 4E 00 30 30 30 30 30 30 30 ; 00.+CGSN.0000000
001fc730h: 30 30 30 30 30 30 30 30 00 2B 43 55 53 44 3D 32 ; 00000000.+CUSD=2

Ⅵ 雷电模拟器怎么改ip地址


1、目前使用雷电安卓模拟器不能进行手动修改IP,不过可以手动修改IMEI设备号。
2、在【设置】中,点击属性设置【IMEI编码】,即可查看,同时点击【随机】即可修改。
雷电模拟器是一款可以让手机应用及游戏在电脑上运行的软件,采用虚拟安卓手机操作界面,玩家可以通过雷电模拟器在电脑上玩手机游戏。在电脑上模拟安卓手机系统,实现安卓应用的安装,使用,卸载。

Ⅶ 夜神安卓模拟器机器码怎么换不了

你是指IMEI号吗?可以啊,在模拟器右上角的白色小齿轮,高级设置里就可以更改呀

Ⅷ 新人求教 安卓模拟器换设备号问题

模拟器更换imei号码可以使用夜神,在设置中就可以更换了。如图:

阅读全文

与模拟器怎么改设备码相关的资料

热点内容
水箱里面那个球叫什么阀门 浏览:352
蒸发装置蒸发皿的作用 浏览:231
轴承壁厚差指什么 浏览:60
仪表盘液晶屏受潮如何修复 浏览:701
水减压阀要上中基阀门厂 浏览:842
碱石灰在装置最后的作用 浏览:150
比亚迪速锐机械钥匙怎么启动 浏览:432
生死狙击铸造石怎么得 浏览:291
客厅的风管机不制冷了怎么办 浏览:255
汽车仪表盘出现trip什么意思 浏览:568
汽车灯开了仪表上如何显示 浏览:476
综放设备有哪些 浏览:581
电能检定装置有什么作用 浏览:275
机械厂毛刺工是做什么的 浏览:137
轴承加牙刷有什么用 浏览:392
海龙工具箱更改图层 浏览:694
轴承检测设备怎么样 浏览:827
连续重整装置汽提塔的作用 浏览:96
宝来用的什么制冷剂 浏览:948
大型拖拉机前桥轴承怎么拆卸 浏览:674