Changing Hero Application Icons?

here is a flashable zip that I made to change the icons to 2.1 icons.

MAKE SURE TO DO A BACKUP BEFORE YOU FLASH THIS!!!!!!I am not responsable if you mess stuff up doing this.

the only issue that is known with flashing this zip is that if you have a theme installed it will cause the phone service to not work after you flash it the work around that has been found for this is to re-flash whatever rom you are running over it's self then flash the icons and then flash the theme again we have not been able to figure out why this happens but it deffinently has something to do with the themes. but the workaround described works.
 
I'm trying to change my icons, and after I get all of my apk files into a folder, i moved the folder to the c drive and when i try to open the apk with 7zip it asks me where i want to install the file, and asks me to plug in my mobile phone, even afetr i mount my phone it doesn't let me go any farther... what am i doing wrong?

**update**
okay so I have gotten all the way to where I'm trying to create the rom, to load the new icons... everytime I type in the command that was givin, it tells me unable to access jarfile signapk.jar... anybody know why?
 
Last edited:
I'm trying to change my icons, and after I get all of my apk files into a folder, i moved the folder to the c drive and when i try to open the apk with 7zip it asks me where i want to install the file, and asks me to plug in my mobile phone, even afetr i mount my phone it doesn't let me go any farther... what am i doing wrong?

**update**
okay so I have gotten all the way to where I'm trying to create the rom, to load the new icons... everytime I type in the command that was givin, it tells me unable to access jarfile signapk.jar... anybody know why?

The first error is because you have apk files set to open with HTC sync manager by default. Use open with from the right click menu and pick 7zip, or change the drfaults in your explorer properties in windows.

Make sure everything (jar, zip to sign, and key files) is in the same folder. Exactly what command are you typing and what does the error say?
 
ccapasso,

did you ever find a fix to this? I tried it myself with the "facebook for android" app and was receiving the same problems. I even signed the .apk file and it still would not install being pushed threw adb or by sdcard install ....

I'm trying to change the 3 icons that show in the task bar when you have a notification, i wanted them blue installed of grayed out like they currently are.... I have created all the icons and everything, just cant get the .apk to reinstall after editeding it.

If anyone has any ideas please let me know .... thx

Nope, never did get it working. Sorry. Haven't figured out the whole signing thing. The only thing I can figure is that I am changing the icons and now the size of the apk is too different from the original signed file. Maybe eventually I'll get it.
 
Just wanted to update that I did finally get what I was trying to work :). Basically, after I changed the icon and put the new on in the apk, I simply pushed the apk back instead of trying to install it. This worked for me :)

Here's a couple of screen shots of what I've done so far (sadly the power widget I messed up as they are .9.png files) :

snap20100316_125639.png


snap20100316_134415.png
 
When I enter:

Code:
java -jar signapk.jar testkey.x509.pem testkey.pk8 icons-eclair-fresh.zip icons-signed.zip

In my command prompt (yes, while in my sign folder), I get the message
" 'java' is not recognized as an internal or external command, operable progam or batch file"

I already have Java jdk installed. There something else I'm missing?

EDIT: I figured it out. I had Java JDK installed, but you must make sure Java JRE is also installed. After installing JRE I had no problems getting this to work.
 
Last edited:
  • Like
Reactions: byrnsey88
Man, I feel stupid....

i'm new at this i tried pushing and signing the zip.

But, I can't seem to direct my terminal properly....


EDIT: OK i figured it out, i'm running fresh so i needed to push it through Kitchen.

but one more Question. Can i change the name of broswer to say FireFox, Or Mozilla, etc?
 
Last edited:
hey for some reason when i try to change the browser icon it doesnt work and ive already changed a few of the other one so i know im doing it right, is there something different i have to do for the browser cus its not working for me, ive tried doing it a few times already
 
Great topic :)

Here's the skinny -
The icons themselves are stored inside the individual apk files. You need to open each one, swap out the icon and reassemble it. It's not nearly as hard as it sounds.

1. Tools you need -
7zip
Download the appropriate version for your PC. Don't grab the beta, the release (4.65) works just fine.

The original copy of the Fresh ROM you7 used to flash your phone.

The icons you want to change.

2. Create a working folder on your PC.
3. Using 7zip, open the Fresh ROM zip file. Navigate to the system/app folder inside the ROM. Highlight ALL the .apk files, and drag them into your working folder. Close the Fresh ROM zip file.
4. Decide on which icon you want to change first. I'll use the Browser as an example.
5. Use 7zip to open the Browser.apk you pulled out of the Fresh ROM. Once open, look for the res/drawable folder inside the apk.
6. Inside that folder, look for an .png file named ic_launcher_browser.png . That's the icon that the app uses.
7. Have your new icon ready. It should be 48x48 and a .png file. Make sure it's named ic_launcher_browser.png .
8. Drag the NEW icon into the open 7zip window that's showing the res/drawable folder. Choose yes if it asks you about overwriting the original file.
9. Close 7zip.

The Browser app has now been changed and will show your new icon in the drawer, and on the homescreen if you paste a shortcut. Do the same for each of the apps you want to change the icon of. The icon will always be in /res/drawable, and be named ic_launcher_ **app name**.png

Once you have changed all the icons, you'll have a set of apk files with your new icons. You can push these to the phone one by one from the terminal, or you can create your own update.zip

To push them to the phone (once again Browser.apk will be our example)
1. In your Android SDK/tools folder, make a new folder called icons.
2. Copy the Browser.apk file to the folder you just created.
3. Open the windows command prompt, and navigate to the Android SDK/tools folder. NOT the new folder you just made.
4. Enter the following commands one line at a time:
Code:
adb remount
adb push \icons\Browser.apk /system/app/Browser.apk
5. Do the same for each of the apk files you edited, changing the name Browser.apk to the name of the file you're pushing to the phone.
6. Reboot the phone.

To create your own ROM to flash them.
1. Attached is a file called META-INF.zip . Download it. Open with 7zip and drag the META-INF folder into your working folder.
2. Inside your working folder, make a new folder called system. Inside it, create a folder called app. Move all the edited apk files into this folder.
3. Highlight the system folder, and the META-INF folder you copied over and right click. Choose 7zip->create archive. Make sure it's a zip archive, and name it icons-eclair-fresh.zip . When it's finished, open it and make sure the directory structure matches your working folder. All the apks need to be in system/app/, and there needs to be a META-INF/com/google/android/update-script. Nothing else should be inside the zip file.
4. Download the second attachment named signing-tools.zip. Create a folder on your PC named sign_tools, and copy the three files in the zip to the new folder.
5. Copy the icons-eclair-fresh.zip file and place a copy in the sign_tools folder.
6. Open the terminal, and go to the sign_tools folder. Type the following command in the terminal:
Code:
java -jar signapk.jar testkey.x509.pem testkey.pk8 icons-eclair-fresh.zip icons-signed.zip
7. That will create a new zip file named icons-signed.zip. Open it, and look inside the META-INF folder. You will see 3 RSA keys along with the com folder. That means you're done.

Copy the new icons-signed.zip file to your SD card. Reboot into recovery. DON'T FORGET TO DO A NEW BACKUP BEFORE YOU CONTINUE! Flash your file without wiping. Enjoy your new icons, and congrats. You're now an Android developer.

Does the same steps mentioned above apply for signing a ROM zip also?
 
Dear Jerry Hildenbrand, I really find your post useful .. Thanks
Is there away to also rename the icon ????

Thank you for your help.
 

Members online

Forum statistics

Threads
955,898
Messages
6,966,035
Members
3,163,420
Latest member
Falsey_Ga