- APKTool
- Notepad++
- framework.jar
- telephony-common.jar
- Bahan compare Fix LTE di Xiaomi Redmi Note 3 Pro.zip
- Mengerti Compile/Decompile APK
- Deodex
- Buka smali di /classes2.dex/miui/telephony/TelephonyManager.smali
- Cari "method public isDisableLte(Z)Z"
- Lalu cari "return v0"
- Diatasnya tambahkan:
const/4 v0, 0x0
- Hingga menjadi seperti ini:
.method public isDisableLte(Z)Z
.registers 10
.param p1, "checkSim" # Z
.prologue
const/4 v5, 0x1
const/4 v4, 0x0
.line 1487
sget-boolean v6, Lmiui/os/Build;->IS_GLOBAL_BUILD:Z
if-nez v6, :cond_8
move v0, v4
.line 1503
:cond_7
:goto_7
const/4 v0, 0x0
return v0
...
:cond_3d
move v0, v4
.line 1503
goto :goto_7
.end method
2. Decompile telephony-common.jar
- Buka smali di classes.dex/com/android/internal/telephony/ServiceStateTracker.smali
- Cari "method static constructor <clinit>()V"
- Kemudian cari "sput-boolean v0, Lcom/android/internal/telephony/ServiceStateTracker;->isDisableLteDevice:Z"
- Diatasnya tambahkan:
const/4 v0, 0x0
- Hingga menjadi seperti ini:
.method static constructor ()V
.registers 5
.prologue
const/4 v0, 0x1
const/4 v1, 0x0
.line 198
const/16 v2, 0x14
new-array v2, v2, [Ljava/lang/String;
const-string v3, "bf"
aput-object v3, v2, v1
const-string v3, "ci"
...
:cond_8e
:goto_8e
const/4 v0, 0x0
sput-boolean v0, Lcom/android/internal/telephony/ServiceStateTracker;->isDisableLteDevice:Z
return-void
:cond_91
move v0, v1
goto :goto_8e
.end method
- Masih dismali yg sama, cari ".method public static isDisableLteImsi()Z"
- Cari "return v3"
- Di atasnya tambahkan:
const/4 v3, 0x0
- Hingga menjadi seperti ini:
.method public static isDisableLteImsi()Z
.registers 4
.prologue
.line 1231
invoke-static {}, Lmiui/telephony/DefaultSimManager;->getInstance()Lmiui/telephony/DefaultSimManager;
move-result-object v2
.line 1232
.local v2, "simMgr":Lmiui/telephony/DefaultSimManager;
const/4 v1, 0x0
.line 1233
.local v1, "imsi":Ljava/lang/String;
const/4 v0, 0x0
.local v0, "i":I
:goto_6
sget v3, Lmiui/telephony/MiuiTelephony;->PHONE_COUNT:I
if-ge v0, v3, :cond_23
.line 1234
invoke-virtual {v2, v0}, Lmiui/telephony/DefaultSimManager;->getSimImsi(I)Ljava/lang/String;
move-result-object v1
.line 1235
if-nez v1, :cond_14
.line 1236
invoke-virtual {v2, v0}, Lmiui/telephony/DefaultSimManager;->getRuimImsi(I)Ljava/lang/String;
move-result-object v1
.line 1238
:cond_14
if-eqz v1, :cond_20
const-string v3, "510"
invoke-virtual {v1, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
move-result v3
if-eqz v3, :cond_20
.line 1239
const/4 v3, 0x1
.line 1242
:goto_1f
const/4 v3, 0x0
return v3
.line 1233
:cond_20
add-int/lit8 v0, v0, 0x1
goto :goto_6
.line 1242
:cond_23
const/4 v3, 0x0
goto :goto_1f
.end method
3. Recompile framework.jar dan telephony-common.jar.
4. Push ke folder /system/framework atau jadikan module Magisk.
5. Selesai.
Screenshot:
Jangan lupa bahagia :😠Bonus ... KENZO_MOD_8.5.3.0.zip
Module Magisk khusus Redmi Note 3 Pro Rom global 8.5.3.0, yang berfungsi menampilkan pilihan jaringan LTE tanpa mengubah ro.product.device menjadi kate 😋, Apply tema tanpa melalui verifikasi server xiaomi, Camera mod, 4k recording dan menampilkan pilihan font di ThemeManager.
2 comments
Write commentsBisa untuk miui 9.5.6.0 gan?
ReplyBisa gan
ReplySilahkan tinggalkan komentar EmoticonEmoticon