[Q] Using Apktool to modify SecSettings.apk - Android Q&A, Help & Troubleshooting

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".

Related

I need help, decompile and compile successfully framework-res 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! =(

apk compilier

does any please have a working apktool where i can actually compile and apk, i always get a brut error in any apk i try to compile
oh btw this if for jelly bean, i download the apktool + jar and correct aapt.exe also and even updated SDK to 20 and downloaded the 4.1 filed in sdk manager, what am i missing.
{
"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"
}
Yeah, I get the same thing. I tried decompiling and recompiling an apk without making any modifications and it still gave me the same error even after importing the framework.
Sent from my Samsung Galaxy Note I717 using xda app-developers app

[Q] Errors compiling MiuiSystemUi

I installed android SDK and the apis
I use APK Tool
Galaxy Nexus on MIUI 3.7.12
I was trying to enable carrier logo
When decompiling, i install the 2 frameworks (framework-res.apk and framework-miui-res.apk)
But i still getting 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"
}
I'm tired of asking everywhere, facebook groups, deviantart, en.miui, everywhere!
I followed the steps from this commentary http://rezarivani.deviantart.com/art/Phoenix-387110569
Help please!!!!!!!
install all apks that are inside framework folder of ur miui
apktool if appname.apk
Sent from my S500 using xda app-developers app

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.

Something STRANGE in AsusZenUIServices.apk

I'm using PadFone S with firmware version:
Code:
KOT49H.TW_PadFone-11.10.7.17-20150309 044000247_201404290025
. Recently I'm working on how to change navigation bar size, I have edited dimens.xml in framework-res.apk, but it didn't work. Then I think maybe there's something to do with ZenUI, so I pulled it from /system/priv-app and used apktool to decompile it, then I saw something strange inside there. There are two apk named
Code:
baidu-api-sdk-android.apk
baidu-api-sdk-android.unaligned.apk
Here's the screenshot that I opened the AsusZenUIServices.apk directly:
{
"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 have tried to install them and they're names are:
Code:
com.baidu.android
I know Baidu, it's a China corporation, but why are they here?
Are Asus sending our personal data to Baidu?
Is there anyone know something about this?

Categories

Resources