Hi,
I have my rooted htc desire with a custom rom (Oxygen).
I'm not able to change the fonts in /system/fonts. I used adb, but I get error!!
I tried this
> adb remount
> adb push ./DroidSans.ttf /system/fonts
> failed to copy './DroidSans.ttf' to '/system/fonts/DroidSans.ttf': Directory not empty
Any advise??
Try using absolute system.
But ADB thinks you're trying to move the font to a location that points to a file and not a folder, what I would do is
adb remount
adb push [drag the file into the terminal/cmd window, location will appear] /system/fonts/
and you're done.
It didn't work
I got the same error
sahaf525 said:
Hi,
I have my rooted htc desire with a custom rom (Oxygen).
I'm not able to change the fonts in /system/fonts. I used adb, but I get error!!
I tried this
> adb remount
> adb push ./DroidSans.ttf /system/fonts
> failed to copy './DroidSans.ttf' to '/system/fonts/DroidSans.ttf': Directory not empty
Any advise??
Click to expand...
Click to collapse
I did not go through all that drama, use an app called type fresh once rooted and i was gold!
just do a search "type fresh app" the first hit has details, sorry cant post links yet
I got this error message:
Error remounting
Could not remount /system
Any way,, I changed the fonts before flashing the rom to my phone & it worked with me
Many Thanks,,,
I use Font Changer.
It works like a charm!
If that helps. (I have to reboot each time i want to instal a new font and i use oxygen too).
Related
I'm trying to install Thai font onto my Desire.
Setup: HTC Desire w/Pays Desire 2.1 RockSolid v1.5 ROM
I'v tried 3 metods so far (see below):
Metod 1 & 2 results in the fonts going to /systems/fonts, while Metod 3 says allready exists (although does not list with 'ls'...). I also tried to copy the fonts to /systems/font (without 's' at the end).
In any case so far, I can't see thai font's while sms'ing / browsing.
And sorry, new poster, so can't link (but the below is easy to find with google, along with the fonts).
Anyone got any more ideas to how to get thai fonts (probably same with other fonts also), without going to froyo rom (I like sense ui 2.1 and no mic-echo...)
1) desire normal boot, and connect with adb-recovery.bat
adb remount
adb shell
cat /sdcard/fonts/DroidSans.ttf > /system/fonts/DroidSans.ttf
cat /sdcard/fonts/DroidSans-Bold.ttf > /system/fonts/DroidSans-Bold.ttf
cat /sdcard/fonts/DroidSerif-Regular.ttf > /system/fonts/DroidSerif-Regular.ttf
cat /sdcard/fonts/DroidSerif-Bold.ttf > /system/fonts/DroidSerif-Bold.ttf
cat /sdcard/fonts/DroidSerif-BoldItalic.ttf > /system/fonts/DroidSerif-BoldItalic.ttf
cat /sdcard/fonts/DroidSerif-Italic.ttf > /system/fonts/DroidSerif-Italic.ttf
reboot
2) same as 1) but from recovery
3) Terminal Emulator w/BusyBox
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# mkdir /data/busybox
# cat /sdcard/busybox > /data/busybox/busybox
# chmod 755 /data/busybox/busybox
# mkdir /data/local
# cd /data/busybox
# ./busybox –install
# cp /sdcard/fonts/* /system/fonts
You can run pushfonts.bat in attached file via recovery mode to push thai fonts.
Credit for someone in pdamobiz.com that I cannot remembered.
Felys said:
You can run pushfonts.bat in attached file via recovery mode to push thai fonts.
Credit for someone in pdamobiz.com that I cannot remembered.
Click to expand...
Click to collapse
using that zip file in recovery resulted in:
"E:No signature (52 files)
E:Verification failed
Installation aborted"
I might have done it wrong (installed as the zip file in recovery).
Anyway, I saw that this zip file contained more font files than the two other locations I have downloaded the thai fonts from. So I went to recovery and pushed all the font files manually to system/fonts (adb shell commands).
and now.....IT'S WORKING!!!!! thx
Hello all,
I've got a very similar problem. I would like to install Georgian font into my defrost 16c system. For example I got DejavuSans.ttf (from Dejavu project) and I've allready tried to push it into /system/fonts (in recovery mode ofcourse). Pushing went well... but after reboot, no luck. Appear squares not georgian letters.
Anybody have some Idea?
Sent from my HTC Desire using XDA App
alinuxos said:
Hello all,
I've got a very similar problem. I would like to install Georgian font into my defrost 16c system. For example I got DejavuSans.ttf (from Dejavu project) and I've allready tried to push it into /system/fonts (in recovery mode ofcourse). Pushing went well... but after reboot, no luck. Appear squares not georgian letters.
Anybody have some Idea?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Which recovery state you are in? If you still in red triangle screen, the push will not be succeed (yeah it still say in cmd that they already pushed file to phone). I have run AM recovery, and then pushed the font via adb and it works.
Make sure you have all fonts. First times I tried I was missing mono and callback font files of the Thai font files. Not sure if dejavu has those fonts. I did it successfully in recovery at Ted triangle.
Sent from my HTC Desire using XDA App
Felys said:
Which recovery state you are in? If you still in red triangle screen, the push will not be succeed (yeah it still say in cmd that they already pushed file to phone). I have run AM recovery, and then pushed the font via adb and it works.
Click to expand...
Click to collapse
I've tried as you said with AM Recovery, but I got the same result:
alinux$ ./adb-mac push /Users/alinux/Downloads/dejavu-fonts-ttf-2.31/ttf/DejaVuSans.ttf /system/fonts
786 KB/s (633604 bytes in 0.786s)
After reboot there is no DejaVuSans.ttf in /system/fonts directory.
What is recovery mode?
Is it required to root the phone prior to using the puchfont.bat utility?
Once you a custom rom installed is it possible to install a custom font to your phone?
I've been able to change all my icons with bettercut just want to change the system font now
Sent from my HTC Desire using XDA App
Me too please. I would love to change my system fonts. Just a little bigger
If you are rooted, you can do this if you are familiar with adb commands. The commands would be something similar to this and would be executed while in Recovery Mode with USB connected:
adb shell mount /system
adb shell rm /system/fonts/(font name)
adb push (font name) /system/fonts
adb shell remount
adb shell reboot
Sent from my HTC Desire using XDA App
Thanks Masdroid. I am rooted but not familiar with adb commands. Would you be kind enough to expand a little. I am using windows vista 32 and phone is defrost 1.6
duryard said:
Thanks Masdroid. I am rooted but not familiar with adb commands. Would you be kind enough to expand a little. I am using windows vista 32 and phone is defrost 1.6
Click to expand...
Click to collapse
If you are running Windows, you need to first make sure that you have the Windows Android SDK (http://developer.android.com/sdk/index.html) downloaded and extracted to your computer, use the following path to extract it: C:\android-sdk-windows.
Next, download and place the selected font files to the root of your C: (e.g. C:\[font name])
Then, switch off your phone and boot to Recovery Mode. Once booted into Recovery Mode, first perform a Nandroid backup which you can restore afterwards if anything happens to go wrong. Now, while still in Recovery Mode, open a separate command-line window and then type: cd C:\android-sdk-windows\tools, press enter.
Now type the following commands in adb and hit enter afterwards to execute:
adb shell mount /system
adb shell rm /system/fonts/[font name]
adb push [font name] /system/fonts
adb shell remount
adb shell reboot
The default system fonts that the Desire uses are:
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.
I have attached a zip with random 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.
Thanks Masdroid
No worries bud.
Sent from my HTC Desire using XDA App
MasDroid said:
Now, while still in Recovery Mode, open a separate command-line window and then type: cd C:\android-sdk-windows\tools, press enter.
Click to expand...
Click to collapse
What do you mean open a separate command line window, open it where?
And do you know any sites or anything which convert fonts to .ttf?
While your phone is connected via USB and in Recovery Mode (green and black menu), simply open up another command prompt window (Start > Run > type cmd, press Ok). Access adb and execute commands.
Nope, not aware of any sites that convert fonts to .ttf - try Google or Bing
Sent from my HTC Desire using XDA App
did anyone manage to do this? is there not an app or something? like rom manager
Can you tell me how i can do this on mac osx snow leop?
I can't change fonts with root explorer so i want to try with another tutorial..
hello
I have a HTC desire
I am root and in recovery mode, I also copied that are interested in c: \annifont.ttf.
once in the cmd, I type the first line
"Adb shell mount / system" and enter all goes well. For the second,
"Adb shell rm / system / fonts / annifont.ttf" and it goes wrong, he said:
"Rm can not remove '/ system / fonts / annifont.ttf': No such file or directory.
Help, what is the problem??
i must rename the fonts
you can try this app, it's really easy
http://forum.xda-developers.com/showthread.php?t=618019
syfo said:
you can try this app, it's really easy
http://forum.xda-developers.com/showthread.php?t=618019
Click to expand...
Click to collapse
I just wanted to post this too
You have to download HTC Sync (because of the drivers) before you can use this suite on your desire
Hi ! I was trying to change the lockscreen font ( Clockopia.tff ) with Root Explorer ( just renamed the old one and placed another font there ( named Clockopia.tff ofc )), but it resulted in bootloop. So what am I missing here?
A little help would be apreciated! Thought I'd ask in this thread and not create a new one.
EDIT: Found a little program called Type Fresh, installed it to my Desire and changed the font. I was afraid the font was some way corrupted, but I guess not.
Hey all, ive been trying to change my boot screen to the haters gonna hate one for a few days now but cant seem to get it to work at all, i have full root and tried to the fastboot method and recovery/adb method. no matter what it stays the same as the one i had originally, i never get errors when trying to push the files if someone can give me instructions for dummies haha or another method id really appreciate it sorry for being a noob at all this.
I had the same problem
First of all, what rom are you using? Different rooms pull from different places. I might be able to help you out. If you are running cyan6, try this:
Adb reboot recovery
Adb remount (make sure it remounts. Maybe also do adb root to make sure.)
Adb push blahblah.zip /system/customize/resource/bootanimation.zip
Adb push blahblah.zip /system/media/bootanimation.zip
Adb push blahblah.zip /data/local/bootanimation.zip
If you want sound, push that to the same locations. Make sure there is only one of each file in each folder. Then, to check,
Adb reboot
Hope this helps
oh yeah sorry i should have included that i am on evios 1.2 beta 2 rom
I'm not familiar on where to place boot on this rom. Try all three locations I suggested. System customize resource. System media. Data local. Tell me if it works out.
I had this animation on EViO. I just pushed it from my desktop to system/media. Worked fine for me.
how do you push it from the desktop? i tried all 3 methods posted above and none worked. i had the file in the android sdk tools folder though...also whenever i try to do adb remount i get "remount failed:invalid argument" and adb root gives me "error:closed" i tried killing adb and restarting but no luck
This might be an obvious question, but do you have USB debugging enabled on your phone? Under Setting>Applications>Development
You arent going to be able to push anything if you can't get ADB running first.
yeah debugging has been enabled the whole time
ok have you been in recovery mode?
try typing
adb shell
su (make sure #comes up.)
exit (retype until you get back to the tools directory)
then do the push commands to system media, system customize resource, and data local.
Just use this program. Its as easy as it gets.
http://forum.xda-developers.com/showthread.php?t=701295
dkdude36 said:
First of all, what rom are you using? Different rooms pull from different places. I might be able to help you out. If you are running cyan6, try this:
Adb reboot recovery
Adb remount (make sure it remounts. Maybe also do adb root to make sure.)
Adb push blahblah.zip /system/customize/resource/bootanimation.zip
Adb push blahblah.zip /system/media/bootanimation.zip
Adb push blahblah.zip /data/local/bootanimation.zip
If you want sound, push that to the same locations. Make sure there is only one of each file in each folder. Then, to check,
Adb reboot
Hope this helps
Click to expand...
Click to collapse
Putting sound in boot animation doesn't work with cm6. Just to clarify. No one has been able to get it to work unless you found something out to make it work please share as I have hates going to hate also and want to use haters everywhere mp3 and is perfect for it.
Sent from my PC36100 using XDA App
yeah i have also been in recovery mode every time i tried to run a command prompt for adb...i tried that when i hit adb shell i get # but when i type su after the # it says "/sbin/sh: su: not found"
mount: mounting /dev/block/mtdblock4 on /system failed: Device or resource busy
A duplicate file name exists, or the file
cannot be found.
A duplicate file name exists, or the file
cannot be found.
A duplicate file name exists, or the file
cannot be found.
A duplicate file name exists, or the file
cannot be found.
A duplicate file name exists, or the file
cannot be found.
A duplicate file name exists, or the file
cannot be found.
thats what i get when in command prompt when i try to use the program you just posted above
Want a easier way? Use root explorer and copy and paste. Works for my every time. It's in the market. And root explore you can manually turn writeable on and off to move it into system. It's on the top right of screen in root explorer when you go into system folder.
Edit: the command you are tying to put in enables you to push and pull in the system folder. Root explore you can just click a button.
Sent from my PC36100 using XDA App
Good idea
Root explorer works most of the time. If you have the cash, go ahead. You should make site out posted though.
/sbin/sh: reboot: not found
been trying to use adb and i keep on getting that....any of you know a fix?
I rooted my phone and have a gingerbread rom on it. I have tried to install dejaVu fonts on the Desire, I followed the Droids instructions but that didn't work. How can I install the fonts? Please help.
Narekrocks said:
I rooted my phone and have a gingerbread rom on it. I have tried to install dejaVu fonts on the Desire, I followed the Droids instructions but that didn't work. How can I install the fonts? Please help.
Click to expand...
Click to collapse
Do you have s-off? If so, you can use Font Changer Lite from the Martetplace to achieve this, otherwise, if you do not have s-off, then you can only r/w to the /system partition while in Recovery Mode using ADB commands.
To do this via ADB, you first have to install the Android SDK - http://dl.google.com/android/installer_r08-windows.exe (for Windows)
You do not require the API's in the download.
Once downloaded, it will most likely be extracted to the following path: C:\Program Files\android-sdk-windows.
Important: Perform a Nandroid Backup (which you can later restore just incase anything goes wrong during this procedure).
Now, with your dejaVu fonts (.ttf files), rename each one to Arial, for example:
DejaVu.tff renamed to Arial.ttf
Dejavu-Bold.ttf renamed to Arial-Bold.ttf
... and so on.
Now, place your renamed font files into C:\Program Files\android-sdk-windows\tools
Connect your phone to your PC via USB and access Recovery Mode from your phone.
We are now going to overwrite the existing Arial fonts (system default fonts) with your Arial (DejaVu) fonts by pushing them from the android-sdk-tools folder, to the phone, in /system/fonts.
Open a command prompt window and type the following:
cd C:\Program Files\android-sdk-windows\tools, hit enter.
adb shell mount /system, hit enter.
adb push Arial.ttf system/fonts, hit enter.
adb push Arial-Bold.ttf system/fonts, hit enter.
... and so on.
adb reboot
I wanted to change my device model, so I copied build.prop from another mobile to my mobile. I am already rooted. But unfortunately I did not change the o.s. from gingerbread to froyo in build.prop ( I have android 2.2 FROYO) When I rebooted, there were many errors. It is now showing no sim card. Mobile network search gives error. Effectively, I can not use the mobile. Terminal emulator, X-plore etc. stopped working. Only Rom toolkit free version works and astro file manager works. Other programs are forcefully closed. Needles to say, I must replace new build.prop with new one.
Using adb I can only pull files but can not write as it is in read only mode.
adb root and adb remount works only if you are in recovery mode ? Y mobile does not have any custom recovery so when I boot in recovery mode it hangs.
Superuser has installed su in system\bin directory. But from adb shell I can use su also. It gives permission denied error. Hence I can not remount the system.
I have read similar threads and found that on some mobiles adb root or adb shell su works but on some not.
I am using Vista 32 bit with admin rights, still can not use root in adb.
Please tell me, how can I mount system read-write. I can not install root explore as google play and even internet is not working.
Please help.
maheshchavan said:
Using adb I can only pull files but can not write as it is in read only mode.
Click to expand...
Click to collapse
activate USB debugging then in console
Code:
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p1 /system
adb push build.prop /system/build.prop
check where is your build.prop
ruscan.calin said:
activate USB debugging then in console
Code:
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p1 /system
adb push build.prop /system/build.prop
check where is your build.prop
Click to expand...
Click to collapse
OMG ruscan.calin i COULD KISS YOU! I had tried to change my OG EVO 4G's buildprop file to another phone so that I could purchase & download an incompatible Google Play app. However after I restarted the phone wouldn't start! It would boot into my rooted HTC EVO 4G Android 2.3.3 and HTC Sense 2.1 but it would get stuck on the wallpaper with just the notification bar at the top and all buttons would be frozen. However I noticed when I plugged in my phone to my computer via usb the computer recognized it. I always keep my phone with USB debugging enabled so I thought I should be good right? I have spent the last 4 hours trying to install and setup adb with no real previous experience with it. I am familiar with dos from years ago and that helped me as it's basic procedure, commands, etc. Then I found out how to install the HTC drivers which I needed and then download the Android SDK with adb that's included which many guides show easily. I started the command prompt (cmd), typed my adb devices command and hurray it showed my phone! I connected and quickly navigated to the build.prop system folder! Luckily when I changed the file I made a bak backup and left it in the same folder. Now the main issue was figuring out how to change the naming of the files which I did via usual adb commands (mv build.prop.bak build.prop). But then to no avail I couldn't get it to write due to it being a system read only folder! Arg! Then I found your post on here, above, and typed it in simply leaving out the adb push portion and replacing that with the mv file command instead and first changing the name of the bad file and then replacing the bak file as the good copy! I exited back to the adb main and unplugged my phone. Moment of truth and man was everything flashing through my head at once! I booted up and YESSSSSSSSSSSSSS, it worked! I went back into root explorer and got rid of the offending leftovers and I've learned my lesson! I just don't want to think about what would have happened if I hadn't found this post. Thank you and if anyone else makes this hug mistake let me know and maybe I can help. Moral of the story don't mess with the build.prop or any system folder unless you know what you're doing! Thanks again!
Quick Guide to Fix Android "build.prop" Issues:
1. Find and download USB drivers for your phone by model or type (HTC EVO 4G's HTC Fastboot drivers): http://downloads.unrevoked.com/HTCDriver3.0.0.007.exe
2. Download and install Android SDK and choose adb: http://developer.android.com/sdk/index.html
Guide: http://htcevohacks.com/htc-evo-hacks/how-to-install-android-sdk-and-adb-drivers-for-htc-evo-4g/
3. Run a command prompt from the "c:/program files/android/android-sdk/platform-tools/" directory. I had to copy the command prompt to get it to open there but sometimes a right-click action will do it. The guide below will help just navigate down to "Using ADB" and skip the rest.
Guide: http://www.howtogeek.com/114667/how...y-default-move-almost-any-app-to-the-sd-card/
4. Once you open the command prompt and you're in the "c:/program files/android/android-sdk/platform-tools/" foler type "adb devices" and your device should appear. If it does move on to next step.
5. Then type adb shell and use the ls command to see directories. Then you'll need to navigate to the system folder by typing "cd system" and then type "ls" to look around in the directory (similar to "dir" in DOS). You should now see the bad build.prop file.
6. You'll need to rename the file or push a correct version. First you need to use the "adb shell" command again and then "su" and finally "mount -o rw,remount /dev/block/mmcblk0p1 /system" to make the directory writable (see ruscan.calin post above for additional info).
Note: I only had to rename my build.prop as I already had my old one in the same system folder. You may have to copy the bad build.prop to your computer, edit it and then push it back to the same system directory. These directions are only for renaming files in the same folder. For the info on how to copy the file to your computer and push it back to your phone go to step *10 below or use the guide below it.
7. I already had the bad build.prop in the system directory with my old one which I had named build.prop.bak. If you have this too simply rename by changing the name first of the bad file to anything by typing "mv build.prop build.prop.bad" or similar.
8. Next rename the build.prop.bak to build.prop by typing "mv build.prop.bak build.prop". Everything should go smoothly and move onto the next step.
9. Finally, If no error messages are found, simply type "adb reboot" or "adb shell reboot" (Depending which version of ADB you have). You should be done, your phone will reboot like normal (working, lol) and everything should be working again! YAY!
*10. To copy the build.prop to your phone type "adb pull /system/build.prop c:\" and the file should be placed in the main c:/ directory on your computer. Navigate to the root (c:/) directory and then right click and "open with" the "build.prop" file using a notepad or other file editor. Then use the text editor (Notepad, etc) to change back what you originally changed to mess everything up. There is tons of stuff on the net to let you know what to fill back in depending on your phone model/type. Or it's possible to get a previous version from an old Nandroid backup or similar. Save the changed text file and make sure its named the same "build.prop" and make sure it's still in the root directory (If you're having issues on this step or just want more insight check out the guides and threads below for more help).
Guide 1: http://androidforums.com/admire-all...p-computer-not-phone-using-root-explorer.html
Guide 2: http://www.modaco.com/topic/328943-quick-guide-to-modifying-buildprop-with-adb/
Guide 3: http://forums.androidcentral.com/sp...-replaced-build-prop-phone-wont-start-up.html
*11. We've already made the directory writable in step 6 so we simply need to push the file back to the phone. If any error message appear re-do step 6 to make writable again. Otherwise push the modified file back to the phone by typing "adb push c:\build.prop /system/". Back to step 9 above! Yay!
If anyone wants to help cleanup this quick guide or make any changes feel free. I just wanted something so that if anyone else has this issue they won't have to worry or search forever to find a solution. OMG it's 2:30AM, to bed... I ride! LOL
Enjoy,
5th :highfive:
THANK YOU!!! Totally saved me today.
One thing that I noticed. After pushing the correct build.prop, I had to fully power down, then turn back on my Razr for it to load up the fixed build.prop.
error message,Help please
Hello, when i am going to mount and change the permission i am getting constant error od device not found or sh:not found.
What to do?Help me please?
jigarpattani said:
Hello, when i am going to mount and change the permission i am getting constant error od device not found or sh:not found.
What to do?Help me please?
Click to expand...
Click to collapse
What step are you on? What phone do you have? More info please?
i am have problem whit my pantech flex i need to use the build.prop.bak but when i type the su it stay in blank do nothing any ideas pls help
ehy there hope someone can help me...i have an archos 97b platinum, messed up with build.prop. So i pulled out and restored but can't push in any way. I have a cwm installed, tablet rooted but i alwais got "permission denied" at push command. Other error is operation not permitted" if i try remount command from adb. i can do mount -o rw,remount /dev/block/mtdblock7 /system but after that push still give me permission denied.
any suggestion?
http://imgur.com/FDLp4fl
i open a 2nd cmd, give the mount -o rw,remount /dev/block/mtdblock7 /system , and system is now rw, but from the first cmd when i give "push build.prop /system (or /system/build.prop) it will always return me permission denied
help
dev.block
i want to view to dev/block using adb shell #
eg . what block is boot.img
what block is recovery.img
what block is system.img
what block is cache.ing
adb shell getprop mtd is not work . Pls Help Me & sent to mail [email protected]