How do I add a font style to the font section in personalize.
Download a font I am HTC themes app.
I figured someone would answer that.
I meant custom font. One the store doesn't have. I want a font I've been using elsewhere that condensed and bold that maximizes visibility and the amount you see on screen. All the stock fonts I. The store are just too big.
I have not done it on this phone, but on previous phones, it was just a matter of copying the fonts over to system/fonts and setting permissions using a file manager with root access. I assume on this one you don't need to rename the new font to replace the system fonts.
I think flip fonts work. If you search for HTC flip font apks or just search for flip font I think it will work.
I'm pretty sure there is a thread for them. If I find it I will add a link.
All of these work. Well, they should. I tested 2 and they showed up.
http://forum.xda-developers.com/showthread.php?t=2721009
Sent from my HTC One M9 using Tapatalk
I'd like to use this font. How do I convert it to work.
Well, copy-pasting to /system/fonts didn't work. There must be some additional file(s) that need to be modified to install them on the M9. I'm going to keep looking and see if I can figure it out.
I think you do need to rename them to take place of the default font, unless you make them a flip font apk. But IDK how to do it. I thought there were instructions in the thread I linked but I couldn't find any. Probably wasn't searching very well though haha
Sent from my HTC One M9 using Tapatalk
grim489 said:
I think you do need to rename them to take place of the default font, unless you make them a flip font apk. But IDK how to do it. I thought there were instructions in the thread I linked but I couldn't find any. Probably wasn't searching very well though haha
Click to expand...
Click to collapse
I know how to do it that way, actually, as it's how you had to do it on the M7. That seems like unnecessary brute force for this phone, since it can accommodate other fonts. Just need to figure out how to install them. I tried unpacking one of those apks but couldn't find the instructions for what it was doing.
I pm'd the OP for help. Maybe he can explain.
There's an XDA-Power-Fonts.apk floating around somewhere here on XDA.... It has like 200 different fonts to choose from? You might search for that and see if your font is in that list?
You just install the .apk and then set it like normal fonts on HTC ROM's.
Wasn't in the apk pack. That's a shame.
https://developer.blackberry.com/design/bb10/typography.html
BriniaSona said:
Wasn't in the apk pack. That's a shame.
https://developer.blackberry.com/design/bb10/typography.html
Click to expand...
Click to collapse
With some help from @cbrown245, I figured out how to do it. I had the location wrong.
Whatever font you want to add has to be renamed DroidSans.ttf and dropped into data/data/HTCFonts/fontFolderName_x (the "x" is a number that may be 1 or 2 or something else).
Replace what's in there wth your font, set permissions to rw-r-r, and reboot. Your system may act up while you're doing this, since you're messing with an active system file.
Alternatively, drop the font into one of the zips in this thread.
Related
I checked the Fonts folder under \Windows and did not see any. I would like to change the clock font to that of an LCD screen/alarm clock. I believe I have found where to change that in registry but I'm wondering if I can just drop some fonts from my PC onto the phone and just go.
*This one, really really really, didn't need to be moved. One could have posted a link to the Clock thread. I would have appreciated that. There is, however, another question here related to fonts in general on the phone. I searched, couldn't find. However, if you know a thread, by all means move this one there.
For the second time, don't be so quick to just move the thread.
l0lcats said:
I checked the Fonts folder under \Windows and did not see any. I would like to change the clock font to that of an LCD screen/alarm clock. I believe I have found where to change that in registry but I'm wondering if I can just drop some fonts from my PC onto the phone and just go.
*This one, really really really, didn't need to be moved. One could have posted a link to the Clock thread. I would have appreciated that. There is, however, another question here related to fonts in general on the phone. I searched, couldn't find. However, if you know a thread, by all means move this one there.
For the second time, don't be so quick to just move the thread.
Click to expand...
Click to collapse
You shouldn't have to change anything in your registry, regarding your clock font. Just drag and drop a font file (.ttf) from your PC to the \Windows folder itself. Don't worry about placing anything in the "Fonts" folder. You'll need to edit the .cpr (also located in the \Windows folder) and replace the current clock font with the name of the LCD font.
EDIT: Make sure you rename the font to have "zz" at the beginning (ex. Tahoma = zztahoma.ttf). That way, your clock font won't be used to everything else in your phone. If you don't do this, you'll notice your Internet Explorer and Opera Mini browser (if you have it) will use the same font as your clock.
Rip Syntaxx said:
You shouldn't have to change anything in your registry, regarding your clock font. Just drag and drop a font file (.ttf) from your PC to the \Windows folder itself. Don't worry about placing anything in the "Fonts" folder. You'll need to edit the .cpr (also located in the \Windows folder) and replace the current clock font with the name of the LCD font.
EDIT: Make sure you rename the font to have "zz" at the beginning (ex. Tahoma = zztahoma.ttf). That way, your clock font won't be used to everything else in your phone. If you don't do this, you'll notice your Internet Explorer and Opera Mini browser (if you have it) will use the same font as your clock.
Click to expand...
Click to collapse
Thanks for clarifying that. I haven't changed the home screen that defaults when one installs Kavana's ROM. I've modified it and added panels with CHome Configurator though. Would you happen to know the name of the .cpr file I'd need to edit?
Edit: DERP! That'd be the CHome_320x240.cpr file wouldn't it?
l0lcats said:
Thanks for clarifying that. I haven't changed the home screen that defaults when one installs Kavana's ROM. I've modified it and added panels with CHome Configurator though. Would you happen to know the name of the .cpr file I'd need to edit?
Click to expand...
Click to collapse
Check your PM (Private Messages) in about 4 minutes.
Rip Syntaxx said:
EDIT: Make sure you rename the font to have "zz" at the beginning (ex. Tahoma = zztahoma.ttf). That way, your clock font won't be used to everything else in your phone. If you don't do this, you'll notice your Internet Explorer and Opera Mini browser (if you have it) will use the same font as your clock.
Click to expand...
Click to collapse
I guess that is dash/excalibur specific, because I installed the zarmalite.ttf on my blackjack, and it took over operamini and some(but not all) of my mortscript options pages. Since it started with "z", I thought it would be alright, but I ended up having to remove the font completely. Also, my clock font never changed at all, even after editing the cpr with the new font.
showaco said:
I guess that is dash/excalibur specific, because I installed the zarmalite.ttf on my blackjack, and it took over operamini and some(but not all) of my mortscript options pages. Since it started with "z", I thought it would be alright, but I ended up having to remove the font completely. Also, my clock font never changed at all, even after editing the cpr with the new font.
Click to expand...
Click to collapse
Same thing happens to me, after a lot of tries, I gave up on the idea of changing the font.
showaco said:
I guess that is dash/excalibur specific, because I installed the zarmalite.ttf on my blackjack, and it took over operamini and some(but not all) of my mortscript options pages. Since it started with "z", I thought it would be alright, but I ended up having to remove the font completely. Also, my clock font never changed at all, even after editing the cpr with the new font.
Click to expand...
Click to collapse
Really??? That's strange. I'd think that this would work for any Windows Mobile device. Try this... Transfer over Tahoma (or another font similar to Segoe) to your device just like you did ArmaliteRifle. Rename it "aatahoma.ttf" so that Opera Mini and PIE will pick it up. Let me know how it goes, showaco.
EDIT: Also, it is IMPERATIVE that you name everything correctly. Double-click the ArmaliteRifle font file on your PC. Whatever name is listed needs to be what you place in the .cpr file. Place that particular name in the Font Family section of the clock area. It sounds like this might be why your phone picked up the font, but not your clock.
Hey guys.. im hoping someone out there could help me out with something...
Im wanting to know how to or if I can even do this.. but I want to rename an apk.. so that no matter where you look it shows up as the name I gave it. Is this possible via adb or anyway else?
Swyped by my Snapped CM6 EVO
What would be the point of this aside from renaming someone else's work?
Nobody knowing the app is installed.... that's the only reason..
Swyped by my Snapped CM6 EVO
Ok, why would you need to hide an app from someone else on YOUR phone? Or are you trying to slip something on to someone else's phone?
?? No, my phone... maybe I should move this to the dev section?
Swyped by my Snapped CM6 EVO
Maybe he dont want his wife seeing his porn apps on his phone....check out "better cut" in the market. You can change the icons and stuff but I dont remember about the name, its been a few years since i used it. Also ADW launcher has an option to hide the apps names on the desktop and drawer. Thats all I can think of at the moment.
phatmanxxl said:
Maybe he dont want his wife seeing his porn apps on his phone....check out "better cut" in the market. You can change the icons and stuff but I dont remember about the name, its been a few years since i used it. Also ADW launcher has an option to hide the apps names on the desktop and drawer. Thats all I can think of at the moment.
Click to expand...
Click to collapse
Okay thanks... yeah I have adw but im looking to actually change filenames in adb or the like...
Swyped by my Snapped CM6 EVO
Sounds like you need a dumber girlfriend..
Launcher pro has an option of hiding apps from app drawer... Never used it but may work for you.
Sent from my PC36100 using XDA App
nebenezer said:
Sounds like you need a dumber girlfriend..
Click to expand...
Click to collapse
Or smarter answers
You can rename an apk before you add it to the zip file for the rom you are using. Like i use CM 6.0, and i put all my install apks in the zip system folder before i flash the rom. I name them program_version, and have never had problems. Again you have to do this before flashing the rom though.
pull it off your phone via adb. change the name while you have it on your computer (may have to resign it). delete it on your phone. put it on your sdcard and install it thru astro or whatever you use
nicholaaaas said:
pull it off your phone via adb. change the name while you have it on your computer (may have to resign it). delete it on your phone. put it on your sdcard and install it thru astro or whatever you use
Click to expand...
Click to collapse
That will change the name of the apk but it will not change the name of the app as it appears on the phone whether in /Settings/Manage Applications, the app drawer, etc. etc.
That said, in order to change the name you would have to decompile the app change the name in the xml file and recompile.
Check out apkmanager. There is a thread on it here on xda. It is a script tool that utilizes Brut.all's apktool to decompile and recompile apks so you can edit them. Once decompiled navigate to /res/values/ and open the strings.xml in your xml editor of choice. Look for "app_name" and the value which follows will be the name as it appears on your phone. Change it to what you want, close the xml, use apkmanager to recompile, sign, and install the app, and you are done.
Bear in mind that anytime I have changed the name of an app my only goal was to change the name as it appeared in the app drawer. For example, the SiriusXM app shows up in the app drawer as "Online." I find that to be completely f*ing stupid so, I changed it to SIriusXM. Therefore, I would recommend looking for other places the app shows up on your phone to make sure they are changed as well.
okolowicz said:
That will change the name of the apk but it will not change the name of the app as it appears on the phone whether in /Settings/Manage Applications, the app drawer, etc. etc.
That said, in order to change the name you would have to decompile the app change the name in the xml file and recompile.
Check out apkmanager. There is a thread on it here on xda. It is a script tool that utilizes Brut.all's apktool to decompile and recompile apks so you can edit them. Once decompiled navigate to /res/values/ and open the strings.xml in your xml editor of choice. Look for "app_name" and the value which follows will be the name as it appears on your phone. Change it to what you want, close the xml, use apkmanager to recompile, sign, and install the app, and you are done.
Bear in mind that anytime I have changed the name of an app my only goal was to change the name as it appeared in the app drawer. For example, the SiriusXM app shows up in the app drawer as "Online." I find that to be completely f*ing stupid so, I changed it to SIriusXM. Therefore, I would recommend looking for other places the app shows up on your phone to make sure they are changed as well.
Click to expand...
Click to collapse
Thank you very very much...
Hey all, I have a quick question for you.
I am running cm6.1 on a Htc Evo, have a gingerbread theme, and have applied a density of 180. At this density, everything looks awesome - besides the status bar. Is it at all possible to adjust the density, change the size of the graphic, change some code to make the status bar and icon appear larger while still keeping the overall density setting?
Adam
anaglich said:
Hey all, I have a quick question for you.
I am running cm6.1 on a Htc Evo, have a gingerbread theme, and have applied a density of 180. At this density, everything looks awesome - besides the status bar. Is it at all possible to adjust the density, change the size of the graphic, change some code to make the status bar and icon appear larger while still keeping the overall density setting?
Adam
Click to expand...
Click to collapse
u can... if u know how to decompile the framework and change sizes in the specific xml... its doable.
i never checked... but from what u saying the size is pre-set, at least i would think so cuz the status bar image is usually a png 9 image that gets stretched to the pre set size.
i dont have time to try and help u find it and/or much more... but decompliling the framework-res apk and looking at the xmls that have something to do with the status bar (they r named with "status_bar..." usually) should set u in the right direction atleast.
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
anaglich said:
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
Click to expand...
Click to collapse
i've been making animations for the past 2 hours... so ill look real quick.. i'd bet the framework for u dont look much different when it comes to that... ill let u know where it is.
That would be amazing! Thanks again.
anaglich said:
That would be amazing! Thanks again.
Click to expand...
Click to collapse
ok... 180 would mean smaller things on the screen right?
anyways... i thought of something u can try without decompiling the apk.
do this.
pull the framework-res out from your /system/framework folder...
keep a backup just in case also.
then... open the apk with 7 zip and extract the "status_bar.xml" from the /res/layout folder.
then take the file u just pulled out and put it inside the res/layout-hdpi/ folder and overwrite the existing one.
that will give u lower sizes/values and such...
now... im not sure if that would help or make it worse... but if u feel like trying it.. knock yourself out... just keep a backup of the original framework so that u can revert.
btw... if it will work... than u would want to basically do the same with the layout-land and layout-land-hdpi folders to take care of landscape also.
there are more file that i might need to move around and such... but if that will work for u... i might be on the right track to helping u do it without decompiling anything.
keep in mind that i never tried it... and i also dont know how the whole changing the dpi even looks like.... so until i really see it and try for myself... im just guessing here.
edit:
oops... just saw u want them bigger...
my bad.
igonre what i just said.
anyways... look inside res/layout-hdpi folder of the decompiled apk.... any files that has to do with "status_bar....xml" u can edit icons sizes and text sizes in it.
i dont have your framework res file and i cant really change things up for u without having it... not to mention that i will need to try different sizes until it looks right.
for me it is set to 38 pixels... so u might wanna go bigger.
i also saw that it basically determine the sizes by the actual icon size... so im not 100% sure here about what to do exactly cuz im obviously not using the same thing as u, so i cant test it out right.
anyways... i would assume it shouldn't be hard to do if u play with some value a little bit.
anaglich said:
About that, I am not sure how to decompile an apk, although I feel comfortable searching for and adjusting the xml. Thanks for your help.
Click to expand...
Click to collapse
the statusbar_background.png is the file you are looking for for your status bar and many files for your icons like(stat_sys_wifi_signal_1, stat_sys_wifi_signal_2, 3 , and 4 are all for your wifi signal. They are normal png files not .9.png files so they should not be streched. I dont know if changing the size would do anything for you but you can try. The Apk Manager 4.9 will help you with decompileing and recompileing you apks, here is the link you will find it at http://forum.xda-developers.com/showthread.php?t=695701 good luck and let us know if it works.
After a change has been made, is it as simple as copy and pasting on to my phone? I have a mac so I am unable to use the Apk Manager. Additionally, it appears every .xml file is in a code unknown to me, and is not editable by changing a figure as there are no numbers visible to change.
I must be doing something wrong or not seeing something. Whenever I edit a .xml file, it loads a bunch of gibberish, rather than code. Or maybe I just don't know what code looks like lol
anaglich said:
I must be doing something wrong or not seeing something. Whenever I edit a .xml file, it loads a bunch of gibberish, rather than code. Or maybe I just don't know what code looks like lol
Click to expand...
Click to collapse
I believe your problem with not being able to view/edit the xml's is because straight off the phone, they are binary xml files. If you want to edit them that way you will need a hex editor. Unfortunately, the only way that I know to decompile them is through APK manager. I realize you are on a mac so if you would like, I can decompile your apk and send it back to you.
I really love the new graphic style in Android ICS, especially for the blue fades that replaced those horrible plain black backgrounds in almost every list/app/screen. However, the app drawer background is still completely dark, and I was wondering...is there a .png or a file in the android framework, that lets us customizing the app drawer background opacity or better, the entire drawer background image?
The settings blue fade background would be a lot better of plain black, for example. Can you at least point me to the right direction? Thanks in advance!
The app drawer is part of the launcher, I believe, so poking around inside the launcher's .apk file would probably be a good place to start. That said, I probably know less about modding Android than you do, so I could be dead wrong...
Actually, I think this too - despite I talked about the 'framework'. The problem is, that a common android application is made up by a res folder, full of .pngs and pictures, and a lot of other folders that contain all the .xmls for the app itself, that I never achieved to edit in any way. And because I'm sure the drawer background is part of a style .xml, probably being defined by a string such as "background_color=0,0,0/transparency=0" (example taken by some .xmls edited on PC, I actually have no idea of how these things are written in android), it could be useful to know where to find something like that or how to edit this kind of values ;P
C'mon, I can't believe everyone actually never tought of changing the drawer background! I mean...this is one of the first feature that you -devs of several alt. launchers- will have to add, and so far (think to ADW) it has not been so difficoult! So...please, if you know something on that, point me to the right file or config!
I downloaded Launcher2.apk, extracted it, and gone through each single file inside. And "Drawer Layout" or "Drawer Background" aren't there. What could I do next?
Looking at the Launcher2 source, it is a xml file in the drawables folder named wallpaper_gallery_background.xml.
Sent from my Galaxy Nexus using xda premium
wallpaper_gallery_background.xml - it was one of my search result for "backgound" keyword. But I went over it, since I think is related to the wallpaper picker (the little gallery of wallpapers at the bottom of the wallpaper selection screen...). Any other ideas?
p.s.: Happy that finally someone is paying attention to this topic... xda doesn't help people with a few posts or subscribed only some months ago (and that doesn't implies that they're newbie or dumb è_é) in ANY WAY... ;D I think this would be a very appreciated feature, this thread has a lot of views in just 1 day and a half!
I will play around with the source and get back with you.
Sent from my Galaxy Nexus using xda premium
Only thing I could find in Launcher2 is in drawable-xhdpi. The first PNG is apps_customize_bg.png and its a black image. Didn't see any XML files related to app drawer, which leads me to think its all hidden in smali code or another apk.
Sent from my Galaxy Nexus using XDA App
@AndHel Great! That's the answer I was waiting for! Thank you so much...I hope we'll be able to find something relatively easy to handle ;D
BTW, it would be very interesting knowing a bit more about Android decompiling and modding...if you want, explain me (even very quickly) how will you reach certain files/configurations, if you'll do, when you'll do.
@mb02 Thank you for your efforts too, I hope you're wrong but I fear you're right...absolutely not even a single word that remembers the "app drawer"! Maybe with your patience, we'll find out more!
...and I keep searching around /system for any kind of thing graphic-related to this damned drawer ;P
ledoweb said:
@AndHel Great! That's the answer I was waiting for! Thank you so much...I hope we'll be able to find something relatively easy to handle ;D
BTW, it would be very interesting knowing a bit more about Android decompiling and modding...if you want, explain me (even very quickly) how will you reach certain files/configurations, if you'll do, when you'll do.
@mb02 Thank you for your efforts too, I hope you're wrong but I fear you're right...absolutely not even a single word that remembers the "app drawer"! Maybe with your patience, we'll find out more!
...and I keep searching around /system for any kind of thing graphic-related to this damned drawer ;P
Click to expand...
Click to collapse
In every iteration of Android prior, including skinned versions (Sense, TW, blur) the app drawer coding and images resided in the launcher (Rosie, Launcher, etc). The naming, however, wasn't ever "app drawer" but "all apps" as drawer was never he official term for the all apps view. Rosie launcher had multiple XML files in the Rosie.apk res/layout folder that dealt with this "all apps" as well as related images. With the absence of anything related to apps in this Launcher2.apk, I feel as though everything was moved to smali or in another apk, unless they cleverly hid it in another XML in Launcher2.
Sent from my Galaxy Nexus using XDA App
It's within /res/layout in Launcher2. The file is called apps_customize_pane.xml
Just change the 2 values ff000000 into something else, i.e. bb000000 to make them slightly transparent.
It sounds promising...i thought that file was for a screen called "apps customization"
...may I ask which other letters could I use to increase/decrease opacity? AFAIK, numbers are for color and letters are for alpha...right?
Anyway, thanks so much for this solution! - I'll give it a try as far as I can. BTW, no way to replace a colour with something better, like a .png? Maybe just removing that string, and replacing it with something slightly different...
Edit: I'm having troubles in editing that .xml. Apktool fails decompiling Launcer2.apk probably because I'm using an old version of the android SDK, and this means...that I'm stuck at unreadable .xmls. I'm waiting for the SDK manager to have all updates installed, and then I might be able to finally "undress" this damned drawer ;P
This is likely harder than you expect. A few technical notes (and yes it's possible this will be a Nova feature in the future but it's not officially planned at this time).
1) App drawer is indeed called "AppsCustomizePagedView"
2) When viewing the app drawer, the launcher disables the wallpaper from showing (I believe as an optimization). I think if you made the drawer fully transparent you would see (in order from top to bottom):
Drawer
Smaller sized home screens
Black background
If you're editing source you can prevent the black background by changing updateWallpaperVisibility(). To hide the home screens you'd probably have to change the animation code in showAppsCustomizeHelper which could be a bit tricky.
[email protected] said:
This is likely harder than you expect. A few technical notes (and yes it's possible this will be a Nova feature in the future but it's not officially planned at this time).
1) App drawer is indeed called "AppsCustomizePagedView"
2) When viewing the app drawer, the launcher disables the wallpaper from showing (I believe as an optimization). I think if you made the drawer fully transparent you would see (in order from top to bottom):
Drawer
Smaller sized home screens
Black background
If you're editing source you can prevent the black background by changing updateWallpaperVisibility(). To hide the home screens you'd probably have to change the animation code in showAppsCustomizeHelper which could be a bit tricky.
Click to expand...
Click to collapse
i managed to get the app drawer transparent and indeed a black background..
but cant find updatewallpapervisibility anywhere
where can it be found? is it a xml or in a xml ?
thnx!
For that you have to edit source files and recompile, it's not just an XML edit.
Sent from The Past into The Future via The Present.
Milamber33 said:
For that you have to edit source files and recompile, it's not just an XML edit.
Sent from The Past into The Future via The Present.
Click to expand...
Click to collapse
ok!thnx!
i found the trebuchet source on gethub
i managed to change the source so the black screen and all is gone and the drawer is transparent.. but i cant test it because i dont know how to compile it
can you tell me ? thnx
There are plenty of tutorials on setting up an Android build environment and compiling the source floating around. They will be far more detailed and useful than I could be.
Sent from The Past into The Future via The Present.
I did it
I made it transparent its on a thread i started
locomain said:
I did it
I made it transparent its on a thread i started
Click to expand...
Click to collapse
Where is the thread?
Im gonna play around with this a bit when I have the chance....
But, using APKtool to decompile or recompile is very similar....
If you already have apktool all setup with your Roms framework file, and you already decompiled the file...... to recompile, all you have to do is use the command "apktool b foldername"
where folder name is the folder that it decompiled the apk to (likely Launcher2)
My main font I used in the things I built was roboto-thin, and all of a sudden, its not in the list of fonts. I can still see it on the older clocks. Just wondering if this was purposeful or my fault. Thanks.
Sent from a phone.
shbaldw said:
My main font I used in the things I built was roboto-thin, and all of a sudden, its not in the list of fonts. I can still see it on the older clocks. Just wondering if this was purposeful or my fault. Thanks.
Sent from a phone.
Click to expand...
Click to collapse
yes i things build was roboto
shbaldw said:
My main font I used in the things I built was roboto-thin, and all of a sudden, its not in the list of fonts. I can still see it on the older clocks. Just wondering if this was purposeful or my fault. Thanks.
Sent from a phone.
Click to expand...
Click to collapse
Zooper removed the support for built-in fonts with one of the later updates. If you want to continue to use Robot, download it and put the ttf files in Zoopers "Fonts" folder.
kwerdenker said:
Zooper removed the support for built-in fonts with one of the later updates. If you want to continue to use Robot, download it and put the ttf files in Zoopers "Fonts" folder.
Click to expand...
Click to collapse
Got it working. Thanks!
If you want to get all of the fonts back copy them from /system/fonts to the Zooper font directory. This hosed me up for a bit as well.