Arabic/Persian support on any ROM (FroyoBread, Floyo,....) Updated on 25-Jul-2011
first of all this is NOT my work, I'm just a referrer. Main source is here:
http://blog.devasque.com/?page_id=11
Quote:
|
Originally Posted by madmack's blog
-Your device needs to be rooted.
-Your Android version is 2.1 or newer
-Your ROM needs to be deodexed. To find out if your installed ROM is deodexed, navigate to /system/framework on your phone. If you see a file called framework.odex then this patch will NOT work for you.
Steps to apply the patch:
-Download the patch below and extract it to a folder on your computer.
-Pull /system/framework/framework.jar from your phone and place it in the subfolder framework that you extracted in step 1
-If you’re not using a CyanogenMod ROM, then you’ll also need to pull /system/lib/libandroid_runtime.so from your phone and place it in subfolder libandroid_runtime that you extracted in step 1
-Double click on commands.exe. Do not close the black cmd screens that will pop up. Once the patch is done, you should get a patched framework.jar in the subfolder generated
-Version 0.800+ provides a recovery flashable file in folder generated. Place that on your sdcard, reboot into recovery and flash it. If the flashing through recovery didn’t work for some reason, you’ll need to do the following manually:
-Put file generated/framework.jar in your phone at /system/framework/
-Put file generated/libandroid_runtime.so in your phone at /system/lib/ (if this file exists, it shouldn’t if you’re arabizing CM6).
-Put file REQUIRED-IMPORTANT/libicuuc-arabic.so in your phone at /system/lib/ This is extremely important, failing to place this file will result in a boot loop of your deivce
I’ve also included the Aljazeera fonts in fonts. You can place these in /system/fonts and reboot
Sometimes permissions and xml data doesn’t get updated correctly resulting in corrupted data entries. If you receive a bunch of Force Closes after a reboot, you’ll need to Factory Reset.
Note: This will not shape the letters in Gmail and the Browser correctly. If you want this, you’ll need to get the appropriate libwebcore.so for your system. Each Android device and ROM will need a separate one, therefore I’m not including one in this post to avoid confusion.
المتطلبات قبل عملية التحديث للغة العربية.
أن يكون لديك روت
أن يكون نظام أندرويد 2.1 أو أحدث
بعد التأكد من المتطلبات، افعل التالي بسم الله
نزل الملفات المرفقة في الأسفل وفك الضغط عن الملف وضع محتوياته في حاسوبك.-
عليك بسحب ملف
/system/framework/framework.jar
من هاتفك.
ضع ملف-
framework.jar
المأخوذ من هاتفك في المجلد
framework
في المجلد اللي نزلته في خطوة 1
إذا الروم المتواجد في هاتفك ليس روم سيانوجين، عليك أيضاً بسحب ملف-
/system/lib/libandroid_runtime.so
وضع الملف في مجلد
libandroid_runtime
المتواجد بعد فك الضغط عن الخطوة الأولى
اضغط على-
commands.exe
وتوكل على الله.عندما تأتيك الخيارات، اضغط على اوكي. عندما تأتيك شاشات سوداء، رجاء عدم اغلاقها حتى تتم العملية بنجاح
عليك بنقل الملفات التالية إلى الهاتف يدوياً:
generated/framework.jar
وانقله إلى مجلد
/system/framework/
في الهاتف.
نقل ملف
generated/libandroid_runtime.so
إلى مجلد /system/lib/
في الهاتف (إن تواجد هذا الملف).
نقل ملف
REQUIRED-IMPORTANT/libicuuc-arabic.so
إلى مجلد
/system/lib/
في الهاتف. هذا مهم جداً لمنع البوت لوب، بدونه سوف يعلق الجهاز في البداية
بإمكانك أيضاً نسخ خطوط الجزيرة من مجلد
aljazeera fonts
إلى مجلد
/system/fonts
أعد بدء الجوال..
Download:
v0.803
http://www.multiupload.com/JRF6SPOIFS
|
Right now i did the steps on FroyoBread v020 and generated the framework.jar
all you need to do is push it to /system/framework/ and Put file REQUIRED-IMPORTANT/libicuuc-arabic.so in your phone at /system/lib/ and DONE !
للتسهيل قمت مسبقاً بعمل الخطوات السابقة وتم توليد الفريمورك الجديد بامكانك تحميله مباشرة ووضعه داخل السيستم/فريمورك بالاضافة الى هذا الملف فى سيتم/لايب والا سيحدث بوت لووب ثم أعد تشغيل الجهاز
ok, all users may add their generated framework.jar along with corresponding ROM name and I will add them in this main thread
اى مستخدم يستعمل هذه الطريقة مع روم آخر يمكنه رفع الفريمورك المتولد وسأقوم باضافته هنا للتسهيل على الآخرين وشكراً
Note: Do NOT replace framwork.jar in update.zip before flashing ROM
ملحوظة: لا تستبدل ملف الفريمورك فى نسخة الروم قبل تثبيته لأول مرة
and here we go:
FroyoBread v 020
attachment
or flash this via xrecovery - thanks to BehradGH
FroyoBread v 021
attachment
or flash this via xrecovery - thanks to molimo
FroyoBread v 022
flash this via xrecovery - thanks to molimo
I am proud of being an xda member
here we all help each other
----------------------------------------------------------
Xperia X8 | CyanogenMod + custom kernel
|