Youtube Vanced background playback stops after 30sec in EMUI 10 - Huawei Mate 10 Questions & Answers

Hi,
I've been using Youtube Vanced for some time now and especially enjoyed the background playback (with screen off). Since the update to EMUI 10 the playback stops after exactly 30sec. The app seems to be crashed or cleared out of memory otherwise.
I checked the powersaving settings (wording might be a bit different, I translate it from German):
1. Apps -> App start -> Set youtube vanced to manage manually and allow all 3 options. Unfortunately I cannot see MicroG in this list.
2. Apps -> Apps -> 3 dots -> Special access -> battery optimization -> Do not Allow for YT Vanced and MicroG
Might the reason be that MicroG gets stopped and therefore YT vanced crashes?
I'm on the latest versions of vanced (15.05.54) and microg (0.2.6.17455-dirty) according to vanced manager.
The behavior was happening on an earlier version of vanced as well, I updated trying to fix it.
Help is appreciated.

Update
Apparently reinstalling MicroG (same version) did the trick. I still dont know what the problem was but its fixed.

arsenie_boca said:
Hi,
I've been using Youtube Vanced for some time now and especially enjoyed the background playback (with screen off). Since the update to EMUI 10 the playback stops after exactly 30sec. The app seems to be crashed or cleared out of memory otherwise.
I checked the powersaving settings (wording might be a bit different, I translate it from German):
1. Apps -> App start -> Set youtube vanced to manage manually and allow all 3 options. Unfortunately I cannot see MicroG in this list.
2. Apps -> Apps -> 3 dots -> Special access -> battery optimization -> Do not Allow for YT Vanced and MicroG
Might the reason be that MicroG gets stopped and therefore YT vanced crashes?
I'm on the latest versions of vanced (15.05.54) and microg (0.2.6.17455-dirty) according to vanced manager.
The behavior was happening on an earlier version of vanced as well, I updated trying to fix it.
Help is appreciated.
Click to expand...
Click to collapse
I have mate 10 and vanced working without any problem,, try uninstall vanced and microG, and install them again, and it's better to downloading them from vanced.app then download vanced manager.apk.
https://vanced.app/

Related

Greenify Google Play Services

Hi,
I am using the latest Greenify version (donation package) v2.6.2 in order to hybernate some apps causing wakelocks when my phone is in stand-by mode. I was also trying to hybernate all the google apps, such as google play store or google play services, which worked out perfectly by cutting off some reactivation paths.
In order to update my apps weekly or monthly I wanted to take these apps from the greenify list, which was successful at first glance. However, I am now facing problems in regreenifying them, especially when it comes to the google play services. I have no idea why, but this times greenify always tells me that it fails to hybernate google play services for no apparent reason. Also it does not show me the scissors tool to cut off the wakelock paths.
Has anybody of you experienced the same problems? Is there any solution for my problem? Thank you for your help!
If you use beta 5, that's why:
Beta 5
Foreground app no longer hibernates even if "state always ignored" is checked.
Reduced the impacts of wake-up cut-off.
FIX: Native processes cleaning.
FIX: Wake-up action in Tasker plug-in on Android 5.x.
FIX: No longer list disabled apps.
Click to expand...
Click to collapse
MihaiSG said:
If you use beta 5, that's why:
Click to expand...
Click to collapse
Actually not, I am using version 2.6.2 according to the application.
I have seen problems after I hibernate an app called " Google App" similar issues
Still the same problem. Reinstallation of greenify and Xposed didn't work out, unfortunately. Did they change something inside of greenify without a new version?

Greenify hibernates ALL apps

Hi!
Greenify hibernates all apps, even the ones that are active (in my case runtastic and music player)
Before this bug: runtastic and music player active while jogging -> screen off -> all apps beside those too get hibernated
Now: runtastic and music player active -> screen off -> ALL apps get hibernated
Please fix it.
I think it's cm12.1 related.
Tried with Greenify 2.6.2 and 2.7.x all betas.
Still the same.
Edit: could this be the cause?
http://review.cyanogenmod.org/#/c/105617/
Same problem here.
Running CM 12.1 August 16 nightly and getting Spotify hibernated while playing.
I believe there should be another commit in CM which breaks Greenify's ability to detect running apps.
Probably we should continue discussion in this thread.
The issue has been fixed in version 2.7 beta 8.
Many thanks to @oasisfeng for quick solution!
DavisNT said:
The issue has been fixed in version 2.7 beta 8.
Many thanks to @oasisfeng for quick solution!
Click to expand...
Click to collapse
I have beta 8 right now and it works for Google music.
Sent from my LG-D851 using Tapatalk
I just did a 5 mile run and it shows as 1.8 miles. Every time I use Greenify my runs are jacked up
I had the issue, that Greenify 2.9beta3 killed my TTS (Text-To-Speech), TTS fell back to Pico (Samsung, not very good) then.
So I uninstalled the Beta (left the beta program) and installed 2.8.1 (not-beta).
Now it works again.
Anyway with the 2.9b3 there was some notification terror, which wasnt possible to disable constantly in the settings. I had to disable all notification of Greenify app in the system settings to get rid of this annoying stuff. Just Beta it is.
Samsung Galaxy S4 with CM12.1
EDIT: I uninstalled Greenify completely, when I noticed that it uses about 100 MB RAM itself.
I use nite the small Xposed module "prevent running". Much easier and smaller and does the same.

