Deactivate SIM 2 during Startup - Xiaomi Mi A2 / 6X Questions & Answers

My goal, on Android 11 with Pixel Experience and Magisk, is to deactivate SIM 2 as soon as the phone starts.
Magisk logs the successful Execution of my "su - shell -c 'service call phone 193 i32 1 i32 0'" script from "/data/adb/service.d".
But, SIM 2 is not deactivated.
Note: The same (similar) script "adb shell service call phone 193 i32 1 i32 0" works as expected when issued from the PC.
Note: I know about Tasker, but I'm looking for a native shell (Magisk) solution.
How can I achieve this goal?

Related

Run Shell for Carrier Label

I'm running Dirty Unicorns ROM. It has an option for custom carrier label. When I run shell for "settings list system" the line custom_carrier_label=Verizon Wireless shows. I want to hide all notifications from the lock screen and have my carrier label show %SMS (variable for unread SMS) Message if %SMS>0. My code settings put system custom_carrier_label=%SMS Message in run shell doesn't work. If this is possible what am I doing wrong?
Sent from my Nexus 6P using Tapatalk
You probably need to restart systemui for the change to take effect.
To do that, run this shell command as root:
Code:
pkill -l TERM -f com.android.systemui
If your screen is on when this command runs, whatever you are doing well get interrupted by your lock screen.
To avoid being interrupted, add this action before the shell command:
Code:
Wait Until
%SCREEN ~ off
Also, your 'settings put ...' shell command needs to be run as root.
Depending on your ROM broadcasting
Code:
android.intent.action.CUSTOM_CARRIER_LABEL
might also work.

Magisk/E: Unknown id: pm, with "pm uninstall" shell command

Hi, i have a Nexus 6P based on 7.1.1 with Magisk root v14.0 with Magisk manager v14.0.
With the terminal emulator app i'm trying to execute this commands:
Code:
su
pm uninstall org.telegram.messenger
But i got an error: Android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died etc..
But if i connect my Nexus 6P to my pc, and via ADB i try to push this command
Code:
adb shell pm uninstall org.telegram.messenger
It works. I don't know if it's related to Magisk, but i tried to build an app made by that execute "pm uninstall org.telegram.messenger" after "su" to get root shell but nothing, i got only an error on my android monitor: "E/Magisk: Unknow id: pm" and obviously telegram has this package name and it is installed as user app. Someone can help me ?
smartandroidtech said:
Hi, i have a Nexus 6P based on 7.1.1 with Magisk root v14.0 with Magisk manager v14.0.
With the terminal emulator app i'm trying to execute this commands:
Code:
su
pm uninstall org.telegram.messenger
But i got an error: Android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died etc..
But if i connect my Nexus 6P to my pc, and via ADB i try to push this command
Code:
adb shell pm uninstall org.telegram.messenger
It works. I don't know if it's related to Magisk, but i tried to build an app made by that execute "pm uninstall org.telegram.messenger" after "su" to get root shell but nothing, i got only an error on my android monitor: "E/Magisk: Unknow id: pm" and obviously telegram has this package name and it is installed as user app. Someone can help me ?
Click to expand...
Click to collapse
Are you able to uninstall the normal way thought settings>apps?
Sent from my H1611 using Tapatalk

Question [Solved] How to remove bloat?

