|
揭穿 安卓版基站锁定 手机信号增强器 骗人的把戏
参见【安卓版 基站锁定 研究笔记】
http://www.pingfangx.com/forum.php?mod=viewthread&tid=136
在研究过程中发现的,揭穿如下:
手机信号增强器 核心源码:
监听信号强度变化:
public void onSignalStrengthsChanged(SignalStrength paramSignalStrength)
{
super.onSignalStrengthsChanged(paramSignalStrength);
SignalService.this.strength = (2 * paramSignalStrength.getGsmSignalStrength() - 113);
SignalService.this.getCellChange();
int i = 113 - 2 * paramSignalStrength.getGsmSignalStrength();
if ((i < 110) && (i > 95))
SignalService.this.signalLevel = "[很差] ";
else if ((i <= 95) && (i > 85))
SignalService.this.signalLevel = "[较差] ";
else if ((i <= 85) && (i > 75))
SignalService.this.signalLevel = "[一般] ";
else if ((i <= 75) && (i > 65))
SignalService.this.signalLevel = "[较好] ";
else if (i <= 65)
SignalService.this.signalLevel = "[很好] ";
SignalService.this.displayNotification("信号显示开启");
return;
}
}
}
显示notification
public void displayNotification(String paramString)
{
RemoteViews localRemoteViews = new RemoteViews("com.leduo.signalup", 2130903042);
int i = this.random.nextInt(9);
localRemoteViews.setTextViewText(2131230735, "强度:" + Integer.toString(this.strength) + " dBm" + this.signalLevel + " 增强:" + i + "dBm");
localRemoteViews.setTextViewText(2131230732, "网络:" + this.network);
localRemoteViews.setImageViewResource(2131230733, 2130837652);
this.iconIndex = Math.abs(this.strength);
PendingIntent localPendingIntent = PendingIntent.getActivity(this, 0, new Intent(this, MainActivity.class), 0);
long l = System.currentTimeMillis();
this.notification = new Notification(this.icon[this.iconIndex], paramString, l);
this.notification.contentView = localRemoteViews;
this.notification.contentIntent = localPendingIntent;
this.notification.flags = 2;
this.manager.notify(1, this.notification);
}
简要说明一下手机信号增强器的真实原理:
读取手机网络信息,
判断运营商、网络状态,
监听信号强度变化,
随机产生一个信号增强值,在状态栏显示信号增强了。
O(∩_∩)O哈哈~真好笑。 |
|