ICS icons - HTC EVO 3D

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!

Related

[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

[GUIDE][HOWTO] theme for the Nook

I've seen it asked quite a few times now, so I thought I would share how I've been creating my own themes for the Nook. This is a quick and dirty guide as I've almost got it down to a science for quick, keyboard shortcut, theming.
Things you'll need
Photoshop or The Gimp for editing files
Android SDK so you can push and pull files to/from the Nook.
draw9patch app in the Android SDK /tools folder for creating 9.png files
APK Manager (http://forum.xda-developers.com/showpost.php?p=6703735&postcount=1)
Notepad++ or some other text editor for editing XML files. After using Notepad++ on this, I'd highly recommend it though
An attention span
Some restraint
This is a rather good guide that helped me get started. My only complaint is that it is almost to complicated and includes more information than what is needed for a basic theme.
http://forum.xda-developers.com/showthread.php?t=916814
​
Getting Started:
Download the Android SDK and get it installed.
Download APK Manager
ADB pull /system/framework/framework-res.apk
Make a copy of the framework-res.apk files as a back-up in case you need to revert
Copy the framework-res.apk file to the /place-apk-here-for-modding folder under the APK Manager folder
Launch the APK Manager Script.bat file
Type in 22 to select the default project
Type in the number next to framework-res.apk in the list to select it as your project
Select 1 to extract the files
Select 9 to decompile (this is what makes the XML files readable)
Go to the /projects/framework-res/res folder under the APK Manager folder to view all the files from the theme
Images are located in the /drawable-mdpi folder. XML files are located throughout, but the files specific to layout are under the /layout folder. To change global settings, such as color codes and strings, edit the XML files under the /values folder.
Creating custom PNG files: If you are using Photoshop, use the Save For Web feature when saving. Save the image as PNG-24. Select None under the Matte option. Select None under Metadata.
A word on 9.png files: 9.png files are files that can be stretched by the OS. There is a 1 pixel border all the way around the image. In that 1 pixel border, you'll notice solid black lines here and there. The black pixels indicate which portions of the image are to be stretched. You can add this border and the black pixels in Gimp or Photoshop, or you can open the file the draw9patch app under the Android SDK /tools folder. The draw9patch app will actually display how the image will look when stretched as you add the black pixels around the border, so it can come in handy and it's what I prefer to use. You can open and edit .9.png files in draw9patch and edit the border even after you save the file.
​
Once you have all your files edited, recompile the APK package with APK Manager
Option 11
y
y
It will tell you to delete the files under the /keep folder that you have edited. Delete any images and XML files, from the /keep folder, you edited under the /projects folder. If you edited XML files, delete the /keep/res/resources.arsc file as well
Press any key to continue and let the script finish
In a separate command line window, mount your Nook's /system folder (adb shell mount -o remount,rw /dev/block/mmcblk1p2 /system)
back in APK Manager, select 8
/system/framework/framework-res.apk
Reboot your Nook
Boot Loop: If you messed something up and are stuck in a boot loop, most of the time you can still mount your Nook, push the original framework-res.apk to it and reboot. Or, you can use an unedited version of the CWM flashable zip file from the link below.
NOTE: it is not smart to push your framework-res.apk file to the Nook. I've learned the hard way that you can only do this about 10 times before you run out of memory and can no longer boot your Nook until you reflash Froyo again.
I'd recommend only a few flashes on a bare bones copy of Froyo until you feel comfortable with working on the framework theme. After that, I'm attaching a base, flashable zip for you to use in CWM so you can flash the theme instead of pushing. This will prevent you from getting stuck in a boot loop (unless you do something wrong yourself).
To add your framework-res.apk file to the zip, just open the zip and replace the /system/framework/framework-res.apk file (I'd recommend 7zip).
​
A Few Goodies
I'm including all of the PSD files I use to edit and create themes. If you want to create your own, custom theme, these will get you started. The only downside to these PSD files is that they are at the MDPI scale. If you want to create an HDPI theme, you'll need to increase the sizes.
Link to PSD files for creating your own theme, plus the flashable CWM zip file:
http://jjis.me/android-theme-templates
​
Hey man, I know you theme the froyo roms, but Im attempting a theme for the Phiremod CM7 and I cant seem to get anything but splash hangs and bootloops. I theme CM7 for the hero so I know my way around that, but Im wondering if theres something about the Nook that I have to do differently. For instance what is the mount.sh file you have in the tools folder on your themes? Is that only for froyo? Any help you could give me would be appreciated.
PMDColeslaw said:
Hey man, I know you theme the froyo roms, but Im attempting a theme for the Phiremod CM7 and I cant seem to get anything but splash hangs and bootloops. I theme CM7 for the hero so I know my way around that, but Im wondering if theres something about the Nook that I have to do differently. For instance what is the mount.sh file you have in the tools folder on your themes? Is that only for froyo? Any help you could give me would be appreciated.
Click to expand...
Click to collapse
CM7 is a little different than the stock builds of Froyo and others. They use the theme manager for it. If you are looking to theme for CM7, I'd suggest learning what it is needed to package it for the theme manager. I spent about an hour one day trying to find documentation, but couldn't. If can, or have it, please let me know where to find it so I can link to it and use it myself.
With that said, it appears that CWM does not flash, or at least mount, the same on the Nook. I'm assuming it's because it's on the external SD card and not internal. The mount.sh file was borrowed from samuelhaff's flashable ROMs. It actually tells CWM to mount the internal memory and flash to it.
If you are flashing without the mount.sh, it could be why you're getting the boot loops.
CWM uses edify language instead of amend. Again, it took me forever to find little to no documentation on it.
If you are using the mount.sh file and you are still getting stuck in a boot loop, I did discover a little issue with it yesterday. I was trying to use it to flash my new theme without the Vending.apk mod and I kept getting stuck in a black screen during start up. I forgot my edify code deletes the Vending.apk file so that was causing my problem. If you know how to edit the file, go for it. If not, I'm planning on updating it to correct this. If you need to, for now, just copy the Vending.apk to your flashable zip file.
It deletes the services.jar file as well. This was a requirement on Froyo since the status bar text is black by default. The services.jar file has to be edited to change the status bar text to white. Since CM7 does not need that change, try pushing just the framework-res.apk file, reboot and see if you boot successfully. If so, that is more than likely your problem.
wretchedlocket said:
CM7 is a little different than the stock builds of Froyo and others. They use the theme manager for it. If you are looking to theme for CM7, I'd suggest learning what it is needed to package it for the theme manager. I spent about an hour one day trying to find documentation, but couldn't. If can, or have it, please let me know where to find it so I can link to it and use it myself.
With that said, it appears that CWM does not flash, or at least mount, the same on the Nook. I'm assuming it's because it's on the external SD card and not internal. The mount.sh file was borrowed from samuelhaff's flashable ROMs. It actually tells CWM to mount the internal memory and flash to it.
If you are flashing without the mount.sh, it could be why you're getting the boot loops.
CWM uses edify language instead of amend. Again, it took me forever to find little to no documentation on it.
If you are using the mount.sh file and you are still getting stuck in a boot loop, I did discover a little issue with it yesterday. I was trying to use it to flash my new theme without the Vending.apk mod and I kept getting stuck in a black screen during start up. I forgot my edify code deletes the Vending.apk file so that was causing my problem. If you know how to edit the file, go for it. If not, I'm planning on updating it to correct this. If you need to, for now, just copy the Vending.apk to your flashable zip file.
It deletes the services.jar file as well. This was a requirement on Froyo since the status bar text is black by default. The services.jar file has to be edited to change the status bar text to white. Since CM7 does not need that change, try pushing just the framework-res.apk file, reboot and see if you boot successfully. If so, that is more than likely your problem.
Click to expand...
Click to collapse
Thanks for the reply! I actually took yours apart and was able to correct my script and I noticed that the delete services.jar line was causing issues as well. If you can I'd like you to take a look at the updater script after I edited it and see if you see any errors. It's attached below. I have gotten the framework and other themed apps to flash fine, but for some reason the themed market will not install. After flash it is in the /system/app folder as vending.apk. but it doesn't actually replace the stock market anywhere else. I actually spent several hours today trying to get the market back because I got frustrated and went all delete happy in root explorer, lol.
As far as Theme Chooser goes, here is a decent tutorial, but I haven't taken the time to really try and change my whole MO to use it. I theme the aospCMod for the heroc without using the chooser app. You can also get some good tips on building themes for the chooser in the #aospbot irc channel. A few of the guys in there build themes for it.
View attachment updater-script.zip
PMDColeslaw said:
Thanks for the reply! I actually took yours apart and was able to correct my script and I noticed that the delete services.jar line was causing issues as well. If you can I'd like you to take a look at the updater script after I edited it and see if you see any errors. It's attached below. I have gotten the framework and other themed apps to flash fine, but for some reason the themed market will not install. After flash it is in the /system/app folder as vending.apk. but it doesn't actually replace the stock market anywhere else. I actually spent several hours today trying to get the market back because I got frustrated and went all delete happy in root explorer, lol.
As far as Theme Chooser goes, here is a decent tutorial, but I haven't taken the time to really try and change my whole MO to use it. I theme the aospCMod for the heroc without using the chooser app. You can also get some good tips on building themes for the chooser in the #aospbot irc channel. A few of the guys in there build themes for it.
View attachment 546902
Click to expand...
Click to collapse
Stupid question, but you are copying the vending file as Vending.apk and not vending.apk, correct?
Also, if you're using my themed market, there are only two icons that are customized. The rest looks stock.
Sent from my SAMSUNG-SGH-I897 using Tapatalk
wretchedlocket said:
Stupid question, but you are copying the vending file as Vending.apk and not vending.apk, correct?
Also, if you're using my themed market, there are only two icons that are customized. The rest looks stock.
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Click to expand...
Click to collapse
Yeah the file is Vending.apk but its my themed market.
Sent from my NookColor using Tapatalk
PMDColeslaw said:
Yeah the file is Vending.apk but its my themed market.
Sent from my NookColor using Tapatalk
Click to expand...
Click to collapse
Sorry for the delay in response. I had too many things to do with the family yesterday.
If you haven't got this working yet, I'd suggest trying to start with removing just the /system/app/Vendind.apk file via the updater-script. If it works, then go back in and add each additional line until you run into problems again. At that point, you'll know what your problem is.
Since everything else (framework-res.apk, services.jar, etc.) gets replaced successfully, leave those lines alone. I'd just start with the basics of replacing the Vending.apk first and then work your way back up from there.

You're all going to hate me, but how do I go about creating a CM7 Theme?

I looked around and found a whole lot of nothing.
halp
Re
To create a theme your going to want to edit the visual ui of the phone. A good place to start is the systemui.apk and the main theme of the phone, in cm7's case, the cyanbread and system themes witch you can also find in system/app. Bassically with the systemui.apk and theme you are editing of your choice will be the finished product if your just starting, making a theme from scratch is a bit more complicated. As for boot animations that I believed is located in data/local and fonts should be in a folder for them selves I cannot think of the topr off of the top of my head but it is easy to identify I'm sure.
the way I edit and make themes is use the above apk's and just go crazy with transparencys and colors in gimp. Be in mind your going to need a Linux based os to edit the apks and place and take them from your zip rom your theming. I also think ther might be a apks editor for windows but idk what it is called.
Re
To create a theme your going to want to edit the visual ui of the phone. A good place to start is the systemui.apk and the main theme of the phone, in cm7's case, the cyanbread and system themes witch you can also find in system/app. Bassically with the systemui.apk and theme you are editing of your choice will be the finished product if your just starting, making a theme from scratch is a bit more complicated. As for boot animations that I believed is located in data/local and fonts should be in a folder for them selves I cannot think of the the closer off of the top of my head but it is easy to identify I'm sure.
the way I edit and make themes is use the above apk's and just go crazy with transparencys and colors in gimp. Be in mind your going to need a Linux based is to edit the apks and place and take them from your zip Tom your theming. I also think there might be a apks editor for windows but idk what it is called.
ya you are going to need to have the android sdk setup for the ADB and then you will use something like apk manager for pulling, extracting, decompiling, image edits, or xml edits which you can find here:
http://forum.xda-developers.com/showthread.php?t=695701
you will need the SDK setup first
which can be found here:
http://forum.xda-developers.com/showthread.php?t=834748
and here
http://developer.android.com/sdk/index.html
then you need to know simple ADB commands like:
"adb pull /system/app/Mms.apk" and push command which is "adb push Mms.apk /system/app/"
more commands here:
http://developer.android.com/guide/developing/tools/adb.html
and
http://androidforums.com/evo-4g-all-things-root/187820-how-adb-commands.html
it is also a GOOD idea to learn to use Eclipse for the compiling of the .9.png files which cannot be just simply edited and saved like a normal .png file can.
NOTE: the best way to edit the .9.png files are going to be with the Draw9Patch tool that is included in the SDK and draw the black lines (guides) this is located in the tools folder and then you use Eclipse to compile .. get rid of the black lines pretty much.
info about the .9.png can be found here:
http://forum.xda-developers.com/showthread.php?t=487001
info for eclipse, like how to set it up and download it is here:
http://developer.android.com/sdk/eclipse-adt.html#installing
does say to use the classic version of Eclipse.
once you have all of that figured out then you are pretty good. But there are other stuff to learn to like the programs themselves and stuff .. you will have to look on Google a lot .. I know that there isnt anything much there about any of this stuff .. I kid you not .. it took me a good 2 days to figure out how to use the apk manager and eclipse and how to alter the .9.png files. That was from getting bits and pieces off the web and a lot of trial and error .. the support around here sucks so dont expect much.
there is also a video that shows you how to setup the sdk along with the eclipse that is here
http://www.youtube.com/watch?v=OIL1UouA4dE
just use the previous links above to get the stuff like the sdk is at version 10 now and then the Eclipse Classic.
If this is too much for you to do and figure out then you are out of luck.
Yeah, I've used ADB and Eclipse before. I'm quite ****e at Eclipse, but I guess I could mozy around a bit and see if I could get the hang of it enough to do themes. I'm really eager to do that stuff.
Anyway, is there anything I'll have to look out for in regards to turning my phone into a lovely paperweight?
wauterboi said:
Yeah, I've used ADB and Eclipse before. I'm quite ****e at Eclipse, but I guess I could mozy around a bit and see if I could get the hang of it enough to do themes. I'm really eager to do that stuff.
Anyway, is there anything I'll have to look out for in regards to turning my phone into a lovely paperweight?
Click to expand...
Click to collapse
eh nothing that I have come across or know about.
so if you know ADB and a little with eclipse . what exactly are you trying to figure out?
Right now I'm trying to figure out how to open the APK. I used WinRAR to open the file and now when I try to open it in Eclipse, it just opens WinRAR. >_>
wauterboi said:
Right now I'm trying to figure out how to open the APK. I used WinRAR to open the file and now when I try to open it in Eclipse, it just opens WinRAR. >_>
Click to expand...
Click to collapse
the easiest and the best method is to use that apk manager that I linked in there and use that to extract the apk after you pull it from the phone using ADB
I usually use the adb pull /data/app and adb pull system/app to get all the apk files out at the same time.
after they are out you will put the ones you want to alter (up to 10 at a time) into the place apk here for modding folder and then open apk manager terminal ..
1) type 22 to select the apk that you want to mod.
2) then you will type 1 to extract it.
3) then you can go to the projects folder to see the extracted apk contents.
- usually the images that you want to alter will be in the res/drawable or the
res/drawable-hdpi or res/rawable-hdpi longfinger
- also some of the apps that do not use the .9.png files you will have to find
the image in two folders ... one for portrait mode and landscape mode.
alter the images you want and put them in the original folder.
4) then you will optimize the images which is option number 2.
5) then you will sign the apk which is number 3.
- if it is a system app select the correct option
6) then you will see an unsignedsomething.apk in the place apk here for modding.
7) to sign the apk you will hit number 4.
8) and then number 5 to zipalign the apk.
when you go back to your place apk here for maodding folder you will see that the unsignedsomething.apk is now signedsomething.apk
then you will push that to your phone using the adb/push something.apk /sdcard
then simply install the apk from the phone ... may have to uninstall the original app first.
winrar will not open the apk .. 7zip will . but i rarely use this as I cannot see the thumbnails for the images and cannot optimize the apk with it or anything else for that matter.
Here is a link to the wiki for the T-Mobile Theme Engine.
http://code.google.com/p/tmobile-themes/w/list

