[MOD]V5 Multilanguage T9 dialer

Discussion in 'MIUI Mods' started by roenano, Jun 28, 2011.

  1. roenano

    roenano Members

    Trophy Points:
    55
    I will do it, sorry it takes some time. I'm dealing now with final exams and my career comes before these mods...
    hopefully next week i'll have it finished.
  2. Pochemuchka

    Pochemuchka Members

    Trophy Points:
    11
    Is it possible to get smali files of the changes in Dialer to support mutiple languages?
  3. mrvanity

    mrvanity Members

    Trophy Points:
    0
    I see massive changes in smali\com\android\internal\util\HanziToPinyin.smali after ".method public static formatCharToT9"
    but a bit confuzed i must admit :confused:
  4. roenano

    roenano Members

    Trophy Points:
    55
    In about 2 weeks i'm finishing my final exams and will have more time to update the dialers and write a tut about how to do it yourself
  5. mrvanity

    mrvanity Members

    Trophy Points:
    0
    Thanx roenano.
    Take your time ;)
  6. roenano

    roenano Members

    Trophy Points:
    55
    BTW, if you decompile the framework.jar, replace the stock hanzitopinyin.smali file with a modded one from a previous version of the MOD and re-compile it, it should work without any problem!
  7. mrvanity

    mrvanity Members

    Trophy Points:
    0
    I have already done that little bit after my last post.
    (i was checking your arabic rtl 2.1 script).

    I will test it all day and post back tomorrow. Thanx ;)
  8. mrvanity

    mrvanity Members

    Trophy Points:
    0
    Below you can find the Greek dialer for 1.7.29
    Code:
    http://dl.dropbox.com/u/13458986/miui-1.7.29-T9-dialer-GR.zip
    I have replaced hanzitopinyin.smali of the stock framework.jar of 1.7.29 for HTC Desire GSM.
    I dont know if it will work on other phones.
    Don't forget to apply the altered png below.
    Code:
    http://dl.dropbox.com/u/13458986/MIUI-Greek-Dialerv2.mtz
    All the work has been made by roenano. I have just unpacked and repacked the jar.
  9. kano

    kano Members

    Trophy Points:
    13
    Hello,
    Where can I find the Hungarian dialer for 1.7.29?
    Thx.
  10. roenano

    roenano Members

    Trophy Points:
    55
    Look at the new OP......
    And please give feedback!
  11. Shaamaan

    Shaamaan Members

    Trophy Points:
    0
    Minor bug in your BAT, which I notices on first glance:
    if not exist "C:\Windows\SysWOW32\java.exe" (
    should be
    if not exist "C:\Windows\SysWOW64\java.exe" (
  12. roenano

    roenano Members

    Trophy Points:
    55
    Thanks, Shaamaan. Fixed!

    New version is out.
    V1.1 - Added Korean language and small fix for Windows 64bit users.

    Korean users, please give feedback, I'm not able to test it (my Korean is pretty bad). I used the initial sound as this is the way "Dialer One" does it.

    For Vietnamese will take some more time... sorry. There are a lot of characters there, I'll start working on that next week.
  13. kano

    kano Members

    Trophy Points:
    13
    It works very good. Many thx.
  14. noullove

    noullove Members

    Trophy Points:
    11
    I'm Korean! Your Mod is Perfect Work! Thank You!
  15. roenano

    roenano Members

    Trophy Points:
    55
    Happy to hear that!!!
    Have you tried many different names? because I was skeptical regarding the characters on numbers one and zero, because no other dialers use these numbers and I had to edit the code a bit.
  16. hunggh

    hunggh Members

    Trophy Points:
    0
    Right here waiting for you!
    :D
  17. Shaamaan

    Shaamaan Members

    Trophy Points:
    0
    Another small bug:
    if the path to java.exe is not defined as a system path, the BAT script will fail when trying to decompile the downloaded file. You try to use either the system32 or the 64-equivalent folders instead of relying on "java" to be understood by the CMD.

    EDIT:
    Oh, and for the sake of corectness, you should kill ADB when you're done with it I think. ;)

    EDIT 2:
    Finally, your mod didn't work for me. The operation completed, but the dialer remained the same. :( Granted, I am not using a standard Android device, but a modded HTC HD2: http://forum.xda-developers.com/showthread.php?t=1010498

    Here's the log, but I fear it won't give you much to go on:
  18. roenano

    roenano Members

    Trophy Points:
    55
    Shaamaan:
    1- This is not the first tool I release and so far there were not issues with java (unless java is not installed). From my understanding java gets a path in system automatically when installed.

    2- I have never killed ADB, but makes sense. Will add it to next release.

    3- The mod works! Please make sure you read the instructions on the OP and follow them.
  19. roenano

    roenano Members

    Trophy Points:
    55
    New update.

    V1.2 - Added Vietnamese and Czech languages plus some small improvements to the code
  20. urys

    urys Members

    Trophy Points:
    0
    before I must say that the english is not my native language, so sorry for typo :)

    thanks for you hard work, but I have problem with compilation classes.dex ...

    my operating system is GNU/Linux, so I must do it all by my hand;)

    I chose "T9 Czech"

    this is error message from java compiler:
    $ java -Xmx512M -jar smali-1.2.6.jar classes -o classes.dex
    classes/com/android/internal/util/HanziToPinyin.smali[15049,4] Label cond_6 has multiple defintions.
    classes/com/android/internal/util/HanziToPinyin.smali[15066,4] Label cond_7 has multiple defintions.
    classes/com/android/internal/util/HanziToPinyin.smali[15100,4] mismatched tree node: I_LABEL expecting I_PACKED_SWITCH_DECLARATIONS
    classes/com/android/internal/util/HanziToPinyin.smali[14852,0] A non-abstract/non-native method must have at least 1 instruction

    $ java -version
    java version "1.6.0_22"
    OpenJDK Runtime Environment (IcedTea6 1.10.3) (ArchLinux-6.b22_1.10.3-1-x86_64)
    OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

    ROM: Galnet V6.0

Share Our Site