**How-To** View Hebrew and Other Languages on the Epic 4G - Epic 4G Android Development

I got this information from http://forum.xda-developers.com/showthread.php?t=480964 for the G1
Just edited it so it would work for the Epic 4G.
This only works if you have root enabled (get it here) and it would be best to have the superuser app on as well.
1: download the DeJaVu fonts from here using one-click, they are freely licensed.
2: unzip and copy 'DejaVuSans.ttf' to your sdcard and rename it exactly 'DroidSansFallback.ttf' (without the quotes)
using ADB: (this makes it easier to copy and paste)
Code:
adb shell
su
mount -t rfs -o remount,rw /dev/block/stl9 /system
chmod 4755 /system/fonts/DroidSansFallback.ttf
dd if=/system/fonts/DroidSansFallback.ttf of=/sdcard/DroidSansFallback.ttf.bak
dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf
reboot
on-phone:
start terminal emulator and type exactly the following commands, followed by enter:
Code:
su
mount -t rfs -o remount,rw /dev/block/stl9 /system
chmod 4755 /system/fonts/DroidSansFallback.ttf
dd if=/system/fonts/DroidSansFallback.ttf of=/sdcard/DroidSansFallback.ttf.bak
dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf
reboot
after reboot you will be able to see all languages supported by dejavu
note: if dejavu doesn't support your language, just find a font that does, and follow the exact same procedure.

random
random bump for new users

Just take a pic of the text and view it. Works for virtually anything!

NoSoMo said:
Just take a pic of the text and view it. Works for virtually anything!
Click to expand...
Click to collapse
How does that help you views an email or text or website on your phone that is in hebrew?
Sent from my SPH-D700 using XDA App

smeyerhuky said:
How does that help you views an email or text or website on your phone that is in hebrew?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
unsure this is neccessary for users who upgraded to froyo.
All my friends who stick hebrew in their facebook status messages, it now comes through perfectly (as upgraded to froyo).
However, there are still many RTL issues that I see from time to time.

Related

HTC Desire hebrew installation

Hi All
I have been rooting my device using both Paul R3 and R5 (tried both since I though r5 include hebrew)
The procedure went ok
I have tried to follow the procedure described here
1) download the DeJaVu fonts from here, they are freely licensed (so no worry about copyrights).
2) copy 'DejaVuSans.ttf' to your sdcard and rename it exactly 'DroidSansFallback.ttf'
3) start terminal emulator and type exactly (watch the Case) the following commands, followed by enter:
Code:
su (then wait for the superuser screen and press yes)
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSansFallback.ttf
dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf
reboot
your phone will now reboot, and vualla! you have your native language displayed! no more white boxes! Ha Ha Ha!!
which seems show as it is completed successfully ....but yet I get squares instead of hebrew
I did it twice but again no luck
I would appreciate if someone can shade some light or direct me
Thanks
Cozzmo

[Q] Command to install apps from terminal.

Sorry if this has already been asked. I tried searching and couldn't seem to find clear terminal commands. All of them either didn't seem to work, or were actually adb commands.
What are the exact commands for installing an app through terminal?
I'm trying to find the easiest commands to help a friend that needs to install an app on his phone. He doesn't have a data plan so he can't go into the market to install it, and isn't near the computer for adb.
I've used this command set before to install an app to system before:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cat /sdcard/'name-of-app'.apk > /system/app/'name-of-app'.apk
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
But that is a little to complicated for him, and would be especially hard to explain over the phone, because like I said, he has no data plan.
Now I've seen this command around here:
su
cd /sdcard
install 'name-of-app'.apk /system/app/'name-of-app'.apk
But I tried that on my phone before giving it to him and it didn't seem to work.
So what are the commands for installing an app through the terminal to either system or data?
Install the sdk...
adb install application.apk
Sent from my HTC Liberty using XDA App
You just have to copy the application to /system/app (cp command), /system/ has to be mounted first of course.
SliestDragon said:
Sorry if this has already been asked. I tried searching and couldn't seem to find clear terminal commands. All of them either didn't seem to work, or were actually adb commands.
What are the exact commands for installing an app through terminal?
I'm trying to find the easiest commands to help a friend that needs to install an app on his phone. He doesn't have a data plan so he can't go into the market to install it, and isn't near the computer for adb.
I've used this command set before to install an app to system before:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cat /sdcard/'name-of-app'.apk > /system/app/'name-of-app'.apk
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
But that is a little to complicated for him, and would be especially hard to explain over the phone, because like I said, he has no data plan.
Now I've seen this command around here:
su
cd /sdcard
install 'name-of-app'.apk /system/app/'name-of-app'.apk
But I tried that on my phone before giving it to him and it didn't seem to work.
So what are the commands for installing an app through the terminal to either system or data?
Click to expand...
Click to collapse
Sent from my HTC Magic using XDA App

TypeFresh good to go on 2.1?

As the title states, is TypeFresh good to go on rooted 2.1 on an X10i? The huge fonts are killing me
It wouldn't reboot for me so I've just used RootExplorer instead.
It worked fine for me, both apps (Typefresh and Andexplorer) where installed from the market.
javagreen said:
As the title states, is TypeFresh good to go on rooted 2.1 on an X10i? The huge fonts are killing me
Click to expand...
Click to collapse
yer typefresh works lol
Root Explorer copipast fonts an /system
Thanks for the replies guys, I went ahead anyway and got on it -- and it worked
i m still unable to figure please help, type fresh now displays clockopia on first order, was not there on 1.6. how did u change the font then
sahil4u said:
i m still unable to figure please help, type fresh now displays clockopia on first order, was not there on 1.6. how did u change the font then
Click to expand...
Click to collapse
See the link in my sig.
XperiaX10iUser said:
See the link in my sig.
Click to expand...
Click to collapse
Thanks for all the links my friend.
I always use this method to change my fonts:
1. I pick the font I want and I copy the regular and bold version on my SD.
2. I rename the regular to DroidSans.ttf and the bold to DroidSans-Bold.ttf.
3. Then, on my phone, using a Terminal application, I type:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSans.ttf
dd if=/sdcard/DroidSans.ttf of=/system/fonts/DroidSans.ttf
chmod 4755 /system/fonts/DroidSans-Bold.ttf
dd if=/sdcard/DroidSans-Bold.ttf of=/system/fonts/DroidSans-Bold.ttf
4. Reboot!
5. Enjoy!!
My_Immortal said:
I always use this method to change my fonts:
1. I pick the font I want and I copy the regular and bold version on my SD.
2. I rename the regular to DroidSans.ttf and the bold to DroidSans-Bold.ttf.
3. Then, on my phone, using a Terminal application, I type:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSans.ttf
adb shell dd if=/sdcard/DroidSans.ttf of=/system/fonts/DroidSans.ttf
chmod 4755 /system/fonts/DroidSans-Bold.ttf
adb shell dd if=/sdcard/DroidSans-Bold.ttf of=/system/fonts/DroidSans-Bold.ttf
4. Reboot!
5. Enjoy!!
Click to expand...
Click to collapse
I tried to change it by the Terminal but it says adb not found.Please help how can I overcome this problem.
If you can't get Typefresh to reboot please try the following: Install the latest Busybox from the market. This fixed the problem for a friend of mine.
good for i think there is some problem with my root, type fresh says cannot remount system. which root method did you use. i recently updated my x10i to 2.1 global generic and rooted with one click 1.5. titanium says ok and su too working. but still i cannot wrewrite or copy paste files. help will be appreciated.
sahil4u said:
good for i think there is some problem with my root, type fresh says cannot remount system. which root method did you use. i recently updated my x10i to 2.1 global generic and rooted with one click 1.5. titanium says ok and su too working. but still i cannot wrewrite or copy paste files. help will be appreciated.
Click to expand...
Click to collapse
I used the same method. The first time you run Typefresh you have to give permission, this will cause Typefresh to 'cannot remount sytem' , when you retry it works
dvildriver said:
I tried to change it by the Terminal but it says adb not found.Please help how can I overcome this problem.
Click to expand...
Click to collapse
Ooops...! Sorry! My bad! The correct commands are:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSans.ttf
dd if=/sdcard/DroidSans.ttf of=/system/fonts/DroidSans.ttf
chmod 4755 /system/fonts/DroidSans-Bold.ttf
dd if=/sdcard/DroidSans-Bold.ttf of=/system/fonts/DroidSans-Bold.ttf
My_Immortal said:
Ooops...! Sorry! My bad! The correct commands are:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSans.ttf
dd if=/sdcard/DroidSans.ttf of=/system/fonts/DroidSans.ttf
chmod 4755 /system/fonts/DroidSans-Bold.ttf
dd if=/sdcard/DroidSans-Bold.ttf of=/system/fonts/DroidSans-Bold.ttf
Click to expand...
Click to collapse
Hi.It works like a charm.Thanks for sharing!
Or just copy and paste using RootExplorer or similar. TF can be a bit temperamental at times, was in 1.6 and is in 2.1.
works perfectly for me... running sony sketch..... no more large letters in 2.1

