mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-23 10:17:33 +01:00
Connor Tumbleson
e254cec648
rework manifest renaming
Issue #526, correctly handles apks where a renamed package is required, by comparing the package name present in AndroidManifest.xml and resources.arsc. If different, we take the package name present in resources.arsc (original) and replace it in the <manifest> tag of AndroidManifest.xml. The previous value in AndroidManifest.xml (renamed) becomes the value to be passed to aapt on rebuild via --rename-manifest-package Both these values along with the package id of the original are stored in apktool.yml, for use during the rebuild
Apktool
It is a tool for reverse engineering 3rd party, closed, binary Android apps. It can decode resources to nearly original form and rebuild them after making some modifications; it makes possible to debug smali code step by step. Also it makes working with app easier because of project-like files structure and automation of some repetitive tasks like building apk, etc.
It is NOT intended for piracy and other non-legal uses. It could be used for localizing, adding some features or support for custom platforms and other GOOD purposes. Just try to be fair with authors of an app, that you use and probably like.
Support
Links
Description
Languages
Java
98.6%
Shell
0.7%
Smali
0.5%
Batchfile
0.2%