RtL languages (Arabic) for 2.1-2.2-2.3 cm7 - Motorola Droid and Milestone General

Hi everybody ..
Arabic users always want to use wonderful Roms like CM7 and other Roms but they stop with no Arabic support ..
her the solution
thanks to madmack
http://blog.devasque.com/?page_id=11
I try it .. and it was perfect i use it with cm7 and iceandfire ..
it was work perfect.. just apply patch to framework.jar .. and use libwebcore.so all will found in zip file there
for those can't open link .. steps of arabic shaping
framework.jar takes care of shaping texts in android on all texts except Gmail and the browser.
Note: Please perform a nandroid backup of your system before attempting to use this patch.
Requirements:
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:
1. Download the patch below and extract it to a folder on your computer.
2. Pull /system/framework/framework.jar from your phone and place it in the subfolder framework that you extracted in step 1
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 generated
Verify that the generated framework.jar is bigger than the original framework.jar that you pulled from your device. It should be about 1MB larger.
4. In subfolder generated: Place the generated framework.jar in your phone in /system/framework and reboot
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.
v. 0.789
http://www.multiupload.com/868WFGNER6
v. 0.785 << this one i use
http://www.multiupload.com/V98TYUHUO1

THANX
Great Job
Thank u very much
now i can use CM7 with it's fantastic features plus full arabic support
except for hardware keyboard
thanx again
regards

would you please write the solution here as the link to blog does not work for me!(by giving credits to madmack)

oops ..
its look like network error .. link temp not work..
when i ll reach home i will upload the files and the method in the post ..
wait few hours ..

Thank you for putting this widely open to the international community.
All the credits to our friend Madmack for the great work.
I've been using this in Arabaizing all the goodies here & hope to find a way for Odex systems..

I hope developer use the patch to support arabic in there great roms here

thanx alot for this post. it is realy helpful.
I have a question, or two ..
is the CM7 a rom for Froyo or Gingerbread??
I am still using the Official Eclair and I am planning to root my phone. if you would list the way to Upgrade the Milestone to CM7 from scratch and then Install Arabic..

3mar84 said:
thanx alot for this post. it is realy helpful.
I have a question, or two ..
is the CM7 a rom for Froyo or Gingerbread??
I am still using the Official Eclair and I am planning to root my phone. if you would list the way to Upgrade the Milestone to CM7 from scratch and then Install Arabic..
Click to expand...
Click to collapse
CM7 is GB AOSP with Moto Froyo kernel.
IF you want to upgrade to CM7 procedure would be as follows.
Flash GOT 2.2.1 sbf
Apply CM7
Apply your Arabic patch.

thnx alot sileshn ,,
do u recommend the CM7? or an earlier Rom? the CM6?

Can't we just copy-paste your Framework.jar file using root explorer, like with libwebcore.so?

Thank u very much

Related

Theme-Porter [v1.0] [Any Firmware / Rom Compatible] [WINDOWS]

Heres a script that ports your themes from firmware to firmware, rom to rom.
How it works:
- Looks through app/framework folder for apks that exist in new/old rom
- Then extracts pngs from those apks
- Then deletes mismatching pngs
- Repacks old themes pngs into new rom
- Done
Note: Benefit of this method is that you could literally port a donut theme to a froyo rom because it only copies images that exist in the new rom, and none that don't.
Betas are spread out through-out the thread (they provide a lot more features)
Instructions:
- Download zip
- Extract zip
- Place old framework/app in old folder (Rom that has the theme)
- Place new framework/app in new folder (Rom u want to port it to)
- Run batch script
- The new folder is now themed
Requirements: Windows environment
Improvements:
- Dependant on demand for this script.
NOTE: For now u can only transfer themes from 2.0+ to 2.0+ roms and pre 2.0 to pre 2.0 roms. Big reason is because of the mdpi folders whereas before there was only one. Will implement it as soon as possible.
Beta 3 Download - http://www.multiupload.com/62I7MXV620
amazing concept... and most likely awesome work like your others.. keep them coming!
definitely gonna give this a try .....
thanks
has anyone actually tried this?
I would try it myself but i don't have the time atm.
Had a minor hiccup in my script , fixed/uploaded.
UltraLinx said:
has anyone actually tried this?
I would try it myself but i don't have the time atm.
Click to expand...
Click to collapse
I just tested this script by doing the following :
1. adb pulled /system/app and /system/framework from my phone into the old folder
2. place cm6 into new folder
3. Ran script
4. Pushed files to phone and it works perfectly
Sorry. I'm relatively new to this, so how do I get the framework/app?
excellentnuke said:
Sorry. I'm relatively new to this, so how do I get the framework/app?
Click to expand...
Click to collapse
Well u can either extract app/framework from ur theme's update.zip or pull it from ur phone by doing
adb pull /system/app <drag app folder from theme-porter folder here>
adb pull /system/framework <drag framework folder from theme-porter folder here>
HOLY SHIZEN!
now if u can possibly implement the transformation of HDPI to MDPI id pay u at least 20-30 bucks for that..
in the interim..thank u very much for your contribution!
SoCalSpecialist said:
HOLY SHIZEN!
now if u can possibly implement the transformation of HDPI to MDPI id pay u at least 20-30 bucks for that..
in the interim..thank u very much for your contribution!
Click to expand...
Click to collapse
Hmm interesting idea. Certainly possible, however not all images are to be resized equally, some more than others. I'll look into it, can't promise though
Edit: Very hard to do, basically u'll have to have a list of image filenames where each must be noted as to what resolution they must be on a mdpi device.
im sort of new to this. i have a question.
will this work if im using an update.zip theme in the old folder
and a clean rom in the new folder?
ex.
i wanna port the Elegance Theme for SuperD for Dream
to
SuperE for Dream.
and another question.
if this is how it will work
can i then create an update.zip out of what comes from the new folder?
avisions said:
im sort of new to this. i have a question.
will this work if im using an update.zip theme in the old folder
and a clean rom in the new folder?
ex.
i wanna port the Elegance Theme for SuperD for Dream
to
SuperE for Dream.
and another question.
if this is how it will work
can i then create an update.zip out of what comes from the new folder?
Click to expand...
Click to collapse
As i said i'll improve it if ppl find this script to be useful, i'll base it on # of downloads lol
For now u'll have to extract the framework and app folder from elegance theme for dream into old folder and extract framework and app folder from super e to new folder. Then run script, once done ur new folder's stuff will be themed.
do i have to then push the files from the new folder over or can i use your create update.zip script and flash the new themed apps and framework?
avisions said:
do i have to then push the files from the new folder over or can i use your create update.zip script and flash the new themed apps and framework?
Click to expand...
Click to collapse
Yes u can do that or u can just push the files. Yea an update to this will prolly have an option to make the new folder into an update.zip.
thanks man. the combinations of these 2 scripts will help me to make a rom how i want it.
great work. keep it up
avisions said:
thanks man. the combinations of these 2 scripts will help me to make a rom how i want it.
great work. keep it up
Click to expand...
Click to collapse
Cool, post back on ur results from using this script, users tend to be dependant on the comments of other users
Daneshm90 said:
Hmm interesting idea. Certainly possible, however not all images are to be resized equally, some more than others. I'll look into it, can't promise though
Edit: Very hard to do, basically u'll have to have a list of image filenames where each must be noted as to what resolution they must be on a mdpi device.
Click to expand...
Click to collapse
i figured as much..thank u tho for taking the time to look into it.
i appreciate the efforts..in the meantime, ive got a theme to find and give ur app a go!
Love this applications it is so usefull used it all day,, Thanks
Very usefull and simple to use tool !
Thank you man
XxKOLOHExX said:
Love this applications it is so usefull used it all day,, Thanks
Click to expand...
Click to collapse
ondris said:
Very usefull and simple to use tool !
Thank you man
Click to expand...
Click to collapse
Ok so the # of downloads have reached my defintion of *in demand*
So these are the changes im thinkin of bringing, feel free to make suggestions.
- Make the "new folder" into an update.zip once the script has run through its paces
- Have an option to pull app/framework directly from ur phone
Those are the only 2 i can see as being useful, if anymore let me know.
crossing platforms doesnt work.
tried to move the celadon theme for CM 5.0.7 (which is android 2.1)
to SuperD 1.11 (which is android 1.6)
i also tried transfering Elegance for SuperD 1.11
to SuperE 1.0.3
the fonts transfered. nothing else did.
but i did successfully transfer the celadon theme for CM 5.0.7
to SuperE 1.0.3

Gingerbread theme for froyo

