Settings package crashes after uninstalling bloatware - Sony Xperia XZ1 Compact Questions & Answers

Hello wonderful people. I am in quite the pickle and I hope that you can offer some help.
I have been uninstalling bloatware on my brand new phone that arrived today, using the command 'adb uninstall --user 0 <package name>'. Here is a list of the packages I uninstalled:
Code:
com.amazon.mShop.android.shopping
com.s.antivirus
com.facebook.services
com.android.chrome
com.spotify.music
com.facebook.katana
com.sonymobile.xperialounge.services
com.android.providers.userdictionary
com.facebook.appmanager
com.kobobooks.android
com.amazon.kindle
com.facebook.system
com.sonymobile.music.youtubeplugin
com.sonymobile.email.res.overlay_305
com.sonymobile.moviecreator
com.sonymobile.music.youtubekaraokeplugin
com.sonymobile.entrance
com.sonymobile.email
com.sonymobile.sketch
com.sonyericsson.music
com.sonymobile.xperiaweather
com.sonymobile.moviecreator.rmm
com.sonymobile.advancedlogging
com.sonymobile.music.wikipediaplugin
com.sonymobile.music.googlelyricsplugin
com.sonymobile.support
com.sonyericsson.trackid.res.overlay_305
com.sonyericsson.textinput.chinese
com.sonyericsson.album
com.sonyericsson.music
com.sony.tvsideview.videoph
com.sonymobile.assist
com.sonyericsson.xhs
com.google.android.apps.docs
com.google.android.videos
Now the settings app crashes when it is opened. The phone is encrypted by default. I cannot do a factory reset in the settings app, and fastboot won't touch the encrypted partitions. There is no recovery partition.
I reinstalled the last few packages using APKs from the web. I used the command 'adb install -r <package name>'. ADB said this was successful, but the apps cannot be launched and their icons do not show up on the phone. Settings still crashes.
Please help me out. Any help would be appreciated.
Many thanks

Have you tried performing a factory reset by logging into your google account on the web and using Android Device Manager's erase data function?

pbarrette said:
Have you tried performing a factory reset by logging into your google account on the web and using Android Device Manager's erase data function?
Click to expand...
Click to collapse
Good suggestion. Unfortunately, Find My Device is turned off. I cannot turn it on because that would require the settings app. Any other ideas?

Pickled Vinegar said:
Good suggestion. Unfortunately, Find My Device is turned off. I cannot turn it on because that would require the settings app. Any other ideas?
Click to expand...
Click to collapse
1] Are you sure it's off? Mine was on by default, I think. At least, it's on and I don't remember enabling it.
2] Do a clean re-flash using either Xperia Companion or XperiFirm+newflasher (with all .ta files).
A clean reflash with wipe should do it.
With XC, you should even be able to do a backup before you flash.

pbarrette said:
1] Are you sure it's off? Mine was on by default, I think. At least, it's on and I don't remember enabling it.
2] Do a clean re-flash using either Xperia Companion or XperiFirm+newflasher (with all .ta files).
A clean reflash with wipe should do it.
With XC, you should even be able to do a backup before you flash.
Click to expand...
Click to collapse
Thank you. Step 2 solved the problem! I used the 'Software repair' option in Xperia Companion. It wiped the user data and did a factory reset.

I feel like com.sonymobile.support is the source of your issues.
The support thing is the last item of the settings app.
It being gone must have made settings unhappy.
Plus, why would you want to get rid of the support app? Isn't it in charge of OTA updates?

I just came across this thread after Googling a similar issue. On my Note 8 I removed the Facebook packages and now have bootloops and am struggling to get back into the phone.

Related

Need Help with my note 8 Bootloop caused by disabled Packages

Hello Guys...
I Own An Exynos version of Sm-N950F with Latest Oreo Stock firmware version.my USB debugging is enable but OEM unlock button in development menu is not Active.
recently I have installed Package Disabler Pro (Samsung version) and Disabled some bloatware packages to save my battery. Now when I rebooted my phone it will be reset as soon as it shows Lock Screen.
I have retained the List of Disabled Packages with "Adb shell pm list -d" command"
Here is the list of Disabled packages:
Code:
package:com.mobeam.barcodeService
package:com.monotype.android.font.rosemary
package:com.samsung.android.app.ledcoverdream
package:com.sec.android.widgetapp.samsungapps
package:com.google.android.youtube
package:com.samsung.android.themestore
package:com.sec.android.app.chromecustomizations
package:com.samsung.android.app.aodservice
package:com.samsung.android.app.cocktailbarservice
package:com.samsung.svoice.sync
package:com.google.android.googlequicksearchbox
package:com.samsung.android.service.airviewdictionary
package:com.google.android.onetimeinitializer
package:com.google.android.ext.shared
package:com.android.wallpapercropper
package:com.samsung.android.app.withtv
package:com.samsung.android.smartmirroring
package:org.simalliance.openmobileapi.service
package:com.samsung.android.easysetup
package:com.android.externalstorage
package:com.sec.android.easyonehand
package:com.sec.factory
package:com.android.companiondevicemanager
package:com.samsung.android.rubin.app
package:com.diotek.sec.lookup.dictionary
package:com.sec.android.cover.ledcover
package:com.sec.android.easyMover.Agent
package:com.samsung.faceservice
package:com.sec.android.app.voicenote
package:com.monotype.android.font.foundation
package:com.sec.android.widgetapp.easymodecontactswidget
package:com.sec.android.app.factorykeystring
package:com.sec.android.app.samsungapps
package:com.samsung.android.app.camera.sticker.facear.preload
package:com.sec.android.app.billing
package:com.sec.epdgtestapp
package:com.samsung.android.game.gamehome
package:com.sec.android.app.desktoplauncher
package:com.samsung.android.widgetapp.yahooedge.finance
package:com.sec.android.daemonapp
package:com.samsung.daydream.customization
package:com.google.ar.core
package:com.sec.ims
package:com.android.vending
package:com.dsi.ant.service.socket
package:com.sec.android.AutoPreconfig
package:com.microsoft.skydrive
package:com.samsung.android.securitylogagent
package:com.samsung.android.knox.containeragent
package:com.samsung.android.app.assistantmenu
package:com.samsung.SMT
package:com.sec.android.ofviewer
package:com.samsung.android.drivelink.stub
package:android
package:com.samsung.android.sm.devicesecurity
package:com.dsi.ant.sample.acquirechannels
package:com.sec.android.app.ocrservice
package:com.samsung.android.smartface
package:com.android.egg
package:com.samsung.android.widgetapp.yahooedge.sport
package:com.samsung.android.smartfitting
package:com.sec.android.app.SecSetupWizard
package:com.samsung.android.bixby.agent
package:com.sec.bcservice
package:com.sec.android.uibcvirtualsoftkey
package:com.google.android.setupwizard
package:com.samsung.android.sdk.professionalaudio.utility.jammonitor
package:com.sec.android.app.automotive.carmoderemote
package:com.sec.imsservice
package:com.android.sharedstoragebackup
package:com.google.android.music
package:com.android.printspooler
package:com.android.hotwordenrollment.okgoogle
package:com.samsung.android.hmt.vrsvc
package:com.samsung.android.bixby.es.globalaction
package:com.samsung.android.app.talkback
package:com.android.bips
package:com.android.stk2
package:com.samsung.android.game.gametools
package:com.samsung.android.app.simplesharing
package:com.samsung.android.service.peoplestripe
package:com.sec.smartcard.manager
package:com.samsung.android.da.daagent
package:com.samsung.android.app.reminder
package:com.samsung.android.timezone.autoupdate_O
package:com.samsung.android.app.smartcapture
package:com.sec.android.desktopmode.uiservice
package:com.sec.enterprise.mdm.vpn
package:com.dsi.ant.plugins.antplus
package:com.samsung.advp.imssettings
package:com.samsung.android.app.advsounddetector
package:com.google.android.webview
package:com.samsung.android.app.mirrorlink
package:com.samsung.android.app.readingglass
package:com.google.android.tts
package:com.google.android.partnersetup
package:com.samsung.android.spdfnote
package:com.trustonic.tuiservice
package:com.sec.spp.push
package:com.dsi.ant.server
package:com.samsung.android.allshare.service.fileshare
package:com.sec.android.mimage.photoretouching
package:com.sec.android.app.launches
package:com.sec.android.automotive.drivelink
package:com.sec.android.app.apex
package:flipboard.boxer.app
package:com.google.android.feedback
package:com.android.managedprovisioning
package:com.samsung.visionprovider
package:com.monotype.android.font.chococooky
package:com.android.dreams.phototable
package:com.samsung.android.app.camera.sticker.facear3d.preload
package:com.samsung.android.bixbyvision.framework
package:com.sec.android.service.health
package:com.samsung.safetyinformation
package:com.samsung.app.highlightplayer
package:com.samsung.enhanceservice
package:com.android.providers.partnerbookmarks
package:com.sem.factoryapp
package:com.samsung.android.keyguardwallpaperupdator
package:com.android.wallpaper.livepicker
package:com.samsung.android.beaconmanager
package:com.sec.enterprise.mdm.services.simpin
package:com.android.apps.tag
package:com.sec.android.app.quicktool
package:com.samsung.android.mdm
package:com.sec.android.app.shealth
package:com.samsung.android.bixby.wakeup
package:com.google.android.backuptransport
package:com.samsung.android.bixby.plmsync
package:com.samsung.android.scloud
package:com.samsung.android.spayfw
package:com.samsung.android.svoice
package:com.android.bookmarkprovider
package:com.linkedin.android
package:com.samsung.android.visioncloudagent
package:com.samsung.android.app.spage
package:com.sec.android.emergencylauncher
package:com.samsung.android.bbc.bbcagent
package:com.samsung.android.visionintelligence
package:com.sec.android.splitsound
package:com.wssnps
package:com.samsung.android.app.watchmanagerstub
package:com.policydm
package:com.samsung.android.mateagent
package:com.samsung.android.networkdiagnostic
package:com.enhance.gameservice
package:com.samsung.android.bixby.voiceinput
package:com.samsung.dcmservice
package:com.google.vr.vrcore
package:com.sec.enterprise.knox.cloudmdm.smdms
package:com.samsung.android.app.camera.sticker.stamp.preload
package:com.android.emergency
package:com.android.location.fused
package:com.samsung.android.app.appsedge
package:com.sec.epdg
package:com.monotype.android.font.cooljazz
package:com.samsung.systemui.bixby
package:com.samsung.android.app.clockface
package:com.samsung.aasaservice
package:com.samsung.android.service.pentastic
package:com.samsung.android.allshare.service.mediashare
package:com.google.android.play.games
package:com.samsung.android.fingerprint.service
package:com.samsung.android.app.clipboardedge
package:com.sec.android.app.magnifier
package:com.sec.android.widgetapp.webmanual
package:com.samsung.upsmtheme
package:com.samsung.android.coreapps
package:com.samsung.android.bio.face.service
package:com.samsung.android.bixby.agent.dummy
I have used pm commands for enabling these packages one by one like "adb shell pm default-state --user 11 com.sec.android.daemonapp" (my user is 11)
or "adb shell pm enable --user 11 com.samsung.android.bio.face.service" or some other but every time I will get
Code:
C:\Users\Ali Allameh\AppData\Local\Android\Sdk\platform-tools>adb shell pm default-state --user 11 com.samsung.android.themestore
Package com.samsung.android.themestore new state: disabled
I don't know why the New State won't Change.
I'm willing to do ANYTHING just to avoid any data erase and backup my files and photos and videos on my device. even if i have to trip my knox for rooting or installing custom kernel/Recovery.
Please Help me I just need to access my files and stuff on my phone (i have also files on Secure folder too).
p.s: I have read about flashing Home_csc using Odin and I have the latest firmware files too but not sure what is my current csc to avoid Data Erase.
I am not expert or anything. But if you find no answer and No one is able to help you and the only option you have is to lose all data to make the phone work(by reflashing the stock rom), then i would say just download a latest firmware for your model for a country where you bought the phone. and flash it with "HOME CSC" file. And with that i wish you good luck.
i know this post might make you annoy like i shouldn't have posted. and i searched and found nothing if flashing different CSC , format the phone or not as HOME CSC does not format the phone.
if you have time, can you look at this post? someone pointed it to someone who wanted to change csc without wiping data and without rooting device.
https://forum.xda-developers.com/galaxy-s7/how-to/official-stock-firmware-update-odin-t3369431
Alivevil said:
Hello Guys...
I Own An Exynos version of Sm-N950F with Latest Oreo Stock firmware version.my USB debugging is enable but OEM unlock button in development menu is not Active.
recently I have installed Package Disabler Pro (Samsung version) and Disabled some bloatware packages to save my battery. Now when I rebooted my phone it will be reset as soon as it shows Lock Screen.
I have retained the List of Disabled Packages with "Adb shell pm list -d" command"
Here is the list of Disabled packages:
I have used pm commands for enabling these packages one by one like "adb shell pm default-state --user 11 com.sec.android.daemonapp" (my user is 11)
or "adb shell pm enable --user 11 com.samsung.android.bio.face.service" or some other but every time I will get I don't know why the New State won't Change.
I'm willing to do ANYTHING just to avoid any data erase and backup my files and photos and videos on my device. even if i have to trip my knox for rooting or installing custom kernel/Recovery.
Please Help me I just need to access my files and stuff on my phone (i have also files on Secure folder too).
p.s: I have read about flashing Home_csc using Odin and I have the latest firmware files too but not sure what is my current csc to avoid Data Erase.
Click to expand...
Click to collapse
You should have backed everything up first, you have disabled things required for your phone to work properly. you should have used something like greenify. For instance, how much battery do you think disabling the cool jazz font was going to save you? Not saying that is the cause of your problem, it just shows you are disabling things without knowing what they do because you think you don't need/want them. A majority of what you have disabled don't even run unless they are specifically called for by the user or a system process, and when they are done android puts them to sleep.

Turn Off Phone manager

Any ideas how to turn off the stock phone manager app.
Fed up with the annoying messages it gives me about power and background apps. Latest thing is it's warning me about fragmentation and it wants to clean up fragmented files!! I did't even know you could get fragmented files on phones?? Anyway not interested.
I've tried a force stop; turning all notifications settings off, removed write access etc but it won' stop.
if ur on root...just remove phone mangaer apk with titalum app
Not rooted, any other ideas?
nigsy116 said:
Not rooted, any other ideas?
Click to expand...
Click to collapse
You can uninstall, or even better, disable and enable Phone Manager with ADB. APK to look for is com.huawei.systemmanager.
Get into ADB Shell and use this commands:
To Disable:
pm disable-user --user 0 com.huawei.systemmanager
To Enable again:
pm enable --user 0 com.huawei.systemmanager
You don't need root.
bear in mind that this disables battery settings

[SOLVED] FindDevice may cause a boot loop?

Hello.
I uninstalled Find Device (pm uninstall -k --user 0 com.xiaomi.finddevice) to avoid its periodic enabling reminders.
However now sometimes "find device has been destroyed" appears as a toast. Also the Security Status in the Settings now crashes.
After finding this message (despite it is other phone model) I'm frightened about a future reboot of my phone. Can my phone really enter in a boot loop the next time I reboot? I have the miui optimization disabled, though.
I have tried to install it back, downloading the 9.0 apk, but it says INSTALL_FAILED_ALREADY_EXISTS. Using the "-r" switch also doesn't works ("com.xiaomi.finddevice is a persistent app. Persistent apps are not updateable"). I assume that this is due to haven't erased the app data (uninstalled with -k) but "pm clean" doesn't seems to clean it. I also have tried the -p option for partial installation, but returns a null exception.
Ah, my device is not rooted. MIUI Global 10.2 stable.
I managed to restore the application with the following adb command:
Code:
pm install-existing com.xiaomi.finddevice
It also works with applications uninstalled without "-k 0".
By the way, I used to use "pm disable", but now it seems it is called "pm disable-user".
So, next time I'll preferably use it instead of uninstalling, if works as expected.
Note that it doesn't allows to disable finddevice:
Code:
$ pm disable-user com.xiaomi.finddevice
Package com.xiaomi.finddevice new state: default
The package still continues in default state, unlike when it actually works:
Code:
$ pm disable-user com.miui.player
Package com.miui.player new state: disabled-user
Credits for these great discoverings to this blog post (eskerahn.dk/wordpress/?p=2462) [add the https prefix, I can't yet post urls!]
is there a any way to uninstall this application without trouble (without bootloop)?
i have the same question is there a any way to uninstall this application without trouble (without bootloop)?
If it doesn't boot, it's awesome tho.
Without modifying the vendor ROM image there is no way to get rid of it.

[GUIDE] Apps safe to remove

Hello guys.
As you may know, there is a way to uninstall system apps whithout root, as described here. Is a 'generic' guide, so I'll not enter on details on it. I used this guide, and sucessfully debloated my Note 8.
Here is my list:
Code:
android.autoinstalls.config.Xiaomi.ginkgo
com.android.browser
com.android.calendar
com.android.soundrecorder
com.facebook.appmanager
com.facebook.services
com.facebook.system
com.google.android.apps.docs
com.google.android.apps.maps
com.google.android.apps.photos
com.google.android.apps.tachyon
com.google.android.apps.wellbeing
com.google.android.gm
com.google.android.googlequicksearchbox
com.google.android.marvin.talkback
com.google.android.music
com.google.android.tts
com.google.android.videos
com.google.ar.lens
com.mi.android.globalminusscreen
com.micredit.in
com.milink.service
com.mipay.wallet.id
com.mipay.wallet.in
com.miui.backup
com.miui.cleanmaster
com.miui.cloudbackup
com.miui.compass
com.miui.notes
com.miui.player
com.miui.screenrecorder
com.miui.userguide
com.miui.videoplayer
com.miui.weather2
com.miui.yellowpage
com.netflix.partner.activation
com.tencent.soter.soterserver
com.xiaomi.midrop
com.xiaomi.payment
com.xiaomi.scanner
Some advices: DO NOT uninstall cloud services if you want to use "Find My Phone". Also, DO NOT uninstall an app if you are unsure about it.
If you want a really clean device, I recommend to turn off your phone, take out the SIM card, turn on again and restore to factory defaults. Then, do the initial setup WITHOUT connecting to any network. By this way, you'll avoid any unwanted app to get updated automatically, PLUS avoinding initial installation of some apps like Facebook and Netflix (by uninstalling android.autoinstalls.config.Xiaomi.ginkgo). I'm using my phone for a week, without problems.
TIP 01: if you want to get the entire list, open an adb prompt on your computer, as described on list bellow, and use the following command:
Code:
adb shell pm list packages > list.txt
. Then, open the file list.txt on notepad.
TIP 02: MIUI isn't good to work with a Google App profile. But, if you need to use it, you need to uninstall the apps for this profile also. Setup you profile, and just after disconnect from any network. Then, go to adb command prompt and type
Code:
adb shell pm list users
. Press ENTER and you will get a list of 'users' on your phone, like:
Code:
Users:
UserInfo{0:Proprietário:13} running
UserInfo{12:security space:13} running
The first number is what you need. Just change the '0' (zero) on the commands for uninstall for the number you get (in case above, 12). A NOTE: for me is 12 because I'm using built-in Second Space feature to handle my work profile (and I recommend you to do the same), so the number for you maybe will be different.
See ya!
very nice list. i'm a bitt scared about removing com.mi.android.globalminusscreen. do you know what it is?
augugusto said:
very nice list. i'm a bitt scared about removing com.mi.android.globalminusscreen. do you know what it is?
Click to expand...
Click to collapse
App Vault, it's just used in stock launcher.
what about com.miui.securitycenter?
augugusto said:
what about com.miui.securitycenter?
Click to expand...
Click to collapse
It's an essential part of Miui system to work, you will get bootloop if you remove it completely (device won't boot).
Anyway this method doesn't remove any app completely so you would need root to achieve it, just the data user is wiped in a way that you no longer can't interact with the app. But with Miui Security Center you will have forced close for some apps and you won't access to some functions in settings.
Thanks! I found a few more "services" that I didn't like in this list.
https://medium.com/@mail.anonymous....devices-via-android-debug-bridge-2e5bcd94dfa0
What happens if I remove the default messaging app?
AppaDambis said:
What happens if I remove the default messaging app?
Click to expand...
Click to collapse
Unless you have another messaging app you won't be able to send messages............

