thanuj10 / Nokia-Debloater

A simple noob-friendly script that strips the system of the Evenwell apps from your Nokia.
38 stars 12 forks source link

Ask user which apps to debloat #2

Closed Sid127 closed 3 years ago

Sid127 commented 4 years ago

Can do pm list packages evenwell to get all Evenwell apps and ask user which ones to disable and save it in a file or provide predefined list. Use that file to reinstall if needed.

Can similarly debloat Google Apps

thanuj10 commented 4 years ago

This could be tough to configure, But he let's see what we can do.

Sid127 commented 4 years ago

The way I've configured it on the Linux version is by providing the script a configuration file in it's working directory, and the script itself reads the file line by line and performs the uninstall using a while-do-done loop.

thanuj10 commented 4 years ago

Oh okay. Lemme see what I can do then.

nebulakl commented 4 years ago

Here is a oneliner I used on my Nokia 1 Plus to remove all packages that contain evenwell in their names. It is supposed to be used in a adb shell.

for P in `pm list package | sort | grep evenwell | sed -e 's/package://g'`; do pm uninstall --user 0 $P; done

I think we can achieve what @Sid127 is looking for if we slightly modify the do block.

Sid127 commented 4 years ago

we don't want to remove all evenwell packages, because removing some of them breaks the system. What we want to be able to do is give power-users an option to choose which unnecessary packages they want to remove.