Redmi 6 spontaneously changes battery optimisation - Xiaomi Redmi 6 Questions & Answers

Some crucial apps getting it's optimisation changed from [not optimised] to [optimised] -- other way too, as it is remembering some settings from past.
Alarm Clock [3rd party]
Syncthing [3rd party]
etc
Some 3rd party apps stay in [not optimised] mode, some change at some point and I do not know when exactly it happens. Most likely on reboot.
Pain in the ass to manage important apps that suppose to run.
Is that know problem?
Can I disable it completely?
Phone rooted with Magisk and TWRP - no custom ROM
Debloated
Model M1804C3DG
MIUI ver 10.3.6.0 [OCGMIXM]
Kernel 4.9.77+
I do not update to 11 as I can't afford problems with phone.

Related

S8+ Intense Lag/Glitches after May Update (last update)

Hi there,
The S8+ (Exynos) was the smoothest phone I've ever had. It ran perfectly, with no lag/stutter whatsoever, it was butter smooth. That until the last update...(The May update with Bluetooth and SD card stability ; Android May security patch).
Now, the phone lags/stutters/drops frames in everything - it affects the UI animations, the scrolling in almost every app (even in settings), any game (even the least demanding game), browsing, the phone also has keyboard input lag. It also scores very low scores in benchmark apps (about half of what it should score). The phone also heats up for no reason, especially during charging (it was never heating up before the update).
What I've tried (with no effect):
- Disabling all features from Settings, down to the smallest details. Disabling all bloatware apps from settings (Samsung apps, Word, etc.).
- Cleaning Cache/RAM/Junk files with Device Maintenance, Clean Master and SD Maid (and uninstalling those apps afterwards)
- Manually cleaning cache from all apps (all 300+ of them, including system apps)
- Manually force stopping all apps (all 300+ of them)
- Uninstalling all User-installed apps
- Wipe Cache from Recovery Mode
- Manually stopping all running Services from Developer options
- Setting no backround services option in Developer options
- Disabling all safe-to-disable apps (including system ones) using BK disabler
- Several Restarts
- Complete factory reset (from Recovery Mode) and instaliing all apps from scratch. Then, doing all the things above.
----
PS: Animations are not only lagging/stuttering, but they are also glitching in some way (hard to describe, but little artifacts appear when minimizing/maximizing apps).
The screen also developed slight burn in (visible on gray image) in the notification and navigation bar area, although I use it with less than 50% brightness and with AOD disabled
Nothing worked. The phone has very brief moments when the animation lag dissapears, but then it starts back. The phone is now working worse than it did with the Battery Saving Option activated before the update.
I am aware that probably most of you don't have this issue. If you know anything that could help, please tell me.
-Should I take it to warranty ? ( I'm afraid that they will open it up and it will loose its water resistance)
- Any way of rolling back the update?
Thanks.
DO you have root? Custom rom?
No, I don't have ROOT or Custom ROM. Just Stock.
Do you have any accessibility service enabled?
No, everything is disabled.
M. Tomescu said:
No, everything is disabled.
Click to expand...
Click to collapse
There are certain ways to check your dropped frames. A quick Google gave me this: http://www.phonearena.com/news/How-...evice-has-dropped-frame-issues-or-not_id70744
Go to www.sammobile.com or www.updato.com and download previous software and flash back to that. You can downgrade as long as the bootloader number is the same which it is. BL number is always 5th from the last number, its currently 1.
Quickvic30 said:
Go to www.sammobile.com or www.updato.com and download previous software and flash back to that. You can downgrade as long as the bootloader number is the same which it is. BL number is always 5th from the last number, its currently 1.
Click to expand...
Click to collapse
or try reinstalling the latest from here once again! May have been a dodgy installation process.
9
Will this void warranty or affect flash counter?
M. Tomescu said:
Hi there,
The S8+ (Exynos) was the smoothest phone I've ever had. It ran perfectly, with no lag/stutter whatsoever, it was butter smooth. That until the last update...(The May update with Bluetooth and SD card stability ; Android May security patch).
Now, the phone lags/stutters/drops frames in everything - it affects the UI animations, the scrolling in almost every app (even in settings), any game (even the least demanding game), browsing, the phone also has keyboard input lag. It also scores very low scores in benchmark apps (about half of what it should score). The phone also heats up for no reason, especially during charging (it was never heating up before the update).
What I've tried (with no effect):
- Disabling all features from Settings, down to the smallest details. Disabling all bloatware apps from settings (Samsung apps, Word, etc.).
- Cleaning Cache/RAM/Junk files with Device Maintenance, Clean Master and SD Maid (and uninstalling those apps afterwards)
- Manually cleaning cache from all apps (all 300+ of them, including system apps)
- Manually force stopping all apps (all 300+ of them)
- Uninstalling all User-installed apps
- Wipe Cache from Recovery Mode
- Manually stopping all running Services from Developer options
- Setting no backround services option in Developer options
- Disabling all safe-to-disable apps (including system ones) using BK disabler
- Several Restarts
- Complete factory reset (from Recovery Mode) and instaliing all apps from scratch. Then, doing all the things above.
----
PS: Animations are not only lagging/stuttering, but they are also glitching in some way (hard to describe, but little artifacts appear when minimizing/maximizing apps).
The screen also developed slight burn in (visible on gray image) in the notification and navigation bar area, although I use it with less than 50% brightness and with AOD disabled
Nothing worked. The phone has very brief moments when the animation lag dissapears, but then it starts back. The phone is now working worse than it did with the Battery Saving Option activated before the update.
I am aware that probably most of you don't have this issue. If you know anything that could help, please tell me.
-Should I take it to warranty ? ( I'm afraid that they will open it up and it will loose its water resistance)
- Any way of rolling back the update?
Thanks.
Click to expand...
Click to collapse
Seems like you need a factory reset.
--
Update: After a second factory reset, I have disabled all the apps in the ,,Bloatware" Section of BK Disabler (50+ non-user-installed apps) and the animation glitches/artifacts + overheating dissapeared. The scroll lag also seems mostly gone. Basically the problems dissapeared completely (so happy).
I'm currently waiting to see if the situation remains the same. I believe that the problems were caused by some sort of interaction between one of the apps and the new security patch.
Advice: DON'T disable any System apps (from BK Disabler). I've noticed that even by disabling one(any) of them, the phone overheats and a lot of errors occur in the background (checked the system recovery logs), because a lot of apps rely on each other.
Good to know... keep us posted.
Lol samcex...you are a great reader )...he already tried this)) Anyway I can't confirm this(my animation are disabled from dev option), but.... a small feeling that the phone is a more laggy is on my mind too...Something has changed.
M. Tomescu said:
Update: After a second factory reset, I have disabled all the apps in the ,,Bloatware" Section of BK Disabler (50+ non-user-installed apps) and the animation glitches/artifacts + overheating dissapeared. The scroll lag also seems mostly gone. Basically the problems dissapeared completely (so happy).
I'm currently waiting to see if the situation remains the same. I believe that the problems were caused by some sort of interaction between one of the apps and the new security patch.
Advice: DON'T disable any System apps (from BK Disabler). I've noticed that even by disabling one(any) of them, the phone overheats and a lot of errors occur in the background (checked the system recovery logs), because a lot of apps rely on each other.
Click to expand...
Click to collapse
Hey friend , do u have a list of apps that u disabled ? Im having this problem too its crazy i love this phone but lags when i press home buttoj from facebook to go to home page ? Have to wait 1.5 secs to go to settings , which in that case it should just go immediately in my opinion , i press the power button to wake up the screen and a big lag while the screen is oppening , idk i tried reset and everything nothing helps..maybe u can give me a list of apps i should disable please
pemell said:
Do you have any accessibility service enabled?
Click to expand...
Click to collapse
Does enabling apps accessibility service slow the phone down?
so does anyone else experience this "press power button to unlock phone but only red light comes on for the iris scanner and screen remains black"? even after a few clicks until eventually screen goes on?(fingerprint doesn't even bring screen on)
magicoolje said:
Lol samcex...you are a great reader )...he already tried this)) Anyway I can't confirm this(my animation are disabled from dev option), but.... a small feeling that the phone is a more laggy is on my mind too...Something has changed.
Click to expand...
Click to collapse
Haha it was a long post .
True
https://www.xda-developers.com/the-...r-community-radically-improved-my-experience/

Wiko Lenny 3 + Marshmallow + Root + Xposed + Autostart bug

This is not meant to be a detailed tutorial, but rather an overview of the struggle I had to root and modify a Wiko Lenny 3 (with links for convenience), so others can benefit.
About a week ago I purchased a Wiko Lenny 3, a device with minimal RAM specs (1GB) for Marshmallow. This creates problems with app-notifications due to the Phone Assist (/system/vendor/operator/app/ApePhoneAssist) and Protected Apps (/system/app/CustomWhitelist) software that is pre-installed by Wiko to compensate for the low RAM.
First, I freshstarted the phone and put in the basic configuration. I immediately updated the system to OTA version V54.
Then I flashed TWRP 3.0.3-0 with SPFlashtool from this site:
http://www.needrom.com/download/recovery-twrp-wiko-lenny-3/ .
There is also TWRP 3.0.2 available but that DID NOT WORK on my phone:
http://drive.google.com/file/d/0B6isv8b6duCrbjdJbDVlRFpONlk/view
After that I rooted the thing via TWRP with SuperSU.zip, and installed Xposed via TWRP. I debloated the phone by removing most Google trash.
I use Syncthing to sync the contents of my external SD card to other devices. But Syncthing needs write permission on the SD card and Marshmallow mounts the SD card read only, and can only give write permission to the ./Android folder on the SD card. I fixed this with XInternalSD. The other option, Marshmallow SD Fix 2.0, DID NOT WORK.
http://forum.xda-developers.com/xposed/modules/xposed-disablesignaturecheck-t2789267
http://forum.xda-developers.com/xposed/modules/xposed-marshmallow-sd-fix-write-t3403263
So far, so good. However, after a while I noticed that FaceSlim (lightweight FB client) did not send push notifications. FaceSlim works perfectly on my old KitKat phone and also on a Lollipop tablet. So I checked running processes with OSMonitor and it turned out that FaceSlim was not being autostarted at boot. Some other services were not autostarted at boot as well:
AFWall+
Applock
DataStats
EZ Wifi Notification
FDroid
MaterialFBook
WiFi Automatic
Xprivacy
I have K-9 Mail installed as well but that app actually DID send notifications, for a while at least, later on it would not work anymore.
DataStats would not stay on screen if I forced closed it after starting it manually.
AFWall+ would only start if I added the widget on the home screen.
I tried every recommendation, like disabling doze mode for all apps and whitelisting the apps in Wiko's "Phone Assist" app, an overly aggressive resource manager that is shipped on Wiko phones, probably to make up for the low RAM. Nothing would autostart the apps.
So, I decided to flash the phone to its original state, using the official vanilla ROM from Wiko (V54), just to see if rooting screwed up the phone:
http://nl.wikomobile.com/maj.php?telephone=1246
After flashing the phone, I tried to get notifications from FaceSlim, but that still wouldn't work, so i guess the problem was not in my rooting the phone.
I also tried to flash TWRP again but this DID NOT WORK WITH THE DOWNLOADED ROM FROM WIKO (as opposed to the OTA update). TWRP got installed, but the phone would hang at startup at the Lenny logo, not booting to the UI.
Fortunately I had a TWRP backup of the old system and I flashed it, I could again boot into the UI now.
I found that other users experienced similar behaviour:
http://www.android-hilfe.de/thema/a...enachrichtigungen-funktionieren-nicht.781196/ (German)
http://android.stackexchange.com/qu...ground-sync-processes-wiko-lenny-3-what-to-do
As said earlier the Wiko has two pre-installed apps that manage autostart behaviour and power management.
1 - The "Phone Assist" software has a "Boot Optimize" screen. This feature does work for some apps, but not at boot level. When I deny autostart for AFwall+, it comes up after a reboot and is killed shortly thereafter. If I disable everything in Boot Optimize, the switch for Applock and Wetteronline returns to enabled after a reboot. Moreover, it cannot prevent Instagram from starting, one power hungry app.
2 - Phone Assist also has a "Power Management > Power saving" mode presumably to restrict network acces for apps in screen-off mode. This could be the same as the 3rd party Doze apps on Google Play that use a local VPN to restrict per-app network acces in standby mode. It is debatable if this saves much power, and there could be a security risk.
3 - Phone Assist also has in "Power Management > Advanced > Gear icon > Whitelist" (free translation, my language is Dutch) a screen to "whitelist background apps". If you whitelist an app here, it is simultaneously enabled in the previous menu ("Power Management > Power saving"), so I suspect this menu is redundant.
After playing around with the various settings in "Phone Assist", NOT A SINGLE APP WOULD START AT BOOT ANYMORE, even if I whitelisted all.
4 - The "Protected Apps" feature, found in the Android Settings, will allow you to whitelist apps for autostart. If you put this app in default mode, it will select some apps to start at boot by itself. If you whitelist apps, they indeed do start at boot. But "Protected Apps" has a limit of four apps that are allowed to autostart. This makes use of the phone for social networking/email very limited. Some Huawei phones have this feature too, and also with a limit of four apps. This is clearly an attempt to make up for the low RAM in this device, preventing users from running too many background apps. "Protected Apps" overrides all "Phone Assist > Boot Optimize" settings, making the latter effectively useless.
5 - On top of that there is the native Marshmallow Doze mode, which requires that you whitelist apps from Doze power management.
As you can see this is a complete mess. To enable/disable an app from autostart or power saving modes you have to visit two to five configuration screens. Tinno is the company that programmed this disaster (http://tinno.com/homepage?lang=en). Actually Wiko phones seem to be rebranded Tinno phones.
"Phone Assist" also has a junk cleaner (powered by Purify) that notified me once in a while asking me to delete SEVERAL GIGABYTES of junk. I had absolutely no desire to try that one ...
You can find so-called fixes on youtube for background apps that don't start, which involves installing QuickShortcutMaker, and enabling Low RAM via One Clean. That does not work on this phone.
There is a way to circumvent these autostart/powersave restrictions without removing the Wiko apps. With Link2SD or LuckyPatcher you can convert a user app to a system app. That way the app will start at boot and will send you notifications as well.
However, I wanted to get rid of this badly programmed mess altogether, and keep my apps running as user apps, so I have removed Phone Assist, its separate uninstaller, One Clean, and Protected Apps.
After deinstalling Phone Assist with SDmaid I manually removed "/system/vendor/operator/app/ApePhoneAssist" and "/data/dalvik-cache/arm/[email protected]@[email protected]@@[email protected]@classes.dex"
In /system/build.prop I edited the line "ro.tinno.whitelist.set=true" to "ro.tinno.whitelist.set=false". I don't know what that line does exactly, but it's just to be on the safe side. I think this setting is overwritten if you reinstall Phone Assist or Protected Apps.
I whitelisted some Social Media and Mail apps in Marshmallow native Doze mode.
After a few reboots some of my autostart apps started to reappear at boot, but not all. Only after I started the missing apps manually from the launcher they would appear after a reboot, and persist.
Later, I made a TWRP backup, and after that I wiped the cache and dalvik/art-cache with TWRP. Evertyhing went well.
Wiping the dalvik-cache can be a risky thing, it once left me with Android trying to optimize nine apps at every boot. I turned out that those were apps that I converted from user app to system app, and back. I removed those apps and reinstalled them and the optimization at boot went away.
So now every app starts at boot as it should, but it would be nice if this "Protected Apps" feature would not have a limit of four apps to boot, because then we would have a nice integrated boot manager. If anyone can find out if it is possible to modify this limit I would be much obliged
EDIT: So, three years later and I still have this phone. I have recently installed update v59 and encountered the same problems. After deleting PhoneAssist and ProtectedApps only a few of my apps worked right, and that was only after multiple reboots. Other apps would still not show notifications. However after I edited /system/build.prop and changed this line to "ro.tinno.low_memory=false" all apps suddenly worked correctly. Maybe this would even work with PhoneAssist and ProtectedApps still installed, but I don't care to find out at this point.
Didn't work for me, but...
Hi,
If someone has the same problem and stumbles on this post...
Setting ro.tinno.whitelist.set=false didn't work for me, probably because I aggressively modified the stock ROM to remove most of the vendor apps (including this PhoneAssist and Bootclean crap).
What actually worked for me was to set ro.tinno.low_memory=false. After that, all apps supposed to start at boot, actually did.
Once I'll finish my tests and use the phone for a couple of weeks, I intend to post a complete guide explaining how to uncrappify this phone (it's wonderful what you can do once you manage to successfully flash TWRP).
Wiko Lenny 3 2 gb RAM and 16 gb ROM
Hi guys, I have a clone of Wiko Lenny 3 commercialized in Tunisia under the name of EVERTEK EVERSTAR PRO 2. The device that I now has 2gb Ram and 16 gb of Internal storage, but the original version of the Wiko Lenny 3 has only 1 gb Ram. I confirm that is exactly the same device same processor same camera and screen. So I was wondering if I can flash my phone with the official Wiko Rom ? Does android indentifie Ram and Internal storage from the Phone ? Pleaaase Help me .. and sorry for my English
MoonSweep78 said:
Hi,
If someone has the same problem and stumbles on this post...
Setting ro.tinno.whitelist.set=false didn't work for me, probably because I aggressively modified the stock ROM to remove most of the vendor apps (including this PhoneAssist and Bootclean crap).
What actually worked for me was to set ro.tinno.low_memory=false. After that, all apps supposed to start at boot, actually did.
Once I'll finish my tests and use the phone for a couple of weeks, I intend to post a complete guide explaining how to uncrappify this phone (it's wonderful what you can do once you manage to successfully flash TWRP).
Click to expand...
Click to collapse
Yes, I installed update v59 and "ro.tinno.low_memory=false" works for me too, thanks!

Is there a way to get MIUI without the notification/battery tweaks?

For the most part, I like MIUI; it's got some nice features and it seemed more stable than most custom ROMs available. But I can't stand it for one reason: the way it keeps suppressing notifications unless I go in and explicitly enable them for each and every last app I install. Does anyone know of any sort of mod or method to do away with that, so I can just install an app and have it work without jumping through hoops?
In the developer settings at the bottom in MIUI disable the MIUI Optimizations to restore standard android notifications. Battery stuff is probably not going to be changed.

A11 notification settings reset?

So I'm on stock OnePlus 8T tmo OxygenOS rooted and occasionally notification settings reset. Like setting certain apps to turn off notifications or set certain parts to off reset after a while. It's not connected with any specific app, it seems to be random. In my time of installing things and whatnot on magisk I have used msm tool to revert everything to stock multiple times and it still does this. So it's nothing I've done (I think). But some apps have a service notification, or like tasker you can hide the profile notification,etc. But occasionally (a couple times per day) random apps will have their notification settings reset to all on. Any ideas why or what's doing it? I think it's something on android system doing it but I have no idea what or how to fix it

Magisk+LSposed+Greenify = A bootloop!! ofc...

I'm rooted with the latest Magisk w/ LSposed (Zygisk) running stock A12 w/BlueSpark kernel on my Pixel 4a. When I add the 'greenify4magisk' module and tick the exposed option in greenify all seems well until I reboot. About 7-8 sec. in (prolly when it loading greenify) the screen freezes up for like 60 sec. (it times-out maybe) then reboots into a dreaded bootloop. It's easy to fix cuz I can uninstall things b4 it freezes then next boot all is good. Is there maybe a certain order of installation maybe? I dunno...has anyone else tried greenify with A11/12 maybe? I know there are other apps for hibernation and aggressive doze but I got the paid ver. back in A9 (2 phones ago...lol) and it has a few extras I like. Tia...
This is a copy/paste of my post on Github...
Any help is appreciated...I'm like a pitbull re: my paid appz...don't, won't jet go, damn it! smh
Just tried again thinking...if I don't turn the module on and do not select any of the exposed features that it'd be fine. But after I installed it and rebooted, same thing happened without the mod even installed! So I guess this is goodbye...it had grown pretty redundant beginning with A9 and got more with every release. Aggressive doze and tweaks are easy to find and android does it's own policing of background apps.Btw, imo Naptime and Battery Guru are the best 'doze' apps...js

Categories

Resources