MuntashirAkon / AppManager

A full-featured package manager and viewer for Android
https://muntashirakon.github.io/AppManager/
Other
4.36k stars 259 forks source link

Prevent Uninstalling of those system apps which cause boot loop #1161

Open abhishekgi opened 9 months ago

abhishekgi commented 9 months ago

Please check before submitting an issue

Describe a description of the new feature

Uninstalling of those system apps which cause boot loop should be prevented because if we by chance delete system app which cause boot loop and if we will not be able to recover our data this would be a very big problem and in most of the cases data could not be recovered in bootloop so please add this feature and prevent the uninstalling of the system apps which cause boot loop this feature already exist in universal Android developer( but doesn’t work that well ) which is available for pc

Describe the solution you'd like

The solution is that don't give option to uninstall the system app which cause boot loop and colour that system app name with any unique colour or mark a label called unsafe with very vibrant colour that outstand it from other apps and make everyone aware that they should not uninstall any system app which cause boot loop that may result in very big problem

Describe alternatives you've considered

I will suggest that the unstalling of system app which cause boot loop should be strictly prohibited

Additional context

MuntashirAkon commented 8 months ago

These features depend on community support since no individual can ever figure out all the apps that might cause a bootloop. App Manager does not have a strong community, and therefore, I don't think this is possible any time soon.

abhishekgi commented 8 months ago

Hmm

shuvashish76 commented 8 months ago

this feature already exist in universal Android developer( but doesn’t work that well ) which is available for pc

I guess UAD does that for "Unsafe" labelled packages. We use same label for ADL. You should remember that all these projects are crowd sourced i.e. tested by users from their personal devices & they're never really 100% accurate for all models. So you might experience various kinds of troubles even if the package has no "warning" & labelled/described as "safe to remove" or no label. IMO AM should clearly mention about this info either permanently in Debloater (sub-heading) page as a note or show a one time warning when you open it for 1st time. (when added to stable release)

colour that system app name with any unique colour or mark a label called unsafe...

Agreed, custom colours for debloater "Types" & change App Info > "Bloatware" chip according to that. Track with #402

I will suggest that the unstalling of system app which cause boot loop should be strictly prohibited

In support of this suggestion iff AM 100% sure about the information.

MuntashirAkon commented 8 months ago

AM should clearly mention about this info either permanently in Debloater (sub-heading) page as a note or show a one time warning when you open it for 1st time. (when added to stable release)

Most users will only click on “I understand” and move on to select all apps and uninstall/freeze them. We can definitely do that but in the user manual, not in the main app (just as we did with trackers). We already have a disclaimer in the app (though unnecessary with GPL license but kept anyway).

For ADL project, the rank of a package is decided based on the worst case scenario. We know that UAD has lots of issues, but we're trying to fix them as best as possible. I believe that the users of App Manager who are using it from the start are more dedicated than UAD's, and as the community involvements are growing, we'll eventually make things right.

colour that system app name with any unique colour or mark a label called unsafe...

Agreed, custom colours for debloater "Types" & change App Info > "Bloatware" chip according to that.

I think system apps with “unsafe” labels should be marked as unsafe using the existing feature. For example, we can set the background of “System” to red. This will be more straight-forward than marking bloatware chip. Besides, “unsafe” apps aren't really bloatware and shouldn't be marked as so in the App Info tab. Instead the dialog should be displayed when the red “System” tag is clicked.

In addition, of course, we can disable or hide the options to uninstall or freeze the app.

rafalgrasman-nxp commented 1 month ago

Maybe we could add some community/crowd-sources/github maintainer/contributor json file that is fetched periodically?:

e.g. dangerous_app_list.json:

{
    'samsung': { # manufacturer
        'SM-996B': { # device model
            "14": [ # os version
                'com.android.systemui',
                'com.samsung.knox.kgclient',
                ...
            ]
        }
    }
}

When somebody encounters a bootloop / bricked device that person might choose to contribute to this file. I know I will.

shuvashish76 commented 1 month ago

@rafalgrasman-nxp report such packages on https://github.com/MuntashirAkon/android-debloat-list or https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation. Eventually they'll be updated for AM de-bloater.