Hey guys. Just a quick question. I've successfully edited the images inside a few .apk files to match my theme and then installed them on my phone without any problems.
However, now I'm trying to edit some .apk files that are apps with widgets. Specifically, Advanced Task Manager and N1 Torch. I wanted to edit the widgets' image files so that the "focused" and "pressed" highlights of these apps' respective widgets are no longer Android's hideous orange color. But when I make changes to the widgets and install my modded .apk files, the widgets are broken. They won't load. Any advice? Thanks.
mabe http://forum.xda-developers.com/showthread.php?t=669577
Never mind. Got it all settled. Fixed my widgets. Thanks.
I have the google voice with the inbox and settings widgets, not the best looking widgets. I'm would like to change the background of the inbox transparent. I tried the following, opened the googlevoice-0.4.1.19.apk with 7zip, and found all the background .png's in \googlevoice-0.4.1.19\res\drawable-hdpi. I copied the inbox background png to my computer, edited in GIMP to make the inbox background transparent, and copied back to apk file. when I try to install via application manager is will not install. What am I doing wrong, probably alot since I have no idea if what I'm doing is suppose to work or not.
corefile said:
I have the google voice with the inbox and settings widgets, not the best looking widgets. I'm would like to change the background of the inbox transparent. I tried the following, opened the googlevoice-0.4.1.19.apk with 7zip, and found all the background .png's in \googlevoice-0.4.1.19\res\drawable-hdpi. I copied the inbox background png to my computer, edited in GIMP to make the inbox background transparent, and copied back to apk file. when I try to install via application manager is will not install. What am I doing wrong, probably alot since I have no idea if what I'm doing is suppose to work or not.
Click to expand...
Click to collapse
Try to resign the apk.
If you are able to get this working, I would love to have it in my phone as well.
Good luck and thank you in advance!
Sent from my ADR6300 using XDA App
You're going to want to do a couple things. Pngout the pngs when you are done editing and resign the apk. Check out this link http://developer.android.com/guide/publishing/app-signing.html
Hi, on my previous phone I used the standard calendar widget but it had a transparent white header (actually I am not sure if that was standard or if I had a modified calendar app it is so long ago). I would like the same widget on Nexus 5 but the standard calendar widget has a blue header. Does anyone know how this can be modified to be transparent like my previous one? I have shown pictures of the difference between them in attachments.
I think it might be a case of editing PNG file(s) in the APK and then rebuilding it. I had a look inside the calendar APK from the \system\apps folder and I can see some PNG files that look like they are the header. I can use an image editing app to modify the image files but I am not sure about the process of rebuilding the APK (I have odex files as well as APK in my \system\apps folder).
I have attached the files that seem to be the background PNGs. The one called BLUE is the one from Nexus 5 and the one called TRANSPARENT is from my previous Android 4.1.2 phone. The calendar APK in the Nexus 5 has two copies of the file in two different folders in the res section.
If anyone can help I would appreciate it
Found the solution myself. I found the image for the header in the old Calendar app and took a sample of the colour and transparency and edited and replaced the corresponding image in the new Calendar APK (resizing to fit new screen density). I found a tool to odex and transfer to my phone and now the widget is showing with the header like my old one did.
dgmorland said:
Found the solution myself. I found the image for the header in the old Calendar app and took a sample of the colour and transparency and edited and replaced the corresponding image in the new Calendar APK (resizing to fit new screen density). I found a tool to odex and transfer to my phone and now the widget is showing with the header like my old one did.
Click to expand...
Click to collapse
Care to share your modified apk?
Radar73 said:
Care to share your modified apk?
Click to expand...
Click to collapse
Attached is my modified APK. It is a modified version of v201308021 calendar app which came with the original Nexus 5 ROM. I am not sure if any of the subsequent OTA updates have upgraded the version since that one.
Note that the widget preview still shows it with the blue header but if you add it to your homescreen the widget will display with my modified transparent white header.
I used this tool and instructions to odex my modified APK file:
http://forum.xda-developers.com/showthread.php?t=1879128
dgmorland said:
Attached is my modified APK. It is a modified version of v201308021 calendar app which came with the original Nexus 5 ROM. I am not sure if any of the subsequent OTA updates have upgraded the version since that one.
Note that the widget preview still shows it with the blue header but if you add it to your homescreen the widget will display with my modified transparent white header.
I used this tool and instructions to odex my modified APK file:
http://forum.xda-developers.com/showthread.php?t=1879128
Click to expand...
Click to collapse
Much appreciated ...thanks!
Hi there,
So recently I got Nexus 5 after 4 years of HTC Desire. Quite a huge leap performace wise I might add, and this phone is absolutely a sweetheart. The first thing I did was rooting the phone :laugh:
Anyways, I am thinking to change the color of all icons (including icons of applications) to black and white. I get it that I would need to extract the icons first, and then change the color using some icon or icon editing program or simply a photo editing program etc.
Now what I would need to know is that how can I repack the icons back to the application? or would I need to place it in some directory and fiddle with some xml file?
Cheers!
oombongo said:
Hi there,
So recently I got Nexus 5 after 4 years of HTC Desire. Quite a huge leap performace wise I might add, and this phone is absolutely a sweetheart. The first thing I did was rooting the phone :laugh:
Anyways, I am thinking to change the color of all icons (including icons of applications) to black and white. I get it that I would need to extract the icons first, and then change the color using some icon or icon editing program or simply a photo editing program etc.
Now what I would need to know is that how can I repack the icons back to the application? or would I need to place it in some directory and fiddle with some xml file?
Cheers!
Click to expand...
Click to collapse
Why don't you just use a Launcher that allow you to use custom icons? with Nova and Apex you can do it
oombongo said:
Now what I would need to know is that how can I repack the icons back to the application? or would I need to place it in some directory and fiddle with some xml file?
Cheers!
Click to expand...
Click to collapse
Icons are icons. The colour of icons does not need xml files. Its all controlled by images.
You can actually repack quit easily, but also takes a lot of effort. You need to look at the villain rom theme engine. It is a flashable zip that unpacks each apk and replaces whatever you have in the zip in the apk. Essentially you would have /system/app_name/res/icon.png (pretending that this is the location of the icon in the apk, each will be different I expect)... but you have to do this for every app.
Is there a way to theme touchwiz or stock for custom status icons via signal bars, clock colors, notification colors etc? Tried making flashable zips but didnt change the look any, still the same default after editing images and changing xml color codes still no luck
Sent from my SM-N920P using Tapatalk
ebs512 said:
Is there a way to theme touchwiz or stock for custom status icons via signal bars, clock colors, notification colors etc? Tried making flashable zips but didnt change the look any, still the same default after editing images and changing xml color codes still no luck
Sent from my SM-N920P using Tapatalk
Click to expand...
Click to collapse
Without the theme creator you might have to copy a theme from system/app and decompile and edit. I haven't had a chance to start on one for my phone yet. I would grab a theme that has made the most changes so the apk is the most complete.
here is a link for some themes you might want to look at http://forum.xda-developers.com/ver...e-samsung-stock-s6-themes-collection-t3080847
cmos8088 said:
Without the theme creator you might have to copy a theme from system/app and decompile and edit. I haven't had a chance to start on one for my phone yet. I would grab a theme that has made the most changes so the apk is the most complete.
here is a link for some themes you might want to look at http://forum.xda-developers.com/ver...e-samsung-stock-s6-themes-collection-t3080847
Click to expand...
Click to collapse
I just wanted to make a few system edits via signal bar colors, battery bar icons etc. When you decompile the SytemUI.apk on the stock deodexed rom, the images are in Samsung's QMG format. You can convert the QMG images to png format and edit them but after multiple attempts at trying to create flashable zips and forcing the apk into reboot, no changes were made, the png images are in the apk with the original QMG format deleted but still the same default. I installed the xposed framework and installed the x Theme Engine but it does not support lollipop 5.1.1. Any help would be greatly appreciated as I am on a loop as to what to do now to make a fully custom theme for my stock rom
Sent from my SM-N920P using Tapatalk
ebs512 said:
I just wanted to make a few system edits via signal bar colors, battery bar icons etc. When you decompile the SytemUI.apk on the stock deodexed rom, the images are in Samsung's QMG format. You can convert the QMG images to png format and edit them but after multiple attempts at trying to create flashable zips and forcing the apk into reboot, no changes were made, the png images are in the apk with the original QMG format deleted but still the same default. I installed the xposed framework and installed the x Theme Engine but it does not support lollipop 5.1.1. Any help would be greatly appreciated as I am on a loop as to what to do now to make a fully custom theme for my stock rom
Sent from my SM-N920P using Tapatalk
Click to expand...
Click to collapse
Use xblast tools for xposed
Sent from my SM-N920P using Xparent BlueTapatalk 2
ebs512 said:
I just wanted to make a few system edits via signal bar colors, battery bar icons etc. When you decompile the SytemUI.apk on the stock deodexed rom, the images are in Samsung's QMG format. You can convert the QMG images to png format and edit them but after multiple attempts at trying to create flashable zips and forcing the apk into reboot, no changes were made, the png images are in the apk with the original QMG format deleted but still the same default. I installed the xposed framework and installed the x Theme Engine but it does not support lollipop 5.1.1. Any help would be greatly appreciated as I am on a loop as to what to do now to make a fully custom theme for my stock rom
Sent from my SM-N920P using Tapatalk
Click to expand...
Click to collapse
The files you are changing might be getting replaced by a theme overlay, even the default theme (lollipop) is an overlay. So you should try replacing the images in whatever theme your using.
cmos8088 said:
The files you are changing might be getting replaced by a theme overlay, even the default theme (lollipop) is an overlay. So you should try replacing the images in whatever theme your using.
Click to expand...
Click to collapse
Im not finding the default theme and out of a few apks I have decompiled, the system is the only one with the signal icons, this is some folders related to theming but even the touchwiz app doesnt have the signal bars, xblast tools works but if I'd like to include the feature in my own theme, I still have not found a way. I decompiled a theme and the only images in it are related to app icons so that's a dead end there
Sent from my SM-N920P using Tapatalk
ebs512 said:
Im not finding the default theme and out of a few apks I have decompiled, the system is the only one with the signal icons, this is some folders related to theming but even the touchwiz app doesnt have the signal bars, xblast tools works but if I'd like to include the feature in my own theme, I still have not found a way. I decompiled a theme and the only images in it are related to app icons so that's a dead end there
Sent from my SM-N920P using Tapatalk
Click to expand...
Click to collapse
A theme overlay I would think is the only way to do it now. In older versions of Android you could simply replace images and do xml and smali edits. Now it is much more complicated since Samsung hasn't released theme designer/creator to the public...
If you look inside the main apk of a theme in data/app you will see all the rest of the apk's for that theme. Example Material dark is com.cambunch.MaterialDark. If you decompile all the apk's inside the theme's main apk you can make changes there. I haven't tried to change anything that isn't included yet in a theme. But you might be able to add apk's that you create to it that have your changes you have made.
I hope more people jump in here so we can figure this out so people can create personalized themes for themselves and others.
cmos8088 said:
A theme overlay I would think is the only way to do it now. In older versions of Android you could simply replace images and do xml and smali edits. Now it is much more complicated since Samsung hasn't released theme designer/creator to the public...
If you look inside the main apk of a theme in data/app you will see all the rest of the apk's for that theme. Example Material dark is com.cambunch.MaterialDark. If you decompile all the apk's inside the theme's main apk you can make changes there. I haven't tried to change anything that isn't included yet in a theme. But you might be able to add apk's that you create to it that have your changes you have made.
I hope more people jump in here so we can figure this out so people can create personalized themes for themselves and others.
Click to expand...
Click to collapse
The default theme is not in /data/app. I manually pushed a modified systemui.apk with changed images and it force closed the systemui. After a reboot, there was no force close but no status bar either
Sent from my SM-N920P using Tapatalk
ebs512 said:
The default theme is not in /data/app. I manually pushed a modified systemui.apk with changed images and it force closed the systemui. After a reboot, there was no force close but no status bar either
Sent from my SM-N920P using Tapatalk
Click to expand...
Click to collapse
I was referring to the MaterialDark theme as an example and how theming is done now with lollipop. I know systemui.apk is in system/priv-app and theming individual apps doesn't work anymore.
cmos8088 said:
I was referring to the MaterialDark theme as an example and how theming is done now with lollipop. I know systemui.apk is in system/priv-app and theming individual apps doesn't work anymore.
Click to expand...
Click to collapse
The Material Dark theme was made using the theme service software? That's the only current way to create a theme now?
Edit: they are all separate apks now for each part of the theme
Sent from my SM-N920P using Tapatalk
ebs512 said:
The Material Dark theme was made using the theme service software? That's the only current way to create a theme now?
Edit: they are all separate apks now for each part of the theme
Sent from my SM-N920P using Tapatalk
Click to expand...
Click to collapse
Yes this is the only way to theme now.
Also all those smaller apk's are all located in the main apk for the theme. Using MaterialDark as en example again com.cambunch.MaterialDark is the main part and has all the smaller apk's inside. Each of the smaller apk's theme one app.
So what I am saying is you have to grab a theme off your phone ( just the main app ) it will have all the smaller apk's in it. Then you have to decompile it and you will have all the smaller apk's then you can decompile and edit those. You should be able to add more images other then what is in those smaller apk's as long as the naming is correct.
cmos8088 said:
Yes this is the only way to theme now.
Also all those smaller apk's are all located in the main apk for the theme. Using MaterialDark as en example again com.cambunch.MaterialDark is the main part and has all the smaller apk's inside. Each of the smaller apk's theme one app.
So what I am saying is you have to grab a theme off your phone ( just the main app ) it will have all the smaller apk's in it. Then you have to decompile it and you will have all the smaller apk's then you can decompile and edit those. You should be able to add more images other then what is in those smaller apk's as long as the naming is correct.
Click to expand...
Click to collapse
I talked to a very reputable themer selling themes in the galaxy theme store. After asking her a few questions it appears the ONLY way to theme is with the samsung software which i applied for yesterday. Even decompiling an already made theme, a png is not going to replace a qmg image already set in the application so that's the only downfall. Being short of being capable to fully theme like you used to be able to via cm theme engine is kind of sad aswell. Also, with the samsung theme engine, text colors and status bar icons can no longer be modified with the samsung software
Sent from my SM-N920P using Tapatalk
ebs512 said:
I talked to a very reputable themer selling themes in the galaxy theme store. After asking her a few questions it appears the ONLY way to theme is with the samsung software which i applied for yesterday. Even decompiling an already made theme, a png is not going to replace a qmg image already set in the application so that's the only downfall. Being short of being capable to fully theme like you used to be able to via cm theme engine is kind of sad aswell. Also, with the samsung theme engine, text colors and status bar icons can no longer be modified with the samsung software
Sent from my SM-N920P using Tapatalk
Click to expand...
Click to collapse
I am theming my phone without Samsungs software by taking a part other themes seeing what makes them work and making my own. It is very slow going but I have been able to replace qmg files with png. and change text colors. I haven't found the limits yet because I haven't tried to add more then what is in anyone theme yet.
Don't be disappointed if Samsung declines you they have declined a lot of known themers. I was declined but I have never publicly released a theme...
cmos8088 said:
I am theming my phone without Samsungs software by taking a part other themes seeing what makes them work and making my own. It is very slow going but I have been able to replace qmg files with png. and change text colors. I haven't found the limits yet because I haven't tried to add more then what is in anyone theme yet.
Don't be disappointed if Samsung declines you they have declined a lot of known themers. I was declined but I have never publicly released a theme...
Click to expand...
Click to collapse
What have you found out so far, have you been able to make a modified apk theme?
Sent from my SM-N920P using Tapatalk
ebs512 said:
What have you found out so far, have you been able to make a modified apk theme?
Sent from my SM-N920P using Tapatalk
Click to expand...
Click to collapse
I will be posting a howto in the next couple of days. I have been able to replace images and change colors. It is pretty involved because you need to make some batch files to batch decompile, recompile, zipalign and sign around 60 apk's (depending on your theme). The only problem I have had is I have to manually move the sjon file so it doesn't show as a trial theme. Once I figure out how to make the sjon file go to the correct place it will be much easier for installs.
cmos8088 said:
I will be posting a howto in the next couple of days. I have been able to replace images and change colors. It is pretty involved because you need to make some batch files to batch decompile, recompile, zipalign and sign around 60 apk's (depending on your theme). The only problem I have had is I have to manually move the sjon file so it doesn't show as a trial theme. Once I figure out how to make the sjon file go to the correct place it will be much easier for installs.
Click to expand...
Click to collapse
Is the sjon file there if you have purchased a theme? I have purchased a few, would you suggest using a paid theme as a base? According to the pictures of the Samsung Theme Designer software, it looks as easy as selecting overall theme colors in a GUI display so it might be considerably easier if we all just continuously apply until you get approved? From what I have been told, they make verdicts of applicants the 15th of every month...
Sent from my SM-N920P using Tapatalk
ebs512 said:
Is the sjon file there if you have purchased a theme? I have purchased a few, would you suggest using a paid theme as a base? According to the pictures of the Samsung Theme Designer software, it looks as easy as selecting overall theme colors in a GUI display so it might be considerably easier if we all just continuously apply until you get approved? From what I have been told, they make verdicts of applicants the 15th of every month...
Sent from my SM-N920P using Tapatalk
Click to expand...
Click to collapse
mine was pieced together with several free themes and will show as a trial theme. I haven't figured out what theme manager looks at to tell if a theme is free trial or payed. You are right about similar color but the theme might not be complete.