Question How to actually delete gmail app from system? - OnePlus 9 Pro

I'm looking for a way to actually delete/uninstall gmail from system.
I know you can do a command in adb to uninstall, but that just disables the app and leaves the files in the partition.
Looking for a way to actually delete the file, and when i install it through Play Store, it just installs like a regular app, not as system app.
I've been looking through files with MiX explorer. But I'm scared if i delete the file i find, that it bricks my phone after reboot.

it shouldn't
root and use system app remover

I'm rooted and use debloater module in magisk to delete system apps. I like that I can save the list of apps I want to delete and just flash the module after each update to repeat the process.
Deleting an app folder shouldn't break anything, but if you ever have concerns just rename the folder instead of deleting. That way the system can't find it, but it's still there if you need it back.

Make sure usb debugging is active on phone in developer options, download fastboot tools connect phone to computer and select always allow usb debugging from this computer on text pop up on phone.
Open cmd line in fastboot tools dir and type
adb shell pm uninstall --user 0 com.google.android.gm
Or try this
[TOOL] ADB AppControl 1.8.0 🚀 Ultimate App Manager & Debloat Tool + Tweaks
ADB AppControl 🚀 Root is not required. Works with any Android device. Can do almost everything you dreamed about with applications. ADB AppControl - the desktop program, that will allow you to easily manage applications on your android device...
forum.xda-developers.com

toolhas4degrees said:
Make sure usb debugging is active on phone in developer options, download fastboot tools connect phone to computer and select always allow usb debugging from this computer on text pop up on phone.
Open cmd line in fastboot tools dir and type
adb shell pm uninstall --user 0 com.google.android.gm
Or try this
[TOOL] ADB AppControl 1.8.0 🚀 Ultimate App Manager & Debloat Tool + Tweaks
ADB AppControl 🚀 Root is not required. Works with any Android device. Can do almost everything you dreamed about with applications. ADB AppControl - the desktop program, that will allow you to easily manage applications on your android device...
forum.xda-developers.com
Click to expand...
Click to collapse
This is the command i was talking about. It doesn't delete the apk. After i run this and reinstall the app from play store, it is back into system app.

Why are you reinstalling it if you want to delete it?
Maybe look at systemize module to move it from system to data if that's what you are trying to do

FizzyAps said:
it shouldn't
root and use system app remover
Click to expand...
Click to collapse
That doesn't work.
It is only able to delete the updates. System apk remains.
According to the app it is located here:
/product/app/Gmail2/Gmail2.apk
I dunno if i can delete it, since this phone uses A/B partitions. Usually system apps are located in a different folder.

toolhas4degrees said:
Why are you reinstalling it if you want to delete it?
Maybe look at systemize module to move it from system to data if that's what you are trying to do
Click to expand...
Click to collapse
I'm trying to delete it to see if it fixes the notifications.
This phone is hunted with push notifications not receiving at all for this app.
Hoping that this would fix it.

bokkoman said:
I'm trying to delete it to see if it fixes the notifications.
This phone is hunted with push notifications not receiving at all for this app.
Hoping that this would fix it.
Click to expand...
Click to collapse
Try a different email app hasn't been solved yet, lot of false claims around here. There is a thread on it.

toolhas4degrees said:
Try a different email app hasn't been solved yet, lot of false claims around here. There is a thread on it.
Click to expand...
Click to collapse
I've read all those. No one has tried this yet.
Hence I'm trying to delete it

bokkoman said:
I'm looking for a way to actually delete/uninstall gmail from system.
I know you can do a command in adb to uninstall, but that just disables the app and leaves the files in the partition.
Looking for a way to actually delete the file, and when i install it through Play Store, it just installs like a regular app, not as system app.
I've been looking through files with MiX explorer. But I'm scared if i delete the file i find, that it bricks my phone after reboot.
Click to expand...
Click to collapse
I use alpha backup pro to delete gmail (and many other apps), which will permanently remove a system app (need root), however, if you want to do it the safe way, use de-bloater (playstore), which removes apps via magisk, i.e systemless, so you can revert if you f something up. cheers

Titanium Backup (root) can delete, freeze, and of course, backup system and user apps. Make a backup first, and look over the list of system apps, there are a lot there which are google-related. Freezing will do the same as pm disable....... Uninstall will remove it completely. Whether your device is A/B or not will not matter.
The nice thing about TB is you can see the actual (full) filenames of the packages, and any uninstall/freezes are easily reversible. There are probably other (google) notification service-type apps which are giving you the undesired notifications,
Good luck!

All these apps can't delete the actual apk in the /products folder.
I guess I'll have to do it manually.

bokkoman said:
All these apps can't delete the actual apk in the /products folder.
I guess I'll have to do it manually.
Click to expand...
Click to collapse
Not sure what you mean. Several of these apps do exactly that.
De-bloater Pro (from playstore) deletes the apk from /product (or /vendor, etc.) and moves it to its own folder in /data/adb/modules so that you can restore it later if you so choose (or if you accidentally delete the wrong thing and bootloop).
Debloater (magisk module for terminal) does the same thing. I use it to fully remove several system apps (Netflix, YouTube, YTMusic, etc.) in order to install non-system versions.

terlynn4 said:
Not sure what you mean. Several of these apps do exactly that.
De-bloater Pro (from playstore) deletes the apk from /product (or /vendor, etc.) and moves it to its own folder in /data/adb/modules so that you can restore it later if you so choose (or if you accidentally delete the wrong thing and bootloop).
Debloater (magisk module for terminal) does the same thing. I use it to fully remove several system apps (Netflix, YouTube, YTMusic, etc.) in order to install non-system versions.
Click to expand...
Click to collapse
Well, the apps i tried all failed with an error it could not delete it.
I didn't try that one you mentioned, because you have to pay for it.
So i went and tried the debloater module, and you are right. It did delete it. Thank you!
Let's see if this makes any difference.

So far, so good.
I have been receiving notifications from Gmail since i deleted the system app and installed it from Play Store as a regular app
Let's see if this continues working.

Related

[MOD] Apps that can be deleted due root

Now that we have got root, we can delete some of the Apps that are Preinstalled.
I wanted to make a list with Files that can be deleted without causing problems.
To delete any of this Files you need root + some sort of Root Explorer or Root Manager
I tested this with both of Leshaks ways of gaining root and used Root Explorer to delete the files.
The Direction where they can be found is /system/app
First off all the Standard Apps:
Aldiko eBook -> aldiko-standard-1.2.6.1....apk
Allshare -> Dlna
BuddiesNow -> Buddiesnow.apk
Clock -> clockpackage.apk
bookstore - bookstore.apk
Daily Briefing -> Infoalarm.apk
Layer -> Layer-samsung.apk
Memo -> Memo.apk
Mini Diary -> MiniDiary.apk
Myfiles -> Myfiles.apk
Messages -> MMS.apk
Navigation -> Navigation.apk
SozialHub -> undifinedInbox.apk
uTalk -> clientUTalk-03062010.apk
VoiceRecorder-> VoiceRecorder.apk
VoceDialer-> VoiceDialer.apk
Writeandgo -> Writeandgo.apk
LiveWallpapers:
LiveWallpapers.apk
LiveWallpaperpicker.apk
MagicSmokeWallpapers.apk
TATLivewallpapersAurora.apk
TATLivewallpapersBlueSea.apk
TATLivewallpapersDandelion.apk
TATLivewallpapersOceanwave.apk
VisualizationWallpapers.apk
pre installed Tw Wallpapers:
TwWallpaperChoos.apk
TouchwizWidgets:
Days.apk
Dualclock.apk
SamsungWidget_stockclock.apk
SamsungWidget_Feedandupdate.apk
SamsungWidget_Calenderclock.apk
SamsungWidget_Weatherclock.apk
I also tried to delete the Touchwiz Launcher and Replace it with the Launcher Pro Beta and it kinda worked. But there was a bugreport that said
"android.process.acore has stopped unexpectedly. Please try again. - Force close"
*update
Greetings
I tried using root explorer, es strongs, etc... to deleted system/app applications (such as the utalk application in the F5 firmware) and it keeps coming back!
how do you successfully remove those ?
and what is the APK for bookstore ? the russian one in F5 firmware.
Archius said:
I tried using root explorer, es strongs, etc... to deleted system/app applications (such as the utalk application in the F5 firmware) and it keeps coming back!
how do you successfully remove those ?
and what is the APK for bookstore ? the russian one in F5 firmware.
Click to expand...
Click to collapse
Have you rooted youre Phone?
Here 2 more form XXJF5 \ XXJFB version
Bookstore.apk
Client_uTalk_03062010.apk
Yes I am rooted.
AG_Uni - I tried to delete client_utalk but it comes back when I refresh =(
I can access superuser fine though..
did you try to mount / as rw ?
and how did you gained root? with odin or adb
Btw:
I disabled the Tw launcher and installed Launcher Pro. Then i set Launcher Pro to default and restartet the Phone. Now Tw isnt even in the backround
I rooted using ADB
I didn't try to mount no.
thanks for your help though Jonas
Archius said:
I rooted using ADB
I didn't try to mount no.
thanks for your help though Jonas
Click to expand...
Click to collapse
no problem, i havent tried root using adb but it shouldnt make a difference.
with csc, there is a tool that opens if a app wants to use root.
i am not familiar with adb root but perhaps you have to allow the programm to use root manual...
I've just rooted my phone and it's my first android experience so can I just go ahead and delete these APKs? They will automatically disappear from my widgets/app list or do I have to perform some sort of uninstall first?
(I'm comfortable enough with su/linux commands to understand what I'm doing)
Jonas.M said:
did you try to mount / as rw ?
and how did you gained root? with odin or adb
Btw:
I disabled the Tw launcher and installed Launcher Pro. Then i set Launcher Pro to default and restartet the Phone. Now Tw isnt even in the backround
Click to expand...
Click to collapse
How did you disable it?
It is not recommended that you delete gtalkservice.apk. Even though it is primarly used for Gtalk, the market also leverages this for communication when downloading apps.
bigbuffalo said:
How did you disable it?
Click to expand...
Click to collapse
Install Launcher Pro, then push the hardware button. A Window opens where you have to choose between the two launchers. You mark use as default and pick launcher pro. If you look at your Prozess you can see that tw launcher is still running. Now you have to reboot youre phone. Afterwards it should not be running anymore.-> Disable
megakid said:
I've just rooted my phone and it's my first android experience so can I just go ahead and delete these APKs? They will automatically disappear from my widgets/app list or do I have to perform some sort of uninstall first?
(I'm comfortable enough with su/linux commands to understand what I'm doing)
Click to expand...
Click to collapse
First of all you have to install Root explorer. Then go to /system/app and simply delete the apk files that are linked to the apps you want to get loose.
But some apks like the tw launcher should not be deleted, because this still causes problems
Archius said:
Yes I am rooted.
AG_Uni - I tried to delete client_utalk but it comes back when I refresh =(
I can access superuser fine though..
Click to expand...
Click to collapse
That's strange, I used Root Explorer have moved to SD (for backup) client_uTalk without any problems, even after reboot, I don't see it any more...
what are :
- snsaccount.apk
- snsprovider.apk
has to do with the social hub AG_Uni
I am a new user and need some help.
I gained root via ADB and have access to superuser. But I am unsure how to uninstall the system apk's I have a task manager and an install app plus I looked in the applications menu and no luck...
Anyone found out what are these for and if they are safe to remove?
1) SNS
2) Samsung Account
3) Factory test
4) Ics service
5) Device management
6) Badge something
7) Log provider'
wanting to remove all these for the longest time but dunno what they are for
raspdeep said:
Anyone found out what are these for and if they are safe to remove?
1) SNS
2) Samsung Account
3) Factory test
4) Ics service
5) Device management
6) Badge something
7) Log provider'
wanting to remove all these for the longest time but dunno what they are for
Click to expand...
Click to collapse
SNS : seems to be a social hub (thanks to Archius), seems to be safe to remove
Factory Test, Log provider : Have read somewhere that it was safe, but not sure (didn't removed it my self)
Device Management: not safe!
Samsung Account & "Badge something" have no idea...
dan 6a said:
I am a new user and need some help.
I gained root via ADB and have access to superuser. But I am unsure how to uninstall the system apk's I have a task manager and an install app plus I looked in the applications menu and no luck...
Click to expand...
Click to collapse
You can uninstall system apps using ADB or use app on the device something like Root Explorer or root manager...
with root explorer you can browse to /system/app and delete (or move to sd for backup) .apk that you want to uninstall.
AG_Uni said:
SNS : seems to be a social hub (thanks to Archius), seems to be safe to remove
Factory Test, Log provider : Have read somewhere that it was safe, but not sure (didn't removed it my self)
Device Management: not safe!
Samsung Account & "Badge something" have no idea...
Click to expand...
Click to collapse
UnifiedInbox is Social hub, not SNS.. if you removed SNSProvider/SNSAccount, Facebook Samsung app will break (can't login) and I'm not sure if that's applicable for standard Facebook app or not.
zenkinz said:
UnifiedInbox is Social hub, not SNS.. if you removed SNSProvider/SNSAccount, Facebook Samsung app will break (can't login) and I'm not sure if that's applicable for standard Facebook app or not.
Click to expand...
Click to collapse
Didnt noticed because Facebook S wasnt installed...
I'll edit

How do I remove internal apps thru update.zip

I heard some people can remove internal apps thru update.zip , to reclaim internal storage space.
For example, the internal google maps still exist even though newer version of google maps is updated from market. it is wasting of space.
Either do it using adb (check other thread ive posted commands)
Most prolly if ur upgrading through market n system version exists then u can simply delete the apk/odex
Or
Search for Systemapp remover on market.
Daneshm90 said:
Either do it using adb (check other thread ive posted commands)
Most prolly if ur upgrading through market n system version exists then u can simply delete the apk/odex
Or
Search for Systemapp remover on market.
Click to expand...
Click to collapse
one more question, it is required a rooted device to use adb commands to remove internal/system/built-in apps ?
adrianmak said:
one more question, it is required a rooted device to use adb commands to remove internal/system/built-in apps ?
Click to expand...
Click to collapse
Yea u need root, as u have to delete the apk/odex before running "pm uninstall"
Edit : Well i suppose if u have a testkey accepting recovery like ours, u could technically delete a file on /system using a update.zip
Should work, haven't tried it though. Also note this : deleting an apk is not equivalent to uninstalling it
Apk exists in several places to be confirmed as installed (packages.xml,dalvik-cache,data/system,.odex)
In order to properly delete a system app, u must delete its apk/odex followed by running the uninstall command on its package name.
You can put a script in update.zip that just executes with root privileges.
Rom makers use this method, however they usually format the system partition then start writing to it.

Removing stock apps from JPK

How can I remove some of the stock apps from JPK, SGStools seems to be able to remove the bulk of them but apps like latitude,places,navigation,maps,voice search and ect are still left over.. is this possible to remove ?
Either do it manually
rm /system/app/name.apk
rm /system/app/name.odex
pm uninstall <package name>
or
Link
EarlZ said:
How can I remove some of the stock apps from JPK, SGStools seems to be able to remove the bulk of them but apps like latitude,places,navigation,maps,voice search and ect are still left over.. is this possible to remove ?
Click to expand...
Click to collapse
Try root explorer (new version, just out on market). And there is topic about removing stuff, Im sure it describes other options.
Here is the link for the apps you can remove: http://forum.xda-developers.com/showthread.php?t=712546
As dupel has said, download root explorer from the market, it's a great app for rooted users.
Daneshm90 said:
Either do it manually
rm /system/app/name.apk
rm /system/app/name.odex
pm uninstall <package name>
or
Link
Click to expand...
Click to collapse
Why do you need the third line?
itaykoren said:
Why do you need the third line?
Click to expand...
Click to collapse
It uninstalls the package and removes traces of the app from your phone.
So if u just delete the apk/odex, ur app will still exist in /data/data and packages.xml and its dex will probably still exist as well in dalvik-cache.
In windows terms, its like deleting the program from C:\Program Files vs uninstalling it. That example will either make it clear or confuse u even more
Edit : That is why i wrote that app, doing it manually everytime u flashed a rom is very time consuming lol (im referring to my htc magic where i'd flash cm nightly's everyday )
Thanks for the quick reply.
Does that also apply when unrooting? (when I unrooted, I deleted the superuser.apk, and don't recall I uninstalled any package).
In addition, how do I know the name of the package?
Is it always identical to the .apk?
And a general question: Isn't it more logical to do the third line first, then the other two? Does it matter?
itaykoren said:
Thanks for the quick reply.
Does that also apply when unrooting? (when I unrooted, I deleted the superuser.apk, and don't recall I uninstalled any package).
In addition, how do I know the name of the package?
Is it always identical to the .apk?
And a general question: Isn't it more logical to do the third line first, then the other two? Does it matter?
Click to expand...
Click to collapse
The apk must be accessible (permission wise) in order to run the uninstall command and getting a "successful" in return. When u do so on a system app, it cannot delete the apk hence it returns a "unsuccessful". Hence u need to delete the apk/odex first, then run that command in order to get a "success" message.
The name of the package can be found in 2 ways :
Look inside the /data/data folder for folder names that resonate with that of the apk or u can make out which package name it is (sometimes not so obvious).
Open the apk, look inside the manifest for the package name or just look at the folder structure.
Behind the scenes thats what my app does, goes inside the apk, looks for the package name, hence when u tap on the item, it deletes the apk and presents you with the uninstall dialog where you uninstall the app like a regular app.
Thanks again for your swift reply.
This app of yours sounds interesting...
Tell me, if I don't do the third line, or I do it but I do not remove all the relevant packages (if there may be more than one) then will the icon of the app still be visible? Will it FC when I try to open it? Or will the icon not appear?
itaykoren said:
Thanks again for your swift reply.
This app of yours sounds interesting...
Tell me, if I don't do the third line, or I do it but I do not remove all the relevant packages (if there may be more than one) then will the icon of the app still be visible? Will it FC when I try to open it? Or will the icon not appear?
Click to expand...
Click to collapse
No it won't show up, but future revisions might cause trouble (sometimes)
You can always go through ur /data/data folder and find a folder name that resonates that of an apk u deleted and then run the pm uninstall command on it.

[Q] How do I uninstall google plus? (or other google apps I don't need?)

Hi,
I'm trying to remove google plus as I don't use it, but when I try to uninstall it in settings it only allows me to uninstall updates not the app ??
I'm running AOKP milestone 2
Thanks
DC
Use root explorer to delete or rename the apk, in system/app
jerrycycle said:
Use root explorer to delete or rename the apk, in system/app
Click to expand...
Click to collapse
Or titanium backup to freeze the app or just uninstall it
Sent from my Galaxy Nexus using xda premium
Removing the stock app will cause the Gallery app to crash as it's linked, just so you know
thanks for replies. The reason i wanted to uninstall was because i kept seeing Google+ in my running/cached apps but everytime i stopped it just restarted again sometime later
In the end i deleted the apk from /system/app. But this did not remove the app from the app drawer.
i then deleted the apk from /data/app too and rebooted and that removed it for me. I checked Gallery too and that still seems to work ok, however it did have to sync picasa again
i also read about another step to uninstall, something along the lines of running the terminal command "pm uninstall com.google.android.apps.plus" but that gave me a segmentation error, but it doesnt seem to have affected anything, i no longer see google+ in the running/cached apps
Wish i had known about titanium backup first. I went in and uninstalled Google Wallet too from there and everything seems fine! much easier...
cheers!
Hi Buddy,
Easiest and best way to be sure app has completely gone is to remove it via adb.
Open command line and enter the following commands then reboot:
Code:
adb remount
adb shell rm /system/app/example.apk
Be aware that these commands are case sensitive, if you need to see the correct names for the apps in your /system/app/ folder issue the following command and they will be listed for you:
Code:
adb ls /system/app/
Hope this helps buddy!

Question Unable to convert any app into system app (Rooted)

So I am rooted, got android lost installed, the app that offers some useful features in case your phone falls into wrong hands. However I've been struggling to convert the app onto a system app in order to prevent it being wiped out in case the unfriendly fellow performs a system wipe.
All attempts to convert this app and any other app into system app fails with error message 'no space on system storage' I've tried this using apps2sd, link2sd, root essentials and all failed annoyingly.
Is there any specific way to get this done on Android 11 on the OnePlus 9 series. I've had no issues doing this on my 7pro, 6T and OnePlus 8.
The op9 have dynamic partition with a where so far (system, vendor, system-ext) are write-protected. if you want to install an app as a system app you have to do it with magisk modul app systemizer and a therminal
That's extremely helpful. But after installing the module. Can you help with any specific method making an app a system app? I am kinda stuck on what to do after installing the module. Thanks a million.
Steps Parku said:
That's extremely helpful. But after installing the module. Can you help with any specific method making an app a system app? I am kinda stuck on what to do after installing the module. Thanks a million.
Click to expand...
Click to collapse
Download terminal emulator from store.
Open terminal.
Type su
Type systemize
Select app you want then select app or private app dir to move it to
Thanks a million bud. I got everything now. However I still couldn't systemize the app I wanted. The current version 17.5, is it compatible with Android 11?
toolhas4degrees said:
Download terminal emulator from store.
Open terminal.
Type su
Type systemize
Select app you want then select app or private app dir to move it to
Click to expand...
Click to collapse
Steps Parku said:
Thanks a million bud. I got everything now. However I still couldn't systemize the app I wanted. The current version 17.5, is it compatible with Android 11?
Click to expand...
Click to collapse
did this work.? with module and terminal, no option allows to make app system. nor does files show any 3rd party app in data...
Steps Parku said:
So I am rooted, got android lost installed, the app that offers some useful features in case your phone falls into wrong hands. However I've been struggling to convert the app onto a system app in order to prevent it being wiped out in case the unfriendly fellow performs a system wipe.
All attempts to convert this app and any other app into system app fails with error message 'no space on system storage' I've tried this using apps2sd, link2sd, root essentials and all failed annoyingly.
Is there any specific way to get this done on Android 11 on the OnePlus 9 series. I've had no issues doing this on my 7pro, 6T and OnePlus 8.
Click to expand...
Click to collapse
Here's what happened. The Magisk module Systemize lost support from the original dev. You can no longer on Android 11 and up select the app from the list(because it doesn't list of does list but is random characters instead of names). HOWEVER, you can download the app APK from APKmirror.com or other sites, find the file path and copy it e.g. /sdcard/download/yourapp.apk go to Systemize in terminal by opening terminal and typing
Su
Systemize
(Select option 3) 3 - Systemize given apk
Paste the file path of the downloaded apk
Choose if you want system or priv-system
Voila
Steps Parku said:
So I am rooted, got android lost installed, the app that offers some useful features in case your phone falls into wrong hands. However I've been struggling to convert the app onto a system app in order to prevent it being wiped out in case the unfriendly fellow performs a system wipe.
All attempts to convert this app and any other app into system app fails with error message 'no space on system storage' I've tried this using apps2sd, link2sd, root essentials and all failed annoyingly.
Is there any specific way to get this done on Android 11 on the OnePlus 9 series. I've had no issues doing this on my 7pro, 6T and OnePlus 8.
Click to expand...
Click to collapse
-install the app the normal way
-copy it's folder from data/app to somewhere you remember
-rename it to something clear with no space like "lost" (also rename the apk inside)
-uninstall the app
-open Mixplorer or any file explorer and give it root access
-go to system/app and paste that folder and give it 755 permission
-reboot
if still not work use the recovery file manager to paste on system/app (after mounting system)
loopypalm said:
-install the app the normal way
-copy it's folder from data/app
-rename it to something clear with no space like "lost" also rename the apk inside
-uninstall the app
-open Mixplorer or any file explorer and give it root access
-go to system/app and paste that folder and give it 755 permission
-reboot
if still not work use the recovery file manager to paste on system/app (after mounting system)
Click to expand...
Click to collapse
System folder is read only. You use the Magisk module to Systemize. See my above post

Categories

Resources