Camera takes green pictures / Didn't root the XZ1C - Sony Xperia XZ1 Compact Questions & Answers

Hello everyone!
After following different topics for a few years on xda this is my first own question. Yaay.
I got the XZ1 yesterday and instead of rooting it I just decided to delete the bloatware and use the lean launcher. I specifically deinstalled these apps:
Code:
adb devices
adb shell
pm uninstall -k --user 0 com.sonymobile.advancedwidget.entrance
pm uninstall -k --user 0 com.facebook.katana
pm uninstall -k --user 0 com.facebook.system
pm uninstall -k --user 0 com.facebook.appmanager
pm uninstall -k --user 0 com.facebook.services
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.sony.tvsideview.videoph
pm uninstall -k --user 0 com.sony.tvsideview.phone
pm uninstall -k --user 0 com.sonymobile.entrance
pm uninstall -k --user 0 com.spotify.mobile.android.ui
pm uninstall -k --user 0 com.s.antivirus
pm uninstall -k --user 0 com.google.android.apps.photos
pm uninstall -k --user 0 com.google.android.marvin.talkback
pm uninstall -k --user 0 com.sonymobile.music.wikipediaplugin
pm uninstall -k --user 0 com.sonyericsson.textinput.chinese
pm uninstall -k --user 0 com.sonymobile.music.youtubeplugin
pm uninstall -k --user 0 com.sonymobile.music.youtubekaraokeplugin
pm uninstall -k --user 0 com.kobobooks.android
pm uninstall -k --user 0 com.sonymobile.dualshockmanager
pm uninstall -k --user 0 com.google.android.apps.tachyon
pm uninstall -k --user 0 com.sonyericsson.xhs
pm uninstall -k --user 0 com.sonymobile.xperialounge.services
pm uninstall -k --user 0 com.sonymobile.xperiatransfermobile
pm uninstall -k --user 0 com.google.android.music
pm uninstall -k --user 0 com.google.android.gm
pm uninstall -k --user 0 com.google.android.gm.exchange
pm uninstall -k --user 0 com.spotify.music
pm uninstall -k --user 0 com.sonymobile.sketch
pm uninstall -k --user 0 com.amazon.kindle
pm uninstall -k --user 0 com.amazon.mShop.android.shopping
pm uninstall -k --user 0 com.google.android.youtube
pm uninstall -k --user 0 com.sonymobile.moviecreator.rmm
pm uninstall -k --user 0 com.sonymobile.email
pm uninstall -k --user 0 com.sonymobile.xperiaweather
pm uninstall -k --user 0 com.sonyericsson.music
pm uninstall -k --user 0 com.google.android.apps.docs
pm uninstall -k --user 0 com.google.android.gm.exchange
pm uninstall -k --user 0 com.spotify.music
exit
adb reboot
And now "I have the salad" (as we germans say). I can't take pictures anymore with OpenCamera and neither with the stockcamera. Sometimes it works with the stock camera, but the result is just the green picture.
I'm pretty sure that I ****ed up with the above list. Does anybode know what I did wrong and how to "flash" isntall the needed licenses/drivers/whatevers for the camera?
Cheers!

pm uninstall -k --user 0 com.sonyericsson.xhs
Don't know what this does but it's the only one not self explanatory. Maybe it's that one?

Thanks for the Quickreply!
com.sonyericsson.xhs seems to be part of the xperia lounge. I don't think that will help the camera
Since the PlayStore doesn't have the stock-camera-apk, does anybode know where to download it, or would that be a bad idea?

Green pictures mean your phone's bootloader has been unlocked.
You can check this as follows: https://talk.sonymobile.com/t5/Android-development/HOW-TO-CHECK-BOOTLOADER-IS-UNLOCKED/td-p/287305
Code:
--user 0
means that it'll use root to do the uninstall, which would fail if you aren't rooted.
Someone please correct me if I'm wrong, the adb documentation isn't clear about the --user option in pm.

4rz0 said:
Green pictures mean your phone's bootloader has been unlocked.
You can check this as follows:
Code:
--user 0
means that it'll use root to do the uninstall, which would fail if you aren't rooted.
Someone please correct me if I'm wrong, the adb documentation isn't clear about the --user option in pm.
Click to expand...
Click to collapse
Dial *#*#7378423#*#* . Then go to -> "Service Info" -> "Configuration". If there is:
Bootloader unlock allowed - Yes << this means that your Bootloader is Locked
Bootloader Unlocked - Yes << this means that your bootloader is unlocked
Click to expand...
Click to collapse
I actually got Bootloader unlock allowed: No. So, I don't know if it's now unlocked or locked.
Could I accidentally have unlocked it by adb commands? The Phone is basically brand new (it is refurbished and was sold as "basically new") and also makes that impression. Can hardly imagine that it is rooted.
And another thing: I can't install the camera (got the .apk from apk mirror) again. You guys think it's a smart idea to fully delete the camera via adb or rather not? And if it's a good idea, which are the packages I should deinstall/erase?

4rz0 said:
Code:
--user 0
means that it'll use root to do the uninstall, which would fail if you aren't rooted.
Someone please correct me if I'm wrong, the adb documentation isn't clear about the --user option in pm.
Click to expand...
Click to collapse
No, the
Code:
pm uninstall -- user 0
is the way to uninstall system apps without root access. see this link for details: https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/

So is there anyway to reverse these commands and to install everything alltogether? Even if I don't know what was the wrong thing to deinstall.
Do you guys think that I lost the DRM-Keys? And is there no way to get them back?

Mhh, sorry for the repost. I don't seem to find any solution.
If I just factoryreset the phone, will it work again? Otherwise I guess I have to fully root it and find a work around solution for the camera.

You didnt lost drm keys. Just reset or flash New firmware. Drm keys are stored in emmc.

I'm getting desperate..
I did the full factory reset and the problemr remains. Pictures stay green (other cameras like snapcam or opencamera wont work neither).
What are your suggestions, what should I do?

luklok said:
I'm getting desperate..
I did the full factory reset and the problemr remains. Pictures stay green (other cameras like snapcam or opencamera wont work neither).
What are your suggestions, what should I do?
Click to expand...
Click to collapse
Since it's a refurbished one, and you didn't explicitly say so (from what I can tell): Did the camera ever work?
I also have the feeling that your bootloader was unlocked already. And if the camera did work at first, maybe some a****** installed the drm fix on it so you didn't even notice.
As a last test I would suggest to grab Xperifirm, download the latest FW for your region and flash it with newflasher. If the bootloader is locked, it _has_ to work after this.
PS: Delete the simlock.ta before flashing.
Good luck.

I would return the phone.
Refurbished? Maybe the previous owners have unlocked the phone and wiped the DRM-Keys ...

DHGE said:
I would return the phone.
Refurbished? Maybe the previous owners have unlocked the phone and wiped the DRM-Keys ...
Click to expand...
Click to collapse
This is likely. Check your keys:
In the dialer, type *#*#7378423#*#* to enter the service menu. Tap Service tests > Security
The first three lines should all say [Key OK][Active], and at the bottom FIDO_KEYS : Provisioned
EDIT: Ah, I copied the instructions from a previous Sony model (Z5C), didn't realize they changed the info dump page.
In any case, if you don't see words like ACTIVE, READY, PROVISIONED on this page, then your DRM keys are likely gone.
If so, you should return and demand a replacement or refund, since Sony may deny warranty service due to missing DRM keys.

mhaha said:
This is likely. Check your keys:
In the dialer, type *#*#7378423#*#* to enter the service menu. Tap Service tests > Security
The first three lines should all say [Key OK][Active], and at the bottom FIDO_KEYS : Provisioned
EDIT: Ah, I copied the instructions from a previous Sony model (Z5C), didn't realize they changed the info dump page.
In any case, if you don't see words like ACTIVE, READY, PROVISIONED on this page, then your DRM keys are likely gone.
If so, you should return and demand a replacement or refund, since Sony may deny warranty service due to missing DRM keys.
Click to expand...
Click to collapse
Under Key Provision daemon it says:
SOMC FIDO Key: NOT PROVISIONED
SOMC Attest Key: NOT PROVISIONED
Android Attest Key: PROVISIONED
So, according to you the DRM keys are gone. And there's no way that I've caused that by incident by deinstalling the bloat apps described in the first posts via adb?
This sucks...

luklok said:
Under Key Provision daemon it says:
SOMC FIDO Key: NOT PROVISIONED
SOMC Attest Key: NOT PROVISIONED
Android Attest Key: PROVISIONED
So, according to you the DRM keys are gone. And there's no way that I've caused that by incident by deinstalling the bloat apps described in the first posts via adb?
Click to expand...
Click to collapse
Someone unlocked the bootloader on your phone. They screwed you.
This sucks...
Click to expand...
Click to collapse
mightily

luklok said:
So, according to you the DRM keys are gone. And there's no way that I've caused that by incident by deinstalling the bloat apps described in the first posts via adb?
Click to expand...
Click to collapse
It's not possible using just adb commands, the keys are stored in a highly restricted partition that you can't access without full root privilege.
They're forcibly wiped when the bootloader gets unlocked, which is probably what happened before it got refurbished, and it's permanently unrecoverable. Relocking the bootloader does not bring them back.
If you unintentionally figured out how to access them using adb commands, you might be eligible for a handsome reward from XDA donators or Google for finding a critical security flaw.

