Unable to build a working modded framework-res.apk - Android Q&A, Help & Troubleshooting

Hi guys. So i decided to mod the oxygen os framework-res.apk of oneplus3t to add pixel blue color. But after building and copying it to the phone it causes a bootloop. Can anyone point out what am i doing wrong or missing.
C:\Users\ANUSHEK\Downloads\New folder>apktool if framework-res.apk
I: Framework installed to: C:\Users\ANUSHEK\AppData\Local\apktool\framework\1.apk
C:\Users\ANUSHEK\Downloads\New folder>apktool if oneplus-framework-res.apk
I: Framework installed to: C:\Users\ANUSHEK\AppData\Local\apktool\framework\5.apk
C:\Users\ANUSHEK\Downloads\New folder>apktool d framework-res.apk
I: Using Apktool 2.2.3 on framework-res.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
C:\Users\ANUSHEK\Downloads\New folder>apktool b framework-res
I: Using Apktool 2.2.3
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
W: warning: string 'BIND_OEMEX_SERVICE' has no default translation.
W: warning: string 'adb_active_generic_notification_message' has no default translation.
W: warning: string 'adb_both_active_notification_title' has no default translation.
W: warning: string 'adb_net_active_notification_title' has no default translation.
W: warning: string 'color_picker_blue_label' has no default translation.
W: warning: string 'color_picker_champagne_label' has no default translation.
W: warning: string 'color_picker_default' has no default translation.
W: warning: string 'color_picker_flamingo_label' has no default translation.
W: warning: string 'color_picker_gray_label' has no default translation.
W: warning: string 'color_picker_green_label' has no default translation.
W: warning: string 'color_picker_message_default' has no default translation.
W: warning: string 'color_picker_orange_label' has no default translation.
W: warning: string 'color_picker_pear_label' has no default translation.
W: warning: string 'color_picker_pink_label' has no default translation.
W: warning: string 'color_picker_purple_label' has no default translation.
W: warning: string 'color_picker_red_label' has no default translation.
W: warning: string 'color_picker_turquoise_label' has no default translation.
W: warning: string 'color_picker_unknown_label' has no default translation.
W: warning: string 'color_picker_yellow_label' has no default translation.
W: warning: string 'ext_media_ready_notification_title' has no default translation.
W: warning: string 'global_action_screenshot' has no default translation.
W: warning: string 'high_definition_tag' has no default translation.
W: warning: string 'install_fail_oplib_not_satisfied' has no default translation.
W: warning: string 'kg_fingerprint_verification_failed' has no default translation.
W: warning: string 'lock_to_app_description_hardware' has no default translation.
W: warning: string 'lock_to_app_toast_hardware' has no default translation.
W: warning: string 'op_applying' has no default translation.
W: warning: string 'oxygen_system_label' has no default translation.
W: warning: string 'permdesc_modifyWavesSettings' has no default translation.
W: warning: string 'permdesc_setKeyguardWallpaper' has no default translation.
W: warning: string 'permdesc_switchMaterialTheme' has no default translation.
W: warning: string 'permlab_modifyWavesSettings' has no default translation.
W: warning: string 'permlab_setKeyguardWallpaper' has no default translation.
W: warning: string 'permlab_switchMaterialTheme' has no default translation.
W: warning: string 'power_intensive_notificaton_string' has no default translation.
W: warning: string 'reboot' has no default translation.
W: warning: string 'reboot_bootloader' has no default translation.
W: warning: string 'reboot_progress' has no default translation.
W: warning: string 'reboot_recovery' has no default translation.
W: warning: string 'wfcSpnFormat' has no default translation.
W: warning: string 'zzz_op_global_action_confirm_poweroff' has no default translation.
W: warning: string 'zzz_op_global_action_confirm_reboot' has no default translation.
I: Building apk file...
I: Copying unknown files/dir...
C:\Users\ANUSHEK\Downloads\New folder>cd C:\Users\ANUSHEK\Downloads\SignApk
C:\Users\ANUSHEK\Downloads\SignApk>java -jar signapk.jar certificate.pem key.pk8 framework-res.apk framework-res-signed.apk
C:\Users\ANUSHEK\Downloads\SignApk>java -jar signapk.jar certificate.pem key.pk8 framework-res.apk framework-res-signed.apk

SKULSHADY said:
Hi guys. So i decided to mod the oxygen os framework-res.apk of oneplus3t to add pixel blue color. But after building and copying it to the phone it causes a bootloop. Can anyone point out what am i doing wrong or missing.
C:\Users\ANUSHEK\Downloads\New folder>apktool if framework-res.apk
I: Framework installed to: C:\Users\ANUSHEK\AppData\Local\apktool\framework\1.apk
C:\Users\ANUSHEK\Downloads\New folder>apktool if oneplus-framework-res.apk
I: Framework installed to: C:\Users\ANUSHEK\AppData\Local\apktool\framework\5.apk
C:\Users\ANUSHEK\Downloads\New folder>apktool d framework-res.apk
I: Using Apktool 2.2.3 on framework-res.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
C:\Users\ANUSHEK\Downloads\New folder>apktool b framework-res
I: Using Apktool 2.2.3
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
W: warning: string 'BIND_OEMEX_SERVICE' has no default translation.
W: warning: string 'adb_active_generic_notification_message' has no default translation.
W: warning: string 'adb_both_active_notification_title' has no default translation.
W: warning: string 'adb_net_active_notification_title' has no default translation.
W: warning: string 'color_picker_blue_label' has no default translation.
W: warning: string 'color_picker_champagne_label' has no default translation.
W: warning: string 'color_picker_default' has no default translation.
W: warning: string 'color_picker_flamingo_label' has no default translation.
W: warning: string 'color_picker_gray_label' has no default translation.
W: warning: string 'color_picker_green_label' has no default translation.
W: warning: string 'color_picker_message_default' has no default translation.
W: warning: string 'color_picker_orange_label' has no default translation.
W: warning: string 'color_picker_pear_label' has no default translation.
W: warning: string 'color_picker_pink_label' has no default translation.
W: warning: string 'color_picker_purple_label' has no default translation.
W: warning: string 'color_picker_red_label' has no default translation.
W: warning: string 'color_picker_turquoise_label' has no default translation.
W: warning: string 'color_picker_unknown_label' has no default translation.
W: warning: string 'color_picker_yellow_label' has no default translation.
W: warning: string 'ext_media_ready_notification_title' has no default translation.
W: warning: string 'global_action_screenshot' has no default translation.
W: warning: string 'high_definition_tag' has no default translation.
W: warning: string 'install_fail_oplib_not_satisfied' has no default translation.
W: warning: string 'kg_fingerprint_verification_failed' has no default translation.
W: warning: string 'lock_to_app_description_hardware' has no default translation.
W: warning: string 'lock_to_app_toast_hardware' has no default translation.
W: warning: string 'op_applying' has no default translation.
W: warning: string 'oxygen_system_label' has no default translation.
W: warning: string 'permdesc_modifyWavesSettings' has no default translation.
W: warning: string 'permdesc_setKeyguardWallpaper' has no default translation.
W: warning: string 'permdesc_switchMaterialTheme' has no default translation.
W: warning: string 'permlab_modifyWavesSettings' has no default translation.
W: warning: string 'permlab_setKeyguardWallpaper' has no default translation.
W: warning: string 'permlab_switchMaterialTheme' has no default translation.
W: warning: string 'power_intensive_notificaton_string' has no default translation.
W: warning: string 'reboot' has no default translation.
W: warning: string 'reboot_bootloader' has no default translation.
W: warning: string 'reboot_progress' has no default translation.
W: warning: string 'reboot_recovery' has no default translation.
W: warning: string 'wfcSpnFormat' has no default translation.
W: warning: string 'zzz_op_global_action_confirm_poweroff' has no default translation.
W: warning: string 'zzz_op_global_action_confirm_reboot' has no default translation.
I: Building apk file...
I: Copying unknown files/dir...
C:\Users\ANUSHEK\Downloads\New folder>cd C:\Users\ANUSHEK\Downloads\SignApk
C:\Users\ANUSHEK\Downloads\SignApk>java -jar signapk.jar certificate.pem key.pk8 framework-res.apk framework-res-signed.apk
C:\Users\ANUSHEK\Downloads\SignApk>java -jar signapk.jar certificate.pem key.pk8 framework-res.apk framework-res-signed.apk
Click to expand...
Click to collapse
You can't resign it. You have to copy the original meta folder and androidmanifest.xml into the apk file. I use winrar and I have it set up to open apks by default, so all I have to do is open the apk and add the two files from the originals folder. You could also rename .apk to .zip and extract it, then copy the files from the originals folder and then rezip it and rename it back to .apk if you use 7zip. This also means that modifying the androidmanifest.xml is out of the question.
Sent from my SM-T210 using Tapatalk

RealWelder said:
You can't resign it. You have to copy the original meta folder and androidmanifest.xml into the apk file. I use winrar and I have it set up to open apks by default, so all I have to do is open the apk and add the two files from the originals folder. You could also rename .apk to .zip and extract it, then copy the files from the originals folder and then rezip it and rename it back to .apk if you use 7zip. This also means that modifying the androidmanifest.xml is out of the question.
Sent from my SM-T210 using Tapatalk
Click to expand...
Click to collapse
I fixed it by using -c in the build command

Related

Need help how to decompile/compile ICS Framework-res.apk

