1.0.0 • Published 4 years ago
@warren-bank/node-remap-apktool-unicode-filenames v1.0.0
rauf - remap apktool unicode filenames
Purpose:
- apktool is brilliant
- it works flawlessly 99.9% of the time
- having said that, there is one situation that it doesn't handle brilliantly
- sometimes it can produce smali filenames that contain unicode
- Android aapt only permits ascii
- when this occurs, the apk cannot be rebuilt
- the purpose of this command-line utility is to:
- walk the file tree
- detect .smali filenames that contain unicode
- rename the file
- perform search/replace to remap all references from the old name to the new
- class references in smali files
- package names in xml files
Installation:
npm install --global @warren-bank/node-remap-apktool-unicode-filenames
Usage:
rauf /path/to/decoded/apk/directory
Example:
apktool d /path/to/app.apk
rauf /path/to/app
apktool b /path/to/app -o /path/to/new_app.apk
Requirements:
- Node version: v10.16.0+ or v11.13.0+
Legal:
- copyright: Warren Bank
- license: GPL-2.0
1.0.0
4 years ago