Removing BLoatware

I found a nice and easy way to get rid of bloatware, WITHOUT root, and using Rakesh's bloatware list.
How To Remove Bloatware From Any Xiaomi Devices (Without Root): Easiest Way!
Have you just gotten a new phone and is it already filled up with a bunch of spooky apps preinstalled? Have you tried long pressing and dragging them up your screen to uninstall? Alas! There isn’t …
technolobe.com
Xiaomi Bloatware List | Remove Bloatware on MIUI 14/13/12
Find the list of safe-to-remove Xiaomi and MIUI bloatware. Learn how to uninstall system apps on MIUI 14, 13 & 12 via Xiaomi ADB/fastboot tools.
technastic.com
But when I try it, I get stuck after installing Java SE Development Kit–and Xiaomi ADB/Fastboot Tools, when the software will not recognize my phone. (USB debugging was done)
This is new phone. What else do I need to have, before this will work? Some accounts? A simcard??
Thank You
I guess adb drivers are missing. To installing that. And why don't you use simple adb after installing drivers.
Adb shell
Pm uninstall --user 0 <package name>
Pm uninstall -k --user 0 <package name>
Would recommend first one, second retains cache and some data.
Yes it's a less intuitive way, but I prefer this doing everything myself, at least trying to rely on less and less dependencies.
But using adb doesn't free up space, it's more like it just disables app, the only difference is that in both the cases APK is still in system, just don't show up in settings like as it will remain shown when disabled.
Applepear said:
I guess adb drivers are missing. To installing that. And why don't you use simple adb after installing drivers.
Adb shell
Pm uninstall --user 0 <package name>
Pm uninstall -k --user 0 <package name>
Would recommend first one, second retains cache and some data.
Yes it's a less intuitive way, but I prefer this doing everything myself, at least trying to rely on less and less dependencies.
But using adb doesn't free up space, it's more like it just disables app, the only difference is that in both the cases APK is still in system, just don't show up in settings like as it will remain shown when disabled.
Click to expand...
Click to collapse
Of course it uses ADB......
No I meant why use .jar program? Ok some people prefer easiness
I have posted the thread some weeks ago and for me it works without any issues.
Miui system apps which are safe to remove
Hello Found this very great thread here in other Xiaomi device forum,so please dont hit thanx here. Have tested and its working good for me even on Miui 12.Have fun.Cheers...
forum.xda-developers.com
-CALIBAN666- said:
I have posted the thread some weeks ago and for me it works without any issues.
Miui system apps which are safe to remove
Hello Found this very great thread here in other Xiaomi device forum,so please dont hit thanx here. Have tested and its working good for me even on Miui 12.Have fun.Cheers...
forum.xda-developers.com
Click to expand...
Click to collapse
Thank you for that list.
My problem is different..... I already have a list and I will of course compare it with yours. What I do not have is ACCESS.
The "usual" system, which I found here:
Does not recognize my phone. Probably, because I use no google or any other accounts. So I need to know what is needed to to access the bloatware, no matter what list I use...

Categories

Resources