Advanced Package Renaming Settings - Sombody101/APKognito GitHub Wiki

Advanced APKognito Settings

File Replace Regex String

This is a regex used throughout the package renaming process. It's default value is (?<=[./_])({value})(?=[./_]). The substring {value} is replaced with the original package company name one the renaming process starts. The button to the right of the text box is a reset button which will reset the regex string to its default value.

Note

It's important that the substring {value} be present and that the regex is valid, or the renaming process will not work. If you're trying to edit the regex, use regex.101 or other tools to make sure it won't fail.

Rename Options

Rename Libraries Toggle

This toggle determines if library binaries will be renamed (in the literal sense). Libraries are loaded at runtime based on their string name. So, sometimes renaming the name of the file is mandatory to make sure the linking process remains intact.

Rename Libraries Internally Toggle

Besides renaming binary files, sometimes there are native implementations to methods defined in Smali (Java) code. There's no need to worry about the binaries becoming corrupt as their renaming process only affects the string table sections. All code and binary sections are left untouched.

The format of these native link strings are:

Java_<tld>_<classes ...>_<method>

An example using realistic naming would be:

Java_com_sombody101_AppStartInvoker_ActionContextLocator_LocateContext

Rename OBB Files Internally Toggle

There isn't an option for renaming OBB files because that's a standard part of the renaming process, but renaming them internally isn't. With this, the file entries in every found OBB file are searched through in memory. If an entry either has the word "catalog" inside it or is a direct match to an entry in the Extra OBB Rename Paths text box, then it's fully extracted into memory, renamed, then repacked into the OBB.

OBB Renaming Extras

Extra OBB Rename Paths Text box

This box is disabled when the Rename OBB Files Internally toggle is disabled.

Every line in this textbox will be used as an internal file path in each OBB file found. For example, the if the path aa/Android/bin/tts/index.json is found in an OBB file, that file will be extracted into memory, renamed, then repacked. No error or warning will be triggered if it's not found.

Each item can be either comma or newline separated. They will be newline separated regardless of the method used the next time APKognito loads the saved values.

⚠️ **GitHub.com Fallback** ⚠️