Skip to content

Conversation

@IamCOD3X
Copy link

Feat: Update log saving location to improve accessibility on Android 11+

Previously, logs were saved to the /android/data/com.tortel.syslog/ directory, which became inaccessible starting from Android 11 due to scoped storage restrictions. This update changes the log saving mechanism to store logs in the Downloads/SysLog/ directory, ensuring logs are saved in an accessible location for easier retrieval and debugging.

This update is especially useful for developers working with custom Android OS versions or custom kernel upstreaming, where network connectivity (Wi-Fi, SIM, Bluetooth) may be disrupted. With this change, users can now access and share logs using alternative methods, improving troubleshooting even in offline scenarios.

Previously, logs were saved to the /android/data/appname/ directory, which became inaccessible in Android 11 and above due to scoped storage restrictions. This update modifies the log saving mechanism to store logs in the Downloads/appname/ directory, ensuring logs are stored in an accessible location for easier retrieval and debugging.

This change helps developers, especially when upgrading custom Android OS versions or upstreaming custom kernels, where network connectivity may be broken (Wi-Fi, SIM, or Bluetooth). With this update, users can now copy and share logs using alternative methods, improving troubleshooting in offline scenarios.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants