New 911 Bug


Sep 19, 2013
2
1
13
#1
Phone ZTE V987.
MIUI 3.9.20

When there is incoming/outgoing calls to numbers +7911xxxxxxx shows an emergency call.
911 is the prefix of the mobile operator MTS Russia.
 
Last edited:
Dec 12, 2013
16
0
11
#2
Having same problem here using Hongmi with 3.11.29 Multilang in Slovakia with operator T-Mobile (+421 911 xxx xxx)
:( Reported long time ago and still no solution?
 
Sep 19, 2013
2
1
13
#3
Hi, I now how to fix this bug.

1) Decompile "secondary-framework.jar"
2) Open miui/telephony/phonenumberutils.smali
3) Search method ".method static constructor <clinit>()V"
4) Change
"const/4 v0, 0x6 "
to
"const/4 v0, 0x5"
5) delete this 3 strings in the end of method
"const/4 v1, 0x5
const-string v2, "911"
aput-object v2, v0, v1"
6)Save the file and recompile "secondary-framework.jar"

It's work fine. But OTA update doesn't work after it. Because "secondary-framework.jar" was changed and CRC doesn't match. After updating to the full version of firmware this procedure must be done again, while developers will not change this method in their source code.

P.S. Sorry for my bad english.
 
Likes: ingbrzy
Dec 12, 2013
16
0
11
#4
This is kind of hardcore repair for me. I am not saying that I am not able to do it, just lazy.
Well, I can see that ingbrzy liked it allready, so is possible it will be repaired in next release.
Until then, and other problems being fixed, I am staying on HM2013023_3.11.29 (stable?) ROM.

PS: Don't worry, Your english is good!
 

ingbrzy

Xiaomi.eu Multilang leader
Staff member
Feb 11, 2012
8,948
21,422
322
#5
we are stopping weekly release for hongmi as they are still bugged.. for now, only stable will be released which are directly developed by Xiaomi...