Depend by many values/settings and by the framework-res.apk.
You should use latest vesrion of apktool/baksmali/smali and install the framework.
Then now you can try to decompile/recompile the framework-res.apk.
Yes, I use all the new (2.2.4) versions and install framework but the recompilation is with the warning "Could not be find resources" and after use of "new" framework-res.apk I get a bootloop.
The problem with this warning is also, if only just decomil/recompil. framework-res.apk without any modifications. It exists in my case for various framework (LOS, PA and other). All need software are updated.
I installed the framework the I decompiled/revompiled the framework-res.apk
- Recompiling without make changes
I: Using Apktool 2.2.5-481299-SNAPSHOT
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
W: warning: string 'global_action_reboot' has no default translation.
I: Building apk file...
I: Copying unknown files/dir...
The only warning is about a missing global string.
But it's a warning. Is not an important issues.
I used a recent apktool/baksmali/smali version.
Google is also warning developers that Android P is going to start throwing up warning boxes at users when they install apps that “targets a platform earlier than Android 4.2.” Basically, if you’re not using a recent SDK for your app, Google will make you feel bad by making your users distrust your app a little. It’s also going to expect that apps submitted to the Google Play store target Android Oreo in November and, in 2019, that they support 64-bit hardware.
## Sign apk SIGN TOOL = Program_Files\signapk.jar CERTIFICATE = Program_Files\testkey.x509.pem KEY = Program_Files\testkey.pk8 APK NAME = readittome UNSIGNED APK = Compiled_apk\readittome-unsigned.apk SIGNED APK = Signed_apk\readittome-signed.apk ## Signing Signed_apk\readittome-signed.apk started... Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder at com.android.signapk.SignApk.addDigestsToManifest(SignApk.java:182) at com.android.signapk.SignApk.main(SignApk.java:451) Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Encoder at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) ... 2 more ## Signing Signed_apk\readittome-signed.apk completed # Press any key to continue or CTRL + C to break
Very nice tool!
One feature request, could you have a checkbox for say the -b command so that we can get rid of the useless .linexx and .parameterxx lines? That would make this tool perfect
Another feature is adding the twframework-res.apk as a framework file? Thats essential for modding samsung system apk's. I usually have to install both twframework-res.apk and framework-res.apk before decompiling. Maybe adding 2 slots for the framework in the tool?