yashsingh1/xdaforums huggingface dataset:
[Android Themes] jsmccabe78:
hmmm..

this is my manifest. does it look faulty? it says nothing about icon_pack

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="1"
android:versionName="1.0"
android:installLocation="internalOnly" package="jsmccabe78.anastasdroid">
<application android:label="@string/theme_title" android:icon="@drawable/theme_icon">
<activity android:name=".main"
android:label="@string/theme_title">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="org.adw.launcher.THEMES" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="org.adw.launcher.icons.ACTION_PICK_ICON" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="jsmccabe78.anastasdroid.docks"
android:label="@string/theme_title"
android:icon="@drawable/theme_icon">
<intent-filter>
<action android:name="android.intent.action.PICK" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
</activity>
<provider android:name="jsmccabe78.anastasdroid.docksProvider" android:authorities="jsmccabe78.anastasdroid.docksProvider" />
</application>
<uses-sdk android:minSdkVersion="4"/>

</manifest>
[Android Themes] theimpaler747:
The manifest looks fine. Let me see the XML for the icon pack.
[Android Themes] jsmccabe78:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="icon_pack" translatable="false">
<item>com_android_mms_ic_launcher_smsmms</item>
<item>com_android_calculator2_calculator_icon</item>
<item>frameworks_res_stat_notify_voicemail</item>
</string-array>
</resources>
[Android Themes] theimpaler747:
So, for example, com_android_mms_ic_launcher_smsmms. What is the name of that png in drawable-hdip?
[Android Themes] jsmccabe78:
com_android_mms_ic_launcher_smsmms.png

just dropped the .png

i believe the naming is correct (com_android etc)
[Android Themes] theimpaler747:
It really all looks ok. When you were in the log, did it give you two activities? If so, you may be using the wrong one.
[Android Themes] jsmccabe78:
not sure i understand. i don't have any current messages in my log

also in my manifest i get this:

attribute minSDK version (4) is lower than the project target API level (10)

but what gets me is it installs, just not those icons.
[Android Themes] theimpaler747:
I'm not an app making expert, but it looks fine to me. Not sure why it's not working for you.
[Android Themes] jsmccabe78:
well shucks. thanks, though for working it through with me.

maybe it is my rom? hmm..

CWM themes are so cumbersome...oh well, at least it works!
[Android Themes] theimpaler747:
Doubt it's the rom, although if you like, I could try your app for you and see if it works for me on the Epic.
[Android Themes] jsmccabe78:
well, thanks.
[Android Themes] theimpaler747:
Very nice :) But no, no custom icons :(
[Android Themes] jsmccabe78:
argh.

well off to start over. already did the hard part....have the icons!

thanks again. if i succeed i'll let you know!
[Android Themes] theimpaler747:
Please do, I'd like to try out your app when you do :)
[Android Themes] jsmccabe78:
you'll be the first person i send it to! thanks...
[Android Themes] dully79:
@ impaler

Just had a clearout of my P.C and found the attatched zip file that might be of some use.

No idea where i got it from but credit to whoever it belongs too.:)
[Android Themes] theimpaler747:
Very cool, thanks for sharing! :D
[Android Themes] Newt:
Love your thread bro good work..... I have a question about apk manager..... when I'm done modding a app and I compile it and it says "would you like to copy the files you didn't mod to ensure the least amount of errors" what should I say and what does that mean sorry if its a dumb question I'm just being cautious..... and then if you say yes it says delete your modded files and you know the rest..... I'm confused by those steps i need just little explaination about what files to delete and so on..... I don't understand why I delete the files I modded..... thanks in advance for any help
[Android Themes] theimpaler747:
Sure thing :) Ok, I'd personally hit yes for that. It's just trying to minimize errors of the app once compiled. When you hit yes, it'll give you a folder named "keep." Go into that, and delete all images you modified. That'll give it the cue to replace the stock images with yours that you created. If you changed any XMLs, you also must delete the resources.arsc to ensure your XML changes carry over :D
[Android Themes] Newt:
so when i delete those files do i delete the individual images or the file folder
[Android Themes] theimpaler747:
Just the individual images that you've changed :D
[Android Themes] Newt:
Ok and then after I do that what is the next step I choose?
[Android Themes] theimpaler747:
You just press any button and let it finish compiling ;)
[Android Themes] Newt:
ok thanks bro i think my confusion is cleared up..... i just couldnt undrstand why i would delete the files i edited...... one more quik question tho say i want to edit a htc clock widget what do i drag into the command prompt in order for it to decompile the app.... i tried lastnight and i couldnt figure it out
[Android Themes] theimpaler747:
No problem :D Most likely com.htc.resources.apk.
[Android Themes] Newt:
ok thanks man if i ever figure this out ill post some screenies
[Android Themes] theimpaler747:
Lol, I'm here if you need more info ;) And please do post the shots when you get it :D
[Android Themes] Newt:
Hey I have another question is there a tool or a way to change say like you your modding the color of the battery and you have a 100 imagies..... is there a way you can change the colors all at once or in mode without doing them one at a time
[Android Themes] theimpaler747:
Hmmm..... To be honest I just change them all separately.
[Android Themes] Newt:
ok im lazy i guess lol
[Android Themes] david1171:
Create an action in photoshop, then go to file-automate-batch select your action, point it to a folder with your battery images, then press ok.
[Android Themes] theimpaler747:
I've tried that, and it fails on me :( I can never get that right, so I do them all individually ;)

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] rollo1987:
Awesome

