yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
I literally just formatted data and clean flashed 0719 build yesterday, didn't restore any backups, and went through the whole Google initial setup. I can confirm everything is working fine. Therefore, like I said, follow the flash guide, step by step, and do it again. In case you missed it, there are only 5 steps, and the third one is
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] TiraelSedai:
Came to PE from LOS, and this firmware just feels amazingly smooth, probably have something to do with refined Pixel animations. Anyhow, big thanks for the developers. My 2 years old phone feels like I just bought it yesterday.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Update

2020/08/18

- Etude kernel:

* Linux 4.9.232

* built with latest Clang 12

* wireguard 1.0.20200729

* disabled LLVM Polly

* merged some loop device backports from upstream

* some scheduler changes on idle load

* upstream on mm, qspinlock, and arm/arm64 specific libs

- created dummy perfd client so that proprietary perfd blobs can be removed while keeping goodix fingerprint sensor functioning

- disabled kpi_optimize in audio extension because it tries to call perfd and spams logs when failed

- re-introduced an updated qti-telephony-common injection to polaris

* this fixed mms issue on some Korean carriers

- dropped wifi-ext

- Updated APNs for Chinese carriers and fixed "HD" capable notification spam

- Bumped Vulkan feature level to 1

- Enabled 802.11r Fast BSS Transition and increased max BSS count

- Enabled unspecialized app process pool

**Feature update highlights:**

- August security patch (android-10.0.0_r41)

- Reworked incremental update so that now it should work no matter which version of recovery you use and whether it supports system-as-root or not.

- PE Plus: Introduced expanded volume panel

Download: https://download.pixelexperience.org/polaris
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] foxoes:
Could I install the incremental package from 7/19?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
That's exactly what you should do.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] denchikvtapo4kah:
All changes in PE also apply to PE Plus?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] mztq:
JFYI pixel widget with date and weather still doesn't show upcoming calendar events.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] shiripok:
Speakerphone is very quit

Dear developers,after the last update speakerphone in calls works very quit.

------

And also I noticed that the level of a sound on the hole (but not exactly) became lower.

Thx for attention!
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Yes.

Yes.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] ragenie94:
Poor Idle Battery Life

Hi I installed the ROM 4 days ago and I've been having really bad battery drain when idle, it would drain around 2 - 3% every half hour. During this time, I noticed new PE build 18/8 was released, I haven't installed that yet unfortunately.

Power consumption when I'm using the phone is great though, even if it's screen's off such as streaming Spotify, so I figured the phone can't get into deep sleep when it's not doing anything.

I have BBS installed, and I can say for sure having WiFi connected is the culprit

- WiFi off, "Awake (Screen Off)" would be around 5% (3% battery drain over 6 hours)

- WiFi connected, easily 50% or higher. (30% battery drain over 6 hours)

- Though I never tried WiFi on but not connected.

Not sure if it's relevant, but in terms of Alarms, the most frequent ones are:

- "job.deadline"

- "WifiConnectivityManager Schedule Periodic Scan Timer"

- "android.location.ALARM WAKEUP ACTIVITY DETECTION"

- "android.gms.gcm.ACTION_CHECK_QUEUE"

I made sure Location, WiFi & Bluetooth scanning are off and other than Google, no other app has "Always Allow" permission for Location (Location History & Sharing are off too). Google is allowed because I tried disabling Google app outright and it didn't change a thing.

I am on the latest 11.0.5.0 firmware, I tried clearing the Caches from recovery, Google Play Service's cache too, even did a full wipe, tried turning off "WiFi Scan Throttling" in Developers Options, the problem persists, the only way to ensure good idle battery life is to not use WiFi and stick with mobile data.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Unfortunately I have no idea. Me and other testers are getting a consistent of 0.3-0.5%/h idle drain, on both July's and August's build. All I can say is to try another clean flash, do not restore any backups, observe the battery drain behavior, and start from there by adding back apps you normally use. It is not likely a ROM related issue.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] ragenie94:
I'll do the clean flash tomorrow, in the mean time, I'll cross reference my installed apps with my friend's, who's having the exact issue, and uninstall the ones we have in common and see if it helps.

I doubt so because I've been using the same set of apps on my Redmi Note 7 (w/ PE) and never had any problems, but hey I've run out of ideas, so no harm trying.

Anyway, thank you and everyone else's work, this is still a great ROM, keep it up!
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] aurocha:
I think it's Google Play Services related.

I was having the same issue. It went away when I downgraded GPS, that is, when I uninstalled updates.

But right now I'm on Lineage. Current bbs stats look like this

Hope you fix it.

Regards,
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] maximushugus:
I found that everytime I update or flash this ROM, during 2 days my battery life is not good, but it's excellent again after a few days, as if the phone needed a calibration during a few days.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] ragenie94:
I uninstalled Google Play Services' updates, didn't work.

Flashed to Lineage, same thing with no apps but GApps nano & Chrome installed, booted into Safe Mode with WiFi enabled (should've done this way earlier), same thing.

My housemate who's having the same problem (EDIT: also a Mi Mix 2S w/ PE) said battery drained much lesser when connected to office's WiFi, his phone isn't rooted so there's no BBS data, but since then I've shifted my attention to my home WiFi network and found there's quite a few reddit threads about similar issues.

I can't link them here but it's easy to find, google "android wifi battery drain router" if anyone's interested.

Disabling UPnP on the router did reduce drain from 5%/hr to around 3.5%/hr, it's still not ideal but definitely an improvement, UPnP is a security risk anyway.

There are more things to try out still, I'll report back when I discover anything else. Not sure why the WiFi would drain only Mi Mix 2S but not the other phones at home, but it is what it is.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Interesting. Another thing that may cause higher drain is your cellular signal strength. You mentioned the battery drains higher when connected to home WiFi. Maybe it's not the WiFi, but the fact that you have much weaker cellular signals at home. I have experienced similar things in the past with a SIM card that I could barely got more than one bar. Note that turning on airplane mode will not help at all. You need to physically remove the SIM card.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] aurocha:
Don't know what to tell you. Reflashed PE and backed up data and the drainage returned. Still to test: /data backup and previous version of PE (1907).

Then reflashed LOS and my script customized stock gapps and it is so good that I'm not willing to change anything, at least, not for now. Last night the battery drainage while sleeping was 1%, 6 hours sleep.

Here's a shot of bbs from now:

I might flash the previous version of PE with my /data when I find the time and post back my findings.

Cheers,
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Yeah signal strength seems fine as well. I really don't know what happened then.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] ragenie94:
Found the problem, turns out one of my access points has IPv6 address and is constantly multicasting Router Advertisement (RA) packets (it's not supposed to, something's up with the AP's firmware) and it's constantly keeping the phone awake, this behavior was documented by Cisco's & Google's researchers in 2016.

Again, can't post links yet, but google "pocketnow router advertisement" should lead you the pocketnow's report about it.

To confirm the theory, I disabled IPv6 on my phone by running the following commands in the terminal:

- "echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6"

- "echo 0 > /proc/sys/net/ipv6/conf/wlan0/accept_ra"

Immediately, "Awake (Screen Off)" has become much lower, I can't give a concrete number yet since it hasn't idled long enough for good data, will report back as soon as I do.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
I see. Yes RA packets are used in IPv6 to auto configure IPv6 addresses and things like MTU, so it probably kept your phone awake for too long.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] aurocha:
Hi,

Managed to install 1808 build. Massive battery drain, the culprit seems to be what I show below:

You can actually see the battery decreasing
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] ragenie94:
Since my last post, I've re-flashed to PE, got most of my apps installed and disabled IPv6 again and here's the BBS data:

Before: 5.4%/hr; Awake (Screen Off) = 67.2%

After: 0.3/hr; Awake (Screen Off) = 0.9%

It's worth noting I have Naptime installed for aggressive Doze in both cases, so y'all might have different results without it.

With that said, I can conclude it really is IPv6's RA packets messing things up for me.

For those who want to check if this is happening to you, on your Mac or Linux machines, run ' tcpdump "multicast" | grep "router advertisement" ' will allow you to capture these packets, you can do that too on Windows using Wireshark, but I'm not too familiar with it, nothing some Googling can't fix though.

If you don't see them almost immediately (my AP was sending one every second), it's probably not a problem for you.

RA packets are necessary for IPv6 to work, unless you disable IPv6 out right, what you should do is to reduce the frequency of these packets if you router/AP allows you to configure that.

---------- Post added at 03:37 AM ---------- Previous post was at 03:21 AM ----------

My friend has the same problem in 1808 build as well, I guess to see if you're in the same situation as me, you could disable WiFi and see if the battery drain stops? If it doesn't it's something else.

It's easy to sound like it's PE's issues but it's really not, phone waking up to process RA packets is the correct behavior, IPv6 need them to work, it's only an issue if these packets are sent from your router too frequently. The researchers suggested 7 times per hour is more than enough (instead of mine's once per second), so people having this issue can use this as a guideline, OR disable IPv6 in your local network if that's an option.

Would an option to disable IPv6 in the Settings be handy? Of course, but that doesn't solve the real problem.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Thanks for the thorough investigation and detailed reports.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] kevinwenyu:
i found my phone cant recover LTE network after update to august update.

i have two sim cards, CMCC for calling & msg, CT for LTE network, the phone will switch to CMCC LTE when calling because the VoLTE founction enabled, the it woundnt switch back to CT LTE network after call ended automaticlly.

i found two ways to get the LTE network back manually:

1. turn on the wifi and then off , the LTE work comes back;

2. turn on the hot-spot and then off, the LTE work comes back;

is it caused by "- Updated APNs for Chinese carriers and fixed "HD" capable notification spam"

any suggestion?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
It's more likely to be caused by the telephony injection. Contact me through telegram if you want a test build to verify that.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] mztq:
One more thing to mention: after one of recent builds Bluetooth icon in system tray (when a device is connected) disappears. But not for all device, i.e. when connected to car audio it's always there. But it is not showing when headphones are connected. Tried to forget them and reconnect, it helps for one time and then again it's not showing. The connection itself works fine. Anybody else sees the same issue?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Update

2020/08/31

**Device Specific Changes:**

- Etude kernel:

* Linux 4.9.234

* built with latest Clang 12

* improved suspend/resume latency

* some misc fixes on arm64 and mm

- updated firmware and vendor from MIUI 12 Global Stable V12.0.1.0

- use qti-telephony-common from polaris dump for injection

- fixed an issue where mobile data on one SIM may be broken after the other SIM receives a phone call or SMS

- fixed a few sepolicy issues for sched_boost and sysfs_batteryinfo

- cleaned up Google specific hints from powerhint

**Feature update highlights:**

- Misc fixes

Download: https://download.pixelexperience.org/polaris
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] mztq:
This build has fixed disappearing Bluetooth icon. Thanks!
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] zerodi:
hi juist flashed this again..... I dont know whats wrong the system UI and Google apps all crash and are unresponsive takes minuites for them to recover and then if i say click photos, it crashes again, even pull down shade doesnt respond...

I flashed as in the instructions, im using orange fox recover

Any Help would be great thanks
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
No idea what happened to your phone. It never crashed for other users. Did you flash anything else besides the ROM itself?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] zerodi:
No followed as per OP , even flashed latest FW, didbt work. Bliss rom also didnt work.. Flashed Lineage and thats working fine.... SO weird

Older PE versions were working fine

Nevermind
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
By saying you flashed again, did you wipe system/data/cache/dalvik cache/vendor before flashing? I simply don't think it's possible if you clean flahsed and Google stuff still crashes. BTW, you do not need to flash firmware as the proper firmware has been included in the ROM.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] TPSC:
From what stock you started flashing? I don't know if PE has vendor image, maybe you should flash newest stock and after that flash PE, I flashed PE+ from miui 12 and runs well
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
No you DO NOT need to flash anything prior to flashing PE. PE has both the firmware and vendor included. The only thing you need to do is to wipe those partitions (and format data if you're coming from MIUI).
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] aurocha:
Just flashed the latest PE+ build and it's amazing.

Battery is great! Thanks [MENTION=9585779]jjpprrrr[/MENTION], will stick to this rom again
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] pjhhjp11:
I was a person who inquired about data after calling the Dual Sim the other day, but I am curious about why it cannot be used again. I updated it to the latest a few days ago and it cannot be used. So, if the second SIM is used for data only, and during a call, check the data use with the first SIM and the second SIM data does not come back.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Try manually delete /system_root(/system)/system/product/framework/qti-telephony-common.jar in TWRP or OrangeFox Recovery.

The issue regarding this is a dilemma: if I completely remove telephony injection, mobile data after a phone call would be fine, but some carriers will have broken telephony features. Adding telephony injection would solve that, but the issue of broken mobile data after a phone call appears.

I chose to add it back anyway because it would be easier for people to delete it than to add it back.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] fefuzzo:
this rom is very good...only one request: is possible to add a system integrated "App Lock" feature??

so i can lock access to any app installed with password or fingerprint, without using "unsecure" app from playstore.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Update

2020/09/15

**Device Specific Changes:**

- Etude kernel:

* Linux 4.9.236

* fpc and goodix fingerprint: use qcom drm notifier instead of the generic one

* fixed xbl_region reserved memory

- Reworked screen panel backlight

* in previous builds

- adjusting brightness slider in the lower range resulted in uneven brightness transition

- previous builds did not allow screen to dim to the lowest possible value

- auto-brightness had slow reaction to ambient light changes

* patched frameworks/base to use linear brightness slider instead of the log scale one

* ported gamma-linear conversion to light HAL

* re-calculated auto brightness curve to fit new light HAL changes

* reduced light sensor debounce time to stay in-line with MIUI

* the result:

- smooth backlight brightness transition when moving brightness slider

- screen can dim to the lowest possible value the panel allows

- auto-brightness reacts faster to ambient light changes

- auto-brightness is no longer jumpy

- screen dimming caused by no user action has proper transitions

**Feature update highlights:**

- September security patch

- PE Plus: Added pocket lock

- Improved face unlock

- Updated translations

- Under-the-hood fixes and improvements

Download: https://download.pixelexperience.org/polaris
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] WhiteBeard18:
Install button after downloading SW update does not work

After downloading the latest update (15.09 PE Plus), the Install button just takes me back (or somewhere), so it doesn't install.

I tried restarting the phone, same behavior.

UPDATE: Deleting the update and downloading it again fixed the problem.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] tibcsi0407:
I am considering to try this ROM. If someone tried the AOSPA and this one, which is the better one?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Drozdii:
After latest updated (15.09.2020) vibration works for a while, then doesn't work. After couples of minutes works again. I have no idea what should i do fix it.

Vibration work only in "clock alarm".

Edit: after night vibration doesn't work at all ☹️
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] aurocha:
Finally, one has equal or better luminosity control than Miui. Especially the lowest brightness settings. And the transitions are very smooth and precise.

Great build, everything's smooth. Best ROM for this device, hands down.

Really good work, [MENTION=9585779]jjpprrrr[/MENTION]. Thank you so much
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Update

2020/09/16

**Device Specific Changes:**

- Etude kernel:

* wireguard 1.0.20200908

- Fixed an issue where the screen has extremely low brightness when woken up by notifications

**Feature update highlights:**

- Fixed missing security patch in Settings - Security

- Fixed potentially duplicated Styles package

- More translation updates

Download: https://download.pixelexperience.org/polaris
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] amroth22:
Hey jp, is it normal that the screen is too dim in dark environment? It started on 15th and on the 16th as well. I have to manually adjust the brightness slider everytime in dark room. Thanks
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Why do you have to adjust it every time? The auto-brightness is called "adaptive brightness" because every time you manually adjust it in auto mode, your value will be added to the auto brightness curve and the system will fit the curve around your adjustment. The curve will only be reset after you reboot.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] amroth22:
Like i said, the screen brightness is too dim in the dark (it's at 1/10 of the slider), that's why i have to adjust it every single time regardless of how the ambient light sensor adapt.

This was not an issue in the previous build. Although i appreciate now the brightness is not as jumpy as before.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
What I meant is that you can manually increase the brightness a little bit if you think the default auto brightness curve is too dim for you. Your phone will remember your adjustment and boost the brightness accordingly. I just tried it myself. In a completely dark room, I moved the brightness slider to the right, walked out, and walked back in. The slider returned back the point I set before, instead of the default auto brightness point. I turned off auto brightness, walked in the dark room, turned auto brightness back on, and it still returned to the point I set before.

It was not an issue before, because on previous builds, the phone was not actually setting the correct brightness value to the panel. The range of adjustment allowed on previous builds is narrower than the one on the current build, especially for the lower range of brightness.

The reason why I'm telling you to adjust it yourself, instead of me making the change is because it is impossible to make a curve that satisfies everyone. I have testers who still think the current curve is a little too bright in dark rooms, and prefer an even dimmer settings. The current curve at least has a relatively even spread across different light sensor LUX values, and works fine for most people I've talked to.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] pancomido:
mock location?

Anybody got a fake location app to work? I tried several (Floater, Fake GPS, etc.), set as mock location app on developer settings, tried tweaking everything, even tried making the app a system app and nothing works... Does it have something to do with the ROM? Anybody got any luck?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] hungragezone:
Sorry but I can't find what is different with normal version and plus version, can someone tell me please :(

/nvm, found it ;)
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] pr498te:
Can't find! Could you please tell me the differentes between both version?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] hungragezone:
Here it is

This rom is smooth and very good, but i have problem with pop-up notification, it doesn't show up anymore

[IMG="sms"]https://i.imgur.com/hoA8qMI.jpg[/IMG]

I can't find pop-up notification setting in app

/lol, found it again
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] LalMan:
Coming from Pixel3ROM, regular wipes into flash are fine right? (yeah i asked on Telegram but none's answering me)
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Normally wiping system, data, cache, dalvik cache, and vendor is enough. If you still cannot boot, you probably need to format data because something might be different on the encryption.

Where did you ask on telegram? I did not see any message in groups I normally check.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] LalMan:
I asked at https://t.me/pixelexperiencechat and upped the message one time, but since you already answer me I'll just let yoo know if everything went fine :D
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] LalMan:
Everything turned out well! Writing from my device:D
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] LalMan:
ok, after using it a couple of days, I personally noticed that sometimes loses mobile data without reason, happened a couple of times, haven't found ways to solve it yet (reboot normally), it just continues to being disconnected for quite some time only to return ok after some minutes.