| Non-Confidential - REL | 101545__00_en | |||
| ||||
| Home > The Graphics Analyzer interface > Target-side headless mode > File locations | ||||
The locations for the configuration file and the output trace file on the target device depend on the target OS.
By default, trace files are saved to the $EXTERNAL_STORAGE/traces/ directory if the application loading the
interceptor has the Android WRITE_EXTERNAL_STORAGE
permission, or /data/user/<user_id>/<package_name> if the
permission is not available.
Place the default configuration file in $EXTERNAL_STORAGE/aga-headless.conf if the application loading the
interceptor library has the Android READ_EXTERNAL_STORAGE permission,
or /data/user/<user_id>/<package_name>/aga-headless.conf if not.
WRITE_EXTERNAL_STORAGE permission and that the application has
that permission enabled in Settings. Without this permission, it is not
possible to set the configuration file for the application or write the
trace files, as internal application storage cannot be accessed without
su, which requires the device to be
rooted.adb logcat -s audit.
You can solve the issue by disabling SELinux on your rooted device.WRITE_EXTERNAL_STORAGE
permission also implicitly grants READ_EXTERNAL_STORAGE, so if this permission is available, the
interceptor always looks for the config file in $EXTERNAL_STORAGE/aga-headless.conf.Trace files are saved to the $HOME/traces/ directory by default.
Place the configuration file in $HOME/aga-headless.conf.