yashsingh1/xdaforums huggingface dataset:
[General Topics] Steve Sharp:
Of all the devices I have ever held, the Touch felt the best in my hands. I haven't see a TC yet, but something about that touch.

:)
[General Topics] mlalahoi:
My first "geekphone" was the motorola e680i, still one the best non wm phones out there. It had something every touchscreen phone should have, a hardware switch to lock the device. infinitely useful and brilliantly simple.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ramakrishnan ?:
After Some Deep Research on google about Doze i got some usefull Real information about Doze and how to activate it systematically without any help of third-party Doze applications.

Doze is Freez Apps and other unwanted sensors when device is idle. It will put your Mobile Deep Sleep Mod when idle. This is the Usefull feature for Android. You can see the above image if Doze is Active On your Mobile then you can avoid battery drains when your mobile is idle. OK its enough for User to know about Doze. Now i can explain what are the features have this Mod. . .

***** Features *****

* This Mod enable Force Doze Systematically with help of init.d Script.

* Added Some build.prop Tweaks For DeepSleep and Power Saving.

* Doze service added for Extra Support to Doze.

* This Mod Enable Battery Optimizations to Google Play service. So Doze will be Applying on Google play service also.

* This Mod disable Unlimited data usage to GooglePlayService. So you can avoid the background data leaks by Google play service.

* This Mod disable unthrottled locattion access to Google Play service. So it will not get acces when device idle.

* This Mod Enable Google_DNS server For Faster and Secure Internet.

Users Script For Enable ForceDoze :p !!​

#!/Users:)/watch:eek:/Read:o/execute:D

# This Script Will Help Users To Activate ForceDoze

If [ You have Kernel Auditor ]; then

Open Kernel Auditor and go to init.d tab then select "ForceDoze" Script and click Execute. After Execute One Message will Popup then click back button Twice and exit from Kernel Auditor. Now ForceDoze is activated Successfully On Your Device !!!

else

If you don't have kernel auditor then Copy the Script from /system/etc/init.d/ForceDoze to your internel storage then execute via other Script Runner. If u don't have any script Runner then open Terminal type " su " hit enter after open ForceDoze by using any text editor. It have Two commands so copy and paste it and hit Enter on Terminal Emulator One by One before Doing this . Now ForceDoze is activated Successfully On Your Device !!!

fi

(NOTE:- You Need to Do this On Every Reboot because ForceDoze will disable After Reboot. So U need to Execute the Script Manually on Every reboot for Enable Force Doze)​

*** Downloads ***

Universal ForeceDoze + Deep Sleep + Google_DNS

https://www.androidfilehost.com/?fid=818070582850503953

Universal ForeceDoze + Deep Sleep + Google_DNS Uninstaller

https://www.androidfilehost.com/?fid=673956719939830908

Flashing Procedure :-

* Go to TWRP

* Flash This Mod

* Wipe Cache and Dalvik cache then Reboot !

* (Must Do) After Reboot U need to do One Thing Manually for Enable ForceDoze. Read the above Users script and Execute.

*** Credits ***

[MENTION=8656312]Ramakrishnan ?[/MENTION] (For Making This Mod)

Cyanogenmod (For Doze App)

Google (For Informations)

*** Enjoy :D ***

*** If its Usefull For You jusy Hit Like Button :good: ***​
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ramakrishnan ?:
FAQ :-

How can i know ForceDoze is Active on my Device ??

Open Terminal type " su " command hit enter then copy and paste this command on Terminal " dumpsys deviceidle " and hit enter and check the line mForceIdle=true. If its Value is true then ForceDoze is Enabled on your Device :).

How to disable ForceDoze ??

Open Terminal type " su " and hit enter. Then copy and paste this command to terminal " dumpsys deviceidle unforce " hit Enter !

Is Any Gapps for Battery Saving ? Is Any AudioMod With Latest Dolby and Viper ??

Click the Link :- https://xdaforums.com/redmi-note-3/themes/rootkk-oreofire-audiofire-gapps-t3760848

Some Real Screenshots taked from my Mobile With ForceDoze Enabled !!​
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] agriculture:
awsome gonna try it
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Crayvolt:
interesting a must try :)
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Sampath521:
Best For Battery Saving. 0 idle drain in bootleggers. Good Work:svetius::svetius::svetius:

Btw how to disable Google DNS which made my internet rather slow:confused:
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ramakrishnan ?:
Delete build prop lines like xxx=8.8.8.8 and xxx=8.8.4.4 and reboot.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Prome_theus:
Do we have to enable forcedoze everytime after reboot.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] ylaandroid:
is it working with miui?
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ramakrishnan ?:
Yes
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] scrubjay55:
Another build prop tweak zip from 2012 how nice (: Those lines will not do any good other than bloating your build.prop.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] dhiraj1234:
Work With OREO ?
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ramakrishnan ?:
Yes works with Android 6.0+
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ramakrishnan ?:
Ohh nice . . its not only build.prop tweak check the Features
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] KaciPL:
Any chance for replace Google DNS to Cloudflare DNS?
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ramakrishnan ?:
Change these all value like below in build.prop lines under Google_DNS Heading

8.8.8.8 to 1.1.1.1

8.8.4.4. to 1.0.0.1
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] paul89rulez:
Working fine here, using with your gapps. Tx
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ethelwald:
Awesome!! Looks really good, I will try this.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] onionchibi:
i have google services on battery optimization, should i use this mod?
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ramakrishnan ?:
Yus
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Kuchayhilal:
Will it work on Redmi 3s ?
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ramakrishnan ?:
Just Notice the Word On Heading "Universal" . . . that means working with All devices ?
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ramakrishnan ?:
Just Notice the Word On Heading "Universal" . . . that means working with All devices
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Kuchayhilal:
Waited 3 minutes but not getting through this.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Kuchayhilal:
Not worked for me, lost about 7% battery during night.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ramakrishnan ?:
If u not getting deepsleep with this mod then ur kernel problem. so use any custom kernel or Different cpu governer from ur kernel.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] onionchibi:
Do i need to do this every time when my device restart?

Or i just enable by type command to Terminal?

Sorry for my bad English
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ramakrishnan ?:
Need to execute on every boot.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] onionchibi:
U mean both every time when restart ?

Use kernel adiutor to active and type command to enable?
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] c_/\/\_k:
Same Problem.... +1 :good:

Rom- RR Oreo 16/04 build + Agni Kernel 12.7
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] dev1996:
I am using agni kernel..but still it does not work. It says light state: inactive deepstate: inactive

View attachment 4484629
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ramakrishnan ?:
Ooops . . if u have kernel auditor then execute script only no need to do other things . . if u dont have kernel auditor then u need to copy and run that commands on terminal.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ramakrishnan ?:
I think rom problem.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ramakrishnan ?:
Ya state will inactive don't worry u need to check mforceidle option only not state .read faq !
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] c_/\/\_k:
Not working... Miui 9, Nougat niether Oreo... You should have an option of 'Very Bad' in your Poll tooo..
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Sree2k:
Well working for me
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ethelwald:
Same here, working fine
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] darrenlimch:
Hmmm, will it kill our background service like whatsapp? I worried i couldn't receive any notification if i hse dozemode
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Ethelwald:
Doesn´t affect Whastapp or email apps. You can still recieve any kind of notification even if it in Doze
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Sanara1:
Can anyone else post battery stats?

BTW installed yesterday night,not sure whether it is working.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] raj1998211:
[MENTION=4344592]ramakrishnan[/MENTION] Dev, How did you got crazy idle drain of 1% and SOT in post 2? I follwed the guide but battery is still draining in RR oreo ROM. stock kernel.

Any suggestions?
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Adolamin:
Edi: nvm
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Chrisis25:
i read it late but in my case is the same...

with MIUI oficial (MM) i lose 1% max. at night and with RR Oreo i lose more (5% approx. less or more).

The problem es google play services (i think).

I dont know if other Oreo Rom (or other gapps) are better, only try with RR O with nano gapps.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] vexa:
Thanks dev, i have zero battery drain in idle. Just installed this mod couple hours ago, and couldn't be happier with the result.

Currently on AEX 4.6 official with official micro gapps, and I still receive all notifications: WhatsApp, emails, calendar reminder, etc.

For those using oreo, I think the problem is within Oreo itself. I've tried some Oreo ROMs: AEX official, NOS (both official and unofficial), lineage, and all of them gave me significantly worse battery consumption compared to nougat ROMs. I almost replace my current battery couple weeks ago when I'm still on Oreo because my device is 1++ year old and I thought it was dying, but once I'm back to nougat (currently on AEX 4.6) I'm pretty sure my battery is fine.

For those struggling with battery consumption, I'd strongly recommend nougat ROM + this mod.

