2018-04-06 18:07:30 +02:00
|
|
|
## Automatic Remapping of ResourceId
|
|
|
|
We currently prevent resourceIds from changing, by utilizing the `public.xml` file which makes the resources public, but
|
|
|
|
then prevents them to be used in some locations (`android:scheme`). The correct fix would be to record the resourceIds
|
|
|
|
and use dexlib2 (no regular expressions) to rewrite them to the new resourceId after the `resources.arsc` is built.
|
|
|
|
|
|
|
|
This would be a lookup table of old->new resourceIds leveraging the API of dexlib2 to do the replacement. Doing this
|
|
|
|
properly would nullify the need to do [#191](https://github.com/iBotPeaches/Apktool/issues/191)
|
|
|
|
|
2020-11-28 22:41:42 +01:00
|
|
|
Suggestions: [#244](https://github.com/iBotPeaches/Apktool/issues/244)
|
2020-11-28 23:43:21 +01:00
|
|
|
Discussions: [#2062](https://github.com/iBotPeaches/Apktool/issues/2062)
|
2020-11-28 22:41:42 +01:00
|
|
|
|
|
|
|
## Implicit Qualifiers Cleanup
|
|
|
|
Currently we have a mismatch between reading the folders and reading the qualifiers which leads to a mismatch between
|
|
|
|
implicit qualifiers like version (-v4, v13, etc).
|
|
|
|
|
|
|
|
This was first spotted in bug [#1272](https://github.com/iBotPeaches/Apktool/issues/1272).
|
|
|
|
|
|
|
|
This was attempted to be fixed in [!1758](https://github.com/iBotPeaches/Apktool/pull/1758/files), but had to be
|
|
|
|
reverted due to [this](https://github.com/iBotPeaches/Apktool/issues/1272#issuecomment-379345005).
|
|
|
|
|
2020-11-29 13:27:46 +01:00
|
|
|
Suggestions: [#2237](https://github.com/iBotPeaches/Apktool/issues/2237)
|
|
|
|
|
|
|
|
## Qualifier Plugin System
|
|
|
|
For some OEMs, past and present. They re-use qualifiers that AOSP ends up using. This with CTS is becoming very
|
|
|
|
rare and pretty much a problem of the past, but now custom modifications and more "off the cuff" OEMs are doing
|
2021-11-27 13:15:54 +01:00
|
|
|
it.
|
2020-11-29 13:27:46 +01:00
|
|
|
|
|
|
|
Apktool can't do anything because it stays true to AOSP. It would need a plugin system that controls how to
|
|
|
|
read the qualifiers. Or even an override file.
|
|
|
|
|
2020-12-11 18:19:40 +01:00
|
|
|
Suggestions: [#1420](https://github.com/iBotPeaches/Apktool/issues/1420), [#2474](https://github.com/iBotPeaches/Apktool/issues/2474)
|
2020-11-29 13:30:55 +01:00
|
|
|
|
2020-11-29 14:06:23 +01:00
|
|
|
## Non-reference Resources
|
|
|
|
Some applications may shove resources into the /res folder, but have no references to them. Apktool follows
|
|
|
|
the resource table, so these files are effectively abandoned.
|
|
|
|
|
|
|
|
Crawling the filesystem for non-checked files would be slow especially having to cross check with already
|
|
|
|
parsed files.
|
|
|
|
|
2020-12-11 18:19:40 +01:00
|
|
|
Suggestions: [#1366](https://github.com/iBotPeaches/Apktool/issues/1366)
|
2021-11-27 13:15:54 +01:00
|
|
|
|
|
|
|
## Multi-threaded
|
|
|
|
Applications are getting larger as well as frameworks, but Apktool is getting slower.
|
|
|
|
|
|
|
|
Suggestions: [#2685](https://github.com/iBotPeaches/Apktool/issues/2685)
|
2022-05-07 13:04:08 +02:00
|
|
|
|
|
|
|
## Android Support
|
|
|
|
Folks have requested running Apktool on device itself. This has been a challenge due to the arch requirements
|
|
|
|
that would be placed on the aapt2/aapt binaries.
|
|
|
|
|
|
|
|
Suggestions: [#2811](https://github.com/iBotPeaches/Apktool/issues/2811)
|