How deactivate charging watch face - Huawei Watch

Hi, I want to use Wear Charging Widget for my Watch.
Everytime another charging watch face is activating.
Someone has an idea?
Here is a video
Gesendet von meinem HUAWEI CRR-L09 mit Tapatalk

For those who want to use the charging widget and want to disable the stock charging face on the Huawei watch.
Run the adb command:
Code:
adb shell pm hide com.huawei.mercury.chargedetection
To re-enable it run the following command:
Code:
adb shell pm unhide com.huawei.mercury.chargedetection

nordicfastware said:
For those who want to use the charging widget and want to disable the stock charging face on the Huawei watch.
Run the adb command:
Code:
adb shell pm hide com.huawei.mercury.chargedetection
To re-enable it run the following command:
Code:
adb shell pm unhide com.huawei.mercury.chargedetection
Click to expand...
Click to collapse
Thanks nordic',
I've literally just got this device, I'm getting:
Code:
adb shell pm hide com.huawei.mercury.chargedetection
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
Do i need root for this? Or is there an alternative method.
Thank you,
---------- Post added at 05:11 PM ---------- Previous post was at 04:50 PM ----------
To follow up, if anyone else has the same issue, it can manually disabled via:
HW2 > Settings > Apps > System Apps > ChargeDetection > Disable...
Thanks.

Related

How to uninstall watch faces and apps through adb

The command line is adb uninstall <apk_name>
The problem is that they talk about package so what's the difference between package and the .apk that I've installed through adb?
Tks
BCabrio
Hi BCabrio,
Try this;
> adb -d shell pm list packages -3
--> adb will give you the 3rd party installed packages list. They will be looking like "com.lorem.ipsumdolor" (starts with com.)
> adb -d uninstall com.lorem.ipsumdolor
This would solve your problem.
Regards,

Add Mobile Data and Wifi HotSpot toggle without root

Don't want to root your phone but you still want to tweak it? No trouble, you can still use adb shell to change a few settings.
-First, follow this guide to install ADB on your Windows PC: https://www.xda-developers.com/install-adb-windows-macos-linux/
-Then, you have to plug your phone to your PC with a USB cable.
-Finally, launch a command line and use this command:
Code:
adb shell settings put secure sysui_qs_tiles "Wifi,SoundMode,Bluetooth,RotationLock,Flashlight,Dnd,custom(com.android.settings/com.samsung.android.settings.qstile.PowerSavingTile),BlueLightFilter,Location,custom(com.samsung.android.app.aodservice/.settings.AODTileService),custom(com.samsung.android.smartmirroring/.tile.SmartMirroringTile),AirplaneMode,custom(com.sec.android.app.soundalive/.DolbyTile),WorkMode,MobileData,Hotspot"
We also may have a way to enable Call Recorder on our phone with ADB Shell but, I'm still trying to figure out how it could be done.
Nico3d3 said:
Don't want to root your phone but you still want to tweak it? No trouble, you can still use adb shell to change a few settings.
-First, follow this guide to install ADB on your Windows PC: https://www.xda-developers.com/install-adb-windows-macos-linux/
-Then, you have to plug your phone to your PC with a USB cable.
-Finally, launch a command line and use this command:
We also may have a way to enable Call Recorder on our phone with ADB Shell but, I'm still trying to figure out how it could be done.
Click to expand...
Click to collapse
This is great for a530w users cuz those icons are missing, thanks for sharing!
Even though i already found my own way with my systemui mod
---------- Post added at 04:30 AM ---------- Previous post was at 04:27 AM ----------
FOR FREEDOM MOBILE USERS AND OTHER CARRIERS THAT SUPPORT VOLTE
DO THIS AND EVEN VOLTE TOGGLE WILL SHOW
adb shell settings put secure sysui_qs_tiles "Wifi,SoundMode,Bluetooth,RotationLock,Flashlight,Dnd,custom(com.android.settings/com.samsung.android.settings.qstile.PowerSavingTile),BlueLightFilter,Location,custom(com.samsung.android.app.aodservice/.settings.AODTileService),custom(com.samsung.android.smartmirroring/.tile.SmartMirroringTile),AirplaneMode,custom(com.sec.android.app.soundalive/.DolbyTile),WorkMode,MobileData,Hotspot,VoLte"
thank me later
[/COLOR]I have the A530W from Fido, I tried and got this error
/system/bin/sh: syntax error: '(' unexpected
KAPABLE-K said:
[/COLOR]I have the A530W from Fido, I tried and got this error
/system/bin/sh: syntax error: '(' unexpected
Click to expand...
Click to collapse
You probably forgot a quotation mark. Please check cmd has been wrote correctly.
I figured it out, I had to do "adb shell" first then send the command and everything worked.
587.saboor said:
This is great for a530w users cuz those icons are missing, thanks for sharing!
Even though i already found my own way with my systemui mod
---------- Post added at 04:30 AM ---------- Previous post was at 04:27 AM ----------
FOR FREEDOM MOBILE USERS AND OTHER CARRIERS THAT SUPPORT VOLTE
DO THIS AND EVEN VOLTE TOGGLE WILL SHOW
adb shell settings put secure sysui_qs_tiles "Wifi,SoundMode,Bluetooth,RotationLock,Flashlight,Dnd,custom(com.android.settings/com.samsung.android.settings.qstile.PowerSavingTile),BlueLightFilter,Location,custom(com.samsung.android.app.aodservice/.settings.AODTileService),custom(com.samsung.android.smartmirroring/.tile.SmartMirroringTile),AirplaneMode,custom(com.sec.android.app.soundalive/.DolbyTile),WorkMode,MobileData,Hotspot,VoLte"
thank me later
Click to expand...
Click to collapse
Can i use it in a530f
Hovo01 said:
Can i use it in a530f
Click to expand...
Click to collapse
yes
I will not lost my warranty yes?
---------- Post added at 06:01 PM ---------- Previous post was at 06:01 PM ----------
587.saboor said:
yes
Click to expand...
Click to collapse
Thanks do you have other tweaks with adb
Hovo01 said:
I will not lost my warranty yes?
---------- Post added at 06:01 PM ---------- Previous post was at 06:01 PM ----------
Thanks do you have other tweaks with adb
Click to expand...
Click to collapse
you will not lose your warranty
no
[email protected]:~/Downloads/platform-tools-2$ sudo ./adb shell
jackpotlte:/ $ settings put secure sysui_qs_tiles "Wifi,SoundMode,Bluetooth,RotationLock,Flashlight, Dnd,custom(com.android.settings/com.samsung.android.settings.qstile.PowerSavingTil e),BlueLightFilter,Locati>
),custom(com.samsung.android.smartmirroring/.tile.SmartMirroringTile),AirplaneMode,custom(com.sec.android.app.soundalive/.DolbyTile),WorkMode,MobileData,Hotspot" <
jackpotlte:/ $
What can I expect here? I see nothing happen ... mac os as you can see
Robert978 said:
What can I expect here? I see nothing happen ... mac os as you can see
Click to expand...
Click to collapse
There is no output with that cmd. To see if it worked, check if you can now see the new toggles in Quick Panel.
Nico3d3 said:
Don't want to root your phone but you still want to tweak it? No trouble, you can still use adb shell to change a few settings.
-First, follow this guide to install ADB on your Windows PC: https://www.xda-developers.com/install-adb-windows-macos-linux/
-Then, you have to plug your phone to your PC with a USB cable.
-Finally, launch a command line and use this command:
Code:
adb shell settings put secure sysui_qs_tiles "Wifi,SoundMode,Bluetooth,RotationLock,Flashlight,Dnd,custom(com.android.settings/com.samsung.android.settings.qstile.PowerSavingTile),BlueLightFilter,Location,custom(com.samsung.android.app.aodservice/.settings.AODTileService),custom(com.samsung.android.smartmirroring/.tile.SmartMirroringTile),AirplaneMode,custom(com.sec.android.app.soundalive/.DolbyTile),WorkMode,MobileData,Hotspot"
We also may have a way to enable Call Recorder on our phone with ADB Shell but, I'm still trying to figure out how it could be done.
Click to expand...
Click to collapse
looking forward to that native call recorder...
can we enable fm radio app with this if it isn't there?

Disable Default ASUS Launcher without Root and use any Launcher

Hi Guys,
Since a lot would like to use an alternative launcher to the default one which you can't change up until the moment i am writing this thread, there is an easy way of doing it.
P.S After the CN rom OTA update version "CN_16.0621.1907.48_0" it's not possible to disable the launcher using the method described below.
Steps:
-Make sure to enable developer options (USB debugging): https://www.embarcadero.com/starthe...bling_usb_debugging_on_an_android_device.html
-Make sure to download the latest platform tools to your PC from: https://developer.android.com/studio/releases/platform-tools
-Make sure to install the 3rd party launcher before disabling the ASUS default launcher.
-Extract the zip file into your desktop, then inside the platform tools folder hold shift and right click the mouse you will see an option to: "open PowerShell window here" on Windows 10 and "open command window here" on older versions of Windows. Choose which ever you have.
-Using Powershell type: ".\adb devices" without Parenthesis
Using Command window type: "adb device" without Parenthesis
*you should see your device by now*
-Then type the following code if you are on the CN rom:
*On PowerShell type: ".\adb shell pm disable-user --user 0 com.asus.launcher3" without parenthesis
*On Command window type: "adb shell pm disable-user --user 0 com.asus.launcher3" without parenthesis
-Type the following code if you are on the WW rom:
*On PowerShell type: ".\adb shell pm disable-user --user 0 com.asus.launcher" without parenthesis
*On Command window type: "adb shell pm disable-user --user 0 com.asus.launcher" without parenthesis
That's it your installed 3rd party launcher is your default now.
If you want to go back and enable the default ASUS launcher on the CN rom simply type:
*On PowerShell type: ".\adb shell pm enable com.asus.launcher3" without parenthesis
*On Command window type: "adb shell pm enable com.asus.launcher3" without parenthesis
If you want to go back and enable the default ASUS launcher on the WW rom simply type:
*On PowerShell type: ".\adb shell pm enable com.asus.launcher" without parenthesis
*On Command window type: "adb shell pm enable com.asus.launcher" without parenthesis
*** Credits and source for disabling any app without root goes to the links provided earlier and mainly: https://www.xda-developers.com/disable-system-app-bloatware-android/
Good Luck
Any one else tried this.? Or is there a way to do this without using a computer..? I apologize but I'm kinda noob in this stuff
Rashad83 said:
Hi Guys,
Since a lot would like to use an alternative launcher to the default one which you can't change up until the moment i am writing this thread, there is an easy way of doing it.
Steps:
-Make sure to enable developer mode: https://www.embarcadero.com/starthe...bling_usb_debugging_on_an_android_device.html
-Make sure to download the latest platform tools to your PC from: https://developer.android.com/studio/releases/platform-tools
-Extract the zip file into your desktop, then inside the platform tools folder hold shift and right click the mouse you will see an option to: "open PowerShell window here" on Windows 10 and "open command window here" on older versions of Windows. Choose which ever you have.
-Using Powershell type: ".\adb devices" without Parenthesis
Using Command window type: "adb device" without Parenthesis
*you should see your device by now*
-Then type the following code:
*On PowerShell type: ".\adb shell pm disable-user --user 0 com.asus.launcher3" without parenthesis
*On Command window type: "adb shell pm disable-user --user 0 com.asus.launcher3" without parenthesis
That's it you can set any launcher as your default now.
If you want to go back and enable the default ASUS launcher simply type:
*On PowerShell type: ".\adb shell pm enable com.asus.launcher3" without parenthesis
*On Command window type: "adb shell pm enable com.asus.launcher3" without parenthesis
*** Credits and source for disabling any app without root goes to the links provided earlier and mainly: https://www.xda-developers.com/disable-system-app-bloatware-android/
Good Luck
Click to expand...
Click to collapse
Dentist.M.Evy said:
Any one else tried this.? Or is there a way to do this without using a computer..? I apologize but I'm kinda noob in this stuff
Click to expand...
Click to collapse
You can't do this without a PC unless you are rooted. It's not as complicated as it seems though.
Just Did it :laugh:
Worked like a charm :good:
Great Thanks :good:
Rashad83 said:
You can't do this without a PC unless you are rooted. It's not as complicated as it seems though.
Click to expand...
Click to collapse
I can't see my device connected in Powershell? When devices must connected?
Romez123 said:
I can't see my device connected in Powershell? When devices must connected?
Click to expand...
Click to collapse
When connecting the device to your PC make sure it's connected in file transfer mode and not charging.
When you type the command ".\adb device" and hit enter you should see a serial number returned that means your device is connected. After which you can enter the following command.
Device still not on list (device connected its seeing in win explorer, , its set to file transfer,developer is on, mount success)
---------- Post added at 10:12 AM ---------- Previous post was at 10:03 AM ----------
its work , USB DEBUG in developer must ON, thanks Bro
Romez123 said:
Device still not on list (device connected its seeing in win explorer, , its set to file transfer,developer is on, mount success)
---------- Post added at 10:12 AM ---------- Previous post was at 10:03 AM ----------
its work , USB DEBUG in developer must ON, thanks Bro
Click to expand...
Click to collapse
Yeah it's already stated in the first step to enable developer mode aka "enable USB debugging" that's the point. Anyway you are welcome!
Edit: I just rewritten step 1 to make it clearer.
awesome!
thank you!
You can probably use this method to configure gboard as well. Mine is showing up today so I will confirm.
It works
???????
???????
???????
???????
???????
???????
???????
???????
???????
???????
If I disable the RoG/ asus Launcher and use Nova Launcher instead, would game genie, xmode and the air trigger still work without any problems?
xyrockrain said:
If I disable the RoG/ asus Launcher and use Nova Launcher instead, would game genie, xmode and the air trigger still work without any problems?
Click to expand...
Click to collapse
Yes. Those apps have nothing to do with the launcher.
Rashad83 said:
Yes. Those apps have nothing to do with the launcher.
Click to expand...
Click to collapse
Awesome. I can finally replace the awful looking icons in the rog launcher
Which other launcher are you guys replacing it with?
Nova
i'm using the smart launcher 5 :good::good:
JazonX said:
Which other launcher are you guys replacing it with?
Click to expand...
Click to collapse
My system will crash when I disable asus launcher and exit Armoury Create.
luciusz said:
My system will crash when I disable asus launcher and exit Armoury Create.
Click to expand...
Click to collapse
What launcher do you use?
luciusz said:
My system will crash when I disable asus launcher and exit Armoury Create.
Click to expand...
Click to collapse
Make sure you have installed another Launcher before disabling the Asus launcher

Rooted Stick "You do Not Own This App" - Changing app permissions

Hi all,
Upon changing accounts I get the usual "App not owned" error.
I know that it's easy to rectify by simply adding it to the account which is currently associated with the device, but I wondered if there is a "cleaner" way.
Of course another solution is simply "adb connect 192.168.1.xx" and "adb install app.apk" but this is still very annoying to do each time.
I have root access but I wonder if it's possible to change app permissions through "adb shell > su" in some way.
Is it possible to get rid of this error by changing the app permissions with adb? Thanks so much for all your help on this forum as it's always amazing.
user1209283475 said:
Hi all,
Upon changing accounts I get the usual "App not owned" error.
I know that it's easy to rectify by simply adding it to the account which is currently associated with the device, but I wondered if there is a "cleaner" way.
Of course another solution is simply "adb connect 192.168.1.xx" and "adb install app.apk" but this is still very annoying to do each time.
I have root access but I wonder if it's possible to change app permissions through "adb shell > su" in some way.
Is it possible to get rid of this error by changing the app permissions with adb? Thanks so much for all your help on this forum as it's always amazing.
Click to expand...
Click to collapse
Changing app permission via ADB:
Grant (Permitted)
Code:
adb shell pm grant <package-name> <permission>
//Example
adb shell pm grant com.facebook.orca android.permission.GET_ACCOUNTS
Revoke (Unpermitted)
Code:
adb shell pm revoke <package-name> <permission>
//Example
adb shell pm revoke com.facebook.orca android.permission.GET_ACCOUNTS
Thanks so much mate, really appreciated, I wish you an endless supply of sugar-food/alcohol of choice.
AmznUser444 Dev said:
Changing app permission via ADB:
Grant (Permitted)
Code:
adb shell pm grant <package-name> <permission>
//Example
adb shell pm grant com.facebook.orca android.permission.GET_ACCOUNTS
Revoke (Unpermitted)
Code:
adb shell pm revoke <package-name> <permission>
//Example
adb shell pm revoke com.facebook.orca android.permission.GET_ACCOUNTS
Click to expand...
Click to collapse
Heya,
so I tried that with a package while I had superuser access and got an error:
Operation not allowed: java.lang.SecurityException: Package uk.co.bbc.iplayer has not requested permission android.permission.GET_ACCOUNTS
I assume that the command has to be issued while the application was launched? However it still doesn't work.
I was hoping to get a way so the app is considered "owned" by the device even if the account is changed.

Advice me a list of package to debloat firetv stick Tank?

I've found https://github.com/esc0rtd3w/firestick-loader/blob/master/scripts/debloat/bloat-disable-montoya.sh this list, but I don't know it it's a trusted source or someone has tried it.
I've tried some command throught remote adb but I always have error. beside pm unininstall -k user 0 is something I should do?
Command for enable write access to ftvlauncherX worked.
Thank you in advance
Try Like this
adb shell "pm disable-user --user 0 com.amazon.kindle.cms"
To restore
adb shell "pm enable com.amazon.kindle.cms"
Damn I think I forgot to run adb shell before pm command? Maybe this was the error?
RealPsygnosis said:
Damn I think I forgot to run adb shell before pm command? Maybe this was the error?
Click to expand...
Click to collapse
Yeah definitely, you have to run:
adb shell
Su (if you have root)
pm disable -k -- user 0 com.amazon. Blah blah
Please be aware if your stick has been taking updates regularly most of these commands need root access to work.
Sent from my SM-G935F using Tapatalk

Categories

Resources