Need help from a fellow liberty theme. I've been having problems theming .9.png's. It doesn't seem to matter if I decompile, theme, and recompile, or just use gimp/photoshop in or out of the file. I'm using an existing theme already I'm not building xmls or anything using the same resources. I'm also using draw9patch to draw the patches for when i decompile it. After recompiling it and or flashing it it either bootloops or it'll boot up but EVERYTHING will force close or all of the .9.png's are stretched weird and show the black lines I put in with draw9patch. Is there any themer that could share a step by step guide on how they do it or how to deal with theming .9.png's. any how to out there is not working and its getting really difficult not to give up. I'm sure it is probably my fault but theres no guides on this and I'm really trying to learn
Sent from my DROIDX using XDA App
It may not be the images causing your bootloops or FC's, but a different issue when recompiling. When you recompile, do you get .9 error messages? If not, try pulling out your images and adding them to the original framework-res.apk just through 7zip. If you do get error messages from the .9's while compiling then it is an issue with the guides not being drawn correctly.
UnkleDuke said:
It may not be the images causing your bootloops or FC's, but a different issue when recompiling. When you recompile, do you get .9 error messages? If not, try pulling out your images and adding them to the original framework-res.apk just through 7zip. If you do get error messages from the .9's while compiling then it is an issue with the guides not being drawn correctly.
Click to expand...
Click to collapse
I didn't get any errors this last time. And I used archive manager on Linux to pull the images from the drawable hdpi folder to the one in the themes folder I'm using as a base and it is a liberty 1.5 theme and I'm using liberty 1.5 and everything was fc'ing
Sent from my DROIDX using XDA App
First, read this thoroughly:
http://developer.android.com/guide/developing/tools/draw9patch.html
You take a .9, rename it to a regular .png. Open it, edit it, save it. (as .png still) open that .png inside of draw9patch, add your lines. Save the image (as a .9.png). Put the image into eclipse to recompile the image. (Make an unsigned .apk, and pull it)
This is the only way I've ever done it, and it works every single time. People saying that you should add the lines in photo shop or anything else are lucky I guess, caues I've never got that to work for me.
joe772 said:
First, read this thoroughly:
http://developer.android.com/guide/developing/tools/draw9patch.html
You take a .9, rename it to a regular .png. Open it, edit it, save it. (as .png still) open that .png inside of draw9patch, add your lines. Save the image (as a .9.png). Put the image into eclipse to recompile the image. (Make an unsigned .apk, and pull it)
This is the only way I've ever done it, and it works every single time. People saying that you should add the lines in photo shop or anything else are lucky I guess, caues I've never got that to work for me.
Click to expand...
Click to collapse
I use draw9patch save it and put it in the drawable hdpi used apktool to compile and then just pulled em to the other drawable hdpi grrrrr
Sent from my DROIDX using XDA App
http://androidforums.com/droid-x-all-things-root/246462-theme-help-tutorial.html
sometimes i take the png they give, open it up in photoshop and draw over the layers. that way the size resolution and other things remain the same except for the image
Related
Just recently been into themes and knew how they work.
If I use some kind of batch image resizer to resize hdpi png's to mdpi, and put those resized in drawable-mdpi it would work.
Am I correct? I see no reason why it can't be as easy as that.
I resize them with GIMP. Don't know what you use but in theory have to work
well, i don't know any coding language.
Maybe someone could make a script to resize images??
it would be a pain in the a** to resize them one by one
There are many batch resize windows apps that will let you convert a complete folder full more at once..
just google it
Sent on the run from my Magic 32A
It will not work on many .9.PNG files unless you resize them from source. Sorry but I've tried it with my theme. .9.png files are not just normal png files. They are made to stretch and readjust depending on the orientation of your device (landscape versus portrait) and may have what is called 'guides' coded within the images to tell the OS how to display that graphic. If you were to edit that file in any way those guides are over written and it messes up your whole theme. So if you were to use a batch resizer you would probably experience a disgusting looking interface coupled with acore crashes. Unless of course you used the files from source and just created the app from the source code. But who knows you might get lucky and whatever app that you are trying to theme may not use those pesky .9.png files.
Binary100100 said:
It will not work on many .9.PNG files unless you resize them from source. Sorry but I've tried it with my theme. .9.png files are not just normal png files. They are made to stretch and readjust depending on the orientation of your device (landscape versus portrait) and may have what is called 'guides' coded within the images to tell the OS how to display that graphic. If you were to edit that file in any way those guides are over written and it messes up your whole theme. So if you were to use a batch resizer you would probably experience a disgusting looking interface coupled with acore crashes. Unless of course you used the files from source and just created the app from the source code. But who knows you might get lucky and whatever app that you are trying to theme may not use those pesky .9.png files.
Click to expand...
Click to collapse
Thank you for this Binary100100..
In a regular theme, about how many pngs are .9?
and what do you mean "created from source"?
MicroMina said:
Thank you for this Binary100100..
In a regular theme, about how many pngs are .9?
and what do you mean "created from source"?
Click to expand...
Click to collapse
.9.png with guides? I have no clue. For an entire rom... I would say over a hundred easily. There are about a dozen of them just in the Dialer app itself. If you modify any one of them the whole thing get's messed up. It's very delicate. What do I mean create it from source? Download the source code from HTC website on a Linux machine and create the ENTIRE rom from scratch. It's not that hard actually once it's all set up. Before you do the "make" command you would do your xml edits, resizing, color edits, etc. You can tell what a .9.png file is because it has a line on the right of the image and a line on the bottom beneath it. It will have a black pixel at the top and one on the left. So you edit those files the way that you want it and then create the app or the entire rom. If you chose to create the entire rom then remove the parts from the rom that you don't want in your theme and then make an update-script file for your flashable theme. Nobody said that making a theme is fun or easy and in many cases the developers of the theme (like myself) do it just because they did it for their own device and chose to share their work. On average if you want to create an entire theme it will take you at least 30+ hours of work if you are already set up and knowledgable with Linux and image editing. That's how long it took me anyway.
Thank you for this very informative post.
I guess its not that easy after all. Maybe one day I could try it.
Thanks again.
MicroMina said:
Thank you for this very informative post.
I guess its not that easy after all. Maybe one day I could try it.
Thanks again.
Click to expand...
Click to collapse
Oh it's plenty easy, it's just very time consuming to make a theme from scratch and since you can't take a 3kb file measuring 20 x 20 and turn it into 36 x 36 and turn it into a 5.4 kb file without losing resolution (thus defeating the purpose of being on a AMOLED HD display) even if you were to suceed it probably still won't look very good. Think of it like this. Take a standard 800 x 600 video for your non-high definition television. Sure it looks alright but what about if you displayed it on a 1080p television. Is the picture going to look any better? Not really because it's the quality of the video and not the television itself. Now, if you could enhance the video... it would make a huge improvement. But by simply resizing the images wouldn't really do anything for a HD screen (my theory anyway).
But if you build everything from the source code (that is such as Cyanogen's github) and edit all the images from scratch then you shouldn't have a problem. But it is VERY time consuming like I mentioned before. I loathe the idea of upgrading my phone now because that means that my current theme along with all of the work that I've done with it... will be obsolete until I can do it all over again from source. Ugh.
im running steelh and i have the blue epic style battery. how can i get the battery percentage into that without using different icons? i tired the online kitchen but my phone is stuck in a bootloop.
anybody? the kitchen just gives me errors.
ive used the online kitchen before with no issues, but id like to know how to this manually.
Sent from my panty-dropper.
ericwgarza1 said:
ive used the online kitchen before with no issues, but id like to know how to this manually.
Sent from my panty-dropper.
Click to expand...
Click to collapse
i cannot get it to work no matter what i do. can any dev help out here? i want the blue epic style battery with percentage. aside from the png's what files do you need to get this working on a sense rom? all of this hassle is making me want to go back to cm6, at least on that we can use the settings to accomplish alot of things we cannot on sense roms.
can you add the battery percentage mod into a rom that doesn't by default come with it? i heard about needing a modded services.jar file? or do i have to go with a different rom here for what i need? the online kitchen will simply not work for me.
The battery mods are accomplished by editing xmls and pngs in framework-res.apk
SteelH said:
The battery mods are accomplished by editing xmls and pngs in framework-res.apk
Click to expand...
Click to collapse
i have the png's but i have no clue how to mod xml files. im pretty good at Frankensteining themes together but for the life of me i cannot get this to work.
A couple of things: are you using a deodexed or odexed rom? Are you trying to add the circle battery to your existing theme or are you just trying to add the battery period?
I made a "dummy" flash file a while back that "prepped" odex roms before flashing the battery percentage mods.
You can also decompile the framework you want and transfer over the pngs and xmls for the battery mod into your existing framework.
Decompiling would be the best route as you would have to recompile it with the new xmls added to the resource list.
I would/could help but I won't flash anything on my evo right now since I currently have it hooked up to debug an app. Just send me the framework file from your phone and the battery mod you want and I can take a look at them and hopefully recompile it for you.
lovethyEVO said:
A couple of things: are you using a deodexed or odexed rom? Are you trying to add the circle battery to your existing theme or are you just trying to add the battery period?
I made a "dummy" flash file a while back that "prepped" odex roms before flashing the battery percentage mods.
You can also decompile the framework you want and transfer over the pngs and xmls for the battery mod into your existing framework.
Decompiling would be the best route as you would have to recompile it with the new xmls added to the resource list.
I would/could help but I won't flash anything on my evo right now since I currently have it hooked up to debug an app. Just send me the framework file from your phone and the battery mod you want and I can take a look at them and hopefully recompile it for you.
Click to expand...
Click to collapse
its the steelh deodexed rom. i have alot of themes going on and i do not want to loose them. i just want the battery with the percentage in it. ive attached what you may need, thank you.
I'll take a look at them now.
Give me some time.
lovethyEVO said:
I'll take a look at them now.
Give me some time.
Click to expand...
Click to collapse
thanks for taking the time!
Found a clue about the problem.
The online kitchen I believe has a disclaimer about .9pngs in the framework.
Basically if some .9s are not edited correctly it can cause an error in the decompile/compile process.
The framework you gave me throws an error when trying to compile. I have seen this error many times before and it always results in the changed files (xml and pngs) not being inserted into the newly compiled framework.
I decompiled/compiled three times, same error and the changed files were not inserted into the compiled apk.
Your problem lies in the framework and the tools ability to properly process the .9s.
Also, the epic zip you gave me does not have any xml files to tell the framework what png to display and it has 80 more pngs for the battery charge animation.
This is not something I want to spend more time on right now but the info I'm giving will hopefully get you in the right direction.
I think the two .xmls that needs to be edited are:
stat_sys_battery.xml
stat_sys_battery_charge.xml
Decompile a framework-res that already has the mod included and you should get an idea of what to do.
Someoneplease let me know if I'm wrong. Thanks!
ericwgarza1 said:
I think the two .xmls that needs to be edited are:
stat_sys_battery.xml
stat_sys_battery_charge.xml
Decompile a framework-res that already has the mod included and you should get an idea of what to do.
Someoneplease let me know if I'm wrong. Thanks!
Click to expand...
Click to collapse
There are actually 3 xmls needed for the battery mod.
The op stated he has a theme going and he doesn't want to lose it. The only way to incorporate the battery mod and keep his theme is to add the battery to his existing framework.
As I explained above, .9s are special pngs and if they are not edited correctly will cause the decompile/compile tool to throw an error. Themers will edit .9s and although they will show properly on the phone the tool used to decompile/compile the apks will notice if the .9s are incorrect.
What the online kitchen does and what I did manually are the same thing and more than likely with the same tools. The epic pngs the op supplied did not have any xmls and so im surprised the online kitchen was able to produce an apk.
If I spent more time on it I could probably figure it out but I am already occupied with another time consuming task.
What is the other .xml named?
I'd like to personally (for learning purposes) add the battery percentage to a stock framework-res.apk manually. Thanks!
Try this. I give no guarantees at all since I manually inserted the xmls and pngs. Also since there are 80 more pngs for the charge animation there's no way of telling how it will look.
lovethyEVO said:
There are actually 3 xmls needed for the battery mod.
The op stated he has a theme going and he doesn't want to lose it. The only way to incorporate the battery mod and keep his theme is to add the battery to his existing framework.
As I explained above, .9s are special pngs and if they are not edited correctly will cause the decompile/compile tool to throw an error. Themers will edit .9s and although they will show properly on the phone the tool used to decompile/compile the apks will notice if the .9s are incorrect.
What the online kitchen does and what I did manually are the same thing and more than likely with the same tools. The epic pngs the op supplied did not have any xmls and so im surprised the online kitchen was able to produce an apk.
If I spent more time on it I could probably figure it out but I am already occupied with another time consuming task.
Click to expand...
Click to collapse
Good explanation thank you. I think I have the similar problem I unzipped my framework and changed my battery and it worked. The only problem is I can only use the six charging animations. A little research last night and I realized I needed to edit the xml. Decompiling my framework would not work and I think your explanation helps me understand why.
ericwgarza1 said:
What is the other .xml named?
I'd like to personally (for learning purposes) add the battery percentage to a stock framework-res.apk manually. Thanks!
Click to expand...
Click to collapse
maybe public.xml
I've been a long time reader and I've learned quite a bit today on Android and its applications. I've been trying to recompile a modified Protips.apk and have it successfully run on my D1. I've been unsuccessful, and would like some pointers on where to looks next.
I'm intrigued by the modified Home Screen Tips widget as seen on Cyanogen and BuglessBeast. I figured I could do it too since it seems rather simple.
I pulled Protips.apk from my D1, archived it somewhere else, and ran apktools to decompile the app. I found that in: res/values/arrays.xml there's all the code I need to start changing text. I wanted to do something basic like Hello World as a test, so I slightly changed the first item to read Hello World! on the first line. So I edited the .xml file and considered the job done.
I recompiled my modified contents using apktools, and pushed the apk to my phone. It didn't show up in the widgets menu, so I figured I needed to sign the thing.
First I tried copying the META-INF data from the original APK into the new one, and though the you could apply the widget to the homescreen, it'd error. "Problem loading widget." Next I took the original manifest and popped it into the new APK. Same thing.
I thought I could try singing the modded APK myself. After recompiling I ran the APK through Auto-Sign. It still errors.
Someone mentioned that if you're modifying XML files, the resources.arsc file should be removed "prior to recompiling." I'm lost at this point, since when you decompile with apktools, you don't have access to that resource. If you remove it from the final apk, the app doesn't show up in the widgets menu.
I'm trying to figure out where I'm going wrong. Surely it has to be something rather simple.
------------------
Resolved
Decided to give Apk Manager a try. Decompiled the APK, edited the arrays.xml file, Compiled (deleting resources.arsc where instructed in the keep folder), signed the app, then pushed it to my phone. It works. I'll attempt the process using apktools again now that I have a working mod.
derik001 said:
I've been a long time reader and I've learned quite a bit today on Android and its applications. I've been trying to recompile a modified Protips.apk and have it successfully run on my D1. I've been unsuccessful, and would like some pointers on where to looks next.
I'm intrigued by the modified Home Screen Tips widget as seen on Cyanogen and BuglessBeast. I figured I could do it too since it seems rather simple.
I pulled Protips.apk from my D1, archived it somewhere else, and ran apktools to decompile the app. I found that in: res/values/arrays.xml there's all the code I need to start changing text. I wanted to do something basic like Hello World as a test, so I slightly changed the first item to read Hello World! on the first line. So I edited the .xml file and considered the job done.
I recompiled my modified contents using apktools, and pushed the apk to my phone. It didn't show up in the widgets menu, so I figured I needed to sign the thing.
First I tried copying the META-INF data from the original APK into the new one, and though the you could apply the widget to the homescreen, it'd error. "Problem loading widget." Next I took the original manifest and popped it into the new APK. Same thing.
I thought I could try singing the modded APK myself. After recompiling I ran the APK through Auto-Sign. It still errors.
Someone mentioned that if you're modifying XML files, the resources.arsc file should be removed "prior to recompiling." I'm lost at this point, since when you decompile with apktools, you don't have access to that resource. If you remove it from the final apk, the app doesn't show up in the widgets menu.
I'm trying to figure out where I'm going wrong. Surely it has to be something rather simple.
------------------
Resolved
Decided to give Apk Manager a try. Decompiled the APK, edited the arrays.xml file, Compiled (deleting resources.arsc where instructed in the keep folder), signed the app, then pushed it to my phone. It works. I'll attempt the process using apktools again now that I have a working mod.
Click to expand...
Click to collapse
Using apktool you must sign after other wise it won't install... I had issues using it to do a status bar mod.. Wondering if I can just sign it using that apkmanager and have it work... I used a kitchen to sign mine and it didn't sign right...
some of the png's i open in photoshop have a black background/black pixely border. i have took a ss of one of the media control images as an example and it's attached below.
if anyone knows why this is happening could you please give me an idea? It's not all just a few here and there.
droidx11 said:
some of the png's i open in photoshop have a black background/black pixely border. i have took a ss of one of the media control images as an example and it's attached below.
if anyone knows why this is happening could you please give me an idea? It's not all just a few here and there.
Click to expand...
Click to collapse
because i believe you are looking at .9.png's which use black borders as a guide for stretching if the file is something.9.png then that is your answer
hmm.. i haven't seem to have a problem editing the .9 PNG's, i've tried searching this forum and a few other forums and haven't found that anyone has asked this.. that particular png file name is "ic_media_play". i've also had the same problem when opening the wifi, 3g, some of the keyboard buttons, the "spinner_black_16" image. i've tried opening them in firefox then copying image, dragging them directing into photoshop and a few other things. sorry if this is a newb question...
droidx11 said:
hmm.. i haven't seem to have a problem editing the .9 PNG's, i've tried searching this forum and a few other forums and haven't found that anyone has asked this.. that particular png file name is "ic_media_play". i've also had the same problem when opening the wifi, 3g, some of the keyboard buttons, the "spinner_black_16" image. i've tried opening them in firefox then copying image, dragging them directing into photoshop and a few other things. sorry if this is a newb question...
Click to expand...
Click to collapse
well ic_media_play isnt a .9.png so if it has a black outline its just for the way it looks the wifi, 3g, and spinner_black_16 images you shouldnt have a problem with since they arent .9.png's either, most of the keyboard images are tho and will need to be decompiled and recompiled to get them to work correctly. im working on a theme right now and theres no easy way to edit them, oh also if you're using something like 7zip to open up the apk that might be your problem i edit most of mine in Linux so i dont remember if you can open them in Photoshop without decompiling but the best way is to decompile, edit, then recompile and there are guides out there that describe how to better than i could but search for apktool or apkmanager
Funnyface19 said:
well ic_media_play isnt a .9.png so if it has a black outline its just for the way it looks the wifi, 3g, and spinner_black_16 images you shouldnt have a problem with since they arent .9.png's either, most of the keyboard images are tho and will need to be decompiled and recompiled to get them to work correctly. im working on a theme right now and theres no easy way to edit them, oh also if you're using something like 7zip to open up the apk that might be your problem i edit most of mine in Linux so i dont remember if you can open them in Photoshop without decompiling but the best way is to decompile, edit, then recompile and there are guides out there that describe how to better than i could but search for apktool or apkmanager
Click to expand...
Click to collapse
first i'd like to thank you for your response. what i am doing is unzipping the contents from framework-res with winrar. (i was planning on just replacing the unzipped folders with the existing folders that are in framework-res, just overwriting them.) then i just pulled the images from the unzipped folder, res -> drawable-hdpi, into photoshop... in the unzipped folder thumbnail image, these images seem to look okay, no border/stroke around the edges, no black bg etc. but in photoshop they seem to have locked layers named "index" which i just change the mode to RGB to make the layer editable. i'm not sure what i'm doing right, i'm sure it's something i'm not doing right, i just can't figure it out - maybe i'll try a different program to unzip the folder?
i've attached a ss of the folder with the thumbnail images looking okay.
(p.s. this theme is for my gf)
I've been working on a theme also, though not for the DX... I had to completely remake the PNG's in question. I'm on OSX using Photoshop and it does the same thing. First start with an indexed color version then once you get it done on a block level convert it to an RGB 8-bit image and smooth the image with a very mild gaussian blur or lens blur... personally I use gaussian.
Here's a screenshot of mine in action... I made the "empty" signal bars hollow with a neon outline..
You'll want to use 7-zip, not sure about the black stroke on the images, sounds like a .9 PNG issue. I don't use Photoshop personally, I use Fireworks. It could be Photoshop putting the stroke on the images...If you have access to Fireworks, trying using that instead.
k0smo86 said:
You'll want to use 7-zip, not sure about the black stroke on the images, sounds like a .9 PNG issue. I don't use Photoshop personally, I use Fireworks. It could be Photoshop putting the stroke on the images...If you have access to Fireworks, trying using that instead.
Click to expand...
Click to collapse
winRAR is fine too you can open a zip file without having to unzip the entire contents, personally i use linux/Ubuntu which has an awesome photoshop like picture editor G.I.M.P. idk if you can download it or not for windows but you could check it out
droidx11 said:
first i'd like to thank you for your response. what i am doing is unzipping the contents from framework-res with winrar. (i was planning on just replacing the unzipped folders with the existing folders that are in framework-res, just overwriting them.) then i just pulled the images from the unzipped folder, res -> drawable-hdpi, into photoshop... in the unzipped folder thumbnail image, these images seem to look okay, no border/stroke around the edges, no black bg etc. but in photoshop they seem to have locked layers named "index" which i just change the mode to RGB to make the layer editable. i'm not sure what i'm doing right, i'm sure it's something i'm not doing right, i just can't figure it out - maybe i'll try a different program to unzip the folder?
i've attached a ss of the folder with the thumbnail images looking okay.
(p.s. this theme is for my gf)
Click to expand...
Click to collapse
lol sure its for HER lol you can use 7zip/winRAR either one but use it to extract the drawable res folder out and pull them into photoshop, edit the ones you want and put them back in the one already zipped up, but if you do it that way stay away from .9.png's
XGX5309 said:
I've been working on a theme also, though not for the DX... I had to completely remake the PNG's in question. I'm on OSX using Photoshop and it does the same thing. First start with an indexed color version then once you get it done on a block level convert it to an RGB 8-bit image and smooth the image with a very mild gaussian blur or lens blur... personally I use gaussian.
Here's a screenshot of mine in action... I made the "empty" signal bars hollow with a neon outline..
Click to expand...
Click to collapse
looks very nice so far, did you edit the analog clock also? looks amazing... thanks for the tips.
k0smo86 said:
You'll want to use 7-zip, not sure about the black stroke on the images, sounds like a .9 PNG issue. I don't use Photoshop personally, I use Fireworks. It could be Photoshop putting the stroke on the images...If you have access to Fireworks, trying using that instead.
Click to expand...
Click to collapse
thanks for the advice, i'll give fireworks a try and see how it turns out.
Funnyface19 said:
lol sure its for HER lol you can use 7zip/winRAR either one but use it to extract the drawable res folder out and pull them into photoshop, edit the ones you want and put them back in the one already zipped up, but if you do it that way stay away from .9.png's
Click to expand...
Click to collapse
hahaha yea i was trying on that pink to see how it looked on me . I'm going to try to dl GIMP along with fireworks to see how they turn out and yea i've read about those .9.png's on other threads about how they weren't changing over in certain apps. hopefully i won't run into this problem but if i do then its back to the pros on xda for advice. lol
Update - Editing the PNG's in fireworks, works like a charm, a lot smoother. Thanks everyone for your useful and helpful information
You should be able to option +2x click the index layer and then cmd + J in PS to mod it without redrawing it.
Hth
Sent from my SCH-I800 using XDA App
I saw this in an article on droid-life: Here
Original Thread: Animated status bar pulldown for GB roms
Hope this could help some devs/themers get this going for us EVO users
The Author of this is: Alastrionia
Youtube Demo
MODS: If this should not be here, please remove, and my sincere apologizes.
Animated status bar pulldown for GB roms
First off this should work with all GB based roms that use systemui.apk
there may be subtle differences but the basics should be the same all around.
after much trial and error and ripping what little hair I have left out
success was mine and it's time to share this with everyone
and it's so simple that you'll love how fast you can integrate this into ROM's / themes / whatever your heart desires
1. take your systemui.apk and decompile it
2. navigate to layout folder
3. grab "status_bar_tracking.xml" and open it up in your editor
(now for the fun)
4. to the first line - "com.android.systemui.statusbar.TrackingView" add this ""android:background="@drawable/...anim.xml""
<com.android.systemui.statusbar.TrackingView android:background="@drawable/...anim.xml...>
5. after saving that, navigate back into the drawable folder and add your animation.xml file there
5a. next navigate into the drawable/hdpi folder and add your animated images
6. also in the drawable/hdpi folder find and open up the shade_bg.png with your editor and make it 100% transparent
7. now it's time to recompile your apk , following all the usual directions with that
8. enjoy your newly created systemui.apk with a pretty animated background. new and fresh and unlike anything before
that's it. done deal. it's super easy and fast and breathes life into true customization.
I used the stat_sys_upload.xml from the framework-res.apk as my base
all I had to do was change the timing and change the image names.
also you'll notice above - don't copy it word for word on the xml.
I did the "..." meaning whatever you decide to name your file.
I'll try to throw up a video shortly of my success with this so everyone can see it.
Click to expand...
Click to collapse
You lost me at "decompile"
SantinoInc said:
You lost me at "decompile"
Click to expand...
Click to collapse
I think by that he means to open the systemui.apk
I used 7zip to open a cm7 nightly just now and it's located in the system/app folder. Inside the .apk theres:
res (folder)
AndroidManifest.xml
classes.dex
resources.arsc
Inside the res folder:
anim (folder)
drawable (folder)
drawable-hdpi (folder)
layout (folder)
xml (folder)
Hopefully some themers can get some pretty nice/cool things done with this.
No you would have to decompile the apk with a apk decompiler..Unzipping it will not work.Thats just for replacing images.
1 Aw3s0m3 M0d!!
i'll help people if they're having trouble. probably won't do this personally.
and yeah, to see .xml files correctly, you need an apk decompiler.
Nice find! Will definitely try this.
forgive me if im not reading this right.... is this for aosp of sense?
What will they think of next
Evolutionmods said:
forgive me if im not reading this right.... is this for aosp of sense?
Click to expand...
Click to collapse
I believe this is for AOSP but reading through the entire thread someone says "this also works on the com.htc.resources.apk for sense ROMs."
Subbed and Definitely Interested!
More demos with different animations are starting to appear. This is looking really awesome.
http://www.youtube.com/watch?v=gf7lFsAkxFA
http://www.youtube.com/watch?v=vte37qjSiEc
Oh yeah. I got big plans for this one. Cant wait to get some time to sit down and code it. It really is as simple as stated.
It's not just for gingerbread. I shot this with my crappy 5 year old digicam.
Another demo:
http://www.youtube.com/watch?v=HAHoKJ2N0Xw
Has anyone given this a go on the EVO yet??
Yeah, I got it working...Needs some tweaking. I tried it with a 24 frame boot animation.. very laggy. I suspect that a 8-15 frame animation would do well
blassilando said:
Another demo:
http://www.youtube.com/watch?v=HAHoKJ2N0Xw
Has anyone given this a go on the EVO yet??
Click to expand...
Click to collapse
The vid I posted above yours is on an evo.
Would either of you mind posting your xml so i could use it as a reference? Not totally clear on that part of it. Thanks.
http://www.dropbox.com/referrals/NTEyOTE1MzA3OQ
http://www.youtube.com/watch?v=HEKsfTiaif0
Ill gladly be a testbot for anyone working on this for our evos
would be nice to get a zip we can flash. so everyone including us noobs can get this mod.
thanks for the info great job