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

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:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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
Click to expand...
Click to collapse
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 THANKS
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

I am gonna reserve this just in case I need it in the future

Hi, thanks for that, will be helpful.
Has anyone tested disabling samsung pay? Or any other system apps? Just curious if its safe to disable it..
Thanks

strokk said:
Hi, thanks for that, will be helpful.
Has anyone tested disabling samsung pay? Or any other system apps? Just curious if its safe to disable it..
Thanks
Click to expand...
Click to collapse
SHM is a system app and has been disabled, no issues...
You can try disabling Samsung pay, the expected scenario is the watch will call Samsung pay, it doesn't find it returns "no supported app found" or "enable Samsung pay?" Or take you to the playstore or (last or I promise lol) it will switch to another pay method...
Uninstalling is the dangerous command...

someone tried to install google assistant via adb?
Can´t find an apk and have no other watch to extract it -.-

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

pleitegeier said:
someone tried to install google assistant via adb?
Can´t find an apk and have no other watch to extract it -.-
Click to expand...
Click to collapse
When I get my watch and see that I have it, I will pull and upload it for you...
Diaconescu_Tiberiu said:
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
Click to expand...
Click to collapse
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...

Thanks! Works great.

There is an error for enabling package: pm enable-user --user 0 <package-name-to-disable> should be : pm enable --user 0 <package-name-to-disable>

renton82 said:
There is an error for enabling package: pm enable-user --user 0 <package-name-to-disable> should be : pm enable --user 0 <package-name-to-disable>
Click to expand...
Click to collapse
Thank you for sharing, I'll fix it right away

Hey man great guide. I noticed you are missing a few apps. I removed it myself
com.samsung.android.wear.calculator
com.microsoft.office.outlook
com.samsung.android.wearable.music

al52025 said:
Hey man great guide. I noticed you are missing a few apps. I removed it myself
com.samsung.android.wear.calculator
com.microsoft.office.outlook
com.samsung.android.wearable.music
Click to expand...
Click to collapse
Thank you for sharing, I'll add them when I can

Will disabling or uninstalling apps cause the watch not to take OTA updates, or any updates to the system at all? I have my TWP3 debloated, and it works with items uninstalled/disabled etc.

AwkwardUberHero said:
Will disabling or uninstalling apps cause the watch not to take OTA updates, or any updates to the system at all? I have my TWP3 debloated, and it works with items uninstalled/disabled etc.
Click to expand...
Click to collapse
You'll still get OTA updates and you might see things you debloated get installed again, depending on what the update has

Dante63 said:
You'll still get OTA updates and you might see things you debloated get installed again, depending on what the update has
Click to expand...
Click to collapse
Thanks. That makes sense. Appreciate you making this thread on how to do all of this.

Hey finally a topic I was looking for !
I have a question. Is that the same as ADB Minimal Fastboot ?
I will buy the GW4 very soon and since I am in China, therefore buying the Chinese version that doesn't come with the Playstore, I was planning to install the Playstore APK on it.
Then I Googled and found a post about using ADB to install APK from PC to WearOS and I found that some use ADB Minimal ADB Fastboot to do that. Reading this post it looks the same, but I haven't used ADB so I can't be sure for sure
[EDIT]
I just click on the ADB link and saw that it was ADB Minimal Fastbook, my bad I haven't checked on the link first. Well awesome nice and thanks for the post!
Do you guys think that I can install the Playstore APK on the GW4 (China version doesn't have Playstore and I work in China now) ?

Dante63 said:
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
~~~ ​
Click to expand...
Click to collapse
Here when you say "type the following: adb connect <IP>", where do I find the IP I should replace "IP" with?
Same question for "adb -s <IP> install <apk-name>.apk"
Sorry if the question sound stupid, I haver used the command window, I'm a total novice

Mini Jay said:
Here when you say "type the following: adb connect <IP>", where do I find the IP I should replace "IP" with?
Same question for "adb -s <IP> install <apk-name>.apk"
Sorry if the question sound stupid, I haver used the command window, I'm a total novice
Click to expand...
Click to collapse
On your watch. When you enable adb over wifi, it'll show you your ip address. Something like 192.168.1.1:5555

AwkwardUberHero said:
On your watch. When you enable adb over wifi, it'll show you your ip address. Something like 192.168.1.1:5555
Click to expand...
Click to collapse
thanks!

Mini Jay said:
thanks!
Click to expand...
Click to collapse
Welcome!

Related

How prevent from Auto upgrading to Oreo?

I turned off Auto download on WiFi, but I'm not confident it will stop update to Oreo.
Anyone know if/what I need to do to prevent the update?
I found in Developer Options an auto system update option that I turned off but it still updated. Dammit!
No help from anyone here either. Maybe it can't be prevented.
I have deactivated network access for the app „System Update“ and deactivated the search for updates from within the update app.
Seems to work.
I'll keep that in mind if it happens again.
Update on turning off updates in Developer options: I have since found this to be what happens after turning off auto update in dev options:
It downloads the update
It puts a notice up that it has upgraded and I need to boot (that was when I posted about it still updating)
But turns out it does not actually perform the update.
It is a bit annoying. I get that notice and it remains in the notifications, even though I have gone in and turned off that notification. As long as it doesn't update, I guess I can live with it.
As it's already downloaded, I'd say your options won't help me at this point.
To get rid oft the notification, open Settings » Apps and delete data an cache oft the Systemupdate app. Then continue restricting its network access ( all three options) and notifications. To be sure, disable its ability to change system settings.
itsjustmeagain said:
I have deactivated network access for the app „System Update“ and deactivated the search for updates from within the update app.
Seems to work.
Click to expand...
Click to collapse
I presume I disable network access under networked apps menu. The only access listed there is mobile. I would think it could still get there when hooked to Wi-Fi.
Do not see an app called update for which to disable search. But I have applied all of your other suggestions, and appreciate your help.
without root : adb shell pm uninstall -k --user 0 com.huawei.android.hwouc
Done !
I was surprised...just got another prompt to update. Wanted access to photos. I denied and cancelled. I haven't had that particular promo for a while. I bet outs prompting now because I deleted the download. Although I have auto update turned off in developer options.
use my command and you'll never get this update again
mrassol said:
use my command and you'll never get this update again
Click to expand...
Click to collapse
Ok. Thanks. I'll have to get the appropriate stuff installed on the PC to do that. Since moving to this phone from Samsungs, I've not used any of that stuff, or done any rooting (I do miss root a bit).
mrassol said:
use my command and you'll never get this update again
Click to expand...
Click to collapse
So I have just finished a fresh reload of the original ROM, and now want to trh the command you listed
adb shell pm uninstall -k --user 0 com.huawei.android.hwouc
Click to expand...
Click to collapse
But I can't get ADB to recognize the phone. I have USB Debugging turned on. I have Hisuite able to see it. But ADB does not see it.
When I search Google for how to do ADB on the Mate 9, I keep getting led to info about installing fastboot. When I go to the Huwaei site to download the fastboot / adb stuff, the site freezes.
Any suggestions?
ewingr said:
So I have just finished a fresh reload of the original ROM, and now want to trh the command you listed
But I can't get ADB to recognize the phone. I have USB Debugging turned on. I have Hisuite able to see it. But ADB does not see it.
When I search Google for how to do ADB on the Mate 9, I keep getting led to info about installing fastboot. When I go to the Huwaei site to download the fastboot / adb stuff, the site freezes.
Any suggestions?
Click to expand...
Click to collapse
have you tried to uncheck and recheck usb debugging ?
what does adb devices tells you ?
mrassol said:
have you tried to uncheck and recheck usb debugging ?
what does adb devices tells you ?
Click to expand...
Click to collapse
I don't know what was going on. AFter posting, I was chasing USB drivers. But I was having problems finding them to download too. I tried it again though, and it is now working. Not sure what was going on.
Thanks for your input. I appreciate it.
Restore update
Hm, and how it restore, again install it com.huawei.android.hwouc ?
Where is download it?
Thanks
minzak said:
Hm, and how it restore, again install it com.huawei.android.hwouc ?
Where is download it?
Thanks
Click to expand...
Click to collapse
adb shell cmd package install-existing com.huawei.android.hwouc
For me it's better to disable/enable this app:
adb shell pm disable-user com.huawei.android.hwouc
adb shell pm enable --user 0 com.huawei.android.hwouc
minzak said:
Hm, and how it restore, again install it com.huawei.android.hwouc ?
Where is download it?
Thanks
Click to expand...
Click to collapse
To disable System Update, use:
adb shell pm disable-user com.huawei.android.hwouc
If you ever want to enable it back, simply go to Settings, Apps, check to show System apps and services, scroll to System Update and Enable
Tuxozaur said:
adb shell cmd package install-existing com.huawei.android.hwouc
For me it's better to disable/enable this app:
adb shell pm disable-user com.huawei.android.hwouc
adb shell pm enable --user 0 com.huawei.android.hwouc
Click to expand...
Click to collapse
When I type in:
adb shell cmd package install-existing com.huawei.android.hwouc
Click to expand...
Click to collapse
I get error "Unknown command: install-existing"
So I tried:
adb shell cmd package install -existing com.huawei.android.hwouc
Click to expand...
Click to collapse
I get this:
Exception occurred while dumping:
java.lang.IllegalArgumentException: Unknown option -e
at com.android.server.pm.PackageManagerShellCommand.makeInstallParams(PackageManagerShellCommand.java:1070)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:139)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:94)
at android.os.ShellCommand.exec(ShellCommand.java:94)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:19505)
at android.os.Binder.shellCommand(Binder.java:468)
at android.os.Binder.onTransact(Binder.java:367)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2387)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3504)
at com.android.server.pm.HwPackageManagerService.onTransact(HwPackageManagerService.java:659)
at android.os.Binder.execTransact(Binder.java:565)
Click to expand...
Click to collapse
So I did a list of the command parameters, and do not even see anywhere that -existing would be used.
Can someone please provide me correct command to re-install the com.huawei.android.hwouc?
ewingr said:
When I type in:
I get error "Unknown command: install-existing"
...
Can someone please provide me correct command to re-install the com.huawei.android.hwouc?
Click to expand...
Click to collapse
Correct re-install command is as in the Post #15:
Code:
adb shell cmd package install-existing com.huawei.android.hwouc
See also:
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
https://forum.xda-developers.com/ma...-bloatware-blocking-ads-t3971297/post80526831
and attachments (batch script - rename to bat, and screenshot from PC)
Code:
ECHO OFF
CLS
adb wait-for-device devices
PAUSE
ECHO List packages
adb shell pm list packages
PAUSE
ECHO Disable System Update
adb shell pm disable-user com.huawei.android.hwouc
PAUSE
ECHO List disabled packages
adb shell pm list packages -d
PAUSE
ECHO Re-enable System Update
adb shell pm enable com.huawei.android.hwouc
PAUSE
ECHO Uninstall System Update
adb shell pm uninstall -k --user 0 com.huawei.android.hwouc
PAUSE
ECHO Re-install System Update
adb shell cmd package install-existing com.huawei.android.hwouc
PAUSE
Make sure to have ADB USB debugging enabled in Development menu. PC must be granted for debugging (from the phone side).
Ofc, drivers, etc must be installed to the PC - Minimal ADB and Fastboot package (search on XDA) will do
Problem is, I have already run the delete cmd from earlier in the thread (a reply to my original post here.) Now I need to reinstall. The post I quoted supposedly is how to do that, but I'm getting the errors noted. Going forward I will do it per your suggestion.
Hoping someone can give me correct syntax to revive the update functionality.
ewingr said:
Problem is, I have already run the delete cmd from earlier in the thread (a reply to my original post here.) Now I need to reinstall. The post I quoted supposedly is how to do that, but I'm getting the errors noted. Going forward I will do it per your suggestion.
Hoping someone can give me correct syntax to revive the update functionality.
Click to expand...
Click to collapse
There is no ADB delete cmd - could you be precise and quote exactly the command you originally used?
And the ROGHT commands for ADB re-enabling and re-installing are e.g in my previous post, there are no other 'correct syntax' commands (Google search is also your friend)
If your ADB does not recognize
adb shell cmd package install-existing ...
then something is wrong with your ADB installation on PC or settings on the phone.
Follow the first link in my previous answer and set/install ADB exactly as described in the XDA article
Ofc, if you rooted the phone and you really DELETED hwouc, then you can not reinstall by ADB - but then ADB would not complain that it did not recognize the command but would complain that package did not exist

Oukitel WP5 Pro

Hi everyone!
It is very necessary to get root on Oukitel WP5 Pro!
All that has happened so far is to unlock the bootloader and install TWRP.
Current firmware - OUKITEL_WP5Pro_EEA_V03_20200723_20200723-1929
Can someone help with getting root?
Perhaps it will be possible to port andoid 9 from another device with a mt6762d processor and get root at 9 first, and then upgrade to android 10?
but one guy say:
"Android 10 apps or pretty much anything from prevents mounting system as R / W. Yes, even if you are rooted."
I don't know if there is still some way to get root, albeit with downgrade to android 9.
Hi @aviplokos84, I guess we're on the same boat. Did you install TWRP by Mehanik6? That's the only one I found but it's not working properly. When I start it after a clean factory reset, it works. But once I have installed my apps and such if I reboot into recovery it gets stuck at the TWRP logo. I repeated the process 3 times and I always ended up at the same point.
wallace108 said:
Hi @aviplokos84, I guess we're on the same boat. Did you install TWRP by Mehanik6? That's the only one I found but it's not working properly. When I start it after a clean factory reset, it works. But once I have installed my apps and such if I reboot into recovery it gets stuck at the TWRP logo. I repeated the process 3 times and I always ended up at the same point.
Click to expand...
Click to collapse
Yes, I was able to install recovery by Mehanik6.
it did not immediately turn out exactly as in his instruction, not immediately possible to unlock the bootloader.
Each time I enter the recovery, its read-only access, changes are not saved. This stupid section Super!
Maybe you should double-check everything.
Or try to boot into the recovery from the bootloader?
I will look into it. Because I don't understand why I can get access to the recovery only the first time. However on that occasion I managed to successfully install the patch to remove the orange state warning.
This is a very strange phone. I can't figure out how to change all the pictures on the lock screen... Is the Oukitel launcher any good? A lot of sources say the phone has NFC but mine doesn't seem to. (also heard the extra cameras' are fake?)
Edit: I love the phone though, I find most phones too thin lol.
We have ROOT!
Please update your Magisk Manager to the latest canary build and patch the boot.img.
wallace108 said:
We have ROOT!
Please update your Magisk Manager to the latest canary build and patch the boot.img.
Click to expand...
Click to collapse
hello, is it possible to have some instructions on the procedure or at least point me in the direction where i might find them.
thanks in advance
h2ikm8 said:
hello, is it possible to have some instructions on the procedure or at least point me in the direction where i might find them.
thanks in advance
Click to expand...
Click to collapse
I suggest you should google Magisk Manager and learn how it works.
wallace108 said:
I suggest you should google Magisk Manager and learn how it works.
Click to expand...
Click to collapse
i know how magisk works (sort of), i have rooted my previous phone a redmi note 4, this one on the other hand is my new phone and the patch part i don't quite understand the procedure, and since it's my working phone i just wanted to avoid bricking the damn thing.
i'm finding a lot of conflicting posts, i just need those pointers on how it's done, and was wandering if there are any custom roms for it at all.
thanks for the fast reply anyway
h2ikm8
This procedure is delicate and you take FULL responsability for what you do. Be aware of that.
1.You want to download the firmware from Oukitel site and familiarize with flashtools (which is the tool to upload the firmware).
2. Then you must unlock the bootloader (you do that with adb tools using the fastboot command).
3. Copy boot.img to the root of your phone (the file is whitin the firmware).
4. With magisk you want to patch the above mentioned boot.img. Magisk will produce a patched image.
5. copy such image on your computer and upload it with flashtools to replace the original boot.img
6. At the same time you must overwrite the file vbmeta.img with an empty one (search online for this).
Done.
Ok, will try with full knowledge that if i break it...i allready bought it
wallace108 said:
h2ikm8
This procedure is delicate and you take FULL responsability for what you do. Be aware of that.
1.You want to download the firmware from Oukitel site and familiarize with flashtools (which is the tool to upload the firmware).
2. Then you must unlock the bootloader (you do that with adb tools using the fastboot command).
3. Copy boot.img to the root of your phone (the file is whitin the firmware).
4. With magisk you want to patch the above mentioned boot.img. Magisk will produce a patched image.
5. copy such image on your computer and upload it with flashtools to replace the original boot.img
6. At the same time you must overwrite the file vbmeta.img with an empty one (search online for this).
Done.
Click to expand...
Click to collapse
so i managed to follow your procedure, and got magisk working but i'm stuck at the logo in Mehanik6' s twrp.
any advice? thanks
@h2ikm8 I'm sorry but we're in the same boat (I got the same error). At the moment I'm waiting for a working TWRP custom recovery. I suggest you should check the twrp site for updates.
Hi.
wallace108 said:
This procedure is delicate and you take FULL responsability for what you do. Be aware of that.
1.You want to download the firmware from Oukitel site and familiarize with flashtools (which is the tool to upload the firmware).
2. Then you must unlock the bootloader (you do that with adb tools using the fastboot command).
3. Copy boot.img to the root of your phone (the file is whitin the firmware).
4. With magisk you want to patch the above mentioned boot.img. Magisk will produce a patched image.
5. copy such image on your computer and upload it with flashtools to replace the original boot.img
6. At the same time you must overwrite the file vbmeta.img with an empty one (search online for this).
Done.
Click to expand...
Click to collapse
wallace108 said:
@h2ikm8 I'm sorry but we're in the same boat (I got the same error). At the moment I'm waiting for a working TWRP custom recovery. I suggest you should check the twrp site for updates.
Click to expand...
Click to collapse
Please clarify, does the way described above works to rooting device without using TWRP ?
@df_ni The answer is yes. In fact at the moment there is no TWRP recovery actually working for this device.
But since getting root is done by Magisk, a custom recovery is unnecessary.
Thanks!
Hi,
So, is there a protocol do finally root that device ? I tried several guides, but at best my phone is now in "orange state" (it was it "red state" at some point !).
I guess that it's important to root it, only by the fact that most launchers don't even allow to add widgets !
Hi all... Until we get ROOT to this phone.
I have been using WP5 Pro as my daily driver for 9 months now, and am super happy with it.
However... After 3 months, the large 8000Ah battery didn't last as long as it should.
So I opened it up in ADB :
adb shell 'pm list packages -f' | sed -e 's/.*=//' | sort
ore
adb shell pm list packages
and took a closer look at the pre installed crap on the phone. And I was shocked by all the unnecessary s*it i found. com.mediatek.atmwifimeta : Why is all my Wifi traffic logged and sent to a remote server !!!.
To you who are interested in removing bloatware on your phone.
I put together a list of crap you can delete without affecting your daily use of the phone.
Just Copy & Paste in terminal and restart the phone.
adb shell pm uninstall -k --user 0 com.ssui.chdmodel
adb shell pm uninstall -k --user 0 com.android.companiondevicemanager
adb shell pm uninstall -k --user 0 com.android.dynsystem
adb shell pm uninstall -k --user 0 com.android.wallpaper.livepicker
adb shell pm uninstall -k --user 0 com.google.android.apps.tachyon
adb shell pm uninstall -k --user 0 com.google.android.apps.docs
adb shell pm uninstall -k --user 0 com.google.android.apps.googleassistant
adb shell pm uninstall -k --user 0 com.google.android.apps.wellbeing
adb shell pm uninstall -k --user 0 com.google.android.apps.youtube.music
adb shell pm uninstall -k --user 0 com.elephanttek.faceunlock
adb shell pm uninstall -k --user 0 com.android.emergency
adb shell pm uninstall -k --user 0 com.android.nfc
adb shell pm uninstall -k --user 0 com.elephanttek.faceunlock
adb shell pm uninstall -k --user 0 com.adups.privacypolicy
adb shell pm uninstall -k --user 0 com.android.backupconfirm
adb shell pm uninstall -k --user 0 com.adups.fota
adb shell pm uninstall -k --user 0 com.android.bips
adb shell pm uninstall -k --user 0 com.android.cts.ctsshim
adb shell pm uninstall -k --user 0 com.android.cts.priv.ctsshim
adb shell pm uninstall -k --user 0 com.android.localtransport
adb shell pm uninstall -k --user 0 com.android.partnerbrowsercustomizations.example
adb shell pm uninstall -k --user 0 com.android.printspooler
adb shell pm uninstall -k --user 0 com.android.sharedstoragebackup
adb shell pm uninstall -k --user 0 com.android.wallpaperbackup
adb shell pm uninstall -k --user 0 com.debug.loggerui
adb shell pm uninstall -k --user 0 com.android.traceur
adb shell pm uninstall -k --user 0 com.android.htmlviewer
adb shell pm uninstall -k --user 0 com.google.android.apps.restore
adb shell pm uninstall -k --user 0 com.google.android.apps.restore
adb shell pm uninstall -k --user 0 com.google.android.feedback
adb shell pm uninstall -k --user 0 com.google.android.onetimeinitializer
adb shell pm uninstall -k --user 0 com.google.android.gms.location.history
adb shell pm uninstall -k --user 0 com.google.android.videos
adb shell pm uninstall -k --user 0 com.mediatek.atmwifimeta
adb shell pm uninstall -k --user 0 com.android.calllogbackup
adb shell pm uninstall -k --user 0 com.ssui.setupwizard
adb shell pm uninstall -k --user 0 com.ssui.sos
You can Reinstall one or all apps again by putting:
adb shell cmd package install-existing com.app name
With USB Debugging enabled on your phone.....
There is a lot to copy and paste, so I created a script that cleans your phone in 10 seconds from all this bloatware. Download it at the bottom of this post to your desktop, unzip it to your desktop, connect phone and double-click the Claning file.
The default launcher on this phone is terrible. Here is a good alternative...
Using Mod SMART LAUNCHER 5 PRO
You can download it here: here.... here.... ore here..... just incase here too......
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello Oukitel WP5 pro users.
I'm facing issues that phone kills my sports tracking apps after lock let say after 30mins -+. I tried lot of fix: allow apps in DuraSpeed, disable duraspeed, don't optimize apps in battery option. Lot of stuff. Do you have any clue, where can be located some magick settings to denied phone killing apps. Maybe I set some hidden feature do to that, because issue does not exist few weeks ago. All reply are welcome.
nomexcze said:
Hello Oukitel WP5 pro users.
I'm facing issues that phone kills my sports tracking apps after lock let say after 30mins -+. I tried lot of fix: allow apps in DuraSpeed, disable duraspeed, don't optimize apps in battery option. Lot of stuff. Do you have any clue, where can be located some magick settings to denied phone killing apps. Maybe I set some hidden feature do to that, because issue does not exist few weeks ago. All reply are welcome.
Click to expand...
Click to collapse
Hi.
The problem lies in how Oukitel has set app permission. Only system apps have permission to run constantly in the background. Have a oukitel C16 pro and the same problem there. To get around that problem on that phone, I rooted the phone with Magisk, and put the app's in to the system folder and let the phone boot up with the apps I needed as system app, and problem was solved.
So I guess when ROOT comes to this phone, we can solve your problem

Uninstalled sideloaded app, now unable to reinstall

1. Sideloaded an app using LineageOS 17.1 recovery via "Apply update" > "Apply from ADB" > then "adb sideload" command on my PC.
2. Uninstalled the app using "adb shell pm uninstall -k --user 0 <package.name>". Also uninstalled from my work profile using the same command.
3. Now when I try to sideload the same app using the same process, it says success, however the app isn't on my phone.
Any help? Thanks.
Code:
adb shell pm uninstall -k -user 0 <package.name>
doesn't uninstall an app, it simply hides the app from Android's default user ( read: user 0 ).
To really uninstall an app you'ld have to run
Code:
adb uninstall <package.name>
jwoegerbauer said:
Code:
adb shell pm uninstall -k -user 0 <package.name>
doesn't uninstall an app, it simply hides the app from Android's default user ( read: user 0 ).
To really uninstall an app you'ld have to run
Code:
adb uninstall <package.name>
Click to expand...
Click to collapse
I tried that but I just got the error message "[DELETE FAILED_INTERNAL_ERROR]". Any idea on how to fix this mess?
Can anyone please help me with this? I need to properly uninstall the app and reinstall it.
google is your friend
How to install / get back uninstalled Apps (APKs) with ADB.
A lot of people searched for a way to uninstall bloat or APKs using ADB because a lot of OEMs don't allow uninstalling many of preinstalled apps. Tested on Pie and Oreo. BUT most of the articles if not all of them ( couldn't find any article...
forum.xda-developers.com

Development AIO ADB TOOL V1.6 FOR WATCH4 (23/5/2022)

HELLO GUYS AND GIRLS
IVE CREATED THIS TOOL FOR THOSE NEW TO XDA, ADB OR ARE JUST LAZY
i reluctantly got a watch 4 today (i have the gear 2 with ir and camera)
and have been holding off for a decent upgrade with ir and camera, but well, it never came, so here i am with a watch 4
This will automate your adb needs
(mostly)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
!!! DISCLAIMER !!!
I DO NOT ACCEPT RESPONSIBILTY FOR ANYTHING THAT MAY HAPPEN USING THIS TOOL
YOUR USING IT AT YOUR OWN RISK
FIRST OFF DOWNLOAD ADB - FASTBOOT
v1.5.2 exe - Windows - GDrive - Dropbox
place it in c:\adb it should look something like this
Now download the tool place it in c:\adb
(in changelog below)
Open it with a double click and follow onscreen instructions
Thanks to
73sydney
more features coming soon
is there anything you'd like added to the push / pull menu ?​
CHANGELOG
V1.0 CREATED TOOL
V1.1 ADDED FRAMEWORK RES EXTRACTION AND CONVERSION, BOOTANIMATION PULL
V1.2 BUGFIXES
V1.3 FIXED BUGS ADDED NEW FETURES (SEE SCREENS BELOW)
V1.4 BUG FIX
v1.6 SIMPLIIED CONNECTION TO WATCH
DOWNLOAD LINKS
\/\/\/
\/\/
\/
GDRIVE - MEGA - DROPBOX
​
HELP
Spoiler
TO ENABLE DEVELOPER OPTIONS ON THE PHONE
1st - Go into your setting
2nd - Scroll down to "About Phone", open it
3rd - Open "Software Information"
4th - Press "Build Number" several times until you see a pop up window counting down from 3 until developer options are enabled
TO ENABLE USB DEBUGGING ON THE PHONE
1st - Enable "Developer Options" (see above)
2nd - Open the Developer Options setting, in settings, at the bottom of the page
3rd - Scroll down to the "Debugging" and press the "USB Debugging" button
TO ENABLE DEVELOPER OPTIONS ON THE WATCH
1st - Go into your setting
2nd - Scroll down to "About Watch", open it
3rd - Scroll down to "Software"
4th - Press "Software Version" several times until you see a pop up window stating developer options are enabled
TO ENABLE ADB DEBUGGING ON THE PHONE
1st - Enable "Developer Options" (see above)
2nd - Open the Developer Options setting, in settings, 4TH up from the bottom of the page
3rd - Scroll down to the "Adb Debugging" and press the button
4th - Scroll down to "Debug over WiFi" and press the button
TO FIND YOUR WIFI IP
Ist - Enable "Developer options" on the watch (see above)
2nd - Enable "ADB Debugging" on the watch (see above)
3rd - look on the "Debug over wifi" switch to find it
BLOATWARE LIST
Spoiler
pm uninstall -k --user 0 com.samsung.android.watch.watchface.myphoto
pm uninstall -k --user 0 com.samsung.android.watch.watchface.mystyle
pm uninstall -k --user 0 com.samsung.android.watch.compass
pm uninstall -k --user 0 com.samsung.android.watch.weather
pm uninstall -k --user 0 com.samsung.android.messaging
pm uninstall -k --user 0 com.samsung.android.watch.watchface.basicclock
pm uninstall -k --user 0 com.samsung.android.watch.watchface.simpleclassic
pm uninstall -k --user 0 com.samsung.android.watch.watchface.dualwatch
pm uninstall -k --user 0 com.samsung.android.samsungpay.gear
pm uninstall -k --user 0 com.samsung.android.app.reminder
pm uninstall -k --user 0 com.samsung.android.watch.watchface.together
pm uninstall -k --user 0 com.samsung.android.watch.watchface.typography
pm uninstall -k --user 0 com.samsung.android.watch.watchface.large
pm uninstall -k --user 0 com.samsung.android.watch.watchface.animal
pm uninstall -k --user 0 com.google.android.apps.maps
pm uninstall -k --user 0 com.samsung.android.watch.watchface.aremoji
pm uninstall -k --user 0 com.samsung.android.watch.watchface.analogmodular
pm uninstall -k --user 0 com.samsung.android.watch.watchface.emergency
pm uninstall -k --user 0 com.samsung.android.watch.watchface.simpleanalogue
pm uninstall -k --user 0 com.google.android.apps.wearable.retailattractloop
pm uninstall -k --user 0 com.samsung.android.bixby.wakeup
pm uninstall -k --user 0 com.samsung.android.watch.watchface.bitmoji
pm uninstall -k --user 0 com.android.providers.userdictionary
pm uninstall -k --user 0 com.samsung.android.watch.watchface.superfiction
pm uninstall -k --user 0 com.samsung.android.watch.worldclock
pm uninstall -k --user 0 com.samsung.android.watch.watchface.endangeredanimal
pm uninstall -k --user 0 com.samsung.android.video.wearable
pm uninstall -k --user 0 com.samsung.android.watch.watchface.basicdashboard
pm uninstall -k --user 0 com.google.android.wearable.assistant
pm uninstall -k --user 0 com.samsung.android.watch.watchface.livewallpaper
pm uninstall -k --user 0 com.samsung.android.watch.watchface.healthmodular
pm uninstall -k --user 0 com.samsung.android.watch.watchface.weather
pm disable-user --user 0 com.samsung.android.bixby.agent
pm uninstall -k --user 0 com.samsung.android.shealthmonitor
if you want to remove individual items
please go here and give [B]marco_lu[/B] a thanks, this is his list​
SCREENS
Spoiler
Excited for this!
ADDED FRAMEWORK RES EXTRACTION AND CONVERSION, BOOTANIMATION PULL
Hi, I have downloaded your batch file and I see that you have added lots and lots of options, from experience I know it is a lot of hours of trial and error.
I have a doubt about the options, what is the use of introducing an audio in the notifications folder of the watch? I think for now you can't replace those default sounds with custom sounds, or am I wrong?
I know that for ringtones yes you can put a custom audio, but at least I don't know how to put a custom audio in the alarm and notifications sound.
In the case of ringtones you do not need root because you can put customized sounds in the sdcard, in "/sdcard/Ringtones/".
bernarbernuli said:
Hi, I have downloaded your batch file and I see that you have added lots and lots of options, from experience I know it is a lot of hours of trial and error.
I have a doubt about the options, what is the use of introducing an audio in the notifications folder of the watch? I think for now you can't replace those default sounds with custom sounds, or am I wrong?
I know that for ringtones yes you can put a custom audio, but at least I don't know how to put a custom audio in the alarm and notifications sound.
In the case of ringtones you do not need root because you can put customized sounds in the sdcard, in "/sdcard/Ringtones/".
Click to expand...
Click to collapse
i only got the watch today, im used to tizen not wear os, so im currently learning, so im doing a lot of the foundation work now
in hope of root in the future
gav83collins said:
i only got the watch today, im used to tizen not wear os, so im currently learning, so im doing a lot of the foundation work now
in hope of root in the future
Click to expand...
Click to collapse
Welcome to Wear OS then, in case it helps you some time ago I made a similar tool that I made also in a batch file (although I converted it later to an executable .exe file).
Hacks, tricks, news and updates for Wear OS smartwatches (TicWatch, Fossil, Missfit, Skagen, Xiaomi, Oppo, Suunto...)
Hi, I use and enjoy a Ticwatch Pro 3 watch, and before I had a TicWatch Pro 2020. During this time I have been learning tips for this watch, and some others I knew from when I was playing around with smartphones and I have moved them to the Wear...
forum.xda-developers.com
The link in a very long post, if it doesn't take you to the tool look inside the post. "All-in-One tool for Windows, Wear OS Tools".
If you are interested in the .bat file to get ideas, ask me privately without obligation.
bernarbernuli said:
Welcome to Wear OS then, in case it helps you some time ago I made a similar tool that I made also in a batch file (although I converted it later to an executable .exe file).
Hacks, tricks, news and updates for Wear OS smartwatches (TicWatch, Fossil, Missfit, Skagen, Xiaomi, Oppo, Suunto...)
Hi, I use and enjoy a Ticwatch Pro 3 watch, and before I had a TicWatch Pro 2020. During this time I have been learning tips for this watch, and some others I knew from when I was playing around with smartphones and I have moved them to the Wear...
forum.xda-developers.com
The link in a very long post, if it doesn't take you to the tool look inside the post. "All-in-One tool for Windows, Wear OS Tools".
If you are interested in the .bat file to get ideas, ask me privately without obligation.
Click to expand...
Click to collapse
yeah i do the same too usually, but users cant modify the .exe so easy, and seeing they need to input their own wifi ip address the method im using afaict is the easiest for them
UPDATED OP
added new screens, new features, fixed gdrive permission for request of files
Added youtube video to screens
It's not the year 2000, if you're holding out for ir you'll be waiting a long long time..
TheIntruder said:
It's not the year 2000, if you're holding out for ir you'll be waiting a long long time..
Click to expand...
Click to collapse
lol its a 2014 model and i held out long enough, and thats why im now here
new tool with simplified connection to watch in op
Hi, may i have full system dump for sgw4
@gav83collins you may want to look into trying to partner or work with the dev of Adb app control and see about combining your work into one awesome tool. Because I have used your tool on my watch and his tool on my fold3 and watch. So the uses are many
'cecho' is not recognized as an internal or external command, operable program or batch file.
Any suggestions?
same here. and doesn't seem to remove anything. i've tried the ip address, and ip address with port number. it says complete on every step but nothing actually happens.
version 1.6 was not working so look at the .bat
in line 164 replace:
!ADB_PATH!\adb.exe connect %_IP%
by
!ADB_PATH!\adb.exe connect "!_IP!"
the ip is hardcoded in 192.168.0.19
to change this you have to replace all:
192.168.0.19
by
%_IP%
and for the console to be seen in colors and the "cecho" error does not appear, you have to download this: LINK CECHO

Halp...soft-bricked A40 after uninstalling apps ADB!

Hi all,
I may have just messed up my smartphone and really need your help. I wanted to get rid of some of the bloatware on my A40 and read online that one can actually uninstall many apps via the Windows command line. So I looked up a list of apps supposedly safe to remove and ran a batch file to uninstall them. This is as far as I got:
a40:/ $ pm uninstall --user 0 com.sec.android.app.samsungapps
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.app.camera.sticker.facear.preload
Success
a40:/ $ pm uninstall --user 0 com.sec.android.mimage.gear360editor
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.smartmirroring
Success
a40:/ $ pm uninstall --user 0 com.android.htmlviewer
Success
a40:/ $ pm uninstall --user 0 com.sec.android.provider.badge
Success
a40:/ $ pm uninstall --user 0 com.android.sharedstoragebackup
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.app.simplesharing
Success
1|a40:/ $ pm uninstall --user 0 com.samsung.android.themecenter
Success
a40:/ $ pm uninstall --user 0 android.autoinstalls.config.samsung
Success
a40:/ $ pm uninstall --user 0 com.sec.enterprise.mdm.services.simpin
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.stickercenter
Success
a40:/ $ pm uninstall --user 0 com.sec.android.mimage.avatarstickers
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.knox.analytics.uploader
Success
a40:/ $ pm uninstall --user 0 com.sec.enterprise.knox.cloudmdm.smdms
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.app.camera.sticker.stamp.preload
Success
1|a40:/ $ pm uninstall --user 0 com.sec.factory.cameralyzer
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.sdk.handwriting
Success
a40:/ $ pm uninstall --user 0 com.sec.android.app.fm
Success
a40:/ $ pm uninstall --user 0 com.sec.enterprise.knox.attestation
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.mdm
Success
1|a40:/ $ pm uninstall --user 0 com.sec.android.widgetapp.samsungapps
Success
1|a40:/ $ pm uninstall --user 0 com.samsung.android.app.spage
Success
1|a40:/ $ pm uninstall --user 0 com.samsung.android.drivelink.stub
Success
1|a40:/ $ pm uninstall --user 0 com.wsomacp
Success
1|a40:/ $ pm uninstall --user 0 com.samsung.android.game.gametools
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.game.gos
Success
1|a40:/ $ pm uninstall --user 0 com.dsi.ant.sample.acquirechannels
Success
a40:/ $ pm uninstall --user 0 com.dsi.ant.service.socket
Success
a40:/ $ pm uninstall --user 0 com.dsi.ant.server
Success
1|a40:/ $ pm uninstall --user 0 com.android.egg
Success
a40:/ $ pm uninstall --user 0 com.sec.android.easyonehand
Success
1|a40:/ $ pm uninstall --user 0 com.sec.android.app.launcher
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.mateagent
Success
1|a40:/ $ pm uninstall --user 0 com.samsung.android.app.watchmanagerstub
Success
a40:/ $ pm uninstall --user 0 com.sec.android.daemonapp
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.app.social
Success
1|a40:/ $ pm uninstall --user 0 com.samsung.android.wellbeing
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.da.daagent
Success
1|a40:/ $ pm uninstall --user 0 com.android.bips
Success
1|a40:/ $ pm uninstall --user 0 com.samsung.android.authfw
Success
Click to expand...
Click to collapse
Right before that, I had moved apps related to "Knox" and "MDM" and everything seemed fine. But even while the last commands were running, the "desktop" disappeared (the home screen with all my app shortcuts) and some kind of "busy notification" was running instead (I think it said something like "starting up apps" or "launching apps"). But the phone didn't reboot, it just seems that the homescreen had crashed. I then noticed that I might have slipped in apps for deletion that I actually needed or was using, such as
com.sec.android.app.launcher
com.samsung.android.wellbeing
Click to expand...
Click to collapse
Since the phone seemed to be stuck in this "busy loop", I decided to restart it by long-pressing the power button and selecting restart. But from this point, the phone wouldn't restart and got stuck in a reboot loop, where only the Samsung logo pops up, followed by a short vibration pulse, then reboot etc.
At this point I panicked and started searching online for solutions (which also brought me to this forum). I've read about using OEM unlocking, firmware-flashing using Odin, Samsung Tool Pro, TWRP etc. but quickly got lost in the woods and didn't want to risk breaking things more.
There are log files I can access from the boot menu which might contain a lot of useful information regarding the cause of the problem, but it's way too much to type it:
/cache/recovery/last_log
/cache/recovery/last_kmsg
/cache/recovery/last_history
/cache/recovery/rescueparty.log
/cache/recovery/last_avc_msg_recovery
/cache/recovery/last_log.1
/cache/recovery/last_kmsg.1
[...]
/cache/recovery/last_log.9
/cache/recovery/last_kmsg.9
Click to expand...
Click to collapse
Is there a way I could somehow read these log files via a USB connection? For example, in rescueparty_log, there is some "serious-sounding" stuff:
[email protected]*** FATAL EXCEPTION IN SYSTEM PROCESS: main
java.lang.RuntimeException: There must be exactly one installer; found []
?at com.android.server.pm.PackageManagerService.getRequiredInstallerLPr(PackageManagerService.java:4422)
?at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:3954)
?at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:2856)
?at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:985)
?at com.android.server.SystemServer.run(SystemServer.java:762)
?at com.android.server.SystemServer.main(SystemServer.java:762)
?at java.lang.reflect.Method.invoke(Native Method)
?at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
?at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:945)
Error reporting crash
java.lang.NullPointerException: Attempt to invoke interface method 'void android.app.IActivityManager.handleApplicationCrash(android.os.IBinder, android.app.ApplicationErrorReport$ParcelableCrashInfo)' on a null object reference
?at com.android.internal.os.RuntimeInit$KillApplicationHandler.uncaughtException(RuntimeInit.java:144)
?at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
?at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1063)
?at java.lang.Thread.dispatchUncaughtException(Thread.java:1955)
Click to expand...
Click to collapse
Also, some information from the boot screen output:
Android Recovery
samsung/a40eea/a40
9/PPR1.180610.011/A405FNXXU3ATA4
user/release-keys
#Reboot Recovery Cause is [system_server:7340 RecoverySystemRescueParty]#
Support SINGLE-SKU
Block-Based OTA
Supported API: 3
MANUAL MODE v1.0.0#
Click to expand...
Click to collapse
Is anyone perhaps familiar with this problem and knows of a way how I could get the phone to start up properly, so I can at least recover all my personal data?
My impression is that I might have deleted some important system app, since the problem occurred right in the middle of the uninstall process (see shell history above), and I'm a little bit hopeful that maybe it's possible to just reinstall it somehow. I haven't tried the "Wipe data/factory reset" option in the boot menu as I don't want to lose all my data.
Thank you so much for your help, any advice is super-appreciated!!
kerstin92 said:
Hi all,
I may have just messed up my smartphone and really need your help. I wanted to get rid of some of the bloatware on my A40 and read online that one can actually uninstall many apps via the Windows command line. So I looked up a list of apps supposedly safe to remove and ran a batch file to uninstall them. This is as far as I got:
Right before that, I had moved apps related to "Knox" and "MDM" and everything seemed fine. But even while the last commands were running, the "desktop" disappeared (the home screen with all my app shortcuts) and some kind of "busy notification" was running instead (I think it said something like "starting up apps" or "launching apps"). But the phone didn't reboot, it just seems that the homescreen had crashed. I then noticed that I might have slipped in apps for deletion that I actually needed or was using, such as
Since the phone seemed to be stuck in this "busy loop", I decided to restart it by long-pressing the power button and selecting restart. But from this point, the phone wouldn't restart and got stuck in a reboot loop, where only the Samsung logo pops up, followed by a short vibration pulse, then reboot etc.
At this point I panicked and started searching online for solutions (which also brought me to this forum). I've read about using OEM unlocking, firmware-flashing using Odin, Samsung Tool Pro, TWRP etc. but quickly got lost in the woods and didn't want to risk breaking things more.
There are log files I can access from the boot menu which might contain a lot of useful information regarding the cause of the problem, but it's way too much to type it:
Is there a way I could somehow read these log files via a USB connection? For example, in rescueparty_log, there is some "serious-sounding" stuff:
Also, some information from the boot screen output:
Is anyone perhaps familiar with this problem and knows of a way how I could get the phone to start up properly, so I can at least recover all my personal data?
My impression is that I might have deleted some important system app, since the problem occurred right in the middle of the uninstall process (see shell history above), and I'm a little bit hopeful that maybe it's possible to just reinstall it somehow. I haven't tried the "Wipe data/factory reset" option in the boot menu as I don't want to lose all my data.
Thank you so much for your help, any advice is super-appreciated!!
Click to expand...
Click to collapse
You were way too aggressive with removing all those apps. Some of them are important and the device can't function without them.
You need to reflash your current firmware via Odin and start over. Next time, research what the app actually is before you remove it, you could be removing an app or service that works in unison with an app or service that you intend to keep/use, effectively killing something you actually want to use.
Hello Kerstin92
I think best option is to flash with ODIN "and deselect DATA" partition,then you will not lose your data.
So If you load the firmware in ODIN what was original on the phone while this is happened,then you will see a lot of files on the right side < delete the DATA.img> and then all of your apps will install ,except DATA partition. (Can someone confirm this?
Kindly regards
Droidriven said:
You were way too aggressive with removing all those apps. Some of them are important and the device can't function without them.
Click to expand...
Click to collapse
Hi,
the home screen crashed right during the removal of one of the last apps in my list stated above. Do you recognize any app that might be critical for system stability? I used a removal list from a Samsung-specific website featuring a description/categorization of all unnecessary apps where it was stated that these apps are safe to remove and not required for the phone to run properly (trying to find it right now...)
Edit - I think the list was from one of these two sites:
Easily Remove Bloatware From Galaxy S20, S20+, S20 FE and S20 Ultra (No Root)
Here is our indepth-guide to Remove Bloatware From Galaxy S20, S20+, S20 FE and S20 Ultra (No Root required)
rootmygalaxy.net
Learn to Completely Remove Bloatware on your Galaxy S10 (No Root Needed) • Android Flagship
You know how the story goes. Your Galaxy S10 might seem to have it all, but Samsung needs to make a few changes when it comes to the pre-installed apps. They basically reduce the user experience and are nothing more...
androidflagship.com
Droidriven said:
You need to reflash your current firmware via Odin and start over.
Click to expand...
Click to collapse
I've looked into this a bit and it seems that one can flash the firmware while retaining one's data (i.e. such that it doesn't get wiped). Have you ever done this and could you give me some advice on how to do this safely? E.g. do I need a certain version of Odin, where should I best download the original firmware (something safe/malware-free), which settings in Odin and which FW files are required etc.
I can get into the boot menu with recovery options and I can also get into download mode, so not all is lost it seems.
Thank youuu
Hi Tresans,
have you ever done this and could you give me some advice on how to do this safely? E.g. do I need a certain version of Odin, where should I best download the original firmware (something safe/malware-free), which settings in Odin and which FW files are required etc.?
I can get into the boot menu with recovery options and I can also get into download mode, so not all is lost it seems. But my feeling is that flashing could end up being a one-shot chance, so I don't want to mess this up.
Many thanks!
kerstin92 said:
Hi Tresans,
have you ever done this and could you give me some advice on how to do this safely? E.g. do I need a certain version of Odin, where should I best download the original firmware (something safe/malware-free), which settings in Odin and which FW files are required etc.?
I can get into the boot menu with recovery options and I can also get into download mode, so not all is lost it seems. But my feeling is that flashing could end up being a one-shot chance, so I don't want to mess this up.
Many thanks!
Click to expand...
Click to collapse
I sent you a message !!! Hope I can help
victoriam8a said:
I sent you a message !!! Hope I can help
Click to expand...
Click to collapse
Why not post your tips here so anyone can benefit from it?
xtcislove said:
Why not post your tips here so anyone can benefit from it?
Click to expand...
Click to collapse
Hi,
are you familiar with firmware flashing using Odin? There seems to be a way to do this while retaining one's data:
Help! How to flash without losing data?
Good day! My phone got stuck on breathing Samsung logo after my phone updates. Now the only option I have in mind is to restore factory data. But I have some important files in my phone that is very essential in my work. I know I have read that...
forum.xda-developers.com
Are you maybe familiar with this? Also, do you know where one could get original Samsung firmware files (safe/no malware) and how to verify file integrity/authenticity (maybe some hash/checksum)?
No problem !! I can post the process here too !!! I just wanted to message them privately to guide them step by step !!
1. Go to this page: https://samfw.com/
2. Type your model number in the search bar
3. Select your Android version
4. Select your CSC code
5. Scroll down until you see the latest build of your firmware
6. Click on the code under "Version"
7. Download the zip package
8. Extract the zip
9. Download the latest version of Odin from this google drive link
https://drive.google.com/drive/folders/1e9e-a_Qa5biQ-XH9zTYM1MR34BRZXhsF?usp=sharing
10. Open the exe file inside the Odin folder
11. Connect your phone to your PC
12. Turn off your phone
13. When the screen goes black press volume down and volume up at the same time
14. When you see a blue screen with some letters in Chinese, press the volume up button once
15. There's a section in the Odin program that says "log". Look for that section and look for a message that says "added" under that. If you see the message, your phone is being recognized by the device
16. If you don't see the message go to the Odin folder, look for the sub-folder that says "Samsung Driver"
17. Click on the file that says "Download"
18. Select the latest version of the drivers and download them to your computer
19. Double-click the downloaded exe file and go through the setup wizard
20. After the drivers are installed, open the Odin application again and you should see the "added" message under the "log" section. Your device is now recognized
21. Go to the right of the Odin application and click on the "BL" button
22. This will open your file explorer. Go to the folder where you extracted your firmware and select the file that starts with "BL"
23. Click the "AP" button on Odin and select the firmware file starting with "AP"
24. Click the "CP" button and on Odin and select the firmware file starting with "CP"
25. Lastly, click the "CSC" button on Odin and select the firmware file starting with "HOME_CSC"
26. Go to the bottom of the Odin application and click on the "Start" button
27. You should see a progress bar at the top indicating that the flashing has started
28. Wait for a couple of minutes for the firmware to be done flashing (this might take a while)
29. When it's done, you'll see a green "PASS" message where the progress bar was
30. Reboot your phone normally
If you get stuck in a boot loop you'll have to factory reset. Follow the following steps:
31. Restart your phone into recovery mode by pressing volume up and power
32. Select "Wipe data/factory reset
33. Reboot your phone normally
34. Wait a few minutes for it to boot (it might take a while too)
After that, your phone should work normally
Hi Victoria,
thank you so much for this super-detailed instruction! =D As we've already briefly discussed, I have just two questions regarding this process and data recovery in general:
1.) Is there a way to verify the authenticity of firmware files? I.e. has Samsung published some checksums or hashes for their original firmware update files? If not, how can you make sure that the files are "clean"? Or is there maybe even a way to download files directly from Samsung?
2.) My priority is to rescue my personal data before doing anything that risks a complete wipe/factory reset and I've read that Android is based on Linux. If I had a similar problem with a Linux PC, I would simply mount the hard disk to a different PC, decrypt it if necessary, and copy over my files. Isn't there something similar that can be done with Android via USB?
...also, do I need to select the exact same firmware version as already installed? E.g. mine would be A405FNXXU3ATA4, but on the site that you linked, this version is listed. Also, is there a way to somehow get the CSC code from the recovery menu (i.e. if one cannot start Android)?
kerstin92 said:
Hi Victoria,
thank you so much for this super-detailed instruction! =D As we've already briefly discussed, I have just two questions regarding this process and data recovery in general:
1.) Is there a way to verify the authenticity of firmware files? I.e. has Samsung published some checksums or hashes for their original firmware update files? If not, how can you make sure that the files are "clean"? Or is there maybe even a way to download files directly from Samsung?
2.) My priority is to rescue my personal data before doing anything that risks a complete wipe/factory reset and I've read that Android is based on Linux. If I had a similar problem with a Linux PC, I would simply mount the hard disk to a different PC, decrypt it if necessary, and copy over my files. Isn't there something similar that can be done with Android via USB?
Click to expand...
Click to collapse
You're very welcome I'm glad to help in any way that I can !! In regards to your questions...
1) Every time you flash an unofficial firmware that's not original you'll get a message saying that the firmware is not official when the phone is booting. If you don't see this warning message, that means you're running Samsung's official firmware. Whenever I have flashed the files from this website I have never gotten this message and my phone always says the firmware is official.
2) The only thing I can think of to secure your data is installing a custom recovery and backing up your internal storage to a USB drive. Apart from that, I don't know how else you can rescue your data.
If you have any other concerns don't hesitate to ask !!
kerstin92 said:
...also, do I need to select the exact same firmware version as already installed? E.g. mine would be A405FNXXU3ATA4, but on the site that you linked, this version is listed. Also, is there a way to somehow get the CSC code from the recovery menu (i.e. if one cannot start Android)?
Click to expand...
Click to collapse
You don't have to download the same version that you have installed, you can just download the latest one. This will prevent any errors. To get the CSC code do the following. Connect your phone to your computer via USB. Turn off your phone completely. When the screen goes black, press both volume buttons at the same time. After a few seconds of doing this you'll see a blue screen that says download mode. Press the volume up button once. You'll get another blue screen with a bunch of letters on top. Look for a line of text that says "Carrier_ID" and a few letters after that. That's your CSC code. On that same blue screen you'll see a line of text that says "Current Binary". If you see the words "custom" next to it, your software is not official, but if you see the words "Samsung Official" next to it your software is official. That's another way to tell wether the firmware is legit or not.
victoriam8a said:
You don't have to download the same version that you have installed, you can just download the latest one. This will prevent any errors. To get the CSC code do the following. Connect your phone to your computer via USB. Turn off your phone completely. When the screen goes black, press both volume buttons at the same time. After a few seconds of doing this you'll see a blue screen that says download mode. Press the volume up button once. You'll get another blue screen with a bunch of letters on top. Look for a line of text that says "Carrier_ID" and a few letters after that. That's your CSC code. On that same blue screen you'll see a line of text that says "Current Binary". If you see the words "custom" next to it, your software is not official, but if you see the words "Samsung Official" next to it your software is official. That's another way to tell wether the firmware is legit or not.
Click to expand...
Click to collapse
These are the two blue screens that you will see. The one to the left is where you have to press the volume up button and the one to the right is where you'll find your "CARRIER_ID" (CSC) Code and whether your software is official or not
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi,
thanks again. I just tried to read out the CSC code in download mode, but I only get that cyan-colored "Downloading..." screen, but no further information despite pressing the volume keys. Do you know if this is normal?
I get to the download mode by long-pressing Volume Down + Power to reboot, then selecting "Reboot to bootloader" in the menu.
Btw, it seems I have almost the same phone as you... ^^
kerstin92 said:
Hi,
thanks again. I just tried to read out the CSC code in download mode, but I only get that cyan-colored "Downloading..." screen, but no further information despite pressing the volume keys. Do you know if this is normal?
I get to the download mode by long-pressing Volume Down + Power to reboot, then selecting "Reboot to bootloader" in the menu.
Btw, it seems I have almost the same phone as you... ^^
Click to expand...
Click to collapse
You're welcome !!
Try the following steps:
-Connect your phone to your computer with s USB cable
- Turn off the phone
-When it turns off press volume up and volume down at the same time
After you do that you'll see a blue screen. When you see it press the volume up button once.
Then you should see the screen with the information.
Here's a link to a tutorial on how to get to that screen if you're confused:
Let me know if that works !!
Ahh, yes!! It works, thanks a lot. Didn't know that just pressing both volume keys actually powers on the device...
So the CSC code is DBT, good to know. Also, I getting these bits of information:
FRP LOCK: OFF
OEM LOCK: ON(L)
Secure Download: Enabled
Click to expand...
Click to collapse
Also, I never registered a Google account on this device which, I guess, was a good decision?
You're welcome !! I'm glad it worked !! Yeah, pressing both volume keys will boot you into download mode. That's very useful to know !! Now you can download the firmware and flash it to fix your phone. Let me know if you're able to do it or if you need more help !
Victoria, have you ever heard of "combination ROMs"? It seems that one can get access to `/data` using such firmware with root enabled. Would that be an alternative to using the stock firmware?

Categories

Resources