Related
Can anyone offer some insight on the SDK emulator? I'm trying to test out a new framework-res.apk/services.jar for white notification/clock text on froyo. trying to push it to an AVD(emulator) but getting errors:
"C:\Users\pwner>adb push C:\Users\pwner\Desktop\Theme\framework-res.apk /system/framework/framework-res.apk
failed to copy 'C:\Users\pwner\Desktop\Theme\framework-res.apk' to '/system/framework/framework-res.apk': Out of memory"
can't find anything about this on the web. sorry, know it's a noob question but i'm very much so looking forward to having a black theme back on my nexus + froyo. i'm also going to be developing my own themed* ROM which depends on white text.
any help would be greatly appreciated.
---
edit: using an emulator because i don't want to blow up my phone
edit2: yes, i've reviewed the documentation here: http://developer.android.com/guide/developing/tools/emulator.html
you ever figure this out? seems there is a way to change the clock color on froyo now, but i'm clueless.
RogerPodacter said:
you ever figure this out? seems there is a way to change the clock color on froyo now, but i'm clueless.
Click to expand...
Click to collapse
yeah totally thanks to all the help to everyone who replied. LOL. NOT.
no, i never did. i quit screwing with the emulator.
there is a way yes, BUT, we need a fully deodexed froyo rom first. paul over at modaco has deodexed the build but hasn't released the deodex pack for the kitchen. once he does, i'll be building/releasing a theme. till then. we are fuct
edit:
more info over here:
http://forum.xda-developers.com/showthread.php?t=698295
This could help:
http://forum.xda-developers.com/showpost.php?p=6778975&postcount=86
Did you get this worked out? I haven't had much time over the last 36 hours but may be able to assist now since I've done it a few times.
Although I don't know much about using an emulator, I always use a handset.
So, if you think I can help, either with your patching or your future rom, let me know.
DocRambone said:
This could help:
http://forum.xda-developers.com/showpost.php?p=6778975&postcount=86
Click to expand...
Click to collapse
djmcnz said:
Did you get this worked out? I haven't had much time over the last 36 hours but may be able to assist now since I've done it a few times.
Although I don't know much about using an emulator, I always use a handset.
So, if you think I can help, either with your patching or your future rom, let me know.
Click to expand...
Click to collapse
Hey thanks for the advice guys! Well, I've actually gotten a ported Kspec theme set up on my phone right now. Only problem is that I just pushed the framework and launcher and apps to my phone using adb push. so no update.zip
So what I could really use some advice on would be:
1. Setting up my PC for signing apps that I modify. I use windows 7 though. none of the articles about setting up signing seem to pretain to me, including stericsons guide
2. Creating update.zip files to flash(sure i can find more info on this in the forum but with out signing ability not too much point right now).
3. using apktool to decompile apps to edit XML files. this is so i can change the text on the music app's text color to white(so now playing shows up properly in the notification bar) along with other apps I use so I can theme and change font colors such as touteir, etc.
other than that, I'll be working on images to get my custom rom out! This is what I have on my phone ATM:
PLEASE NOTE THAT THIS IS NOT MY THEME. just ported it from brendank's kspec monster theme. i hope he wont mind that i'm sharing screenies of what i'm using on my phone here, and i have no intention on releasing his theme at all...i am using it as a temp theme so i don't go insane with all the white on the phone till i make my theme. anyways, screen shots attached.
edit:
just for anyone who cares, my theme will be very similar to the kspec monster theme(all black, with transparencies), but will have blue high lights to match the blue on the clock on my home screen.
Okay, there's a fair bit to answer there so perhaps we just take it one step at a time...
Windows 7 is not a problem. You will need to install the Android SDK and the included USB drivers. Once you've done this test that your phone can connect to your computer by USB, if not you'll need to diagnose that (that's a search).
You need the JRE (Jave Runtime Environment). You probably have this, type java.exe at a command prompt to make sure it exists, if not then download and install (any Windows version).
The you need to check that adb (Android Device Bridge) is working. Drop to a command prompt and go your SDK/tools dir and type adb devices with your phone plugged in via USB. It should display the serial number of your connected phone. If it does not then you need to diagnose your adb problems (that's a search).
The you need to autosign (search this forum) and apktool (search google), these will allow you to decompile/compile/sign apks and also sign update.zips.
Once you have all of that and you're familiar with how it basically works then post back here with some of your experiences and we'll take it to the next step.
Please also look in the Chef's Central sub-forum, there's lot's of helpful information (including many of the required tools) in there.
geahboi said:
Hey thanks for the advice guys! Well, I've actually gotten a ported Kspec theme set up on my phone right now. Only problem is that I just pushed the framework and launcher and apps to my phone using adb push. so no update.zip
So what I could really use some advice on would be:
1. Setting up my PC for signing apps that I modify. I use windows 7 though. none of the articles about setting up signing seem to pretain to me, including stericsons guide
2. Creating update.zip files to flash(sure i can find more info on this in the forum but with out signing ability not too much point right now).
3. using apktool to decompile apps to edit XML files. this is so i can change the text on the music app's text color to white(so now playing shows up properly in the notification bar) along with other apps I use so I can theme and change font colors such as touteir, etc.
other than that, I'll be working on images to get my custom rom out! This is what I have on my phone ATM:
PLEASE NOTE THAT THIS IS NOT MY THEME. just ported it from brendank's kspec monster theme. i hope he wont mind that i'm sharing screenies of what i'm using on my phone here, and i have no intention on releasing his theme at all...i am using it as a temp theme so i don't go insane with all the white on the phone till i make my theme. anyways, screen shots attached.
edit:
just for anyone who cares, my theme will be very similar to the kspec monster theme(all black, with transparencies), but will have blue high lights to match the blue on the clock on my home screen.
Click to expand...
Click to collapse
I love the Notification bar on that theme... You think I could get the string for that or maybe the theme to extract the framework-res.apk and services.jar?
Hey guys,
I'm trying to finish up my new homescreens, and my last widget is Audio Manager Pro. I've tried the metamorph on it, but it wasn't working. I've also tried to manually open the .apk and edit the .pngs i needed to edit, but have issues getting it signed. Any modders have some free time to help a theme noob?
What I am trying to do is make the background .pngs for the widgets transparent. Any help would be greatly appreciated!
Bump, any help or suggestions would be great!
Sent from my Evo.
I will be keeping an eye on this. The transparent skin they have for AM is transparent BUT the little bars that show levels are yellow, orange, and green or red or some yucky (to me) color combo! (they match NONE of the wallpapers I use) I wrote the developer this morning and asked for transparent but with like white, or shiny metallic bars ....
Yea, the am transparent skin on the market isn't really fully transparent. I also want the background to the fuxia skin transparent.
Sent from my Evo.
I answered my own question, but I thought I'd share what I did to make it happen.
1. adb pulled the apk
2. Opened the .apk in betterzip (mac user) WITHOUT EXTRACTING, and pulled the folders that needed editing.
3. Edited .pngs in Photoshop
4. Dragged the folders back into Betterzip into the correct directories.
5. Saved the changes to the .apk
6. adb pushed the .apk to /system/app
7. Profit!
Hopefully that helped someone!
That would help me IF i knew what I was doing ... I don't have Photoshop and I def don't know how to do that.
I did see under standalone's on this following link, 6th one down had it. Isn't that it? I tried it but it didnt' work for me. Just like the Genie one won't. Everything else my phone had taken easy.
http://forum.xda-developers.com/showthread.php?t=652661
kyleblakepeters said:
I answered my own question, but I thought I'd share what I did to make it happen.
1. adb pulled the apk
2. Opened the .apk in betterzip (mac user) WITHOUT EXTRACTING, and pulled the folders that needed editing.
3. Edited .pngs in Photoshop
4. Dragged the folders back into Betterzip into the correct directories.
5. Saved the changes to the .apk
6. adb pushed the .apk to /system/app
7. Profit!
Hopefully that helped someone!
Click to expand...
Click to collapse
Having the same problem, also can't get SetCPU widget to go transparent.
So, open the apk in a zip program, take out what needs editing, edit, put back in?
Yes and push back to system/app. Make sure to delete the app from the phone before pushing back.
Sent from my Evo.
effluent said:
Having the same problem, also can't get SetCPU widget to go transparent.
So, open the apk in a zip program, take out what needs editing, edit, put back in?
Click to expand...
Click to collapse
Umm.. SetCPU has an option to make the background clear.. Just an FYI.. It's a setting you change when you first open the widget..
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!
I have finally taken the time to try to get my icons the way I want them to look on this phone. I stopped developing my tweaking skills in the days of WinMo 6.5, but I decided to tinker with a framework-res.apk in one of Trailblazer's mods to swap out all the icons I wanted to change.
After sifting through many other themes mostly made for the Fascinate, I have repacked the file with the icons I wanted. I also blanked out the Ticker History button and the "No Data" button for the Weather on the Ticker. See Screenshot.
I am sure there is a better way to install this file, but I took the framework-res file out of Trailblazer's Touchwiz Accurate Theme, replaced all the icons I wanted in the file and then I copied it back into his .zip file. I was then able to flash the .zip file in Recovery. I am sure you can use Root Explorer or some sort of file manager program to replace the file, but I haven't had the best of luck replacing files that way so I went with what I knew would work.
I figured I would share my work in case anyone else has wanted a different look for their Continuum.
spearoid said:
I have finally taken the time to try to get my icons the way I want them to look on this phone. I stopped developing my tweaking skills in the days of WinMo 6.5, but I decided to tinker with a framework-res.apk in one of Trailblazer's mods to swap out all the icons I wanted to change.
After sifting through many other themes mostly made for the Fascinate, I have repacked the file with the icons I wanted. I also blanked out the Ticker History button and the "No Data" button for the Weather on the Ticker. See Screenshot.
I am sure there is a better way to install this file, but I took the framework-res file out of Trailblazer's Touchwiz Accurate Theme, replaced all the icons I wanted in the file and then I copied it back into his .zip file. I was then able to flash the .zip file in Recovery. I am sure you can use Root Explorer or some sort of file manager program to replace the file, but I haven't had the best of luck replacing files that way so I went with what I knew would work.
I figured I would share my work in case anyone else has wanted a different look for their Continuum.
Click to expand...
Click to collapse
Awesome! I have one question for you though... You stated you "blanked out the Ticker History button and the "No Data" button for the Weather"... Are the blanked out so if your finger/hand/palm, what ever touches those areas, it doesn't open the damn address search (for weather) or the ticker history? If that is the case, I have been wanting something like this for a while, I just haven't had the time to dive into exploring this, and TrailBlazer seemed to have been working on it, so I figured I'd wait for him. Thanks dude!
I've been working on my batch so that it actually removes the buttons, like totally (not just blank images)... Finished it yesterday, just need someone to test it any volunteers? Lol
You can choose the clock color, softkey images, button remaps, hide/show history and/or weather icon.....
Sent from my SCH-I400 using xda premium
trailblazer101 said:
I've been working on my batch so that it actually removes the buttons, like totally (not just blank images)... Finished it yesterday, just need someone to test it any volunteers? Lol
You can choose the clock color, softkey images, button remaps, hide/show history and/or weather icon.....
Sent from my SCH-I400 using xda premium
Click to expand...
Click to collapse
im off early today and setting up a my rom kitchen... ill give her another try... in irc to boot
Spearoid, I tried using root explorer to replace the apk from blazers theme with the one you posted. No luck.
Blazer, I would be more than willing to volunteer to try your batch out.it includes all the things I want to change.
turboblue385 said:
Spearoid, I tried using root explorer to replace the apk from blazers theme with the one you posted. No luck.
Blazer, I would be more than willing to volunteer to try your batch out.it includes all the things I want to change.
Click to expand...
Click to collapse
Yeah, I've had little luck doing file replacements on vital system files that way.
I took the .apk in the OP and overwrote that file in Trailblazer's Touchwiz Accurate theme .zip file.
I open Trailblazer's zip file with a program like WinRar....then browse to the system/framework folder...and drag and drop my new .apk into that folder....it overwrites...and I copy the zip file to my SD card and flash from recovery.
all is good from there
I wish I knew how to take files like these and put them in a new flashable zip file. I'd probably be more inclined to do more tweaking if I could
And Moon Shadow, they are just transparent png files. The buttons still function.
But I'm with you, I'd much rather have them be invisible AND non-functioning
Trailblazer, post up the link. Now that I have this thing working right, again, I'll beta
Looks great. Just got it working last night. I really like the blue. And three battery icon is bigger which makes it easier to see. Great work!
turboblue385 said:
Looks great. Just got it working last night. I really like the blue. And three battery icon is bigger which makes it easier to see. Great work!
Click to expand...
Click to collapse
Sweet, I'm glad someone likes it!
The battery icon was my primary motivation for making the new file. The white text on green was almost impossible for me to see.
I would like to change the default icons on some of the ROMS that I use. I have looked through the files and folders on my phone from Root Explorer as well as using a PC to explore. I have found that on many roms I can find a few files that are named "icon_....". However the "artwork" for the icon that I see on my homescreen or app drawer are completely different. Is there a way to replace either manually replace or a ODIN or some other installer that will use any icon's that I would create and want to put into a rom of my choice.
Have I explained this good enough?
Icons such as the default MMS icon or phone icon, etc....
you can use a different launcher (go launcher for example) and use different theme icons. I usually mix and match from a couple different themes myself.
As for changing the icons without using a different launcher you can cook your own themes in UOT kitchen or dsixda, however they require more extensive knowledge of android
Thanks jigglynuts. I have used different launchers Go, ADW, TW, Honeycomb and others. I have also used UOT. I have had marginal success with UOT. There are a LOT of available options there as well. Here is the real question....I don't want to "steal" anyone's hard work. I really like the black icons that RaverX3X put into the unnamed ROM RC2. Is there a way of peeling those out of the ROM and putting them into a different ROM such as ICBINB? If this is a wicked taboo move, then I apologize. If it is cool, how can this be done?
hopefully Raver or another themer will chime in on exactly how that's done. I believe you need to go inside each .apk file and pull out the drawable folders and find which one has the icon inside it. Then you can extract the image, edit it, and put it back into the apk when you are done.
I'm sure that's an oversimplified version of how it's done though.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
mike-y said:
hopefully Raver or another themer will chime in on exactly how that's done. I believe you need to go inside each .apk file and pull out the drawable folders and find which one has the icon inside it. Then you can extract the image, edit it, and put it back into the apk when you are done.
I'm sure that's an oversimplified version of how it's done though.
Click to expand...
Click to collapse
Actually it's pretty spot on... My dad themed his Rom by doing that and that's what he was telling me to do.. he also said that you can ether pull the .png files that you want to change... edit them and put them back. Or You can get icons from searching the internet and just make sure they are named exactly how the original is named. I just can't find the ROM I want lol...
Just for starter purposes I want Stock GB..
I'm currently running
GingerBread stock
Kernel: Blastoff-v2
Modem: KG4
My whole journey started with "Why can't I send long txts" Dad said to go to XDA and Root the phone. Blastoff gave me CWM and the Modem KG4 fixed the txting and gps issues... as well as took my signal back into 4g! I figure if I'm gonna keep messing with stuff... I want to do themes...