yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] iamcanadian:
Hello,

Thank you for your efforts. I did exactly what you mentioned, however, the characters are still not connected in internet or in gmail app. I did replace the file libwebcore.so and I also downloaded all the aljazeera fonts but to no avail.

I have 2.2.1 the *NEW* ZSJPK v11.1 WIPE ROM Kitchen.

I would really appreciate your help a lot

Thank you
[Galaxy S I9000 Android Development] madmack:
you're not replacing the files. or replacing them with the same files.

make sure things are being overwritten correctly. or better yet, use the cwm file.
[Galaxy S I9000 Android Development] iamcanadian:
i did make sure several times... Can I still use the cwm file even if my Baseband vesion is I9000UGJL2 (my build number: ROM Kitchen 11.1-ZSJPK). Your post indicates to use the cmw file only if it is based on JS5... Would it still work?

Thank you
[Galaxy S I9000 Android Development] madmack:
The CWM file on the OP is only for JS5.

If you used my patch correctly and read the steps carefully. You'll see that the CWM file is generated in subfolder "generated". That's the one you can flash in recovery. not the one in the OP.
[Galaxy S I9000 Android Development] iamcanadian:
That is exactly what I did, I generated the file renamed it to update.zip and flashed it in recovery mode. Texts in other applications work correctly, it is only the gmail and browser that are not working correctly.

Thank you for your continuing support
[Galaxy S I9000 Android Development] madmack:
oh, for that you'll need the 2.2.1 libwebcore.so from the first post.

just put that file in /system/lib in your phone and reboot.

you'll need a program like root explorer to do that.
[Galaxy S I9000 Android Development] iamcanadian:
I did that too, although I used File Expert. I downloaded the Version 2.2.1 from: http://www.multiupload.com/3NGO337OZW and replaced it with the the original file in /system/lib
[Galaxy S I9000 Android Development] madmack:
the problem is definitely from your end.

the file was tested by me and others and it works.
[Galaxy S I9000 Android Development] iamcanadian:
Thank you for all the help. Could it be because I didn't choose the right browser when building the ROM. As you may know ROM kitchen is an online self generating ROM. They give me the following options:

If I remember correctly I picked the first one; to be honest; I picked it since I didn't know what else to choose. Do you think this is the problem?

Thank you very much
[Galaxy S I9000 Android Development] ardalaan:
is there any libwebcore.so for 2.2.2 ?
[Galaxy S I9000 Android Development] madmack:
It doesn't matter which one you picked. my libwebcore.so works on all 2.2.1 roms.

i can't help you much further i'm afraid because I'm not sure how you're replacing the file and anyways this is a bit off topic. there is a plethora of information on the web on how to get things replaced correctly in your /system partition.

I don't think we have a sgs rom with 2.2.2 :confused:
[Galaxy S I9000 Android Development] wanam:
If you mean 2.3.2/2.3.3 look at the first post.

Version 2.3.3:

This should work on any Samsung I9000 ROM based on Gingerbread 2.3.3.

http://www.multiupload.com/KOVYHAU011
[Galaxy S I9000 Android Development] ardalaan:
no !

exactly looking for 2.2.2

when i replace 2.3.3 i will stuck in boot menu !

i dont have galaxy i9000

my device is LG-p500 with 2.2.2 firmware
[Galaxy S I9000 Android Development] madmack:
oh ok, we don't have any libwebcore's on this thread for devices other than Samsung Galaxy S.

you can always try the CM6 libwebcores available on my blog. can't guarantee any of them will work though. It all depends on how AOSPish your ROM is.
[Galaxy S I9000 Android Development] zohawkish:
Hi madmak a pm to u can u answer please ?
[Galaxy S I9000 Android Development] zohawkish:
Hi madmack a pm to u can u answer please?
[Galaxy S I9000 Android Development] zohawkish:
Hi madmack

I preinstalled a patched files in my rom (js8) and got a forclosure in gmail when messages are in arabic also on defaul browser the patch didnt work ! If u have a solution ? Thanks
[Galaxy S I9000 Android Development] madmack:
do you have a logcat of the force closes ?

make sure you're using the latest patch 0.801 and that you selected froyo 2.2.x when prompted
[Galaxy S I9000 Android Development] goodwill4u1:
Hi Madmack,

i was running Simply Honey 3.1 rom based on 2.3.3 and the 801 patch was running like butter.

As i installed another rom, Juwe's 4.1 based on 2.3.3 also, and when i flash the generated zip, my phone can not boot and stays on bootscreen.

