Go to page

Go to page

Members

I have promised this mod to many people for long time. After I found the way to make it work with custom languages other than Hebrew (the one was made for in first place), I'm glad to announce I'm taking requests.

First I want to credit 4PDA.ru people for cracking it in fisrt place and Yosriz for the reverse engineering to have it working for Hebrew (the actual code I base my work on) and lenny_kano for merging all languages together.

*This mod is included In the multilang rom. If after installing the rom it doesn't work go to Contacts "Settings" -> "More contacts settings" -> "Rebuild index data".

If you want me to make this mod for your language, you'll have to provide me the characters which have to be searched and in which number it appears. If the character appears in the English alphabet there's no need to add it. For example:

Members

For rom devs only!!If you include it in your rom please give credit by linking to this thread. Thanks

It'll be a bit hard to automatize it because the code is obfuscated on some devices so if the guys in China add or remove one member or method all the names will change.
I've tried to make the implementation as easy as it can be so I moved all the related code to a separate class you need to add to ContactsProvider and just replace one method of one of the existing classes there to use the new code.

You need to decompile ContactsProvider.apk, go to smali/com/android/provider/contacts/t9 and open T9Utils.smali (f.smali or h.smali when obfuscated), there you will find a method ".method public static formatCharToT9(C)C" (or ".method public static b(C)C" when obfuscated) and replace its content with the below:

Go to page

Go to page

About us

Xiaomi Europe was founded over 8 years ago to provide International users an exlcusive community for English MIUI Android and Xiaomi products. Since 2010 our web site has officially worked with Xiaomi on a variety of projects for APP translations and bug fixing and is a major part of today's Xiaomi Global ROM experience thanks to the great team at xiaomi.eu and its community.