Problems caused while theming - HTC Pico (Explorer)

Started theming...
Faced a problem yesterday
force close
sense stopped working
Don't know why
3reasons for that might be
1. I just replaced png by JPEG and the other way
2.I dint resize the PNG, just placed as it is
3. Some thing might have went wrong while compiling
Wt do u think the reason for fc's:thumbup:

If you just want to change PNGs... Drag and drop only..use winrar..
Sent from my HTC Explorer A310e using xda app-developers app

I did, the thing wrong with that method is,
By replacing a JPEG image file by PNG file, is not being recognised on flashing that apk...
Everything else other than those images are working fine....
One more thing along with the above problem
I've taken some theme, replaced some image files, wanna rename that apk
Wt should I do
On just renaming the default name where ever I saw in folders dint help me....
Sent from my HTC Explorer using xda app-developers app

Bro I also started theming
I've doubt...
Those clock background is a JPEG format
I used winrar method and apk manager for using PNG format images in place of them to get transparent background, which is impossible to replace formats
But some themers have themed a transparent JPEG image itself
But google says jpeg doesn't support transparency
Help me, some how I should get a transparent clock background....:thumbup:
Sent from my HTC Explorer using xda app-developers app

Related

[Q] Green Gingerbread icons

I have successfully used the UOT Kitchen to modify the icons and fonts, etc. but I now want to add the "green if connected to Google" icons which I didn't see in the kitchen.
Can someone explain how this can be done? Can I just modify the framework-res.apk or is this another kind of tweak or fix??
Thanks
PS: I can't see any themes around anymore that offer this (I am on WB v5 + DL custom kernel at the moment)
If you are on stock rom you can use Achotjan flashable zip in android development section (i can't post here the link cause i'm on mobile but you can easily find it watching on achotjan threads on his profile)..otherwise if you are on a different rom..you can copy and replace icon.png images from achotjan framework to your! good luck
Sent from my X10i using XDA App
djkekko89 said:
If you are on stock rom you can use Achotjan flashable zip in android development section (i can't post here the link cause i'm on mobile but you can easily find it watching on achotjan threads on his profile)..otherwise if you are on a different rom..you can copy and replace icon.png images from achotjan framework to your! good luck
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Thanks, I don't want a new ROM - just the green icons. I currently have green icons but not the ones that only go green when you are connected to Google services.
I am looking for JUST that part only.
Galaxea said:
Thanks, I don't want a new ROM - just the green icons. I currently have green icons but not the ones that only go green when you are connected to Google services.
I am looking for JUST that part only.
Click to expand...
Click to collapse
Yes mate..infact..achotjan has released a flashable addon of systemUI.apk with green icons when connect to google..not a whole rom..here you are..
http://forum.xda-developers.com/showthread.php?t=1192469
Edit: sorry..in the first reply i wrote that it is framework related..my mistake..it is systemUI related!
Sent from my X10i using XDA App
djkekko89 said:
Yes mate..infact..achotjan has released a flashable addon of systemUI.apk with green icons when connect to google..not a whole rom..here you are..
http://forum.xda-developers.com/showthread.php?t=1192469
Sent from my X10i using XDA App
Click to expand...
Click to collapse
I have used those once before, but the files don't exist on those links anymore. I would like a dev to explain if this is something that we can do ourselves, or if it is some complicated hack.....
Galaxea said:
I have used those once before, but the files don't exist on those links anymore. I would like a dev to explain if this is something that we can do ourselves, or if it is some complicated hack.....
Click to expand...
Click to collapse
Damn..you are right..link was deleted!! If you want tomorrow i can upload it for you!! let me know if you want achotjan file or if you want to try yourself!
Sent from my X10i using XDA App
I want it. Please upload if its not too much trouble... Btw i'm running wolfs tw v5. Will it work on this ROM?
Sent from my X10i using XDA App
I would like to be able to do it myself as I already have a customised framework and systemUI.apk.
If someone could explain the process that would be great.
you just need to replace the correct icons in the framework-res.apk and systemui.apk then replace them on your phone.
The way i did it was copy .apk file to computer, change extension to .rar, open it in winrar (not extract), extract the hdpi-drawable folder then replace icons, copy that hdpi-drawable folder with the new icons back into winrar and it will ask you to repack the .rar, after that change the extension back to .apk and copy it to the correct folder. The framework-res.apk one is ok to copy back but if you do the systemui.apk one you will get endless fc until you can restart your phone so i think you have to install it through flashtool?
I think that you have to replace the images without extract the entire apk otherwise you need to resign it when you finish! Anyway..framework is not involved..wifi and signal icons are sustemUI related only..i will upload it in few hours..then you can watch inside for the green icons and do it yourself! Pay attention..cause if you do something wrong probably the phone won't boot up or gives fc!
Cheers
Sent from my X10i using XDA App
Green Icons
Here you have the flashable file with Achotjan SystemUI (green icons)..a big thanks to him for sharing this file some mounth ago!
djkekko89 said:
Here you have the flashable file with Achotjan SystemUI (green icons)..a big thanks to him for sharing this file some mounth ago!
Click to expand...
Click to collapse
Thanks for the file. I am able to change the icons using the kitchen, but I need to understand how just replacing the icons gets them to change colour when connected to Google?? Is the code already there and the icons are all the same colour so we just don't see it with the stock icons?
I have made other changes to my SystemUI so I don't want to lose those changes - that's why I want to be able to change my own files.
Is it really just a case of changing the icons to get the desired effect? Is it some specific icons that are needed, or any icons? *still confused*
Galaxea said:
Thanks for the file. I am able to change the icons using the kitchen, but I need to understand how just replacing the icons gets them to change colour when connected to Google?? Is the code already there and the icons are all the same colour so we just don't see it with the stock icons?
I have made other changes to my SystemUI so I don't want to lose those changes - that's why I want to be able to change my own files.
Is it really just a case of changing the icons to get the desired effect? Is it some specific icons that are needed, or any icons? *still confused*
Click to expand...
Click to collapse
Mate..open the file that i post..inside you can find systemUI.apk..opne it with winrar and extract drawable-hdpi folder to your desktop..you will see all your icons..the images named "....fully.png" are colored green!! You must replace your current icon in your custom SystemUi with this ones!! Is it more clear now?
Galaxea said:
Thanks for the file. I am able to change the icons using the kitchen, but I need to understand how just replacing the icons gets them to change colour when connected to Google?? Is the code already there and the icons are all the same colour so we just don't see it with the stock icons?
I have made other changes to my SystemUI so I don't want to lose those changes - that's why I want to be able to change my own files.
Is it really just a case of changing the icons to get the desired effect? Is it some specific icons that are needed, or any icons? *still confused*
Click to expand...
Click to collapse
do you mean how the data icon and the signal bars change from green to white/grey?? cause if so then yes just changing the .pngs will be fine cause i did it with my own systemui/framework.
Thanks all. That's what I wanted to know.

