Custom Icons - HTC Rezound

I have started playing with custom icons recently an was curious, where can one find the stock icon.png file? I have a lot of apps on my phone like DrexelOne (for my college) which no one has made customs of, because of this I need the stock image to use as a base for my custom one. Other unpacking the .apk and removing the the icon.png is there a way to reach these?
Thanks ahead of time, I think this will help many more rookies than just me!

GingerSmurf said:
I have started playing with custom icons recently an was curious, where can one find the stock icon.png file? I have a lot of apps on my phone like DrexelOne (for my college) which no one has made customs of, because of this I need the stock image to use as a base for my custom one. Other unpacking the .apk and removing the the icon.png is there a way to reach these?
Thanks ahead of time, I think this will help many more rookies than just me!
Click to expand...
Click to collapse
Are you asking where that default icon is that only shows up when the app has no specified icon? That would be either in framework.res or com.htc.resources. Both of those apks are in /system/framework.

No I'm asking in general is there a way to take an application's icon and use it as the base for a custom one? For example: Can I somehow get the SuperUser icon .pgn file so that I can take it into paint and edit it, then use ApexLauncher to edit the icon shown on my home screen?
Maybe I'm simplifying the steps to much, but can't you make 72x72pixel .pgn and use ApexLauncher to to make that new icon the icon the shows up?

Related

I want to theme a Rom