I need some help
I try in different way to decompile and recompile framework-res.apk for change some xml file in the apk.
I have no luck.
In some case i have a plural error in compiling.
The decompile seem go OK but I have some error in compiling.
If i try to decompile with apktool 1.4.2, the decompiling go ok but in compiling (same with 1.4.2) with 1.4.3 version I have this error
Code:
[*] "C:\Users\Admin\Desktop\ROM ICS\AutoAPKTool2.0.0\_INPUT_APK\framework-res"
recompiling "C:\Users\Admin\Desktop\ROM ICS\AutoAPKTool2.0.0\_INPUT_APK\framework-res"...
W: Could not find sources
I: Building resources...
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\Users\Admin\Desktop\ROM ICS\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\Users\Admin\Desktop\ROM ICS\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no default translation in C:\Users\Admin\Desktop\ROM ICS\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\Users\Admin\Desktop\ROM ICS\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in C:\Users\Admin\Desktop\ROM ICS\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res; found: en_GB es pt
I: Building apk file...
The APK was creater but I think It doesn't work.
Anyone can give me a great solution for change XML in value and ricompile a WORKING framework-res.apk?
I try all the methods.
Thanks
www1 said:
I need some help
I try in different way to decompile and recompile framework-res.apk for change some xml file in the apk.
I have no luck.
In some case i have a plural error in compiling.
The decompile seem go OK but I have some error in compiling.
If i try to decompile with apktool 1.4.2, the decompiling go ok but in compiling (same with 1.4.2) with 1.4.3 version I have this error
Code:
[*] "C:\Users\Admin\Desktop\ROM ICS\AutoAPKTool2.0.0\_INPUT_APK\framework-res"
recompiling "C:\Users\Admin\Desktop\ROM ICS\AutoAPKTool2.0.0\_INPUT_APK\framework-res"...
W: Could not find sources
I: Building resources...
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\Users\Admin\Desktop\ROM ICS\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\Users\Admin\Desktop\ROM ICS\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no default translation in C:\Users\Admin\Desktop\ROM ICS\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\Users\Admin\Desktop\ROM ICS\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in C:\Users\Admin\Desktop\ROM ICS\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res; found: en_GB es pt
I: Building apk file...
The APK was creater but I think It doesn't work.
Anyone can give me a great solution for change XML in value and ricompile a WORKING framework-res.apk?
I try all the methods.
Thanks
Click to expand...
Click to collapse
I think the only issue you may get with plural is "matches_found" item, it should be fixed like this :
replace :
Code:
<item quantity="other">%d of %d</item>
by this :
Code:
<item quantity="other">%1$d of %2$d</item>

[HOW TO] Decompile and recompile SystemUI.apk JB 4.2.2

This tutorial i'll show you how to decompile and recompile systemui.apk windows only.
Why i made this, because i try to decompile systemui.apk and recompile it but it always failed when i recompile.
The problem when recompile is devide into 2 categories:
1. Style
2. No default translation
{
"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 dont know its is only mega systemui or all other devices too, but all device with 4.2.2 JB have almost same problem,
What tools do we need for this:
1. APKTool compatible with 4.2.2
2. AAPT
3. Zipalign
*) I already upload number 1-3 on the attatchment below
4. 7zip
5. Notepad++
Lets go to the tutorial:
1. Extract all tool (1-3) that we've dowload below and put all 4 files in c:\WINDOWS
2. Make folder in C:\ directory, in this tutorial i use APK TOOL
3. Put framework-res.apk and systemui.apk in this folder
4. Make another folder inside the APK TOOL called backup, and put another copy of systemui.apk there
5. Open CMD
6. CD the folder that you made, ex: cd apk tool
7. Than we start decompile by
PHP:
apktool if framework-res.apk
apktool if systemui.apk
apktool d systemui.apk
8. When its done we'll have a folder called systemui, we can make any change there
After you make a change on your SystemUI.apk its time to recompile back..
9. Now if we proceed to compile the apk and it will make 2 error that i already mention above, but its okay we need to know where the error come from
PHP:
apktool b systemui almostdone.apk
After that command a lot of error will show up in your cmd window. Lets fix it one by one.
Find the first problem:
C:\APK Tool\systemui\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarNotificationText').
Its mean the first problem is style in C:\APK Tool\systemui\res\layout\system_bar_notification_panel_title.xml, and the error in line 14
Now open the xml file with notepad++ and find line 14, please add + in front of @style/SystemBarNotificationText.
Old: @style/SystemBarNotificationText
New: @style/SystemBarNotificationText
And continue another style problem with same treat as above
After all style finish please try recompile again to know if all the style problem already gone
PHP:
apktool b systemui almostdone.apk
If there is no style error again proceed to 2nd problem
2nd Problem
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:
\APK Tool\systemui\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in
C:\APK Tool\systemui\res; found: mk
For no translation problem:
1. Open your systemui decompile folder and go to build/apk and delete androidmanifest.xml there
2. Open as archive your systemui.apk from backup folder above
3. Copy folder META-INF and AndroidManifest.xml
4. Paste both in build/apk
5. Done
When you try to recompile again
PHP:
apktool b systemui almostdone.apk
everything should ok now and almostdone.apk already created in your folder.
10. Open as archive almostdone.apk and original systemui.apk from backup folder side by side with 7zip
11. Delete META-INF and AndroidManifest.xml from almostdone.apk and replace it with META-INF and AndroidManifest.xml from original SystemUI.apk
12. Close the 7zip folder and open cmd again and now put command
PHP:
zipalign -v 4 almostdone.apk done.apk
13. Now the done.apk is already created, copy to your phone and rename it with SystemUI.apk
14. Put in /System/App and it should work.
Credit to:
 @powerpoint45 for the amazing thread about compilation systemui.apk original thread
 @devabhishek for the tips in no translation original post
Hope this help guys, please press thanks below if this information is useful for you
Happy theming guys..
Thanks for credits
Sent from my Amazon Kindle Fire2 using Tapatalk 2
how about framework-res.apk? is it same?
Awesome Bro ,,, I was really need this Thanks and made a thread for framework-res.apk also ... Thanks
plz help me i am not able to decompile it (systemui.apk)
C:\Users\Aman Kumar\Desktop\New folder>apktool if framework-res.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-nodpi-v8-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-v8-ERR1
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-hdpi-v8-ERR2
I: Framework installed to: C:\Users\Aman Kumar\apktool\framework\1.apk
C:\Users\Aman Kumar\Desktop\New folder>apktool if systemui.apk
I: Framework installed to: C:\Users\Aman Kumar\apktool\framework\127.apk
C:\Users\Aman Kumar\Desktop\New folder>apktool d systemui.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Aman Kumar\apktool\framework\1.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-nodpi-v8-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-v8-ERR1
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-hdpi-v8-ERR2
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080956
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080b03
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080754
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c4
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080b03
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080b04
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x010406a3
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:62)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValueExt(Re
sScalarValue.java:86)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValue(ResSc
alarValue.java:55)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlItemValue(R
esScalarValue.java:48)
at brut.androlib.res.data.value.ResArrayValue.serializeToResValuesXml(Re
sArrayValue.java:61)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResour
ces.java:440)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:243
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
C:\Users\Aman Kumar\Desktop\New folder>
Screenshot?
Can you post a screenshot showing what can be done with this?
Thanks Sir
Thank You sir for this guide :good:
problem solved
Born to be a coder said:
C:\Users\Aman Kumar\Desktop\New folder>apktool if framework-res.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-nodpi-v8-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-v8-ERR1
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-hdpi-v8-ERR2
I: Framework installed to: C:\Users\Aman Kumar\apktool\framework\1.apk
C:\Users\Aman Kumar\Desktop\New folder>apktool if systemui.apk
I: Framework installed to: C:\Users\Aman Kumar\apktool\framework\127.apk
C:\Users\Aman Kumar\Desktop\New folder>apktool d systemui.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Aman Kumar\apktool\framework\1.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-nodpi-v8-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-v8-ERR1
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-hdpi-v8-ERR2
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080956
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080b03
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080754
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c4
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080b03
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080b04
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x010406a3
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:62)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValueExt(Re
sScalarValue.java:86)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValue(ResSc
alarValue.java:55)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlItemValue(R
esScalarValue.java:48)
at brut.androlib.res.data.value.ResArrayValue.serializeToResValuesXml(Re
sArrayValue.java:61)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResour
ces.java:440)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:243
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
C:\Users\Aman Kumar\Desktop\New folder>
Click to expand...
Click to collapse
This was happening to me bcz i was not having java jdk
you are super man!
Thanx A Lot Bro
jusho said:
This tutorial i'll show you how to decompile and recompile systemui.apk windows only.
Why i made this, because i try to decompile systemui.apk and recompile it but it always failed when i recompile.
The problem when recompile is devide into 2 categories:
1. Style
2. No default translation
I dont know its is only mega systemui or all other devices too, but all device with 4.2.2 JB have almost same problem,
What tools do we need for this:
1. APKTool compatible with 4.2.2
2. AAPT
3. Zipalign
*) I already upload number 1-3 on the attatchment below
4. 7zip
5. Notepad++
Lets go to the tutorial:
1. Extract all tool (1-3) that we've dowload below and put all 4 files in c:\WINDOWS
2. Make folder in C:\ directory, in this tutorial i use APK TOOL
3. Put framework-res.apk and systemui.apk in this folder
4. Make another folder inside the APK TOOL called backup, and put another copy of systemui.apk there
5. Open CMD
6. CD the folder that you made, ex: cd apk tool
7. Than we start decompile by
PHP:
apktool if framework-res.apk
apktool if systemui.apk
apktool d systemui.apk
8. When its done we'll have a folder called systemui, we can make any change there
After you make a change on your SystemUI.apk its time to recompile back..
9. Now if we proceed to compile the apk and it will make 2 error that i already mention above, but its okay we need to know where the error come from
PHP:
apktool b systemui almostdone.apk
After that command a lot of error will show up in your cmd window. Lets fix it one by one.
Find the first problem:
C:\APK Tool\systemui\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarNotificationText').
Its mean the first problem is style in C:\APK Tool\systemui\res\layout\system_bar_notification_panel_title.xml, and the error in line 14
Now open the xml file with notepad++ and find line 14, please add + in front of @style/SystemBarNotificationText.
Old: @style/SystemBarNotificationText
New: @style/SystemBarNotificationText
And continue another style problem with same treat as above
After all style finish please try recompile again to know if all the style problem already gone
PHP:
apktool b systemui almostdone.apk
If there is no style error again proceed to 2nd problem
2nd Problem
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:
\APK Tool\systemui\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in
C:\APK Tool\systemui\res; found: mk
For no translation problem:
1. Open your systemui decompile folder and go to build/apk and delete androidmanifest.xml there
2. Open as archive your systemui.apk from backup folder above
3. Copy folder META-INF and AndroidManifest.xml
4. Paste both in build/apk
5. Done
When you try to recompile again
PHP:
apktool b systemui almostdone.apk
everything should ok now and almostdone.apk already created in your folder.
10. Open as archive almostdone.apk and original systemui.apk from backup folder side by side with 7zip
11. Delete META-INF and AndroidManifest.xml from almostdone.apk and replace it with META-INF and AndroidManifest.xml from original SystemUI.apk
12. Close the 7zip folder and open cmd again and now put command
PHP:
zipalign -v 4 almostdone.apk done.apk
13. Now the done.apk is already created, copy to your phone and rename it with SystemUI.apk
14. Put in /System/App and it should work.
Credit to:
@powerpoint45 for the amazing thread about compilation systemui.apk original thread
@devabhishek for the tips in no translation original post
Hope this help guys, please press thanks below if this information is useful for you
Happy theming guys..
Click to expand...
Click to collapse
you saved my time and gives me my i idea back to creating new rom thanx a lot bro...it worked perfectly for me....and now im going to continue my work in creating a new rom thanx a lot definitely will put credits when i post my rom thanx again
I suggest apk multi tool
---------- Post added at 05:41 PM ---------- Previous post was at 05:32 PM ----------
is better
Hi,
I know this thread is quite old but I just stumbled over the exact same problem. Unfortunately there is some point in the wonderful explanation that I do not fully understand. Maybe I am dumb...maybe...
You are suggesting the following:
Its mean the first problem is style in C:\APK Tool\systemui\res\layout\system_bar_notification_p anel_title.xml, and the error in line 14
Now open the xml file with notepad++ and find line 14, please add + in front of @style/SystemBarNotificationText.
Old: @style/SystemBarNotificationText
New: @style/SystemBarNotificationText
And continue another style problem with same treat as above
Click to expand...
Click to collapse
Well what exactly has to be added?
"Old:..." and "New:..." are the same?!
I am a little bit confused since there obviously isn't anything added to the "new" line.
Please help me!
Thanks in advance
deomaki

problem with Recompiling Settings.apk

hi everyone
I want to decompile the Settings.apk of the Lenovo A3300-GV with 4.4.2 Android version
My Steps :
1. i install the framework-res.apk
2. i decompile the Settings.apk
after Recompile comes the Error: (without any change)
Code:
C:\Users\Afshinpc\Desktop\apktool>apktool b settings
I: Using Apktool 2.0.0-RC2 on settings
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
warning: string 'AGPS_CAUSE_BAD_PUSH_CONTENT' has no default translation.
warning: string 'AGPS_CAUSE_NETWORK_CREATE_FAIL' has no default translation.
warning: string 'AGPS_CAUSE_NETWORK_DISCONN' has no default translation.
warning: string 'AGPS_CAUSE_NOT_SUPPORTED' has no default translation.
warning: string 'AGPS_CAUSE_NO_POSITION' has no default translation.
warning: string 'AGPS_CAUSE_NO_RESOURCE' has no default translation.
warning: string 'AGPS_CAUSE_REMOTE_ABORT' has no default translation.
warning: string 'AGPS_CAUSE_REMOTE_MSG_ERROR' has no default translation.
warning: string 'AGPS_CAUSE_REQ_NOT_ACCEPTED' has no default translation.
warning: string 'AGPS_CAUSE_TIMER_EXPIRY' has no default translation.
warning: string 'AGPS_CAUSE_TLS_AUTH_FAIL' has no default translation.
warning: string 'AGPS_CAUSE_USER_AGREE' has no default translation.
warning: string 'AGPS_CAUSE_USER_DENY' has no default translation.
warning: string 'AGPS_EM_POS_FIXED' has no default translation.
warning: string 'AGPS_EM_RECV_SI_REQ' has no default translation.
warning: string 'AgpsHelp_Category' has no default translation.
warning: string 'EM_NotifyDialog_title' has no default translation.
warning: string 'MobileNetwork_Category' has no default translation.
warning: string 'MobileNetwork_DataConn_off' has no default translation.
warning: string 'MobileNetwork_SIM_Active' has no default translation.
warning: string 'MobileNetwork_off_Summary' has no default translation.
warning: string 'MobileNetwork_on_Summary' has no default translation.
warning: string 'Network_Initiate' has no default translation.
warning: string 'Network_Initiate_Summary_off' has no default translation.
warning: string 'Network_Initiate_Summary_on' has no default translation.
warning: string 'Network_Local_and_Roaming_Summary' has no default translation.
warning: string 'Network_Only_Local_Summary' has no default translation.
warning: string 'Network_Roaming_dialog_content' has no default translation.
warning: string 'Network_Roaming_dialog_title' has no default translation.
warning: string 'Network_Used' has no default translation.
warning: string 'USER_RESPONSE_TIMEOUT' has no default translation.
warning: string 'WiFiNetwork_on_title' has no default translation.
warning: string 'about_agps_message' has no default translation.
warning: string 'about_agps_title' has no default translation.
warning: string 'agps_disable_on_reboot' has no default translation.
warning: string 'agps_disable_on_reboot_summary' has no default translation.
warning: string 'agps_enable_confirm' has no default translation.
warning: string 'agps_enable_confirm_allow' has no default translation.
warning: string 'agps_enable_confirm_deny' has no default translation.
warning: string 'agps_enable_confirm_title' has no default translation.
warning: string 'agps_profile_SLP_address_editbox_title' has no default translat
ion.
warning: string 'agps_profile_select' has no default translation.
warning: string 'agps_settings_enable' has no default translation.
warning: string 'agps_settings_enable_off' has no default translation.
warning: string 'agps_settings_enable_on' has no default translation.
warning: string 'agps_settings_eng_enable' has no default translation.
warning: string 'agps_settings_eng_summary' has no default translation.
warning: string 'agps_settings_title' has no default translation.
warning: string 'agps_str_error' has no default translation.
warning: string 'all_settings_title' has no default translation.
warning: string 'audio_profile_bes_loudness_summary' has no default translation.
warning: string 'audio_profile_bes_loudness_title' has no default translation.
warning: string 'cell_broadcast_settings_summary' has no default translation.
warning: string 'close' has no default translation.
warning: string 'common_settings_title' has no default translation.
warning: string 'confirm_title' has no default translation.
warning: string 'dtmf_tone_enable_title_summery' has no default translation.
warning: string 'epo_about_message' has no default translation.
warning: string 'epo_about_title' has no default translation.
warning: string 'epo_auto_download_summary' has no default translation.
warning: string 'epo_auto_download_title' has no default translation.
warning: string 'epo_cancel_download' has no default translation.
warning: string 'epo_download' has no default translation.
warning: string 'epo_download_time_summary' has no default translation.
warning: string 'epo_download_time_title' has no default translation.
warning: string 'epo_enable_confirm_allow' has no default translation.
warning: string 'epo_enable_confirm_deny' has no default translation.
warning: string 'epo_enable_confirm_message' has no default translation.
warning: string 'epo_enable_confirm_title' has no default translation.
warning: string 'epo_enable_summary' has no default translation.
warning: string 'epo_enable_title' has no default translation.
warning: string 'epo_entrance_summary' has no default translation.
warning: string 'epo_entrance_title' has no default translation.
warning: string 'epo_err_update_failed' has no default translation.
warning: string 'epo_error_dialog_title' has no default translation.
warning: string 'epo_error_no_activite_network' has no default translation.
warning: string 'epo_expire_time_summary' has no default translation.
warning: string 'epo_expire_time_title' has no default translation.
warning: string 'epo_info_title' has no default translation.
warning: string 'epo_ok_btn' has no default translation.
warning: string 'epo_start_time_summary' has no default translation.
warning: string 'epo_start_time_title' has no default translation.
warning: string 'epo_status_starting' has no default translation.
warning: string 'epo_status_stopping' has no default translation.
warning: string 'epo_warning_dialog_message' has no default translation.
warning: string 'epo_warning_dialog_title' has no default translation.
warning: string 'eth_conf_perf_title' has no default translation.
warning: string 'experimental_webview' has no default translation.
warning: string 'experimental_webview_summary' has no default translation.
warning: string 'haptic_feedback_enable_title_summery' has no default translatio
n.
warning: string 'hq_audio_profile_settings' has no default translation.
warning: string 'hq_customize_profile_settings' has no default translation.
warning: string 'lenovo_legal_info' has no default translation.
warning: string 'lock_sounds_enable_title_summery' has no default translation.
warning: string 'next_not_remind' has no default translation.
warning: string 'nfc_payment_ask' has no default translation.
warning: string 'open' has no default translation.
warning: string 'open_data_confirm_title' has no default translation.
warning: string 'open_data_conn_confirm_msg' has no default translation.
warning: string 'openairplane' has no default translation.
warning: string 'port_title' has no default translation.
warning: string 'print_services_title' has no default translation.
warning: string 'sound_effects_enable_title_summery' has no default translation.
warning: string 'summary_font_state_default' has no default translation.
warning: string 'title_font_style' has no default translation.
warning: string 'tls_summary_off' has no default translation.
warning: string 'tls_summary_on' has no default translation.
warning: string 'turn_wifi_to_wlan' has no default translation.
warning: string 'wifi_display_available_devices' has no default translation.
warning: string 'wifi_display_disconnect_text' has no default translation.
warning: string 'wifi_display_disconnect_title' has no default translation.
warning: string 'wifi_display_paired_devices' has no default translation.
warning: string 'wifi_display_search_for_devices' has no default translation.
warning: string 'wifi_display_searching_for_devices' has no default translation.
warning: string 'wifi_display_settings_empty_list_wifi_display_disabled' has no
default translation.
warning: string 'wifi_display_settings_empty_list_wifi_display_off'Exception in
thread "main" has no default translation.
warning: string 'wifi_display_status_available' has no default translation.
warning: string 'wifi_display_summary_disabled' has no default translation.
warning: string 'wifi_display_summary_off' has no default translation.
warning: string 'wifi_display_summary_on' has no default translation.
warning: string 'wimax_settings_summary' has no default translation.
C:\Users\Afshinpc\Desktop\apktool\settings\res\layout\preference_header_switch_i
tem.xml:11: error: Error: No resource found that matches the given name (at 'sty
le' with value '@com.mediatek:style/ImageSwitch').
C:\Users\Afshinpc\Desktop\apktool\settings\res\layout\preference_nfc.xml:11: err
or: Error: No resource found that matches the given name (at 'style' with value
'@com.mediatek:style/ImageSwitch').
C:\Users\Afshinpc\Desktop\apktool\settings\res\layout\preference_sim_info.xml:13
: error: Error: No resource found that matches the given name (at 'style' with v
alue '@com.mediatek:style/ImageSwitch').
C:\Users\Afshinpc\Desktop\apktool\settings\res\layout\preference_sim_info_enable
r.xml:15: error: Error: No resource found that matches the given name (at 'style
' with value '@com.mediatek:style/ImageSwitch').
C:\Users\Afshinpc\Desktop\apktool\settings\res\layout\sim_widget_view.xml:5: err
or: Error: No resource found that matches the given name (at 'style' with value
'@com.mediatek:style/ImageSwitch').
C:\Users\Afshinpc\Desktop\apktool\settings\res\layout\wifi_switch_for_oobe.xml:7
: error: Error: No resource found that matches the given name (at 'style' with v
alue '@com.mediatek:style/ImageSwitch').
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.Br
utException: could not exec command: [C:\Users\Afshinpc\AppData\Local\Temp\brut_
util_Jar_5016118610004880897.tmp, p, --forced-package-id, 127, --min-sdk-version
, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2, -F, C
:\Users\Afshinpc\AppData\Local\Temp\APKTOOL5964521346204536231.tmp, -0, arsc, -I
, C:\Users\Afshinpc\apktool\framework\1.apk, -S, C:\Users\Afshinpc\Desktop\apkto
ol\settings\res, -M, C:\Users\Afshinpc\Desktop\apktool\settings\AndroidManifest.
xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:449)
at brut.androlib.Androlib.buildResources(Androlib.java:383)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:240)
at brut.apktool.Main.main(Main.java:89)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [C:\Users\Afshinpc\AppData\Local\Temp\brut_util_Jar_5016118610004
880897.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-ver
sion, 19, --version-code, 19, --version-name, 4.4.2, -F, C:\Users\Afshinpc\AppDa
ta\Local\Temp\APKTOOL5964521346204536231.tmp, -0, arsc, -I, C:\Users\Afshinpc\ap
ktool\framework\1.apk, -S, C:\Users\Afshinpc\Desktop\apktool\settings\res, -M, C
:\Users\Afshinpc\Desktop\apktool\settings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:487)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Afshinpc
\AppData\Local\Temp\brut_util_Jar_5016118610004880897.tmp, p, --forced-package-i
d, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --v
ersion-name, 4.4.2, -F, C:\Users\Afshinpc\AppData\Local\Temp\APKTOOL596452134620
4536231.tmp, -0, arsc, -I, C:\Users\Afshinpc\apktool\framework\1.apk, -S, C:\Use
rs\Afshinpc\Desktop\apktool\settings\res, -M, C:\Users\Afshinpc\Desktop\apktool\
settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:481)
... 6 more
I use the latest ApkTool and another tools etc apkmultitool , Advanced ApkTool . but my problem not solved
the lenovo framework is installed . another lenovo apps compiled and work fine. Only this is making trouble - I`m using apktool a lot and compiled apk`s, but this problem is new - hope someone has a solution.
tanx

[Solved] [Q] Can't Recompile My Stock Settings.apk

Someone Please Help me, I Can't Compile my Settings.apk
Rom: Deodex Stock Rom
Android Version: KK (4.4.2)
Here Log:
Log For : Settings.apk
Log Type : Recompiling
Log Recorded At : Tue 30-06-2015 5:22:09.34
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
------------------------------------------------------
warning: string 'AGPS_CAUSE_BAD_PUSH_CONTENT' has no default translation.
warning: string 'AGPS_CAUSE_NETWORK_CREATE_FAIL' has no default translation.
warning: string 'AGPS_CAUSE_NETWORK_DISCONN' has no default translation.
warning: string 'AGPS_CAUSE_NOT_SUPPORTED' has no default translation.
warning: string 'AGPS_CAUSE_NO_POSITION' has no default translation.
warning: string 'AGPS_CAUSE_NO_RESOURCE' has no default translation.
warning: string 'AGPS_CAUSE_REMOTE_ABORT' has no default translation.
warning: string 'AGPS_CAUSE_REMOTE_MSG_ERROR' has no default translation.
warning: string 'AGPS_CAUSE_REQ_NOT_ACCEPTED' has no default translation.
warning: string 'AGPS_CAUSE_TIMER_EXPIRY' has no default translation.
warning: string 'AGPS_CAUSE_TLS_AUTH_FAIL' has no default translation.
warning: string 'AGPS_CAUSE_USER_AGREE' has no default translation.
warning: string 'AGPS_CAUSE_USER_DENY' has no default translation.
warning: string 'AGPS_EM_POS_FIXED' has no default translation.
warning: string 'AGPS_EM_RECV_SI_REQ' has no default translation.
warning: string 'AgpsHelp_Category' has no default translation.
warning: string 'EM_NotifyDialog_title' has no default translation.
warning: string 'MobileNetwork_Category' has no default translation.
warning: string 'MobileNetwork_DataConn_off' has no default translation.
warning: string 'MobileNetwork_SIM_Active' has no default translation.
warning: string 'MobileNetwork_off_Summary' has no default translation.
warning: string 'MobileNetwork_on_Summary' has no default translation.
warning: string 'Network_Initiate' has no default translation.
warning: string 'Network_Initiate_Summary_off' has no default translation.
warning: string 'Network_Initiate_Summary_on' has no default translation.
warning: string 'Network_Local_and_Roaming_Summary' has no default translation.
warning: string 'Network_Only_Local_Summary' has no default translation.
warning: string 'Network_Roaming_dialog_content' has no default translation.
warning: string 'Network_Roaming_dialog_title' has no default translation.
warning: string 'Network_Used' has no default translation.
warning: string 'USER_RESPONSE_TIMEOUT' has no default translation.
warning: string 'WiFiNetwork_on_title' has no default translation.
warning: string 'about_agps_message' has no default translation.
warning: string 'about_agps_title' has no default translation.
warning: string 'accessibility_long_press_timeout_title' has no default translation.
warning: string 'accessibility_power_button_ends_call_title' has no default translation.
warning: string 'accessibility_script_injection_title' has no default translation.
warning: string 'accessibility_service_state_off' has no default translation.
warning: string 'accessibility_service_state_on' has no default translation.
warning: string 'accessibility_speak_password_title' has no default translation.
warning: string 'accessibility_toggle_large_text_title' has no default translation.
warning: string 'agps_disable_on_reboot' has no default translation.
warning: string 'agps_disable_on_reboot_summary' has no default translation.
warning: string 'agps_enable_confirm' has no default translation.
warning: string 'agps_enable_confirm_allow' has no default translation.
warning: string 'agps_enable_confirm_deny' has no default translation.
warning: string 'agps_enable_confirm_title' has no default translation.
warning: string 'agps_profile_SLP_address_editbox_title' has no default translation.
warning: string 'agps_profile_select' has no default translation.
warning: string 'agps_settings_enable_off' has no default translation.
warning: string 'agps_settings_enable_on' has no default translation.
warning: string 'agps_settings_eng_enable' has no default translation.
warning: string 'agps_settings_eng_summary' has no default translation.
warning: string 'agps_settings_title' has no default translation.
warning: string 'agps_str_error' has no default translation.
warning: string 'bluetooth_not_discoverable' has no default translation.
warning: string 'bluetooth_visibility' has no default translation.
warning: string 'bluetooth_visibility_timeout_summary' has no default translation.
warning: string 'bugreport_message' has no default translation.
warning: string 'bugreport_title' has no default translation.
warning: string 'cell_broadcast_settings_summary' has no default translation.
warning: string 'confirm_title' has no default translation.
warning: string 'date_time_12_hour_sample' has no default translation.
warning: string 'date_time_24_hour_sample' has no default translation.
warning: string 'epo_about_message' has no default translation.
warning: string 'epo_about_title' has no default translation.
warning: string 'epo_auto_download_summary' has no default translation.
warning: string 'epo_auto_download_title' has no default translation.
warning: string 'epo_cancel_download' has no default translation.
warning: string 'epo_download' has no default translation.
warning: string 'epo_download_time_summary' has no default translation.
warning: string 'epo_download_time_title' has no default translation.
warning: string 'epo_enable_confirm_allow' has no default translation.
warning: string 'epo_enable_confirm_deny' has no default translation.
warning: string 'epo_enable_confirm_message' has no default translation.
warning: string 'epo_enable_confirm_title' has no default translation.
warning: string 'epo_enable_summary' has no default translation.
warning: string 'epo_enable_title' has no default translation.
warning: string 'epo_entrance_summary' has no default translation.
warning: string 'epo_entrance_title' has no default translation.
warning: string 'epo_err_update_failed' has no default translation.
warning: string 'epo_error_dialog_title' has no default translation.
warning: string 'epo_error_no_activite_network' has no default translation.
warning: string 'epo_expire_time_summary' has no default translation.
warning: string 'epo_expire_time_title' has no default translation.
warning: string 'epo_info_title' has no default translation.
warning: string 'epo_ok_btn' has no default translation.
warning: string 'epo_start_time_summary' has no default translation.
warning: string 'epo_start_time_title' has no default translation.
warning: string 'epo_status_starting' has no default translation.
warning: string 'epo_status_stopping' has no default translation.
warning: string 'epo_warning_dialog_message' has no default translation.
warning: string 'epo_warning_dialog_title' has no default translation.
warning: string 'experimental_webview' has no default translation.
warning: string 'experimental_webview_summary' has no default translation.
warning: string 'gadget_gps' has no default translation.
warning: string 'lock_intro_message' has no default translation.
warning: string 'lock_title' has no default translation.
warning: string 'next_button_label' has no default translation.
warning: string 'port_title' has no default translation.
warning: string 'read_only' has no default translation.
warning: string 'report' has no default translation.
warning: string 'screensaver_activate_on_dock_title' has no default translation.
warning: string 'screensaver_component_title' has no default translation.
warning: string 'screensaver_settings_summary_on' has no default translation.
warning: string 'screensaver_test' has no default translation.
warning: string 'screensaver_timeout_summary' has no default translation.
warning: string 'screensaver_timeout_title' has no default translation.
warning: string 'screensaver_timeout_zero_summary' has no default translation.
warning: string 'show_dev_countdown' has no default translation.
warning: string 'show_hw_overdraw' has no default translation.
warning: string 'show_hw_overdraw_summary' has no default translation.
warning: string 'show_password_summary' has no default translation.
warning: string 'skip_button_label' has no default translation.
warning: string 'tls_summary_off' has no default translation.
warning: string 'tls_summary_on' has no default translation.
warning: string 'user_details_title' has no default translation.
warning: string 'user_dict_multiple_settings_title' has no default translation.
warning: string 'user_dict_settings_titlebar' has no default translation.
warning: string 'user_discard_user_menu' has no default translation.
warning: string 'user_information_heading' has no default translation.
warning: string 'user_market_apps_heading' has no default translation.
warning: string 'user_market_requires_pin' has no default translation.
warning: string 'user_max_content_rating' has no default translation.
warning: string 'user_name_title' has no default translation.
warning: string 'user_restrictions_heading' has no default translation.
warning: string 'user_system_apps_heading' has no default translation.
warning: string 'wifi_display_available_devices' has no default translation.
warning: string 'wifi_display_disconnect_text' has no default translation.
warning: string 'wifi_display_disconnect_title' has no default translation.
warning: string 'wifi_display_paired_devices' has no default translation.
warning: string 'wifi_display_search_for_devices' has no default translation.
warning: string 'wifi_display_searching_for_devices' has no default translation.
warning: string 'wifi_display_settings_empty_list_wifi_display_disabled' has no default translation.
warning: string 'wifi_display_settings_empty_list_wifi_display_off' has no default translation.
warning: string 'wifi_display_status_available' has no default translation.
warning: string 'wifi_display_summary_disabled' has no default translation.
warning: string 'wifi_display_summary_off' has no default translation.
warning: string 'wifi_display_summary_on' has no default translation.
warning: string 'wimax_settings_summary' has no default translation.
C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res\layout\preference_header_switch_item.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@com.mediatek:style/ImageSwitch').
C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res\layout\preference_nfc.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@com.mediatek:style/ImageSwitch').
C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res\layout\preference_sim_info.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@com.mediatek:style/ImageSwitch').
C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res\layout\preference_sim_info_enabler.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@com.mediatek:style/ImageSwitch').
C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res\layout\sim_widget_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@com.mediatek:style/ImageSwitch').
C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res\layout\wifi_switch_for_oobe.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@com.mediatek:style/ImageSwitch').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Zidni\AppData\Local\Temp\brut_util_Jar_7373244141138405014.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-eng..1407727343, -F, C:\Users\Zidni\AppData\Local\Temp\APKTOOL6652829897396485832.tmp, -0, arsc, -I, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res, -M, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:374)
at brut.androlib.Androlib.build(Androlib.java:277)
at brut.androlib.Androlib.build(Androlib.java:250)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Zidni\AppData\Local\Temp\brut_util_Jar_7373244141138405014.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-eng..1407727343, -F, C:\Users\Zidni\AppData\Local\Temp\APKTOOL6652829897396485832.tmp, -0, arsc, -I, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res, -M, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:488)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Zidni\AppData\Local\Temp\brut_util_Jar_7373244141138405014.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-eng..1407727343, -F, C:\Users\Zidni\AppData\Local\Temp\APKTOOL6652829897396485832.tmp, -0, arsc, -I, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res, -M, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:482)
... 6 more
------------------------------------------------------
Click to expand...
Click to collapse
Don't Avoid it.
Please Help Me