Location of ICS background file?

My i9000 has a slight issue in displaying greys and the settings menu and any other app that uses it look awful on my phone.
All I want to know is the location the background is stored so I can change it to an all black background. I've asked this question in many different threads and no one had answered me yet. So many thanks to whoever tells me.
Sent from my GT-I9000 using XDA
Bump
Sent from my GT-I9000 using XDA
Vertron said:
My i9000 has a slight issue in displaying greys and the settings menu and any other app that uses it look awful on my phone.
All I want to know is the location the background is stored so I can change it to an all black background. I've asked this question in many different threads and no one had answered me yet. So many thanks to whoever tells me.
Sent from my GT-I9000 using XDA
Click to expand...
Click to collapse
It will most probably be in framework-res.apk in /system/framework/
I'm not sure about ICS, but in my ancient version it's in framework-res.apk
/res/drawable-mdpi/default-wallpaper.png
You may have it in different screen resolutions.
Are you talking about the homescreen background?
You could always just do it the 'old fashioned' way..
Open paint (or similar)
Create a canvas the size of your phone resolution, paint all black. Save as a file and add to your phone. Change background using the menus and pick your black file.
Would probably take less time than pulling, inserting, and pushing framework-res. And you'd have the file on your sd card to re-apply should you do any updates (you'd need to modify framework-res again, unless the rom update didn't require changes and you could flash the old framework-res)
Renate NST said:
I'm not sure about ICS, but in my ancient version it's in framework-res.apk
/res/drawable-mdpi/default-wallpaper.png
You may have it in different screen resolutions.
Click to expand...
Click to collapse
he wants the background of stuff like settings and all
aqnd said:
Are you talking about the homescreen background?
You could always just do it the 'old fashioned' way..
Open paint (or similar)
Create a canvas the size of your phone resolution, paint all black. Save as a file and add to your phone. Change background using the menus and pick your black file.
Would probably take less time than pulling, inserting, and pushing framework-res. And you'd have the file on your sd card to re-apply should you do any updates (you'd need to modify framework-res again, unless the rom update didn't require changes and you could flash the old framework-res)
Click to expand...
Click to collapse
He wants app background, not launcher background
QuantumFoam said:
It will most probably be in framework-res.apk in /system/framework/
Click to expand...
Click to collapse
Yeah I think it's in here somewhere. Now I've just got to find the image. Thanks
Sent from my GT-I9000 using XDA
Oh! Then what you need is in /system/framework/framework-res.apk,
but the part you want is in /res/values/styles.xml
That has all the default theme, "Theme".
The theme for settings inherits off that, maybe "Theme.Dialog"
All of that references specific style elements and colors in /res/values/colors.xml
Renate NST said:
Oh! Then what you need is in /system/framework/framework-res.apk,
but the part you want is in /res/values/styles.xml
That has all the default theme, "Theme".
The theme for settings inherits off that, maybe "Theme.Dialog"
All of that references specific style elements and colors in /res/values/colors.xml
Click to expand...
Click to collapse
I've looked in /res but there is no values folder for some reason. Where else could it be?
Sent from my GT-I9000 using XDA
Vertron said:
I've looked in /res but there is no values folder for some reason. Where else could it be?
Sent from my GT-I9000 using XDA
Click to expand...
Click to collapse
Decompile framework-res.apk using apktool then open the decompiled folder.
In res/drawable, most of the background XMLs are stored. Search for one that holds the background details. However, it won't be easy. I suggest u ask a recognized themer to help u, or use the UOT kitchen
Ok I've found the png file. It's in res/drawable-nodpi/background_holo_dark.png
An older version of the rom I'm using had an all black image, so I'll use that png file to replace the current one.
Now do I have to simply change the image to the all black one or is out more complicated than that?
Sent from my GT-I9000 using XDA
I've also found the xml in;
res/drawable/activated_background_holo_dark.xml
Will changing the line <item state_activated="true" to <item state_activated="false" disable the png file, forcing it to change to all black?
Sent from my GT-I9000 using XDA
Now that u know where it is, take a black PNG and add it to the archive of framework-res so that u wont have to recompile and sign the apk. Just make sure u get the correct folder.
And don't touch the XML. Just replace the png
QuantumFoam said:
Now that u know where it is, take a black PNG and add it to the archive of framework-res so that u wont have to recompile and sign the apk. Just make sure u get the correct folder.
And don't touch the XML. Just replace the png
Click to expand...
Click to collapse
How do I add it to the archive of framework-res.apk? I assume you have to copy the apk to a PC and add it by winzip or something? I'm using root explorer to view it atm.
Sent from my GT-I9000 using XDA
Vertron said:
How do I add it to the archive of framework-res.apk? I assume you have to copy the apk to a PC and add it by winzip or something? I'm using root explorer to view it atm.
Sent from my GT-I9000 using XDA
Click to expand...
Click to collapse
Yes. Do it by winRAR or Winzip
How do I put the modified framework-res.apk back into system/framework? I don't think I can just overwrite it using root explorer.
Sent from my GT-I9000 using XDA
Vertron said:
How do I put the modified framework-res.apk back into system/framework? I don't think I can just overwrite it using root explorer.
Sent from my GT-I9000 using XDA
Click to expand...
Click to collapse
U can overwrite it using root explorer. However I use adb.
Use this command in adb
adb push C:\framework-res.apk /system/framework/
Assuming ur modified framework is in C:\
I know it's a bit late, but I finally managed to do it. The hardest thing was creating an update.zip to apply the change.
You could have just pushed it with adb.....
---------- Post added at 07:44 PM ---------- Previous post was at 07:42 PM ----------
Or used some one else's flashable zip and just removed the custom content and put yours in
AshtonTS said:
You could have just pushed it with adb.....
---------- Post added at 07:44 PM ---------- Previous post was at 07:42 PM ----------
Or used some one else's flashable zip and just removed the custom content and put yours in
Click to expand...
Click to collapse
I tried that on a theme update.zip for my rom, it wouldn't let me edit the contents of the zip for some reason.
I used root explorer rather than adb and the phone rebooted straight away and wouldn't get past the boot screen...

