Related
Does anyone out there know if there exists an APK of the Power Control Widget, but clear? I tried doing it with some metamorph zips I found, but they didnt work at all.
The clear part of the widget is spread across different framework files. Well, actually just the one. So, you'd have a modified com.htc.resources.apk to deal with. Better off just doing it yourself.
drummingfool said:
Does anyone out there know if there exists an APK of the Power Control Widget, but clear? I tried doing it with some metamorph zips I found, but they didnt work at all.
Click to expand...
Click to collapse
just adb pull your com.htc.resources.apk and I can update it for you if you don't want to change it yourself, pretty easy.
Heaterz16 said:
just adb pull your com.htc.resources.apk and I can update it for you if you don't want to change it yourself, pretty easy.
Click to expand...
Click to collapse
I pulled the apk and have no issues doing it myself, if I could just find the png for the backgrounds and such on this particular widget. Anyone know?
drummingfool said:
I pulled the apk and have no issues doing it myself, if I could just find the png for the backgrounds and such on this particular widget. Anyone know?
Click to expand...
Click to collapse
I got this to work with metamorph, but I cant get it to work now. I think it has to do with metamorph upgrade.
drummingfool said:
I pulled the apk and have no issues doing it myself, if I could just find the png for the backgrounds and such on this particular widget. Anyone know?
Click to expand...
Click to collapse
It is called appwidget_bg.9 and it is located in /system/framework/com.htc.resources.apk
unzip the .apk file and locate the png in res/drawable-mdpi folder
Let me know if you have anymore questions.
While we're on the sunject, where do I change the color (and potentially shape) of the green bars below the widget. Like, the green indicators that show that you have one of the options set to on.
I can pull the .apk and do it myself, I just need to know where Thanks!
Just wondering if someone is already working on changing the lockscreen sliders to a glossy black, moto sliders are fugly. I have seen many posts for people requesting this in other threads and being a noob to theming I have no idea where to start.
What is the name of the file that needs to be modified and in which .apk is it located? I might make this my first "theme" project if I find the file and if this has not already been done.
The sliders are part of framework. Pull framework-res.apk from /system/framework and open the apk in any zip program like 7zip or WinRAR. Then look in the drawable-hdpi and drawable-land-hdpi folders and you should see the sliders. Then edit in Photoshop or something. Put back in framework-res.apk then push back to the phone and reboot.
Explodee said:
The sliders are part of framework. Pull framework-res.apk from /system/framework and open the apk in any zip program like 7zip or WinRAR. Then look in the drawable-hdpi and drawable-land-hdpi folders and you should see the sliders. Then edit in Photoshop or something. Put back in framework-res.apk then push back to the phone and reboot.
Click to expand...
Click to collapse
Not that simple...they're .9.png's. if you just edit them in photoshop they'll mess things up and not turn out right.
Even with just simply changing the color?
Sent from my DROIDX using XDA App
MXMike said:
Even with just simply changing the color?
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
nope.. when saved in photo editor it loses its .9 properties...
have to used draw9patch in android sdk to apply guides..
just decompile original apk with apktool or apkmanager to get the original showing you where the guides are located
I changed the colors of the sliders from the dark green whatever color to red using photoshop and they work fine.
Explodee said:
I changed the colors of the sliders from the dark green whatever color to red using photoshop and they work fine.
Click to expand...
Click to collapse
You got lucky somehow. All .9's have a 1 pixel border that exist as guides to the OS of where to stretch and where to anchor the image. Changing the color can remove/alter these guides. Rarely can you just change the color of a .9 and expect it to work/appear as it should. I would look at the thread with the how to video for draw9patch if you want to edit the lock sliders or any other .9 image.
Thanks for the info.
Sent from my DROIDX using XDA App
Something like this?
BTW this if fully functional, drop it in your framework (rename it!) and push it. If its what you need let me know, ill finish the rest.
Black sliders
If you see page four ... Clear / cant see sliders
you might be able to use ninja morph to apply these, or you need to know how to add files to an apk and push back. These go in framework-res.apk/res/drawable-hdpi
Dont add these to a decompiled apk! drop these straight into the apk with your perfered method.
Yeah that is what im looking for...if you wanna finish em that would be awesome!
Sent from my DROIDX using XDA App
MXMike said:
Yeah that is what im looking for...if you wanna finish em that would be awesome!
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
shoot me a pm with your email, wont have em to ya till 3-4. Unless someone beats me to em.
bad4u6669 said:
Something like this?
BTW this if fully functional, drop it in your framework (rename it!) and push it. If its what you need let me know, ill finish the rest.
Click to expand...
Click to collapse
I downloaded your theme and you successfully changed the color, but the slider doesnt slide. But it is still functional. Just doesnt actually show the bar sliding. This is where the .9.png comes into play
My current update.zip that's up right now? The sliders in that don't work? Every one else reports no problems. Could you be more specific.
Sent from my DROIDX using Tapatalk
I just decompiled my whole theme and checked the sliders. They are compiled and working correctly. Something might of went screwy on your install.
Sent from my DROIDX using Tapatalk
bad4u6669 said:
I just decompiled my whole theme and checked the sliders. They are compiled and working correctly. Something might of went screwy on your install.
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
lol, nevermind. I was thinkin you did Froyo Dynomite. The slider doesnt slide in that one.
You can easily changed the color of the sliders. But you have to decompile first. If you just unzip the apk it loses the 9 patch info(see below). If you have a theme and the slider does not slide then this is the reason.
Natemz said:
lol, nevermind. I was thinkin you did Froyo Dynomite. The slider doesnt slide in that one.
Click to expand...
Click to collapse
Ahh crap you're right. I never noticed because I always use WidgetLocker. I fixed the notification font and now I'll get going on fixing the sliders. Update will be tonight.
black sliders sent, post up a screen shot after you get them on your phone.
Any way I can get the black sliders from you as well?
phissionkorps said:
Any way I can get the black sliders from you as well?
Click to expand...
Click to collapse
As long as you can post a pic after you apply them. pm me with an email addres to send them too.
I've asked a few people and searched like crazy with no real answer so I'm hoping someone can point me in the right direction. I'm running Calk's HD rom and it's awesome. I would just prefer a 4 row app drawer as opposed to the 5 it comes with. Is there an easy way to change this? I haven't been able to locate the setting in the rosie.apk. Any help would be greatly appreciated.
What if you use adw launcher? You can change it from 3 to 8.
http://www.appbrain.com/app/adw-launcher/org.adw.launcher
Oh wait I think he is using adw, well then go to settings, adw launcher settings, screen preferences, under desktop layout change the Desktop Columns from 5 to 4.
Thanks. I'm referring to sense though. I should have specified. I know how to do it with adw and launcherpro. I wish it were that easy in sense.
Get to duh choppa!
ah crap, sorry
You need to decompile your Rosie.apk and change the "5" value in the all_apps_view.xml (its actually titled something like that) to a "4". Then you will need to recompile and flash.
ericwgarza1 said:
You need to decompile your Rosie.apk and change the "5" value in the all_apps_view.xml (its actually titled something like that) to a "4". Then you will need to recompile and flash.
Click to expand...
Click to collapse
Thanks so much. It looks like to do this the xml would need to be converted first or done with hex editing. Way beyond my skill. But I'm going to trying recompiling the apk using the all_apps_view.xml from a different rosie with a 4 app drawer. I'll post my results.
That didn't work. Not sure the setting lives there. The rom I grabbed the all_apps_view.xml file from has an opaque app drawer, calk's has transparent. After compiling the rosie with the new xml file and rebooting, I still had a 5 row app drawer but the background was opaque.
DeathBySnuggles said:
That didn't work. Not sure the setting lives there. The rom I grabbed the all_apps_view.xml file from has an opaque app drawer, calk's has transparent. After compiling the rosie with the new xml file and rebooting, I still had a 5 row app drawer but the background was opaque.
Click to expand...
Click to collapse
there are 3 changes to be made.... one is the one u were given already.
keep in mind that u MUST decompile cuz it changes things inside the resources.arsc file
the second one is inside values/integer.xml
change
Code:
<integer name="allprogram_grid_columns">5</integer>
to have the value 4 instead of 5.
and in values/dimens.xml change
Code:
<dimen name="all_program_grid_view_horizontal_spacing">1.0dip</dimen>
to have the value 6.0dip.
that should work.
good luck.
edit:
just saw u said u using the HD rom... i was referring to the a non HD rosie... so although it should still be the same thing, it might not be... so keep that in mind in case it wont work... but thats how u would do it for the regular Rosie.
aamikam said:
there are 3 changes to be made.... one is the one u were given already.
keep in mind that u MUST decompile cuz it changes things inside the resources.arsc file
the second one is inside values/integer.xml
change
Code:
<integer name="allprogram_grid_columns">5</integer>
to have the value 4 instead of 5.
and in values/dimens.xml change
Code:
<dimen name="all_program_grid_view_horizontal_spacing">1.0dip</dimen>
to have the value 6.0dip.
that should work.
good luck.
edit:
just saw u said u using the HD rom... i was referring to the a non HD rosie... so although it should still be the same thing, it might not be... so keep that in mind in case it wont work... but thats how u would do it for the regular Rosie.
Click to expand...
Click to collapse
Ok, that's a little over my head considering I don't even see the xml files you're referring to. I'm only able to play with what I can see by unpacking the apk using simple methods. Changing the all_apps_view file changed the drawer background, which is undesired. If I simply swap out the the full rosie.apk from the other rom, I can achieve the 4 row drawer with the opaque background but I'm looking to retain the translucent. So, perhaps it's easier to start with the other rosie with the opaque background and modify that to have a translucent background? Can using the original all_apps_view accomplish this or is there an easier way?
DeathBySnuggles said:
Ok, that's a little over my head considering I don't even see the xml files you're referring to. I'm only able to play with what I can see by unpacking the apk using simple methods. Changing the all_apps_view file changed the drawer background, which is undesired. If I simply swap out the the full rosie.apk from the other rom, I can achieve the 4 row drawer with the opaque background but I'm looking to retain the translucent. So, perhaps it's easier to start with the other rosie with the opaque background and modify that to have a translucent background? Can using the original all_apps_view accomplish this or is there an easier way?
Click to expand...
Click to collapse
U wont see those xmls unless u decompile man... that's why I said u have to do it.
U using calk hd? Right?
Ill make u one real quick.
aamikam said:
U wont see those xmls unless u decompile man... that's why I said u have to do it.
U using calk hd? Right?
Ill make u one real quick.
Click to expand...
Click to collapse
Yeah I'm running calk's HD. Thanks man. I was just getting ready to try another frankenstein rosie.
DeathBySnuggles said:
Yeah I'm running calk's HD. Thanks man. I was just getting ready to try another frankenstein rosie.
Click to expand...
Click to collapse
here u go... let me know how it worked.
aamikam said:
here u go... let me know how it worked.
Click to expand...
Click to collapse
Absolutely perfect! Thank you so much. Donation sent. (well, sent before I knew it worked just for the effort but double bonus that it does!) Why can't sense be as configurable as lp or adw?
Thanks again.
DeathBySnuggles said:
Absolutely perfect! Thank you so much. Donation sent. (well, sent before I knew it worked just for the effort but double bonus that it does!) Why can't sense be as configurable as lp or adw?
Thanks again.
Click to expand...
Click to collapse
thank you very much.
If this question has been answered before then feel free to ignore, I'll be doing some searching on my computer about 20 hours from now, but don't recall ever seeing this asked.
What I'm hoping to do is replace the native lockscreen with magic locker. I have magic locker installed with the ics theme, but sometimes fails to show when I hit the power button and instead I get the native lockscreen. I tried converting to system app but that changed nothing.
So I'm wondering where the native lockscreen is located and how I could go about replacing it? Or how to put edt tweaks into a rom so I could use the 4 tab lockscreen. I'm on icbinb and wish to change the native lockscreen, not rom. So please no suggestions to use a different rom, either an intelligent response or say nothing at all.
Sent from my SGH-T959V using xda premium
When you say native lockscreen are you referring to the code/pattern lock screen?
I mean the built in lockscreen. The puzzle glass one. I want to completely remove it and replace it. Because when you simply replace it with an app it sometimes still comes on instead of the app.
Sent from my SGH-T959V using xda premium
I can try and take it off and make a flashable for icbinb
if you ain't first you're last
the 2 tab stock one, well I can help you with that.
download apktool or appmanager.
Decompile android.policy.jar
go to smali/com/android/internal/policy/impl.
Look for LockPatternKeyguardView.smali
search for "Glass" case sensitive.
It will take you somewhere around line 1000. I don't remember where.
Replace it with "Tap" case sensitive.
close and save
recompile the android.policy.jar.
You can put it in your rom or adb push or make a cwm package.
Just when you are booted, go to settings-->display and turn off puzzle lock otherwise every time you get a notification, it will switch back to the glass lockscreen.
airfluip1 said:
the 2 tab stock one, well I can help you with that.
download apktool or appmanager.
Decompile android.policy.jar
go to smali/com/android/internal/policy/impl.
Look for LockPatternKeyguardView.smali
search for "Glass" case sensitive.
It will take you somewhere around line 1000. I don't remember where.
Replace it with "Tap" case sensitive.
close and save
recompile the android.policy.jar.
You can put it in your rom or adb push or make a cwm package.
Just when you are booted, go to settings-->display and turn off puzzle lock otherwise every time you get a notification, it will switch back to the glass lockscreen.
Click to expand...
Click to collapse
Will this work on a stock ROM?
Thanks
Hi there!
One of the thing that I'm struggling with HTC is the fact that from the moment the have moved to android they have always put the black background on the all apps menu which isn't so beautiful. Is there anyway here who know if it could be possible to have, at least, the same background image of the home for the all apps menu?
P.S. And by the way I don't get why is not possible to customize the background iamge of the all apps menu, come on this was possible on windows mobile!!!!
light_n_roses said:
Hi there!
One of the thing that I'm struggling with HTC is the fact that from the moment the have moved to android they have always put the black background on the all apps menu which isn't so beautiful. Is there anyway here who know if it could be possible to have, at least, the same background image of the home for the all apps menu?
P.S. And by the way I don't get why is not possible to customize the background iamge of the all apps menu, come on this was possible on windows mobile!!!!
Click to expand...
Click to collapse
i havent had a chance to look into sense 4.0 yet but in sense 3.0 all apps background was a color reference in the rosie apk > res > layout> all apps view .xml
you can edit the code to reference a wallpaper of your own
i was having trouble decompiling sense 4 files so didnt really look into it
thesparky007 said:
i havent had a chance to look into sense 4.0 yet but in sense 3.0 all apps background was a color reference in the rosie apk > res > layout> all apps view .xml
you can edit the code to reference a wallpaper of your own
i was having trouble decompiling sense 4 files so didnt really look into it
Click to expand...
Click to collapse
sp do you think that I can also put a different background image from the one on the home screen ? It would be awsome!
light_n_roses said:
sp do you think that I can also put a different background image from the one on the home screen ? It would be awsome!
Click to expand...
Click to collapse
yea you sure can, easiest is to make the background transparent so the home screen wallpaper is visible but you can surely make it reference an image
thesparky007 said:
yea you sure can, easiest is to make the background transparent so the home screen wallpaper is visible but you can surely make it reference an image
Click to expand...
Click to collapse
actually I have tried to open that file from a custom rom with sense 3.5, I have extracted the file with 7zip but it was not readable with notepadd...
light_n_roses said:
actually I have tried to open that file from a custom rom with sense 3.5, I have extracted the file with 7zip but it was not readable with notepadd...
Click to expand...
Click to collapse
Well of course, you extracted it with 7zip. Grab apktool or something else that can unpack APKs properly and decrypt the XMLs etc., use it to extract the APK and then you should be able to edit it easily enough.
EDIT: You'll also need to pull com.htc.resources.apk from /system/framework and install it with the command
Code:
apktool if com.htc.resources.apk
to properly decrypt the APK
EDIT: Although I can't find the XML referenced above in the Rosie.apk from my Sense 3.5 device...(HTC Explorer).
EDIT: In res\values\colors.xml I found a reference for a colour "all_item_background" which is #ff000000 (i.e. black), but it only appears to be used for as the colour for some text. Despite not really wanting to have a transparent background here, it's bugging me.
Is it possible to have this background on all aps for galaxy y s5360
Sent from my GT-S5360 using xda premium
stokaa said:
Is it possible to have this background on all aps for galaxy y s5360
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Galaxy Y is a Samsung phone, so it doesn't have Sense. It has TouchWiz. So the launcher is different to the Sense one. It is almost certainly possible to do a similar thing, but it won't be done exactly the same.
I believe the TouchWiz launcher it called twlauncher.apk or something like that. Pull that file off your phone and use apktool to extract it, look in the XMLs in res\layout and try to find the background colour. It'll probably be #ff000000. You could try using something like grep to search for that in the folder to try and narrow down the possibilities.
Just a few thoughts that might possibly help.
SifJar said:
Well of course, you extracted it with 7zip. Grab apktool or something else that can unpack APKs properly and decrypt the XMLs etc., use it to extract the APK and then you should be able to edit it easily enough.
EDIT: You'll also need to pull com.htc.resources.apk from /system/framework and install it with the command
Code:
apktool if com.htc.resources.apk
to properly decrypt the APK
EDIT: Although I can't find the XML referenced above in the Rosie.apk from my Sense 3.5 device...(HTC Explorer).
EDIT: In res\values\colors.xml I found a reference for a colour "all_item_background" which is #ff000000 (i.e. black), but it only appears to be used for as the colour for some text. Despite not really wanting to have a transparent background here, it's bugging me.
Click to expand...
Click to collapse
actually it would be nice to have the chance to put also a different image on background not just have the black background turn transparent so you can see the same of the home.
light_n_roses said:
actually it would be nice to have the chance to put also a different image on background not just have the black background turn transparent so you can see the same of the home.
Click to expand...
Click to collapse
Well that is easily done once the right value is found in the right XML. It's find the value that is the tricky part.
yea I see...have you made any progress with that?
light_n_roses said:
yea I see...have you made any progress with that?
Click to expand...
Click to collapse
Nope, I gave up because I couldn't find it in the Rosie.apk from my device.