Question Stuck on bootloop - Samsung Galaxy S21 Ultra

Hey folks,
I'm having some troubles with my bank app because of root and using magisk hide doesn't solve the problem. So, searching on the internet i found that i could use the app Island (By OasisFeng) to create a work user and would made the app work supposedly.
I was forced to setup the app manually throw adb with their guide in the Manual setup for Island section and now i'm stuck. The phone boots up but when i enter the pin code the phone reboots.
This were the commands i've used:
adb -d shell
pm create-user --profileOf 0 --managed Island
pm path com.oasisfeng.island
pm install -r --user <10> <path(i don't remember but i've entered the path that showed with the command above)>
And i couldn't continue because the command above output an error that wasn't mentioned there.
Can anyone help me with this, please? I'm desperate.
Thanks for help!!

up

This seems specific to an app and not to this phone.
Have you looked here?
[APP][5.0+][BETA] Island - app freezing, privacy protection, parallel accounts
What is "Island" "Island" is a sandbox environment to clone selected apps and isolate them from accessing your personal data outside the sandbox (including call logs, contacts, photos and etc) even if related permissions are granted...
forum.xda-developers.com

Related

[Plugin] Remote Adb Shell

Hi everyone!
I just created my first Tasker plug-in. This plug-in enables you to send an adb shell command to any other device on the network that has adb over wifi enabled. I for example use it to turn my androidtv on or off by sending it the command "input keyevent POWER". You can also open specific activities in apps for example or simulate touch input.
Please read the description before using it and don't hesitate to leave feedback/bug reports/tips! This is my first app ever published so I still have a lot to learn.
You can download it for free from the play store:
https://play.google.com/store/apps/details?id=com.ADBPlugin
Edit: It's now also available on XDA Labs! You can find it here
First update is live!
This includes proper (cat)logs and Tasker errors if something went wrong, so if you run in any problems, you can now tell me . It also plays a lot nicer with the Tasker timeout system.
@Humpie
Thanks for this plugin. I allready made a project for my sony android tv. Start apps and controll media play.
But to make the plugin better I have some featur requests:
It would be nice to be able to work with tasker variables. e.g input text "%mytext".
Another feature reqest would be to get a output variable for commands with output like adb shell pm list packages.
MartelKombat said:
@Humpie
Thanks for this plugin. I allready made a project for my sony android tv. Start apps and controll media play.
But to make the plugin better I have some featur requests:
It would be nice to be able to work with tasker variables. e.g input text "%mytext".
Another feature reqest would be to get a output variable for commands with output like adb shell pm list packages.
Click to expand...
Click to collapse
Thanks for the tips! Will definitely add variable support and I'll also have a look at output variables. They are visible in the logs already, but not yet to tasker.
Why can't we use the built-in code Acton in Tasker? Is there a difference?
loogielv said:
Why can't we use the built-in code Acton in Tasker? Is there a difference?
Click to expand...
Click to collapse
In fact there is, since android 4.something google removed adb from android devices, so you can't perform adb commands from your phone, well aside from my plugin that is.
There would however be no difference if your remote device did have Tasker and you programmed it so that a certain action does something with code. However, you would have to figure out a way to contact that device etc...
Second update! The Plugin now has Tasker variable support!
(enjoy @MartelKombat btw I'm still thinking about how to implement your other request!)
I doont understand. I can type the code, but i do have to remove the "adb sell" part of the code but it's good to go… is that not what this plugin does?
Humpie said:
Thanks for the tips! Will definitely add variable support and I'll also have a look at output variables. They are visible in the logs already, but not yet to tasker.
Click to expand...
Click to collapse
Humpie said:
Second update! The Plugin now has Tasker variable support!
(enjoy @MartelKombat btw I'm still thinking about how to implement your other request!)
Click to expand...
Click to collapse
Any news on the output variable? I have high hopes since you mentioned you already see the output in the logs...
Thanks a lot for this plugin! It makes an unrooted phone much easier to control!
How to run root commands on an unrooted device with this plugin
I just wanted to share how I use this plugin, just to give others an example of what this nice plugin is capable of.
Recently, I bought a new device and for now, I have no intention of rooting it. Coming from a rooted OnePlus One, this means some of my Tasker profiles do not work as expected anymore and I have to find workarounds.
On LineageOS (and CyanogenMod before that), we have the option to display left/right cursor arrows in the navigation bar when typing text. I always loved this feature, since placing the cursor in the right position by tapping will always be a hit&miss game. Since my new device (S7 Edge) has no onscreen navigation bar, I was searching for a replacement solution to move the cursor. I came up with the idea that it would be quite handy to use the volume buttons for this. So, the idea was the following:
IF the keyboard is shown THEN use the volume keys to move the cursor (and suppress any volume changes, if possible).
It took me a while to figure out how to determine whether the keyboard is out (solution: install another keyboard and intercept the "change input method" notification as a trigger). Suppressing the volume keys' usual behaviour was easy (AutoInput -> Key Suppress) but the final step turned out to be quite difficult: How to move the cursor?
After doing some extensive research, I always came to the same point: "not possible without root". Damn.
But then, this plugin came in. The keyword "remote" in its name might suggest that you can use this plugin only to act from one device to another, but that's not true. Actually, you can use this plugin to run adb commands on the same device.
What does that mean? It means that you can run an adb shell command like "adb shell input keyevent xy" on your phone WITHOUT ROOT. In my case, I can run "input keyevent 21" and "input keyevent 22" to move the cursor. So, how can we do that?
Prerequisites:
Connect your device via ADB to a PC (google it if you don't know how) and run the command "adb tcpip 5555". That's it, you can disconnect your device now.
Then in Tasker, create an action with this plugin and type in the following:
IP Address: localhost
Port: 5555
ADB Shell Command: input keyevent POWER
Hit the play button to test this action. If you've done everything right, your screen will turn off.
Congrats, you just executed a command on an unrooted device which usually requires root privileges!
Important:
The only downside is, the tcpip setting does not survive a reboot, so you have to set the port 5555 again via PC after rebooting the device.
I hope I explained the important part well enough. If that's not the case, don't hesitate to quote me and I'll answer here.
digitalpig82 said:
Any news on the output variable? I have high hopes since you mentioned you already see the output in the logs...
Thanks a lot for this plugin! It makes an unrooted phone much easier to control!
Click to expand...
Click to collapse
I'm sorry for my absence, really busy with school etc. (honestly, I also completely forgot, I hope you can forgive me). I'll try to look into it soon (this week or the next) and see how far I get. I really like that you like my plugin! I just found out myself last week that I can let unrooted phones send shell commands to themselves using my plugin, so I'm glad to see you found it out as well! (I used it for snapchat to simulate volume key presses, which is also possible without root indeed: https://www.reddit.com/r/tasker/comments/699sav/project_share_handsfree_snapchat_picture_and/ It also works for other camera apps that require you to hold the button to film, like whatsapp etc)
Edit: I hope it pleases you to hear that today I started working on it again. I already have the responses bundled in a list in Java, now I just need to parse them to Tasker
loogielv said:
I doont understand. I can type the code, but i do have to remove the "adb sell" part of the code but it's good to go… is that not what this plugin does?
Click to expand...
Click to collapse
Yes, you have to remove the "adb shell" part since all my plugin does is access the adb shell part. This means commands like adb pull etc won't work, that requires a different type of connection, that for now I can't achieve with Tasker. But running any remote shell command should be fine (like how you would run it if you were directly running the commands from a terminal on your phone)
digitalpig82 said:
I just wanted to share how I use this plugin, just to give others an example of what this nice plugin is capable of.
Recently, I bought a new device and for now, I have no intention of rooting it. Coming from a rooted OnePlus One, this means some of my Tasker profiles do not work as expected anymore and I have to find workarounds.
On LineageOS (and CyanogenMod before that), we have the option to display left/right cursor arrows in the navigation bar when typing text. I always loved this feature, since placing the cursor in the right position by tapping will always be a hit&miss game. Since my new device (S7 Edge) has no onscreen navigation bar, I was searching for a replacement solution to move the cursor. I came up with the idea that it would be quite handy to use the volume buttons for this. So, the idea was the following:
IF the keyboard is shown THEN use the volume keys to move the cursor (and suppress any volume changes, if possible).
It took me a while to figure out how to determine whether the keyboard is out (solution: install another keyboard and intercept the "change input method" notification as a trigger). Suppressing the volume keys' usual behaviour was easy (AutoInput -> Key Suppress) but the final step turned out to be quite difficult: How to move the cursor?
After doing some extensive research, I always came to the same point: "not possible without root". Damn.
But then, this plugin came in. The keyword "remote" in its name might suggest that you can use this plugin only to act from one device to another, but that's not true. Actually, you can use this plugin to run adb commands on the same device.
What does that mean? It means that you can run an adb shell command like "adb shell input keyevent xy" on your phone WITHOUT ROOT. In my case, I can run "input keyevent 21" and "input keyevent 22" to move the cursor. So, how can we do that?
Prerequisites:
Connect your device via ADB to a PC (google it if you don't know how) and run the command "adb tcpip 5555". That's it, you can disconnect your device now.
Then in Tasker, create an action with this plugin and type in the following:
IP Address: localhost
Port: 5555
ADB Shell Command: input keyevent POWER
Hit the play button to test this action. If you've done everything right, your screen will turn off.
Congrats, you just executed a command on an unrooted device which usually requires root privileges!
Important:
The only downside is, the tcpip setting does not survive a reboot, so you have to set the port 5555 again via PC after rebooting the device.
I hope I explained the important part well enough. If that's not the case, don't hesitate to quote me and I'll answer here.
Click to expand...
Click to collapse
So...is it possible to create a version of the plugin that runs locally and doesn't disappear on a reboot?
kenkiller said:
So...is it possible to create a version of the plugin that runs locally and doesn't disappear on a reboot?
Click to expand...
Click to collapse
I would like to be able to create such a think but I don't think Google would allow it since it's a big security flaw to have adb opened to the world at all time without notifying the user. Some devices however have a debug over wifi function hidden in the developer options (like the nvidia shield android tv), there you can just enable it and it will probably survive a reboot.
However what I would advise to do if this option is not available, is to create a .bat file on your desktop containing "adb tcpip 5555". That way after a reboot you can just plug in your phone, click the bat file and be done!
Humpie said:
I would like to be able to create such a think but I don't think Google would allow it since it's a big security flaw to have adb opened to the world at all time without notifying the user. Some devices however have a debug over wifi function hidden in the developer options (like the nvidia shield android tv), there you can just enable it and it will probably survive a reboot.
However what I would advise to do if this option is not available, is to create a .bat file on your desktop containing "adb tcpip 5555". That way after a reboot you can just plug in your phone, click the bat file and be done!
Click to expand...
Click to collapse
Hmm....But there's this custom nav bar app where it allows users to grant it adb shell permissions, and the permission survives over reboots. Auto tools and Securetask relies on the same process as well.
I guess what we're asking for is something that's not as encompassing as your plugin. Me, I just want to execute the power command without root in a way that respects smart lock, which is possible now with your app but doesn't survive a reboot, or with the custom nav bar app, which survives a reboot, but restricts me to using it in a tiny button on the nav bar, as the dev doesn't seem interested in exposing the commands to external usage.
---------- Post added at 07:30 AM ---------- Previous post was at 07:28 AM ----------
We discussed it in this part here....
https://forum.xda-developers.com/an...avigation-bar-customize-t3590967/post72212488
kenkiller said:
Hmm....But there's this custom nav bar app where it allows users to grant it adb shell permissions, and the permission survives over reboots. Auto tools and Securetask relies on the same process as well.
I guess what we're asking for is something that's not as encompassing as your plugin. Me, I just want to execute the power command without root in a way that respects smart lock, which is possible now with your app but doesn't survive a reboot, or with the custom nav bar app, which survives a reboot, but restricts me to using it in a tiny button on the nav bar, as the dev doesn't seem interested in exposing the commands to external usage.
---------- Post added at 07:30 AM ---------- Previous post was at 07:28 AM ----------
We discussed it in this part here....
https://forum.xda-developers.com/an...avigation-bar-customize-t3590967/post72212488
Click to expand...
Click to collapse
It seems this app uses specific android permissions to be able to send events etc. However my plugin has no direct access to the android system (only by using the adb bridge), so granting my plugin these permissions won't help. What however would help is if I could find a way to enable adb over wifi using only some permissions... I have no clue whether this is possible though as the app would have to call service.adb.tcp.port 5555 for itself and that needs root or an adb connection (so it still requires a laptop XD). I'm still trying though.
Humpie said:
It seems this app uses specific android permissions to be able to send events etc. However my plugin has no direct access to the android system (only by using the adb bridge), so granting my plugin these permissions won't help. What however would help is if I could find a way to enable adb over wifi using only some permissions... I have no clue whether this is possible though as the app would have to call service.adb.tcp.port 5555 for itself and that needs root or an adb connection (so it still requires a laptop XD). I'm still trying though.
Click to expand...
Click to collapse
No worries. It's just that it's so close yet so far, heheh.... I guess I'll have to reboot only when home.
kenkiller said:
No worries. It's just that it's so close yet so far, heheh.... I guess I'll have to reboot only when home.
Click to expand...
Click to collapse
I found out it is in fact possible to have wireless adb survive a reboot! However it requires a build.prop edit.
in \system\build.prop "service.adb.tcp.port=5555" needs to be added at the end of the file and then after a reboot adb over wifi will still be enabled (at least it was in my case).
The downside is that this modification can't be done via adb without root unless you have a custom recovery like TWRP and run adb while having that opened and /System/ mounted.
I'm trying to create a zip that modifies the build.prop how it should be modified, but I don't think it's possible to run it through a non-custom recovery...
Edit: I added my .bat file for modifying the build.prop adding that line. It uses an adb connection that requires more rights than what android allows when booted, but should probably work if you are able to access adb from recovery and you are of course booted in recovery mode (using recoveries like TWRP or even some stock manufacturer ones).
Update 4.3 is live!
As requested you can now access the output from the console directly in Tasker.
I tried to order everything neatly in a list, with each line in the console being an item in the list, but this does mean that the initial "device\sdcard $" et cetera get added as an item as well.
But since I didn't want to cut off anything important I just kept it that way. You can just modify the list in any way you want (AutoTools has some handy Array handling tools built in).
I also added some hints in the main screen just for fun.
If you run into any strange behaviour, bugs or have tips, please tell me!
digitalpig82 said:
Any news on the output variable? I have high hopes since you mentioned you already see the output in the logs...
Thanks a lot for this plugin! It makes an unrooted phone much easier to control!
Click to expand...
Click to collapse
Enjoy
Since most people are using my Plugin locally instead of remotely, I'm thinking of renaming it to just 'ADB Shell [Tasker]'. It would make it simpler when googling it. What do you think?

Tasker failed to run shell in Lineage 14.1 Noughat rom

Hello,
I was successfully using Tasker for automatically changing the Live Wallpaper in Android marshamllow rom in my Elephone P8000 rooted with super SU. by using run shell command
First of all, I will describe how I did it
At first the name of the live wallpaper is taken using the RomToolBox Pro( in its application manger , tap the name of the live wallpaper, a drop down menu will appear, swipe it to right, then the original name of the wallpaper will be shown scrolling in one of the boxes.
For example-for the video live wallpaper, the name is com.ccpcreations.android.VLW,
Then the service package name of the wallpaper as detected using the application Disable service.
In the same example , the service package name is - com.ccpcreations.android.VLW.VideoLiveWallpaper.
In case if more than one service package for a particular live wallpaper is present , the irrelevant packages should be ticked out keeping the relevant package ticked. The relevant package is determined when it is unticked, the live wallpaper disappears from the live wallpaper picker screen.
Now I will show the run shell command for VIDEO LIVE WALLPAPER below
service call wallpaper 2 i32 i s16 com.ccpcreations.android.VLW s16 com.ccpcreations.android.VLW.VideoLiveWallpaper.
Then don't forget to tick the use root column.
Then you can add the date and time in the lower column so that this wallpaper will be opened in your home screen automatically at the set time and date.
Now my problem is that I installed Lineage 14.1 rom for Elephone P8000, and I installed tasker. tasker is executing all the previous tasks as in Marsha mallow , but failed to run the run shell task to change the live wallpaper.
I am very happy with the performance of this rom, but disappointed because of this problem.
Can anybody help me how to solve the problems
Thanking You
Dr.Saidalavi
some obvious questions, but still need to be asked:
- did you enable root for Tasker?
- maybe the service for handling live wallpaper has changed name?
- what does the log say? what is the error?
- lastly they might be a change I the way call service command/parameter works.
or of curiosity, what is the s32, i16 in your command?
Reply
alienyd said:
some obvious questions, but still need to be asked:
- did you enable root for Tasker?
- maybe the service for handling live wallpaper has changed name?
- what does the log say? what is the error?
- lastly they might be a change I the way call service command/parameter works.
or of curiosity, what is the s32, i16 in your command?
Click to expand...
Click to collapse
Root is enabled
This command came in Reddit tutorial when I searched d for this.
It was working very nicely in android 6 rom.\ till day before yesterday.
I changed the rom to lineage 14.1 yesterday and I imported the profile I saved in the other rom, then it is not working.
Thanks for the reply
drsaidalavi
Double checking, did you install root on the lineage ROM? Lineage doesn't come pre-rooted. If you go to the root management app, is tasker listed?
If you trigger the task manually, do you see an error?
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Programmatically Uninstall List of Apps

Hi,
I'm just starting to use Tasker, was wondering if it is possible to query a list of approved apps and uninstall everything else once a day. I am rooted.
Thanks
Ok, so I tinkered around and ended up putting together some task as follows:
I have a approved list (BaselineApps.txt)
I run the following command via Termux Task plugin.
pm list packages >/storage/emulated/0/Apps.txt
diff --unchanged-line-format= --old-line-format= --new-line-format='%L' /storage/emulated/0/BaselineApps.txt /storage/emulated/0/Apps.txt | sed 's/^[^:]*://' >/storage/emulated/0/NewApps.txt
Read file NewApps.txt to variable %Apps
ArraySet %Apps value %Apps
For each %eachapp in %Apps()
Run Shell pm uninstall %eachapp
End for
For the most part it works, except it errors out sometimes. Can someone please help me?
Thanks
It would be helpful for you to use the export "Description to Clipboard" feature within tasker. Then pasting that into a txt file and attaching it, or paying to pastebin.com then giving a link here. You could paste it into a post but the forum tends to convert things like "n" to emojis affecting readability.
If it's error-ing out, being specific about the error and when it happens would allow be helpful.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Attached are the files.
The file named DiffApps.txt is the code that is run in termux. The other file is an export of the task in Tasker.
I'm not sure when it errors, I definitely errors when no new apps installed, put I think it also errors when there is only 1 app. I will need to test mpre to see what causes the error.
Thanks

How to deactivate RCS service / Rich Communication on XZ1 compact?

Hi all,
after updating to 47.1.A.8.49 my XZ1 compact (german firmware, retail) keeps on consuming like 8% battery on RCS.
I already disabled VoLTE and Wifi-Calling but it did not help.
I read that normally there should be an option to deactivate Rich Communication in the Messages App, but I can't find any there.
(I know it should help to deactivate/deinstall the Messages App, but I would like to keep receiving SMS, I only do not need the "chat" feature of RCS.)
Anyone knows how I can deactivate RCS?
best wishes
nospherato
nospherato said:
Hi all,
after updating to 47.1.A.8.49 my XZ1 compact (german firmware, retail) keeps on consuming like 8% battery on RCS.
I already disabled VoLTE and Wifi-Calling but it did not help.
I read that normally there should be an option to deactivate Rich Communication in the Messages App, but I can't find any there.
(I know it should help to deactivate/deinstall the Messages App, but I would like to keep receiving SMS, I only do not need the "chat" feature of RCS.)
Anyone knows how I can deactivate RCS?
best wishes
nospherato
Click to expand...
Click to collapse
If you have ADB set up on your laptop/desktop it would be easy.
ADB Shell
pm list packages ?
pm uninstall --user 0 "package name goes here"
Sorry, I am not at home with my machine in front of me, so I can't tell you what the package name is.
I also have had big battery drain since the 8.49 update. If you're in the uninstalling mood, removing 'home network' made a difference to battery life, as did removing 'Find My Device' from admin apps.
To remove home network, look for a package called 'com.sony.android.dnla', or something similar, sorry not in front of my machine to check.
RCS isn't actually the problem. It's a bug in Oreo. Android System is sometimes showing up as RCS or Phone in the battery stats or monitoring apps. So disabling RCS won't actually help you.
@Didgesteve
Thanks for your post. As I do not use "find my device" I removed it after your post. I don't really know if it got the battery usage better, but well.. I didn't use it before, so why keep it in admin apps
Do I really need to remove the dnla package to save battery? (It's deactivated anyway in my settings)
@jrbmed08
Thank you, too. I once thought I have seen exactly this: After a reboot the x% usage were shown as Android System; after 1-2min it said RCS.
nospherato said:
@Didgesteve
Thanks for your post. As I do not use "find my device" I removed it after your post. I don't really know if it got the battery usage better, but well.. I didn't use it before, so why keep it in admin apps
Do I really need to remove the dnla package to save battery? (It's deactivated anyway in my settings)
@jrbmed08
Thank you, too. I once thought I have seen exactly this: After a reboot the x% usage were shown as Android System; after 1-2min it said RCS.
Click to expand...
Click to collapse
I don't think there's any one thing that will miraculously change your battery usage, it's the unwritten scripture that drives all us modders and obsessive fiddlers to keep trying to improve.
But if you are into tweaking for the better, the new Google Play services beta did seems to make a small difference.
Download from APK mirror and update.
nospherato said:
Hi all,
after updating to 47.1.A.8.49 my XZ1 compact (german firmware, retail) keeps on consuming like 8% battery on RCS.
I already disabled VoLTE and Wifi-Calling but it did not help.
I read that normally there should be an option to deactivate Rich Communication in the Messages App, but I can't find any there.
(I know it should help to deactivate/deinstall the Messages App, but I would like to keep receiving SMS, I only do not need the "chat" feature of RCS.)
Anyone knows how I can deactivate RCS?
best wishes
nospherato
Click to expand...
Click to collapse
I did some digging with your tip about RCS. When I first got this phone I was getting almost 4 days on one charge (I'm not a heavy user), but I thought it was a bit strange that since November I have had much worse battery. I put it down to the new firmware, perhaps 8.49 was much more thirsty. Aparently, since November, Google have activated RCSService, I keep seeing this coming up my battery usage charts, next to Carrier Service, using more battery than bluetooth and I do 2 hours of bluetooth music a day. I never saw it before, suddenly it's on all the time, using batrery and data.
Turning on the 'background data only' makes no difference, likewise 'background activity'
So the intention here is to stop and disable carrier services and disable RCSService (it's impossible to stop or uninstall).
adb shell
pm disable --user 13 com.gsm.service.rcs
pm disable --user 13 com.google.ims
pm disable --user 13 com.android.service.ims.rcsservice
pm disable --user 13 com.android.ims.rscmanager
pm uninstall -k --user 0 com.qualcomm.qti.uceShimService
To find which is your elevated user
pm list users
and pick the higher user number
The offending package is called com.qualcomm.qti.uceshimservice.
My battery usage has never been so good, I've gone from 2 days to almost 4.
But, there are consequences, I don't get a 'delivered' notice on my SMS anymore and perhaps this rolls over to other messanger apps. I've tested Whatsapp and Telegram, eveything apears to be ok.
I might be doing something awful to the messanger and it would be great if someone could tell me what I've done, but so far I can live with it if I get my amazing battery back.
It could be to undo disabling the services you need to factory reset your phone, just sayin.
Edit: my fault if you were having problems copy/pasting these as I had not put a space inbetween User & 13. I have corrected it now, so copy/paste should work.
Sorry, I can not tell you what you did there, but what I can tell you is that on my device none of these packages exist (yes my id is also 13):
1|G8441:/ $ pm disable --user13 com.gsm.service.rcs
Error: java.lang.IllegalArgumentException: Unknown package: com.gsm.service.rcs
1|G8441:/ $ pm disable --user13 com.google.ims
Error: java.lang.IllegalArgumentException: Unknown package: com.google.ims
1|G8441:/ $ pm disable --user13 com.android.service.ims.rcsservice
Error: java.lang.IllegalArgumentException: Unknown package: com.android.service.ims.rcsservice
1|G8441:/ $ pm disable --user13 com.android.ims.rscmanager
Error: java.lang.IllegalArgumentException: Unknown package: com.android.ims.rscmanager
The qualcomm package exists, but as you said: No way to disable it...
package:com.qualcomm.qti.uceShimService
There is also a
package:com.google.android.ims
there, but like the qualcomm one, you can not disable this one, too.
My workaround at the moment is just to let the phone disable wifi in standby. This way I get like 4-5 days standby (+just a little bit usage).
pm uninstall -k --user 0 com.qualcomm.qti.uceShimService
did the trick @Didgesteve
This is working for weeks now.
nospherato said:
Sorry, I can not tell you what you did there, but what I can tell you is that on my device none of these packages exist (yes my id is also 13):
1|G8441:/ $ pm disable --user13 com.gsm.service.rcs
Error: java.lang.IllegalArgumentException: Unknown package: com.gsm.service.rcs
1|G8441:/ $ pm disable --user13 com.google.ims
Error: java.lang.IllegalArgumentException: Unknown package: com.google.ims
1|G8441:/ $ pm disable --user13 com.android.service.ims.rcsservice
Error: java.lang.IllegalArgumentException: Unknown package: com.android.service.ims.rcsservice
1|G8441:/ $ pm disable --user13 com.android.ims.rscmanager
Error: java.lang.IllegalArgumentException: Unknown package: com.android.ims.rscmanager
The qualcomm package exists, but as you said: No way to disable it...
package:com.qualcomm.qti.uceShimService
There is also a
package:com.google.android.ims
there, but like the qualcomm one, you can not disable this one, too.
My workaround at the moment is just to let the phone disable wifi in standby. This way I get like 4-5 days standby (+just a little bit usage).
Click to expand...
Click to collapse
Hmm, it worked for me, each line comes back 'Package "package name" new state: disabled'
I'm not sure that user 13 necessarily exists on other phones. You have to see what number your elevated user is and use that.
I checked the users before I used the commands, my user has also id 13, nur even of I do not use this option the return message is the same...
@shaftenberg
If I would deinstall the package and would need it later, how would I reinstall it?
I checked the users before I used the commands, my user has also id 13, but even if I do not use this option the return message is the same...
@shaftenberg
If I would deinstall the package and would need it later, how would I reinstall it?
with install
shaftenberg said:
pm uninstall -k --user 0 com.qualcomm.qti.uceShimService.
Click to expand...
Click to collapse
It won't let you uninstall, it's a system file. You need elevated access.
nospherato said:
I checked the users before I used the commands, my user has also id 13, nur even of I do not use this option the return message is the same...
@shaftenberg
If I would deinstall the package and would need it later, how would I reinstall it?
Click to expand...
Click to collapse
Are you using ADB shell from a command prompt on a PC, or an emulator on the phone?
Hi, I tested it too.
I got the same results as in #7.
I got my Packages with "pm list packages ?" copied it into notepad and searched for the rcs packages, found nothing.
This Package I haven't too: package:com.qualcomm.qti.uceShimService
The Result for "pm list users" is:
UserInfo{0:...:13} running
... shows my real name.
I'm using FW DE 8.49.
Best regards, mates.
@Didgesteve
I did my commands via ADB. It showed my user correctly and his ID.
Like Raz0Rfail I also copied the complete list into notepad and searched for the packages. Didn't find them there, too.
(Just the qualcomm one as mentioned. Also using FW DE 8.49)
@Didgesteve
I did my commands via ADB. It showed my user correctly and his ID.
Like Raz0Rfail I also copied the complete list into notepad and searched for the packages. Didn't find them there, too.
(Just the qualcomm one as mentioned. Also using FW DE 8.49)
@shaftenberg
Ahh okay, thanks
I thought I would need to download the install package or something like this. (Because uninstall would really "wipe" the package.)
Perhaps I need to check my spelling, but here is the results I got.
I did RCSService twice by mistake, but otherwise, they all show as disabled.
All,
You should be aware that the RCS and IMS services are required for VoLTE and VoWiFi.
So if you have disabled them, your VoLTE will not work.
I'll repeat my statement from here, that:
IMS is the "IP Multimedia Subsystem" and is used as the framework for telephony over IP based data connections. That's essentially what VoLTE is: VOIP for mobile phones.
I'll also note that RCS is the "Rich Communication Services" and is the successor to SMS and is essentially an extension of SMS and MMS as better described here.
So you're probably guaranteed to be breaking some advanced SMS/MMS features by disabling RCS services.
Yes, only I don't use VoLTE or VoWifi, and also my carrier does not really support RCS features... So in my case it's only extra battery usage for features I don't need or use
pbarrette said:
So you're probably guaranteed to be breaking some advanced SMS/MMS features by disabling RCS services.
Click to expand...
Click to collapse
Yes @pbarrette , you're right. But I have looked into this. I'm not suggesting that everyone starts deleting random system files on their phone.
Carrier services was rolled out by Google to try and claw back some of the market share of the messaging market.
It theory it brings group messaging, bigger pictures, read receipts and of course emojis to SMS.
Google realised that they were losing to the likes of Whatsapp and Telegram, but as usual it's too little too late.
I don't use group SMS messaging. Group messaging belongs in Whatsapp, obviously. I don't use emojis in texts. If I lose read receipts to claim back 20% battery, then that's a hardship I'll suffer.
I'm not sure what happened to the November update of carrier services, but I'm not alone in noticing HUGE battery drain from an app that I didn't ask for and don't want.
I've explained their might be risks, but for me, removing these services has made no difference to my SMS use and my battery is lasting longer. I'm just saying it like it is.

[Debload][Bloatware] S21 | S21+ | S21Ultra or any flagship Samsung /Huawei /OnePlus phones

He I will try to advise you how to optimise and debloat your phone for better performance and battery as well as free of bloat device.
I have used this method over the years for my S10 | S10+ | S20+ | S20Ultra | S21Ultra | P40 |P40 Pro and OP8 Pro and many other phones. And works as expected.
Prerequisites:
#1. ADB AppControl
Which can be found here:
[TOOL] ADB AppControl 1.8.0 🚀 Ultimate App Manager & Debloat Tool + Tweaks
ADB AppControl 🚀 Root is not required. Works with any Android device. Can do almost everything you dreamed about with applications. ADB AppControl - the desktop program, that will allow you to easily manage applications on your android device...
forum.xda-developers.com
ADB AppControl - android applications manager and debloat tool. Official website. Free download.
Thanks to @Cyber.Cat for this application of for posting it.
#2. Windows computer or for MAC owners, Parallel Desktop to run Windows
#3. Android phone which you want to optimise
Steps for debloating bloatware:
#1. Download and install ADB AppControl from the above link
#2. Activate Developer Options: go to Settings >> About phone >> Software information >> tap 7 times on Build Number
#3. in Developer Options enable USB debugging mode
#4. Open ADB AppControl
#5. Connect your phone to your computer
#6. Allow USB connect message on your phone several times until ADB AppControl shows connect message on top
#7. Chose what applications you would like to disable or uninstall (i recommend you disable them not uninstall)
#8. From bootom right corner in ADB AppControl chose Disable option
#9. Check the box to delete cache and data [it is on top where you chosed Disable option at the previous step]
#10. Press Apply
#11. Confirm that you agree to disable the selected apps on the popup message which will appear
#12. Unplug your phone from the computer
#13. Shut down the phone
#14. Connect the phone again to your computer [being closed]
#15. Quick press Volume button + Volumne Up button until you see on your screen the logo
#16. Release the buttons
#17. Now you are into the phone recovery
#18. Chose the option to clear cache [NOT phone reset] with your power buttons
#19. Select the option to clear cache by presing the power button
#20. Chose restart phone
E voila.
There is no miracle bloatware list. It depends from phone to phone.
Being on a S21 series forum I will post what I debloated for my S21Ultra SM-G998B device.
com.android.apps.tag
com.android.bookmarkprovider
com.android.chrome
com.android.dreams.basic
com.android.dreams.phototable
com.android.hotwordenrollment.okgoogle
com.android.hotwordenrollment.xgoogle
com.android.managedprovisioning
com.android.printspooler
com.android.providers.partnerbookmarks
com.android.providers.userdictionary
com.diotek.sec.lookup.dictionary
com.facebook.services
com.facebook.system
com.facebook.appmanager
com.google.android.apps.tachyon
com.google.android.printservice.recommendation
com.google.android.projection.gearhead
com.google.android.tts
com.google.ar.core
com.google.audio.hearing.visualization.accessibility.scribe
com.justride.stbbuch
com.plantronics.headsetservice
com.samsung.android.accessibility.talkback
com.samsung.android.app.ledbackcover
com.samsung.android.app.notes
com.samsung.android.app.notes.addons
com.samsung.android.app.readingglass
com.samsung.android.app.routines
com.samsung.android.app.settings.bixby
com.samsung.android.app.spage
com.samsung.android.app.tips
com.samsung.android.ardrawing
com.samsung.android.aremoji
com.samsung.android.aremojieditor
com.samsung.android.arzone
com.samsung.android.bixby.agent
com.samsung.android.bixby.agent.dummy
com.samsung.android.bixby.service
com.samsung.android.bixby.wakeup
com.samsung.android.bixbyvision.framework
com.samsung.android.game.gamehome
com.samsung.android.game.gametools
com.samsung.android.kidsinstaller
com.samsung.android.knox.containeragent
com.samsung.android.knox.containercore
com.samsung.android.livestickers
com.samsung.android.mateagent
com.samsung.android.service.airviewdictionary
com.samsung.android.service.pentastic
com.samsung.android.service.tagservice
com.samsung.android.six.webtrans
com.samsung.android.spay
com.samsung.android.spayfw
com.samsung.android.svoiceime
com.samsung.android.visionintelligence
com.samsung.android.vtcamerasettings
com.samsung.desktopsystemui
com.samsung.knox.securefolder
com.samsung.SMT
com.sec.android.app.bluetoothtest
com.sec.android.app.desktoplauncher
com.sec.android.app.dexonpc
com.sec.android.app.kidshome
com.sec.android.app.magnifier
com.sec.android.cover.ledcover
com.sec.android.desktopmode.uiservice
com.sec.android.emergencylauncher
com.sec.android.mimage.avatarstickers
com.sec.android.widgetapp.webmanual
com.sec.spp.push
com.spotify.music
com.swiftkey.swiftkeyconfigurator
com.touchtype.swiftkey
de.axelspringer.yana.zeropage
with the above done I always get 6hrs+ of SoT and battery live of over 1day and 10hrs in a single charge with 120hz WHD+ resolution
Thanks for this method... I am using it with my S21 Ultra and works fine
So, Im trying to figure out a way to safely disable the Samsung Dialer. Ive already installed the google dialer but I broke the calls when i uninstalled it the first time. Im trying to figure out which package is the one to disable. Trying to remove as much Samsung as possible
Good to see this Debloat for the OnePlus, etc....
Excuse me, I´m totally new to the package disabling and I´m really looking forward to get it working on my new S21 Ultra. Could somebody please take some time, and explain to me what does it do and if the apps will still work even after disabling? (For example the bixby voice wakeup was disabled as seen in the screenshot, will my phone be able to get awaken via Bixby if it is disabled?)
Secondly I´d like to ask you if there is some sort of "best" list of packages to disable. I really want to maximize the battery life and performance of my device since it´ll be my inevitable workstation for couple of months.
Kind regards!
If you are new to this and your device will be an inevitable workstation for a couple of months I would wait with the most crazy debloat.
You can only disable things you know of, if you disable bixby bixby wont work, at all.
Hi everyone, if I do an OTA update the process will reinstall debloated apps?
Saluzzo97 said:
Hi everyone, if I do an OTA update the process will reinstall debloated apps?
Click to expand...
Click to collapse
No.
You can double check by seeing number of installed apk in settings.
But I never had a problem with debloated app reinstalling.
lyzgaard said:
No.
You can double check by seeing number of installed apk in settings.
But I never had a problem with debloated app reinstalling.
Click to expand...
Click to collapse
Thank you very much!
Hello all, it has been sometime since I rooted my phone / removed all the extra crap lol.
Is there a way to know what each Items do?
I know in the past the roms would be debloted and you had a stock rom and had the option to add what you wanted.
Thank you
Nice start with original post. I'm also looking for any further explanation or categorization of s21+ bloat please?
If uninstalled, can app be reinstalled manually from play store if desired later?
What phone is best for clean customizable ROM now?
Guessing Pixel series, but what else... OnePlus?
I've custom rom'd my s3 to s8, but now want to have Netflix working on my s21. Just don't want apps I never use taking up space and populating the share menu options, etc.
does debloating drain battery?
xkawsx said:
does debloating drain battery?
Click to expand...
Click to collapse
There are a couple of apk's who can drain battery if you deleted them.
I don't remember their name but if you debolat them the phone won't get into deep sleep....
But you can always double check if the phone enters deep sleep by installing CPU Spy from Play Store.
Just a little headsup on two packages you should NEVER disable!
Device Services (com.samsung.android.kgclient) - If you disable this, you will LOCK YOURSELF OUT of your phone (Error 3020). Chances are good to recover from this if you have TWRP installed or USB debugging always enabled. Otherwise a factory reset is the only solution. Nevertheless, this is a core component and WILL cause problems if disabled.
Device Security (com.samsung.android.sm.devicesecurity) - If you disable this, app installations will take significantly longer (about 5x). Not sure why, but better leave it.
In general, if you are not 100% sure what a package does, leave it! Even if someone on the internet says "I disabled it and had no problems"... There is a high possibility that you don't achieve optimization by disabling, but crippling your device and creating lots of errors in the background you don't know about (thus using more battery).
As far as I can tell, the list in the OP seems reasonable though.
@AllAboutTech Might be helpful for beginners if you add those 2 warnings to the OP.
AtrixBomb said:
If uninstalled, can app be reinstalled manually from play store if desired later?
Click to expand...
Click to collapse
You can always use ADB to re-enable apps, as long as you just disabled them (not uninstalled).
Connect to your phone via ADB and use the following command:
adb shell pm enable <package_name>
// Edit: I guess the ADB AppControl from the OP also allows to re-enable apps.
If you have uninstalled system apps, some of them might be re-installable via Play / Galaxy Store, but definitely not all.
bluediablito said:
Is there a way to know what each Items do?
Click to expand...
Click to collapse
Someone over at the S20 forums made a pretty good list some time ago:
Google Sheet
Lartsch said:
Just a little headsup on two packages you should NEVER disable!
Device Services (com.samsung.android.kgclient) - If you disable this, you will LOCK YOURSELF OUT of your phone (Error 3020). Chances are good to recover from this if you have TWRP installed or USB debugging always enabled. Otherwise a factory reset is the only solution. Nevertheless, this is a core component and WILL cause problems if disabled.
Device Security (com.samsung.android.sm.devicesecurity) - If you disable this, app installations will take significantly longer (about 5x). Not sure why, but better leave it.
In general, if you are not 100% sure what a package does, leave it! Even if someone on the internet says "I disabled it and had no problems"... There is a high possibility that you don't achieve optimization by disabling, but crippling your device and creating lots of errors in the background you don't know about (thus using more battery).
As far as I can tell, the list in the OP seems reasonable though.
@AllAboutTech Might be helpful for beginners if you add those 2 warnings to the OP.
Click to expand...
Click to collapse
That's strange. I always delete both of these without any poblems.
Device Security it's part of the Macfee antivirus thingy options.
I always get rid of because I think Play Protect does the job.
When I delete this all that's happens is that the Security Option is gone from Device Care Settings.
And I don't get those anyoing security notifications about enable it.
No problem with app install.
As for kgclient that's part of the Samsung Payment Service, I have never had any problems with deleting it.
That said, I have never used Samsung Pay.
Im on S21 Ultra european model unbranded right now.
lyzgaard said:
That's strange. I always delete both of these without any poblems.
Device Security it's part of the Macfee antivirus thingy options.
I always get rid of because I think Play Protect does the job.
When I delete this all that's happens is that the Security Option is gone from Device Care Settings.
And I don't get those anyoing security notifications about enable it.
No problem with app install.
As for kgclient that's part of the Samsung Payment Service, I have never had any problems with deleting it.
That said, I have never used Samsung Pay.
Im on S21 Ultra european model unbranded right now.
Click to expand...
Click to collapse
Hey, that's interesting. A friend also tested and confirmed the lock out / slow install.
Is your device encrypted?
Lartsch said:
Hey, that's interesting. A friend also tested and confirmed the lock out / slow install.
Is your device encrypted?
Click to expand...
Click to collapse
No I haven't encrypted it, also I don't use Secure Folder.
Maybe this has something to do with Knox Vault on encrypted phones?
Samsung Pay is also a part of the Knox vault.
Exynos, modell named SM-G998B/DS

Categories

Resources