anyone .smali savy? - Hero CDMA Themes and Apps

im in rosie.apk -- launcher and looking for the correct file that dictates the rosie button actions. i see a few promising ones, but no good leads. anyone know which one i should take a look at?

Related

[SEARCH] How to edit background of the iconlist in Launcher

could any of you themers tell me please where I can find the wallpaper which is under the icons, when you press the Launcher Button?
It's stock black and I want to change it?
Thanks!
Ummmm.....
Are you asking for the location of the launcher background? I am not positive, but I would check inside the apk for the launcher. Just a guess.
I think that is more of a line of code somewhere and not an image if you are referring to the app drawer in launcher2.
You can tell a special .png by the helmet it wears.
Yeah, Launcher2.apk was my first look. It isn't in there.
What do you mean with "You can tell a special .png by the helmet it wears" please.
Sorry!
Formel-LMS said:
Yeah, Launcher2.apk was my first look. It isn't in there.
What do you mean with "You can tell a special .png by the helmet it wears" please.
Sorry!
Click to expand...
Click to collapse
It was an off color joke.
I was thinking it was in an xml file in launcher2.apk somewhere but couldn't find it. Then there is an xml called grid color selector or something like that in drawable of framwwork. But I couldn't find the color in there either. I am still looking though so if anyone finds it please let us know.
So I cant' change the picture, only the colour?
it most likely isn't going to be referenced as a color, it is probably calling it out from the system framework (I just got my nexus yesterday so I only started the new theme today, so this is a guess). I have the source, but havent gone thru it yet. It would be possible to add a line of code, to the correct .xml, and either place an image or at least a background=color to it

Changing Launcher2 wallpaper gallery...

How do I properly change the wallpaper gallery? I have been pulling the Launcher2.apk apart and replacing the images with properly sized replacement images. However, I have to keep them named the same as the images they replace and I can not add or subtract the images. Can somebody point me in the right direction to adding and subtracting the wallpaper images and naming them as I please? I assume they are xml edits, which I have no idea how to do. The more help the better. Once I feel like I have a good product I will post the results here to share with everybody.
Thanks in advance.
Edit: I'm stupid and didn't read your post right. Disregard.
Search out "Advanced Launcher" in the G1 development thread. Irrenhaus somehow devised a way to add wallpapers uniquely named to a .txt file in /assets. How he did it it, I don't know. I'll attach the most recent copy I have. Hope this helps.
DON'T GO PUTTING THIS ON YOUR N1, PEOPLE...FOR RESEARCH PURPOSES ONLY!!
BRB.
Doing research.
** EDIT **
I think I found it. Going to give it a try. Will report back with results. This is the one I think it is.
http://forum.xda-developers.com/showpost.php?p=4593714&postcount=582
Ugh... Still looks like xml edits if I am reading everything correctly. I am not sure I want to get on that right now. I guess I have to do some more research...

AOSP taskbar icon?

I'm working on a complete AOSP taskbar, however I'm having trouble with one pesky little icon (see attached). If I'm correct, then that's where the location icon should be, however for some reason it's giving me the roaming icon. Now, I'm not roaming for one thing, and for another, I have the correct .pngs in the file (sym_gpsone_[0,3]_[sprint,vzw].png in com.htc.resources.apk) but it doesn't want to use those.
Am I editing the wrong icons? Or is there another hack necessary to get it to use the correct ones?
Thanks.
What are the names of your gps icons in com.htc.resources.apk? Should be sym_gpsone_0_sprint.png and sym_gpsone_3_sprint.png. Make certain...If you can, zip up your com.htc.resources.apk and i'll take a look...
Gregalous said:
Am I editing the wrong icons? Or is there another hack necessary to get it to use the correct ones?
Thanks.
Click to expand...
Click to collapse
If you're positive that you know you're editing the correct .png file and that you aren't roaming, then next logical problem would be in the .xml programming of the taskbar...but I highly doubt many of actually mess with the code inside the .xml files.
Double check the icon and your network settings.
Take a look for yourself. It's sym_gpsone_0_sprint.png and sym_gpsone_3_sprint.png.
Gregalous said:
Am I editing the wrong icons? Or is there another hack necessary to get it to use the correct ones?
Thanks.
Click to expand...
Click to collapse
What ROM is this for? And where did you get the services.jar for it? I only ask because the same thing happened to me when I was puttin some **** together and used a .jar for Legend on Sprint(or the other way around I dont remember). Anyways, it looked exactly like that. So, you might want to check that first...
My ROM that I'll be releasing soon has, I think, all of the icons changed to their AOSP counterparts. (might be missing mail, since I don't use that apk) The headphone icons I had to derive from the black versions, but I think they look very good. (I couldn't find aosp icons for headphones??) I don't have the rest of the ROM exactly how I'd like it yet, so I'm not posting it yet... but if you'd like to look at (or steal) what I've got, you're welcome to, just send me a PM and I'll link you to it. It's highly based on the Gomorrahs Green Hero One theme, and he had most of them already fixed.
I'd also like to add that I've got the notification panel AOSP themed too, minus the carrier text color.
gomorrah said:
What ROM is this for? And where did you get the services.jar for it? I only ask because the same thing happened to me when I was puttin some **** together and used a .jar for Legend on Sprint(or the other way around I dont remember). Anyways, it looked exactly like that. So, you might want to check that first...
Click to expand...
Click to collapse
Good point, I snagged the services.jar from one of the posts in the themes thread, I think it was for one of the earlier Fresh ROM's...
I'll try a different one and see if I get different results. Thanks for pointing that out!

[REQ] Modified OverclockWidget

Well after trying without success, I was wondering if anyone here could modify the overclock widget? It is seriously one UGLY motherf**ker. I tried replacing the icon.png but because its a widget it does some weird resizing if ya dont use a 64x64 png. And that is just too blurry and junky looking to have on my homescreen. Was wondering if someone could tear into this thing and rebuild it with something crisp, clear and colorful. Much obliged.
Modifying and distributing a file requires permission from the original creator. If someone just hauled off and started distributing a modified version of the .apk it would be illegal...even though it is a free file...lolol
~Jasecloud4
ahhh.. yeah, i guess that would make sense. Well, if anyone could give me some pointers on how to modify how the apk resizes the widget, that would be helpful. Or point me in the right direction. Then I could just modify my version for my own personal use, as I was trying to before. Thanks

Flipping Animations for Us too?!

I was browsing around and found this:
http://forum.xda-developers.com/showthread.php?t=813162
and tried pushing and pulling the anim folder and all worked great, except everything!
the flip animations worked, but every app FC'ed.
so i basically only saw the flipping during the fc screens!
looks great, but doesn't work.
i have NO CLUE how to make it work.
what needs done to the files to get it to work?
and i MAY need the stock anim folder from our phone please!
by MAY i mean i do badly!
thanks!
:scooter:
Back when I was running Zen-ROM I was using Envynet's Elegant Envy theme, seen here: http://forum.xda-developers.com/showthread.php?t=768540
It had very similar animations to what I saw in the video...hopefully you can pull something from that.
i'm going to look into that.
thank you very much
Just wanted to say first time I pulled com.htc.resources.apk and pushed to that (made a backup before I modified) so after I pushed it nothing happened..
Then I pulled framework-res.apk and ploped the anim files in that.
Well now I get some really cool flip style transitions on my status bar up top, but no flip clock... Or is this what it's about? BTW, I got NO fc's on this either. If you want the framework-res.apk file, i'll post it.
Either way at least the flip style status bar will make a great addition to my roms
i could only get the ones from the dark to actually work.
all others wouldn't unzip.
so i'm giving them a go now.
i'll keep you posted.
sure, let me have what you got.
i'll toy around with them a little too.
thanks
so, the aria dark framework-res didn't work.
same thing.
force closes, but they flip!
by the way,
i'm using cm6 with adw launcher.
andro green theme.
i'm going to try LP instead of adw.
I believe envynet has did this before with his Envy Aria theme as I remember the flipping animations when i used that rom and his theme.
http://forum.xda-developers.com/showthread.php?t=768540
i tried those from Envy.
no avail.
still the same FC's as before.
rideascooter said:
sure, let me have what you got.
i'll toy around with them a little too.
thanks
Click to expand...
Click to collapse
Here's my framework-res.apk file:
http://www.mediafire.com/?1xdbf9w9308cwe2
All I did was pull the original from my phone, merge the anim directories with the file you provided and pushed back and voila! flips animations (between screens)
....
I just noticed you said your using cm6...
Well, I guess I better warn you.
I am using HTC Stock 2.1(base). And I am on Cellular South not Sprint, so definitely make a backup of your current framework-res.apk file before pushing this one.. dunno if it will work or not but hope so.
Thanks Hex:
Still gettting FC's.
i'm guessing it doesnt like AOSP.
i haven't had any luck with anything i've come across.
but they have ALL been from sense based roms. i think ....
i think i'm going to need some help on this.
anybody?!
Man this would be cool
it looks great,but ....
i can only see it on the FC screens!
Sounds to me like the xmls in that anim folder have settings pointing to various Sense related stuff (as I am finding out the hard way on my minimalist rom atm)
What you would need to do is decompile the xmls from cm6, and the xmls from the flipping anim folder and go through one by one merging just the flip code related to the animations and remove any sense related links... Which if I remember correctly are going to be addresses AND memory pages. This may prove to be quite tough to decipher.
Yeah I just think the .zip you found doesnt like aosp. I got it to work on my sense rom thanks to Hex. Now I like the animations.
Thanks man, always glad to help!
and how do i edit / decomplile these?
point me in the right direction, and i'm on it.
i want this to happen.
i'll probably hate it after a while, but i keep getting teased with the fc screens.
so for now, i want it!
what do i use to view xmls to edit them?
bump this up for a little help?
Shoot man, mah bad. I was meaning to help you.
#1 you need apktool:
http://forum.xda-developers.com/showthread.php?t=640592
This decompiles apks. I have never used it so... ymmv, but I have heard this is the best tool to do so.
Alternatively you can use xmlprint:http://forum.xda-developers.com/showthread.php?t=514412
This decompiles apks to text files, however it does it 1 by 1 and does not re-compile them into native bytecode, however at the same time since it's just one folder you may prefer this to apktool for decoding (but you still need apk tool to recompile them)
For CM6, instead of decompiling all of them, it may be better to just go grab the source for CM6. You can get that here:http://wiki.cyanogenmod.com/index.php?title=Compile_CyanogenMod_for_Hero_CDMA
This wiki also gives a howto for compiling the code afterwards. The upside is you can tweak CM6 to your liking. The downside is... compiling the whole thing.
If you find a fast easy way of compiling just the files you need, you can just merge them with your current cm6 install.
DO A NANDROID FIRST SO IF YOU MESS IT UP YOU CAN GO BACK!!!!!
Hope this helps man!

Categories

Resources