How to change android 4 kitkat settings menu background color?

How to change android 4 kitkat settings menu background color from black to green for example?
I am rooted, see every file to deal with in the system root folder, can anyone indicate what file must i open to change the color?
I know there some themes to be installed, but I just need this thing, no menu styles and so on. Probably someone modified the background menu color and remembers the file name and where (I think i can find by myself even though).
Also in developers mod, I can access touch board which shows touch coordinates, can anyone confirm this?, when I click or make a touch in any place, then I turn off phone to standby and 1 minute later I turn it on again and the red quadrangle is still in red marked with yellow line. Check the photo please. thanks.​https://ibb.co/dXJwG8
the photo is not shown, i did everyhting correctly.
lovestudio said:
How to change android 4 kitkat settings menu background color from black to green for example?
I am rooted, see every file to deal with in the system root folder, can anyone indicate what file must i open to change the color?
I know there some themes to be installed, but I just need this thing, no menu styles and so on. Probably someone modified the background menu color and remembers the file name and where (I think i can find by myself even though).
Also in developers mod, I can access touch board which shows touch coordinates, can anyone confirm this?, when I click or make a touch in any place, then I turn off phone to standby and 1 minute later I turn it on again and the red quadrangle is still in red marked with yellow line. Check the photo please. thanks.
the photo is not shown, i did everyhting correctly.
Click to expand...
Click to collapse
You need first to go to /system/priv-app/Settings and get the settings apk
Copy it and paste it to a folder like download or documents.
Take your PC and install Apktool and Java JDK ( the installation of those is pretty easy , search on google if you have some difficulties )
Plug your device on your PC and transfer the settings apk on the Apktool folder.
Rename the apk file !
Open a command prompt on this folder ( the Apktool one) and enter this command
Code:
java -jar apktool.jar d Settings.apk
Open the Settings folder created by Apktool when decompiling and go to /res/values and open colors.xml ( with with a text editor , I advice notepad++ or Grant)
From there follow my tutorial to find the right color :
https://forum.xda-developers.com/android/themes/guide-how-to-theme-android-app-t3777101
Use only the part II-1 , modifying system file is different from modifying a simple app .
Once you identified the hex code of the background color , search for it with the search tool of notepad++ (Ctrl+F)
If you see more than one match , try to figure out which one is the good one , make some test )
And now you should recompile the settings.apk with this command :
Code:
java -jar apktool.jar b Settings -c
The "-c" is really important , don't forget it !
Don't transfer the modified settings apk on your phone , with a root file manager rename the old name "settings.apk" with the name "settings.apk.bak" in the /system/priv-app/Settings folder.
Place in this folder the modified APK and reboot your device.
If the settings app Force close , you may have missed something , good luck .
but could you see my photo? I hope you understand that the background color of settings menu. ok, I understand, but in case of problem, to use bakcup of this file for restoring, must i restore before tablet starts in system recovery menu? (like windows pc bios)?
lovestudio said:
but could you see my photo? I hope you understand that the background color of settings menu. ok, I understand, but in case of problem, to use bakcup of this file for restoring, must i restore before tablet starts in system recovery menu? (like windows pc bios)?
Click to expand...
Click to collapse
I don't see the photo you posted .
To recover the settings APK in case of FC, just use your root file manager to delete the modified settings apk in the /system/priv-app/Settings folder , and rename the "settings.apk.bak to "settings.apk" and reboot
RaiZProduction said:
I don't see the photo you posted .
To recover the settings APK in case of FC, just use your root file manager to delete the modified settings apk in the /system/priv-app/Settings folder , and rename the "settings.apk.bak to "settings.apk" and reboot
Click to expand...
Click to collapse
ok, i know this. i put the photo link above in1 st post, look at it, and if your manual is regarding this color, then, do not reply. thanks.
I did it, original settings.apk had 9.80 mb, then after this thing, there in folder called framework appeared compiled file of only 1.60 mb.
Also errors:
C:\Users\Admin\AppData\Local\apktool>j
I: Using Apktool 2.3.3
I: Checking whether sources has change
I: Checking whether resources has chan
I: Building resources...
W: C:\Users\Admin\AppData\Local\apktoo
r: Error retrieving parent for item: N
me '@android:style/DialogWindowTitle'.
W:
W: C:\Users\Admin\AppData\Local\apktoo
r: Error retrieving parent for item: N
me '@android:style/DialogWindowTitle.H
W:
W: C:\Users\Admin\AppData\Local\apktoo
r: Error: No resource found that match
TOOL_DUMMY_40e'.
W:
W: C:\Users\Admin\AppData\Local\apktoo
r: Error: No resource found that match
TOOL_DUMMY_40f'.
W:
brut.androlib.AndrolibException: brut.
code = 1): [C:\Users\Admin\AppData\Lo
.tmp, p, --forced-package-id, 127, --m
19, --version-code, 19, --version-name
Click to expand...
Click to collapse
all was done correctly 10 times, result is the same. By the way, there was also settings.odex near it in tablet (if needed).
the colors file is very little:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="black">#9b4b96</color> this I changed
<color name="red">#ffff0000</color>
<color name="memory_used">#9b4b96</color> and this I changed
<color name="memory_avail">#ff333333</color>
<color name="memory_apps_usage">#ff77831a</color>
and some more lines
lovestudio said:
I did it, original settings.apk had 9.80 mb, then after this thing, there in folder called framework appeared compiled file of only 1.60 mb.
Also errors:
all was done correctly 10 times, result is the same. By the way, there was also settings.odex near it in tablet (if needed).
the colors file is very little:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="black">#9b4b96</color> this I changed
<color name="red">#ffff0000</color>
<color name="memory_used">#9b4b96</color> and this I changed
<color name="memory_avail">#ff333333</color>
<color name="memory_apps_usage">#ff77831a</color>
and some more lines
Click to expand...
Click to collapse
Oh yes ,I forgot to talk about deodexing
Go and download on your PC a tool for deodexing , called Baksmali from here: https://bitbucket.org/JesusFreke/smali/downloads/
(Take the lastest one )
Create a folder called Baksmali (next to the Apktool folder) and put the downloaded file in it , rename the file to baksmali.jar.
In the /system/priv-app/Settings directory , copy the settings.odex , paste it to the Download folder and transfer it on your PC in the Baksmali folder .
Then go on your device again , go to /system/framework/ and copy the arm folder ( if your phone is arm) or arm64 (if your phone is arm64) and paste it to your download folder
To know which arch your device run , install CPU-Z from Google play and search for it in the app ( in the CPU section)
Then transfer the arm/arm64 folder CONTENT to the Baksmali folder on your PC.
(Only transfer the content of the folder )
Now you have all the elements , open a command prompt in the Baksmali folder and enter this command
Code:
java -jar baksmali.jar deodex settings.odex -l
A folder called out will appear , copy everything in it , go to the Settings folder into the Apktool folder (the folder created when you decompiled the settings.apk), create a folder called smali and paste everything there .
Then retry the tutorial I gave you in my last post , good luck.
ok, in /system/framework/ there is no arm folder, only many files with jar and odex extensions. first 2 files are called: am.jar and am. odex
and one folder @Webview with many files of .pak [email protected] Though I know, that tablet has arm architechture, cos I have kernel tunnner app installed. So should I deal without this folder?
lovestudio said:
ok, in /system/framework/ there is no arm folder, only many files with jar and odex extensions. first 2 files are called: am.jar and am. odex
and one folder @Webview with many files of .pak [email protected] Though I know, that tablet has arm architechture, cos I have kernel tunnner app installed. So should I deal without this folder?
Click to expand...
Click to collapse
Ok , if you haven't those folder , take every jar file in the framework folder instead of those in the arm/arm64 folder.
Let me know if it worked.
sorry i was wrong, i have retried, the same result as before with only apktool folder working.
lovestudio said:
sorry i was wrong, i have retried, the same result as before with only apktool folder working.
Click to expand...
Click to collapse
Could you precise what worked and what didn't ?
all worked what you told me to do, but the result of final step of decompiling settings.apk with 1 tutorial is the same: as here: https://forum.xda-developers.com/showpost.php?p=77175345&postcount=6
lovestudio said:
all worked what you told me to do, but the result of final step of decompiling settings.apk with 1 tutorial is the same: as here: https://forum.xda-developers.com/showpost.php?p=77175345&postcount=6
Click to expand...
Click to collapse
It looks like it's a framework issue.
Go on your phone to /system/framework , find framework-res.apk and copy and paste it to your download folder , then transfer it to your Apktool folder ( to go faster with this step , I'll say transfer instead of copying and pasting )
Then go to /System/priv-app/SystemUI and transfer SystemUI.apk to your Apktool folder.
Open a command prompt on your Apktool folder and and write this code :
Code:
java -jar apktool.jar if framework-res.apk
Code:
java -jar apktool.jar if SystemUI.apk
Then retry my tutorial once again
you have a patience with old android kitkat version, ok, I will try, I think tutorial only 1st one, without 2 tutorial.
lovestudio said:
you have a patience with old android kitkat version, ok, I will try, I think tutorial only 1st one, without 2 tutorial.
Click to expand...
Click to collapse
Don't worry , I'm here for that :highfive:
ok, done, I have done with these 2 files and then done 1st. tutorial. in your 1st.reply. ragarding settings decompl. and compl.
this time the result is terrible, by the way, i use generall english in my kitkat and no mods or recoveries.
here I copy log from cmd for compil. final settings.apk
Code:
W: warning: string 'accessibility_tutorial_lesson_2_text_3' has no default trans
lation.
W: warning: string 'accessibility_tutorial_lesson_2_text_3_more' has no default
translation.
W: warning: string 'accessibility_tutorial_lesson_2_text_4' has no default trans
lation.
W: warning: string 'accessibility_tutorial_lesson_2_title' has no default transl
ation.
W: warning: string 'accessibility_tutorial_next' has no default translation.
W: warning: string 'accessibility_tutorial_skip' has no default translation.
W: warning: string 'accessibility_tutorial_title' has no default translation.
W: warning: string 'agps_BEE_checkbox_on_summary' has no default translation.
W: warning: string 'agps_BEE_checkbox_title' has no default translation.
W: warning: string 'agps_SIMAB' has no default translation.
W: warning: string 'agps_SIMAB_listtitle' has no default translation.
W: warning: string 'agps_SIMAB_summary' has no default translation.
W: warning: string 'agps_advance_QOP_Delay_Accuracy_editbox_summary' has no defa
ult translation.
W: warning: string 'agps_advance_QOP_Delay_Accuracy_editbox_title' has no defaul
t translation.
W: warning: string 'agps_advance_QOP_Horizontal_Accuracy_editbox_summary' has no
default translation.
W: warning: string 'agps_advance_QOP_Horizontal_Accuracy_editbox_title' has no d
efault translation.
W: warning: string 'agps_advance_QOP_MiniLocAge_Accuracy_editbox_summary' has no
default translation.
W: warning: string 'agps_advance_QOP_MiniLocAge_Accuracy_editbox_title' has no d
efault translation.
W: warning: string 'agps_advance_QOP_Vertical_Accuracy_editbox_summary' has no d
efault translation.
W: warning: string 'agps_advance_QOP_Vertical_Accuracy_editbox_title' has no def
ault translation.
W: warning: string 'agps_advance_SET_ID_key' has no default translation.
W: warning: string 'agps_advance_category_QOP_GAD' has no default translation.
W: warning: string 'agps_category_operation' has no default translation.
W: warning: string 'agps_category_profile' has no default translation.
W: warning: string 'agps_category_timer' has no default translation.
W: warning: string 'agps_disable_on_reboot' has no default translation.
W: warning: string 'agps_disable_on_reboot_summary' has no default translation.
W: warning: string 'agps_em_indication' has no default translation.
W: warning: string 'agps_em_indication_summary_off' has no default translation.
W: warning: string 'agps_em_indication_summary_on' has no default translation.
W: warning: string 'agps_enable_confirm' has no default translation.
W: warning: string 'agps_enable_confirm_allow' has no default translation.
W: warning: string 'agps_enable_confirm_deny' has no default translation.
W: warning: string 'agps_enable_confirm_title' has no default translation.
W: warning: string 'agps_eng_SIMAB_request' has no default translation.
W: warning: string 'agps_eng_SIMAB_summary_request' has no default translation.
W: warning: string 'agps_log_SUPL_to_file' has no default translation.
W: warning: string 'agps_log_SUPL_to_file_enable' has no default translation.
W: warning: string 'agps_log_to_UART' has no default translation.
W: warning: string 'agps_log_to_UART_enable' has no default translation.
W: warning: string 'agps_log_to_file' has no default translation.
W: warning: string 'agps_log_to_file_enable' has no default translation.
W: warning: string 'agps_ni_iot_enable' has no default translation.
W: warning: string 'agps_ni_iot_enable_off' has no default translation.
W: warning: string 'agps_ni_iot_enable_on' has no default translation.
W: warning: string 'agps_profile_SLP_address_editbox_title' has no default trans
lation.
W: warning: string 'agps_profile_screen_advacen_current_profile_summary' has no
default translation.
W: warning: string 'agps_profile_select' has no default translation.
W: warning: string 'agps_profile_select_Summary' has no default translation.
W: warning: string 'agps_screen_profile_advance_summary' has no default translat
ion.
W: warning: string 'agps_screen_profile_advance_title' has no default translatio
n.
W: warning: string 'agps_screen_profile_reset_summary' has no default translatio
n.
W: warning: string 'agps_screen_profile_reset_title' has no default translation.
W: warning: string 'agps_setting_eng_advance_screen_title' has no default transl
ation.
W: warning: string 'agps_settings_enable' has no default translation.
W: warning: string 'agps_settings_enable_off' has no default translation.
W: warning: string 'agps_settings_enable_on' has no default translation.
W: warning: string 'agps_settings_eng_enable' has no default translation.
W: warning: string 'agps_settings_eng_summary' has no default translation.
W: warning: string 'agps_settings_title' has no default translation.
W: warning: string 'agps_str_error' has no default translation.
W: warning: string 'audio_profile_bes_loudness_summary' has no default translati
on.
W: warning: string 'audio_profile_bes_loudness_title' has no default translation
.
W: warning: string 'bluetooth_not_discoverable' has no default translation.
W: warning: string 'bluetooth_visibility' has no default translation.
W: warning: string 'bluetooth_visibility_timeout_summary' has no default transla
tion.
W: warning: string 'btn_cancel_msg' has no default translation.
W: warning: string 'btn_ok_msg' has no default translation.
W: warning: string 'bugreport_message' has no default translation.
W: warning: string 'bugreport_title' has no default translation.
W: warning: string 'cell_broadcast_settings_summary' has no default translation.
W: warning: string 'confirm_title' has no default translation.
W: warning: string 'date_time_12_hour_sample' has no default translation.
W: warning: string 'date_time_24_hour_sample' has no default translation.
W: warning: string 'day' has no default translation.
W: warning: string 'days' has no default translation.
W: warning: string 'dialog_apn_disabled' has no default translation.
W: warning: string 'dialog_apn_disabled_msg' has no default translation.
W: warning: string 'disable_schpwr' has no default translation.
W: warning: string 'done' has no default translation.
W: warning: string 'eCID_Enable_Title' has no default translation.
W: warning: string 'eCID_enable_summary_off' has no default translation.
W: warning: string 'eCID_enable_summary_on' has no default translation.
W: warning: string 'enable_schpwr' has no default translation.
W: warning: string 'epo_about_message' has no default translation.
W: warning: string 'epo_about_title' has no default translation.
W: warning: string 'epo_auto_download_summary' has no default translation.
W: warning: string 'epo_auto_download_title' has no default translation.
W: warning: string 'epo_cancel_download' has no default translation.
W: warning: string 'epo_download' has no default translation.
W: warning: string 'epo_download_time_summary' has no default translation.
W: warning: string 'epo_download_time_title' has no default translation.
W: warning: string 'epo_enable_confirm_allow' has no default translation.
W: warning: string 'epo_enable_confirm_deny' has no default translation.
W: warning: string 'epo_enable_confirm_message' has no default translation.
W: warning: string 'epo_enable_confirm_title' has no default translation.
W: warning: string 'epo_enable_summary' has no default translation.
W: warning: string 'epo_enable_title' has no default translation.
W: warning: string 'epo_entrance_summary' has no default translation.
W: warning: string 'epo_entrance_title' has no default translation.
W: warning: string 'epo_err_update_failed' has no default translation.
W: warning: string 'epo_error_dialog_title' has no default translation.
W: warning: string 'epo_error_no_activite_network' has no default translation.
W: warning: string 'epo_expire_time_summary' has no default translation.
W: warning: string 'epo_expire_time_title' has no default translation.
W: warning: string 'epo_info_title' has no default translation.
W: warning: string 'epo_ok_btn' has no default translation.
W: warning: string 'epo_profile_address' has no default translation.
W: warning: string 'epo_profile_category' has no default translation.
W: warning: string 'epo_profile_name' has no default translation.
W: warning: string 'epo_profile_password' has no default translation.
W: warning: string 'epo_profile_port' has no default translation.
W: warning: string 'epo_profile_title' has no default translation.
W: warning: string 'epo_profile_usrname' has no default translation.
W: warning: string 'epo_start_time_summary' has no default translation.
W: warning: string 'epo_start_time_title' has no default translation.
W: warning: string 'epo_status_starting' has no default translation.
W: warning: string 'epo_status_stopping' has no default translation.
W: warning: string 'epo_update_period_summary' has no default translation.
W: warning: string 'epo_update_period_title' has no default translation.
W: warning: string 'epo_update_settings' has no default translation.
W: warning: string 'epo_warning_dialog_message' has no default translation.
W: warning: string 'epo_warning_dialog_title' has no default translation.
W: warning: string 'error_connecting' has no default translation.
W: warning: string 'every_day' has no default translation.
W: warning: string 'experimental_webview' has no default translation.
W: warning: string 'experimental_webview_summary' has no default translation.
W: warning: string 'gadget_gps' has no default translation.
W: warning: string 'gsm_to_wifi_connect_type_title' has no default translation.
W: warning: string 'hour' has no default translation.
W: warning: string 'hours' has no default translation.
W: warning: string 'lock_intro_message' has no default translation.
W: warning: string 'lock_title' has no default translation.
W: warning: string 'minute' has no default translation.
W: warning: string 'minutes' has no default translation.
W: warning: string 'msg_battery_over_temperature' has no default translation.
W: warning: string 'msg_battery_over_voltage' has no default translation.
W: warning: string 'msg_charger_over_voltage' has no default translation.
W: warning: string 'msg_over_current_protection' has no default translation.
W: warning: string 'msg_safety_timer_timeout' has no default translation.
W: warning: string 'msg_wlan_signal_found' has no default translation.
W: warning: string 'never' has no default translation.
W: warning: string 'next_button_label' has no default translation.
W: warning: string 'nfc_payment_ask' has no default translation.
W: warning: string 'password_mismatch' has no default translation.
W: warning: string 'password_set_failure' has no default translation.
W: warning: string 'password_set_successfully' has no default translation.
W: warning: string 'port_title' has no default translation.
W: warning: string 'print_services_title' has no default translation.
W: warning: string 'proxy_exclusionlist_label_cmcc' has no default translation.
W: warning: string 'read_only' has no default translation.
W: warning: string 'report' has no default translation.
W: warning: string 'revert' has no default translation.
W: warning: string 'schedule_power_off_set' has no default translation.
W: warning: string 'schedule_power_on_off_repeat' has no default translation.
W: warning: string 'schedule_power_on_off_set' has no default translation.
W: warning: string 'schedule_power_on_off_time' has no default translation.
W: warning: string 'schedule_power_on_set' has no default translation.
W: warning: string 'schpwr_shutdown_message' has no default translation.
W: warning: string 'schpwr_shutdown_message_second' has no default translation.
W: warning: string 'screensaver_activate_on_dock_title' has no default translati
on.
W: warning: string 'screensaver_component_title' has no default translation.
W: warning: string 'screensaver_settings_summary_on' has no default translation.
W: warning: string 'screensaver_test' has no default translation.
W: warning: string 'screensaver_timeout_summary' has no default translation.
W: warning: string 'screensaver_timeout_title' has no default translation.
W: warning: string 'screensaver_timeout_zero_summary' has no default translation
.
W: warning: string 'select_ssid_type_title' has no default translation.
W: warning: string 'show_hw_overdraw' has no default translation.
W: warning: string 'show_hw_overdraw_summary' has no default translation.
W: warning: string 'show_password_summary' has no default translation.
W: warning: string 'skip_button_label' has no default translation.
W: warning: string 'supl_capability_list_dialog_title' has no default translatio
n.
W: warning: string 'supl_capability_list_summary' has no default translation.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit
code = 1): [C:\Users\Admin\AppData\Local\Temp\brut_util_Jar_1240176132624633834
4.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version,
19, --version-code, 19, --version-name, 4.4.2-eng.root.20141220.102259, --no-ve
rsion-vectors, -F, C:\Users\Admin\AppData\Local\Temp\APKTOOL14873851083997636656
.tmp, -0, arsc, -0, res/drawable-hdpi/appwidget_bg_holo.9.png, -0, res/drawable-
hdpi/appwidget_inner_focused_c_holo.9.png, -0, res/drawable-hdpi/appwidget_inner
_focused_l_holo.9.png, -0, res/drawable-hdpi/appwidget_inner_focused_r_holo.9.pn
g, -0, res/drawable-hdpi/appwidget_inner_pressed_c_holo.9.png, -0, res/drawable-
hdpi/appwidget_inner_pressed_l_holo.9.png, -0, res/drawable-hdpi/appwidget_inner
_pressed_r_holo.9.png, -0, res/drawable-hdpi/appwidget_item_bg_normal.9.png, -0,
res/drawable-hdpi/appwidget_item_bg_pressed.9.png, -0, res/drawable-hdpi/appwid
get_settings_divider_holo.9.png, -0, res/drawable-hdpi/appwidget_settings_ind_mi
d_c_holo.9.png, -0, res/drawable-hdpi/appwidget_settings_ind_mid_l_holo.9.png, -
0, res/drawable-hdpi/appwidget_settings_ind_mid_r_holo.9.png, -0, res/drawable-h
dpi/appwidget_settings_ind_off_c_holo.9.png, -0, res/drawable-hdpi/appwidget_set
tings_ind_off_l_holo.9.png, -0, res/drawable-hdpi/appwidget_settings_ind_off_r_h
olo.9.png, -0, res/drawable-hdpi/appwidget_settings_ind_on_c_holo.9.png, -0, res
/drawable-hdpi/appwidget_settings_ind_on_l_holo.9.png, -0, res/drawable-hdpi/app
widget_settings_ind_on_r_holo.9.png, -0, png, -0, res/drawable-hdpi/data_grid_bo
rder.9.png, -0, res/drawable-hdpi/data_grid_primary.9.png, -0, res/drawable-hdpi
/data_grid_secondary.9.png, -0, res/drawable-hdpi/data_sweep_left_activated.9.pn
g, -0, res/drawable-hdpi/data_sweep_left_default.9.png, -0, res/drawable-hdpi/da
ta_sweep_limit_activated.9.png, -0, res/drawable-hdpi/data_sweep_limit_default.9
.png, -0, res/drawable-hdpi/data_sweep_right_activated.9.png, -0, res/drawable-h
dpi/data_sweep_right_default.9.png, -0, res/drawable-hdpi/data_sweep_warning_act
ivated.9.png, -0, res/drawable-hdpi/data_sweep_warning_default.9.png, -0, res/dr
awable-hdpi/expander_close_holo_dark.9.png, -0, res/drawable-hdpi/expander_open_
holo_dark.9.png, -0, res/drawable-hdpi/list_focused_holo.9.png, -0, res/drawable
-hdpi/list_longpressed_holo.9.png, -0, res/drawable-hdpi/list_pressed_holo_dark.
9.png, -0, res/drawable-hdpi/list_selector_disabled_holo_dark.9.png, -0, jpg, -0
, res/drawable-hdpi/password_field_default.9.png, -0, res/drawable-mdpi/appwidge
t_bg_holo.9.png, -0, res/drawable-mdpi/appwidget_inner_focused_c_holo.9.png, -0,
res/drawable-mdpi/appwidget_inner_focused_l_holo.9.png, -0, res/drawable-mdpi/a
ppwidget_inner_focused_r_holo.9.png, -0, res/drawable-mdpi/appwidget_inner_press
ed_c_holo.9.png, -0, res/drawable-mdpi/appwidget_inner_pressed_l_holo.9.png, -0,
res/drawable-mdpi/appwidget_inner_pressed_r_holo.9.png, -0, res/drawable-mdpi/a
ppwidget_item_bg_normal.9.png, -0, res/drawable-mdpi/appwidget_item_bg_pressed.9
.png, -0, res/drawable-mdpi/appwidget_settings_divider_holo.9.png, -0, res/drawa
ble-mdpi/appwidget_settings_ind_mid_c_holo.9.png, -0, res/drawable-mdpi/appwidge
t_settings_ind_mid_l_holo.9.png, -0, res/drawable-mdpi/appwidget_settings_ind_mi
d_r_holo.9.png, -0, res/drawable-mdpi/appwidget_settings_ind_off_c_holo.9.png, -
0, res/drawable-mdpi/appwidget_settings_ind_off_l_holo.9.png, -0, res/drawable-m
dpi/appwidget_settings_ind_off_r_holo.9.png, -0, res/drawable-mdpi/appwidget_set
tings_ind_on_c_holo.9.png, -0, res/drawable-mdpi/appwidget_settings_ind_on_l_hol
o.9.png, -0, res/drawable-mdpi/appwidget_settings_ind_on_r_holo.9.png, -0, res/d
rawable-mdpi/data_grid_border.9.png, -0, res/drawable-mdpi/data_grid_primary.9.p
ng, -0, res/drawable-mdpi/data_grid_secondary.9.png, -0, res/drawable-mdpi/data_
sweep_left_activated.9.png, -0, res/drawable-mdpi/data_sweep_left_default.9.png,
-0, res/drawable-mdpi/data_sweep_limit_activated.9.png, -0, res/drawable-mdpi/d
ata_sweep_limit_default.9.png, -0, res/drawable-mdpi/data_sweep_right_activated.
9.png, -0, res/drawable-mdpi/data_sweep_right_default.9.png, -0, res/drawable-md
pi/data_sweep_warning_activated.9.png, -0, res/drawable-mdpi/data_sweep_warning_
default.9.png, -0, res/drawable-mdpi/list_focused_holo.9.png, -0, res/drawable-m
dpi/list_longpressed_holo.9.png, -0, res/drawable-mdpi/list_pressed_holo_dark.9.
png, -0, res/drawable-mdpi/list_selector_disabled_holo_dark.9.png, -0, res/drawa
ble-mdpi/password_field_default.9.png, -0, res/drawable-xhdpi/appwidget_bg_holo.
9.png, -0, res/drawable-xhdpi/appwidget_inner_focused_c_holo.9.png, -0, res/draw
able-xhdpi/appwidget_inner_focused_l_holo.9.png, -0, res/drawable-xhdpi/appwidge
t_inner_focused_r_holo.9.png, -0, res/drawable-xhdpi/appwidget_inner_pressed_c_h
olo.9.png, -0, res/drawable-xhdpi/appwidget_inner_pressed_l_holo.9.png, -0, res/
drawable-xhdpi/appwidget_inner_pressed_r_holo.9.png, -0, res/drawable-xhdpi/appw
idget_item_bg_normal.9.png, -0, res/drawable-xhdpi/appwidget_item_bg_pressed.9.p
ng, -0, res/drawable-xhdpi/appwidget_settings_divider_holo.9.png, -0, res/drawab
le-xhdpi/appwidget_settings_ind_mid_c_holo.9.png, -0, res/drawable-xhdpi/appwidg
et_settings_ind_mid_l_holo.9.png, -0, res/drawable-xhdpi/appwidget_settings_ind_
mid_r_holo.9.png, -0, res/drawable-xhdpi/appwidget_settings_ind_off_c_holo.9.png
, -0, res/drawable-xhdpi/appwidget_settings_ind_off_l_holo.9.png, -0, res/drawab
le-xhdpi/appwidget_settings_ind_off_r_holo.9.png, -0, res/drawable-xhdpi/appwidg
et_settings_ind_on_c_holo.9.png, -0, res/drawable-xhdpi/appwidget_settings_ind_o
n_l_holo.9.png, -0, res/drawable-xhdpi/appwidget_settings_ind_on_r_holo.9.png, -
0, res/drawable-xhdpi/data_grid_border.9.png, -0, res/drawable-xhdpi/data_grid_p
rimary.9.png, -0, res/drawable-xhdpi/data_grid_secondary.9.png, -0, res/drawable
-xhdpi/data_sweep_left_activated.9.png, -0, res/drawable-xhdpi/data_sweep_left_d
efault.9.png, -0, res/drawable-xhdpi/data_sweep_limit_activated.9.png, -0, res/d
rawable-xhdpi/data_sweep_limit_default.9.png, -0, res/drawable-xhdpi/data_sweep_
right_activated.9.png, -0, res/drawable-xhdpi/data_sweep_right_default.9.png, -0
, res/drawable-xhdpi/data_sweep_warning_activated.9.png, -0, res/drawable-xhdpi/
data_sweep_warning_default.9.png, -0, res/drawable-xhdpi/list_focused_holo.9.png
, -0, res/drawable-xhdpi/list_longpressed_holo.9.png, -0, res/drawable-xhdpi/lis
t_pressed_holo_dark.9.png, -0, res/drawable-xhdpi/list_selector_disabled_holo_da
rk.9.png, -0, res/drawable-xhdpi/password_field_default.9.png, -0, res/drawable/
list_section_divider_holo_light.9.png, -0, ogg, -0, arsc, -I, C:\Users\Admin\App
Data\Local\apktool\framework\1.apk, -S, C:\Users\Admin\AppData\Local\apktool\Set
tings\res, -M, C:\Users\Admin\AppData\Local\apktool\Settings\AndroidManifest.xml
]
W: warning: string 'supl_capability_list_title' has no default translation.
W: warning: string 'title_battery_over_temperature' has no default translation.
W: warning: string 'title_battery_over_voltage' has no default translation.
W: warning: string 'title_charger_over_voltage' has no default translation.
W: warning: string 'title_over_current_protection' has no default translation.
W: warning: string 'title_safety_timer_timeout' has no default translation.
W: warning: string 'tls_summary_off' has no default translation.
W: warning: string 'tls_summary_on' has no default translation.
W: warning: string 'tls_title' has no default translation.
W: warning: string 'user_details_title' has no default translation.
C:\Users\Admin\AppData\Local\apktool>
lovestudio said:
ok, done, I have done with these 2 files and then done 1st. tutorial. in your 1st.reply. ragarding settings decompl. and compl.
this time the result is terrible, by the way, i use generall english in my kitkat and no mods or recoveries.
here I copy log from cmd for compil. final settings.apk
Click to expand...
Click to collapse
Try to enter this command:
Code:
java -jar apktool.jar empty-framework-dir
And then enter this command :
Code:
java -jar apktool.jar if framework-res.apk
And retry the tutorial 1 (and the one with smali the folder)
ok, done:
HTML:
C:\Users\Admin\AppData\Local\apktool>
I: Using Apktool 2.3.3
I: Checking whether sources has chang
I: Smaling smali folder into classes.
Settings\smali\android\support\v13\ap
0] no viable alternative at input ''
Could not smali file: android/support
ali
C:\Users\Admin\AppData\Local\apktool>
the result is not done as you see. No use to deal with these framework smali created 3 folders with too many file, cos I notices when decompiling settings.apk, in smali folder already created same 3 folder with almost every 3294 files. But I tried, and nothing.
lovestudio said:
ok, done: C:\Users\Admin\AppData\Local\apktool>I: Using Apktool 2.3.3I: Checking whether sources has changI: Smaling smali folder into classes.Settings\smali\android\support\v13\ap0] no viable alternative at input ''Could not smali file: android/supportaliC:\Users\Admin\AppData\Local\apktool>
the result is not done as you see. No use to deal with these framework smali created 3 folders with too many file, cos I notices when decompiling settings.apk, in smali folder already created same 3 folder with almost every 3294 files. But I tried, and nothing.
Click to expand...
Click to collapse
Ok , so retry without baksmaling odex etc , just do the 1st tutorial and the tutorial with the "empty-framework-dir" command.
empty-framework-dir just remove previous file 1.apk from folder of framework nothing changes. i know this.

Categories

Resources