-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APKTool 2.0.0 Loses Data #934
Comments
The problem also appears with APKTool 2.0.0 RC4 but it's much less serious. Only attributes such as "android:paddingMode" in "layer-list" tag and "android:touchscreenBlocksFocus" in "android.support.v7.internal.widget.ActionBarContainer" tag are lost. |
Attributes going missing is usually an indication of a framework problem. This apk has a dependency on resources with According to
Application However, I follow this method for testing.
Then I compare the decoded folders of
Apktool does currently ignore no extension files. This is a regression from a previous fix confirmed in bug #921. So yes there is a problem here somewhere, or its a side effect of the above problem. If you can find that framework file and upload it. That'll be great! |
Yeah, sorry I forgot to add the framework files, here they are: |
So, how is it going? |
So after fixing #913 and #921, I took a look at this. I see the missing extensions, but there is no problem here. Take the first example we encounter.
We get this commit: aosp-mirror/platform_frameworks_base@7eec10e, on Nov. 12, 2010. So the next public version to use this branch was Honeycomb (API 11). This means any API less than 11, has no idea what that attribute ( Here is the
Then we have a new folder If we peek at the file in
Boom. There is our If the OEM, didn't screw up the basic AOSP qualifier system then this should work fine as resources have simply been organized to allow a more optimized loading system. This is what is happening in the application for all API breakpoints at I believe |
APKTool 2.0.0 just throws away a lot of data - properties and style attributes, missing folders...
Just compare the 2 folders with WinMerge and you'll see how much mess there is.
"original" folder is the original APK decompiled, while "recompiled" folder is the recompiled APK which was decompiled again.
https://mega.co.nz/#!qVgSlKSL!vXRPIO8G12v6Q48-sNMCSQnzaHcSyq43I4Hj5Z5GVCI
The text was updated successfully, but these errors were encountered: