[HELP] Change some colors - Android Themes

I want to change Settings.apk Background color like this (i just want to make a dark theme):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I saw many tutorials here, but nothing found about my files.
If anyone can help me here are the files framework-res, Settings and SystemUI: https://mega.nz/#!C94CyJLK!soKx4RArbZ0mm8Kw_Y7_a9l37gbwJe2fsOGHUtWQ_x4
You just need to tell me what file to edit, i want to edit it myself to learn.
Thanks anyone who help me.

hadagalberto said:
I want to change Settings.apk Background color like this (i just want to make a dark theme):
I saw many tutorials here, but nothing found about my files.
If anyone can help me here are the files framework-res, Settings and SystemUI: https://mega.nz/#!C94CyJLK!soKx4RArbZ0mm8Kw_Y7_a9l37gbwJe2fsOGHUtWQ_x4
You just need to tell me what file to edit, i want to edit it myself to learn.
Thanks anyone who help me.
Click to expand...
Click to collapse
Which version of android ??

Edit:
If 5.0+
Then here you go just replace those lines in colors.XML and styles.XML in settings
Thanks to @nicholaschum

I'll try this, thanks

n78 shadow said:
Edit:
If 5.0+
Then here you go just replace those lines in colors.XML and styles.XML in settings
Thanks to @nicholaschum
Click to expand...
Click to collapse
I dind't findo all the strings, i edited some of them but the app isn't showing at launcher anymore. Can you edit for me?

hadagalberto said:
I dind't findo all the strings, i edited some of them but the app isn't showing at launcher anymore. Can you edit for me?
Click to expand...
Click to collapse
I hope I can but I don't have PC I made themes by apktool on android and I don't think I can decompile it or even recompile it and also I have exams these days I can't do anything ,Sorry:crying:
But if you opened the XML(s) I sent you make sure you edit the same color name and also try to edit the framework-res with those values .( in the attachment)
After editing the settings and the framework push them to the system at the same time then reboot .
Good luck
Edit : yeah I almost forget
If you didn't find all the strings add the one you didn't find that may works if you edited the framework also.

n78 shadow said:
Edit:
If 5.0+
Then here you go just replace those lines in colors.XML and styles.XML in settings
Thanks to @nicholaschum
Click to expand...
Click to collapse
n78 shadow said:
I hope I can but I don't have PC I made themes by apktool on android and I don't think I can decompile it or even recompile it and also I have exams these days I can't do anything ,Sorry:crying:
But if you opened the XML(s) I sent you make sure you edit the same color name and also try to edit the framework-res with those values .( in the attachment)
After editing the settings and the framework push them to the system at the same time then reboot .
Good luck
Edit : yeah I almost forget
If you didn't find all the strings add the one you didn't find that may works if you edited the framework also.
Click to expand...
Click to collapse
Thanks! I'll try later.

n78 shadow said:
I hope I can but I don't have PC I made themes by apktool on android and I don't think I can decompile it or even recompile it and also I have exams these days I can't do anything ,Sorry:crying:
But if you opened the XML(s) I sent you make sure you edit the same color name and also try to edit the framework-res with those values .( in the attachment)
After editing the settings and the framework push them to the system at the same time then reboot .
Good luck
Edit : yeah I almost forget
If you didn't find all the strings add the one you didn't find that may works if you edited the framework also.
Click to expand...
Click to collapse
So, i've edited all the files but something went wrong wit background:
And WhatsApp is forcing closing.
Any solution?

