I need help, decompile and compile successfully framework-res x10 mini - Sony Ericsson XPERIA X10 Mini

Hi everyone!
I'm doing a theme for x10 mini, but I need to decompile and compile framework-res.apk to change the colors of the buttons.
My problem is I can not compile the framework correctly. I used APK manager 4.9 and APKtool but I can not.
I'm editing the file here: framework-res.apk -- res -- values -- styles-xml
ORIGINAL
{
"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"
}
by replacing
This code changes the text color on buttons, from Black to White.
Someone who can help me please! I can not compile successfully! =(

Related

why i can't recompile string code?

i decode Phonebook.apk (neov v4.0.3) ,i want translat some word in it
but i not modify every thing in it still can't recompile back,
it like my screen shot it only decode then build it back i not do every thing it still error
why like this?
pls help me all user
thanks
{
"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 read somewhere you can't recompile it
But since I never tryed I may be wrong
I can't view your imgs coz I'm on app
I'm assuming u already
just decompile and recompile with no changes and you have ICS apktool
Edit c/apktool-ics OK
No resources found did you
Install correct framework-res
Sent from my Xperia Neo using xda premium

How to change Status Bar items color

hey
There is my simple and easy guide for changing status bar icon colors.i.e time and notifications.
You have to follow my guide for compiling decompiling apks.
After that from project folder, just edit following files with notepad++.
C:\............\Apk_Manager_5.0.2\projects\SystemUI.apk\res\values\styles.xml
Open this file with notepad++
Change argb color code with one you want,i.e for ics blue,code is #ff33b5e5...
{
"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"
}
change all argb code to this one #ff33b5e5.
save and recompile and you are done.
Hit thanx if you like.
will it work just like dat or needs other editing?
works brov... thanks a bunch!

[Q] [SystemUI] Remove header in notif area

Hello,
I have the date in status bar and work fine (see bellow). Done by edited my systemui.apk by my self (decompile, edited, recompile…). Now, also in modify systemui, I want to remove header in notification area (pink cercle in screenshot bellow). With resize or delete the header. I need to know what values to modify in systemui.
{
"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"
}
Thanks in advance.
My system : AOKP Android 4.0
OK, I found my self a solution. I made a small guide : http://forum.xda-developers.com/showthread.php?t=2591118

Where is this system graphic stored?

I am using Resflux on the Xposed Framework to theme my phone. I can't seem to find the 'notification drawer pulldown handle' graphic (as indicated in the attached image with the multitude of red arrows) in either systemui.apk or framework-res.apk. I would like to modify this file but can't seem to find it anywhere. I am aware that it may not be an image file. I apologize for being a noob. Any help appreciated. Thanks.
{
"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"
}
bUMp
Those are a couple of images in the system UI. They are named status bar closed.9 if I renewed right
OK thanks. I'll check that out.

[Q] Using Apktool to modify SecSettings.apk

Hey there,
I am trying to edit some icons and strings inside the SecSettings.apk on my Galaxy Note 9, decompiling seems to have no issues but compiling is a whole different story.
Even decompiling and recompiling without editing any files I get the same errors.
Here's some screens of what I am seeing when I recompile:
{
"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"
}
Any help would be greatly appreciated, thanks in advance!
Also, this is the only apk so far that I am having these issues with, I have messed around with numerous different apps without any issues.
So I pulled the framework from the rom I have installed and installed it via apktool, no more errors, but it is stuck on "Building Apk".

Categories

Resources