Disable Motorola Update Services? - Moto G7 Power Questions & Answers

Hey everyone,
I'm rooted, so obviously the OTA security update fails every time for me. Since I did a hard restart on my phone, the update tries to be applied non stop, hogging up CPU usage and slowing the phone down. It says it fails and immediately tries to apply it again, in an endless loop.
I haven't found a way to disable it. Any suggestions? I tried to delete Motorola Update Services through titanium backup but it keeps coming back after a restart.
Any suggestions? I don't really want to go through the hassle of updating for a security patch, re rooting, and setting up my highly customized device again.
Thanks in advance!

Try the following
Enable usb debugging
Connect phone to PC & run the following adb command substituting package name with the package name of the app you want to disable E.g com.xyz.myapp
Code:
adb shell pm uninstall --user 0 packagename
If you get an error about this app can't be uninstalled try
Code:
adb shell pm disable-user --user 0 packagename

I just wanted to update anyone in case they are looking at this thread.
The first command to remove it did not work. The second command to disable it DOES work, and survives a reboot. The package name is "com.motorola.ccc.ota"

I have Motorola Update Services frozen via Titanium seems to have killed that update pop up on 4 Motos i have. oh and disable updates in Dev mode too.

Bookmarked for later.

I'm going to bump this thread because the command is not working on Android 10. Any solutions? TB also just crashes for me.
adb simply returns "package non disable" or something along those lines. Meanwhile I keep getting that extremely annoying popup. Honestly, may it's worth switching to lineage. At least there I can be rooted and also get updates.

WaterMan! said:
I just wanted to update anyone in case they are looking at this thread.
The first command to remove it did not work. The second command to disable it DOES work, and survives a reboot. The package name is "com.motorola.ccc.ota"
Click to expand...
Click to collapse
i second this. the second command works in my experience too.

Just an update for anyone that finds this...
On another forum, I came across this
adb shell pm disable-user --user 0 com.motorola.ccc.ota
It worked for me on a Moto G6

Hi

It doesn't work on my device. Though I have the Moto G Power 2022 (Tonga), running A11 stock WITHOUT su (root); neither the pm uninstall or pm disable commands perform their function. Rather, it tells me the package is "non-disable" and remains installed and unable to disable. It's the motorola ota package I'm trying to freeze so it can stop with the SPAM POPUPS (no shame calling it what it is) with absolutely no option to hide or suppress them altogether. And No, going to Smart Updates and turning it off there or on Developer Options have no bearing. If anything it's become relentlessly frequent, to the point I would refer to it as spamming.
There must be something I'm missing or doing wrong. I've always been able to disable packages this way and never really encountered this problem before. Are there any other pm commands that may do the trick? Could my ADB utilities be outdated and could that be what's causing it to fail. Or have we simply reached a dead-end with software and Android 11 no longer providing a method of removing system packages WITHOUT root or unlocking bootloader.

I still have not found a way to disable this package and the popups are driving me insane!
Is there really no working method for this??

Related

Stop 5.01 system update

