I would like to create a theme for htc desire, my idea is just to change the colors of the background applications and change the color of the keyboard, I would have everything with black background and white text.
you can extract the original files and edit them android on htc desire?
you can then apply a skin on the original release of android, I would not installing any ROM.
There are themes for htc original unmodified desire?
My HTC is ROOTED.
sharkboy_torino said:
I would like to create a theme for htc desire, my idea is just to change the colors of the background applications and change the color of the keyboard, I would have everything with black background and white text.
you can extract the original files and edit them android on htc desire?
you can then apply a skin on the original release of android, I would not installing any ROM.
There are themes for htc original unmodified desire?
My HTC is ROOTED.
Click to expand...
Click to collapse
You would need to change
system/app/HTC_IME.apk
system/framework/com.htc.resources.apk
system/framework/framework-res.apk
I don't know how to change the colour of font though, but changing the images is easy, they are all in res/ in the apk
And that's if modifying the original rom is possible
Thanks..
If I can extract them from the phone, this apk files, can I change it with the framework sdk and then install the new apk as a simple application or should I create an update file for use in recovery mode?
sharkboy_torino said:
Thanks..
If I can extract them from the phone, this apk files, can I change it with the framework sdk and then install the new apk as a simple application or should I create an update file for use in recovery mode?
Click to expand...
Click to collapse
Make an update file for use in recovery or push them using adb, they won't install like normal apps
I have take the apk files from HTC, now how can i edit it? If I open apk as if they were zip archive, the files are corrupt, if I open XML files do not see them properly, but they have garbled characters! how can I do?
After opening the apk, go to res/drawable-hdpi folder where you can find all the images/icons.
perfect, I read your fantastic tutorial for images and icons.
But I would change the colors, the background and the text, the size of the text.
I know that these settings are written in XML files, but they are encrypted in the file that I take from my phone or files on any apk.
you have an idea how can I do?
i have this question too...the xml files are all with special characters not readable....i tried utf-8 and ANSI
Fantastic!
I found this tool on the net, the name is android-apktool at http://code.google.com/p/android-apktool/ .I tried it and it works, now I see the XML file! Incredible!
Let me know if you know it and if it is reliable.
Related
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
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
You only can use .ttf (true type font) any other type will not work,if you have a font u want to use but is not in .ttf then you need to convert it to .ttf, btw i prefer the Type Fresh app to manage and change my fonts is easier than the method you described.
Also, make sure the font has a full latin library. I learned the hard way from the TypeFresh app (which is a way better solution IMO). In its instructions which I only read the second time, one font (i believe its called DroidSansFallback.ttf) needs to have a COMPLETE set, including latin, I believe for certain coding going on somewhere. I bricked my phone within two hours of rooting it. Took three to get it back. (Backup people!)
Anyways, now I use TypeFresh, it gives you options on which system font to replace, and I never replace that one.
Hope this helps.
hey guys,
just curious if you could some how choose what you want to have in the theme and if you can mix themes, if so how? for example i installed epic unleashed 2.5 and i loved the battery indicator and i installed the 982dark theme for the droid 2 and it's great with a couple exceptions... personally I think i'm going back to the Kangerade Blue for the Droid2 but i still want the original battery indicator from the epic rom.
thanks
-Jim
As far as I know, we don't have this level of customizability on D2 as of now. However, we are starting to see this. Like this, for example:
http://www.xda-developers.com/forum/showthread.php?t=784855
I used to use a ROM for the old Touch CDMA that did in fact have this level of customizability - there was a thread that had pretty much every individual piece available to customize. But again, I haven't seen this for D2 yet.
damn... ok well hopefully we get there eventually... until then I'll just stick with the theme I overall like the best lol
I have this problem with themes too, and the solution is simple. Take the theme that you are going to install, open the zip, and just remove the apps, fonts, or framework you don't want altered.
For example, I despise the font changes alot of themes force on you. Makes my twitter streams unreadable, so I just open the zip, and delete the fonts folder. That way it won't override the stock fonts. I've never tried deleting individual files, but that method should work for icons as well.
Just open the framework.res (rename the .res to .zip or .rar if you have WINRAR installed, or just use the "open with or choose default program" option) goto the res folder, then drawable-hdpi and just delete the battery images from the folder before you install the theme.
An easy way to do this, is to make a copy of the zip first so you'll have a proper version of the theme to view. Open it up with winzip, WINRAR or whatever archiving tool you use on your computer. Then browse the files in thumbnail view to find the images you want to get rid of. Make a note of their file names, then open up the other zip, locate the files in question, right click, delete em.
I'm not quite understanding what you're saying Natty
For example, right now I'm using the Revolution Remix theme. If I unzip it, there are 2 folders: META-INF and system.
Under system there are 3 folders: app, fonts, and framework. In the framework file there are 2 .apk files (framework-res.apk and blur-res.apk) and the systems.jar file.
In the app folder there are all .apk files, and the font folders are all .ttf
I'm not seeing any pictures to be deleted, unless you mean to actually delete the respective app .apk files (for example, I dislike the Talk app icon and the Market app icon)
Edit:
So I guess you're supposed to just rename the .apk to .zip, but for some reason the files are not allowing me...Could these files be locked? (I don't know if that's a stupid question or not lol)
Edit #2:
So I got 7zip (yay for google), but when I go to open the .png files they don't want to open...an application opens to view them, but it just sits there saying "loading"
Natty_lite said:
I have this problem with themes too, and the solution is simple. Take the theme that you are going to install, open the zip, and just remove the apps, fonts, or framework you don't want altered.
For example, I despise the font changes alot of themes force on you. Makes my twitter streams unreadable, so I just open the zip, and delete the fonts folder. That way it won't override the stock fonts. I've never tried deleting individual files, but that method should work for icons as well.
Just open the framework.res (rename the .res to .zip or .rar if you have WINRAR installed, or just use the "open with or choose default program" option) goto the res folder, then drawable-hdpi and just delete the battery images from the folder before you install the theme.
An easy way to do this, is to make a copy of the zip first so you'll have a proper version of the theme to view. Open it up with winzip, WINRAR or whatever archiving tool you use on your computer. Then browse the files in thumbnail view to find the images you want to get rid of. Make a note of their file names, then open up the other zip, locate the files in question, right click, delete em.
Click to expand...
Click to collapse
I'm not sure if that would work for png files inside of framework-res.apk.... I would think that would cause a bootloop
It will work for the fonts folder and for any app you dont want to get altered in /system/app.
So just remove the app from the system/app folder? That's what I'm somewhat confused about.
DGalt11 said:
So just remove the app from the system/app folder? That's what I'm somewhat confused about.
Click to expand...
Click to collapse
If you dont want a themed app to overwrite your current app, then just delete the apk file from /system/app inside of the themed zip file. Or if you dont want a themed font to overwrite ur current font, then just delete the fonts folder inside of the themed zip file.
But deleting files from inside the framework-res.apk... I doubt that would work.
Any idea how to edit the Market? It's not under system/app.
Edit: Never mind, didn't know "market" was actually vending.
removing the png specifically will cause an issue however if you have another png that you would like you use you can just replace this and it will not overwrite then.
theecho said:
removing the png specifically will cause an issue however if you have another png that you would like you use you can just replace this and it will not overwrite then.
Click to expand...
Click to collapse
yeah that's what I did. just copy / replace.
DGalt11 said:
yeah that's what I did. just copy / replace.
Click to expand...
Click to collapse
So did the install go smoothly without the M logo freeze or bootloops? I hope so.
I'm Glad others came to pick up my pieces, lol. That's why this forum is so great. To summarize for those joining the party late, just take the .png's from another theme, and replace the unwanted images with those. Don't just delete them
It's working fine, no reboots or stuck in boot loop or anything. Didn't even need to wipe data / cache.
Now if I could just figure out a way to remove the font they used from just the browser and my apps and nothing else (b/c it looks really nice in the notification bar, the menus, on the widgets, etc. but makes reading email or reading stuff in the browser really difficult) I'd be golden.
So I started removing one font at a time, nothing changed.
So I removed the whole fonts folder, and still didn't get any change in the fonts in the theme.
Ideas?
Thats exactly why I got rid of it. What good is a font that you can't read? I'm not sure if you can just remove it from the statusbar specifically.
Remember, removing them prevents it from changing the fonts that are currently installed. So if they're already different, then they'll just stay that way when you install the edited version of the theme. You're gonna need to flash to the stock theme first, then flash to another theme (like the NexTheme for example) with all the edits that you made.
I see, so those files in the fonts folder aren't actually fonts. They're more like...where the fonts you want get stored. So you need to actually replace the file.
From what I've figured out, the majority of the fonts are derived from DroidSans. If you change that, you change most of the fonts including those in the apps, widgets, etc. So is there no way to specifically change a font in, lets say, apps vs. widgets? And what are all those other files in the fonts folder for
I have no idea. I just deleted the whole folder prior to installing to ensure I kept all stock fonts.
Hello guys, i'm making a custom gingerbread rom, and i need to change some things directly from the zipped rom, like the default wallpaper, icons in the desktop, theme, boot animation, etc. What files i need to change to make this ? And another thing ... anyone have the file with the bootanimation of the magic green android robot ?
Thanks
strikermdd said:
Hello guys, i'm making a custom gingerbread rom, and i need to change some things directly from the zipped rom, like the default wallpaper, icons in the desktop, theme, boot animation, etc. What files i need to change to make this ? And another thing ... anyone have the file with the bootanimation of the magic green android robot ?
Thanks
Click to expand...
Click to collapse
Most of your changes are in the framework-res.apk. You have to decompile and make changes in the res/drawable-hdpi folder which holds the png files for most of the stuff. The default android bootanimation png's are also there in assets/images folder.
how i can reactivate this again ? Removing bootanimation.zip ? i'm trying shadowmodbr, and for this the bootanimation its only the name Android. I like the magic green robot.
strikermdd said:
how i can reactivate this again ? Removing bootanimation.zip ? i'm trying shadowmodbr, and for this the bootanimation its only the name Android. I like the magic green robot.
Click to expand...
Click to collapse
You put the bootanimation.zip file in either /system/media or /data/local. The default android bootanimation is not a zip file.
If you want the default back, just delete the bootanimation.zip files.
Sent from my Milestone using Tapatalk
If you want only to replace png files, you dont need to decompile. Just open the apk with 7zip and replace the png's.
Sent from my Milestone using Tapatalk
ok, i will try. I can for example choose the icons i want for default in my rom desktop ? for example, gmail, camera, etc.
strikermdd said:
ok, i will try. I can for example choose the icons i want for default in my rom desktop ? for example, gmail, camera, etc.
Click to expand...
Click to collapse
If u want to change the app icons, you have to do that in the app, not in the framework. The folder is the same, /res/drawable-hdpi.
Sent from my Milestone using Tapatalk
no, you don't understand what i trying to say. I'm trying to add the icons of some programs in the default desktop, and not change the icon of the programs. To minimize the 'empty' sensation of the rom installed without backups.
I am on alliance Rom and it is fantastic. Everything is themed just the way I like it. I only need to change one last thing to realize my dream setup. Does anybody have any idea on how to universally change the generic contact pics that shows up in my mms?
cinsity said:
I am on alliance Rom and it is fantastic. Everything is themed just the way I like it. I only need to change one last thing to realize my dream setup. Does anybody have any idea on how to universally change the generic contact pics that shows up in my mms?
Click to expand...
Click to collapse
Yes.
If you like, provide a copy of what you want to change it to. I have a copy of Alliance Build1 on my phone and can make you a flashable. When I post it, I will give you some general instructions on how to add to it, if you like.
Edit: And just to be sure, did you flash a theme at all?
That would be awesome. I did flash all backs black theme. I actually just want a totally black bg pic to sub in. I would be ok with a way to completely remove the contact pic at all. Thanks a ton for your help
Sent from my SM-N900V using XDA Free mobile app
Zip attached. Flash in recovery. It does not replace SecMms.apk, it only replaces thise pngs inside it. It wipes dalvik for you. I will add on a short tutorial on how to add onto this yourself shortly.
View attachment 2906973
Ok. This uses the vr-theme script. Most of the a.b.b. theme uses it as well.
If you unzip flash me.zip, and go inside, you'll see this
Drill down into the vr theme folder. . .
You see a folder with the exact same name as what you're modding. Please note that it has the exact spelling, including the .apk. I'll get to how I chose what's inside in a minute. The way I get what's inside was I unzipped thee abb theme, and got to the SecMms.apk app. In abb it is a full app. So to get into it, use a file explorer. I used es file explorer. Long press it and choose to open it. If you just short press like normal, it will try to install it.
When you open it go into the res folder.
Then I chose this folder to extract (because it had the images I wanted)
And when you back out, you get this
Go into that folder, you'll see a bunch of pngs. I delete the ones I don't want to change. I'm left with
For your zip, I made all these images transparent.
I then placed the SecMms folder to the flash me in the correct folder (vr-theme/system/priv-app, for this mod) and renamed it to include tha ".apk".
Then I zipped it up.
A couple of side notes:
Any .9.png files... don't modify those unless you know how. Google it if you really wanna know.
Any .png files... if you replace it rather than edit it, 1. Make sure the name matches exactly. 2. Make sure the dimensions match exactly to ensure it shows correctly. If it isn't the same, crop or resize.