Tasker root shell command not working - G4 Q&A, Help & Troubleshooting

I have a Taiwan model H815, rooted using the injection method. I'm trying to use a root shell command in a Tasker profile task to enable/disable mobile data in Tasker ("svc data enable/disable"). The command appears to execute, and a message pops up saying "Tasker has been granted superuser permissions for an interactive shell", but the command does not take effect - i.e. mobile data is not enabled/disabled.
I have selected the Root option in the Tasker task definition. I have also run the same shell commands in terminal emulator with root, and they were successful. It's just Tasker that isn't executing them properly.
Any ideas?

itm said:
I have a Taiwan model H815, rooted using the injection method. I'm trying to use a root shell command in a Tasker profile task to enable/disable mobile data in Tasker ("svc data enable/disable"). The command appears to execute, and a message pops up saying "Tasker has been granted superuser permissions for an interactive shell", but the command does not take effect - i.e. mobile data is not enabled/disabled.
I have selected the Root option in the Tasker task definition. I have also run the same shell commands in terminal emulator with root, and they were successful. It's just Tasker that isn't executing them properly.
Any ideas?
Click to expand...
Click to collapse
This is odd/annoying - I removed and re-installed Tasker (I purchased it from the Amazon app store), and the re-installed version didn't have this problem, BUT it did have another problem that the previous version didn't - i.e. it does not respond to any Bluetooth-related events (e.g. Bluetooth Status, Bluetooth Connected...). The previous version that I had installed (which I restored from a Titanium Backup) had no problem responding to Bluetooth events but was unable to execute my root shell command.
The version I now have installed (from Amazon) is 4.7m. Can anyone else running this version confirm whether it responds to Bluetooth events on Lollipop?

I'm using the same command through Tasker but having Tasker run it through Secure Settings. It works fine. My mobile data is disabled and enabled.

jobella said:
I'm using the same command through Tasker but having Tasker run it through Secure Settings. It works fine. My mobile data is disabled and enabled.
Click to expand...
Click to collapse
What phone model/Android version are you running?

itm said:
What phone model/Android version are you running?
Click to expand...
Click to collapse
LG G4 811 with stock rom 5.1 on T mobile.

I think I've found the problem. I purchased Tasker from the Amazon app store. It turns out that the version on the Amazon app store is a pirate copy, but despite being informed about this by a number of people it is still available. I have now purchased a copy from the Google Play Store and I no longer have the problem.
Now I need to see if I can get a refund from Amazon.

Related

How to disable carrier-check for native WiFi Tether (no root)

*EDIT* This appears to only be working for people with NON-unlimited data plans. I apologize for the inconvenience...
Saw this over in the AT&T subforum, originally posted by @ExTREmE99 , just reposting here.
This will disable the carrier check on your Verizon G4 and allow you to use the native WiFi tether - no root needed!
1. Enable developer mode (Go to Settings -> About phone, and click on the build number until the developer mode is enabled).
2. Enable USB debugging under Settings -> Developer options
3. Connect the device with a USB cable to a computer with the Android SDK platform tools installed
4. Start an adb shell: adb shell
5. In the adb shell, run these commands one by one:
settings put global tether_dun_required 0
settings put system tether_entitlement_check_state 0
reboot
When your phone comes back up you will have a fully functional native WiFi tether
i must be doing something wrong because i still get the "you need a subscription" popup
Worked for me, thanks! Needed this a few days ago and couldn't use it n was like "F***, wish I had root" hahaha. Oh and also shouldn't this be posted in General?
jrc27 said:
i must be doing something wrong because i still get the "you need a subscription" popup
Click to expand...
Click to collapse
Same here, did I do this right?
Code:
$ adb shell
[email protected]:/ $ settings put global tether_dun_required 0
[email protected]:/ $ settings put system tether_entitlement_check_state 0
[email protected]:/ $ reboot
Congobongo said:
Same here, did I do this right?
Code:
$ adb shell
[email protected]:/ $ settings put global tether_dun_required 0
[email protected]:/ $ settings put system tether_entitlement_check_state 0
[email protected]:/ $ reboot
Click to expand...
Click to collapse
when do you see the subscription message?
try typing:
adb devices
you should see a string of characters listing your device. if it shows no device, then you need to double check that you have your device drivers installed
Tomyk89 said:
when do you see the subscription message?
try typing:
adb devices
you should see a string of characters listing your device. if it shows no device, then you need to double check that you have your device drivers installed
Click to expand...
Click to collapse
I see it after i reboot and try using the hotspot app
jrc27 said:
I see it after i reboot and try using the hotspot app
Click to expand...
Click to collapse
don't use the hotspot app - in fact, disable that one.
You want to use the built in functionality to tether (not technically an app)
Go to settings, More (under wireless networks), then "Mobile Hotspot". You can setup your SSID and password in there. Also, you can create a shortcut in your notification bar by scrolling over to the right side, clicking edit, then checking the box next to "Mobile Hotspot"
Hope that helps.
Tomyk89 said:
don't use the hotspot app - in fact, disable that one.
You want to use the built in functionality to tether (not technically an app)
Go to settings, More (under wireless networks), then "Mobile Hotspot". You can setup your SSID and password in there. Also, you can create a shortcut in your notification bar by scrolling over to the right side, clicking edit, then checking the box next to "Mobile Hotspot"
Hope that helps.
Click to expand...
Click to collapse
I can't even find the damn app to disable it.
I tried as you suggested, going in through the settings and i still get the verizon C*ckblock...
jrc27 said:
I can't even find the damn app to disable it.
I tried as you suggested, going in through the settings and i still get the verizon C*ckblock...
Click to expand...
Click to collapse
Could you try disabling the verizon hotspot app? Mine was disabled way before I discovered this so I may need to add this step to the instructions. you may want to go through the steps one more time after that to ensure everything is set correctly. Don't forget to restart either. It works great on mine so it should for yours as well - unless you took the update a week ago?
Let me know - Thanks!
Tomyk89 said:
Could you try disabling the verizon hotspot app? Mine was disabled way before I discovered this so I may need to add this step to the instructions. you may want to go through the steps one more time after that to ensure everything is set correctly. Don't forget to restart either. It works great on mine so it should for yours as well - unless you took the update a week ago?
Let me know - Thanks!
Click to expand...
Click to collapse
I've been very careful not to take the update. Is the hot spot app have a weird name or something? I can't seem to find it in the app manager or using rom toolbox
jrc27 said:
I've been very careful not to take the update. Is the hot spot app have a weird name or something? I can't seem to find it in the app manager or using rom toolbox
Click to expand...
Click to collapse
hmmm i think I'm confused. My Hotspot app is apparently still in my app drawer. When i click on it it just takes me to the native hotspot functionality.
Honestly I'd attempt to run those commands again. It would help if you took a screen shot of the command prompt window after running all of the commands. After each command it should pause for a second or two then jump to the next line with no errors or responses.
Is your USB debugging on? Also, are you in MTP or PTP USB mode when plugged into your PC?
jrc27 said:
i must be doing something wrong because i still get the "you need a subscription" popup
Click to expand...
Click to collapse
Should it be? I assumed stuff like this went under the Help section since it was helping people. Maybe I'm wrong. If a MOD would like to correct me and maybe move the thread, feel free.
Tomyk89 said:
hmmm i think I'm confused. My Hotspot app is apparently still in my app drawer. When i click on it it just takes me to the native hotspot functionality.
Honestly I'd attempt to run those commands again. It would help if you took a screen shot of the command prompt window after running all of the commands. After each command it should pause for a second or two then jump to the next line with no errors or responses.
Is your USB debugging on? Also, are you in MTP or PTP USB mode when plugged into your PC?
Click to expand...
Click to collapse
Heading to bed...I'll give it another go in the morning
Thanks again for the help, i appreciate it!
jrc27 said:
Heading to bed...I'll give it another go in the morning
Thanks again for the help, i appreciate it!
Click to expand...
Click to collapse
no problem dude. try some of my suggestions tomorrow and get back to me. feel free to PM and we can post the final solution up here as to not fill the the thread up with troubleshooting.
No Go...
Tried multiple times and could not get it to work. adb looked successful but after reboot I still get a subscription check.
joebrady119 said:
Tried multiple times and could not get it to work. adb looked successful but after reboot I still get a subscription check.
Click to expand...
Click to collapse
have you taken the latest OTA update?
Tomyk89 said:
have you taken the latest OTA update?
Click to expand...
Click to collapse
Have not taken any OTA.
This unfortunately doesn't seem to work for me either
I had to put my device in PTP mode in order for ADB to show the device, after the device was confirmed with adb devices, I issued the commands this is the output
Code:
C:\Users\NOTIMPORTANT\AppData\Local\Android\sdk>adb devices
List of devices attached
VS986931(changed the last four for security) device
C:\Users\NOTIMPORTANT\AppData\Local\Android\sdk>adb shell
[email protected]:/ $ settings put global tether_dun_required 0
settings put global tether_dun_required 0
[email protected]:/ $ settings put system tether_entitlement_check_state 0
settings put system tether_entitlement_check_state 0
[email protected]:/ $
When I attempt to enable hotspot I am greeted with the "Use of this service requires a subscription..."
FoxFi seems to work, I just HATE having to change my lock screen in order to use the damn thing!
I'm willing to run further tests and commands if you would like, please just let me know.
I have NOT taken any over the air update. I used the Debloater tool and blocked/hid the app.
Tomyk89 said:
when do you see the subscription message?
try typing:
adb devices
you should see a string of characters listing your device. if it shows no device, then you need to double check that you have your device drivers installed
Click to expand...
Click to collapse
Here's a screenshot of my terminal window:
I'm using the native tethering just like everybody else (Settings, More, flick the tethering switch to On and receive the service check). Haven't taken the OTA and have the service disabled via debloater tool. I appreciate the help!
At this point I'm not sure why some are reporting that this works while others aren't. I added a message on the original post warning that this isn't a for sure thing. I'll be sure to update if/when I find a fix or what is going wrong, but for now I think I have enough info to look into this. thanks for your help everyone and I hope that I can find a fix for this. Worst case - we have to wait until we have root to enable this.
-tom

Google Assistant

I have discovered a way to disable and replace Alexa with the Google Assistant through what you could call a 'privilege escalation.' I don't know anything about the Fire TV so I don't know if you can hook it up to a PC and run ADB commands to it. Can you even download Google apps (sorry if this sounds stupid)?
Anyways, I need some testers to see how widespread this is. In android there is a permission set called WRITE_SECURE_SETTINGS. Basically you can create an app with that said permission in it's manifest. Doing so allows the app to be escalated to a 'root user' in order to edit, remove and or manipulate a set of settings Android called Settings.Secure. It is set to a 'root user' but the user is ONLY root in three tiers explained here. In this set of settings are three tiers: System, Secure and Global. The app, or anyone with access to ADB, can run a command to add, remove or change the values of some of these settings.
An app currently exists and is available on the Play Store, that edits these settings; Settings Database Editor. I need you to do the following steps for me please and thank you:
1. Download, install the app, but don't edit anything yet.
2. Hook the device up to your PC and open an ADB window.
3. Type and hit enter when done:
Code:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
4. Go back to the Settings Database Editor app and tap on the Secure tab.
4. Locate the following three lines, if they exist:
Code:
"alexa_enabled"
"assistant"
"voice_interaction_service"
"voice_recognition_service"
5. Go back to the ADB window. Type each of the commands below, hitting enter after each one. You won't see any reply or messages if the commands are successful:
Code:
adb shell settings put secure assistant com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_interaction_service com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_recognition_service com.google.android.googlequicksearchbox/com.google.android.voicesearch.serviceapi.GoogleRecognitionService
adb shell settings put secure alexa_enabled 0
If the last command doesn't work, go to the Settings Database Editor app and tap on secure tab. Locate the alexa_enabled setting and tap it. change the 1 to a 0 and save the setting.
6. Open the Google App and go to settings > voice > Configure 'Ok Google" or your Assistant.
The more who confirm this, the better
DragonFire1024 said:
I have discovered a way to disable and replace Alexa with the Google Assistant through what you could call a 'privilege escalation.' I don't know anything about the Fire TV so I don't know if you can hook it up to a PC and run ADB commands to it. Can you even download Google apps (sorry if this sounds stupid)?
Anyways, I need some testers to see how widespread this is. In android there is a permission set called WRITE_SECURE_SETTINGS. Basically you can create an app with that said permission in it's manifest. Doing so allows the app to be escalated to a 'root user' in order to edit, remove and or manipulate a set of settings Android called Settings.Secure. It is set to a 'root user' but the user is ONLY root in three tiers explained here. In this set of settings are three tiers: System, Secure and Global. The app, or anyone with access to ADB, can run a command to add, remove or change the values of some of these settings.
An app currently exists and is available on the Play Store, that edits these settings; Settings Database Editor. I need you to do the following steps for me please and thank you:
1. Download, install the app, but don't edit anything yet.
2. Hook the device up to your PC and open an ADB window.
3. Type and hit enter when done:
Code:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
4. Go back to the Settings Database Editor app and tap on the Secure tab.
4. Locate the following three lines, if they exist:
Code:
"alexa_enabled"
"assistant"
"voice_interaction_service"
"voice_recognition_service"
5. Go back to the ADB window. Type each of the commands below, hitting enter after each one. You won't see any reply or messages if the commands are successful:
Code:
adb shell settings put secure assistant com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_interaction_service com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_recognition_service com.google.android.googlequicksearchbox/com.google.android.voicesearch.serviceapi.GoogleRecognitionService
adb shell settings put secure alexa_enabled 0
If the last command doesn't work, go to the Settings Database Editor app and tap on secure tab. Locate the alexa_enabled setting and tap it. change the 1 to a 0 and save the setting.
6. Open the Google App and go to settings > voice > Configure 'Ok Google" or your Assistant.
The more who confirm this, the better
Click to expand...
Click to collapse
Tried it on my 2nd gen fire stick (not rooted), nothing, but I think it'd work if I could disable alexa. The alexa_enabled flag doesn't do anything. Maybe we could work together, seeing as you don't have a fire stick?
Nootboot64 said:
I have discovered a way to disable and replace Alexa with the Google Assistant through what you could call a 'privilege escalation.' I don't know anything about the Fire TV so I don't know if you can hook it up to a PC and run ADB commands to it. Can you even download Google apps (sorry if this sounds stupid)?
Anyways, I need some testers to see how widespread this is. In android there is a permission set called WRITE_SECURE_SETTINGS. Basically you can create an app with that said permission in it's manifest. Doing so allows the app to be escalated to a 'root user' in order to edit, remove and or manipulate a set of settings Android called Settings.Secure. It is set to a 'root user' but the user is ONLY root in three tiers explained here. In this set of settings are three tiers: System, Secure and Global. The app, or anyone with access to ADB, can run a command to add, remove or change the values of some of these settings.
An app currently exists and is available on the Play Store, that edits these settings; Settings Database Editor. I need you to do the following steps for me please and thank you:
1. Download, install the app, but don't edit anything yet.
2. Hook the device up to your PC and open an ADB window.
3. Type and hit enter when done:
4. Go back to the Settings Database Editor app and tap on the Secure tab.
4. Locate the following three lines, if they exist:
5. Go back to the ADB window. Type each of the commands below, hitting enter after each one. You won't see any reply or messages if the commands are successful:
Tried it on my 2nd gen fire stick (not rooted), nothing, but I think it'd work if I could disable alexa. The alexa_enabled flag doesn't do anything. Maybe we could work together, seeing as you don't have a fire stick?
Click to expand...
Click to collapse
What happens when you try to set up the assistant and what version of the Google app are you using
DragonFire1024 said:
What happens when you try to set up the assistant and what version of the Google app are you using
Click to expand...
Click to collapse
I already had my voice set up previously and I'm using the latest. I'll have to find out which one that is when I get home.
EDIT: It is version 10.20.2.21.arm
Nootboot64 said:
I already had my voice set up previously and I'm using the latest. I'll have to find out which one that is when I get home.
EDIT: It is version 10.20.2.21.arm
Click to expand...
Click to collapse
On the HD I have to start with the Google app 8.33.5 beta. Then setup your assistant doing the ADB steps reboot and then you can let it auto update to the latest version that's how I've been doing it.
DragonFire1024 said:
On the HD I have to start with the Google app 8.33.5 beta. Then setup your assistant doing the ADB steps reboot and then you can let it auto update to the latest version that's how I've been doing it.
Click to expand...
Click to collapse
Thank you, I'll try that
Nootboot64 said:
Thank you, I'll try that
Click to expand...
Click to collapse
Also note that I have made the Google app system application because we have root but I don't know if that matters. not sure if you guys are rooted or how that happens with the stick.
Nootboot64 said:
Thank you, I'll try that
Click to expand...
Click to collapse
One more thing it's important to remember that when you have your assistant setup from ADB also set up the voice commands and what not. That's important because the idea is to have your voice commands already set up when the Google app updates. As long as that happens you won't have to go back and setup assistant with your voice all over again. As long as it remembers your settings from the beta version of the old app the new app version will also take on those settings, voice included. I think that was the main problem before is it wasn't doing that and something else internally with the Google app wasn't allowing you to save your voice commands to the device again. would you still can't do so don't try and go and set up the voice again because it won't work you'll have to downgrade back to the 8.33 version and start all over.
you can also uninstall delete or do whatever you want with the two Amazon applications that have to do with the speech user interface and speech interaction manager they have nothing to do with anything that goes on with the Google app or the assistant or anything Android for that matter.
Where can I get the Google app 8.33.5 beta
thx
yenmax said:
Where can I get the Google app 8.33.5 beta
thx
Click to expand...
Click to collapse
Maybe you can just use google search?
https://www.google.com/search?q=Google+app+8.33.5+beta
https://www.apkmirror.com/apk/google-inc/google-search/google-search-8-33-5-release/
Do we need to have Google Play Services on the Firestick for this to work? Or will installing the Google app be enough?
gogorman said:
Do we need to have Google Play Services on the Firestick for this to work? Or will installing the Google app be enough?
Click to expand...
Click to collapse
I'm pretty sure assistant will only work with play services but I could be wrong. I do know there's somewhat of an assistant ability built into Google go. But it is not nearly as sophisticated.
Sent from my Google Nexus 10 using XDA Labs

Google Assistant

I have discovered a way to disable and replace Alexa with the Google Assistant through what you could call a 'privilege escalation.' I don't know anything about the Fire Phone so I don't know if you can hook it up to a PC and run ADB commands to it. Can you even download Google apps (sorry if this sounds stupid)?
Anyways, I need some testers to see how widespread this is. In android there is a permission set called WRITE_SECURE_SETTINGS. Basically you can create an app with that said permission in it's manifest. Doing so allows the app to be escalated to a 'root user' in order to edit, remove and or manipulate a set of settings Android called Settings.Secure. In this set of settings are three tiers: System, Secure and Global. The app, or anyone with access to ADB, can run a command to add, remove or change the values of some of these settings.
An app currently exists and is available on the Play Store, that edits these settings; Settings Database Editor. I need you to do the following steps for me please and thank you:
1. Download, install the app, but don't edit anything yet.
2. Hook the device up to your PC and open an ADB window.
3. Type and hit enter when done:
Code:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
4. Go back to the Settings Database Editor app and tap on the Secure tab.
4. Locate the following three lines, if they exist:
Code:
"alexa_enabled"
"assistant"
"voice_interaction_service"
"voice_recognition_service"
5. Go back to the ADB window. Type each of the commands below, hitting enter after each one. You won't see any reply or messages if the commands are successful:
Code:
adb shell settings put secure assistant com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_interaction_service com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_recognition_service com.google.android.googlequicksearchbox/com.google.android.voicesearch.serviceapi.GoogleRecognitionService
adb shell settings put secure alexa_enabled 0
If the last command doesn't work, go to the Settings Database Editor app and tap on secure tab. Locate the alexa_enabled setting and tap it. change the 1 to a 0 and save the setting.
6. Open the Google App and go to settings > voice > Configure 'Ok Google" or your Assistant.
The more who confirm this, the better
How can I disable double tap of home button who activates the "voice input", who is no longer avaible as Amazon decided... THANKS THEM
DragonFire1024 said:
I have discovered a way to disable and replace Alexa with the Google Assistant through what you could call a 'privilege escalation.' I don't know anything about the Fire Phone so I don't know if you can hook it up to a PC and run ADB commands to it. Can you even download Google apps (sorry if this sounds stupid)?
The more who confirm this, the better
Click to expand...
Click to collapse
Hi DragonFire1024,
Thanks for this very interesting post I was just wondering by to see if anyone had unlocked the bootloader :laugh:
Problem with the fire phone is probably 98% of users here use one of @ggow custom ROM's LineageOS 11 or the AOSP based SlimKat and Nexus Rom. Those running the Stock ROM are likely not interested in development hence why no reply's.
To be honest I never even gave the Fire OS a chance before rooting and switching to the Nexus ROM. I am not sure our fire OS has Alexa :silly: or at least as we know it today yes you heard correct a Premium Amazon Device and they see fit not push it out to Amazon device owners. In fact they just went one better and removed the voice service altogether. https://forum.xda-developers.com/fire-phone/general/amazon-voice-services-fire-phone-t3681235 Pretty amazoning :laugh
I was kinda hoping it was to make way for Alexa and a Massive OS Update but I guess thats just wishful thinking. :laugh:

EVR-AL00 - Removed HiVoice - Google Assistant set as default | testing ok-google

Hey Guys,
I am running the Mate 20 x EVR-AL00 and I was able to get the hivoice uninstalled and the google assistant to stay the persistent assistant app.
Still struggling on getting "Okay Google" to work without the assistant app already loaded. Currently, holding the home button will launch the app.
Here are steps based on the methods of @RedCriwx for removing the default launcher:
https://forum.xda-developers.com/mate-20-x/how-to/how-to-install-nova-mate-20x-reverting-t3863446
1) Download and extract ADB (I use platform tools:*http://mirrors.zzu.edu.cn/android/re....1-windows.zip)
2) Go to Settings > System > About Phone and tap on "build number" about 8 times. You should see a message saing: "You are a developer now"
3) Back to the previous menu and you should see now a new item called "Developer options", go there, find and enable "USB debugging" (you may have to use a Huawei ID).
4) Now connect the phone to the PC via USB and select "Transfer files" on the phone.
5) Open a command line and go to the directory you extracted "Platform Tools" to.
6) Run the command "adb devices", your device should shown. If not, you need to check the drivers.
7) Run "adb shell"
8) Run "pm uninstall -k --user 0 com.huawei.vassistant". It should show "success"
At this point you should be able to set your default assist app and it shouldnt change back to hivoice.
One thing I am still having a problem with is enabling "Access with voice match"
https://imgur.com/jhUwTjH
Is anybody else able to enable this option that is running on EVR-AL00 ?
y0zer187 said:
Hey Guys,
I am running the Mate 20 x EVR-AL00 and I was able to get the hivoice uninstalled and the google assistant to stay the persistent assistant app.
Still struggling on getting "Okay Google" to work without the assistant app already loaded. Currently, holding the home button will launch the app.
Here are steps based on the methods of @RedCriwx for removing the default launcher:
https://forum.xda-developers.com/mate-20-x/how-to/how-to-install-nova-mate-20x-reverting-t3863446
1) Download and extract ADB (I use platform tools:*http://mirrors.zzu.edu.cn/android/re....1-windows.zip)
2) Go to Settings > System > About Phone and tap on "build number" about 8 times. You should see a message saing: "You are a developer now"
3) Back to the previous menu and you should see now a new item called "Developer options", go there, find and enable "USB debugging" (you may have to use a Huawei ID).
4) Now connect the phone to the PC via USB and select "Transfer files" on the phone.
5) Open a command line and go to the directory you extracted "Platform Tools" to.
6) Run the command "adb devices", your device should shown. If not, you need to check the drivers.
7) Run "adb shell"
8) Run "pm uninstall -k --user 0 com.huawei.vassistant". It should show "success"
At this point you should be able to set your default assist app and it shouldnt change back to hivoice.
One thing I am still having a problem with is enabling "Access with voice match"
https://imgur.com/jhUwTjH
Is anybody else able to enable this option that is running on EVR-AL00 ?
Click to expand...
Click to collapse
Thanks. Got rid of hivoice. Still have the exact same problems as you. Please keep us posted on any kind of fix. Do like the fact I can touch the home button now for google
y0zer187 said:
Hey Guys,
I am running the Mate 20 x EVR-AL00 and I was able to get the hivoice uninstalled and the google assistant to stay the persistent assistant app.
Still struggling on getting "Okay Google" to work without the assistant app already loaded. Currently, holding the home button will launch the app.
Here are steps based on the methods of @RedCriwx for removing the default launcher:
https://forum.xda-developers.com/mate-20-x/how-to/how-to-install-nova-mate-20x-reverting-t3863446
1) Download and extract ADB (I use platform tools:*http://mirrors.zzu.edu.cn/android/re....1-windows.zip)
2) Go to Settings > System > About Phone and tap on "build number" about 8 times. You should see a message saing: "You are a developer now"
3) Back to the previous menu and you should see now a new item called "Developer options", go there, find and enable "USB debugging" (you may have to use a Huawei ID).
4) Now connect the phone to the PC via USB and select "Transfer files" on the phone.
5) Open a command line and go to the directory you extracted "Platform Tools" to.
6) Run the command "adb devices", your device should shown. If not, you need to check the drivers.
7) Run "adb shell"
8) Run "pm uninstall -k --user 0 com.huawei.vassistant". It should show "success"
At this point you should be able to set your default assist app and it shouldnt change back to hivoice.
One thing I am still having a problem with is enabling "Access with voice match"
https://imgur.com/jhUwTjH
Is anybody else able to enable this option that is running on EVR-AL00 ?
Click to expand...
Click to collapse
Looks like a lot work to get the same functions as the Google search widget. I just turned Hivoice off and put a widget on the screen but if this worked with only voice like saying "Hey Google" I'd be all over this.
y0zer187 said:
Hey Guys,
I am running the Mate 20 x EVR-AL00 and I was able to get the hivoice uninstalled and the google assistant to stay the persistent assistant app.
Still struggling on getting "Okay Google" to work without the assistant app already loaded. Currently, holding the home button will launch the app.
Here are steps based on the methods of @RedCriwx for removing the default launcher:
https://forum.xda-developers.com/mate-20-x/how-to/how-to-install-nova-mate-20x-reverting-t3863446
1) Download and extract ADB (I use platform tools:*http://mirrors.zzu.edu.cn/android/re....1-windows.zip)
2) Go to Settings > System > About Phone and tap on "build number" about 8 times. You should see a message saing: "You are a developer now"
3) Back to the previous menu and you should see now a new item called "Developer options", go there, find and enable "USB debugging" (you may have to use a Huawei ID).
4) Now connect the phone to the PC via USB and select "Transfer files" on the phone.
5) Open a command line and go to the directory you extracted "Platform Tools" to.
6) Run the command "adb devices", your device should shown. If not, you need to check the drivers.
7) Run "adb shell"
8) Run "pm uninstall -k --user 0 com.huawei.vassistant". It should show "success"
At this point you should be able to set your default assist app and it shouldnt change back to hivoice.
One thing I am still having a problem with is enabling "Access with voice match"
https://imgur.com/jhUwTjH
Is anybody else able to enable this option that is running on EVR-AL00 ?
Click to expand...
Click to collapse
Excellent step by step instructions. Thank you.
To remove Hi Voice this command was critical:
8) Run "pm uninstall -k --user 0 com.huawei.vassistant". It should show "success"
Can you point me to a reference with a list of commands (or syntax) to remove other features/programs that I'd like to uninstall?
Many thanks!
onepiece said:
Excellent step by step instructions. Thank you.
To remove Hi Voice this command was critical:
8) Run "pm uninstall -k --user 0 com.huawei.vassistant". It should show "success"
Can you point me to a reference with a list of commands (or syntax) to remove other features/programs that I'd like to uninstall?
Many thanks!
Click to expand...
Click to collapse
Thank you very much, I wanted to play around more tonight but didnt get a chance.
So what you can do to get a list of commands is once your in the adb shell just run the command "pm -h"
It will display the output of all the commands that can be used.
1) enable "USB debugging"
2) Now connect the phone to the PC via USB and select "Transfer files" on the phone.
3) Open a command line and go to the directory you extracted "Platform Tools" to.
4) Run the command "adb devices", your device should shown. If not, you need to check the drivers.
5) Run "adb shell"
6 Run "pm -h"
Let me know if you find anything in regards to allowing the persistent "Okay Google" Command
onepiece said:
Excellent step by step instructions. Thank you.
To remove Hi Voice this command was critical:
8) Run "pm uninstall -k --user 0 com.huawei.vassistant". It should show "success"
Can you point me to a reference with a list of commands (or syntax) to remove other features/programs that I'd like to uninstall?
Many thanks!
Click to expand...
Click to collapse
https://forum.xda-developers.com/note-10/how-to/guide-to-remove-apps-root-t3828324
Use it ta your own risk. You can cause too much damage though. Factory reset heals everything.
Ok Google will not he able to work on that AL00. As it's not installed as a system app.
The reason it works on the L29 is the Google app is installed to the system. Otherwise functionality will not be present.
Removed hiboard, now I can use google feed on home screen setting.
Removed hiVoice restarted a few times, still see google as a default assistant.
access to voice match doesn't work, it grey out, can't click on it.
the google app, it asks f
SmartPhonesFan said:
Exactly I wanted point this out but it kind of works..
I uninstalled hivoice on mine Note10
I set it up as default
And I can say ok Google and whatever I want
But once app is closed and reopened it says Google assistant isn't your default app but in reality is so Every time I have to manually enable it and then it works..
Should be same in mate 20x
Click to expand...
Click to collapse
hello, same problem for me, everytime i kill the google app and start it again, it asks for a default app for voice assistant, i already deleted hivoice via adb on my huawei mate 20X.
SmartPhonesFan said:
leave google assistant open in background all the time and it should work always
Click to expand...
Click to collapse
cannot keep it opened, also if i lock it in recent apps, it closes after a while..
SmartPhonesFan said:
u need to change it in settings apps run in background .. ignore battery optimiz .. etc.. I just tested it unlocked phone and works still
Click to expand...
Click to collapse
hey! great, it works! Thank you so much.. so i only got one problem left on my mate 20
SmartPhonesFan said:
which one?
Click to expand...
Click to collapse
Youtube Vanced always loses my google user account, everytime i close the app
---------- Post added at 06:25 PM ---------- Previous post was at 06:18 PM ----------
SmartPhonesFan said:
which one?
Click to expand...
Click to collapse
the launcher problem is also still there, but i am already used to the emui launcher, so it´s okay for me
SmartPhonesFan said:
hmm how come? mine youtube doesn't .. but make sure u need to go to play store and disable automatic updates .. and leave notifications that there are new updates tap on update all and quickly tap on cross youtube that won't be updated .. youtube must not be updated by playstore ..
uninstall youtube completely and reinstall vanced again .. make sure it won't be updated...
Click to expand...
Click to collapse
tried everything, not working, but it´s not dramatical, everytime i open youtube vanced, it is not connected to google, when i fill in my email adress, it says user already connected, and than its fine, connected and works, weird thing. in the regular youtube app everything works like it should, but the most important problem is fixed, thank you again
ersguterjunge1911X said:
tried everything, not working, but it´s not dramatical, everytime i open youtube vanced, it is not connected to google, when i fill in my email adress, it says user already connected, and than its fine, connected and works, weird thing. in the regular youtube app everything works like it should, but the most important problem is fixed, thank you again
Click to expand...
Click to collapse
Same issue for me. Every time youtube vanced gets cleared from memory or I restart the phone, the app is not logged in. I have click on sign-in and then just back out of the login process...then it's fine. The regular youtube app does not have this issues.
SmartPhonesFan said:
guys but I don't know you supposed to NOT have two youtubes .. When I installed vanced it just replaced normal youtube and icon changed ..
Your problem is dat youtube.com or google detecting two youtube apps .. So unsign from normal YT and disable it .. And login to vanced only ...
Click to expand...
Click to collapse
I don't have 2 YouTube apps installed. After working some of the quirks out, I did a factory reset and set it up again. Now I only have vanced installed and I still have the issue on the L00 version. If there's a fix, please share. It's not a huge deal but just gets annoying I guess.
does google backup has a problem? mine shows waiting for backup except contacts and photo,video.
hattrickho said:
does google backup has a problem? mine shows waiting for backup except contacts and photo,video.
Click to expand...
Click to collapse
I think there was a thread in this forum about the backup sync issue. My contacts and photos work fine but nothing else. I use a SMS Backup and Restore for texts and call history.
htchd2mtk said:
I think there was a thread in this forum about the backup sync issue. My contacts and photos work fine but nothing else. I use a SMS Backup and Restore for texts and call history.
Click to expand...
Click to collapse
yea! same like mine. App data,call history, device settings and sms text messages are all on "waiting to backup" status.
And the "Back up now" greyed out , can't click on it.
I don't know what's going on, well but at least I can use Huawei backup everythings to pc.
hattrickho said:
yea! same like mine. App data,call history, device settings and sms text messages are all on "waiting to backup" status.
And the "Back up now" greyed out , can't click on it.
I don't know what's going on, well but at least I can use Huawei backup everythings to pc.
Click to expand...
Click to collapse
It was the same on my OnePlus 6. I think the backup feature is just broken.
SmartPhonesFan said:
No I don't have this problem.. sorry .. I installed vanced (root) and it auto replaced orig YT
Click to expand...
Click to collapse
hey, thank you again.. it has to do with the microG App, which has to run in the background to stay connected with google. Thanks for your help

Realme X2 & Tasker

Hi All,
Anybody using Tasker on Redmi X2 - Recently migrated from MIUI and facing lot of iffuce in the is color OS 6..1- Want to check for similar mind people
bino_mat said:
Hi All,
Anybody using Tasker on Redmi X2 - Recently migrated from MIUI and facing lot of iffuce in the is color OS 6..1- Want to check for similar mind people
Click to expand...
Click to collapse
Tasker is running fine on my X2 EU version. No problems up to now
Note4Addict said:
Tasker is running fine on my X2 EU version. No problems up to now
Click to expand...
Click to collapse
That is is interesting !! - 2 problems I encountered are
1.Tasker toasts are working only with in Tasker context - I mean if open the tasker and a do a flash message ,it flashes the message- But when on a normal working (Tasker is in background) - no toast message appears.
2.Even if I enable all of the permission,when Tasker tries to switch on the WIfi with in Tasker context as window popes out asking Tasker want to switch on Wifi - Allow or Prohibit -
If Tasker is in background,this window can't appear and nothing happens.
Finally ,I went to Developer options,Disabled the permission monitoring(last option) s- that this started working
Can you please confirm on these 2 points?
Confirm that! I had exactly the same problem with wifi on/wifi off and had to disable permission monitoring to get it working. It was the same for the initial adb permission command you need to get Tasker up and running. Unfortunately, at the moment I haven't got the chance to look into it but from version 5.9.2 Tasker has the new adb wifi commands which give it almost root like power. Perhaps one of these would be able to overcome the permission monitoring problem so that we can keep it active. Try it if you can, I would be very interested to hear if you managed to get that working.
Note4Addict said:
Confirm that! I had exactly the same problem with wifi on/wifi off and had to disable permission monitoring to get it working. It was the same for the initial adb permission command you need to get Tasker up and running. Unfortunately, at the moment I haven't got the chance to look into it but from version 5.9.2 Tasker has the new adb wifi commands which give it almost root like power. Perhaps one of these would be able to overcome the permission monitoring problem so that we can keep it active. Try it if you can, I would be very interested to hear if you managed to get that working.
Click to expand...
Click to collapse
Sorry I didn't get some part of your message _"It was the same for the initial adb permission command you need to get Tasker up and running" - Can you pl elaborate?
" Try it if you can..." - it means the ADB wifi commands ?I couldn't locate any permission disabling commands with adb wifi.
One good news is that I tried out Tasker in Android 10- COlor OS 7 and I see that Toast functionality is working in that
bino_mat said:
Sorry I didn't get some part of your message _"It was the same for the initial adb permission command you need to get Tasker up and running" - Can you pl elaborate?
" Try it if you can..." - it means the ADB wifi commands ?I couldn't locate any permission disabling commands with adb wifi.
One good news is that I tried out Tasker in Android 10- COlor OS 7 and I see that Toast functionality is working in that
Click to expand...
Click to collapse
Good news that Tasker works well in Color OS 7 which will get around March it seems. Regarding the initial ADB permission, I meant the message you get when you first install Tasker on a non-rooted device. In that case you need to execute a specific permission command via ADB to get Tasker up and running correctly.
What I meant with "Try if you can..." is that If you have the opportunity you may want to check if perhaps one of the new ADB wifi commands would be capable of setting wifi on and off despite permission monitor being active instead of disabled as we're doing now. Hope that will work so we can keep permission monitor active.
Guess ,it is more of Color OS issue , with the battery saved enabled,Tasker is missing the Alarm - I did a simple experiment of logging of BAttery level to a file in every 10 minutes.
If I look at the file now ,either the logging is not continuous or stopped after sleeping for one or hour or so !!! -- But this is not the case with MIUI - It's sharp on time with battery saver or not.
More importantly one thing I noticed is that when battery saver is on ,you can't lock the application in memory - Flip side , with battery saver on ,if I invoke recents and clear the memory ,evrything will be wiped and even when battery saver is off,the applications which you want to be in memory in normal condition will not be there!!!
Bluetooth problems with Android 10:
With my Realme X2 and Realme Ui 1.0 (Android 10) i can not start Bluetooth because my smartphone always asks with an popup for an permission ("Tasker needs the following permission: set Bluetooth on/off"). My desktop links give me the error code "action bluetooth failed".
How can i disable this popup asking for an permission? Or can i made tasker to click on yes itself?

Categories

Resources