After you have downloaded AGC Toolkit (GCamTools) from @bigkaka, I recommend familiarizing yourself with the user guide to make it easier for you to create Google Camera configs using this application. So, let’s get started.
This is what AGC Toolkit will look like immediately after installation.
Upon the first installation, the user needs to grant “Access to all files,” so please tap the “plus” button in the top right corner and provide the application access as shown below.
How to Copy Profiles Between Lenses
How to Add Profiles
Please follow the steps mentioned above to add a profile in AGC Toolkit.
First, add the “Config” file you want to modify, then proceed as shown in the example below.
Once you tap “edit,” the display will look something like the image below.
How to Copy Profiles
Select the profiles you want to copy and press the “Copy” option, as shown above.
Choose the lenses you want to copy the profiles to.
AGC Toolkit will automatically save the configuration.
Now you can check and use the configuration with AGC.
Note: Please be aware that you need to use the configuration with the appropriate version of the Google Camera mod.
What to Do If You See Only 2, 3, or 4 Lenses in the Loaded AGC Toolkit Configuration Instead of All 5 Lenses?
The number of lenses you see depends on the number of lenses specified in the XML configuration file.
If you see something similar, it means not all lenses are configured.
How to Fix It? Load the configuration into AGC (correct version), create a sample profile in each lens, and save it. Then load it into AGC Toolkit. You will see the additional lenses then.
Please note that the lens numbers are not in order. Therefore, you’ll need to determine which of them (2/3/4/5) corresponds to the front camera and other auxiliary lenses. Since the order cannot be specified for each user, you will need to figure out which number corresponds to “which lens” and copy accordingly.
What Does “Clear Keys” Mean?
Clearing keys removes libpatcher entries in the profiles, allowing the XML config creator to focus solely on libpatcher entries.
What Is the “Common Version”?
Since XML files contain device-specific lens identifiers where they were created, the “common version” removes lens details, making the XML file loadable on devices with different lens identifiers without losing functionality.
How to Use AGC Toolkit for Custom Patching
In each profile for each lens in AGC, there is an option for “Custom Patcher,” as shown below.
The information dialog appears as shown in the image below.
To get the “Custom Patcher,” you need to press the icon denoted in red as shown below “In AGC Toolkit.”
The libpatcher items will be displayed as shown in the image below.
Click on the parameter you want to use for “Custom Ranges,” and the following screen will open, as shown below.
This is how XML config developers should use the aforementioned AGC Toolkit.
Please note that AGC Toolkit is still in development. Many addresses have not yet been fixed for accurate HEX value calculation. Several addresses do not have “default values” for reference. All of this requires fine-tuning.