i tried it 3 times, reinstalling the rom and refalshing the genrated file and same result.

any idea?

thx

EDIT:

i retried many times and when i saw the generated file size almost same as one i got for simply honey rom, i flashed it and i works.

but weird why i had to do it more then 10 times to get the correct one generated
[Galaxy S I9000 Android Development] madmack:
perhaps you're not using the correct libandroid_runtime.so ?

make sure you place the files from Juwe's rom, and not from any other previous rom.

to be on the safe side, you might want to delete whatever is inside "generated" as well. So these files can get regenerated.

Usually bootloops happen if you have incompatibility between the files somewhere. Or by using a patch that was not meant for gingerbread, so make sure your'e selecting gingerbread when prompted as well.

if you're still having problems, post a logcat here and I'll look at it.
[Galaxy S I9000 Android Development] goodwill4u1:
Thank you Madmack for your help anytime someone needs.

but as i edited a previous post, saying that my problem was solved after running times the command and when i saw that the generated flashable file was the size i used for another rom, i flashed it and it worked. its strange, but i had to run the generator more than 10 times, but finally got it done!!!

thank you always
[Galaxy S I9000 Android Development] HateSoul:
Is it possible to patch the libwebcore.so to work on MIUI roms?!
[Galaxy S I9000 Android Development] alammori:
If you check his website, you will see that he mentioned MIUI and Gingersense to unable to arabize.

But I think the patch .801 should work on MIUI since the newest version is Gingerbread and not Froyo anymore. I don't use MIUI otherwise I will test it myself.
[Galaxy S I9000 Android Development] alammori:
I tried the newst patch. Twitter, Facebook and Arabic RSS are displaying arabic correctly. The web browser and Gmail as you mentioned are not.

I can use Firefox, Dolphin or Opera browser, but I wish there is away to get Gmail display arabic correctly.:)

Lets hope to see htc releasing some sources.
[Galaxy S I9000 Android Development] madmack:
yep, you guys lemme know when the sources are out and I'll take care of it.
[Galaxy S I9000 Android Development] qaliza:
Hello again madmack

I was wondering if you could help me with a libwebcore.so for a tablet i got, running

Froyo 2.2 (FRF91)

is it possible ?

Thank you
[Galaxy S I9000 Android Development] madmack:
you can put a request here with details of which tablet and i'll have a look at it, time permitting.

http://blog.devasque.com/?p=93
[Galaxy S I9000 Android Development] iamcanadian:
Hello,

Really appreciating your hardwork getting Arabic characters encoded properly. I'm still not able to get the fix properly, although it shows some signs of correctness. I did replace libwebcore.so like instructed. Everything works minus email and browser, however, I must point out that the words are connected properly before entering the email/webpage. Please have a look at the pictures below to understand what I mean.

I have ROMKichen ZSJPK v11.1 WIPE installed...

Thank you again!
[Galaxy S I9000 Android Development] madmack:
yea, that's how it looks like if you didn't patch libwebcore.so

you'll need to make sure the one in your phone is overwritten. use root explorer or something like that to do it.

and make sure you get the right webcore. you'll need the gingerbread samsung galaxy s one.
[Galaxy S I9000 Android Development] iamcanadian:
Yep, thank you soooo much... The problem all along was with "File expert" application. Although, it tells me that the file was replaced; it wasn't until I downloaded root explorer; root explorer replaced the file correctly....

Thank you again, now I can read all the arabic news on the go :)!!!!
[Galaxy S I9000 Android Development] qaliza:
I Found a libwebcore.so file for FRF91

The tablet booted normally, browser opened and looks excellent

But when tapping on the google search box, it FCs, while when tapping on address bar it works normally

Any tips?

I posted a request in the blog

The tablet is a chinese one no brand name running froyo 2.2 FRF91

Thank you

Regards
[Galaxy S I9000 Android Development] madmack:
super tough for me to work on that. 1) i have no idea what specs your device has (what kinda ISA, modifications to webkit.. etc) and 2) we don't have the sources of that device. and I honestly would rather spend my time arabizing other cores that are more popular and have more people waiting for them atm (no offense).

if you already got something that semi works.. cool ! but unfortunately arabizing a chinese unbranded tablet is not on top of my priorities at this time.
[Galaxy S I9000 Android Development] qaliza:
Actually its for a friend of mine who seeked my help for arabic support. Its really strange how this device has no brand name or any specs. From looking into its image file its excatly like a nexus 1 rom. I just have to tell him to use opera as his default browser

Anyway thanks for your time.