Greenify and Google play services keep awake

Team - I am running the latest version of greenify posted on the playstore. I've followed guides for enabling agressive doze on android 6.0 on my moto x pure (non root) -- including adbing to the device to grant permissions on the app. It seems to be working most of the time. The device seems to go to sleep and i've seen a great increase in battery. However, seemingly randomly i'll notice battery draining fast. When i look at my usage its google play services keeping the device awake 100% of the time. If i reboot the phone, google play services stops doing that and all is well for awhile, till it repeats. I've been unable to find the cause of this. I imagine i'm missing some information that we might need to track this down. thanks in advance!
tange1 said:
Team - I am running the latest version of greenify posted on the playstore. I've followed guides for enabling agressive doze on android 6.0 on my moto x pure (non root) -- including adbing to the device to grant permissions on the app. It seems to be working most of the time. The device seems to go to sleep and i've seen a great increase in battery. However, seemingly randomly i'll notice battery draining fast. When i look at my usage its google play services keeping the device awake 100% of the time. If i reboot the phone, google play services stops doing that and all is well for awhile, till it repeats. I've been unable to find the cause of this. I imagine i'm missing some information that we might need to track this down. thanks in advance!
Click to expand...
Click to collapse
That may not have anything to do with Greenify unless you have greenified Play Services. If you have, remove it from hibernation.
Usually Play Services will go berserk upon updating itself in the background. What you can try is clear it's data and cache and reboot. If you have TWRP, do it in recovery. If not, do it in Settings>Apps.
tnsmani said:
That may not have anything to do with Greenify unless you have greenified Play Services. If you have, remove it from hibernation.
Usually Play Services will go berserk upon updating itself in the background. What you can try is clear it's data and cache and reboot. If you have TWRP, do it in recovery. If not, do it in Settings>Apps.
Click to expand...
Click to collapse
Thanks for the info. Here's what i've done:
I removed greenify, performed the actions you suggested and left greenify off for about 12 hours. No issues with google play services and keep awake. I reinstalled greenify and everything was good for a number of hours. Unfortunately the play services keep awake started again about 3.5 hours ago. The phone has a solid 'awake' bar in battery settings and play services is the culprit with 3.5 hours awake. While i dont blame greenify, there's some sort of correlation of events here that I can't explain.
tange1 said:
Thanks for the info. Here's what i've done:
I removed greenify, performed the actions you suggested and left greenify off for about 12 hours. No issues with google play services and keep awake. I reinstalled greenify and everything was good for a number of hours. Unfortunately the play services keep awake started again about 3.5 hours ago. The phone has a solid 'awake' bar in battery settings and play services is the culprit with 3.5 hours awake. While i dont blame greenify, there's some sort of correlation of events here that I can't explain.
Click to expand...
Click to collapse
Do you have Xposed? If so, install AppOpsXposed and untick the "Keep Awake" function of Play Services. Another thing you can try is uninstalling the update to the Play Services, reboot and then manually update it and again reboot.
If it is still not arrested, Google is your friend.
Unfortunately I've the same problem on my OnePlus 2 with stock ROM. I've installed Greenify two days ago, and enabled aggressive doze with amazing results! Last night I enabled Doze on the Go (using ADB) and since unplugging my phone this morning there is this constant wakelock of Google Play Services. Disabling Doze on the Go as well as reinstalling Greenify didn't help. Looking forward to a solution!
This is a known problem. Sometimes it's worse and sometimes less, but Google Play Services is a known offender in this manner. And Google processes in general. Part of the reason for this is that Google often wakes up your device, periodically, to track your location (horrible, yes, and it continued to happen for me even when all Google location options I could find, as well as GPS, were turned off).
Solutions that have reportedly worked for some people in the past (try one at a time or all of them) - they don't require root:
-Make sure you do not Greenify/freeze/hibernate Google Play Services, or similar processes, as this may make the issue worse.
-Clear cache and data of Google Play Services.
-Manually update Google Play Services to latest APK version available from your device, downloaded from the web. Make sure you select the right version for you. http://www.apkmirror.com/apk/google-inc/google-play-services
-Try turning off as many Google background features as you can, such as location tracking/history, etc.
I guess some of these steps may only work after the next reboot, so reboot the device when you're done.
But as I said, this process is a known big offender. The above may not work, or may work temporarily. The stronger and more permanent solutions require root (you don't really need to try the above options if you do these). The more of them you do, the less 'keep awake' you should experience:
-Install Xposed Installer app and install Xposed Framework, so you can use the modules mentioned below...
-Use AppOpsXposed module (or CM Privacy Guard if you have it) to deny keep awake permission to Google Play Services, and other Google background apps.
-This is a big one: Install Amplify (Xposed module) from the Play Store, and it will automatically take care of limiting Google wakelocks. That's it. If you pay for the pro version, then you can additionally tweak and limit all wakelocks, alarms and services on your device (pretty cool and useful, but more involved, so for advanced users).
Cultar said:
..............
-This is a big one: Install Amplify (Xposed module) from the Play Store, and it will automatically take care of limiting Google wakelocks. That's it. If you pay for the pro version, then you can additionally tweak and limit all wakelocks, alarms and services on your device (pretty cool and useful, but more involved, so for advanced users).
Click to expand...
Click to collapse
The unpaid version of Amplify will block a maximum of a couple of wakelocks related to location. Only the pro version is capable of blocking other wakelocks and alarms including those of Play Services. But as you said, it is not automatic and you will have to set it up.
Any updates on this?
Google play services is awful
MSK1 said:
Any updates on this?
Google play services is awful
Click to expand...
Click to collapse
Not a Greenify issue. Some devices/ROMs/configs seem more susceptible to GPS runaway. Clearing GPS cache+data on occasion followed by an immediate reboot has proven helpful for some. Good luck.

[Help] Whatsapp videopreview black screen with audio

Hello everyone,
I have a Galaxy S7 (SM-G930F) with Kernel 3.18.91. and Android 8.0. The phone was rooted just recently with the latest version of magisk.
I am not quite the expert, but I will try my best to describe the issue.
Basically after I rooted this phone, I started noticing that I could no longer play back videos in Whatsapp before I send them (the preview window where you can edit it before sending it).
All it does now is play back the audio and show a black screen. It doesn't crash or anything, the content of the video is just not being played except the audio.
Video playback is completely fine in the stock gallery app and everywhere else.
I already reinstalled Whatsapp and restarted my Phone
I have the following modules for magisk installed:
Busybox 1.31.1
debloater 17.3.3
Viper4Android FX 2.7.1
Samsung 4K60 Camera Mod 7.6.86
I also removed some of the bloating software with the terminal, but upon noticing this issue I decided to revert some of the changes. I do not know if this issue persisted beforehand. I was thinking that I might have deleted something here that was important for its functionality, but then the stock player wouldnt work either right?
I would rather not do a factory reset to fix this, if possible. However, if there is no other possibilty is there a way to backup all my modules and settings?
Here is what I tried:
reinstall Whatsapp multiple times
restart the phone
revert some of the changes in the debloater terminal
deactivate HW overlay
My guess is that I deleted something in the terminal that was important, is there a way to know for sure?
I hope someone can give me some hints as to what this problem is about. I will make sure to add screenshots of the list EDIT: need 10 posts to send links so I will just do it manually.
list of removed apps:
Basic Daydreams
Skype
tuiService
VoiceAssistant
upsmtheme
gearmanagerstub
samsung galaxy friends
language packs
galaxy essential widgets
Gear VR Service
S voice
Samsung gear, account, billing, cloud
EDIT 2: I found a temporary fix by enabling force GPU rendering in the system settings, I double checked by enabling the refresh indicator and previewing a video. Once I disable this option, video preview no longer works again. Question now is, if there is a way for me to exclusively enable this for whatsapp to save battery life
Just switch rendering by gpu in develop opp
Manny thanks buddy its works
Tomas
How to Enable Force GPU Rendering:
First of all "THANKYOU" for the solution of error. May GOD Bless You :angel:
1. Go to Settings and scroll all the way down to the bottom.
2. If you don't see the option, tap on About phone (About device) and look for an entry called Build Number.
3. Tap on Build number 7 times until you get a message saying “You are now a developer“.
4. Find Force GPU Rendering option and enable it.
Request for prayers.
:angel::angel::angel:
Galaxy S7 EDGE in whatsapp
Tzuuit said:
Hello everyone,
I have a Galaxy S7 (SM-G930F) with Kernel 3.18.91. and Android 8.0. The phone was rooted just recently with the latest version of magisk.
I am not quite the expert, but I will try my best to describe the issue.
Basically after I rooted this phone, I started noticing that I could no longer play back videos in Whatsapp before I send them (the preview window where you can edit it before sending it).
All it does now is play back the audio and show a black screen. It doesn't crash or anything, the content of the video is just not being played except the audio.
Video playback is completely fine in the stock gallery app and everywhere else.
I already reinstalled Whatsapp and restarted my Phone
I have the following modules for magisk installed:
Busybox 1.31.1
debloater 17.3.3
Viper4Android FX 2.7.1
Samsung 4K60 Camera Mod 7.6.86
I also removed some of the bloating software with the terminal, but upon noticing this issue I decided to revert some of the changes. I do not know if this issue persisted beforehand. I was thinking that I might have deleted something here that was important for its functionality, but then the stock player wouldnt work either right?
I would rather not do a factory reset to fix this, if possible. However, if there is no other possibilty is there a way to backup all my modules and settings?
Here is what I tried:
reinstall Whatsapp multiple times
restart the phone
revert some of the changes in the debloater terminal
deactivate HW overlay
My guess is that I deleted something in the terminal that was important, is there a way to know for sure?
I hope someone can give me some hints as to what this problem is about. I will make sure to add screenshots of the list EDIT: need 10 posts to send links so I will just do it manually.
list of removed apps:
Basic Daydreams
Skype
tuiService
VoiceAssistant
upsmtheme
gearmanagerstub
samsung galaxy friends
language packs
galaxy essential widgets
Gear VR Service
S voice
Samsung gear, account, billing, cloud
EDIT 2: I found a temporary fix by enabling force GPU rendering in the system settings, I double checked by enabling the refresh indicator and previewing a video. Once I disable this option, video preview no longer works again. Question now is, if there is a way for me to exclusively enable this for whatsapp to save battery life
Click to expand...
Click to collapse
same issue here with my Galaxy S7 EDGE in whatsapp i factory reseted reinstalled whatsapp but still same issue any help?
Having the same issue here with my s7 edge too i haven't rooted or done anything to it. Its a tmobile version.. Before it was blank screen with sound.. Noe there is no sound at all.. Any solution please
Seems to be a general bug for some devices...
Force GPU rendering and clearing my cache didn't fix it for me, however, I was able to get around the black screen by hitting the "Add files" icon, and immediately hitting "OK" without adding any additional files. Video preview renders fine after doing this each and every time. It's a hassle but it works for me. Hope this helps someone.
In case this is an entirely different bug, the file's audio still plays for me when I tap the black screen on my Google Pixel 3.
Thank you so much i have been dealing with this in my samsung s7 too for a long time and i fixed it with an old version of whatsapp, until today that i couldn´t use it anymore because it was too old. This is the first site that i have seen a real solution to this problem. Thanks againn!!
It worked
I enable developer and force gpu rendering and I can now preview videos before uploading on whatsapp. I've been having this issue from the time I got my phone and now it works fine thanks guys

Google services updates despite disabling auto update. Is there an adb method to turn off auto updates for good?

The "newer" version of the Google app (this update came out well over a year ago) has a definitively degraded speech recognition engine. I use the voice typing on my pixel very often, especially while driving, and the newer version quite literally makes this feature defunct.
For a very long time, I have only had to uninstall the update when my system updates, but since the most recent one a few days ago, I have uninstalled it probably over 15 times. And each time I do this, it updates on its own at most a few hours later, despite the fact that auto updating is disabled.
It is very annoying, and I want to know if there is a setting I can change within the app or elsewhere using adb.
I would greatly appreciate the help.
Google Services - as mentioned in thread's title - per se doesn't exist: it exist Google Play Service & Google Services Framework what are 2 completely different softwares.
You can force Google Play Service to stop auto-upadating of Google applications like Google App.
To turn updates on or off, follow these steps:
Open Google Play.
Tap the hamburger icon (three horizontal lines) on the top-left.
Tap Settings.
Tap Auto-update apps.
To disable automatic app updates, select Do not auto-update apps.
jwoegerbauer said:
Google Services - as mentioned in thread's title - per se doesn't exist: it exist Google Play Service & Google Services Framework what are 2 completely different softwares.
You can force Google Play Service to stop auto-upadating of Google applications like Google App.
To turn updates on or off, follow these steps:
Open Google Play.
Tap the hamburger icon (three horizontal lines) on the top-left.
Tap Settings.
Tap Auto-update apps.
To disable automatic app updates, select Do not auto-update apps.
Click to expand...
Click to collapse
As I made pretty clear in the original post, I've done this. For the Google app and the play store in general. Come back with something that didn't come from an faq page.
Tauredian said:
As I made pretty clear in the original post, I've done this. For the Google app and the play store in general. Come back with something that didn't come from an faq page.
Click to expand...
Click to collapse
Karma Firewall, just block it.
Or use Package Disabler for non-Samsung devices if you don't have a Samsung.
Home - Package Disabler
The only NON-root solution that let’s you disable any unwanted packages that come pre-installed / installed with your phone / tablet.
www.packagedisabler.com

Categories

Resources