-
-
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
[BUG] Android Beta m5-rc14 Home can´t be decompiled. (Yes, i know, that this an very, very old Android version, but maybe it can be fixed) #3311
Comments
Yeah doesn't work on latest. I'll take a look when I'm back in the zone of disassembly errors and take another look. |
Thanks |
The same with all Apks from Android Beta m5-rc-14. All available at https://github.com/user0-tb/ApktoolDebug |
Is it fixable? |
Sorry I don't tend to like mixing working on issues recently. I've found it more helpful for me to stay focused on an a single issue on the way towards resolution. Once I'm complete with my latest ticket (#2836) - I'll revisit open tickets. So I don't have an answer yet. |
If you need any Files or Source Code, ask me, before closing issue, because I have some Source Code of Android Beta M5 and M3. |
I took a look - this is because we either regressed or the packing order of chunks was different back then.
What I tend to normally expect
We are basically reading types without specs so lots of NPEs on that path. Probably fixable if we change up our type loading to be more deferred. |
This looks to be a never ending journey of patches. I'm going to toss in backlog @user0-tb. If you have source of the framework-res or ResourceTypes.h - I can revisit. |
Here @iBotPeaches |
@user0-tb - This doesn't look like the source of the application, just the source (java) portion. |
I've decided after peeking a bit more - that there is real no chance of this older M builds working on compilation. The build tools of this era will generate a resource table that Milestone builds from '08 have zero chance of understanding. So I'll merge a PR that at least fixes disassembly, but not going to have any chance of compilation. This seems like a happy medium for how old this is. Ticket will close on merge of PR. |
It´s working now! Thanks @iBotPeaches! |
Information
apktool -version
) - 2.8.1java --version
) -java version "1.8.0_381"
Java(TM) SE Runtime Environment (build 1.8.0_381-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.381-b09, mixed mode)
Stacktrace/Logcat
Steps to Reproduce
apktool d Home.apk
Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(
.apks
that live in/system/framework
or/system/priv-app
)Android Beta m3 framework-res.apk(doesn't changed anything to M5)
APK
If this APK can be freely shared, please upload/attach a link to it.
Home.apk
Questions to ask before submission
apktool d
,apktool b
without changing anything? - No, because it can´t decompileThe text was updated successfully, but these errors were encountered: