Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
fuss132
Old
(Last edited by fuss132; 7th October 2011 at 04:27 PM.)
#1  
fuss132's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 4957
Posts: 1,461
Join Date: Dec 2010
Location: Augsburg

 
DONATE TO ME
Lightbulb [I9003] [How-To] Easily adding Arabic Patch to a Custom Rom

Hey to all,

this is a short tutorial how Devs but also "normal user" can add Arabic Support to a Custom Rom. (This process is usable for other Samsung smartphones, too).

1) Requirements
2) Downloads
3) How to apply Patch...
3.1) ...with Root Explorer
3.2) ...with a .zip Rom


1) Requirements

1. Your device needs to be rooted. (If you use the Root Explorer method)
2. Your Android version is 2.1 or newer
3. 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.
4. Your rom is NOT based on MIUI.



2) Downloads

1. Arabic Patcher (requires Windows)
2. If you use the Root Explorer method you will need Root Explorer (available in Market) or something comparable


If something goes wrong using this method reply and i´ll help you

Author of this tool is madmack! Link to his homepage
The Following 14 Users Say Thank You to fuss132 For This Useful Post: [ Click to Expand ]
 
fuss132
Old
(Last edited by fuss132; 7th October 2011 at 04:29 PM.)
#2  
fuss132's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 4957
Posts: 1,461
Join Date: Dec 2010
Location: Augsburg

 
DONATE TO ME
3) HowTo apply the patch
3.1) ...with Root Explorer

1. Download Arabic Patcher and extract it

2. Pull /system/framework/framework.jar from your phone and place it in the subfolder called "input" that you extracted in step 1. If you’re not using a CyanogenMod ROM (like Stock I9003 Roms), then you’ll also need to pull /system/lib/libandroid_runtime.so from your phone and place it in subfolder input that you extracted in step 1

! If you’re interested in getting arabic shaping in the Browser, pull file /system/lib/libwebcore.so from your phone and place it in subfolder input as well !

3. 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 output.

4. Put file output/framework.jar in your phone at /system/framework/
5. Put file output/libandroid_runtime.so in your phone at /system/lib/
6. Put file output/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

7. If file exists: Place file output/libwebcore.so in your phone at /system/lib/
8. If file exists: Place file output/lib__bcore.so in your phone at /system/lib/


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.
The Following 3 Users Say Thank You to fuss132 For This Useful Post: [ Click to Expand ]
 
fuss132
Old
(Last edited by fuss132; 7th October 2011 at 04:30 PM.)
#3  
fuss132's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 4957
Posts: 1,461
Join Date: Dec 2010
Location: Augsburg

 
DONATE TO ME
3) HowTo apply the patch
3.2) ...with a .zip Rom


1. Download Arabic Patcher and extract it
1.1 Download the Rom you want to patch

2. Extract the .zip of your Rom and search for /system/framework/framework.jar. Pull it and place it in the subfolder called "input" that you extracted in step 1. If you’re not using a CyanogenMod ROM (like Stock I9003 Roms), then you’ll also need to pull /system/lib/libandroid_runtime.so from your phone and place it in subfolder input that you extracted in step 1

! If you’re interested in getting arabic shaping in the Browser, pull file /system/lib/libwebcore.so and place it in subfolder input as well !

3. 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 output.

4. Put file output/framework.jar in .zip at /system/framework/
5. Put file output/libandroid_runtime.so in .zip at /system/lib/
6. Put file output/libicuuc-arabic.so in .zip at /system/lib/ This is extremely important, failing to place this file will result in a boot loop of your deivce

7. If file exists: Place file output/libwebcore.so in .zip at /system/lib/
8. If file exists: Place file output/lib__bcore.so in .zip at /system/lib/


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.
The Following 3 Users Say Thank You to fuss132 For This Useful Post: [ Click to Expand ]
 
kkrraazzyy
Old
#4  
kkrraazzyy's Avatar
Recognized Developer / Contributor
Thanks Meter 2730
Posts: 2,577
Join Date: Jan 2009
Location: XDA 24/7

 
DONATE TO ME
nice info dude
 
fxzy
Old
#5  
fxzy's Avatar
Senior Member
Thanks Meter 91
Posts: 367
Join Date: Feb 2011
Location: Hong Kong
How about Asian language? Eg. Chinese? Any method to make a patch?

Sent from my GT-I9003 using XDA Premium App
Users from China, Hong Kong~
Please Thanks if you like my post!

Current:

HTC Holiday Z710s

ASUS Nexus 7


Huawei Honor 2 u9508

Past:

HTC One S Z520e
HP Touchpad 16 GB

Samsung Galaxy Tab 7.7 3G P6800

HTC HD2 T8585
Amazon Kindle Fire
Nokia N9 BLUE
HTC Cha Cha A810e
HTC Sensation Z710e
Samsung Galaxy SL GT-i9003
HTC Wildfire A3333
 
blaqkarma
Old
#6  
blaqkarma's Avatar
Senior Member
Thanks Meter 380
Posts: 443
Join Date: Jun 2011
Location: Caloocan (but Mostly at Sea:))

 
DONATE TO ME
Nice One dude as many are requesting for that...

CREATOR OF POSEIDON'S ROM for SGSL i9003
POSEIDON'S ROM GB 2.3.5 DXKP9/2.3.6 XXKPQ

My SE X1 RUNNIN ON CM7 \m/
REMEMBER: ANDROID IS FOR ROCKIN TECHNO GEEKS, IPHONE IS FOR A SEXY HOT CHICK.
 
iceman-x9
Old
#7  
Junior Member
Thanks Meter 1
Posts: 13
Join Date: Oct 2011
Location: Cairo
I'll try it man... but if this works then you are officially my new Hero !!!
The Following User Says Thank You to iceman-x9 For This Useful Post: [ Click to Expand ]
 
iceman-x9
Old
#8  
Junior Member
Thanks Meter 1
Posts: 13
Join Date: Oct 2011
Location: Cairo
Ok it works Fine man you r a genius !!! i used it on Cranium.zip & then i flashed it & it now can read Arabic fonts Properly, but Arabic is not included in the Local settings therefore no Arabic Keyboard...
but i have one more Question though... if i used a theme & replaced Framework.jar file do i have to patch it again ?!
 
fuss132
Old
#9  
fuss132's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 4957
Posts: 1,461
Join Date: Dec 2010
Location: Augsburg

 
DONATE TO ME
Quote:
Originally Posted by iceman-x9 View Post
Ok it works Fine man you r a genius !!! i used it on Cranium.zip & then i flashed it & it now can read Arabic fonts Properly, but Arabic is not included in the Local settings therefore no Arabic Keyboard...
but i have one more Question though... if i used a theme & replaced Framework.jar file do i have to patch it again ?!
Yes, you have to apply the path again.

See attachement for an arabic keyboard, install it and then under "language in and output" (or sth like that) aktivate it. (I idon´t tested it, but it should work)

PS: Press thanks button
Attached Files
File Type: apk ASK1.1.apk - [Click for QR Code] (170.5 KB, 130 views)
The Following 3 Users Say Thank You to fuss132 For This Useful Post: [ Click to Expand ]
 
mzar720
Old
#10  
Junior Member
Thanks Meter 1
Posts: 17
Join Date: Aug 2011
Thanks fuss132 Nice tutorial it will help a lot

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...