[Q] How to theme an app? - Android Themes

I'm sorry for posting a question in here, and not searching, but I'm getting really ******* frustrated! I've spent hours on this and it won't work!
I have this app, Music Hunter, which is really great, but it's not the most beautiful app in the world, and it got me thinking, why can't I theme it myself? It's just some .png files to change, isn't it?
So I opened the apk in 7zip and started changing the pngs (without extracting it). I used Paint.NET. All the png files are the right sizes.
About two hours later I was done and I was ready to try the new apk, but it won't install, what am I doing wrong?? Are there any other files I need to change too?
I've also tried NinjaMorph but that wouldn't work either.
If anyone could help me, with a guide or something that would be nice!
I'll post the apks
Original: http://db.tt/l0g3Ckbm
Themed: http://db.tt/zTVNCat2

Oscar-Mark said:
I'm sorry for posting a question in here, and not searching, but I'm getting really ******* frustrated! I've spent hours on this and it won't work!
I have this app, Music Hunter, which is really great, but it's not the most beautiful app in the world, and it got me thinking, why can't I theme it myself? It's just some .png files to change, isn't it?
So I opened the apk in 7zip and started changing the pngs (without extracting it). I used Paint.NET. All the png files are the right sizes.
About two hours later I was done and I was ready to try the new apk, but it won't install, what am I doing wrong?? Are there any other files I need to change too?
I've also tried NinjaMorph but that wouldn't work either.
If anyone could help me, with a guide or something that would be nice!
I'll post the apks
Original: http://db.tt/l0g3Ckbm
Themed: http://db.tt/zTVNCat2
Click to expand...
Click to collapse
When you pushed the edited .pngs back into the .apk, have you selected 'save' as compression method instead of 'normal compression' etc.?
Sent from my GT-I9100 using xda app-developers app

It wont install because the signature was broke. It needs to be signed again. Also if you edited .9 images they likely won't look right since they weren't decompiled.

Yeah you probably need to sign it. Use zipsigner 2 on the play store. And also, like the above guy said, if you edited .9's without decompiling, you're gonna have some funky looking images.
Sent from my Nexus 4 using Tapatalk²

Signed it and it works!
Now I can theme all my apps!
Thanks!

Related

Black Facebook Widget

First, I tried to apply the Morph here, but since it was built for the N1, it doesn't work on my MT3G.
Next, I disassembled com.facebook.katana.apk with apktool, copied the modified .png's over, but I couldn't recompile the .apk.
Any hints or suggestions?
Suggestion of the day: keep the white one
I'm moving to myTouch 3G, Magic Apps and Games instead of Development. It just seems to fit better.
By the way... did you happen to see this: Inverted Facebook app
Beat me to it haha I was just about to post the link up.
Hey thanks! It's not exactly what I want, but I PM'ed the OP to ask how he did it, so I can do it my way.
So the reason you can't apply N1 icons is that it uses the res/drawable-hdpi while the MT3G uses res/drawable-mdpi. So I recreated the icons in Inkscape, and recompiled them in Eclipse. Not exactly the final version, but close.

Blue HTC Battery Widget

I took the .apk for the HTC Battery Widget (for sense based ROMs) and spent a lot of time editing the files to change them to blue. I thought it would look great with EE. I placed it back on my phone and changed the file extension to .apk from .zip and it tries to install but I end up with "application not installed." Any ideas? Here it is if anyone wants to try/help. I uploaded both the zip and apk.
u need to sign the .apk for it to work
Ty, now to do some research.
Sent from my My Phone ***** using XDA App
Ok yea waaay beyond my level
Well if anyone wants... feel free to take it and sign it yourself. Also, if you do, feel free to post it back on here! lol
well i signed it for you but sitll not installing, for me. so idk whats going on, heres the file tho just incase u want to try
i rem reading a while back someone tried to do the samething and they couldnt get it to work even after signing and what not. maybe htc signs their stuff different?

SMS notification icon?

i've searched around a bit but i couldnt find a simple resolution to this issue...
i have always used SMS popup since my G1 days. i like the stock messaging app more than chomp or handcent and i also like the popup notification more than handcent/chomp. the only issue i have is the black notification icon on the black status bar is difficult to see. is there an easy way to switch that icon to something else? even if its just another color?
you can switch it, its "easy" and do-able. you can download the sms popup app. then pull that file to your computer. go into the res/drawable folder and find the icon for notifcation and change it to something else that's easier to see. maybe pull one from the other apps or roms, then resign the app and reinstall. the only bad thing is you will need to do this all the time whenever they have a new update. But with SMS popup, i've seen updates stop months ago, i dont think that app is kept updated so this may be a one time change for you which isnt that bad.
[email protected] said:
i've searched around a bit but i couldnt find a simple resolution to this issue...
i have always used SMS popup since my G1 days. i like the stock messaging app more than chomp or handcent and i also like the popup notification more than handcent/chomp. the only issue i have is the black notification icon on the black status bar is difficult to see. is there an easy way to switch that icon to something else? even if its just another color?
Click to expand...
Click to collapse
Its not really that difficult to switch, the only tools required are winrar/zip & android sdk pack. Download the Mms.apk (system/app folder) from your rom using astro file manager to your sdcard, copy the file to your laptop/pc, use winrar to open the .apk (drag and drop it on winrar window, dont unzip the apk), drag and drop the attached image in res/drawable-hdpi folder. Close Winrar. Using ADB (download google's android sdk package)
(go command prompt, cmd.exe in windows, cd c:/android_sdk_r05/tools (or wherever you have unzipped the sdk pack))
adb remount
adb push Mms.apk system/app/Mms.apk
(provided you have pasted your modded Mms.apk in the android_sdk_r05/tools folder)
If you can do that, you will have learned how to theme the whole rom yourself! Honestly learning this isnt at all tough unless you wanna do mods of the likes of cyanogen & paul'o
i thought i was going places but i hit a roadblock...
i downloaded the sms popup apk. tossed it into betterzip. changed the icon in the drawable folder. then i tried to extract it to my desktop and i got the error message "ERROR the file drawable could not be extracted. the pasword may be incorrect."
password? lol beats me
i guess once i figure that part out i take the extracted file and drop it in the android-sign app i downloaded to sign the app and reinstall?
ninjamorph on the market may be able to accomplish this as well, although i'm not sure..
i thought i had it this time....
i edited the drawables and compressed the package simply by using the ctrl key (on a mac) then i used the auto sign tool and that worked fine. gave me the signed.apk. tried to manually install through file manager and got "parse error. there is a problem parsing the package".
Using Metamorph for this modification might be easier.
I was in the same boat as courtstarr24, so using the info in this thread (along with mythamp's image that I slightly modified), I replaced the image in SMSPopup, resigned it and it worked!!I was really pleased because this is my first foray into modifying anything android-related (apart from installing custom ROMs and kernels etc).
So here it is.
It's fine for me using pershoot's .35 kernel and Geo411m's Blackbar v3.
If you want it with a different image, I can do that, but I'm no graphic artist so you'll have to provide me with the image!
Also, I couldn't find the apk on my phone. It wasn't in /system/app and I didn't know where else to look, so I downloaded from softpedia.
Anyone know where it might be?
@b0dge man youre a lifesaver! if you could help me i would be ecstatic! the image i want is attached to this post. thanks man!
I'm on it. Give me twenty minutes or so...
EDIT: Here you go.
I haven't tested it, but it should be exactly the same as mine but with your image.
I take no responsibility for your phone breaking (if it doesn't work) or you pissing your pants with glee (when it does)!
EDIT2: Removed broken app.
thanks for helping me out here but i have bad news...the first apk you posted worked fine. i uninstalled and tried the second one and it wont install. i get the "application not installed" error message.
Ok.. I'm trying to work out why I can't resign it properly.
Sorry it didn't work, but take heart! We have the technology...
Right, this one works for me.. Sorry, should've tested it before posting.
Apparently I needed to delete the META INF folder then resign...
THANK YOU! thanks you so much for this. i know it wasnt a big project but i appreciate it none the less! i'd be stuck with the black on black notification without ya haha
Any time...

[REQ] Clear Touchwiz Dock

I have been looking and looking for a way to do this myself, but I'm at a lose. If someone could whip this up that would be great! I hate the black (grayish) color of the dock. Would love for it to be clear!
I will look into this after I get less hung over. 2 hours of sleep.
Who uses the tw launcher anyhow? I am just pulling your leg, it should be a simple png or 9png.
frostman89 said:
I will look into this after I get less hung over. 2 hours of sleep.
Who uses the tw launcher anyhow? I am just pulling your leg, it should be a simple png or 9png.
Click to expand...
Click to collapse
Yeah that's what I was thinking, but I can not for the life of me find where it is it's odd that the Vibrant/Captivate have a different TW launcher then what we do, same with the Epic.
I actually like tw. They buddies widget rocks. Would love the clear bottom bar
Sent from my SCH-I500 using Tapatalk
find anything? sorry... I'm working on a "clear" theme and this is one of the last things I need, and I'm just really excited to get some themes rolling
taypotts said:
find anything? sorry... I'm working on a "clear" theme and this is one of the last things I need, and I'm just really excited to get some themes rolling
Click to expand...
Click to collapse
I was passed out until just a bit ago. Extracted the apk as we speak.
EDIT: ok i replaced every possible image that is associated with the dock bg. It appears that its controlled by an xml and set to black with transparency. I don't feel like digging through all the xmls to figure out right now, maybe someone more experienced can look through it.
frostman89 said:
I was passed out until just a bit ago. Extracted the apk as we speak.
EDIT: ok i replaced every possible image that is associated with the dock bg. It appears that its controlled by an xml and set to black with transparency. I don't feel like digging through all the xmls to figure out right now, maybe someone more experienced can look through it.
Click to expand...
Click to collapse
Damn it! I was thinking it was a xml but I was hoping it wasn't..
Still waiting........ haha!
I'm no expert but I believe the two files that need to be edited are \res\layout-land\launcher.xml and \res\layout-port\launcher.xml . Change the android:color to @android:color/transparent under the section com.sec.android.app.twlauncher.MenuDrawer .
I'm having trouble recompiling the apk so that my phone recognizes it as a launcher.
Like I said I'm no expert so I'm not 100% on this.
sbrissen said:
I'm no expert but I believe the two files that need to be edited are \res\layout-land\launcher.xml and \res\layout-port\launcher.xml . Change the android:color to @android:color/transparent under the section com.sec.android.app.twlauncher.MenuDrawer .
I'm having trouble recompiling the apk so that my phone recognizes it as a launcher.
Like I said I'm no expert so I'm not 100% on this.
Click to expand...
Click to collapse
I can't even find the files that you are talking about? Are you talking about the framework-res.apk or the twlauncher.apk?
maybe I'm way off then, I was looking in the TouchWiz30Launcher.apk in /system/app
sbrissen said:
maybe I'm way off then, I was looking in the TouchWiz30Launcher.apk in /system/app
Click to expand...
Click to collapse
No, I was wrong.... haha! my bad. I was thinking it would be in the framework folder, but it actually might be in the system/app
Have you tried to copy the .apk to your Sd Card then change it to .zip
-unzip the file
-mess get the new .xml compiled from that
-use the app "Ninjamorph" to put the new .xml file back
Think that would help you?
Edit: Or just upload the new .xml files that you mess around with and I'll see if I can get it pushed in
OH! I also failed to mention that it is 100% a .xml file. I've messed around with some morphs that are out for other galaxy s phones and the background is still that ugly gray/black thing.
I keep getting FC's when i swap them out, I'll post the xml's. -port goes to layout-port and -land goes to layout-land. remove the -land and -port and rename the .xls to .xml.
I can't guarantee this will work so try at your own risk.
So you switched them out with Ninjamorph already? And still get FC's?
I'm wondering if we could get a copy of the TouchWiz launcher from the Epic if we could just copy and past the .xml from there?
Yea I switched them out with ninjamorph and still got problems, also tried swapping them out of a deodex'd apk and got the same issue. I have no idea on the epic, like I said before I'm definitely no expert I just like to tinker.
sbrissen said:
Yea I switched them out with ninjamorph and still got problems, also tried swapping them out of a deodex'd apk and got the same issue. I have no idea on the epic, like I said before I'm definitely no expert I just like to tinker.
Click to expand...
Click to collapse
That's how I started with the Moto Droid. Just started to tinker. lol!
I'll look for an Epic version of the launcher or any other galaxy phone launcher in a system dump or if anyone else can find one a post it.
We really need someone that is good with .xml stuff
Here Is a Clear Dock when you click on it its going to look black but it works

Bootanimation problems

Has anyone had the issue where a custom bootanimation does not play all the way through? I have the desc.txt configured correctly and all the .pngs named properly...
Idk what is wrong.
Any help would be greatly appreciated.
I'm on the V10K rom. For me custom boot animations work, but I can't get any sound to play other than the stock one
When you make your own.. All it takes is one file to stop the cycle. Everything has to be exact right size
Sent from my SAMSUNG-SGH-I777 using xda premium
DracoAzule said:
I'm on the V10K rom. For me custom boot animations work, but I can't get any sound to play other than the stock one
Click to expand...
Click to collapse
Just rename any sound file to the stock one and replace
Sent from my SAMSUNG-SGH-I777 using xda premium
All of the files are the exact same size and dpi... I know because I used gimp and just made one project that contained all the different frames as layers, then used a gimp script to export the layers as .PNG , then renamed using the batch rename tool in Ubuntu... I still haven't been able to make this work.
Any more suggestions?
Sent from my LG-P925 using xda premium
Anyone?
I have tried:
-renaming the files
-using emacs, geany, gedit, jedit, and even the es text editor on the phone
-adding a line at the end/deleting the line at the end
-splitting it into different parts (many different ways)
-keeping it in one part
-esentially everything (that i can think of...)
please help, my next step is going to be to start from scratch.
because the only thing i can think of that might be causing my issue would be the archive manager that comes with Ubuntu. Unless simply using a 64bit machine causes the whole process to not work properly (like many other things i have done in the past).
But, this is the most frustrating thing i have encountered since i was trying to unpack/repack a boot.img before someone had discovered the proper way to do this for our phone...
i am on the verge of selling my thrill, buying a galaxy nexus, and stopping trying to develop for android. Because everything i ever try and do never just works, like it is supposed to, and bootanimations should be an extremely simple thing to work with...
I am baffled by the difficulty i have been having with this animation.
All of my images are .png, 480x800, 240 dpi. They were created as layers within a single Gimp project and exported as .png.
Any assistance would be more appreciated that you could possibly imagine...

Categories

Resources