Arabic for Gingerbread ROMs

Some more progress and updates . . .

I have just successfully compiled and tested the arabic patch on AOSP 2.3.3. My old patch for 2.2 AOSP worked for all the files except TextUtils.java which Google added a new method to. Replacing it with CM7′s TextUtils.java file, which is based on Gingerbread, fixed that error.

HTC’s implementation of Gingerbread broke another file, Layout.java which they added a couple of new methods to. The fix was to manually edit HTC’s Layout.smali file and replace the strings getChars (3x occurrences) with getCharsDraw manually. A proper fix would be to include a utility that searches and replaces for these strings. This will guarantee functionality across all devices that sport Eclair and higher versions of Android.

Edit: HTC’s Gingerbread Sense UI also modified internal class CharWrapper in TextView.java. A small modification to the smali file in method “access”‘s signature fixed it.

This entry was posted in arabic shaping, English. Bookmark the permalink.

4 Responses to Arabic for Gingerbread ROMs

  1. parsa says:

    you rtl is very very god .i am test in cm7. but your metod not work in this rom and any rom whit based 1.84. this rom is the best of desire rom if you rtl this rom you big work.

    http://forum.xda-developers.com/showthread.php?t=789830&highlight=kernel

  2. erakat1 says:

    As per our pm’s on XDA, I was wondering about arabization of libwebcore.so for the HTC Sense 3.0/Gingerbread ROMs for the MyTouch 4G(Glacier). Look forward to hearing from you soon.

  3. Aziz Huss says:

    Thank you so much for this patch, I really appreciate it.

    I just tried it on ATT GALAXY S II and it is working just Great.

    Thanks again

  4. amin says:

    hi.i have an optimus 3d with a persian rom but my rom is not persian is not rtl and after typing english or 0123… in persian text my text will change .i need your help.i use u\your last patcher but after flashing .zip flashable rom not boot again

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>