Where does Market store download history? - Desire General

If I install application with adb install, or pm install.
It won't shows up in Market downloads even if it is a market application.
I check the /data/system/packages.xml and found the difference.
Code:
279c279
< <package name="com.replica.replicaisland" codePath="/data/app/com.replica.replicaisland-2.apk" flags="0" ts="1276191374000" version="13" userId="10086" installer="com.google.android.feedback">
---
> <package name="com.replica.replicaisland" codePath="/data/app/com.replica.replicaisland-1.apk" flags="0" ts="1276190547000" version="13" userId="10086">
anyone know how to install with command but still have installer="com.google.android.feedback" item?
Found this command
pm install -i
-i: specify the installer package name.
try later..

clean cache and app data of market, then all applications available on market will be listed in downloads

Related

How to uninstall watch faces and apps through adb

The command line is adb uninstall <apk_name>
The problem is that they talk about package so what's the difference between package and the .apk that I've installed through adb?
Tks
BCabrio
Hi BCabrio,
Try this;
> adb -d shell pm list packages -3
--> adb will give you the 3rd party installed packages list. They will be looking like "com.lorem.ipsumdolor" (starts with com.)
> adb -d uninstall com.lorem.ipsumdolor
This would solve your problem.
Regards,

EVR-TL00 : Ok Google working, Google Feed (instead of HiBoard) on right swipe

UPDATE 2 - 1/23/2021 - EMUI 11
UPDATE 1 - 9/17/2019
Hi all, got my EVR-TL00 from Aliexpress (Shenzhen JTWX Store) about a week ago. I was apprehensive initially, but after a few minor tweaks, including using Huawei default launcher (Drawer Home screen style + gestures) and uninstalling some apps... its a keeper!! I like it a lot! Here is how;
Requirements - adb, time (about a couple hours )
Do not uninstall Huawei Default launcher! give it a try, it's actually ok.... Here is my experience, I uninstalled it (via ADB) and installed Nova instead, I lost EMUI gestures and Nova is not optimized for full screen (hides notch with black bar... urgh!). I had to Factory reset phone to get Default launcher back.
Factory reset the phone (how to below) ... I should have done this as soon as I received the phone!!.. so Do it!
Follow below steps
1. Factory reset phone via Settings > Reset > Reset phone. (NOT Reset all settings) FYI Using hard keys (Vol up + down + power) did not work.
2. Uninstall all uninstallable Chinese bloatware. Settings > Apps > Apps (Uninstalled all uninstallable Chinese apps. UPDATE - 1/23/2021- you will need to click the 3 dots on top right click 'Show system processes' to unhide some apps)
3. Update google play store via Huawei app store UPDATE 9/17/2019: Playstore is no longer available in Huawei app store, download from APK mirror
3. Download google play store from APK mirror.
4. Add google accounts.
5. Install google apps from google play store
6. Give google apps necessary permissions.
7. Install latest patched google phone beta from here.
8. To enable "Ok google" and google feeds (replace HiBoard) on right swipe from home screen UPDATE 9/17/2019: Google feed no longer works even after removing HiBoard
Remove rest of unwanted Huawei apps using adb
- If you don't know what adb is read this.
- install adb (packaged with Android platform-tools) from here.
- Turn on USB debugging; Settings > System > About phone > Android Version (tap several times till you see 'You are now a developer') > Back to previous menu (System) > Developer options > USB debugging (enable) (login to Huawei ID, obtain ID if you don't have one)
- Connect phone to computer via USB and select File transfer option, If phone is not connecting to PC then you may need the Huawei drivers, install HiSuite (I immediately uninstalled it, the drivers did not uninstall.)
- FYI if the "adb devices" command still keeps returning nothing even after successful connection to PC, it is because USB debugging keeps turning off, to fix this turn on USB debugging when phone is connected; Connect phone via USB > select File transfer option > re-enable USB debugging (Settings > System > Developer options > USB debugging > pop should appear, ALLOW fingerprint.
- verify "adb devices" on cmd returns your device.
- Using adb remove bloatware as follows,
> adb devices [you should see your device connected]
Type the below commands, you should see "success" if uninstall was successful
adb shell pm uninstall -k --user 0 com.huawei.intelligent
adb shell pm uninstall -k --user 0 com.huawei.search
adb shell pm uninstall -k --user 0 com.huawei.vassistant
[Instructions below to list the apk's and if you want, download it to your PC for backup, incase things dont go as you expected and need to reinstall]
[FYI: you can type "adb shell" <PRESS ENTER> which will take you to the shell prompt "HWEVR : / $" then type the command "pm uninstall -k --user 0 <package>" to uninstall]
8. Enable Google Feeds on right swipe from home page: Home screen and wallpaper > Home screeen settings > Google feed (enable) [UPDATE 1/23/21 - No Longer works]
9. Restart to enable Google feeds when you right swipe at home screen. [UPDATE 1/23/21 - No Longer works]
10. Install Android Pie (Pixel) font... its beautiful.. find it here
UPDATED- 1/23/2021 - Old way to enable Google font no longer works
Download, unzip, place the .hwt file in Huawei/Themes on your internal card.
Go to Me in the theme app, select my text. And you will see it. Apply, done!
Go to Settings > Home screen & wallpaper > Themes > scroll to bottom to find Product Sans > Select > APPLY
Fix fonts Settings > Home screen & wallpaper > Icons > Select EMUI 11 default fonts > APPLY
------ other things I uninstalled with no impact --------
adb shell pm uninstall -k --user 0 com.huawei.wallet
adb shell pm uninstall -k --user 0 com.huawei.hidisk
adb shell pm uninstall -k --user 0 com.huawei.android.findmyphone
adb shell pm uninstall -k --user 0 com.huawei.phoneservice
adb shell pm uninstall -k --user 0 com.baidu.input_huawei
adb shell pm uninstall -k --user 0 com.android.calendar
adb shell pm uninstall -k --user 0 com.huawei.browser
adb shell pm uninstall -k --user 0 com.android.contacts
adb shell pm uninstall -k --user 0 com.huawei.himovie
How to list apks via adb... and download from phone to you PC just incase
// list all the packages plus the system path
adb shell pm list packages -f
// if you want the results in a file eg "huaweiapks.txt" instead of scrolling on screen do the following
adb shell pm list packages -f > huaweiapks.txt
// download the apk using "adb pull" from phone to your PC. USE THE PATH NAME for example
adb pull /system/priv-app/HwPhoneService/HwPhoneService.apk
// rename apk if necessary
Backup your phone to your PC
> adb backup -apk -all
additional OPTIONS
-f (specify to file to backup to. If no -f option is supplied then the data is written to "backup.ab" in the current directory.)
-apk | -noapk (enable/disable backup of the .apks themselves in the archive; the default is noapk.)
-shared | -noshared (enable/disable backup of the device's shared storage / SD card contents; the default is noshared.)
-all (means to back up all installed applications. This will include SD-Card backup)
-system | -nosystem (toggles whether -all automatically includes system applications; the default is to include system apps)
To restore
> adb restore C:\path\to\backup.ab
ohthree said:
Hi all, got my EVR-TL00 from Aliexpress (Shenzhen JTWX Store) about a week ago. I was apprehensive initially, but after a few minor tweaks, including using Huawei default launcher (Drawer Home screen style + gestures) and uninstalling some apps... its a keeper!! I like it a lot! Here is how;
Requirements - adb, time (about a couple hours )
Do not uninstall Huawei Default launcher! ... I uninstalled it (via ADB) and installed Nova instead, lost EMUI gestures and its not optimized for full screen (hides notch with black bar), so to get default launcher back had to..
Factory reset the phone ... I should have done this in the first place!.. so Do it!
Follow below steps
1. Factory reset via Settings > Reset > Reset phone. (NOT Reset all settings) FYI Using hard keys (Vol up + down + power) did not work.
2. Uninstall all uninstallable Chinese bloatware
3. Update google play store via Huawei app store
4. Add google accounts.
5. Install google apps from google play store
6. Give google apps necessary permissions.
7. Install google phone latest patched beta from here.
8. To enable "Ok google" and google feeds (replace HiBoard) on right swipe from home screen, remove unwanted apps using adb (for drivers install HiSuite... then immediately uninstall if you don't need it)
- Turn on USB debugging; Settings > System > About phone > Android Version (You are now a developer) > Back to previous (System) > Developer options > USB debugging (enable) (login to Huawei ID, obtain ID if you don't have one)
- FYI USB debugging kept turning off making "adb devices" always returned a blank, to fix this; Connect USB > select File transfer option > re-enable USB debugging (Settings > System > Developer options > USB debugging > pop should appear, ALLOW fingerprint.
- install adb (packaged with Android platform-tools) from here.
- Using cmd, use following commands to remove bloatware
> adb devices [you should see your device connected]
> adb shell
[takes you to another prompt with # type below commands if ok should see response "success"]
# pm uninstall -k --user 0 com.huawei.intelligent (hiboard)
# pm uninstall -k --user 0 com.huawei.search (hiSearch)
# pm uninstall -k --user 0 com.huawei.vassistant
8. Enable Google Feeds on right swipe from home page: Home screen and wallpaper > Home screeen settings > Google feed (enable)
9. Restart to enable Google feeds when you right swipe at home screen.
--------------- other things I uninstalled with no impact --------------------
# pm uninstall -k --user 0 com.huawei.wallet
# pm uninstall -k --user 0 com.huawei.hidisk
# pm uninstall -k --user 0 com.huawei.android.findmyphone
# pm uninstall -k --user 0 com.huawei.phoneservice
# pm uninstall -k --user 0 com.baidu.input_huawei
Screen shots
Click to expand...
Click to collapse
I have a TL version too, does your Google backup working? Mine shows waiting for backup for app data, sms and call history.
hattrickho said:
I have a TL version too, does your Google backup working? Mine shows waiting for backup for app data, sms and call history.
Click to expand...
Click to collapse
Same for me also... "waiting for backup"
Cannot get them to uninstall, can see device, adb running. When I type in adb shell it goes to
127 | HWEVR : / $
Type in command(s), but nothing happens?
shollywood said:
Cannot get them to uninstall, can see device, adb running. When I type in adb shell it goes to
127 | HWEVR : / $
Type in command(s), but nothing happens?
Click to expand...
Click to collapse
Your'e doing it right. If you type in adb shell then you'll get that. Then you just have to type in pm uninstall -k --user 0 xxxxxxx, you don't have to type in adb shell again.
ohthree said:
Same for me also... "waiting for backup"
Click to expand...
Click to collapse
that suck! not sure does the AL00 model has the same problem, I should have do some research before purchase this phone from aliexpress. I should have get the al00 version or pay a little more for a L29.
hopefully this TL00 can be root like AL00 .
ajsmsg78 said:
Your'e doing it right. If you type in adb shell then you'll get that. Then you just have to type in pm uninstall -k --user 0 xxxxxxx, you don't have to type in adb shell again.
Click to expand...
Click to collapse
Figured it out thanks for the help.
Sorry for the confusion... let me edit the #
ohthree said:
Hi all, got my EVR-TL00 from Aliexpress (Shenzhen JTWX Store) about a week ago. I was apprehensive initially, but after a few minor tweaks, including using Huawei default launcher (Drawer Home screen style + gestures) and uninstalling some apps... its a keeper!! I like it a lot! Here is how;
Requirements - adb, time (about a couple hours )
Do not uninstall Huawei Default launcher! give it a try, it's actually ok.... Here is my experience, I uninstalled it (via ADB) and installed Nova instead, I lost EMUI gestures and Nova is not optimized for full screen (hides notch with black bar... urgh!). I had to Factory reset phone to get Default launcher back.
Factory reset the phone ... I should have done this as soon as I received the phone!!.. so Do it!
Follow below steps
1. Factory reset phone via Settings > Reset > Reset phone. (NOT Reset all settings) FYI Using hard keys (Vol up + down + power) did not work.
2. Uninstall all uninstallable Chinese bloatware
3. Update google play store via Huawei app store
4. Add google accounts.
5. Install google apps from google play store
6. Give google apps necessary permissions.
7. Install latest patched google phone beta from here.
8. To enable "Ok google" and google feeds (replace HiBoard) on right swipe from home screen, remove unwanted apps using adb
- If you don't know what adb is read this.
- install adb (packaged with Android platform-tools) from here.
- Turn on USB debugging; Settings > System > About phone > Android Version (You are now a developer) > Back to previous (System) > Developer options > USB debugging (enable) (login to Huawei ID, obtain ID if you don't have one)
- Connect phone to computer via USB and select File transfer option, If phone is not connecting to PC then you may need the Huawei drivers, install HiSuite (I immediately uninstalled it, the drivers did not uninstall.)
- FYI if the "adb devices" command still keeps returning nothing even after successful connection to PC, it is because USB debugging keeps turning off, to fix this turn on USB debugging when phone is connected; Connect phone via USB > select File transfer option > re-enable USB debugging (Settings > System > Developer options > USB debugging > pop should appear, ALLOW fingerprint.
- verify "adb devices" on cmd returns your device.
- Using adb remove bloatware as follows,
> adb devices [you should see your device connected]
> adb shell
[takes you to another prompt with $ type below commands should see "success" if uninstall was successful ]
pm uninstall -k --user 0 com.huawei.intelligent
pm uninstall -k --user 0 com.huawei.search
pm uninstall -k --user 0 com.huawei.vassistant
[Instructions below to list the apk's and if you want, download it to your PC for backup, incase things dont go as you expected and need to reinstall]
[FYI: you can type directly "adb shell pm uninstall -k --user 0 com.huawei.intelligent" if you dont what to go into the shell prompt HWEVR : / $]
8. Enable Google Feeds on right swipe from home page: Home screen and wallpaper > Home screeen settings > Google feed (enable)
9. Restart to enable Google feeds when you right swipe at home screen.
------ other things I uninstalled with no impact --------
pm uninstall -k --user 0 com.huawei.wallet
pm uninstall -k --user 0 com.huawei.hidisk
pm uninstall -k --user 0 com.huawei.android.findmyphone
pm uninstall -k --user 0 com.huawei.phoneservice
pm uninstall -k --user 0 com.baidu.input_huawei
pm uninstall -k --user 0 com.huawei.browser
Screen shots
How to list apks via adb... and download from phone to you PC just incase
// list all the packages plus the system path
adb shell pm list packages -f
// download the apk using "adb pull" from phone to your PC. USE THE PATH NAME for example
adb pull /system/priv-app/HwPhoneService/HwPhoneService.apk
// rename apk if necessary
Click to expand...
Click to collapse
thanks for the detailed guideline, i have ordered from the same seller on Ali Express lets see what model# do i get. its scheduled for delivery by tomorrow.
after receiving the phone first thing i am going to do is perform factory reset and install playstore etc.
can you please give me a list of apps which i can remove to get rid of all Chinese bloatware.
does "ok google" working in sleep mode? or i have to wake up the phone. thanks
phablet_fan said:
thanks for the detailed guideline, i have ordered from the same seller on Ali Express lets see what model# do i get. its scheduled for delivery by tomorrow.
after receiving the phone first thing i am going to do is perform factory reset and install playstore etc.
can you please give me a list of apps which i can remove to get rid of all Chinese bloatware.
does "ok google" working in sleep mode? or i have to wake up the phone. thanks
Click to expand...
Click to collapse
I uninstalled all apps with Chinese names, I did not make a list. If it's uninstallable, it was going!... Just long press > uninstall. Then did the above.
Ok Google does not work on sleep mode yet, but I know Google is listening, because there is an almost permanent notification by the phone manager app alert "Google is using the microphone"
phablet_fan said:
thanks for the detailed guideline, i have ordered from the same seller on Ali Express lets see what model# do i get. its scheduled for delivery by tomorrow.
after receiving the phone first thing i am going to do is perform factory reset and install playstore etc.
can you please give me a list of apps which i can remove to get rid of all Chinese bloatware.
does "ok google" working in sleep mode? or i have to wake up the phone. thanks
Click to expand...
Click to collapse
if u order 6gb ram 128 , u will get TL, if you order 8gb 256, u will get AL .
@ohthree
Thanks for this great post.
I didn't know about the Google Phone app plus im happy to have a Google feed now and some Huawei bloat removed.
If you remove any more Huwaei system apps that don't break anything keep us posted.
Cheers
This version, tl00 (6/128) work on widevine L1 or L3? Can I play 1080p or HDR on Netflix?? Thanks
gazdaman. said:
@ohthree
Thanks for this great post.
I didn't know about the Google Phone app plus im happy to have a Google feed now and some Huawei bloat removed.
If you remove any more Huwaei system apps that don't break anything keep us posted.
Cheers
Click to expand...
Click to collapse
I removed com.huawei.himovie also.
Stiehler said:
This version, tl00 (6/128) work on widevine L1 or L3? Can I play 1080p or HDR on Netflix?? Thanks
Click to expand...
Click to collapse
L1.
Nertflix works in 1080p
ohthree said:
L1.
Nertflix works in 1080p
Click to expand...
Click to collapse
Hoooow? The Chinese come with L3, all reviews I read/saw said that... Can you post a pic of the DRMinfo? I'm really confused now
Stiehler said:
Hoooow? The Chinese come with L3, all reviews I read/saw said that... Can you post a pic of the DRMinfo? I'm really confused now
Click to expand...
Click to collapse
Netflix has just updated and it's full hd hdr ,, Chinese model I'm on
stestesteste said:
Netflix has just updated and it's full hd hdr ,, Chinese model I'm on
Click to expand...
Click to collapse
Its nice read that... Hahaha. Updated from the Google play?
Stiehler said:
Its nice read that... Hahaha. Updated from the Google play?
Click to expand...
Click to collapse
Yes Google play
stestesteste said:
Yes Google play
Click to expand...
Click to collapse
Oh, that's good. Someone can confirm this?

DEBLOAT Script XZ1 Compact - STOCK Pie - G8441_47.2.A.11.228 (No root, Android 9)

This is debloat of Google stuff (Play and Services) / Sony / other / tracking apps etc. Updated version for Android 9 (Pie), you get better battery life and better privacy.
The main goal is mimic custom rom with fully working stock camera/connectivity/fingerprint and no Google bloat/track and as consequance, better battery life.
Root not needed for debloat, but necessary for further optimizations. (with underclocked CPUs, tuned RUN_IN_BACKGROUND privilege and BOOT_COMPLETED intent action of installed/system apps, you can reach 7 days on one charge - with deepsleep active 92% of time. /No wakelock tuning/)
Batch script reads file deb.xz1c.txt and process all lines which does not start with #. Lines/apps with starts with @ are disabled only (mainly Google components which don't like being uninstalled.)
---What You Need---
-you need working adb shell (or Flashtool), debloat_xz1c.bat and deb.xz1c.txt must be in the same directory. For example ...\Flashtool\x10flasher_lib\
-activated developer options - adb debugging
-have active screen security (pin code, password, fingerprint) so you can deactivate google as administrator app and agents of trust in settings.
-check there is no google in find my device etc.
-default Android 9 sms/mms app is Google framework dependent so you need a free alternative. QKMS is way better then default.
-install Firefox or another non-google browser. (you can enable/disable Chrome in deb.xz1c.txt)
debloat_xz1c.bat
Code:
SETLOCAL ENABLEDELAYEDEXPANSION
:: give user some time to respond to adb/root notification on phone o_o
adb devices
timeout 2
adb shell id
timeout 3
echo off
:: name of input file (deb.xz1c.txt)
for /f "eol=#" %%f in (deb.xz1c.txt) do (
set line=%%f
set fchar=!line:~0,1!
call :work_clear_data
if "!fchar!" == "@" call :work_disable
if not "!fchar!" == "@" call :work_uninst
)
goto :end
:work_clear_data
for /f "tokens=1,2 delims=^=" %%a in ("%line%") do (
echo --------[ %%b ]
echo Force-Stopping and clearing app's data:
adb shell am force-stop %%b
adb shell pm clear %%b
)
goto :eof
:work_uninst
for /f "tokens=1,2 delims=^=" %%a in ("%line%") do (
echo 'Uninstalling' app:
adb shell pm uninstall -k --user 0 %%b
)
goto :eof
:work_disable
for /f "tokens=1,2 delims=^=" %%a in ("%line%") do (
echo Disabling app:
adb shell pm disable-user %%b
)
goto :eof
:end
This is wip debloat list - minimum google stuff, no play services, sony and other. Ready for F-Droid. I am using alternative launcher/email/offline calendar/etc.
You can disable specific app without uninstalling it (place @ as first character on line).
deb.xz1c.txt
Code:
# script ignores lines starting with # ,lines(apps) starting with @ will be disabled only, lines without # or @ will be uninstalled.
# lines starting with #! and @! are important for system to function corectly. Don't remove them.
# add # to ignore
# add @ to disable
# remove # or @ to clear app's data and uninstall.
#----Sony Launcher---- (remove # if you have another launcher installed)
#/system/priv-app/home-sonyMobile-release/home-sonyMobile-release.apk=com.sonymobile.home
#----Google Chrome---- (remove # if you have another internet browser installed -Firefox,etc.. add # if you don't.)
/system/app/Chrome/Chrome.apk=com.android.chrome
#======Google Stuff======== (install another sms app first. for example QKSMS)
#!/system/app/GoogleExtShared/GoogleExtShared.apk=com.google.android.ext.shared
#!/system/app/WebViewStub/WebViewStub.apk=com.google.android.webview
#!/system/priv-app/GooglePackageInstaller/GooglePackageInstaller.apk=com.google.android.packageinstaller
#!/system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk=com.google.android.gsf
@!/system/priv-app/GmsCore/GmsCore.apk=com.google.android.gms
@!/system/priv-app/CarrierServices/CarrierServices.apk=com.google.android.ims
@!/system/app/Messages/Messages.apk=com.google.android.apps.messaging
#/system/priv-app/OobConfig/OobConfig.apk=com.google.android.apps.work.oobconfig
/system/priv-app/SetupWizard/SetupWizard.apk=com.google.android.setupwizard
/system/app/ARCoreStub/ARCoreStub.apk=com.google.ar.core
/system/app/CalendarGoogle/CalendarGoogle.apk=com.google.android.calendar
/system/app/Chrome/Chrome.apk=com.android.chrome
/system/app/Drive/Drive.apk=com.google.android.apps.docs
/system/app/Duo/Duo.apk=com.google.android.apps.tachyon
/system/app/EasterEgg/EasterEgg.apk=com.android.egg
/system/app/Gmail2/Gmail2.apk=com.google.android.gm
/system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk=com.google.android.syncadapters.contacts
/system/app/GooglePrintRecommendationService/GooglePrintRecommendationService.apk=com.google.android.printservice.recommendation
/system/app/GoogleTTS/GoogleTTS.apk=com.google.android.tts
/system/app/Maps/Maps.apk=com.google.android.apps.maps
/system/app/Music2/Music2.apk=com.google.android.music
/system/app/Photos/Photos.apk=com.google.android.apps.photos
/system/app/Videos/Videos.apk=com.google.android.videos
/system/app/YouTube/YouTube.apk=com.google.android.youtube
/system/app/talkback/talkback.apk=com.google.android.marvin.talkback
/system/priv-app/AndroidPlatformServices/AndroidPlatformServices.apk=com.google.android.gms.policy_sidecar_aps
/system/priv-app/ConfigUpdater/ConfigUpdater.apk=com.google.android.configupdater
/system/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk=com.google.android.backuptransport
/system/priv-app/GoogleFeedback/GoogleFeedback.apk=com.google.android.feedback
/system/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk=com.google.android.onetimeinitializer
/system/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk=com.google.android.partnersetup
/system/priv-app/GoogleRestore/GoogleRestore.apk=com.google.android.apps.restore
/system/priv-app/HotwordEnrollmentOKGoogleWCD9340/HotwordEnrollmentOKGoogleWCD9340.apk=com.android.hotwordenrollment.okgoogle
/system/priv-app/Phonesky/Phonesky.apk=com.android.vending
/system/priv-app/Turbo/Turbo.apk=com.google.android.apps.turbo
/system/priv-app/Velvet/Velvet.apk=com.google.android.googlequicksearchbox
/system/priv-app/GoogleExtServices/GoogleExtServices.apk=com.google.android.ext.services
#----Safe to uninstall or disable----
#?/oem/priv-app/CellBroadcastReceiver/CellBroadcastReceiver.apk=com.android.cellbroadcastreceiver
#?/system/app/BluetoothMidiService/BluetoothMidiService.apk=com.android.bluetoothmidiservice
#?/system/app/CtsShimPrebuilt/CtsShimPrebuilt.apk=com.android.cts.ctsshim
#?/system/app/NfcExtension/NfcExtension.apk=com.sonymobile.nfcextension
#?/system/app/PrintSpooler/PrintSpooler.apk=com.android.printspooler
#?/system/app/SomcDualshockManager/SomcDualshockManager.apk=com.sonymobile.dualshockmanager
#?/system/app/Theme-Sou-M-cid19-silver-sw360dp-xhdpi-release/Theme-Sou-M-cid19-silver-sw360dp-xhdpi-release.apk=com.sonymobile.themes.sou.cid19.silver
#?/system/app/Theme-Sou-M-cid20-blue-sw360dp-xhdpi-release/Theme-Sou-M-cid20-blue-sw360dp-xhdpi-release.apk=com.sonymobile.themes.sou.cid20.blue
#?/system/app/Theme-Sou-M-cid21-pink-sw360dp-xhdpi-release/Theme-Sou-M-cid21-pink-sw360dp-xhdpi-release.apk=com.sonymobile.themes.sou.cid21.pink
#?/system/app/uceShimService/uceShimService.apk=com.qualcomm.qti.uceShimService
#?/system/app/UnsupportedHeadsetNotifier/UnsupportedHeadsetNotifier.apk=com.sonyericsson.unsupportedheadsetnotifier
#?/system/app/dlna-somc-xhdpi-release/dlna-somc-xhdpi-release.apk=com.sonymobile.dlna
#?/system/priv-app/CtsShimPrivPrebuilt/CtsShimPrivPrebuilt.apk=com.android.cts.priv.ctsshim
#?/system/priv-app/SemcCnapProvider/SemcCnapProvider.apk=com.sonyericsson.providers.cnap
#?/system/priv-app/SimlockUnlockApp/SimlockUnlockApp.apk=com.sonymobile.simlockunlockapp
#?/system/priv-app/assist_persistent-release/assist_persistent-release.apk=com.sonymobile.assist.persistent
#?/system/priv-app/dpmserviceapp/dpmserviceapp.apk=com.qti.dpmserviceapp
#?/system/priv-app/usb-mtp-vendor-extension-service/usb-mtp-vendor-extension-service.apk=com.sonyericsson.mtp
/system/app/AptxNotifier/AptxNotifier.apk=com.sonymobile.aptx.notifier
/system/app/BasicDreams/BasicDreams.apk=com.android.dreams.basic
/system/app/CrashMonitor/CrashMonitor.apk=com.sonyericsson.crashmonitor
/system/app/CrashMonitorSystem/CrashMonitorSystem.apk=com.sonymobile.crashmonitor.system
/system/app/ExternalKeyboardJP/ExternalKeyboardJP.apk=com.sonymobile.android.externalkeyboardjp
/system/app/FaceLock/FaceLock.apk=com.android.facelock
/system/app/IddAgent/IddAgent.apk=com.sonyericsson.idd.agent
/system/app/PartnerBookmarksProvider/PartnerBookmarksProvider.apk=com.android.providers.partnerbookmarks
/system/app/RcaHandler/RcaHandler.apk=com.sonymobile.rcahandler
/system/app/SecureClockService/SecureClockService.apk=com.sonymobile.secureclockservice
/system/app/SemcEmail-release/SemcEmail-release.apk=com.sonymobile.email
/system/app/SemcWarrantyTime/SemcWarrantyTime.apk=com.sonyericsson.warrantytime
/system/app/SomcMovieCreatorRmm-release/SomcMovieCreatorRmm-release.apk=com.sonymobile.moviecreator.rmm
/system/app/SomcPOBox-xhdpi/SomcPOBox-xhdpi.apk=com.sonymobile.pobox
/system/app/SomcXperiaServices/SomcXperiaServices.apk=com.sonymobile.xperiaservices
/system/app/SusResCheck/SusResCheck.apk=com.sonymobile.susrescheck
/system/app/SyncHub-release/SyncHub-release.apk=com.sonymobile.synchub
/system/app/Traceur/Traceur.apk=com.android.traceur
/system/app/WallpaperBackup/WallpaperBackup.apk=com.android.wallpaperbackup
/system/app/XperiaTransferMobile-release/XperiaTransferMobile-release.apk=com.sonymobile.xperiatransfermobile
/system/app/XperiaXLiveWallpaper-release/XperiaXLiveWallpaper-release.apk=com.sonymobile.xperiaxlivewallpaper
/system/app/android.autoinstalls.config.sony.xperia/android.autoinstalls.config.sony.xperia.apk=android.autoinstalls.config.sony.xperia
/system/app/app-scan3d-release/app-scan3d-release.apk=com.sonymobile.scan3d
/system/app/clock-widgets-release/clock-widgets-release.apk=com.sonymobile.advancedwidget.clock
/system/app/com.amazon.kindle/com.amazon.kindle.apk=com.amazon.kindle
/system/app/com.amazon.mShop.android.shopping/com.amazon.mShop.android.shopping.apk=com.amazon.mShop.android.shopping
/system/app/com.facebook.appmanager/com.facebook.appmanager.apk=com.facebook.appmanager
/system/app/com.facebook.katana/com.facebook.katana.apk=com.facebook.katana
/system/app/com.s.antivirus/com.s.antivirus.apk=com.s.antivirus
/system/app/com.sonyericsson.xhs/com.sonyericsson.xhs.apk=com.sonyericsson.xhs
/system/app/com.sonymobile.deqp/com.sonymobile.deqp.apk=com.sonymobile.deqp
/system/app/com.sonymobile.infoapp/com.sonymobile.infoapp.apk=com.sonymobile.infoapp
/system/app/com.sonymobile.support/com.sonymobile.support.apk=com.sonymobile.support
/system/app/com.sonymobile.xperialounge.services/com.sonymobile.xperialounge.services.apk=com.sonymobile.xperialounge.services
/system/app/com.spotify.music/com.spotify.music.apk=com.spotify.music
/system/app/fota-service/fota-service.apk=com.sonymobile.fota.service
/system/app/pip/pip.apk=com.sonymobile.pip
/system/app/update-center-config-auto-install-stub-release/update-center-config-auto-install-stub-release.apk=com.sonymobile.updatecenter.config.autoinstall
/system/app/update-center-config-late-cmz-stub-release/update-center-config-late-cmz-stub-release.apk=com.sonymobile.updatecenter.config.latecmz
/system/app/videoplaceholder/videoplaceholder.apk=com.sony.tvsideview.videoph
/system/app/weather-project-somctestkey-release/weather-project-somctestkey-release.apk=com.sonymobile.xperiaweather
/system/priv-app/AnonymousData/AnonymousData.apk=com.sonymobile.anondata
/system/priv-app/CameraWearableBridgeHandheldServer/CameraWearableBridgeHandheldServer.apk=com.sonymobile.cameracommon.wearablebridge
/system/priv-app/ManagedProvisioning/ManagedProvisioning.apk=com.android.managedprovisioning
/system/priv-app/OMAClientProvisioning/OMAClientProvisioning.apk=com.sonyericsson.android.omacp
/system/priv-app/SemcAlbum-albumLive-release/SemcAlbum-albumLive-release.apk=com.sonyericsson.album
/system/priv-app/SemcMusic/SemcMusic.apk=com.sonyericsson.music
/system/priv-app/SomcMovieCreator-release/SomcMovieCreator-release.apk=com.sonymobile.moviecreator
/system/priv-app/StartupFlagV2/StartupFlagV2.apk=com.sonyericsson.startupflagservice
/system/priv-app/Tag/Tag.apk=com.android.apps.tag
/system/priv-app/UpdateCenter-release/UpdateCenter-release.apk=com.sonyericsson.updatecenter
/system/priv-app/com.facebook.services/com.facebook.services.apk=com.facebook.services
/system/priv-app/com.facebook.system/com.facebook.system.apk=com.facebook.system
/system/priv-app/com.sonymobile.retaildemo/com.sonymobile.retaildemo.apk=com.sonymobile.retaildemo
/system/priv-app/sonyentrance2-release/sonyentrance2-release.apk=com.sonymobile.entrance
/system/priv-app/textinput-chn-xhdpi-release/textinput-chn-xhdpi-release.apk=com.sonyericsson.textinput.chinese
/system/priv-app/usb-mtp-backup-transport/usb-mtp-backup-transport.apk=com.sonyericsson.mtp.extension.backuprestore
/system/priv-app/usb-mtp-update-wrapper/usb-mtp-update-wrapper.apk=com.sonyericsson.mtp.extension.update
/vendor/app/ChromeCustomizations/ChromeCustomizations.apk=com.android.partnerbrowsercustomizations.chromeHomepage
/vendor/app/SSGTelemetryService/SSGTelemetryService.apk=com.qualcomm.qti.qms.service.telemetry
#----Core----
#/system/app/Bluetooth/Bluetooth.apk=com.android.bluetooth
#/system/app/BookmarkProvider/BookmarkProvider.apk=com.android.bookmarkprovider
#/system/app/BuiltInPrintService/BuiltInPrintService.apk=com.android.bips
#/system/app/CameraAddonPermission-release/CameraAddonPermission-release.apk=com.sonymobile.camera.addon.permission
#/system/app/CameraCommonPermission-release/CameraCommonPermission-release.apk=com.sonymobile.cameracommon.permission
#/system/app/CameraExtensionPermission-release/CameraExtensionPermission-release.apk=com.sonyericsson.cameraextension.permission
#/system/app/CaptivePortalLogin/CaptivePortalLogin.apk=com.android.captiveportallogin
#/system/app/CarrierDefaultApp/CarrierDefaultApp.apk=com.android.carrierdefaultapp
#/system/app/CertInstaller/CertInstaller.apk=com.android.certinstaller
#/system/app/CompanionDeviceManager/CompanionDeviceManager.apk=com.android.companiondevicemanager
#/system/app/DisplayBooster/DisplayBooster.apk=com.sonymobile.displaybooster
#/system/app/FidoCryptoService/FidoCryptoService.apk=com.qualcomm.qti.auth.fidocryptoservice
#/system/app/FingerprintExtensionService/FingerprintExtensionService.apk=com.fingerprints.extension.service
#/system/app/HTMLViewer/HTMLViewer.apk=com.android.htmlviewer
#/system/app/IddPermissionApplicationCertificate/IddPermissionApplicationCertificate.apk=com.sonymobile.idd.permission.application_certificate
#/system/app/Iengine/Iengine.apk=com.sonymobile.intelligent.iengine
#/system/app/ImageProcessorPermission-release/ImageProcessorPermission-release.apk=com.sonymobile.imageprocessor.permission
#/system/app/IntelligentObserver/IntelligentObserver.apk=com.sonymobile.intelligent.observer
#/system/app/KeyChain/KeyChain.apk=com.android.keychain
#/system/app/LiveWallpapersPicker/LiveWallpapersPicker.apk=com.android.wallpaper.livepicker
#/system/app/ManagedConfigAdminStub-release/ManagedConfigAdminStub-release.apk=com.sonymobile.enterprise.managedconfigadmin
#/system/app/NfcNci/NfcNci.apk=com.android.nfc
#/system/app/PacProcessor/PacProcessor.apk=com.android.pacprocessor
#/system/app/QtiTelephonyService/QtiTelephonyService.apk=com.qualcomm.qti.telephonyservice
#/system/app/SecureElement/SecureElement.apk=com.android.se
#/system/app/SemcAutoPowerOff/SemcAutoPowerOff.apk=com.sonyericsson.autopoweroffservice
#/system/app/SemcClock-somclive-release/SemcClock-somclive-release.apk=com.sonyericsson.organizer
#/system/app/SemcSettings/SemcSettings.apk=com.sonyericsson.settings
#/system/app/SemcSimDetection/SemcSimDetection.apk=com.sonyericsson.simdetection
#/system/app/ServiceMenu/ServiceMenu.apk=com.sonyericsson.android.servicemenu
#/system/app/SimAppDialog/SimAppDialog.apk=com.android.simappdialog
#/system/app/SimSettings/SimSettings.apk=com.qualcomm.qti.simsettings
#/system/app/SmartPrediction/SmartPrediction.apk=com.sonymobile.prediction
#/system/app/SomcExtGps/SomcExtGps.apk=com.sonymobile.gps.extension
#/system/app/SoundEnhancement/SoundEnhancement.apk=com.sonyericsson.soundenhancement
#/system/app/Stk/Stk.apk=com.android.stk
#/system/app/TetherEntitlementCheck/TetherEntitlementCheck.apk=com.sonyericsson.tetherentitlementcheck
#/system/app/TransmitPower/TransmitPower.apk=com.sonymobile.transmitpower
#/system/app/WAPPushManager/WAPPushManager.apk=com.android.smspush
#/system/app/XperiaConfigurator-release/XperiaConfigurator-release.apk=com.sonymobile.deviceconfigtool
#/system/app/btidd/btidd.apk=com.sonymobile.btidd
#/system/app/com.swiftkey.swiftkeyconfigurator/com.swiftkey.swiftkeyconfigurator.apk=com.swiftkey.swiftkeyconfigurator
#/system/app/com.touchtype.swiftkey/com.touchtype.swiftkey.apk=com.touchtype.swiftkey
#/system/app/datastatusnotification/datastatusnotification.apk=com.qti.qualcomm.datastatusnotification
#/system/app/device-monitor/device-monitor.apk=com.sonyericsson.devicemonitor
#/system/app/embms/embms.apk=com.qualcomm.embms
#/system/app/externalkeyboardsinternational-release/externalkeyboardsinternational-release.apk=com.sonymobile.android.externalkeyboard
#/system/app/skin-core-release/skin-core-release.apk=com.sonymobile.runtimeskinning.core
#/system/app/skin-effects-release/skin-effects-release.apk=com.sonymobile.runtimeskinning.effects
#/system/app/skin-picker-release/skin-picker-release.apk=com.sonymobile.runtimeskinning.picker
#/system/app/smtofrgbc/smtofrgbc.apk=com.sonymobile.smtofrgbc
#/system/app/white-balance/white-balance.apk=com.sonymobile.whitebalance
#/system/framework/framework-res.apk=android
#/system/priv-app/ApnUpdater/ApnUpdater.apk=com.sonymobile.apnupdater
#/system/priv-app/ArtFilterCamera-xhdpi-release/ArtFilterCamera-xhdpi-release.apk=com.sonyericsson.android.addoncamera.artfilter
#/system/priv-app/BackupRestoreConfirmation/BackupRestoreConfirmation.apk=com.android.backupconfirm
#/system/priv-app/BlockedNumberProvider/BlockedNumberProvider.apk=com.android.providers.blockednumber
#/system/priv-app/CNEService/CNEService.apk=com.quicinc.cne.CNEService
#/system/priv-app/CalendarProvider/CalendarProvider.apk=com.android.providers.calendar
#/system/priv-app/CallLogBackup/CallLogBackup.apk=com.android.calllogbackup
#/system/priv-app/CameraCommon/CameraCommon.apk=com.sonymobile.cameracommon
#/system/priv-app/CameraPanorama-release/CameraPanorama-release.apk=com.sonyericsson.android.camera3d
#/system/priv-app/CarrierConfig/CarrierConfig.apk=com.android.carrierconfig
#/system/priv-app/Contacts/Contacts.apk=com.sonymobile.android.contacts
#/system/priv-app/ContactsProvider/ContactsProvider.apk=com.android.providers.contacts
#/system/priv-app/CoreSettings/CoreSettings.apk=com.sonymobile.coresettings
#/system/priv-app/CustomizationSelector/CustomizationSelector.apk=com.sonymobile.customizationselector
#/system/priv-app/CustomizedSettings/CustomizedSettings.apk=com.sonyericsson.customizedsettings
#/system/priv-app/DefaultContainerService/DefaultContainerService.apk=com.android.defcontainer
#/system/priv-app/DeviceSecurityService/DeviceSecurityService.apk=com.sonymobile.devicesecurity.service
#/system/priv-app/Dialer2/Dialer2.apk=com.sonymobile.android.dialer
#/system/priv-app/DocumentsUI/DocumentsUI.apk=com.android.documentsui
#/system/priv-app/DownloadProvider/DownloadProvider.apk=com.android.providers.downloads
#/system/priv-app/DownloadProviderUi/DownloadProviderUi.apk=com.android.providers.downloads.ui
#/system/priv-app/EmergencyInfo/EmergencyInfo.apk=com.android.emergency
#/system/priv-app/EnterpriseService/EnterpriseService.apk=com.sonymobile.enterprise
#/system/priv-app/EnterpriseSystemService/EnterpriseSystemService.apk=com.sonymobile.enterprise.service
#/system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk=com.android.externalstorage
#/system/priv-app/FusedLocation/FusedLocation.apk=com.android.location.fused
#/system/priv-app/GetSetClient-release/GetSetClient-release.apk=com.sonymobile.getset
#/system/priv-app/GetSetSystem-release/GetSetSystem-release.apk=com.sonymobile.getset.priv
#/system/priv-app/ImageEnhancer/ImageEnhancer.apk=com.sonymobile.imageenhancer
#/system/priv-app/InputDevices/InputDevices.apk=com.android.inputdevices
#/system/priv-app/IntelligentBacklight/IntelligentBacklight.apk=com.sonymobile.intelligent.backlight
#/system/priv-app/IntelligentGesture/IntelligentGesture.apk=com.sonymobile.intelligent.gesture
#/system/priv-app/LockscreenSettings-common-release/LockscreenSettings-common-release.apk=com.sonyericsson.lockscreen.uxpnxt
#/system/priv-app/MediaProvider/MediaProvider.apk=com.android.providers.media
#/system/priv-app/MmsService/MmsService.apk=com.android.mms.service
#/system/priv-app/MtpDocumentsProvider/MtpDocumentsProvider.apk=com.android.mtp
#/system/priv-app/MusicFX/MusicFX.apk=com.android.musicfx
#/system/priv-app/NfcExtraResources/NfcExtraResources.apk=com.sonymobile.nfcextension.nfcextraresources
#/system/priv-app/ProxyHandler/ProxyHandler.apk=com.android.proxyhandler
#/system/priv-app/RemoteUnlockService/RemoteUnlockService.apk=com.sonymobile.simlock.service
#/system/priv-app/SEMCSetupWizard/SEMCSetupWizard.apk=com.sonyericsson.setupwizard
#/system/priv-app/SemcCameraUI-xhdpi-release/SemcCameraUI-xhdpi-release.apk=com.sonyericsson.android.camera
#/system/priv-app/SemcPhotoEditor/SemcPhotoEditor.apk=com.sonyericsson.photoeditor
#/system/priv-app/SemcPowerSaveModule/SemcPowerSaveModule.apk=com.sonyericsson.psm.sysmonservice
#/system/priv-app/SemcStorageChecker/SemcStorageChecker.apk=com.sonymobile.storagechecker
#/system/priv-app/SemcTelephonyProvider/SemcTelephonyProvider.apk=com.android.providers.telephony
#/system/priv-app/Settings/Settings.apk=com.android.settings
#/system/priv-app/SettingsIntelligence/SettingsIntelligence.apk=com.android.settings.intelligence
#/system/priv-app/SettingsProvider/SettingsProvider.apk=com.android.providers.settings
#/system/priv-app/SharedStorageBackup/SharedStorageBackup.apk=com.android.sharedstoragebackup
#/system/priv-app/Shell/Shell.apk=com.android.shell
#/system/priv-app/SmartCharger-release/SmartCharger-release.apk=com.sonymobile.smartcharger
#/system/priv-app/SmartCleaner/SmartCleaner.apk=com.sonymobile.smartcleaner
#/system/priv-app/SomcColorGamut/SomcColorGamut.apk=com.sonymobile.colorgamut
#/system/priv-app/SomcExtTelephony/SomcExtTelephony.apk=com.sonymobile.telephony.extension
#/system/priv-app/SomcGloveMode/SomcGloveMode.apk=com.sonymobile.glovemode
#/system/priv-app/SomcIndeviceIntelligence-release/SomcIndeviceIntelligence-release.apk=com.sonymobile.indeviceintelligence
#/system/priv-app/SomcWifiDisplay/SomcWifiDisplay.apk=com.sonymobile.tvout.wifidisplay
#/system/priv-app/SomcWifiService/SomcWifiService.apk=com.sonymobile.wifi
#/system/priv-app/SoundPhotoCamera-xhdpi-release/SoundPhotoCamera-xhdpi-release.apk=com.sonymobile.android.addoncamera.soundphoto
#/system/priv-app/StatementService/StatementService.apk=com.android.statementservice
#/system/priv-app/StorageManager/StorageManager.apk=com.android.storagemanager
#/system/priv-app/SuperStamina/SuperStamina.apk=com.sonymobile.superstamina
#/system/priv-app/SwiqiSystemService/SwiqiSystemService.apk=com.sonymobile.swiqisystemservice
#/system/priv-app/SystemUI/SystemUI.apk=com.android.systemui
#/system/priv-app/TeleService/TeleService.apk=com.android.phone
#/system/priv-app/Telecom/Telecom.apk=com.android.server.telecom
#/system/priv-app/TelephonyThermalCheck/TelephonyThermalCheck.apk=com.sonymobile.telephonythermalcheck
#/system/priv-app/TimeShiftCamera-release/TimeShiftCamera-release.apk=com.sonymobile.android.addoncamera.timeshift
#/system/priv-app/USMHome/USMHome.apk=com.sonymobile.usm
#/system/priv-app/UserDictionaryProvider/UserDictionaryProvider.apk=com.android.providers.userdictionary
#/system/priv-app/VpnDialogs/VpnDialogs.apk=com.android.vpndialogs
#/system/priv-app/WallpaperCropper/WallpaperCropper.apk=com.android.wallpapercropper
#/system/priv-app/WfdService/WfdService.apk=com.qualcomm.wfd.service
#/system/priv-app/assist_app-release/assist_app-release.apk=com.sonymobile.assist
#/system/priv-app/com.qualcomm.location/com.qualcomm.location.apk=com.qualcomm.location
#/system/priv-app/enhancedusbux/enhancedusbux.apk=com.sonyericsson.usbux
#/system/priv-app/ims/ims.apk=org.codeaurora.ims
#/system/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk=com.qualcomm.qcrilmsgtunnel
#/vendor/app/ConnectionSecurityService/ConnectionSecurityService.apk=com.qualcomm.qti.qms.service.connectionsecurity
#/vendor/app/TimeService/TimeService.apk=com.qualcomm.timeservice
---Important---
You can go back if you screw something
to enable disabled app
Code:
adb shell pm enable <name of package>
to install "uninstalled" app
Code:
adb shell cmd package install-existing <name of package>
my setup: xZ1c stock G8441_47.2.A.11.228, Android 9 + Magisk 20.1 + TWRP 3.3.1
This seems like a good thread to ask.
I went a step further to debloat my XZ1C and deleted all the apks that I thought were unnecessary.
Unfortunately i I deleted the apk responsible for the video editor (the one that pops up for example after taking a 120fps video with the stock camera app). I thought the apk was the one for the movie creator but instead it was the video editor.
I wish for a kind soul to
1. Tell me the package name of the video editor so I won't delete it again.
2. Upload the untouched apk for me so that I can restore it \ tell me how to extract it from the original ftf
reserved for rooted devices optimizations
It removed Play store.
OP thanks for posting this. I think I might try it out. I currently have Lineage 16 on my XZ1 Compact but it has issues with 5Ghz wifi and in my circumstance, I need to put on airplane mode for the GPS to work.
100% newb question - how do I run the script in adb? I've used adb to disable/enable apps but how do I run a batch file? I tried to find answers online but no solid answers.
Edit: found the answer - I double clicked the bat file.
@megaice
"Root not needed for debloat, but necessary for further optimizations. (with underclocked CPUs, tuned RUN_IN_BACKGROUND privilege and BOOT_COMPLETED intent action of installed/system apps, you can reach 7 days on one charge - with deepsleep active 92% of time. /No wakelock tuning/) "
Are this further optimization implemented?
Sent from my [device_name] using XDA-Developers Legacy app
After applying this debloating script, I lag when I go to bluetooth > connection preferences, it works but freezer for 10 seconds, solution?
Edit: Installing uninstalled apps doesn't work, or how to get it work exactly? Use app path or just package name? Does apk has to be on PC or not? Need explanation :/
@megaice thanks for this script.
is it possible to modify the script so it uninstalls the app for all users, not just current or default user?
how to add packages to the script? i have some packages in my version of stock rom, e.g. Prime Video, for which I can't locate the package in /system/app or /system/priv-app
thanks!
wyt18 said:
@megaice thanks for this script.
is it possible to modify the script so it uninstalls the app for all users, not just current or default user?
how to add packages to the script? i have some packages in my version of stock rom, e.g. Prime Video, for which I can't locate the package in /system/app or /system/priv-app
thanks!
Click to expand...
Click to collapse
Hi There,
1) script curently "uninstalls" app for all users, it uninstall it for user 0 (user 0 = root), so all users are affected.
2) you can list and sort installed packages in you rom by android shell command "pm list packages -f". switch -f means show install path. Some examples are here.
Frano35 said:
After applying this debloating script, I lag when I go to bluetooth > connection preferences, it works but freezer for 10 seconds, solution?
I am using bluetooth with BT repro/audio on car and home system without a problem. Did you try connect to other BT hardware?
Edit: Installing uninstalled apps doesn't work, or how to get it work exactly? Use app path or just package name? Does apk has to be on PC or not? Need explanation :/
Click to expand...
Click to collapse
If you want back uninstalled app, you can enable it by "adb shell cmd package install-existing <package_name_of_app>". The app is still on rom in your phone, just deactivated.
[email protected] said:
@megaice
Are this further optimization implemented?
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
Hi, not in .bat files. It's hand work with 2-3 applications. i want to do a bash script, but had no time for it. (family, RL) maybe later.
techno-viking said:
OP thanks for posting this. I think I might try it out. I currently have Lineage 16 on my XZ1 Compact but it has issues with 5Ghz wifi and in my circumstance, I need to put on airplane mode for the GPS to work.
100% newb question - how do I run the script in adb? I've used adb to disable/enable apps but how do I run a batch file? I tried to find answers online but no solid answers.
Edit: found the answer - I double clicked the bat file.
Click to expand...
Click to collapse
Hi Techno-wiking.
Yea, just double bash it with your sword. Btw. you nickname brings back (video) memories....
andacro said:
It removed Play store.
Click to expand...
Click to collapse
Hi there.
Yea, it's feature. You can edit the script and enable google bloat if you want.
megaice said:
Hi There,
1) script curently "uninstalls" app for all users, it uninstall it for user 0 (user 0 = root), so all users are affected.
2) you can list and sort installed packages in you rom by android shell command "pm list packages -f". switch -f means show install path. Some examples are here.
Click to expand...
Click to collapse
thanks! I still see the apk files of the system apps I "uninstalled" when browsing my root folder at /system/app though. and total storage space used has not changed. is that meant to happen?
wyt18 said:
thanks! I still see the apk files of the system apps I "uninstalled" when browsing my root folder at /system/app though. and total storage space used has not changed. is that meant to happen?
Click to expand...
Click to collapse
Yes, as all it's doing is disabling, you're better off using Titanium Backup or you can use the pm uninstall -k --user 0 com.insertapp.name if you have root to remove them completely.
SXUsr said:
Yes, as all it's doing is disabling, you're better off using Titanium Backup or you can use the pm uninstall -k --user 0 com.insertapp.name if you have root to remove them completely.
Click to expand...
Click to collapse
thanks - i do have root and plan to try this approach, but would doing this make safetynet fail?
SXUsr said:
Yes, as all it's doing is disabling, you're better off using Titanium Backup or you can use the pm uninstall -k --user 0 com.insertapp.name if you have root to remove them completely.
Click to expand...
Click to collapse
just tried this but it does not uninstall - it surfaces an error and then does nothing. I'm also not able to uninstall using Titanium backup. Not sure why but I am on stock rom with magisk root, nothing special
wyt18 said:
just tried this but it does not uninstall - it surfaces an error and then does nothing. I'm also not able to uninstall using Titanium backup. Not sure why but I am on stock rom with magisk root, nothing special
Click to expand...
Click to collapse
Try adb shell first then the command.
SXUsr said:
Try adb shell first then the command.
Click to expand...
Click to collapse
yes, have already tried that of course ... error message says cannot uninstall. might be due to the internal drive being encrypted?
Great work! Saved me a lot of time looking for these unwanted package names.
However, the script broke my themes app. Sometimes it even shows a "has stopped" message.
Is this intentional or something went wrong? Which disabled app has to be re-enabled to fix it? Can't really find anything that could stop it from working.
I attached the customized "deb.xz1c.txt" file I've used.
Bash version of the script:
Code:
#!/bin/bash
set -eu
exec 3< ${1:-deb.xz1c.txt}
while read -u 3 LINE; do
[[ $LINE =~ ^#|^$ ]] && continue
APP=${LINE##*=}
echo ======= $APP =======
adb shell am force-stop $APP
adb shell pm clear $APP
if [[ $LINE =~ ^@ ]]; then
adb shell pm disable-user $APP ||:
else
adb shell pm uninstall -k --user 0 $APP ||:
fi
done

Stock gallery3d apk needed

Hello, can I kindly ask for link to stock gallery3d apk 'cause after debloating by uninstall command in adb I removed it. I don't wanna do factory reset. Reinstalling command is not working but it's obvious since it is not disabled.
I did it myself. For everyone who don't know how to reinstall app after uninstalling it with adb.
Go to adb again. Type adb shell after that you need to enable deleted package typing pm enable com.coloros.gallery3d after that you need to install package typing package install-existing com.coloros.gallery3d (or pm install-existing com.coloros.gallery3d - I forgot what exactly I type). After that everything is working.
Were you able to uninstall game center and app market safely?

[GUIDE][Bloatware] Uninstall carrier/OEM bloatware from Motorola Stock ROM [Android 12+]

Hi everyone,
Follow the procedure to remove / uninstall bloatware from Motorola Stock Rom.
This guide applies to Motorola Android 12 and Android 13 but I've pretty sure this can be adapted to others roms and brands.
Originally adapted from: https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
Step1:
Ensure that you have ADB installed on your computer.
Enable USB Debugging.
Inside ADB folder (Open command/PowerShell)
Type adb devices (ensure that your phone is connected)
From your phone authorize a connection with the computer.
Step2:
After the connection has benn established type:
adb shell
pm list packages
Copy the list and paste into a notepad or other app that you like
find all the packages with: "package:com.motorola."
Step3:
Removing the apps that you don't want.
pmuninstall -k --user 0 NameOfPackage
pm uninstall -k --user 0 com.motorola.motocare <Hit enter>
Click to expand...
Click to collapse
Expected: result Success
You can find the package name in the Google Play Store: https://play.google.com/store/apps
Search for the app you want to uninstall, for example: Moto AI Services and copy the packname in the link: https://play.google.com/store/apps/details?id=com.motorola.aiservices
id=com.motorola.aiservices
Click to expand...
Click to collapse
Here is a list of the packages that I uninstall without problems:
com.motorola.motocare
com.motorola.ccc.notification
com.motorola.dimo
com.motorola.moto
com.motorola.spaces
com.motorola.aiservices
com.inmobi.weather
com.motorola.securityhub
com.motorola.brapps
com.motorola.gamemode
Click to expand...
Click to collapse
Note: After remove those packages you can run the command pm list packages to check the updated list of the packages.
Are there many other apps that you can uninstall by this command, just check the app and dependencies to not crash the integrity of the Android OS.

Categories

Resources