Related
Hi there,
I'm nearly certain that there is some interesting glitch that I should hunt for to get Google Play working. Has anyone any experience how to troubleshoot / investigate and look for "why google play doesn't sign in"?.
The reason i'm so certain is that I've tried all the major ways of getting it to run and none of them worked and there are no more ways on the internet to try. So the only option is to analyse it in deeper. If there's quite a good knowledge around I'd be happy to do a few tests.
Firstly, i've installed remix os from Arch linux. And the installation at the end ended up being so awesome easy, that now I can reinstall Remix OS in like 2 minutes (good for testing).
Environment: Asus EeePC 1000h;
Currently installed 'N' boot OS'es:
* windows 98
* windows 7
* arch linux
* remix os
The installation of Remix OS from Arch Linux:
* created ~50GB hard drive partition as extended partition
* made the partition ext4 type and mounted it
* extracted [initrd.img, system.sfs, ramdisk.img, kernel] to new partition
* edited /etc/grub.d/40_custom and inserted new lines:
Code:
if [ "${grub_platform}" == "pc" ]; then
menuentry "Remix OS 2.0 Resident"{
insmod ext2
insmod part_gpt
set root='hd0.msdos8' #my remix os is going to be installed /dev/sda8. so this line was my "guess"
search --file --no-floppy --set=root /system.img
linux /kernel root=/dev/ram0 androidboot.hardware=remix_x86 androidboot.selinux=permissive CMDLINE #i'm using x86, if you need - change it to x86_64
initrd /initrd.img
}
fi
* grub-mkconfig -o /boot/grub/grub.cfg (make a backup of grub.cfg before executing)
* grub-install /dev/sda
* create directory "data" in the mounted partition
Whoalia. The thing I've noticed is that one I start Remix OS, it extracts all of his data into /data directory. So, when ever I want to reinstall remix, i simply boot up my Arch linux and delete the "data" folder recursively and create it over again. After booting up remix os, I've tried installing Google play in numerous ways without any success and that's what bothers me no.
Sharing my process:
1. Downloaded GMSInstaller.apk (besides trying GMSInstaller.apk, i've tried some other APK's as well)
2. Installed APK file and run it.
3. Clicked on "One-click to install Google Services" (this will automatically download google play services)
4. cleared cache of all 3: play, framework and service
5. rebooted, google play didn't work
6. cleared cache again and repeated 5-6 for 2 times
7. tried clearing google play cache only, rebooted and tried to launch google play - still couldn't sign.
8. reinstalled remix os (deleted /data and let the os reextract it self)
9. went for the local copy by executing as root:
Code:
pm disable com.jide.apppolicy
pm enable com.android.vending
pm enable com.google.android.gms
pm enable com.google.android.gsf
pm enable com.google.android.gsf.login
repeated 4-6 steps afterward, still cannot sign in (and all caches are cleared numerous times).
10. reinstalled remix os (deleted /data and let the os reextract it self)
11. used Remix Central to install google play
12. repeated 4-6 steps afterward, still cannot sign in (and all caches are cleared numerous times).
13. random gues from internet
lookung at /etc/hosts and found the default entry of local host
How should I continue investigation further on?
FINAL RESULT:
Google play worked only with Remix OS for PC Hacked Edition [ v2.0.205 included/Prerooted/Busybox/init.d/Gapps] on ASUS EEEPC 1000H!!! WOOHOOO!
Looking towards it working on latest build...
I'm having the same issues with Google Play using VirtualBox. Tried all the fixes and still no-go. I'll keep an eye here for a fix.
the latest "plain test" which didn't change anything
ZiQn3zZ said:
1- Reboot fresh and don't do anything besides what's listed below.
2- Open your apps and click/tap on "Remix Central"
3- Click/tap on "Google Services Installer" (green ". . ." icon)
4- Inside "Google Services Installer", click/tap on "Install Google Services"
5- Reboot IMMEDIATELY. Do NOT sign-in to anything.
6- Everything should work, now.
Click to expand...
Click to collapse
Okey, doing it "live":
1. launching clean install (2016-07-11 10:26) and made a small break
2. select your language -> English (10:34)
3. user agreement (10:34)
4. wifi setup (10:35)
5. setup completed (10:35)
6. remix central (10:36)
7. reloaded remix central twice (wasn't connected yet 10:36)
8. there's no "google services installer", so clicking on "Google Play Installer" instead (yeah, same green "..." icon, 10:37, clicking on download sign, since clicking on app doesn't work)
9. opening downloads 10:39
10. clicking on downloaded GSM_activ...apk. Google services installer launched , clicking install 10:39
11. Open after installation and clicking "install google services" 10:40
12. downloading / installing; Got a warning: "Installation completed. Please reboot your system to use google services". Pressing "ok" and keeping the rest installer window open(10:41)
13. selected to restart 10:42
14. restarting, selecting remix os to boot up, remis os logo shows up 10:43
15. Remix os booted up, The PC is online. 10:44
16. launching google play store to check it out 10:44
17 loading... and boom! "There was a problem communicating with google servers". Try again later. 10:45
18. Clicking on "next" which closed the google play 10:45
Confirming - it DOES NOT work on Asus EeePC 1000H
Extra:
19. Clearing cache of all 3 services:
Google play store - force stop; clear data;
Google play services - force stop; manage space->clear all data->ok; and force stop again (weird);
Google services frame work - force stop; clear data; ok; force stop again (weird)
20. reboot; booting up remix os (10:54)
21. launching google play store to check it out 10:55
22. loading... and boom! "There was a problem communicating with google servers". Try again later. 10:55
23. Clicking on "next" which closed the google play 10:55
24 shutting down for the next options to be tried.
Confirming - it DOES NOT work on Asus EeePC 1000H again
wizmart said:
ok then you could try remove your account, softreboot, set your account again and try playstore...
Click to expand...
Click to collapse
there are no accounts added at all...
If I try to add a google account, i get the same message, that it failed to connect to google play services.
and i can't find older versions to try as well. Will try adding random, other then google account:
* adding Appstore account doesnt work
* adding Google account fails with "unable to connect to google services"
* adding quickpic account didn't help - still "unable to connect to google services" (after adding and after removing)
Tried upgrading different parts of the play store system from apkmirror.com:
1. Upgraded google play services to v. 9.2.56 (270-124593566)
2. Cleared all caches and restarted pc - play didn't work
3. upgraded google services framework to v.5.1-1743759
4. cleared all caches and restarted pc - play didn't work
5. upgraded google play store to v.6.8.22.F-all [0] 3046094
6. cleared all caches and restarted pc - play didn't work
I think this was still better, because instead of "Loading..." it said "Checking..." but still failed at the end with the same final result.
Trying to remove all the updates:
1. removed google play services updates back to v.8.3.01 (2385995-274)
2. cleared all caches and restarted pc - play didn't work, but instead of failing with "unable to connect to services" it just crashed.
3. Trying to launch play again - play didn't work as usual;
4. cleared all cache, tried launching again - didn't help
5. downgraded google services framework to v.5.1-1743759
6. cleared all caches and restarted pc - play didn't work
7. downgraded google play to v.5.10.30
8. cleared all caches and restarted pc - play didn't work, but instead of failing with "unable to connect to services" it just crashed on launch
9. Trying to launch play again - play didn't work as usual;
Trying to uninstall various applications:
* amazon - didn't help
* android bb - didn't help
* canon print service - didn't help
* google services installer - didn't help
* hp print service plugin - didn't help
* force stopped all jide services and cleared their cache - didn't help
*reset device by erasing everything - didn't help
fresh install of remix os for the next test, installing pkg's from apkmirror.com in the following order:
* google account manager v. 5.1-1743759
* google services framework v.5.1-1743759
* google play services v. 9.2.56 (270-124593566)
* google play store v.6.8.22.F-all [0] 3046094
* none opened after installed
* none appeared in settings->applications after installation
edit:
had to do previous code to enable services:
Code:
pm disable com.jide.apppolicy
pm enable com.android.vending
pm enable com.google.android.gms
pm enable com.google.android.gsf
pm enable com.google.android.gsf.login
rebooted and play failed...
* tried to clear cache after last try - failed
*downgraded current version of google play service to stock and tried dumb luck on launching google play again - failed
*cleared cache just to make sure that no magic happened here and failed on google play again.
*trying different builds of the latest google play service:
*9.2.56 (070-124593566) - fail before and after cache clearing / rebooting; however started to receive strange notification: "Google play services won't run unless you update google play services". Lol, no accounts created (empty)
* 9.2.56 (270-124593566) - was tested already in previous attempts, moving blindly with other versions...
* 9.2.56 (280-124593566) - that would be hell of the fun if worked (TV version)... but as expected after cache clear and reboot - failed, and no account created as well
* 9.2.56 (470-124593566) - parse error, while trying to launch the package (no wonder because it's for android 6+)
* 9.2.56 (480-124593566) - same as before
* 9.2.56 (876-124593566) - cleared cache, reboot - same results (failed to connect...)
* downgrading google play to default version for fun to check how it doesnt work with 9.2.56 (876-124593566) - yep, it still doesn't work
* upgrading play back up, since it's most likely google play services problem...
conclusion: * (27*) builds should be tested at any version in future tests.
I'm having the same problem on my Sony Vaio laptop booting from grub2 from my Ubuntu install.
tried to install couple of different versions:
* Google Play services 9.2.55, build (070-124180755) - although apk is x86, but it fails to work on pc since it's suited for android < 5, that is 070 built. Pointless test (however no other x86 of this version was found on apkmirror)
* Google Play services 9.0.83, build (9083270) - same results on failing to sign.
Starting to consider if it's worthy to test any older versions at all...
Testing another version of Remix OS for PC Hacked Edition [ v2.0.205 included/Prerooted/Busybox/init.d/Gapps]
* extracted [initrd.img, system.img, ramdisk.img, kernel] to new partition - ATTENTION, IT'S system.img not system.sfs as in latest Remis OS
* edited /etc/grub.d/40_custom and the right lines (same as on first post, changed system.sfs to system.img)
* grub-mkconfig -o /boot/grub/grub.cfg
* grub-install /dev/sda
* create directory "data" in the mounted partition
*after launch / installation it seems that google play isn't accessable by default as well... oh well ... let's try old stuff:
Code:
pm disable com.jide.apppolicy
pm enable com.android.vending
pm enable com.google.android.gms
pm enable com.google.android.gsf
pm enable com.google.android.gsf.login
* clearing cache of all 3 + stopping service and rebooting PC at the end
*AND IT WORKS!!!! (now i wish it would work with original version!)
Remix OS for PC Hacked Edition [ v2.0.205 included/Prerooted/Busybox/init.d/Gapps] with Google play works on ASUS EEEPC 1000H!!! WOOHOOO!
Now going to do some tests with google play
I gave it another reboot and it started to download and install applications . Cheers!
I have got a Android Box i.e. MXQ Pro+ 4K from China, which is working fine except one problem of Google PlayStore updating itself to an incompatible version again and again.
It came with PlayStore 5.1.x version which was automatically updated to the "7.5.08.M-xhdpi [8] [PR] 146162341" (latest) but 8 is indicating that its for Android TV. Now when I try to run PlayStore it gives message "This app is incompatible with this device....".
Since the box is already rooted so I installed PlayStore version 7.5.08.M-all [0] [PR] 146162341 by downloading and then moving to system apps. This version works fine but with in no time it updates it self again to version mentioned above (8 for TV) and stops working.
I tried couple of methods by creating empty folder with apk name and terminal emulator using chttr command etc but nothing worked till now.
Now every time when I have to use the PlayStore, I used to uninstall updated then run. Please suggest any possible solutions.
Thanks,
Hi, have a look here
http://android.stackexchange.com/qu...-stop-google-play-from-automatically-updating
vpandey said:
I have got a Android Box i.e. MXQ Pro+ 4K from China, which is working fine except one problem of Google PlayStore updating itself to an incompatible version again and again.
It came with PlayStore 5.1.x version which was automatically updated to the "7.5.08.M-xhdpi [8] [PR] 146162341" (latest) but 8 is indicating that its for Android TV. Now when I try to run PlayStore it gives message "This app is incompatible with this device....".
Since the box is already rooted so I installed PlayStore version 7.5.08.M-all [0] [PR] 146162341 by downloading and then moving to system apps. This version works fine but with in no time it updates it self again to version mentioned above (8 for TV) and stops working.
I tried couple of methods by creating empty folder with apk name and terminal emulator using chttr command etc but nothing worked till now.
Now every time when I have to use the PlayStore, I used to uninstall updated then run. Please suggest any possible solutions.
Thanks,
Click to expand...
Click to collapse
Tried all the methods given on that page but it seems nothing is working. PlayStore now makes new folders for updating it self to latest version. Like com.android.vending-2 , ...vending-3, vending-4 and so on.
starkman said:
Hi, have a look here
http://android.stackexchange.com/qu...-stop-google-play-from-automatically-updating
Click to expand...
Click to collapse
I have the same problem but my model is t95n mini m8s(s905x version). Is there a setting that was changed that makes playstore thinks it is an android tv device? The device came with the tv version of youtube.
Edit: Look another guy with the problem. Could this be a problem with the latest play store?
https://forum.xda-developers.com/an...xqpro-google-play-store-giving-error-t3562673
Same problem
I also have the same problem. Any updates on this?
ThuG_PoeT said:
I also have the same problem. Any updates on this?
Click to expand...
Click to collapse
you can try uninstall updated on play services and also on google play, and then maybe it will work. Please get the answer if it's working on not, because is here another solution, you can change some lines on build.prop file in system folder and also added new permission which is included in Android TV, and then you will have playstore like for android TV with android TV content.
Try to find the plalystore apk folder from stock rom for example system/priv-app/phonesky/phonesky.apk (this for h96 pro+) backup it on another folder with rootexplorer...
Use aptoide to update it you will receive an error like app cant install, you will receive this warning every time that try update it, even with the versions most new.
Find downloaded playstore.apk on sdcard .aptoide folder and rename it with the name of the older phonesky.apk.
If you are root try uninstalling playstore with root uninstaller, the folder that contains the old phonesky.apk will be empty (system/priv-app/phonesky/)... you can now copy the new playstore renamed (phonesky.apk) to this folder.
After this, you now try to install newest playstore as system app with root uninstaller with the installer tab, when the process is completed push reboot now.
At this way I have get working the latest version of the playstore 7.9.30 without any errors, you must repeat all process everytime aptoide find new update of playstore
srclooney said:
Try to find the plalystore apk folder from stock rom for example system/priv-app/phonesky/phonesky.apk (this for h96 pro+) backup it on another folder with rootexplorer...
Use aptoide to update it you will receive an error like app cant install, you will receive this warning every time that try update it, even with the versions most new.
Find downloaded playstore.apk on sdcard .aptoide folder and rename it with the name of the older phonesky.apk.
If you are root try uninstalling playstore with root uninstaller, the folder that contains the old phonesky.apk will be empty (system/priv-app/phonesky/)... you can now copy the new playstore renamed (phonesky.apk) to this folder.
After this, you now try to install newest playstore as system app with root uninstaller with the installer tab, when the process is completed push reboot now.
At this way I have get working the latest version of the playstore 7.9.30 without any errors, you must repeat all process everytime aptoide find new update of playstore
Click to expand...
Click to collapse
Thanks!!!!!!! i wasnt able to install the new version of playstore in the same android tv the h96 pro+ but with your steps i was able to update it.
in the step of installing the new version with the instaler i drop me the same error when i was triying to update normally i reboot it and then appeared the mensage of Optimizing applications and then the playstore icon changed to the new and it works!!!
Barquillo said:
Thanks!!!!!!! i wasnt able to install the new version of playstore in the same android tv the h96 pro+ but with your steps i was able to update it.
in the step of installing the new version with the instaler i drop me the same error when i was triying to update normally i reboot it and then appeared the mensage of Optimizing applications and then the playstore icon changed to the new and it works!!!
Click to expand...
Click to collapse
Me alegro mucho de que te funcionara.
TX5/8 Marshmallow Google Play won't update install_failed_package_changed
So I've been struggling with the dreaded constant "Unfortunately, Google Play store has stopped" message on two IPTV boxes, a TX5pro and TX8 both running Marshmallow. The first time it happened, I came to the conclusion that the Google Play Store added a feature which requires an update that fails to install. Prior to this I had no idea that it could NOT self-update, so the problem existed from day one.
The Google Play Store has both a system and update component which exist in different locations. The system one resides at /system/priv-app/Phonesky/Phonesky.apk while the update apk should be located at /data/app/com.android.vending-[#]. In my case the latter does not exist.
Oddly Google Play Services has the same framework of system app at /system/priv-app/Prebuilt-gms-core.apk but it does have an update entry at /data/app/com.google.android.gms-[#]. It's important to note that the Google Play Store app is the only one I've encountered problems with installing or updating.
I've compared directory and file permissions/owners/attributes, from a known working rooted tablet on Marshmallow, and found nothing out of the ordinary.
Using a root terminal emulator with Unknown Sources enabled, if I use the command "pm install Phonesky.apk" the error message is "install_failed_package_changed".
I can use these commands in the terminal to manually update the Play Store:
Code:
su
mount -o remount,rw /system
cp /sdcard/Download/Phonesky.apk /system/priv-app/Phonesky/Phonesky.apk
chmod 644 /system/priv-app/Phonesky/Phonesky.apk
mount -o remount,ro /system
reboot
A more thorough version which clears the dalvik:
Code:
su
mount -o remount,rw /system
rm /data/dalvik-cache/arm/[email protected]@[email protected]@classes.dex
rm /data/dalvik-cache/profiles/com.android.vending
rm /system/priv-app/Phonesky/Phonesky.apk
mount -o remount,ro /system
reboot
(after reboot)
su
mount -o remount,rw /system
cp /sdcard/Download/Phonesky.apk /system/priv-app/Phonesky/Phonesky.apk
chmod 644 /system/priv-app/Phonesky/Phonesky.apk
mount -o remount,ro /system
reboot
While both manual update methods work there is a crucial problem that becomes apparent when one compares the contents of the folders /system/priv-app/Phonesky/Phonesky.apk and /data/app/com.android.vending-[#]. The former contains just Phonesky.apk while that latter has the same as base.apk but it also extracts some of the libraries and other data. I suspect that the libraries are linked so that the ones in the update folder take precedence over those installed in system locations.
With the recent addition of Google's malware detection system "Play Protect", I think updating Phonesky.apk without extracting those libraries and giving them precedence is the cause of the "Unfortunately, Google Play store has stopped" message.
I decided to install an opengapps package using the RTAndroid Linux script https://github.com/RTAndroid/android_vendor_brcm_rpi3_scripts and that's resolved my "Unfortunately, Google Play store has stopped" message for now. The Play Store still won't self update and these appear to be the relevant log events.
Code:
09-08 06:16:30.951 D/DownloadManager( 4671): [1277] Finished with status SUCCESS
09-08 06:16:31.008 I/Finsky ( 7340): [1] com.google.android.finsky.download.DownloadBroadcastReceiver.a(12): Intent received at DownloadBroadcastReceiver
09-08 06:16:31.011 I/Finsky ( 7340): [1] com.google.android.finsky.download.n.a(116): com.android.vending: onProgress 18815483/18815483 Status: 200.
09-08 06:16:31.016 I/Finsky ( 7340): [1] com.google.android.finsky.download.e.a(49): com.android.vending from 2 to 3.
09-08 06:16:31.017 I/Finsky ( 7340): [1] com.google.android.finsky.download.n.e(144): com.android.vending: onComplete
09-08 06:16:31.017 I/Finsky ( 7340): [1] com.google.android.finsky.download.n.i(89): Download com.android.vending removed from DownloadQueue
09-08 06:16:31.018 I/installd( 3807): free_cache(0) avail 25029062656
09-08 06:16:31.020 I/Finsky ( 7340): [1] com.google.android.finsky.cc.a.f.onPostExecute(6): Self-update ready to be installed, waiting for market to close.
09-08 06:16:41.194 I/installd( 3807): free_cache(18815483) avail 25029054464
09-08 06:16:43.410 W/PackageManager( 6154): installPackageLI
09-08 06:16:43.431 I/art ( 6154): Starting a blocking GC Explicit
09-08 06:16:43.533 I/art ( 6154): Explicit concurrent mark sweep GC freed 152350(6MB) AllocSpace objects, 1(244KB) LOS objects, 33% free, 15MB/23MB, paused 1.684ms total 101.885ms
09-08 06:16:43.533 E/installd( 3807): Couldn't opendir /data/app/vmdl1199500518.tmp: No such file or directory
09-08 06:16:43.546 W/Finsky ( 7340): [1] com.google.android.finsky.cc.a.n.onReceive(14): Unable to abandon session 1199500518: java.lang.SecurityException: Caller has no access to session 1199500518
09-08 06:16:43.546 E/Finsky ( 7340): [1] com.google.android.finsky.cc.a.n.onReceive(27): Error -504 while installing com.android.vending: INSTALL_FAILED_PACKAGE_CHANGED: installPackageLI
09-08 06:18:02.318 I/Finsky ( 7340): [769] com.google.android.finsky.flushlogs.FlushLogsReceiver$FlushLogsService.onHandleIntent(10): Flushing event logs for []
09-08 06:18:02.319 I/PlayCommon( 7340): [722] com.google.android.play.a.g.e(244): Preparing logs for uploading
09-08 06:18:02.319 W/art ( 6359): Long monitor contention event with owner method=int libcore.io.Posix.readBytes(java.io.FileDescriptor, java.lang.Object, int, int) from Posix.java:4294967294 waiters=0 for 3.158s
09-08 06:18:02.328 I/PlayCommon( 7340): [770] com.google.android.play.a.g.e(244): Preparing logs for uploading
09-08 06:18:02.329 I/PlayCommon( 7340): [770] com.google.android.play.a.g.e(248): No file ready to send
09-08 06:18:02.339 D/su ( 7455): sending code
09-08 06:18:02.354 D/su ( 7457): child exited
09-08 06:18:02.354 D/su ( 7458): client exited 0
As a final note and warning, using the RTAndroid update script requires editing the bash script to identify the proper TIMESTAMP="20170907" VERSION="6.0" and VARIANT="pico" which can be derived from the list: https://github.com/opengapps/arm/releases/
The final part of the script fails and causes a constant "unfortunately setup wizard has stopped" after reboot which is fixed by enabling all "App Permissions" for the system app "Setup Wizard" (Contacts, Phone).
srclooney said:
Me alegro mucho de que te funcionara.
Click to expand...
Click to collapse
hello! For me doesn't work. The first method I go to the download files (I can't find anywhere the aptoide folder) and when I copy to the play store folder I just get that must be rooted first...
There are a zip with root flashable across the stock recovery for amlogic devices try search it on google.
The metod now is very easy copy playstore or renamed playstore.apk to the system/priv app/folder of play store ....and reboot.
srclooney said:
There are a zip with root flashable across the stock recovery for amlogic devices try search it on google.
The metod now is very easy copy playstore or renamed playstore.apk to the system/priv app/folder of play store ....and reboot.
Click to expand...
Click to collapse
but I must be rooted for that method right?
Yes, must be rooted
Hello, I have similar problem that Google play Store doesn't update itself on MXQ Pro 4K RK3229 Android 7 and I can't update even when installing from apk. I can only update it using root explorer and copying new version to system. I tried running adb logcat while running the update from apk and here is what it says:
11-23 01:38:19.098 515 541 D tangzh : ttttt forbid google play update!
11-23 01:38:19.098 515 541 W PackageManager: installPackageLI
11-23 01:38:19.159 183 183 E : Couldn't opendir /data/app/vmdl68316306.tmp: No such file or directory
11-23 01:38:19.185 3733 3733 D InstallAppProgress: Installation error code: 4
Click to expand...
Click to collapse
What is this "tangzh". Seems that it's blocking the update. Any one knows if it's possible to remove this block?
Hello sir in my phone i downloading any ap from playstore it starting but stock in 95 or 90 please tellme what do i do now
Hi.
I've seen this one but it's pretty obsolete so i'll better start a new topic here.
The story is trivial:
Got a Meizu MX5, installed King Root, uninstalled all the crap possible, including native calendar app.
Now trying to install a google calendar and it doesn't work:
- when open it says: "Calendar Storage disabled"
- hiting "Enable" button does nothing
So i googled and end up reinstalling native calendar app for Meizu MX.
That was successful.
After that reinstalled google calendar again, restarted my phone, cleaned the cache (seems like have done all possible permuations), still no luck.
Then found com.android.providers.calendar and tried to install it.
An error is:
Code:
INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES
.
Then tried to remove calendar storage: adb uninstall
Code:
com.android.providers.calendar
results in error
Code:
DELETE_FAILED_INTERNAL_ERROR
.
Maybe i'm trying to uninstall package that doesn't exist ?
Here are possible ones:
Code:
adb shell 'pm list packages -f' | grep calendar
:
Code:
package:/data/app/com.android.calendar-1/base.apk=com.android.calendar
package:/system/priv-app/CalendarProvider/CalendarProvider.apk=com.android.providers.calendar
package:/data/app/com.google.android.calendar-1/base.apk=com.google.android.calendar
package:/system/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk=com.google.android.syncadapters.calendar
So, at this point i kind of stuck.
Any help ?
Thanks.
Guide
Debloat XZ1 with ADB
WARNING: WORK IN PROGRESS
Preamble
First of all it should be mentioned that in the worst case your device has to be reset to factory settings. All the bloatware you will "remove" in the following hours and days will still remain on the device. So it's not about freeing up storage, but about hiding unwanted functionality, potentially increasing battery life, and freeing up some memory. However, to completely remove pre-installed software from your device, you must have root privileges. I personally advise against "rooting" a new device that will still receive security updates for some time. In most cases the process of acquiring root privileges, or at least the subsequent operations on the device, will lead to a loss of warranty. But that is only my opinion. I am not aware of any case in which the use of ADB with user rights led to a loss of warranty.
Requirements
ADB (Android Debug Bridge)
Arch-based $ sudo pacman -Syu android-tools
Debian-based $ sudo apt-get install adb
Fedora-based $ sudo yum install android-tools
Windows/mac https://www.xda-developers.com/install-adb-windows-macos-linux/
Sony Xperia XZ1 (should also work for other Xperia devices with Oreo)
Stock firmware
No root privileges required
"USB debugging" enabled in developer options⁰
Time
Background & Commands
Introduction
The android debug bridge provides the right tool to remove the bloatware: The included package manager (pm) will become your best friend for now. I strongly recommend reading the official documentation if you have any questions after reading this section.
Notes on style
Every line of code with a leading $ is followed by a command. So lines without that are command output. If there is code written in italics you should expect other output or modify the command according to your needs. The # is used for line comments.
Getting started
First of all you start an ADB shell. Since this shell is quite limited, all following commands can alternatively be executed directly by prefixing adb shell. This could be useful later e.g. for scripting.
Code:
$ adb shell
Gathering information
After the shell has started, you probably want to collect information about the installed bloatware. The first place you can do that is the package list. Note that the commands implicitly add --user 0 which is your main user or "admin". Also the pm list command will be replaced by cmd package in the future but is more handy right now.
Code:
$ pm list packages -s -d |sort [color="green"]# Sorted list of all disabled system packages[/color]
$ pm list packages -s -e |sort [color="green"]# Sorted list of all enabled system packages[/color]
$ pm list packages -s -u |sort [color="green"]# Sorted list of all system packages including uninstalled ones[/color]
To show only uninstalled packages you can use the following command outside the ADB shell.
Code:
grep -vf <(adb shell pm list packages -s |sort) <(adb shell pm list packages -s -u |sort)
If you don't know the exact package name, you can specify a filter behind pm list packages or work with dumpsys and grep. There are, however, nicer methods respectively apps that take away the manual name resolution.
Code:
$ pm list packages [i]sony[/i] [color="green"]# Shows only packages that have "sony" in their name[/color]
$ dumpsys |grep -i [i]gmail[/i] -C5 [color="red"]# This is totally slow and doesn't always work out[/color]
To really get a lot of information, like dependencies, about a certain package, the following command is suitable.
Code:
$ dumpsys package [i]com.package.name[/i] [color="green"]# Much to read[/color]
$ pm list packages -f -i -u [i]com.package.name[/i] [color="green"]# Show associated .apk file and installer[/color]
Providing a test environment
Since you don't have root rights¹, you can't disable/uninstall system packages system-wide. The only thing that can happen is that you remove a package for your main user, that makes your main account or other packages unusable, or that cannot be reinstalled. Then the only option is a factory reset, right? Narp. You won't believe it, but it's enough to create a new user as a test environment. A user can be removed easily and is isolated from the other users. So your new user – we lovingly call it "test" – sacrifices itself to save you the factory reset. Therefore you can also test without hesitation on a productive system. Of course this only works if you specify the corresponding user-id in the following commands.; nevertheless, I recommend a backup.
Code:
$ pm create-user [i]test[/i]
Success: created user id [i]10[/i]
$ pm list users [color="green"]# Just to verify that worked[/color]
Users:
UserInfo{0:[i]Hallmund Gautisson[/i]:13} running
UserInfo{[i]10[/i]:[i]test[/i]:0}
No risk… and fun
Now we come to the fun part, debloat the $#*! out of your phone. At this point you often have to decide: disable or uninstall. In general disabling a package leads to success in most cases. An uninstall is only recommended if the disable does not lead to the desired result and if at best the package can be reinstalled. The test environment is perfect to check this and to uncover possible side effects of removing a package.
Code:
$ pm disable-user --user [i]10 com.package.name[/i] [color="green"]# This should also be safe if it's done with your main user (0)[/color]
Package [i]com.package.name[/i] new state: disabled-user
$ pm uninstall -k --user [i]10 com.package.name[/i] [color="red"]# This could force you to perform a factory reset when applied to your main user (0)[/color]
Success
The -k option is used to keep the data and cache directories, as you are not allowed to remove them anyway.
Damn regrets
If a package has more destructive power than previously thought, or proves to be quite useful in retrospect, or if you have simply made a mistake with the name, it would be nice if you could simply undo what you did full of youthful recklessness. For deactivated packages this works very reliably. With uninstalled packages this is quite random. Sometimes packages that even exist in the Play Store cannot be reinstalled anymore² and the apparently deepest ingrained system app can be reinstalled without even a single error. To reinstall a system package you have to get the path to the associated .apk file using -f option in package list.
Code:
$ pm enable --user [i]10 com.package.name[/i] [color="green"]# To undo the disable command, works reliable[/color]
$ pm list packages -f -u [i]com.package.name[/i]
package:[i]/path/to/package.apk[/i]=[i]com.package.name[/i]
$ pm install -r --user [i]10 /path/to/package.apk [color="red"]# To undo the uninstall command, works flaky[/color][/i]
Success [color="red"]# Or Failure³[/color]
The -r option is used reinstall an existing package and keeping its data. You don't have any rights in the installation target directory anyway.
(Bloat)-Packages
Notes on style
All packages I have tested myself have green coloured names. Packages that appear in other debloat lists are coloured blue. Packages with a red name mean: better don't touch them. Abbreviations are R for packages that can be reinstalled, P for packages that are also available in the play store, U for packages that you can also disable in the app settings, and M for packages that are removed from my phone. At this point you are welcome to contribute, especially the effects of removing are often not clear and package descriptions are missing.
List of bloatware #1
List of bloatware #2
List of bloatware #3
A/N: I will try to complete this list in the next few days and add more descriptions. The following lists contain the packages currently disabled or uninstalled on my phone.
Disabled:
package:android.autoinstalls.config.sony.xperia
package:com.amazon.kindle
package:com.android.apps.tag
package:com.android.bluetoothmidiservice
package:com.android.bookmarkprovider
package:com.android.chrome
package:com.android.documentsui
package:com.android.dreams.basic
package:com.android.egg
package:com.android.facelock
package:com.android.hotwordenrollment.okgoogle
package:com.android.partnerbrowsercustomizations.chromeHomepage
package:com.android.providers.downloads.ui
package:com.android.providers.partnerbookmarks
package:com.google.android.apps.photos
package:com.google.android.apps.tachyon
package:com.google.android.apps.work.oobconfig
package:com.google.android.feedback
package:com.google.android.gm
package:com.google.android.marvin.talkback
package:com.google.android.music
package:com.google.android.partnersetup
package:com.google.android.printservice.recommendation
package:com.google.android.setupwizard
package:com.google.android.syncadapters.contacts
package:com.google.android.tts
package:com.google.android.videos
package:com.google.android.youtube
package:com.s.antivirus
package:com.sonyericsson.android.omacp
package:com.sonyericsson.crashmonitor
package:com.sonyericsson.devicemonitor
package:com.sonyericsson.idd.agent
package:com.sonyericsson.lockscreen.uxpnxt
package:com.sonyericsson.organizer
package:com.sonyericsson.providers.cnap
package:com.sonyericsson.setupwizard
package:com.sonyericsson.startupflagservice
package:com.sonyericsson.suquashi.soundpicker
package:com.sonyericsson.tetherentitlementcheck
package:com.sonyericsson.textinput.chinese
package:com.sonyericsson.unsupportedheadsetnotifier
package:com.sonyericsson.updatecenter
package:com.sonyericsson.usbux
package:com.sonyericsson.wappush
package:com.sonyericsson.xhs
package:com.sonymobile.advancedlogging
package:com.sonymobile.advancedwidget.clock
package:com.sonymobile.android.addoncamera.soundphoto
package:com.sonymobile.android.contacts
package:com.sonymobile.android.externalkeyboard
package:com.sonymobile.android.externalkeyboardjp
package:com.sonymobile.anondata
package:com.sonymobile.assist
package:com.sonymobile.assist.persistent
package:com.sonymobile.btidd
package:com.sonymobile.cameracommon.wearablebridge
package:com.sonymobile.coverapp2
package:com.sonymobile.crashmonitor.system
package:com.sonymobile.demoappchecker
package:com.sonymobile.deqp
package:com.sonymobile.deviceconfigtool
package:com.sonymobile.enterprise.service
package:com.sonymobile.entrance
package:com.sonymobile.exchange
package:com.sonymobile.googleanalyticsproxy
package:com.sonymobile.idd.permission.application_certificate
package:com.sonymobile.moviecreator.rmm
package:com.sonymobile.music.googlelyricsplugin
package:com.sonymobile.music.wikipediaplugin
package:com.sonymobile.music.youtubekaraokeplugin
package:com.sonymobile.music.youtubeplugin
package:com.sonymobile.phoneusage
package:com.sonymobile.pip
package:com.sonymobile.pobox
package:com.sonymobile.rcahandler
package:com.sonymobile.retaildemo
package:com.sonymobile.secureclockservice
package:com.sonymobile.sso
package:com.sonymobile.superstamina
package:com.sonymobile.support
package:com.sonymobile.susrescheck
package:com.sonymobile.synchub
package:com.sonymobile.updatecenter.config.autoinstall
package:com.sonymobile.updatecenter.config.latecmz
package:com.sonymobile.usm
package:com.sonymobile.xperialounge.services
package:com.sonymobile.xperiaservices
package:com.sonymobile.xperiatransfermobile
package:com.sonymobile.xperiaweather
package:com.sony.tvsideview.videoph
package:com.spotify.music
Uninstalled:
package:com.android.browser.res.overlay_305
package:com.facebook.appmanager
package:com.facebook.katana
package:com.facebook.services
package:com.facebook.system
package:com.sonyericsson.conversations.res.overlay_305
package:com.sonyericsson.trackid.res.overlay_305
package:com.sonymobile.themes.sou.cid18.black
package:com.sonymobile.themes.sou.cid19.silver
package:com.sonymobile.themes.sou.cid20.blue
package:com.sonymobile.themes.sou.cid21.pink
⁰) Go to "Settings" → "System" → "About phone" → Tap "Build number" seven times → Back → "Developer options" → Enable "USB debugging"
¹) As long as you do not run ADB with root, it should not be possible to modify packages system-wide.
²) You can install them from the store but not with the original APK; congratulations, you now have double the package data.
³) Mostly you will get either INSTALL_PARSE_FAILED_NO_CERTIFICATES or INSTALL_FAILED_INVALID_APK.
Thank you for this elaborate guide, appreciate it!
thanks a lot.
Progress:
10/35 Android packages
9/25 Google packages
12/102 Sony packages
8/8 Third-party packages
1/21 Other packages
Android packages
[WIP]com.android.apps.tag [–/–/–/M]
[WIP]com.android.backupconfirm [?/?/?/?]
com.android.bluetooth [–/–/–/–]
Bluetooth: Lets you connect your phone to other devices.
Issues
You cannot turn on Bluetooth anymore, but the status icon and menus are still there.
com.android.bluetoothmidiservice [–/–/–/M]
Bluetooth MIDI Service: Send MIDI data over Bluetooth to compatible devices.
[WIP]com.android.bookmarkprovider [/–/U/M]
Bookmark Provider:
[WIP]com.android.browser.res.overlay_305
(Overlay for Android Stock Browser which is not installed.)
com.android.calllogbackup [–/–/U/–]
Call Log Backup/Restore: Your call history is saved within the backups on Google Drive.
com.android.captiveportallogin [–/–/–/–]
CaptivePortalLogin: Ability to view the portal websites of Wi-Fi networks that block access until you accept e.g. the terms of service.
com.android.carrierconfig [–/–/–/–]
(no label): Provides network overrides for carrier configuration.
Overlays
com.android.carrierconfig.res.overlay.carrierservicesenabler
com.android.carrierconfig.res.overlay_305
com.android.carrierconfig.res.overlay_310_310
[WIP]com.android.carrierdefaultapp [?/?/?/?]
CarrierDefaultApp:
com.android.certinstaller [–/–/–/–]
Certificate Installer: Helps to install certificates for enterprise Wi-Fi.
Issues
com.android.settings will crash when you try to open the "Install certificate" menu.
[WIP]com.android.chrome [–/P/U/M]
Chrome Browser: Default internet browser for android.
[WIP]com.android.cts.ctsshim [–/?/U/?]
(no label):
[WIP]com.android.cts.priv.ctsshim [–/?/U/?]
(no label):
com.android.documentsui [–/–/–/–]
Files: Default file browser for android.
com.android.dreams.basic [–/–/U/M]
Basic Daydreams: Screen saver "Colours".
com.android.egg [–/–/–/M]
Android Easter Egg: Release the octopus.
com.android.facelock [R/–/U/M]
Trusted Face: Unlock your phone by looking at it.
Issues
com.google.android.gms will crash when you try to open the "Trusted face" menu.
[WIP]com.android.hotwordenrollment.okgoogle [–/?/?/?]
[WIP]com.android.htmlviewer [?/?/?/?]
[WIP]com.android.inputdevices [?/?/?/?]
[WIP]com.android.keychain [?/?/?/?]
[WIP]com.android.managedprovisioning [–/?/?/?]
[WIP]com.android.musicfx [?/?/?/?]
[WIP]com.android.partnerbrowsercustomizations.chromeHomepage [R/?/?/?]
[WIP]com.android.printspooler [?/?/?/?]
[WIP]com.android.providers.contacts [–/?/?/?]
[WIP]com.android.providers.downloads.ui [?/?/?/?]
[WIP]com.android.providers.partnerbookmarks [R/?/?/?]
[WIP]com.android.providers.partnerbookmarks.res.overlay_305 [?/?/?/?]
[WIP]com.android.sharedstoragebackup ??? [?/?/?/?]
[WIP]com.android.stk [?/?/?/?]
SMS Services: stk~SIM/SMS Toolkit? As soon as you install a SIM card, you will get a list of some (mostly-paid) services of your provider. You are still able to send and receive SMS. Currently testing…
Can't be disabled, so can we trust this list?
Overlays
com.android.stk.product.res.overlay.common
com.android.vending [R/–/U/–]
Google Play Store: Official app store for the Android operating system.
Issues
You won't receive updates anymore.
[WIP]com.android.wallpapercropper ??? [?/?/?/?]
[WIP]com.android.wallpaper.livepicker [–/?/?/?]
Issues
You cannot change the Xperia Live Wallpaper anymore
Google services
com.google.android.apps.docs [R/P/U/–]
Drive: Google's cloud storage.
com.google.android.apps.maps [R/P/U/–]
Maps: Google's map and navigation service.
com.google.android.apps.messaging [R/P/U/–]
Messages: Google's default app for SMS, MMS, and RCS.
com.google.android.apps.photos [–/P/U/M]
Photos: Google's photo and video gallery with deep integration of other Google services.
com.google.android.apps.tachyon [–/P/U/M]
Duo: Make high quality one-to-one video calls.
[WIP]com.google.android.apps.work.oobconfig [R/?/?/M]
[WIP]com.google.android.backuptransport [R/?/?/?]
com.google.android.calendar [R/P/U/–]
Calendar: Google's official calendar app with deep integration of other Google services.
[WIP]com.google.android.configupdater [R/?/?/?]
ConfigUpdater
[WIP]com.google.android.feedback [R/?/?/M]
Market Feedback Agent:
[WIP]com.google.android.gm [?/?/?/M]
Gmail:
[WIP]com.google.android.gms [?/P/U/–]
Google Play services
Issues
All "Smart Lock" variants won't be available.
com.android.vending won't work.
com.google.android.apps.docs won't work.
com.google.android.apps.messaging will still work, but nags every start with "Enable Google Play services".
com.google.android.apps.maps will still work, but keeps spamming "Enable Google Play services".
com.google.android.apps.photos will only work for local photos and videos.
com.google.android.apps.tachyon won't work.
com.google.android.calendar won't work.
com.android.facelock won't be available.
com.google.android.googlequicksearchbox won't work.
com.google.android.music will only work for local audio files.
com.google.android.videos won't work.
com.google.android.youtube won't work.
com.sonyericsson.album cannot auto-upload photos and videos.
com.sonyericsson.music cannot access your cloud storage.
com.sonymobile.entrance will still work, but nags every start with "Enable Google Play services".
[WIP]com.google.android.googlequicksearchbox [R/?/?/?]
[WIP]com.google.android.gsf effects??? [R/–/U/–]
Google Services Framework: [WIP] Sign in to google?
Issues
com.android.vending won't let you sign in.
com.google.android.apps.docs won't let you sign in.
com.google.android.apps.gm will crash instantly if package is uninstalled.
com.google.android.apps.messaging will crash instantly if package is uninstalled.
[WIP]com.google.android.apps.tachyon
[WIP]com.google.android.apps.photos
com.google.android.calendar won't let you sign in or will crash instantly if package is uninstalled.
com.google.android.googlequicksearchbox will crash instantly if package is uninstalled.
com.google.android.music won't let you sign in but you can still open local audio files, or will crash instantly if package is uninstalled.
com.google.android.videos won't let you sign in.
com.google.android.youtube won't let you sign in but you can still watch videos.
[WIP]com.google.android.marvin.talkback [R/?/?/?]
[WIP]com.google.android.music [?/?/?/?]
Google Play Music:
[WIP]com.google.android.onetimeinitializer [R/?/?/?]
[WIP]com.google.android.partnersetup [R/?/?/?]
[WIP]com.google.android.printservice.recommendation [R/?/?/?]
[WIP]com.google.android.setupwizard [R/?/?/?]
[WIP]com.google.android.syncadapters.contacts [R/–/U/M] [?/?/?/?]
Google Contacts Sync: Syncs local and SIM contacts with your Google account
[WIP]com.google.android.tts [–/?/?/?]
com.google.android.videos [–/P/U/M]
Google Play Movies & TV: Buy or rent movies and watch TV shows via streaming or download them to watch when you're not connected.
com.google.android.webview [R/–/–/–]
Android System WebView: Allows apps to display web content. In the developer options you can change the web view implementation to Chrome to replace this package.
Issues
Many apps that use web content might crash in certain situations.
Cannot be disabled per user but uninstalled.
com.google.android.youtube [–/P/U/M]
YouTube: Watch videos on Google's video platform and get the ability to edit and upload your own videos; or simply use the browser of your choice.
Sony packages
com.sonyericsson.album [–/P/U/–]
Album: Default photo and video browser.
Dependencies
com.android.printspooler: Without this the print button will not work.
com.sonyericsson.dlna (optional): Share with DLNA compatible devices.
com.sonymobile.moviecreator (optional): Brings shortcut to video editing and trim video function.
com.sonymobile.photoeditor (optional): Brings shortcut to image editing and rotate function.
com.sonymobile.tvout.wifidisplay (optional): Display media on a compatible TV.
com.sonyericsson.android.addoncamera.artfilter [–/–/U/–]
Creative effect: Some video and photo filters for your camera, "Old Film"… love it.
Dependencies
com.sonyericsson.android.camera: App is only accessible when you use the camera.
[WIP]com.sonyericsson.android.omacp [–/?/?/?]
[WIP]com.sonyericsson.conversations.res.overlay_305 [?/?/?/?]
[WIP]com.sonyericsson.crashmonitor [–/?/?/?]
[WIP]com.sonyericsson.devicemonitor ??? [?/?/?/?]
[WIP]com.sonyericsson.idd.agent [–/?/?/?]
[WIP]com.sonyericsson.mtp [?/?/?/?]
[WIP]com.sonyericsson.mtp.extension.backuprestore [?/?/?/?]
[WIP]com.sonyericsson.mtp.extension.factoryreset [?/?/?/?]
[WIP]com.sonyericsson.mtp.extension.update [?/?/?/?]
[WIP]com.sonyericsson.music [–/?/?/?]
com.sonyericsson.organizer [R/–/–/M]
Clock: Alarms, world clock, stopwatch, timer, and clock.
com.sonyericsson.photoeditor [–/–/U/–]
Photo editor: Many ways to edit your photos, such as adding filters and frames, cropping, rotating, mirroring and so on. Can be started from any album app.
[WIP]com.sonyericsson.providers.cnap [–/?/?/?]
[WIP]com.sonyericsson.setupwizard [–/?/?/?]
[WIP]com.sonyericsson.startupflagservice [–/?/?/?]
com.sonyericsson.suquashi.soundpicker [R/–/–/M]
Sound picker: Lets you choose a sound for e.g. your ringtone. Alternatively you can just use the picker included in com.android.providers.media.
[WIP]com.sonyericsson.tetherentitlementcheck [–/?/?/?]
com.sonyericsson.textinput.chinese [–/–/U/M]
Xperia Chinese keyboard: If you write in Chinese keep this.
[WIP]com.sonyericsson.trackid.res.overlay_305 [?/?/?/?]
[WIP]com.sonyericsson.unsupportedheadsetnotifier [?/?/?/?]
[WIP]com.sonyericsson.updatecenter [R/?/?/?]
[WIP]com.sonyericsson.usbux [?/?/?/?]
[WIP]com.sonyericsson.wappush [?/?/?/?]
[WIP]com.sonyericsson.warrantytime [?/?/?/?]
[WIP]com.sonyericsson.xhs [R/P/U/M]
Lounge
[WIP]com.sonymobile.advancedlogging [–/?/?/?]
Advanced Logging, may cause crash of com.sonymobile.support
[WIP]com.sonymobile.advancedwidget.clock [R/?/?/?]
[WIP]com.sonymobile.android.addoncamera.soundphoto [–/?/?/?]
[WIP]com.sonymobile.android.addoncamera.timeshift [?/?/?/?]
[WIP]com.sonymobile.android.contacts [–/?/?/?]
[WIP]com.sonymobile.android.externalkeyboard [?/?/?/?]
[WIP]com.sonymobile.android.externalkeyboardjp [R/?/?/?]
[WIP]com.sonymobile.anondata [–/?/?/?]
[WIP]com.sonymobile.aptx.notifier [?/?/?/?]
[WIP]com.sonymobile.assist [R/?/?/?]
[WIP]com.sonymobile.assist.persistent [R/?/?/?]
[WIP]com.sonymobile.btidd [?/?/?/?]
[WIP]com.sonymobile.cameracommon.wearablebridge [R/?/?/?]
[WIP]com.sonymobile.coverapp2 [R/?/?/?]
[WIP]com.sonymobile.crashmonitor.system [–/?/?/?]
[WIP]com.sonymobile.demoappchecker [R/?/?/?]
[WIP]com.sonymobile.deqp [–/?/?/?]
[WIP]com.sonymobile.deviceconfigtool [R/?/?/?]
[WIP]com.sonymobile.dlna [?/?/?/?]
[WIP]com.sonymobile.dualshockmanager [?/?/?/?]
[WIP]com.sonymobile.email [R/?/?/?]
[WIP]com.sonymobile.enterprise.service [?/?/?/?]
[WIP]com.sonymobile.entrance [R/?/?/?]
[WIP]com.sonymobile.exchange [R/?/?/?]
[WIP]com.sonymobile.fota.service ??? [–/?/?/?]
[WIP]com.sonymobile.getset [R/?/?/?]
[WIP]com.sonymobile.getset.priv [R/?/?/?]
[WIP]com.sonymobile.googleanalyticsproxy [–/?/?/?]
[WIP]com.sonymobile.idd.permission.application_certificate [R/?/?/?]
[WIP]com.sonymobile.intelligent.backlight [?/?/?/?]
[WIP]com.sonymobile.intelligent.gesture [?/?/?/?]
[WIP]com.sonymobile.intelligent.iengine [?/?/?/?]
[WIP]com.sonymobile.intelligent.observer [?/?/?/?]
[WIP]com.sonymobile.moviecreator [R/?/?/?]Video Editor
[WIP]com.sonymobile.moviecreator.rmm [–/?/?/?]
Movie Creator: Lets you create highlight movies from your photos and share them on Facebook.
[WIP]com.sonymobile.mtp.extension.fotaupdate ??? [?/?/?/?]
[WIP]com.sonymobile.music.googlelyricsplugin [R/?/?/?]
[WIP]com.sonymobile.music.wikipediaplugin [R/?/?/?]
[WIP]com.sonymobile.music.youtubekaraokeplugin R/?/?/?]
[WIP]com.sonymobile.music.youtubeplugin [R/?/?/?]
[WIP]com.sonymobile.phoneusage [–/?/?/?]
[WIP]com.sonymobile.pip [R/?/?/?]
[WIP]com.sonymobile.pobox [–/?/?/?]
[WIP]com.sonymobile.prediction [–/?/?/?]
[WIP]com.sonymobile.rcahandler [–/?/?/?]
[WIP]com.sonymobile.retaildemo [R/?/?/?]
[WIP]com.sonymobile.runtimeskinning.picker [?/?/?/?]
com.sonymobile.scan3d [R/P/U/–]
3D Creator, use your camera to create 3D objects, cool.
[WIP]com.sonymobile.secureclockservice [–/?/?/?]
[WIP]com.sonymobile.simlock.service [–/?/?/?]
[WIP]com.sonymobile.simlockunlockapp [?/?/?/?]
[WIP]com.sonymobile.smartcharger [?/?/?/?]
[WIP]com.sonymobile.smartcleaner ??? [?/?/?/?]
[WIP]com.sonymobile.smtofrgbc ??? [?/?/?/?]
[WIP]com.sonymobile.sso [–/?/?/?]
com.sonymobile.superstamina (don't uninstall) [R/–/–/–]
STAMINA mode: Settings for normal and ultra stamina mode that reduce performance to increase battery time.
Dependencies
com.sonymobile.imageenhancer (optional): Will be disabled in stamina mode.
Issues
Reinstalling the package might cause a boot loop! Disable the package immediately and then remove installed updates from app info menu.
The stamina mode button in com.android.settings won't be removed, but the ultra endurance mode button will be.
com.android.settings will crash when trying to setup stamina mode if package is disabled.
com.android.settings will crash when opening battery menu if package is uninstalled.
[WIP]com.sonymobile.support [R/?/?/?]
[WIP]com.sonymobile.susrescheck [–/?/?/?]
[WIP]com.sonymobile.synchub [–/?/U/?]
Backup & restore: Backup home screen layouts, email accounts, and conversations to an online account.
com.sonymobile.themes.sou.cid18.black [R/–/–/M]
Black: Theme for home and lock screen. Must be uninstalled to disappear from the theme list.
com.sonymobile.themes.sou.cid19.silver [R/–/–/M]
Silver: Theme for home and lock screen. Must be uninstalled to disappear from the theme list.
com.sonymobile.themes.sou.cid20.blue [R/–/–/M]
Blue: Theme for home and lock screen. Must be uninstalled to disappear from the theme list.
com.sonymobile.themes.sou.cid21.pink [R/–/–/M]
Pink: Theme for home and lock screen. Must be uninstalled to disappear from the theme list.
[WIP]com.sonymobile.themes.xperialoops2 ??? [?/?/?/?]
[WIP]com.sonymobile.tvout.wifidisplay [?/?/?/?]
[WIP]com.sonymobile.updatecenter.config.autoinstall [R/?/?/?]
[WIP]com.sonymobile.updatecenter.config.latecmz [R/?/?/?]
[WIP]com.sonymobile.usm [?/?/?/?]
[WIP]com.sonymobile.xperialounge.services [R/?/?/?]
Xperia Lounge Pass:
[WIP]com.sonymobile.xperiaservices [R/?/?/?]
[WIP]com.sonymobile.xperiatransfermobile [R/?/?/?]
[WIP]com.sonymobile.xperiaweather [R/?/?/?]
[WIP]com.sonymobile.xperiaxlivewallpaper [R/?/?/?]
[WIP]com.sonymobile.xperiaxlivewallpaper.product.res.overlay [R/?/?/?]
[WIP]com.sony.tvsideview.videoph [?/–//] [R/?/?/?]
Third-party apps
com.amazon.kindle [R/P/U/M]
Amazon Kindle: Read and purchase e-books from Amazon.
com.amazon.mShop.android.shopping [R/P/U/–]
Amazon Shopping: Search and buy stuff on Amazon.
com.facebook.appmanager [R/–/U/M]
Facebook App Manager: Updates Facebook, Instagram, and Messenger bypassing the Google Play Store.
com.facebook.katana [R/P/U/M]
Facebook: The social data theft network.
com.facebook.services [R/–/U/M]
Facebook Services: Missing information about this.
com.facebook.system [R/–/U/M]
Facebook App Installer: Updates Facebook, Instagram, and Messenger bypassing the Google Play Store.
com.s.antivirus [R/P/U/M]
AVG Protection: An anti-virus tool for Android, that would like almost all permissions.
com.spotify.music [R/P/U/M]
Spotify: A fee-based music streaming service.
Other packages
android [?/–/–/–]
Android System: My test environment still works if disabled, but why the hell would you want to remove that?
Overlays
android.res.overlay_284
android.res.overlay_305
android.res.overlay_310_310
[WIP]android.autoinstalls.config.sony.xperia ???
[WIP]android.product.res.overlay.defaultgmessaging
[WIP]com.qti.dpmserviceapp ???
[WIP]com.qti.qualcomm.datastatusnotification ??? [?/–/–/–]
(no label):
[WIP]com.qualcomm.embms ???
[WIP]com.qualcomm.location ??? [–/–/–/–]
LocationService: Maybe geofencing
[WIP]com.qualcomm.qcrilmsgtunnel ??? [?/–/–/–]
(no label):
[WIP]com.qualcomm.qti.auth.fidocryptoservice ???[?/?/?/?]
FidoCryptoService:
[WIP]com.qualcomm.qti.simsettings ???[?/?/?/?]
(no label):
[WIP]com.qualcomm.qti.telephonyservice ???[?/?/?/?]
(no label):
[WIP]com.qualcomm.qti.uceShimService ???[?/?/?/?]
[WIP]com.qualcomm.svi ???[?/?/?/?]
[WIP]com.qualcomm.timeservice ???[?/?/?/?]
[WIP]com.qualcomm.wfd.service ???[?/?/?/?]
Wfd Service: Wi-Fi Display service
Issues
[WIP]com.quicinc.cne.CNEService ???[?/?/?/?]
(no label):
[WIP]com.swiftkey.swiftkeyconfigurator ???[?/?/?/?]
[WIP]com.touchtype.swiftkey ???[?/?/?/?]
Overlays
com.touchtype.swiftkey.res.overlay
[WIP]org.codeaurora.ims ???[?/?/?/?]
[WIP]org.simalliance.openmobileapi.service ???[?/?/?/?]
[WIP]org.simalliance.openmobileapi.uiccterminal ???[?/?/?/?]
With one of the Qualcomm services I managed to destroy com.sonymobile.superstamina… on my main user . The shared library "/system/lib64/libpbpp.so" could no longer be opened, which causes a boot loop. I will try to find the exact cause of the error and then provide information here.
This is getting weird. I've uninstalled updates on stamina mode package… wait, what? Is that possible? This is a system package which isn't even in the Play Store! So, the following happened.
Code:
$ pm list packages -f com.sonymobile.superstamina
package:/vendor/app/SuperStamina/SuperStamina.apk=com.sonymobile.superstamina
$ pm install -r /vendor/app/SuperStamina/SuperStamina.apk;pm disable-user com.sonymobile.superstamina
Success
Package com.sonymobile.superstamina new state: disabled-user
$ pm list packages -f com.sonymobile.superstamina
package:/data/app/com.sonymobile.superstamina-MPre2pDlmc8uvCjeiByuGQ==/base.apk=com.sonymobile.superstamina
The package path has changed during reinstall, which was not the case with other packages. There are also some mentionable changes in the dumpsys before and after the "update".
Code:
172,173c411,412
< applicationInfo=ApplicationInfo{418d64d com.sonymobile.superstamina}
< flags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]
---
> applicationInfo=ApplicationInfo{29f7d5f com.sonymobile.superstamina}
> flags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA [color="red"]UPDATED_SYSTEM_APP[/color] ALLOW_BACKUP ]
599,601c838,840
< path: [color="red"]/vendor/app/SuperStamina/SuperStamina.apk[/color]
< status: /data/dalvik-cache/arm64/[email protected]@[email protected]@classes.dex[status=kOatUpToDate, compilation_filter=[color="red"]speed[/color]]
---
> path: [color="red"]/data/app/com.sonymobile.superstamina-MPre2pDlmc8uvCjeiByuGQ==/base.apk[/color]
> status: /data/app/com.sonymobile.superstamina-MPre2pDlmc8uvCjeiByuGQ==/oat/arm64/base.odex[status=kOatUpToDate, compilation_filter=[color="red"]quicken[/color]]
There was also added a complete new hidden system package. Better don't touch this package.
This is just a placeholder.
if somebody knows , which package is responsible for DND in priority mode i cannot change preferences.......something is disabled and i cannot guess what ?!?
thanks men, you help me to bloat my device
for new people who want do it in simple way(no hassle with command nor download other stuff). i have develop a software to automate de-bloat that work for most sony smartphone. in here
Xperia All in one Debloat Tool
PLEASE READ BEFORE USE OR ASK. IMPORTANT WARNING: DO NOT DOWNLOAD THIS SOFTWARE FROM ANY SOURCE OTHER THAN THIS THREAD/FORUM. IT IS XDA EXCLUSIVE AND I WILL NOT RELEASE IT ON ANY OTHER FORUM. ANY FORUM THAT USES MY NAME OR REPOSTS IT IS NOT ME...
forum.xda-developers.com
on other hand while i natively support AU version of xz1. im doesnt own other model of this phone yet.(but a compatible list from various devices is there, soo still work for anyone even though not natively supported). do you mind if i look the list and compare it with my own list?. if it worth modified im will leave your name on contributor list
Hello, I'm looking for a way to use Google Automotive Services in my custom ROM.
My aim is to develop an application using privilage/system permissions (android.car.permission.CAR_INFO, android.permission.SYSTEM_ALERT_WINDOW, etc.) and Google API, but I can't see a way to install it on the official emulator.
For a start - I've downloaded 12.1 sources, built an SDK image and created an emulator. Then I've downloaded AAOS 12.1 emulator image with a Play Store.
Side note: I'd like to do the same with AAOS 13, but there is no official AAOS 13 emulator image with GAS so far.
Then I've found all apk packages present in the emulator system img file and absent in my image, sign them all with my platform key and install with adb install with "-g" switch.
The emulator starts but it just pretends to work.
Google Maps starts, but it can't read the GPS signal (I'm in the middle of the ocean )
I still see "The device isn't Play Protect certified" message, even when registered at https://www.google.com/android/uncertified/.
When trying to log into a Google Account, I can see "addAccount(com.google): java.lang.SecurityException: Cannot delegate to Service with different signature." exception thrown.
There are a lot of security-related errors in logs:
GooglePlayServices not available due to error 9
com.google.android.carassistant requires Google Play services, but their signature is invalid
java.lang.SecurityException: UID 10157 is not associated with a first party app!
File error accessing recents directory,
Tried to access the API:ViewConfiguration which needs to have proper configuration from a non-UI Context:[email protected]
Package com.android.car.activityresolver is not installed for any user, java.lang.UnsatisfiedLinkError: dlopen failed: library "/system/lib64/libbluetooth_jni.so" needed or dlopened by "/apex/com.android.art/lib64/libnativeloader.so" is not accessible for the namespace "classloader-namespace"
java.lang.SecurityException: Caller com.google.android.gms needs to hold android.permission.SCHEDULE_EXACT_ALARM to set exact alarms.
and a lot more....
Side note: I've tried an another way - to install my app as a system one in the official emulator, but repacking those super images beat me .
What else should I do? Is there an easy way, like Open GApps for Automotive or how can I create my own GApps package?