KushagraKarira / Debloat

Remove ads, bloatware and speed up your device.
GNU General Public License v3.0
63 stars 12 forks source link

Help reverting the proccess #12

Open ghost opened 8 months ago

ghost commented 8 months ago

Hello, i used your script but now i want to revert the proccess, isnt there a way for me modifying the script so it reverts it

KushagraKarira commented 3 months ago

There is no automatic way of reverting, you can either go to /system/apps from a file manager to manually install the apk or search the apk on apkmirror and install it over adb.

smed79 commented 2 months ago

Re-install pre-installed system app

method 1

adb shell cmd package install-existing <package_name>

method 2

find the full path to the .apk

adb shell cmd package dump <package_name> | grep 'path: ' | cat -f2- -d : 

install the app via it's .apk

adb shell cmd package install -r --user 0 /path/to/app.apk

removed packages are listed here https://github.com/KushagraKarira/Debloat/tree/master/Android