This is a gingerbread framework for froyo to reproduce -work in Fresh Froyo and CM 6, took it from krispy.
The different from froyo is the animation after sliding the unlock screen and the pop up notification.
I have try it, and this is nice just for refreshing our froyo before the source is come out.
This is not an update package.
How to apply it ?
First post is intend for releaser, but i'll give you an update. This update is the one that installed on my vogue but not include the fonts. Only for Fresh Froyo based off -ie incubus/kyle build (i'm never make a theme for CM )
How to make it by yourself ?
simply open your framework ( /system/framework/framework-res.apk ) with winrar or 7zip ( dont extract it ).
Then extract my 1st attachment on 1st post, add it to your framework via winrar or 7zip.
Remember to follow the structure of its folder.
Don't worry! I already did make a theme for CM lol. I just pulled the animations and it looks great with CM.
lol, i know that CM guys is better than me. goodluck with the new rls.
Thank you guy. It looks very good
vellowax said:
First post is intend for releaser, but i'll give you an update. This update is the one that installed on my vogue but not include the fonts. Only for Fresh Froyo based off -ie incubus/kyle build (i'm never make a theme for CM )
How to make it by yourself ?
simply open your framework ( /system/framework/framework-res.apk ) with winrar or 7zip ( dont extract it ).
Then extract my 1st attachment on 1st post, add it to your framework via winrar or 7zip.
Remember to follow the structure of its folder.
Click to expand...
Click to collapse
vellowax said:
First post is intend for releaser, but i'll give you an update. This update is the one that installed on my vogue but not include the fonts. Only for Fresh Froyo based off -ie incubus/kyle build (i'm never make a theme for CM )
How to make it by yourself ?
simply open your framework ( /system/framework/framework-res.apk ) with winrar or 7zip ( dont extract it ).
Then extract my 1st attachment on 1st post, add it to your framework via winrar or 7zip.
Remember to follow the structure of its folder.
Click to expand...
Click to collapse
This update works quite well on any Froyo
Very cool animations and looks - Thanks!
I patched my framework and then reinstalled it via ADB shell (using root file manager caused a boot loop for some reason)
This theme looks fantastic, and I love the animations. My only problem is that I can no longer see my clock on the notification bar. I'm assuming it's because the numbers are still black therefor match the background.
Any way to change this? I can't make sense of the XML files, they don't look like anything I've ever seen before.
im guessing this doesnt work with odex'ed builds?
leoleotheiii said:
im guessing this doesnt work with odex'ed builds?
Click to expand...
Click to collapse
themes will never work on odex'd builds, its one of the few drawbacks to the odexing process

[Arabization] Arabic support 4.1.57

This file to support Arabic language in 4.1.57
Installation instructions:
1- Root
http://forum.xda-developers.com/showthread.php?t=1016060
2-
A- GingerBlur ★ v1.1
http://forum.xda-developers.com/showthread.php?t=991595
OR
B- GladiAtrix 2
http://forum.xda-developers.com/showthread.php?t=1019097
OR
C- Deodexed 1.5.7
http://forum.xda-developers.com/showthread.php?t=1019994
3- Root Explorer
Download from market
4- Download framework file
http://www.multiupload.com/8HXQ9ADF7P
5- Extract the file then Copy and Replace (framework) to /system/framework/
Very important to change the Permission to rw-r--r-- otherwise you will broke your device.
Restart and enjoy
Well is this going to work in the browser or its the same like the old script that just works in apps and messages ? Thanks tho
this is RTL , not arabic support... it's works for all languges that need RTL
havlaz said:
this is RTL , not arabic support... it's works for all languges that need RTL
Click to expand...
Click to collapse
Can you please explain what that means ?
Sent from my MB860 using XDA Premium App
azy8000 said:
This file to support Arabic language in 4.1.57
Installation instructions:
1- Root
http://forum.xda-developers.com/showthread.php?t=1016060
2-
A- GingerBlur ★ v1.1
http://forum.xda-developers.com/showthread.php?t=991595
OR
B- GladiAtrix 2
http://forum.xda-developers.com/showthread.php?t=1019097
OR
C- Deodexed 1.5.7
http://forum.xda-developers.com/showthread.php?t=1019994
3- Root Explorer
Download from market
4- Download framework file
http://www.multiupload.com/8HXQ9ADF7P
5- Extract the file then Copy and Replace (framework) to /system/framework/
Very important to change the Permission to rw-r--r-- otherwise you will broke your device.
Restart and enjoy
Click to expand...
Click to collapse
Azy what did you use to modify the framework file ? And what pointed you in that direction to target it and modify it ?
Sent from my MB860 using XDA Premium App
molotof said:
Can you please explain what that means ?
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
hebrew and arabic are writen from right to left [ R T L ]
so by modifing the framework we are "fix" our problam with sms texting and emails.
but - every ROM have a Diffranet framework..
so i don't know if this file works for all of them.. (unless he checked it)
here is a program that does the fix automaticly - for any android phone!
(must have root and deoxded rom)
https://code.google.com/p/and-rtl-patcher/
originaly was for HD2 android but works for all android phone
just chack in Interface : stock (no sence)
and build base : Nand
and click GO GO GO
Thanks havlaz for lighting up my path
Thanks guys... is there a way to get that without having a custom ROM i.e. with only a root?
TareX said:
Thanks guys... is there a way to get that without having a custom ROM i.e. with only a root?
Click to expand...
Click to collapse
The only way to modify the framework is to deodex (untangle) the files so you can modify one without wreaking the whole system into a brick and having to go thru loops to bring it back to normal, there is no harm in deodexing right now, whats your issue with not putting deodexed framework files ?
molotof said:
The only way to modify the framework is to deodex (untangle) the files so you can modify one without wreaking the whole system into a brick and having to go thru loops to bring it back to normal, there is no harm in deodexing right now, whats your issue with not putting deodexed framework files ?
Click to expand...
Click to collapse
Well I heard I'll be missing out on the Atrix update if I do that... that's all. But then again the benefits of a Deodex seem to outweigh those of the new update...
molotof said:
The only way to modify the framework is to deodex (untangle) the files so you can modify one without wreaking the whole system into a brick and having to go thru loops to bring it back to normal, there is no harm in deodexing right now, whats your issue with not putting deodexed framework files ?
Click to expand...
Click to collapse
Molotov, does this Arabization patch fix the disconnected arabic words in the Launcher Pro facebook widget?
Thing is my Atrix was bought off ebay so if I brick it, it's over...
Yes it does work with facebook, but I am not sure about launcher pro
Sent from my MB860 using XDA Premium App
Hi there... When I unzip, I get a framework folder but no Framework file!
هذا ملف التعريب
http://www.4shared.com/file/hTTmbwfy/Arabic-Farsi_Atrix_4g.html
salem190 said:
هذا ملف التعريب
http://www.4shared.com/file/hTTmbwfy/Arabic-Farsi_Atrix_4g.html
Click to expand...
Click to collapse
Thank you. Will this version work with 4.1.57?
hisham2k said:
Thank you. Will this version work with 4.1.57?
Click to expand...
Click to collapse
Yes, but I do as is shown in the picture after the transfer of files
/ system / fonts / DroidSansArabic.ttf
/ system / framework / framework
After finishing work to restart the device
salem190 said:
Yes, but I do as is shown in the picture after the transfer of files
/ system / fonts / DroidSansArabic.ttf
/ system / framework / framework
After finishing work to restart the device
Click to expand...
Click to collapse
Thanks again... Works beautifully except that all GMAIL headers now say "Forgot password?"...
Any ideas.
hisham2k said:
Thank you. Will this version work with 4.1.57?
Click to expand...
Click to collapse
I can confirm that the Arabic RTL fix by the DroidSansArabic.ttf/framework.jar files overwrite does work with both Gingerblur and Gladiatrix ROMS on 4.1.57.
Cool, but now that I have RTL, how do I actually get Arabic?
How do I get:
1) Fonts
2) Keyboard that actually works properly?
3) What is everybody else doing?
Thanks
Please solve the problem in Gmail.
Browser is solved by replacing it with Firefox or opera.
The only remaining is Gmail and it is so so important to be Arabized.
By the way is there any alternatives to gmail where we can see emails with Arabic connected letters? any suggestions?

[ROM] HawkyMod [140511] [+oc_kernel&theme]

