[Q]Anybody know if it's possible to . . . - Android

I have a very nice icon overlay I would like to use over all of the icons placed on home screens or in the app tray by Rosie.
I am assuming if I find the spot in Rosie where it places those icons after getting them from the apps, I could add this in.
I can add the overlay to each APK by hand, but this will only work for APKs included in the ROM, whereas putting it into Rosie would put it on all of them, even user installed ones.
Thoughts? Anybody done or seen anything like this?
D
.

dsb9938 said:
I have a very nice icon overlay I would like to use over all of the icons placed on home screens or in the app tray by Rosie.
I am assuming if I find the spot in Rosie where it places those icons after getting them from the apps, I could add this in.
I can add the overlay to each APK by hand, but this will only work for APKs included in the ROM, whereas putting it into Rosie would put it on all of them, even user installed ones.
Thoughts? Anybody done or seen anything like this?
D
.
Click to expand...
Click to collapse
That would need to be coded and supported into the launcher application. Stock aosp, and rosie I don't think support that, there are other launchers that do support it though with a theme apk. Like Go Launcher or ADW.
Unless you are asking something else?

lithid-cm said:
That would need to be coded and supported into the launcher application. Stock aosp, and rosie I don't think support that, there are other launchers that do support it though with a theme apk. Like Go Launcher or ADW.
Unless you are asking something else?
Click to expand...
Click to collapse
No, I was totally talking about hacking it into Rosie.
I know there are overlays used for other things, so I was just considering the idea of adding one for this.
Not as a user option, as something automatically done to all icons.
D
.

dsb9938 said:
No, I was totally talking about hacking it into Rosie.
I know there are overlays used for other things, so I was just considering the idea of adding one for this.
Not as a user option, as something automatically done to all icons.
D
.
Click to expand...
Click to collapse
I have no smali experience, and don't really have an interest. Hopefully someone else can help then.

lithid-cm said:
I have no smali experience, and don't really have an interest. Hopefully someone else can help then.
Click to expand...
Click to collapse
LOL, that's fine. I'm sure it's XML, not smali, but thanks for looking anyway.
D
.

dsb9938 said:
LOL, that's fine. I'm sure it's XML, not smali, but thanks for looking anyway.
D
.
Click to expand...
Click to collapse
Its most definitely not just xml edits. You will need to write code into the launcher to accept different icons based on package name. Currently the launcher uses a default api to retrieve the icon attached to the launcher intent. Be my guest to get it working with only xml edits though.

lithid-cm said:
Its most definitely not just xml edits. You will need to write code into the launcher to accept different icons based on package name. Currently the launcher uses a default api to retrieve the icon attached to the launcher intent. Be my guest to get it working with only xml edits though.
Click to expand...
Click to collapse
I don't want to change it pulling the icon from the app.
After it does that, when it renders it, I want to add the overlay on top. Which I am hoping I can do in the layout XML files.
Of course, I could be completely wrong, which is why I posted this.
D
.

dsb9938 said:
I don't want to change it pulling the icon from the app.
After it does that, when it renders it, I want to add the overlay on top. Which I am hoping I can do in the layout XML files.
Of course, I could be completely wrong, which is why I posted this.
D
.
Click to expand...
Click to collapse
Right, you need to code in the overlay. Overlay via xml that you are thinking of only works when building from source. An example is the amount of code needed to theme a rom like cm7, cm9, cm10. These all have that ability to theme the icons based on activity name in the framework, if that activity path and image exists, it displays a different image. This is done in code, not xml.

lithid-cm said:
Right, you need to code in the overlay. Overlay via xml that you are thinking of only works when building from source. An example is the amount of code needed to theme a rom like cm7, cm9, cm10. These all have that ability to theme the icons based on activity name in the framework, if that activity path and image exists, it displays a different image. This is done in code, not xml.
Click to expand...
Click to collapse
Guess it's a good thing I asked before diving in then.
Thanks for the info.
Being an HTC guy who only messes around with Sense, I have some smali under my belt, but I am by no means good at it. So I guess I will seek help from somebody who is.
Thanks a bunch!
D
.

