yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] ISDP:
I have updated the app, please check again if you're running AOSP!

[MENTION=3999488]MaR-V-iN[/MENTION] is there any way to check if GMSCore is used instead of the regular GMS package?
[Android Apps and Games] Mutoid:
+Greenify > Aggressive doze
[Android Apps and Games] darren1:
On my Nexus 10 I don't have the option for Aggressive doze in Greenify, I do on my Pixel C. I think the app must check if the device is doze compatible. It's a shame because under the Aggressive doze settings in Greenify is also the option for notifications of time the device has spent in doze.
[Android Apps and Games] Modernoid:
Thanks dev, now I'm sure my device does support doze. :D
[Android Apps and Games] Chandresh204:
Strangely my moto g still supports doze even after the update
[Android Apps and Games] Mutoid:
Exactly. I use this option.
[Android Apps and Games] Rashad83:
Ty for the App. No Sensor support for Huawei p8 :(
[Android Apps and Games] VaniENES:
I posted this earlier in the thread but didn't get any response. I have a note 2 i317m and though it does not have the sensors needed, it is entering doze and working properly. Attached I have a screenshot showing my phones battery usage from 6 am to 4:30 pm with only a 3% loss. Is it possible that doze can work regardless of some sensors?
[Android Apps and Games] MaR-V-iN:
Sure, just check if a permission "org.microg.gms.EXTENDED_ACCESS" is defined, either by using getPermissionInfo or getPackageInfo with flag GET_PERMISSIONS.
[Android Apps and Games] ytsejam06:
Is this some kind of limit or a choice?

It would be useful, at least, to check hardware support in previous versions of Android, so anyone could decide to upgrade (or not) with a custom rom just to improve battery life...
[Android Apps and Games] Rashad83:
If dose is working fully you should be able to see flat lines stretching longer, which I don't see in the graph. What you are seeing is the software optimization that comes with Marshmallow. If you have Dose fully working you could see 0-1% loss within the same period also you need the device to lay flat in order for Dose to kick in that's why sensor support is needed.
[Android Apps and Games] ringochan:
Do you mean the software optimization alone can achieve loss of only 3% in 10.5 hours?

I have a different variant of the same Note II like he has (T-Mo's T889) running on a 6.0.1 rom. I did a lot of tweaking on this phone, but still lose about 1-2% each hour when the phone is not moved at all, and I thought that was good until I saw this guys result! If I can get that much optimization without DOZE, I want to know how.
[Android Apps and Games] Rashad83:
If you go to the battery section on a Marshmallow rom you will find in the menu section there is a software optimization option where you can select whether all or some apps are optimised, but in order for it work properly it needs to be told when to kick in that's why it relies on hardware sensors to know when the phone is idle. So if the other variant of the Note 2 doesn't have sensor support then the optimization is done in a different manner. Like in my device Huawei p8 we had an app called phone manager which acts like Dose closing apps which are not protected(you can decide which app to protect) and that was back on lollipop. So in short yes you can reach to similar results to what Dose does with some software tweaks and specific apps designed to mimic Dose.
[Android Apps and Games] aldesal:
What kind of magical hardware is needed for the damned Doze mode? I thought it was a lil bit more extended but it seems a lot of people lack support for it, me included. Bloody Huawei.
[Android Apps and Games] Eurofighter_ty:
I think Huawei did something if the Doze flag is enabled. I think they just set the device to doze after 30 minutes. Can you post a screenshot from the CPU-Z app ? Sensors tab.

Significant motion sensor and it must be low power sensor. On Moto G 2013 the developers used the accelerometer to create a virtual sensor aka significant motion sensor that just checks if the device is moving or is staying on the table. Just post a CPU-Z screenshot from the sensors tab to see what is going on.
[Android Apps and Games] Eurofighter_ty:
You have a lot more sensors than me. Huawei if they want can create that virtual sensor. The problem is that you have Doze enabled. If you leave it with Wi-Fi on overnight, how much battery drains?
[Android Apps and Games] Rashad83:
I haven't tested it for a long time, plus I never leave it with WiFi on when sleeping it's a waste of battery. But if I remember correctly of my last test for a 8 hour period around 5-7% loss that's using glance plus app which functions similar to ambient light on Nexus devices i also use greenify. But I think without the bloat apps I think i can get it to less than 5%. Sorry i can't give actual figures.
[Android Apps and Games] darren1:
Aggressive doze via Greenify can be applied via ADB and apparently works on non rooted devices. You need Greenify 2.9 beta 2 available here

http://www.apkmirror.com/apk/oasis-...ase/greenify-2-9-beta-2-android-apk-download/

The ADB command is

adb -d shell pm grant com.oasisfeng.greenify android.permission.DUMP

explained here

https://greenify.uservoice.com/know...o-grant-permissions-required-by-some-features
[Android Apps and Games] Mutoid:
I have rooted device and using Greenify xposed module.
[Android Apps and Games] ClefAria:
My Oneplus One on Resurrection Remix reports that all but the "config flag" are okay. Is that something I can set manually?
[Android Apps and Games] code quentoum:
It's the same for me, with the same device and rom.

Anyone knows what does "config flag" refered to and if it's possible to manually interact with it ?
[Android Apps and Games] Mr hOaX:
No issues here

OPO running Sultan's ROM (CM13)
[Android Apps and Games] :
For those of you having issues with :"Device Config Flag Enabled", the problem is that your ROM doesnt support Doze. It's explained here: https://source.android.com/devices/tech/power/mgmt.html#integrate-doze

I am not a ROM builder nor a programmer but from what I understand is that there is a value stated false in ROM's build from AOSP that needs to be set to true in order for doze to work. My suggestion is to KINDLY ask your ROM builder to look into this matter.
[Android Apps and Games] danxdarkte:
Significant motion

Underlying physical sensor: Accelerometer (or another as long as low power)

Hi, i have an X Play and does not support Doze, but reading the information on the Android page the Significant motion use the accelerometer and the X Play have one, my question is, can activate Doze Support ?

P.D.: Sorry for my english.
[Android Apps and Games] coolfire:
Simple and effective app and way to check. Thanks!
[Android Apps and Games] ISDP:
Not unless the Significant Motion Detector API is added to your ROM
[Android Apps and Games] piku 123:
So doze is nothing more than gimmick I installed marshmallow for doze and find out this.

Only handful of device supports doze.
[Android Apps and Games] jean15paul:
Doze isn't a gimmick; it's a great new feature. But like all new features (especially hardware dependent ones), adoption takes time. Similarly, Marshmallow supports native fingerprint unlock, but there are still a lot of phones out there without fingerprint scanners.
[Android Apps and Games] James.Markham0757:
Anyone know if dose is compatible with a Note4? I have the ATT N910A and Marshmallow hasn't hit us yet.
[Android Apps and Games] spock81:
Dozey

How does doze acually work?? Does it need a 3rd party app to help?? Current phone Sony Xperia Z3c non-root. My first Xperia got stolen I only had it a few months but had insurance and was stuck on LP, so new phone got rooted installed MM then unroot have ran the checker it ticks all the boxes so see attached pic will this interfere with doze or am I just dozey :eek: ps previous phone was Lenovo P780 4,000 ohm battery hell yea!!!! I have to charge this b***tard every night if I don't its juggling power vs life :fingers-crossed:
[Android Apps and Games] lhkakex:
So,I just check doze,My phone does support doze,but why can't I use ambient display???(via Xposed)

LG D722 CM13
[Android Apps and Games] ani507:
Looks great, thank you for sharing !
[Android Apps and Games] Bigjazz2016:
The file is corrupted "error to analyze the package"
[Android Apps and Games] yeeahnick:
damn my Moto X Play just let me down for the first time :crying:
[Android Apps and Games] TNSMANI:
You mean the download is corrupted, right? Download again.
[Android Apps and Games] msbdevil:
I can't install the app on mu Redmi 2 prime Indian variant

I've downloaded the app almost 5 times but I never I could install it.. Everytime I try to install this app it says Parse error . Plz help me know that does Redmi 2 prime support Doze??
[Android Apps and Games] TNSMANI:
AFAIK, parse error indicates bad download, not incompatibility.
[Android Apps and Games] bablu048:
I have a MXP and a OPO, MXP doesn't support doze still I get less drain in MXP than OPO,

I get around 2% overnight drain in MXP whereas in OPO it's 8-9% and it supports doze, and I hardly ever use OPO it just sits on the table. WTF!
[Android Apps and Games] mauam:
If you try to install on lower android version than marshmallow (6.0.X), it always give you "parse error". The title of the thread clearly show 6+.
[Android Apps and Games] silentvisitor:
Hi [MENTION=4590017]ISDP[/MENTION]

Thanks for creating an useful app :good:

I installed it today and it showed my device (Note 2) doesn't have required sensor. I'm surprised as every Android phone has Accelerometer which is the only physical sensor needed by SMD API.

Am I missing something here ?
[Android Apps and Games] akaSturmer:
Accelerometer? No. Sensor HAL.

Device implements the significant motion detector (SMD) APIs in the Sensor HAL. Devices that do not implement these APIs cannot support Doze.
[Android Apps and Games] silentvisitor:
You just copy-pasted it. No? ;)

Accelerometer is a physical device (Sensor) and HAL is Hardware Abstraction Layer that make hardware (like various sensors, modem, etc) talk to OS.
[Android Apps and Games] msbdevil:
ow ya thnx i was trying it on 4.4 sry fr dat
[Android Apps and Games] therichprince:
Thanks so much.
[Android Apps and Games] deyerick:
I have moto g3 turbo?

And here's the result

so my phone.doesn't support doze apps?

https://play.google.com/store/apps/details?id=com.yirgalab.dzzz

Thanka
[Android Apps and Games] AnonVendetta:
Why in hell is Play Services/Google Cloud Messaging one of the requirements for Doze support?! I typically root all my Android devices and rip out all the Google apps, because I'm sick and tired of them trying to rule my devices as if they are the owner. Doze should be an Android feature that is completely independent of Google. BTW I currently have an LG v10 running MM.
[Android Apps and Games] buffal0b1ll:
Why would you need doze if play services isn't running the show for syncing and eating all your battery?
[Android Apps and Games] davtse:
They aren't requirements for doze support. I use the microg replacement and doze still works fine.
[Android Apps and Games] AnonVendetta:
[MENTION=4831195]buffal0b1ll[/MENTION]: Because Play Services isn't the only app that eats battery. Certainly it is the biggest culprit though.

[MENTION=1498291]davtse[/MENTION]: I've also been using MicroG for awhile now, and I'm just not sure how to tell if Doze is actually working. I have an LG v10, I think on this device it is called "restrict idle apps" (I can see it listed as a system app in Titanium Backup). How can I be sure?

In post #3 by [MENTION=4590017]ISDP[/MENTION], it specifically says that Google Cloud Messaging is one of the requirements (and he provides a link to an official Android support page to back up his claim). Who is right and who is wrong?

BTW this app says that my device supports Doze. I can't find anything about Doze on my phone, not even in the Settings app.
[Android Apps and Games] mashreghi:
Works like a charm on my Galaxy Nexus! :D
[Android Apps and Games] buffal0b1ll:
GSAM Battery Monitor tells you in its Held Awake view doze stats.
[Android Apps and Games] TA1513:
Hi

If there is a step detection sensor "Doze" will work?
[Android Apps and Games] bhavik4it:
My phone support doz so what ?

i mean why to check and what is the benefit?
[Android Apps and Games] vjosephkumar:
What works For you?
[Android Apps and Games] fzalta:
First off great work and contratulations - second - I downloaded and ran the APK - it says my phone supports doze - how do I access doze?
[Android Apps and Games] nehadkhanz:
Thanks!
[Android Apps and Games] androcraze:
As long as you have Google Play Services installed, Doze is automatically running. You access it through:

Settings -> Battery -> ... (three dots) -> Battery optimization

You'll see a drop-down with "Not optimized" listed. if you click the drop-down, you'll also see "All apps".

NOTE: "Not optimized" means "Apps that are not currently optimized for Doze". That list should be empty (actually, I have Google Play Services listed, but it's ghosted, meaning it's optimized). All apps should initially be Doze-enabled.

If you want to shut off apps from Doze, select "All apps", and click on the app you want to modify.

It's an odd interface, and a little confusing it you don't understand it; play with it a bit. I see no reason to disable any "dozed" apps.
[Android Apps and Games] Arykit:
HTC One X gives NEGATIVE. It probably will never support DOZE. :(
[Android Apps and Games] fdgd1998:
How can I manually modify the "doze config tag" to enable doze??
[Android Apps and Games] androcraze:
Your ROM doesn't have Doze enabled.

It's done during build, not after the ROM is created. You'll need to find a ROM for your device with Doze support.
[Android Apps and Games] fdgd1998:
So, I can't get doze enabled after ROM is built?
[Android Apps and Games] androcraze:
Not that I'm aware of.

It should be built-into Marshmallow and later factory ROMs, and many AOSP developers are enabling the feature as well.

In AOSP Marshmallow code, you need to make the follow change:

--- frameworks/base/core/res/res/values/config.xml	2016-09-09 01:25:21.000000000 -0500
+++ frameworks/base/core/res/res/values/config.xml	2016-09-09 17:46:58.821500328 -0500
@@ -164,7 +164,7 @@
dozing). This should be enabled if you have such services and expect apps to
correctly use them when installed on your device. Otherwise, keep this disabled
so that applications can still use their own mechanisms. -->
- <bool name="config_enableAutoPowerModes">false</bool>
+ <bool name="config_enableAutoPowerModes">true</bool>

<!-- The duration (in milliseconds) that the radio will scan for a signal
when there's no network connection. If the scan doesn't timeout, use zero -->

If you're running a custom AOSP Marshmallow ROM, you can ask your developer to enable it.
[Android Apps and Games] fdgd1998:
Is there any way that it can enable by myself?
[Android Apps and Games] androcraze:
Short of installing a ROM built by yourself, no.

Maybe someone has a way of editing the framework manually, but I don't.
[Android Apps and Games] fdgd1998:
I have already asked the developer if it can be enabled. The rom is Slim 7 for the HTC One M7
[Android Apps and Games] Silvers91:
Hi

I get this when I open the app, something wrong with some sensor? Please help

Edit: I'm on MIUI 8.0.3.0 Global Stable ROM, rooted
[Android Apps and Games] androcraze:
Device?
[Android Apps and Games] Silvers91:
Redmi Note 4 MTK
[Android Apps and Games] androcraze:
Do other ROMs for your device verify as OK?

If they do, then it's a ROM issue, and you'll need to talk to the developer to see what needs to be incorporated.

A quick check: Doze requires Google Play Services to operate. Under

Settings -> Apps - Google Play Services -> Permissions

verify that "Body sensors" is enabled.
[Android Apps and Games] Silvers91:
Yes on all ROMs, and Google Play Services has the permission of body sensors enabled, Google play services has been granted all available permissions
[Android Apps and Games] sayan79:
Perché su p8 mi esce il simbolo esclamativo su sensori

---------- Post added at 08:31 PM ---------- Previous post was at 08:29 PM ----------

Because of p8 out to me the exclamation mark to sensors
[Android Apps and Games] androcraze:
You're getting an exclamation point on sensors?

Try Settings -> Apps -> Google Play Services -> Permissions -> Body Sensors

If that is toggled and Doze isn't working, then you need to talk to your ROM's developer or try a different ROM.
[Android Apps and Games] sayan79:
But I have the stock firmware b393
[Android Apps and Games] androcraze:
If you're running Marshmallow and Doze is failing to work, either your ROM or device isn't supporting Doze. As it's a factory ROM, your device may not support it.
[Android Apps and Games] abrakadabra_srb:
Doze without Play Services

Hey man thanks for the app, comes in handy :) I'm playing around with my own ROM and I'm unable to figure out if Doze is supported if there are no Google Play Services? Like, how dependent is Doze on these and will it work if I enable the Doze flag for my ROM and my device does have sensors?

