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?
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!
Alright, so we all love swype, and with the developers not wanting to share means you cannot load a theme'd apk file, this seems like the next best route, teach you how to make your own and gives the tools to make it easy!
I am not distributing Swype here, so plz don't ask, this is how to theme your current Swype set up.
Disclaimer: This is my first attempt at themes, and since im just offering my work for freeeee, don't give me crap if I overlook'd something just politely inform me and I'll do what I can. Also I only have my Droid X for testing so its kinda on you if your keyboard is not similar to mine for now. Also, im not even going to attempt to water mark this or put some symbol to show I made it since I'm giving you the files you could just remove it anyway plus they are annoying to look at, so plz just dont take credit for my work.
So first things first, to ensure this post is quick and to the point you will need to already have a few things up and running,
Currently I use keyboard manager so portrait orientation is Swype, and landscape is multi-touch since its too wide to be efficient with swype, therefore; I only created templates for portait swype so far, sorry.
ADB
WinRar(for exploring apk)
Adobe Illustrator version CS 1 and up (for editing templates)
Adobe Photoshop (for resizing keyboard images)
Side Note: Other programs will work, and other methods work, these are just tried and proven so your on your own or at least quite possibly beyond the realm of my help by using different editors.
Step 1:
ADB pull the Swype.apk file from system/app
Step 2:
Back up said Swype.apk file to ensure you can revert to stock
Step 3:
Open apk and extract "assets" folder to an easily accessible location with WinRar
Step 4:
Download 4 Illustrator Templates attatched
Step 5:
Edit templates as you see fit (font, size, color, button color, background color, GO CRAZY!)
Step 6:
From Illustrator export as .png file (make sure to keep the same file names!)
Step 7:
In Photoshop, resize images to same size as the stock ones in the folder /assets/keyboards, (480 x 320 for Droid X but you should check yours to make sure)
Step 8:
Place your newly made and sized .png files into the previously mentioned /assets/keyboards folder overwriting existing. You can make other changes here, I was focusing on the keyboards here because they are the most tedious to change but go ahead, Run Amok. "Amok Amok Amok Amok" yeahh line from the movie "Hocus Pocus" ANYWAY
Step 9:
re inject Assets folder into Swype.apk overwriting old, (i usually delete Assets, then inject to ensure overwrite)
Step 10:
ADB push back to phone and switch input method back to Swype
Step 11:
Show off your newly customized keyboard!
Step 12:
Post your .png files to help the community and show off what you did!
Alternate Lazy Way: Sit around wait for a cool keyboard to be posted and leach, simply inject someones .png files into your Swype.apk
Daves Dark Theme 1
Alright so here is the .png files for my first theme, just to get the ball rolling. Lets see what you got!
HOLY SHYTE I was planning to create AI files for this and Launcher Pro Icons, this will save some time
Any chance you have LP Icons in vector format too?
Dude.
Thanks for providing .AI files, what a great contribution! I was going to take the stock png's and photoshop them. This is much cleaner!
You don't have full-width .AI's laying around do you?
Morkai
sorry I just started making themes last night, so I don't have any Icon files lying around. Although, in the newer versions of Illustrator you can use "live trace" to make vector formats from raster images.
Jeftep
You're asking about the landscape aspect ratio keyboard right? Currently I didn't make it yet if I do landscape it will be for the stock multi-touch keyboard first then maybe id get around to swype. The keys are just too spaced out to be efficient to use with 1 finger.
And yes, thats exactly where I started too, "well lemme just see what I can do with photoshop.... awww screww it Fresh Start in illustrator"
So sorry thats a no to both questions, but come on, I just started.
SharkBaitDave said:
Morkai
sorry I just started making themes last night, so I don't have any Icon files lying around. Although, in the newer versions of Illustrator you can use "live trace" to make vector formats from raster images.
Jeftep
You're asking about the landscape aspect ratio keyboard right? Currently I didn't make it yet if I do landscape it will be for the stock multi-touch keyboard first then maybe id get around to swype. The keys are just too spaced out to be efficient to use with 1 finger.
And yes, thats exactly where I started too, "well lemme just see what I can do with photoshop.... awww screww it Fresh Start in illustrator"
So sorry thats a no to both questions, but come on, I just started.
Click to expand...
Click to collapse
Are you saying you can use one keyboard portrait and the other Landscape? Please say you are.. and do tell how!!
Morkai Almandragon said:
Are you saying you can use one keyboard portrait and the other Landscape? Please say you are.. and do tell how!!
Click to expand...
Click to collapse
yepp! and its Amazing!!!
http://getandroidstuff.com/download-keyboard-manager-android-dual-keyboard-switch-portraitlandscape/
Batman Theme
Thinking about Batman Theme'ng out my phone, I'm not sure what the keyboard needs, but its not quite there yet...
SharkBaitDave said:
Alright, so we all love swype, and with the developers not wanting to share means you cannot load a theme'd apk file, .......
Click to expand...
Click to collapse
.......?
Ummm.. I have always shared how to theme with whom ever has asked.. plus all mine are simple to load... some swypes are custom to certain themes, and in those cases the dev's aren't going to spend time explaining how to do each part.
Not trying to bash, just stating a point.
As many know i have made quite a few swype themes(check sig), and many custom order for other devices who "technically" arent supposed to have swype.
If anyone needs help modding the tracer, or if you run into the "amp&" issue when playing with any other KB's i will be happy to help.
Good work btw, all the extra people theming makes more stuff avail, never anything wrong with that.
Swype C&D
Alright thats my fault, I meant the developers of Swype, not the XDA community.
http://www.xda-developers.com/announcements/xda-notice-swype/
this is what I was talking about with not really being able to share swype on the forum in an installable format. I was just trying to show a new way we can still all share themes while keeping the forum out of the firing range of C&D letters or worse.
While I'm certainly not claiming this to be a breakthrough in any means as its simply another way we can continue to share themes for this great app. I definitely agree there is a better way to install than this run around...
Have you modified the tracer for version 1.64.40.9380? I found a few forums that showed how to do it, but only in the newer versions and not droid X. Is libSwypecore.so different by Swype version? manufacturer?
http://forum.xda-developers.com/showthread.php?t=801770
Says to modify 5b410, 5b411, and 5b412 for Blue, Green, Red but it doesn't seem to change the color after I push it back to the phone. I got a newer version, but it was configured for 800x480 not our screen and repeadly threw errors.
Thanks
ahh, agreed. The creators are definitly unfriendly towards devs.
you are correct on the file to edit for the tracer. If you open up an unmodified .so file and search for the string "dda25bff" that is the hex color part. Since its in hex its backwards. The proper color code would be ffb52add. So say you wanted to make the color black = ff000000. You would type it in reverse 000000ff.
Only change that string and you should be good.
Tracer Edit worked like a charm, thanks.
Sketch theme
just found an new ADW theme and wanted a sketchey/hand drawn style KB
how do i complete step 4? where are the 4 Illustrator Templates attatched?
Here is the boot animation and wallpapers from the Sony Tablet s system dump
Boot animation
Just move it to System/Media and reboot
I am trying to get a theme together and port apps as well support and help is welcome and encouraged
daniel9522 said:
try this link for system dump
www.4shared.com/file/nC-OMqd9/TabletSsystem.html
try this link for tabletS dump(1gb)
www.4shared.com/file/lp2GnnXg/TabletSdump.html
Click to expand...
Click to collapse
Thanks to Daniel9533 for the system and full dump
Wallpapers
Wallpapers
they are kind of low rez i will try to find the better ones
Theme is here (almost done)
the Sony tablet s is pretty stock it uses the stock buttons and clock widget ect but there are some decent icon skins
Apps
Hopfully where apps/the theme will go once i get those working
will probably have theme done tomorrow
apps will take allot longer as i really dont know how to do it yet
Apk's im going to try to get working
Favorites
MediaPlayers
Visualiser
S-launcher2
-- Reserved---
Do I need to be rooted to install
you need to be rooted to install the boot animation but the wallpapers you can just unzip and place on the sdcard
for the bootanimation, you can can copy it to /data/local (no need to be root or overwrite the default bootanimation )
edit mrevankyle
forum.xda-developers.com/showthread.php?t=1077145
forum.xda-developers.com/showthread.php?t=1101535
dvhh said:
for the bootanimation, you can can copy it to /data/local (no need to be root or overwrite the default bootanimation )
Click to expand...
Click to collapse
are you sure about that?
Could you link the system dump? Wanna take a look
Okay, found the dump, started boggling around the files.
S-Launcher2
needs some SE framework bits, and to be placed in /system (shares config files with the stock Launcher). Differences are the following:
- Added favorites menu
- Added settings icon next to the Google search bar on top
- The add widget screen has been a bit finetuned, now you can select default screen by the arrows under the screens
So, after fiddling and getting it to run, the following happened:
- Apps menu can not be opened (some kind of a static library problem, the needed file libark2.so gets the menu killed)
- Favorites part won't work
MediaPlayers
After doing some static library magic, it's starting, but then freezes (no "FC or wait" message until touch)
Visualiser
I did not try anything with it
What worth checking out was done
fonix232 said:
Okay, found the dump, started boggling around the files.
S-Launcher2
needs some SE framework bits, and to be placed in /system (shares config files with the stock Launcher). Differences are the following:
- Added favorites menu
- Added settings icon next to the Google search bar on top
- The add widget screen has been a bit finetuned, now you can select default screen by the arrows under the screens
So, after fiddling and getting it to run, the following happened:
- Apps menu can not be opened (some kind of a static library problem, the needed file libark2.so gets the menu killed)
- Favorites part won't work
MediaPlayers
After doing some static library magic, it's starting, but then freezes (no "FC or wait" message until touch)
Visualiser
I did not try anything with it
What worth checking out was done
Click to expand...
Click to collapse
Thanks soo much i wasn't able to respond because i was at school all day. as for the favorites that links in to the favorites apk i believe
but nice work in the meantime
and woul you mind linking what you have done so far?
also i am trying to learn how to do this stuff for myself as well how did you change it to get it to install whenever i tried it gave me error-9
mrevankyle said:
Thanks soo much i wasn't able to respond because i was at school all day. as for the favorites that links in to the favorites apk i believe
but nice work in the meantime
and woul you mind linking what you have done so far?
also i am trying to learn how to do this stuff for myself as well how did you change it to get it to install whenever i tried it gave me error-9
Click to expand...
Click to collapse
Yes, the favorites app is what I meant, but it's not a separate app - there's a button next to the "Apps" one in the Launcher, that goes to Favorites, but it's not working either (same Ark2 library stuff).
I'll upload them as soon as I get an all-in-one package ready - currently all the files are scattered around, fixed and unfixed versions, etc.
Don't use CWM then, but ADB to remount /system and write directly to it through USB!
Favourites is a separate app isn't it? Ive linked in the Favorites.apk i found in the sys dump
But anyways nice work so far
and i was originally pushing the apk's in with root explorer but i will try adb thanks
Thanks fonix232 for your work!
any progress here ? or is it a stopped project ?
I really like the idea thanks for the work so far
if you need a hand, just say. if you want a quick sign and zip-align of an app from the dump i can do that, also i can port the theme quite quickly if you aren't already doing that?
pashinator said:
if you need a hand, just say. if you want a quick sign and zip-align of an app from the dump i can do that, also i can port the theme quite quickly if you aren't already doing that?
Click to expand...
Click to collapse
nice to see you here pashinator but it is not as simple as a singn/zipalign it has tons of dependant apps and librarys and i keep getting stuck with a fatal exeption. and the theme i can do if there is enough intrest but urrently i have been buisy with school and the xoom2/xyboard. if you want to give it a try thaat would be great though
whaen decompileing the apps do you have any issue or do you have to install apktool framework "apktool if "?
pashinator said:
whaen decompileing the apps do you have any issue or do you have to install apktool framework "apktool if "?
Click to expand...
Click to collapse
there are no errors during decompiling
Hello,
was playing with some customized theme this afternoon, but changing the icons one on one takes a lot of time, is there a way to "automate" this process?)
Is there a way to 'import' a whole icon pack at once?
I'm on VI 4,01 and i have nova launcher prime installed. for folders i use simi folder.
thanks in advance!!
AFAIK There is no such thing (yet) for the sensation This is a bummer, because it requires you to do 1 by 1 using desktop visualiser. However this app doesnt have a back up feature, so if you spend too long customising icons, You can be sure that they will be replaced back to stock when flashing a new ROM
I agree that it would be epic to have a flashable iconpack.zip or something But thats not to say that it will never be made...
hey!
thanks for the reply, to bad such a thing does not exist, it takes lot'sof time to assign the icons one by one.
Thanks for the answer!
edit:
Is there a way to flash an icon pack? so all icons are changed at once? I seem to find some info, but not all. Is this something that can be done trough recovery?