Skip to content

Commit b8cbac4

Browse files
committed
bug fixes
1 parent 9ed7f34 commit b8cbac4

37 files changed

+1422
-956
lines changed

.github/workflows/build-release.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ jobs:
5353
run: |
5454
echo "Building with PyInstaller..."
5555
if [ "${{ matrix.os }}" = "windows-latest" ]; then
56-
# Windows uses semicolon separator
5756
pyinstaller --onefile --console --name android-bloatware-remover main.py \
5857
--add-data "core;core" \
5958
--add-data "README.md;." \
@@ -73,7 +72,6 @@ jobs:
7372
--hidden-import Nothing.nothing_remover \
7473
--clean --noconfirm
7574
else
76-
# Unix uses colon separator
7775
pyinstaller --onefile --console --name android-bloatware-remover main.py \
7876
--add-data "core:core" \
7977
--add-data "README.md:." \
@@ -103,7 +101,6 @@ jobs:
103101
if [ "${{ matrix.os }}" = "windows-latest" ]; then
104102
if [ -f "dist/android-bloatware-remover.exe" ]; then
105103
echo "Windows executable found"
106-
# Just check if it starts without hanging
107104
timeout 10s dist/android-bloatware-remover.exe --test || echo "Test completed"
108105
else
109106
echo "Windows executable not found!"
@@ -113,7 +110,6 @@ jobs:
113110
if [ -f "dist/android-bloatware-remover" ]; then
114111
echo "Unix executable found"
115112
chmod +x dist/android-bloatware-remover
116-
# Just check if it starts without hanging
117113
timeout 10s dist/android-bloatware-remover --test || echo "Test completed"
118114
else
119115
echo "Unix executable not found!"
@@ -150,7 +146,6 @@ jobs:
150146
- name: Prepare release files
151147
run: |
152148
mkdir -p release
153-
# Copy and rename files for release
154149
if [ -f "android-bloatware-remover-windows.exe/android-bloatware-remover.exe" ]; then
155150
cp "android-bloatware-remover-windows.exe/android-bloatware-remover.exe" "release/android-bloatware-remover-windows.exe"
156151
fi
@@ -210,7 +205,7 @@ jobs:
210205
211206
Standalone executables for Windows, Linux, and macOS.
212207
213-
### ⚠️ Windows Defender False Positive
208+
### Windows Defender False Positive
214209
Windows Defender may flag the executable as a virus. This is a **false positive** common with PyInstaller executables. The tool is completely safe - all source code is open and auditable. See [SECURITY.md](https://github.com/PixelCode01/UIBloatwareRegistry/blob/main/SECURITY.md) for details and solutions.
215210
216211
### Download Instructions:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ wheels/
2121
*.egg
2222

2323
# Virtual environments
24+
.venv/
2425
venv/
2526
env/
2627
ENV/
@@ -36,6 +37,8 @@ ENV/
3637
*.log
3738
*.tmp
3839
*.temp
40+
.pytest_cache/
41+
platform-tools/
3942

4043
# Backup files
4144
*_backup.json

Honor/SHIZUKU_USAGE.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Shizuku is an Android app that allows you to run ADB commands directly on your d
2121
- [Google Play Store](https://play.google.com/store/apps/details?id=moe.shizuku.privileged.api)
2222

2323
2. **Enable Developer Options** on your Honor device:
24-
- Go to Settings About Phone
24+
- Go to Settings -> About Phone
2525
- Tap "Build Number" 7 times
26-
- Go back to Settings System & Updates Developer Options
26+
- Go back to Settings -> System & Updates -> Developer Options
2727
- Enable "USB Debugging"
2828

2929
3. **Activate Shizuku**:
@@ -79,10 +79,10 @@ The script provides several modes:
7979
## Safety Features
8080

8181
- **Automatic Backup**: Creates package list backup before removal
82-
- **Risk Levels**:
83-
- 🟢 **SAFE**: No impact on core functionality
84-
- 🟡 **CAUTION**: May affect some features
85-
- 🔴 **DANGEROUS**: Critical system components
82+
- **Risk Levels**:
83+
- SAFE: No impact on core functionality
84+
- CAUTION: May affect some features
85+
- DANGEROUS: Critical system components
8686
- **Confirmation Prompts**: Prevents accidental removal
8787
- **Detailed Logging**: Shows exactly what was removed
8888

@@ -132,11 +132,11 @@ The script provides several modes:
132132

133133
## Important Notes
134134

135-
- ⚠️ **Always backup** your device before removing packages
136-
- 🔄 Some apps may return after Magic UI updates
137-
- 📱 Test on a secondary device first if possible
138-
- 🏭 Factory reset will restore all removed applications
139-
- 🔧 This script is specifically for Honor devices with Magic UI
135+
- Always back up your device before removing packages
136+
- Some apps may return after Magic UI updates
137+
- Test on a secondary device first if possible
138+
- Factory reset will restore all removed applications
139+
- This script is specifically for Honor devices with Magic UI
140140

141141
## What Gets Removed
142142

Honor/honor_remover.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,11 @@ def main():
106106
print("Honor Bloatware Removal Tool")
107107
print("1. Interactive removal (recommended)")
108108
print("2. List all apps and select what to remove")
109-
print("3. Remove all configured packages")
110-
print("4. Exit")
109+
print("3. Manually remove by package or app name")
110+
print("4. Remove all configured packages")
111+
print("5. Exit")
111112

112-
choice = input("Select option (1-4): ").strip()
113+
choice = input("Select option (1-5): ").strip()
113114

114115
if choice == '1':
115116
remover.interactive_removal()
@@ -118,9 +119,11 @@ def main():
118119
if input("Continue? (y/n): ").lower() == 'y':
119120
remover.list_all_apps_removal()
120121
elif choice == '3':
122+
remover.manual_package_removal()
123+
elif choice == '4':
121124
if input("This will remove ALL configured packages. Continue? (y/n): ").lower() == 'y':
122125
remover.remove_packages()
123-
elif choice == '4':
126+
elif choice == '5':
124127
print("Exiting...")
125128
else:
126129
print("Invalid choice")

0 commit comments

Comments
 (0)