Samsung Dex Home wakelock - Samsung Galaxy Note 8 Questions and Answers

So I have been noticing some fairly significant battery drain after a full charge in the morning. I installed GSAM and gave it the proper permissions to dig into the app data, and it looks as though "Samsung Dex Home" is holding the device awake for some time after unplugging from the charger. I don't appear to be able to disable it, even with PDP, so I am wondering if anyone else is experiencing this as well? It looks like it might be tied to the Knox subsystem, so perhaps it cannot be disabled... The package name is "com.sec.android.app.desktoplauncher", and the apk path is "/system/priv-app/KnoxDesktopLauncher/KnoxDesktopLauncher.apk". My battery comes off of 100% pretty rapidly, so I am hoping to find a way to kill this with the hope that it slows that drain down. Any thoughts?

I have a question about the permission you have granted trough adb, that doesn't mess up Knox, Samsung pay etc?
The phone still behaves like untouched aka unrooted?

[
QUOTE=Krayziepop;73951468]So I have been noticing some fairly significant battery drain after a full charge in the morning. I installed GSAM and gave it the proper permissions to dig into the app data, and it looks as though "Samsung Dex Home" is holding the device awake for some time after unplugging from the charger. I don't appear to be able to disable it, even with PDP, so I am wondering if anyone else is experiencing this as well? It looks like it might be tied to the Knox subsystem, so perhaps it cannot be disabled... The package name is "com.sec.android.app.desktoplauncher", and the apk path is "/system/priv-app/KnoxDesktopLauncher/KnoxDesktopLauncher.apk". My battery comes off of 100% pretty rapidly, so I am hoping to find a way to kill this with the hope that it slows that drain down. Any thoughts?[/QUOTE]
There was a similar topic in a earlier thread( a few weeks back or two.) or it could have been on S8 forum, not sure.
Can't remember exactly.
It was explained that GSam reports the Android system
as Samsung Dex Home.
If you check what is listed under Dex home, you will see
all processes etc listed.
So it's no only Samsung Dex Home alone.
So as i understand it it's actually Android system.
I also have GSam installed and have noticed GSam
listing system as Samsung Dex Home.
I have also ADB x 2 other apps,
Wakelock detector (lite)
and BetterbatteryStats
for cross references.
Suggests you install them
Similar ADB set up as GSam.
Then look for you culprit.
Good luck
---------- Post added at 04:11 PM ---------- Previous post was at 04:06 PM ----------
sewe said:
I have a question about the permission you have granted trough adb, that doesn't mess up Knox, Samsung pay etc?
The phone still behaves like untouched aka unrooted?
Click to expand...
Click to collapse
No it does not.
I have quite a few apps ADB enabled.
Gsam, BetterbatteryStats, Wakelock detector,
Shortcutter Quick Settings, Keepass2Android
Etc.
My Knox counter is 0x0
I am not rooted.

willcor said:
There was a similar topic in a earlier thread( a few weeks back or two.) or it could have been on S8 forum, not sure.
Can't remember exactly.
It was explained that GSam reports the Android system
as Samsung Dex Home.
If you check what is listed under Dex home, you will see
all processes etc listed.
So it's no only Samsung Dex Home alone.
So as i understand it it's actually Android system.
I also have GSam installed and have noticed GSam
listing system as Samsung Dex Home.
I have also ADB x 2 other apps,
Wakelock detector (lite)
and BetterbatteryStats
for cross references.
Suggests you install them
Similar ADB set up as GSam.
Then look for you culprit.
Good luck
---------- Post added at 04:11 PM ---------- Previous post was at 04:06 PM ----------
No it does not.
I have quite a few apps ADB enabled.
Gsam, BetterbatteryStats, Wakelock detector,
Shortcutter Quick Settings, Keepass2Android
Etc.
My Knox counter is 0x0
Click to expand...
Click to collapse
Ok thanks, I'm trying to do it with the terminal emulator app but that doesn't work, do I have to do it from a computer?

sewe said:
Ok thanks, I'm trying to do it with the terminal emulator app but that doesn't work, do I have to do it from a computer?
Click to expand...
Click to collapse
Yes it's straight forward if you know basic of ADB.
Yes you need laptop /pc.
In short,
Laptop, search box,
enter cmd (right click) Run as administrator
ADB opens,..
Run a command... ADB devices,
it will list a device no if your ADB is set up correctly.
Remember in Developers Option to enable
USB debugging.
If you connect phone and ADB it will ask on phone for permission something like RSA...... you have to tick ok.
Note,
that all the apps I have used, included a small tutorial
listing ADB command to enter.
Alternatively,
Easiest is just to Google for tutorial and follow instructions.
Copy ADB commands from tutorial and paste.
Very straightforward.
Good luck

willcor said:
There was a similar topic in a earlier thread( a few weeks back or two.) or it could have been on S8 forum, not sure.
Can't remember exactly.
It was explained that GSam reports the Android system
as Samsung Dex Home.
If you check what is listed under Dex home, you will see
all processes etc listed.
So it's no only Samsung Dex Home alone.
So as i understand it it's actually Android system.
---------- Post added at 04:11 PM ---------- Previous post was at 04:06 PM ----------
No it does not.
I have quite a few apps ADB enabled.
Gsam, BetterbatteryStats, Wakelock detector,
Shortcutter Quick Settings, Keepass2Android
Etc.
My Knox counter is 0x0
I am not rooted.
Click to expand...
Click to collapse
Okay thank you for that. I expanded my search options and found what you are referring to. I see how all of the System items fall under Dex Home now. I had originally thought that was due to the fact that Dex might need all of those items available in order to fluidly display through the docking station, but perhaps they sort of melded Dex and Android system together to accomplish that via the Knox layer.
sewe said:
I have a question about the permission you have granted trough adb, that doesn't mess up Knox, Samsung pay etc?
The phone still behaves like untouched aka unrooted?
Click to expand...
Click to collapse
No it does not mess anything up. You are simply granting permissions that Android system doesn't natively offer under its permissions menu for non-system applications. This gives non-root devices much more power for theming, monitoring, etc... without the need for root which could leave the system "overly permissive" and allow unsafe actions to take place without your knowledge. Granted most of us on here are familiar with how to protect our devices while rooted, there are some who don't know the real dangers which app creators can exploit with freedom to mount and write to system. With that said, if the app is not trusted, I wouldn't go giving permissions this way all willy nilly either, as you can open the same can of worms if you allow a rogue app certain permissions. Be mindful of what the permission means, and how it can be used on the apps you give it to.
willcor said:
Yes it's straight forward if you know basic of ADB.
Yes you need laptop /pc.
In short,
Laptop, search box,
enter cmd (right click) Run as administrator
ADB opens,..
Run a command... ADB devices,
it will list a device no if your ADB is set up correctly.
Remember in Developers Option to enable
USB debugging.
If you connect phone and ADB it will ask on phone for permission something like RSA...... you have to tick ok.
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Krayziepop said:
So I have been noticing some fairly significant battery drain after a full charge in the morning. I installed GSAM and gave it the proper permissions to dig into the app data, and it looks as though "Samsung Dex Home" is holding the device awake for some time after unplugging from the charger. I don't appear to be able to disable it, even with PDP, so I am wondering if anyone else is experiencing this as well? It looks like it might be tied to the Knox subsystem, so perhaps it cannot be disabled... The package name is "com.sec.android.app.desktoplauncher", and the apk path is "/system/priv-app/KnoxDesktopLauncher/KnoxDesktopLauncher.apk". My battery comes off of 100% pretty rapidly, so I am hoping to find a way to kill this with the hope that it slows that drain down. Any thoughts?
Click to expand...
Click to collapse
Use accubattery instead, its better for me. GSAM mislabels processes. Accubattery gives more accurate times and tells you how long device is in deep sleep with screen off. Give it a shot. It takes a few sessions for the estimates to be correct.
Sent from my SM-N950U using Tapatalk

willcor said:
Yes it's straight forward if you know basic of ADB.
Yes you need laptop /pc.
In short,
Laptop, search box,
enter cmd (right click) Run as administrator
ADB opens,..
Run a command... ADB devices,
it will list a device no if your ADB is set up correctly.
Remember in Developers Option to enable
USB debugging.
If you connect phone and ADB it will ask on phone for permission something like RSA...... you have to tick ok.
Note,
that all the apps I have used, included a small tutorial
listing ADB command to enter.
Alternatively,
Easiest is just to Google for tutorial and follow instructions.
Copy ADB commands from tutorial and paste.
Very straightforward.
Good luck
Click to expand...
Click to collapse
Thanks, now I've done it and the detectivework can begin ?

Anyway to disable that Samsung Dex service ?

Knox316 said:
Anyway to disable that Samsung Dex service ?
Click to expand...
Click to collapse
No need to worry. GSam is showing Samsung Dex instead of Android System. It's GSam error.

Related

Bad battery life, high Android OS drain

I'm experiencing very high battery drain on my phone, most of it attributed to "Android OS" in Settings -> Battery. For example, my battery is at 62% after 6 hours off charger, with 19min screen-on time. Any help, please? I tried reading various guides for dealing with the issue, but most of them refer to older versions of Android.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Mmm thats weird, did you try to uninstall some apps that may be wakelocking your device ?
Wakelock its an excellent app but sadly you need root
Try unisntall some "fishy" apps that could be doing it
That's the problem, since I'm not rooted, I can't use wakelock detector It is kinda crippling.
I can't think of any fishy apps off the top of my head.. is there a list of "known bad" apps?
List some less popular apps you have installed. Apps like Tinder gave me ridiculous wakelocks. Screw that app BTW.
Interesting, I do have tinder installed! Is there any easy way of getting all installed applications on the phone?
rohandhruva said:
Interesting, I do have tinder installed! Is there any easy way of getting all installed applications on the phone?
Click to expand...
Click to collapse
Check for which devices are set to actively sync. Turn off all the apps that don't need to sync in the background. Also, turn off syncing for all the google apps that you don't use.
If you're logged into multiple accounts, you have might location tracking and history on for all. I disabled both and it doesn't affect google now.
Try a factory reset,I had my Google Services on high and I did a factory reset and it was fine from there on.
erikiksaz said:
Check for which devices are set to actively sync. Turn off all the apps that don't need to sync in the background. Also, turn off syncing for all the google apps that you don't use.
If you're logged into multiple accounts, you have might location tracking and history on for all. I disabled both and it doesn't affect google now.
Click to expand...
Click to collapse
What do you mean by devices to sync? I have only one google account synced on my device. I'll try removing crap like tinder.
ry_t said:
Try a factory reset,I had my Google Services on high and I did a factory reset and it was fine from there on.
Click to expand...
Click to collapse
I've been holding off on a factory reset simply because it's so disruptive I should probably get around to it...
rohandhruva said:
What do you mean by devices to sync? I have only one google account synced on my device. I'll try removing crap like tinder.
Click to expand...
Click to collapse
Under settings/accounts.
You'll see google and other apps like twitter, dropbox, waze, etc
Not sure if this is what you're asking, but you can go to Settings, Apps and the initial list you will be presented with is only the apps you have downloaded
CUBENSIS said:
Not sure if this is what you're asking, but you can go to Settings, Apps and the initial list you will be presented with is only the apps you have downloaded
Click to expand...
Click to collapse
Yes, however that would need me to take multiple screenshot to list all apps that I have installed. I was looking for something which exports a text list of all my installed apps, maybe...
I've removed tinder and hinge for now, to see how it might affect battery. Any other ideas?
rohandhruva said:
Yes, however that would need me to take multiple screenshot to list all apps that I have installed. I was looking for something which exports a text list of all my installed apps, maybe...
I've removed tinder and hinge for now, to see how it might affect battery. Any other ideas?
Click to expand...
Click to collapse
Sorry for late responding but I'm pretty sure it's a third party app. But another suggestion is to boot into Safe Mode and see if the high drainage still occurs. If it stops, then we know it's a third party app.
I have solved the majority of this problem on my phone.
Go into apps, reset data for the app "Moto"
Now enter Moto, do NOT accept "Yes I'm in" (or whatever it's translated to for you)
It appears the car detection chews through battery like mad, they apparently use ambient audio to detect driving if there's no location service running.
You will have to go into camera and click/unclick the wrist flick feature, same with alarm clock, you have to click/unclick in the Moto app, and launch alarm clock at least once. You will also need to do this on the "approach to activate" set of features.
This obviously kills the four assistive features and always on voice activation. But it appears this drains a ton of battery.
And even if you don't use voice activation any more, (I enabled it to test it out), but the DSP that handles it is never disabled.
Also always set GPS to "device only" as this google data farm "feature" completely murders battery life.
DroidOnRoids said:
Sorry for late responding but I'm pretty sure it's a third party app. But another suggestion is to boot into Safe Mode and see if the high drainage still occurs. If it stops, then we know it's a third party app.
Click to expand...
Click to collapse
Thanks, I'm going to try using my phone in the Safe Mode today! It's incredibly crippling.
rohandhruva said:
Thanks, I'm going to try using my phone in the Safe Mode today! It's incredibly crippling.
Click to expand...
Click to collapse
No problem. My issue with battery is the Cell Standby bug that seems to be a bug with this build for Verizon Moto X. There's nothing I can do about it except wait for Lollipop.
Shadowdancer123 said:
I have solved the majority of this problem on my phone.
Go into apps, reset data for the app "Moto"
Now enter Moto, do NOT accept "Yes I'm in" (or whatever it's translated to for you)
It appears the car detection chews through battery like mad, they apparently use ambient audio to detect driving if there's no location service running.
You will have to go into camera and click/unclick the wrist flick feature, same with alarm clock, you have to click/unclick in the Moto app, and launch alarm clock at least once. You will also need to do this on the "approach to activate" set of features.
This obviously kills the four assistive features and always on voice activation. But it appears this drains a ton of battery.
And even if you don't use voice activation any more, (I enabled it to test it out), but the DSP that handles it is never disabled.
Also always set GPS to "device only" as this google data farm "feature" completely murders battery life.
Click to expand...
Click to collapse
Thanks. I'd try that, but it feels like it's disabling all the useful features of the Moto X. Kind of negates the reason I purchased this phone
DroidOnRoids said:
No problem. My issue with battery is the Cell Standby bug that seems to be a bug with this build for Verizon Moto X. There's nothing I can do about it except wait for Lollipop.
Click to expand...
Click to collapse
I'd this same problem for the first few days I had the phone for! I am not sure what fixed it, but I don't see Cell Standby up there now (I'm on AT&T).
rohandhruva said:
I'd this same problem for the first few days I had the phone for! I am not sure what fixed it, but I don't see Cell Standby up there now (I'm on AT&T).
Click to expand...
Click to collapse
Hmm interesting, I'm gonna have to search to see if there's a fix.
Shadowdancer123 said:
I have solved the majority of this problem on my phone.
Go into apps, reset data for the app "Moto"
Now enter Moto, do NOT accept "Yes I'm in" (or whatever it's translated to for you)
It appears the car detection chews through battery like mad, they apparently use ambient audio to detect driving if there's no location service running.
You will have to go into camera and click/unclick the wrist flick feature, same with alarm clock, you have to click/unclick in the Moto app, and launch alarm clock at least once. You will also need to do this on the "approach to activate" set of features.
This obviously kills the four assistive features and always on voice activation. But it appears this drains a ton of battery.
And even if you don't use voice activation any more, (I enabled it to test it out), but the DSP that handles it is never disabled.
Also always set GPS to "device only" as this google data farm "feature" completely murders battery life.
Click to expand...
Click to collapse
I have all of these enabled. I use approx 45-60 min of GPS per day, minimal talk time, >50% of my time spent with no cell signal. I consistently get ~3.5 hrs of screen on time.
Maybe you did improve your battery life, but I don't think the moto features were your problem.

S20FE (Snapdragon) (SM-G781B): Force remove GameOptimizationService howto -

For anyone that has been struggling to remove this damn app (com.samsung.android.game.gos), I found the solution (atleast for me on my S20FE (G781B). It goes without saying you WILL need root enabled on your device for this method!
Fair warning you do this at your own risk
Go to the Googleplay and install 'File Explorer (by jrummy) ', or download it from apkmirror. Then open up the app and go to root then system then priv-app - /system/priv-app
There will be a folder in there called 'GameOptimizationService', select the folder and then select delete.
Then via adb, check and remove the app again, you should get a 'failure' message meaning its already been removed so you will never see a toast popup error agaib (happy days) -
pm uninstall -k --user 0 com.samsung.android.games.gos - see below for revissed instructions
Now as I find the theme app & service pointless I have gone and remove that also, but I will need to monitor is long term to see what side effect (if any) that will have. The upside is it removes is from the list in the settings app.
[update] Courtesy of @justin22 we now know you don't have to remove the app just use an alternative method to hide - 'pm hide com.samsung.android.games.gos' This will have the same effect, as in stop the app from running in the background which then stops the annoying popups.
Moved this to its own post to make it easier for people to find -
- https://forum.xda-developers.com/t/s20fe-sm-g781b-manual-de-bloat-via-adb.4367745/
b1k3rdude said:
For any that interested here is a list of what I removed via adb, @moderators, where os the spoiler function?
Click to expand...
Click to collapse
Here ya go buddy
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Badger50 said:
Here ya go buddy
View attachment 5199681
Click to expand...
Click to collapse
Ah Sweet, thanks for that. Have been looking for that for a while, didn't occur to me to click on that button, doh!
This worked well on Tab S7.. Thanks
Great that you found a solution, too bad it has to be on a rooted phone.
The only reason i won't root my phone is beacuse of using samsung pay and some banking apps
I still hope samsung will eventually come to its senses and either fix this GoS crap or allow us to completely remove it
It's driving me nuts that i cant play games without lag on my phone (Galaxy s9+)
Hi @b1k3rdude
I am using a galaxy Tab S4 with android 10. Not rooted. Root privileges caused me more hassle than benefits so I flashed the stock image again. I also went thru the painful and deep debloating process. I would love to send you my debloat list, if you'd like to review it.
If I remember correctly I left the 3 gos apps. Dunno why. Are you telling me that if I remove them, my GPU won't throttle anymore?
The only way I could make the GPU stop throtthling was with mtweaks. I set the clock speeds to max. But the temps went crazy. But hey, I got no major framedrops from 60 to 40-30 like I was having before.
I have recently bought a Tab S7 hoping that the frame drop thing was gone. I was wrong. Same game (Rules Of Survival), same maxed out settings (max quality, max resolution, max FPS, no shadows, no MSAA), same debloat (on the S7 I deleted the GOS stuff too but not the system folder you mentioned) and I was still experiencing frame drops. Not as bad as before but they were still there. And you know what?! Lowering the settings did not improve AT ALL the performance. I have already returned the S7 because it had some weird touchscreen problems.
I think I might stick with the S4 until some Chinese company won't come out with a nice and powerful android tablet. Lenovo has got the P11 PRO but it's less powerful that the S7 and it costs more LOL. But without all that Sammy crap it might perform better.
My OnePlus Nord can handle Rules Of Survival ways better than my Tab S4 and similarly to what the Tab S7 was doing.
Edit: back in the days when I rooted the S4 I was talking to a friend of mine who addressed me to that damn thing called DVFS that downclocks the GPU when it's under load causing those massive framedrops.
I remember that DVFS nonsense. games would perform wonderfully for about 10 seconds then turn to crap. it was a cheat for better benchmark scores if I recall the theories of the day.
tell me Samsung doesn't still use that ?
exnokiafan said:
Are you telling me that if I remove them, my GPU won't throttle anymore?
Click to expand...
Click to collapse
I don't play games on my phones, so I cant help you there I am afraid (I have a high end desktop PC for gaming).
I just didn't want the service running in the background, constantly complaining via toast notifications that some Samsung apps/services it wanted weren't running.
com.samsung.android.games.gos doesnt need to be deleted/removed
a simple
pm hide com.samsung.android.games.gos
kills the app without changing anything,besides the state of the package.
pm hide is great for stuff that ignores pm disable !!
its as if the package was removed.
justin22 said:
pm hide com.samsung.android.games.gos
kills the app without changing anything,besides the state of the package.
pm hide is great for stuff that ignores pm disable !!
its as if the package was removed.
Click to expand...
Click to collapse
Ah cool, thanks for that, I will add this to the OP.
This no makes me wonder how many other apps you could do this on, for example could we get away with this on com.samsung.android.kgclient for example without causing a softlock..?
I would test this, but cant untill twrp for this device get updated with external sdcard support. [update] - you can backup/restore to an external USB drive (I went and bought a USV-C to NVME enclosure and a 256GB SSD for this.
nah,I wouldnt touch that one (kgclient) ... another app I tried to hide was com.ims(service).something... but the system got sluggish,and I was glad that I could enable it again.
pm hide is like it was uninstalled,but the package remains...so be CAREFULL !!!!!!!!
I use automagic for my trial and errors.
I build a flow which consists of <disable/hide package> - <timer : 60sec> - <enable/unhide package>
its kind of a failsafe.if nothing happens.. GREAT and I stop the flow,if the system gets buggy but not rebooted,then after 60secs the package is active again.
also I add the <enable/unhide package> action to the autostart flow.. hoping that this would get executed even if the lockscreen is locked (not sure though about this one).
Later I add a label in titaniumbackup to the frozen apps,so I hope that I can restore (refreeze) frozen apps if I should EVER have to do a factory reset again.
Without TWRP my desire to freeze anymore packages is kinda low,as I always have to accept to do a factory reset if I disable the wrong package
Btw.. when there will be a TWRP (T870).. you dont have to do a factory reset when flashing the twrp package right ??
justin22 said:
Without TWRP my desire to freeze anymore packages is kinda low.
Btw.. when there will be a TWRP (T870).. you dont have to do a factory reset when flashing the twrp package right ??
Click to expand...
Click to collapse
Same, I know @afaneh92, is working on getting ext. SD card support atm.
If its an updated version of twrp, you just flash from ODIN. You DO NOT have to touch the phone (eg doing factory reset and such).
thanks for the info !
I looked for a TWRP for SM-T870,but I didnt find anything (only S7+).
So there is a TWRP for T870,just without xSDsupport right now ?
If so where can I find it/OR is there a post where I can check for progress/or info (when its ) available ?
@justin22 I just had a check myself, there's no development of TWRP posted here for you.
from android 10 released devices onwards TWRP development is much harder. google has changed the way partitions are organised from what I've read. root is more involved now too. development on lots of Samsung devices has slowed right down. we need devs to own these devices I think to be motivated. we're looking at months of waiting especially with bootloader unlock in the US not being free for now.
@3mel : again thanks for the info !
When I got my S7,I couldnt shake the feeling that this will be my last Samsung device.Alone the ****ty warning screens every time I reboot,all the crap installed,and pointless apps/processes you cant get rid of without bricking the whole thing (kgclient(payment),...).
And now no TWRP...
justin22 said:
When I got my S7,I couldnt shake the feeling that this will be my last Samsung device.
Alone the ****ty warning screens every time I reboot
And now no TWRP...
Click to expand...
Click to collapse
Same, each time SS keep making it harder for use to root and flash custom recovery and roms to our devices.
You can flash boot animations to remove this.
We have TWRP, just no Ext SD card support atm. And without an S20FE the dev cant work on this :-(
do you have a tutorial /thread/link for boot ani flash &/or T870 TWRP (even without SDcard support) ? (I couldnt find ANY twrp for the T87xx(S7) series,only the T97xx (S7+)
justin22 said:
do you have a tutorial /thread/link for boot ani flash &/or T870 TWRP (even without SDcard support) ? (I couldnt find ANY twrp for the T87xx(S7) series,only the T97xx (S7+)
Click to expand...
Click to collapse
I had a look and there was nothing on this site, other than the TWRP site there's no other place I'd trust if they said they had it. best thing might be to ask in the other tab 7 TWRP threads if they'd be compatible with SM-T870 or if they could made so.
if that's the newest sexy tab with the S-pen you've got, it should have a few users who feel the same way. also check whether it has a locked bootloader, that'll be a big factor if half the world's devs can't flash test builds.
TWRP development sounds like a real pig of an affair nowadays
TWRP and Android 10
Please note that this post is primary related to TWRP and the Pixel 3 and 4 and devices that may ship in the future that ship with Android 10 as their origin...
twrp.me
justin22 said:
com.samsung.android.games.gos doesnt need to be deleted/removed
a simple
pm hide com.samsung.android.games.gos
kills the app without changing anything,besides the state of the package.
pm hide is great for stuff that ignores pm disable !!
its as if the package was removed.
Click to expand...
Click to collapse
Just tried this but got a security exception thrown. A quick search explained that Google actually removed hide a while ago?
If anyone has an alternative that would be great. Disable doesn't work for game services as it restarts straight away.

How To Guide [DEBLOAT][OPTIMIZE][V1.2] - OPPO Find X3 Pro - PEEM00 (CN)

1) Introduction
I recently acquired a Find X3 Pro Lensman edition and wanted to share the few tweaks that I operated on it, seeing that some people were also relying on importation for the Find X3 Pro.
As I used ADB to operate the majority of the changes you'll see next, I invite you to follow the XDA guide to install it, or the official Android documentation.
For a quick resume of the command lines that will be used, you can visit this link to have a quick explanation on what they are doing.
Don't forget to activate the dev options and the USB debugging before throwing yourself in the debloating process (also know that ColorOS might deactivate by itself for security reasons, so you might have to reactivate it from time to time, but after some reactivation, ColorOS will let it stay, strange behavior, but be aware that it can happen).
2) Debloat list
These packages will be uninstalled through the ADB command line
Code:
adb shell pm uninstall -k --user 0 your.package.name
Basic stuff (that you can replace for better options)
com.heytap.music
com.heytap.yoli
com.finshell.wallet
com.oplus.pay
com.heytap.browser
com.sohu.inputmethod.sogouoem
com.coloros.calendar
com.coloros.weather.service
com.android.contacts
com.nearme.instant.platform
com.iflytek.speechsuite
com.heytap.quicksearchbox
com.opos.ads
com.oplus.cosa
com.android.mms * (setting another default SMS/MMS app will result in warning prompts everytime you try to send something with the replacement app, to reinstall it, use the following command:
Code:
adb shell cmd package install-existing com.android.mms
)
Breeno related packages (ColorOS voice assistant, only works with CN language)
com.coloros.ocrscanner
com.coloros.directui
com.heytap.speechassist
com.coloros.assistantscreen
com.coloros.colordirectservice
com.coloros.floatassistant
com.oplus.ovoicemanager.wakeup
Don't forget to install replacement apps for contacts, phone, SMS and browser.
You can uninstall most other of the OPPO proprietary apps or CN bloat apps with a basic uninstallation directly performed from your smartphone, and most of them are restorable through ColorOS (Parameters > Apps > Restore deleted system apps) if you realize you've done something wrong.
3) Various tips and observations
From my personal experience, the PEEM00 units cannot use a third-party launcher consistently, even when set up through ADB. I tried to add various launchers (Nova, Nothing, Lawnchair 2, etc.), but they never appeared in the default launcher selection list. I managed to trick the system with
Code:
adb shell cmd package set-home-activity "com.teslacoilsw.launcher"
, but Nova wasn't able to fully take over and the "back home" gesture was alternating between ColorOS launcher and Nova.
I've thought about unlocking the bootloader to push Nova (or any other launcher) as a system app, but it might be an overkill solution.
OPPO is having a very angry "energy management" process, so you'll need to manually change the optimisation for the apps you want to persist in the background (personally, I changed pretty much everything to "Always ask"). You'll find the app list in Battery > Advanced parameters > Optimize battery usage.
If you want to deactivate the use of 5G bands and only use 4G+ and lower bands, you'll have to select the corresponding optimization recommendation in Settings > Battery > * recommended optimizations (top banner) > Disable 5G.
To add Google services, you'll have to load the Play Store with the com.android.vending package. You'll find it easily across the web, just make sure you download it from a trusted provider (I installed mine from APK Mirror).
OPPO doesn't seem to have released the sources for the Find X3 Pro to this day, which is a little disappointing, as I'd really like to see crDroid on it, but the smartphone in itself is quite enjoyable to use as is (moreover, the microscope lens wouldn't be usable this easily, as the OnePlus 9 Pro camera app is already requiring proprietary packages and vending folders to work properly, and it seems to use the same requirements and system packages as its OPPO brother).
To easily find the packages names, I highly recommend using Solid Explorer to check the system apps list directly on the Find X3 Pro while you debloat through your terminal on the side.
I'll surely edit this post as I find new items to add, modify, etc. Feel free to suggest your own modifications, I'll gladly look into it.
Redacted under update PEEM00FLU_11_C.08, some details might change depending on your own version (available packages, paths, etc.).
Edit 1 (22/06/2022) : added some packages in the debloat list and separated the Breeno (CN voice assistant) related ones from the general ones.
Edit 2 (26/06/2022) : added more packages and reinstalled com.android.mms, added a few tips.
Thanks for this. will try debloating my PEEM00
For some weird reason, when I uninstalled Quick Search Box (com.heytap.quicksearchbox) my PEEM00's home launcher now has this strange icon in the left (probably related to quick search box or pictorial, iirc). It doesn't let me swipe to the left (lol) and the animation of the swipe is gone. It actually doesn't bother me, because untill now the phone is working properly
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Roveri said:
For some weird reason, when I uninstalled Quick Search Box (com.heytap.quicksearchbox) my PEEM00's home launcher now has this strange icon in the left (probably related to quick search box or pictorial, iirc). It doesn't let me swipe to the left (lol) and the animation of the swipe is gone. It actually doesn't bother me, because untill now the phone is working properly
View attachment 5649423
Click to expand...
Click to collapse
It's because of the presence of the main Google App.
Jaxom84 said:
It's because of the presence of the main Google App.
Click to expand...
Click to collapse
I uninstalled it and it worked like a charm, many thanks ! Btw, do you know if there's any way to know the package's description? There are some packages that look suspicious to me, and I'm wondering if it's safe to uninstall them (I know that there are many threads about debloating Find X3 Pro, but some of them didn't work for me)
Roveri said:
I uninstalled it and it worked like a charm, many thanks ! Btw, do you know if there's any way to know the package's description? There are some packages that look suspicious to me, and I'm wondering if it's safe to uninstall them (I know that there are many threads about debloating Find X3 Pro, but some of them didn't work for me)
Click to expand...
Click to collapse
Think that you may have to reinstall it if you need Google Assistant or Lens.
I'd recommend you to search on the web with their names, you'll usually find your answer easily, but yes, some packages are too Chinese to be widely known outside of this country and you might struggle finding solid clues for some of them.
Jaxom84 said:
Think that you may have to reinstall it if you need Google Assistant or Lens.
I'd recommend you to search on the web with their names, I'll usually find your answer easily, but yes, some packages are too Chinese to be widely known outside of this country and you might struggle finding solid clues for some of them.
Click to expand...
Click to collapse
Yeah, Lens need the Google app to work, I've installed it again and the icon comes back whenever I restart my phone, no clue on this, but ok, I can handle it. I'll be searching those packages on the web, and if I have any doubts or any suggestions to you, I'll be here. Thanks for your advice
Roveri said:
Yeah, Lens need the Google app to work, I've installed it again and the icon comes back whenever I restart my phone, no clue on this, but ok, I can handle it. I'll be searching those packages on the web, and if I have any doubts or any suggestions to you, I'll be here. Thanks for your advice
Click to expand...
Click to collapse
The strange thing is that you can normally disable the Discover panel on other phones (which completely hides the option), but I can't manage to find the option on the PEEM00 (be it in the Google app or the phone's settings).
Jaxom84 said:
1) Introduction
I recently acquired a Find X3 Pro Lensman edition and wanted to share the few tweaks that I operated on it, seeing that some people were also relying on importation for the Find X3 Pro.
As I used ADB to operate the majority of the changes you'll see next, I invite you to follow the XDA guide to install it, or the official Android documentation.
For a quick resume of the command lines that will be used, you can visit this link to have a quick explanation on what they are doing.
Don't forget to activate the dev options and the USB debugging before throwing yourself in the debloating process (also know that ColorOS might deactivate by itself for security reasons, so you might have to reactivate it from time to time, but after some reactivation, ColorOS will let it stay, strange behavior, but be aware that it can happen).
2) Debloat list
These packages will be uninstalled through the ADB command line
Code:
adb shell pm uninstall -k --user 0 your.package.name
Basic stuff (that you can replace for better options)
com.heytap.music
com.heytap.yoli
com.finshell.wallet
com.oplus.pay
com.heytap.browser
com.sohu.inputmethod.sogouoem
com.coloros.calendar
com.coloros.weather.service
com.android.contacts
com.nearme.instant.platform
com.iflytek.speechsuite
com.heytap.quicksearchbox
com.opos.ads
com.oplus.cosa
com.android.mms * (setting another default SMS/MMS app will result in warning prompts everytime you try to send something with the replacement app, to reinstall it, use the following command:
Code:
adb shell cmd package install-existing com.android.mms
)
Breeno related packages (ColorOS voice assistant, only works with CN language)
com.coloros.ocrscanner
com.coloros.directui
com.heytap.speechassist
com.coloros.assistantscreen
com.coloros.colordirectservice
com.coloros.floatassistant
com.oplus.ovoicemanager.wakeup
Don't forget to install replacement apps for contacts, phone, SMS and browser.
You can uninstall most other of the OPPO proprietary apps or CN bloat apps with a basic uninstallation directly performed from your smartphone, and most of them are restorable through ColorOS (Parameters > Apps > Restore deleted system apps) if you realize you've done something wrong.
3) Various tips and observations
From my personal experience, the PEEM00 units cannot use a third-party launcher consistently, even when set up through ADB. I tried to add various launchers (Nova, Nothing, Lawnchair 2, etc.), but they never appeared in the default launcher selection list. I managed to trick the system with
Code:
adb shell cmd package set-home-activity "com.teslacoilsw.launcher"
, but Nova wasn't able to fully take over and the "back home" gesture was alternating between ColorOS launcher and Nova.
I've thought about unlocking the bootloader to push Nova (or any other launcher) as a system app, but it might be an overkill solution.
OPPO is having a very angry "energy management" process, so you'll need to manually change the optimisation for the apps you want to persist in the background (personally, I changed pretty much everything to "Always ask"). You'll find the app list in Battery > Advanced parameters > Optimize battery usage.
If you want to deactivate the use of 5G bands and only use 4G+ and lower bands, you'll have to select the corresponding optimization recommendation in Settings > Battery > * recommended optimizations (top banner) > Disable 5G.
To add Google services, you'll have to load the Play Store with the com.android.vending package. You'll find it easily across the web, just make sure you download it from a trusted provider (I installed mine from APK Mirror).
OPPO doesn't seem to have released the sources for the Find X3 Pro to this day, which is a little disappointing, as I'd really like to see crDroid on it, but the smartphone in itself is quite enjoyable to use as is (moreover, the microscope lens wouldn't be usable this easily, as the OnePlus 9 Pro camera app is already requiring proprietary packages and vending folders to work properly, and it seems to use the same requirements and system packages as its OPPO brother).
To easily find the packages names, I highly recommend using Solid Explorer to check the system apps list directly on the Find X3 Pro while you debloat through your terminal on the side.
I'll surely edit this post as I find new items to add, modify, etc. Feel free to suggest your own modifications, I'll gladly look into it.
Redacted under update PEEM00FLU_11_C.08, some details might change depending on your own version (available packages, paths, etc.).
Edit 1 (22/06/2022) : added some packages in the debloat list and separated the Breeno (CN voice assistant) related ones from the general ones.
Edit 2 (26/06/2022) : added more packages and reinstalled com.android.mms, added a few tips.
Click to expand...
Click to collapse
I removed most of the recomended list, but now there is an issue with calls, people I'm calling can't hear me some times and need to make the call again, normally second time I call they can hear me. do you know if any of the removed applications can cause this?
jemadrid said:
I removed most of the recomended list, but now there is an issue with calls, people I'm calling can't hear me some times and need to make the call again, normally second time I call they can hear me. do you know if any of the removed applications can cause this?
Click to expand...
Click to collapse
Never experienced such issue, sorry.
Jaxom84 said:
I've thought about unlocking the bootloader to push Nova (or any other launcher) as a system app, but it might be an overkill solution.
Click to expand...
Click to collapse
how would you unlock the bootloader? I tried to do that a few months ago and i couldn't find a way
demonicCookie said:
how would you unlock the bootloader? I tried to do that a few months ago and i couldn't find a way
Click to expand...
Click to collapse
Strange, I have access to it in the developer's settings.
Jaxom84 said:
Strange, I have access to it in the developer's settings.
Click to expand...
Click to collapse
Did you actually try doing it? Cos the unlock device option doesn't really do anything. I selected it but when I try to unlock it it doesn't work.
demonicCookie said:
Did you actually try doing it? Cos the unlock device option doesn't really do anything. I selected it but when I try to unlock it it doesn't work.
Click to expand...
Click to collapse
I'll surely give it a try by the end of the week, as the kernel's source for the PEEM00 should get released soon (if the OPPO-source owner told me the truth). Count on me to tell you as soon as I can.
Jaxom84 said:
I'll surely give it a try by the end of the week, as the kernel's source for the PEEM00 should get released soon (if the OPPO-source owner told me the truth). Count on me to tell you as soon as I can.
Click to expand...
Click to collapse
So have u unlocked your device now they source code released
burhanhanzada199888 said:
So have u unlocked your device now they source code released
Click to expand...
Click to collapse
Unlocked without issues, you did well to remind me.
so is it possible to root now is there any way
burhanhanzada199888 said:
so is it possible to root now is there any way
Click to expand...
Click to collapse
Maybe soon, I'd gladly undergo some tests for crDroid or PixelExperience.
oh ok also can u please guide to where to start to build own rom previously i have expereince of installing custom rom and custom recovery but not actually making it also i have seen some guides and videos but they saying i need 300 gb of space is it true or is there any alternative i really want to try this i have programming experience
Jaxom84 said:
Unlocked without issues, you did well to remind me.
Click to expand...
Click to collapse
how u unlocked like what command of adb u run and r u able to boot into bootloder?

How To Guide Stop vivo spyware with app ops

I've tried everything possible to stop vivos spyware, namely cim.vivo.pushservice and com.vivo.abe (plus maybe some others but the main one clearly is push service - whatever you do interacting with your phone shortly after push service tries (because I blocked it's internet access with Adguard) to contact some Chinese servers.
Edit: For app ops to work reliably you need to debloat com.vivo.devicereg first. Also remove com.vivo.abe and other apps for best results first - see here for list: https://forum.xda-developers.com/t/...al-battery-drain.4544851/page-5#post-88459025
You cannot debloat it, you cannot freeze it, there is no normal way to remove it from starting as you cannot simply restrict it from running as it runs on user 1000.
However what you can do, though only with app ops is to simply remove it access to any system content by providing fake zero content (ignore). Actual denying is also not possible.
I'm attaching a screenshot on how to set it up and I don't know which actual setting works, but something does work because for the first time I'm using this device it's not trying to connect to the internet anymore. This should also substantially improve battery life.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You need to activate system and system framework apps to show it. By default they are hidden.
It's quite crazy how many times different vivo apps access location and contacts. Well enough other apps are pretty annoying in accessing fine location so app ops is a great tool to cut down on requests by apps (yes usually a power manager would restrict the apps a bit, but as we have to remove vivo.pem to receive notifications app ops is the answer)
If you setup an island with islands app, it's pretty crazy how fast the vivo system starts requesting access to loads of stuff. Maybe because I forbid internet access to the vivo spyware it kept on going crazy? Well clearly by default this system send everything, and yeah really everything straight to Chinese servers when it comes to location, contacts, messages, phone log, system settings and so on. You cannot even deny this but it's great that android now provides the ignore function which will return empty information instead.
This one is especially terrifying. I guess the service gathers all the data it gives to push service to send to China... Put it on ignore straight away.
App ops is available on Google play, installation needs shizuku too which is a bit complicated and needs restarting after reboot of system. However most settings should survive a reboot (I have to try and monitor this), best make a backup and yeah totally worth it to buy the full version. There is no single other app that I tried which worked and the auto restore feature is only available in full version. Also some more other stuff.
I'm thinking if I should remove all accounts and try the device owner mode. Clearly this will be the first thing I will do on any new phone or hard reset. Put shizuku as owner so it can autostart
App Ops - Permission manager - Apps on Google Play
Manage app permission with App Ops (require root or adb)
play.google.com
Edit/Update.
Vivo using system user 1000 is problematic because somehow you cannot set some/many permissions per app but only per user. It's hard to see when this applies and when not.
So both of this apps which are core parts of the spyware armada will share/influence the android system permission on location. Clearly debloat would be better but impossible without root.
You cannot directly set it here - and that's the problem. It's even not possible in the log to tell which user 1000 app requested location as somehow it will always show android system...
Some things I do not know yet - because I didn't use it long enough.
Does Vivo rotten oranges tries to overwrite the settings? MIUI seemingly does and there is a restore mode especially for it.
Some reviews mention that the backup/import option does not work for System apps. I don't know if this was fixed or not (seems to have been okay 2-3 years ago - maybe downgrade if that is so).
Do you need the app? No you could do this manually or even write a batch as its all app ops set commands. But that would be way way more complicated than using the app (and the free version does most things already).
I hope by seeing the body sensors log I managed to eliminate the offending apps like Phone that accessed them and cause the phone to lose battery while on the go like crazy.
Which apps should you set to ignore everything?
Well foremost those that we would all like to uninstall and remove but cannot.
com.vivo.abe, push notifications service, com.android.phone (and use a different dialler app instead - the default phone must be spyware infused to the top as it becomes active all of the time without being in use and replaced in my case with google phone already), the numbermark stuff, vivo locationservices,
Youtube Revanced - Fine Location - should you use it. I don't know why it keeps on requesting this all the time. Put it on ignore or Deny to save battery (seems to be a bit badly programmed)
Multi Device Connectivity (don't know what this thing does, but it requests loads of data/wakeups and so on - maybe part of the spyware suite? For Sure remove it from Fine Location)
AiEnginge,Aiservices.
Controversial: Should you remove location access to Android System? I think it can save battery but not sure if some apps break some functionality?
com.vivo.devicereg (this one is quite active too - I'm not sure if we should put everything on ignore here too).
And yeah - I'm 99.99% positive the China Spyware is tracking your location 100% of the time. So it's not only some metadata, contacts, call data, messages, clipboard content and app filtering - but also your location. Now is this collected by Vivo for its own good, or for the Chinese government? I don't care I don't want either and I pretty much thing the way it works is several services gathering all that data - and most like vivo push notifications (haha fitting name) pushing this info to Chinese servers.
And yeah - seeing how many access rights are given to various system apps is not normal! I compared this to my Huawei P30 Pro and Galaxy S7 and both have much much less permissions given (a bit problematic as earlier Android versions aren't so detailled). Plus without app ops you don't even know about this! The stock permission management just hides all the system framework apps so you never know!
BTW - If you identify any app that requests a lot of stuff like location or contacts and you do not know why it should - try to debloat it because that's always the better solution. com.vivo.multinlp - Vivo Location Services can be debloated.
Same for Multi Device Connectivity: com.vivo.connbase
The rest of the apps above (except phone which breaks functionality if debloated) - cannot be debloated. So that's when you use App Ops instead. It's always safer using app ops vs fully uninstalling/disabling an app from a standpoint about breaking something. However for battery use most likely uninstalling via adb is the better solution. I decided to remove those two apps, but a more conservative approach is to simply remove their access to sensitive data.
Someone knows why google play services needs access to body sensors?
I'm attaching my current profile - not sure if you can import it without having the same debloat level as on my phone (which is pretty extensive - I have 77 apps uninstalled and 11 disabled. Yeah and most of that are services/system apps (very few a pre installed user apps).
Need to remove the txt ending on the backup to import.
Oh I think the reviews are right, the backup doesn't include settings for system apps. That a bummer. Kinda makes the backup/import function useless.
Now it clearly would make more sense if one could create a huge bash/batch file to do all of these app ops commands. I clearly don't know how to do that simply? Yeah finding out what changed is possible with dumpsys....
Battery life improved loads on first try, but then somehow I managed to destroy the Bluetooth connection by removing permissions somewhere too much. Also I had the phone in vibration mode overnight which kills all notifications and is like airplane mode light.
It's really horrible software design by vivo that vibration mode kills all notifications with screen off.
The only thing to achieve actual vibration mode is turning volume down to 0. I really cannot get who can program such a lousy thing.
I don't know why but location is constantly requested by something and I highly doubt it's actually android system!
Sadly Vivo system like MIUI seems to reset the restrictions all the time. So you need shizuku running all the time to restore the settings..
Especially com.vivo.abe restores it's permissions several times daily and as soon as that happens battery life goes **** again in idle and spyware starts working again...
It's super frustrating but essentially this phone had rubbish software that isn't fixable. It can be improved as many settings aren't reset but the spyware tries everything it can to restore itself overwriting system settings all the time.
Oh and push notifications also sends out data to fixed IP addresses in China that cannot be prevented.
Location is accessed like crazy by all the spyware.
Thats the main killer because it's permanently checking location if you don't disable location system wide.
At least down from 15.000 requests to 9000 thanks to app ops.
Hi @extremecarver, any updates on this? I appreciated what you have done so far to investigate this issue.
The problem I'm facing right now is, the idle drain is too much for me. With plane mode on during 6 hour night, it lost 3%. With normal 3g-4g signal (no data), it drains about 1% per hour, sometimes 2%. That means if I go to work and let my phone sit there for a whole day without touching anything, then it will lose 8%-16%. That's crazy numbers.
I also found that, googlemap (with gps+4g) can kill battery very quickly. Usually, I drive to work in 30 mins and it drops 6%, i.e, 1% per 5 mins. With the same use, the s22 ultra drops just under 3%.
And if I use the phone normally such as web browsing, facebook, instagram, tiktok, even taking photos then it drains very very normally as other phones do.
I have the s22 ultra and I can say that the battery on s22 ultra is much better than vivo. It's understandable because it has been optimized for a year now. With the s22 ultra and with the same using pattern, I can easily get 8 hours SoT, while the vivo can barely get it to 5-6 hours.
Pretty sad because this x90 pro+ camera is better than the s22 ultra in many aspects, easier to hold in hand (s22 ultra is too hard to reach the edge of the phone and too heavy) although I don't like both curve screens. I don't have many problems with the notifications because I mainly use messenger and gmail and that's all.
So hopefully, someone can find out the way to fix those excessive battery drain or Vivo can release some updates to solve this problem in the future.
Dear All,
i'm not sure if mine could be a good solution or not but i'm using nextdns service and it basically blocks all or almost all vivo and others brand spyware without installing any apps.
it's very quick and easy to activate, just enable dns privato in network settings and write your dns resolver url.
i hope it could be helpful.
lemonade747 said:
Hi @extremecarver, any updates on this? I appreciated what you have done so far to investigate this issue.
Click to expand...
Click to collapse
Yes by removing virtually any rights on any app/service that I don't think needs it - I could solve the battery drain.
However now I cannot use the telephone to make calls (passive receving calls still works), and I seem not to be able to update to the new trial software because it isn't found.
Now the problem with App Ops is - I cannot quickly return all rights to update the software - as the backup/import function does not work with system apps.
This phone is just one thing, Crap, crap, crap, crap, crap. Not a single day I don't want to use a hammer and trash it. It's simpy virtually impossible to fix the crapware/spyware of this phone.
Svask89 said:
Dear All,
i'm not sure if mine could be a good solution or not but i'm using nextdns service and it basically blocks all or almost all vivo and others brand spyware without installing any apps.
Click to expand...
Click to collapse
No it doesn't - it can only block apps, not even some system services - and only if they connect to a website, not if they connect to an IP address!
I have written about stopping spyware with DNS services already - this stops some sending of data - but doesn't help at all when it comes to battery drain. There will still be 20.000 events or so per day (which is a crazy amount) of the china spyware logging your location (and yeah mostly high accuracy, not low accuracy), trying to connect to chinese servers and other problems that you can only discover via Shizuku.
And NextDNS is not the right solution at all. I think even Adguard is a bit more efficient for this. The best one is Rething DNS+ - it's the only app that can block all system services (but then you cannot use another app for ad filtering like Adaware/Adguard).
This menu is not accessible via settings... But it exists
Needs to be accesses via activity launcher.
Actually private DNS exists too but is hidden by Vivo like so many other privacy related settings.. this OS is so rotten they try to hide everything that improves privacy...
Likely everything you write with Vivo secure keyboard has preferential upload to China servers
(This last one is sarcasm without proof, but don't believe anything this OS tells you about privacy because logs tell you it's lying)
Some more stuff of which a lot is hidden and not accessible
Go f**k standard vivo settings menu. The only problem is the real android settings menu is missing the search function. But it's feature complete (except the stuff Vivo really removed from Android which isn't too much.. mostly they just removed it from the settings menu)
This phone is a absolute garbage. Seems vivo blocks shizuku after some days of using it.
Found a Chinese tutorial on bilibili on what to do to solve it but that doesn't work anymore either.
Now vivo Push notifications spyware tries to send again notifications at a rate of 10-20 every second...
Basically the phone is a brick now, draining battery faster and faster with pushware and Abe having restored their permissions...
Also I cannot use ADB Appcontrol anymore - as it doesn't get permission (removing/restoring permission for ACBBridge didnt help).
I also activated Force Activity Resizeable in the developer options but that didn't change a thing... ( I think this only applies to apps that cannot get the pairing code via notifications and need the code entered in splitscreen - as if you switch screen the code is renewed)
'This phone is just one thing, Crap, crap, crap, crap, crap. Not a single day I don't want to use a hammer and trash it. It's simpy virtually impossible to fix the crapware/spyware of this phone.'
Patiently waiting
extremecarver said:
This phone is a absolute garbage. Seems vivo blocks shizuku after some days of using it.
Found a Chinese tutorial on bilibili on what to do to solve it but that doesn't work anymore either.
Now vivo Push notifications spyware tries to send again notifications at a rate of 10-20 every second...
Basically the phone is a brick now, draining battery faster and faster with pushware and Abe having restored their permissions...
View attachment 5873093
Also I cannot use ADB Appcontrol anymore - as it doesn't get permission (removing/restoring permission for ACBBridge didnt help).
I also activated Force Activity Resizeable in the developer options but that didn't change a thing... ( I think this only applies to apps that cannot get the pairing code via notifications and need the code entered in splitscreen - as if you switch screen the code is renewed)
Click to expand...
Click to collapse
Thank you Vivo, keep doing it to his phone
Any updates on this @extremecarver?
I'm using this and what I see so far is the battery drain cut down to around 5% overnight (6 hours). With plane mode ON, it lost about 3% in 6 hours, not too bad for me. However, when put it there on my desk when I'm working (with 4g signal covered, no data), for 8 hours it sucked around 10%, and with wifi on that number is around 20%. My old Huawei Mate 20 and S22U can do even better than this (just around 5% without wifi, and 10-15% with wifi).
In addition, I also found that the battery drain when using GPS on this phone is too much for me. Just 1 hour and it sucked about 12% with 4G data ON.
Yes - in order to really cut the battery drain you need to remove much more permissions. The problem is that Vivo restores them - you could try to restrict that but modifying "modify restricted settings/ files" or something similar - but maybe that is how I locked myself out.
You can go into the "keep awake" and "run in background" and put ignore on everything you think that is not absolutely needed. Android 12 and above should not use this keep awake but Vivo apparently does.
Then you culd restrict body sensor data to more apps/services.
But yes as long as there is no way to really remove vivo.abe and vivo push notifications the battery drain is not fixable. Then of course the modem sucks - and uses way too much power. That one is either hardware rubbish or software mess up. I rather guess a rubbish modem.
The worst is battery drain while outdoors doing sports without being in airplane mode even if you disable any access to body sensors for all apps normally (use "device Info" app for this to actually get to all services, then app ops for removing even more.
extremecarver said:
Yes - in order to really cut the battery drain you need to remove much more permissions. The problem is that Vivo restores them - you could try to restrict that but modifying "modify restricted settings/ files" or something similar - but maybe that is how I locked myself out.
You can go into the wake something section and remove everything you think that is not needed. Android 12 and above should not use this - but Vivo apparently does.
Then you culd restrict body sensor data to more apps/services.
But yes as long as there is no way to really remove vivo.abe and vivo push notifications the battery drain is not fixable. Then of course the modem sucks - and uses way too much power. That one is either hardware rubbish or software mess up. I rather guess a rubbish modem.
The worst is battery drain while outdoors doing sports without being in airplane mode even if you disable any access to body sensors for all apps normally (use "device Info" app for this to actually get to all services, then app ops for removing even more.
Click to expand...
Click to collapse
The phone is good overall, camera, design, performance, but the battery drain is destroying those good points. Not sure if vivo will fix this in the future or not, but my S22U did take more than 6 months to get some first stable updates, and it's super stable right now at 1 year.
Well I cannot call any phone good if it's basic functions like notifications and spyware are rubbish like hell - causing battery drain without end. And yeah - without root you can make it a bit better but cannot fix it. With root if would be quite doable (as long as Vivo doesn't introduce any killswitch like disabling stuff once vivo.abe or push notification service is uninstalled). Root for running adb commands would be enough. But vivo actively disabled this by making many apps removable only for user 1000.
ok so it seems no way to fix the rubbish battery life.
this thread convinced me to sell the phone for a s23 ultra, the battery life differences are huge given only the 300mah battery.
Very good phone ruined by battery life, I don't even care at this point about camera and other specs, I expected good battery life from a sd gen 2 with 4700 mah but i was clearly wrong.
My 1st and last vivo phone, too bad i'll lose tons of money now because is vivo is a no name here.
You lose tons of money everywhere as soon as you cannot return a Vivo phone anymore...
Btw, can someone show what permissions are on Android system by default?
I wonder if I'm missing some (screenshot from device info):
I never directly removed a permission from Android system, but I removed permissions from apps running as well on system.uid user, and sometimes they interact, sometimes they don't. Vivo really messed up the permissions because it's not possible to cleanly change permissions.
If you see the permissions given to push notifications it's anyhow clear than restricting any permissions to vivo apps to stop them to spy on you is like fighting windmills, because push notifications just about has any permission imaginable even after removing some with app ops. Here are the permissions left over from push notifications after removing any possible with app ops app.
Found the error why I couldn't access adb anymore. Shell system app somehow had all rights removed. Fixed it by exporting the apk and reinstalling it. Not locked out anymore and can use app ops again...
Strange thing though - on reboot shell went missing again. Not sure what the crap deletes shell on reboot. I'm pretty sure that's some kind of vivo killswitch if you remove rights via app ops commands from it's spyware.

[MOD/MAGISK] TDP Tweaks v. 1.4.04 - June 2nd, 2023

TDP Tweaks​IGNORE THE VERSION NUMBER THAT SHOWS IN MAGISK. I FORGOT TO CHANGE IT WHEN I PUSH THE RELEASE​Details​
Version: 1.4.04
Platform API: 31+
Android Version: 12+
Magisk Version: 25.2+
Source Code: https://gitlab.com/kp-development/android/tdp-tweaks
This is a Magisk module that attempts to modify some settings and tweak some services for better device performance, better battery management, and better privacy.
It modifies some system settings, and then attempts to disable analytics services, ad services, diagnostic services, and tracking services. Due to the nature of these services, the disablers will run every 4 hours based on the time you last rebooted your device.
If there are packages you need to exclude from this, you can add them to your /data/adb/modules/tdp-tweaks/tdp-excludes file; line by line; and they will be skipped. There are no defaults, and we will attempt to do this for every app installed on your device including system apps.
If you need help/support with this module, you will need to turn on debugging. To do this, all you have to do is create a file in /data/adb/modules/tdp-tweaks/ called: tdp-debug. The module will pick this up and start logging on it's next run. If you need the log right away, reboot your device after creating it.
Everything except the kernel tweaks should work on any device on Android 12 and up, though I only have a OnePlus 11, so I am only able to test them out on that. Your mileage may very, but if you have something else, and it works on that, please make sure to let me know.
NOTE: I cannot and will not be held responsible for bricks, world takeovers, or nuclear warfare. As such, installing this mod is completely on you. If you do not want this, do not flash it.
Requirements​
Platform API: 31+
Android Version: 12+
Magisk Version: 25.2+
Install​
Download the zip file, and open Magisk.
It's attached to this post
It's also here: https://gitlab.com/kp-development/android/tdp-tweaks/-/releases/
Tap on Modules
Tap Install from storage and browse to where you downloaded the zip file to.
Tap Ok
Reboot
Sit back and enjoy your device
Settings​Officially, there are no settings because this is only a set of shell scripts. Albeit, I did put in some logic to check for certain files in the mods directory to turn on/off some of them, as well, as exclude some packages and enable debugging... so ... follow along.
/data/adb/modules/tdp-tweaks/tdp-debug: This file will enable logging of all actions to the following location: `/data/adb/modules/tdp-tweaks/log.txt` If you have any issues with this module, I will be asking you for this log file...
Remove the file to turn this off
/data/adb/modules/tdp-tweaks/tdp-excludes: This file will be read line-by-line in order to exclude packages from the "disabler" scripts. If you find some apps no longer work for you, you may want to add them in here to be skipped over...
This file is empty by default
/data/adb/modules/tdp-tweaks/tdp-settings: This file will enable some system settings tweaks.
This file is included by default
Remove this file to turn this off
The following sections are enabled by default. Remove the line if you want to disable one
battery: enables the battery tweaks
performance: enables the performance tweaks
display: enables the display tweaks
feedback: enables the feedback tweaks
gesture: enables the gesture tweaks
googleservice: enables the google service tweaks
gmsintent: enables the GMS tweaks
googlesystem: enables the google system update tweaks
lockscreen: enables the lockscreen tweaks
telephony: enables the telephony tweaks
screensaver: enables the screensaver tweaks
settings: enables the system settings tweaks
security: enables the security tweaks
wifi: enables the wifi tweaks
packageverifier: enables the package verifier tweaks
location: enables the location service tweaks
animation: enables faster animations
dozing: enables the dozing tweaks
abusiveapps: enables the abusive apps tweaks
wellbeing: enables the wellbeing tweaks
network: enables the networking tweaks
/data/adb/modules/tdp-tweaks/tdp-kernel: This file will enable some kernel tweaks.
Remove this file to turn this off
/data/adb/modules/tdp-tweaks/tdp-analytics: This file will enable the analytics disabler.
Remove this file to turn this off
/data/adb/modules/tdp-tweaks/tdp-diagnostics: This file will enable the diagnostics disabler.
Remove this file to turn this off
/data/adb/modules/tdp-tweaks/tdp-adservices: This file will enable the ad services disabler.
Remove this file to turn this off
/data/adb/modules/tdp-tweaks/tdp-tracking: This file will enable the tracking disabler.
Remove this file to turn this off
/data/adb/modules/tdp-tweaks/tdp-compiler: This file enable the package compiler.
This only runs once
If you need to run it more than once, remove this file: /data/add/modules/tdp-tweaks/.compilerran
This can cause issues with some apps.
Either uninstall the app, and reinstall it: or,
put a file here: /data/add/modules/tdp-tweaks/tdp-undocompile and reboot
Requesting Support​First things first, I do this for myself and no-one else, and have simply decided to share it. I don't owe you anything, so if you demand anything from me, you will either be ignored, or reported, or both.
Thus said, I cannot help without logs, so make sure that when you ask for help that you have turned on debugging for it (see above), you post the log. At the very least I will need a Magisk log, which you can find in the management app. Also helpful would be the log this module writes to (if you have enabled debugging)... it is located here: /data/adb/modules/tdp-tweaks/log.txt. Also helpful would be a logcat, please google how to get this, as I will not hold anyones hand.
You can either file an issue in my repo, or reply to this thread on XDA.
Bootlooping​This is actually pretty easy to recover from. If it happens to you, please follow these steps to recover... also note, this does not just go for my module, but any magisk module that you may end up bootlooping with.
Hold your power button until you power off.
Once your device is off, press the power button and when the boot animation starts, press and hold your volume down, and keep holding it until it boots.
Once you are in Safe Mode (you will know as your homescreen will show it), simply reboot your device. Magisk detects safe mode and disables all modules.
Please note, and this is very important: YMMV
This process may be different for your device, but there is this great thing called the internet, and that can help you. Here, this is as much hand holding as you are going to get: https://www.google.com/search?q=how+do+I+boot+my+android+phone+into+safe+mode
Donations​Always welcomed, never required.
If you do decide to donate, please accept my thanks as I lift the beer(s) you bought to toast you
Donations can be processed here: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QTT7BM7SQG46G
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Release Notes​
v. 1.4.04
Fix: settings tweaks... now runs every 4 hours as well.
yes, some do reset to default states
Add: added some networking and performance tweaks
Add: added some build.prop tweaks thanks to @zaidannn7
Removed: Defaults
from now on, you need to enable these yourself. Read the above and you will figure out how to do it.
v. 1.3.77
Remove: gmsintent tweaks
causing too many issues with play services and play store
Remove: googlesystem tweaks
causing too many issues with play services and play store
Remove: haptic feedback disabler
Added: App battery compiler
Changes the apps profiles from speed.
only runs once. If you need to run it again, remove the /data/add/modules/tdp-tweaks/.compilerran file and reboot
this can cause some issues with some apps. If you need to undo this, simply drop a new file in the module: /data/add/modules/tdp-tweaks/tdp-undocompile and reboot
v. 1.3.01
Fix: better search in the disablers for package exclusions
Improvement: read tdp-settings for enabled settings section
by default all sections are enabled.
to disable:
first backup /data/adb/modules/tdp-tweaks/tdp-settings
remove the setting line(s) you want to disable
descriptions are in the repo's readme & in the OP
save the file
reboot
Fix disable back animation
Fix: move rest of wifi tweaks to the proper section
Remove: Kernel tweaks for now.
I want to see if I can "detect" the current scheduler and tweak based on that
v. 1.2.78
Initial Public Release
Confirmed Devices​
Pixel 6
Pixel 6 Pro
OnePlus 11
Thanks & Kudos​
topjohnwu
Magisk, and the ability for us to create modules for it.
@cpirnie & dpirnie
My folks
@dpirnie
My monkey
@gpirnie
My wife!
NOTICE​I no longer have my Raven (my wife does), so I can no longer test on it. However, the updates I post should continue to work on it as most of them will be QOL improvements.
Please PM me if you want to be a tester.
In The Works​An app to control the enabling/disabling/exclusions of the tweaks.
NON ROOT VERSION​You may be able to still utilize some of these tweaks if you are not rooted. I've only tested this on the wife's Raven (she's not rooted, and won't let me ) Understand, this does not and cannot include any of the disablers from the full package. It's because the disablers require root.
Make sure you have at least version 33.0.3 of the SDK tools on your machine and it's setup to use those.
Google how to do this if you do not know how.
Plug your phone into your PC
Open command/shell/whatever you use for it...
Make sure your device is recognized with: adb devices
If it's not google how to enable ADB Debugging for your device, and enable it.
Download the attached script and make sure you are in your shell in that location.
Run: adb push adb.sh /sdcard/
Next Run: adb shell sh /sdcard/adb.sh and let it do it's thing
You may get some Java errors towards the end of the run... just ignore them
Profit
A must have magisk module.
Update after using this for few days, enabled everything minus tdp-adservices.
Device feels slightly snappier, even if animations are set back to normal.
Battery has improved, played Star Rail for 2h at max settings and still managed to get 6:13h sot, I'm mind blown.
Will try full day out and see how it does too.
I don't get past 5:30h under normal usage without gaming, no matter what, actually this is the first time I see 6h screen on time on my device.
P6Pro, EvoX - functional, we'll see how it behaves
animations, app loading seems faster to me. Possible?
hrabe.X said:
animations, app loading seems faster to me. Possible?
Click to expand...
Click to collapse
Yes. I set animations to .25
Justarandomguy said:
I'm on latest A13 stable with kirisakura kernel, phone has been 100% stable and perfectly working for weeks, won´t update anything so I can see if this creates any issue or changes anything and report back, been using it for an hour and so far so good, it's nice to see new contributions!
(Edit, first log if you wanna check, everything is alright and working well here, maybe it feels even faster?)
Click to expand...
Click to collapse
Appreciate it. Glad it feels faster for ya
Gonna look into those exceptions in the next few days. Have you had a chance to "turn on" the other modules?
kevp75 said:
Appreciate it. Glad it feels faster for ya
Gonna look into those exceptions in the next few days. Have you had a chance to "turn on" the other modules?
Click to expand...
Click to collapse
Hey, nope, installed and enjoy, did no more, if you want me to try something tell me, I had some services disabled already like Digital Wellbeing and so, maybe that's creating some issues in the log as I did something the module wanted to do, a log from someone else might be different
I've been running Foobar66's analytics and firebase disabler since it was released. This looks like a updated and more modern solution. They are essentially the same thing though, right?
noidea24 said:
I've been running Foobar66's analytics and firebase disabler since it was released. This looks like a updated and more modern solution. They are essentially the same thing though, right?
Click to expand...
Click to collapse
Interesting. Didn't know about that one. Just going on the description it appears to be similar, the exception would be that I automate it... IF the modules are enabled.
kevp75 said:
Interesting. Didn't know about that one. Just going on the description it appears to be similar, the exception would be that I automate it... IF the modules are enabled.
Click to expand...
Click to collapse
Yeah I really like his mod and terminal options, easy commands to run through system or user apps. I just flashed a fresh image with radioactive kernel, I'll throw this on top and give it a run.
noidea24 said:
Yeah I really like his mod and terminal options, easy commands to run through system or user apps. I just flashed a fresh image with radioactive kernel, I'll throw this on top and give it a run.
Click to expand...
Click to collapse
aye
mine does em all, but only if you create the files like I mention in the OP.
Basically, I just grab a list of packages, and try to loop through each checking for a string in the associated package classes. Like: "analy" for anything with Analytics, "adserv" for AdServices, etc...
By default, only the "Settings" tweaks are active, the rest aren't until you add those files.
I don't think the "disablers" will do anything to battery life, though, a by-product of some of the services being disabled may... my thinking for those was more for privacy than anything else... the "settings" and "kernel" tweaks were where I was thinking about battery.. which, right now I'm 35% after 30 hours... only about 4hrs SOT, but 2.5hr streaming poweramp over BT, couple hours on facebook, weatherbug going for 4 hours, and youtube going for 5 hours =) so... purtty happy with that I must say
edit: posted my screeny for that in post 4
noidea24 said:
I've been running Foobar66's analytics and firebase disabler since it was released. This looks like a updated and more modern solution. They are essentially the same thing though, right?
Click to expand...
Click to collapse
I use to use that but it wasn't perfected and caused some app issues. Now I use that app manager app by muntashirAkon it has this ad and tracker blocker which seems to be a better version of it all. It doesn't cause app issues because he test it. Maybe you might be interested in his block list op. Anyway I have both this module and that apps blocking activated.
Becareful with foobar 66s module op the reason I stopped using it was that it was causing some app issues I think because it disables to much firebase components. I don't touch them.
I was wondering if this Mod only works for Stock Android as It looks like the following files aren't activated on my Pixel 6 Pro running LineageOS latest April update:-
tdp-kernel
tdp-analytics
tdp-diagnostics
tdp-adservice
tdp-tracking
TeeJae360 said:
I was wondering if this Mod only works for Stock Android as It looks like the following files aren't activated on my Pixel 6 Pro running LineageOS latest April update:-
tdp-kernel
tdp-analytics
tdp-diagnostics
tdp-adservice
tdp-trackingView attachment 5897481
Click to expand...
Click to collapse
Same for me using stock firmware. The folder structure is different. Also I think this caused heavy drain for me I don't want to test it again because i had to do a full wipe flash to get the rom to stop draining high. Also noticed it turns aod of every boot. I wasn't able to find and delete the setting file to fix that.
cbomb1337 said:
Same for me using stock firmware. The folder structure is different. Also I think this caused heavy drain for me I don't want to test it again because i had to do a full wipe flash to get the rom to stop draining high. Also noticed it turns aod of every boot. I wasn't able to find and delete the setting file to fix that.
Click to expand...
Click to collapse
read the OP also, mod does nothing to AOD
TeeJae360 said:
I was wondering if this Mod only works for Stock Android as It looks like the following files aren't activated on my Pixel 6 Pro running LineageOS latest April update:-
tdp-kernel
tdp-analytics
tdp-diagnostics
tdp-adservice
tdp-trackingView attachment 5897481
Click to expand...
Click to collapse
read the OP
I have installed this on my rooted Pixel 6 pro and so far going great. Phone feels faster and more responsive. So thanks a lot for this, great work
Just one question, is there any way of seeing if the services are disabled on the phone?

Categories

Resources