Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Sep 15, 2025

This PR addresses the request for .sh versions of the bloatware removal tools that work with Shizuku, allowing users to remove bloatware directly on their devices without needing a PC connection.

What's Added

1. Standalone Shell Scripts for All Brands

Each brand now has its own Shizuku-compatible shell script:

  • Samsung (Samsung/samsung_remover.sh)
  • Xiaomi (Xiaomi/xiaomi_remover.sh)
  • OnePlus (OnePlus/oneplus_remover.sh)
  • Realme (Realme/realme_remover.sh)
  • Oppo (Oppo/oppo_remover.sh)
  • Vivo (Vivo/vivo_remover.sh)
  • Huawei (Huawei/huawei_remover.sh)
  • Honor (Honor/honor_remover.sh)
  • Motorola (Motorola/motorola_remover.sh)
  • Nothing (Nothing/nothing_remover.sh)
  • Tecno (Tecno/tecno_remover.sh)

Each script features:

  • Interactive removal mode: Shows categorized packages with risk levels (SAFE, CAUTION, DANGEROUS)
  • Batch removal mode: Removes all safe packages automatically with backup
  • Package listing: View all installed packages on the device
  • Backup functionality: Creates package list backups before removal
  • Safety checks: Environment validation and confirmation prompts

2. Comprehensive Documentation (Honor/SHIZUKU_USAGE.md)

  • Step-by-step Shizuku setup instructions (applies to all brands)
  • Terminal app recommendations
  • Troubleshooting guide
  • Safety warnings and best practices

3. Updated Documentation

  • README.md: Updated "No PC? Use Shizuku!" section to list all available shell scripts
  • honor-bloatware-list.md: Added references to both Python and shell script tools

Key Features

Each shell script includes brand-specific packages categorized by risk level:

  • Safe packages: Brand apps that can be removed without affecting core functionality
  • Caution packages: Apps that may affect some features (launcher, contacts, etc.)
  • Dangerous packages: Critical system components that should not be removed
  • Third-party bloatware: Pre-installed social media and other apps

Technical Implementation

  • Uses #!/system/bin/sh for Android/Shizuku compatibility
  • Implements pm uninstall --user 0 and pm disable-user commands
  • Provides colored output for better UX (when terminal supports it)
  • Includes environment detection for Shizuku vs regular shell usage
  • Creates timestamped backups in /sdcard/ directory
  • All scripts syntax-tested and made executable

Usage Example

# Download appropriate script for your brand to device
# Run with Shizuku-compatible terminal
./brand_remover.sh

# Follow interactive prompts:
# 1. Interactive removal (recommended)
# 2. Batch removal (remove all safe packages) 
# 3. List all installed packages
# 4. Create backup only
# 5. Exit

This solution enables users of all supported brands to clean their devices of bloatware using only their phone and the Shizuku app, making the tool accessible to users without PC access.

Fixes #2.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copy link
Author

Copilot AI commented Sep 15, 2025

@PixelCode01 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

Co-authored-by: PixelCode01 <105023758+PixelCode01@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] I don't have a pc,I use shizuku Add Shizuku-compatible shell script for Honor bloatware removal (no PC required) Sep 15, 2025
@Copilot Copilot AI requested a review from PixelCode01 September 15, 2025 05:41
Copilot finished work on behalf of PixelCode01 September 15, 2025 05:41
@PixelCode01
Copy link
Owner

@copilot make .sh for all brands

Copilot AI and others added 2 commits September 15, 2025 05:56
Co-authored-by: PixelCode01 <105023758+PixelCode01@users.noreply.github.com>
Co-authored-by: PixelCode01 <105023758+PixelCode01@users.noreply.github.com>
Copy link
Author

Copilot AI commented Sep 15, 2025

@copilot make .sh for all brands

I've successfully created shell scripts for all brands! 🎉

Added shell scripts for:

  • Samsung (Samsung/samsung_remover.sh)
  • Xiaomi (Xiaomi/xiaomi_remover.sh)
  • OnePlus (OnePlus/oneplus_remover.sh)
  • Realme (Realme/realme_remover.sh)
  • Oppo (Oppo/oppo_remover.sh)
  • Vivo (Vivo/vivo_remover.sh)
  • Huawei (Huawei/huawei_remover.sh)
  • Motorola (Motorola/motorola_remover.sh)
  • Nothing (Nothing/nothing_remover.sh)
  • Tecno (Tecno/tecno_remover.sh)

Each script:

  • ✅ Works with Shizuku (no PC required)
  • ✅ Interactive removal with risk categories
  • ✅ Batch removal for safe packages
  • ✅ Automatic backup creation
  • ✅ Syntax tested and executable

Updated README.md to list all available scripts in the Shizuku section.

Commit: 69783fa

@Copilot Copilot AI changed the title Add Shizuku-compatible shell script for Honor bloatware removal (no PC required) Add Shizuku-compatible shell scripts for all brands (no PC required) Sep 15, 2025
Copilot finished work on behalf of PixelCode01 September 15, 2025 06:01
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.

I don't have a pc,I use shizuku
2 participants