[HELP] Doze mode not working - X Play Q&A, Help & Troubleshooting

Plz help me my doze mode is not working. I have tried doze mode using greenify and enabled debug mode but its not dozing.
Check doze using "check doze" app from XDA and found doze is not working .
Moto x play dual sim
Marshmallow 6.0.1
Not rooted

jerryn70 said:
Plz help me my doze mode is not working. I have tried doze mode using greenify and enabled debug mode but its not dozing.
Check doze using "check doze" app from XDA and found doze is not working .
Click to expand...
Click to collapse
Try script below, "inactive_to" Will enable doze after 10 min (30 min default with mm and nougat), sensors wont prevent doze anymore :
adb shell settings put global device_idle_constants inactive_to=600000,sensing_to=0,locating_to=0,loca tion_accuracy=20.0,motion_inactive_to=0,idle_after _inactive_to=0,idle_pending_to=120000,max_idle_pen ding_to=120000,idle_pending_factor=2.0,idle_to=180 0000,max_idle_to=21600000,idle_factor=2.0,min_time _to_alarm=3600000,max_temp_app_whitelist_duration= 300000,mms_temp_app_whitelist_duration=60000,sms_t emp_app_whitelist_duration=20000
Doze googlePlayServices, by default it can't be dozed :
Go to /system/etc/sysconfig, find the filegoogle.xml and edit it :
<!-- <allow-in-power-save package="com.google.android.gms" /> -->

fablebreton said:
Try script below, "inactive_to" Will enable doze after 10 min (30 min default with mm and nougat), sensors wont prevent doze anymore :
adb shell settings put global device_idle_constants inactive_to=600000,sensing_to=0,locating_to=0,loca tion_accuracy=20.0,motion_inactive_to=0,idle_after _inactive_to=0,idle_pending_to=120000,max_idle_pen ding_to=120000,idle_pending_factor=2.0,idle_to=180 0000,max_idle_to=21600000,idle_factor=2.0,min_time _to_alarm=3600000,max_temp_app_whitelist_duration= 300000,mms_temp_app_whitelist_duration=60000,sms_t emp_app_whitelist_duration=20000
Doze googlePlayServices, by default it can't be dozed :
Go to /system/etc/sysconfig, find the filegoogle.xml and edit it :
<!-- <allow-in-power-save package="com.google.android.gms" /> -->
Click to expand...
Click to collapse
Well dude I'm not rooted and I don't have my lap with me.
Is that sensor issue is normal for moto x play ?

It's normal. Don't worry
Sent from CM14.1 running XT1562

Related

[general][Q&A][Discussions] cyanogenmod 12

Hello folks at xda
i think it's better to ask our questions that are not helping developers to make stable cm12 here,and not post spams on dev thread.
i just want to say : leave developer threads for developers.:good:
ask general questions here.so devs can focus on important things.
Download rom from this mirror link if you can't download it from mega
Also you can try Resurrection remix [Lollipop 5.0.2] [Credit : @Furrydaus]
[*]USB Charging : Ok
[*]USB ADB : Ok
[*]USB MTP : Ok
[*]Video : Ok
[*]Audio : Ok
[*]Sensors : Ok
[*]Screen rotation : Ok
[*]WLAN : Ok
[*]Wifi hotspot : seems to be working ( Fix! [credit : @MrSteve555] )
[*]GPS : Ok
[*]GSM : Ok
[*]GSM Data : (Fix! [credit : @Sylvester lobo] || or this => A comprehensive Mobile Data fix)
[*]GSM Voice : Ok ( Fix! [credit : @MrSteve555] )
[*]GSM SMS : OK
[*]Bluetooth : Ok
[*]NFC : Ok
[*]Camera : Ok
[*]FM Radio : Not work
[*]Keyboard : Ok
[*]MHL : Not tested
[*]OTG : Ok ( this post )
[*]VPN : Doesn't work
[*]...
How to install cm12 (mrsteve) on sp . by @[SIZE="5"]Dammer Martins[/SIZE]
Small tutorial for instalation of the steves build with working camera and wifi:
1-Download the ROM , ramdix fix, stock kernel and root fix
2-Open the ROM zip an push the ramdisk fiz in to system/bin folder
3-Now, put the ROM zip fixed, stock kernel and the root fix in your sdcard
4-Reboot in recovery, wipe data, cache and dalvik cache
5-Install the ROM, the stock kernel and then the root fix
6-Now reboot the system and wait the phone boot up (this take a veeery long time, trust me )
Tips: don't flash the gapps with the ROM instalation and disable the adaptive brightness to make the auto reboots stop.
Click to expand...
Click to collapse
Fix hot reboots by turning off adaptive brightness(settings->display->adaptive brightness)
Fix connectivity problem on CM12.by @noahvt
Hello,
Finally a fix has arrived for android 5.0 which will allow wi-fi data, outgoing calls, ... to work again
Steps:
1: Make sure your device is running android 5.0 by mrsteve555: http://forum.xda-developers.com/xper...8#post56946968
2: root the device by flashing this file: http://download.chainfire.eu/589/Sup...erSU-v2.16.zip
3: Reboot your device and open up terminal emulator
4: type su, press enter and give it root acces
5: type setenforce 0 and press enter
6: WAIT untill the device asks you to enter your sim pin (this means that it worked)
7: turn on wi-fi (it might take a little long to turn on wi-fi though)
8: that's it
9: well not yet there is one step you can do to make it easier to change the selinux state, Download and install this app:https://play.google.com/store/apps/d....selinux&hl=en
10: again make sure your device is rooted
11: open the app and now you can switch between permissive (this mode is the one that fixed the issues) and enforcing (default mode: wi-fi, ... don't work on this mode)
FAQ:
What is not affected (what doesn't work): The camera (can't connect to camera or hot reboot when launching camera app), more?
What is affected (what is fixed): WI-FI, Data (LTE too) Outgoing calls, more?
Do i have to do this everytime i boot my device: Yes for now you do
On what build does it run: mrsteve555's build, there were 2 reports of it not working on bagy's build
Credits:
Mrsteve555 and bagyusz for the amazing rom
Click to expand...
Click to collapse
just update titanium backup to latest version in case of super user access error.like this : can't aquire root provileges....this attemtp was made using the "/system/xbin/su" command.
Fix wifi hotspot => credit : MrSteve555
setup zram in android 5[credit : Mrsteve555]
Code:
#!/system/bin/sh
sleep 30
echo xM > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0
Replace x with your desired value(in MB)
And zram doesn't make phone "much faster", it just allows more multitasking while slowing the phone a bit.
Click to expand...
Click to collapse
fix sdcard mount problem [credit : Mrsteve555]
Code:
su
depmod
rmmod texfat
modprobe exfat_core
modprobe exfat_fs
These commands will try to load different exfat modules, I didn't test it myself, though.
Click to expand...
Click to collapse
Fix for unresponsive touch screen[credit : Mrsteve555]
Code:
#!/system/bin/sh
echo 20 > /sys/devices/i2c-3/3-0024/main_ttsp_core.cyttsp4_i2c_adapter/finger_threshold
chmod 666 /sys/devices/i2c-3/3-0024/main_ttsp_core.cyttsp4_i2c_adapter/signal_disparity
echo 0 > /sys/devices/i2c-3/3-0024/main_ttsp_core.cyttsp4_i2c_adapter/signal_disparity
Fix for music file not playing when you uncheck nuplayer in developer options
The solution to that will be installing viper audio. There is a different version for lollipop. You have to flash 3 zips. They need nuplayer off so you can play music and videos easily with nuplayer off
Click to expand...
Click to collapse
Download from this post [Thanks@pranavthombare]
r 3
and-roid007 said:
Fix hot reboots by turning off adaptive brightness(settings->display->adaptive brightness)
Fix connectivity problem on CM12.by @noahvt
Click to expand...
Click to collapse
Really thks ;D
Youve stated that GSM voice hasnt been tested - This is voice calls. Are they working on MrSteves build with the latest fixes or not as there seems to be mixed reports.
---------- Post added at 02:54 PM ---------- Previous post was at 02:52 PM ----------
Also your link to the https://play.google.com/store/apps/d....selinux&hl=en doesnt work
I assume its this app? https://play.google.com/store/apps/details?id=com.mrbimc.selinux&hl=en_GB
and-roid007 said:
Fix hot reboots by turning off adaptive brightness(settings->display->adaptive brightness)
Fix connectivity problem on CM12.by @noahvt
Click to expand...
Click to collapse
The fix isn't working for me
@Oblox
you are right about both.corrected
Sorry the pin code doesn't apear because i don't have set any pin code ... IM REALLYYYYYYY NOOOOOB! xD
Edit: But i can't send call, i recieve
bobslesbricoleurs said:
Sorry the pin code doesn't apear because i don't have set any pin code ... IM REALLYYYYYYY NOOOOOB! xD
Edit: But i can't send call, i recieve
Click to expand...
Click to collapse
just open terminal : type su-> type setenforce 0,hit enter.if no dialog appears dont worry,it's ok.
go to settings-> about phone-> make sure that SELinux status = premissive.
see the bug list :
GSM Voice : doesn't works (Only can recieve calls)
Click to expand...
Click to collapse
and-roid007 said:
How to install cm12 (mrsteve) on sp . by @Dammer Martins
Click to expand...
Click to collapse
What's the problem if I flash GApps with the ROM?
sohan3421 said:
What's the problem if I flash GApps with the ROM?
Click to expand...
Click to collapse
The problem will occur if you do this on first flash as itll take a lot longer to boot and the auto brightness forced reboot will kick in before it finishes. Once system is in and auto brightness disabled then install gapps.
No new about calls?
Sent from my Xperia SP using XDA Premium 4 mobile app
Navigation bar and Pie controls
I know when I moved from 4.4 to 5.0 most things that I could get from xposed or custom roms were gone such as pie controls. I've been looking around for ages and I've managed to remove navigation bar using build.prop and adding a highly customizable pie controls app. If anyone wants a tutorial made to hide navigation bar and get pie controls just ask and ill do it
Pie
Keep Pie In Memory​
1. Search root explorer in Google play 3rd one down.
2. Open it and press mount R/W ( top of app)
3. Go into root directory and open the folder data.
4. Create new file and name it local.prop
5. Long hold the newly created app and press open in text editor.
6. Add com.android.lmt
This is to prevent android removing the service from memory when it is low.
Remove Navigation Bar​
1. Open build.prop located on /system
2. Add qemu.hw .mainkeys = 1 Remember to add a space between either side of the equals or it won't work
3.Do not reboot until you have downloaded LMT launcher
Add Pie Controls​
LMT Launcher ( PIe Controls (Not an actual launcher like nova or apex its just called that) )
1. Download the latest apk from here http://forum.xda-developers.com/showthread.php?t=1330150
2. Open the app make sure autostart is selected
3. Swipe right until you get to Pie.
4.Use these settings ( navigate to the screenshots) it will get rid of the unneeded two extra slots of pie controls
Finally Reboot
If you have titanium backup convert lmt launcher into a system app to integrate the pie controls more into the system
and-roid007 said:
How to install cm12 (mrsteve) on sp . by @[SIZE="5"]Dammer Martins[/SIZE]
Click to expand...
Click to collapse
Why should I add ramdisk fix?
sohan3421 said:
Why should I add ramdisk fix?
Click to expand...
Click to collapse
Why not?
Because the ramdisk inside the zip is either corrupt or incomplete, resulting in bootloop if flashed.
sohan3421 said:
Why should I add ramdisk fix?
Click to expand...
Click to collapse
Coz it'll go in a bootloop if you don't and then clog this thread too, by begging for a link and a guide which was clearly given and posted by many users.
gapps working fine?
shahrukhqasim said:
gapps working fine?
Click to expand...
Click to collapse
yes.i think

[Guide] Ultimate RAM and Battery management for All Rooted Xperia Devices

HeyZZ!!!
If You have a successfully rooted device., so take its advantages. Start hardcore RAM and Battery management.
Today I am writing a guide for advanced battery and RAM management. If you like it or help you please HIT thanks button, your 1 HIT encourage me to write more.
Writing reasons
There are thousands of battery saver and ram booster apps are available in market but they all just do similar work
- All Battery Savers : Turn off WiFi,BT,Decrease brightness
We all know WiFi,BT ,Brightness consumes power so why use?
- All RAM boosters : Race with running apps/tasks STOP...after 10 sec START again STOP..
Starting Closing consume more resources(CPU+RAM) then running + more battery power so why use ?
In single word they worthless...
Results of this post
I have Xperia T2 Ultra Daul running with Lollipop. Device's both SIMs are always active and installed about 180+ User apps.
- Free RAM in my Device is 510+MB out of 862MB and consumes 1-2% or less then 1% battery in a night.
- Device never legs.
So I decide to tell about it to all Xperia users....
Requirements
Rooted device with full admin rights (r/w).
Complete System Backup for good confidence.
Android version : JB, Kitkat, Lollipop
Dry fruits and a glass of chilled almond shake.
Each step is independent so follow as your desire, but remember group of fingers is Clenched fist. Try to follow all for best result.
Steps :
1.Remove all bloatware and unused systems apps using System App Remover
=> System App Remover => Download
Keep in mind and never keep a single app for future use. I f you need in future you can download that time why keep right now ?
You can remove following apps without any problem (All apps are not compulsory but more number are better.)
Dont worry about any application you can restore any app with System App Remover or most of(95%) are available on Playstore.
=====> Removable App List
Code:
ar-effect.apk
bgdefocus.apk
Books.apk
Books.conf.
ChromeCustomizations.apk
com.android.providers.partnerbookmarks-res.apk
com.msmpl.livsportsphone.apk
com.sonyericsson.xhs.apk
com.sonymobile.xperialounge.services.apk
Drive.apk
EditorsDocs.apk
EnchantedForest.apk
Exchange2.apk
ExternalKeyboardJP.apk
ExternalKeyboardsInternational.apk
FBCalendarSync.apk
filecommander.apk
Gmail2.apk
gmail-reader-service.apk
GoogleLyricsPlugin.apk
Hangouts.apk
helpapp.apk
Initial-boot-setup.apk
jp.naver.line.android.apk
Newsstand.apk
NoiseField.apk
PartnerBookmarksProvider.apk
PlayGames.apk
PlusOne.apk
Protips.apk
RemoteControlService.apk
RemoteFileAccess.apk
SelfPortrait.apk
SemcEmail.apk
SEMCFacebookProxy.apk
SEMCSetupWizard.apk
SocialEngineCore.apk
SocialEngineFacebookPlugin.apk
SocialEngineFacebookShareFrwkPlugin.apk
SocialEnginePicasaPlugin.apk
SocialEngineTwitterShareFrwkPlugin.apk
socialife.apk
SomcPlayAnywhere.apk
SomcPOBox.apk
SomcPodcast.apk
SOMCTwitterAccount.apk
SomcWifiDisplay.apk
textinput-chn.apk
TimeShiftCamera.apk
TopContactsWidget-release.apk
Velvet.apk
Videos.apk (MX Player is better)
WikipediaPlugin.apk
WirelessControllerManagerService.apk
xperia-keyboard-dictionaries.apk (Remove Xperia keyboard and use swiftkey)
YouTube.apk
YouTubeKaraokePlugin.apk
YouTubePlugin.apk
[During removal process you may be need to reboot 2-3 times]
Extra
Code:
You can also delete apps setup from
SYSTEM/etc/customization/applications/
SYSTEM/etc/product/applications/
Theses are just setups so Remove
2. Greenify Your System
=> Greenify => Please use donated version for best result Download --- Key Here
A. Open Greenify App and Click on Menu[ : ](Top Right Corner) and go to experimental features...
> Select working mode as boost mode if you have working xposed or root mode
> Must Check following option for root mode user
- Greenifying system apps
> Must Check following option for boost mode user
- Block App State Abuse
- GCM Push
- Greenifying system apps
B. Click on Add icon [+] and..
> Click on menu icon [ : ] (top right corner) and check show all
> Select all user apps(you want greenify ) - Apps names are in black color.
> Saffron color indicates system apps.
You can add following system apps
Code:
Jive
my Xperia (helpful in locate to phone but mostly useless)
Photo Analyzer
USB Connectivity
Warrantytime service
Cameras
Download music service
Enterprise Service
Google Backup
Google Playstore
Google Play service
Onetouch setup
USBOTG
etc( use your sense)
## Never add Device manager, servicely ,trickster mod
## never select a app that you not know what is it ?.
## follow this step 3-4 times in first week of app installation (so it can detect most of running apps) after a week no need or once in a week if you installed some new apps
### Doubt clearance: Don't worry these apps will automatic wake up a phone requires these (Google Play, Google Services, OTG)
Some very bad power consumer apps are
FB, FB Massanger, Google play service,
TIPS
Create a Hibernation shortcut for best result (Greenify>Menu > Shortcuts)
3. Service optimizations
=>Servicely => Download
Open Servicely and ....
> Set Interval period 180
> Set Aggressive termination ON
> Set Start on Boot
> Set Free Pro version ON / Donate plz :good:
Now tap to ADD HIT List
Add apps (You should aware about apps), this app stops process if selected app process is running underground, so be careful and don't add download mangers and other apps ,you use in multitasking way :
Code:
For example : You added Chrome.
Now you are using chrome . You got a mail so you minimized chrome. After 3 MIN Chrome needs to load again its data if you open it ...
## Never add Device manager, Servicely ,trickster mod
## never select a app that you not know what is it ?
Advanced Mode
Advanced users know how to handle it ... No need to explain it
4. TrickSter Kernel management
=> Trickster MOD => Download
If you are a not very hardcore gamer or user and your device has above then 1.2 GHz CPU then this setting is mind blowing for your battery backup.
Go to menu (Left top corner)
> General
>General> CPU Frequency Control
>Frequency Lock ON (Save: Tick on Top) : Try again if failed
> Select Min 384000 or around this range (don't worry about low becoz Greenify and Servicely running so less RAM Less CPU Requirement)
> Select MAX as 75% of you Max frequency eg 1.4/ 14000 so set around 9000~10000 : Save
5. Cache management
=> Cachemate => Download
Download and make a shortcut on desktop to easy remember and use Cachemate once at start of the day.
Are you suggesting me Amplify ?
Thanks!! Yes, It is good app but ....
-- A large group of rooted devices are not using Xposed, Amplify requires Xposed
-- Some firmwares versions have problem with Xposed, Bootloop.
-- Greenify has three modes Non ROOT/ROOT/Boost ... So covers all users
Enjoy your endless battery power and memory !!!!!
Please don't quote whole post , Use @ [no space] rrajesh to mention me....Thanks !!!!!
Thank you ... :highfive:
Very good tutorial... cant wait to see what more you can do.
Good job man.
Are all this aplicable on lollipop...
Dear @martin132014,
Yes Lollipop... Mentioned Read carefully...
Thanks
Just use amplify and stamina mode, donate version is the best one I managed over 6.5hrs sot yesterday with nothing disabled and still had 25% battery left I have deleted all the stuff in system I never use or don't need can't post pics yet on here but there on g+ and Facebook m2 group Indonesia for the non believers
D2303 stock deodexed 4.4.4 KK rooted philz touch recovery xposed Bravia engine 2 x-reality
@rrajesh
Great tutorial buddy :good:
I would like to suggest Amplify...
Module Thread
Tips 1 (read also the links in the post)
Tips 2
...and this other guide
[Fenix] said:
@rrajesh
I would like to suggest Amplify...
Click to expand...
Click to collapse
Buddy, Amplify is good app but there are several reasons that I not mentioned Amplify...
-- A large group of rooted devices are not using Xposed, Amplify requires Xposed
-- Some firmwares versions have problem with Xposed,, Mine too Bootloop {Tried toooooo}
-- Greenify has three modes Non ROOT/ROOT/Boost ... So covers all users
[email protected] said:
Just use amplify and stamina mode,....
Click to expand...
Click to collapse
Buddy,
Try this guide ,, You will 50%
MAN, THANK YOU!
I was looking for a list of apps i could safely uninstall on my T2 Ultra Dual, and you have the same device as mine.
I actually have one question about step 4. To change settings on kernel my Bootloader has to be unlocked, right?
Cause I'm only rooted and I'm not sure if changing this settings will have some real effect.
Anyway, good job.
dropdan said:
.............my Bootloader has to be unlocked, right?
Cause I'm only rooted and I'm not sure if changing this settings will have some real effect................
Click to expand...
Click to collapse
No role of bootloader!!!
You should have read/write access...
Find here for T2 Ultra ===> Link
Thanks Bro This realy cool
Will be testing today
Is this ROM is enough bloatware?
[ROM][STOCK][DEBLOATED] D6503_23.1.A.1.28 Slim Down Edition for LB
Ambor said:
Thanks Bro This realy cool
Is this ROM is enough bloatware?
[ROM][STOCK][DEBLOATED] D6503_23.1.A.1.28 Slim Down Edition for LB
Click to expand...
Click to collapse
Thanks for suggestion....
Nice,its included Disk space too.. :good:
rrajesh said:
No role of bootloader!!!
You should have read/write access...
Find here for T2 Ultra ===> Link
Click to expand...
Click to collapse
I have access to r/w.
I'm gone try it.
Thank you, again.
dropdan said:
I have access to r/w.
I'm gone try it.
Thank you, again.
Click to expand...
Click to collapse
After testing please give feedback ,so I can include in results section..
can support ics?
Yes it supports

[GUIDE] Solve first issues

From ZUK Fans eu forum :
Notification :
1) Autostart the apps : SafeCenter > Autostart > Click on "Disabled autostart App(s)" > Click on the icon in the top right corner>Click on the "+" > Add your apps
2) Enable the notifications : Setting > Notifcations & Statusbar > Notification > Enable the 3 options
3) For some apps, you can enable floating window if it's disabled on : Settings > Security & Privacy > Permissions > Apps
5) Lock the apps in RAM : Open the Apps history (press Home button twice by default) and swipe down the apps
4) Reboot
Sync Google Contact :
Install this : http://www.apkmirror.com/apk/google...gle-contacts-sync-6-0-1-android-apk-download/
Pipould said:
From ZUK Fans eu forum :
Notification :
1) Autostart the apps : SafeCenter > Autostart > Click on "Disabled autostart App(s)" > Click on the icon in the top right corner>Click on the "+" > Add your apps
2) Enable the notifications : Setting > Notifcations & Statusbar > Notification > Enable the 3 options
3) For some apps, you can enable floating window if it's disabled on : Settings > Security & Privacy > Permissions > Apps
5) Lock the apps in RAM : Open the Apps history (press Home button twice by default) and swipe down the apps
4) Reboot
Sync Google Contact :
Install this : http://www.apkmirror.com/apk/google...gle-contacts-sync-6-0-1-android-apk-download/
Click to expand...
Click to collapse
Thanks for sharing.
It's such a strange thing what you have to do on Chinese roms to get the basic of today's mobile environment: working push notifications for services you install!
Sent from my Zuk Z1 using XDA Labs
vittogn said:
Thanks for sharing.
It's such a strange thing what you have to do on Chinese roms to get the basic of today's mobile environment: working push notifications for services you install!
Sent from my Zuk Z1 using XDA Labs
Click to expand...
Click to collapse
that's litterally wtf ! Ok you save battery but cmon ! Now you need to let the full app run all the time... They have safe center and so on and not a damm screen to check that...
Zuk Z2 bug
Hello,
i hope for a fast reply,
i recieved my zuk z2(not pro) yesterday, and things arent working properly,
first of all the play store has tons of bugs,
also in the settings menu some menus crash totaly, like the notifications, fonts etc.
I tried to do a factory reset in order to fix it,
after doing so the keyboard stopped working and i cant do anything now,
what can i do?
omrihak said:
Hello,
i hope for a fast reply,
i recieved my zuk z2(not pro) yesterday, and things arent working properly,
first of all the play store has tons of bugs,
also in the settings menu some menus crash totaly, like the notifications, fonts etc.
I tried to do a factory reset in order to fix it,
after doing so the keyboard stopped working and i cant do anything now,
what can i do?
Click to expand...
Click to collapse
I guess you bought this phone on Oppomart ?
I recommend to reflash your rom (http://zukfans.eu/).. Otherwise you can't get the lastest version which is 1.9.077
Prockkaii said:
I guess you bought this phone on Oppomart ?
I recommend to reflash your rom (http://zukfans.eu/).. Otherwise you can't get the lastest version which is 1.9.077
Click to expand...
Click to collapse
Is that a common problem with Oppomart?
I ordered mine a few weeks back.
luytent said:
Is that a common problem with Oppomart?
I ordered mine a few weeks back.
Click to expand...
Click to collapse
I think it is. But flashing back the rom is very easy.
Pipould said:
that's litterally wtf ! Ok you save battery but cmon ! Now you need to let the full app run all the time... They have safe center and so on and not a damm screen to check that...
Click to expand...
Click to collapse
We don't even get a damn battery graph. For those of us who micro-manage our phones, ZUI is a disaster.
Karly Johnston said:
We don't even get a damn battery graph. For those of us who micro-manage our phones, ZUI is a disaster.
Click to expand...
Click to collapse
To be fair, there is such a graph, but you have to activate the Developer Settings.
Then: Settings -> Advanced Settings -> Developer Options -> History details.
How do I get Play Music controls to show up on the lock screen?
Double Post
Prockkaii said:
I think it is. But flashing back the rom is very easy.
Click to expand...
Click to collapse
So does this mean if I flash zukfans eu ROM "ZUK Z2 Stable ROM 1.9.044", I will have not crashing menus nor the "play store cannot download any apps" issue?
This would be great, at least.. until a real ROM is out..
miheilo said:
So does this mean if I flash zukfans eu ROM "ZUK Z2 Stable ROM 1.9.044", I will have not crashing menus nor the "play store cannot download any apps" issue?
This would be great, at least.. until a real ROM is out..
Click to expand...
Click to collapse
You can fix that by setting Play Store to Auto Start and enable all permissions.
Autostart
Hi I can not find ... "SAFECENTER" in zuk z2 (not pro)...I have problem with (viber and messenger) I would like autostart..
1) Autostart the apps : "SafeCenter" ??? > Autostart > Click on "Disabled autostart App(s)" > Click on the icon in the top right corner>Click on the "+" > Add your apps

Android System - Excessive Battery consumption on MIUI 11.0.4

Hello all,
Maybe somebody can help me here.
I've recently updated my device into the MIUI 11.0.4.0 (QFJEUXM) rom . Official OTA update by Xiaomi,
I've noticed an increase in battery consumption ( mainly caused by android system app around 25%).
Somebody with similar issue ? is there a way to rollback safely into a previous version ? My previous version 11.0.3.0 was working just fine... I'm actually regretting having updated my phone.
Kudos!
Yes, many users have the same problem, including me.
Well, I feel my Mi9T has strange battery consumption through all the roms.
I'm now on custom rom with 11.0.4 vendor. Some times it uses more than 1%/h while deep dozing.
Screen on time is estimated to be around 8h, is this too short?
I'm getting sick of the android system drain. Does anyone know if xiaomi.eu rom any better? Is it worth flashing?
yellowbear4 said:
I'm getting sick of the android system drain. Does anyone know if xiaomi.eu rom any better? Is it worth flashing?
Click to expand...
Click to collapse
Yes or try this https://sourceforge.net/projects/mi...edmiK20_MIUI_20.2.27_MiRoom_10.0.zip/download
Benfatica said:
Yes or try this https://sourceforge.net/projects/mi...edmiK20_MIUI_20.2.27_MiRoom_10.0.zip/download
Click to expand...
Click to collapse
Yeah.. flashed 20.2.27 and got 2.6% drain per each hour tonight, in deep sleep... - 21% per night.
Cell standby 530 mAh.
1. Unlock Developer Mode
Settings > About phone > tap (many times) on MIUI version until you've a message "You are developers!"
2. Turn off MIUI optimization
Settings > Additional settings > Developer options > Turn on Developer options (if it's not) > scroll down to the last page and Turn off MIUI optimization
it's work for me!
nzing82 said:
1. Unlock Developer Mode
Settings > About phone > tab (many times) on MIUI version until you've a message "You are developers!"
2. Turn off MIUI optimization
Settings > Additional settings > Developer options > Turn on Developer options (if it's not) > scroll down to the last page and Turn off MIUI optimization
it's work for me!
Click to expand...
Click to collapse
Doesn't work for me have it turned off since I got the phone and the battery drain issues are only since android 10 update.
Benfatica said:
Yes or try this https://sourceforge.net/projects/mi...edmiK20_MIUI_20.2.27_MiRoom_10.0.zip/download
Click to expand...
Click to collapse
nzing82 said:
1. Unlock Developer Mode
Settings > About phone > tap (many times) on MIUI version until you've a message "You are developers!"
2. Turn off MIUI optimization
Settings > Additional settings > Developer options > Turn on Developer options (if it's not) > scroll down to the last page and Turn off MIUI optimization
it's work for me!
Click to expand...
Click to collapse
I have just checked this 3 times... I don't have this option under developer settings at all

[Guide] Fix battery life on PixelExperience 12 [UNOFFICIAL]

Code:
Disclaimer
I am not responsible for any damage you made to your device
You have been warned
Story:
I have updated my phone (12Gb/256Gb/CN) to PixelExperience 12 [UNOFFICIAL] and faced a huge battery drain afterwards (from 100% to 40% after one night). This wasn’t useable for me as a daily driver and so I searched for a solution. I installed an App to read logs in my phone and found the following problems.
Problems discovered:
Battery drain due to Play Services trying to load an Update
Like described in this thread:
https://forum.xda-developers.com/t/...ry-drain-due-to-google-play-services.4406617/
My phone was continuously throwing errors about an update similar, to the in the thread and had a high battery consumption in idle, due to Play Services (about 25% in 24h).
Errors from the light sensor
When auto brightness adjustments were activated, my phone was continuously throwing errors like the following one:
Code:
sensors-hal handle_sns_std_sensor_event:75, wise_light: lux 36 ,period 108 ms, data c 0
Fix:
To fix the first issue, I followed the guide in the thread:
Install Magisk and root the device
Download Magisk (https://drive.google.com/file/d/1hpU74PWLJQzNoEeyn1W9IhOSgcTx0yL2/view) only for this ROM!
Boot into fastboot mode (power on while holding Volume - and the power button)
Flash magisk using the following command:
Code:
fastboot flash boot magisk_patched-24100_VLvH8.img
Disable the attempts to download the update
Download a terminal application like Termux from the Play Store
Grant the terminal application Superuser rights
Enter the command:
Code:
su
Enter the command:
Code:
pm disable com.google.android.gms/.chimera.GmsIntentOperationService
Done
To fix the second issue just disable the auto brightness option in the settings:
Code:
Settings -> Display -> auto brightness
Additionally I installed the App Naptime from the Play Store and granted it Superuser rights as well to increase battery life even more.
Conclusion:
After the described steps, my battery life is as good, as before and I can daily drive my phone again. Maybe the described fixes can help to increase battery life on your Custom ROM as well.
Thanks.
@konsensknilch - Same battery drain on Pixel 3a with June build of 12+. What app did you use to read logs in your phone?​
I used the Logcat Reader from the Google Play Store:
Logcat Reader - Apps on Google Play
View your device's logs
play.google.com
konsensknilch said:
I used the Logcat Reader from the Google Play Store:
Logcat Reader - Apps on Google Play
View your device's logs
play.google.com
Click to expand...
Click to collapse
Many thanks. Also, did you clean flash or dirty flash? And I assume you were flashing the April build?
sconebranch said:
Many thanks. Also, did you clean flash or dirty flash? And I assume you were flashing the April bui
Click to expand...
Click to collapse
You are right, I did a clean flash of the April build.
konsensknilch said:
Code:
Disclaimer
I am not responsible for any damage you made to your device
You have been warned
Story:
I have updated my phone (12Gb/256Gb/CN) to PixelExperience 12 [UNOFFICIAL] and faced a huge battery drain afterwards (from 100% to 40% after one night). This wasn’t useable for me as a daily driver and so I searched for a solution. I installed an App to read logs in my phone and found the following problems.
Problems discovered:
Battery drain due to Play Services trying to load an Update
Like described in this thread:
https://forum.xda-developers.com/t/...ry-drain-due-to-google-play-services.4406617/
My phone was continuously throwing errors about an update similar, to the in the thread and had a high battery consumption in idle, due to Play Services (about 25% in 24h).
Errors from the light sensor
When auto brightness adjustments were activated, my phone was continuously throwing errors like the following one:
Code:
sensors-hal handle_sns_std_sensor_event:75, wise_light: lux 36 ,period 108 ms, data c 0
Fix:
To fix the first issue, I followed the guide in the thread:
Install Magisk and root the device
Download Magisk (https://drive.google.com/file/d/1hpU74PWLJQzNoEeyn1W9IhOSgcTx0yL2/view) only for this ROM!
Boot into fastboot mode (power on while holding Volume - and the power button)
Flash magisk using the following command:
Code:
fastboot flash boot magisk_patched-24100_VLvH8.img
Disable the attempts to download the update
Download a terminal application like Termux from the Play Store
Grant the terminal application Superuser rights
Enter the command:
Code:
su
Enter the command:
Code:
pm disable com.google.android.gms/.chimera.GmsIntentOperationService
Done
To fix the second issue just disable the auto brightness option in the settings:
Code:
Settings -> Display -> auto brightness
Additionally I installed the App Naptime from the Play Store and granted it Superuser rights as well to increase battery life even more.
Conclusion:
After the described steps, my battery life is as good, as before and I can daily drive my phone again. Maybe the described fixes can help to increase battery life on your Custom ROM as well.
Click to expand...
Click to collapse
WOW MAN IT WORKS!!!! Finally, i can use the latest android version experience from PE with good battery life as MIUI (maybe even better!!!). 0 percent drain in 20 minutes activity i'm so happy i wanna cry
Edit:
Unfortunately, while the service is disabled i can't make any backup to google including whatsapp. Changing the command from disable to enable doesn't work. Any idea to start the service again?
konsensknilch said:
Code:
Disclaimer
I am not responsible for any damage you made to your device
You have been warned
Story:
I have updated my phone (12Gb/256Gb/CN) to PixelExperience 12 [UNOFFICIAL] and faced a huge battery drain afterwards (from 100% to 40% after one night). This wasn’t useable for me as a daily driver and so I searched for a solution. I installed an App to read logs in my phone and found the following problems.
Problems discovered:
Battery drain due to Play Services trying to load an Update
Like described in this thread:
https://forum.xda-developers.com/t/...ry-drain-due-to-google-play-services.4406617/
My phone was continuously throwing errors about an update similar, to the in the thread and had a high battery consumption in idle, due to Play Services (about 25% in 24h).
Errors from the light sensor
When auto brightness adjustments were activated, my phone was continuously throwing errors like the following one:
Code:
sensors-hal handle_sns_std_sensor_event:75, wise_light: lux 36 ,period 108 ms, data c 0
Fix:
To fix the first issue, I followed the guide in the thread:
Install Magisk and root the device
Download Magisk (https://drive.google.com/file/d/1hpU74PWLJQzNoEeyn1W9IhOSgcTx0yL2/view) only for this ROM!
Boot into fastboot mode (power on while holding Volume - and the power button)
Flash magisk using the following command:
Code:
fastboot flash boot magisk_patched-24100_VLvH8.img
Disable the attempts to download the update
Download a terminal application like Termux from the Play Store
Grant the terminal application Superuser rights
Enter the command:
Code:
su
Enter the command:
Code:
pm disable com.google.android.gms/.chimera.GmsIntentOperationService
Done
To fix the second issue just disable the auto brightness option in the settings:
Code:
Settings -> Display -> auto brightness
Additionally I installed the App Naptime from the Play Store and granted it Superuser rights as well to increase battery life even more.
Conclusion:
After the described steps, my battery life is as good, as before and I can daily drive my phone again. Maybe the described fixes can help to increase battery life on your Custom ROM as well.
Click to expand...
Click to collapse
Man that is just plain superduper awesome! Have been switching back to MIUI on Xiaomi which is so dumb. Wish i googled this sooner and found your fantastic explanation !!
Thanks for also explaining why it happens.
Respect bro.

Categories

Resources