Hi there,
I'm slowly coming to grips with some of Android's inner workings.
I have inserted new icons into Framework-res.apk (the ones that you see when you press menu on your home screen) to add some colour. These work file with the Default android loader. But with ADW launcher, the 'notification' icon is grey, like it was before i put the coloured ones in the framework-res file. I pulled the adw apk and looked inside and found that it uses a couple of its own icons, and the notification icon is the default grey one. So i inserted the coloured one into the apk (using the same method i did with the framework-res.apk, winrar and store) and pushed it back. ADW was, after the reboot, non existant. I navigated to the data/app directory and attempted to manually installed it, but it said 'application not installed'.
So I gather that there is something wrong with the way i am editing the APK.
I know that some of the themes out there change the icons in these applications, i just wonder how.
Thanks for reading!
Josh.
Take a look at http://forum.xda-developers.com/showthread.php?t=724778
Related
Hey there guys.
Just a quick one.
I have seen a couple of screen shots around (although can't remember where now) of a slightly differend clock widget background containing a little android Droid.
Anyone know how this is done? Maybe through applying a theme?
I have root and JF1.3 RC8 etc etc so not probs there.
Thanks
Phil
usually it's done through a theme, but you can actually just take the clock icon out of someones theme that has it, it's in the drawable folder of launcher.apk.
If you pull your launcher.apk file just copy the clock you want to the drawable folder on it and push launcher.apk back to your phone.
Cool.
Where is the launcher.apk?
Sorry... just starting with this phone and not totally fond my way round its files etc yet.
Thanks
it'll be under apps in any theme update file....
check out my theme... it has a ubuntu feel, with old themed clock like ubuntu's wallpaper
http://forum.xda-developers.com/showthread.php?t=469710
also changed fonts, and boot screen
Sorry. I meant where on the phone is the file (where would I copy from/to in order to put the custom clock image into the launcher.apk file.
Like that theme but don't really fancy any themes at all and just want the clock on its own really.
Thanks
Phil
You would have to edit the launcher.apk like they said then push it by its self to your G1 then you will have the clock and the rest of your theme will stay the same.
What they are leaving is that you must open the firmware package of your choice and edit the launcher.apk from the correct sub-folder. To be honest if you're not well adjusted to hacking up a firmware I wouldn't just start experimenting without proper guidence and reading of the available documentation on this platform. If you go about it half assed that's what you're gonna get.
My Droid Incredible's Sense UI has all these HTC-only icons that are a lot uglier than vanilla Android (i.e. Android 2.0+). These are the icons for things like the settings panels (e.g. "Wireless & networks," "Sound & display," "Accounts & sync"), and HTC's custom versions of basic apps (e.g. Messaging, Phone, Internet, et cetera). I once had a Motorola Droid, and it had beautiful, stock vanilla icons. Now, I like HTC Sense UI overall, but I can't stand the HTC icons.
How could I go about replacing said icons? I checked the contents of framework-res.apk and didn't see any of the appropriate icon files there. Also, where can I download the vanilla Android icons?
Thanks for any help you can give!
P.S. I have rooted, and I have busybox and clockword recovery mod installed. However, MetaMorph reboots the phone during its self test. BetterCut cannot replace icons inside of apks, and it's not free anyway.
Progress!
I think I've got all the stock icons now, which I found in this file named Team_CHAOS_Clean_black_froyov1_1_stock_icons.zip, and I figured out that the Sense UI icons that I want to change are almost entirely encapsulated in com.htc.resources.apk. What's the proper way to replace the icons in com.htc.resources.apk with the stock icons?
If you are looking to replace pngs in com.htc.resources.apk, then just pull the file and replace the pngs in the /res/drawable-hdpi folder with your replacements. Then push it back to your phone and reboot. Note: you will only be able to push it back to your phone in recovery.
Thanks, I gave it a whirl, starting small by replacing only common_app_ic_launcher_settings.png inside res\drawable-hdpi, and then I booted into recovery (Clockwork), mounted /system, and successfully pushed the new apk. However, when the phone reboots, the icon hasn't changed. I tried pulling the apk back off the phone and it seems to have the new icon inside of it. Am I putting com.htc.resources.apk in the wrong place? I pushed it to /system/framework/com.htc.resources.apk.
Do I have to replace com.htc.resources.odex as well? If so, how would I do that?
First, imho, I would ditch Sense.
What you are doing is correct. Leave the odex file alone. Make sure when you replaced the file, you have your case exactly the same as the original (all lowercase) and it is spelled the same. Also, even though it's not entirely necessary, make sure the dimensions are the same as the original (72x72). If it still does not work, then that is not the correct icon for what you are trying to change. It looks like the one from Add to Home->Widget->Settings while using the Sense launcher.
ihtfp69 said:
First, imho, I would ditch Sense.
What you are doing is correct. Leave the odex file alone. Make sure when you replaced the file, you have your case exactly the same as the original (all lowercase) and it is spelled the same. Also, even though it's not entirely necessary, make sure the dimensions are the same as the original (72x72). If it still does not work, then that is not the correct icon for what you are trying to change. It looks like the one from Add to Home->Widget->Settings while using the Sense launcher.
Click to expand...
Click to collapse
Nice, thank you! I looked where you suggested and found that you're right; this particular change did work and I'm just mistaken about how to replace the icons I want to replace. How would I go about replacing the home screen icons for the Settings app?
Try /system/app/Settings.apk
Hey all
Is there a way to replace all the stock icons with another off the market? for example I love Matte ADW icon pack but everytime i restart my phone it will change back to the deafult icons. So im basically asking is there a file i need to swap with the matte apk. to have them as my icons forever?
Move the theme to the phone storage, it resets to default because SD card apps get loaded later.
Thanks, but still is it possible?
maybe if you put them somewhere in the framework-res.apk or in ADW's .apk
I post this minimal mod here though it is a very simple one, just because I think that many of us dislike the default icons of contacts that are infesting system wide secContacts.apk, IncallUi, messages, email and so on....
After flashing a touchwiz based rom, I usually replace those icons with the standard icon extracted from the stock google dialer (the gray one) which is by far more serious and not so creepy. It is obviously not difficult and does not even involve decompiling the apks, nor signing them (if they are system apps), but still it requires some time to replace the drawables inside the various apk files. I sometimes made my own VRthemes to replace such icons, but still even such way is not so easy and fast.
But I recently installed this wonderful xposed module, named resflux http://forum.xda-developers.com/xposed/modules/resflux-easy-android-theming-xposed-t2790940 by WisdomSky, which has got a huge potential and allows everyone to make a dummy proof theming without decompiling anything.
The credit obviously goes to WisdomSky, I just post a link https://www.dropbox.com/s/remjjpo7qo360hr/Resflux.zip where you can find the very simple themes I made and which can be imported trough resflux.
You just have to unzip the file and save the 6 zip files inside it to the resflux folder of your phone (resflux will create such folder by itself) and later on you will able to import such themes by resflux itself.
I am using this themes with a 4.4.2 DN3 Rom, as I wrote above, but it could work even for any other rom (though it hasn't been tested) unless the apk are different.
Anyway, if my theme should not apply, in case the apks should not macth, still it would be very easy to follow the instructions in the thread by WisdomSky I linked above and to replace the drawables inside contacts, messages, email, incallui and the 2 favourite contacts widgets.
Regarding resflux, it is still in its first stages, so I saw that some mods don't get applied: i.e. I tried to theme the S5 launcher by replacing the drawer icon and the default folder icon with the one of the GEL launcher, but reflux was unable to do it. No problem, I replaced those icons by hand without using resflux
Sounds cool, do you have any screenshots?
lucaoldb said:
I post this minimal mod here though it is a very simple one, just because I think that many of us dislike the default icons of contacts that are infesting system wide secContacts.apk, IncallUi, messages, email and so on....
After flashing a touchwiz based rom, I usually replace those icons with the standard icon extracted from the stock google dialer (the gray one) which is by far more serious and not so creepy. It is obviously not difficult and does not even involve decompiling the apks, nor signing them (if they are system apps), but still it requires some time to replace the drawables inside the various apk files. I sometimes made my own VRthemes to replace such icons, but still even such way is not so easy and fast.
But I recently installed this wonderful xposed module, named resflux http://forum.xda-developers.com/xposed/modules/resflux-easy-android-theming-xposed-t2790940 by WisdomSky, which has got a huge potential and allows everyone to make a dummy proof theming without decompiling anything.
The credit obviously goes to WisdomSky, I just post a link https://www.dropbox.com/s/remjjpo7qo360hr/Resflux.zip where you can find the very simple themes I made and which can be imported trough resflux.
You just have to unzip the file and save the 6 zip files inside it to the resflux folder of your phone (resflux will create such folder by itself) and later on you will able to import such themes by resflux itself.
I am using this themes with a 4.4.2 DN3 Rom, as I wrote above, but it could work even for any other rom (though it hasn't been tested) unless the apk are different.
Anyway, if my theme should not apply, in case the apks should not macth, still it would be very easy to follow the instructions in the thread by WisdomSky I linked above and to replace the drawables inside contacts, messages, email, incallui and the 2 favourite contacts widgets.
Regarding resflux, it is still in its first stages, so I saw that some mods don't get applied: i.e. I tried to theme the S5 launcher by replacing the drawer icon and the default folder icon with the one of the GEL launcher, but reflux was unable to do it. No problem, I replaced those icons by hand without using resflux
Click to expand...
Click to collapse
dmxinc said:
Sounds cool, do you have any screenshots?
Click to expand...
Click to collapse
Here it is https://www.dropbox.com/s/vrfcf6jl2mgpv3k/Screenshots_2014-08-13-02-04-34.png
It simply replaces the icons of the touchwiz with the google ones.
Great
Misho.20123 said:
Great
Click to expand...
Click to collapse
Thanks, it is a great app. To be true, later on I themed the single apk files, but this app is very handy because it allows you to test your mod in a few minutes and to go back if you are not satisfied without any effort.
Misho.20123 said:
Click to expand...
Click to collapse
Do you mean you dislike the icons I replaced, or have you been unable to apply the mod?
Anyone knows if we can modify themes via the phone files or maybe even create one ? The theme market s*cks so bad and wich i could implant an icon pack. (I miss nova launcher for that feature)
Thanks ?
You would think they have some kind of theme maker since they have a theme store on the Chinese version. If you look at .NubiaTheme/theme_infos/using/icons the icons file is just a zip file with the icons in it. Maybe they can be changed in there. And also take a look at description.xml I would but don't have time at the moment.
Icons seems to be packaged in a root file. Cant open. Description xml is empty ??*
Rename icons and add the .zip extension then you can look what's inside. Also use a note editor of some sort to read the xml files.
I use the theme apk and downloaded one of the free themes. It put the them in .NubiaThemes/theme_infos I was able to change the wallpaper and icons and went back into the theme app and was able to apply the theme with the new wallpapers and icons. So by doing this you can make your own custom themes.
I found out you can change other things like the background of the dialer, messages, etc... But need the xml config file from a theme that has the items listed so I know what I can change. And you can preset your fonts in the xml also. I've tried all the free ones they have so far and there pretty much the same, different main background and icons. There has to be a default file that has that info in it. I will try and guess what the config is maybe I will get somewhere.
Ok cuz even my friend who creates themes for android is baffled.... xD
Download activity launcher and search Nubia theme within the application. That allows you to change to nubias provided themes
Here is an idea of what you can change
Im not talking about simply changing or mixing themes. Talking about edit the xml file to be able to change every color,menus or icon the way you want.
??*?
i replaced most of the icons and renamed them to match the apps and all but a few worked I did about 30so far Im still needing the names to a few like the playstore etc...
So what i did was took the icon folder renamed it to icon.zip then uncompressed it removed all the icons so I could get an idea of the names of them and one by one replaced them.
Then I zipped the res folder thats inside of icons and named it icons.zip , renamed it to just icons remove the .zip and copy back in the theme folder where it came from. Change to that theme and your icons will be changed.
So here is an example I wanted to change chrome's icon. I found the icon I wanted to use and named it com.android.chrome.png put that in the icon folder and your done now you have to go in and replace each and find the names of them.
Here is a screen shot of mine changed but the playstore and some google apps I havent worked on yet.
usergentoo said:
i replaced most of the icons and renamed them to match the apps and all but a few worked I did about 30so far Im still needing the names to a few like the playstore etc...
So what i did was took the icon folder renamed it to icon.zip then uncompressed it removed all the icons so I could get an idea of the names of them and one by one replaced them.
Then I zipped the res folder thats inside of icons and named it icons.zip , renamed it to just icons remove the .zip and copy back in the theme folder where it came from. Change to that theme and your icons will be changed.
So here is an example I wanted to change chrome's icon. I found the icon I wanted to use and named it com.android.chrome.png put that in the icon folder and your done now you have to go in and replace each and find the names of them.
Here is a screen shot of mine changed but the playstore and some google apps I havent worked on yet.
Click to expand...
Click to collapse
What was the source folder of the icons ? Ive tried using the icon folder from sdcard/.nubiatheme/ theme_mix/using but didnt work
Sorry about that, input the wrong folder in my previous post. It's actually theme_infos I just now saw it and went back and corrected it.
usergentoo said:
Sorry about that, input the wrong folder in my previous post. It's actually theme_infos I just now saw it and went back and corrected it.
Click to expand...
Click to collapse
That folder is empty for me ?
Make sure you have the theme.apk from the Chinese phone version installed. Then go into the theme store and pick a free thrme down load it and it will show up in theme_infos then you'll see a folder with a bunch of numbers and letters. Just pick one and that will be your theme you will make the changes in . When you change the preview wallpaper it will show like that in the store also of themes you own.
usergentoo said:
Make sure you have the theme.apk from the Chinese phone version installed. Then go into the theme store and pick a free thrme down load it and it will show up in theme_infos then you'll see a folder with a bunch of numbers and letters. Just pick one and that will be your theme you will make the changes in . When you change the preview wallpaper it will show like that in the store also of themes you own.
Click to expand...
Click to collapse
Alright. It worked. Like you said some app will not work but most of em does.
But we now miss matching icons for other apps ? guess i can extract icons from an icon pack and pick from there.
On the other hand, i really like the dark grey and red themed international defaut icons. (Someone who have so time could create an extra alternate edition international icon pack that includes more designs for other apps, hey we can dream, right??)
Thanks for the know how ! Its appreciated.
Almost every icon can be changed, but somehow some of them just wont work. (Calendar, Clock, Pool Break Pro and Textra) All the other ive tested works. (104/108apps)
That looks good.
usergentoo said:
That looks good.
Click to expand...
Click to collapse
Tx. (Blacker icon pack)
Im not searching for a way to replace the settings menu icons.. ive found the signal icons (wifi, blutooth, data etc) from memubar but nothing else about the menu icons.
usergentoo said:
i replaced most of the icons and renamed them to match the apps and all but a few worked I did about 30so far Im still needing the names to a few like the playstore etc...
So what i did was took the icon folder renamed it to icon.zip then uncompressed it removed all the icons so I could get an idea of the names of them and one by one replaced them.
Then I zipped the res folder thats inside of icons and named it icons.zip , renamed it to just icons remove the .zip and copy back in the theme folder where it came from. Change to that theme and your icons will be changed.
So here is an example I wanted to change chrome's icon. I found the icon I wanted to use and named it com.android.chrome.png put that in the icon folder and your done now you have to go in and replace each and find the names of them.
Here is a screen shot of mine changed but the playstore and some google apps I havent worked on yet.
Click to expand...
Click to collapse
Where can I find this animated wallpaper of rm5g? It was on 4.06 but lost in 4.09.
Thank