yashsingh1/xdaforums huggingface dataset:
[Magisk] abraden80:
I'm definitely interested now, I may try out your tweaked version. But could you explain the first part some more? Does this mean that even when an app is optimized it was still allowed internet access even when not actually running, but you disabled that so that it won't? Thanks
[Magisk] otonieru:
Hi [MENTION=5228676]VR25[/MENTION]

I used to do that actually,

Unfortunately, in my experience, those extra mod causing my download of playstore update (for example) stopping itself if the screen goes dark, or i put the play store in the background,

Sometimes i download a big game which failed in the midle, lol,

Thats why i didnt include it,

But for people who didnt do much of background downloading, thisnmay be useful, and they can use it accordingly ;)
[Magisk] VR25:
Actually, that doesn't include Doze alone.

otonieru took care of the Doze part and that was the greatest move.

When Doze kicks in (after about 30 minutes of idle time), that's it. It blocks all these annoyances I tweaked.

However, while Doze is still waiting to kick in, those apps (i.e., Google Play Services & Store) have unrestricted access to network and resources, even when data and battery saver are turned on (which makes no sense to me). Essentially, the optimization doesn't affect that period of time before the 30 minutes mark. So, those hungry apps bypass data & power saving restrictions by default while Doze is waiting to kick in.

That's where I sneaked in and made some changes that actually make more sense.

---------- Post added at 04:45 AM ---------- Previous post was at 04:44 AM ----------

You're right. That may not be for everyone. It just makes it easier to save some juice while traveling or when you're lost somewhere in the woods. I just like to have more control over my system. :p

Edit: Downloads are not interrupted. I didn't block Download Manager. Tested with screen off. No issues. The point is, data & power restrictions apply as they should when you enable battery saver &/or data saver, not the other way around, as that would be a problem.
[Magisk] suku_patel_22:
Dues the background connections get blocked only with battery saving enabled?
[Magisk] kojak1989:
Awesome, works great !
[Magisk] simonsmh:
com.google.android.ims is missing in the XML file.

FYI, the Google.xml file is different on every devices. The best solution of modifying files is not doing a general replacement, but using regex tools.
[Magisk] VR25:
Or when using data with data saver enabled (includes restricted WiFi). So, background data works fine as long as you don't restrict it with battery saver &/or data saver. That's the way it should've been by default. Note: Doze will still block everything that is optimized, regardless of battery/data saver state, but it takes about 30 minutes of idle state to kick in.

That line is not present in the latest Beans GApps Mini. Also, I didn't delete any lines, just converted them to comment lines.

Edit: I assume com.google.android.ims only exists in GApps variants which include that app.
[Magisk] kend0g:
Hey im on htc10 leedroid 3.7.0, I just tried the dozegms+ module and after reboot my "power" and battery settings disappear. Only thing I can get to is battery optimizations from greenify. I cant even get into the extreme battery saver, the icone in the qs is disabled and greyed out.
[Magisk] Noob02:
How about super su?
[Magisk] 24imelqui:
Select the zip with TWRP, that should work for supersu
[Magisk] tibere86:
I flashed the Dozegms+ module on my unlocked HTC 10 stock ROM 2.48.617.11 and it worked perfectly! No negative issues. All power & battery settings work. Many thanks [MENTION=5228676]VR25[/MENTION] for the module.
[Magisk] kend0g:
That's weird I'm gonna try it again.. And.maybe.with stock too
[Magisk] Freezy202:
Can you make a twrp flashable zip?

Thanks in advance :)
[Magisk] mauam:
Zip is already attached. If you have some free time read this about the "thanks in advance" thing.
[Magisk] Freezy202:
That one that is attached is only for magisk. At least the flash process in twrp tells me. But I don't use magisk anymore. Instead I use supersu.

I didn't want to sound rude. But thank you for the explanation :)
[Magisk] smohanv:
Very much works on LG G5 UX5.0 and UX6.0
[Magisk] VR25:
Done.
[Magisk] zsandras:
Hi [MENTION=4066277]otonieru[/MENTION], can you help me please to understand:

1. has your DozeGSM module same effect as https://xdaforums.com/galaxy-s-advance/themes-apps/share-myandroidtools-guide-to-disable-t2869119 or

2. is it usefull/ non sense to use both at the same time?
[Magisk] otonieru:
Disabling GMS in a specific way (per services) just like explained in that guide is a "deeper" way of saving battery,

In my experience, It can save more battery, but it has higher risk ask well, since you need to understand what are you doing. Disabling too many services can lead to crash and stuff stop functioning.

This DozeGMS module intend to limit the Google Play Services in a lighweight way, by not tampering the services itself too much, but by only using the native Doze mechanism that already implemented in the OS itself.

You can use both together. I do disabling some services manually myself (like EventLog, Analytic and CheckIn )

Another mod you can do/use together is Agressive Doze (can be done through L Speed, Greenify, ForceDoze etc) which trigger Doze in minutes/faster instead of hours. It can maximize the effect of this DozeGMS module
[Magisk] zsandras:
Thank you for the quick replay i just edited my post
[Magisk] aocboe:
nice work
[Magisk] jbm76:
I can't get this module to install - I keep on getting installation error.

I am running magisk v12 on HTC 10

Tried to download twice.. I'm downloading rev 3 from the op.

Any ideas?
[Magisk] otonieru:
You are not happen to be using twrp version on magisk right ?

What is written in magisk log ?
[Magisk] jbm76:
Nope - it was 10k in size, and I checked it had the module.prop inside.

The log says-

MagiskHide: [com.google.android.gms.unstable]
[Magisk] otonieru:
After installation error, try to refresh the module list, by dragging down the page,

few times, i experience installation error on other module, only to find out that it actually installed,

by refreshing the module page, the modul actually appear,

and after reboot, it work.

Btw,

magisk log shoukd show MagiskHide : unmounted bla bla bla if you turn magisk hide on.

If it stop only at gms unstable, it mean there's something wrong with the magisk installation itself,

do you currently able to pass safetynet check ?
[Magisk] jbm76:
Yep it was able to pass a safetynet check... I tried another module and it did the same thing.

So started fresh and reinstalled magisk and it worked first go :)

Thanks for your help!
[Magisk] linozoid:
im done install this module.but how to toggle the setting for it. im meant,how to optimize google play service itself. i cant find it in battery optimization setting. im using oneplus plus 3 stock OOS firmware...
[Magisk] der_Kief:
... is there an uninstaller for TWRP version ?
[Magisk] VR25:
Here you have it. :)
[Magisk] badlipe:
Same here on oneplus 3T :confused:
[Magisk] KlamKhowder:
A quick tip for anyone using an Oxygen Os Rom an a OnePlus device, I recently installed this mod and like others in this thread could not see Google Play services in the battery optimization menu. I also happen to use the app called "Naptime" that helps manage doze settings a bit. When I opened Naptime and clicked "battery optimization" it gave me the optimization list but this time had system apps included. I was able to scroll down and find Google play services and it had already been optimized.

So I think its safe to say that this module is compatible with OOS.
[Magisk] otonieru:
You can do the same using greenify if i recall correctly...
[Magisk] VR25:
There are no settings/toggles anywhere. This module's philosophy is "install and forget." Of course, you can still disable it from Magisk Manager.
[Magisk] badlipe:
You're right, but I've finally found the place where you can check in Nougat if it is really optimised. It's through greenify -> settings -> aggressive doze -> white list -> all apps. In the list you should be able to find Google play services already optimised.
[Magisk] yochananmarqos:
That's just a shortcut to Settings > Apps > gear icon > Special Access > Battery Optimization. You'll see GPS is missing from the Not Optimized section.
[Magisk] badlipe:
For Oxygen OS it is not there, I couldn't find it in any other place apart from greenify's white list.
[Magisk] Bob823:
It's in the exact same place on oos. :confused:
[Magisk] badlipe:
Not in beta 8 for OP3T
[Magisk] Bob823:
Ah, okay. I'm on stable right now (OP3), that seems to have a different structure. Wasn't it in the battery menu somewhere? Top right corner menu? I was running​ open betas before as well and had to search all over the place after switching to stable build. :eek:
[Magisk] badlipe:
The thing is: Battery menu doesn't show system apps
[Magisk] der_Kief:
is this for your mod version or for the original by otonieru ?
[Magisk] VR25:
It's for Both.
[Magisk] WuNgUn:
Can you make the module available for Magisk v13 beta please?
[Magisk] Neejay:
Seems to be working for me, and I'm on v13 beta
[Magisk] kend0g:
me also. some people where saying the install modules in the manager wasn't working. so at first I just installed the modules through twrp, but I just installed a module through magisk manager, works like always.
[Magisk] VR25:
I tested it in v13 already. No need to change anything. It works out of the box.
[Magisk] otonieru:
v13 is fully compatible with the module.
[Magisk] Adhil Rahman:
Does it really save battery
[Magisk] otonieru:
No it doesnt =b

Well, what about trying it yourself and tell us your experience ;)
[Magisk] WuNgUn:
Installed module from Magisk.... Asks to reboot... Reboot and it isn't installed... Try to reinstall and gives error. Will try flashing from recovery...?
[Magisk] otonieru:
There's chance that the magisk itself is having trouble if that's the case

Try reinstall magisk as well
[Magisk] WuNgUn:
Flashing from recovery installed the module
[Magisk] zsandras:
Thanks, thanks and again thanks! Done it as you said. Now device in standby, using Greenefy Aggresive Doze, the BetterBatteryStats apk shows 04%/h battery consumption. Since last MM rom with Xposed had no same result.
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] StoneTrapper:
Suggested display calibrations:

VIVID

Red - 246
Green - 239
Blue - 240
Min RGB - 35
Saturation - 58
Hue - 0
Screen value - 126
Contrast - 139

This is pretty over-saturated.

Post your suggested calibration and have it added here!
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] super10:
This is what I'm talking about a big thank to this great team for this awesome rom
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] nickname_pot:
:) Thanks bro, Thanks RR team
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] pvillasuso:
Download link is down

404 not found

:(
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] rodriz:
Download link is down

404 not found

Can't find it!

Seems like that URL doesn't exist. Or at least we can't seem to find it. We've even looked under the seat cushions and zip, nada, nothing.
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] julyaann:
404 not found -:(
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] StoneTrapper:
Thanks for the heads up all. Link fixed.

For now, all versions can be found here.

Hopefully android file host will have a Mi Note 2 device listing soon so the Redmi Note 2 won't have to be used. (Device request has been sent)

I'll update this post when that happens
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] hondajohn88:
Does this ROM support eye ball retina scan? ?

Excellent job on this man! ?
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] meuhmeuh51:
big thanks ????
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] Kris Chen:
This ROM is much smooth than lineageOS after trying it.

Until now, I haven't seen any significant bug to make me unable to use my phone.

Great Job !

* I can give MIUI away finally ...
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] nickname_pot:
can not connect to internet

Could you please remove the startup network cheking ?

I'm in china and just have no way to connect to VPN or something else to be able to connect to google, so I'm stuck at the configuration screen

Thanks!
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] elcom:
Thank you very much for your effort, I highly appreciate it. Will install and report bugs (if any).

Thanks again.
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] StoneTrapper:
Can you try not flashing gapps until after going through the Setup Wizard?

Without gapps the startup wizard should have no requirement to connect to google. So you'll be able to enter Settings and customise connection settings, then flash gapps and add the account.

Another alternative is having a VPN enabled on your router and using WiFi.

Let me know the results either way, if further changes are needed I can look into it but it's gapps presence that change SetupWizard so it's a little out of my control.
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] korps1972:
thank you
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] gimpbrush:
hi i test the rom 20170520 version some lags in small game (clash royale) safety net not working for pokemon. but the animation or program are without lags.

update after flashing xiaomi safety net it works
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] StoneTrapper:
SafetyNet is enough that Play Store will show SafetyNet restricted apps. At the moment it's just Netflix but will change. The Magisk Module doesn't seem able to do this.

It does seem like things that do repeated checks, e.g. Android Pay and Pokemon Go, do need the Magisk module as well at the moment.
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] philipp900:
thank you for this great ROM.

It allows a lot of configuration.

I just installed it today and will test it intensivly the following days.

No bugs encountered so far.

Is this a port of an existing ROM from other device?

Where can we request additional features?
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] skw5115:
Front Facing Camera upside down on latest release for everyone else too?
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] N3OMOD:
That could very well be a potential culprit: to be sure you could try disabling both services access to notifications and see if you notice any improvement.

---------- Post added at 05:04 PM ---------- Previous post was at 04:16 PM ----------

Actually there is also another option, sorry I just noticed it: in Settings - Configuration - Rapid Settings (sorry if the translation is not perfect, my system language is Italian) you can find a "Fast Descend" option where you can disable the Animation for the Notification Center pull-down action and also enable the "Fast Descend" option. :fingers-crossed:
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] santiago3445:
Adaway

Adaway dont work please fix this problem mi note 2
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] sleviz:
For me work flawlessly

Inviato dal mio Mi Note 2 utilizzando Tapatalk
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] mcn1970:
except maybe camera in whatsapp
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] sleviz:
He was talking about adaway app. The camera in Whatsapp it's a known problem

Inviato dal mio Mi Note 2 utilizzando Tapatalk
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] Bozolino83:
Actually, I noticed a camera problem in some apps (whatsapp etc.), including the native camera. To get around, I'm using other camera apps (FV5). No, it's perfect! Congratulations to the developers! Thank you
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] KOLIOSIS:
[MENTION=5561203]StoneTrapper[/MENTION]

I've sold my MiNote2 & just wanted to take a moment to thank you for giving us this awesome ROM,it's made a good phone great.

It wouldn't be out of the realm of possibility to get back into this phone @ a later date,unless Xiaomi continues this line w/the MiNote 3.

If so,I hope to see ya in the neighborhood & again,thanks for porting this ROM to the MiNote2,it's greatly appreciated.
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] pryggi:
Hi, has anyone tested the 360 degree photo sphere mode in Google Camera? I would really appreciate if someone would take 5min to test and posts or PMs some sample spheres that I could review. TIA.
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] feralt:
Thanks it's the perfecto ROM on battery and very cool but i try a clean flash but always the campera take zoomed photos i Focus a objet the take the photo but after the shot the image get zoomed i try with diferent camera apps but i cant solved any solución?
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] mcn1970:
i use Opencamera without problems
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] sleviz:
With kernel adiutor you can change this value:

Persist.camera.hal3 from 1 to 0, reboot the phone and now whatsapp camera will work flawlessly

Inviato dal mio Mi Note 2 utilizzando Tapatalk
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] elcom:
Very nice. This worked.

What does it do? Does it affect the camera in any way?

edit: Found out that this disbales camera2 api.
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] sleviz:
Yes actually mi note 2 is not compatible with camera 2 api

Inviato dal mio Mi Note 2 utilizzando Tapatalk
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] feralt:
How ?

How can disable that?
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] feralt:
Thank you i solve it i try this rom again i hope see new updates soon
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] elcom:
look at sleviz's post above.

You have to edit the build prop.
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] N3OMOD:
Yes, the behaviour you are describing is typical of those apps that do not support/implement the Camera 2 API and thus are not directly usable on RR.

Aside from the give solution (kernel auditor) this is my experience.

Integrated camera app (cyanogenmod.snap) doesn’t work for me so I switched to 3rd party alternatives.

As for the usable apps, I think I have tested almost every one of the photography apps available on PlayStore and this is my experience so far.

Please Note: the list is order by personal preference according to the functionality-vs-features ratio, without considering free-vs-paid apps. If I didn’t mention some app quite certainly is because I tested it and it doesn’t work.

1)	Camera FV 5: my favourite app when I have the luxury to spend a few seconds adjusting the settings before shooting. Results are very good, and High ISO rumour is low. Settings, however, require a lot of practice.

2)	Camera 2 API: is the only application capable of shooting and saving a RAW file on Mi Note 2! But this is the only advantage: UI is barely minimal, settings are way too simple and view finder has a “bug” that creates a “slow motion” like preview after first RAW shooting.

3)	Footej Camera: a real surprise, this is my favourite “point and shoot” app both for photos and videos.

4)	A Better Camera Unlocked Pro: despite many disregarding this app I found It to be a nice balance between functionality and customization. It allows nice shots “on the fly” with a good level of personalization when you have time to “calibrate” a shot. The only drawback is the atypical disposition of toggles and menu: they require a good practice before being able to recall them “on the fly”.

5)	Google Camera(+): it will work upon a fresh install and it’s the perfect solution, in my opinion, for quick shots when you need to “aim and capture” without thinking twice. A minor drawback is that it performs better in direct light than in shady environment.

6)	Open Camera: a classical choice albeit not my favourite since latest updates. Many advanced features have been “smoothed” to meet general public requests and now it’s just a basic camera app with a weird menu. Most importantly thou it appears to work erratically with Camera 2 API: sometimes installing another camera app (like the previous ones) causes Open Camera to reset and cause the “zoom-after-save” error.

7)	Z Camera: a little application intended mainly for fun, very easy to use but with a modest outcome.

8)	CameraFi2: potentially it could be a great camera application but I honestly refuse to consider it a viable solution due to the hilarious high price required for an annual subscription! It’s much easier to grab my DSLR a take a shoot instead. Also, there is no “trial version” to evaluate all the functions.

(+) While writing this post I noticed this: https://www.xda-developers.com/google-camera-hdr-ported/

It would be marvellous to have this version inside RR! I tried installing it, after a complete removal of the bundled one, but it won’t even start. On stock MIUI the app runs without problem.
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] feralt:
Fronteras camera

Now they front camera it's upwards
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] feralt:
Thanks a lot but...

Now i have a god camera but the front camera its inverted i almost give up whit this rom,its so beautiful and more eficient forme than miui just need a front camera working fine

any solution?
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] StoneTrapper:
If you disable HAL3 this is a side effect. You can edit /system/etc/camera/msm8996_camera.xml and change the front camera rotation from 270 to 360.

I'll put together a flashable zip and out in in OP.

Thanks to [MENTION=5599497]N3OMOD[/MENTION] for the list of a camera apps that do function well leaving HAL3 enabled.
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] HibbanNn:
Front Camera upwards

I love this ROM very much.. but camera still have a bug

i've a request btw...

can you make NX Google Camera Mod at this thread works?

Thank you. :fingers-crossed:
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] StoneTrapper:
HAL3 Disabler zip added to OP.
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] mikhailmv:
Installed the lasted ROM in this order:

1.Complete wipe

2.The ROM itself 5.8.4

3.The firmware 7.7.6

4. GApps

First boot always gets stuck.

Have to power off/on during first boot. Second time it boots.

Right away Gallery has stopped working.

The same if I reset after installing this rom.

The camera does not work at all (the preinstall app does not open, the third party app shows "Cannot open the camera, camera is in use")

The call sound is ridiculously low both through the internal and external speakers.

On the previous build from 07.23 the only problem so far is a very low sound volume during call.

Thanks
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] tg70197:
I have same issue
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] StoneTrapper:
First boot will always take a while, maybe 10 minutes or so.

Left in a camera derp from testing, my mistake. Fixed with 0816 build.

Though video recording at 4K is currently causing FC with included cam.

I'll look at the call volume,
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] Kris Chen:
Feedback here after flashing ROM 0816: If you have problems as mine below, please follow OP to flash SCORPIO_HAL-3_Disabler then fixed.

(1)Two buttons you have after opening camera app;

(2)Picture is inversely after taking selfie picture;
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] Kris Chen:
But another small problem is coming : The ROM date has been changed into 0814 after flashing SCORPIO_HAL-3_Disabler.

It may be or may be not ...
[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] mcn1970:
every few hours the SIM1 card is shown empty in settings and dissappears from status bar. restarts solves it but I miss important calls. any solution?