hadagalberto said:
So, i've edited all the files but something went wrong wit background:
And WhatsApp is forcing closing.
Any solution?
Click to expand...
Click to collapse
Mmm .
OK first of all make sure you added this line in colors.XML of settings ( if it doesn't exist just add it)
<color name="dashboard_category_background_color">#ff000000</color>
If that didn't work try to edit this
res/layouts/dashboard_category.xml
And also for the whatsapp add this zip to the framework-res
This zip contains drawable and colors and you know where to push them ( pay attention I added two XML drawables look in the deawables folders for the same name and delete them before you push those or you will face crashes)

n78 shadow said:
Mmm .
OK first of all make sure you added this line in colors.XML of settings ( if it doesn't exist just add it)
<color name="dashboard_category_background_color">#ff000000</color>
If that didn't work try to edit this
res/layouts/dashboard_category.xml
And also for the whatsapp add this zip to the framework-res
This zip contains drawable and colors and you know where to push them ( pay attention I added two XML drawables look in the deawables folders for the same name and delete them before you push those or you will face crashes)
Click to expand...
Click to collapse
Ok, my Settings.apk is working fine. But WhatsApp is still forcing closing.
I replaced the files at framework-res.

hadagalberto said:
Ok, my Settings.apk is working fine. But WhatsApp is still forcing closing.
I replaced the files at framework-res.
Click to expand...
Click to collapse
This's strange this should work.
Sorry I don't know what could I do else try to make a log and read why it crashes .
Sorry I told you every thing I know perhaps someone will continue instead of me .

n78 shadow said:
This's strange this should work.
Sorry I don't know what could I do else try to make a log and read why it crashes .
Sorry I told you every thing I know perhaps someone will continue instead of me .
Click to expand...
Click to collapse
So, is it possible to change that invisible text without modding the framework-res?
What string i need to change?

hadagalberto said:
So, is it possible to change that invisible text without modding the framework-res?
What string i need to change?
Click to expand...
Click to collapse
No you need to mod the framework-res .
And especially the styles.XML.
But did you made the edits I sent you in the zip they should fix those problems.??

n78 shadow said:
No you need to mod the framework-res .
And especially the styles.XML.
But did you made the edits I sent you in the zip they should fix those problems.??
Click to expand...
Click to collapse
I replaced that files in framework-res, but WhatsApp still FC

hadagalberto said:
I replaced that files in framework-res, but WhatsApp still FC
Click to expand...
Click to collapse
Would you please provide a log?

n78 shadow said:
Would you please provide a log?
Click to expand...
Click to collapse
How can i get this?

hadagalberto said:
How can i get this?
Click to expand...
Click to collapse
Google for
Catlog

n78 shadow said:
Google for
Catlog
Click to expand...
Click to collapse
The log is in the attachment.

hadagalberto said:
The log is in the attachment.
Click to expand...
Click to collapse
WTF (What The Fantastic Log please provided one with just the WhatsApp errors maybe screenshot the red lines
Edit : I searched the lines nothing is related to WhatsApp So what you can do ??
I'll tell you open the catlog and then open the WhatsApp after it carshs go back and pause the logs and take screenshot to the read lines.
Good luck

n78 shadow said:
WTF (What The Fantastic Log please provided one with just the WhatsApp errors maybe screenshot the red lines
Edit : I searched the lines nothing is related to WhatsApp So what you can do ??
I'll tell you open the catlog and then open the WhatsApp after it carshs go back and pause the logs and take screenshot to the read lines.
Good luck
Click to expand...
Click to collapse
Here is it:

Related

Location and name of apps list background?

Hi,
I'm currently creating a black theme for a 2.1 rom but i am totally struggling finding the PNG file for the apps list "all programs" background, currently it's a light shade of grey starting at the top shading down to black at the bottom but want to make this this totally black.
I have changed all the files i can find that resemble the background but it remains grey fading to black and maybe this is controlled by an xml file?.
I have looked in framework-res and com.htc.resources apks but cannot find the file to change this.
Can anyone help me with this please?
Thx.
welcome to the league of those who cannot find the menu background... we've all been searching for a long long time, the shining knight has yet to be found that can free us all from the curse of the dark in the back...
Lol, ok but some themes i've seen have a black background, maybe this is because it's the default for the that particular rom/theme.
after reading your first post again : are you talking about stock or sense roms? not sure about the stock launcher, it should be know what file it is for that. not for rosie though.
I'm themeing an expresso sense rom and the file i have found that resembles the background png is called common_panel_gradient.png, which is also found in some common system apk's.
Hitman37 said:
I'm themeing an expresso sense rom and the file i have found that resembles the background png is called common_panel_gradient.png, which is also found in some common system apk's.
Click to expand...
Click to collapse
have you tried editing it?
kendong2 said:
have you tried editing it?
Click to expand...
Click to collapse
Yes, i did a couple of system apk's as well but the programs background stays the same, sys apk's change to the new edit.
Hitman37 said:
Yes, i did a couple of system apk's as well but the programs background stays the same, sys apk's change to the new edit.
Click to expand...
Click to collapse
It's not a png, it's a xml in framework-res.apk. I'm not at my own pc right now, but I'm 99% sure it's in /res/values/colors.xml. I tried editing to a semiopaque once, but it made the icons have trails when scrolling.
EDIT: Forget it. Just downloaded the stuff needed, and it is not in framework-res.apk. It's in Rosie.apk. /res/values/colors.xml. Line 8
Code:
<color name="all_item_background">#ff000000</color>
tristan202 said:
It's not a png, it's a xml in framework-res.apk. I'm not at my own pc right now, but I'm 99% sure it's in /res/values/colors.xml. I tried editing to a semiopaque once, but it made the icons have trails when scrolling.
EDIT: Forget it. Just downloaded the stuff needed, and it is not in framework-res.apk. It's in Rosie.apk. /res/values/colors.xml. Line 8
Code:
<color name="all_item_background">#ff000000</color>
Click to expand...
Click to collapse
Ah thanks Tristan ,
i thought it was probably xml related but the question now is how do i edit this (ff000000) in line 8 to change it to my all black background and what hex would this be?
Do i need some java tools for editing the xml?
Thank you!
Hitman37 said:
Ah thanks Tristan ,
i thought it was probably xml related but the question now is how do i edit this (ff000000) in line 8 to change it to my all black background and what hex would this be?
Do i need some java tools for editing the xml?
Thank you!
Click to expand...
Click to collapse
You need to download apktool, and then extract Rosie with that. The way it's done is this:
Code:
apktool d Rosie.apk out
That will decompile it to the folder 'out', and make all xml files readable and editable. Then after editing you run this command:
Code:
apktool b out
That will rebuild the apk. All left to do is either resign it or copy the edited files to your original Rosie.apk
Thanks again!!
Two questions...
What editor do i need to edit the decompiled file, will notepad do it?
What do edit the file to in line8, to use my background PNG?
Thanks.
Hitman37 said:
Thanks again!!
Two questions...
What editor do i need to edit the decompiled file, will notepad do it?
What do edit the file to in line8, to use my background PNG?
Thanks.
Click to expand...
Click to collapse
Notepad will do just fine. I use Notepad++, a freeware great notepad replacement with code highlight. I am not sure if you can replace the background with a png. That's be kinda tricky. It will probably require some altering in the smali, and I'm not familiar with that. One thing you could try is edit another file instead. You need to edit bladelistview.xml in layout folder.
Edit this tag:
Code:
android:background="@color/all_item_background"
to this:
Code:
android:background="@drawable/NAME_OF_YOUR_PNG_WITHOUT_EXTENSION"
Remember to put you custom image in the drawable folder in Rosie. I am not sure if this will work, but it's definatly worth trying.
Ok great, i'll try your suggestions.
Thanks
Hmm no it doesn't work, still the same background, i also get some errors when decompiling and re-compiling rosie but i inserted the files directly into rosie anyway with winrar, still not working
Any other idea's?
Thanks.
I have a feeling there's an apk somewhere that controls the program launch/list that has this png inside but i cannot find it , i thought that it could be the Launcher.apk but it's totally missing from the apps folder
This is what the current background looks like
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And want to change it to this...

[Q] [SOLVED] [THEMING HELP] GenieWidget.apk/Power Control Widget

I'm having some problems theming it. I want it to be like the one from BlackMod so I've extracted the one from BlackMod and put it in my theme so it should work now right? But it didn't it just showed the widget but not with the correct bagground etc. Then I took the GenieWidget.apk from the original ROM and themed it plus some pngs that is also in it. Something like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
but it's still not working :/ This is what the widget currently looks like BTW:
bro, did you sign it after you modded it to ur liking? from your first picture i just see the .9 borders, which are not supposed to be there after you run it through a compiler like Eclipse.
opasha said:
bro, did you sign it after you modded it to ur liking? from your first picture i just see the .9 borders, which are not supposed to be there after you run it through a compiler like Eclipse.
Click to expand...
Click to collapse
As it is a system apk it does not need to be signed. The borders are because of decompiling and I did recompile again afterwards. Also it does work but it doesn't have the correct layout. That's the issue
C0mpu13rFr34k said:
As it is a system apk it does not need to be signed. The borders are because of decompiling and I did recompile again afterwards. Also it does work but it doesn't have the correct layout. That's the issue
Click to expand...
Click to collapse
send me your images that you want for this geniewidget and power control and ill edit and sign it for you and then upload the apk. or if you want, i can create an update.zip like i did for this fellow in the Post Your Home Screen thread. let me know, i'm always happy to help.
opasha said:
send me your images that you want for this geniewidget and power control and ill edit and sign it for you and then upload the apk. or if you want, i can create an update.zip like i did for this fellow in the Post Your Home Screen thread. let me know, i'm always happy to help.
Click to expand...
Click to collapse
I appreciate that but that is not the problem. The problem is that I have themed it (all pngs that needs theming) but it still stays as the matte Power Control Widget. I ask because someone might know if there are some other pngs in some other apks or if I have to edit some XML files or something. I have already created 2 themes so I know how it works (signing, update.zip etc.)
C0mpu13rFr34k said:
I appreciate that but that is not the problem. The problem is that I have themed it (all pngs that needs theming) but it still stays as the matte Power Control Widget. I ask because someone might know if there are some other pngs in some other apks or if I have to edit some XML files or something. I have already created 2 themes so I know how it works (signing, update.zip etc.)
Click to expand...
Click to collapse
hm, assuming you know that power control widget is in the settings.apk and have edited that, my only other suggestion would be to check the framework because i do not know of any other place where they could be. however, from my experience, i find it always best to edit your apk within your theme (the actual .zip) and then sign that whole .zip if you want to avoid any issues. just my two cents for you. if the xml is stock, there should be no issues as to what is governing the correct .9.png. anyway, good luck .
opasha said:
hm, assuming you know that power control widget is in the settings.apk and have edited that, my only other suggestion would be to check the framework because i do not know of any other place where they could be. however, from my experience, i find it always best to edit your apk within your theme (the actual .zip) and then sign that whole .zip if you want to avoid any issues. just my two cents for you. if the xml is stock, there should be no issues as to what is governing the correct .9.png. anyway, good luck .
Click to expand...
Click to collapse
Thanks man! I did not know that (waow that's stupid BTW) that was exactly what I was looking for Will try it and tell you how it works
@opasha
Now that you've helped me once maybe you would know how to make a transparent .9 png (or maybe you could send me one)? I keep getting an alpha error and I really don't know anything about color profiles
C0mpu13rFr34k said:
@opasha
Now that you've helped me once maybe you would know how to make a transparent .9 png (or maybe you could send me one)? I keep getting an alpha error and I really don't know anything about color profiles
Click to expand...
Click to collapse
how transparent and for what png exactly? details bro....details....=P
opasha said:
how transparent and for what png exactly? details bro....details....=P
Click to expand...
Click to collapse
Hehe it's for the Facebook app I took a themed version for some ROM I can't remember but it wasn't fully themed so I themed the rest myself and of course a lot of the 9 pngs was "broken" from the other themer so I need a totally transparent 9 png for the top thing (appwidget_top_white.9.png). Whenever I do it I just get an alpha error. I've attached the Facebook.apk (the original themed version not the one I themed) if you need more details
Thanks in advance I'll be sure to include you in the release notes hehe
C0mpu13rFr34k said:
Hehe it's for the Facebook app I took a themed version for some ROM I can't remember but it wasn't fully themed so I themed the rest myself and of course a lot of the 9 pngs was "broken" from the other themer so I need a totally transparent 9 png for the top thing (appwidget_top_white.9.png). Whenever I do it I just get an alpha error. I've attached the Facebook.apk (the original themed version not the one I themed) if you need more details
Thanks in advance I'll be sure to include you in the release notes hehe
Click to expand...
Click to collapse
ok sure no problem man. ive attached a fully transparent .9.png with that name. if you want to use it for other pngs, just make copies of the one i attached and rename it to whatever name you choose. good luck . it's there but you can't see it since it's totally transparent. to download it, just right click in the left corner or a little towards the middle of the left corner until you get the option to save image.
opasha said:
ok sure no problem man. ive attached a fully transparent .9.png with that name. if you want to use it for other pngs, just make copies of the one i attached and rename it to whatever name you choose. good luck . it's there but you can't see it since it's totally transparent. to download it, just right click in the left corner or a little towards the middle of the left corner until you get the option to save image.
Click to expand...
Click to collapse
Thanks man! You've been very helpful I'm going to release a new version of my theme now
C0mpu13rFr34k said:
Thanks man! You've been very helpful I'm going to release a new version of my theme now
Click to expand...
Click to collapse
no problem dude

[DEVTOOL] Saint's Color Editor v1.1 (changing colors in Android XML files made easy)

Saint's Color Editor v1.1​
I developed this tool to easily edit android colors in decompiled xml files. I'm sharing it here to help other themers because personally I found changing colors in xml files as the most painful part of theming.​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download ColorEditor.zip (v1.1)
Click to expand...
Click to collapse
Change Log
Version 1.1
* Looks up and loads named colors like @color/black from the same xml file and also interprets standard named colors
* Improved error handling​
Click to expand...
Click to collapse
How to install and use?
Pretty simple..
- Unzip ColorEditor.exe anywhere you like and run..
- You must have Microsoft .NET Framework 4 installed on your pc
- Open any android xml file that contains colors
- Click on colors you want to change and choose alternate color from the color dialog that pops up (the app will automatically identify the hex code)
- When you are done, hit File/Save or Saveas..​... as simple as that
Click to expand...
Click to collapse
Remember to thank me if I made your life easy.. Cheers..​
thankz dude..
i'll try ur tool
but i wanna asking before..
does this tool can editing xml file on apk?
i wanna edit an apk file,extract them using winRar > replacing icons > resign (it work),but if i'm editing xml file there,can i used this method?
This looks interesting. I will try it out tomorrow from main desktop.
Great, must have
very nice thanks ^^
hmm weird
it cant open
zz_tw_secondary_text_sub.xml
it says that it doesn contain hex color codes
but it has hex codes in it -_-
ian_ajah said:
thankz dude..
i'll try ur tool
but i wanna asking before..
does this tool can editing xml file on apk?
i wanna edit an apk file,extract them using winRar > replacing icons > resign (it work),but if i'm editing xml file there,can i used this method?
Click to expand...
Click to collapse
xml's in apk's are compiled in binary form.. You can't directly edit them.. You need to first decode the apk using apktool, edit whatever you want and recompile the apk again..
Sent from my GT-I9100 using XDA App
Color editor is primarily meant to edit colors.xml file because it contains many colors in some apk's.. if you open colors.xml in NotePad you will notice that it contains color tags in a certain xml notation.. Color editor can only open files which contain color tags in such notation.. Other files, although it may contain color hex codes do not follow this notation because there are several other attributes that color editor does not decode at the moment.. Not many colors are also found in the other files.. So it would be simple to create a sample file in colors.xml format with the hex codes you want to edit, change them and then replace those hex codes in the original file.. That's what I do.. Or you can just use Paint.NET color window to input the hex code and change them.. Hope you get it?
spacecaker said:
hmm weird
it cant open
zz_tw_secondary_text_sub.xml
it says that it doesn contain hex color codes
but it has hex codes in it -_-
Click to expand...
Click to collapse
Sent from my GT-I9100 using XDA App
can you give an link to paint.NET ?
or is it just preinstalled paint ?
ok will try to look good in it and mess a bit around
Sent from my GT-S5830 using xda premium
spacecaker said:
can you give an link to paint.NET ?
or is it just preinstalled paint ?
ok will try to look good in it and mess a bit around
Search google for paint.net
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Sent from my GT-I9100 using XDA App
PsychicSaint said:
xml's in apk's are compiled in binary form.. You can't directly edit them.. You need to first decode the apk using apktool, edit whatever you want and recompile the apk again..
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
yeah i've decompiled an xml file..but when it opened by ur tool,it say " no colour..bla..bla.."
why?
Thanks a lot for this tool; it's great. One request: could you implement the ability for us to use our own hex codes instead of just using a color picker?
Thanks again!
version problem
dear PsychicSaint
great job
when I try to download the 1.1 version I allways get the 1.0 version.. Is it possible to get the 1.1 version ?
thanks in advance
jergud said:
dear PsychicSaint
great job
when I try to download the 1.1 version I allways get the 1.0 version.. Is it possible to get the 1.1 version ?
thanks in advance
Click to expand...
Click to collapse
No worries, the download is actually 1.1... Just that I have forgotten to update the version in About window..
Thank you for this!
I have yet to "use" it, but I did play around a bit.
Thank you.
Thanks
Just found by accident cool Idea works great.
Thanks
Cool
Howdy. Trying to edit my colors.xml file. I go to open the file and about 30 "Sorry Something Went Wrong" error boxes pop up. I click OK on all of them and then some of the color strings load, but not all of them. I hoping you can tell me what I'm doing wrong. I zipped the file so you can see if it's just me. I know it's this color.xml file because I tested on another color.xml file (the one from touchwiz) and it opened and edited fine.

PlayStore 5.0.31 decompiled and compiled Play Store files from EMSpilot

PlayStore 5.0.31 decompiled and compiled Play Store files from EMSpilot
Now you can decompile mod theme and compile. You must use APKTOOL RC2.
APKTOOL RC2 Get it here: http://forum.xda-developers.com/showthread.php?t=1755243
Enjoy!!
Download Here: PlayStore 5.0.31
Please don't forget to hit thanks!!!!
This fixed Play Store 5.0.31 APK works perfect with APKTOOL RC2 and the proper resources. You do not need to delete anything from values-v21/styles.xml or any other xml. If you are having to do this then you have a problem with your APKTOOL setup or resources!!!
Ok so I see that quit a few people are using the wrong resources aka framework-res.apk. So here is a zip of my entire RC2 setup with the proper framework-res.apk included. Make sure you type at the command prompt: apktool if framework-res.apk. then proceed.
Also make sure you are taking the APK from the dist folder in the zip to decompile.
Download: APKTOOL RC2 Setup
For those of you that are having problems with values-v21/styles.xml. Look for the following lines: There may be more but I am just explaining why you are having problems.
Line 46: <item name="android:findOnPageNextDrawable">@android:drawable/ic_find_next_holo_dark</item>
Line 50: <item name="android:findOnPageNextDrawable">@android:drawable/ic_find_next_holo_dark</item>
Line 159: <item name="android:textEditNewActionPopupShare">@android:drawable/ic_find_next_holo_dark</item>
What we see here is that APKTOOL is looking for the resource in framework-res.apk. All 3 are a drawable png "ic_find_next_holo_dark". If this is not present in the framework-res.apk you used with the "if Command". It won't work.
Please also thank djdarkknight96 for his contribution and help!
Amaign work to take the time to figure out all the issues and how to overcome them and make this available for us simple themers to do something with it..
My hat is tipped off to you sir!
That was fast! Great work EMSpilot. Many, many, are grateful.
@EMSpilot
Awesome tool and great work as usual Bill.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Getting all the same errors as before with values-v21
Phone_Guru said:
Getting all the same errors as before with values-v21
Click to expand...
Click to collapse
No Errors, you need ot use the Apktool RC2, linked in the OP, and this thing has no issue compiling.
Also, make sure you have at least Framework 4.4.2 or above loaded..
I am using RC2, have 4.4.2 frameworks and still compiling errors
Phone_Guru said:
I am using RC2, have 4.4.2 frameworks and still compiling errors
Click to expand...
Click to collapse
Please download OP's Market apk... If you down load that decompile it, and then recompile, should work out the box, many have been working on it all night with no issues.
OP only has the files, not the market app
Phone_Guru said:
OP only has the files, not the market app
Click to expand...
Click to collapse
It's what I meant, you might actually get some help if you post what errors you are seeing, instead of just comingin and saying doesn't work. I have been working on mine for last 8 hours. And You are not giving any real information. i have been trying to..
Your should say what you mean then. I can't decompile those like you said in your previous post. I have downloaded them, obviously, and have the original errors from styles.xml in the values - v21 folder as before the OP posted his files.
Phone_Guru said:
Your should say what you mean then. I can't decompile those like you said in your previous post. I have downloaded them, obviously, and have the original errors from styles.xml in the values - v21 folder as before the OP posted his files.
Click to expand...
Click to collapse
Sir, I have been very patience trying to guide you through and help you.. Sorry you dont feel I was helpful except to point out I should have asked.
I help tons fix their problems and theme. But I missed my mark on this one, happens, so I will let someone else try to figureout what you need and help you sir..
I respectfully bow out kind sir.
Gunthermic said:
Sir, I have been very patience trying to guide you through and help you.. Sorry you dont feel I was helpful except to point out I should have asked.
I help tons fix their problems and theme. But I missed my mark on this one, happens, so I will let someone else try to figureout what you need and help you sir..
I respectfully bow out kind sir.
Click to expand...
Click to collapse
Just in time too. I just sorted it out. I reinstalled the frameworks that I was using already which left me with only 4 lines to delete from the styles.xml in the values-v21 folder and then it compiled.
Thanks for helping.
PlayStore 5.0.31
Phone_Guru said:
Just in time too. I just sorted it out. I reinstalled the frameworks that I was using already which left me with only 4 lines to delete from the styles.xml in the values-v21 folder and then it compiled.
Thanks for helping.
Click to expand...
Click to collapse
Glad you were able to work your problems out. If you use the proper APKTOOL RC2 setup and resources you do not need to modify or delete any lines in any xml files. This fixed Play Store 5.0.31 APK in this OP works Perfect as is.
Awesome, thanks buddy.
EMSpilot said:
PlayStore 5.0.31 decompiled and compiled Play Store files from EMSpilot
Now you can decompile mod theme and compile. You must use APKTOOL RC2.
APKTOOL RC2 Get it here: http://forum.xda-developers.com/showthread.php?t=1755243
Enjoy!!
Download Here: PlayStore 5.0.31
Please don't forget to hit thanks!!!!
This fixed Play Store 5.0.31 APK works perfect with APKTOOL RC2 and the proper resources. You do not need to delete anything from values-v21/styles.xml or any other xml. If you are having to do this then you have a problem with your APKTOOL setup or resources!!!
Please also thank djdarkknight96 for his contribution and help!
Click to expand...
Click to collapse
bless your heart
@EMSpilot, would you mind sharing the specifics of what you did to achieve this? did you modify apktool source?
APKTOOL source
dankoman said:
@EMSpilot, would you mind sharing the specifics of what you did to achieve this? did you modify apktool source?
Click to expand...
Click to collapse
No I did not modify APKTOOL source. I used APKTOOL RC2 as mentioned in the OP. If you decompile my PlayStore 5.0.31 and Google's stock PlayStore 5.0.31 you can use WinMerge or Beyond Compare to see my changes.
EMSpilot said:
No I did not modify APKTOOL source. I used APKTOOL RC2 as mentioned in the OP. If you decompile my PlayStore 5.0.31 and Google's stock PlayStore 5.0.31 you can use WinMerge or Beyond Compare to see my changes.
Click to expand...
Click to collapse
Well I'm using CM11 framework and the correct aapt and on building its giving me attr errors in v21 folder. I know I'm doing it right but might need a different framework I assume.
Thoughts?
resourcers
djdarkknight96 said:
Well I'm using CM11 framework and the correct aapt and on building its giving me attr errors in v21 folder. I know I'm doing it right but might need a different framework I assume.
Thoughts?
Click to expand...
Click to collapse
Yes it will only work with the proper resources aka framework-res.apk. Here is a link to my entire RC2 Setup with the proper framework-res.apk.
APKTOOL RC2 Setup

APKTOOL scripts for Windows (updated)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So, I figured I would share something that I made along with the help of another developer friend @dwitherell
You must have apktool setup in the Windows path to run from anywhere
How it works:
unzip files
copy the scripts folder to the root of c:\
double click compile.reg and decompile.reg, this will add the entries to the registry
You can decompile and compile up to 10 at once. Not sure why its limited to 10.
This is tested working on Windows 10. Please let me know if it works for other versions as I will add that to the description.
Please do NOT ask how to setup apktool, you need to already know that much.
whats included in the zip...
compile.reg
decompile.reg
Maximum level of decompiling raised (V2)
scripts folder containing both .bat files
Download it here
Download V2 with raised level of decompiling here
Now to use it:
On an apk, right click and you will see a new option called Decompile. Select that, then it will decompile it in the folder you currently are
On an already decompiled apk folder, right click and Compile option will appear. Select that and it will compile the apk
Maxed_Apktool.reg
Code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"MultipleInvokePromptMinimum"=dword:00000999
thanks @Licaon_Kter for the addition.
decompile.reg
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Run script]
@="Run &script"
[HKEY_CLASSES_ROOT\*\shell\Decompile\command]
@="\"C:\\scripts\\decompile2.bat\" \"%1\""
decompile2.bat
Code:
@echo off
set args=%*
setlocal enableDelayedExpansion
set "cmd=!cmdcmdline!"
set "cmd2=!cmd:*%~f0=!"
set "args=!cmd2:~0,-1! "
set "args=!args:* =!"
for %%F in (!args!) do (
if "!!"=="" endlocal
apktool.bat d -f "%%~F"
)
PAUSE
compile.reg
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Run script]
@="Run &script"
[HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\Compile\command]
@="\"C:\\scripts\\compile.bat\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell\Compile\command]
@="\"C:\\scripts\\compile.bat\" \"%1\""
compile.bat
Code:
@echo off
set args=%*
setlocal enableDelayedExpansion
set "cmd=!cmdcmdline!"
set "cmd2=!cmd:*%~f0=!"
set "args=!cmd2:~0,-1! "
set "args=!args:* =!"
for %%F in (!args!) do (
if "!!"=="" endlocal
apktool.bat b -f "%%~F"
)
PAUSE
Awesome I'll have to try this later ?
Great thank you!
Amazing work! Can I recompile an apk which hasnt been decompiled with this method? I've the folder so I can recompile?
I got it set up and running last night, works great! Makes things easier and faster. Just make sure you have apktool up and running correctly first.
DOWNLOADING for further test.. i'll report back later
thanks..
Has.007 said:
Amazing work! Can I recompile an apk which hasnt been decompiled with this method? I've the folder so I can recompile?
Click to expand...
Click to collapse
No, it has to be decompiled to recompile it again.
What is the newest version of APKtool? I found 2.2.2 on the site, but it seems to have issues with the Nougat files for my LG V20.
I've used it on Windows 10 and Ubuntu, same results.
NotATreoFan said:
What is the newest version of APKtool? I found 2.2.2 on the site, but it seems to have issues with the Nougat files for my LG V20.
I've used it on Windows 10 and Ubuntu, same results.
Click to expand...
Click to collapse
https://www.dropbox.com/s/rtv489v0gkfp0y9/apktool2.zip?dl=0
Try that one. It says dirty, but that hasn't affected anything. I got that from somewhere when the v20 first came out.
And its what i am using for my v20 work. So i know that one will work.
cbucz24 said:
https://www.dropbox.com/s/rtv489v0gkfp0y9/apktool2.zip?dl=0
Try that one. It says dirty, but that hasn't affected anything. I got that from somewhere when the v20 first came out.
And its what i am using for my v20 work. So i know that one will work.
Click to expand...
Click to collapse
Thanks! Have you done anything with SystemUI? I ran into issues after modifying it for 3Minit support.
NotATreoFan said:
Thanks! Have you done anything with SystemUI? I ran into issues after modifying it for 3Minit support.
Click to expand...
Click to collapse
I haven't rooted. I ran into some issues so i gave up.
I havent tried any mods.
cbucz24 said:
I haven't rooted. I ran into some issues so i gave up.
I havent tried any mods.
Click to expand...
Click to collapse
Oh OK. I'll give yours a shot and see if it works.
NotATreoFan said:
Oh OK. I'll give yours a shot and see if it works.
Click to expand...
Click to collapse
Ok let me know if you have any issues. I'll try an help
cbucz24 said:
[*]You can decompile and compile up to 10 at once. Not sure why its limited to 10.
Click to expand...
Click to collapse
Try this: https://support.microsoft.com/en-us...hortened-when-more-than-15-files-are-selected and put 999
Licaon_Kter said:
Try this: https://support.microsoft.com/en-us...hortened-when-more-than-15-files-are-selected and put 999
Click to expand...
Click to collapse
Good find. Ill try that and see what happens.
According to the link it should be 15 not 10. I'm not at my pc now to test it.
But it says if you change it to 16, that's Microsoft's unlimited amount.
Maybe i can incorporate that into my registry mods.
Hi all, if this can decompile and re compile, can i change or modify a camera app to support 1440x2560 for lg g3 ? It currently only display well in 1080x1920, so i have to downgrade my display setting. Can someone be kind enough to direct me to which files or folder to begin with and do i have to create or modify some xml code ? Thanks
Jason Looi said:
Hi all, if this can decompile and re compile, can i change or modify a camera app to support 1440x2560 for lg g3 ? It currently only display well in 1080x1920, so i have to downgrade my display setting. Can someone be kind enough to direct me to which files or folder to begin with and do i have to create or modify some xml code ? Thanks
Click to expand...
Click to collapse
You're going to have to search for some camera mods. This can decompile the apk sure. But I've never edited the camera.
Thanks, nice tool.
cbucz24 said:
You're going to have to search for some camera mods. This can decompile the apk sure. But I've never edited the camera.
Click to expand...
Click to collapse
thanks man appreciated it..
cbucz24 said:
Ok let me know if you have any issues. I'll try an help
Click to expand...
Click to collapse
Would you mind taking a look at these decompiled SystemUI APKs? I can compile the US_LG one fine, and also the TMO one. But the ATT one tells me there's missing resources, but all the edits made and files added are identical.

Categories

Resources