- 22 Jun 2011
- 29
- 15
i want to ask if anyone can who knows java (smali) can help me to apply some mods i know all the procedure but i am making some mistakes (dont know where) cause in the latest 3.8.2 they made (xiomi) a huge changes in mms.apk and contactsprovider.apk.
if anyone is interest to help me please pm or nikkpap@gmail.com (hangout-google+-email) or nikkpap (skype)
thanks in advance
i tried this on 3.8.2 multi t9 and it did not work at all can anyone help.... i decompiled the caontactsprovider.apk and copy the t9multiutils.smali on C:\MIUI\_XIAOMI_MIUI_V5_APKMULTITOOL_1.0.11.3\projects\ContactsProvider.apk\smali\com\android\providers\contacts\t9 and then i replaced the code one the f.smali by searching for this .method public static b(C)C
before
after
as the http://miuiandroid.com/community/threads/mod-v5-multilanguage-t9-dialer.7898/
roenano says in his post... in the previous 3.7.26 and before it works like a charm but i thing something goes wrong cause xiomi made critical changes can any one help
if anyone is interest to help me please pm or nikkpap@gmail.com (hangout-google+-email) or nikkpap (skype)
thanks in advance
i tried this on 3.8.2 multi t9 and it did not work at all can anyone help.... i decompiled the caontactsprovider.apk and copy the t9multiutils.smali on C:\MIUI\_XIAOMI_MIUI_V5_APKMULTITOOL_1.0.11.3\projects\ContactsProvider.apk\smali\com\android\providers\contacts\t9 and then i replaced the code one the f.smali by searching for this .method public static b(C)C
before
Code:
.method public static b(C)C
.locals 2
.parameter
.prologue
.line 306
const/4 v0, 0x0
.line 307
const/16 v1, 0x41
if-lt p0, v1, :cond_1
const/16 v1, 0x5a
if-gt p0, v1, :cond_1
.line 308
sget-object v0, Lcom/android/providers/contacts/t9/f;->bJ:[C
add-int/lit8 v1, p0, -0x41
aget-char p0, v0, v1
.line 316
:cond_0
:goto_0
return p0
.line 309
:cond_1
const/16 v1, 0x61
if-lt p0, v1, :cond_2
const/16 v1, 0x7a
if-gt p0, v1, :cond_2
.line 310
sget-object v0, Lcom/android/providers/contacts/t9/f;->bJ:[C
add-int/lit8 v1, p0, -0x61
aget-char p0, v0, v1
goto :goto_0
.line 311
:cond_2
const/16 v1, 0x3105
if-lt p0, v1, :cond_3
const/16 v1, 0x3129
if-gt p0, v1, :cond_3
.line 312
sget-object v0, Lcom/android/providers/contacts/t9/f;->bK:[C
add-int/lit16 v1, p0, -0x3105
aget-char p0, v0, v1
goto :goto_0
.line 313
:cond_3
invoke-static {p0}, Lcom/android/providers/contacts/t9/f;->a(C)Z
move-result v1
if-nez v1, :cond_0
move p0, v0
goto :goto_0
.end method
after
Code:
.method public static b(C)C
.locals 1
.parameter "c"
.prologue
.line 5
invoke-static {p0}, Lcom/android/providers/contacts/t9/T9MultiUtils;->formatCharToT9(C)C
move-result v0
return v0
.end method
as the http://miuiandroid.com/community/threads/mod-v5-multilanguage-t9-dialer.7898/
roenano says in his post... in the previous 3.7.26 and before it works like a charm but i thing something goes wrong cause xiomi made critical changes can any one help