draw9patch Questions! - G1 Themes and Wallpapers

When using the draw9patch tool, after saving over .9.png files and uploading on to the phone, I can see the black pixels around the edge that indicate where the stretching seams are.
The stretch seams look fine in draw9patch and everything scales beautifully in the preview, but once on the phone its all scaled uniformly and not how I set it up. Opening the new .9 images in photoshop also shows the black pixels around the edge. This is not the case with the original .9 files.
Can anyone help me figure out what I'm doing wrong?

In order for these images to work correctly you have to throw the 9 patched images into the source and build the source with them included. however, noone has done it. I know of one that tried and it looped his phone everytime. I also know that the source adds specific code to the images. I haven't tried to do it myself, been working on other things.
Stericson

Gotcha, thanks for the info!

Related

[THEME] Megaman (Hv1.5A2SD)

Had so many ideas floating around in my head about this one I couldn't help but use my day off yesterday to throw it together. Compiled JrBourque's blue VK for this build. worked out pretty well =)
http://www.mediafire.com/file/dt5v4iytg2f/Hv1.5_Megaman_A2SD_final.zip
This is the pre-status bar version. That's my next step and I'll likely be posting an update to it w/ the status bar and notification background modded to match. Then i think I might take a few days off lol (aside from posting the Gambit theme once my homeboy tinkers w/ the clock for me). I haven't stopped since I started working on my Amazing Spider-Man theme nearly 2 weeks ago lol.
More screenshots...
Awesome. I love megaman. Great work with the icons!
Ooglez said:
Awesome. I love megaman. Great work with the icons!
Click to expand...
Click to collapse
Thanks =). It was deathly slow at my work the other day and I was playing Megaman 2 on my Dash and got all kinds of ideas and inspiration. Couldn't shut my brain off until I saw the project completed lol.
Hey that music widget needs to re-signed thats why in port it's off.
Keep up the good work! Not my style but looking good.
wowzerz
Droppin the megaman theme out of no where, without so much as a warning! ?!??!! That's boarder line illegal
manup456 said:
Hey that music widget needs to re-signed thats why in port it's off.
Keep up the good work! Not my style but looking good.
Click to expand...
Click to collapse
Resigned? I've never had to sign anything other than the update.
Adding the guide lines using either 9patch or if you know how to do it using CS3 and signing the .9.png using eclipse. Thats what i am talking about as far as signing.
great theme, can u port it to JF 1.5?
manup456 said:
Adding the guide lines using either 9patch or if you know how to do it using CS3 and signing the .9.png using eclipse. Thats what i am talking about as far as signing.
Click to expand...
Click to collapse
yeah I spent about 3-5 hours trying to get eclipse to work right. Once I figured that out I spent another 2-3 hours trying to master the skill of editing in 9patch, following the steps precisely but just couldn't get it to look right =L It was too foreign to me and I just ended up giving up in frustration. It seems what the image looks like is variable on where you place the markers on the top and left columbs. Just couldn't get the image to look right no matter what I tried. And yeah... was following damnitpud's instructions. =( I guess I'm just not naturally inclined for editing in 9patch as some others might be.
But I'm pretty okay w/ the MP3 player as long as the inner isn't stretching out of the body or anything like that. When I copy the file from a Haykuro G build into the 1.5 as I have w/ this one, it just seems to take the same shape as the default mp3 player and that looks aight by me since I can't seem to comprehend 9batch editing he he. Thanks for the feedback man.
I've seen some of your work and work by others on here and the graphic design elements of the themes puts mine to shame lol. I'm just really inpsired to make themes based on sources of influence, like Spider-man, Megaman etc. etc. =) I keep it real basic compared to most but I have fun with it and that's all that really matters in the end I guess.
Aight. Got the Statusbar done. Was tempted to dive deeper and make all the notification icons blue as well... But it looks good as is and I don't think I'd have the time to mod the 60+ images required to acheive that end lol.
http://www.mediafire.com/file/dt5v4iytg2f/Hv1.5_Megaman_A2SD_final.zip
Send me the two icons ill send them back with the guides for you to see how it's done,you said you do have eclipse working?
manup456 said:
Send me the two icons ill send them back with the guides for you to see how it's done,you said you do have eclipse working?
Click to expand...
Click to collapse
Awesome. That I do =). I'm drivin to work right now but will send the files to ya tonight when I get back from work (about 8PM pacific). Thanks man =)
G1-8701 said:
great theme, can u port it to JF 1.5?
Click to expand...
Click to collapse
Thanks to the help of Manup... I FINALLY have a semi-sound comprehension of editing the stretchable images (IE the images that are used for the music widget and VK among other things). Thus I'm currently working on making a custom music widget, and might change up the notification are a lil more before I'm completely finished. Once I am ill prolly make an attempt to port it to JF. If its as easy as pasteing over all my modded apks into a JF build it should be a snap (any insight/input on this from anyone else on here would be much appreciated =)).
This theme is looking nice. I know my bro would love it. Is there any way you can make one of Zero? I tend to like more the Z-Zaber than the Buster, lol..
just my .2 cents..
AndroidAutobot said:
Thanks to the help of Manup... I FINALLY have a semi-sound comprehension of editing the stretchable images (IE the images that are used for the music widget and VK among other things). Thus I'm currently working on making a custom music widget, and might change up the notification are a lil more before I'm completely finished. Once I am ill prolly make an attempt to port it to JF. If its as easy as pasteing over all my modded apks into a JF build it should be a snap (any insight/input on this from anyone else on here would be much appreciated =)).
Click to expand...
Click to collapse
thanx man!!!!!
update -
Music player skinned. Notification background changed out. I cleaned up the image on the menu background so it's not so obvious that it's tiled and looks a LOT cleaner now. I thought that image looked a lot better than the one I was previously using for the notification background so I used it there instead as well. Here's the updated link -
http://www.mediafire.com/file/dt5v4iytg2f/Hv1.5_Megaman_A2SD_final.zip

i created an animated boot image that reflect from lines

hi all
inspired from this video i managed to create one of my own
its a simple 4 image combined fan
what you actually see is that fan spinning
i upload the images so you understand...
this is the android-logo-mask.png(if you cannot see just download it to your pc and open with photoshop)
and this is the android-logo-shine.png
the android-logo-mask.png image its our fan.. it wont move from is position
the android-logo-shine.png image is the lines that create the animation - it has to move!
i added these to framework-res.apk resign and all that reboot my phone and this is the result!
its work perfect..! well its a really lame animation but imagine what you can do with it
Especially if we can control the speed of android-logo-shine.png
regards
Roy
update:
well i just bring here this idea you can use it for a more complex animations or if one of the developers here can manage to control the speed of the "android-logo-shine.png" file it will be great
use this images to guide you and if you want the PSD just PM me its more understandable..
update:
PSD - http://rapidshare.com/files/271886641/boot.rar
Its so confusing!!!! O_O... lol how does that work?... its super cool...
If you use your g1 and move the pictures it gives that affect. Nice job way to go might use your idea if it isn't wrong with...ok???? Pm at [email protected]
well divided the image to 4 vertical lines that representing each frame in the animation (in our case its 4 frames )
the three first lines are blocked with a full black line that prevents us from see the three other frames
the 4th line are empty and seethrough so we can see only one frame each time
then when we move the image with the lines a little sideways the animation reveals
mohsinkhan47 said:
If you use your g1 and move the pictures it gives that affect. Nice job way to go might use your idea if it isn't wrong with...ok???? Pm at [email protected]
Click to expand...
Click to collapse
ok man feel free
Awesome idea op! I loved that book. Great job though..really innovative thinking with limited material we have to work with.
Barina said:
well divided the image to 4 vertical lines that representing each frame in the animation (in our case its 4 frames )
the three first lines are blocked with a full black line that prevents us from see the three other frames
the 4th line are empty and seethrough so we can see only one frame each time
then when we move the image with the lines a little sideways the animation reveals
Click to expand...
Click to collapse
hmmm... I see... so the effect should actually slow down if you divided the image to 8 vertical lines... just make the 4 vertical lines twice as wide... especially if you seperated it to 12... which would make the 4 lines 3 times as wide... not sure if that will fit on the G1 screen though ... this was a very nifty Idea... I wonder what I can come up with with this idea... hmmmmmm ... thanks for sharing this with us
For those that wants to see this in action without downloading or installing it do this:
Open this thread on a PC
Click and drag the 'lines' image over the fan image
move it back and forth
You'll see the intended effect on most browsers that support drag and dropping images with picture preview.
Of course if you're fancy, you can just put the first image on top layer in photoshop and the second image on bottom and move the second (bottom layer) that way.
Looks awesome :]
Ted417 said:
hmmm... I see... so the effect should actually slow down if you divided the image to 8 vertical lines... just make the 4 vertical lines twice as wide... especially if you seperated it to 12... which would make the 4 lines 3 times as wide... not sure if that will fit on the G1 screen though ... this was a very nifty Idea... I wonder what I can come up with with this idea... hmmmmmm ... thanks for sharing this with us
Click to expand...
Click to collapse
it wont slow down it will remain consistent but the black lines will be thicker and look not so good..
ofcourse the 4 lines repeat itself
prash said:
You'll see the intended effect on most browsers that support drag and dropping images with picture preview.
Click to expand...
Click to collapse
good idea i just tried it on Firefox
prash said:
For those that wants to see this in action without downloading or installing it do this:
Looks awesome :]
Click to expand...
Click to collapse
ok smart guy... i gotta give you props. I would've never thought of that. A simple effective solution. Well played sir!
HAHA ... it is possible I was thinking about doing this from looking at my kids books it is a Zebra animation effect. In which the Vertical lines go over dots/lines it generates a movement/animation effect. http://flashfabrica.com/f_mov_obj/slitAnime/e_horse.html <= running horse. There are so many. And it is not hard to do I need to find the link to the software that enables this to be done with white and black images. Yet I don't have a lot of time at my hands due to work fulltime, go to school fulltime, and have a wife and kids all the other times.
EDIT: the animation technique is called SLIT ANIMATION google there are endless posibilities there is even a double slit animation technique.
rgbmode said:
HAHA ... it is possible I was thinking about doing this from looking at my kids books it is a Zebra animation effect. In which the Vertical lines go over dots/lines it generates a movement/animation effect. http://flashfabrica.com/f_mov_obj/slitAnime/e_horse.html <= running horse. There are so many. And it is not hard to do I need to find the link to the software that enables this to be done with white and black images. Yet I don't have a lot of time at my hands due to work fulltime, go to school fulltime, and have a wife and kids all the other times.
EDIT: the animation technique is called SLIT ANIMATION google there are endless posibilities there is even a double slit animation technique.
Click to expand...
Click to collapse
oh thanks good to know! slit animation...
i recommended using Photoshop
yeah a running horse carrying the G1 symbol would be cool
cool
This looks really cool but also confusing to do at the same time ill try it since I have photoshop
Wow, just saw the running horse image.
It's a little complicated, but we'll no doubt see some cool stuff with this technique.
Amazing work.
Can u upload ur pics to another site? the one u have it on doesnt work for me. thnx

			
				
Ha...thats bad ass....Truly one of the more, if not most, innovating ideas I've seen on here...very very neat.
Stericson
thanks
Looks sick dude, oh and that first splash screen you have is very sexy can you make one saying android instead of your name and release it, i would def like to see that on my g1, goes well with the Blue Droid theme I just made, you can check it out here: http://www.flickr.com/photos/[email protected]/
diaztradeinc said:
Looks sick dude, oh and that first splash screen you have is very sexy can you make one saying android instead of your name and release it, i would def like to see that on my g1, goes well with the Blue Droid theme I just made, you can check it out here: http://www.flickr.com/photos/[email protected]/
Click to expand...
Click to collapse
hey man if you want ill send you the PSD of my boot screen you can change text fields as you like

Transparent Status Bar--Instructions for DIY

Disclaimer: I do not have any formal training with anything I'm covering here and it's entirely possible….dare I say probable…that I may state something incorrectly either partially or wholly (hopefully I’m not that far off). So this is just how I've come to understand things from my own self study as well as staring smali for countless hours (although I have to say the more I learn, the more I learn I don't know ). Hopefully there’s another beginning android hobbyist that finds this useful and/or inspires him to try some new things.
**These instructions apply to Mac and Linux only, due to the fact we're working with aosp source and building in windows is not supported at this time**
Enabling Translucency
I approached this a little different than I’m used to seeing in terms of a mod. Normally we start off by decompiling an apk and go from there. Since this is for an aosp rom, we have easy access to the source code and can make changes there. Now, I don’t proclaim to know java. I have very, very little programming experience, and even that is limited to an introductory C++ class I just took. But even without knowing java, you’ll have a much easier time reading java source code than you will smali. So, yes, you need to sync with aosp to use this guide. It's not hard, and there's good instructions HERE. As an aside, my personal opinion is that anyone that a true-blue xda'er should have aosp syned...even if you have no intention of building roms. It's like an android encyclopedia. I've learned A TON just from poking around/reading though some parts. I probably comprehend < 10%, but it's easily been one of the most beneficial things I've done to further my understanding.​
So now you have the source code. What we need to change is the PixelFormat for the statusbar. In froyo and gingerbread this was done in StatusBarService. It’s been changed a little in ics, although the edits remain in SystemUI. The two files I changed were StatusBar and PhoneStatusBar.
Starting in the root of your aosp working directory, the absolute path of the first file I edited is
Code:
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/StatusBar.java
Open this in a good text editor. The PixelFormat parameter is specified in the getStatusBarHeight function. In the version I edited it is easily found on lne 124. Just search for “PixelFormat” and you’ll find it. (ignore the search return that’s part of the import statement at the beginning of the file) As soon as you get there you’ll see the problem. PixelFormat.OPAQUE. Replace OPAQUE with TRANSLUCENT. Save
Next you make similar edit in PhoneStatusBar.java. From the same directory that StatusBar.java is in, go to the phone directory and open PhoneStatusBar.java in your text editor. Now this file is much, much longer to read through. Rather than doing that (of course you can if you want) just performa search for that same text again “PixelFormat” You’ll get several returns, some of them will already have TRANSLUCENT set.
BUT...Don’t get carried away and change all the OPAQUE values. One of the search returns will be part of the function getRecentsLayoutParams (starts on line 378). The portion of code that you might be temted to change checks the PixelFormat by way of a boolean test
Code:
(opaque ? PixelFormat.OPAQUE : PixelFormat.TRANSLUCENT)
I left this alone.Edit: After reading the entire code a little bit more, I think we could change it to
Code:
PixelFormat.TRANSLUCENT
without any ill effects, although I'm not sure what, if any, additional benefit we'd see. I have not tried.​
The exact places I did change OPAQUE to TRANSLUCENT were in lines 311, and 481. That’s it for the code portion. Make sure to save your changes. Now go back to the res directory and we need to edit some xml files.
From the root of the SystemUI directory, open res/values/colors.xml. Find the entry for “status_bar_background” and change it’s value to whatever you want. In mine I’ve set it to “a6000000” which black but 35% translucent. The first 2 characters control the opacity on a scale from 0-255 where 0 is completely transparent and 255 is fully opaque. That value is then stated in hexadecimal format; e.g. 0=00, 255=ff.
*if you also want a translucent bottom menu bar, it is set in res/layout/navigation_bar.xml. Change the hex value of android:background=”ff000000” to your desired value for opacity.*
Now you should have all the edits in place for a translucent statusbar. All that’s left is to compile the apk. Before you compile SystemUI, you need to have ran the extract-files script. Only needs to be done once. Connect your phone to the computer(making sure that usb debugging is turned on) then in terminal, starting from the root of your aosp working directory:
Code:
cd device/samsung/maguro/
./extract-files.sh
Let the script finish. It will create a new vendor directory in the root of your working directory and copy several files from your phone.
Now cd back to the root of your working directory and run
Code:
. build/envsetup.sh
Note the period and space before build. This is an important step which initialized the build environment. Several new commands will be available now such as "mm" "mmm" "croot" amongst others. Type "help" (without the quotes) for a full list of the new commands available.
Next step to build your SystemUI is to run lunch. Just type "lunch" and press enter:
Code:
pendo:master pendo$ lunch
You're building on Darwin
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_stingray-userdebug
5. full_wingray-userdebug
6. full_crespo-userdebug
7. full_crespo4g-userdebug
8. full_maguro-userdebug
9. full_toro-userdebug
10. full_panda-eng
Which would you like? [full-eng]
It will list the available builds. Number 8 should be for maguro-user debug. Select it and press enter. And lastly, type
Code:
make SystemUI
It will take several minutes to build, especially the first time. But once it’s done, your new SystemUI will be in out/target/product/maguro/system/app/SystemUI.apk.
Here is a SystemUI that I built that has a translucent statusbar. It also has a circle battery mod I recently made in ics blue. This was built on 4.0.3 sources.
Here's a flashable zip:
TransStatusbar-SmoothCircleMod_4.0.3.maguro-signed.zip
Smali edits
OK...here's some instructions as a smali edit. Things to keep in mind here....smali is, for me at least, challenging to follow and fully comprehend what you are looking at. Also, this set of instructions is based off of working on a SystemUI for 4.0.3. My goal here is to give precise enough steps so that the right edits are made, while also trying to be "universal" in that this will hopefully work on other SystemUI's going forward. If we discover that tweaks need to be made, I'll edit this list.
Pixel format is stored as a integer constant. To review, here are some values of interest for this thread. (blue text is value)
OPAQUE(no alpha bit): -0x1
RGB_565(also no alpha): 0x4
TRANSLUCENT(many alpha bits) -0x3
First file to edit is StatusBar.smali. Open in your preferred text editor and search for this text:
Code:
Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
Go to the line above it and change the last value from -0x1 to -0x3.
Next open PhoneStatusBar.smali. Search for this text:
Code:
const v4, 0x4800068
replace the 2 lines underneath with this:
Code:
const/4 v5, -0x3
move v2, v1
Next search for this text:
Code:
Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPixelFormat:I
Once again we're going to edit the line above and change the last value to -0x3.
You can see the pattern of changing -0x1 to -0x3. However, you may notice that it's a 0x4 that your're replacing. You won't ever be replacing anything vastly different. So when following these instructions if you find that you're replacing something other than -0x1 or a 0x4, that should raise a red flag that it might not be the right thing to edit. *The first edit in PhoneStatusBar is a little different than the others and I think there is more than one way to do that, but this is how I did.
You may notice that I haven't listed the entire line for the search criteria ....this is because there may be differences with the local variables associated. Your file may be assigning the pixel format to local variable v8 and the next guys v9. *The first search in PhoneStatusBar I did give the whole line.
That's it for smali edits. Now you still have the res directory edits. With an aosp based rom, you need to change the hex value for status_bar_background in drawables.xml. Also, you now have translucency available for the softkey area.....it's background is set via hex color in res/layout/navigation_bar.xml.
I've been wanting a smooth circle battery mod! Only problem is, on Roman's AOKP rom flashing it makes the statusbar and virtual buttons disappear Happens with the other circle battery mod as well :/
Same here, soft buttons and status bar dissapear
Sent from my Galaxy Nexus using xda premium
This may just be me, but I got the battery only circle mod going on Romano's rom with the apex 4 kernel. Didn't work with the other kernel I was on.
awesome instructions im going to download asop on my linux pc tonight and have at the systemui on boxing day or something. ive got the softkeys themed but thats as far as i can get without a ton of fc's when decompiling and editing xml's and some pngs, so hopefully this will help me learn a bit more.
thanks for the awesome write up!
edit: i get the same problem as the above people when flashing this on the rom in my sig
pendo, thanks so much for this. its very educational and I appreciate the time you took to help all of us.
my question is...
in the cyanogenmod source instead of stating "opaque" or "translucent" it shows PixelFormat.RGB_565 which (I think) means it's 16bit and opaque. do you think it would have to then be changed to ARGB_8888, or something different? here's the link to the info I found: http://developer.android.com/reference/android/graphics/Bitmap.Config.html
I'm just unsure how to apply this info.
thanks man, love your work, glad to see you here!
Sent from my Galaxy Nexus using xda premium
I used apktool to decompile the systemui.apk. I found the status bar files. But they are smali. When I edit them with notepad+ I cannot find the PixelFormat line. Sucks.
Sent from my Galaxy Nexus using XDA App
joshnichols189 said:
I've been wanting a smooth circle battery mod! Only problem is, on Roman's AOKP rom flashing it makes the statusbar and virtual buttons disappear Happens with the other circle battery mod as well :/
Click to expand...
Click to collapse
My bad, I left out one VERY IMPORTANT detail. Whether or not you build your own or use the one I compiled it is a deodexed SystemUI.apk. If you previously had an odexed SystemUI then you MUST delete SystemUI.odex
I have been told that my apk works with this 4.0.3 IML74K rom.
gn00my said:
Same here, soft buttons and status bar dissapear
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Please see above note.
Also, these instructions as well as the provided apk DO NOT have Paul's softkey mod. I'm hesitant to say this, but I am tinkering a bit trying to replicate the edits in source form. I know I posted a SystemUI that had those edits for 4.0.2 but I did them as smali edits. I wish to add them to the source code which would make it much easier for updates. But I have no progress report on that. The *main* purpose of this thread was informational. I wanted to offer some help for someone to either do it themselves, or help someone who has the capacity/desire to update the apk as needed.
EkostonS said:
awesome instructions im going to download asop on my linux pc tonight and have at the systemui on boxing day or something. ive got the softkeys themed but thats as far as i can get without a ton of fc's when decompiling and editing xml's and some pngs, so hopefully this will help me learn a bit more.
thanks for the awesome write up!
edit: i get the same problem as the above people when flashing this on the rom in my sig
Click to expand...
Click to collapse
This is built purely from aosp sources, not CM. I would not expect what I compiled to work on anything other than aosp 4.0.3. However, the information in the first post should help you make a translucent statusbar if the CM9 source code is available somewhere.
allofusjw said:
pendo, thanks so much for this. its very educational and I appreciate the time you took to help all of us.
my question is...
in the cyanogenmod source instead of stating "opaque" or "translucent" it shows PixelFormat.RGB_565 which (I think) means it's 16bit and opaque. do you think it would have to then be changed to ARGB_8888, or something different? here's the link to the info I found: http://developer.android.com/reference/android/graphics/Bitmap.Config.html
I'm just unsure how to apply this info.
thanks man, love your work, glad to see you here!
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Yes, I actually had some information regarding that in the first draft I had made, however I was getting concerned with the length as it was so I trimmed it down a bit.
Yes, RGB_565 is 16bit opaque. You should just change it to TRANSLUCENT. I've done this before, but in smali. One thing that I haven't figured out is why it's called RGBA vs ARGB. The hex values are done in ARGB. Go figure.
Also, here's some info that will help when trying to do this edit backwards, aka decompiling with apktool Obviously when aapt compiles it doesn't store the code as TRANSLUCENT....but here's some of the values that it does store of what you'll most commonly see:
TRANSLUCENT = -0x3
OPAQUE = 0x1
RGBA_8888 = 0x1
RGBX_8888 = 0x2
RGB_565 = 0x4
fatsix said:
I used apktool to decompile the systemui.apk. I found the status bar files. But they are smali. When I edit them with notepad+ I cannot find the PixelFormat line. Sucks.
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
No....you cannot edit with Notepad.
my bad, I missed the "+"
Make your search for "mPixelFormat" and you should get better results. But it isn't as straight forward in smali. I'm still getting better at, but it is definitely more difficult to decipher what's happening in smali. Something that I've done to help is to compare source code with decompiled smali (making sure it's the same file).
I decompiled the classes.dex before with something else. Was easier to edit. Can't remember which or find the directions. Java - jar I think.
Sent from my Galaxy Nexus using XDA App
pendo said:
The *main* purpose of this thread was informational. I wanted to offer some help for someone to either do it themselves, or help someone who has the capacity/desire to update the apk as needed.
-Yes, I actually had some information regarding that in the first draft I had made, however I was getting concerned with the length as it was so I trimmed it down a bit.
-Yes, RGB_565 is 16bit opaque. You should just change it to TRANSLUCENT. I've done this before, but in smali. One thing that I haven't figured out is why it's called RGBA vs ARGB. The hex values are done in ARGB. Go figure.
Click to expand...
Click to collapse
-mission accomplished!
-isn't that how things always work out?
great, thank you very much! i hate having to reapply my theme edits with every rom flash. this is very helpful.
one more question...
will this edit "stick" in my local cyanogenmod workspace after a repo sync, or, would that require setting up my own github repo to view changes to cm framework vs my edited framework? please don't feel obligated to give an in depth explanation if that's what this question requires. I'd just like to know if my thinking is on the right path. thank you!
Sent from my Galaxy Nexus using xda premium
ahh that would make sense, but cm is built off asop and your last transparancy mod worked on cm9
Would anyone please show a pic with the final result? I am most interested in this mod once i get my GNex by new year.
Here you go mind of small but not a problem at all.
Sent from my Galaxy Nexus using xda premium
Neat trick. Many thanks!
did you noticed dialer status bar isn't black?..How can l fix taht?Thanks!
fatsix said:
I decompiled the classes.dex before with something else. Was easier to edit. Can't remember which or find the directions. Java - jar I think.
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
If you're including the need to download aosp source, you would be correct. But the mod itself I feel is easier in source, solely based on the fact that it's easier to read. Sure, if you're familiar with the edit and have done it before you can decompile and search for whatever key terms you wish and then make the "-0x3" edits. But by viewing the source, it's pretty obvious on where/how to make the edits.
allofusjw said:
-mission accomplished!
-isn't that how things always work out?
great, thank you very much! i hate having to reapply my theme edits with every rom flash. this is very helpful.
one more question...
will this edit "stick" in my local cyanogenmod workspace after a repo sync, or, would that require setting up my own github repo to view changes to cm framework vs my edited framework? please don't feel obligated to give an in depth explanation if that's what this question requires. I'd just like to know if my thinking is on the right path. thank you!
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
It should, or at least it does with aosp and repo. Unless the package is updated.....(I think...)
EkostonS said:
ahh that would make sense, but cm is built off asop and your last transparancy mod worked on cm9
Click to expand...
Click to collapse
Yes, CM is based off aosp but I can assure you there are some significant differences...at least for gingerbread. I would anticipate there are less differences between CM9 and ics at this stage of the game. I didn't know that my last one worked on CM9.....my guess is that whatever changed in 4.0.3 hasn't made it's way into CM9's source.
manager77 said:
did you noticed dialer status bar isn't black?..How can l fix taht?Thanks!
Click to expand...
Click to collapse
No, I didn't notice anything....I have no way to view what I built! Lol...
Well, I'm not exactly sure off the top of my head. Does anyone know if my previous SystemUI had a translucent statusbar? I should be able to figure it out pretty easily if it was...
Thanks for the info. You really got me interested in this stuff!
For Windows users (like me), I believe somebody posted a VMWare images ready to do these kind of things.
Might give it a try when I'm back from holiday.
Sent from my Galaxy Nexus using xda premium

Droid X type Boot animation

Ok, i've been searching around for the last hour in various places for a bootanimation i used to have on my Desire, as far as i can make out so far it's a mix between the Verizon Droid x advert and the Droid x red eye..........can't find it for love nor money, starts off with the human eye looking about, then morphs into the Droid eye looping. Anyone have it?
this is part of it.
http://www.youtube.com/watch?v=gOnC5chCag0
Which then went into this sort of thing
http://www.youtube.com/watch?v=o7D5nsVn9XM
And just realised i should have put this in the Q & A section!
this looks cool i want it as well!
I can't find it for the life of me, restored my laptop since i had it, and not got my Desire anymore........tried trawling on here and Phandroid forum but can't locate it.
Ok, i've eventually stumbled across the animation i had,
http://forum.xda-developers.com/showthread.php?t=774180
Just need to figure out WTF i have to do with it to get it onto the X
Please do as i also liked this very much
Well, i've got this one onto my phone, running LeeDrOiD rom (bootanimation in System/customize/resorce) , no idea if i have done it right, but it works......although there are a few frames that could do with a bit of work, some of the transition frames show lines form being different sized pictures originally. I have no photoshop skills at all and have no idea how i would go about adjusting these frames, struggling a little with the size as well, the red eye part is slightly stretched and no matter what i try when resizing the images i can't get it to look quite right.
Also, i tried to get the last set of frames from the original to loop, but when i tried doing this there was a noticable blank section before starting the loop, so i just renamed the frames again and again until it was just about long enough. Probably the completely wrong way of doing it but like i said...i know nothing!
try asking tattari for help, he is great with photoshop, and his team are all good devs.
Thanks, i'll send him a pm and see if he can offer any advice/help.
I have managed to get it in proportion now, although it doesn't quite fill the whole screen but still looks good.
The only problem i see with it is with 5 images in the transition between human eye to robot eye, you can see the lines from the picture being a different size.
I have pm'd the lad who made the original to make sure he is ok with me trying to get it on my X, but looking from his profile he doesn't come on here anymore. (CYBERxNUKE)
Almost got this ready, will be available soon.
Need someone to test this who has bootanimation in /data/local
Aroma installer works fine for /system/customize/resource, just need to check with other Bootanimation locations.
Why can't I manually copy the file? installer not needed I guess.where is the file that u want to test.I'll be glad to do it.
shtipu1111 said:
Why can't I manually copy the file? installer not needed I guess.where is the file that u want to test.I'll be glad to do it.
Click to expand...
Click to collapse
You could manually install it if you extract the bootanimation.zip, just trying to make it easier...i've Pm'd you the download link if you wish to try the installer. Also could you let me know if the delete bootsound option works?
Any feedback would be much appreciated.
Will probably be adding the release later on today
Released here

Difficult nine patch help request

Can anyone help me nine patch this PNG? I have attempted numerous of times and I just can't get it. Thank you for your time.
Sent from my SGH-I747 using xda premium
9.png image
This is such a late reply, since no one answered it i took liberty of answering it.
Please note that 9.png image will stretch, but its not similar to stretching vector images. If you have a plain bg or any plain image (with borders) you can stretch them. Then the stretched 9 patch will not look distorted. I have created 9 patch for your image and posted the preview when it is stretched.
Thank you for this. I eventually went on my way and do the best I can since I couldn't get any advice from anyone. I design Go SMS themes and I have a lot of very detailed patterns that I have to patch. Sometimes I know that the patch is inaccurate but I create it the best I know how. My images aren't stretched much when used in my themes so, it's not a problem. However, I'm a perfectionist and a people pleaser and if someone pays for a themselves, I want it to be done right, even if they can't see the "wrong". I actually ended up patching this image the same way you did. Thank you again for doing this, that is an awesome gesture!
Sent from my SGH-I747 using Tapatalk

Categories

Resources