New 911 Bug


alohomora

Members
Sep 19, 2013
2
13
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:
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?
 
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.
 
  • Like
Reactions: ingbrzy
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!
 
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...