Help!
I'm trying to theme the widget of the subsonic apk.
I downloaded the original apk. I then proceeded to decompile it, add my custom widget graphics, recompile the apk, and sign the file. I was able to install the apk with no issues. I was even able to add the widget to my homescreen, and it looked fine. But every time I open the program, I get an immediate force close. Anyone know what I'm doing wrong?
If someone wants to take a crack at it for me, I've attached the original apk, and the graphics from the drawable-hpdi folder. I'm probably missing something here, so I'd appreciate any help. Thanks in advance!
Okay this is driving me nuts, I've tried everything. Here's the widget background.
OSully said:
Okay this is driving me nuts, I've tried everything!
The compiled png is attached too.
Click to expand...
Click to collapse
Is this a market app?
first off the new png's are not the right size. your png's are 32px and they need to be 48px. i cant edit them at work so i will try again when im off but for now try this
http://db.tt/NCULHGI
let me know if it installs or not.
No such luck, won't install.
Would LOVE a more aesthetically pleasing widget, my subsonic server is my new favorite feature for my mobile!
Subsonic is amazing! I just despise the widget. Its so ugly.
Sent from my dINC
Bump for more help... I think I've attempted everything. I noticed that for some reason when after recompiling the apk, the button images have been switched to 32x32 pixels and the drawable-hdpi-v4 folder is renamed to just drawable-hdpi. I don't know what it going on. I'm using apktool.
hey sorry man. i just got busy. hey if you have all the pngs the right size then i would rename it and sign it. some apps are just very hard to mod and install
Yeah I think im giving up.
Sent from my dINC
OSully said:
Yeah I think im giving up.
Sent from my dINC
Click to expand...
Click to collapse
Sent you a PM.
Related
Hey all,
I need some help identifying the location and name of the .apk that I can modify to theme my power control widget. I am running Fresh ROM 2.3.3.
thanks for any assistance you can render.
mbuchholz
EDIT:
my zip is too big... I don't have any place to host it, so if you want to try it out, pm me and I'll email it to you. If someone wants to host it for me, I'm cool with that. Here's a screenshot so you can at least see what it looks like.
Settings.apk
in system/app/
at least that's where in is on Cyanogenmod
mbuchholz said:
Hey all,
I need some help identifying the location and name of the .apk that I can modify to theme my power control widget. I am running Fresh ROM 2.3.3.
thanks for any assistance you can render.
mbuchholz
Click to expand...
Click to collapse
Thanks for the assist. I found it with your info.
Ok, so I found the Settings.apk in /system/app/ but I can't seem to locate the .png that sets the background of the app. I'm trying to rid my power control widget of the dark gray backdrop so it looks nice and clean and clear. Can anyone help me out on this?
Thanks,
mbuchholz
mbuchholz said:
Ok, so I found the Settings.apk in /system/app/ but I can't seem to locate the .png that sets the background of the app. I'm trying to rid my power control widget of the dark gray backdrop so it looks nice and clean and clear. Can anyone help me out on this?
Thanks,
mbuchholz
Click to expand...
Click to collapse
It should be in \res\drawable-mdpi
and the file name is appwidget_bg.9.png
I uploaded my metamorph file that makes a clear power control widget and makes the genie widget look like the one posted in this Clear Genie Widget you can take the png file from there and use it
Russss said:
It should be in \res\drawable-mdpi
and the file name is appwidget_bg.9.png
Click to expand...
Click to collapse
That's the correct image, however, it is not located in Setting.apk, with the rest of the images, rather in com.htc.resources.apk.
JsChiSurf said:
That's the correct image, however, it is not located in Setting.apk, with the rest of the images, rather in com.htc.resources.apk.
Click to expand...
Click to collapse
You are right, I forgot he was on Fresh....in AOSP roms it is located in the settings.apk
Cool. I'll take a look tonight. Thanks!
Sent from my HERO200 using XDA App
Once you get this done would you consider uploading it? I would love to have a clear Power Control Widget, as I'm sure other's would as well!
Yes please, me too!!!
steindog99 said:
Once you get this done would you consider uploading it? I would love to have a clear Power Control Widget, as I'm sure other's would as well!
Click to expand...
Click to collapse
Thanks to everyone's help I have figured out how to remove the background. I need to tweak the icons a bit so it may be a day or so before I can upload a flashable zip. Keep in mind, if you flash the zip, it will reset your com.htc.resources.apk to stock fresh 2.3.3 except for the clear power control app background.
I'll post a reply with the flashable zip asap.
thanks again!
mbuchholz
can anyone post up a themed version of the stock or new MIUI rom flashable 3G indicator, themed to match this (or both):
http://forum.xda-developers.com/showthread.php?t=788214
Thanks!
Do you mean you're after:
A theme for MIUI which has the 3G icons from that theme
or
That theme with the MIUI 3G icons?
Josh.
fllash said:
Do you mean you're after:
A theme for MIUI which has the 3G icons from that theme
or
That theme with the MIUI 3G icons?
Josh.
Click to expand...
Click to collapse
I would like the 3g icon from that rom to flash over SkyRaider 3.2
^Same^ but likt the one from the smooth blue theme that is a blue 3G indicator. Or JUST the stock HTC 3G indicator in blue if possible. Thanks
just pull it out of the framework and color it yourself, it's like 4 images
worm- said:
just pull it out of the framework and color it yourself, it's like 4 images
Click to expand...
Click to collapse
How do I do this?
Thanks
Funny. I was just going to post asking anyone if they had it in red. I would also like to know how to do it.
Contempt4You said:
Funny. I was just going to post asking anyone if they had it in red. I would also like to know how to do it.
Click to expand...
Click to collapse
I know. I really want it lol, because i kinda hate the 3G indicator in the theme i have currently, as it's hard to see the upload/download arrows, so i just wanted a flashable indicator so I dont lose the cool notification pulldown
I can edit it with photoshop if I can find it. Can anyone give me a hint to the file path?
EDIT: Hah...ok I suck and fail.
I found the apk and edited the images. Looked great. Put the apk back together. Unistalled the original apk and tried to install my modified apk. Would not install. I'm done with it for now. I guess I will read up on signing tomorrow although I thought I had read that system apps didn't need to be signed.
I'll play with it more tomorrow.
do adb pull /system/framework/framework-res.apk
And the images should n in the drawable-hdpi. Folder if not just look around until u find the images
Then pull the framework from your current Rom and replace your images with the images you want then repush your framework hack to the phone and reboot
Sent from my ADR6300 using Tapatalk
Contempt4You said:
I can edit it with photoshop if I can find it. Can anyone give me a hint to the file path?
EDIT: Hah...ok I suck and fail.
I found the apk and edited the images. Looked great. Put the apk back together. Unistalled the original apk and tried to install my modified apk. Would not install. I'm done with it for now. I guess I will read up on signing tomorrow although I thought I had read that system apps didn't need to be signed.
I'll play with it more tomorrow.
Click to expand...
Click to collapse
If you figure it out can you pack a zip of just the 3g icon in blue as well for me?
Thanks man
Thanks for the tips. With a little help from google, I was able to figure it out.
Which icon did you need exactly? The 3g toggle or the notification bar?
well, i did it and replaced some old icons with cooler looking ones, but the 3g icons (along with similar data icons) did not show up. all of the other ones showed up. also, i read a thread where this dude got 4g icons from another rom and installed them on his phone to make it look like he had 4g, but then hours later, he experienced loss of mobile data... and now i think i am too... any suggestions?
I'm sorry I can't help you. I am learning all this myself and wouldn't pretend to know where to start on that. All I can say is that if you are going to make any changes then backup early and often.
The 3g toggle icons I was looking for were in system/app. I merely reskinned them and dropped them back in.
Contempt4You said:
I'm sorry I can't help you. I am learning all this myself and wouldn't pretend to know where to start on that. All I can say is that if you are going to make any changes then backup early and often.
The 3g toggle icons I was looking for were in system/app. I merely reskinned them and dropped them back in.
Click to expand...
Click to collapse
i wanted notification bar icon
I'm running a theme and mine is already skinned. I think either way you would still have to adb push it onto your phone. I did some googling and took a crash course on changing system icons.
Once I figured it out, it made sense (i know that sounds stupid, but after i did it, I was like oh yeah I get it now). I know that's not a big help, but I'm new to this and wouldn't want to bork your phone. Maybe someone more knowledgable will come save the day.
Otherwise I would google in terms like editing apks and adb pull adb push etc. and maybe you will figure it out too.
Hell I can't wait to ruin my phone now that I am armed and dangerous =)
Contempt4You said:
I'm running a theme and mine is already skinned. I think either way you would still have to adb push it onto your phone. I did some googling and took a crash course on changing system icons.
Once I figured it out, it made sense (i know that sounds stupid, but after i did it, I was like oh yeah I get it now). I know that's not a big help, but I'm new to this and wouldn't want to bork your phone. Maybe someone more knowledgable will come save the day.
Otherwise I would google in terms like editing apks and adb pull adb push etc. and maybe you will figure it out too.
Hell I can't wait to ruin my phone now that I am armed and dangerous =)
Click to expand...
Click to collapse
Lol, i actuallly finally figured out how to extract the png's, so i am going to edit in photoshop, then replace the current images with the app ninjamorph.
*didnt work* left a huge blank space on noti. bar and when I rebooted to see if it would show, I bootlooped*
Well. I spent last night learning to resign edited apk files, so literally nothing on my phone is safe now.
Contempt4You said:
Well. I spent last night learning to resign edited apk files, so literally nothing on my phone is safe now.
Click to expand...
Click to collapse
Is there any way to pack the png's so that I can flash them or install as an apk?
Anyone know how I'd do this? I already have the edited png's.
Can I send any of you guys the folder with the icons and you can help me out with this?
Thanks again
It seems the easiest way to change or theme icons is to not unzip them. Just open them with 7zip and make your changes, then close it. They will stay compressed and all of the info and size will remain intact.
Once changed you will have to resign the apk or zip file.
I spent the better part of 2 hours reading up on it using these forums and google, but I do not in any way feel knowledgable enough to instruct you on the finer points. There are oodles of topics on editing apk's and signing them when you are finished.
The steps seem pretty clear:
1. download or pull apk
2. open with 7zip
3. make changes keeping sizes and file names the same
4. close
5. re-sign the apk or zip file (most likely have to delete the existing files to the original signing which will be replaced with your own)
6. push or install the zip or apk (make sure the original app is uninstalled prior to reinstalling the changed app)
There are various methods and tools. The most helpful thread I found on signing is here: http://forum.xda-developers.com/showthread.php?t=473580
I hope this covers it all and is helpful to you. I am new at it and can only tell you to backup everything and if you are unclear on any of it, then don't attempt it.
Read all the posts related to it. There is great info and plenty of feedback on known issues or mistakes others have had.
Hey all, question for ya,
been messing around with the notification pull down. Got it just the way I want it, except for when downloading from the market I get black on black text. Hard to read. really no big deal but it is bugging the heck out of me. Read tons of posts/sites where people have had the same prob. on various phones/roms but can't find a solution.
Anyone know what to change or do???
Here is a pic for clarification.
Thanks Nycorduroy
There is a post a few pages back about modding the xmls.
Do a search in the theme thread for "xml edit"
phim, gets pretty in depth, easier way is to use apk manager, decompile the apk, modify the xml, recompile the apk. DO NOT PUSH THE RECOMPILED FRAMEWORK! pushing a recompiled frame work will give you endless fc's
open the new compiled framework with 7zip and drag your newly compiled xmls into your good framework. then push that one.
Dont forget to do a back up first!
If you dont want to edit the xmls, feel free to grab one of my themes and pull them out.
Thanks for the quick response!! Which xml files am I looking to edit?? they are in the framework file I assume. Any other info you have is appreciated. Right now it looks like it is just when downloading files to phone. After download all is good and in white. thanks again
Nycorduroy
ps i love this android community!! Freedom!!!!
Cant remember exactly which one it was, sorry.
i think status_bar or status_bar_expanded.
nycorduroy said:
Which xml files am I looking to edit??
Click to expand...
Click to collapse
You need to edit the status_bar and status_bar_latest_event.xmls from framework-res/res/layout
Sweet. I will make an attempt. Worse case I might take you up on the offer bad4u6669. Thanks for the generosity.
Sent from my DROIDX using XDA App
The easiest way for you to do it is just grab the xml files that have already been edited from one of the other themes and plug them into your phone...
How do we know which xml is the right one to apply? And where?
@ ny - no worries, i like to help out any way i can, so I dont put a major lockdown on most stuff i have made
@ hack - yeah but then you dont learn anything by modding and pushing bad files then having to sbf and start ALL OVER!!! haha
@jr hack said it 4 posts up...
Currently at work by chance could any1 post a xml or even pm me and ill use ninjamorph to apply
Hello everyone,
I recently started working at my own custom theme which will be mainly flat black with white icons and android green highlights. I've shown it to a couple of friends and they really quite like it. I've updated every single image in the Framework-res.apk so it really is a complete revamp.
Now, I also want to edit some of the applications that I installed to match the theming (for example Handcent SMS and Winamp). I managed to pull the apk files from my phone, decompile them, edit the images and rebuilding them. But I can't seem to manage to push them back to my phone with succes because they get "uninstalled" when I push the files back to overwrite the originals (they are removed from the app drawer).
I wonder if anyone of you knows why and if it's solveable, I really like Winamp and Handcent SMS.
Cheers in advance!
Do you resign the app ?? use apk manager ??
I am not that clever to do that stuff, but it sounds like when you mod widget locker and you dont sign the apk file, if i am completely wrong sorry just trying to help
chiefy009 said:
Do you resign the app ?? use apk manager ??
I am not that clever to do that stuff, but it sounds like when you mod widget locker and you dont sign the apk file, if i am completely wrong sorry just trying to help
Click to expand...
Click to collapse
I did not resign the app, I didn't even know such thing excisted. I'm not that smart myself, I'm just a stupid designer knowing how to photoshop really well But other than that I just followed some tutorials.
If you could explain to me how to resign an app that would be of great help. Thanks!
Search for widget locker mods and in that post at the top there is a piece of kit called apk manager, follow the instructions and it will resign your apk and allow it to be used
http://forum.xda-developers.com/showthread.php?t=825553
thats the link with the apk manager in the thread
Yup it seems it worked guys. APK Manager is awesome, makes it all so much easier and faster
Thanks for helping me out!
FricoRico said:
Yup it seems it worked guys. APK Manager is awesome, makes it all so much easier and faster
Thanks for helping me out!
Click to expand...
Click to collapse
Pleasure share your work once complete?
sent from my commodore 64
You'll be the first one to know when the theme is finished. I'm making quick progress now. I'm gonna edit some more apps that I frequently use. Winamp is almost fully customized. I'm not quite sure how to pack everything up into an easy installer for you guys to use. But by that time I will ask for help again, I'm sure there will be loads of people who will teach me how to do that when they see the final product.
FricoRico said:
You'll be the first one to know when the theme is finished. I'm making quick progress now. I'm gonna edit some more apps that I frequently use. Winamp is almost fully customized. I'm not quite sure how to pack everything up into an easy installer for you guys to use. But by that time I will ask for help again, I'm sure there will be loads of people who will teach me how to do that when they see the final product.
Click to expand...
Click to collapse
I will always help where I can with what little I know or St least try to point you somewhere, good luck
sent from my commodore 64
Wondering what needs to be done just to change certin aspects of a theme. ex: im using blue steele w/ puzzle lock but I still have the ginger red swype. Id like to switch the keyboard around. Any ideas our suggestions?
Sent from my SCH-I500 using Tapatalk
thatguy07 said:
Wondering what needs to be done just to change certin aspects of a theme. ex: im using blue steele w/ puzzle lock but I still have the ginger red swype. Id like to switch the keyboard around. Any ideas our suggestions?
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
Read my guide, pay attention to the "creating a flashable package" part, basically to alter any file/folder on your phone you would simply need to place the file/folder in the appropriate folder structure within that zip, then flash. (This is all done while the package is still in the .apk format, you would need 7zip to open it and do the editing while it's still packaged, you never extract)
It'd be easiest for you to just go back to pick and pack, then flash the puzzle lock - that would get everything else back to stock that isn't themed.
I figured that would be the easiest route but Im feeling froggy and want to do it the hard way.i'm about to start digging into your guide now.
Sent from my SCH-I500 using Tapatalk
thatguy07 said:
I figured that would be the easiest route but Im feeling froggy and want to do it the hard way.i'm about to start digging into your guide now.
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
If you can find a swype that has been themed for another phone, you should be able to easily port it to the pnp version with theme porter, then add that APP to my puzzle lock theme and flash. Let me know and I'll include it in the theme.
bdemartino said:
If you can find a swype that has been themed for another phone, you should be able to easily port it to the pnp version with theme porter, then add that APP to my puzzle lock theme and flash. Let me know and I'll include it in the theme.
Click to expand...
Click to collapse
There's a really cool Swype keyboard in that BlackFroyo theme I'm hoping someone jumps on I tried to just overwrite the .apk and that didn't work out so well for me.
Well I had to just pnp to the original swype for now, running around town with too many projects for the day but tonight its on. Ive got two mezs to play with
Sent from my SCH-I500 using Tapatalk
akellar said:
There's a really cool Swype keyboard in that BlackFroyo theme I'm hoping someone jumps on I tried to just overwrite the .apk and that didn't work out so well for me.
Click to expand...
Click to collapse
Yea, I tried pulling the widgetlocker .apk from my phone, editing it and pushing it back and it dissappeared from my app drawer, so I'm still learning about those issues.
You guys could port that swype keyboard to pnp (using my guide) and create a package that only flashes that app to your phone... once i'ts ported it could be added to any existing theme's too.
bdemartino said:
Yea, I tried pulling the widgetlocker .apk from my phone, editing it and pushing it back and it dissappeared from my app drawer, so I'm still learning about those issues.
You guys could port that swype keyboard to pnp (using my guide) and create a package that only flashes that app to your phone... once i'ts ported it could be added to any existing theme's too.
Click to expand...
Click to collapse
As you know, I know nothing about themeing but when I tried to just overwrite the .apk file it gave me an error saying that the app wasn't designed for my phone (or something like that) and would have limited usability. And then came the onslaught of the FC loop. Would making this a flashable install fix that or is it because the app itself just doesn't work with our phones?
akellar said:
As you know, I know nothing about themeing but when I tried to just overwrite the .apk file it gave me an error saying that the app wasn't designed for my phone (or something like that) and would have limited usability. And then came the onslaught of the FC loop. Would making this a flashable install fix that or is it because the app itself just doesn't work with our phones?
Click to expand...
Click to collapse
that's why we have to port them to the pnp version first, it just copies all of the .png files to our version (that already works on our phone) then you would be able to replace it through root explorer (or make a flash package) sounds like you were trying to use the .apk from the other phone? Never do that btw
bdemartino said:
that's why we have to port them to the pnp version first, it just copies all of the .png files to our version (that already works on our phone) then you would be able to replace it through root explorer (or make a flash package) sounds like you were trying to use the .apk from the other phone? Never do that btw
Click to expand...
Click to collapse
LOL Yeah I learned that lesson. Thank God for nandroid backups. It actually wasn't that bad just couldn't use the Swype keyboard anymore (even after putting our .apk back on). Maybe I'll give your guide a try. It kind of intimidated me the first time I read through it but maybe just pulling a single app will be a good way to start.
akellar said:
LOL Yeah I learned that lesson. Thank God for nandroid backups. It actually wasn't that bad just couldn't use the Swype keyboard anymore (even after putting our .apk back on). Maybe I'll give your guide a try. It kind of intimidated me the first time I read through it but maybe just pulling a single app will be a good way to start.
Click to expand...
Click to collapse
Skip reading the part about framework and decompiling. App's are wayyy easier, you should be able to just use theme porter (as long as the folder names within the theme'd version matches what's in pnp's version, should have -v4 i believe so you may have to rename those in the theme version.) Or you could manually move the .png's by opening each one in 7zip side by side.
bdemartino said:
Skip reading the part about framework and decompiling. App's are wayyy easier, you should be able to just use theme porter (as long as the folder names within the theme'd version matches what's in pnp's version, should have -v4 i believe so you may have to rename those in the theme version.) Or you could manually move the .png's by opening each one in 7zip side by side.
Click to expand...
Click to collapse
Ok I'll give it a shot. You gonna be on the chat tonight in case I confuse myself?
akellar said:
Ok I'll give it a shot. You gonna be on the chat tonight in case I confuse myself?
Click to expand...
Click to collapse
Should be