Skip to content

RingOS Repackaging Automation and Optimization - #2

Open
cookiebaits wants to merge 1 commit into
harden-and-improve-ring-app-11999238470078141397from
feature/ringos-automation-12916559261288432307
Open

RingOS Repackaging Automation and Optimization#2
cookiebaits wants to merge 1 commit into
harden-and-improve-ring-app-11999238470078141397from
feature/ringos-automation-12916559261288432307

Conversation

@cookiebaits

Copy link
Copy Markdown
Owner

This PR introduces a fully automated repackaging workflow for the 'Da Rings' application, rebranded as 'RingOS'. It converts the original split APK architecture into a single, optimized APK.

Key changes:

  1. Automation Script (repackage.sh): A robust bash script that handles decoding, resource merging, manifest patching, building with AAPT2, aligning, and signing.
  2. AAPT2 Compatibility: Automatically fixes resource naming issues (renaming '$' to '_') that otherwise prevent building with modern Android tools.
  3. Security Hardening: Disables ADB backups and cleartext traffic in the final manifest.
  4. Bloat Removal: Removes the ProfileInstallReceiver to reduce background overhead.
  5. Enhanced Documentation: Provides clear instructions in the README.md for using the new automation tools.
  6. Environment Cleanup: Updated .gitignore to keep the repository clean of large build artifacts.

PR created automatically by Jules for task 12916559261288432307 started by @cookiebaits

- Created `repackage.sh` to automate merging of split APKs into a single `RingOS.apk`.
- Implemented AAPT2 resource sanitization (renaming '$' prefixes to '_').
- Applied security hardening (disabling ADB backups and cleartext traffic).
- Removed `ProfileInstallReceiver` bloat from the manifest.
- Updated `README.md` with comprehensive instructions for the new workflow.
- Updated `.gitignore` to include build artifacts and temporary decoding directories.

Co-authored-by: cookiebaits <186959723+cookiebaits@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

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.

1 participant