GUIDE Modify apks

Hi. I just wanted to write a guide on modifying apks. You probably have seen my rom in the ported section.
(I'll make the guide look better when I get home)
Well lets get started.
1.
First. An introduction to what an apk is. An apk is (believe it or not) a zip of files.
2.
So how do you go about editing a zip? I suggest using 7z on your computer or root explorer on your phone.
Second: there are a lot of apks you can edit but for this guide I'll be using the systemui.apk that you find in any rom in the system/app folder.
3.
Ok. So assuming you start with the system ui apk your going to need to extract the apk with 7z on your computer. (or root explorer on your phone. Es file should work also)
4.
Now you should have a new folder where you chose to extract your apk. Open that folder. Your going to see a bunch of files. What your probably going to be interested in is the res folder. Go into that folder and find the drawable hdpi folder. Open it.
Your going to see a lot of icons. Here is where you can change things like wifi icons. You can add 4g icons and so much more. Even edit what your contacts look like.
5.
This is an important step. Make sure your using the system ui apk from the rom your currently on or make sure its compatible with yoir rom.
Ok so now we get to the things like icon changes. Download a theme you've been dying for but couldn't get because it was either for another rom or phone. And the only thing you wanted was a few things from the theme.
Now extract that zip. Then extract the systemui.apk again from the zip you want your icons to look like. MAKE SURE YOU RENAME THE THE SYSTEM UI TO SOMETHING DIFFERENT SO YOU DON'T MIX THEM UP.
6.
So now that you got the system ui apk with whatever you want to use all you need to do is go into the drawable hdpi of the one with the icons you want in it. Copy them and bring them to your roms stock system ui and replace them.
7.
Thats about it. Now zip your roms stock system ui back up and change the ending to .apk. Then put it in system/apps and replace it. Reboot. And boom. Your modded apk is ready.
Hit thanks if I helped.
for step three rename the. apk to .zip its easier
This can only be used for replacing regular images in the APK. There are many images that are .9 images which require decompiling.
There are MANY guides across xda that go into detail and show you the proper way to modify APK's..... There is much more then images.
This one is even in this forum: http://forum.xda-developers.com/showthread.php?t=1388459

[TOOL][HOW TO] Customize ANY rom before loading

I am sharing a tool that I have been using for years to customize roms, because I am heavy modder.
With this I can download multiple roms and cherry pick the feature I want and get rid of the ones I do not want. Its like Aroma on steroids
You are in complete control of the look and feel from the first boot, provided you know what you are doing.
You can also use this tool to mod multiple roms or same the rom with different feature/themes.
How does it work:
You must have a Windows 2000 or later.
Download and install 7zip. If you are using a Windows x64. Download the x64 version of 7zip.
Download the zip file buildrom-template.7z and unzip it anywhere on your PC.
Place the full filename (e.g. system\app\PDF_Viewer_F_A.apk) or directory (e.g. system\media\oobe\video) for the files/app/wigdets you want to delete in a text file (in this template this is delete-rom-1files.txt and/or delete-rom-2files.txt). If change the filename you will need to change it in the corresponding batch file. In this template, it is customise-rom-1.bat or customise-rom-2.bat
Add the files/apps/mods/wall papers/fonts/ring tones (whatever) to their correct file location (directory) in the include directory. E.g. If you had an inverted gmail.apk app, you could put it in the include\data\app\ directory.
Drag and drop the rom zip file on the batch file that will start the customization (in the template this is customise-rom-1.bat or customise-rom-2.bat)
Your are done unless you want to theme the rom.
To theme the rom look into the themes directory. This should be straight forward. I left the files I used to theme Sense 5 as an example.
[*] The apk/app to be themed are placed in the apk-to-be-themed.txt. Look in the file for examples [Edit: 4/23/213]
Drag and drop the customized rom on the themer.cmd batch file after you have all the icons and layout changes in place.
Happy modding!
Files
buildrom-template.7z
Mine...
I just open the rom.zip and add/remove what I do/don't want
uppon2 said:
I just open the rom.zip and add/remove what I do/don't want
Click to expand...
Click to collapse
That would be doing it manually.
To remove files (app) you don't want, add the filename to the to delete-rom-1files.txt file. (Open the delete-rom-1files.txt file you will see a list of files that I remove from the roms).
The files (app) you want to add put them in their correct location in the "include" directory. E.g. If you had and inverted gmail.apk app, you could put it in the include\data\app\ directory.
Its a one-time setup so whenever an updated is released, its a simply matter of drag and dropping the rom on customise-rom-1.bat batch file.
yardi4life said:
That would be doing it manually.
To remove files (app) you don't want, add the filename to the to delete-rom-1files.txt file. (Open the delete-rom-1files.txt file you will see a list of files that I remove from the roms).
The files (app) you want to add put them in their correct location in the "include" directory. E.g. If you had and inverted gmail.apk app, you could put it in the include\data\app\ directory.
Its a one-time setup so whenever an updated is released, its a simply matter of drag and dropping the rom on customise-rom-1.bat batch file.
Click to expand...
Click to collapse
I understand now, sorry I misread the OP!
This is perfect for me because sense has the worst ringtones and notifications known to man... Every time I flash a new sense ROM I have to delete all the sense sounds and copy in aosp sounds.
Sent from my CyanogenMod DNA using Tapatalk 2
jamiethemorris said:
This is perfect for me because sense has the worst ringtones and notifications known to man... Every time I flash a new sense ROM I have to delete all the sense sounds and copy in aosp sounds.
Sent from my CyanogenMod DNA using Tapatalk 2
Click to expand...
Click to collapse
Good to hear!
That's of one my uses for this too.
I also added some extra wall papers and deleted a few.
See the file D:\android-sync\htc\DNA\buildrom\include\sense5\system\customize\MNS\default.xml and search for wallpapers.
Wall papers are located in D:\android-sync\htc\DNA\buildrom\include\sense5\system\customize\resource
and the settings are D:\android-sync\htc\DNA\buildrom\include\sense5\system\customize\MNS\default.xml (search the file for wallpaper)

Categories

Resources