Debloat script and ADB AppControl is making the phone always ask me for my Vivo account password and nothing is ever removed.
How do I get around this? I would like this bloat off my phone.
Please only useful replies on what could work or did work for you.
I've got the OriginOS version: PD2227C_A_13.0.19.0.W10.V000L1
Thanks
EDIT: Tried on 2 other computers now, same problem both times.
EDIT 2: Also tried on Linux, still getting asked for password...
Ok I modified the script because the v2.5 wasn't working for me. So call this v2.6 and it fixes the issues I was having. This managed to eradicate all the garbage off my phone. There was maybe 4 apps left like Kids Mode, 3 Chinese apps and some Baidu thing and Weibo.com or whatever. I just uninstalled them myself from the phone.
I assume no warranty for running the following.
Save the following into a .bat file:
Code:
@echo OFF
set s=---------------------------------------------------------------------------
set m1= Script made By RaimondoMartire and Pervokur
set m2= Go turn on usb debugging if you haven't did till now and connect your device to pc.
echo %m1%
echo %m3%
echo %s%
echo %m2%
echo %s%
pause
adb wait-for-any-device
adb reconnect
adb wait-for-any-device
adb shell service call package 131 s16 com.vivo.agent i32 0 i32 0
adb shell service call package 131 s16 com.vivo.browser i32 0 i32 0
adb shell service call package 131 s16 com.vivo.smartremote i32 0 i32 0
adb shell service call package 131 s16 com.vivo.easyshare i32 0 i32 0
adb shell service call package 131 s16 com.android.bbkmusic i32 0 i32 0
adb shell service call package 131 s16 com.android.VideoPlayer i32 0 i32 0
adb shell service call package 131 s16 com.vivo.translator i32 0 i32 0
adb shell service call package 131 s16 com.iqoo.secure i32 0 i32 0
adb shell service call package 131 s16 com.vivo.simplelauncher i32 0 i32 0
adb shell service call package 131 s16 com.vivo.hiboard i32 0 i32 0
adb shell service call package 131 s16 com.bbk.appstore i32 0 i32 0
adb shell service call package 131 s16 com.baidu.input_vivo i32 0 i32 0
adb shell service call package 131 s16 com.bbk.calendar i32 0 i32 0
adb shell service call package 131 s16 com.vivo.car.networking i32 0 i32 0
adb shell service call package 131 s16 com.vivo.smartlife i32 0 i32 0
adb shell service call package 131 s16 com.vivo.ai.ime.nex i32 0 i32 0
adb shell service call package 131 s16 com.vivo.pem i32 0 i32 0
adb shell service call package 131 s16 com.tencent.mobileqq i32 0 i32 0
adb shell service call package 131 s16 com.tencent.mm i32 0 i32 0
adb shell service call package 131 s16 com.kugou.android i32 0 i32 0
adb shell service call package 131 s16 com.qiyi.video i32 0 i32 0
adb shell service call package 131 s16 com.taobao.taobao i32 0 i32 0
adb shell service call package 131 s16 com.youku.phone i32 0 i32 0
adb shell service call package 131 s16 com.baidu.BaiduMap i32 0 i32 0
adb shell service call package 131 s16 com.eg.android.AlipayGphone i32 0 i32 0
adb shell service call package 131 s16 com.baidu.searchbox i32 0 i32 0
adb shell service call package 131 s16 com.sina.weibo i32 0 i32 0
adb shell service call package 131 s16 com.shoujiduoduo.ringtone i32 0 i32 0
adb shell service call package 131 s16 com.tencent.qqlive i32 0 i32 0
adb shell service call package 131 s16 com.tencent.mtt i32 0 i32 0
adb shell service call package 131 s16 com.tencent.qqmusic i32 0 i32 0
adb shell service call package 131 s16 com.sohu.sohuvideo i32 0 i32 0
adb shell service call package 131 s16 com.smile.gifmaker i32 0 i32 0
adb shell service call package 131 s16 com.sankuai.meituan i32 0 i32 0
adb shell service call package 131 s16 com.uc.browser.en i32 0 i32 0
adb shell service call package 131 s16 com.eg.android.AlipayGphone i32 0 i32 0
adb shell service call package 131 s16 com.tencent.qqlive i32 0 i32 0
adb shell service call package 131 s16 com.zhihu.android i32 0 i32 0
adb shell service call package 131 s16 com.dragon.read i32 0 i32 0
adb shell service call package 131 s16 com.taobao.taobao i32 0 i32 0
adb shell service call package 131 s16 com.baidu.carlife.vivo i32 0 i32 0
adb shell service call package 131 s16 ctrip.android.view i32 0 i32 0
adb shell service call package 131 s16 com.xingin.xhs i32 0 i32 0
adb shell service call package 131 s16 com.xtc.originwidget i32 0 i32 0
adb shell service call package 131 s16 com.achievo.vipshop i32 0 i32 0
adb shell service call package 131 s16 tv.danmaku.bili i32 0 i32 0
adb shell service call package 131 s16 com.jingdong.app.mall i32 0 i32 0
adb shell service call package 131 s16 com.ximalaya.ting.android i32 0 i32 0
adb shell service call package 131 s16 com.sina.weibo i32 0 i32 0
adb shell service call package 131 s16 com.kaixinkan.ugc.video.atom i32 0 i32 0
adb shell service call package 131 s16 com.vivo.wallet.appwidget i32 0 i32 0
adb shell service call package 131 s16 com.kaixinkan.ugc.video i32 0 i32 0
adb shell service call package 131 s16 com.vivo.browser.novel.widget
adb shell service call package 131 s16 com.unionpay.tsmservice i32 0 i32 0
adb shell service call package 131 s16 com.smile.gifmaker i32 0 i32 0
adb shell service call package 131 s16 com.vivo.minigamecenter i32 0 i32 0
adb shell service call package 131 s16 com.vivo.vhome i32 0 i32 0
adb shell service call package 131 s16 com.vivo.video.widget i32 0 i32 0
adb shell service call package 131 s16 com.vivo.familycare.widget i32 0 i32 0
adb shell service call package 131 s16 com.baidu.searchbox i32 0 i32 0
adb shell service call package 131 s16 com.autonavi.minimap i32 0 i32 0
adb shell service call package 131 s16 com.vivo.weather i32 0 i32 0
adb shell service call package 131 s16 com.vivo.widgetweather i32 0 i32 0
adb shell service call package 131 s16 com.vivo.dream.weather i32 0 i32 0
adb shell service call package 131 s16 com.vivo.weather.provider i32 0 i32 0
adb shell service call package 131 s16 com.android.notes i32 0 i32 0
adb shell service call package 131 s16 com.vivo.space i32 0 i32 0
adb shell service call package 131 s16 com.vivo.wallet i32 0 i32 0
adb shell service call package 131 s16 com.android.mms i32 0 i32 0
adb shell service call package 131 s16 com.vivo.email i32 0 i32 0
adb shell service call package 131 s16 com.vivo.game i32 0 i32 0
echo %s%
echo your vivo has been debloated
echo %s%
echo %m1%
echo %s%
pause
Good luck. Worked first time on my Windows machine.
Regained about 2GB of active RAM space too.
Now I can finally set up this phone.
Finally, if you want to restore an app. Just change the first "0" in any one of these lines to a "1" and it will restore the app instantly.
I made the mistake of getting rid of the Gallery (Albums) app and then I could not view photos directly from the Camera app.
Thanks....so everyone, is this the version we should be using from now on?
Might be worth adding to the main debloat thread
luontokoodaus said:
Ok I modified the script because the v2.5 wasn't working for me. So call this v2.6 and it fixes the issues I was having. This managed to eradicate all the garbage off my phone. There was maybe 4 apps left like Kids Mode, 3 Chinese apps and some Baidu thing and Weibo.com or whatever. I just uninstalled them myself from the phone.
I assume no warranty for running the following.
Save the following into a .bat file:
Code:
@echo OFF
set s=---------------------------------------------------------------------------
set m1= Script made By RaimondoMartire and Pervokur
set m2= Go turn on usb debugging if you haven't did till now and connect your device to pc.
echo %m1%
echo %m3%
echo %s%
echo %m2%
echo %s%
pause
adb wait-for-any-device
adb reconnect
adb wait-for-any-device
adb shell service call package 131 s16 com.vivo.agent i32 0 i32 0
adb shell service call package 131 s16 com.vivo.browser i32 0 i32 0
adb shell service call package 131 s16 com.vivo.smartremote i32 0 i32 0
adb shell service call package 131 s16 com.vivo.easyshare i32 0 i32 0
adb shell service call package 131 s16 com.android.bbkmusic i32 0 i32 0
adb shell service call package 131 s16 com.android.VideoPlayer i32 0 i32 0
adb shell service call package 131 s16 com.vivo.translator i32 0 i32 0
adb shell service call package 131 s16 com.iqoo.secure i32 0 i32 0
adb shell service call package 131 s16 com.vivo.simplelauncher i32 0 i32 0
adb shell service call package 131 s16 com.vivo.hiboard i32 0 i32 0
adb shell service call package 131 s16 com.bbk.appstore i32 0 i32 0
adb shell service call package 131 s16 com.baidu.input_vivo i32 0 i32 0
adb shell service call package 131 s16 com.bbk.calendar i32 0 i32 0
adb shell service call package 131 s16 com.vivo.car.networking i32 0 i32 0
adb shell service call package 131 s16 com.vivo.smartlife i32 0 i32 0
adb shell service call package 131 s16 com.vivo.ai.ime.nex i32 0 i32 0
adb shell service call package 131 s16 com.vivo.pem i32 0 i32 0
adb shell service call package 131 s16 com.tencent.mobileqq i32 0 i32 0
adb shell service call package 131 s16 com.tencent.mm i32 0 i32 0
adb shell service call package 131 s16 com.kugou.android i32 0 i32 0
adb shell service call package 131 s16 com.qiyi.video i32 0 i32 0
adb shell service call package 131 s16 com.taobao.taobao i32 0 i32 0
adb shell service call package 131 s16 com.youku.phone i32 0 i32 0
adb shell service call package 131 s16 com.baidu.BaiduMap i32 0 i32 0
adb shell service call package 131 s16 com.eg.android.AlipayGphone i32 0 i32 0
adb shell service call package 131 s16 com.baidu.searchbox i32 0 i32 0
adb shell service call package 131 s16 com.sina.weibo i32 0 i32 0
adb shell service call package 131 s16 com.shoujiduoduo.ringtone i32 0 i32 0
adb shell service call package 131 s16 com.tencent.qqlive i32 0 i32 0
adb shell service call package 131 s16 com.tencent.mtt i32 0 i32 0
adb shell service call package 131 s16 com.tencent.qqmusic i32 0 i32 0
adb shell service call package 131 s16 com.sohu.sohuvideo i32 0 i32 0
adb shell service call package 131 s16 com.smile.gifmaker i32 0 i32 0
adb shell service call package 131 s16 com.sankuai.meituan i32 0 i32 0
adb shell service call package 131 s16 com.uc.browser.en i32 0 i32 0
adb shell service call package 131 s16 com.eg.android.AlipayGphone i32 0 i32 0
adb shell service call package 131 s16 com.tencent.qqlive i32 0 i32 0
adb shell service call package 131 s16 com.zhihu.android i32 0 i32 0
adb shell service call package 131 s16 com.dragon.read i32 0 i32 0
adb shell service call package 131 s16 com.taobao.taobao i32 0 i32 0
adb shell service call package 131 s16 com.baidu.carlife.vivo i32 0 i32 0
adb shell service call package 131 s16 ctrip.android.view i32 0 i32 0
adb shell service call package 131 s16 com.xingin.xhs i32 0 i32 0
adb shell service call package 131 s16 com.xtc.originwidget i32 0 i32 0
adb shell service call package 131 s16 com.achievo.vipshop i32 0 i32 0
adb shell service call package 131 s16 tv.danmaku.bili i32 0 i32 0
adb shell service call package 131 s16 com.jingdong.app.mall i32 0 i32 0
adb shell service call package 131 s16 com.ximalaya.ting.android i32 0 i32 0
adb shell service call package 131 s16 com.sina.weibo i32 0 i32 0
adb shell service call package 131 s16 com.kaixinkan.ugc.video.atom i32 0 i32 0
adb shell service call package 131 s16 com.vivo.wallet.appwidget i32 0 i32 0
adb shell service call package 131 s16 com.kaixinkan.ugc.video i32 0 i32 0
adb shell service call package 131 s16 com.vivo.browser.novel.widget
adb shell service call package 131 s16 com.unionpay.tsmservice i32 0 i32 0
adb shell service call package 131 s16 com.smile.gifmaker i32 0 i32 0
adb shell service call package 131 s16 com.vivo.minigamecenter i32 0 i32 0
adb shell service call package 131 s16 com.vivo.vhome i32 0 i32 0
adb shell service call package 131 s16 com.vivo.video.widget i32 0 i32 0
adb shell service call package 131 s16 com.vivo.familycare.widget i32 0 i32 0
adb shell service call package 131 s16 com.baidu.searchbox i32 0 i32 0
adb shell service call package 131 s16 com.autonavi.minimap i32 0 i32 0
adb shell service call package 131 s16 com.vivo.weather i32 0 i32 0
adb shell service call package 131 s16 com.vivo.widgetweather i32 0 i32 0
adb shell service call package 131 s16 com.vivo.dream.weather i32 0 i32 0
adb shell service call package 131 s16 com.vivo.weather.provider i32 0 i32 0
adb shell service call package 131 s16 com.android.notes i32 0 i32 0
adb shell service call package 131 s16 com.vivo.space i32 0 i32 0
adb shell service call package 131 s16 com.vivo.wallet i32 0 i32 0
adb shell service call package 131 s16 com.android.mms i32 0 i32 0
adb shell service call package 131 s16 com.vivo.email i32 0 i32 0
adb shell service call package 131 s16 com.vivo.game i32 0 i32 0
echo %s%
echo your vivo has been debloated
echo %s%
echo %m1%
echo %s%
pause
Good luck. Worked first time on my Windows machine.
Regained about 2GB of active RAM space too.
Now I can finally set up this phone.
Click to expand...
Click to collapse
i have problem with debloat v2.5 ask me a vivo password and not deabloat ...
This work PERFECT, great work , thanks a lot
Yeah you are free to use this fine. Just be aware what apps it removes.
It does leave a few things left over which I couldn't be bothered adding to the script. Stuff like Kid's Mode and a few other apps. You can remove those yourself though from just uninstalling them normally via the phone. This at least gets rid of 99% of Chinese apps for me and frees up about 2.4GB of RAM from always being used. Now my phone is using roughly only about 2.2GB of RAM at all times. Before it was using almost close to 5GB.
This script is for OriginOS version of the phone, but I think there is no Funtouch version of the X90 Pro+? Maybe I am wrong.
Problem with the old script was that whoever made it wanted the apps to be uninstalled the "normal" way, that is it would provoke an normal uninstall which requires user action. This way just marks the package removed.
To get the package back, change the first 0 to a 1 and run that line manually. If the app has already been removed and you run this script, nothing will happen.
The only issue is that this script does not remove: com.vivo.pem I have not found anyway to remove this.
Likely it is not a good idea to remove it either. Unless someone can explain to me why it would be. As removing this disables all of the battery optimization/saving in the phone. I will agree that it is definitely too aggressive at saving battery but you can go into the advanced settings and enable background power consumption per app. Then also for each app you need go to the app properties > all permissions > enable "Autostart" That should stop any notification problems not syncing etc.
My brand new phone is working now 90% how I want it. Some apps still maybe not getting notifications (eg. Gmail) but otherwise everything else seems to be working well. I did notice some weird glitches like twice Bitwarden app just died and immediately re-opened but overall it makes my old free work phone OnePlus 10 Pro look like the piece of junk it is
After removing, also search settings for "Default App" and then change all those normal apps eg. for Phone, Messages, Gallery etc. to something else. Otherwise some things won't work or open.
You need to look for the setting in the phone to allow the default launcher to be changed also and then change the Middle bottom navigation button to stop opening the default launcher again.
I'll make a new thread about all this here, let's all continue there. As always YMMV.
luontokoodaus said:
I'll make a new thread about all this here, let's all continue there. As always YMMV.
Click to expand...
Click to collapse
Thread closed as per the OP's statement above.
-Regards: Badger50

How To Guide [CLOSED] Debloat Script v2.6.5 - Vivo X90 Pro+

Improving on what I (and some others) found was the v2.5 script not working. I made some changes and now it works fine for me and others.
You might need the other original files here (adb.exe + the .dll files), but those old .bat files from the .zip won't work. Use the one below.
I do not have permission to link files here on XDA and I do not want to rely on a file host that people will complain about, so just copy-paste the below code into a new .bat file.
Bash:
@echo OFF
set s=---------------------------------------------------------------------------
set m1= [v2.6.5] Script made By luontokoodaus, RaimondoMartire and Pervokur
set m2= Please turn on USB debugging if you haven't already enabled it in Developer Options
echo %m1%
echo %m3%
echo %s%
echo %m2%
echo %s%
pause
adb wait-for-any-device
adb reconnect
adb wait-for-any-device
adb shell service call package 131 s16 com.vivo.agent i32 0 i32 0
adb shell service call package 131 s16 com.vivo.browser i32 0 i32 0
adb shell service call package 131 s16 com.vivo.smartremote i32 0 i32 0
adb shell service call package 131 s16 com.vivo.easyshare i32 0 i32 0
adb shell service call package 131 s16 com.android.bbkmusic i32 0 i32 0
adb shell service call package 131 s16 com.android.VideoPlayer i32 0 i32 0
adb shell service call package 131 s16 com.vivo.translator i32 0 i32 0
adb shell service call package 131 s16 com.vivo.simplelauncher i32 0 i32 0
adb shell service call package 131 s16 com.vivo.hiboard i32 0 i32 0
adb shell service call package 131 s16 com.baidu.input_vivo i32 0 i32 0
adb shell service call package 131 s16 com.bbk.calendar i32 0 i32 0
adb shell service call package 131 s16 com.vivo.car.networking i32 0 i32 0
adb shell service call package 131 s16 com.vivo.smartlife i32 0 i32 0
adb shell service call package 131 s16 com.vivo.ai.ime.nex i32 0 i32 0
adb shell service call package 131 s16 com.tencent.mobileqq i32 0 i32 0
adb shell service call package 131 s16 com.tencent.mm i32 0 i32 0
adb shell service call package 131 s16 com.kugou.android i32 0 i32 0
adb shell service call package 131 s16 com.qiyi.video i32 0 i32 0
adb shell service call package 131 s16 com.taobao.taobao i32 0 i32 0
adb shell service call package 131 s16 com.youku.phone i32 0 i32 0
adb shell service call package 131 s16 com.baidu.BaiduMap i32 0 i32 0
adb shell service call package 131 s16 com.eg.android.AlipayGphone i32 0 i32 0
adb shell service call package 131 s16 com.sina.weibo i32 0 i32 0
adb shell service call package 131 s16 com.bbk.appstore i32 0 i32 0
adb shell service call package 131 s16 com.shoujiduoduo.ringtone i32 0 i32 0
adb shell service call package 131 s16 com.tencent.qqlive i32 0 i32 0
adb shell service call package 131 s16 com.tencent.mtt i32 0 i32 0
adb shell service call package 131 s16 com.tencent.qqmusic i32 0 i32 0
adb shell service call package 131 s16 com.sohu.sohuvideo i32 0 i32 0
adb shell service call package 131 s16 com.smile.gifmaker i32 0 i32 0
adb shell service call package 131 s16 com.sankuai.meituan i32 0 i32 0
adb shell service call package 131 s16 com.uc.browser.en i32 0 i32 0
adb shell service call package 131 s16 com.zhihu.android i32 0 i32 0
adb shell service call package 131 s16 com.dragon.read i32 0 i32 0
adb shell service call package 131 s16 com.baidu.carlife.vivo i32 0 i32 0
adb shell service call package 131 s16 ctrip.android.view i32 0 i32 0
adb shell service call package 131 s16 com.xingin.xhs i32 0 i32 0
adb shell service call package 131 s16 com.xtc.originwidget i32 0 i32 0
adb shell service call package 131 s16 com.achievo.vipshop i32 0 i32 0
adb shell service call package 131 s16 tv.danmaku.bili i32 0 i32 0
adb shell service call package 131 s16 com.jingdong.app.mall i32 0 i32 0
adb shell service call package 131 s16 com.ximalaya.ting.android i32 0 i32 0
adb shell service call package 131 s16 com.kaixinkan.ugc.video.atom i32 0 i32 0
adb shell service call package 131 s16 com.vivo.wallet.appwidget i32 0 i32 0
adb shell service call package 131 s16 com.kaixinkan.ugc.video i32 0 i32 0
adb shell service call package 131 s16 com.vivo.browser.novel.widget
adb shell service call package 131 s16 com.unionpay.tsmservice i32 0 i32 0
adb shell service call package 131 s16 com.vivo.minigamecenter i32 0 i32 0
adb shell service call package 131 s16 com.vivo.vhome i32 0 i32 0
adb shell service call package 131 s16 com.vivo.video.widget i32 0 i32 0
adb shell service call package 131 s16 com.vivo.familycare.widget i32 0 i32 0
adb shell service call package 131 s16 com.baidu.searchbox i32 0 i32 0
adb shell service call package 131 s16 com.autonavi.minimap i32 0 i32 0
adb shell service call package 131 s16 com.vivo.weather i32 0 i32 0
adb shell service call package 131 s16 com.vivo.widgetweather i32 0 i32 0
adb shell service call package 131 s16 com.vivo.dream.weather i32 0 i32 0
adb shell service call package 131 s16 com.vivo.weather.provider i32 0 i32 0
adb shell service call package 131 s16 com.android.notes i32 0 i32 0
adb shell service call package 131 s16 com.vivo.space i32 0 i32 0
adb shell service call package 131 s16 com.vivo.wallet i32 0 i32 0
adb shell service call package 131 s16 com.vivo.email i32 0 i32 0
adb shell service call package 131 s16 com.vivo.game i32 0 i32 0
adb shell service call package 131 s16 cn.com.omronhealthcare.omronplus.vivo i32 0 i32 0
echo %s%
echo your vivo has been debloated
echo %s%
echo %m1%
echo %s%
pause
Credits to: @raimondomartire and @Pervokur
To enable an app again. Simply replace the first "0" in the line with a "1" and run that line on its own.
Please do not argue about politics or other off-topic nonsense in this thread.
Post if you need help and I will see what I can do.
Thanks.
__________________________________
EDIT 1: Restored the V-Play store (Vivo store).
EDIT 2: Restored default SMS app (you can't get SMSes without it).
EDIT 3: Restored the Network Monitor app so taskbar network speed widget works again.
EDIT 4: Removed duplicate lines.
EDIT 5: Reverted edit 1 because the app store is highly annoying, mostly in Chinese and spams notifications constantly. It also does not need to be installed to get system app updates.
EDIT 6: Added some sneaky thing I saw running: cn.com.omronhealthcare.omronplus.vivo
Good idea starting a new thread.
As I just received my phone, I am going to debloat tonight.
Is any functionality broken with this script or it is considered a "light" debloat? I'd rather leave the phone as it is and live with the occasional Chinese language than having any issues.
And to be clear, do I just copy/paste into notepad and save as .bat - then replace it with the old .bat file in the download link above?
Haskren said:
Good idea starting a new thread.
As I just received my phone, I am going to debloat tonight.
Is any functionality broken with this script or it is considered a "light" debloat? I'd rather leave the phone as it is and live with the occasional Chinese language than having any issues.
And to be clear, do I just copy/paste into notepad and save as .bat - then replace it with the old .bat file in the download link above?
Click to expand...
Click to collapse
it remove also the vivo store , the SMS app vivo , but work perfect
You can delete the adb shell service call package 131 s16 com.android.mms i32 0 i32 0 for not delete the sms app
Thanks for open new thread. No problem for me. Great!
Good stuff.
Though I'd keep V-Appstore (com.bbk.appstore) simply because I had problems after removing it. Like the package installer being broken making it impossible to install third party apps. I have no idea why uninstalling the Vivo Appstore breaks the package installer, all I know is that the issue was gone after I restored the Appstore.
Btw @luontokoodaus if you want to upload your script to xda, just compress it in .zip and then you should be able to upload it.
"After removing, also search settings for "Default App" and then change all those normal apps eg. for Phone, Messages, Gallery etc. to something else. Otherwise some things won't work or open.
You need to look for the setting in the phone to allow the default launcher to be changed also and then change the Middle bottom navigation button to stop opening the default launcher again.
I'll make a new thread about all this here, let's all continue there. As always YMMV."
Sorry, I don't quite understand this part, would you mind elaborating?
Great script, with this new version my phone is not draining the battery anymore
Haskren said:
"After removing, also search settings for "Default App" and then change all those normal apps eg. for Phone, Messages, Gallery etc. to something else. Otherwise some things won't work or open.
You need to look for the setting in the phone to allow the default launcher to be changed also and then change the Middle bottom navigation button to stop opening the default launcher again.
I'll make a new thread about all this here, let's all continue there. As always YMMV."
Sorry, I don't quite understand this part, would you mind elaborating?
Click to expand...
Click to collapse
When you have removed these apps with the script. You need to search the phone's settings for "Default App" and then change all of the ones it had set before. Otherwise things won't open now that those apps are gone. You need to replace eg. the SMS app you removed with the script, with a new one of your choosing in your phone's settings which you downloaded. Not sure how I can make it any clearer than that.
Haskren said:
Good idea starting a new thread.
As I just received my phone, I am going to debloat tonight.
Is any functionality broken with this script or it is considered a "light" debloat? I'd rather leave the phone as it is and live with the occasional Chinese language than having any issues.
And to be clear, do I just copy/paste into notepad and save as .bat - then replace it with the old .bat file in the download link above?
Click to expand...
Click to collapse
Yes that's exactly what I said. You could just run the .bat yourself without anything if you have adb installed. The old files just come with some .dll library files and a copy of adb.exe for Windows users if you don't have it installed already. Absolutely no functionality is broken from what I can find. This just removes apps that you likely cannot use (are not available outside China) and cannot read (in Chinese) anyway.
jericho246 said:
Good stuff.
Though I'd keep V-Appstore (com.bbk.appstore) simply because I had problems after removing it. Like the package installer being broken making it impossible to install third party apps. I have no idea why uninstalling the Vivo Appstore breaks the package installer, all I know is that the issue was gone after I restored the Appstore.
Btw @luontokoodaus if you want to upload your script to xda, just compress it in .zip and then you should be able to upload it.
Click to expand...
Click to collapse
Yeah maybe it is good to have that app if it updates system apps as well, like some of those which need to be kept. I just removed everything with Chinese text. I removed that App store line from the script, so it won't remove it now.
bmw320cd said:
it remove also the vivo store , the SMS app vivo , but work perfect
You can delete the adb shell service call package 131 s16 com.android.mms i32 0 i32 0 for not delete the sms app
Click to expand...
Click to collapse
The SMS app was tagged as spyware by some other users. I also think it is safer to just remove it and use another app. It does ask you for permission to basically record all of your data when you open it (if I remember correctly). I just got an open source SMS app to replace it with.
Hello OP, thank you for creating such a useful script. If I have already installed all the apps I need to use and the phone is working normally, do you recommend I run the script at this stage and clear all the bloatware on the phone? Or, I should just factory reset it, clear the bloatware then reinstall the apps I use? Thanks.
miata22 said:
Hello OP, thank you for creating such a useful script. If I have already installed all the apps I need to use and the phone is working normally, do you recommend I run the script at this stage and clear all the bloatware on the phone? Or, I should just factory reset it, clear the bloatware then reinstall the apps I use? Thanks.
Click to expand...
Click to collapse
If you want to factory reset it, it's usually always the safest option if you really don't mind the hassle. Otherwise, this script ONLY removes apps which are on the list and were on the device when you got it. So any apps you already got rid of are just skipped. It will pick up any in this list which you didn't/couldn't remove yourself the normal way.
So I cannot really recommend what you should do. It is up to you.
luontokoodaus said:
If you want to factory reset it, it's usually always the safest option if you really don't mind the hassle. Otherwise, this script ONLY removes apps which are on the list and were on the device when you got it. So any apps you already got rid of are just skipped. It will pick up any in this list which you didn't/couldn't remove yourself the normal way.
So I cannot really recommend what you should do. It is up to you.
Click to expand...
Click to collapse
Thank you very much, I have successfully debloat without factory reset and so far everything works fine except for the com.android.mms. I have restored this and my SMS is working normally.
miata22 said:
Thank you very much, I have successfully debloat without factory reset and so far everything works fine except for the com.android.mms. I have restored this and my SMS is working normally.
Click to expand...
Click to collapse
I came here just to post this. I realised today that I was not getting any SMSes for eg. confirmation codes. I had to restore this app and then came back to remove it from the script, but it seems you beat me to it. It seems that without this app, it is impossible to get SMS messages.
I tried another app "Simple SMS" which is free and open source, but it would give me the error "Could not save to telephony database" whenever I tried to send something. Another app I tried simply said "Cannot send SMS". Messages sent to any of my 2 SIM cards in my phone would also not be received. As soon as I enabled this: com.android.mms app again I got blasted with a bunch of late SMS messages.
I tried changing the app then to "Simple SMS" (after restoring the com.android.mms the phone ships with) and as soon as I got an SMS I got a notification "We have changed the default SMS app back for your security". So for some reason Vivo is stupidly set to change the app back. No idea why because I gave the FOSS app full permissions and said in the phone device settings to choose the default SMS app as Simple SMS.
If someone finds a way to fix this please let me know because I don't want to use the default Vivo SMS app. Seems it really wants to connect to the internet and share all my contacts to its servers etc.
luontokoodaus said:
When you have removed these apps with the script. You need to search the phone's settings for "Default App" and then change all of the ones it had set before. Otherwise things won't open now that those apps are gone. You need to replace eg. the SMS app you removed with the script, with a new one of your choosing in your phone's settings which you downloaded. Not sure how I can make it any clearer than that.
Yes that's exactly what I said. You could just run the .bat yourself without anything if you have adb installed. The old files just come with some .dll library files and a copy of adb.exe for Windows users if you don't have it installed already. Absolutely no functionality is broken from what I can find. This just removes apps that you likely cannot use (are not available outside China) and cannot read (in Chinese) anyway.
Yeah maybe it is good to have that app if it updates system apps as well, like some of those which need to be kept. I just removed everything with Chinese text. I removed that App store line from the script, so it won't remove it now.
The SMS app was tagged as spyware by some other users. I also think it is safer to just remove it and use another app. It does ask you for permission to basically record all of your data when you open it (if I remember correctly). I just got an open source SMS app to replace it with.
Click to expand...
Click to collapse
All clear now - thank you so much for the help. Got it debloated yesterday and haven't noticed anything weird.
The only thing that worries me is that it won't let me add my mastercard to google wallet (via Starling Bank). Tells me to contact the bank somehow.
And Nova keeps going back to stock launcher
Haskren said:
And Nova keeps going back to stock launcher
Click to expand...
Click to collapse
Settings - Safe - More security settings - Replace System Launcher - Allow the laucher to be replaced - type in account password - Turn off the 'Tap the home button..' option
I notice I lost my network speed counter on the top right after debloat, does everyone happens the same or is just me? Thanks
miata22 said:
I notice I lost my network speed counter on the top right after debloat, does everyone happens the same or is just me? Thanks
Click to expand...
Click to collapse
same here, would be good to know which script killed it.
Was it removed because there is spyware risk or was it a mistake?
restore back Vivo i Manager, com.iqoo.secure.
Thanks for this, my battery performance is so much better now
Hello,
I applied this script, but now I don't have anymore any default keyboard app it seems. And can't search on google Play to install one as at each call of Keyboard it seems killing the app I was in... What can I do? Should I do a reverse? How? What else should I install first before launching the script? Launcher too?
Ok, solved. I found which one to reactivate. That would be good to have a description of each one. Then if well understood, it's not removing them, just activating or deactivating in the OS. Thanks
Thanks

Question Vivo X Fold debloat+notification fix (Origin OS 1-3)

Hello there recently I got my hands on a vivo x fold and after some research, I have a nice debloat list that removes all bloat from our folds and I found ways to fix notifications
Here's a debloat list most pm uninstall commands can be skipped as those are for apps that can be manually uninstalled through the phone itself so rather than typing them out just go into settings and uninstall stuff
adb shell service call package 131 s16 com.bbk.appstore i32 0 i32 0
adb shell service call package 131 s16 com.vivo.smartanswer i32 0 i32 0
adb shell service call package 131 s16 com.vivo.are i32 0 i32 0
adb shell service call package 131 s16 com.android.notes i32 0 i32 0
adb shell service call package 131 s16 com.vivo.agent i32 0 i32 0
adb shell service call package 131 s16 com.vivo.browser i32 0 i32 0
adb shell service call package 131 s16 com.vivo.easyshare i32 0 i32 0
adb shell service call package 131 s16 com.android.bbkmusic i32 0 i32 0
adb shell service call package 131 s16 com.android.VideoPlayer i32 0 i32 0
adb shell service call package 131 s16 com.vivo.translator i32 0 i32 0
adb shell service call package 131 s16 com.vivo.simplelauncher i32 0 i32 0
adb shell service call package 131 s16 com.vivo.hiboard i32 0 i32 0
adb shell service call package 131 s16 com.baidu.input_vivo i32 0 i32 0
adb shell service call package 131 s16 com.bbk.calendar i32 0 i32 0
adb shell service call package 131 s16 com.vivo.car.networking i32 0 i32 0
adb shell service call package 131 s16 com.vivo.smartlife i32 0 i32 0
adb shell service call package 131 s16 com.vivo.wallet i32 0 i32 0
adb shell service call package 131 s16 com.android.bbklog i32 0 i32 0
adb shell service call package 131 s16 com.tencent.soter.soterserver i32 0 i32 0
adb shell service call package 131 s16 com.yozo.vivo.office i32 0 i32 0
adb shell service call package 131 s16 com.android.bbklog i32 0 i32 0
adb shell service call package 131 s16 com.bbk.photoframewidget i32 0 i32 0
adb shell service call package 131 s16 com.bbk.scene.launcher.theme i32 0 i32 0
adb shell service call package 131 s16 com.vivo.puresearch i32 0 i32 0
adb shell service call package 131 s16 com.vivo.doubletimezoneclock i32 0 i32 0
adb shell service call package 131 s16 com.vivo.quickpay i32 0 i32 0
adb shell service call package 131 s16 com.vivo.dream.weather i32 0 i32 0
adb shell service call package 131 s16 com.vivo.livewallpaper.boxres i32 0 i32 0
adb shell service call package 131 s16 com.vivo.safecenter i32 0 i32 0
adb shell service call package 131 s16 com.vivo.gametrain i32 0 i32 0
adb shell service call package 131 s16 com.vivo.livewallpaper.box i32 0 i32 0
adb shell service call package 131 s16 com.vivo.vivokaraoke i32 0 i32 0
adb shell service call package 131 s16 com.vivo.favorite i32 0 i32 0
adb shell service call package 131 s16 com.vivo.setupwizard i32 0 i32 0
adb shell service call package 131 s16 com.vivo.smartLife i32 0 i32 0
adb shell service call package 131 s16 com.vivo.widget.calendar i32 0 i32 0
adb shell service call package 131 s16 com.vivo.weather i32 0 i32 0
adb shell service call package 131 s16 com.vivo.weather.provider i32 0 i32 0
adb shell service call package 131 s16 com.vivo.widget.cleanspeed i32 0 i32 0
adb shell service call package 131 s16 com.vivo.livewallpaper.behavior i32 0 i32 0
adb shell service call package 131 s16 com.vivo.remoteassistant i32 0 i32 0
adb shell service call package 131 s16 com.vivo.dream.music i32 0 i32 0
adb shell service call package 131 s16 com.vivo.widget.timemanager i32 0 i32 0
adb shell service call package 131 s16 com.vivo.livewallpaper.behaviorcity i32 0 i32 0
adb shell service call package 131 s16 com.vivo.magazine i32 0 i32 0
adb shell service call package 131 s16 com.vivo.globalsearch i32 0 i32 0
adb shell service call package 131 s16 com.vivo.vhomeguide i32 0 i32 0
adb shell service call package 131 s16 com.vivo.gamewatch i32 0 i32 0
adb shell service call package 131 s16 com.vivo.carlauncher i32 0 i32 0
adb shell service call package 131 s16 com.vivo.livewallpaper.behaviormountain i32 0 i32 0
adb shell service call package 131 s16 com.vivo.space i32 0 i32 0
adb shell service call package 131 s16 com.vivo.countdownwidget i32 0 i32 0
adb shell service call package 131 s16 com.vivo.dream.clock i32 0 i32 0
adb shell service call package 131 s16 com.vivo.desktopstickers i32 0 i32 0
adb shell service call package 131 s16 com.vivo.healthwidget i32 0 i32 0
adb shell service call package 131 s16 com.vivo.musicwidgetmix i32 0 i32 0
adb shell service call package 131 s16 com.vivo.appfilter i32 0 i32 0
adb shell service call package 131 s16 com.vivo.widget.gallery i32 0 i32 0
adb shell service call package 131 s16 com.vivo.widgetweather i32 0 i32 0
adb shell service call package 131 s16 com.vivo.timerwidget i32 0 i32 0
adb shell service call package 131 s16 com.vivo.simpleiconthemeres i32 0 i32 0
adb shell service call package 131 s16 com.vivo.healthcode i32 0 i32 0
adb shell pm uninstall --user 0 com.tencent.mobileqq
adb shell pm uninstall --user 0 com.tencent.mm
adb shell pm uninstall --user 0 com.kugou.android
adb shell pm uninstall --user 0 com.qiyi.video
adb shell pm uninstall --user 0 com.taobao.taobao
adb shell pm uninstall --user 0 com.youku.phone
adb shell pm uninstall --user 0 com.baidu.BaiduMap
adb shell pm uninstall --user 0 com.eg.android.AlipayGphone
adb shell pm uninstall --user 0 com.baidu.searchbox
adb shell pm uninstall --user 0 com.sina.weibo
adb shell pm uninstall --user 0 com.shoujiduoduo.ringtone
adb shell pm uninstall --user 0 com.tencent.qqlive
adb shell pm uninstall --user 0 com.tencent.mtt
adb shell pm uninstall --user 0 com.tencent.qqmusic
adb shell pm uninstall --user 0 com.sohu.sohuvideo
adb shell pm uninstall --user 0 com.smile.gifmaker
adb shell pm uninstall --user 0 com.sankuai.meituan
adb shell pm uninstall --user 0 com.uc.browser.en
adb shell pm uninstall --user 0 com.eg.android.AlipayGphone
adb shell pm uninstall --user 0 com.tencent.qqlive
adb shell pm uninstall --user 0 com.zhihu.android
adb shell pm uninstall --user 0 com.dragon.read
adb shell pm uninstall --user 0 com.taobao.taobao
adb shell pm uninstall --user 0 com.baidu.carlife.vivo
adb shell pm uninstall --user 0 ctrip.android.view
adb shell pm uninstall --user 0 com.xingin.xhs
adb shell pm uninstall --user 0 com.xtc.originwidget
adb shell pm uninstall --user 0 com.achievo.vipshop
adb shell pm uninstall --user 0 tv.danmaku.bili
adb shell pm uninstall --user 0 com.jingdong.app.mall
adb shell pm uninstall --user 0 com.ximalaya.ting.android
adb shell pm uninstall --user 0 com.sina.weibo
adb shell pm uninstall --user 0 com.kaixinkan.ugc.video.atom
adb shell pm uninstall --user 0 com.vivo.wallet.appwidget
adb shell pm uninstall --user 0 com.kaixinkan.ugc.video
adb shell pm uninstall --user 0 com.vivo.browser.novel.widget
adb shell pm uninstall --user 0 com.unionpay.tsmservice
adb shell pm uninstall --user 0 com.smile.gifmaker
adb shell pm uninstall --user 0 com.vivo.minigamecenter
adb shell pm uninstall --user 0 com.vivo.vhome
adb shell pm uninstall --user 0 com.vivo.video.widget
adb shell pm uninstall --user 0 com.vivo.familycare.widget
adb shell pm uninstall --user 0 com.baidu.searchbox
adb shell pm uninstall --user 0 com.autonavi.minimap
If any above say ''Failure [not installed for 0]'' then well its already gone lol so just skip it
Now to fix notifications it's pretty simple
All you need is to type in this
adb shell pm uninstall --user 0 com.vivo.pem which deletes vivos power management (the thing that nukes the notifications) and now launch an app you want notifications from once allow notifications enable autostart in settings and you should be good to go
There are a few cases where notifications might be delayed if the app does that all you need to do is go into battery and set its power profile to high performance although from my testing other than Gmail no other app needed it
Lastly, if you have a problem where the phone buzzes but you don't see a notification in the shade that's a bug with the origin OS you more than likely have night mode enabled unfortunately night mode in Origin OS somehow conflicts with a good chunk of notifications only fix at the moment is to disable dark mode and manually turn on individual per app dark mode instead(one where you turn it on within each app rather than settings) yeah I know it sucks but that's only solution at the moment
Thank you for the list. The first one worked and second one i get ''Failure [not installed for 0]''
WhySoSeriousJoKer said:
Thank you for the list. The first one worked and second one i get ''Failure [not installed for 0]''
Click to expand...
Click to collapse
You need to be rooted for this one. I disabled my root due to banking but that's why
WhySoSeriousJoKer said:
Thank you for the list. The first one worked and second one i get ''Failure [not installed for 0]''
Click to expand...
Click to collapse
*failure not installed* take a guess what that could mean lmao
If it says not installed man its just not there already gone this Is a list that works on older origin os versions so perhaps that app was removed already if it says that don't worry about it
wolfaas12345 said:
*failure not installed* take a guess what that could mean lmao
If it says not installed man its just not there already gone this Is a list that works on older origin os versions so perhaps that app was removed already if it says that don't worry about it
Click to expand...
Click to collapse
Thanks, it's a lot better without the chinese junk.
How woul you undo an accidental uninstall if say you wanted some vivo app back?
Koysii said:
How woul you undo an accidental uninstall if say you wanted some vivo app back?
Click to expand...
Click to collapse
adb shell cmd package install-existing packagename usually works
wolfaas12345 said:
adb shell cmd package install-existing packagename usually works
Click to expand...
Click to collapse
Thanks I will keep this saved just in case I notice something amiss. So far the debloat from list above seems to have not caused any issues.
Koysii said:
Thanks I will keep this saved just in case I notice something amiss. So far the debloat from list above seems to have not caused any issues.
Click to expand...
Click to collapse
It shouldn't I made sure it doesn't touch anything crucial
wolfaas12345 said:
*failure not installed* take a guess what that could mean lmao
If it says not installed man its just not there already gone this Is a list that works on older origin os versions so perhaps that app was removed already if it says that don't worry about it
Click to expand...
Click to collapse
Hi, I get an error saying "delete failed user restricted"
when I try to remove com.vivo.pem
dallas1164 said:
Hi, I get an error saying "delete failed user restricted"
when I try to remove com.vivo.pem
Click to expand...
Click to collapse
I don't own the phone anymore but as far as I remember that was Vivo account related either you need to log into one to make it go away or log out of one probably the first tho
I think after you log in and run command again a popup on phone will ask to authorise deletion
wolfaas12345 said:
I don't own the phone anymore but as far as I remember that was Vivo account related either you need to log into one to make it go away or log out of one probably the first tho
I think after you log in and run command again a popup on phone will ask to authorise deletion
Click to expand...
Click to collapse
Thank you very much. I will give it a try
dallas1164 said:
Thank you very much. I will give it a try
Click to expand...
Click to collapse
Can you confirm that you success?
avivasaf said:
Can you confirm that you success?
Click to expand...
Click to collapse
I will try it this morning and let you know
avivasaf said:
Can you confirm that you success?
Click to expand...
Click to collapse
I tried it both ways and still get the error
Are you getting any issues with notifications?
I was but I updated Google Play Services and that has seemed to fix the issue. Our you having issues with notifications?
dallas1164 said:
I was but I updated Google Play Services and that has seemed to fix the issue. Our you having issues with notifications?
Click to expand...
Click to collapse
Im going to get mine this week

Categories

Resources