MTK6589 App Editting... Please Help - Android Q&A, Help & Troubleshooting

please help me in edit mtk app ( any one )...because I have an error in apktool when I try to compile it
I use framework-res.apk and mediatek-res.apk but the error still appear every time I try to complie even with no change....
This is Error Log :
Code:
--------------------------------------------------
Batch ApkTool : 3.5.0
SMALI : smali-2.2.jar
API level : 23
APKTOOL : apktool_2.2.0.jar
build in EXPERT mode : NO
Sign output APKs : YES
--------------------------------------------------
[*] Installing framework framework-res.apk
I: Framework installed to: bin\framework\1.apk
[*] Installing framework mediatek-res.apk
I: Framework installed to: bin\framework\2.apk
[*] Installing framework SystemUI.apk
I: Framework installed to: bin\framework\127.apk
[*] Recompiling TeleService
I: Using Apktool 2.2.0_0621
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
W: warning: string 'absent_num' has no default translation.
W: warning: string 'callFailed_cb_enabled' has no default translation.
W: warning: string 'callFailed_congestion' has no default translation.
W: warning: string 'callFailed_dsac_restricted' has no default translation.
W: warning: string 'callFailed_dsac_restricted_emergency' has no default translation.
W: warning: string 'callFailed_dsac_restricted_normal' has no default translation.
W: warning: string 'callFailed_fdn_only' has no default translation.
W: warning: string 'callFailed_invalid_credentials' has no default translation.
W: warning: string 'callFailed_limitExceeded' has no default translation.
W: warning: string 'callFailed_noSignal' has no default translation.
W: warning: string 'callFailed_number_unreachable' has no default translation.
W: warning: string 'callFailed_outOfService' has no default translation.
W: warning: string 'callFailed_out_of_network' has no default translation.
W: warning: string 'callFailed_powerOff' has no default translation.
W: warning: string 'callFailed_server_error' has no default translation.
W: warning: string 'callFailed_server_unreachable' has no default translation.
W: warning: string 'callFailed_timedOut' has no default translation.
W: warning: string 'callFailed_unobtainable_number' has no default translation.
W: warning: string 'callFailed_userBusy' has no default translation.
W: warning: string 'call_lost' has no default translation.
W: warning: string 'confCall' has no default translation.
W: warning: string 'prefer_2g' has no default translation.
W: warning: string 'prefer_2g_summary' has no default translation.
W: warning: string 'preferred_network_mode_lte_cdma_summary' has no default translation.
W: G:\Android\Develop\BatchApkTool350s\BatchApkTool\bin\..\_INPUT_APK\TeleService\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').
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Lord\AppData\Local\Temp\BAT_temp\brut_util_Jar_7730726614405888323.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-eng.kupyxa4444.1452701589, -F, C:\Users\Lord\AppData\Local\Temp\BAT_temp\APKTOOL884800051196399711.tmp, -0, arsc, -0, arsc, -I, .\framework\1.apk, -S, G:\Android\Develop\BatchApkTool350s\BatchApkTool\bin\..\_INPUT_APK\TeleService\res, -M, G:\Android\Develop\BatchApkTool350s\BatchApkTool\bin\..\_INPUT_APK\TeleService\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:371)
at brut.androlib.Androlib.build(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:254)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Lord\AppData\Local\Temp\BAT_temp\brut_util_Jar_7730726614405888323.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-eng.kupyxa4444.1452701589, -F, C:\Users\Lord\AppData\Local\Temp\BAT_temp\APKTOOL884800051196399711.tmp, -0, arsc, -0, arsc, -I, .\framework\1.apk, -S, G:\Android\Develop\BatchApkTool350s\BatchApkTool\bin\..\_INPUT_APK\TeleService\res, -M, G:\Android\Develop\BatchApkTool350s\BatchApkTool\bin\..\_INPUT_APK\TeleService\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:436)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Lord\AppData\Local\Temp\BAT_temp\brut_util_Jar_7730726614405888323.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-eng.kupyxa4444.1452701589, -F, C:\Users\Lord\AppData\Local\Temp\BAT_temp\APKTOOL884800051196399711.tmp, -0, arsc, -0, arsc, -I, .\framework\1.apk, -S, G:\Android\Develop\BatchApkTool350s\BatchApkTool\bin\..\_INPUT_APK\TeleService\res, -M, G:\Android\Develop\BatchApkTool350s\BatchApkTool\bin\..\_INPUT_APK\TeleService\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:430)
... 6 more
[*] ---> Error recompiling "TeleService"
DONE with 1 ERRORS.

please help me....

Related

