yashsingh1/xdaforums huggingface dataset:
[Epic 4G Themes] thomasskull666:
From your log all I can deduce is that something is either missing (all of the undeclared errors) or there is a fault with APKManager itself. It seems strange that editing ONLY strings.xml would cause statements in public.xml to become undeclared, especially so many. Now forgive me if I'm wrong since I haven't used APKManager in quite some time, but I do remember having issues with recompiling apks that had strings.xml previously modifed by someone else. My best suggestion would be to pull the stock framework and work off of that, doing steps one at a time and recompiling/testing after each one.

Been a long time since I've paid any attention to this post, sup dreams!

:-)
[Epic 4G Themes] dreamsforgotten:
Thomas my dude where you been? Been a quick minute, hit me up on gtalk sometime.
[Epic 4G Themes] monstaX:
well thanks guys I'll keep trying.:)
[Epic 4G Themes] the1dynasty:
love this thread and added something i think is helpful... please contribute if you can! [GUIDE][ICS]Themeing/Modding For Dummies!
[Epic 4G Themes] the1dynasty:
it looks like you didn't copy over some files... specifically this:

platform-tools"\adb.exe
[Epic 4G Themes] MДЯCЦSДИT:
Adb does not matter nearly as much as aapt in that error. Try using apktool and the windows files for it. Extract those both in your multi-tool folder .
[Epic 4G Themes] dreamsforgotten:
You need to install the framework into aapt, driving someone please explain

Sent from my Galaxy Nexus
[Epic 4G Themes] ÜBER™:
I wish there was a master guide to themeing Touchwiz... so many xml's i wouldnt know where to start and what to change. Currently working on a theme what needs to be change to get the pop up menus transparent? Also in the settings apk what xml changes the letter color and the lines? :) Is there anything else i should edit?
[Epic 4G Themes] dreamsforgotten:
Styles.xml
[Epic 4G Themes] MysteryEmotionz:
No need to ps3 the question in to different threads. Check the other thread for your awnser

Sent From Da Hood.
[Epic 4G Themes] chris378:
yea i tryed that with the signed-Fallen_Theme_Glass and when i decompile it i got a message saying "Cant find framewrok resources for package of id: 127.
[Epic 4G Themes] dreamsforgotten:
Wait now I'm confused, or you are. I thought you had a framework you were able to decompile no errors and change some text colors it just wouldnt flash. If that is the case and you just can't flash it in CWM 3, then take the .zip file from Fallen_Theme_Glass and copy your framework (the one you recompiled and it did work) and whatever else is in the theme you are trying to flash, into that zip. The difference is in the script that installs it.
[Epic 4G Themes] chris378:
Alright we are close to being on the same page lol sorry thank you for being patient..I want to take the framework from the fallen them and edit just the color values (pretty much just changing colors around right) but when i decompile the framework it gives me that error but still gives me a folder to edit in my project folder..so i open the project folder and open the framework folder and i got to the values folder to change some colors around..then i compile it again..everything goes 100% fine..then i copy and pasted the unsigned framework (but renamed it framework-res.apk) and tryed to flash it but tells me its bad. What am i doing wrong? pls help lol im far from stupid just new to this
[Epic 4G Themes] dreamsforgotten:
I think your main issue is trying to decompile and re compile a theme. You can't only a stock framework. Your best bet would be ask the dev to change that text for you since he has the source on his machine it dont take long. The edited images in his theme are the first problem.
[Epic 4G Themes] chris378:
I definitly have alot to learn if "edited images" is whats keeping me from changing text colors lol So my best bet is to start from scratch with the Stock DI18 template and change what i want..then add the META-INF from a theme that is CWM3 compatable..zip it up and BOOM i got a theme? lol
[Epic 4G Themes] theimpaler747:
Nice work, check out my guide as well, I've got some nice tools there too :)
[Epic 4G Themes] MysteryEmotionz:
The gb theme is for dk28 do your I'm assuming your on dk28. Your gonna have to start with a dk28 framework

