If you want to get the correct arabic shaping letters in Android, two files require patching – framework.jar and libwebcore.so.
According to XDA forum member madmack, framework.jar takes care of rendering text in all Android menus and input widgets and libwebcore.so takes care of shaping text correctly for the web browser and Gmail.
The XDA dev has made a patch to for this very purpose and has decided to share with the community.
To apply the patch, your Android device will need to be rooted, running Android 2.2 or 2.2.1 and your ROM must be deodexed. If you are not sure, madmack has helpfully pointed out that if you see the framework.odex file in /system/framework on your phone then this patch will NOT work for you. Finally, Java must be installed.
For more information including to download the patch, head on over to the modification thread._________
Join us for xda:devcon 2014. For a limited time, XDA Portal readers get 20% off registration!