Skip to content

Commit ff43330

Browse files
committed
feat: Add support for Asus, Google Pixel, Infinix, and Lenovo devices
- Add Asus remover with ZenUI/ROG UI bloatware catalog - Add Google Pixel remover with Pixel UI bloatware catalog - Add Infinix remover with XOS bloatware catalog - Add Lenovo remover with ZUI bloatware catalog - Update device detector with new brand patterns - Update build spec to include new manufacturer modules - Add Shizuku shell scripts for each new brand - Update README with new supported devices and scripts
1 parent f51ca15 commit ff43330

19 files changed

+524
-5
lines changed

Asus/__init__.py

Whitespace-only changes.

Asus/asus-bloatware-list.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Asus Bloatware Reference
2+
3+
| Package | Description | Risk |
4+
|---------|-------------|------|
5+
| com.asus.launcher | ZenUI launcher | Caution |
6+
| com.asus.mobilemanager | Mobile Manager optimizer | Caution |
7+
| com.asus.filemanager | Asus File Manager | Safe |
8+
| com.asus.weather | Weather widgets | Safe |
9+
| com.asus.gamecenter | Game Center hub | Safe |
10+
| com.asus.gamingfan | Cooling accessory control | Dangerous |
11+
| com.asus.rogtheme | ROG theming pack | Safe |
12+
| com.facebook.katana | Facebook client | Safe |
13+
| com.instagram.android | Instagram client | Safe |
14+
| com.netflix.partner.activation | Netflix activation | Caution |

Asus/asus_remover.py

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
import os
2+
import sys
3+
4+
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
5+
6+
from core.bloatware_remover import BloatwareRemover
7+
8+
9+
class AsusRemover(BloatwareRemover):
10+
"""Asus-specific bloatware remover"""
11+
12+
def __init__(self, test_mode: bool = False):
13+
super().__init__('Asus', 'Asus/asus_config.json', test_mode)
14+
15+
def _get_default_packages(self):
16+
return {
17+
"categories": {
18+
"zen_ui": [
19+
{"name": "com.asus.launcher", "description": "ZenUI launcher", "risk": "caution"},
20+
{"name": "com.asus.mobilemanager", "description": "Mobile Manager optimizer", "risk": "caution"},
21+
{"name": "com.asus.filemanager", "description": "Asus File Manager", "risk": "safe"},
22+
{"name": "com.asus.weather", "description": "Asus Weather widgets", "risk": "safe"},
23+
],
24+
"gaming": [
25+
{"name": "com.asus.gamecenter", "description": "ROG Game Center hub", "risk": "safe"},
26+
{"name": "com.asus.gamingfan", "description": "ROG gaming fan control", "risk": "dangerous"},
27+
{"name": "com.asus.rogtheme", "description": "ROG theming pack", "risk": "safe"},
28+
],
29+
"preloads": [
30+
{"name": "com.facebook.katana", "description": "Facebook client", "risk": "safe"},
31+
{"name": "com.instagram.android", "description": "Instagram client", "risk": "safe"},
32+
{"name": "com.netflix.partner.activation", "description": "Netflix activation", "risk": "caution"},
33+
],
34+
}
35+
}
36+
37+
38+
def main():
39+
remover = AsusRemover()
40+
41+
print("Asus Bloatware Removal Tool")
42+
print("1. Interactive removal (recommended)")
43+
print("2. List all apps and select what to remove")
44+
print("3. Manually remove by package or app name")
45+
print("4. Remove all configured packages")
46+
print("5. Exit")
47+
48+
choice = input("Select option (1-5): ").strip()
49+
50+
if choice == '1':
51+
remover.interactive_removal()
52+
elif choice == '2':
53+
print("This will list all installed applications on your device.")
54+
if input("Continue? (y/n): ").lower() == 'y':
55+
remover.list_all_apps_removal()
56+
elif choice == '3':
57+
remover.manual_package_removal()
58+
elif choice == '4':
59+
if input("This will remove ALL configured packages. Continue? (y/n): ").lower() == 'y':
60+
remover.remove_packages()
61+
elif choice == '5':
62+
print("Exiting...")
63+
else:
64+
print("Invalid choice")
65+
66+
67+
if __name__ == "__main__":
68+
main()

Asus/asus_remover.sh

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#!/system/bin/sh
2+
3+
PACKAGES_SAFE="
4+
com.asus.launcher
5+
com.asus.mobilemanager
6+
com.asus.filemanager
7+
com.asus.weather
8+
com.asus.gamecenter
9+
com.asus.rogtheme
10+
com.facebook.katana
11+
com.instagram.android
12+
"
13+
14+
PACKAGES_CAUTION="
15+
com.asus.gamingfan
16+
com.netflix.partner.activation
17+
"
18+
19+
echo "=============================="
20+
echo "Asus Bloatware Remover"
21+
echo "=============================="
22+
23+
echo "Creating package backup to /sdcard/asus_packages_backup.txt"
24+
pm list packages > /sdcard/asus_packages_backup.txt
25+
26+
echo "Removing safe packages"
27+
for pkg in $PACKAGES_SAFE; do
28+
pm uninstall --user 0 "$pkg" >/dev/null 2>&1 || pm disable-user --user 0 "$pkg"
29+
done
30+
31+
echo "Processing caution packages"
32+
for pkg in $PACKAGES_CAUTION; do
33+
read -p "Handle $pkg ? (y/n): " resp
34+
if [ "$resp" = "y" ]; then
35+
pm uninstall --user 0 "$pkg" >/dev/null 2>&1 || pm disable-user --user 0 "$pkg"
36+
fi
37+
done
38+
39+
echo "Done"

Google/__init__.py

Whitespace-only changes.