[Q] MIUI port help needed from devs

Please Refer the below link first to know what procedure i have followed.
http://forum.xda-developers.com/showthread.php?t=1479493
After running make command to make a ported zip file, got this error. Please tell me what about the error is and how can i fix that.
Code:
cp /home/jayasimha/thepatcher/miui/system/framework/framework-miui-res.apk .build/ZIP/system/framework/framework-miui-res.apk
build .build/framework-res.apk...
--------------------------------------------
cp -r framework-res .build
/home/jayasimha/thepatcher/tools/apktool b .build/framework-res .build/framework-res.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'wifi_available' has no default translation in /home/jayasimha/thepatcher/i9100G/.build/framework-res/res; found: ms
aapt: warning: string 'wifi_available_detailed' has no default translation in /home/jayasimha/thepatcher/i9100G/.build/framework-res/res; found: ms
I: Building apk file...
cp apks-unsinged to zip dirs
cp .build/framework-res.apk .build/ZIP/system/framework/framework-res.apk
build .build/MIUISystemUI.apk...
--------------------------------------------
cp -r SystemUI .build
/home/jayasimha/thepatcher/tools/apktool b .build/SystemUI .build/MIUISystemUI.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
res/drawable-hdpi/status_bar_background.png:0: error: Resource entry status_bar_background is already defined.
res/drawable-hdpi/status_bar_background.9.png:0: Originally defined here.
/home/jayasimha/thepatcher/i9100G/.build/SystemUI/res/values/styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Holo.Light.Panel'.
/home/jayasimha/thepatcher/i9100G/.build/SystemUI/res/values/styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Holo.Light.Panel'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL2651416676899838457.tmp, -I, /home/jayasimha/apktool/framework/1.apk, -S, /home/jayasimha/thepatcher/i9100G/.build/SystemUI/res, -M, /home/jayasimha/thepatcher/i9100G/.build/SystemUI/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL2651416676899838457.tmp, -I, /home/jayasimha/apktool/framework/1.apk, -S, /home/jayasimha/thepatcher/i9100G/.build/SystemUI/res, -M, /home/jayasimha/thepatcher/i9100G/.build/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
make: *** [.build/MIUISystemUI.apk] Error 1

[Q] Having problems when I compile with APKTOOL

Hi! As the title says, I'm having problems when i compile with APKTOOL. The apk in matter is SecSettings.apk. My phone is a Samsung Galaxy Note GT-N7000 running Jelly Bean Touchwiz and i have both framework-res.apk and twframework.res installed in APKTOOL. But it's not the only apk (SecSettings) which i have problems: If i try to recompile framework-res again i have a close-to-same error and the folder "dist" with the modded apk is not created. I'm attaching the error in CMD. Hope you guys can help me!
Code:
C:\Users\Julian\Desktop\ordenar\APKTOOL>apktool d SecSettings.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Julian\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\Julian\Desktop\ordenar\APKTOOL>apktool b SecSettings
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Julian\Desktop\ordenar\APKTOOL\SecSettings\res\xml\device_info_settings
.xml:3: error: Error parsing XML: not well-formed (invalid token)
aapt: warning: string 'lgt_service_global_auto_roaming_call_customcenter_summary
_nocall' has no default translation in C:\Users\Julian\Desktop\ordenar\APKTOOL\S
ecSettings\res; found: de es_ES fr it pl ru
aapt: warning: string 'onscreen_keypad' has no default translation in C:\Users\J
ulian\Desktop\ordenar\APKTOOL\SecSettings\res; found: az bg ca cs da de el en_US
es_ES es_US et eu fi fr ga gl hr hu hy is it ka kk ko lt lv mk nb nl pl pt_BR p
t_PT ro ru sk sl sr sv tr uk uz
aapt: warning: string 'wifi_scc_diff_notification_dialog_msg' has no default tra
nslation in C:\Users\Julian\Desktop\ordenar\APKTOOL\SecSettings\res; found: az b
g ca cs da de el en_US es_ES es_US et eu fi fr ga gl hr hu hy is it ka kk lt lv
mk nb nl pl pt_BR pt_PT ro ru sk sl sr sv tr uk uz
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Julian\AppData\Local\Tem
p\APKTOOL2031307369933499447.tmp, -0, arsc, -I, C:\Users\Julian\apktool\framewor
k\1.apk, -S, C:\Users\Julian\Desktop\ordenar\APKTOOL\SecSettings\res, -M, C:\Use
rs\Julian\Desktop\ordenar\APKTOOL\SecSettings\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\Julian\AppData\Local\Temp\APKTOOL2031307369933499447.tmp, -0, arsc, -I, C
:\Users\Julian\apktool\framework\1.apk, -S, C:\Users\Julian\Desktop\ordenar\APKT
OOL\SecSettings\res, -M, C:\Users\Julian\Desktop\ordenar\APKTOOL\SecSettings\And
roidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\Julian\AppData\Local\Temp\
APKTOOL2031307369933499447.tmp, -0, arsc, -I, C:\Users\Julian\apktool\framework\
1.apk, -S, C:\Users\Julian\Desktop\ordenar\APKTOOL\SecSettings\res, -M, C:\Users
\Julian\Desktop\ordenar\APKTOOL\SecSettings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
Try this
Code:
apktool b -f -d SecSettings
Sent from my GT-I9500 using Tapatalk