Here is some code from ADW that enables the icons to be themed.
Part1
https://github.com/CyanogenMod/andr...mmit/84457c8837dfd62f11f616de50289860b8542887
Part2
https://github.com/CyanogenMod/andr...mmit/6c6ae4a8d5dc538b337e4d0206ac75358b31044c
This toggles on/off the icon themes:
https://github.com/CyanogenMod/andr...mmit/8236848db5c80e5cb8f2e1cbba74e7fa194dfb1f
In order for you to enable "icon" overlay support, you will need to add code in to support it. I am sorry.

lithid-cm said:
Here is some code from ADW that enables the icons to be themed.
Part1
https://github.com/CyanogenMod/andr...mmit/84457c8837dfd62f11f616de50289860b8542887
Part2
https://github.com/CyanogenMod/andr...mmit/6c6ae4a8d5dc538b337e4d0206ac75358b31044c
This toggles on/off the icon themes:
https://github.com/CyanogenMod/andr...mmit/8236848db5c80e5cb8f2e1cbba74e7fa194dfb1f
In order for you to enable "icon" overlay support, you will need to add code in to support it. I am sorry.
Click to expand...
Click to collapse
No worries, it's good to have input from people who know more than I do.
I was hoping it would be easier, just adding my overlay in the layout XML files over top of the app icons, but life is never easy.
D
.

Related

Can Some one help me get iPhone icons?

I love my vibrant without a doubt. But I wish our icons were as eye catching as iphones... I keep googling for two months.. sure ive found some icons but just basic ones like phone icon, text, notepad, sms, and most of them are crappy quality because they arent original iphone icons just look a likes or remakes
Can someone help me find preferably new iphone icons from their newest firmware.... a complete set would be great.
Thank You!!!
Something like this, maybe? http://suavehd.xengi.org/
StefanB86 said:
Something like this, maybe? http://suavehd.xengi.org/
Click to expand...
Click to collapse
OMGGGGGGGGGGGGG ur the best!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
how can this work for android though.
obviously both phones run on completely different os builds, file names etc.
crazy_kat_matt said:
how can this work for android though.
obviously both phones run on completely different os builds, file names etc.
Click to expand...
Click to collapse
Icons on our phone are just png files. Any png file with the right size will do. There are various apps on the market to change icons on the home screen. If you want to change it in the app drawer too you can use apk manager to extract each apk you want to change. Swap out the icon in the res/drawables, zip it back up and sign it again.
Sent from my SGH-T959 using XDA App
What is the correct size of the png icons that would most likely resemble the iphone icons?
I feel like alot of icons I find online are too small.
JJG2 said:
What is the correct size of the png icons that would most likely resemble the iphone icons?
I feel like alot of icons I find online are too small.
Click to expand...
Click to collapse
well the default samsung messaging, gallery, video and so forth are 72x72 but I guess smaller icons would work too, even if they are a bit grainy.
Edit: The iphone icons in the above website are 120x120 so they are higher resolution than our default ones. I tested it by swapping out the calculator icon in TouchWizCalculator.apk in system/app. It works nicely.

Theming Frustration

So, I'm trying to figure out how to theme Android. Currently, there's some really overdone glossy/gawdy themes out for my device, and I want to bring something back more elegant.
I'm not looking to do anything insane, what I really want to try doing to start with is just changing the notification icons that appear in the status bar, for starters, like the GMail, missed call, messaging, and the signal/wifi/bt stuff (not yet interseted in changing the battery indicator).
What am I looking to edit? My understanding is that I can replace the image files with the same name as what I want to replace with, and then resign the framework apk as well as resigning the zip. Am I totally off?
dont know any stuff yet which allows u to change ur notification bar view or somethin... but i've tried a good interactive live wallpaper available in market place which make ur notifixation bubbles n show on ur homescreen.... u shud try if the case is for making somethin interestin in ur device......
Sent from my GT-S5670 using XDA App
LiquidSolstice said:
So, I'm trying to figure out how to theme Android. Currently, there's some really overdone glossy/gawdy themes out for my device, and I want to bring something back more elegant.
I'm not looking to do anything insane, what I really want to try doing to start with is just changing the notification icons that appear in the status bar, for starters, like the GMail, missed call, messaging, and the signal/wifi/bt stuff (not yet interseted in changing the battery indicator).
What am I looking to edit? My understanding is that I can replace the image files with the same name as what I want to replace with, and then resign the framework apk as well as resigning the zip. Am I totally off?
Click to expand...
Click to collapse
Don't resign anything in the system folder. Well there are some exceptions. Also you will only be able to change the stock apps icons as 3rd party have their own built into the apk

[Q]Guide to Rosie Mods??

Firstly, I am using Mik's rom.. with pngs modified to my liking.. I have also searched around quite extensively for getting my questions answered.. but without any success.
I have been trying to mod the rosie launcher and am running into a few issues.
1. I can mod the icons pretty easily.. no problems there.. I can also remove the text "Phone" from the center icon.. but phone image is a little off center plus it is vertically offset (shifted a little up). I was told I can play around with the png image file and get that fixed.. however.. I am wondering if there is an xml file in particular that defines the x and y co-ordinates of the launcher icons. So yea.. I am verse with adb, decompiling, recompiling etc.
2. I am looking for a way to get the phone on the left and app drawer in the center.. any guidance with regards to this will be of great help to me. I am guessing this is somewhere in the smali files in Rosie.odex. I have decompiled it resulting in a bunch of smali files.. can someone tell me which particular one I am supposed to edit?
3. Wanting to know if there is any way to add a 4th button to the rosie launcher instead of the usual 3.
Again, I am looking for the know-how... NOT just a mod that I can apply via flashing.
I appreciate anyone who can direct me to a tutorial or a guide.
Thanks.
wow.. not a single reply!... I guess I would have gotten at least a few responses if I had posted this in the development section.
Grab one of my Rosie mods on theMikMik. It has the phone on the left and app drawer in the middle. grab one of those and mod it to your liking
chingy51o said:
Grab one of my Rosie mods on theMikMik. It has the phone on the left and app drawer in the middle. grab one of those and mod it to your liking
Click to expand...
Click to collapse
Thanks.. but like I said "Again, I am looking for the know-how... NOT just a mod that I can apply via flashing.""
I want to know which xml files require the editing etc. I am surprised there are no Rosie Guides anywhere that explain which xml/smali files are commonly involved the typical mods.

UOT Kitchen works on the Amaze - for some things.

