Help Adding Arabic Support to NST

Search This thread

Ketabi

Member
Nov 14, 2011
23
0
I don't really understand what you want. If you're more comfortable writing in Arabic, send me a private message.

I really appreciate your kindness..

Maybe I will wait max_hd to complete his series about Nook on his blog.

Be safe and good luck :)

---------- Post added at 04:39 PM ---------- Previous post was at 04:33 PM ----------

thank you dark hawk, you deserve a lot of thanks but i only have 8 :) , i will give it to you,

i make a post out there on my blog and mentioned you and madmack.
-------

Hi H.J,

I will start from zero after do the recovery of the original backup; I am waiting for you..

Ketabi (Wa7edM3dy)
 

max hd

Senior Member
Jan 12, 2012
67
4
CAIRO
you are welcome :)

I really appreciate your kindness..

Maybe I will wait max_hd to complete his series about Nook on his blog.

Be safe and good luck :)

---------- Post added at 04:39 PM ---------- Previous post was at 04:33 PM ----------



Hi H.J,

I will start from zero after do the recovery of the original backup; I am waiting for you..

Ketabi (Wa7edM3dy)


you are welcome ketabi, i hope i can help you,

here is what i did exactly to root :


1- update to 1.1 version.
http://www.barnesandnoble.com/u/Software-Updates-NOOK-Simple-Touch/379003175/
====

2- backed up with noogie image.
http://nookdevs.com/Nook_Simple_Touch/Rooting/Manual

the link for noogie image om multiupload server is broken
here is another one :

http://translate.google.com.eg/tran...en&u=http://www.gokuai.com/f/3XpReNMM3QT9AN23
---------
also this will help in backup :

http://xdaforums.com/showpost.php?p=15115162&postcount=2
====

3- rooted with minimal touch method through CWR.

a ) cwr :
http://xdaforums.com/showthread.php?t=1360994

b ) minimal touch method :
http://xdaforums.com/showthread.php?t=1346748
===============

4- then followed dark hawk method to add Arabic support on this thread.

http://xdaforums.com/showpost.php?p=22709152&postcount=26
----------

details on each step is must read carefully , send me if you have any troubles ( in English or Arabic )

All credits go to madmack and dark hawk.
 
  • Like
Reactions: speedman2202

kim1406

Senior Member
Apr 20, 2012
59
7
I have followed the above instruction by "dark hawk", and I got Arabic in my NST, however, the Arabic is only usable in Moon+ reader (version with RTL support). Is it possible to get Arabic in the original Nook reader and not a 3rd party software?

I could get the books title fine in Arabic in the nook reader, but not the book pages.
 

dark_hawk

Senior Member
May 31, 2004
168
57
I have followed the above instruction by "dark hawk", and I got Arabic in my NST, however, the Arabic is only usable in Moon+ reader (version with RTL support). Is it possible to get Arabic in the original Nook reader and not a 3rd party software?

I could get the books title fine in Arabic in the nook reader, but not the book pages.

Simple answer, you can't.
The software needs to support RTL in order to display the Arabic text. You're talking about epub format. Arabic PDF works fine, also text files. Moon Reader+ or the Cool Reader (which does not support RTL yet) are far superior as reader compared to the stock reader.
 

kim1406

Senior Member
Apr 20, 2012
59
7
Simple answer, you can't.
The software needs to support RTL in order to display the Arabic text. You're talking about epub format. Arabic PDF works fine, also text files. Moon Reader+ or the Cool Reader (which does not support RTL yet) are far superior as reader compared to the stock reader.

How about if you embed the font in the epub file? will it work for RTL language in the stock nook reader?

Embedding font in epub file
 

roustabout

Senior Member
Feb 12, 2011
825
212
"The problem is whether the web engine inside the reader understands RTL."

I was wondering in a different thread about checking the css in an Arabic epub file to be sure it specified RTL display, but unless the moon+ variant that does RTL only does RTL (which would surprise me) then of course Arabic epubs will have the commands.

The good news is that epub 3 formally supports RTL and hopefully BN will need to have that as a competitive tickbox soon - that is, if the Kindle, Kobo or Sony support epub 3, the other big players will need to support it.
 

kim1406

Senior Member
Apr 20, 2012
59
7
I'm placing my order this week for the new NST with GL, and I want to make sure that, it will read Arabic.

So, can one please confirm that, the procedure by "dark_hawk" on this thread will work and Arabic can be enabled on the new NGL.

http://xdaforums.com/showpost.php?p=22709152&postcount=26

as the the above process contains replacement of system files, i.e. framework.jar, libandroid_runtime.so and libicuuc-arabic.so .
 

dark_hawk

Senior Member
May 31, 2004
168
57
I see that the GL got rooted. The method above might work, If B&N changed anything in the framework.jar or the lib files it won't. but it won't be a problem, send those files over and I'll see what I can do.
 
  • Like