Help

Hai guys
Any busy can help me to resize the app from hdpi device to HTC explorer
Sent from my HTC Explorer using xda app-developers app
resize all images and you have to exit some xml's
russelldias said:
resize all images and you have to exit some xml's
Click to expand...
Click to collapse
use a image editing software like gimp or any other and learn how to decomple/recmple apks but searching on google to edit xml files u need to have notepad++
decmple/recmple can be done by usin apk manager

Noob question - change battery icon?

I've never done it before but the UOT kitchen seems pretty straightforward. Except that XBSA's ROM is an img file.
So does anyone know how I can modify the icon to show a percentage? I don't want to use an app that clogs up my bar cos they close when you free up RAM.
Cheers
Sent from my LG-SU760 using xda app-developers app
I'm not telling how to, just a suggestion: decompile SystemUI.apk and you will find the answer.
Sent from my LG-SU760 using xda premium
Ok found it. Do I need framework-res.apk as well? I will have a go at this later.
Edit - can't get it to work with UOT kitchen and don't fancy decompiling the apk and inserting the files manually.
Sent from my LG-SU760 using xda app-developers app
Use 7zip to open the apk as an archive delete old icons then copy the new icons ( by drag and drop method ) . If you do not have the icons you can get it from many themes or costume roms .
OR
you can use "Rom Tool Box" I think it's a famous app . Go to interface section and then choose "theme manager" do not choose "theme chooser" it's completely other thing . Then you will find many themes and icons for every thing .
But I use the manual method because I think it's more stable (does not make problem) do not trust apps or UOT Kichen , do it by your self .
Sent from my LG-P920
OK I'll see how difficult it is. Cheers
Sent from my LG-SU760 using xda app-developers app
If you just want to see percentage got to system settings/power saver and choose there.
Sent from my LG-P920 using xda app-developers app
Cheers, that's better than nothing but its ugly. I'll try 7-zip and/or ROM Tool Box this evening
ROM Toolbox didn't do it - said ROM isn't deodexed and also there were quite a few files missing.
7-Zip next I guess
Sent from my LG-SU760 using xda app-developers app
I changed the icons in framework-res.apk and nothing happened. I don't even know where the old icons are coming from now as they've been replaced and don't exist but they are still there in my status bar :/
Did you delete the old icons before copy ?? 7-zip does not replace it . Delete the old icons then copy the new icons .
Sent from my P920
Hit thanks button if I helped
I didn't delete them but it does seem to have replaced them.
I have something sort of working - I also changed the icons in SystemUI.apk and now my new icons are working. However, its still not perfect as the charging icons are still not changed and the increments are only every 10% or so. I think I'd need to edit some of the XML files.
I am going to try replacing the framework-res.apk and SystemUI.apk files with ones from a GB ROM. Wish me luck :/
Edit
AND.........boot loop. Oh well, I will try something else
I had the same problem (increasment 5%) but at that time I get the framework-res.apk from a costum rom (King_3D_Rom) and I changed the icons and now It works perfectly .
Sent from my LG-P920
Hit thanks button if I helped
Just upload them to uot kitchen and do it there. It is easy.
Sent from my LG-P920 using xda app-developers app
iodak said:
Just upload them to uot kitchen and do it there. It is easy.
Sent from my LG-P920 using xda app-developers app
Click to expand...
Click to collapse
I'm using the ICS rom. GB files caused me to boot loop and UOT kitchen doesn't work for this rom.
I do have it working now with the charge animation as well (kinda) but still got the 10% increments.
Edit: its not bad though. Much better than stock at least. Increments are more like 5% or less. Less than 2MB so an easy install. Charge animation is still screwy though.

