Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 08-10-2012, 05:39 AM   #16
mathematicap
Member
mathematicap began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Aug 2012
Device: sony prs-t1
Arabic shaping for Android Froyo and Gingerbread



framework.jar and libwebcore.so

framework.jar takes care of shaping texts in android on all texts except Gmail and the browser, while libwebcore.so takes care of shaping texts in the default Browser and Gmail app. This patcher will attempt to get you Arabic support in both of these files.
This should work with all Android phones sporting Android Froyo or Gingerbread with the exception of MIUI ROMs as they are closed source and I can’t work with that.

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.
Your rom is not based on MIUI.

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 input 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 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.
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
Version 0.800 provides a recovery flashable file in folder output. 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 output/framework.jar in your phone at /system/framework/
Put file output/libandroid_runtime.so in your phone at /system/lib/ (if this file exists, it shouldn’t if you’re arabizing CM6).
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
If file exists: Place file output/libwebcore.so in your phone at /system/lib/
If file exists: Place file output/lib__bcore.so in your phone at /system/lib/
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.



Is It useful for prs-t1
Orginal :link

Last edited by mathematicap; 08-10-2012 at 05:44 AM.
mathematicap is offline   Reply With Quote
Old 08-11-2012, 12:59 AM   #17
Hedaya
Connoisseur
Hedaya began at the beginning.
 
Posts: 81
Karma: 12
Join Date: Jul 2011
Device: Pocketbook 612
"This should work with all Android phones sporting Android Froyo or Gingerbread with the exception of MIUI ROMs as they are closed source and I can’t work with that." I thought there was a way with androids without rooting them. When I came up for an upgrade on my phone, I deliberately switched to android to be able to view Arabic.

The pocketbook doesn't view tashkil on texts.

Is there no app I can just view an Arabic text with? These guys, http://shamela.ws/, have all kind of Arabic, voweled texts that supposedly one can view on a smart phone, but I can only make it work in calibre.
Hedaya is offline   Reply With Quote
Advert
Old 08-11-2012, 02:12 AM   #18
mathematicap
Member
mathematicap began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Aug 2012
Device: sony prs-t1
As you know when you root prs-t1 ,android froyo run on it,As I told someone use above tech for nook to read arabic on it.so after you do above tech you had to add arabic font to system folder.

The tech avoid character to be seperate shown.and font avoid ???? shown .after that you can calibre book and run extra css.
mathematicap is offline   Reply With Quote
Old 08-11-2012, 02:48 AM   #19
Hedaya
Connoisseur
Hedaya began at the beginning.
 
Posts: 81
Karma: 12
Join Date: Jul 2011
Device: Pocketbook 612
Umm, actually, what I meant was, I dumped the PRS-T1, but since you seemed to be in the know, I thought I would pick your brain. What I have now is a Pocketbook 612. I also got an android phone (I needed a phone anyways, but I'm just saying, I deliberately picked an android for that feature).

So the Pocketbook 612 reads non-voweled Arabic, but not the voweled kind.

So I was hoping maybe I'd have more luck with the phone?
Hedaya is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PSR-600 Dictionary garyasta Sony Reader 0 12-30-2011 05:46 PM
problems with PSR 650 Janelle Morgan Introduce Yourself 4 06-05-2011 08:33 AM
PSR-900 owner: is it worth upgrading to PSR-950? Gleidson Sony Reader 23 11-22-2010 11:17 AM
Is the kobo better than the PSR-505 in anyway? Scot Which one should I buy? 2 06-06-2010 01:22 PM
PSR 500 cover bry82 Sony Reader 4 03-06-2010 04:01 PM


All times are GMT -4. The time now is 12:04 PM.


MobileRead.com is a privately owned, operated and funded community.