Great Guide.
[Android Themes] david1171:
I know if the image is completely white, then using the photo filter set to 100% will work very well.
[Android Themes] casron:
Bravo! Awesome Post!
[Android Themes] theimpaler747:
Glad you find it useful :)

Ah, good to know :D

No problem! Glad you like it! :)
[Android Themes] Newt:
I figured it all out bro thanks for the help.... here's a couple clocks I slapped together
[Android Themes] theimpaler747:
Very nice man! Great work!
[Android Themes] Newt:
Thanks more to come a lot more
[Android Themes] AndroBada:
Thanks you dude!
[Android Themes] theimpaler747:
No problem man! Glad you like it, let me know if you have any questions! :D
[Android Themes] Vazguard:
Nice! It's not hard if you're comfortable with the tools of the trade.
[Android Themes] theimpaler747:
No it's really not. I'm a themer by nature, and I know how to theme, it's the app creation that can get me :o
[Android Themes] Vazguard:
Yea I wish I had more time to learn how to do that.
[Android Themes] theimpaler747:
Ok guys, what would be most helpful for me to add first, an XML guide or a .9png guide?
[Android Themes] dully79:
Must have been half asleep and missed this thread :p

Anyway, good start so far, i wish there was something like this when i started out.

I dont know if your aware of this thread-

http://xdaforums.com/showpost.php?p=9066440&postcount=1

Maybe you can use some of the info for the xml guide?!

Is it ok to paste this thread into my sig??
[Android Themes] theimpaler747:
Absolutely! Great article find too, I'll add that :)
[Android Themes] smoochiezz24:
K cool ,dunno why I didn't think about just adding the apps to system instead of just data anyway, ill try that. Should I uninstall the apps first or can I just delete them from out of data/app? BTW, great thread. I've been pointing a few people in its direction. It's simple clean and straight to the point.

Sent from sweet G2 :)
[Android Themes] theimpaler747:
No problem! I'd just move them to system personally :)

Sent from a truly Epic phone!
[Android Themes] ablivian:
I've been experimenting with the battery scripts

the battery works like it should but, a lot of apps crashes:confused:

I Use apk manager.

the steps that i do:

- 9 Decompile APK

- i go to the drawable folder and i edit the xml files (from the zip) and save them

- copy the images from the battery to the drawable-mdpi folder

- 11 Compile APK

Is this a system apk (y/n): n

-12 sign APK

-I copy signedframework-res.apk to my tools folder (where ADB.exe is in)

-cmd:

adb remount

adb shell

chmod 777 /system

exit

adb push signedframework-res.apk /system/framework/framework-res.apk

adb reboot

OR

the steps that i do:

- 9 Decompile APK

- i go to the drawable folder and i edit the xml files (from the zip) and save them

- copy the images from the battery to the drawable-mdpi folder

- 11 Compile APK

Is this a system apk (y/n): y

Asside from the...

y

extracting (a lot)

press a button to continue (oould be different, it is in dutch on my pc)

compressing (a lot)

-12 sign APK

-I copy signedframework-res.apk to my tools folder (where ADB.exe is in)

-cmd:

adb remount

adb shell

chmod 777 /system