[i9003][Mod] Root XXKPM without CWM

Hi everyone,
this method helps you to achieve root in XXKPM without CWM (which will be available shortly). You will need the attached files and Linux with installed Android SDK. Credits go to ChainsDD for the Superuser binary and APK and to Skin1980 for his normalboot.img repack script. This method is more time consuming than flashing CWM and more risky. Beware!
Flash XXKPE followed by XXKPM via Odin.
Flash the modified normalboot.img as PDA via Odin and do a full wipe. This enables the adb shell to run as root on the device, allows debugging and mock locations.
Now start up Linux and hook up your device to your PC. Do not forget to activate USB debugging in the settings. Follow these directions very carefully, otherwise you might have to reflash or even loose your IMEI!
Run Terminal. In Terminal, gain root access and start adb:
Code:
su
adb start-server
To be sure adb is running and recognized your device, issue
Code:
adb devices
Now the delicate part: Mount /system read-write:
Code:
adb shell
su
At this point, the "$" at the beginning of each line should change to "#". Otherwise, you're not root and can not continue.
Code:
mount -o remount,rw -t yaffs2 /dev/block/stl9 /system
exit
And now push the Superuser files to the device (I am assuming they are lying in your home directory. Otherwise, adjust the path. For example, "su" could be in "/home/user/i9003/su"):
Code:
adb push su /system/bin/su
adb push Superuser.apk /system/app/Superuser.apk
And finally set the correct permissions and remount /system read-only:
Code:
adb shell
chmod 6755 /system/bin/su
sync
mount -o remount,ro -t yaffs2 /dev/block/stl9 /system
exit
Reboot.
After this, you will typically install busybox from the market. But this is up to you. Have fun!
Thanks for the info..r we really need this?coz I've no linux on my desk
Sent from my GT-I9003 using xda premium
AmirolAhmad said:
Thanks for the info..r we really need this?coz I've no linux on my desk
Sent from my GT-I9003 using xda premium
Click to expand...
Click to collapse
it can be done by using command prompt in windows with adb setuped in ur pc..
Anyone tried this method?
confirmed this method works
@g5abiera: I sure hope so
You mention an error in the OP. Can you specify?
Works!
Rooted and Deodexed...
i really don't know what went wrong the first try, i was getting an error telling me there isnt enough space in the partition where the su binary goes. then again, i simply reflashed kpm, and viola, it works.

partition protected

I'm sure this has been addressed but a search wouldn't located it. I had this woman bring a phone in and ask me to get this spy app to work on her son's phone, it has to be written on the /system. She paid someone on Craigslist to root it. I'm able to get the # in terminal emulator, and s-off is there but I'm still unable to write to /system. Even once mounting it through Clock workMod. The phone is running cm7 by the way. Any ideas on how to make the /system writable.
Sent from my SGH-T989 using XDA Premium App
i use this command in Terminal after I get the #
mount -o remount,rw /system
N_otori0us_ said:
i use this command in Terminal after I get the #
mount -o remount,rw /system
Click to expand...
Click to collapse
Thank you very much. It worked.

Categories

Resources