Observations:
I was skeptical at first because there are no QHD resolutions listed in UOT kitchen, but figured if I supplied the files, then it would maintain the resolutions in the files.
Must have all three files to upload for it to compile correctly...
1. SystemUI.apk
2. Framework-res.apk
3. com.htc.resources.apk
I've changed the battery indicatior, added statusbar icons successfully, and change the background to more transparent on the Notifications/Quick Setting pull-down. I've also successfully changed the lockscreen icons.
I'm having difficulties making the statusbar more transparent, however. They have a setting on the Status Bar tab, but it seems to have no effect.
I did try to manually adjust the transparency on status_bar_background.png in Framework-res.apk, but it didn't seem to do the trick. Is there another file that is used based on the Sense base?
Nope. Those are the files needed, one bit of advice though--triple check the operational file it uses.
I.E. For boot animation, use the CM file directory, not the suggested data/local. It may be something in the framework.res file that needs to be changed. UOT works for EVERYTHING, provided you make sure the operational file is correct upon submission.
jeepers007 said:
I'm having difficulties making the statusbar more transparent, however. They have a setting on the Status Bar tab, but it seems to have no effect.
I did try to manually adjust the transparency on status_bar_background.png in Framework-res.apk, but it didn't seem to do the trick. Is there another file that is used based on the Sense base?
Click to expand...
Click to collapse
Hmmm Sense(or any ginger for the matter) responds to the status bar B/G used in SystemUI.apk(drawable HDPI). And the images used on all the qHD phones from HTC use the same size for .pngs as their WVGA counterparts(some things are bigger, but not many), scaling seems pretty good AFAIK.
Ace42 said:
Hmmm Sense(or any ginger for the matter) responds to the status bar B/G used in SystemUI.apk(drawable HDPI). And the images used on all the qHD phones from HTC use the same size for .pngs as their WVGA counterparts(some things are bigger, but not many), scaling seems pretty good AFAIK.
Click to expand...
Click to collapse
Found it! Giving that a try.
Thanks!
Trust me, it works. I cannot remember off the top of my head (bit drunk) but UOT works on just about everything. You need to double check where each enabled visual/operational is WITHIN your choice of rom. Then, you can triple check UOT's placement of the modified file.
I'm trying to remove the clock, but I couldn't find where that was located anywhere in there. Anyone have any pointers?
I'm a kitchen noob so I just made a simple battery change that I'm going to put on when it's done cooking.
(BeastMOD 1.3.1)
Spovik said:
I'm trying to remove the clock, but I couldn't find where that was located anywhere in there. Anyone have any pointers?
I'm a kitchen noob so I just made a simple battery change that I'm going to put on when it's done cooking.
(BeastMOD 1.3.1)
Click to expand...
Click to collapse
Let me look into it when I get home...I might be able (time willing) download your current rom and cook it--or at least find where to zap the clock so you can do it to your liking.
My battery cooking turned out to cause a boot loop so no-go on that. I appreciate any help you can offer and let me know if there's anything I can do to make things easier.
Spovik said:
I'm trying to remove the clock, but I couldn't find where that was located anywhere in there. Anyone have any pointers?
I'm a kitchen noob so I just made a simple battery change that I'm going to put on when it's done cooking.
(BeastMOD 1.3.1)
Click to expand...
Click to collapse
The clock is in the service.jar.. The kitchen won't work for that mod.
okay, I think I'm starting to get more comfortable with this kitchen.
I've got transparent status bar, and modified status bar icons.
Now, I'm looking for some help with another graphic. I unlock my phone for use with a pin. I see lockscreen in UOT only seems to modify the icons and gesture styles.
Where can I look to change the color of the numeric pin keys?
Spovik said:
My battery cooking turned out to cause a boot loop so no-go on that. I appreciate any help you can offer and let me know if there's anything I can do to make things easier.
Click to expand...
Click to collapse
It is imperative that you open your rom .zip and extract:
com.htc.resources.apk
framework-res.apk
SystemUI.apk
All are found within your particular rom package. Upload via UOT's upload page. That is how their kitchen knows what to change and give you an individualized .zip to flash. If you want an in-depth explanation, PM me and I would be happy to go through the whole process step-by-step. Once you get the gist, it is easy as pie.
As for the clock, yea...it is under services.jar and UOT does not change that. There can be another way to delete it, if I have time today I will try to make a flashable .zip for just the clock delete--unless someone beats me to it.
Yeah, I went through the UOT guide and video tutorial before I started working with UOT (I really do RTFM) and it still crashed out on me. I'll give it another shot when I have time available and I can get in.
As for the flashable zip, I'd love you long-time.
Spovik said:
Yeah, I went through the UOT guide and video tutorial before I started working with UOT (I really do RTFM) and it still crashed out on me. I'll give it another shot when I have time available and I can get in.
As for the flashable zip, I'd love you long-time.
Click to expand...
Click to collapse
I'm not going to have the time to make a clock delete zip....work is busy and getting ready for the holiday. It's not too hard for someone familiar with the sdk to use smali/etc. To push the needed code.
Sent from my HTC Amaze 4G using xda premium
TheSneakerWhore said:
I'm not going to have the time to make a clock delete zip....work is busy and getting ready for the holiday. It's not too hard for someone familiar with the sdk to use smali/etc. To push the needed code.
Sent from my HTC Amaze 4G using xda premium
Click to expand...
Click to collapse
I've seen some code about it, but didn't know if it's exclusive to the device type, or if it's the same basic thing for gingerbread so I never jumped. I'll see if I can mess with it later this week.
Spovik said:
I've seen some code about it, but didn't know if it's exclusive to the device type, or if it's the same basic thing for gingerbread so I never jumped. I'll see if I can mess with it later this week.
Click to expand...
Click to collapse
As long as you pull the services.jar file out of the Rom you want to flash to, you are fine.
Sent from my HTC Amaze 4G using xda premium

Theming LGG3 Apps - Pure Black Settings - for MM stock

I have been theming apps on my phone to give them black backgrounds. The white backgrounds bother my eyes. I'm doing pretty well but I am having a big problem with the LGSettings.apk. I have decompiled the apk and edited the colors.xml, styles.xml and parts of the manifest that i thought might change the theme. I then recompile and run the settings app but I never see any changes. I am trying to figure out what I need to edit to achieve white text on a black background. Any help would be greatly appreciated.
I don't have the apks in front of me, but you may need to theme more than that one. I think you'll need:
LGSettings (which you currently themed)
Possibly: LGSettingsAccessibility/LGSettingsProvider
These two may or may not have anything to theme in them, so you may need to decompile to take a look.
Ok. I'm getting there. The background item and textcolor item were lurking in the lge-res.apk. I am still having trouble finding a way to change the blue action bar color (1) and the color of the white section headers (2). Anybody know what these might be called and what apk I need to look in? Thanks a lot!
skyman88882002 said:
Ok. I'm getting there. The background item and textcolor item were lurking in the lge-res.apk. I am still having trouble finding a way to change the blue action bar color (1) and the color of the white section headers (2). Anybody know what these might be called and what apk I need to look in? Thanks a lot!
Click to expand...
Click to collapse
Ok. I found the action bar - I used 'Widget.Material.ActionBar.Solid' to hard code the background color. Now I just need somebody to help me find those white section headers. Anybody? Thanks so much!
Well after two hours of poking around the apks I finally figured it out. Pretty easy to make all the changes in lge-res.apk. pm me if interested in doing this kind of theming
skyman88882002 said:
Well after two hours of poking around the apks I finally figured it out. Pretty easy to make all the changes in lge-res.apk. pm me if interested in doing this kind of theming
Click to expand...
Click to collapse
Awesome, great work!
I remember doing something similar when I was doing this to my Galaxy S3, trying to find the various apk's where Sammy had changed things. It was a great feeling to find and change things.
skyman88882002 said:
Well after two hours of poking around the apks I finally figured it out. Pretty easy to make all the changes in lge-res.apk. pm me if interested in doing this kind of theming
Click to expand...
Click to collapse
HI THERE, I WAS WONDERING IF YOU CAN SHARE THOSE APS's, COUULD YOU MAKE IT POSSIBLE?
elmanolette said:
HI THERE, I WAS WONDERING IF YOU CAN SHARE THOSE APS's, COUULD YOU MAKE IT POSSIBLE?
Click to expand...
Click to collapse
Hi. Please in the future don't use all capital letters. I know you didn't mean this in this case, but it's generally considered "shouting", and for longer strings it makes it harder to read. Thanks for understanding.
roirraW "edor" ehT said:
Hi. Please in the future don't use all capital letters. I know you didn't mean this in this case, but it's generally considered "shouting", and for longer strings it makes it harder to read. Thanks for understanding.
Click to expand...
Click to collapse
sorry man, i'm understand!
I definitely intend to share my findings. However right now i am redoing the theming trying to push all the edits into LGsettings. Since I did the editing in the lge-res.apk it has a lot of unintended consequences on other parts of the system
subscribed.
i despise white backgrounds.
Brian
i cant find any color.xml in any stock apps?
skyman88882002 said:
I have been theming apps on my phone to give them black backgrounds. The white backgrounds bother my eyes. I'm doing pretty well but I am having a big problem with the LGSettings.apk. I have decompiled the apk and edited the colors.xml, styles.xml and parts of the manifest that i thought might change the theme. I then recompile and run the settings app but I never see any changes. I am trying to figure out what I need to edit to achieve white text on a black background. Any help would be greatly appreciated.
Click to expand...
Click to collapse
how do you theme? i can never find the color.xml file in any stock app?
Glitch15 said:
how do you theme? i can never find the color.xml file in any stock app?
Click to expand...
Click to collapse
You need a deodexed ROM/apk file to decompile to find those resources.
RMarkwald said:
You need a deodexed ROM/apk file to decompile to find those resources.
Click to expand...
Click to collapse
my Rom is deodex, can you pm me a step by step guide to get to the color.xml?
it would be nice if you can post a brief guide about theming it.. so people can have benefit.
knowledge is meant to share after all
minhas729 said:
it would be nice if you can post a brief guide about theming it.. so people can have benefit.
knowledge is meant to share after all
Click to expand...
Click to collapse
Hey there! Good to see you on this thread Minhas729. I'm really sorry for the delay, I have just been slammed on the home front and haven't had time to play around with this stuff.
I'm still not happy with the theming I'm doing but I plan on posting my work in process files in the next 5 or 6 days.
In the meantime, let me share my knowledge (it isn't much!)
I think I am going to change the thread title to Theming for Dummies (Like Me) (anybody know how to change a thread title?). so step one will be in the next post.....
OVERVIEW
(Ok - so here is a quick overview of the theming process as I do it. Again, I am just a novice and I just stumble around so if I get the terms incorrect forgive me.
1) The first step in theming an apk is to decompile the apk. Unzipping the apk is not going to work. This is because there are special files like styles.xml and colors.xml that are hidden in a 'values' folder in the res directory. As far as I know, you cannot access these special files by simply unzipping the apk.
2) To decompile you need an apk tool - I use 'Tickle My Android' (I'm going to call it TMA going forward) - it has a great developer with excellent instructions. The way decompiling works is you first have to create a mini-work area on your computer. You do this by decompiling and installing the framework-res and lge-res apks from your phone to your computer. TMA needs these files to decompile other apps because most apps reference a bunch of things in the framework-res and lge-res files Installing TMA is pretty easy and the instructions on the thread are excellent. The only issue I had was finding a good version of apktool.jar to use in conjunction with TMA - one that worked well with marshmallow apks. The apktool is the actual tool that does all the work - TMA (in my understanding) is simply a very well designed user interface to use the apktool. So you need an apktool that will recognize marshmallow files and be able to decompile them. I use "apktool_2.1.0-a64a03-SNAPSHOT"" as my apktool.jar file.
3) Once an apk is decompiled, all the apk components will be saved in a 'working' folder. You can then go in and edit colors and and styles using an xml editor.
4) Once you have made your edits you use TMA to recompile and sign the apk. Then you move the file back to your phone, place it in the proper device directory, fix permissions, reboot and cross your fingers.
Ok - that is the overview - go off and start trying it. One suggestion - dont try to push files from the phone to the pc with TMA - just use your usb cable.
more to come...
skyman88882002 said:
I think I am going to change the thread title to Theming for Dummies (Like Me) (anybody know how to change a thread title?). so step one will be in the next post.....
Click to expand...
Click to collapse
Edit your first post in a web browser. Choose Advanced mode and there'll be a field to edit the title.
Below are links to download the themed lge-res.apk and lgsettings.apk. MAKE A BACKUP FIRST (I'm not responsible for anything that goes wrong if you try these files). Once downloaded you will need to use a root browser to copy the files to the appropriate system directory and to change the permissions. Keep in mind, this is a work in process, if you enter settings and click on the bluetooth or wifi sections you will notice that the background is not themed yet. I'll repost when these are fixed.
lge-res.apk download link
LGSettings.apk download link
Keep in mind that you have to install both files if you want the full black background.
Ok. I think I worked out most of the bugs. The files are now set up in a flashable zip. Test it out and let me know if you see any issues. If it is working well I will start a new thread in the Themes section and work on the systemui as well. Thanks. Download link below:
download

Categories

Resources