Apktool compiling failed

Hello! I'm trying to recompile the DocumentsUI(from the ICE ROM Sense 8.0 Android 7.0, HTC One M9) .apk after I've changed it's icons with the ones from the Pixel's .apk, but it it fails. Can someone please help me?
Error
Code:
:\Users\Not Your Business\Apktool>java -jar apktool.jar b DocumentsUI
I: Using Apktool 2.2.2
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
W: C:\Users\Not Your Business\Apktool\DocumentsUI\res\layout\dialog_delete_confirmation.xml:2: error: Error: Resource is not public. (at 'textColor' with value '@android:color/background_floating_material_dark').
W:
W: C:\Users\Not Your Business\Apktool\DocumentsUI\res\drawable\progress_indeterminate_horizontal_material_trimmed.xml:4: error: Error: Resource is not public. (at 'animation' with value '@android:anim/progress_indeterminate_horizontal_rect1').
W:
Exception in thread "main" W: C:\Users\Not Your Business\Apktool\DocumentsUI\res\drawable\progress_indeterminate_horizontal_material_trimmed.xml:5: error: Error: Resource is not public. (at 'animation' with value '@android:anim/popup_exit_material').
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Not Your Business~1\AppData\Local\Temp\brut_util_Jar_4876271847518240057.tmp, p, --forced-package-id, 127, --min-sdk-version, 24, --target-sdk-version, 24, --version-code, 24, --version-name, 7.0, --no-version-vectors, -F, C:\Users\Not Your Business~1\AppData\Local\Temp\APKTOOL1667677468902537463.tmp, -0, arsc, -0, arsc, -I, C:\Users\Not Your Business\AppData\Local\apktool\framework\1.apk, -S, C:\Users\Not Your Business\Apktool\DocumentsUI\res, -M, C:\Users\Not Your Business\Apktool\DocumentsUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:477)
at brut.androlib.Androlib.buildResources(Androlib.java:411)
at brut.androlib.Androlib.build(Androlib.java:310)
at brut.androlib.Androlib.build(Androlib.java:263)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Not Your Business~1\AppData\Local\Temp\brut_util_Jar_4876271847518240057.tmp, p, --forced-package-id, 127, --min-sdk-version, 24, --target-sdk-version, 24, --version-code, 24, --version-name, 7.0, --no-version-vectors, -F, C:\Users\Not Your Business~1\AppData\Local\Temp\APKTOOL1667677468902537463.tmp, -0, arsc, -0, arsc, -I, C:\Users\Not Your Business\AppData\Local\apktool\framework\1.apk, -S, C:\Users\Not Your Business\Apktool\DocumentsUI\res, -M, C:\Users\Not Your Business\Apktool\DocumentsUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:440)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:463)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Not Your Business~1\AppData\Local\Temp\brut_util_Jar_4876271847518240057.tmp, p, --forced-package-id, 127, --min-sdk-version, 24, --target-sdk-version, 24, --version-code, 24, --version-name, 7.0, --no-version-vectors, -F, C:\Users\Not Your Business~1\AppData\Local\Temp\APKTOOL1667677468902537463.tmp, -0, arsc, -0, arsc, -I, C:\Users\ZNot Your Business\AppData\Local\apktool\framework\1.apk, -S, C:\Users\Not Your Business\Apktool\DocumentsUI\res, -M, C:\Users\Not Your Business \Apktool\DocumentsUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:434)
... 6 more
W:
W: C:\Users\Not Your Business\Apktool\DocumentsUI\res\color\item_root_icon.xml:4: error: Error: Resource is not public. (at 'color' with value '@android:color/primary_text_disable_only_material_light').
W:
W: C:\Users\Not Your Business\Apktool\DocumentsUI\res\color\item_root_primary_text.xml:6: error: Error: Resource is not public. (at 'color' with value '@android:color/background_floating_material_dark').
W:
W: C:\Users\Not Your Business\Apktool\DocumentsUI\res\color\item_root_primary_text.xml:6: error: Error: Resource is not public. (at 'alpha' with value '@android:dimen/hint_pressed_alpha_material_dark').
W:
W: C:\Users\Not Your Business\Apktool\DocumentsUI\res\color\item_root_primary_text.xml:7: error: Error: Resource is not public. (at 'color' with value '@android:color/background_floating_material_dark').
W:
W: C:\Users\Not Your Business\Apktool\DocumentsUI\res\color\root_activated.xml:5: error: Error: Resource is not public. (at 'color' with value '@android:color/primary_text_disable_only_material_light').

