Recently after installing One Click Lag Fix some problems with fonts camue up. I can not change my font. Using "Install Font" from OCLF doesn't work aswell.
"Install Font failed with error: Error while backing up old font: mv: can't rename '/system/fonts/DroidSans-Bold.ttf: No such file or directory"
My pgone is Samsung Galaxy S,
running on Android 2.1
~Rawrqs
/edit The font is placed in the right dirrectory and it's permissions are (-r-)
Related
Hi All,
I installed a couple of fonts on my Exec, and now when I try and delete them it just says "The process cannot access the file because another process has locked a portion of the file"
What is weird is that if I just copy/paste a font that is already in there, I get exactly the same error message.. i.e. I haven't actively selected the font to be used in an application, so why is it locked ? - peculiarities of WM5.0 I assume.
Anyways, any idea's how to boot these things into "safe mode" to delete such files ?
Deleting Fonts
Checkout this link
http://www.aximsite.com/boards/showthread.php?t=104799&highlight=deleting+fonts
It worked for me when I needed to remove fonts.
Chalky.
Ha, simply moving the font to a different folder, /then/ deleting it worked.
Cheers Chalky!
I have been working on this issue for most of the day over in the Vibrant forums.
I am posting here in hopes of getting someone who knows more about apk editing and fonts then I do to help out.
Link to the post on the XDA Vibrant forum here
Please post your response there. Once the issue is solved I will repost a walk-through on all Galaxy S forums.
Here is the start of my thread, please read the link to see the progress.
I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file, it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow, freezing quite often and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Any font guys out there have any info on this?
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK
Being one to never stop changing the look of any of my Android devices I wondered how to change the system font on my Tab. First result was the ability right within the system settings app itself, but more clicking on "Get more fonts" ended up with only pay options. My Tab is rooted with z4 so I though why not see if I can just swap out the files. A simple install of Root Explorer and some file renaming later I had a new font installed on my Tab that even sticks through reboot. Here is how I did it (quite simple really):
Requirements:
- A Galaxy Tab of course, rooted
- Root Explorer, paid market app or other means if you are so inclined
- Your new font in TrueType format on your sdcard with the needed ttf's for regular and bold (eg YourFont-R.ttf and YourFont-B.ttf, etc)
Steps:
1 - Using root explorer, navigate to /system/font and rename DroidSans.ttf and DroidSans-Bold.ttf (I just append ORIG to them)
2 - Still in that directory click the button "Mount as r/w" just under the notify bar on your screen
3 - Navigate back to where your new font is and copy the regular and bold ttf files to /system/fonts
4 - Rename each ttf file as DroidSans.ttf for regular fonts and DroidSans-Bold.ttf for bold fonts
5 - Go to Settings > Display > Set Font and set if to Default
NOTE If Default is already your selected font, select another font and apply then reselect Default and apply and your new font should be visible.
Your new font should now be used as the on screen display font. For reference my Tab is a Bell version and I used the attached font (Ubuntu font) as my new font.
Hope this helps some people.
Cheers
Thanks! Will try this out on my Sprint Tab later.
Any luck finding a way to do it without actually replacing the font? Surely if it allows market download of fonts then you can just add new ones and update some list somewhere...
Sent from my GT-P1000 using Tapatalk
alias_neo said:
Any luck finding a way to do it without actually replacing the font? Surely if it allows market download of fonts then you can just add new ones and update some list somewhere...
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
I didn't fully replace the original font as I renamed the original files. This is the way I was able to use the built in font switching tool without spending money on font packs. Only drawback for me is that the font list will only ever be 2 fonts for me, Default and Helvetica Neue Something. I originally changed it as I really like the Ubuntu font on my Desire and wanted to sue it on the Tab.
Or just grab any font apk from this thread!
alias_neo said:
Any luck finding a way to do it without actually replacing the font? Surely if it allows market download of fonts then you can just add new ones and update some list somewhere...
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
Create a new folder on sdcard (fonts) under that folder create 2 more 1) original 2) custom fonts or (what ever fonts u r using) go back to system/fonts and copy the original and save them on sdcard/original now download the fonts to (custom folder created)
Copy the fonts go to system/fonts and paste (Before you do this write the permissions )
After you paste change the permissions and you are done
Now go to display / fonts and/ change them to default
Happy fonting lol
bluemonde said:
Create a new folder on sdcard (fonts) under that folder create 2 more 1) original 2) custom fonts or (what ever fonts u r using) go back to system/fonts and copy the original and save them on sdcard/original now download the fonts to (custom folder created)
Copy the fonts go to system/fonts and paste (Before you do this write the permissions )
After you paste change the permissions and you are done
Now go to display / fonts and/ change them to default
Happy fonting lol
Click to expand...
Click to collapse
I'm not sure I follow your explanation here. Is there a way to just add fonts to the font folder and they show up?
Uprightmusic said:
I'm not sure I follow your explanation here. Is there a way to just add fonts to the font folder and they show up?
Click to expand...
Click to collapse
Hi the option to paste the font folder seems lost when I am opening the sd card ? Which program are you using to paste it into? Also I tried the first suggestion, renaming the fonts, but it says ...system file is read only? Your help is much appreciated.
Many thanks Devarsi
Hi the option to paste the font folder seems lost when I am opening the sd card ? Which program are you using to paste it into? Also I tried the first suggestion, renaming the fonts, but it says ...system file is read only? Your help is much appreciated.
Many thanks Devarsi
[/B]
bluemonde said:
Create a new folder on sdcard (fonts) under that folder create 2 more 1) original 2) custom fonts or (what ever fonts u r using) go back to system/fonts and copy the original and save them on sdcard/original now download the fonts to (custom folder created)
Copy the fonts go to system/fonts and paste (Before you do this write the permissions )
After you paste change the permissions and you are done
Now go to display / fonts and/ change them to default
Happy fonting lol
Click to expand...
Click to collapse
DAMN I forgot to change back the permission and now my Tab is looping boot.. AARRGGHHH
heavylildude said:
DAMN I forgot to change back the permission and now my Tab is looping boot.. AARRGGHHH
Click to expand...
Click to collapse
Boot into recovery and reflash your rom/kernel.
Tray this one, it's simple
using apk font
http://forum.xda-developers.com/showpost.php?p=12927086&postcount=6
Hi, i have just installed this rom and everything works fine but i cannot edit build.prop to increase the size of the icons. I have downloaded different file managers but after i change the line from 167 to 240 i cannot save the file, it says Permission Denied. Also i cannot copy extra ringtones to the ringtones folder and thus change the ringtone, again permission denied. If you can help pls respond. Also is there any way to increase battery life other than those reported all the time?
Nick28 said:
Hi, i have just installed this rom and everything works fine but i cannot edit build.prop to increase the size of the icons. I have downloaded different file managers but after i change the line from 167 to 240 i cannot save the file, it says Permission Denied. Also i cannot copy extra ringtones to the ringtones folder and thus change the ringtone, again permission denied. If you can help pls respond. Also is there any way to increase battery life other than those reported all the time?
Click to expand...
Click to collapse
Hi! Try with Root Explorer, navigate to /system folder. There is a button in the upper area. If it shows "Mount R/W" then push it (r/w means read/write permission). But if it shows "Mount R/O", then i don't know what's the solution...
But this doent make it permanent. After every reboot it will be 167 again.
mattijs86 said:
But this doent make it permanent. After every reboot it will be 167 again.
Click to expand...
Click to collapse
It makes it permanent if you manage to save the build.prop file...
The workaround I used was to edit the build.prop file on the rom before installing it. Then when it installs, the icons are the size I want to have.
yes, you can surely edit it while its still in the signed zip before install, but post about Root Explorer's (for example) button "Mount r/w" is also true, itshould allow you to save build.prop and then you can try remounting it as r/o again, it shouldnt change back
you can also download LCD density changer from the market
Which app you recommend to do this?
Anyone??
I'd like to know as well
Sent from my Nexus 4 using xda premium
Font Installer, which is also part of ROM toolkit, has always worked for me to change system fonts.
https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox&hl=en
Edit - It's come to my attention the above method is not ideal, yet.
Phil
^ thank God I made a nandroid back up right before I did it... Caused the phone to no longer boot, even after wiping caches
Sent from my Nexus 4 using xda premium
Nooo don't use any of the font installer app(s) just yet! most, if not all of them would cause your phone to be stuck in " X " loading animation.
I had to learn it the hard way, lol. ( I forgot to make a nandroid backup beforehand. >_< )
Good to know if you guys find any app that works please let know!
You can install fonts manually in the system/fonts folder but it takes time...
you need to find a font that has all the different font "states" (light, bold,
italic, condensed/ all combinations of these) and should be in .ttf format
*I used the Ubuntu font family*
So here's what you need to do:
1. Make a nandroid ! FIRST !
2. Download your font
3. Use a root browser and find system/fonts
4. Locate the main fonts the system uses (ICS & JB use roboto)
5. Write down all the font state names that begin with roboto (ie roboto-italic)
6. Rename the font states from your downloaded font to the corresponding roboto
font states (ie font-italic to roboto-italic) *Capitalization Matters*
7. Paste all renamed font states in system/fonts
8. Set permissions for each pasted font state (644 / rw-r--r--)
9. Boot into recovery and wipe cache/dalvik & fix permissions
10. Reboot and enjoy!
This method will use your font for most of the text in your phone although
there will be some apps that have their own fonts and/or uses a font from the
system that (currently) cannot be changed.
I want to use zekton font but I think it is just regular. Help
Where did you download ubuntu from?
blazefury said:
You can install fonts manually in the system/fonts folder but it takes time...
you need to find a font that has all the different font "states" (light, bold,
italic, condensed/ all combinations of these) and should be in .ttf format
*I used the Ubuntu font family*
So here's what you need to do:
1. Make a nandroid ! FIRST !
2. Download your font
3. Use a root browser and find system/fonts
4. Locate the main fonts the system uses (ICS & JB use roboto)
5. Write down all the font state names that begin with roboto (ie roboto-italic)
6. Rename the font states from your downloaded font to the corresponding roboto
font states (ie font-italic to roboto-italic) *Capitalization Matters*
7. Paste all renamed font states in system/fonts
8. Set permissions for each pasted font state (644 / rw-r--r--)
9. Boot into recovery and wipe cache/dalvik & fix permissions
10. Reboot and enjoy!
This method will use your font for most of the text in your phone although
there will be some apps that have their own fonts and/or uses a font from the
system that (currently) cannot be changed.
Click to expand...
Click to collapse
Where did you download ubuntu from? I have them in my ICS CM9 ROM.
You helped me get rid of the ugly, boring JB system font!
blazefury said:
You can install fonts manually in the system/fonts folder but it takes time...
you need to find a font that has all the different font "states" (light, bold,
italic, condensed/ all combinations of these) and should be in .ttf format
*I used the Ubuntu font family*
So here's what you need to do:
1. Make a nandroid ! FIRST !
2. Download your font
3. Use a root browser and find system/fonts
4. Locate the main fonts the system uses (ICS & JB use roboto)
5. Write down all the font state names that begin with roboto (ie roboto-italic)
6. Rename the font states from your downloaded font to the corresponding roboto
font states (ie font-italic to roboto-italic) *Capitalization Matters*
7. Paste all renamed font states in system/fonts
8. Set permissions for each pasted font state (644 / rw-r--r--)
9. Boot into recovery and wipe cache/dalvik & fix permissions
10. Reboot and enjoy!
This method will use your font for most of the text in your phone although
there will be some apps that have their own fonts and/or uses a font from the
system that (currently) cannot be changed.
Click to expand...
Click to collapse
Thanks!
I used the above above method in my Note's PA 2.99 installation to get my favorite system font (Rehotalko) in. Worked like a charm, and I didn't have to wipe any caches. Also, I did the permissions on the fonts after reboot, using Root Explorer. No hiccoughs at all.
It was a little fiddly editing 12 fonts to match the Roboto set so their properties would be correct (see http://forum.xda-developers.com/showthread.php?t=1952886 ), but it was worth it!:good::laugh: