How To Guide Watch4 ADB Commands - Disable/Enable/Uninstall/Restore system app, Install/pull Apps

Was this helpful? (it's ok to pick no lol)

  • No

    Votes: 0 0.0%

  • Total voters
    135
Search This thread
Hi, great guide!
Does someone know if this can be used to just push the google account information to the phone somehow (like overwrite a configuration file or something)?
Thanks!
Since the watch is android, then technically all adb commands should work unless the service/package is missing, then it will throw package not found error or something like it
 
  • Like
Reactions: Marcelocohenarg

73sydney

Account currently disabled
Hi, great guide!
Does someone know if this can be used to just push the google account information to the phone somehow (like overwrite a configuration file or something)?
Thanks!

Not sure why are you trying to do things backwards

Google account information is synced from the phone to the watch during watch setup, thats is the normal direction, and yes some people are having issues with this.

The watch operates as a satellite of the phone....trying to force it the other way is unlikely to work, and no known command exists

If you think about it for a second from a security standpoint you might understand why this would be a very bad idea

If youre having issues getting your accounts synced across the phone and watch, i would try the suggestions here on XDA and Samsung forums and if need be put in a ticket with Samsung...

I have had the sync error once personally, months ago, and it never occurred again...i reset the watch and it was resolved on the next setup. Trying to force things rarely ends well and will waste time. Try the simplest options first....
 
  • Like
Reactions: Dante63

73sydney

Account currently disabled
Thanks for your comments. I understand what you say. The problem is that I already tried every method suggested in the web to copy my google account to the watch, and every time it fails. So I'm looking for alternative ways to solve my problem....

The google account stuff involves databases and those entries are no doubt dependent on device id and other parameters for security, and thus not directly "copyable"

The only adb command ive ever seen about accounts was to fire the add account intent,

adb shell am start -a android.settings.ADD_ACCOUNT_SETTINGS -n com.android.settings/.accounts.AddAccountSettings

and ive already tested this on watch 4 just now and that intent is not available (and its a basic one), probably because, as already pointed out, the watch is a satellite to the phone and the account is copied from the phone, to the watch.

There is no way around this, i would put in a support request with Samsung

Not trying to be harsh, but trying to get you to the quickest resolution...if it were that simple to copy a google account to another device, then android wouldnt be very secure....
 
  • Like
Reactions: galaxys and Dante63

StarLordPK

Senior Member
Oct 30, 2015
64
14
Hi @Dante63, I wanted to know if we can change csc in any way using these methods, I used *#272*imei# to change to MEA csc, Samsung Pay was enabled but OTA updates are not coming for watch, Need to get back to Original csc, any help is appreciated.
 
Hi @Dante63, I wanted to know if we can change csc in any way using these methods, I used *#272*imei# to change to MEA csc, Samsung Pay was enabled but OTA updates are not coming for watch, Need to get back to Original csc, any help is appreciated.
Well, the IMEI method for watch4 was discussed in my telegram group and I have warned many that it's a one way and you lose OTAs, not even Samsung can restore your CSC because they don't have the tool and software to do so as far as I know...

So your options are:
  • Take it to Samsung and act clueless, you got it like this, it's probably Samsung Fault...
  • Wait god knows how many months till the OS is released to the public or someone figures out how to dump the os image...
Nothing else is there that can help (as far as I know)...
 
  • Like
Reactions: 73sydney

StarLordPK

Senior Member
Oct 30, 2015
64
14
Well, the IMEI method for watch4 was discussed in my telegram group and I have warned many that it's a one way and you lose OTAs, not even Samsung can restore your CSC because they don't have the tool and software to do so as far as I know...

So your options are:
  • Take it to Samsung and act clueless, you got it like this, it's probably Samsung Fault...
  • Wait god knows how many months till the OS is released to the public or someone figures out how to dump the os image...
Nothing else is there that can help (as far as I know)...
Did the first one, they updated the watch 2 times to latest one but csc isn't changing, I asked them what's the further course of action, service center people were clueless I asked for a replacement if nothing works. Let's see I'll update if any thing works on changing the csc or we need to change the whole watch for it to work.
 
  • Like
Reactions: Dante63

CKavanagh

Senior Member
Apr 8, 2022
66
25
Hello Everyone,
I hope you all are good,
So I see some on you wondering about how to uninstall, reinstall, install, pull, enable and disable apps for the watch, so I decided to make this thread to address these different scenarios, this is based on test of users, if there is any incorrect command, let me know and I will update the thread...

Requirements: ADB (to execute adb commands)...


~~~ Enabling Watch4 ADB ~~~

The first thing you need to do is enable the watch developer mode by going into watch settings then about and tap the version many times till it says switched on, inside developer mode enable ADB, it will enable ADB Wi-Fi, if it doesn't, enable then go to Wi-Fi and make sure that Wi-Fi is connected to the same network of the PC, head back to developer mode and you will see under ADB Wi-Fi IP address...

~~~ Running ADB & Connecting to the Watch4 ~~~

Watch is ready for some ADB action and adventure lol, on pc start PowerShell or CMD inside ADB folder by holding down SHIFT and right clicking on empty area:
View attachment 5393231
or if you have cmd-here.exe, run it...

type the following:
adb connect <IP>
(if it's your first time, check your watch for RSA authentication and allow the PC to connect)
Now here is the list of scenarios...

~~~ Scenario 1: Installing Apps ~~~
Place the apk in adb folder then type:
adb -s <IP> install <apk-name>.apk
once you are done disconnect:
adb disconnect

~~~ Scenario 2: Uninstalling System Apps ~~~
Be very careful, don't uninstall vital system apps, uninstall apps that you see on the watch home screen drawer or watch widgets...
Enter Shell mode typing:
adb shell
then type:
pm list packages
Find the packages you want to remove then type for each package
pm uninstall -k --user 0 <package-name-to-uninstall>
once you are done exit and disconnect:
exit
adb disconnect

~~~ Scenario 3: Disabling/Enabling System Apps ~~~
Enter Shell mode typing:
adb shell
then type:
pm list packages
Find the packages you want to:

  • Disable then type for each package
pm disable-user --user 0 <package-name-to-disable>
  • Enable then type for each package
pm enable --user 0 <package-name-to-enable>
once you are done exit and disconnect:
exit
adb disconnect

~~~ Scenario 4: Reinstalling/Restoring System Apps ~~~
Enter Shell mode typing:
adb shell
Find the package you want to restore (thanks to @adfree)

type to restore
pm install-existing <package-name-to-reinstall>
once you are done exit and disconnect:
exit
adb disconnect

~~~ Scenario 5: Pulling Apps ~~~
Enter Shell mode typing:
adb shell
then type
pm list packages
Find the package of interest then type
pm path <package-name>
this returns the path of the apk package location, exit shell
exit
now pull it typing:
adb pull <path-to-apk-package> <package-name>.apk
you have pulled the apk into the adb folder...


~~~ End of Scenarios ~~~
I have one thing to say, sorry for the caps in advance, but I got to do it
TURN OFF ADB ON WATCH
otherwise it will drain your watch battery...
~~~ Don't forget to ~~~
Don't forget to smash the (y)THANKS (y)
PS. if you are super happy and want to thank me, It is highly appreciated if you'd consider supporting me through my Patreon Page ❤️ 😊


✯ XDA: https://forum.xda-developers.com/m/dante63.7047928/
✯ Reddit: https://www.reddit.com/user/XDA-Dante63/
✯ Telegram: https://t.me/xda_dante63
Thanks Dante! I find APKs (APK Mirror, Uptodown) and save to a folder in OneDrive on my laptop. Then on the phone, I use Easy Fire Tools (downloaded from Google Play) and select a file to install to the watch.
 
Last edited:
  • Like
Reactions: Dante63

CKavanagh

Senior Member
Apr 8, 2022
66
25
When I get my watch and see that I have it, I will pull and upload it for you...

No question is dumb and yes you can use the guide as a reference, just keep in mind that packages of phone are different than the watch, also, on the phone you can disable system apps but you can't uninstall them like the watch (as far as I know) and finally, no need to do adb install on the phone because it's a direct install...

Unless when you said use it on the phone as in execute adb commands on the phone for the watch, yes it will work too...

On your watch. When you enable adb over wifi, it'll show you your ip address. Something like 192.168.1.1:5555
IP may also start with 10. and not 192. as mentioned above. The IP address may slightly change every so often. At least mine has a couple of times. I enabled debug over Wi-Fi and last 3 numbers were different than previously. I've also had to toggle the Wi-Fi on the watch in order to get debug over Wi-Fi to change from unavailable to showing the IP address.
 
Last edited:
  • Like
Reactions: Dante63

Top Liked Posts

  • There are no posts matching your filters.
  • 71
    Hello Everyone,
    I hope you all are good,
    So I see some on you wondering about how to uninstall, reinstall, install, pull, enable and disable apps for the watch, so I decided to make this thread to address these different scenarios, this is based on test of users, if there is any incorrect command, let me know and I will update the thread...

    Requirements: ADB (to execute adb commands)...


    ~~~ Enabling Watch4 ADB ~~~

    The first thing you need to do is enable the watch developer mode by going into watch settings then about and tap the version many times till it says switched on, inside developer mode enable ADB, it will enable ADB Wi-Fi, if it doesn't, enable then go to Wi-Fi and make sure that Wi-Fi is connected to the same network of the PC, head back to developer mode and you will see under ADB Wi-Fi IP address...

    ~~~ Running ADB & Connecting to the Watch4 ~~~

    Watch is ready for some ADB action and adventure lol, on pc start PowerShell or CMD inside ADB folder by holding down SHIFT and right clicking on empty area:
    1629877310549.png
    or if you have cmd-here.exe, run it...

    type the following:
    adb connect <IP>
    (if it's your first time, check your watch for RSA authentication and allow the PC to connect)
    Now here is the list of scenarios...

    ~~~ Scenario 1: Installing Apps ~~~
    Place the apk in adb folder then type:
    adb -s <IP> install --user 0 <apk-name>.apk
    once you are done disconnect:
    adb disconnect

    ~~~ Scenario 2: Uninstalling System Apps ~~~
    Be very careful, don't uninstall vital system apps, uninstall apps that you see on the watch home screen drawer or watch widgets...
    Enter Shell mode typing:
    adb shell
    then type:
    pm list packages
    Find the packages you want to remove then type for each package
    pm uninstall -k --user 0 <package-name-to-uninstall>
    once you are done exit and disconnect:
    exit
    adb disconnect

    ~~~ Scenario 3: Disabling/Enabling System Apps ~~~
    Enter Shell mode typing:
    adb shell
    then type:
    pm list packages
    Find the packages you want to:

    • Disable then type for each package
    pm disable-user --user 0 <package-name-to-disable>
    • Enable then type for each package
    pm enable --user 0 <package-name-to-enable>
    once you are done exit and disconnect:
    exit
    adb disconnect

    ~~~ Scenario 4: Reinstalling/Restoring System Apps ~~~
    Enter Shell mode typing:
    adb shell
    Find the package you want to restore (thanks to @adfree)
    com.android.cts.priv.ctsshim

    com.google.android.ext.services

    com.samsung.android.knox.wkes

    com.sec.location.nfwlocationprivacy

    com.android.providers.telephony

    com.sec.android.app.parser

    com.android.dynsystem

    com.samsung.android.networkstack

    com.samsung.android.calendar

    com.samsung.android.watch.cameracontroller

    com.android.providers.calendar

    com.sec.automation

    com.android.providers.media

    com.google.android.ext.shared

    com.samsung.android.watch.watchface.analoguefont

    com.samsung.android.watch.watchface.simplecomplication

    com.skms.android.agent

    com.samsung.android.wear.shealth

    com.samsung.android.incallui

    com.sec.usbsettings

    com.samsung.android.watch.watchface.premiumanalog

    com.sec.factory

    com.android.companiondevicemanager

    com.android.mms.service

    com.samsung.android.watch.watchface.myphoto

    com.samsung.android.watch.watchface.mystyle

    com.android.providers.downloads

    com.samsung.android.video.wearable

    com.google.android.networkstack.tethering.overlay

    com.samsung.android.storage.watchstoragemanager

    com.monotype.android.font.foundation

    com.samsung.android.gallery.watch

    com.samsung.android.watch.compass

    com.sk.vas.tshare

    com.sec.android.app.factorykeystring

    com.samsung.android.watch.runestone.app

    com.sec.android.app.samsungapps

    com.samsung.android.sdk.handwriting.watch

    com.samsung.android.watch.findmyphone

    com.samsung.android.watch.findmywatch

    com.sec.android.app.wlantest

    com.google.android.overlay.modules.permissioncontroller

    com.android.vending

    com.android.networkstack

    com.samsung.android.watch.weather

    com.google.android.wearable.batteryservices

    com.android.modulemetadata

    com.android.certinstaller

    com.android.carrierconfig

    com.google.android.marvin.talkback

    com.samsung.android.app.esimkeystring

    com.samsung.SMT

    com.samsung.rtl

    android

    com.samsung.rtlassistant

    com.google.android.overlay.modules.cellbroadcastreceiver

    com.samsung.android.aircommandmanager

    com.google.android.apps.wearable.settings

    com.android.mtp

    com.android.nfc

    com.samsung.android.messaging

    com.android.backupconfirm

    com.samsung.android.stextclassifier

    com.samsung.android.app.telephonyui

    com.android.statementservice

    com.samsung.android.wear.musictransfer

    com.samsung.android.watch.watchface.basicclock

    com.samsung.android.bixby.agent

    com.sec.android.app.hwmoduletest

    com.sec.bcservice

    com.sec.modem.settings

    com.samsung.hidden.SKT

    com.monotype.android.font.samsungone

    com.google.android.permissioncontroller

    com.android.wearable.resources

    com.sec.android.app.servicemodeapp

    com.samsung.android.watch.watchface.simpleclassic

    com.android.providers.settings

    com.samsung.accessibility

    com.sec.imsservice

    com.samsung.android.service.health

    com.google.android.apps.wearable.systemui

    com.android.webview

    com.samsung.android.watch.watchface.dualwatch

    com.android.se

    com.android.inputdevices

    com.samsung.advancedcallservice

    com.samsung.android.app.contacts

    com.samsung.android.app.reminder

    com.samsung.android.watch.watchface.together

    com.samsung.android.watch.flashlight

    com.samsung.android.watch.watchface.typography

    com.samsung.android.watch.watchface.large

    com.samsung.android.watch.watchface.animal

    com.google.android.apps.maps

    com.samsung.android.qrreader.watch

    com.samsung.advp.imssettings

    com.samsung.android.watch.alarm

    com.android.cellbroadcastreceiver

    com.sec.android.RilServiceModeApp

    com.samsung.android.mdecservice

    com.samsung.android.watch.timer

    android.ext.shared

    com.samsung.android.smartgesture

    com.samsung.android.wear.blockednumber

    com.android.server.telecom

    com.samsung.euicc

    com.android.keychain

    com.google.android.packageinstaller

    com.google.android.gms

    com.google.android.gsf

    com.google.android.tts

    android.ext.services

    com.android.wifi.resources

    com.google.android.partnersetup

    com.sec.android.diagmonagent

    com.android.localtransport

    com.samsung.android.batterysavingsettings

    com.samsung.android.wearable.knox.attestation

    com.samsung.android.watch.stf

    com.google.android.wearable.ambient

    com.samsung.packageinstalleroverlay

    com.samsung.android.shealthmonitor

    com.samsung.android.watch.watchface.aremoji

    com.android.managedprovisioning

    com.samsung.android.watch.watchface.analogmodular

    com.android.networkstack.tethering

    com.android.soundpicker

    com.samsung.android.watch.watchface.emergency

    com.samsung.android.watch.watchface.simpleanalogue

    com.samsung.android.dialer

    com.samsung.android.watch.safety_assistance

    com.samsung.android.dqagent

    com.google.android.clockworkicons

    com.google.android.wearable.overlay.home.merlot

    com.samsung.android.wearable.setupwizard

    com.sem.factoryapp

    com.samsung.android.watch.stopwatch

    com.google.android.wearable.healthservices

    com.samsung.wear.contacts.sync

    com.ims.dm

    com.google.android.apps.wearable.retailattractloop

    com.sec.android.soagent

    com.samsung.android.wearable.sysui

    com.sec.phone

    com.samsung.android.bixby.wakeup

    com.samsung.android.honeyboard

    com.samsung.android.scloud

    com.samsung.android.location.locproxy

    com.sec.app.RilErrorNotifier

    com.samsung.euicc.wmservice

    com.samsung.android.watch.watchface.bitmoji

    com.sec.android.app.bluetoothtest

    com.sec.android.sdhms

    com.android.networkstack.permissionconfig

    com.samsung.android.mediacontroller

    com.google.android.wearable.app

    com.android.cts.ctsshim

    com.samsung.android.watch.screencapture

    com.samsung.android.wear.samsungvoiceinput

    com.samsung.android.watch.watchface.digitalmodular

    com.samsung.android.wcs.extension

    com.samsung.android.wearable.samsungaccount

    com.samsung.android.providers.contacts

    com.android.phone

    com.android.shell

    com.android.wallpaperbackup

    com.android.providers.blockednumber

    com.android.providers.userdictionary

    com.android.providers.media.module

    com.samsung.android.watch.watchface.superfiction

    com.google.android.clockwork.oemsetup

    com.wssyncmldm

    com.samsung.android.watch.worldclock

    com.android.hotspot2.osulogin

    com.samsung.android.clientconnection

    com.android.location.fused

    com.sec.android.app.personalization

    com.samsung.android.apps.wearable.recent

    com.samsung.android.watch.watchface.digitalfont

    com.samsung.aasaservice

    com.samsung.android.watch.watchface.endangeredanimal

    com.samsung.android.cidmanager

    com.android.bluetooth

    com.samsung.android.watch.watchface.companionhelper

    com.samsung.sec.android.application.csc

    com.samsung.android.samsungnetworklocation

    com.google.android.wearable.frameworkpackagestubs

    com.samsung.android.watch.watchface.tickingsound

    com.samsung.android.mcfds
    type to restore
    pm install-existing <package-name-to-reinstall>
    once you are done exit and disconnect:
    exit
    adb disconnect

    ~~~ Scenario 5: Pulling Apps ~~~
    Enter Shell mode typing:
    adb shell
    then type
    pm list packages
    Find the package of interest then type
    pm path <package-name>
    this returns the path of the apk package location, exit shell
    exit
    now pull it typing:
    adb pull <path-to-apk-package> <package-name>.apk
    you have pulled the apk into the adb folder...


    ~~~ End of Scenarios ~~~
    I have one thing to say, sorry for the caps in advance, but I got to do it
    TURN OFF ADB ON WATCH
    otherwise it will drain your watch battery...
    ~~~ Don't forget to ~~~
    Don't forget to smash the (y)THANKS (y)
    PS. if you are super happy and want to thank me, It is highly appreciated if you'd consider supporting me through my Patreon Page ❤️ 😊


    ✯ XDA: https://forum.xda-developers.com/m/dante63.7047928/
    ✯ Reddit: https://www.reddit.com/user/XDA-Dante63/
    ✯ Telegram: https://t.me/xda_dante63
    6
    agrred, but its hard to find gapps for wear os

    Do you think there a way to found them on or extract them ?
    Here's a dump of every APK on my GW4, even the non-system apps(why not?).

    Keep in mind, some of the apps are now split-apks. I've made those apps individual folders, and you'll need to cd into them and then use adb install-multiple base.apk split1.apk split2.apk etc, in order to install those apps. (I hope somebody ports SAI to Wear OS soon....)
    5
    Ok, so I disabled Bixby agent+wakeup yesterday (instead of uninstalling like before...) and no problems since. I can use all the other functions just fine, and GPS/WiFi toggle as expected. All good.
    4
    Best way for me to delte and freez apps is ADBAppControll.
    Works great! Even if you delte the app you can choose to to and it`s very easy to reinstallsave the app.
    3
    someone tried to install google assistant via adb?
    Can´t find an apk and have no other watch to extract it -.-
    When I get my watch and see that I have it, I will pull and upload it for you...
    I apologise for dumb question: i always wanted to play with adb (for uninstalling and disabling apps) on my phones...but i didn't have the guts or knowledge. Can i use this guide (to the letter) to do it on my phone?
    Including using the minimal adb zip you provided?
    I intend to uninstall stuff when my fold3 and watch 4 classic lte arrive
    No question is dumb and yes you can use the guide as a reference, just keep in mind that packages of phone are different than the watch, also, on the phone you can disable system apps but you can't uninstall them like the watch (as far as I know) and finally, no need to do adb install on the phone because it's a direct install...

    Unless when you said use it on the phone as in execute adb commands on the phone for the watch, yes it will work too...