Jump to content

HTC Desire - Change system Font?


Guest schmarakel

Recommended Posts

Guest schmarakel

Anybody knows how can I change the font at the Desire!

Tried with "rootexplorer" and changed only DroidSans font,but

phone reboots and font remains original!

Link to comment
Share on other sites

Guest Whiler92

Hi,

I don't understand something.. I probably missed the How To 101... :D

I launch the Recovery Mode on my rooted Desire:

  • Left Key + Power Button
  • I choose Bootloader (Power button)
  • I choose Recovery (Vol Down + Power Button)
  • I plug my USB cable when the picture with the Red Alert sign appears

    On my laptop, I type the following command from a prompt windows in tools directory:

    • adb.exe devices To get my device serial (I have an emulator too and other error otherwise)
    • When I type adb.exe -s HTSERIALNR shell
    • I have the following error: Which step do I miss?
    • - exec '/system/bin/sh' failed: No such file or directory (2) -

    If I type: adb.exe -s HTSERIALNR push toto.txt /etc

    I get: 1405 KB/s (607013 bytes in 0.421s)

    So it seems to work... but after adb.exe -s HTSERIALNR reboot

    When I browse my /etc directory, I don't see my file...

    So I think my copy was just in memory and so, then lost...

    As the Desire root can't write in /system in normal mode... this is why I try with the recovery mode (the root process doesn't enable you to have write access to the /system partition in normal use of the device)

    I also looked the app2sd zip file, but it is signed and don't see how to create my own patch... to make my change permanent...

    And so, I don't see how you change your font as it is the same kind of process... :P

    Any help welcomes... (I'm using Paul's rooted ROM and app2sd)

Link to comment
Share on other sites

Guest Snarkasm

You don't need to worry about the serial number bit unless you're playing with multiple phones or emulators. Just type adb shell. Then you need to manually mount /system in recovery. After you enter the shell, type "mount /system" and continue on.

Link to comment
Share on other sites

Guest Whiler92
You don't need to worry about the serial number bit unless you're playing with multiple phones or emulators. Just type adb shell. Then you need to manually mount /system in recovery. After you enter the shell, type "mount /system" and continue on.

Thanks for the answer.

I have an emulator... this is why I have to specify the serial number...

When I patched my Desire to have the root access, it failed on the first try because of this.. of course, it was between step1 and step2... and I was very scared :P

My issue is that I didn't successfully got the shell:

adb.exe -s HTSERIALNR shell

- exec '/system/bin/sh' failed: No such file or directory (2) -

If I do a "push" or "pull".. it works (temporarily, in memory I think)...

But I can't call "mount", "shell", "remount", ....

I probably forget to do something but can't figure what...

Moreover, if I start my Desire, and activate the debugger option, I can have an interactive shell.. but can't get the same in recovery mode...

Edited by Whiler92
Link to comment
Share on other sites

Guest Snarkasm

You can use adb -d to force it to issue commands only to the USB-connected devices, as opposed to emulators. That'll make that part easier, at least.

You're in full recovery mode (ran step2 or recovery-windows.bat)? If I'm at the red triangle screen and I issue an adb shell command, I get the same no file or directory error. If you actually get into the recovery (green) menu, you can issue commands then (using adb-nilezon on Windows or another command prompt in other OSes).

Link to comment
Share on other sites

Guest Whiler92

Yes!!!

I did it :D

During my first tries, I was using the adb provided with the SDK.

I tested with the one provided with Paul's zip, and it was the same...

To make it works, I did:

  • I call the recovery-windows.bat (which uploads the shell!)
  • I open another console because the first one is locked by the batch recovery-windows
  • I successfully called the mount command
  • ...

Thank you Snarkasm... you confirm me it should work.. I did some more tries.. and it works! :P

Link to comment
Share on other sites

Guest Whiler92

I didn't install new fonts... I just copy a file in my /system...

This is my first step ;o) now I know how to write.. I can play more!

BTW, do you know a good screenshot tool on Android? I usually use the emulator... and Print Screen :P

Link to comment
Share on other sites

Guest Snarkasm

Try drocap2 on the Market. You need root, but you can trigger it, then hit home and go to whatever screen you want to see and shake to take the shot.

Edited by Snarkasm
Link to comment
Share on other sites

  • 3 weeks later...
Guest sterallures

Hiya guys,

I was searching through the forum for this specific problem myself and after I read through all the comments I still don't get it to work.

- I went into the recovery menu (Phone with the Red Triangle)

- Thanks with the Terminal on my Mac I started the recovery-mac.sh

- After that I see the Phone with the Red Triangle and then a green menu where I can choose some settings like wipe, and USB-MS

Now when I go on in my Terminal and enter the mount sdcard command is says: mount: sdcard: unknown special file or file system.

and when I try to enter the adb command it says: -bash: adb-mac: command not found

but if I look in the map where I currently am in my terminal I see I'm in the map with the recovery-mac.sh and not in like my Mobile system map.

Anyone knows what I can do?