[Q] Pixel Animated Navigation Bar Porting Issues

I was porting Pixel navigation bar and I have an issue and that is when I am compiling the systemUI.apk and it is throwing me an error I have followed all the steps from this tutorial
Error:
Code:
C:\Users\Xaif\Desktop\LineagePort>java -jar apktool.jar b SystemUI -c
I: Using Apktool 2.2.2
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
W: C:\Users\Xaif\Desktop\LineagePort\SystemUI\res\values\styles.xml:2139: error:
Error retrieving parent for item: No resource found that matches the given name
'@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\Xaif\Desktop\LineagePort\SystemUI\res\values\styles.xml:2140: error:
Error retrieving parent for item: No resource found that matches the given name
'@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\Xaif\Desktop\LineagePort\SystemUI\res\values\styles.xml:2145: error:
Error retrieving parent for item: No resource found that matches the given name
'@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\Xaif\Desktop\LineagePort\SystemUI\res\values\styles.xml:2155: error:
Error retrieving parent for item: No resource found that matches the given name
'@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\Xaif\Desktop\LineagePort\SystemUI\res\values\styles.xml:2258: error:
Error retrieving parent for item: No resource found that matches the given name
'@android:style/Theme.DeviceDefault.Settings.Dark'.
W:
W: C:\Users\Xaif\Desktop\LineagePort\SystemUI\res\values\styles.xml:2365: error:
Error retrieving parent for item: No resource found that matches the given name
'@android:style/Theme.DeviceDefault.Settings.Dark'.
Exception in thread "main" W:
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.Br
utException: could not exec (exit code = 1): [C:\Users\Xaif\AppData\Local\Temp\b
rut_util_Jar_4007376053499372905.tmp, p, --forced-package-id, 127, --min-sdk-ver
sion, 25, --target-sdk-version, 25, --version-code, 25, --version-name, 7.1.1, -
-no-version-vectors, -F, C:\Users\Xaif\AppData\Local\Temp\APKTOOL889014957634349
2479.tmp, -0, arsc, -0, arsc, -I, C:\Users\Xaif\AppData\Local\apktool\framework\
1.apk, -S, C:\Users\Xaif\Desktop\LineagePort\SystemUI\res, -M, C:\Users\Xaif\Des
ktop\LineagePort\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:477)
at brut.androlib.Androlib.buildResources(Androlib.java:411)
at brut.androlib.Androlib.build(Androlib.java:310)
at brut.androlib.Androlib.build(Androlib.java:263)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec (exit code = 1): [C:\Users\Xaif\AppData\Local\Temp\brut_util_Jar_400737605
3499372905.tmp, p, --forced-package-id, 127, --min-sdk-version, 25, --target-sdk
-version, 25, --version-code, 25, --version-name, 7.1.1, --no-version-vectors, -
F, C:\Users\Xaif\AppData\Local\Temp\APKTOOL8890149576343492479.tmp, -0, arsc, -0
, arsc, -I, C:\Users\Xaif\AppData\Local\apktool\framework\1.apk, -S, C:\Users\Xa
if\Desktop\LineagePort\SystemUI\res, -M, C:\Users\Xaif\Desktop\LineagePort\Syste
mUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:440)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:463)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\
Xaif\AppData\Local\Temp\brut_util_Jar_4007376053499372905.tmp, p, --forced-packa
ge-id, 127, --min-sdk-version, 25, --target-sdk-version, 25, --version-code, 25,
--version-name, 7.1.1, --no-version-vectors, -F, C:\Users\Xaif\AppData\Local\Te
mp\APKTOOL8890149576343492479.tmp, -0, arsc, -0, arsc, -I, C:\Users\Xaif\AppData
\Local\apktool\framework\1.apk, -S, C:\Users\Xaif\Desktop\LineagePort\SystemUI\r
es, -M, C:\Users\Xaif\Desktop\LineagePort\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:434)
... 6 more

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