Sent From Da Hood.
[Epic 4G Themes] dreamsforgotten:
Edited images dont decompile and recompile right in apk manager the only edit you can pass through it is xml which is your color changes. Trust me ask the dev of the theme what you want it really shouldn't be a problem.
[Epic 4G Themes] amosher13:
also, the issue with the script would actually tell you it aborted due to some error (status 6 or something). saying its "bad" is actually stating that the file is bad. i had this happen before 2 on a few files in a row, probably a bad download. try making the file again or getting it to your phone in a different way, ie: dropbox, email, better data cable etc... should be fine
[Epic 4G Themes] henboffman:
This is a great post, and a big reason that android is what it is. I have a question, and I apologize if it has been covered already somewhere or another. Essentially, what I want to do is copy images from one theme and use them on another (I want to use the gingerbread theme available for 2.2, and run it on 2.1). At first, I figured that copying and pasting the drawable-hdpi files would suffice. I realize that there will be xml color manipulation involved, but this is trivial. My confusion lies in the order of operation for replacing image files. When the APK manager gets to that "you'll find a folder named keep, delete any files you changed" prompt is where I get confused. You somewhat cover this in the tutorial, stating to add the edited files after recompiling, or else you'll cry, although I'm not sure WHEN after recompiling I should be doing this, since later in the guide, it discusses signing the apk, which occurs directly after recompiling.
[Epic 4G Themes] dreamsforgotten:
When you get to that point where your following the on screen instructions, and it creates the keep folder, your keeping the original signature so there should be no re signing to begin with. After you delete your edited xmls in the keep folder and it recompiles successfully, pull your finished framework-res.apk (which is named wrongly unsignedframework-res.apk, it is signed) to somewhere else on your pc. Now browse it as an archive with 7 zip and replace the drawable-hdpi. Then flash it.
[Epic 4G Themes] timberwolf671:
Need to give you a thanks, for your post is where I got my start when coming to the Android world and theming. Without it I would still be lost.
[Epic 4G Themes] MysteryEmotionz:
Personally I never reference this post untill the other day. Boy am I glad its here.

Android Creative Syndicate- From spontaneous ingenuity, comes creative brilliance
[Epic 4G Themes] dreamsforgotten:
Thanks for that I was trying to get more people involved and theming
[Epic 4G Themes] timberwolf671:
If more gave it a try, they would better understand how much is spend on a theme. More so than making a rom which can be done 1-2 hours. That's not saying those that are don't spend as many hours as we do.
[Epic 4G Themes] MysteryEmotionz:
I'm well over 80 hours invested in my theme. This time includes the time I spent on it on eclair since all I did was port my eclair build to froyo. It just sucks no one understand the complexity of a full blown theme. I've been told "all you do is make pretty pictures in photoshop".

Android Creative Syndicate- From spontaneous ingenuity, comes creative brilliance
[Epic 4G Themes] BigNate:
Thanks man for making the guide it helped so much I didn't know how to edit xml files but I do now.
[Epic 4G Themes] dreamsforgotten:
Np homie, glad it's reaching people.
[Epic 4G Themes] timberwolf671:
This post needs to be done as a sticky so it doesn't get lost in the thread.
[Epic 4G Themes] dreamsforgotten:
+1 I keep the link in my signature so people can find it easy but between this guide and the one written by Impaler, they should be stickied in theming.
[Epic 4G Themes] MysteryEmotionz:
I'll ask him to stickie them cause I think they should be also

Android Creative Syndicate- From spontaneous ingenuity, comes creative brilliance
[Epic 4G Themes] theimpaler747:
Stuck thread ;)
[Epic 4G Themes] dreamsforgotten:
Appreciate that dog! I used to have to search for it myself :)
[Epic 4G Themes] MysteryEmotionz:
See I don't lie ;)

Android Creative Syndicate- From spontaneous ingenuity, comes creative brilliance
[Epic 4G Themes] dreamsforgotten:
bump

10 chars
[Epic 4G Themes] thomasskull666:
I think this should be stickied as well, it is a prerequisite to the next in the series.
[Epic 4G Themes] dreamsforgotten:
I sent a message yesterday to impaler to change them out the other guide dont have links cause it's the last one
[Epic 4G Themes] theimpaler747:
Merged threads and compiled the guide in order. This required deleting some posts, so sorry for that. Nonetheless, all guides merged.
[Epic 4G Themes] jrjpoohscell:
long story short, i'll have to have a rooted phone.. man i wish there were cats around my way in south jersey that can do this stuff for me...
[Epic 4G Themes] MysteryEmotionz:
Its not hard if you follow the instructions

Android Creative Syndicate- From spontaneous ingenuity, comes creative brilliance
[Epic 4G Themes] dreamsforgotten:
you can do it 4 yourself. Root is easy. Click a button and got root. Recovery is easy. Push another button got recovery. Just read more in the development thread and the wiki youll get it! Need even more help pm me I'm not in south jersey but I can still walk you through it.
[Epic 4G Themes] solblack:
I can't wait to test this out. I've never used Gimp before but have worked with PS a ton so I shouldn't have a problem. I mainly just want to make my own icons for this and add them to themes.

