0x192 / universal-android-debloater

Cross-platform GUI written in Rust using ADB to debloat non-rooted android devices. Improve your privacy, the security and battery life of your device.
GNU General Public License v3.0
15.36k stars 816 forks source link

Could you please add import and export so that I don't need to write code below #766

Open magictomagic opened 1 year ago

magictomagic commented 1 year ago
import os
import json

path_to_json = "C:\\tools\\mytool\\phone\\bloat.json"

with open(path_to_json, encoding="utf-8") as json_file:
    data = json.load(json_file)
    for item in data:
        if item["removal"] == "Recommended":
            print("adb shell pm uninstall --user 0 " + item["id"])
    # print(data)
Rudxain commented 1 year ago

wth do you mean?? ._.

Cyber1000 commented 10 months ago

@Rudxain: seems to be similar to https://github.com/0x192/universal-android-debloater/issues/479 @magictomagic wants to import an exported list again. Now he takes the bloat-list and filters all recommended items to create a simple script which debloats his device without uad.

btw. I want to have an import-button by myself.

Rudxain commented 10 months ago

479 [...] import an exported list again.

oohh, it makes sense now. Thanks for explaining.

btw. I want to have an import-button by myself.

Me too! It would be more convenient than the implicit behavior