it is very strange that they were on the home screen. But they may appear in settings as not installed for current user.
Yes, in settings they appear as not installed for current user. Does this mean, they are still on the phone and would be available for another user?
...uninstall -k --user 0 com...
User 0 is the default user. If you were to create anther user in settings, the apps would be there. So the apps are technically still on the phone and taking up space in the system partition. But they cannot run for user 0.
Thanks for that! Now this is clear for me. Have a good day.
To clarify, although developer access and usb debugging are essential, is it true that the phone does not need to be OEM unlocked or rooted.
Yes. You do not need root access (and therefore no unlocked bootloader)
Thanks I was concerned about directing someone to do a degoogle.
Thanks for that little script, it is definitely helpful
Encourage by this topic I’ve installed ADB on my Raspberery Pi.
Looking at the README.md I noted all the instructions for installing on various platforms so here’s a link to my install and using wifi rather than cable for the Raspberry Pi 4 Buster.
In your script why the -k ?
uninstall [-k] PACKAGE remove this app package from the device '-k': keep the data and cache directories
To be honest, I have to include it but I don’t know why. If I exclude it it gives me some weird Java exception error
I imagine that it also helps if you have to undo any of the uninstalls. The data will still be there.
Yes on my ‘Guide’ for a Rasp-pi I noted that
Damn, it’s empty in here!
Just wanted to say that I might push an update somewhere in the next couple of days removing the
-k from the command and including some more apps
A suggestion: could there be a documented option for the script to include the -k? (for easier undoing in case of unexpected consequence)
As a command line parameter/ argument? … https://ss64.com/nt/syntax-args.html
Sorry for being a bit inactive lately , but anyways, I am currently learning Python and since it’s a scripting language I will port my debloating script to python. It will be easier to maintain for me since I won’t have to have separate versions for every OS. I can also add features like choosing to keep certain stuff, installing Aurora Store/F-Droid/Aurora Droid and even enabling the Android P theme. I already started working on it and I will post an update here when it’s ready.
Hello, thanks for this tool.
I have just re-installed stock OS, and the script does not work. After saying “yes” to every question I can quickly see “permission denied” before all the log messages disappear (saving a log could be useful).
I think this is due to not running adb as root, but on stock OS I don’t have the option of running adb as root. Is there any workaround?
EDIT: I just had to run
chmod +x adb from terminal before launching the script (I am on linux). it worked
Still I would comment the
Shell script should work on every OS, its just that on Windows the user might have to install a shell (but that’s not impossible, and they need to install Python 3 as well now).
You also use the following code:
if name == “nt”:
adb_command = "adb.exe "
adb_command = "./adb "
Windows follows %PATH% variable as well, and fp3_debloater/adb at main · JBNCK/fp3_debloater · GitHub is a binary which probably does not work on certain OSes and platforms (not in line with your if then else statement). I’m thinking of Linux/ARM64 and macOS/x86-64 and macOS/ARM64 (M1). Instead, of unsetting adb_command you can check if adb_command variable is empty or set argv/$1 as such. You could also inform user to install adb via package manager such as Yum/APT/Pacman (Linux), Homebrew (macOS), or Chocolatey/Winget (Windows).
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.