Related
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 guys! I want to share with you this repack of cyanogen 4.0.4, with BFS patch kernel. IMHO is fast.
Changelog:
-Changelog of CM4.0.4
-Kernel from 4.1.6 with BFS
-LatinIME multilanguage
-Calculator, Gmail, Gtalk, Alarm and Market multilanguage
-Old HTC_IME with accent in alfanumeric mode
-Advanced Launcher 17
-Browser enchanched
-Vodafone apn
-Audio from noverca rom
-All android's ringtone (magic has space!)
How to set your language in HTC_IME
Open an sms, hold on "imput text field", select "Input Method" and select TouchInput keyboard. Press home and go into settings>language and text>android language. Select english and after reselect your language. Go into "Touch input" settings, and check if under "keyboard language" there isn't "english" selected (your language doesn't appear, but t9 is right )
Download ROM:
ROM 32a: Download it!
ROM 32b: Download it!
Download THEMES multi5 (search in "dream themes" section for images and changelog!):
gChrome0.2: Download it! (it have bug with notification volume and video control in gallery)
TedsHerov1.1: Download it! (it have bug with video control in gallery)
PS. if you are italian and you flash a theme not "italianized" (i've mod gChrome), you lost gtalk/market/gmail/alarm/calculator multi5
If you want HTC_IME as cm4.0.4, take it and try to push in /data/app :
Code:
adb remount
adb push HTC_IME /data/app
adb shell rm -rf com.android.inputmethod.latin
adb shell rm -rf com.htc.android.htcime
adb shell reboot
if you want audio from cm404, please push AudioFilter.csv AudioPara4.csv AudioPreProcess.csv from /system/etc of original 404.
Code:
adb remount
adb push AudioFilter.csv /system/etc
adb push AudioPara4.csv /system/etc
adb push AudioPreProcess.csv /system/etc
adb shell reboot
If you want the original Launcher (imho more fast), set 5home, download it and push into the magic with:
Code:
adb remount
adb push Launcher.apk /system/app
adb shell reboot
hmm, 32b link not working :/
bufodill said:
hmm, 32b link not working :/
Click to expand...
Click to collapse
ops.. i've fixed!
nk02 said:
Hi guys! I want to share with you this repack of cyanogen 4.0.4, with BFS patch kernel. IMHO is fast.
Changelog:
-Changelog of CM4.0.4
-Kernel from 4.1.6 with BFS
-LatinIME multilanguage
-Calculator, Gmail, Gtalk, Alarm and Market multilanguage
-Old HTC_IME with accent in alfanumeric mode
-Advanced Launcher 17
-Browser enchanched
-Vodafone apn
-Audio from noverca rom
-All android's ringtone (magic has space!)
How to set your language in HTC_IME
Open an sms, hold on "imput text field", select "Input Method" and select TouchInput keyboard. Press home and go into settings>language and text>android language. Select english and after reselect your language. Go into "Touch input" settings, and check if under "keyboard language" there isn't "english" selected (your language doesn't appear, but t9 is right )
Download ROM:
ROM standard: Download for Magic 32B
ROM standard: Download for Magic 32A
Download THEMES multi5 (search in "dream themes" section for images and changelog!):
gChrome0.2: Download it! (it have bug with video control in gallery and with volume setting)
TedsHerov1.1: Download it! (it have bug with video control in gallery)
PS. if you are italian and you flash a theme not "italianized" (i've mod gChrome), you lost gtalk/market/gmail/alarm/calculator multi5
If you want HTC_IME as cm4.0.4, take it and try to push in /data/app :
Code:
adb remount
adb push HTC_IME /data/app
adb shell rm -rf com.android.inputmethod.latin
adb shell rm -rf com.htc.android.htcime
adb shell reboot
[/QUOTE
cant wait to try this out, loved your earlier work. one question, do i need to partition to run this? i think the answer is no, but just need to make sure
thanks
Click to expand...
Click to collapse
huetson2 said:
cant wait to try this out, loved your earlier work. one question, do i need to partition to run this? i think the answer is no, but just need to make sure
thanks
Click to expand...
Click to collapse
you don't need 3partitions
for example, i've only fat32 8gb partition
Hi,
I am using your rom as follows : [28-07 r4.1.1 beta] nk02's ION Multi5.
I have a UK 32B vodafone Magic and I want to update.
Will I need to wipe before I flash this rom?
will this rom be alot faster?
Oh yeah and will Bluetooth, Wifi, led's, microphone all work ok?
thanks
hello, it tells me that
Verifying update package
E: Wrong digest:
system/app/browser
E:verification failed
Installation aborted
I was using cyan 4.04
any ideas?
hughyb said:
hello, it tells me that
Verifying update package
E: Wrong digest:
system/app/browser
E:verification failed
Installation aborted
I was using cyan 4.04
any ideas?
Click to expand...
Click to collapse
getting exact same problem...any help?
huetson2 said:
getting exact same problem...any help?
Click to expand...
Click to collapse
just checked at the top, he says hes uploading new ones.
Cheers
So, if I understand it correct, this is the Cyanogen ROM with complete multilanguage-support?
Thank a lot
Very speed oO
here http://www.megaupload.com/?d=QF3UP4AU in the zip, framework.apk and Launcher.apk gchrome themed, no bug video gallery and ringtones.
working great here! thanks
JeremaX said:
Thank a lot
Very speed oO
here http://www.megaupload.com/?d=QF3UP4AU in the zip, framework.apk and Launcher.apk gchrome themed, no bug video gallery and ringtones.
Click to expand...
Click to collapse
thanks a lot.. tomorrow i try to fix the theme
Nice!
As usually, I like what you do nk02, fast and useful!
Great work!
is possible to install last cyanogen kernel (4.1.10.1) ??
i tried, device is unable to start.
If you want HTC_IME as cm4.0.4, take it and try to push in /data/app :
Code:
adb remount
adb push HTC_IME /data/app
adb shell rm -rf com.android.inputmethod.latin
adb shell rm -rf com.htc.android.htcime
adb shell reboot
thanks for this rom.
I've just a pb, when i want to apply this change. my htc magic boot and stay in a black screen after android logo .... somebody have the same pb ?
thank's a lot
Just curious if anyone knows if nk02 is going to update this ROM anytime soon?
I have no complaints though whatsoever, this ROM is incredibly fast and awesome, thank you nk02!!!
HandsentSMS doesn't work on this ROM. Also the Market is very buggy... Often it doesn't download anything. Please fixe the Market (Take the Market from Donut, this will work. The old Market doesn't work correctly with the Donut-Pieces in this ROM.)
I think the Handsent-problem is not your fail.
as always, a superb rom.
however i have a problem with bluetooth over a2dp. my headphones have been working but have since stopped, and the only solution i have found is to push the lib file every time!
does anyone know of a permanent solution to this?
EXCHANGE and multitouch browser ?
is EXCHANGE (calendar AND contacts) sync included ?
is there a multitouch browser ?
thanks
I have looked and cannot find a solution.
I am a newb when it comes to this stuff.
Is their anyway to remove the HTC keyboard or touch input and use the standard android keyboard. I like the keyboard but it is too laggy.
I would prefer an .apk of the standard keyboard, But I am sure it won't let you install, but rather open up the HTC keyboard.
I think I can plug in and enable USB debugging, and then adb shell, rm touch input,
reboot?
Can someone please help me through this.
Partially correct.
it would be
adb remount
adb shell
cd system
cd app
rm HTC_IME.apk
rm Clicker.apk
reboot
thanks for the hep, really appreciate it, Is their anyway to reinstall the HTC ime touch input apk. that would basically reinstall the htc keyboard over the android one, if I wanted to?
Yes, there is.
Before you do the command I posted above, do this:
adb remount
adb pull /system/app/HTC_IME.apk C:\HTC_IME.apk
adb pull /system/app/Clicker.apk C:\Clicker.apk
That will backup those files to your C:\ directory.
http://www.mediafire.com/?qjymjydmw0m
flash from recovery then after boot long press an input field and change the input method. it will install 2 "android keyboard"s one is stock one is with voice
Make sure you do what andyriot posted above before removing the HTC keyboard... otherwise you'll be keyboardless until you get the new one flashed
mrinehart93 said:
Yes, there is.
Before you do the command I posted above, do this:
adb remount
adb pull /system/app/HTC_IME.apk C:\HTC_IME.apk
adb pull /system/app/Clicker.apk C:\Clicker.apk
That will backup those files to your C:\ directory.
Click to expand...
Click to collapse
andyriot http://www.mediafire.com/?qjymjydmw0m
flash from recovery then after boot long press an input field and change the input method. it will install 2 "android keyboard"s one is stock one is with voice
thanks guys
to change the physical keyboards layout rename/copy umts_milestone2-keypad.kl to umts_jordan-keypad.kl, edit it with an editor to change key 21 with 44 and rename/copy umts_milstone2-keypad.kcm.bin to umts_jordan-keypad.kcm.bin
i do this via windows comandline tool:
1. get the umts_milestone2-keypad.kl file
Code:
adb pull /system/usr/keylayout/umts_milestone2-keypad.kl
2. edit line 43 and 65, change Z and Y
3. push the file to the sdcard as umts_jordan-keypad.kl
Code:
adb push umts_milestone2-keypad.kl /sdcard/umts_jordan-keypad.kl
4. open shell via adb and make /system/ writeable
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
5. copy the edited file to /system/..
Code:
cp /sdcard/umts_jordan-keypad.kl /system/usr/keylayout/umts_jordan-keypad.kl
6. copy umts_milstone2-keypad.kcm.bin as umts_jordan-keypad.kcm.bin in ../keychars/
Code:
cp /system/usr/keychars/umts_milestone2-keypad.kcm.bin /system/usr/keychars/umts_jordan-keypad.kcm.bin
7. set /system back to read-only and reboot
Code:
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
not solved problem:
alt + z gets <
alt + y gets 6
Have you considered using files from qwertz froyo and renaming/pushing them with adb?
It may solve your alt+x problems.
I'm about to try this for my french keyboard. I'll keep you tuned.
I've been able to get the AZERTY layout.
First time i used the files from the azerty patch from argen2stone but my keyboard stopped working so i edited trough Root Explorer the files myself. Still got problems with the "." "<" "1" and "2"
atm i try to edit the umts_jordan-keypad.kcm.bin with a hex editior to change the bindings but if i restart with the new file the changed key´s don´t work^^
more or less we need the original *.kcm.bin ? Can't you take the kcm.bin for qwertz from the stock sbf?
Atomos33 said:
I've been able to get the AZERTY layout.
First time i used the files from the azerty patch from argen2stone but my keyboard stopped working so i edited trough Root Explorer the files myself. Still got problems with the "." "<" "1" and "2"
Click to expand...
Click to collapse
I've also been able to put my keyboard in AZERTY layout, but I have all the "2nd" (alt) keys that are melted
Could you send me your keypad files, please ? ([email protected] )
chibani said:
I've also been able to put my keyboard in AZERTY layout, but I have all the "2nd" (alt) keys that are melted
Could you send me your keypad files, please ? ([email protected] )
Click to expand...
Click to collapse
Which one do you need ? The one i modified or the originals? Right i'm on gingerbeta with symbol disorder...
I think i'm going to ask some people on a french forum to send me the original files from stock rom.
Sent from my MB722 using XDA App
yeah tried the original files but this ain´t help because the phone think that the keypad it is qwerty either. so the mapping is diffrent to the stock german one.
probably you get the same problems with azerty...
Atomos33 said:
Which one do you need ? The one i modified or the originals? Right i'm on gingerbeta with symbol disorder...
I think i'm going to ask some people on a french forum to send me the original files from stock rom.
Sent from my MB722 using XDA App
Click to expand...
Click to collapse
OK.
I think i'll try to fix my current file.
And if I succeed, I'll give it to frenchies
hi,
Did someone found a solution finally ?
I'm blocked with the same issues in CM7 and azerty...
You can try this http://forum.xda-developers.com/showthread.php?t=1729414