exit

adb push signedframework-res.apk /system/framework/framework-res.apk

adb reboot

ALL THE FILES:Frameworksandstuff.zip
[Android Themes] theimpaler747:
First of all, it is a system app and therefore shouldn't be signed. Also, where are you getting the images from? Are you changing any XMLs?
[Android Themes] ablivian:
I changed the xmlfiles:

- stat_sys_battery_charge.xml

- stat_sys_battery.xml

oke. then i tried it again. I've chosen for system app and i didn't sign it.

It's still the same problem.

I have the images from a online kitchen: circle.glx.nl
[Android Themes] theimpaler747:
Ah ok. You need to do this then, and that's going to be to probably go to my app thread and I can make a mod for you :)
[Android Themes] Vazguard:
This thread has some great videos on basic theming, as well as a video on .9 creation. Check em out - might be worth adding.

http://xdaforums.com/showthread.php?t=593932
[Android Themes] theimpaler747:
Cool cool, I'll add it when I'm at a computer :)

Sent from a truly Epic phone!
[Android Themes] SXUsr:
Hi.

Could someone take a look HERE for me please, from post 15 onwards.
[Android Themes] theimpaler747:
I'll take a look if I have time, I'm pretty busy right now
[Android Themes] SXUsr:
I'll just post it here as the bulk of the thread has been resolved. I'm trying to change the statusbar font colour, and as you can see I've edited the smali file, but I don't see any change, an it's said on the other thread I might be missing some code as the rom is a froyo beta...

...so any help or suggestions would be much appreciated.
[Android Themes] dully79:
@theimpaler747.

This has a nice, simple UI for hex colour(color):p editing for theme noobs like myself

http://www.colorschemer.com/online.html

Can't remember where i found it, i think DaneshM may have linked it somewhere, if so credit to him.
[Android Themes] theimpaler747:
Cool cool when I'm back at my computer I'll link it just remind me :)

Sent from a truly Epic phone!
[Android Themes] theimpaler747:
I think I recall having to change the services.jar to change the font color.... I think, it's been a while since I messed with that ;) :D

Sent from a truly Epic phone!
[Android Themes] Newt:
Couple more clocks I started a thread to its in my Sig

I'm about to move on to nodded other stuff thanks again for the help bro.....
[Android Themes] driftmc:
thanks for the resouce,i wanna translate it into chinese
[Android Themes] theimpaler747:
Ummm.... Glad you like it?

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] theimpaler747:
Wow, nice work man, glad I could help get you going! :D

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] nbeebe24:
How would I go about modifying the dialer pad?
[Android Themes] theimpaler747:
Edit some .9 pngs in the phone.apk and the contacts.apk :D

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] lazie0402:
Every time i try to decompile an .apk for an app the script closes its self. I've tried 2 different market apps with the same result.

exact steps taken:

i place the apk in the "place-apk-here-for-modding" folder

then open the script

I select 22

then choose the apk option 1

then choose 9 to decomple

then the script closes and leaves nothing in the projects folder

i tried restarting the system and i have also double checked to make sure java and adb are in the enviroment variables / system variables PATH
[Android Themes] theimpaler747:
Very odd. Sounds like a question for the apkmanager question. May want to try apktool.
[Android Themes] roscoenr:
yeah apkmanager does not work well with most market apps
[Android Themes] theimpaler747:
Apktool does though ;) :D
[Android Themes] lazie0402:
Thx ill try it as soon as I get my son to sleep.
[Android Themes] theimpaler747:
No problem, let me know how it goes :D
[Android Themes] lazie0402:
One more question I read on another thread that an apk is basically a zip file and IV opened them with winrar. So what's the difference between opening them like that and decompiling them?

Edit: I googled first and didn't find an answer just threads on making battery mods.
[Android Themes] theimpaler747:
Decompiling exposes XMLs and makes them readable, has .9pngs with borders, and actually allows you to recompile and make it an apk ;)
[Android Themes] roscoenr:
decompile converts the samli files so you can read and change them when you just open they do not show up
[Android Themes] lazie0402:
Thank you both Google couldn't tell me the answer. Hehe
[Android Themes] theimpaler747:
No problem, hope this can get you started on theming! :D
[Android Themes] roscoenr:
not a problem
[Android Themes] roscoenr:
Has anyone figured out how to change the progress bar for htc sense the asop one will not change it with sense on the phone

Edit: sorry not the press bar the highlight of the text on sense
[Android Themes] bilbobrian:
I just jumped ship from windows 7x64 to linux mint 10 debian edition (which I highly recommend) I have a question about p7zip , which is the linux port of 7zip. Does anyone know if p7zip functions the same as 7zip does in windows in regards to changing out files and images from within a zip or apk while still keeping the signature valid?

Thanks
[Android Themes] lazie0402:
looks like im gonna have to do alot of reading to get the apk tool figured out and going didnt realize it was command line based
[Android Themes] theimpaler747:
It should if it's 7 zip.

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] theimpaler747:
Yes it is ;) I explained some of it in the op

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] theimpaler747:
Should be a .9 png in framework

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] bilbobrian:
Thanks, I'll give it a shot.
[Android Themes] kevin2516:
The script (apk manager) closes itself if the apk has spaces in the name, well it does for me.
[Android Themes] lazie0402:
Well im still trying to figure out akptool, however i did try renaming the apk to not have any spaces as per what kevin2516 said and it finally decompiled my apks so now i can start trying to theme the apps i want thanks for all the help guys and im sure ill be on this guide and thread for a while.
[Android Themes] theimpaler747:
No problem, we're here to help with more if you need it :D
[Android Themes] ezmun:
I would like to only change the lock screen background image to something different than unlock screen background image. I have read I might need to edit something inside the framework-res.apk but don't know which file to edit. The image I would like to use is a JPG file. Help, please?
[Android Themes] theimpaler747:
What phone are you on? Many phones show the default wallpaper; what does your show and what are you trying to change it to?
[Android Themes] ezmun:
I am using Vibrant. Yes, mine showed the default wallpaper. I want the lock screen to be different than the default wallpaper if possible.
[Android Themes] theimpaler747:
Will take some heavy redirecting in XMLs or changing some smaili most likely. As a new themer, you need to read up a bunch before attempting something like that.
[Android Themes] ezmun:
Okay, thank you. Will put this on my to-do wish list.
[Android Themes] TJaiharn:
Thx ,Sir :D
[Android Themes] theimpaler747:
No problem, glad you've found this useful :D

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] affmalg:
Edit Lockscreensliders?

Hi,

i want to edit the locksceen sliders. i have found already the first and the last parts of the slider in the framework-res. apk. But where is the middle part?

Is that maybe xml coded and then where?
[Android Themes] theimpaler747:
Which middle part? You mean where you're sliding it? Should also be an img.
[Android Themes] affmalg:
Yes, that one.

Here a pic of the images which look like those from the lockscreen. There are from the framwork-res.apk/res/drawable-hdpi

I would suggest that the 9.pngs like jog_tab_bar_left_end_confirm_green.9.png are the ones which you see while sliding... am i right? But those look like if there are just a "endpart"
[Android Themes] theimpaler747:
Yeah, change them all to how you want it. Those aren't just the endparts, they're everything :)
[Android Themes] affmalg:
Nice, Thank you Mate :)
[Android Themes] theimpaler747:
Not a problem, let me know how it goes or if you need anything else! :)
[Android Themes] affmalg:
Hi, again ^^

Everything moded and compiled. Now i want to make the flashable zip.

I used the tool which you also posted.

Well the update-script looks like this:

copy_dir PACKAGE:system/app system:app
copy_dir PACKAGE:system/framework system:framework
copy_dir PACKAGE:system/lib system:lib

This doesn't work. Amon-Ras Recovery says "Can't mount system:app".

Then tried with another update-script:

show_progress(0.500000, 0);
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");

unmount("/system");

Then it says there is an Syntax error in the update script

This is confusing :confused:
[Android Themes] theimpaler747:
I'd just push it to system/framework in this case :)
[Android Themes] affmalg:
That ended always in a force close for me...

And i have a bunch of some more apps which are themed.

How would you build a fashable zip?
[Android Themes] theimpaler747:
To be honest, I'd simply take a flashable zip from a theme and replace it's apps with yours. Then you can edit the update script.
[Android Themes] roscoenr:
http://xdaforums.com/showthread.php?t=717437
[Android Themes] theimpaler747:
That's the link he's already using from the front page ;)
[Android Themes] roscoenr:
My bad missed that

Try this script……

show_progress 0.0 0