Google/google-bloatware-list.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Google Pixel Optional Packages
2+
3+
| Package | Description | Risk |
4+
|---------|-------------|------|
5+
| com.google.android.apps.turbo | Adaptive battery controls | Dangerous |
6+
| com.google.android.apps.wellbeing | Digital Wellbeing suite | Caution |
7+
| com.google.android.apps.pixelmigrate | Data transfer helper | Caution |
8+
| com.google.android.apps.videos | Google TV | Safe |
9+
| com.google.android.apps.podcasts | Google Podcasts | Safe |
10+
| com.google.android.apps.youtube.music | YouTube Music | Caution |
11+
| com.google.android.apps.tachyon | Google Meet | Safe |
12+
| com.google.ar.lens | Google Lens | Safe |
13+
| com.google.android.apps.dialer | Google Phone app | Dangerous |

Google/google_remover.py

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
import os
2+
import sys
3+
4+
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
5+
6+
from core.bloatware_remover import BloatwareRemover
7+
8+
9+
class GoogleRemover(BloatwareRemover):
10+
"""Google Pixel-specific bloatware remover"""
11+
12+
def __init__(self, test_mode: bool = False):
13+
super().__init__('Google', 'Google/google_config.json', test_mode)
14+
15+
def _get_default_packages(self):
16+
return {
17+
"categories": {
18+
"pixel_features": [
19+
{"name": "com.google.android.apps.turbo", "description": "Google Pixel Adaptive Battery", "risk": "dangerous"},
20+
{"name": "com.google.android.apps.wellbeing", "description": "Digital Wellbeing suite", "risk": "caution"},
21+
{"name": "com.google.android.apps.pixelmigrate", "description": "Pixel data transfer tool", "risk": "caution"},
22+
],
23+
"media": [
24+
{"name": "com.google.android.apps.videos", "description": "Google TV", "risk": "safe"},
25+
{"name": "com.google.android.apps.podcasts", "description": "Google Podcasts", "risk": "safe"},
26+
{"name": "com.google.android.apps.youtube.music", "description": "YouTube Music", "risk": "caution"},
27+
],
28+
"assistant": [
29+
{"name": "com.google.android.apps.tachyon", "description": "Google Meet", "risk": "safe"},
30+
{"name": "com.google.ar.lens", "description": "Google Lens", "risk": "safe"},
31+
{"name": "com.google.android.apps.dialer", "description": "Google Phone dialer", "risk": "dangerous"},
32+
],
33+
}
34+
}
35+
36+
37+
def main():
38+
remover = GoogleRemover()
39+
40+
print("Google Pixel Bloatware Removal Tool")
41+
print("1. Interactive removal (recommended)")
42+
print("2. List all apps and select what to remove")
43+
print("3. Manually remove by package or app name")
44+
print("4. Remove all configured packages")
45+
print("5. Exit")
46+
47+
choice = input("Select option (1-5): ").strip()
48+
49+
if choice == '1':
50+
remover.interactive_removal()
51+
elif choice == '2':
52+
print("This will list all installed applications on your device.")
53+
if input("Continue? (y/n): ").lower() == 'y':
54+
remover.list_all_apps_removal()
55+
elif choice == '3':
56+
remover.manual_package_removal()
57+
elif choice == '4':
58+
if input("This will remove ALL configured packages. Continue? (y/n): ").lower() == 'y':
59+
remover.remove_packages()
60+
elif choice == '5':
61+
print("Exiting...")
62+
else:
63+
print("Invalid choice")
64+
65+
66+
if __name__ == "__main__":
67+
main()

Google/google_remover.sh

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#!/system/bin/sh
2+
3+
PACKAGES="
4+
com.google.android.apps.turbo
5+
com.google.android.apps.wellbeing
6+
com.google.android.apps.pixelmigrate
7+
com.google.android.apps.videos
8+
com.google.android.apps.podcasts
9+
com.google.android.apps.youtube.music
10+
com.google.android.apps.tachyon
11+
com.google.ar.lens
12+
"
13+
14+
CRITICAL="
15+
com.google.android.apps.dialer
16+
"
17+
18+
echo "=============================="
19+
echo "Google Pixel Bloatware Remover"
20+
echo "=============================="
21+
22+
echo "Backing up package list to /sdcard/google_packages_backup.txt"
23+
pm list packages > /sdcard/google_packages_backup.txt
24+
25+
echo "Removing optional Google apps"
26+
for pkg in $PACKAGES; do
27+
pm uninstall --user 0 "$pkg" >/dev/null 2>&1 || pm disable-user --user 0 "$pkg"
28+
done
29+
30+
echo "Critical apps require confirmation"
31+
for pkg in $CRITICAL; do
32+
read -p "Disable $pkg ? (y/n): " resp
33+
if [ "$resp" = "y" ]; then
34+
pm disable-user --user 0 "$pkg"
35+
fi
36+
done
37+
38+
echo "Done"

Infinix/__init__.py

Whitespace-only changes.

Infinix/infinix-bloatware-list.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Infinix Bloatware Reference
2+
3+
| Package | Description | Risk |
4+
|---------|-------------|------|
5+
| com.transsion.xclub | XClub community | Safe |
6+
| com.transsion.smartpanel | XOS Smart Panel overlay | Caution |
7+
| com.transsion.aura.gameassist | Game mode assistant | Safe |
8+
| com.transsion.aia | Voice assistant | Safe |
9+
| com.infinix.xshare | XShare transfer | Safe |
10+
| com.infinix.xclub | Infinix forum | Safe |
11+
| com.transsion.phoenix | Phoenix browser | Caution |
12+
| com.transsion.aha.games | AHA Games hub | Safe |
13+
| com.transsion.xboom | Boomplay music | Safe |
14+
| com.transsion.calculator | Palm Calculator | Safe |

0 commit comments

Comments
 (0)