yashsingh1/xdaforums huggingface dataset:
[G1 Themes and Wallpapers] Dave Da illest 1:
yes it is iima have to edit that lata right now i gotta get ready to return my laptop
[G1 Themes and Wallpapers] xavier6303:
Ok cool. Thanks for the prompt response!
[G1 Themes and Wallpapers] hondamx525:
hey i was looking through and i noticed you did have the .9 files edited, what do you mean they can mess up your phone? Also how did you edit it so that the tab is the way that it is across the screen? Thanks.
[G1 Themes and Wallpapers] Dave Da illest 1:
Ill explain more about .9 in my reserved post and more about app designing when I get home..the file ur looking for is in launcher.apk .. under drawable-port and land
[G1 Themes and Wallpapers] Stericson:
Do not edit or open .9.png's They will distort when android tries to resize them, editing them can also make apps force close upon boot. You will make more trouble for yourself by editing these files! Leavem alone! Just opening the files to look at them can make them distort... I fought with these images for weeks and caused serious problems in my theme...

Stericson
[G1 Themes and Wallpapers] brandenk:
Its true! Listen to him! Dont touch the .9.png files!
[G1 Themes and Wallpapers] cannon1616:
I Wish Android Had This

It would be nice if we had a website like this :rolleyes:, http://iphonethememaker.com/

btw, thanks for the simple instructions
[G1 Themes and Wallpapers] xavier6303:
I noticed in framework-res.apk has a "resoriginal" folder with what appears to be all the orignal files. Does this cause any problems when left in the apk or did you just include it so we have a backup?

Do we need to take it out before resigning and flashing?

Can we take it out before resigning and flashing?

Thanks
[G1 Themes and Wallpapers] Stericson:
Just noticed something else, not trying to bash your post Dave but You have to let people know that you need to resign every .apk that you edit! Yes you may get away with not signing the apk, but when the time comes that you've changed something in an apk to such an extent that the sigs do not match anymore, you are going to get stuck at the g1 boot screen. Then you are going to have a hard time figuring out which apk is not signed correctly. Resign every apk just to be safe. Don't cut corners, your gonna end up causing more problems for yourself.

Stericson
[G1 Themes and Wallpapers] xavier6303:
So if you dont touch an .apk, you don't have to sign it right? Just want to be sure.
[G1 Themes and Wallpapers] Stericson:
thats correct, assuming that it has been resigned once already. like if you are building off of one of our themes, all our apks should be resigned, so if you dont mess with it, you dont have to sign it again.

Stericson
[G1 Themes and Wallpapers] blakestimac:
will this theme wipe everything?

and is there a way to edit icons and such?
[G1 Themes and Wallpapers] Dave Da illest 1:
Ahh stupid me I left it in there..that's why my theme was almost 10 MBs lol I didn't think much of it since it worked ! Lol..but yeah you can take it out..or use it as a reference lol I guess it works out for a better that I left it there ..and yeah I edited .9 files but I did it in a way that well it worked for me..but it deffintly won't work all the time..you see the blue black in the phone app when u make a call and how it looks streched out..yeah so that didn't work out type good ..but hey it worked and doesn't look all that bad lol..so some you can edit but in a certain way..and others you can't without it messing up..but don't even considor editing .9 button files..atleast until somebody figures out a way where it won't look funny
[G1 Themes and Wallpapers] Dave Da illest 1:
you can get away wit not signing if ur only editing the icon of the program..every apk in my theme has been signed even ones I didn't edit but if ur. Just editing the icon. And a couple of other things u really don't need to resign..for example.. I didn't sign not one program after I did my back to the future theme ..and my windows 7 theme seems to flash better then my. Back to the future theme..also one other note to add..that if you resign an app..please remember the programs are case sensitive..but to be on the safe side if u edit more then three things in a apk just sign it..as a matter of fact later tonight I will make a auto-sign for every program to make it easy for everyone

And this is non-wipe by default..

Edit- the different things I did from my back to the future theme to this theme for me not to have to resign..

Update to 1.31

Only edit icons.

The procedure I used to save my files.

Changed my theme to non wipe

Or maybe I just have pure luck lol

But listen to the guru on this and sign all .apks don't test ur luck. Like I have ..

Edit 2- I just remember I'm not sure wats the limit u can edit before u have to resign..cause on my framework-res.apk.. I editied over 10 files without signing.. but if you want to test ur luck be my guest..but that's why I put a disclaimer..but the way signapk.jar works is actually quite interesting ..cause it will auto update the meta files and automaticlly add the sha-1 digest files for you
[G1 Themes and Wallpapers] DesignDawg:
Ask and you shall receive:

Excuse me if you already knew all about this, but these files are Android 9-patch files

Nine-patch files are stretchable graphics that allow you to define regions to stretch and regions that will stay the same. This page describes them in pretty good detail.

And you can read how to use the draw9patch tool in your SDK here.

This was just a little something I ran across the other day, and just realized you guys were prob. talking about these.

Hope that helps! Can't wait to see what comes of it. Keep up the good work.

Ricky

DesignDawg
[G1 Themes and Wallpapers] Dave Da illest 1:
ahhhh ricky your a theme developer life saver !!! lol..i have to update my post i'm too tired right now tho i had a ruff day
[G1 Themes and Wallpapers] DesignDawg:
Cool!

Glad to be of service! Funny thing is, I am FAR from a developer of anything. I'm learning Linux and hope to get into programming soon. But I'm a professional graphic designer running an animation/post production studio. --And I have yet to even consider making a theme because it looks like such a headache having to deal with all the "dev" side of it. I'm waiting until an easy designing toolkit comes out, like how you make themes for Firefox or Winamp or something. ;) Lazy. And yet I am the one who happened upon the technical answer for this. The circle of life...

Can't wait to see how it develops, especially now if these tools open up the doors for getting down and dirty with the 9-patches!

Ricky
[G1 Themes and Wallpapers] Dave Da illest 1:
yes it will lol .. i was wondering what those black marks around them was.. but also since your a good designer .. in my auto-sign program .. it makes it way easier to sign it .. all you do is just run it and it signs lol .. thats really it to the dev part.. the rest is all graphic designing..you should really try to make a theme lol its not that much of a headache .. its just alot of files to edit
[G1 Themes and Wallpapers] Stericson:
Hey guys, I already knew about the draw9patch tool and you still cannot edit these images even while using this tool. The only way to edit these images that I know of is by editing them correctly, with the ninepatch tool or photoshop, and then rebuilding the apk from the source. So, sorry to burt yalls bubble :P

Stericson
[G1 Themes and Wallpapers] DesignDawg:
:( You sure? :(

At any rate, at least those docs take some of the mystery about how/why Android stretches those images.
[G1 Themes and Wallpapers] Stericson:
yes, I'm sure. I fought with these images for weeks....I read all those docs you pulled up, tried the tool, tried invisible borders, tried 1px space betwen the images, tried right on the edge of the borders nothing. I am pretty sure these images have to be included at the time opf the build for it to render correctly.

Stericson
[G1 Themes and Wallpapers] Dave Da illest 1:
i guess the .9 files documentation is for other programs... not system files.
[G1 Themes and Wallpapers] blakestimac:
so i was trying to change the gmail and mms icon to the one on the windows theme, and put it in the blue star 5. i swapped them out, and saved. added to the full them of the blue star theme. flashed. no success. i get e: wrong digest system/app/mms.apk. and verification failed. is this possible? is there another way to do it? thanks in advance.
[G1 Themes and Wallpapers] Stericson:
you need to resign your zip.
[G1 Themes and Wallpapers] blakestimac:
i tried resigning, and it doesn't rename the zip. says java is not a recognized as an internal or external command. but also says signing complete, and press any key to continue..
[G1 Themes and Wallpapers] gpo1:
design themes on a mac

I'm newbie in theme,can I develop/design themes using the andriod emulator on a mac?
[G1 Themes and Wallpapers] Marmle:
Where is the windows logo at from the pull up menu? I cant seem to find it anywhere.
[G1 Themes and Wallpapers] jdwme:
I'm getting the same message
[G1 Themes and Wallpapers] damnitpud:
Anyone have a mirror to the Auto-Sign.zip? When i download it only about a meg gets downloaded, it says the file is 100% but i cant extract it, WinRaR says Unexpected end of file.

I have tried to download this file on 2 different computers in 2 different networks, with IE and Firefox.
[G1 Themes and Wallpapers] Dave Da illest 1:
for java command..its because you havent installed java correctly if you even have it installed and im not sure why ur computer says that its an unexpected end..ill try to work on that but yesterday i downloaded every file to my new laptop so i will test it out again that way on a fresh install nothing changed
[G1 Themes and Wallpapers] blakestimac:
i thought i'd installed java, is there a certain program in java i should have downloaded and installed? the jdk?
[G1 Themes and Wallpapers] jdwme:
I already had java but downloaded it from your link to make sure it was up to date, still having an issue
[G1 Themes and Wallpapers] blakestimac:
likewise, do we need to change a path in the environment variables or something to that effect?
[G1 Themes and Wallpapers] jdwme:
could it have something to do with the fact that I'm running vista 64? I'm gonna dig out my old xp laptop and give it a shot on there
[G1 Themes and Wallpapers] blakestimac:
so i got it to work, go to the my computer.advanced environment variables and change the PATH name not the CLASS PATH to whereever you saved the jdk. so mine was. C:\Program Files\Java\jdk1.6.0_11\bin and it signed!!

pretty proud of myself for being such a noob. although it was no major feat.
[G1 Themes and Wallpapers] Stericson:
You need to be aware that PATH and CLASSPATH do two different things. For mine tow ork you edit CLASSPATH, for his to work you may have to edit PATH as blake mentioned. I actually suggest editing both of them in my tutorial.

Stericson
[G1 Themes and Wallpapers] blakestimac:
i actually did do both, classpath, no success, and i didnt edit it afterwards and just did path. so you are probably right, and i was just lucky thinking i could skip a step.
[G1 Themes and Wallpapers] xavier6303:
EDIT* Didnt realize that the issue was figured out. I guess I need to refresh more often. Ill try adding the java class path.

I get the same. Attached is a screenshot
[G1 Themes and Wallpapers] blakestimac:
never saw all that. just makes sure you assigned the environment variables of class and classpath to where the java bin is located and you should be good to go.

also, anyone at the top of their heads know what the tab to pull up the main menu would be called so i can change it up, or what apk at least? thanks.
[G1 Themes and Wallpapers] jdwme:
so, should it be jdk? cause my path for java looks like this C:\Program Files (x86)\Java\jre1.6.0_07\bin
[G1 Themes and Wallpapers] blakestimac:
the link provided on the first page should bring you to the jdk download. when going to c/program files/ java, it seemed like i had alot of different versions, and most of them were the jre, but one jdk, see if you already have it, and just change it to the jdk.
[G1 Themes and Wallpapers] xavier6303:
Hmm. Apparently I dont have a CLASSPATH....I jsut have a PATH variable. I guess I'll wait till I get home to do it.

Should be in app->launcher.apk->drawable-portrait and drawable-landscape
[G1 Themes and Wallpapers] blakestimac:
thanks xav, i think you can make a classpath if you dont have one. not positive, i am just a noob, but i do believe i read that somewhere.
[G1 Themes and Wallpapers] xavier6303:
No problem.

I tried the following:

* created CLASSPATH in system variables with my jre/bin path

* over wrote existing PATH system variable with my jre/bin path (After backing up existing value of course)

No dice.

I'll try from home since I am on a work laptop.

Oh and "noob" is a very relative term. We are all noobs in some way or another. :)
[G1 Themes and Wallpapers] blakestimac:
not sure, but i downloaded the jdk, and it worked for me, another person above has the jre and also is having problems, maybe switching it to the dk woul be the trick! hope so and good luck!
[G1 Themes and Wallpapers] xavier6303:
Did you download the attachment that dave provided or are you using an existing installation of java?

I am downloading the JDK to see if that works
[G1 Themes and Wallpapers] jdwme:
I downloaded the jdk but it installed it but is showing as jre not jdk. How many of you are on vista?
[G1 Themes and Wallpapers] blakestimac:
Xp here, still not working?
[G1 Themes and Wallpapers] xavier6303:
Finally got the auto-sign to work! For those who are still having problems try this:

* Download the jdk and the jre (the jdk for windows xp is http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u11-windows-i586-p.exe?BundledLineItemUUID=EkZIBe.mCrcAAAEemmhSQb2X&OrderID=L5hIBe.mkvcAAAEej2hSQb2X&ProductID=DY5IBe.ogAkAAAEdcjBGb7Et&FileName=/jdk-6u11-windows-i586-p.exe

* Add the system environment variables (right click my computer->advanced->environment variables)

I have this:

CLASSPATH - .;C:\Program Files\Java\jre1.6.0_06\lib\ext\QTJava.zip;

Path - %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\QuickTime\QTSystem\;

The follow the edit/update steps from the first post.

My first update flashed fine. The only thing I changed though, are the dot images for the gps map location. I made the blue part to red so now it blinks red on the map. This was just a test run really so now I can start building!

Thanks everyone for the help!
[G1 Themes and Wallpapers] xavier6303:
Now I am wondering if I can take the browser apk out and put koush's auto rotate browser in my update. Guess Ill have to try it an see!
[G1 Themes and Wallpapers] blakestimac:
Awesome good luck!
[G1 Themes and Wallpapers] blakestimac:
Dubbs post...
[G1 Themes and Wallpapers] Dave Da illest 1:
also with the auto sign should work without changing the change dir

updated 1st post with jdk
[G1 Themes and Wallpapers] hondamx525:
Can anyone help to figure this out.

I took your windows theme, followed the steps and put my files into the framework apk.

I then used the auto sign (dbl click batch file) and it said signing complete.

Put it on the sd as update.zip

it updated, and came out on my phone as the windows theme. im not sure what i did wrong.
[G1 Themes and Wallpapers] mrfrenchfry:
Everything seems to be working fine for me. Thanks dave.

I hit a roadbump, but it turned out my winrar settings was the reason why my theme messed up. Anyway heres some screenies. And there's still soooo much to change ><;

Oh and I was wondering if i could change app icons like imeem or something, i tried with one app but my phone wouldnt install it.

EDIT: oh and i've edit the statusbar_background file but it only shows up when I pull down on the bar.
[G1 Themes and Wallpapers] jdwme:
you should be able to change them if you resign the apk afterwards. I was able to change the app icon on the amazon store, super user, and the terminal emulator
[G1 Themes and Wallpapers] Dave Da illest 1:
Ur theme looks sick I like the youtube icon a lot lol.. and yeah I hate that wit themes there's no easy way..cause there's so many files to edit.. and for the other poster I'm not sure why its still windows 7 ..wat did you change is a good question if u changed one or two files for the most part it will still look like windows 7
[G1 Themes and Wallpapers] xavier6303:
If you change the app icons, will they be over written when downloading a new version?
[G1 Themes and Wallpapers] blakestimac:
yes, but all you have to do is switch them out and resign. it really just gets easier and easier after you do it a couple times.
[G1 Themes and Wallpapers] xavier6303:
Sweet. I think I've got the idea. BUt now I gotta figure out how to modify the .9's without screwing them up. :)
[G1 Themes and Wallpapers] :
what do you mean a .9??
[G1 Themes and Wallpapers] blakestimac:
certain files you cannot manipulate at the moment because they will mess up the phone, resizing issues i believe.
[G1 Themes and Wallpapers] mrfrenchfry:
Hmm anyone know how to edit text? I just wanna change the color of the digital clock in the upper right hand corner.
[G1 Themes and Wallpapers] Dave Da illest 1:
i dont think you can actually change the color of text because its in the .xml files and those seem to be encrypted
[G1 Themes and Wallpapers] mannyb:
Wanted: A "legend" of sorts, documentation, of all .png files (or at least the important ones) within the "Drawable" folder. A short explanation of what the individual png's do and which GUI element they belong to would be awesome. Which files are the ones to focus on when creating a new theme? Say I want to edit the status bar, which png's should I edit?

I'm sure I could figure most of it out by a time consuming trial and error, but a legend would undoubtably make life a lot easier for amateur "skinners".
[G1 Themes and Wallpapers] Dave Da illest 1:
Something like that would have to be a wiki theres to many files for me to write what does what lol.. it would take me weeks to write everything
[G1 Themes and Wallpapers] cannon1616:
iPhone Theme

Im working on an iphone theme. But i have a problem, i edited the .apk files then i signed them. I even signed the ones i didnt used and i signed the zip with the auto sign tool in this thread. My g1 stay stuck at the boot screen when i flash it and i dont know whats the problem can someone help me?
[G1 Themes and Wallpapers] Dave Da illest 1:
what are you using RC 30 ADP or RC 8 ???..what theme did you start with as a base?
[G1 Themes and Wallpapers] cannon1616:
Im using RC30 and i started with the theme thats in the auto-sign.zip I was able to flash it this time its just that now im stuck at the activation screen and i have no signal or anything so i cant get past that screen. I tried to enable wifi via adb shell but it keep saying:

Error type 3

Error: Activity class {com.android.settings/com.android.settings.Settings} does not exist
[G1 Themes and Wallpapers] Dave Da illest 1:
I say start from scratch right now .. reflash RC30 .. then Start with testing your theme see if it will flash without you changing the apps icon .. just flash it with the updated framework-res.. if it flash with that then that means theres a problem with one of your apps
[G1 Themes and Wallpapers] cannon1616:
Do you have any IM screen name? I need to ask you a few more questions.
[G1 Themes and Wallpapers] jdwme:
Anyone see this when flashing an update?

Verifying update package...

E:Wrong digest

app/Phone.apk

E:Verification failed

Just got that with my latest update I built
[G1 Themes and Wallpapers] xavier6303:
I think it means the package is not signed correctly. Did you sign the update.zip before you tried flashing?
[G1 Themes and Wallpapers] jdwme:
no, that's what it was. I had to move everything over to an xp machine to sign it all and the update file worked.
[G1 Themes and Wallpapers] Dave Da illest 1:
good to hear that it worked .. does any body here have experience with making batch files.. i want somebody to help me make batch files for half of the apps .. and i do the other half lol
[G1 Themes and Wallpapers] Meltus:
could someone mirror Auto-sign.zip for me please?

my internet isn't a big fan of mediafire for some reason =/

cheers.
[G1 Themes and Wallpapers] damnitpud:
This would be good for the noob theme makers. But the easiest way to figure it out is to open one of the user created themes, extract the drawable folders from the update.zip, change your view to thumbnail and now you see what everything is.

What we need to do is a basic tut on the files. Like today i found out that not only the files in the framework-res.apk were changed but also in Launcher.apk. It would be nice to have an idea of what apks are need for themes.
[G1 Themes and Wallpapers] toto56:
I can't open this website...

Could U give me Auto-sign.zip to my e-mail?

toto43483@gmail.com

Thanks a lot :D
[G1 Themes and Wallpapers] Marmle:
Anyone know how to mount the sd card when in the system recovery mode? my update went sour and now i freeze at the splash. Figured if i could mount the card so that my computer will see it then i can put a theme on that i know that works. Tried wiping and that didnt work.
[G1 Themes and Wallpapers] Stericson:
To mount the sdcard in recovery type the following in adb

echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file

thanks to JesusFreke for figuring this out.

Stericson
[G1 Themes and Wallpapers] Marmle:
Thank you .. Got everything working again.
[G1 Themes and Wallpapers] Marmle:
Has anyone found the lock screen png files?
[G1 Themes and Wallpapers] Stericson:
the lock screen doesnt have png files it's all xmls...well thats not entirely true. the dividers for the lock screen are in framework-res.apk, but everything else is xml.

Stericson
[G1 Themes and Wallpapers] broopa:
I can't seem to get the auto-sign program to download is it available at any other links yet? I also tried without auto-sign and got it to start the verification profecces but it gave me an error

E:Wrong Diget

system/app/browser.apk

E:verification failed

I used the .apk patching method found in other threads.

Edit:I snagged a screen shot when trying to resign. I think that is my problem any ideas on how to fix it? I know I am doing something wrong I just can't figure out what it is exactly.
[G1 Themes and Wallpapers] Marmle:
I had that problem to and what i found was wrong is when i set the environment variables i had a space after the semi colon so it looked like this... ; C:\... and to fix it i took the space out so it was like this ;C:\ hope that helps... good luck.
[G1 Themes and Wallpapers] blakestimac:
I don't know if this has been answered, probably. But how do you resign an individual apk? Do you just use the auto sign or is it something way different?
[G1 Themes and Wallpapers] inmyrem:
I know this is late, but I just wanted to say thank you for this posting. I wanted to make some simple colour changes to a few things on some themes I'm enjoying and wasn't sure how. Now I do and I'm happy. ;)
[G1 Themes and Wallpapers] broopa:
I tried that with no luck.
[G1 Themes and Wallpapers] Marmle:
Did you do that on both the class and the path? Also do you have everything in the same folder? The testsign.jar the testkey.pk8 and testkey.x509 and all the rest of that stuff?
[G1 Themes and Wallpapers] broopa:
All 3 of those are in my tools folder. Should I put them in a separate folder and link to that one?
[G1 Themes and Wallpapers] mannyb:
Ok, so I downloaded an existing theme for ADP1 (brandenk's Kspec theme), changed a few png's in the drawable folder (I never touched the .9.png files) and saved the updated files within the framework-res.apk and then saved the zip file according to the step-by-step instructions in the original post in this thread.

Then I renamed the Kspec zip to update.rar and ran the Auto-Sign bat file, which created a file called update_signed.zip, just as it should. But this is where I'm getting confused; the update.zip file (my modded Kspec theme) is roughly 12 MB, but "update_signed.zip" created by Auto-Sign is only 3 MB. Is this right? Seems odd to me.