Never buy refurbished PHONES (it's ok for other stuff though)...

Hello again!
I got a full refund and it was probably exactly like you guys said. Thanks very much for your help.
Got another XZ1C, I actually like that phone a lot. Still some things that are bothering me (e.g. no skipping a tracks with the volume rockers or no way to edit the icons in the quick..), but gonna figure sth out for that to

Related

Debloat System Apps Without Root

This Guide Assumes You Know How To Use ADB, And Already Have Access To It. You Can Possibly Mess Up Your Phone Disabling The Wrong Thing, And I'm Not Liable For Any Damage, Including Missing Your Anniversary Dinner Due To Alarm App Being Disabled =P.
Plus Side? A Factory Reset Will Fix It.
Step One :
Download Android Platform Tools (ADB/Fastboot)
https://ln.sync.com/dl/984ab7480/azzmqpk8-8km5ysir-6fz7v9rz-mvfu2tqf
Step Two :
Enable USB Debugging
--Settings, About Phone, Tap Build Number 5 Times,
Go To "Developer Options", And Enable USB Debugging.
Step Three :
Download Application Inspector
https://play.google.com/store/apps/details?id=com.ubqsoft.sec01&hl=en
Step Four :
Extract The ZIP File From Step One. Open
The Directory, Hold Down Shift, Right Click, And Click
"Open Command Prompt Here".
Step Five:
Unlock Your Phone And Plug In Into Your PC, Then Type
"adb devices" (without quotes) Into The Command Prompt.
On Your Phone, Check "Always Allow" On Your Phone, And
Then Okay.
Step Six : type "adb shell" (without quotes)
---------------------------------
Here's Where The Debloating Begins.
---------------------------------
Once you type adb shell, you'll start using commands to
disable apps "permanantly". Instead of disabling them, and
them coming back when you do play store updates. This
has worked with anything i've thrown at it so far. Using
application inspector (linked above), to get the package
name, you'll then type in the command below to "remove"
that package from the current user. when done, reboot.
"pm uninstall -k --user 0 PACKAGE_NAME"
------------------------------------------
original thread with this method from the G5 Plus
forums. linked below. i didn't come up with this method,
but it works well on our phones. pics coming when i get
home, to help others out. i'll probably rewrite this to make
it cleaner as well
https://forum.xda-developers.com/g5-plus/how-to/amazon-ads-removal-moto-g5-t3598515
no luck. I need to disable voicemail, carrierhub, callerID but it gaves me en error "Failure"
I am rooted Stock Android 8.0 Sprint
and this actually worked for me
Make sure you have Root, I can not guarantee it works without it.
1st) VERY important) Make sure to activate the phone and let Sprint install all the garbage bloatware all the way, it can take a good half an hour
Make sure your wifi calling and all your sprint stuff works and your phone is fully activated otherwise you will end up with SPRINT ID download error 400 and the only way to get rid of that is with FACTORY RESET.
2) use a batch uninstaller app and remove all the garbage users app in one shot , close to 18 of them
Restart and follow the above
USB Debug enabled
ADB Shell
and copy paste the following lines from my list below
reboot and done,
Sprint ID did not reinstall the bloatware again.
be careful it is case sensetive!
=======================
nash:/ $ pm uninstall -k --user 0 com.facebook.katana
Success
nash:/ $ pm uninstall -k --user 0 com.lookout
Success
nash:/ $ pm uninstall -k --user 0 com.facebook.orca
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.clouddrive.photos
Success
nash:/ $ pm uninstall -k --user 0 com.instagram.android
Success
nash:/ $ pm uninstall -k --user 0 com.audible.application
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mp3
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.kindle
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mShop.android.shopping
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.avod.thirdpartyclient
Success
nash:/ $ pm uninstall -k --user 0 com.google.android.calendar
Success
pm uninstall -k --user 0 com.google.android.youtube
pm uninstall -k --user 0 com.google.android.marvin.talkback
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.google.android.inputmethod.pinyin
pm uninstall -k --user 0 com.google.android.inputmethod.japanese
pm uninstall -k --user 0 com.google.android.inputmethod.korean
pm uninstall -k --user 0 com.google.android.apps.tachyon
pm uninstall -k --user 0 com.google.android.apps.walletnfcrel
pm uninstall -k --user 0 com.google.vr.vrcore
doctorman said:
I am rooted Stock Android 8.0 Sprint
and this actually worked for me
Make sure you have Root, I can not guarantee it works without it.
1st) VERY important) Make sure to activate the phone and let Sprint install all the garbage bloatware all the way, it can take a good half an hour
Make sure your wifi calling and all your sprint stuff works and your phone is fully activated otherwise you will end up with SPRINT ID download error 400 and the only way to get rid of that is with FACTORY RESET.
2) use a batch uninstaller app and remove all the garbage users app in one shot , close to 18 of them
Restart and follow the above
USB Debug enabled
ADB Shell
and copy paste the following lines from my list below
reboot and done,
Sprint ID did not reinstall the bloatware again.
be careful it is case sensetive!
=======================
nash:/ $ pm uninstall -k --user 0 com.facebook.katana
Success
nash:/ $ pm uninstall -k --user 0 com.lookout
Success
nash:/ $ pm uninstall -k --user 0 com.facebook.orca
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.clouddrive.photos
Success
nash:/ $ pm uninstall -k --user 0 com.instagram.android
Success
nash:/ $ pm uninstall -k --user 0 com.audible.application
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mp3
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.kindle
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mShop.android.shopping
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.avod.thirdpartyclient
Success
nash:/ $ pm uninstall -k --user 0 com.google.android.calendar
Success
Click to expand...
Click to collapse
This worked great. Planning on removing bloat as the days go on.
Can anyone please confirm if this works on unrooted stock firmware?. I am unable to make whatsapp calls because Sprinthub keeps terminating it.
Please if anyone has better idea of debloating Sprint crap, then let me know.
thanks
I have a XT1789-06 (Indian) and i use this method to debloat my Moto Phones (Moto Z , Moto Z2 Force , Moto Z Play) all running on stock and locked BL. This works quite well to uninstall apps (such as Moto Voice , Motorola SLPC System , Checkin , Device Management etc.. )
It doesn't have any carrier specific app , but it should succeed .

[GUIDE] List of bloatware safe to remove & How to do it

Hi guys!
At/On the weekend, I spend some time on EMUI 9 looking for apps that I could safely remove. Since then, I've been using the device and I didn't have any kind of bug or crash up to now. I made the uninstall of the apps by ADB. So, I decided to share the list that I made with such apps. The apps on the list are already with the commands.
Here it is:
pm uninstall -k --user 0 com.google.android.marvin.talkback
pm uninstall -k --user 0 com.google.android.setupwizard
pm uninstall -k --user 0 com.google.android.apps.restore
pm uninstall -k --user 0 com.google.android.webview
pm uninstall -k --user 0 com.android.frameworkhwext.honor
pm uninstall -k --user 0 com.android.dreams.phototable
pm uninstall -k --user 0 com.android.partnerbrowsercustomizations.tmobile
pm uninstall -k --user 0 com.android.email
pm uninstall -k --user 0 com.facebook.system
pm uninstall -k --user 0 com.facebook.appmanager
pm uninstall -k --user 0 com.facebook.services
pm uninstall -k --user 0 com.google.android.gm
pm uninstall -k --user 0 com.google.android.onetimeinitializer
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.google.android.music
pm uninstall -k --user 0 com.google.android.apps.tachyon
pm uninstall -k --user 0 com.huawei.hicard
pm uninstall -k --user 0 com.huawei.search
pm uninstall -k --user 0 com.huawei.phoneservice
pm uninstall -k --user 0 com.huawei.hitouch
pm uninstall -k --user 0 com.android.keyguard
pm uninstall -k --user 0 com.huawei.featurelayer.sharedfeature.map
pm uninstall -k --user 0 com.huawei.wallet
pm uninstall -k --user 0 com.huawei.featurelayer.sharedfeature.baidu
pm uninstall -k --user 0 com.huawei.hwstartupguide
pm uninstall -k --user 0 com.huawei.livewallpaper.mountaincloud
pm uninstall -k --user 0 com.huawei.android.FloatTasks
pm uninstall -k --user 0 com.google.android.apps.photos
pm uninstall -k --user 0 com.huawei.contactscamcard
pm uninstall -k --user 0 com.huawei.trustagent
pm uninstall -k --user 0 com.example.android.notepad
pm uninstall -k --user 0 com.android.mediacenter
Here is a guide to install and use ADB: https://www.xda-developers.com/install-adb-windows-macos-linux/
very good battery improved
Any chance of a list of the actual apps you're removing?
ghostofcain said:
Any chance of a list of the actual apps you're removing?
Click to expand...
Click to collapse
It's the same as the one mentioned above.
Rhadamanthis said:
very good battery improved
Click to expand...
Click to collapse
Yeah. The phone looks even smoother.
Do I need to unlock the bootloader first?
qtoo941 said:
Do I need to unlock the bootloader first?
Click to expand...
Click to collapse
No.
Is this for the Mate 10 (non-pro) also???
jaseman said:
Is this for the Mate 10 (non-pro) also???
Click to expand...
Click to collapse
Of course
I have 8.0 on my mate 10 pro. Does this also count for 8.0?
b1bub4bu said:
I have 8.0 on my mate 10 pro. Does this also count for 8.0?
Click to expand...
Click to collapse
Definitely
Ah I did not know i have to do adb shell first
Will this work for the Mate 20 Pro running Android 9.0?
krugerbud said:
Will this work for the Mate 20 Pro running Android 9.0?
Click to expand...
Click to collapse
Definitely will.
Tiago A said:
Definitely will.
Click to expand...
Click to collapse
If I remove these using the adb commands and then factory reset the phone. Will it re-appear?
krugerbud said:
If I remove these using the adb commands and then factory reset the phone. Will it re-appear?
Click to expand...
Click to collapse
Yes. That is the only way to get back some apps if you accidentally removed one you need.
user_57439 said:
Yes. That is the only way to get back some apps if you accidentally removed one you need.
Click to expand...
Click to collapse
That right.
user_57439 said:
Yes. That is the only way to get back some apps if you accidentally removed one you need.
Click to expand...
Click to collapse
Tiago A said:
That right.
Click to expand...
Click to collapse
OK guys thanks. I wont factory reset then. :good:
user_57439 said:
Yes. That is the only way to get back some apps if you accidentally removed one you need.
Click to expand...
Click to collapse
Tiago A said:
That right.
Click to expand...
Click to collapse
I am receiving this error when I type adb shell
error: device unauthorized.
This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
krugerbud said:
I am receiving this error when I type adb shell
error: device unauthorized.
This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
Click to expand...
Click to collapse
Did you enable USB debugging mode in developer settings? Also, you must type adb devices and adb shell before using the following commands.

How to get rid of the Mi Bloatware pre-installed without flashing/root?

As per title guys, is it possible? I'm ABSOLUTELY unable and I'm bit afraid honestly, to play with root, flash and so on.
I confess that before to write this tread I've googled around and I found out a video: https://www.youtube.com/watch?v=HIMPaKFfadI
The indian guy says to install a program which remove this Mi bloatwares in my Mi9T Pro.
But the link in his video description is without .jar nor .exe file, therefore absolutely useless.
I don't know, maybe I should bite the bullet and go on with the rooting. :silly:
But I have few questions:
1) Does the rooting will void the warranty? How are the policies at Mi Corporation?
2) Does the wiping of the Mi Apps help the phone performances? I can't complain honestly but, I don't know, is normal seeing an important RAM usage (only 35-40% is free). I have installed only 15 apps that I really need. Is that normal?
3) With the imminent Android 10 and new version of Miui, the uninstalled Mi apps will be reinstalled automatically or, worst case scenario, since they have been removed it will affect any system update?
I think this is all. Please forgive me if I have just opened a double tread (I couldn't find another similar one).
Thanks a lot guys!
First of all, RAM is there to be used, not to be empty. So a fairly high RAM usage is completely normal under Android.
If you install an upgrade, some apps might come back, but it can also cause issues when upgrading.
Here a manual for the Mi 9, I think it's very similar with the 9T, but I never tested it.
https://forum.xda-developers.com/Mi-9/themes/xiaomi-mi9-debloat-root-root-t3910021
Step to debloat K20 pro
Uninstall any apps you can from the phone like Facebook, Paytm, etc.. Now install a custom launcher and sms app of you choice (i prefer nova launcher prime and sms organizer). This step is important.
Now enable developer options and turn on usb debugging. Connect the phone to the PC and open cmd in platform-tools folder.
Now type adb devices and make sure the devices is connected correctly.
Now type
Code:
adb shell
this will open up the adb shell. Now copy and paste the below commands and press enter.
Code:
pm uninstall -k --user 0 com.xiaomi.micloud.sdk
pm uninstall -k --user 0 com.miui.gallery
pm uninstall -k --user 0 com.miui.videoplayer
pm uninstall -k --user 0 com.xiaomi.payment
pm uninstall -k --user 0 com.miui.videoplayer
pm uninstall -k --user 0 com.miui.micloudsync
pm uninstall -k --user 0 com.xiaomi.mipicks
pm uninstall -k --user 0 com.xiaomi.midrop
pm uninstall -k --user 0 com.miui.cleanmaster
pm uninstall -k --user 0 com.miui.notes
pm uninstall -k --user 0 com.android.browser
pm uninstall -k --user 0 com.miui.gallery
pm uninstall -k --user 0 com.xiaomi.payment
pm uninstall -k --user 0 com.miui.videoplayer
pm uninstall -k --user 0 com.miui.player
pm uninstall -k --user 0 com.xiaomi.mipicks
pm uninstall -k --user 0 com.mi.android.globalFileexplorer
pm uninstall -k --user 0 com.miui.notes
pm uninstall -k --user 0 com.xiaomi.midrop
pm uninstall -k --user 0 com.miui.cleanmaster
pm uninstall -k --user 0 com.miui.analytics
pm uninstall -k --user 0 com.google.android.music
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.mipay.wallet.in
pm uninstall -k --user 0 com.miui.bugreport
pm uninstall -k --user 0 com.one97.paytm
pm uninstall -k --user 0 com.android.mms
pm uninstall -k --user 0 com.miui.weather2
pm uninstall -k --user 0 com.mi.android.globallauncher
Now you are bloat free. You can install any filemanager and image viewer of your choice.
Xiaomi ADB/Fastboot Tools
https://github.com/Saki-EU/XiaomiADBFastbootTools
Very simple and easy to use.
So guys, I used the program and removed some native apps from xiaomi (app vault, music player, video player, etc). I don't remember removing any services like micloud or sync. Will I have a problem updating the system?
Who knows. Probably not, but only the future can tell.
patoberli said:
Who knows. Probably not, but only the future can tell.
Click to expand...
Click to collapse
Is there any way to reinstall all native apps? I don't remember everything i uninstalled and now im afraid to brick the phone (my bootloader is locked)
Yes, factory reset.
patoberli said:
Who knows. Probably not, but only the future can tell.
Click to expand...
Click to collapse
mmm this is the main concern
SteveHG said:
Yes, factory reset.
Click to expand...
Click to collapse
thanks man, i'll try
---------- Post added at 10:53 PM ---------- Previous post was at 10:47 PM ----------
SteveHG said:
Yes, factory reset.
Click to expand...
Click to collapse
thanks man, i'll try
JovenMaka said:
Is there any way to reinstall all native apps? I don't remember everything i uninstalled and now im afraid to brick the phone (my bootloader is locked)
Click to expand...
Click to collapse
Have you done Something else ? Because all apps listed in Xiaomi ADB/Fastboot Tools are supposed to be completly harmless to remove.
Also even though I haven't tried it yet, there is a "Reinstaller" tab in Xiaomi ADB/Fastboot Tools, I guess it does what you ask for (can't check right now, I'm at work).
Actually I think you can simply replace the word uninstall with install in the guide and they should be installed again.
Thordelan said:
Xiaomi ADB/Fastboot Tools
https://github.com/Saki-EU/XiaomiADBFastbootTools
Very simple and easy to use.
Click to expand...
Click to collapse
yes but how it works, I click on the right download ZIP file but then? Apart clicking USB debug and cable the phone with the laptop I don't know how run this stuff.
from CMD?
Giorno Giovanna said:
yes but how it works, I click on the right download ZIP file but then? Apart clicking USB debug and cable the phone with the laptop I don't know how run this stuff.
from CMD?
Click to expand...
Click to collapse
You double-click on XiaomiADBFastbootTools.jar but you need Java installed on your computer to be able to launch it.
https://java.com/en/download/
bsbimalbose said:
Step to debloat K20 pro
Uninstall any apps you can from the phone like Facebook, Paytm, etc.. Now install a custom launcher and sms app of you choice (i prefer nova launcher prime and sms organizer). This step is important.
Now enable developer options and turn on usb debugging. Connect the phone to the PC and open cmd in platform-tools folder.
Now type adb devices and make sure the devices is connected correctly.
Now type
Code:
adb shell
this will open up the adb shell. Now copy and paste the below commands and press enter.
Code:
pm uninstall -k --user 0 com.xiaomi.micloud.sdk
pm uninstall -k --user 0 com.miui.gallery
pm uninstall -k --user 0 com.miui.videoplayer
pm uninstall -k --user 0 com.xiaomi.payment
pm uninstall -k --user 0 com.miui.videoplayer
pm uninstall -k --user 0 com.miui.micloudsync
pm uninstall -k --user 0 com.xiaomi.mipicks
pm uninstall -k --user 0 com.xiaomi.midrop
pm uninstall -k --user 0 com.miui.cleanmaster
pm uninstall -k --user 0 com.miui.notes
pm uninstall -k --user 0 com.android.browser
pm uninstall -k --user 0 com.miui.gallery
pm uninstall -k --user 0 com.xiaomi.payment
pm uninstall -k --user 0 com.miui.videoplayer
pm uninstall -k --user 0 com.miui.player
pm uninstall -k --user 0 com.xiaomi.mipicks
pm uninstall -k --user 0 com.mi.android.globalFileexplorer
pm uninstall -k --user 0 com.miui.notes
pm uninstall -k --user 0 com.xiaomi.midrop
pm uninstall -k --user 0 com.miui.cleanmaster
pm uninstall -k --user 0 com.miui.analytics
pm uninstall -k --user 0 com.google.android.music
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.mipay.wallet.in
pm uninstall -k --user 0 com.miui.bugreport
pm uninstall -k --user 0 com.one97.paytm
pm uninstall -k --user 0 com.android.mms
pm uninstall -k --user 0 com.miui.weather2
pm uninstall -k --user 0 com.mi.android.globallauncher
Now you are bloat free. You can install any filemanager and image viewer of your choice.
Click to expand...
Click to collapse
Hi,
thanks for this post but I see there are some redundant lines (com.miui.videoplayer is doubled) and some other which seems be not related to Xiaomi (i.e. com.google.android.videos; com.mi.android.globalFileexplorer; com.mi.android.globallauncher). I'm wondering if I can choose what I want to delete. In fact I don't think I will even touch those "android" lines.
Anyway I have 5 main questions:
1) As I said may I customize what I want to rid off? Because actually I want just remove the browser, notes, mi video, calendar, music, gallery.
2) Regarding the calendar, I notice that there is no way to set the google calendar as default. When I click on the date the Mi calendar comes up. If I unisitall the Xiaomi Calendar will be the Google one default automatically?
3) In the next update (Android 10 or Miui 11) I will find again the bloatware that I've uninstalled?
4) Will the warranty be void?
5) If I will make a disaster a factory reset will save my ass?
Bonus question: do the removing of all or some these bloatwares help the phone to be more performant, quick, in other words better? I should expect less usage of ram and more free space?
Thordelan said:
You double-click on XiaomiADBFastbootTools.jar but you need Java installed on your computer to be able to launch it.
https://java.com/en/download/
Click to expand...
Click to collapse
do you mean that I need to rename the file as .jar ?
Giorno Giovanna said:
do you mean that I need to rename the file as .jar ?
Click to expand...
Click to collapse
No.
You were supposed to :
1) download the zip file "XiaomiADBFastbootTools-6.6.2-Win.zip" you can find here (assuming you are a Windows user) : https://github.com/Saki-EU/XiaomiADBFastbootTools/releases/tag/6.6.2
2) Extract the zip file wherever you want.
3) Install Java : https://java.com/en/download/
4) Double-click on "XiaomiADBFastbootTools.jar" like you would for an exe file.
That's it.
Thordelan said:
No.
You were supposed to :
1) download the zip file "XiaomiADBFastbootTools-6.6.2-Win.zip" you can find here (assuming you are a Windows user) : https://github.com/Saki-EU/XiaomiADBFastbootTools/releases/tag/6.6.2
2) Extract the zip file wherever you want.
3) Install Java : https://java.com/en/download/
4) Double-click on "XiaomiADBFastbootTools.jar" like you would for an exe file.
That's it.
Click to expand...
Click to collapse
Thanks! Did it!
And what about my previous post? Any advice?
Giorno Giovanna said:
Thanks! Did it!
And what about my previous post? Any advice?
Click to expand...
Click to collapse
share the list that you remove ? thinking of trying as well , odd calculator app is not inside ?
just downloaded the jar file , click it , its show fatal error , weird ...
Aimara said:
share the list that you remove ? thinking of trying as well , odd calculator app is not inside ?
just downloaded the jar file , click it , its show fatal error , weird ...
Click to expand...
Click to collapse
I would like to get removed only the browser, the note, mi video, gallery, cleaner.
but I'm worrying that since these are embedded in the phone we could even remove but soon or later they will return with a system update.
and, but this is my opinion, it's not worth remove in the way that you can't wipe out completely...they will stand as broken bridge somewhere in the phone (swipe up and chech the app opened, above there is "manage app" icon and "cleaner" app too, this app is in the launcher. Even if we click on it and won't happen anything it will be still there).
Understand what I mean guys?

Question Selective disable of bixby stuff

Hi Comrades,
I wanted to check with the experts here if I could selectively disable bixby garbage via adb without affecting some bixby stuff that I use. For e.g., I really like the bixby routines and would like to keep it whilst disabling the rest as below via adb shell pm uninstall -k --user 0 :
com.samsung.android.visionintelligence
com.samsung.android.bixbyvision.framework
com.samsung.android.bixby.service
com.samsung.android.bixby.agent
com.smasung.android.bixby.agent.dummy
Would uninstalling these screw up routines?
I actually did this today, routines appear fine as long as you don't remove the specific item
So, have you actually disabled all the above listed services and Bixby is still working?
I would like to do that too if that's the case.
Ran all of the below - so far routines are all fine, but haven't extensively tested
pm uninstall -k --user 0 com.samsung.android.bixby.wakeup
pm uninstall -k --user 0 com.samsung.android.app.spage
pm uninstall -k --user 0 com.samsung.android.bixby.service
pm uninstall -k --user 0 com.samsung.android.visionintelligence
pm uninstall -k --user 0 com.samsung.android.bixby.agent
pm uninstall -k --user 0 com.samsung.android.bixby.agent.dummy
pm uninstall -k --user 0 com.samsung.android.bixbyvision.framework
Samsung-bloatware-list.txt - Google Drive
Good list if you want more to go
mtm1401 said:
Ran all of the below - so far routines are all fine, but haven't extensively tested
pm uninstall -k --user 0 com.samsung.android.bixby.wakeup
pm uninstall -k --user 0 com.samsung.android.app.spage
pm uninstall -k --user 0 com.samsung.android.bixby.service
pm uninstall -k --user 0 com.samsung.android.visionintelligence
pm uninstall -k --user 0 com.samsung.android.bixby.agent
pm uninstall -k --user 0 com.samsung.android.bixby.agent.dummy
pm uninstall -k --user 0 com.samsung.android.bixbyvision.framework
Samsung-bloatware-list.txt - Google Drive
Good list if you want more to go
Click to expand...
Click to collapse
Thanks a lot , will give it a try and hopefully the basic functionality of Bixby will still be usable.
Also, the bloatware list is yet to be tried.
VioNeo said:
Thanks a lot , will give it a try and hopefully the basic functionality of Bixby will still be usable.
Also, the bloatware list is yet to be tried.
Click to expand...
Click to collapse
Did this..and can confirm routines are still working...
amirage said:
Did this..and can confirm routines are still working...
Click to expand...
Click to collapse
Thanks a lot Comrade, will implement this myself right now

Question Question about debloating a specific Samsung application

I have performed successful ADB debloating, but was unsure of deleting the Knox applications (not sure what to take out) and I have a question about a Samsung specific app..
I hate the Samsung Gallery app and I am using Google Photos, but the stock gallery app is redundant and often in the way. What would happen if I delete this? Will the phone default to Google Photos without much hiccup, or will there be issues beyond integration with the camera, etc?
Thanks.
TORQUERULES said:
I have performed successful ADB debloating, but was unsure of deleting the Knox applications (not sure what to take out) and I have a question about a Samsung specific app..
I hate the Samsung Gallery app and I am using Google Photos, but the stock gallery app is redundant and often in the way. What would happen if I delete this? Will the phone default to Google Photos without much hiccup, or will there be issues beyond integration with the camera, etc?
Thanks.
Click to expand...
Click to collapse
If you debloat the stock gallery app when you're in the stock camera app and you tap on a photo to view it it will tell you there is no default app to perform this action. Other than that I didn't see any issues.
ajsmsg78 said:
If you debloat the stock gallery app when you're in the stock camera app and you tap on a photo to view it it will tell you there is no default app to perform this action. Other than that I didn't see any issues.
Click to expand...
Click to collapse
Thanks, that is what I figured. I really hate having the two apps fighting against each other.
TORQUERULES said:
Thanks, that is what I figured. I really hate having the two apps fighting against each other.
Click to expand...
Click to collapse
Yeah it's slightly annoying but it could be worse. I use App Freezer instead of debloating through ADB as it's much easier to disable whatever you want without root then if something doesn't work afterwards you can just enable it again quickly. I've done a lot of testing and pretty much have it down to a science of what apps you can and can't disable. I have frozen probably around 80-90 apps and everything still works except for those things I removed on purpose. You can even save a frozen packages list to an xml and share it and import it which I like.
TORQUERULES said:
I have performed successful ADB debloating, but was unsure of deleting the Knox applications (not sure what to take out) and I have a question about a Samsung specific app..
I hate the Samsung Gallery app and I am using Google Photos, but the stock gallery app is redundant and often in the way. What would happen if I delete this? Will the phone default to Google Photos without much hiccup, or will there be issues beyond integration with the camera, etc?
Thanks.
Click to expand...
Click to collapse
Hi,
Mind sharing the debloating list or method used?
Thanks.
pm uninstall --user 0 com.samsung.android.bixby.wakeup
pm uninstall --user 0 com.samsung.android.app.spage
pm uninstall --user 0 com.samsung.android.app.routines
pm uninstall --user 0 com.samsung.android.bixby.service
pm uninstall --user 0 com.samsung.android.visionintelligence
pm uninstall --user 0 com.samsung.android.bixby.agent
pm uninstall --user 0 com.samsung.android.bixby.agent.dummy
pm uninstall --user 0 com.samsung.android.bixbyvision.framework
pm uninstall --user 0 com.samsung.android.messaging
pm uninstall --user 0 com.samsung.android.drivelink.stub
pm uninstall --user 0 com.sec.android.widgetapp.samsungapps
pm uninstall --user 0 com.sec.android.app.sbrowser
pm uninstall --user 0 com.samsung.android.mateagent
pm uninstall --user 0 com.sec.android.daemonapp
pm uninstall --user 0 com.samsung.android.app.social
pm uninstall --user 0 com.samsung.ecomm.global
pm uninstall --user 0 com.samsung.android.voc
pm uninstall --user 0 com.samsung.android.visioncloudagent
pm uninstall --user 0 com.samsung.android.visionintelligence
pm uninstall --user 0 com.samsung.android.widgetapp.yahooedge.finance
pm uninstall --user 0 com.samsung.android.widgetapp.yahooedge.sport
pm uninstall --user 0 com.samsung.android.email.provider
pm uninstall --user 0 com.wsomacp
pm uninstall --user 0 com.samsung.android.samsungpass
pm uninstall --user 0 com.samsung.android.spay
pm uninstall --user 0 com.samsung.android.spayfw
pm uninstall --user 0 com.samsung.android.kidsinstaller
pm uninstall --user 0 com.samsung.android.app.camera.sticker.facearavatar.preload
pm uninstall --user 0 com.sec.android.app.kidshome
pm uninstall --user 0 com.att.dh
pm uninstall --user 0 com.att.dtv.shaderemote
pm uninstall --user 0 com.att.tv
pm uninstall --user 0 com.asurion.android.protech.att
pm uninstall --user 0 com.att.android.attsmartwifi
pm uninstall --user 0 com.microsoft.skydrive
pm uninstall --user 0 com.samsung.android.calendar
pm uninstall --user 0 com.cnn.mobile.android.phone
pm uninstall --user 0 com.bleacherreport.android.teamstream
pm uninstall --user 0 net.aetherpal.device
pm uninstall --user 0 com.google.android.dialer
pm uninstall --user 0 com.wb.goog.got.conquest
pm uninstall --user 0 pm uninstall –user 0 com.wb.goog.dcuniverse
pm uninstall --user 0 com.synchronoss.dcs.att.r2g
pm uninstall --user 0 com.wavemarket.waplauncher
pm uninstall --user 0 com.pandora.android
pm uninstall --user 0 com.wb.goog.got.conquest
pm uninstall --user 0 com.wb.goog.dcuniverse
pm uninstall --user 0 com.innogames.foeandroid
pm uninstall --user 0 com.playstudios.popslots
pm uninstall --user 0 com.gsn.android.tripeaks
pm uninstall --user 0 com.foxnextgames.m3
pm uninstall --user 0 com.audible.application
pm uninstall --user 0 jp.gocro.smartnews.android
pm uninstall --user 0 com.wavemarket.waplauncher
pm uninstall --user 0 com.linkedin.android
pm uninstall --user 0 co.hunge.app
pm uninstall --user 0 com.greatbigstory.greatbigstory
pm uninstall --user 0 com.drivemode
adb shell settings put secure refresh_rate_mode 2
ajsmsg78 said:
Yeah it's slightly annoying but it could be worse. I use App Freezer instead of debloating through ADB as it's much easier to disable whatever you want without root then if something doesn't work afterwards you can just enable it again quickly. I've done a lot of testing and pretty much have it down to a science of what apps you can and can't disable. I have frozen probably around 80-90 apps and everything still works except for those things I removed on purpose. You can even save a frozen packages list to an xml and share it and import it which I like.
Click to expand...
Click to collapse
Would you mind sharing all the packages and apps you "froze" in some sort of a list? I´m looking for some list to use with the adb disabler. Can´t find any basic list that has some effect.
Thanks in advance
deziderkovacs said:
Would you mind sharing all the packages and apps you "froze" in some sort of a list? I´m looking for some list to use with the adb disabler. Can´t find any basic list that has some effect.
Thanks in advance
Click to expand...
Click to collapse
I did not freeze anything, nor did I use a package disabler. I used ADB and command line using the commands I listed above for those apps I did not want as well as keeping the display at "high" as much as possible (120hz).
deziderkovacs said:
Would you mind sharing all the packages and apps you "froze" in some sort of a list? I´m looking for some list to use with the adb disabler. Can´t find any basic list that has some effect.
Thanks in advance
Click to expand...
Click to collapse
Here is my Frozen Packages XML file that you can open up in any text editor and view or load in the App Freezer app. Obviously don't disable something if you know what it is and you use it.
https://drive.google.com/file/d/1JwtZ1u-U2AtlwLfVNVsCRRqqDZ3Yo-wG/view?usp=drivesdk
ajsmsg78 said:
Here is my Frozen Packages XML file that you can open up in any text editor and view or load in the App Freezer app. Obviously don't disable something if you know what it is and you use it.
https://drive.google.com/file/d/1JwtZ1u-U2AtlwLfVNVsCRRqqDZ3Yo-wG/view?usp=drivesdk
Click to expand...
Click to collapse
Thank you very much !

Categories

Resources