Remove any older version installs from the device.
- Make the Android application debuggable
- Compile the APK file and add ids. The
decompile_and_add_id
method for adding the required ids - Recompile and run the IDed APK
- Dump the ViewHeirarcy and take screenshots of the three different variation
- Dump the state using Android Satate Dumper
- Parse the dumped files into XML
- Merge the VH and State
- Add origin atrribures
- Run the method for handling margin and paddings
runOwlEye.java
is responsible for generating the UI fixes.
Python functions for steps 5, 6, 7, and 8 are provided in the curated_methods.py
file. The name of the function is statedumper_running_state
Note: Copy the config_data
file and change the required information. Currently, it has hardcoded paths.
Create the environment variable "CONFIG_PATH" and provide the path of the updated config path.