so i am trying to add the notification toggles mod to my r800x and i have found the files from the mod to do so. but when i add them to my stock SystemUI.apk apk manager will not add them i have tried time and time again and when i decompile what i modded its the same as stock except smaller due to compression. i dont know what im doing wrong and if anyone can help it would be much appreciated.
i have attached the stock systemui.apk as well as what needs to be added to it.
use 7 zip?
Sent from my R800i using Tapatalk
wont work it needs to be decompiled edited and recompiled. 7zip wont allow you to make the modifications required. but apparently apk manager only allowsyou to edit files not add brand new ones, so unless someone else can figure it out us r800x owners yet again get shafted.
Related
Since we know got the .368 update, would it be possible to add more themes to the phone?
Have you tried the obvious. Decompile (themename).apk, change the images, change the name in androidmanifest, recompile & sign. Although i think all the themes, come in one .apk
Sent from my R800i using Tapatalk
Hi XDA
Im trying to make a battery mod for my HTC Sensation, but i need some help.
I have the framework-res.apk for my rom (Android Revolution HD) and 100 pngs.
I need help with compiling the stat_sys_battery.xml so it uses all the 100 pngs instead of htcs 7
I also need to know if its okay to just replace the files in the framework-res.apk using 7-zip, and replace that with the framework-res.apk in a working battery mod i downloaded, since i dont know how to make the update script
Thank you for you help
frederikh said:
Hi XDA
Im trying to make a battery mod for my HTC Sensation, but i need some help.
I have the framework-res.apk for my rom (Android Revolution HD) and 100 pngs.
I need help with compiling the stat_sys_battery.xml so it uses all the 100 pngs instead of htcs 7
I also need to know if its okay to just replace the files in the framework-res.apk using 7-zip, and replace that with the framework-res.apk in a working battery mod i downloaded, since i dont know how to make the update script
Thank you for you help
Click to expand...
Click to collapse
Sorry, but it's a bit more complicated than just opening the .apk in 7-zip or winrar. You need to decompile the .apk... the easiest way is to use a program called apk manager. Search on XDA, and you will find it.
Then, in the decompiled folder, you will have a /drawable/ folder. You need to re-code the stat_sys_battery.xml to include all the pngs, as well as the zzz_stat_sys_battery_1.xml.
In addition to the 100 pngs you already have, you will also need some charging animation icons and a stat_sys_battery_unknown.png icon that all match your battery icon theme.
After redoing the 3 xmls in the drawable folder, and replacing all the necessary pngs, you then need to recompile and sign your apk with the new files.
I've attached a sample of the 3 xmls for you to use as a reference.
If you are looking to get a battery mod the quick and easy way, then I have a bunch in a thread HERE. If you are looking to learn how to do it yourself (Which I highly recommend for the learning experience it will provide), then search around and look for some guides on compiling and decompiling to help you on your way. You can also download any of the battery mods from the thread I linked to, and decompile them for examples of a working framework-apk that has been modded.
Keep in mind, when experimenting with this, you ABOSLUTELY WILL cause your phone to not be able to boot up. Make sure you have a nandroid backup ready.
Good luck.
Thank you!
Wow, this is gonna take a bit longer than i though B)
Btw, i was using one of your mods, but i found that it wasnt smooth enough + the icon didnt have enough detail
frederikh said:
Hi XDA
Im trying to make a battery mod for my HTC Sensation, but i need some help.
I have the framework-res.apk for my rom (Android Revolution HD) and 100 pngs.
I need help with compiling the stat_sys_battery.xml so it uses all the 100 pngs instead of htcs 7
I also need to know if its okay to just replace the files in the framework-res.apk using 7-zip, and replace that with the framework-res.apk in a working battery mod i downloaded, since i dont know how to make the update script
Thank you for you help
Click to expand...
Click to collapse
go to first link on my sign download a batt mod open framework and use it...
lalitsehgal21 said:
go to first link on my sign download a batt mod open framework and use it...
Click to expand...
Click to collapse
Thanks, but no thanks B)
I think will try to learn how to do it my self
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.
K, so i'm running RCmix3D Runny 4.0 ROM (Sweet ROM btw) and i've found an icon pack that i want to use, not in an APK format, just have it in a folder as of now, both installed on my desktop and in my media folder on my phone. i really don't want to use Launcher Pro or anything like that to keep the icon pack installed, so i was wondering if anyone knew a way to install the icon pack with a program that doesn't need to be consistently ran to keep the icon pack installed.
i'm not completely retarded when it comes to ROMs, but i am new, so please, be gentle. lol
You would have to use a theme pack made for your Rom if you want to just flash it. If you know how to extract framework apks you could swap out the PNG images yourself.
Sent from my Inspire 4G using xda premium
Thanks for the insight um can u provide a link to a tutorial on the subject
bigslimoid said:
Thanks for the insight um can u provide a link to a tutorial on the subject
Click to expand...
Click to collapse
There is no tutorial that I know of. Learning how to do most of this stuff requires time searching and reading on the internet. I use linux with dsixdas kitchen to have a working folder of Rom. You could just pull out framework-res.apk and systemui.apk from Rom to work with as well. Decompile apk, trade out PNG's retaining original file name, recompile and change extension back to .apk. now you have the apk with different icons. Either build Rom with these or push them to phone and reboot. There are many other places where PNG images are stored as well. Com.HTC.resources.apk is another one for example.
Hello everybody, i got sick of my battery icon and wanted a change, but i am with UBKPD (2.3.6. for Argentina and some other countries of Latinamerica) and couldn't use any other theme or part of it.
Thanks to the thread of umarian and other threads all over XDA and HTC ManĂa (this in spanish) i figure out how to change my battery icon.
I attach diferent .rar files. In there you will find a folder with icons AND the file: framework-res.apk of UBKPD according to the respective icon.
Of course, you can change icons of your Firmware whatever it is (using this icons or those you want) following the steps of this thread: http://forum.xda-developers.com/showthread.php?t=1431048
The icons i've used are those provided by umarian in that thread, some others that i picked up from other threads with mods for other firmwares. None are creations of mine. SO, IF YOU LIKE THIS, THANKS HIM FOR CIRCLE BATTERY ICONS.
If you have UBKPD firmware or you want to trie if it's usefull in yours, follow this steps (you would need to be root and to have a file manager with root permissions):
a.) make a backup, just in case. We are going to touch system files!!
b.) copy the file framework-res.apk of the folder with icons you want;
c.) copy it to the folder: system in your phone, there, change permissions to rw-, r--, r--;
d) move the file framework-res.apk from system to system/framework
d) reboot and it's done.
Advice: However you got all the icons to go 1% to 1%, i still couldn't make the changes to apply the icon to work from 1% to 1%.
Please, also, if anyone have a claim on the battery icon, let me know.
Since most users are on custom themes, ICS to be precise, replacing framework-res will result in loss of the theme.
So if you can share the png files then it will be great since it only involves drag n drop using 7zip.
Or you can explain in OP to copy the png from any of your attachment and replacing them in the one's current framework-res
Sent from my GT-I9003 using xda premium
exctngdude said:
Since most users are on custom themes, ICS to be precise, replacing framework-res will result in loss of the theme.
So if you can share the png files then it will be great since it only involves drag n drop using 7zip.
Or you can explain in OP to copy the png from any of your attachment and replacing them in the one's current framework-res
Sent from my GT-I9003 using xda premium
Click to expand...
Click to collapse
Thanks. My explanation seems it isn't good. Inside the folder I uploaded are the png files plus the framework file. If someone wants to use the png files there are they, separate from the framework file.
On the other hand, in the link I let is the explanation on how can port the png files (icons) to the firmware they want. However, I don't know if this procedure works with ice cream sandwich. It works 100% in ginger .
Uan_ar said:
Thanks. My explanation seems it isn't good. Inside the folder I uploaded are the png files plus the framework file. If someone wants to use the png files there are they, separate from the framework file.
On the other hand, in the link I let is the explanation on how can port the png files (icons) to the firmware they want. However, I don't know if this procedure works with ice cream sandwich. It works 100% in ginger .
Click to expand...
Click to collapse
OK. Cool. I didn't download the attachments so didn't know you had explained the stuff inside them.
Sent from my GT-I9003 using xda premium