Several years ago, a friend of mine was working on a Samsung S8 Active. He was trying to remove most of the apps on it so it was just a basic phone. He had some instructions for a Ponderosa system. He was having trouble with several things so I was helping him. We got a list of all the packages on the phone using ADB and then copied them into a text editor. We removed the name of any package that we didn't want and then saved the file and pushed it back onto the phone using ADB again. I'm not certain but there might have been an app or something on the phone that had something to do with it as well but the end result was that only the apps on the list were left on the phone. I believe that we could put a password in on the phone and the apps came back but I'm not 100% sure.
Since then I have lost the papers that had the instructions on them and the place we originally got them from no longer has them either. I have another Samsung S8 Active that needs the same system (or simular) put on it. I know how to get a list of all the app package names using ADB.
adb shell pm list packages
But does anyone know of a system that would be capable of removing apps by pushing a file to the phone? Is there an app that would work like I described? Any help would be appreciated.
Edit: I am working with a Windows 10 computer. I installed xargs but it says The '<' operator is reserved for future use.
when I try to run xargs -l adb uninstall < pkgs2rm
. Is there a different character to use?
pkgs2rm
but he usedxargs
which I am not familiar with. stackoverflow.com/questions/71042853/…