Related
I remember when I had my myTouch, you could essentially pull the framework-res.apk file, modify it using a program like 7zip which keeps the file verified, then push it back to the phone.
It was nice and easy changing the graphics. Was wondering if anyone's tried this with their Slide so far? I know sometimes (only if done wrong) it could cos infinite boot = nandroid. Not sure I want to try it just yet, anyone out there doing any themeing so far? If so, how'd you do it?
android007 said:
I remember when I had my myTouch, you could essentially pull the framework-res.apk file, modify it using a program like 7zip which keeps the file verified, then push it back to the phone.
It was nice and easy changing the graphics. Was wondering if anyone's tried this with their Slide so far? I know sometimes (only if done wrong) it could cos infinite boot = nandroid. Not sure I want to try it just yet, anyone out there doing any themeing so far? If so, how'd you do it?
Click to expand...
Click to collapse
there is a theme forum for this phone, please post this in there(there is also already a post in there full of people trying)
android007 said:
I remember when I had my myTouch, you could essentially pull the framework-res.apk file, modify it using a program like 7zip which keeps the file verified, then push it back to the phone.
It was nice and easy changing the graphics. Was wondering if anyone's tried this with their Slide so far? I know sometimes (only if done wrong) it could cos infinite boot = nandroid. Not sure I want to try it just yet, anyone out there doing any themeing so far? If so, how'd you do it?
Click to expand...
Click to collapse
Im working on one right now...i got the red slide but it has no red themes to speak of...the Fuzzy_Kittens one has a kindof a red theme to it, but all the selectors and highlights and button_press's are all still blue, and its UGLY. so im working on eradicating all the blue, in favor of red.
For the most part its the same as themeing for the G1. There's a LOT more apks in /system to make changes to, and ive found that theres TWO frameworks to take care of, the normal android framework-res.apk, and the also in /system/framework there is com.htc.resources.apk, which is apparently htc's version of framework-res. it contains all kinds of images called common_<whatever>.png and this is where i found the files that make up the default "Nest" theme. all the other themes that you can choose for the Slide are in .apk form and up until we had root i was modifying and installing the apk's to theme this puppy, but i could never find the .apk for the default theme...well thats why, the default theme is in com.htc.resources.apk, and its the default espresso theme, not a tmobile theme.
Im still working on my theme, its not ready yet, i just had yesterday to work on it, and ive made some progress, but i still have to get a generic 2.1 ROM to build so i can extract the xmls from it to inject into the ROM to change colors that are coded like progressbars, white backgrounds, etc. so whenever i get time for that ill be rollin...then i wanna try to get colorchange.jar to work on SlideMEROOT2 so i can change the clock and notif. text and stuff...alll in due time!
-BMFC
You have to de-odex the framework-res and the com.HTC.resources to theme
-------------------------------------
Sent via the XDA Tapatalk App
thatguythatdid said:
You have to de-odex the framework-res and the com.HTC.resources to theme
Click to expand...
Click to collapse
Sorry, but im afraid you're wrong...i didnt de-odex anything, and my theme is working fine...i can upload screenshots if you dont believe me.
-BMFC
bmfc187 said:
Sorry, but im afraid you're wrong...i didnt de-odex anything, and my theme is working fine...i can upload screenshots if you dont believe me.
-BMFC
Click to expand...
Click to collapse
even though you sound like a di*k. Good find I had been theming using de-odexed files but I'll give this a try.
Sorry, but im afraid you're wrong...i didnt de-odex anything, and my theme is working fine...i can upload screenshots if you dont believe me.
-BMFC
Click to expand...
Click to collapse
even though you sound like a di*k. Good find I had been theming using de-odexed files but I'll give this a try.
Click to expand...
Click to collapse
Honestly you're kinda right, I do come off sounding like a **** a lot...sorry didn't mean for it to come out that way...
anyway yeah you can do it without deodexing, I'm just using winrar to extract the whole ROM to a folder, then I go into and extract all .apks using 7zip (winrar doesn't recognize .apk files, you hafta rename them to *.apk.zip, but 7zip works on .apks without renaming them at all). Then I just modify or replace whatever images then inject them into a copy of the ROM .zip and resign and reflash...works great for me!
-BMFC
-------------------------------------
Sent from my ROOTED MyTouch3G Slide
http://forum.xda-developers.com/showthread.php?t=737526
Heres a script that ports your themes from firmware to firmware, rom to rom.
How it works:
- Looks through app/framework folder for apks that exist in new/old rom
- Then extracts pngs from those apks
- Then deletes mismatching pngs
- Repacks old themes pngs into new rom
- Done
Click to expand...
Click to collapse
Easy cheesy multi rom theme ports
Here we go! This is gonna be fun this weekend.
xtremekilla09 said:
Here we go! This is gonna be fun this weekend.
Click to expand...
Click to collapse
lol... +1
Now I can port my themes for the whole world to share. Thanks for the find...and thanks for sharing.
sent using a phone.
Now what would really be nice would be if someone designed an .apk that did this on the phone(while adding the originals to a "theme-revert.zip" and the new theme to "theme.zip"). Then you just make one theme and post the link to the .apk.
The closest i ever found was zipthemer but it didnt work every time and thats no good.
If only someone could port the open source t-mobile theme choser to samsuck.
So this is it until someone who knows how to code jumps on that idea lol. Still glad it exists and that i bumped into it. And even more so that two of main people i had hoped would make use of it appear to be willing to do just that.
whiteguypl said:
And even more so that two of main people i had hoped would make use of it appear to be willing to do just that.
Click to expand...
Click to collapse
You bet. If this works, there are so many things that can be done, oh man. It will rain themes, well at least for FireFly to start with.
Again, thanks for pointing this out.
xtremekilla09 said:
You bet. If this works, there are so many things that can be done, oh man. It will rain themes, well at least for FireFly to start with.
Again, thanks for pointing this out.
Click to expand...
Click to collapse
From the limited testing ive done it seems to be working 100%. The only real potential problem im seeing (and the script might have a way to handel it) is porting a theme that uses drawable-hdpi to an apk that has both an hdpi AND hdpi-v4 folder in it. I would hope its defaulting hdpi to hdpi-v4. Lol... But i dont know.
Edit: and even that hope is based on the possible incorrect assumption that andriod will allways pull from the v4 folder given the choice? Anyone care to enlighten me?
whiteguypl said:
From the limited testing ive done it seems to be working 100%. The only real potential problem im seeing (and the script might have a way to handel it) is porting a theme that uses drawable-hdpi to an apk that has both an hdpi AND hdpi-v4 folder in it. I would hope its defaulting hdpi to hdpi-v4. Lol... But i dont know.
Edit: and even that hope is based on the possible incorrect assumption that andriod will allways pull from the v4 folder given the choice? Anyone care to enlighten me?
Click to expand...
Click to collapse
I think it does. Isn't the non-v4 there for compatibility reasons with older os versions? I saw something like that a little while ago, in a theming guide
Herp derp Captivate XDA app.
Well after a lot of testing i can safely say that it does not know how to handle hdpi vs hdpi-v4. And since our rom maintainers have decided to mix and match at will without smoothing anything out this script will not work a large majority of the time, depending on what rom you are on.
Quickish fix is to go into the apk before using the script and renaming all the drawable folders to match both the "themed" and "to be themed" apks. Then after the processes you can go in and rename them back to there original names.
............. Im also assuming that if you kept the folder name changes the xml wouldnt know where to look for the images???? I know little to nothing about how android handels that, if someone would like to chime in please do.
Well I most definitely be playing with it this weekend. Thanks again for the info.
sent using a phone.
whiteguypl said:
Well after a lot of testing i can safely say that it does not know how to handle hdpi vs hdpi-v4. And since our rom maintainers have decided to mix and match at will without smoothing anything out this script will not work a large majority of the time, depending on what rom you are on.
Quickish fix is to go into the apk before using the script and renaming all the drawable folders to match both the "themed" and "to be themed" apks. Then after the processes you can go in and rename them back to there original names.
............. Im also assuming that if you kept the folder name changes the xml wouldnt know where to look for the images???? I know little to nothing about how android handels that, if someone would like to chime in please do.
Click to expand...
Click to collapse
Maybe it could be tweaked.
Like after line 55(like roms) (and line 130 pre to post)
Code:
if EXIST "%~dp0old\%dcrt%\%%~nF\res\drawable-hdpi-v4" (rename "%~dp0old\%dcrt%\%%~nF\res\drawable-hdpi-v4" drawable-mdpi)
if EXIST "%~dp0old\%dcrt%\%%~nF\res\drawable-en-hdpi-v4" (rename "%~dp0old\%dcrt%\%%~nF\res\drawable-en-hdpi-v4" drawable-en-mdpi)
Line 240 seems to be for eclair. Most roms here are froyo.
It is possible. Daneshm90 knows his stuff and keeps it fairly simple. If you come up with something he would probably add it.
I will see what I can come up with.
Edit: Extracted file to C:\Theme-Porter_beta_3.
I added the above lines to to the script at lline 57 and 58.
Added files per directions. No errors. Changed files are dated 3/17. Untouched files still old date.
I may reflash soon to test it. Will follow up.
IamSonoma said:
Maybe it could be tweaked.
Like after line 55(like roms) (and line 130 pre to post)
Code:
if EXIST "%~dp0old\%dcrt%\%%~nF\res\drawable-hdpi-v4" (rename "%~dp0old\%dcrt%\%%~nF\res\drawable-hdpi-v4" drawable-mdpi)
if EXIST "%~dp0old\%dcrt%\%%~nF\res\drawable-en-hdpi-v4" (rename "%~dp0old\%dcrt%\%%~nF\res\drawable-en-hdpi-v4" drawable-en-mdpi)
Line 240 seems to be for eclair. Most roms here are froyo.
It is possible. Daneshm90 knows his stuff and keeps it fairly simple. If you come up with something he would probably add it.
I will see what I can come up with.
Edit: Extracted file to C:\Theme-Porter_beta_3.
I added the above lines to to the script at lline 57 and 58.
Added files per directions. No errors. Changed files are dated 3/17. Untouched files still old date.
I may reflash soon to test it. Will follow up.
Click to expand...
Click to collapse
Looks like that would take it one step closer. The main problem would still exist with those changes. It wont take images from a drawable-hdpi folder and migrate them to a drawable-hdpi-v4 folder. I posted in the op and asked if there might be a way for him to add an option to force the images into the other directory. I would assume it would be similar to part of what the script does to handle hdpi to mdpi conversions.
I haven't been able to find the latest version of facebook with working transparent widget mod, anyone know how to do it or where to find it?
You mean with MetaMorph ?
Marvlesz said:
You mean with MetaMorph ?
Click to expand...
Click to collapse
metamorph has not been working with my facebook, it acts like it does, then it's still not transparent, so what I've done is asked (and gotten) someone better with APK modifying to just upload a modded APK that I push to system/app which works, but I'm now on a pretty old version and can't find the newest one.
I'm on a CM7 2.3.5 ROM, you gotten any metamorph mods to work on the latest facebook?
hey orangekid.
my theme has a transparent widget (partly i guess with white on the bottom, dark on top.) anyways...my point is with cm7 is pretty easy. though you need to decompile apks to get the .9.pngs to work again - that may be what you are running into. if you just drage them and edit them and copy back to the apk things never worked for me.
to be honest, it seems from your questions of late, you need your own theme! can you compile/decompile?
(and btw, my latest version will be out later tonight...)
jsmccabe78 said:
hey orangekid.
my theme has a transparent widget (partly i guess with white on the bottom, dark on top.) anyways...my point is with cm7 is pretty easy. though you need to decompile apks to get the .9.pngs to work again - that may be what you are running into. if you just drage them and edit them and copy back to the apk things never worked for me.
to be honest, it seems from your questions of late, you need your own theme! can you compile/decompile?
(and btw, my latest version will be out later tonight...)
Click to expand...
Click to collapse
lol, so true! Because now I'm trying to get a version of your theme but with different icons for contacts and stuff.
I have not compiled/decompiled APKs before but if there's a decent tutorial out there I learn very fast, do you know of one? Can't be too hard.
I'd love to make my own theme instead of continuing to ask other devs to do it, lol.
*Before you try his theme (I know you will either way ), I've spent a few minutes trying to modify it. Try the apk attached and tell me what happens.
*Edit3:
*to have a fully working widget, just uninstall any previous version (even if you have the latest) of facebook and install the apk normally without pushing.
Marvlesz said:
Before you try his theme (I know you will either way ), I've spent a few minutes trying to modify it. Try the apk attached and tell me what happens.
P.S. (you need to push the app to "data/app/" and not install it normally.
P.S. (Backup yours first, because you may not like it )
Edit:
I just tried it on my phone, it's true that the background has gone transparent but some side effects have arisen:
1- hitting the "What's on your mind?" Forces close Facebook, also hitting the share button does so too.
If you want the widget only to view status updates and go left and right, it is good for doing so. Otherwise try his theme (I know you already did )
Click to expand...
Click to collapse
will do thx!
Bump, if I only edited the post you won't notice. Read the post to fix the force close .
cyan facebook 1.5 works like a charm,install via cwm,reboot,then copy to system app,works perfectly,ad it for 5 months,never 1 prob or force close
Sent from my HTC Pyramid using XDA Premium App
Ty5982 said:
cyan facebook 1.5 works like a charm,install via cwm,reboot,then copy to system app,works perfectly,ad it for 5 months,never 1 prob or force close
Sent from my HTC Pyramid using XDA Premium App
Click to expand...
Click to collapse
But is it always the updated app? Seems like you couldn't update it.
Sent from my HTC HD2 using XDA App
try this one
http://forum.xda-developers.com/showthread.php?t=877510
or
http://forum.xda-developers.com/showthread.php?t=1142596
just download the apk n run
orangekid said:
lol, so true! Because now I'm trying to get a version of your theme but with different icons for contacts and stuff.
I have not compiled/decompiled APKs before but if there's a decent tutorial out there I learn very fast, do you know of one? Can't be too hard.
I'd love to make my own theme instead of continuing to ask other devs to do it, lol.
Click to expand...
Click to collapse
to answer your other questions - if you install an edited apk, once it upgrades you will lose the edits. and will have to start over. which is fine, but just so you know. tis why i like cm7 and themechooser.
you asked for links, here they be. now, i am a complete novice at using terminals, etc. i learned from reading and asking questions and found a system that works for me.
two tools - apktool and apkmanager:
http://forum.xda-developers.com/showthread.php?t=640592
http://forum.xda-developers.com/showthread.php?t=695701
a very easy way to install apktool:
http://www.miui-au.com/add-ons/apktool/
i used this set up. it works flawlessly.
the bible of CM7 theming:
http://forum.xda-developers.com/showthread.php?t=964391
read the above. it is a must. really everything is laid out there.
my system (convoluted, but again i figured out a way and am sticking to it)
1- i decompile using apktool (cmd prompt --- apktool d ***.apk )
2- edit things. note: use photoshop for .9.pngs (only program that will work - paint.net, etc will not compile properly). or you can use 9editor with the sdk, but that thing is frickin' annoying
3- compile my theme (cmd prompt --- apktool b *** ) notice no ".apk"
4- then i move it to apkmanager and sign it
i guess you could do the above with apkmanager, but again, i figured out a system over days via trial and error and i am sticking to it.
now if you want to publish to the market, there is a bit more to do. let me know, and i guarantee if i figured it out (read: help from many people) anyone can.
cheers.
jsmccabe78 said:
to answer your other questions - if you install an edited apk, once it upgrades you will lose the edits. and will have to start over. which is fine, but just so you know. tis why i like cm7 and themechooser.
you asked for links, here they be. now, i am a complete novice at using terminals, etc. i learned from reading and asking questions and found a system that works for me.
two tools - apktool and apkmanager:
http://forum.xda-developers.com/showthread.php?t=640592
http://forum.xda-developers.com/showthread.php?t=695701
a very easy way to install apktool:
http://www.miui-au.com/add-ons/apktool/
i used this set up. it works flawlessly.
the bible of CM7 theming:
http://forum.xda-developers.com/showthread.php?t=964391
read the above. it is a must. really everything is laid out there.
my system (convoluted, but again i figured out a way and am sticking to it)
1- i decompile using apktool (cmd prompt --- apktool d ***.apk )
2- edit things. note: use photoshop for .9.pngs (only program that will work - paint.net, etc will not compile properly). or you can use 9editor with the sdk, but that thing is frickin' annoying
3- compile my theme (cmd prompt --- apktool b *** ) notice no ".apk"
4- then i move it to apkmanager and sign it
i guess you could do the above with apkmanager, but again, i figured out a system over days via trial and error and i am sticking to it.
now if you want to publish to the market, there is a bit more to do. let me know, and i guarantee if i figured it out (read: help from many people) anyone can.
cheers.
Click to expand...
Click to collapse
Thanks so much. I've got reading to do.
Sent from my HTC HD2 using XDA App
Is it possible to make your own HTC skins/themes and if yes how exactly?
Thanks in advance.
Incredible2011 said:
Is it possible to make your own HTC skins/themes and if yes how exactly?
Thanks in advance.
Click to expand...
Click to collapse
I haven't tried editing sense themes since.. FOREVER ago, since things like the htc hero / sapphire / dream "were in"
What I did back then was open up the rom file you download, and in it you'll see a bunch of stuff and go into system\app\ and modify to your liking!
I just took a quick look at a sense rom and it appears that "rosie.apk" is still there. IF things haven't changed as much.. that Should be your main launcher.
So what youcould do is open that via winrar and extract images and stuff out.. then edit it!
Other things like the status bar, should be in framework-res.apk (which should be in framework instead of /apps/)
I've only modded my themes using roms from aosp or vanilla so I don't nkow sense too well.. However this should give you a basic understanding! and the more you wanna edit, the more .apk files you wanna open! good luck
On a similar note, I am trying to modify android with customised sounds (lock/unlock/key press etc) and having some issues.
I have directly tried to place the .ogg files into the following path within android itself using droid explorer but that didnt seem to work.
The path i have been placing it is within the following:
...\system\media\audio\ui
Has anyone managed to successfully do this either with a working rom or pre flashing, in which case could give me some pointers on how to do this?
Thanks
am using go desktop...
Hello.
Could someone please compile this theme for me? I tried every imaginable way possible but just couldn't do it.
https://www.box.com/s/20fd28da27f512290b67
Thank you and I apologize if this is the wrong section.
Hi!
I have to tell you that whith your theme, the camera app doesn't work (That happens with my theme too, but don't know why) and there is nothing different except some green things. I used Tickle my android to compile, and then sign it. It didn't compile at first try, but copied the res folder and put it on the original template for getting it to work :$
Link: https://dl.dropbox.com/u/64034249/theme.apk
Sorry for bad english.