Regards
[Galaxy S I9000 Android Development] Vogie:
Dose work on MIUI ?
[Galaxy S I9000 Android Development] madmack:
i'm not sure. haven't tested it yet
[Galaxy S I9000 Android Development] Vogie:
I test it on MIUI 1.4.22 with arabic_script_0.801_windows choose Cyanogen but result was boot-loop :(
[Galaxy S I9000 Android Development] madmack:
thanks for testing. I believe MIUI have changed the AOSP files that I modify, so this breaks the compatibility.

I'll need to look at a logcat output to determine the exact culprit but I guess we can safely say that 0.801 currently doesn't correctly shape letters in MIUI roms.
[Galaxy S I9000 Android Development] D69K:
Hey Madmack, i have talked to a very talented dev over at DHD forum named Mike1986 about your work and he suggested:

what do you think ?? would it be of help to the project ??

and one more thing, I'm happy to report that the patch is also compatible with the Sense 3.0 of the upcoming HTC Sensation :) i have tested my self :) great work Madmack :)
[Galaxy S I9000 Android Development] madmack:
Oh, the project is actually using the latest baksmali/smali. I was just too lazy to change the references to 1.2.6 so I just renamed them to what you see in the project dir :) but yea, its definitely using the latest. u can md5sum em to check on that.

I'm glad its working on the Sensation ! this is awesome news. I'm getting a SGSII myself, and can't wait to test it over there :D
[Galaxy S I9000 Android Development] alammori:
I did the test with the smali 1.2.5 and went just fine. I was able to see arabic in all programs but not in the browser or gmail.

Do you have a working libwebcore.so for the sensation????
[Galaxy S I9000 Android Development] madmack:
no source = no libwebcore.

Please read on my blog for details.
[Galaxy S I9000 Android Development] wanam:
I tested the generator 0.801 with Darky RC6, i have an error saying patching libandroid_runtime.so failed :confused:

Any ideas.
[Galaxy S I9000 Android Development] madmack:
yea, darky decided to mess with his libandroid_runtime.so. So just put a stock libandroid_runtime.so into my patch and it'll work. if RC6 is based on gingerbread, use one from JVB/JVK for example.
[Galaxy S I9000 Android Development] sir ahmed:
great job madmack ..

and we are proud of you and your work ..

but i noticed that something goes wrong with the top of each broadcast of whatsapp application !! always the first line converts to chinese letters or something like that !!

also some words disappear ! why ? did you notice that ? and can you fix it ?

thank you very much ..
[Galaxy S I9000 Android Development] madmack:
I've never had letters disappear :confused:

About the chinese letters, I've not seen that either but understand that this patch is mainly a port of CM7's new arabic shaping patch. I've just ported it to make it compatible with all Android devices. I believe the problems you're having are related to the arabization code and not the port, so I don't have any answers to that given that I haven't really analyzed or tried to understand whats exactly going on (lack of time).

You can contact a guy named Eyad (don't really have his contact info.. nothing google can't fix:rolleyes:) but he's the guy that actually wrote that whole CM7 arabic code.
[Galaxy S I9000 Android Development] madmack:
New version 0.802 is out. get it from my blog. Change log is also available over there
[Galaxy S I9000 Android Development] D69K:
thanks :)

just out of curiosity what is "AOSP" ?? lol
[Galaxy S I9000 Android Development] madmack:
Android Open Source Project :)

http://source.android.com/
[Galaxy S I9000 Android Development] rezam:
dear madmack

is it it possible to add arabic support to the latest JVH rom ? with version 0.802 can we do that?

and finally , what about Swype with Arabic/Persian support ? is there a way to add it to a deodexed JVH rom?

Thanks a lot
[Galaxy S I9000 Android Development] madmack:
my patch is global, so yea it should work with JVH as well. I'm actually running it with the .802 patch myself :)
[Galaxy S I9000 Android Development] erakat1:
Hi Madmack, thanks for all your hard work. I was wondering if the patch would work for the HTC Glacier/MyTouch 4G? I figured out RTL thanks to member Ambious, but the letters are not connecting. :)
[Galaxy S I9000 Android Development] madmack:
my patch works for "any" deodexed rom.

the browser+gmail shaping is a different story however, more on that in my blog.
[Galaxy S I9000 Android Development] madmack:
was the problem with 0.802 only ?
[Galaxy S I9000 Android Development] madmack:
just released a new version, 0.803

it basically replaces the old smali/baksmali files with newer edition and also makes some tweaks to the CWM recovery file that is generated. Hopefully that recovery file will work on more devices now.
[Galaxy S I9000 Android Development] moses992:
Hello ,

I have followed your instructions completely and sadly it didnt work . not in browser/gmail nor in the system itself (texts / widgets .. ) .

Its either ive done something wrong or maybe it simply doesnt work on the ROM im running ?

Im currently running GB 2.3.3 , JVB , Debus ROM G1 .

i have done the procedure manually , using an app called file expert to pull the framework and libandroid , and placed them on the folders i extracted from your zipped file . ran the command and got 3 files generated . first i tried the CWM zip which failed , i then manually placed the generated framework and libandroid where they are supposed to , overwriting the old files . and i also placed the libicuc-arabic.so file in the system/lib folder . rebooted , and no arabic shaping . also the libwebcore didnt work neither .

What am i doing wrong / what do i have to do ?

Thanks.
[Galaxy S I9000 Android Development] madmack:
hey moses.

sometimes some apps tell you that they've replaced a file when they haven't !

so get the latest version of root explorer and try again.

curious though, was that version 0.803 that you tried ? coz i was hoping the modifications the CWM file would make it more universal.
[Galaxy S I9000 Android Development] moses992:
Ok so ive redone the whole procedure, using root explorer this time and guess what .. it worked :D !

Had to do it manually though , the CWM file insisted on not working :P . ( yes it was version 0.803 )

Thanks for this amazing patch , and thanks for your quick help also . Awesome job man keep it up .

شكرا, تحياتي من الأردن
[Galaxy S I9000 Android Development] rezam:
Dear madmack

Thanks a lot for your great program.

Is it possible to change the system default font with every font that we like ? I mean some fonts like YEKAN , Titr , Koodak and etc ... if it possible pleade told me that how can I do that.

Thanks a lot again
[Galaxy S I9000 Android Development] D69K:
hey guys :)

just wanted to inform you that the source code for HTC DHD 2.3 has been released ..

here is the link

http://developer.htc.com/

it the first one in the list ..

btw: i also noticed the problem with whatsapp and the chinese characters !! it's really annoying but i think it a problem with CM arabization .. let's just wait for newer improvements :)

EDIT: :( it is the kernel source code .. i don't know if it could be of any help to the project ??
[Galaxy S I9000 Android Development] madmack:
Yea, I guess it should work :) why don't you try ? as to how, I don't know. I haven't invested time figuring fonts out. its not my thing ;)

yea its the kernel sources indeed. :rolleyes:

we need the WebKit sources. I wonder if they're keeping the same webkit sources across gingerbread and froyo.. would it even compile ? lol. no idea.. but i highly doubt it.
[Galaxy S I9000 Android Development] sir ahmed:
hey madmak..

i think the last tow versions of miui don't support arabic even with your way !!

but i'll try your last version ..
[Galaxy S I9000 Android Development] sir ahmed:
is libandroid_runtime file Required with framwork.jar to patch arabic ?or framwork.jar only?

hint: my rom ( MIUI )
[Galaxy S I9000 Android Development] sir ahmed:
Also when i run commands it pop's up a window with those 3 options

aosp

sense

cyanogen mod 6

my rom is miui ,, should i choose cyanogen mod 6 ?
[Galaxy S I9000 Android Development] madmack:
MIUI is currently not compatible with my patch.

you can try to do the following though:

go to files/gingerbread in my patch and delete StayicLayout.smali

then when the choices come, select AOSP.

you'll need libandroid_runtime.so as well as framework.jar and libicuuc-arabic.so to be on your device after the patch for it to work.
[Galaxy S I9000 Android Development] sir ahmed:
done ..

but after rebooting i had this fc coming after entering my pin

" the process com.google.process.gapps has stopped unexpectedly.please try again "

what's this ? and how to fix it ?

thanx..:)
[Galaxy S I9000 Android Development] madmack:
interesting.

can you post the logcat ?
[Galaxy S I9000 Android Development] sir ahmed:
how can i do it ? :p :D
[Galaxy S I9000 Android Development] madmack:
while its FCing, do that:

http://www.shahz.net/android/adb-installation-and-how-to-logcat.html

and send me the logcat.txt file
[Galaxy S I9000 Android Development] sir ahmed:
i tried many times to install Andrion SDK but i failed!!