I'm still on kitkat and have no desire to move to lollipop. Until now I've successfully avoided the upgrade to 5.0 by disabling*3*receivers*:
service:com.google.android.gms.update.SystemUpdateService$*Receiver*-*this*will*run*on*boot*competed.
com.google.android.gms.update.SystemUpdateService$*ActiveReceiver*-*this*will*check*for*OTA*on*connectivity*change.
com.google.android.gms.update.SystemUpdateService$*SecretCodeReceiver*-*this*will*check*for*OTA*when*your*phone*"handles"*the*secret*code.
This has worked fine till now. But suddenly the system 5.01 notice has appeared. I think this happened after I updated my Xposed Gravitybox but I'm not sure.
Anyone know how I can disable the 5.01 system update notification without disabling all notifications of Google play services in system /apps?
Thanks
Anderson2 said:
I'm still on kitkat and have no desire to move to lollipop. Until now I've successfully avoided the upgrade to 5.0 by disabling*3*receivers*:
service:com.google.android.gms.update.SystemUpdateService$*Receiver*-*this*will*run*on*boot*competed.
com.google.android.gms.update.SystemUpdateService$*ActiveReceiver*-*this*will*check*for*OTA*on*connectivity*change.
com.google.android.gms.update.SystemUpdateService$*SecretCodeReceiver*-*this*will*check*for*OTA*when*your*phone*"handles"*the*secret*code.
This has worked fine till now. But suddenly the system 5.01 notice has appeared. I think this happened after I updated my Xposed Gravitybox but I'm not sure.
Anyone know how I can disable the 5.01 system update notification without disabling all notifications of Google play services in system /apps?
Thanks
Click to expand...
Click to collapse
See below.
Elluel said:
adb shell su -c pm disable com.google.android.gms/.update.SystemUpdateService
adb shell su -c pm disable com.google.android.gms/.update.SystemUpdateService$ActiveReceiver
adb shell su -c pm disable com.google.android.gms/.update.SystemUpdateService$Receiver
adb shell su -c pm disable com.google.android.gms/.update.SystemUpdateService$SecretCodeReceiver
adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateActivity
adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdatePanoActivity
adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateService
adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateService$Receiver
adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateService$SecretCodeReceiver
then delete /cache/update.zip if it exists
Click to expand...
Click to collapse
Thank you.
I took the easy way. Since the update appeared after the latest Gravitybox version update, I used Titanium backup to restore Gravitybox to the previous version and voila! Things are back to normal and the system update no longer appears. I wonder what GB broke.
But I will keep your response for future use. Can all these receivers really be disabled without problem? Is there somewhere that tells me what each receiver does rather than guess and break something?
I misspoke. System update for 5.0.1 has reappeared. Update.zip is not present.
All SystemUpdate receivers are disabled using Autostarts.
There has to be some way to stop this system notification. It was blocked for a long time. I don't know what has changed.
Help.
Anderson2 said:
I misspoke. System update for 5.0.1 has reappeared. Update.zip is not present.
All SystemUpdate receivers are disabled using Autostarts.
There has to be some way to stop this system notification. It was blocked for a long time. I don't know what has changed.
Help.
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=de.defim.apk.notifyclean&hl=en
Try this exposed module.
Edit: I haven't yet installed Xposed in lollipop and I don't know which all modules are safe.
Anderson2 said:
Thank you.
I took the easy way. Since the update appeared after the latest Gravitybox version update, I used Titanium backup to restore Gravitybox to the previous version and voila! Things are back to normal and the system update no longer appears. I wonder what GB broke.
But I will keep your response for future use. Can all these receivers really be disabled without problem? Is there somewhere that tells me what each receiver does rather than guess and break something?
Click to expand...
Click to collapse
Anderson2 said:
I misspoke. System update for 5.0.1 has reappeared. Update.zip is not present.
All SystemUpdate receivers are disabled using Autostarts.
There has to be some way to stop this system notification. It was blocked for a long time. I don't know what has changed.
Help.
Click to expand...
Click to collapse
GravityBox has nothing to do with OTA services.
If the services/receivers are disabled properly, then there is NO WAY the OTA can be downloaded. Try disabling all of them using adb as mentioned previously. All of them are solely for the purpose for OTA so you will not break anything other than OTA by disabling them (that's also why there are individual services/receivers for each function..).
Also, blocking the notification is a bad idea. It still downloads (and also wakelocks). The OTA notification also isn't provided by Play Services, it's provided by the system itself.
Thank you again.
I will connect to my laptop and go the adb way you recommend.
Feedback:
Thank you Elluel. I followed your adb instructions, rebooted, and the system update notice disappeared. Thank you!
On a separate but related issue, on several of the adb commands, the response (before disabling the receiver) included something about "... waste of memory...... security risk..... please fix...."
Any idea what that might be about?
Anderson2 said:
Feedback:
Thank you Elluel. I followed your adb instructions, rebooted, and the system update notice disappeared. Thank you!
On a separate but related issue, on several of the adb commands, the response (before disabling the receiver) included something about "... waste of memory...... security risk..... please fix...."
Any idea what that might be about?
Click to expand...
Click to collapse
Never seen that before, don't know. Should be fine anyways.
Thank you again.

[Uninstall any apps] via adb [No ROOT]

How to uninstall system app or any app without having rooted?
1) Connect your phone via USB
2) Turn android debugging on
3) Go to android shell using $ adb shell
how to remove apps now
use this command now
pm uninstall -k --user 0 com.my.demo.app
comment below
to undo the changes:
adb shell cmd package install-existing com.my.demo.app
Would I still be able to update my software without issues in my Galaxy s9 for instance after removing bloat via this method?? If yes, would it bring the apps back??
dannyella said:
Would I still be able to update my software without issues in my Galaxy s9 for instance after removing bloat via this method?? If yes, would it bring the apps back??
Click to expand...
Click to collapse
Yes you will be able to to update your device without any issue.
No your app will not be back unless the app's apk is present in the update package.
Hi,
Do you have any ideea how to re-install an app uninstalled by miskate?
Thanks
This pm uninstall -k --user 0 com.my.demo.app only removes the app from user 0 ( current user )
Sooo to reinstall and app, you will need to factory default your device
Please Help~
I've done the steps on your video https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/ .... but the result is always "failure" not found ... can you please help me. Thank You.
This might be silly, but how do we get the app's identifier, like com.demo.my.app? Settings > Apps does not seem to have that info.
akki-k said:
This might be silly, but how do we get the app's identifier, like com.demo.my.app? Settings > Apps does not seem to have that info.
Click to expand...
Click to collapse
Code:
adb shell pm list packages | grep <search-term>
Example: You can type "chrome" instead of <search-term> to find the Chrome browser.
For graphical solution you can install the app named "Package Name Viewer 2.0" by csing. :good:
edit: You can see the article Debloat: https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
dannyella said:
Would I still be able to update my software without issues in my Galaxy s9 for instance after removing bloat via this method?? If yes, would it bring the apps back??
Click to expand...
Click to collapse
Yes
adipaval said:
Hi,
Do you have any ideea how to re-install an app uninstalled by miskate?
Thanks
Click to expand...
Click to collapse
I´m still looking for a solution.
Already tried pm enable or pm install -r with the apk. no success. any clue?
When after enabling Android debugging I am giving the command adb she'll from terminal in my lunix laptop I am getting an output "nicklaus_f:/
What is this?
But when I am giving the command ' adb shell pm list packages' the output I am getting is
/System/bin/sh: adb: not found
127!nicklaus_f:/$
Please advise what to do
gsantra said:
When after enabling Android debugging I am giving the command adb she'll from terminal in my lunix laptop I am getting an output "nicklaus_f:/
What is this?
But when I am giving the command ' adb shell pm list packages' the output I am getting is
/System/bin/sh: adb: not found
127!nicklaus_f:/$
Please advise what to do
Click to expand...
Click to collapse
Try reinstalling adb drivers for your device.
---------- Post added at 02:35 AM ---------- Previous post was at 02:34 AM ----------
Would give this a try as soon as i get my hands on a proper pc. The korean apps on my phone are very annoying.
Is there a command to enable apps without factory reset?
gsantra said:
When after enabling Android debugging I am giving the command adb she'll from terminal in my lunix laptop I am getting an output "nicklaus_f:/
What is this?
But when I am giving the command ' adb shell pm list packages' the output I am getting is
/System/bin/sh: adb: not found
127!nicklaus_f:/$
Please advise what to do
Click to expand...
Click to collapse
I would say
1. Download from android themselves:
developer.android.com/studio/releases/platform-tools
2. Extract the .zip file somewhere on your computer and add that folder to your windows PATH variable so you can reference it from anywhere using command prompt (cmd.exe).
kdm6389 said:
How to uninstall system app or any app without having rooted?
1) Connect your phone via USB
2) Turn android debugging on
3) Go to android shell using $ adb shell
how to remove apps now
use this command now
pm uninstall -k --user 0 com.my.demo.app
comment below
Click to expand...
Click to collapse
Any way to install user app as system apps from adb ?
[GS] said:
Any way to install user app as system apps from adb ?
Click to expand...
Click to collapse
There technically is a way. Just not as "graceful"
android.stackexchange.com/questions/27/how-do-i-properly-install-a-system-app-given-its-apk
adipaval said:
Hi,
Do you have any ideea how to re-install an app uninstalled by miskate?
Thanks
Click to expand...
Click to collapse
pm default-state app.name
Im trying to unistall a system app and after running pm uninstall -k --user 0 'com.icoolme.android.weather' nothing happens.
There no sucess or failure message.
Anyone knows why that happens and what can I do to fix it?
https://forum.xda-developers.com/picture.php?albumid=15288&pictureid=58390
I had to do it twice, because I didn't turn off auto update in Galaxy Apps and didn't uninstall Secure Folder before I started. I'm not 100% of the connection, but somehow Bixby came back, but I uninstalled Secure Folder, turned off Auto Update, and it worked great. They got root for my device like two days later, so kind of pointless, but it helped a lot! Thanks! :good:
please I need help how can I enable an application that I uninstall by mistake ('com.google.android.apps.photos'), without factory reset, besides which is the command that I should use to disable an application?
nota: the options that are in previous comments do not work

Is there a way to re-install an Android system app uninstalled using adb?

I was trying to install an app on my Samsung Galaxy A9 Pro with Android Oreo 8.0 but couldn't because there was some package name conflict. So I decided to uninstall the conflicting package using adb. The package was com.samsung.android.app.clockpack. I searched on Google about this package and the only information I got was that it was some clock like app whose APKs were available online. So I thought uninstalling it would be safe. But it turned out to be anything but safe.
The app which I was trying to install still had that conflicting package name problem and after uninstalling the package I realized that it was, in fact, the app required to show the clock on the lock screen. Initially I had no problem after uninstalling that package. The default clock faces were still present and it seemed as if nothing had changed. Only after a few minutes did I notice that the clock had disappeared from my phone's lock screen. I tried restarting the phone but to no avail.
I had taken the help of this XDA tutorial to uninstall that package. And I had read the warning about having to factory reset the phone to recover the uninstalled system apps. I was ready to face the situation if it arises.
In the same tutorial I also noticed this sentence:
This is a good thing, however, as it means that these applications truly aren’t being uninstalled from the device, they are just being uninstalled for the current user
Click to expand...
Click to collapse
So I want to know, if the app isn't truly uninstalled from my phone, is it possible to re-install it somehow? If it's possible then it'll be greatly helpful as it will save me from wasting my time to factor reset my phone and re-install all of my apps. Thank you.
Deepak_HK said:
I was trying to install an app on my Samsung Galaxy A9 Pro with Android Oreo 8.0 but couldn't because there was some package name conflict. So I decided to uninstall the conflicting package using adb. The package was com.samsung.android.app.clockpack. I searched on Google about this package and the only information I got was that it was some clock like app whose APKs were available online. So I thought uninstalling it would be safe. But it turned out to be anything but safe.
The app which I was trying to install still had that conflicting package name problem and after uninstalling the package I realized that it was, in fact, the app required to show the clock on the lock screen. Initially I had no problem after uninstalling that package. The default clock faces were still present and it seemed as if nothing had changed. Only after a few minutes did I notice that the clock had disappeared from my phone's lock screen. I tried restarting the phone but to no avail.
I had taken the help of this XDA tutorial to uninstall that package. And I had read the warning about having to factory reset the phone to recover the uninstalled system apps. I was ready to face the situation if it arises.
In the same tutorial I also noticed this sentence:
So I want to know, if the app isn't truly uninstalled from my phone, is it possible to re-install it somehow? If it's possible then it'll be greatly helpful as it will save me from wasting my time to factor reset my phone and re-install all of my apps. Thank you.
Click to expand...
Click to collapse
Try using the exact same command that was used to "uninstall" the app for the current user, but this time, when you type the command, change "uninstall" to "install".
“pm install -k --user 0 <name of package>”
Instead of:
“pm uninstall -k --user 0 <name of package>”
Sent from my LGL84VL using Tapatalk
Droidriven said:
Try using the exact same command that was used to "uninstall" the app for the current user, but this time, when you type the command, change "uninstall" to "install".
“pm install -k --user 0 <name of package>”
Instead of:
“pm uninstall -k --user 0 <name of package>”
Click to expand...
Click to collapse
I had tried doing that but it hadn't worked. Anyway, I have factory reset my phone. Thanks.