I will put my thanks out prior to trying this out because it looks like it took a ton of work.

edit: I do have a few questions though. For the tools I have most things dled except for the eclipse thing mentioned. I believe I read before that is needed for developers. Second this seems a tad bit old. Would the stock theme provided still work with EB13?
[Epic 4G Themes] dreamsforgotten:
No the the template isn't relevant any longer. Eclipse is needed for .9.pngs you might get into that later on after you get your feet wet ;). And yes this was a lot of work but the hardest part was teaching it all to myself first th e write up was a bit easier. Let me know if you need extra help later on!
[Epic 4G Themes] sjc924:
If the template is no longer relevant, what do you recommend as a starting point?

Edit: I'd like to start a theme from scratch based on stock EC05. I'm new to creating themes but I think that is where I want to start...
[Epic 4G Themes] thomasskull666:
You simply need to obtain a stock EC05 framework. This can be done by extracting from a stock EC05 rom.
[Epic 4G Themes] dreamsforgotten:
Whatever rom you planning on themeing, you need the stock deodex rom. Open the zip of the rom and navigate to system/framework/ and pull out the framework-res.apk and twframework-res.apk. Make your edits accordingly. To put it together in a zip to flash after you've finished the theme find a theme for the same exact rom and download it. Open the theme to system/framework/ and copy your edited framework-res/twframework-res into that theme zip and make sure to delete any other files that might be in there such as (services.jar android.policy.jar /system/fonts/) to ensure none of their theme bleeds through yours. That's the quick and easy of it without getting into too far in how to make update zips from scratch. One thing on the theme you download do not mess with the meta-inf folder for any reason. That's the signature of the zip and needs to stay in tact. Now here's your problem. I don't see, so far, a deodex ECO5 without being one of the major roms which radically change the framework. Soooo, you will need to use the stock deodex EC13 rom for your source files until one comes out. Anything else you need feel free to hit me up.
[Epic 4G Themes] sjc924:
Good information, thank you very much

Edit: Is there a guide somewhere for creating update zips?
[Epic 4G Themes] dreamsforgotten:
One other thing a stock deodex theme template can be created by anyone and this is what it includes:

You take a current theme, even if a new OS comes out for the phone, themes always flash to system/ and data/ which will remain the same. So the part of the theme zip that actually flashes your theme components won't change as long as your zip is for the Epic. So take a theme and delete everything inside the sytem folder so when you open the zip you have two folders system/ (which is now empty) and META-INF. Next you open the stock deodex rom of whatever rom you are themeing for ex: EC05. Pull everything out of the system folder into your theme template system folder. Now you have a stock theme template because it contains the system/fonts, apps, framework, etc. This is important because themes change different files and if you flash a real in dept theme and then flash a basic one, your left with the components form the first theme that aren't changed in the new theme. If you flash your theme template inbetween, it returns all the possible edited files back to stock. Raiderep refers to this file as a "Theme-Cleaner". The true theme template has a script in it which targets your system/framework and your system/apps and deletes any file with a .odex extention then overwrites all the stock files in there with new clean deodexed files. This allows you to flash this right over a stock sprint rom from OTA (as long as you have root) and prepare your phone to be themed. This hasn't been made since I made the version for DI18 because each OTA that gets released, a deodex rom is released for CWM which essentially does the same thing. Although I prefer to flash a theme template vs and entire rom, its redundant to have both.
[Epic 4G Themes] usagi111:
Is there any other image editor you can recommend other than GIMP, I've read 3 different books, been to a few threads on other sites, and I cannot pick it up, I've gotten my feet wet with eclipse and the AVD, and I'm up to speed with the other tools to extract the framework.apk...but I cannot put what I got in mind (or on paper) on a png file...I know there's Photoshop, but they said GIMP was the easier of the two and I can't get my head around it...
[Epic 4G Themes] dreamsforgotten:
Only thing that comes to mind is paint shop pro anyone else?
[Epic 4G Themes] usagi111:
Ahhh...THAT jus might work...hmmmmm....thanks for the tip...if anyone else knows another...holla!
[Epic 4G Themes] shane6374:
I have a question on xml's. I am trying to change the color of the menu text and mms text from black to white. I can't find the xml file that controls that. Can any of you point me in the right direction?

Thanks!
[Epic 4G Themes] dreamsforgotten:
Sure res/layout/status_bar.xml look for id @ticker text. You have to add in the field android: textcolor ="ffffffff" with what color you want
[Epic 4G Themes] Not too sure:
FYI. The link at the top of the very first post doesn't work.
[Epic 4G Themes] shane6374:
That's because this thread was cleaned and that link went to what is now post #2.
[Epic 4G Themes] dreamsforgotten:
Exactly, sorry I missed this post. Impaler merged all threads into one. Only thing is the first one is the second one and the second one is the first one.
[Epic 4G Themes] deano0714:
Dreams do you know how to fix when the aosp lockscreen is landscape it goes sideways? Thanks in advanced man.
[Epic 4G Themes] dreamsforgotten:
If you're referring to the pictures returning to stock they are in the drawable-hdpi-land
[Epic 4G Themes] Overstew:
If I choose to delete the default wallpaper when I zip up the entire folder, will it simply NOT overwrite the current one when the user flashes?

Thanks and I'll give this a try. :D
[Epic 4G Themes] dreamsforgotten:
Not usually. Only overwrites the wallpaper if the user is still on stock wallpaper. If they set a custom one then it will remain the same. For this reason I chose to overwrite one inside launcher.apk
[Epic 4G Themes] dreamsforgotten:
Me personally no I really don't have the time. If your dialer images are too big you can start by loweing the resolution of all the non .9 files to see what fits and work from there.
[Epic 4G Themes] imakul8:
Thanks for sharing the trade secrets.:D I couldn't "Thank" your original post so I did it for your latest one.
[Epic 4G Themes] NoPh33rRaCiNg:
Thanks for the great info!
[Epic 4G Themes] dreamsforgotten:
No prob thats why I do it
[Epic 4G Themes] shane6374:
Anyone know what controls the text color I've circled for the mms on the attatched shot.

Thanks
[Epic 4G Themes] dreamsforgotten:
no clue off top but here's a suggestion. Load that pic in gimp, sample the text color and look at the hex code for it. Then search the xmls for that code.
[Epic 4G Themes] thomasskull666:
Try starting in styles.xml and maybe some xml's in the drawable folder.
[Epic 4G Themes] KennyG123:
I have found most of the icons in the apks and changed them with 7zip. The stock phone apk icon has eluded me. I changed the one in res\drawable but it did not change the icon that shows in the dock or app section. It shows my icon looking at the apk with root explorer. Soooo...where is the one I need to change for the dock? Is it in framework-res or hidden well in the phone apk? Thanks for this tutorial!
[Epic 4G Themes] dreamsforgotten:
Dialer tab activity.apk!
[Epic 4G Themes] KennyG123:
Awesome...just pulled that to try next! Worked like a charm....now would you happen to know where they keep that default rectangle of white squares they use for apps?
[Epic 4G Themes] dreamsforgotten:
Not sure what your talking about
[Epic 4G Themes] KennyG123:
In stock launcher, Zeam or launcher Pro, they use a white set of 16 squares for the button on the dock to open up the apps drawer. Usually it is dead center of the dock.
[Epic 4G Themes] dreamsforgotten:
Ah gotcha its in the launcher in one of the drawables
[Epic 4G Themes] KennyG123:
It's in launcher2.apk? And Zeam or LP use it from there on the dock?

Do you BONSAI?
[Epic 4G Themes] dreamsforgotten:
No each launcher users its own images
[Epic 4G Themes] KennyG123:
Hmmm...not in Zeam's drawable-hdpi where I usually find them. Will look in the other drawables. Thanks. I thought it might just use a system default since when a launcher crashes usually the only thing that shows is that default apps icon.
[Epic 4G Themes] dreamsforgotten:
Drawable-hdpi is pictures that only display on high res phones a lot of times these icons are universal to all res and can be found inside drawable
[Epic 4G Themes] KennyG123:
Got it. Had a wierd name and looked different on the computer screen. Thanks for all the help. This self-theming is cool and makes my phone more my own.
[Epic 4G Themes] dreamsforgotten:
Good deal glad your picking up on the guide!
[Epic 4G Themes] Overstew:
Your guide helped tremendously on the 9pngs. I must ask why do they have to be so difficult? haha

