New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
View Poll Results: How do you see this thread ?
useful 9 69.23%
not very useful 1 7.69%
I can't tell 3 23.08%
Voters: 13. You may not vote on this poll

 
Post Reply+
Tip us?
 
ahmedz_1991
Old
(Last edited by ahmedz_1991; 25th July 2011 at 06:46 PM.)
#1  
ahmedz_1991's Avatar
Senior Member - OP
Thanks Meter 33
Posts: 293
Join Date: May 2011
Location: Cairo
Post 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
Attached Files
File Type: zip generated.zip - [Click for QR Code] (2.99 MB, 654 views)
File Type: zip REQUIRED-IMPORTANT.zip - [Click for QR Code] (426.7 KB, 287 views)
File Type: zip generated_FB021.zip - [Click for QR Code] (2.99 MB, 391 views)
I am proud of being an xda member
here we all help each other
----------------------------------------------------------
Xperia X8 | CyanogenMod + custom kernel
The Following 3 Users Say Thank You to ahmedz_1991 For This Useful Post: [ Click to Expand ]
 
ahmedz_1991
Old
#2  
ahmedz_1991's Avatar
Senior Member - OP
Thanks Meter 33
Posts: 293
Join Date: May 2011
Location: Cairo
i've patched framework.jar from FroyoBread 021. However it causes crashes in Arabic rendering and ForceCloses on Arabic Keyboard. If anyone could provide a fix, it'd be appeciated.

تم اضافة الفريمورك الخاص بفرويوبريد 021 ولكنه يسبب كراش عند اى عربى ويقتل الكيبورد عند استخدام العربية. لو امكن لاحد ان يمدنا باصلاح ساكون ممتنا وشكراً
I am proud of being an xda member
here we all help each other
----------------------------------------------------------
Xperia X8 | CyanogenMod + custom kernel
The Following User Says Thank You to ahmedz_1991 For This Useful Post: [ Click to Expand ]
 
af974
Old
#3  
af974's Avatar
Recognized Developer / Retired Forum Moderator
Thanks Meter 1876
Posts: 4,942
Join Date: Jan 2008
So, xda rules are pretty clear, post in English language or at least provide a translation.

Thread Cleaned.

Infractions next.
“You have to learn the rules of the game. And then you have to play better than anyone else.” ~ Albert Einstein
 
molimo
Old
#4  
Senior Member
Thanks Meter 18
Posts: 157
Join Date: Jan 2011
Location: Tehran
How can I upload File in this froum(Thread)?
I want to upload "update.zip" (Persian/Arabic support) for FroyoBread v21.
 
molimo
Old
#5  
Senior Member
Thanks Meter 18
Posts: 157
Join Date: Jan 2011
Location: Tehran
Persian/Arabic Support for FroyoBread v21

install update.zip by xRecovery
Attached Files
File Type: zip update.zip - [Click for QR Code] (3.41 MB, 224 views)
The Following 2 Users Say Thank You to molimo For This Useful Post: [ Click to Expand ]
 
molimo
Old
(Last edited by molimo; 26th July 2011 at 06:09 AM.)
#6  
Senior Member
Thanks Meter 18
Posts: 157
Join Date: Jan 2011
Location: Tehran
Persian/Arabic Support for FroyoBread v22+new font

install "update.zip" by xRecovery

Corrected
sorry, plz install new file if have pb with old update.zip.
Attached Files
File Type: zip update.zip - [Click for QR Code] (3.52 MB, 359 views)
Tags
arabic, farsi, language, persian, support