first of all i would like to thank this forum and it's members, you have been a great source of G1 info for me, and i want to give something back .
this is a guide for installing fonts which will enable you to get rid of the annoying while boxes when you try reading something in a foreign language such as:
web pages
contacts
pretty much everything else
note that it does not alter your current English font, so no worries about font size not fitting buttons, etc.
this, of course, requires root access.
I haven't been able to find a comprehensive and full guide, so i made one:
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!!
note: if the dejavu fonts don't support your language, just find a font that does, and follow exactly the same procedure.
hope this helps someone, because I sure needed it...
cheers!
note: you might want to make this a sticky
Hi there
Thank you so much for the guide
Will this font work for Vietnamese?
Thanks
this will not support Arabic .. right ?
superxnova said:
first of all i would like to thank this forum and it's members, you have been a great source of G1 info for me, and i want to give something back .
this is a guide for installing fonts which will enable you to get rid of the annoying while boxes when you try reading something in a foreign language such as:
web pages
contacts
pretty much everything else
note that it does not alter your current English font, so no worries about font size not fitting buttons, etc.
this, of course, requires root access.
I haven't been able to find a comprehensive and full guide, so i made one:
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!!
note: if the dejavu fonts don't support your language, just find a font that does, and follow exactly the same procedure.
hope this helps someone, because I sure needed it...
cheers!
note: you might want to make this a sticky
Click to expand...
Click to collapse
It works great for me(Vietnamese fonts).
Thanks a bunch
h4ng0ver said:
It works great for me(Vietnamese fonts).
Thanks a bunch
Click to expand...
Click to collapse
These fonts 're different from Android fonts. Droidsans font family is a font pack which're specialy for Android phone.
wont open dd cant file
i paste the DroidSansFallback.ttf on sd root, and have problem on the last sentence
dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf
its says the file cant find
any help thanks
root access on G1 jesus frekes Dev1 Rc33
this will not support Arabic .. right ?
Click to expand...
Click to collapse
yes it will, enjoy
aacshar, try redoing it all over again, you probably mistyped some letter...
i have tried this several times and works like a charm, i am running jf1.41 RC33 also
Why can't JF put this in his releases, as a default font? I know that future android releases support locales, etc.... but why can't JF replace his release with this one so we don't have to redo this every time?
Thanks
Something went wrong, now "su" wont work, only flash black, then denied or something???
What now???
Trying to flash again, don`t want to wipe...
E: Reflash and works again...
But no help my fonts
ahmad.yousry said:
this will not support Arabic .. right ?
Click to expand...
Click to collapse
This will work for Arabic but the letters will be disconnected. I wrote about that solution in my blog a month ago:
http://dumpytips.blogspot.com/2009/01/arabic-on-t-mobile-g1half-solution.html
Read the comments if you are interested, we had an interesting discussion in there.
-Gus
I second the motion, JesusFreke - what do you say?
yochaigal said:
Why can't JF put this in his releases, as a default font? I know that future android releases support locales, etc.... but why can't JF replace his release with this one so we don't have to redo this every time?
Click to expand...
Click to collapse
why not?
Success
This works great thank you!
Edit - Now that this is working, we must ask how can we undo these changes? - Thanks!
you need to get hold of the original file, either by someone sending it to you, or by getting it out of an image.
these instructions just copy a file over an existing file, so use the same instructions again for the original font file.
JesusFreke: It would aid us all not native English speakers if you added this to your ROM. this is after all a feature. thanks
Thank you for your instruction. It's exactly what I need.
But my question is DejaVu Sans font comprises of 4 style: regular, italic, bold, bold-italic. The font has 4 files:
DejaVuSans.ttf
DejaVuSans-Oblique.ttf
DejaVuSans-Bold.ttf
DejaVuSans-BoldOblique.ttf
Why your instruction only use DejaVuSans.ttf file ? What if text in web page has italic, bold or bold-italic, how will it be displayed ?
Nathan Tran
I figured it out. Android will use DroidSansFallback.ttf for anything that it cannot display.
Nathan
1.5 gmail LTR
Hi, in the new version of JF 1.5 i tried it and the LTR isn't working on gmail application
just an FYI
superxnova said:
first of all i would like to thank this forum and it's members, you have been a great source of G1 info for me, and i want to give something back .
..........................
hope this helps someone, because I sure needed it...
cheers!
note: you might want to make this a sticky
Click to expand...
Click to collapse
cheers m8. brilliant (works fine on my HTC magic 1.5)
Just one question. So if I install someone's rom that doesn't have polish locale in it, all I have to do is to -dd this font file and I will have polish language in my phone? Or is it just for web browsing? Thanks in advance for any reply.
URGENT Pleeeeease
thank u for yr post but i'm sorry I dont understsnd the 3rd step...
3) start terminal emulator and type exactly (watch the Case) the following commands, followed by enter:
Code:
How to do ( start terminal emulator )???
And where i should type the code ????
NEED V.V. URGENT REPLAY
Thank u in dvance
g1lovermas said:
thank u for yr post but i'm sorry I dont understsnd the 3rd step...
3) start terminal emulator and type exactly (watch the Case) the following commands, followed by enter:
Code:
How to do ( start terminal emulator )???
And where i should type the code ????
NEED V.V. URGENT REPLAY
Thank u in dvance
Click to expand...
Click to collapse
Terminal means command prompt in Windows.
1. go to command prompt (window + R , type cmd , press enter)
2. cd to your androidsdk/tools/ (cd C:\AndroidSDK\tools\)
3. type this without quotes 'adb shell'
4. copy and paste this in command prompt
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
5. copy and paste this in command prompt
chmod 4755 /system/fonts/DroidSansFallback.ttf
before you do this
dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf
unmount OR turn off your sdcard
and then copy and paste this
dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf
6. reboot
That's all.
I have installed HTC ROM following this guide
http://www.karrderized.com/romguide/
so i think mine is already rooted. So when I type 'su', no problem for me.
Thanks to the person who posted this awesome tricks.
Cheers,
thihaz
Download this attachment:
http://forum.xda-developers.com/showpost.php?p=3838743&postcount=8
Then:
in windows:
adb pull /system/usr/keychars/trout-keypad-v3.kcm.bin trout-keypad-v3.kcm.bin
This backups your existing keylayout.
Then: (you must have the downloaded (unzipped!) file on C: !!)
cd C:\
adb remount
adb push trout-keypad-v3.kcm.bin /sdcard/trout-keypad-v3.kcm.bin
adb shell
cd /sdcard
dd if=trout-keypad-v3.kcm.bin of=/system/usr/keychars/trout-keypad-v3.kcm.bin
reboot
Your device should reboot now and TADA you have fully working QWERTZ!
Please correct my commands if they are wrong.
Disclaimer:
You know this..
can you give me codes to work with the terminal (I don't use sdk -ADB)
And , does it fixes all other stuff to like + - :.... or just swap Z and Y.
(I need that fix so much)
Thanks
Copy the file to your sdcard then:
su
mount -o rw,remount /system
cp /sdcard/trout-keypad-v3.kcm.bin /system/usr/keychars
i think it fixes all including + etc..
ok did it, typing reboot....
g1 htc booting
waiting.....
OMG thanks a million....... close this thread or just move it to (make one with USEFULL THINGS).... will help other people in europe.
Thanks again.
maxisma said:
Your device should reboot now and TADA you have fully working QWERTZ!
Click to expand...
Click to collapse
Hi!
This only works reliably with ROMs with the Google virtual keyboard. With the HTC one (which function-wise is better), the hardkeyboard eventually switches back and forth from qwertz to qwerty and back.
Is there a solution for that issue?
Greets
It's because of the Hardwarekeyboardcorrection.
You can try to deactivate it in Settings/Locale Settings/Touch Input/...
maxisma said:
It's because of the Hardwarekeyboardcorrection.
You can try to deactivate it in Settings/Locale Settings/Touch Input/...
Click to expand...
Click to collapse
Yeah, that's my experience as well that it is due to the hardware keyboard correction.
However, even when I switch that off (correction and completion switched off), this strange behavior of switching back and forth continues :-(.
Is there a solution to this?
Or alternatively how can I install the Google IME on a HTC build as a workaround?
Just pushing GoogleIME.apk doesn't help unfortunately.
Hi
I'm searching for an update zip which fixxes my keyboard layout problem. I'm running newest Cyanogen on a german G1 but it only has the qwerty layout!
Some time ago i had an update zip to fix exacly this issue (got it from here!) but i cant find it anymore.
Can anybody help?
Nik
http://wiki.cyanogenmod.com/index.php/DangerSPL_and_CM_5_for_Dream
DangerSPL changes all keyboards to QWERTY layout; if you have QWERTZ, run adb remount and then bash -c 'cp /system/usr/keylayout/{trout-keypad-qwertz.kl,trout-keypad-v3.kl}; cp /system/usr/keychars/{trout-keypad-qwertz.kcm.bin,trout-keypad-v3.kcm.bin}' within adb shell
Click to expand...
Click to collapse
We got this fix in our Pc Suite Batch collection (see my signature) - you can easily apply this fix after flashing any rom
I cant post in the real thread so im putting it here.
Upgrading from Eris ODEX GSB v3.4 to Eris ODEX GSB v3.5 has some issues which are making the phone not work well.
1) upgrade messes up radio and requires reactivation from verizon before you get signal
This would be ok except that the dial pad has been removed from the default activation 'app' that runs when you dial *228 so there is no way to press "1" to tell it you want to reactivate.
(work around is to just wait forever and it will default to activation)
(this problem exists in v3.4 as well making it impossible to update roaming capabilities)
2) ALL asian languages have been removed. This makes it very painful to search through asian websites. (They were still there in v3.4)
Could these be fixed please?
Thanks...
Holding down the menu button should bring up the keyboard where you can choose 1 to activate.
According to this thread, the asian language support can be restored by placing the missing DroidSansFallback.ttf font file into /system/fonts.
download the attached zip
place the contained DroidSansFallback.ttf onto your sdcard
run these commands in the terminal emulator:
Code:
su
mount -o remount,rw /system
mv /sdcard/DroidSansFallback.ttf /system/fonts/
chown 0:0 /system/fonts/DroidSansFallback.ttf
chmod 644 /system/fonts/DroidSansFallback.ttf
reboot
if not fixed: reboot into recovery-> wipe cache/dalvik-cache & fix permissions(called fix apk uid mismatches in amon-ra recovery) then reboot
Thanks so much for the help! Ill give it a try.
New to forum so i'm forced to post here
i followed instruction from here
HTML:
http://forum.xda-developers.com/showthread.php?t=2281254
HTML:
http://forum.xda-developers.com/showthread.php?t=2281254&page=2
and also tried from there
HTML:
http://forums.androidcentral.com/android-4-1-4-2-4-3-jelly-bean/314447-solved-htc-one-change-system-language-swedish-not-list-options.html
and also from here
HTML:
http://www.droidviews.com/how-to-enable-hidden-languages-on-samsung-htc-and-sony-android-devices/
and except app MoreLocale 2 i cant enable more languages in system language on device.
my device is
htc one s ver s4(1500 mhz procesor) cid HTC_Y13
i unlocked bootloader, rooted and have SUser permision(i think) and didn't do anything else except backup withTWRP(Team Win Recovery Project) , but every time i tried to edit default.xml or HTC__Y13.xml in
/system/customize/CID/
or with adb or copying with app root browser
it edit the files (open and chek) but when i restart the device nothing stays, it revert to original state .
So i cant have more languages then before, i'm missing some that are not listed.
i dont have Customization Settings Provider from this tutorial
HTML:
http://forums.androidcentral.com/android-4-1-4-2-4-3-jelly-bean/314447-solved-htc-one-change-system-language-swedish-not-list-options.html
so i'm running out of ideas.
i dont want to use app MoreLocale 2
is the solution different rom or what?
i dont want to mess a lot with the phone which is from my older Neighbour who need Serbian language, or Croatian not listed in device setup
so please help or give me the link to solution , i search the last 3 hrs on the web but cant find
cant the factory reset done by TWRP be the problem or not.
before i reset i pull the htc__y13 file and it is edited( so i know a copied it on right place, i also do remount with ro which is not described in tut. but also without efect
i found this elsewhere
Not all phones and versions of android have things mounted the same.
Limiting option when remounting would be best.
Simply change ro to rw and add the remount option
# mount -o rw,remount /system
Once you are done making changes, you should remount with the original readonly.
# mount -o ro,remount /system
Click to expand...
Click to collapse
but still with no efect
and i also cant find bak file after reset from tut thanks to CVAngelo
Code:
adb shell
su (tap "grant access" on your htc screen)
mount -o remount,rw /system
mv /system/customize/CID/default.xml /system/customize/CID/[U]default.xml.bak[/U]
cat /sdcard/your_cid.xml > /system/customize/CID/default.xml
exit
exit
its like there is a backup which overwrite everything i do to system folder ?????