[Sony Xperia X Compact Questions & Answers] Blue-Haze:
Thanks for this information. First i have tried using a apktools app, but after all the process get boot looping in Sony's logo. After I tried to make from ADB, and I think I found the error. I cant recompile framework-res, after change values , can you help? I just change the values in dimens.xml, anything else. Dont need to sign, just recompile, right? It seens a easy process, idk what I did wrong...

Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak

------------------------------------------------------

W: Could not find sources

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec: [aapt, p, --forced-package-id, 1, --min-sdk-version, 25, --target-sdk-version, 25, --version-code, 25, --version-name, 7.1.1, --no-version-vectors, -F, C:\Users\Thiago\AppData\Local\Temp\APKTOOL17399877338264979009.tmp, -x, -0, arsc, -0, arsc, -S, C:\Users\Thiago\Desktop\1\3-Out\framework-res.apk\res, -M, C:\Users\Thiago\Desktop\1\3-Out\framework-res.apk\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: [aapt, p, --forced-package-id, 1, --min-sdk-version, 25, --target-sdk-version, 25, --version-code, 25, --version-name, 7.1.1, --no-version-vectors, -F, C:\Users\Thiago\AppData\Local\Temp\APKTOOL17399877338264979009.tmp, -x, -0, arsc, -0, arsc, -S, C:\Users\Thiago\Desktop\1\3-Out\framework-res.apk\res, -M, C:\Users\Thiago\Desktop\1\3-Out\framework-res.apk\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: [aapt, p, --forced-package-id, 1, --min-sdk-version, 25, --target-sdk-version, 25, --version-code, 25, --version-name, 7.1.1, --no-version-vectors, -F, C:\Users\Thiago\AppData\Local\Temp\APKTOOL17399877338264979009.tmp, -x, -0, arsc, -0, arsc, -S, C:\Users\Thiago\Desktop\1\3-Out\framework-res.apk\res, -M, C:\Users\Thiago\Desktop\1\3-Out\framework-res.apk\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:97)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:434)

... 6 more

Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, O sistema não pode encontrar o arquivo especificado

at java.base/java.lang.ProcessBuilder.start(Unknown Source)

at java.base/java.lang.ProcessBuilder.start(Unknown Source)

at brut.util.OS.exec(OS.java:90)

... 7 more

Caused by: java.io.IOException: CreateProcess error=2, O sistema não pode encontrar o arquivo especificado

at java.base/java.lang.ProcessImpl.create(Native Method)

at java.base/java.lang.ProcessImpl.<init>(Unknown Source)

at java.base/java.lang.ProcessImpl.start(Unknown Source)

... 10 more

Look with what i have tried:

https://www.xda-developers.com/modify-android-framework-values-privset/

https://www.youtube.com/watch?v=iM1T5oOf_pc

https://xdaforums.com/showthread.php?t=2639400