fujitsu FV200 这个一体机如果恢复了系统,会无法激活,只要一联网就会提示”系统激活失败". 系统比较旧,是nibiru早期的.
反编译研究了一下代码:
- else if ("android.net.conn.CONNECTIVITY_CHANGE".equals(action)) {//网络连接状态变为action
- ... ...
- if (NibiruVRService.this.isCheck() != 1) {
- new Thread() { // from class: com.android.server.NibiruVRService.NVRReceiver.3
- @Override // java.lang.Thread, java.lang.Runnable
- public void run() {
- try {
- String romVersion = SystemProperties.get("ro.build.version.release.level", "");
- String sUrl = "http:/********/NibiruRom/reg/RomRegCodeActivate?deviceId=" + URLEncoder.encode(NibiruVRService.this.getDeviceId(), "UTF-8") + "&code=" + URLEncoder.encode(NibiruVRService.nibiru_regcode, "UTF-8") + "&channel=" + URLEncoder.encode(NibiruVRService.this.getChannelCode(), "UTF-8") + "&romVersion=" + romVersion + "&uid=" + URLEncoder.encode(NibiruVRService.this.getUid(), "UTF-8");
- NibiruVRService.this.getCheckFromWifi(sUrl);//检查
- } catch (Exception e2) {
- }
- }
- }.start();
- }
复制代码
弹窗激活页面上的按钮点击事件,重试按钮就再检查一下,关闭按钮就执行关机
getCheckFromWifi(String){}发现下面方法可以直接激活系统 检查激活状态: adb shell settings get global nibiru_vr_check 未激活的会返回-1直接设置状态: adb shell settings put global nibiru_vr_check 1 adb shell reboot
|