We continue with...
Let's start explaining how to modify SystemUI.apk, SecSettings.apk, framework-res.apk and the * .jar of Samsung Oreo
I want to explain my procedure, which is the one that is not giving me any problem of any kind, it may be that other DEV, do it differently.
We are going to have 2 copies of SecSettings.apk, each with a different name so as not to get involved,
for example SecSettings_origen.apk and another with a different name, for example SecSettings_mod0.apk.
We open both with 7zip
In SecSettings_mod0.apk we open the anim folder, and in SecSettings_origen.apk anim-v21,
we copy paste from anim-v21, in anim.
In SecSettings_mod0.apk we open the color folder, and in SecSettings_origen.apk color-v11 and color-v23,
copy paste color-v11 and color-v23, in color.
In SecSettings_mod0.apk we open the drawable folder, and in SecSettings_origen.apk drawable-v21 and drawable-v23,
We copy paste from drawable-v21 and drawable-v23, in drawable.
In SecSettings_mod0.apk we open the layout folder, and in SecSettings_origen.apk layout-v11, layout-v21 and layout-v26,
copy paste from layout-v11, layout-v21 and layout-v26, in layout.
We have prepared SecSettings_mod0.apk to decompile, decompile.
We will see that the names of some folders have been renamed eliminating the term -v ...
Go to res / values / styles.xml and delete the following line:
<item name="dropdownPreferenceStyle">@style/SettingsDropdownPreference</item> ## Delete line
We save and close, and compile,
We have compiled the SecSettings_mod0.apk, we are going to rename it to not get involved, for example SecSettings_mod0_compilado.apk.
Now we have to use SecSettings_mod0.apk and SecSettings_mod0_compilado.apk, we open both with 7zip.
Unlike SystemUI.apk, the folder res is not completely copied, the reason we can have a fix, for example in fingerprints.
I leave an image of the folders to be copied (marked in blue) of SecSettings_mod0_compilado.apk in SecSettings_mod0.apk,
what I do to make my job easier and not having any mess is to eliminate what I do not have to go through (everyone who does it their own way)
but only the folders of the image, and then I copy / paste the folder res, resources.arsc, classes.dex and classes2.dex of SecSettings_mod0_compilado.apk in SecSettings_mod0.apk
With this we will have prepared the SecSettings.apk prepared for future modifications and we will not have any problem in decompilation and compilation.
In future modifications, just copy / paste what has been modified.
If it influences resources.arsc, classes.dex and classes2.dex, of course what has been modified, but,
if the modification influences an * .xml we will only pass that * .xml in in the corresponding folder, we will avoid fix.
I leave descriptive images of the steps, for better understanding.