***UPDATE***

After 5 days of using this mod, I realize my phone didn't receive most of my WA chats. Even some calls doesn't ring and I'd never receive them until I manually open WA. This gave me serious problems with work and family. Currently I'm not sure what causes this because I know push notification should work with doze, so I excluded WA on battery optimization. If I still not receiving WA chats and calls, I'll remove this mod. Sorry OP, I can't afford to lose my job, nor my connection with family for slightly better battery life.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] DarthBenro008:
Does this solve the Mobile Network Standby?

Hey dev,

Thanks for this MOD ! but unfortunately the "Mobile Network Standby" still drains almost 10-15% with this MOD , but its better than the 30-40% without the MOD , is there any other way to minimise this drain?

Device: Redmi Note 3

ROM: Aosp Extended Oreo 8.1

Kernel: Agni

Thanks in advance!
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Chrisis25:
If you use 4g try with 3g, in some countries 4g not is full supported with RN 3 PRO and in other countries not have good singal... Try with 3g :)
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] DarthBenro008:
Oh thats something new .

I will try it in 3G and will let you know!
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Jackwu696:
Hai. I flashed this mode on my Kenzo running xiaomi eu roms miu 10 and.. it broke all my terminal and even playstore.

1. After flashing mod in Twrp opening Terminal Emulator only show blank black screen. (Same with kernel adiutor)

2. Installing app from playstore only shows download but no installation progress/completed notice. (After reboot the installed app then appear)
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Clifton1933:
Light & Deep state inactive.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] subhraxda:
Install help

Anyone helping me how to install that??
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] Phemtpon:
when i run the script i got this message

Results - Light state : idle , deep state : inactive.

that means the script worked?
[Xiaomi Mi A1 Questions & Answers] enban:
I'd like ti buy this phone for my wife. I wonder if it supports alarm when in "off" mode. My Honor 9 turns itself on when scheduled and the alarm rings. Can the Mi A1 do the same? I googled a bit but couldn't find a definitive answer...

Thanks a lot!
[Xiaomi Mi A1 Questions & Answers] ludlum123:
No. I was late once because the alarm didn't ring when switched off.
[Xiaomi Mi A1 Questions & Answers] piergi65:
This is one feature lost with Oreo update, in Nougat there was a specific item in "Settings" to power on/off the device at given date/time (all chinese phones have that option), you so could turn on the device 5 minutes before the alarm.

Please use the "Feedback" app to claim this feature back (as I've done every Oreo update)
[Android Software Development] Ramakrishnan ?:
After Some Deep Research on google about Doze i got some usefull Real information about Doze and how to activate it systematically without any help of third-party Doze applications.

Doze is Freez Apps and other unwanted sensors when device is idle. It will put your Mobile Deep Sleep Mod when idle. This is the Usefull feature for Android. You can see the above image if Doze is Active On your Mobile then you can avoid battery drains when your mobile is idle. OK its enough for User to know about Doze. Now i can explain what are the features have this Mod. . .

***** Features *****

* This Mod enable Force Doze Systematically with help of init.d Script.

* Added Some build.prop Tweaks For DeepSleep and Power Saving.

* Doze service added for Extra Support to Doze.

* This Mod Enable Battery Optimizations to Google Play service. So Doze will be Applying on Google play service also.

* This Mod disable Unlimited data usage to GooglePlayService. So you can avoid the background data leaks by Google play service.

* This Mod disable unthrottled locattion access to Google Play service. So it will not get acces when device idle.

* This Mod Enable Google_DNS server For Faster and Secure Internet.

Users Script For Enable ForceDoze :p !!​

#!/Users:)/watch:eek:/Read:o/execute:D

# This Script Will Help Users To Activate ForceDoze

If [ You have Kernel Auditor ]; then

Open Kernel Auditor and go to init.d tab then select "ForceDoze" Script and click Execute. After Execute One Message will Popup then click back button Twice and exit from Kernel Auditor. Now ForceDoze is activated Successfully On Your Device !!!

else

If you don't have kernel auditor then Copy the Script from /system/etc/init.d/ForceDoze to your internel storage then execute via other Script Runner. If u don't have any script Runner then open Terminal type " su " hit enter after open ForceDoze by using any text editor. It have Two commands so copy and paste it and hit Enter on Terminal Emulator One by One before Doing this . Now ForceDoze is activated Successfully On Your Device !!!

fi

(NOTE:- You Need to Do this On Every Reboot because ForceDoze will disable After Reboot. So U need to Execute the Script Manually on Every reboot for Enable Force Doze)​

*** Downloads ***

Universal ForeceDoze + Deep Sleep + Google_DNS

https://www.androidfilehost.com/?fid=818070582850503953

Universal ForeceDoze + Deep Sleep + Google_DNS Uninstaller

https://www.androidfilehost.com/?fid=673956719939830908

Flashing Procedure :-

* Go to TWRP

* Flash This Mod

* Wipe Cache and Dalvik cache then Reboot !

* (Must Do) After Reboot U need to do One Thing Manually for Enable ForceDoze. Read the above Users script and Execute.

*** Credits ***

[MENTION=8656312]Ramakrishnan ?[/MENTION] (For Making This Mod)

Cyanogenmod (For Doze App)

Google (For Informations)

*** Enjoy :D ***

*** If its Usefull For You jusy Hit Like Button :good: ***​
[Android Software Development] Ramakrishnan ?:
FAQ :-

How can i know ForceDoze is Active on my Device ??

Open Terminal type " su " command hit enter then copy and paste this command on Terminal " dumpsys deviceidle " and hit enter and check the line mForceIdle=true. If its Value is true then ForceDoze is Enabled on your Device :).

How to disable ForceDoze ??

Open Terminal type " su " and hit enter. Then copy and paste this command to terminal " dumpsys deviceidle unforce " hit Enter !

Is Any Gapps for Battery Saving ? Is Any AudioMod With Latest Dolby and Viper ??

Click the Link :- https://xdaforums.com/android/software/rootkk-oreofire-audiofire-gapps-t3759548

Some Real Screenshots taked from my Mobile With ForceDoze Enabled !!​
[Android Software Development] Mkkt Bkkt:
My mForceidle=false , after installing , how to activate???
[Android Software Development] Ramakrishnan ?:
Read the OP user script for enable ForceDoze !
[Android Software Development] Mkkt Bkkt:
So you need enabled it manually?? What does the zip flash do then ? Just copy two files?? :eek:
[Android Software Development] Ramakrishnan ?:
First Read the OP Features then u know what is this mod do after flashing zip . ..i can't explain again and again if u don't have time to read the Features then don't use this mod !

(Note :- Read the thread fully before post anything )
[Android Software Development] GuestK00419:
Difference

What is difference between your solution and ForceDoze app ? ForceDoze aims to enable doze after screen off... Only small disadvantage is that it runs Service in background... :rolleyes:
[Android Software Development] Gentilsatan:
People will not be able to read a whole thread .. Fortunately there is only one page .. You do not want to explain again and again ? Do not post in xda then ! It's just the beginning ..

Cordially
[Android Software Development] Ramakrishnan ?:
Ohh nice . . . then u need to go away from xda because all users Reading thread fully before asking help but u don't read anything in op asking help only its a big joke and u can't use any mods on xda without reading thread only download and flash . . and i am giving full instructions on OP if u don't read OP then go away from my thread and xda and i"ll not reply to ur messages (useless) ! It's just the end message for you.. .

(Note :-One More thing You are not a moderator to stop me to posting thread on xda funny guy)
[Android Software Development] Ramakrishnan ?:
First this mod not have any forcedoze app and Force Doze means More Aggressive than normal Doze.
[Android Software Development] Mkkt Bkkt:
Your mod should auto activate after flashing tbh.
[Android Software Development] Gentilsatan:
I don't talk about me to start .. but in general .. I never said that I'm moderator .. And to finish, keep your mod, I don't hang around with arrogant ..

Cordially, again
[Android Software Development] Ramakrishnan ?:
This mod automatically enable battery optimization to google play service, Enable Google_DNS server and its place the Force Doze commad to init.d folder for excecute easily . . is u think excecuting is a bigg process its a simple thing . . if u don't want to do that (A simple process) then don't try my mod.

(Note :- That commands not excecutable via Recovery only u can do it with Terminal or other scripts runner . . hope now you are clear about that commands)
[Android Software Development] Junnie:
Unknown command force-inactive

Dumpsys device idle :

mForceIdle=false
[Android Software Development] Ramakrishnan ?:
Apply this command and check !

dumpsys deviceidle force-inactive
[Android Software Development] d_fens:
i like your mod, but for me its a little bit to agressive. for example my clock in statusbar now only "syncs" around every 15min, thats quite bad. besides of that everything seems working
[Android Software Development] Ramakrishnan ?:
Time working fine for me . . anyway Turn on battery optimization for below apps one by one and tell.

com.qualcomm.timeservice, AndroidSystem, System UI, Shell
[Android Software Development] Syntr@nic:
Try

dumpsys deviceidle enable

dumpsys deviceidle force-idle deep

Works for me.

HTC One M7 LOS13
[Android Software Development] Ramakrishnan ?:
This will break the time update.
[Android Software Development] Syntr@nic:
Who needs time? ;)

But you are right,

"dumpsys deviceidle force-idle deep" was a dumb idea.

But:

"dumpsys deviceidle force-inactive"

says

"unknown command".

Is that a bug in marshmallow?

Is there an alternative?
[Android Software Development] Ramakrishnan ?:
Idk i am tested on Oreo only working fine. . !
[Android Software Development] ivoxda:
Hi bro,

I try on Xiaomi mi Max hydrogen RR 6.0.0 Android 8.1.0 and active..

Im wait few hours and make update and screenshots later

Regards

Enviado desde mi HUAWEI M2-A01W mediante Tapatalk
[Android Software Development] Mkkt Bkkt:
Can you change Google DNS to cloudflare 1.1.1.1 ? https://1.1.1.1
[Android Software Development] ivoxda:
Hi Bro,

This mod work perfect on RRemix 6.0.0

Its a solution for battery and deepsleep bug on custom ROMs Oreo..

thank u vmuch and thanks for share

This mod and background restrictor its perfect for Oreo IMHO

Regards

Enviado desde mi Mi Max mediante Tapatalk
[Android Software Development] ivoxda:
Screenshots

Hi Bro,

This mod work perfect on RRemix 6.0.0

Its a solution for battery and deepsleep bug on custom ROMs Oreo..

thank u vmuch and thanks for share

This mod and background restrictor its perfect for Oreo IMHO

Regards
[Android Software Development] Ramakrishnan ?:
Will change when free
[Android Software Development] Ramakrishnan ?:
Enjoy . . . just hit like button if its usefull for You :)
[Android Software Development] MM.626:
this completely breaks my deep sleep on RR6.0, had to uninstall this mod to restore deep sleep
[Android Software Development] ivoxda:
Bro,

u sure no background apps? I use background restrictor from xda labs

U try,i have good results..

Regards

Enviado desde mi Mi Max mediante Tapatalk
[Android Software Development] MM.626:
The purpose of doze is to keep apps in background and periodically syncing while deep sleeping to save more battery, sure I will get 100% deep sleep if I restrict every background app. :)
[Android Software Development] icysnowy:
You can test this by open and re open messenger bubble, after flashing this, whenever I reopen bubble, it said "connecting" then "connected"

---------- Post added at 10:54 AM ---------- Previous post was at 09:54 AM ----------

Another things. Your mod is good but my status bar clock ontime every 10 minutes, so I must use my launcher's clock. How to fix it.
[Android Software Development] Al.Mamari:
what should i do

when i select "ForceDoze" Script and click Execute it showed me that it is in inactive status
[Android Software Development] Ramakrishnan ?:
For me its works fine . . i think rom issue.
[Android Software Development] Ramakrishnan ?:
Ya state will inactive don't worry about it . . just check mforceidle option only for more plzz read faq !
[Android Software Development] msiquara:
on GSam it says my device only stays on light doze, never goes deep sleep.

what can I do?

thanks :)

ps: I'm using a moto g5 with liquid remix 8.1 and magisk
[Android Software Development] Danoz88:
For me this is too aggressive. After install I have problems with clock sync and notifications sync (they came delayed).

Standby battery drain is great but I don't want this with these disadvantages:crying:
[Android Software Development] m1kh41l:
Can you make forcedoze without Google DNS?

Because I can't login to public WiFi if using DNS

Thank you
[Android Software Development] deba/genesis team dev:
Thank you

i am tested on Oreo->working fine[

Working fine
[Android Software Development] omkolte17:
You should probably wanna change the spelling from "ForeceDoze" to "ForceDoze" in post 1
[Android Software Development] Fahrilubis:
How to change mdeepenable=true to false? Cause in deepsleep mode i cant get notif in whatsapp
[Android Software Development] omkolte17:
Try adding WhatsApp to ForceDoze Whitelist.