im proudly here to present you
HawkyMod 1.0.02
My Setup:
......Android: 2.3.3
......Baseband: 20.2804.30.085AU_3805.04.03.12_M
......Kernel: 2.6.35.9-g529446e
This rom is based on Vivo_Gingerbread_S_Virgin_Mobile_AU_2.12.981.2
What i have added:
......Root
......Superuser
......Busybox + run-parts support
....../data/app function enabled
......Nano text editor
......Bash shell support
......Hosts file (no junk adds ftw)
......Zip aligned(pure for ram speed)
What i have removed:
......loads and loads of bloatware and junk apps, if you however want a specific app back tell me and i will make you an update.zip
......HTC screen unlocker
Recommended apps:
......Rom manager
......Adfree: however the host file is allready modified its recommend to download it and update it once a while
......Dolphin Browser HD: browser that u gotta love
......Go Launcher: a launcher which i privatly prefer
......Root Explorer: a explorer which u have to have...
......Sysctl Config: this tool will allow you to set values to increase
Known buggs:
......wifi is not starting: fixxed in 1.0.02
Download here
My custom addons:
......Download HERE my theme: circle mods, glow mod, system icons mod and font mod
......Download HERE Sense remover: removes the entire sense ui and adds standard launcher
......Download HERE Deodexer: update zip including the deodexed files
Requested addons:
......Download HERE HTC LockScreen from sense 3.0
......Download HERE HTC Weather junk from sense 3.0
Thanks go out to:
......Bin4ry, Raskal, Koush, mike1986, jkoljo, l0st.prophet and timbo007up for teaching, helping and hanging out
Notes:
Yes, you do have to do a full whipe before installing this.
No, not me nor anyone who worked on any part of this rom is responsible for eventually any damaged caused to your phone or life.
Every file for the rom and or the rom itselve are flashable with clockworkmod recovery brought to you by Koush (Rom Manager).
Changelog
Rom:
1.0.02 : restarted entire rom, fixxed known bugs
Removed kernel say thanks to the people who reported it to the mods
i aint willing to share fault source, maybe in the future when htc added right source
so for the so called "dev" who wanted my code, you lose
No wifi
lol im busy with it atm bro dont worry
Nvidia32 said:
No wifi
Click to expand...
Click to collapse
have you rebooted after install? if yes, try a full wipe. and be sure to have the LATEST radio. otherwise no gingerbread for you..
I'm not on this ROM, but without wifi I do not test
everything seems to be working
I will test that tonight
added my theme part ^^
Nice going Hawky!
Good to see some progress on the IS..
Weve been busy on the DS ourselves... pop around and let me know what you think of my CoreDroid port
http://forum.xda-developers.com/showthread.php?t=1060742
P.S
When you get a minute can you check something in clockwork on your IS.
I think it may be a bug in the DS but whenever i use the format cache command in edify (yes it is typed correctly lol) the recovery doesnt flash the zip but instead aborts installation with a status 1 error code.
Just curious...
Cheers pal!
P.S
sorry for the o/t
Hi,
thanks for all your hard work! Is there any chance you'll update your rom's base to the latest WWE release?
Thanks
Most likely goin 100% custom
Sent from my HTC Incredible S using XDA Premium App
Good job!!Thx。。one question:How to use your theme??recovery install zip don't work!sorry my bad english!!
Hawkymod_theme installed correctly!but rebooted don't work ! Read-only file system!!!root not right!
Well, I just want to know how about the radio?
I can only guarantee that the Theme works on my rom. You can use the radio i use and the latest ones shud work with no problem
Let me remind you, you neef s-off
Sent from my HTC Incredible S using XDA Premium App
Thanks reply。of course s-off machine .of course yours rom do it.recovery install theme.zip and not do other?
Thanks veay much!
ps:not only my fail!
installed yours theme nothink change.but install other themes work.
Thanks reply。of course s-off machine .of course yours rom do it.recovery install theme.zip and not do other?
Thanks veay much!
ps:not only my fail!
and:installed yours theme nothink change.but install other themes is work.
theme.zip problem.r.e copyed file and replace success.
@sky1212, sorry for the inconvenience, but i found the bug, fixxed it
you can download it from the new link in the first post.
i reinstalled my rom, clockwork mod, installed the zip trough it and works flawless have fun with it
Thank you very much。

[Q] - How to port phone apk from Stock to CM7

Hi buddy and devs, I'm now using CM7 with many wonderful features but I miss my stock rom phone's apk. I like to swipe right or left to make a call or sms. So, do you guys know how to port it or add this feature to CM7 rom ?
IF u ar an advanced developer or on your way to be one ,here are the steps that u should follow
1.port touchwiz to cm7 by copying necessary libs,permissions and apks,bins,xbins etc
2.later decompile stock phone,contacts and cm7 phone and contacts apk and look at smali changes between them and make necessary corrections or input.
3.complie phone apk and contacts apk (NEVER NEVER NEVER SIGN THEM)
4.adb push them and set all necessary permissions.
5.SIT BACK AND PRAY.
All the above steps are too complicated and by far summarised so take help from XDA .
Sorry for bad ENGLISH.
Anindya JV said:
IF u ar an advanced developer or on your way to be one ,here are the steps that u should follow
1.port touchwiz to cm7 by copying necessary libs,permissions and apks,bins,xbins etc
2.later decompile stock phone,contacts and cm7 phone and contacts apk and look at smali changes between them and make necessary corrections or input.
3.complie phone apk and contacts apk (NEVER NEVER NEVER SIGN THEM)
4.adb push them and set all necessary permissions.
5.SIT BACK AND PRAY.
All the above steps are too complicated and by far summarised so take help from XDA .
Sorry for bad ENGLISH.
Click to expand...
Click to collapse
So, it's not easy as I thought and maybe nobody tried to do this be4. A lot of things to do.

Categories

Resources