Ok, I'm going around in circles trying to find out if I can theme a rom. I've done themes, icons, UI (just the images, not the xml's or codes) I would love to create my own theme for a rom, but how does it work?
I wanted to create a rom but its difficult when you're not a code person. but I am good with photoshop. Can somebody tell me how to start a theme. There are so many good ones for other phones and I would love to create a nice one for the Eris.
what i would do is grab one of the themes that are available and take it apart and see how it was done, but best of luck man,
I personally have not made any themes but i do like to tweak things where i can, and that would be a step i take to figure something out.
snyluc13 said:
what i would do is grab one of the themes that are available and take it apart and see how it was done, but best of luck man,
I personally have not made any themes but i do like to tweak things where i can, and that would be a step i take to figure something out.
Click to expand...
Click to collapse
thanks. I wanted to theme like the phone dialer, calculator, and maybe the drop down screen. Is that possible?
You can theme phone, kb, notification panel, etc...anything really
To theme the "system" stuff you need to modify framework-res.apk (can be found in /system/framework)
To theme anything else you just need to modify the .apk files, i.e. to theme the phone dialer you need to modify phone.apk and contacts.apk
To theme anything you will need to change the file extension to .zip (.apk changed to .zip) and then extract the file so that you can explore what is inside. Most image and xml files are stored in /res/drawable-mdpi
Once you have modified .png and xml files you will need to zip the file and then sign it so that it can be used on android. There are a number of tools for signing .apk files, just google it.
Hope this helps a little...

[Q] Implement Theme in Rom

Hello!
I'm trying to make my own Rom right now. With dsixda's Kitchen it isn't very hard to do so I thought I'd just give it a try. I'm taking a rooted official Update (Version: 2.10.405.2) as my base. Adding busybox runparts, the /data/app functionality, a2sd+, the custom bootanimation functionality etc. isn't a problem. Removing some apps like Maps, Facebook, Teeter (and so on) and adding some like Rom Manager, Neocore or Quadrant isn't a problem, too. But if I want to implement a theme like the Carbon Espresso Mod or a theme I made with the UOT Kitchen I'm getting bootloops at booting the phone. Here's what I do: I unzip the folder (for example a theme made with the UOT Kitchen) and I copy over the framework-res.apk from the unzipped folder to my Working Folder of the Kitchen (to system/framework) and I overwrite the original framework-res.apk.
And NO: I didn't choose a battery mod or a bootanimation in the UOT Kitchen....
Hope you guys can help me
I might be wrong but doesn't the new file have to be signed? I know there is a signing option in the kitchen.
Sent from my PC36100 using Tapatalk
It's a system .apk so it doesn't have to be signed.
I can't shed any light on the subject, but here's a bump.
Are you replacing the whole "framework-res.apk" file? If so then you will need to resign your entire ROM. Why? When you change a system file ("framework-res.apk", "com.htc.framework.apk", "twframework-res", "rosie.apk", etc.) it no longer has a matching "signature" for all the files it serves images to. Plug your phone into your computer and open up "ddms" in your android_sdk > tools folder to watch what happens when the phone boots up.
A workaround (The way I do it, it's more fun IMHO) is to open up your .apk files in 7zip (or if you're on a mac BetterZip) and add the images from the themed .apk to your stock .apk. This way makes it so your original .apk has the same signature as your other system files yet has the new images from the other files that you wanted. I've had a lot of luck with this method. I don't know if it will still work if you change any .xml files as I have not messed with those yet.
I've subscribed to this thread so if you have any questions post back here or you can PM me if you want. I'm on XDA all day, every day so I'll try to help as much as I can.
Thanks for all the answers! Especially to you, mbobino. Is there a way to sign the whole Rom new? When I make my Rom at the End, the Kitchen signs it automatically, doesn't it? The idea with the images is very good, but if I want to implement a theme like Carbon Espresso it isn't that easy, 'cause Carbon Espresso isn't just a few images. There are several .xml's etc.
The reason you boot loop is mis matched resource ID's in the public.xml file. If you decompile the framework using apktool after adding your images using an archiver then recompile apktool will update the public file for you which saves you from pulling ID''s for every image. I have a video tutorial of how to set up apktool and decompile framework in my Rom thread. Changing images in app apk's won't cause you to boot loop just messing with the framework will.
Sent from my ADR6300 using XDA App
DomiKamp said:
Thanks for all the answers! Especially to you, mbobino. Is there a way to sign the whole Rom new? When I make my Rom at the End, the Kitchen signs it automatically, doesn't it? The idea with the images is very good, but if I want to implement a theme like Carbon Espresso it isn't that easy, 'cause Carbon Espresso isn't just a few images. There are several .xml's etc.
Click to expand...
Click to collapse
The kitchen signs the .zip that you flash when you build it. It does not sign any .apks for you on its own. However, there is an option to sign .apks within the kitchen.
In my opinion, taking all of the images and figuring out how it all works is fun. I feel like I've already learned quite a bit from just digging around and moving files around.
As for the .xml files, you can decompile the .apk and edit them and then recompile the .apk. I'm actually looking into this today. It sounds like some work but hopefully I'll get it figured out.
Sounds like fun indeed So, I'll just have to try it. Where can I find the "Settings" for the Notification Bar? Thanks
The variois status*.xml files in the res/layout folder of the framework-res.apk and the status*.smali files in the services.jar.
What? If I want to implement a Theme made with the UOT Kitchen (without battery) I should just copy over those files to my existing res-framework.apk OR copy over the whole res-framework.apk (the new one) and sign it?
EDIT: Just tried it with a theme from the UOT Kitchen and it worked perfectly. I've just signed the res-framework.apk and the htc.com.resources.apk (or whatever) in the Kitchen, flashed it on my Phone and it just worked like a Charm. But I have got a 50% Transparent Notification Bar and all the system icons (Battery and time/date) are still black and not transparent! Has anyone got a idea where to change this? (.xml or whatever)...And does anyone know where I can find the HTC Wallpapers? I want to change them a little bit
HeyItsLou said:
The reason you boot loop is mis matched resource ID's in the public.xml file. If you decompile the framework using apktool after adding your images using an archiver then recompile apktool will update the public file for you which saves you from pulling ID''s for every image. I have a video tutorial of how to set up apktool and decompile framework in my Rom thread. Changing images in app apk's won't cause you to boot loop just messing with the framework will.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
HeyItsLou, I looked up your ROM thread but couldn't locate the video tutorial.... do you mind providing the url? Specifically, I am trying to add to the list of wallpapers in a ROM. (I have setup apktool but not sure where/which folder to add my wallpapers in Framework-res.apk Launcher.apk before recompiling/signing). Thanks.
You COULD use the Theme Porter by daneshm90. It will only port the PNG s for it so things like clock colour n stuff will be lost, but it will get you alot closer...
http://forum.xda-developers.com/showthread.php?t=737526
Sent from my HTC Hero using XDA App
Thanks! But like I've written before in my Edit, I made it. The bigger theme (Carbon Espresso) wasn't a problem, too. I just had to sign the .apk's in system/app and system/framework (the kitchen doesn't do it by itself. You have to choose the option to sign a single .apk and then look, where the system/framework .apk's are...). Works great now!
DomiKamp said:
Thanks! But like I've written before in my Edit, I made it. The bigger theme (Carbon Espresso) wasn't a problem, too. I just had to sign the .apk's in system/app and system/framework (the kitchen doesn't do it by itself. You have to choose the option to sign a single .apk and then look, where the system/framework .apk's are...). Works great now!
Click to expand...
Click to collapse
Isnt that what I said in the 2nd post -.- lol jk. Glad you got it working!
Yes! And that's why I tried it. And it worked! Thanks Husker and, of course, everybody else!
Glad you got it working. Welcome to the development side of android!
Sent from my PC36100 using XDA App
I don't sign system files or apps and apkmanager among other threads I've read say not to. Im on a rooted backflip. I find I only have to sign third party apps to install.
Why do you have to sign YOUR files?
Sorry for answering that late. Had a few things to do, so I wasn't online very often
If you want to cook an App into your Rom (NeoCore for example), then you don't have to sign it. You can just copy it into data/app. But if you want to change the whole framework-res.apk of the Rom, you have to sign it. 'Cause if you don't sign it, you'll get a Bootloop. The framework-res.apk is a very important part of the Rom, so it has to "fit" to the others. There are some ID's which have to match. Otherwise it won't work. That's how I understood it
Another Question: Has anybody got an Idea where to change the things that are coming, when you first start the phone with a new Rom (the "installation" of the Rom)? I wan't to write: "Welcome to DomiKamp's Rom!" Or something like that...
bestialbub said:
I don't sign system files or apps and apkmanager among other threads I've read say not to. Im on a rooted backflip. I find I only have to sign third party apps to install.
Why do you have to sign YOUR files?
Click to expand...
Click to collapse
I was curious about this too. I always edit the framework-res of any ROM I flash using a custom set of images I have and have never signed the apk afterwards and it has always worked. Maybe cause I'm only replacing images? I usually do this with framework-res and twframework-res and they both can sometimes grow by 1MB or more. Just my experience.
Sent from my SAMSUNG-SGH-I897 using XDA App
DomiKamp said:
Sorry for answering that late. Had a few things to do, so I wasn't online very often
If you want to cook an App into your Rom (NeoCore for example), then you don't have to sign it. You can just copy it into data/app. But if you want to change the whole framework-res.apk of the Rom, you have to sign it. 'Cause if you don't sign it, you'll get a Bootloop. The framework-res.apk is a very important part of the Rom, so it has to "fit" to the others. There are some ID's which have to match. Otherwise it won't work. That's how I understood it
Another Question: Has anybody got an Idea where to change the things that are coming, when you first start the phone with a new Rom (the "installation" of the Rom)? I wan't to write: "Welcome to DomiKamp's Rom!" Or something like that...
Click to expand...
Click to collapse
I think that in order to do the "welcome to" thing you'll have to edit the update-script file. I'm not 100% on it though. Look at a cm Rom and see what all is in there.
Sent from my HTC Evo 4G using XDA App

ICS icons

I know where to find them, the problem is i'm currently running newt's ics with sense 4.0 . I want to change the sense icons with ics icons. Where can i learn how to do this? I want to make a flashable zip. I know is too much to ask but i really want to learn how to do this. I know there are applications in google play but i want to be able to do this using other methods.
How to change apk icons
Mexhawk06 said:
I know where to find them, the problem is i'm currently running newt's ics with sense 4.0 . I want to change the sense icons with ics icons. Where can i learn how to do this? I want to make a flashable zip. I know is too much to ask but i really want to learn how to do this. I know there are applications in google play but i want to be able to do this using other methods.
Click to expand...
Click to collapse
First, download APK manager (search xda or google) and learn how it works. It's really straightforward, just mess around with it by dropping some apk's into the "place apk here for modding" folder and use the options to see what they do.
After that, find an AOSP rom and gapps, and put all of the apk's that you want the icon from into the modding folder, and extract each one. Now go to the projects folder, where you will find a subfolder for each app. In each app's subfolder, find the images folder, locate the app's icon.
Next do the same thing with the Sense version apps, locate the icon in the images folder. Take note of the name. Then go back to the AOSP icon and change the name of the file (if needed) to the same name as the Sense version icon. Last copy/replace the AOSP icon over the Sense icon, rezip the apk (using apk manager), push it to the /system/app folder on your phone (either with ADB or a file manager on your phone, if you do it either of these ways, a flashable zip is not needed), reboot, and you're done.
tjb3401 said:
First, download APK manager (search xda or google) and learn how it works. It's really straightforward, just mess around with it by dropping some apk's into the "place apk here for modding" folder and use the options to see what they do.
After that, find an AOSP rom and gapps, and put all of the apk's that you want the icon from into the modding folder, and extract each one. Now go to the projects folder, where you will find a subfolder for each app. In each app's subfolder, find the images folder, locate the app's icon.
Next do the same thing with the Sense version apps, locate the icon in the images folder. Take note of the name. Then go back to the AOSP icon and change the name of the file (if needed) to the same name as the Sense version icon. Last copy/replace the AOSP icon over the Sense icon, rezip the apk (using apk manager), push it to the /system/app folder on your phone (either with ADB or a file manager on your phone, if you do it either of these ways, a flashable zip is not needed), reboot, and you're done.
Click to expand...
Click to collapse
WOOOOOOOW!!!!!!!!!!!!!!!!! Thank you very much that was very easy. I just wanted to create a flashable zip so that i could share it with everybody else.
Mexhawk06 said:
WOOOOOOOW!!!!!!!!!!!!!!!!! Thank you very much that was very easy. I just wanted to create a flashable zip so that i could share it with everybody else.
Click to expand...
Click to collapse
I think there's some threads around xda on that, I just always theme stuff for myself cause I don't have time for people's requests so i've never looked into making flashable zips. Probably not too hard though. Have fun!

Change pattern lock dots?

Hello,
I own a ZTE Crescent- Rooted/CWM recovery running CM7.
I was messing around with using CM9 and I like it but it isn't up for the kind of usage I'd like to use it for so I went back to CM7. One thing I really liked about CM9 was the pattern lock dots- On ICS they are a lot thinner and look slicker, whilst on GB they are thick and bulky and I dislike them.
So my question is; Would it be possible to flash a zip in CWM to change the pattern lock dots on my device? Or any other method?
Thanks,
Curtis.
It's certainly possible. You need to edit framework-res.apk. Within the apk, the images you want to edit I think are in /res/drawable-hdpi/(possibly in other drawable-XXXX folders as well). You need to edit/replace the following files I believe:
btn_code_lock_default.png
btn_code_lock_touched.png
indicator_code_lock_drag_direction_green_up.png
indicator_code_lock_drag_direction_red_up.png
indicator_code_lock_point_area_default.png
indicator_code_lock_point_area_green.png
indicator_code_lock_point_area_red.png
Not completely sure, you might be able to do it fairly easily with UOT Kitchen: http://uot.dakra.lt/kitchen/ (I can't check now as the kitchen is full, so I'm not sure if it supports theming the unlock pattern or not). If not, you can use apktool to unpack the APK, then edit the images you want changed, then repack it with apktool.
The other option is to use MetaMorph. It's an app you install on your phone for theming. Then download a lock pattern theme like this one: http://droidpirate.com/2011/01/15/metamorph-lock-pattern-liberty/, unzip it and replace the images inside with your own, then re-zip and use MetaMorph to install it. (Probably simpler than using apktool to manually edit the APK).
Thanks for the reply, I appreciate it!
I've gone with the metamorph option, seems much easier to do and I've used it once or twice in the past so I have a general idea on how to use it!
Thanks again
I couldn't find a theme for what I wanted- None even came close for Metamorph, so I decided to try and make my own. Unfortunately; I'm now stuck.
I copied the files you mentioned from the CM9 rom to the CM7 framework apk. I have the original CM7 framework app with the new icons in and a zip version of the framework with the files also in there. Now what should I do?
If anyone with more experience wants to take over then here are the files.
APK:
https://docs.google.com/open?id=0B5IQUxhoTn2XVVJiek01OGRNek0
ZIP:
https://docs.google.com/open?id=0B5IQUxhoTn2XWnRGVDhIdzRsa0k
I'd say the easiest way is to grab the metamorph theme I linked above, unzip it and replace the images inside with the ones you took from CM9. Then zip it back up and install using metamorph.
Trying it now, phone has just rebooted, time to check lock screen.
Edit-
Nothing has changed.
Hmm. I have no idea then, sorry.

[Q] Question for DNA themers

Hi guys,
I've been doing quite a bit of research and also quite a bit of trial and (all) error. I am currently trying to replace the battery icons in my current SystemUI.apk with battery icons from another SystemUI.apk (both DNA, of course). From what I read, it looks like I need to decompile the SystemUI.apk, but it appears that apktools currently does not work with the DNA. I have also tried just extracting the apk files using winrar, and then just copying the files over, but when I do that I the stat bar disappears and everything is black. I'm curious how you guys are managing to make basic mods like battery icons and transparent stat bar on the home screen when using Nova. I've read that the transparency needs to be done by editing a couple xml files, but the one in res/values is only available when you decompile.
As always, any tips or guidance would be warmly welcomed and greatly appreciated.
Thanks,
Steve
Use 7 zip to drop the new images into the zipped system UI then it will ask you to update archive and say yes. Then flash system ui.
That's the short version.
Do I actually need to flash, or can I just adb push while mounted in recovery?
Thanks,
stevedub40 said:
Do I actually need to flash, or can I just adb push while mounted in recovery?
Thanks,
Click to expand...
Click to collapse
You can do that as well, my main point was to use 7-zip, for image replacing I personally use zipthemer so I can use my theme on any rom, Each time I install a new rom i just need to run zipthemer on my phone and flash the zip it makes, and walah, themed to my liking.

Categories

Resources