Once you have rooted your shiny new Nexus One, you may want to add support for Arabic fonts if you frequently read websites published in Arabic. This support isn’t built into the US version of the Nexus One which released on January 5th, but will likely be included in any version shipping in the Middle East (upon release there).
In order to manually add support for Arabic, just follow these steps.
- Root your Nexus One (this will void your warranty on the phone, proceed with caution).
- Download Arabic font files zip file (already renamed properly), and extract it to somewhere easy to get to like C:\ if using Windows.
- Make sure you have downloaded and installed the Android SDK.
- Connect the Nexus One to your computer, and open a command prompt.
- Push the Arabic fonts to /system/fonts/ using the following commands in ADB:
adb push DroidSans.ttf /system/fonts/
adb push DroidsSans-Bold.ttf /system/fonts/
adb push DroidSansFallback.ttf /system/fonts/
- Download libwebcore.so.android20, which is compiled to enable the browser to properly display Arabic. You can get it here or at the source from the “arabicandroid” project.
- Rename the file to libwebcore.so
- With your N1 still connected to your computer, from the command prompt, push it to your phone with the following commands in ADB:
adb push libwebcore.so /system/lib/
adb shell reboot
That’s it. Pretty simple, really. Enjoy!
LONG OVERDUE UPDATE: Do not attempt this on any phone other than the Nexus One, or any version of Android other than 2.1 (Eclair). Doing so will probably require you to reset the device, and/or brick your phone.
Let me say that again: Do not attempt this on any phone other than the Nexus One, or any version of Android other than 2.1 (Eclair). Doing so will probably require you to reset the device, and/or brick your phone. YOU HAVE BEEN WARNED. THIS ARTICLE IS OLD. THERE ARE NEW GUIDES. WE WILL POST ONE SOON!!! We don’t want anyone bricking their phone, okay? Seriously guys!