Reactions: max hd

max hd

Senior Member
Jan 12, 2012
67
4
CAIRO
Asalamu Alikum, hello dark_hawk, i hope you okay , i tried the above method for nook glow ver 1.2.1 after rooting with nook manager method , every thing is good till now , then i tried to flash the flashable cwm file with no success, the device unable to boot, fall in boot, as you said may they changed the framework.jar or the lib files can you help me, i will appreciate this, thank you
 

max hd

Senior Member
Jan 12, 2012
67
4
CAIRO
Sorry for the delay.

As I don't have a Nook Glow, This was tested and by Shahabodin.
And he says it's working.

http://www.mediafire.com/?4kfa162xd7e7d42

Same as the instructions above.
thank you very much for your work, dark_hawk , I am sorry if i am bothering you with my questions , i tried it and now it is working with connected letters, i have a little question. the moon reader is crashing only the text file not the app when opening an Arabic text file, i don't know why, its happened after i changed the encoding to win 1256, i tried it also on English text file and also not opening. i did not have this problem before with NST without glow. do you know any other reader support Arabic texts instead of moon reader.
 
Last edited:

dark_hawk

Senior Member
May 31, 2004
168
57
thank you very much for your work, dark_hawk , I am sorry if i am bothering you with my questions , i tried it and now it is working with connected letters, i have a little question. the moon reader is crashing only the text file not the app when opening an Arabic text file, i don't know why, its happened after i changed the encoding to win 1256, i tried it also on English text file and also not opening. i did not have this problem before with NST without glow. do you know any other reader support Arabic texts instead of moon reader.

There is the Nomad reader. Supposed to work with RTL, I didn't try it though.
Also you can always convert those files to PDF and open it in any application.
 
  • Like
Reactions: max hd

max hd

Senior Member
Jan 12, 2012
67
4
CAIRO
thank you , you are the best

There is the Nomad reader. Supposed to work with RTL, I didn't try it though.
Also you can always convert those files to PDF and open it in any application.

i tried nomad reader with no success because the letters are not connected and words mis-ordered. any way i will try to change the encoding to unicode (utf8) and then try again. thank you dark hawk :good:
 

Dexnet

Member
May 17, 2014
5
0
Sorry for adding the guide so late, been a little busy.

Adding Arabic support usually involves patching both Framework.jar and libwebcore.so files.

I found that patching libwebcore.so file causes crashes with the default browser, Gmail and Google reader. I've tried to patch the libwebcore.so manually and automatically using the method mentioned in this website : http://blog.devasque.com/?page_id=11
But it does not work. Also, Default android browser is buggy at best, so using Opera Mini which supports Arabic won't be a problem.

1-First you need to have your device rooted with any of the methods here in XDA. Also make sure you have the 1.1 version as I didn't try to add Arabic to 1.0 version.

2-Make a backup of your whole system using the method found here just in case: http://xdaforums.com/showthread.php?t=1142983
You can also try CWM backup, but I didn't try it.

3-Download this file:
https://rapidshare.com/files/2199861553/Arabic_Support_for_NST.rar
Extract it, and Using Root Explorer copy the file framework.jar for /system/framework/, and copy the libandroid_runtime.so and libicuuc-arabic.so to /system/lib/
System might restart during copying files, try again after system has restarted.
Or
You can try the CWM flashable zip file:
https://rapidshare.com/files/1924264561/flashable_cwm_framework.zip
copy the zip file to sd, boot in CWM, flash file from sd.
Didn't try the CWM flashable file, but I don't find any reason why it won't work.

3- Add the Arabic font, I use the DejaVuSans. Can be found here : https://rapidshare.com/files/2414620233/DroidSansFallback.rar
Using Root Explorer copy the file to /system/fonts/ overwriting the exiting file. Reboot.
If you don't like the font, use any other Arabic Enabled DroidSansFallback.
All credits go to madmack.

Hey! Can you please repost the links? they are dead.
Is this method available to 1.2.1 framework?
If not, How to make arabic support for Opera browser?
Thx in advance!
 

Dexnet

Member
May 17, 2014
5
0
is ur device firmware 1.2.1 or older???????

replay me back and i will upload it for u


speed

Hi Speedman! thank you for replying. My device's firmware is the 1.2.1.
If you can please include some howto steps, but that's optional. Thank you in advance!

P.s: How to know if an arabic font is an enabled DroidSansFallback typefont?
 

speedman2202

Senior Member
May 16, 2012
358
41
Cairo
Hi Speedman! thank you for replying. My device's firmware is the 1.2.1.
If you can please include some howto steps, but that's optional. Thank you in advance!

P.s: How to know if an arabic font is an enabled DroidSansFallback typefont?


ok , after u rooting ur device with nook manager , burn CWM on sd card and put this zip file

http://www.mediafire.com/download/4kfa162xd7e7d42/flashable_cwm_framework_nst_1.2.1+.zip

and then do apply update from this file , after finish successfully ....... go and download DroidSansFallback or unpack the original zip u have download and u will find that file with "DroidSansFallback.ttf" then put it on sd card and download root explorer or file manager from apps store and go to root destination to copy the file to /system/fonts/ overwriting the exiting file. Reboot.

then done!!!! , ur device support Arabic now any question i am here

speed
 
  • Like
Reactions: Dexnet

Dexnet

Member
May 17, 2014
5
0
ok , after u rooting ur device with nook manager , burn CWM on sd card and put this zip file

[link]

and then do apply update from this file , after finish successfully ....... go and download DroidSansFallback or unpack the original zip u have download and u will find that file with "DroidSansFallback.ttf" then put it on sd card and download root explorer or file manager from apps store and go to root destination to copy the file to /system/fonts/ overwriting the exiting file. Reboot.

then done!!!! , ur device support Arabic now any question i am here

speed

Works like a charm! (see the screenshot)
Thank you Speed! :good:
 

Attachments

  • screenshot.png
    screenshot.png
    135.7 KB · Views: 134

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    Sorry for adding the guide so late, been a little busy.

    Adding Arabic support usually involves patching both Framework.jar and libwebcore.so files.

    I found that patching libwebcore.so file causes crashes with the default browser, Gmail and Google reader. I've tried to patch the libwebcore.so manually and automatically using the method mentioned in this website : http://blog.devasque.com/?page_id=11
    But it does not work. Also, Default android browser is buggy at best, so using Opera Mini which supports Arabic won't be a problem.

    1-First you need to have your device rooted with any of the methods here in XDA. Also make sure you have the 1.1 version as I didn't try to add Arabic to 1.0 version.

    2-Make a backup of your whole system using the method found here just in case: http://xdaforums.com/showthread.php?t=1142983
    You can also try CWM backup, but I didn't try it.

    3-Download this file:
    https://rapidshare.com/files/2199861553/Arabic_Support_for_NST.rar
    Extract it, and Using Root Explorer copy the file framework.jar for /system/framework/, and copy the libandroid_runtime.so and libicuuc-arabic.so to /system/lib/
    System might restart during copying files, try again after system has restarted.
    Or
    You can try the CWM flashable zip file:
    https://rapidshare.com/files/1924264561/flashable_cwm_framework.zip
    copy the zip file to sd, boot in CWM, flash file from sd.
    Didn't try the CWM flashable file, but I don't find any reason why it won't work.

    3- Add the Arabic font, I use the DejaVuSans. Can be found here : https://rapidshare.com/files/2414620233/DroidSansFallback.rar
    Using Root Explorer copy the file to /system/fonts/ overwriting the exiting file. Reboot.
    If you don't like the font, use any other Arabic Enabled DroidSansFallback.
    All credits go to madmack.
    2
    Hello,

    Arabic, like Hebrew, is a Right to left Language.
    Android 2.1 does not have support for RTL languages.

    This developer here made an application to modify Framework.jar to add RTL support : http://xdaforums.com/showthread.php?t=907635

    The problem for Arabic is that unlike Hebrew letters are connected in some cases (most cases actually).

    Another developer here add support for Arabic reshaping:
    http://code.google.com/p/arabicresh...com/AzizHuss/ArabicRehaper/ArabicReshape.java

    Arabic support usually is done through modifying libskia.so and libwebcore.so located at /system/lib.

    I don't have any knowledge of how to modify those files and add the ArabicReshaper code to those files.

    Can someone please help with this little project?

    Thanks in advance.
    2
    Have they already figured out Hebrew support then? I would love to have both.

    To add Hebrew you just need to replace the font DroidSansFallback.ttf with any font supporting Hebrew, like for example the DejaVu fonts
    http://dejavu-fonts.org/wiki/Main_Page
    Rename the DejaVuSans.ttf to DroidSansFallback.ttf and push it the device /system/fonts.
    But you won't have RTL support, you'll also get Arabic but without the letters connecting nor the RTL support, it's not much but it's a start.
    2
    dark_hawk

    Thank you a lot for these information, I pray for you to get all you wishes..
    I am finally able to post here..
    Please help me,
    http://xdaforums.com/showpost.php?p=22846906&postcount=1

    I don't really understand what you want. If you're more comfortable writing in Arabic, send me a private message.
    2
    thank you brother, i replaced the font with Aljazeera font v2 , and it looks beautiful, one last thing , i tried to add Arabic keyboard ( actually i tried 3 different apps, but with nothing, what do you think ?


    Try Go Keyboard from the market.

    Download it, move the file apk from data/app/ to system/apps/. The use Nook color tools to switch the keyboard. Then install Arabic Go keyboard for the market.