[MOD]V5 Multilanguage T9 dialer


The green language works like a charm!!

P.S. Where do we put the modified png file?

EDIT: Managed to work it out somehow. Below a link for a mtz theme file.

Code:
http://dl.dropbox.com/u/13458986/MIUI-Greek-Dialer.mtz
It nags that it is the old mtz format, but it converts it to new format automatically.
 
The green language works like a charm!!

P.S. Where do we put the modified png file?

EDIT: Managed to work it out somehow. Below a link for a mtz theme file.

Code:
http://dl.dropbox.com/u/13458986/MIUI-Greek-Dialer.mtz
It nags that it is the old mtz format, but it converts it to new format automatically.

How do you install it?

EDIT.Got it.
 
New Greek dialer png.
Looks like dialer one
Code:
http://dl.dropbox.com/u/13458986/MIUI-Greek-Dialerv2.mtz
 
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:
 
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
 
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!
 
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 ;)
 
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.
 
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" (
 
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.
 
I'm Korean! Your Mod is Perfect Work! Thank You!

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.
 
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:
Processing archive: framework.jar

Extracting classes.dex

Everything is Ok

Size: 7580136
Compressed: 3217846
Done.
Decompiling classes.dex...
Done.
Repalacing HanziToPinyin.smali...
C:\XXXXXXXX\Auto-T9_dialer-V1.1\Auto-T9_dialer-V1.1\contents\HanziToPinyin-T9-PL.smali
1 File(s) copied
Done.
Compiling classes.dex...
Done.
Pushing classes.dex to framework.jar...

7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18

Scanning

Updating archive C:\XXXXXXXX\Auto-T9_dialer-V1.1\Auto-T9_dialer-V1.1\framework.jar

Compressing classes.dex

Everything is Ok
Done.
Pushing framework.jar to phone...
Done.
 
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.
 
New update.

V1.2 - Added Vietnamese and Czech languages plus some small improvements to the code
 
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