[GUIDE] How to change Status Bar Icons [Easy way 4 noobs]

Hi guys, after getting so many requests on my Sweet ROM thread for this icons or that icons I thought I would show you the easiest way so that you can change your own.
Please note this guide is based on Windows operating system
You will need:
A computer with Windows
7zip (free program available HERE)
systemUI.apk from your current rom
systemUI.apk from rom (or mod) with icons you want
some brains
1. Extract systemUI.apk that you are using in your rom and place it where you want it on your pc.
Right click on the systemUI.apk and select 7zip/Open archive. This open up the apk and you can now see the folders inside.
You now need to open res folder, locate drawable-xhdpi folder and drag this out to your pc.
Once it has copied over open the new drawable-xhdpi folder on your pc and here you will find a heap of png images.
Download this file and extract the folder from it. Here you will find all the Status Bar Icon images. So looking through them you will recognise battery, wifi, bluetooth etc images that show on your status bar. these are the images you need to change for different themes, eg S4 white icons etc.
2. Now open the systemUI.apk with the images you wish to add and copy out the drawable-xhdpi folder.
Now in this folder locate & copy the images you want over to the drawable-xhdpi folder you created in Step 1.
3. Once you have copied all the new images you need to re-open the archive of your rom systemUI.apk from Step 1. with 7zip.
Now open res folder and delete the drawable-xhdpi folder from in the archive.
4. Drag your new drawable-xhdpi folder (with your new images inside) into the 7zip archive.
Once this has been copied over to you 7zip archive use the green arrow (under the Add button) to go back up a level until you are at systemUI.apk. Now with it highlighted use the "Test" button to make sure it is ok.
Now we can close 7zip and you should have your systemUI with new status bar icons.
5. Make a backup of your rom (just in case) and push your new systemUI.apk back to your phone either manually with Root Explorer (or similar file manager) and set permissions rw--r--r-- or flash it from cwm.
For a flashable zip please see majdinj's flashable zip how to HERE
I hope this quick guide can help some of you learn to make your own simple icon mods.
Some examples of different Status Bar themes you can make this way
Crikey! Great guide!
Sent from my GT-N7000 using Tapatalk 2
Simple and useful. Thanks shayno.
Sent from my GT-N7000 using Tapatalk HD
Easy and simple guide..
Thank you sir..
Sent from my GT-N7000 using xda premium
bow to your master :good:
i think VR theme flasher is much more useful n easiest way for just changing icons...
can just do it on the phone n flash it by 1step...
sorry for disturbing ur OP..
just my suggestion... have a nice day n thanks for sharing..
alvinhaw said:
i think VR theme flasher is much more useful n easiest way for just changing icons...
can just do it on the phone n flash it by 1step...
sorry for disturbing ur OP..
just my suggestion... have a nice day n thanks for sharing..
Click to expand...
Click to collapse
Sure it is but what do you learn?
not-i said:
Sure it is but what do you learn?
Click to expand...
Click to collapse
?for just changing icon ?even if u don't have a VR theme flasher also can do it just on the
phone is actually the same method is only using phone or a pc... just drag n drop using X-plore
open apk as zip n zip back as apk...
Thanks for advise...
need some brains as u mention on ur OP..
Useful mod with simple teaching. Thank you,Fine, Master, is there anyway to position the icons.
( I shall start collecting systemui)
Sent from my GT-N7000 using xda premium
dsmas said:
Useful mod with simple teaching. Thank you,Fine, Master, is there anyway to position the icons.
( I shall start collecting systemui)
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
You mean like center clock etc? That takes xml or smali edits which require more knowledge and to decompile the apk. There are other threads on xda that will help you with that
Sent from my Sweet ROM powered GT-N7100
You mean more brains.
Sent from my GT-N7000 using xda premium
Can I just delete an icon say the battery icon in my res folder?
Sent from my GT-N7000 using xda app-developers app

Categories

Resources