Thanks in advance
[Android Apps and Games] androcraze:
Doze requires Google Play Services.
[Android Apps and Games] abrakadabra_srb:
Hm just for the sake of me understanding this from technical perspective: google says this:

https://source.android.com/devices/tech/power/mgmt.html#integrate-doze

To me, this sounds like OK you can implement Doze in your devices and you need to make sure that proper services are excluded from Doze. However, they also say this:

From my perspective, this doesnt sound like a full requirement saying that if you dont have GCM your device wont support Doze. In pure AOSP, in /system/etc/sysconfig/google.xml, google services are specifically excluded from Doze so that GCM can work and there is no other place in source code that says 'If Play Services are not installed, disable Doze'. To finalize my conclusion: Doze can be enabled and will work without Google Play Services installed but then the device wont be able to wake up by a high priority push message (since GCM is not present). Am I wrong?
[Android Apps and Games] androcraze:
I just know from what I read from all of the articles about Doze when it first appeared: It requires Play Services.

If it will work without Play Services, but then it can't wake up, then it's not really working.
[Android Apps and Games] abrakadabra_srb:
No problem, we are just discussing :) The device will wake up in case of a phone call or SMS or when the user explicitly turns on/picks up the phone. From my point of view, the only thing that is related to doze and play services is the fact that when you have play services, doze can be interrupted by using high priority push message. If they are not present, device can't we woken up (besides phone call, sms etc) unless you add your own service to the platform (instead of GCM) that would allow you to wake it up. Just my two cents :)
[Android Apps and Games] tyamamoto:
Even with stock Nougat rom, Moto X Play doesn't support SMD.:crying:
[Android Apps and Games] mattwhite7102:
Haha lol my alba 7 tablet doesn't support doze (android 7.0) but my LG K8 2017 (android 7.0 again) supports doze
[Android Apps and Games] folusmile:
I didn't knw that my Samsung A320f doesn't support doze until I found this app. **** Sammy. Thanks dev
[Shield Android TV Q&A, Help & Troubleshooting] zelduy:
I really like this device.. especially when combined with ps4 remote play...

I got no problem using DS4 controller wired to shield.. but it's wired...

the problem is everytime i play ps4 using shield/any other controller it turns the right analog into mouse.. so I it's really hard to press R3 button.. and hate the mouse cursor keeps moving...

Is it possible to turn off the right analog as mouse? Or any other trick so i can use my nvidia shield/360 controller to play ps4 remote play?

Thanks in advance
[Shield Android TV Q&A, Help & Troubleshooting] honosuseri:
I have the modded remote play with the invisible touch buttons. I attach the DS4 pad to the SHIELD with an OTG adapter on the micro USB port. The pads works perfect and there are no visual cues on the screen (i.e Cursor)

The adapters are very cheap and you'll find other uses for it I am sure. Hope this helps :)
[Shield Android TV Q&A, Help & Troubleshooting] Jacobxtyler:
He's referring to the nvidia shield, which recently updated and added "right thumb stick as mouse" for non TV apps. So when you try to look around it shoes a mouse, and the thumb stick doesn't work as intended. I'm having the same issue and wondering if anyone has found a workaround or way to disable it too.
[Shield Android TV Q&A, Help & Troubleshooting] honosuseri:
I'm not a mind reader lol This section is for the SHIELD TV which uses the Android TV OS (it's not the same as what the tablet or portable uses). Perhaps posting or looking in that section will get you guys an answer sooner...I wish you all the best with it.
[Shield Android TV Q&A, Help & Troubleshooting] Jacobxtyler:
Sorry I didn't see the last part that said "ie cursor" and saw the "otg adapter" and assumed you were talking about the shield portable devices. I too was referring to the Shield TV and just misrepresented it.

I used the XDA port with invisible touch buttons as well, but still get a cursor popup when trying to use the right thumbstick. If i'm not mistake, it's a feature added in the newest update to the Shield TV for non-tv apps to help navigate them better. I'm also unable to use the PS button or touchpad, but I just assumed it wasn't possible.
[Shield Android TV Q&A, Help & Troubleshooting] Jacobxtyler:
Well I feel like a putz. I didn't even realize there was a micro USB on the back, or that it would function differently than the USB ports. Using an OTG cable like stated above does work, and there is no mouse prompts when using the right stick! Thank you [MENTION=1759101]honosuseri[/MENTION]
[Shield Android TV Q&A, Help & Troubleshooting] honosuseri:
Sorry for the confusion, I thought you were personally having problems with the SHIELD Portable with the built in pad. I was definitely talking about the SHIELD TV as you now know.

I have a USB HDD connected (adopted as internal storage) and had a USB receiver in the other port for a keyboard and mouse...that only left the Micro USB port available for the DS4, so I gave the OTG a go! Didn't take long to notice it worked far better than when in the standard USB 3 port. Happy to have helped :)
[Shield Android TV Q&A, Help & Troubleshooting] zelduy:
so there's no solution for this in shield android tv.. that's a pitty...
[Galaxy Note5 General] DevXharrY:
HI ALL