[ROOT] [Discussion] Safe-to-remove System Bloatware/Googleware

Since there's no thread related to safe-to-remove system bloatware/googleware, I decided to make one.
I'm counting on your help to expand this list.
Tested
Chrome
Alternatives: Firefox, Brave, Waterfox.
Or you could simply uninstall it as a system APP and reinstall it as a user APP. There's definitely no need for Chrome to be a system APP.
Contacts
Alternatives: Simple Contacts Pro, fully open-source (paid or free if you download it through F-Droid, but won't get advanced customizations), Contacts+.
I also advise you to remove Google Contacts as a system APP and reinstall it as an user APP if you wish to keep it, there's no reason for Google Contacts to be a system APP.
Gmail
This one actually depends on your email provider, since I don't use gmail at all, I completely uninstalled this.
Also I suggest looking at ProtonMail, it's an email provider mostly focused on user data protection (through strict Swiss data protection laws) and privacy.
Then again, if you wish to keep this APP, I suggest uninstalling it and reinstall it as an user APP.
Digital Wellbeing
If you use this functionality on settings you may want to keep it, I uninstalled it.
Also I noticed that ever since I uninstalled this APP, there's an error on logcat showing that something failed to connect to this APP. However it's just a log, despite that everything seems to be working great.
Google Files/Files Go
If you managed to upgrade from Android 8 to Android 9, you most likely kept the standard system APP "Files", however if you flashed Android 9 from scratch, the standard system APP "Files" becomes hidden, which you may unhide it using this app. (I didn't test it). You can also use FileManager by Xiaomi.
Or if you're like me and prefer open-source APPs, I installed Simple File Manager Pro, it supports root (paid or free if you download it through F-Droid, but won't get advanced customizations) or this free and simple file manager.
If you wish to keep Files Go (Google Files) you can also uninstall is as a system APP and reinstall it as an user APP.
Calendar
At this point there's not much calendar APPs out there with cloud sync support, so I managed to stick to Google Calendar, although I uninstalled it as a system APP and reinstalled it as an user APP. I know I said this countless times but I'm extremely against contributing to Google's currently huge power on user personal data, so I try to be as google-less as possible.
Lens
Don't know what this actually does, but Android 8 didn't have it and I looked it up somewhere and some people said that it was safe to remove, and so far so good.
You can read more about it here.
Google
Safe to remove, however your search box widget becomes pretty useless. I actually don't mind at all, it even switches to dark theme mode.
Action Services
From what I've read, this APP is responsible for the APP suggestions on your All-APPs menu, so you'll get some errors when uninstall this. To avoid the errors you have to deactivate APP suggestions first:
Long Press Home-Screen > Home Settings > Suggestions > Apps (Disable this)
And now you're free to uninstall this.
Photos
Definitely not keeping this one, with cloud storage and such.
Replaced with, once again, Simple Gallery Pro (paid or free if you download it through F-Droid, but won't get advanced customizations). You can also use LeafPic which is also open-source and looks great but I didn't actually test it.
Google Maps
I use this, however I uninstalled as a system APP and reinstalled as an user APP.
I'm currently slowly trying to migrate to Waze even though it was bought by Google.
YouTube
I occasionally use it, so I made it an user APP.
Probably safe-to-remove but not tested
Device Health Services
Does anyone know what this APP is responsible for?
Gboard
I don't use it but I didn't uninstall it because it may be required for first-time password input when turning on the device.
When I switch to another keyboard besides Google or SwiftKey (currently using), there's a popup saying "Note: After a reboot, this app can't start until you unlock your phone.", that's why I didn't uninstall it.
Messages
Unfortunately I don't know any good enough Messaging APP to replace Google Messages.
I know there used to be Silence, it even supported P2P encryption but I think it was discontinued. There's also Textra although not open-source.
Feedback
When trying to uninstall this system APP it's shown that it is a Key module, although I really doubt it really is.
Uncertain
com.google.android.gms.policy_sidecar_aps
What on earth is this and what does it do?
Android Setup & Device Setup
I'm assuming these are only used when configuring the device for the first time?
If you have any suggestions, useful tools or tips please drop them down below, I'll try to keep this list up-to-date along with your suggestions.
my bloatware list: (all frozen via titanium backup)
com.google.android.as (actions services)
com.android.chrome
com.google.android.apps.wellbeing
com.android.documentsui
com.google.android.apps.nbu.files
com.google.android.apps.photos
com.google.android.calculator
com.google.ar.lens
plus
gboard : safe after you've installed a new 3rd party keyboard app and enabled it.
device setup
youtube
the apps i'm using instead some of above:
browser : lightning browser
file manager : solid explorer
gallery : simple gallery pro
calculator : champcalc
youtube : youtube vanced
com.miui.spock
com.miui.bugreport
com.huaqin.factory
com.huaqin.sar
com.huaqin.diaglogger
android.autoinstalls.config.Xiaomi.daisy
com.android.egg
com.google.android.gms.policy_sidecar_aps
com.mi.setupwizardoverlay
adb shell
pm uninstall -k --user 0 package_name ***OR*** cmd appops set package_name RUN_IN_BACKGROUND ignore ***OR*** pm disable-user --user 0 package_name
I recently uninstalled those with
Code:
pm uninstall -k --user 0
:
android.telephony.overlay.cmcc
android.ui.overlay.ct
android.autoinstalls.config.Xiaomi.daisy
com.google.android.marvin.talkback
com.google.android.apps.wellbeing
com.google.android.apps.work.oobconfig
com.google.android.gms.policy_sidecar_aps
com.android.egg
com.android.backup
com.android.dreams.basic
com.android.mms.overlay.cmcc
com.android.networksettings.overlay.ct
com.android.providers.partnerbookmarks
com.android.settings.overlay.cmcc
com.android.systemui.overlay.cmcc
com.android.systemui.overlay.ct
com.android.wallpaperpicker
com.android.facelock
com.android.stk
com.android.dreams.phototable
com.mi.setupwizardoverlay
com.mi.AutoTest
com.miui.bugreport
com.miui.spock
com.huaqin.diaglogger
com.huaqin.factory
com.huaqin.sar
se.dirac.acs
com.fingerprints.sensortesttool
org.codeaurora.bluetooth
com.qualcomm.simcontacts
com.qualcomm.qti.perfdump
com.qualcomm.qti.qmmi
com.qualcomm.qti.callenhancement
com.qualcomm.qti.dynamicddsservice
com.qualcomm.embms
com.qualcomm.qti.autoregistration
com.qualcomm.qti.callfeaturessetting
com.qualcomm.qti.lpa
com.qualcomm.qti.networksetting
com.qualcomm.qti.optinoverlay
com.qualcomm.qti.qms.service.connectionsecurity
com.qualcomm.qti.qms.service.trustzoneaccess
com.qualcomm.qti.qtisystemservice
com.qualcomm.qti.simsettings
com.qualcomm.qti.uim
com.qualcomm.qti.confdialer
com.qualcomm.qti.qms.service.telemetry
com.qualcomm.qti.roamingsettings
com.qualcomm.qti.services.secureui
com.qualcomm.qti.auth.fidocryptoservice
com.qti.qualcomm.datastatusnotification
com.qti.xdivert
com.qti.dpmserviceapp
com.qti.confuridialer
com.qti.qualcomm.deviceinfo
Phone works perfectly fine after this. No issues, like nothing changed except better battery life.
And I'm thinking about those:
com.google.android.ims
com.goodix.gftest
com.fingerprints.extension.service
com.goodix.fingerprint
Has anyone tried to remove them?
---------- Post added at 05:19 PM ---------- Previous post was at 05:02 PM ----------
@lbsilva Device Health Services is battery optimisation.
One of the very few useful threads for this device. Bravo! Ideally, once there is a consensus on which packages can be removed without crippling the phone some knowledgeable person should make a script to do the job, either something to flash or a bash + adb to do it from desktop.
I found this .bat file, I think it's reusable with those above but only in Windows.
Wouldnt recommend removing anything to do with qualcomm or networking, be warned.
OP, when you say "remove", do you mean "disable so it can't run", or "completely wipe it off the phone"?
I've got a Blu Life One X3, rooted with TWRP and Magisk. What I describe below is my second attempt to debloat the phone. The first attempt, I just uninstalled unwanted apps from the current user via ADB.
Example:
adb shell pm uninstall --user 0 -k com.android.egg
I entered into TWRP Recovery Mode and deleted the /system/app and /system/priv-app directories for the apps I didn't want. Upon booting, the phone went through the boot animation and music jingle, then stopped. I left it overnight, since it was late and I wanted to see if it'd work its way to a full boot. It didn't, so I recovered with the out-of-box Nandroid backup I'd taken.
What's strange is that the phone worked fine when the very same apps were just disabled (during my first attempt), but locked up when those apps were deleted from the phone.
Is there something else I need to edit?
How to uninstall without using command line? Is there any some GUI application to uninstall this??
*By the way how to download youtube vanced, i search it in magisk download , there's nothing
bla.tiga said:
How to uninstall without using command line? Is there any some GUI application to uninstall this??
*By the way how to download youtube vanced, i search it in magisk download , there's nothing
Click to expand...
Click to collapse
If you are rooted, download titanium backup from playstore and have fun.
For yt Vanced, try clearing the repo cache from magisk's settings and search again. Or search the module here on XDA and add it manually.
Edit: looks like Google screwd things up and made chrome almost a dependency or it's an issue just on my device. On Oreo, Gmail stops working after chrome removal. Looks like Gmail is now dependent of chrome webview, it's crashing when using Android system webview.
Edit 2: nevermind, after updating Android system webview, Gmail app has started working again.
great thread, thanks
I found some apps/services that you've successfully disabled. Just wanna ask if, is this universal? I mean I have realme phone and planning to disable all the same apps/services which you were tried already.
So, this is a pseudo-custom rom you are after, why not use the real thing? I'm assuming this is Android 9 since 10 is a total f**k. Why not use the real thing, a custom rom? I recommend AOSiP Pizza since it's the one I've been using for a long time and it proved solid. The only thing I replaced was gallery with Simple gallery and I use MicroG for what it's worth. This removing stuff from gappsed AOSP is totally ridiculous and counter productive, you do that with Miui and such if you really care about a particular UI but not with plain Android, that's nonsense.
Found this useful tool on git last year.
It allows a lot of nice little things among which uninstall/reinstall/disable/enable system apps and services on demand without root and without passes through adb/fastboot command lines.
And it was tested with Q too.
Also feedback app was safely uninstalled.
Feel free to try it.
This is the link: https://github.com/Szaki/XiaomiADBFastbootTools
Read carefully readme.md and faq before use it.
How can I restore some critical packages under TWRP (MIUI11)? I'm testing limits of what can I delete without bricking it and reinstalling ROM every time after that is very tiresome (boot into recovery, wipe cache and data, reinstall MIUI, boot into system, remove tested apps, then restore settings and try again).
There has to be a proper way to restore some app like, for example, com.xiaomi.finddevice
KZekai said:
How can I restore some critical packages under TWRP (MIUI11)?
Click to expand...
Click to collapse
Magisk + terminal debloater.
If you break it, use TWRP to fix.
Look under /data/adb/modules/terminal_debloater.
a1291762 said:
Magisk + terminal debloater.
If you break it, use TWRP to fix.
Look under /data/adb/modules/terminal_debloater.
Click to expand...
Click to collapse
Yeah, I have debloater but I'm talking about doing it under TWRP when system isnt even loaded, debloater is a module that works in OS. In TWRP recovery your terminal is barebone core loaded by recovery itself, there is absolutely no relation to the system and apps installed, no ADB environment, no app [meta]data.
KZekai said:
Yeah, I have debloater but I'm talking about doing it under TWRP when system isnt even loaded, debloater is a module that works in OS. In TWRP recovery your terminal is barebone core loaded by recovery itself, there is absolutely no relation to the system and apps installed, no ADB environment, no app [meta]data.
Click to expand...
Click to collapse
I meant to use debloater to hide the app and you can then fix it from TWRP if it doesn't work. You could always setup the files it uses from TWRP but I guess that'd be harder to do.
I don't know how adb uninstall hides but you should be able to reverse that from TWRP too (likely removing some files).
If you mount /system just move things and move them back if it fails.
a1291762 said:
I meant to use debloater to hide the app and you can then fix it from TWRP if it doesn't work.
Click to expand...
Click to collapse
How would I fix it?
Does the "debloater" make extra unnecessary copies of APK when those already exist on system partition?
KZekai said:
How would I fix it?
Does the "debloater" make extra unnecessary copies of APK when those already exist on system partition?
Click to expand...
Click to collapse
No, it hides them systemlessly, using files in /data/adb/modules/terminal_debloater/system.
---------- Post added at 09:03 PM ---------- Previous post was at 08:37 PM ----------
Based on this: https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
I tried this:
pm uninstall -k --user 0 com.android.carrierdefaultapp
and to restore:
cmd package install-existing com.android.carrierdefaultapp
What I found was that with the app installed, I had some empty directories under /data/misc/profiles/ref/com.android.carrierdefaultapp and /data/misc/profiles/cur/0/com.android.carrierdefaultapp. When I removed the app, those directories were not present.
It's just a guess... but you could possibly save the contents of /data/misc/profiles (eg. tar cf /sdcard/profiles.tar /data/misc/profiles), pm uninstall your app and if it fails to boot, untar that from TWRP? Maybe test that theory with an app you know won't hurt before you do it for real
Note that neither terminal debloater (which uses mount tricks to hide system apps) or pmuninstall will actually remove files from /system. If you actually remove files from /system then the only way to get them back is to put them back.

Won't stop trying to update

Hello,
I've got an XT1955-5 that I rooted using TWRP and Magisk. This morning it attempted to do a system update and failed (naturally), but it won't stop trying.
Every few minutes or so it tries again and I cannot make it stop. I have disabled automatic system updates in the developer options, but that doesn't stop it.
Maybe try using ./adb shell pm disable-user --user 0 com.motorola.ccc.ota, which disables "Moto update services"
I never really got around to seeing if it worked, but it's probably worth a try

Categories

Resources