New 911 Bug

Discussion in 'Bugs' started by alohomora, Sep 20, 2013.

  1. alohomora

    alohomoraMembers

    Sep 19, 2013
    2
    1
    13
    Male
    #1alohomora,Sep 20, 2013
    Last edited: Sep 25, 2013
    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.
     
  2. RoSiTM

    RoSiTMMembers

    Dec 12, 2013
    16
    0
    11
    Male
    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?
     
  3. alohomora

    alohomoraMembers

    Sep 19, 2013
    2
    1
    13
    Male
    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.
     
    ingbrzy likes this.
  4. RoSiTM

    RoSiTMMembers

    Dec 12, 2013
    16
    0
    11
    Male
    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!
     
  5. ingbrzy

    ingbrzyXiaomi.eu Multilang leader
    Staff Member

    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...
     
  6. RoSiTM

    RoSiTMMembers

    Dec 12, 2013
    16
    0
    11
    Male
    Okay, it's understandable. Hope that weekly rolling will be restored soon.
     

Share Our Site