copy_dir PACKAGE:system SYSTEM:

show_progress 0.5 0
[Android Themes] affmalg:
Thanks for the help :)

Got it working, should read the instructions better...

Edit:

New Problem: When i edit a decompiled 9.png, just colorized a tagged area with GIMP, leaving the 1px black bordes as the are.

Then i decompile and flash but it gets into a bootloop.
[Android Themes] roscoenr:
any body know what all the "qualifier" pngs int the com.htc.resources.apk are like qualifier_asks_pressed.9.png and 75 more just cruious what they are used for and the common_label ones
[Android Themes] theimpaler747:
Do you recompile the apk? Do you sign it?

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] theimpaler747:
Been a long time since I've worked with sense. Let me have a look at the apk

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] affmalg:
Got it working, after i "reinstalled" the apk manager. It screw up the apk even when i just decompiled and compiled it again ^^ Don't know how many apks i compiled and flashed tonight :D

When i edited a decompiled 9.png, without damaging the border, I always saved with draw9patch again as 9.png. I don't if this makes a difference but it works now :) Thank you.
[Android Themes] theimpaler747:
Not a problem, let me know if you need anything else! :D
[Android Themes] roscoenr:
Ok http://db.tt/l9FUlaG
[Android Themes] theimpaler747:
I'll take a look and see if I can find out what they're for
[Android Themes] roscoenr:
K thanks
[Android Themes] theimpaler747:
Looks like it just gives you the .9png options in different colors for checkboxes and such.
[Android Themes] roscoenr:
Huh cool thanks
[Android Themes] theimpaler747:
Added an advanced decompiling guide in the decompiling post :)
[Android Themes] roscoenr:
I need help I edited my progress_horizontal.xml to make the progress bar red but for some reason there is still a small green line at the bottom

<?xml version="1.0" encoding="UTF-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@id/background">
<shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#ff525558" android:endColor="#ff525558" android:angle="270.0" android:centerY="0.8" android:centerColor="#ff0b0c0d" />
</shape>
</item>
<item android:id="@id/secondaryProgress">
<clip>
<shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#80ff2600" android:endColor="#a07daf18" android:angle="270.0" android:centerY="0.8" android:centerColor="#80ff2600" />
</shape>
</clip>
</item>
<item android:id="@id/progress">
<clip>
<shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#ffff2600" android:endColor="#ff7daf18" android:angle="270.0" android:centerY="0.8" android:centerColor="#ffff2600" />
</shape>
</clip>
</item>
</layer-list>
[Android Themes] theimpaler747:
Did you edit all of the endColors? I'd double check that :)
[Android Themes] roscoenr:
Thank you I looked and looked and did not see anything till you pointed it out
[Android Themes] theimpaler747:
Not a problem, let me know if you need anything else :D
[Android Themes] VegasEvo4G:
Hi impaler-

I was wondering if you could point me towards some gimp "how to's" focused specifically on theming android? I'm mainly trying to figure out the correct way to create a reflection of an icon on a dock. I've found bits and pieces but either I'm reading it wrong, or the way I'm doing it isn't the same way the themers here do it when creating their amazing set ups.

In my quest for trying to figure out this reflection business, I've found some other useful info and I've gone from knowing nothing about gimp to now knowing a little!! I haven't come across a gimp guide just for "android theming" purposes though. With this being the bible of theming, I was hoping for a little direction!

Thanks
[Android Themes] theimpaler747:
I'm hesitant to do this because I don't use gimp, and because there's guides out there for using GIMP :) Reflections and such aren't really theming how-tos, they're GIMP how-tos ;) But anything else you need, more android centered for the guide, I'll be happy to help :D
[Android Themes] VegasEvo4G:
As soon as I hit send, I started thinking that you are way too pro to use a free download from the internet... I'm sure you use that hardcore, expensive stuff!!

I'll just keep looking around through the gimp how to's. I have found a ton of them but they cover everything from how to draw a nose to antimations. Instead of sifting through all the stuff that doesn't pertain to android theming, I just thought there might be a guide out there somewhere on a blog that I'm missing. Plus with so many settings when it comes to creating reflections, what I've read so far doesn't look like the dock and icon sets I see here. It's all good though. Thanks for the input.
[Android Themes] theimpaler747:
Yeah, I use photoshop CS5 :) Have you tried this?