Thanks for your help!
[Epic 4G Themes] KennyG123:
It's awesome! Not only did I mod a bunch of apps, also put everything including boot and shutdown anis, clock restore for Bonsai, and battery full beep into a flashable zip to have for next time I flash a ROM. You are the best! Thanks.
[Epic 4G Themes] dreamsforgotten:
It's the nature of a .9. What they're purpose is that the same picture is used all over the phone in different places. This means they will be different sizes each time they are displayed. Stretching an entire picture can turn very ugly trust me. The black lines programed into the picture serve as "guides" on what to stretch and tell the picture when stretched which part of the picture holds things on top like a text box. The right side of the .9 tells the image how much of the text box to allow the text to show up in.
[Epic 4G Themes] KennyG123:
OK, ran into a little snag. I tried both Zeam and ADW Launcher editing the apps dock icon and it works when I push the modded apk to data\app. Now when I reboot the launcher I modded no longer appears as a launcher choice. I have to delete the modded one and resinstall to get it back. Am I doing something wrong?
[Epic 4G Themes] dreamsforgotten:
Don't push change the icon. Then re sign the app. Then uninstall the original. Then install themed version. You won't be able to update it tho thats the nature of themeing market apps
[Epic 4G Themes] KennyG123:
Crap! Missed that step! OK resigned app and now it stays! Awesome yet again! Many thanks my friend! Next week the xml files!
[Epic 4G Themes] dreamsforgotten:
I'll be around
[Epic 4G Themes] Overstew:
I'm redoing a lot of the images in my MattedReds theme but it's not going well. Almost all of the .9 images I've redone (with the draw9patch lines still visible) are being claimed "malformed" by eclipse and wont let me compile the android application. How can I get eclipse to work for this?
[Epic 4G Themes] dreamsforgotten:
Open the images with draw 9 patch and re trace the lines
[Epic 4G Themes] Overstew:
I'll see if that works.
[Epic 4G Themes] shane6374:
Does anyone know how to change the size of the progress bars like the volume bar?

TIA
[Epic 4G Themes] dreamsforgotten:
Never changed the size but if you can its in progress bar horizontal in the regular drawable folder
[Epic 4G Themes] shane6374:
Damn that was fast. Would you think its an xml? I ask because I've seen at least 3 different sizes in themes, and I've just used whatever was in the framework base.

Sent from the Epic Dark Horse via Tapatalk
[Epic 4G Themes] dreamsforgotten:
Its definitely an xml. There is a number beside all three lines, I've only ever changed the second and third lines not even sure what the first ones do.
[Epic 4G Themes] shane6374:
I'll try it, thanks and I'll slap the button when I get on a pc.

Sent from the Epic Dark Horse via Tapatalk
[Epic 4G Themes] dreamsforgotten:
No prob and thank you!
[Epic 4G Themes] ZiggSVO:
Had to shoot you both a thanks because if it wasn't for either of you I wouldn't be able to do the minimal I'm able to do lol
[Epic 4G Themes] shane6374:
Dreams, Do you know which xml controls the text color in the softbar menu and sub menu? Right now I have the .9.png changed to a black background, but I need to change the txt color.

Thx
[Epic 4G Themes] dreamsforgotten:
Styles.xml look for something with widget and menu in the name toward the bottom also google android theme system text there is a guide for it on droid forum
[Epic 4G Themes] DroidXcon:
Hey Dreams,

I apologize if this question is misplaced but i ran into a small problem with my Droid Charge, and i was told that you would know if anyone.

I was given a tutorial on adding reboot, reboot download and reboot recovery. But after i edit public xml i try to compile and it gives me an error:

public.xml:4222: error: Public symbol drawable/reboot declared here is not defined.

I am not using existing id's i find the last id's and just continue

in this case the last id is 0x01080505

so i added these lines:

<public type="drawable" name="reboot" id="x01080506" />

<public type="drawable" name="recovery" id="x01080507" />

after i add those lines and try to compile i get those errors, do you know what is holding me back?

am i suppose to use existing id's?

and later on when i edit publick type=string, can i use the apktool_dummy id's or do those need to be left untouched.

again i apologize if this was the wrong place to post.

thank you
[Epic 4G Themes] dreamsforgotten:
Sure its easy just add an image in the drawable-hdpi to be the reboot icon easiest way is to copy the shutdown icon starts with ic_ so it should be easy to find. You can't declare a image in public and not have that image in your folder.
[Epic 4G Themes] DroidXcon:
Ok ill keep at it , maybe im missing something , ill start over.

thanks so much
[Epic 4G Themes] dreamsforgotten:
All your missing is a picture in drawable named reboot.png recover.png thats it