Thanks in advance!!!

Link to comment
Share on other sites

Guest 2wheels

Is it possible to use this method to change font size? I 've been looking everywhere , but can't find anything at the moment. There is an app on the Market for rooted phones but for some reason won't work on my (rooted) Desire.

Thanks

Link to comment
Share on other sites

Guest dancedreamfly
Hiya guys,

I was searching through the forum for this specific problem myself and after I read through all the comments I still don't get it to work.

- I went into the recovery menu (Phone with the Red Triangle)

- Thanks with the Terminal on my Mac I started the recovery-mac.sh

- After that I see the Phone with the Red Triangle and then a green menu where I can choose some settings like wipe, and USB-MS

Now when I go on in my Terminal and enter the mount sdcard command is says: mount: sdcard: unknown special file or file system.

and when I try to enter the adb command it says: -bash: adb-mac: command not found

but if I look in the map where I currently am in my terminal I see I'm in the map with the recovery-mac.sh and not in like my Mobile system map.

Anyone knows what I can do?

Thanks in advance!!!

For the Mac:

1. Open Terminal, change directory to where adb is by using cd /Directory/Here

2. In the same window, ./adb-mac shell mount /system, ./adb-mac shell mount /sdcard, ./adb-mac shell rm...., ./adb-mac push...

Edited by dancedreamfly
Link to comment
Share on other sites

Guest sterallures

Thanks for the fast response!

So if I get into the green recovery menu.

Should I cd with my Terminal to the AndroidSDK map where the adb file is or should I point my Terminal to the map where I can find recovery-mac.sh and adb-mac?

Link to comment
Share on other sites

Guest sterallures

I tried some stuff and I figured a bit more out. I got into my device doing the following:

- open the terminal and cd to the directory where I can find recovery-mac.sh

- in my terminal I do ./recovery-mac.sh

Now I get the green menu

- After that I do ./adb-mac shell

- Then in my Terminal I get a # sign in front of the space where I type.

- Then I mount the sdcard, and system.

- After that I give the following command: cp /sdcard/fonts/NeoTech/* /system/fonts/

- If I cd to my /system/fonts and ls there it says all the normal Droid fonts are in there + Helvetica fonts from the NeoTech Map.

But my problem remains. when I reboot I don't get the new font.

also when I try to umount system it says it can't because it's in use.

And if I delete the original Droid Fonts and only copy the Helvetica fonts it doesn't start up.

Hope my problem is clear :(!

Link to comment
Share on other sites

Guest Snarkasm

Mine worked by renaming the new fonts I wanted to use to the names of the fonts that were already in place. In other words, you currently have:

DroidSans.ttf

DroidSans-Bold.ttf

DroidSansMono.ttf

etc. I had some other font (I forget, let's say Helvetica for fun):

Helvetica.ttf

HelveticaBold.ttf

HelveticaMono.ttf

If you rename the Helveticas into the DroidSans names, back up the old fonts somewhere else, and then put your renamed fonts in the /system/fonts folder, it will work. Since we don't have /system write access while in the device, we can't tell Android to look at our different fonts while running - we just have to replace what's there.

Worked for me:

CAP201006011355.jpg

Link to comment
Share on other sites

Guest yojosefo
Mine worked by renaming the new fonts I wanted to use to the names of the fonts that were already in place. In other words, you currently have:

DroidSans.ttf

DroidSans-Bold.ttf

DroidSansMono.ttf

etc. I had some other font (I forget, let's say Helvetica for fun):

Helvetica.ttf

HelveticaBold.ttf

HelveticaMono.ttf

If you rename the Helveticas into the DroidSans names, back up the old fonts somewhere else, and then put your renamed fonts in the /system/fonts folder, it will work. Since we don't have /system write access while in the device, we can't tell Android to look at our different fonts while running - we just have to replace what's there.

Worked for m

Man!! please upload the font!!!! it looks preeetty good

Link to comment
Share on other sites

Guest sterallures

Damn that is so logical!!

And I'll try it as soon as you posted your fonts because I would like those, if you don't mind

Thanks for the fast reply man!

Edited by sterallures
Link to comment
Share on other sites

Guest n8schicht
Made it work with the recovery-windows.bat!!!! amazing, Im using a font i used to love on my iphone, seems to work 95% good, minor flaws.

For me your font was a bit too large, e.g. in Gmail app when you press the menu button, then the labels will be cut off in the upper part. And also, when a program's name is too long (in drawer) you would normally see small dots at the end of a word (...), but with all other replacement fonts you will see square boxes instead. What a pity...

Link to comment
Share on other sites

Guest Snarkasm

Attaching a zip with the font files I renamed. The non-mono fonts came from a font called Comfortaa; the mono is Vera Sans Mono. These are plug-and-play - back up your old versions of DroidSans.ttf, DroidSans-Bold.ttf and DroidSansMono.ttf and push these to your /system/fonts folder in their place. Replacing DroidSans.ttf pretty much updates everything in the system.

Renamed_Fonts.zip

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.