asked me to install java JKD .. !! i installed this java many times but without benefit :(

any other way ?
[Galaxy S I9000 Android Development] docnasef:
Big thanks to you!!

Say there Madmack!!

Gr8 job you doing out there!

Used your .803 and patched the IC ROM by baadnewz its a port with GB 3 and Sense 2.1

http://xdaforums.com/showthread.php?t=1016940

Worked perfect for the arabic and RTL, but ofcourse no libwebcore.so available,

thus web browser aint running good

Anywayz Opera mini fixed that a bit....

Waiting for anything you throw out !

It's destined to be as good as gold!!

Keep up the good work man!
[Galaxy S I9000 Android Development] D69K:
back with some news :)

but first:

congrats on your SGS II i hope your enjoying that bad boy lol :)

im still waiting for HTC BEAST, I can't get over Sense UI it's really gorgeous :)

anyway HTC has released an official ARABIC 2.3.3 update for HTC Incredible S

maybe we can take the Arabaization from there and port it to other 2.3.3 HTC devices ??

is that possible ??

i tried to know what HTC changed in there to get Arabic working ??

framework.jar, libwebcore.so, libskia, libdroid-runtime.so, libicuu.so ??

they seem to be using CM font the same you use on your patch !!

did they just stolen your work ??

I uploaded the ROM to multiupload i hope you have a look at it when you have time

http://www.multiupload.com/LMEJCEPLOA
[Galaxy S I9000 Android Development] madmack:
thanks for sharing that but i don't actually mix and patch roms to get my arabization. i build them from scratch you see.

my arabization could very well be very different than HTC's approach. I have no idea what they changed and where they spread their arabization functions. It could be anywhere (libskia, libandroid_runtime, libwebcore.so or more) and obviously the dependencies that they add.

my patch takes place in framework only because of the convenience that it offers and the fact that it can be applied globally on all Android devices.
[Galaxy S I9000 Android Development] D69K:
oh i see :)

thanks for the info .. i was investigating that but i couldn't come up with anything !!

it's too bad HTC takes a lot of time to release their code, i guess it would be months before we see "THE SOURCE" :(
[Galaxy S I9000 Android Development] qaliza:
Are you sure this is Gingerbread cos the build.prop says its FRG83D 2.2.1
[Galaxy S I9000 Android Development] D69K:
Yes you are right this ROM is 2.2.1 however, there was a patch update from HTC to 2.3.3 someone posted it over at the VIVO forum

here is a link to his post

Click Me

P.S sorry for the late answer i was busy to my ears lol :D
[Galaxy S I9000 Android Development] aelsharawi:
Htc Legend

http://xdaforums.com/showthread.php?t=987251

I used the frame work from the 2nd post in the above thread.

and put it into the rom of the 1st post ,after I removed the framework.deox from it

also I tried a full deox ROM and no success

can u help me ?

the adb logcat;

http://pastebin.com/EmqXmrbW

========

the POST where I made the Patch

http://xdaforums.com/showthread.php?p=13197311#post13197311

by the way the CWM .zip file didn't work on HTC legend my attached file works :)

thx

=============

another logcat after another trial:

http://pastebin.com/bbxaWbRk
[Galaxy S I9000 Android Development] madmack:
ok, the pastebin file looks terrible ! lol. I can't find a trace of any of my files being messed up. whether a lib file or a framework file. You'll need to make sure your permissions are setup correctly, and that you copied *all required files* to your phone. You'll need two .so files, and one .jar file.

the pastebin seems to suggest that libc is failing, and android.policy.jar is missing the deodexation ? :confused::confused: so needless to say, make sure your rom is deodexed !

my cwm file is not generic by any means.. that's why i put up a "plan b" of sorts in the steps. its simply hard to make one cwm file that works across the board on all devices with their different partitions, file systems and recovery versions.
[Galaxy S I9000 Android Development] aelsharawi:
Thx for reply.

I used deox framework and I put it in non deox ROM.

OF course after I removed the framework.odex.

But I tried to put all the fiels of deox ROM And it failed too.

I used ur cwm which contains all 3 fiels.

Any how I will try again and keep u posted.
[Galaxy S I9000 Android Development] madmack:
that is so wrong on multiple fronts !

your deodexed framework (even without my arabic patch) wont work on your device.

can't help you there, as its not a problem with my patch.
[Galaxy S I9000 Android Development] aelsharawi:
ok,

I used the whole deox framwork folder and deox app folder

and applied the patch this is what I got

http://pastebin.com/sTygeT63

==

sorry for overloading u ,but I appreciate ur help :)
[Galaxy S I9000 Android Development] madmack:
the pastebin still has nothing to do with my patch.

if your rom doesn't boot on its own without a patch, i don't see how i can help you :confused: