[Q] Editing a apk - Android Software/Hacking General [Developers Only]

I'd like to take a existing adw theme apk and change the dock launcher wallpaper on it. Is there any existing posts or suggestions anyone has on how to go about doing this? My intent is to have a baseline theme that I like and can revert back to frequently without having to make extensive changes whenever I change themes.

Maybe this?
http://forum.xda-developers.com/showpost.php?p=3175518&postcount=5

Related

[Q] ADW Theming help!

So, I've started making an ADW theme - and I have NO idea how these things work. There seems to be no documentation anywhere, and the template apk doesnt have the stock images that base theme has. Is there any thread that can at least get me started with making a custom dock background theme, or does anyone know where to start?
Thanks,
-Dave
I love ADW, but customizing the dock is a pain in the ass compared to other launchers. I'm currently using ADW with no dock background image, and some custom icons from the TallMin icon set.
I spent some time trying to theme the dock, and was able to do some image replacement via Metamorph/Ninjamorph or by ADB pulling the ADW APK, replacing images and ADB pushing it back. Using this method, I was able to replace the left, right and center icon backgrounds. Unfortunately, this is when I discovered that the stock theme uses the same center icon background for the three center icons.
This left me with a dock backgrounds like this: LEFT CENTER CENTER CENTER RIGHT
Close, but not what I wanted. I eventually gave up, after deciding I was spending far too much time messing with it. Your best bet will be to find an ADW theme, and modify the dock backgrounds via Meta/Ninjamorph or editing the ADW apk.
BUT
If you are feeling adventurous, here is the complete ADW guide. The link will take you right to the Theming section.
http://code.google.com/p/adw-launch...ToADW#Chapter_3_-_ADW.Launcher_Theme_Creation
You will be installing and using the Android SDK, Java JDK, editing XML, and creating signed packages. Good luck! It was far more than I wanted to get into, personally.
Thanks a ton - Thats exactly what I was looking for. I'm fine with eclipse and all that, I just got the template and had NO documentation for it. Should Pump out a theme sometime soon

[MetaMorph] 4x5 Rosie Workspace, 5 Icon Wide App Drawer - Any Rosie

Okay, while there are plenty of custom Rosie threads out there, posting every single Rosie with and/or without a certain layout, it just makes sense, IMHO, to push out a MetaMorph that will change ANY rosie, regardless of maker, to support 4x5 layout and/or 5 icon wide app drawer.
I have resisted looking into this in the past, as it is not something I prefer, but the requests kept coming in, in order to apply to the rosie's I've modded, so I figured I'd take the time to look at it. It is such a simple change, in terms of the Rosie side of things, that I ended up posting the MM in my Rosie Remap thread.
So, as to make it available to anyone interested, I figure I'd break it out into a separate thread as well.
So, if you want to apply these easily, just download MetaMorph from the market (free), drop the attached zip file(s) in your /sdcard/AndroidThemes folder, open MetaMorph, select to apply. As mentioned, it's a simple / single XML file to replace in order to apply each change
Now, after applying, since you are modifying a running Rosie, your phone may freeze, and require either a reboot via adb, or a battery pull.
This only affects Rosie, so you will have to find a flash elsewhere for modifying your widgets to accommodate the new 4x5 layout, as stock widgets will become messed up as a result of this change. I know aamikam has spent a lot of time working on widget modding, so I'm sure you can find an applicable zip in one of his threads.
Update 1/29/11: Since all of the zips that I've found also contain a custom Rosie, I went ahead and pulled out the widgets only, so as to provide a flashable zip that, after applying the MetaMorph(s) provided, will then install modified widgets to support your new workspace dimensions. I take NO credit for the work done to these widgets. It is 100% aamikam's work, I am simply providing the widgets only portion of his work, as mentioned above.
4x5 custom widgets <--- Flash via recovery
Also, any current widgets will likely need to be re-added after applying MetaMorph, since modifying Rosie live usually causes widgets to get deleted. It may be a moot point since you need to apply new modified widgets anyway, if you haven't already.
To reiterate: The attached (with the exception of the widgets file above) are NOT flashable zips. They are MetaMorph files to be applied using the free MetaMorph application in the market
Note: It should be mentioned that I do not take credit for the "idea" of this, as it is not something I came up with from an "idea" perspective. However, finding and modding the correct items was done in-house
EDIT: Undo MetaMorphs have been added to the attachments list, containing "stock" in the applicable name.
Nice, I have been wanting the 5 column app drawer with fresh for some time now, and generally my only options were the 4x5 workspace posted in another thread. This worked perfectly.
Can you post a MM file so that we can revert to 4x4 wide just in case?
Ph33zy said:
Can you post a MM file so that we can revert to 4x4 wide just in case?
Click to expand...
Click to collapse
I second that request though if anything, we can just reflash the rom we're using... but thanks for this!!
MetaMorphs have been added to the OP to return to stock for either option.
FYI, the OP has been updated to also include a standalone zip file for the widgets. All the zips files I've found also included a custom Rosie, which defeats the purpose of this MetaMorph, so I grabbed the downloads I found and extracted the widgets only into a separate standalone flashable zip file. As mentioned in the OP, all credit to aamikam for the modified widgets. I did 0 work other than to make a standalone zip for everyone's convenience using the MetaMorphs provided.
Work with Mik 4.5
JS will this 5 drawer app work with MikFroyo 4.5 ROM. I have applied the 4X5 widget mod found in this thread by Chingy, is yours the same or do I need to flash this one instead and then do the metamorph zips?
TIA
nick1313 said:
JS will this 5 drawer app work with MikFroyo 4.5 ROM. I have applied the 4X5 widget mod found in this thread by Chingy, is yours the same or do I need to flash this one instead and then do the metamorph zips?
TIA
Click to expand...
Click to collapse
This was designed with the intent to work with any rom, given it is a MetaMorph, w/o interfering with any other settings / customizations you already have.
JsChiSurf said:
This was designed with the intent to work with any rom, given it is a MetaMorph, w/o interfering with any other settings / customizations you already have.
Click to expand...
Click to collapse
Awesome thanks man. I just went on ahead and gave it a shot. So far so good, waiting for last reboot after morphing the 5 app drawer.
Nice work.
EDIT: Well the I just used the existing 4X5 layout I had instead of flashing the one you have in this thread and it didn't seem to work, at least it didn't make my Rosie have the 5 app drawer. I will restore and then flash your 4X5 widget and then the morph files.
JsChiSurf said:
This was designed with the intent to work with any rom, given it is a MetaMorph, w/o interfering with any other settings / customizations you already have.
Click to expand...
Click to collapse
Ok well I'm a DA. I was thinking that this gave me 5 apps along my launcher at the bottom, so I could link to more than just phone, all apps, and whatever else I choose. DUH! I now see what it does.
Sorry to waste your time.
This is great! I cant tell you how many devs I've talked to about creating 4x5 sense layout version of their roms. This is just awesome! Great work! I love metamorph! Thank you
Jeff
Mr. Surf -- (or anyone else) --
The HtcClockWidget.apk, included in the bundle of appropriately sized widgets you posted in this thread, is a flip clock. Eeewww.
Do you know where I might find an appropriately sized non-flip clock?
Extensive searching in amongst the clock widget threads hasn't yielded much for the 4 x 5 layout.
moseso said:
Mr. Surf -- (or anyone else) --
The HtcClockWidget.apk, included in the bundle of appropriately sized widgets you posted in this thread, is a flip clock. Eeewww.
Do you know where I might find an appropriately sized non-flip clock?
Extensive searching in amongst the clock widget threads hasn't yielded much for the 4 x 5 layout.
Click to expand...
Click to collapse
After you install the modified / animated flip clock, you can pull the apk, and replace the classes.dex in your current HtcClockWidget.apk with the classes.dex file I provided in this thread (classes.dex.4x5.zip), which will disable the animation (making it a standard clock widget).
So, JS. I'm using the HtcClockWidget that you provided with your Vanilla Locks mod that will open the AOSP Desk Clock for the alarms when you tap the time. How would I go about getting that to work in the modified 4x5 HtcClockWidget?
Edit: Nevermind! Found what I needed in another thread. Saw that you had done this already for the HtcClockWidget. Awesome.
would this also work on the desire...?or ist it only for evo???
Widget resize
I applied both the 4x5 and 5-wide. Both work great thanks.
The only widget that isn't displaying correctly for me is the HTC flip clock with the weather on it.
If I apply the 4x5 widgets and decide I don't like it is there a way back? Is the 4x5 widgets adding to my existing or replacing?
I loaded the 4x5 and widgets on SR 4.0 and all was well. I made a backup, then fooled around with a few more things and needed to Nandroid back to my good version (4.0 with 4x5 and widgets) Now my homescreen Clock/ weather wont show up, nor will my People widget (with favorites I use for work) and neither are available in add widgets. I still see the .apk in /system/ app but cant get it to do anything. What can I do now?

How to save a theme, and switch to it easily

Hello there,
Im using a Samsung Infuse 4g, and wanted to know if there is a way to save a theme, so I can use it again later. This way I can switch between several. Now i use ADW launcher EX, and change several icons, so its custom made. I download themes, but sometimes change icons and wallpaper to my own liking. The thing is, sometimes i want a dark one, black icons, dark wallpaper, and sometimes i use colors, like green/white combo, and change my icons. Is there any app or way to save a theme, so if i want to switch from one to another, i dont have to manually change al my icons all over again?
I hope there is an easy way
many thanks for any help
I can't think of any way really. Unless you actually created a 'Theme Chooser' compatable Theme from your look so that you could switch between them.
If you are using ClockworkMod Recovery you could do a nandroid backup with each set up and just flash to whichever one you want at any given time?
It would be a nice addition to Launchers if you could save a particular set-up as a profile, wouldn't it? Perhaps if it were suggested enough somebody might take up the challenge!

Change background gradient without editing framework-res?

A quick question for any advanced themers out there...
I am working on a custom theme for the AOSP Messaging application. I have successfully edited everything in the app EXCEPT for the holo background, which I would like to change. Specifically I want to make the Holo gradient disappear and instead have a solid color that I define. Is it possible to set the background of the APK without having to change the framework-res.apk? If so, how can I do it?
Thanks!
gridlock489 said:
A quick question for any advanced themers out there...
I am working on a custom theme for the AOSP Messaging application. I have successfully edited everything in the app EXCEPT for the holo background, which I would like to change. Specifically I want to make the Holo gradient disappear and instead have a solid color that I define. Is it possible to set the background of the APK without having to change the framework-res.apk? If so, how can I do it?
Thanks!
Click to expand...
Click to collapse
I was only able to change the background by changing the png in framework-res. That's the place I think it gets it from. It took me a while to theme the Mms.apk the way I wanted to. That was before the developers for CM made it more themer friendly in recent builds. I changed a lot of stuff around in layouts that's now located all in colors.xml.

[Q] A new question! Wondering if this is possible...

I was looking at my phone the other day and though I like the "Droid Blue" color scheme throughout the OS, I thought it might be fun to change it up. Is this possible? Easy, difficult, not at all? Does someone know where to find a procedure to do so? I was thinking of going with a red theme instead, just for something different...
Along the same lines, I read somewhere a while back that it may be possible to change the color scheme on Android 4.4 as an added option by Google within the software - can anyone verify this?
As always, thanks in advance!
4.4 is white and black, thank-goodness they got rid of the blue. Also, you should really take a look at the themes on the Play Store...
Thanks as always for your replies, it's to the point where I await your responses to my posts/questions in the RAZR HD forums
About the themes in the Play Store... Do they typically work with the stock OS / launcher, or do I have to install a different launcher for certain themes I find (as in the Red Light GO Launcher, for the GO Launcher EX app)?
I was also reading recently about the "Themer" (app?) in one of the threads here at XDA - any experience?
Most of the themes require a theme manager. However, you can use Xposed to install themes, if you're rooted. I haven't messed around with Themer or Go Launcher much. Most of the "themes" you can install on a launcher are only icons. The theme manager changes the entire look, just look at some of the themes for CM that are on the Play Store, you'll see what I mean. Xposed has a module that allows you to modify the themes and use them on most ROMs.

Categories

Resources