This repo contains the companion Android app used by the ADB BAT script to delete SAF-protected folders (Android/media, Android/data, Download).
- Ensure this repo is pushed to GitHub under
mainbranch. - The workflow
.github/workflows/build-apk.ymlwill run on push and produce a downloadable artifactonepluscleaner-apkcontainingapp-debug.apk.
CI expects gradle/wrapper/gradle-wrapper.jar to exist. If it's missing, the workflow will download a full Gradle distribution and use it to run the build.
Locally, you can generate the Gradle wrapper by running gradle wrapper or by opening the project in Android Studio and letting it generate the wrapper.
Open this project in Android Studio and Build → Build APK(s). The debug APK will be at app/build/outputs/apk/debug/app-debug.apk.
- The app uses SAF to delete folders; you must pick folders on the phone when the app launches.
- Back up important files before performing aggressive cleanup.