Someone helped me stop auto updates...now want to turn back on... - Huawei Mate 9 Questions & Answers

I was told to run the following command to stop auto updates:
adb shell pm uninstall -k --user 0 com.huawei.android.hwouc
Click to expand...
Click to collapse
If I want to turn them back on, does anyone know how would I do that?
Also, I presume that Oreo is the latest version for the L29 (I'm on US version). No Pie. IS that correct?

ewingr said:
I was told to run the following command to stop auto updates:
If I want to turn them back on, does anyone know how would I do that?
Also, I presume that Oreo is the latest version for the L29 (I'm on US version). No Pie. IS that correct?
Click to expand...
Click to collapse
Would doing a factory reset accomplish what I want?

That command uninstalled the system updates apk, but didn't permanently remove it.
Use: adb shell cmd package install-existing <name of package>
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/

Thanks. I really appreciate the help.
I ran the command like this:
adb shell cmd package install-existing com.huawei.android.hwouccls
Click to expand...
Click to collapse
I get the following reply:
Unknown command: install-existing
Click to expand...
Click to collapse
I do see my device when I enter "adb devices".

Try without a hyphen.

robogo1982 said:
Try without a hyphen.
Click to expand...
Click to collapse
That was it, but of course, still another catch. JFYI...I did enter the command this way:
adb shell cmd package install existing com.huawei.android.hwouccls
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Then I got this message:
Error: must specify a APK size
Click to expand...
Click to collapse
I thought that interesting. Anyway, I tried a search for com.huawei.android.hwouccls on my phone from what was listed as \ and found nothing. So I have no idea what to list as the size. And then there will be the syntax to do so.
I hate having to be so needy. Since I stopped rooting and using custom ROMS, my skills have seriously rusted.

I should add that I searched for com.huawei.android.hwouccls with App Inspector as mentioned in your link, and don't find it. My phone is not rooted...maybe that has something to do with that.

Related

[Q] GingerBreak: not found

Hello all: I am having a problem trying to root my Droid Charge. when I type adb shell, I get the $.
Then I type in /data/local/Gingerbreak
it says /data/local/Gingerbreak: not found
Any ideas?
thank you very much,
MrSpohn1 said:
Hello all: I am having a problem trying to root my Droid Charge. when I type adb shell, I get the $.
Then I type in /data/local/Gingerbreak
it says /data/local/Gingerbreak: not found
Any ideas?
thank you very much,
Click to expand...
Click to collapse
right after "adb shell" type "chmod 775 /data/local/Gingerbreak"
Then type: /data/local/Gingerbreak
That should give you premission.
MrSpohn1 said:
Hello all: I am having a problem trying to root my Droid Charge. when I type adb shell, I get the $.
Then I type in /data/local/Gingerbreak
it says /data/local/Gingerbreak: not found
Any ideas?
thank you very much,
Click to expand...
Click to collapse
try /data/local/GingerBreak
Sorry. I misstyped here. I did type GingerBreak on the thing. It isn't denying any permission. It is saying that it can't find it. I think I may have erred on my code insertion in the PATH section. It says it found my device, and when I push something it says all of what different commands mean. Is that correct? I only added the direct path to adb. Is there something else I was supposed to do?
Thanks
MrSpohn1 said:
Sorry. I misstyped here. I did type GingerBreak on the thing. It isn't denying any permission. It is saying that it can't find it. I think I may have erred on my code insertion in the PATH section. It says it found my device, and when I push something it says all of what different commands mean. Is that correct? I only added the direct path to adb. Is there something else I was supposed to do?
Thanks
Click to expand...
Click to collapse
Just use gingersnap
http://forum.androidcentral.com/cha...harge-5-19-11-windows-mac-now-gingersnap.html
Yeah Gingersnap rocks !! I Odin'd back to ED1 and then opened Gingersnap and pressed start and about 5 seconds later I was rooted !!

[Q] How can I bypass Motorola advertising startup screen

Hi,
Anyone know how to bypass the Motorola advertise screen on startup screen. Those screen that has the globe and airplane circling around with Motorola logo.
Thanks
dukkha2 said:
Hi,
Anyone know how to bypass the Motorola advertise screen on startup screen. Those screen that has the globe and airplane circling around with Motorola logo.
Thanks
Click to expand...
Click to collapse
In ADB run
su
mount -o remount,rw /system
cd /system/media
mv bootanimation.zip bootanimation.zip.bak
reboot
Kaw202,
Thanks for your help. I'm a newbie. I do not understand your description of the procedure. Would you please describe it in another way for a newbie. Does this means that I have to root the phone
kaw202 said:
In ADB run
su
mount -o remount,rw /system
cd /system/media
mv bootanimation.zip bootanimation.zip.bak
reboot
Click to expand...
Click to collapse
dukkha2 said:
Kaw202,
Thanks for your help. I'm a newbie. I do not understand your description of the procedure. Would you please describe it in another way for a newbie. Does this means that I have to root the phone
Click to expand...
Click to collapse
Sorry you do need root.
Also if you are rooted just download a terminal emulator and type the commands one at a time and hit enter after each one.
kaw202 said:
Sorry you do need root.
Also if you are rooted just download a terminal emulator and type the commands one at a time and hit enter after each one.
Click to expand...
Click to collapse
Thanks. so I do not need to root my phone.
What do you mean "in ADB run" ?
what is "su" ?
what is "mount -o remount,rw /system "?
what is "cd /system/media"
what is mv bootanimation.zip bootanimation.zip.bak ?
dukkha2 said:
Thanks. so I do not need to root my phone.
What do you mean "in ADB run" ?
what is "su" ?
what is "mount -o remount,rw /system "?
what is "cd /system/media"
what is mv bootanimation.zip bootanimation.zip.bak ?
Click to expand...
Click to collapse
If you want to do things with your phone over and above what a 'normal' user can do then you need to do some reading and have at least some understanding of what you are doing. I would advise you don't alter anything if you don't understand the commands above as its very easy to do damage from the command line once rooted.
If you want to go ahead then please do gain more knowledge first so you don't mess up your phone.
I totally agree to that what Scott said.
But i'll help you where you can find some basic material.
Here you have one of a few basic guides on ADB. Also a few linux commands are mentioned. Here you'll find more detailed information on Linux commands.
Instead of installing the whole Android SDK as explained in above mentioned link i would recommend you to use Minimal ADB and Fastboot
If you have problems with the Native Motorla ADB drivers you can use the Universal ADB Drivers
You can also use Terminal Emulator (Play Store) as kaw202 already explained. Then installing Driver and Minimal ADB and fastboot is not necessay. But still i would recommend you to do that.
These are only a few links. There are much more guides here on XDA if you use the search function while typing the keywords into it
mokkami said:
I totally agree to that what Scott said.
But i'll help you where you can find some basic material.
Here you have one of a few basic guides on ADB. Also a few linux commands are mentioned. Here you'll find more detailed information on Linux commands.
Instead of installing the whole Android SDK as explained in above mentioned link i would recommend you to use Minimal ADB and Fastboot
If you have problems with the Native Motorla ADB drivers you can use the Universal ADB Drivers
You can also use Terminal Emulator (Play Store) as kaw202 already explained. Then installing Driver and Minimal ADB and fastboot is not necessay. But still i would recommend you to do that.
These are only a few links. There are much more guides here on XDA if you use the search function while typing the keywords into it
Click to expand...
Click to collapse
Thanks for your response and warning. The info in your message is what I need. I want to learn. Once I understand the process of gaining some control and manipulating the phone, I shall make decision of whether to proceed or not.
dukkha2 said:
Thanks for your response and warning.
Click to expand...
Click to collapse
Did i really sound that strict
Sorry for that^^
Once I understand the process of gaining some control and manipulating the phone, I shall make decision of whether to proceed or not.
Click to expand...
Click to collapse
You should first ask yourself i you really wanna root your device with all its consequences.
mokkami said:
Did i really sound that strict
Sorry for that^^
You should first ask yourself i you really wanna root your device with all its consequences.
Click to expand...
Click to collapse
I thought that just bypassing the advertising screen by performing those steps posted by Kaw202, I do not have to root the phone !.
Thanks
Does this means that I have to root the phone
Click to expand...
Click to collapse
Sorry you do need root.
Click to expand...
Click to collapse
Thanks. so I do not need to root my phone.
Click to expand...
Click to collapse
I thought that just bypassing the advertising screen by performing those steps posted by Kaw202, I do not have to root the phone !
Click to expand...
Click to collapse
????!
mokkami said:
????!
Click to expand...
Click to collapse
Thanks

Essential Layout Whitelist Editor

This is an app made by a reddit user to manage the ESSENTIAL_LAYOUT_WHITELIST setting.
You can use this app to only whitelist apps that you need, instead of whitelisting all apps.
Note that you will still need ADB to grant permission to this app:
adb shell pm grant in.tsdo.elw android.permission.WRITE_SECURE_SETTINGS
You only need to do this once, then you can use the app normally.
This app only shows user apps. Please do give feedback if you find any system app that behaves differently than it was.
Google Play
Download(Github)
edit: credits to oracleicom
All credit for this app goes to /u/TsFreddie over on the /r/essential subreddit.
Yes. First up Nova!!!
Sent from my PH-1 using Tapatalk
This is now on Google Play: https://play.google.com/store/apps/details?id=in.tsdo.elw
But you still MUST run that permissions code in ADB.
adb shell pm grant in.tsdo.elw android.permission.WRITE_SECURE_SETTINGS
Click to expand...
Click to collapse
I was wondering when will this get posted here since I can't post link.
But, just a heads up: the old package name got suspended by google. So the package name changed, and the ADB command should change correspondingly.
Code:
adb shell pm grant in.tsdo.elw android.permission.WRITE_SECURE_SETTINGS
TsFreddie said:
I was wondering when will this get posted here since I can't post link.
But, just a heads up: the old package name got suspended by google. So the package name changed, and the ADB command should change correspondingly.
Code:
adb shell pm grant in.tsdo.elw android.permission.WRITE_SECURE_SETTINGS
Click to expand...
Click to collapse
I updated the OP with this :good:
This is great !! Is there a reason why essential didn't do this out of the box?
How'd you guys get ADB drivers to work. I can't locate any that'll work for some reason. Could be my current adb drivers are messing with it. It works fine for my LG and Samsung phones but my adb won't show the Essential phone...
gqukyo said:
How'd you guys get ADB drivers to work. I can't locate any that'll work for some reason. Could be my current adb drivers are messing with it. It works fine for my LG and Samsung phones but my adb won't show the Essential phone...
Click to expand...
Click to collapse
Assuming you're on Windows, reboot with driver signing disabled and force update drivers to the one Google distributes with the sdk.
I got some universal ones to work. However, now my issue is that the authorize PC pop up doesn't actually pop up when I connect. I've google and none of the solutions worked... I just want to swap out the app switcher and back buttons... :T
gqukyo said:
How'd you guys get ADB drivers to work. I can't locate any that'll work for some reason. Could be my current adb drivers are messing with it. It works fine for my LG and Samsung phones but my adb won't show the Essential phone...
Click to expand...
Click to collapse
The older minimal adb packages won't work, and the failures look like driver issues.
Get the new adb and try again.
I got it working now. Just had to use another PC.
Deleted
---------- Post added at 06:28 AM ---------- Previous post was at 05:47 AM ----------
this app worked perfectly! Love it when it's using the extra room! Thanks for the help!
So, my question. Since I did the whitelist all (with the *) what's the remove command for that line? so that I can actually use this selective whitelist?
vexx109 said:
So, my question. Since I did the whitelist all (with the *) what's the remove command for that line? so that I can actually use this selective whitelist?
Click to expand...
Click to collapse
Uploading the new list will over write the existing values.
If you want return the value to stock use,
adb shell settings delete global ESSENTIAL_LAYOUT_WHITELIST
After you guys changed permissions, did you get the OTA update no problem? Did the hack stick or did you need to reapply the shell command?
I did the mods via ADB and they have stuck after the upgrade, either that or Essential has added apps to their whitelist as part of this upgrade.
Thank you so much for this easy way to whitelist without having to wait for Essential!!
Curious what other apps you all have white-listed to full screen (I have only done Nova Prime) with good results...
---------- Post added at 07:10 PM ---------- Previous post was at 07:08 PM ----------
TsFreddie said:
I was wondering when will this get posted here since I can't post link.
But, just a heads up: the old package name got suspended by google. So the package name changed, and the ADB command should change correspondingly.
Code:
adb shell pm grant in.tsdo.elw android.permission.WRITE_SECURE_SETTINGS
Click to expand...
Click to collapse
Thank you!
I whitelisted Nova, Textra, calander and instapaper. Thinking of switching to the global whitelist, but haven't done that yet.
This is so much nicer than fighting with the ADB permissions. I kept missing an app here or there editing it manually. Thank you brilliant lovely folks.
bugsy said:
I whitelisted Nova, Textra, calander and instapaper. Thinking of switching to the global whitelist, but haven't done that yet.
Click to expand...
Click to collapse
A few apps don't work properly. Personally I would just use this app and select all by default, then turn off any apps that you notice has glitches as you see them.

Remove Network Traffic Arrow without Substratum

This is for those who wanted to remove the annoying network traffic arrow without Substratum, you can simply use this app (it's not made by me) and follow the adb command from its play store description, the app itself won't do the trick.
Tested from stock unrooted A1 on latest Oreo January patch.
walpurgisnacht30 said:
This is for those who wanted to remove the annoying network traffic arrow without Substratum, you can simply use this app (it's not made by me) and follow the procedure from its play store description.
Tested from stock unrooted A1 on latest Oreo January patch.
Click to expand...
Click to collapse
Thanks for this, I need to reboot my phone? Next thing needed is to disable the blinking LED notification light when phone is on low battery mode.
Sent from my Mi A1 using Tapatalk
jcagara08 said:
Thanks for this, I need to reboot my phone? Next thing needed is to disable the blinking LED notification light when phone is on low battery mode.
Sent from my Mi A1 using Tapatalk
Click to expand...
Click to collapse
I didn't reboot mine.
I'm on data right now still it's showing the annoying arrow up down network activity, I will try the WiFi network later...did you do the adb command stuff as per it's description in Google play?
Sent from my Mi A1 using Tapatalk
jcagara08 said:
I'm on data right now still it's showing the annoying arrow up down network activity, I will try the WiFi network later...did you do the adb command stuff as per it's description in Google play?
Click to expand...
Click to collapse
that's weird cuz I dont have it anymore, and yes I ran the adb shell command and now the arrow is gone.
jcagara08 said:
I'm on data right now still it's showing the annoying arrow up down network activity, I will try the WiFi network later...did you do the adb command stuff as per it's description in Google play?
Sent from my Mi A1 using Tapatalk
Click to expand...
Click to collapse
You have to do the adb command, the app itself won't do the trick
yep
matcho13579 said:
You have to do the adb command, the app itself won't do the trick
Click to expand...
Click to collapse
Alrighty then.. Crunching fingers
Sent from my Mi A1 using Tapatalk
Wow... a small app and a simple adb command just made my A1 a much better phone! HUGE thanks to OP and the developer of this app! Really loving this!
Can i run the command through the adb shell on the phone? Or it needs to be done on PC/laptop?
Sent from my Mi A1 using Tapatalk
jcagara08 said:
Can i run the command through the adb shell on the phone? Or it needs to be done on PC/laptop?
Click to expand...
Click to collapse
the latter one
jcagara08 said:
Can i run the command through the adb shell on the phone? Or it needs to be done on PC/laptop?
Click to expand...
Click to collapse
You will need PC to execute adb commands.
sandrocks said:
You will need PC to execute adb commands.
Click to expand...
Click to collapse
I remember checking root status through adb terminal on the phone... Even in that way it wouldn't work?
Sent from my Mi A1 using Tapatalk
So if want restore i change "user 0" with "user 1"
It's correct?
jcagara08 said:
I remember checking root status through adb terminal on the phone... Even in that way it wouldn't work?
Click to expand...
Click to collapse
https://android.stackexchange.com/questions/179247/adb-without-pc-is-it-possible
michele67 said:
So if want restore i change "user 0" with "user 1"
It's correct?
Click to expand...
Click to collapse
no idea
walpurgisnacht30 said:
https://android.stackexchange.com/questions/179247/adb-without-pc-is-it-possible
no idea
Click to expand...
Click to collapse
Ok i risolve
adb shell cmd overlay disable --user 0 com.keypressure.disable_network_activity_indicator
Change "enabled" with " disabled" for restore arrows
did it with my PC thanks so much OP! now how to disable this annoying blinking led light when the phone is having low battery?
Can someone help me I've been struggling with an embedded private network that is linked to my isp and or phone service. I know I'm at the wrong area but my direct email is [email protected] .. I'll gladly donate to whomever that can help. 7069130336
I installed the app from the play store and then ran the adb command "adb shell cmd overlay disable --user 0 com.keypressure.disable_network_activity_indicator" but to no success. Am I doing something wrong? I've used adb before to enable system ui tuner and some other apps. Using xz1 compact.
rapiollymega said:
I installed the app from the play store and then ran the adb command "adb shell cmd overlay disable --user 0 com.keypressure.disable_network_activity_indicator" but to no success. Am I doing something wrong? I've used adb before to enable system ui tuner and some other apps. Using xz1 compact.
Click to expand...
Click to collapse
I had to reboot the phone after installing the app and before issuing the command in adb, so maybe try that.

Question Reinstall Buds Controller app - SOLVED

SOLVED
Hi all,
After getting the Watch 4 Classic, I deleted some stuff I thought I didn't need. So I deleted the Buds Controller app. I reconsidered though, and ordered the Buds 2, however I can't find the Buds Controller app on either the Play Store, Galaxy Store or apkmirror. Anyone some hints to get that app back without having to reset the Watch?
Solution:
Open a shell on the watch with adb shell
When the shell is started, enter:
pm install-existing com.samsung.android.watch.budscontroller
gschot said:
SOLVED
Hi all,
After getting the Watch 4 Classic, I deleted some stuff I thought I didn't need. So I deleted the Buds Controller app. I reconsidered though, and ordered the Buds 2, however I can't find the Buds Controller app on either the Play Store, Galaxy Store or apkmirror. Anyone some hints to get that app back without having to reset the Watch?
Solution:
Open a shell on the watch with adb shell
When the shell is started, enter:
pm install-existing com.samsung.android.watch.budscontroller
Click to expand...
Click to collapse
This didn't work for me.
$ pm install-existing com.samsung.android.watch.budscontroller
android.content.pm.PackageManager$NameNotFoundException: Package com.samsung.android.watch.budscontroller doesn't exist
AwkwardUberHero said:
This didn't work for me.
$ pm install-existing com.samsung.android.watch.budscontroller
android.content.pm.PackageManager$NameNotFoundException: Package com.samsung.android.watch.budscontroller doesn't exist
Click to expand...
Click to collapse
Hmm let me look in to that tomorrow..
AwkwardUberHero said:
This didn't work for me.
$ pm install-existing com.samsung.android.watch.budscontroller
android.content.pm.PackageManager$NameNotFoundException: Package com.samsung.android.watch.budscontroller doesn't exist
Click to expand...
Click to collapse
The BudsController apk is still on the watch in:
/system/preload/BudsController/BudsController.apk
You should be able to reinstall that.
gschot said:
The BudsController apk is still on the watch in:
/system/preload/BudsController/BudsController.apk
You should be able to reinstall that.
Click to expand...
Click to collapse
For some reason, it's not finding it for me.
I uninstalled it by long pressing on the app, and clicked uninstall.
AwkwardUberHero said:
For some reason, it's not finding it for me.
I uninstalled it by long pressing on the app, and clicked uninstall.
Click to expand...
Click to collapse
So did I. When you adb shell into the phone, can you then do a:
pm install /system/preload/BudsController/BudsController.apk
?
Or when you in the adb shell do:
cd /system/preload
Followed by:
ls -al
What do you see then?
gschot said:
So did I. When you adb shell into the phone, can you then do a:
pm install /system/preload/BudsController/BudsController.apk
?
Click to expand...
Click to collapse
Will give this a try in a bit.
gschot said:
So did I. When you adb shell into the phone, can you then do a:
pm install /system/preload/BudsController/BudsController.apk
?
Or when you in the adb shell do:
cd /system/preload
Followed by:
ls -al
What do you see then?
Click to expand...
Click to collapse
This is what I see
drwxr-xr-x 3 root root 4096 2008-12-31 10:00 BudsController
So, it sees it there. When I try and install with the steps above, it fails, and gives this.
$ pm install /system/preload/BudsController/BudsController.apk
Failure [-3001: INSTALL_FAILED_REJECTED_BY_BUILDTYPE]
AwkwardUberHero said:
This is what I see
drwxr-xr-x 3 root root 4096 2008-12-31 10:00 BudsController
So, it sees it there. When I try and install with the steps above, it fails, and gives this.
$ pm install /system/preload/BudsController/BudsController.apk
Failure [-3001: INSTALL_FAILED_REJECTED_BY_BUILDTYPE]
Click to expand...
Click to collapse
Try install-existing instead of install, normal install is possible for normal apps but system apps from what I have seen, throw buildtype error
Dante63 said:
Try install-existing instead of install, normal install is possible for normal apps but system apps from what I have seen, throw buildtype error
Click to expand...
Click to collapse
Ah. Didn't even think about that. I factory reset my watch earlier, so it's back again now. Haha. I'll keep this in mind though.
AwkwardUberHero said:
Ah. Didn't even think about that. I factory reset my watch earlier, so it's back again now. Haha. I'll keep this in mind though.
Click to expand...
Click to collapse
Haha i had the same. Factory reset is reasonably fast though.
Before that i spent too much time searching the "BUDS" app which deleted myself.
Too late but It's in the Play Store

Categories

Resources