here's how to revert back to stock lollipop 5.1 from 6

first you've to download the stock multi firmware over here

https://drive.google.com/uc?id=0B40ItdHKfkyQMzZITUNEZEw4VWM&export=download

use ODIN 3.10

select files

and done without any issue

hope if helped

----

#Devx
[Galaxy Note5 General] InteliDroid:
I don't really see a reason as to why someone would want to downgrade back to 5.1.1 as 6.0.1 is amazing. Thanks for the tutorial anyways.

Btw the google drive link doesn't work.
[Galaxy Note5 General] Ather:
atleast copy/paste correctly, the link is incomplete
[Galaxy Note5 General] DevXharrY:
https://drive.google.com/uc?id=0B40ItdHKfkyQMzZITUNEZEw4VWM&export=download
[Galaxy Note5 General] DevXharrY:
one more thing ather

respect your self first then respect the others :D

u can tell me the site which i got this tut

and maybe i will show u it was me who post it :D

https://drive.google.com/uc?id=0B40ItdHKfkyQMzZITUNEZEw4VWM&export=download
[Galaxy Note5 General] ndmuni:
SM-N920I

Hi OP can this be flash on 920i? thanks
[Galaxy Note5 General] Basrawi96:
is this will bypass sw check issue
[Galaxy Note5 General] marloko:
note 5 n920i

that firmware works with my model n920i ....it came with vodafone apps but im using it in mexico .....i need to downgrade it because of battery drain ....MM sucks for me ....please i need help y already tried with the sammobile stock firmware but i get the error binary 3 device 2 if someone have the way to do it please tell us thanxs in advace

Marlo