Get the device ID via terminal by typing adb devices
To connect to phone type adb –s <device_ID> tcpip 5555.
If there is only one device adb tcpip 5555 will do
The phone should ask to confirm the connection
For WIFI
Get IP address from Settings >About phone > Ip address
You can now remove the cable.
Back to terminal and type adb connect <IP Address>:5555
for example adb connect 192.168.###.###:5555
First use the terminal on your computer, in this case a Rasp-pi to log in to the phone’s OS via the command:-
adb shell
Logging in to the phone the terminal outputs FP3:/ $
Now the commands to remove Youtube pm uninstall --user 0 com.google.android.youtube pm uninstall --user 0 com.google.android.apps.youtube.music
To get the names of the packages to uninstall etc. use pm list packages
pm invoke the packet manager uninstall command to pm --user 0 That’s two minus signs and a space before the zero. Zero is the default or only user on the phone.
The rest is the name of the package. Should you want to reinstall some packages you will have lost all related data held in cache unless you add a parameter between uninstall and user i.e.
As well as those mentioned in the previous post I have uninstalled the following:-
com.google.android.gm :: Gmail
com.google.android.googlequicksearchbox
com.google.android.apps.maps
com.google.android.calendar
com.google.android.apps.photos
com.google.android.feedback
com.google.android.gms.location.history
com.google.android.apps.docs :: Google Drive
com.google.android.videos :: Movies and TV
com.android.chrome
android.autoinstalls.config.vodafone.fairphone3
In order to install Signal, as a possible alternative to WhatsApp I came across the problem that on entering my tel. no. I received a message saying Google Play services is unavailable
There is a workaround
Disabling google via adb is not sufficient, because it still is linked somewhere in the system You need to remove/disable it this way too: