[Q] Creating an Arabic patch manually - Android Software Development

Ok, so here's the thing.
I've created a program to automatically patch Android devices to display RTL (right-to-left) languages correctly.
It works for Hebrew, and works partially for Arabic, since in Android you need an additional patch for Arabic to fix letter connections (in Arabic connecting the letters gives context).
Now I know those patches exist - they're mostly just patched libskia.so files, but every build type or device has a different patch (EVO based, Desire based, Nexus based, etc.).
My program is meant to CREATE patches depending on devices, so that compatibility is highly increased (it's proven itself well with the framework.jar patch, where the program pulls the framework file from the device, applies only the patched files to it, and pushes back - so it's always compatible with whatever build is used - as long as it's deodexed of course).
I'm guessing my question is - does anybody have a guide and/or the know-how on how to actually CREATE those Arabic patches? (libskia.so)
If I can't create them manually, I will have to include all patches in the program, which would greatly increase both the program size and it's complexity in selecting the right patch for the right build.
Thanks in advance,
-Elad

need t959 arabic rom
i need t959 arabic language what can i do??

I'm not an expert on the matter,
but I believe that devs who produce patched libskia.so and libwebcore.so are integrating an arabic reshaper into both files and some of them go further by adding RTL support to framework.jar
This link below has the source of an open source Arabic reshaper:
http://code.google.com/p/arabicresh...com/AzizHuss/ArabicRehaper/ArabicReshape.java

slimfady said:
I'm not an expert on the matter,
but I believe that devs who produce patched libskia.so and libwebcore.so are integrating an arabic reshaper into both files and some of them go further by adding RTL support to framework.jar
This link below has the source of an open source Arabic reshaper:
http://code.google.com/p/arabicresh...com/AzizHuss/ArabicRehaper/ArabicReshape.java
Click to expand...
Click to collapse
Thanks.
I've abandoned the project in the meantime, but good to know it's out there

give me the link
ohh u mean arabic language is out bro
give me the link m so confused

fahadz said:
ohh u mean arabic language is out bro
give me the link m so confused
Click to expand...
Click to collapse
Not a patch, but a method for creating one.

someone creat plz this patch and upload it here

MK king said:
someone creat plz this patch and upload it here
Click to expand...
Click to collapse
Not a patch directly per-se, but the newer nightlies of the (semi/quasi/almost/sortof/notreally)-official CyanogenMod7 build support not only full fixed Right-To-Left, but also fixed Arabic!
Check it out at http://forum.xda-developers.com/showthread.php?t=940684

Related

Android Language files ?

Hi all,
I'm trying to compile Android with full Hebrew support (inc. menus)
I need the language files so I can translate them, or to get from somewhere the HEB files and push them in to the system.
Can someone help me ?
anyone ???
Send a pm to capychimp. He should have them.
Sent from my HTC Magic using XDA App
hedcayce said:
Send a pm to capychimp. He should have them.
Sent from my HTC Magic using XDA App
Click to expand...
Click to collapse
Waiting ... request from the kind
I'm not sure what did you mean by "language files". Before the expert -- capychimp, answer your question, you might want to try the followings:
1. go grab a copy of Rogers Magic stock 2.1 rom with root.
2. go grab a copy of RCMagic v2.0
3. use kitchen to create a working directory based on stock 2.1 rom
4. deodex all apk files
5. extract RCMagic v2.0
6. compare any apk file in /system/app/ or /system/framework/ (one from kitchen's working directory and another from RCMagic v2.0)
7. let's assume that A.apk from kitchen is renamed as stock-A.apk and A.apk from RCMagic is rename as RC-A.apk
8. use apktool to decode both apk files
9. after decoding, check out stock-A/res/values* and RC-A/res/values*. As far as I know, values/* are for English and, take zh_TW (Traditional Chinese) as an example, values-zh-rTW/* are for Traditional Chinese.
So, I guess you can create a values-XXXX for your language code and put whatever needed into values-XXXX/*
threeeye said:
Hi all,
I'm trying to compile Android with full Hebrew support (inc. menus)
I need the language files so I can translate them, or to get from somewhere the HEB files and push them in to the system.
Can someone help me ?
Click to expand...
Click to collapse
Requirements:
JRE 1.6 (Java Runtime Environment)
aapt command in a PATH
basic knowledge of what is SDK, aapt, PATH, smali and Google search engine may be useful
Must learn more.
Thank man
when compiling we are talking aosp, that something else, i have no clue of aosp roms, i can ml up any sense rom, but aosp, acts different, so if you mean compile from aosp source i am noob
sharpt71 said:
I'm not sure what did you mean by "language files". Before the expert -- capychimp, answer your question, you might want to try the followings:
1. go grab a copy of Rogers Magic stock 2.1 rom with root.
2. go grab a copy of RCMagic v2.0
3. use kitchen to create a working directory based on stock 2.1 rom
4. deodex all apk files
5. extract RCMagic v2.0
6. compare any apk file in /system/app/ or /system/framework/ (one from kitchen's working directory and another from RCMagic v2.0)
7. let's assume that A.apk from kitchen is renamed as stock-A.apk and A.apk from RCMagic is rename as RC-A.apk
8. use apktool to decode both apk files
9. after decoding, check out stock-A/res/values* and RC-A/res/values*. As far as I know, values/* are for English and, take zh_TW (Traditional Chinese) as an example, values-zh-rTW/* are for Traditional Chinese.
So, I guess you can create a values-XXXX for your language code and put whatever needed into values-XXXX/*
Click to expand...
Click to collapse
to make it easier, you have 84 apks you need to decode to make a full sense rom multilanguage
Google has some good resources on this topic. I can't find them right now but I am finding some interesting stuff.
http://developer.android.com/guide/topics/resources/localization.html
http://groups.google.com/group/android-developers/web/localizing-android-apps-draft
well thats the apks thats the same for all roms, but how to activate them on aosp no idea, cause in sense you do it in CID/default.xml
I have an Hebrew apk, I unpacked it using apktool.
I got the Hebrew xml file, so I think I'm set, but to translate 84 apk's to make a full Hebrew Android, WOW that's alot !!!
I've attached a flashable ZIP with apk's in Hebrew (I didn't do it).
Is this the only whey to translate Android, or is there a EZer way to do it ?
p.s. thanks for the reply and help...
i am working on a script so you can just unpack a rom, and by menu select to make it ml
well i see you have some of it, but still alot to go
and you would need the rtl support in framework.jar also
In Froyo with a little help from a guide I get RTL in Internet and SMS.
So I think I have full RTL...
Tell me which files do I need to translate and we will work together on this...
O.K, I have the .xml files that I need to translate.
I know there is a program for translating file.po (value on one side and translation on the other side)
But is there a program like that for file.xml ?
Hello ..
1st of all I've Alcatel 985D with gingerbread 2.3.6 and I've its stock rom backup with Arabic locale language support, but I'm using a custom rom that isn't support Arabic so I wanna find a way to copy system language files from stock rom and paste it into custom rom so I can get Arabic language for system ?! is there a way to do that .. any general ideas ?!
delete

Arabic/Persian Support on Éclair Stock Rom

Hello
First of all sorry for my bad English!
it's a big problem that Android devices cannot show arabic/persian letters!
but developers has fixed this problems on some devices! (Legend/Nexus One/Xperia X10 and ...) and Samsung Devices support this languages officaily!
Now, What's the fix for Wildfire!?
i, my self has tried some ways, i know it is depended on two things:
1. Font (totally Fixed, No Problem!)
2. lip (here is my problem!)
i have copied good fonts to Rom files (make/edit a zip) and then flash my cooked rom with my favorite font, now my device can show arabic/perisan letters BUT separately!
i did the same way (copy file to rom zip and then flash!) with lib files, letters was good but Gallery and Browser and some other apps did'n work (Force Close!)
there is 3 lib file that they are related to this problem:
libskia.so
libskiagl.so
libwebcore.so
Important: In CM rom everything is OK! Persian/Arabic Rom are showing true!
My Another Problem: Because of this problem i cannot test some different lib files to rich to good result: When i want to replace lib file in Root Explorer, i see an error: "not enough space" so i forced to copy my lib files to a zip file (rom) and flash it to test! it's so CRAZY! What's the solution?!
Point: there is a Official Arabic HTC Rom for Legend and i know it has cooked by developers for Hero, is here anyone to see them and try to cook one rom for Wildfire!?
thanks so much and
keep your nice work!
I did find a Arabic rom from a Arabic forum which it supports Persian letters so well and has English menus and a fantastic bilingual (English/Persian) keyboard, now I'm using that!
You can find my topic here:
and-roid.ir
In the Wildfire section
Sent from my iPod
SAN93 said:
I did find a Arabic rom from a Arabic forum which it supports Persian letters so well and has English menus and a fantastic bilingual (English/Persian) keyboard, now I'm using that!
You can find my topic here:
and-roid.ir
In the Wildfire section
Thanks you very much. I downloaded and installed. working perfect. thanks again.
Click to expand...
Click to collapse
Could you please paste here the link to download that rom (arabic/persian for wildfire) ? I'm not iranian so that I could not read parsi.
CM
But the browser in CM doesn't support arabic
the letters appears not connected!
Java Util class for Farsi/Arabic letters for Android
I have created a Util class that reshapes the arabic,persian, farsi, dari letters to correct glyphs. Find more at:
ahmad-iv.blogspot
Edit:
I cannot post a link right now...
Its easier to flash to CM7 or use Arabic Eclair rom. There is also custom roms that supports Parsi/Arabic languages.

[Q] [how to arabic support + wifi adhoc][MDJ revo v.2.2 kernel:MDJ S9.2 OC]

Hello all.
maybe its not goog place to ask such these questions but i search anywhere no result .. i found few solutions for arabic support but rom didnt load after ...
how to add support for arabic (reading sms/web) to this rom?
also how about wifi adhoc?
MDJ : thanks for your lovely rom, but may i ask why dont you basically add arabic + adhoc support on your ROMs?
your roms are great but dont know how to add these.
thanks (sorry for my bad english)
ataomega said:
Hello all.
maybe its not goog place to ask such these questions but i search anywhere no result .. i found few solutions for arabic support but rom didnt load after ...
how to add support for arabic (reading sms/web) to this rom?
also how about wifi adhoc?
MDJ : thanks for your lovely rom, but may i ask why dont you basically add arabic + adhoc support on your ROMs?
your roms are great but dont know how to add these.
thanks (sorry for my bad english)
Click to expand...
Click to collapse
Assalamu 3laykom
i had the exact same problem with all SQUASHED builds !!
these ROMS use a program called squashfs to compress the system file to fit on 512 MB ROM EU LEO
all Desire HD builds are huge and take a lot of space so that is why the use this compression method !! or you wouldn't even have Desire HD builds on 512 EU LEO
now that you know what Squashfs is !!
it time you know the side effects !!
it makes the Squashed part of the system READ ONLY !!
so what that means is that you can't edit, modify or delete any of the files inside it !!
and to get Arabic support you have to modify some of "LIB" files inside the system partition ..
now if you want to do this you have to use linux to unpack the Squashed.sqsh and modify it with Arabic support and then resquash it ..
i already asked here on the forums and got many answers but none of them worked for me .. you can check my question thread here
best of luck to you
D69K
double posted !!
please delete this
give us link for arabic

[REQ] Porting for I9000JPJPM Rom to Vibrant

Hi All,
There is a new leaked I9000 2.2.1 rom (I9000JPJPM) which is said to be faster than most of the other I9000 ROMs and it has full Arabic language support.
This rom was leaked from one Samsung service centers and was deodexed and rooted by a developer in Ce4Arab (Galaxyer).
This rom seems to be very good solution to help Arabic users of Vibrant and I think that we should have one developer who will bring it to our Vibrants.
Also this rom might be faster than most of the other roms and good to be used as a base rom for other custom roms.
this is a link to the rom in I9000 forum
http://forum.xda-developers.com/showthread.php?t=1012017
hkhuder said:
Hi All,
There is a new leaked I9000 2.2.1 rom (I9000JPJPM) which is said to be faster than most of the other I9000 ROMs and it has full Arabic language support.
This rom was leaked from one Samsung service centers and was deodexed and rooted by a developer in Ce4Arab (Galaxyer).
This rom seems to be very good solution to help Arabic users of Vibrant and I think that we should have one developer who will bring it to our Vibrants.
Also this rom might be faster than most of the other roms and good to be used as a base rom for other custom roms.
this is a link to the rom in I9000 forum
http://forum.xda-developers.com/showthread.php?t=1012017
Click to expand...
Click to collapse
Not sure if this is of any use to you but I will be adding arabic support to my ROM using JPM sources.
If you like, I can put you on the testers list.
icezar1 said:
Not sure if this is of any use to you but I will be adding arabic support to my ROM using JPM sources.
If you like, I can put you on the testers list.
Click to expand...
Click to collapse
Thanks alot
But Arabic support is not just for resources it needs to have many files replaced in the operating system in order to support RTL (right to left) languages and to support Arabic shaping.
So in order to have Arabic support we better use the same system files.
Why dont you try to use it as a base rom and see if it improves the performance then we will have a fast rom plus Arabic support
hkhuder said:
Thanks alot
But Arabic support is not just for resources it needs to have many files replaced in the operating system in order to support RTL (right to left) languages and to support Arabic shaping.
So in order to have Arabic support we better use the same system files.
Why dont you try to use it as a base rom and see if it improves the performance then we will have a fast rom plus Arabic support
Click to expand...
Click to collapse
Is a 2.2.1. There is no difference between them in terms of performance
There is a patch for arabic support in the i9000 forums. So, you could pretty much flash any i9000 based ROM that has arabic translation and install that patch. That should give you arabic support.
EDIT: ramad has a collection of deodexed roms here
He will probably deodex it soon. Switch the kernel in the zip with a Vibrant one and it should work.
icezar1 said:
Is a 2.2.1. There is no difference between them in terms of performance
There is a patch for arabic support in the i9000 forums. So, you could pretty much flash any i9000 based ROM that has arabic translation and install that patch. That should give you arabic support.
EDIT: ramad has a collection of deodexed roms here
He will probably deodex it soon. Switch the kernel in the zip with a Vibrant one and it should work.
Click to expand...
Click to collapse
I know about the Arabic support patch and I am using it right now
The real problem in this patch is with Arabic shaping function which kills the cpu if you try to scroll in a page which contains Arabic.
You can feel this problem if you scroll because it will not be smooth when there is Arabic text.
I think Samsung official implementation will be much better plus many users who used this rom in their I9000 in CE4Arab forum say they get much better result in Quadrant compared with other 2.2.1 releases.
hkhuder said:
I know about the Arabic support patch and I am using it right now
The real problem in this patch is with Arabic shaping function which kills the cpu if you try to scroll in a page which contains Arabic.
You can feel this problem if you scroll because it will not be smooth when there is Arabic text.
I think Samsung official implementation will be much better plus many users who used this rom in their I9000 in CE4Arab forum say they get much better result in Quadrant than compared with other 2.2.1 releases.
Click to expand...
Click to collapse
I was hoping you will mention about quadrant scores
Quadrant and linpack are useless benchmark applications due to the fact that they were not build for testing Hummingbird processors nor RFS.
SmartBench 2011 seems a bit more accurate. However, there is nothing better than real life experience that can tell you how fast/smooth is a ROM. And that, unfortunately, is not measurable...
icezar1 said:
I was hoping you will mention about quadrant scores
Quadrant and linpack are useless benchmark applications due to the fact that they were not build for testing Hummingbird processors nor RFS.
SmartBench 2011 seems a bit more accurate. However, there is nothing better than real life experience that can tell you how fast/smooth is a ROM. And that, unfortunately, is not measurable...
Click to expand...
Click to collapse
Thanks for these information
I am using a custom I9000 right now and I am happy with the customizations but not quite happy with Arabic patch.
I want to try this rom but I don't want to lose the customizations and use a stock rom that is why I want someone to port and customize this rom
I was reading through the thread you linked, and it seems there is some confusion if it is an official firmware.
http://forum.xda-developers.com/showpost.php?p=12470004&postcount=14
Br1cK'd said:
I was reading through the thread you linked, and it seems there is some confusion if it is an official firmware.
http://forum.xda-developers.com/showpost.php?p=12470004&postcount=14
Click to expand...
Click to collapse
This is original firmware but it was not released yet by Samsung.
Some lucky guy at Ce4Arab forum sent his phone to service center and they flashed it for him.
Then he uploaded system folder for another forum member (Galaxyer) who Deodexed and rooted it and made it into Odin image.
That is why they are saying it is not official but this doesnt mean that it was not made originally by Samsung
hkhuder said:
This is original firmware but it was not released yet by Samsung.
Some lucky guy at Ce4Arab forum sent his phone to service center and they flashed it for him.
Then he uploaded system folder for another forum member (Galaxyer) who Deodexed and rooted it and made it into Odin image.
That is why they are saying it is not official but this doesnt mean that it was not made originally by Samsung
Click to expand...
Click to collapse
It seems to be here or there on the opinions in the thread whether its official or not. If not publically released, can it be called official? Or should it be thought of as leaked? I think leaked, but thats just one man's opinion.
I deodexed it lastnight. Added haptic feedback. Failed on the services.jar though, whitehawkx is going to look at the method today.
jellette said:
I deodexed it lastnight. Added haptic feedback. Failed on the services.jar though, whitehawkx is going to look at the method today.
Click to expand...
Click to collapse
Ill have a look now
Guys, the firmware is already deodexed... Im gonna make a CWM package now
icezar1 said:
Guys, the firmware is already deodexed... Im gonna make a CWM package now
Click to expand...
Click to collapse
You can make one but you might want working wifi, gps, haptic feedback and for it to not reboot at -79dBm... If that is the case then let me finish testing and the upload is already underway.
jellette said:
You can make one but you might want working wifi, gps, haptic feedback and for it to not reboot at -79dBm... If that is the case then let me finish testing and the upload is already underway.
Click to expand...
Click to collapse
OK sir do your thing
icezar1 said:
OK sir do your thing
Click to expand...
Click to collapse
No reboots yet but I forgot wifi first go and now am re-upping - 43%
By the way - when I went back to it this morning, I had deod a rom by clicking on the wrong one last night...
Added OverStock 2.2
S.Gps.2.
Haptic Feedback to home key.
Gigantanormous multi csc
Services.jar fixes.
etc..
Also this comes stock with the Quran, Prayer Times and Qibla direction!
I think this will be my driver for today just for a little change up.
It has indeed full Arabic support, some apps not translated though (google specific).
The languages are Arabic, Urdu, Persian, French, EN_US, EN_GB and Korean.
Full right to left support and there is no lag as the OP was stating that exists with the arabic patch. Good find for Arabic users

Any One Help Me DZ09 Arabic langauge

Hi
I have multi SmartWatches DZ09
Version Summary Info in (*#8375#)
-----------------------------------------------------------
Info: NX9_61d_240_V2_1_ZH_DZ09D_ZX_IPS_32_T3_L3_C4_G4_B1_160506
branch: 11cw1352mp
GPLUSS1A_11C_NX9
BUILDbuold: build_no
more ver:3100
-----------------------------------------------------------
I want Any Arabic rom ( multi language) For my Smartwatch's DZ09
Look at https://forum.xda-developers.com/smartwatch/other-smartwatches/mtk6260-firmwares-t3306203
defdefred said:
Look at https://forum.xda-developers.com/smartwatch/other-smartwatches/mtk6260-firmwares-t3306203
Click to expand...
Click to collapse
Before writing this topic
I Searched the site in full including this link you sent me
And I download all Roms:
Either do not work
Or stop the touch screen
Or without sound
Or inverted
Or the image smaller or larger than the screen size
Which works quality ... it does not support the Arabic Language
I know... It is very hard to find a compatible firmware due to hardware variation between clones.
You should focus on firmware with the same name...
Maybe this one http://forum.gsmhosting.com/vbb/f457/dz09-smartwatch-mtk-6261-scatt-firmware-2131023/ or https://pcriot.blogspot.fr/2016/05/zd09-firmware-flash-upgrade-download.html
defdefred said:
I know... It is very hard to find a compatible firmware due to hardware variation between clones.
You should focus on firmware with the same name...
Maybe this one....
... First, I thank you for your interest and the speed of your responses the better you are,
As for the links:
This link pcriot.blogspot makes the time does not work does not process never took off.
But this link forum.gsmhosting works well but does not support Arabic, and I just speak Arabic, i sure also notes of my writing to you
Is there a way to add the Arabic language?
I have a Rom support Arabic, but the icons are not working, can I withdraw the language of it
Or at least change the icons of the Smartwatch
Any amendment so that I can integrate more than rom Ow reform mis
I am sorry because of my English
Click to expand...
Click to collapse
ROM are difficult/impossible to customize, because MT6261 is using a proprietary algorithm to compress the data (to fit the small 4MB storage).
You need to find a proper ROM...
defdefred said:
ROM are difficult/impossible to customize, because MT6261 is using a proprietary algorithm to compress the data (to fit the small 4MB storage).
You need to find a proper ROM...
Click to expand...
Click to collapse
So ....
what Can I do ?
Your only possibility is to find a proper firmware

Categories

Resources