yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
1. Settings/Battery

2. You can't. They are part of the Pixel Launcher.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] joseanpv:
Thanks!
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] vocalico:
Since the last update, WhatsApp Web disconnects when the phone is locked, before it worked flawless. I have changed the battery management settings for the app but still the same. Any solution? Thanks
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] aurocha:
Hi,

Tried to install latest miui global but it wouldn't boot anyway, was stuck on a bootloop, which I found odd. Of course i formatted /data right after installing miui, both via fastboot or flashable zip.

Finally gave up and installed PE+ 11 again and.... It just booted on the first time.

Any step I missed to downgrade to android 10/miui?

Thanks
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
You probably did not format data correctly. Perhaps try formatting again with TWRP or OrangeFox?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] aurocha:
I tried formatting /data several times. Can't tell what happened, it simply didn't boot. I might try again at some point, but not at the moment, as I'm a bit frustrated right now.

I use OrangeFox but tried TWRP from @palaych as well. Nothing worked.

I'm quite happy with PE+. But just wanted to check the proximity sensor behavior under Miui.

Thanks for your reply!

Cheers,
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Are you sure you FORMATTED data instead of WIPING it? Format data is the option where you need to manually type "yes" to confirm, and it is different from "wipe data". In TWRP, format data is a separate button in the "Wipe" menu. In OrangeFox, format data is under partition management.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] vocalico:
It only happens when connected to WiFi, so it looks is because when the phone is locked the WiFi antenna gets into an "idle" state. Is there any way to prevent that?

EDIT: looking for some info the sleep while locked option was removed on Android 10, and on adb shell it looks like it shouldn't go to sleep with the phone. I found the only solution that has worked here, connecting to a 2.4GHz WiFi network instead of a 5GHz. Would be nice to be still able to connect to the 5GHz one.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
2021/03/27

PE changelog: https://jjpprrrr.com/pe/20210327-1844/

PE Plus changelog: https://jjpprrrr.com/pep/20210327-1844/
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
I did not change anything regarding WiFi from the device side, and we are still using the same Qualcomm wifi kernel driver from android10. If there are any changes, it has to be inside the android frameworks.

To be honest, I don't trust Facebook adhering to android best practice very well. Their apps are notorious for breaking things when other apps are totally fine.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] aurocha:
Format /data in Orangefox implies having to type "yes". So yes, I'm sure.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] hungragezone:
Yay, I'm waiting for this, thanks you
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] aurocha:
Hi,

Eventually I figured it out: /cache and /data were formatted as f2fs instead of ext4, can't tell why.

As to the bad news, apparently my proximity sensor is now deceased :(.

Thank you,
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Yes because my PE recovery formats to f2fs by default. F2FS is a filesystem better optimized for NAND flash, and Pixel phones use it on stock. MIUI on polaris does not have f2fs entry in fstab so that's why you couldn't boot it.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] aurocha:
That's nice to know if someone runs into the same problem. Maybe it's possible to make miui boot with f2fs by adding the lines into /vendor/vendor/fstab.qcom. I mean, I already change the encryption by manually changing encryption=ice to fileencryption=ice, for Xiaomi.eu, it's about adding a new line for f2fs for /data and /cache and hopefully it will boot. I might try that.

Sorry for commenting about Miui, this topic is about PE.

Regarding f2fs vs ext4, is the performance gain noticeable? Or are we in placebo realm?

Ext4 seems more mature and well tested but if Google is using it, and I know lots of updates are being made to f2fs..
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Not really that noticeable because generally software should be designed to avoid storage I/O bottleneck.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] gianton:
Hi,

I can't update the last ROM via adb sideload... it keeps saying that cannot read the file. Any idea?

EDIT: I managed to update to the 27/03 build via OTA. I flashed magisk via adb sideload with no issues, so the file of 27/03 build PE+ must have had an issue.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] ElRocha:
You can get the latest version of the OrangeFox or TWRP recoveries to replace the need for adb sideload. The latest versions of these recoveries support the new encryption scheme of Android 11.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
You can if you have completed the initial installation process by formatting data with PE recovery. The latest version of OrangeFox and TWRP can decrypt the partition correctly.

However, DO NOT use them to format data and complete the initial flash. You may end up having a broken encryption.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] ElRocha:
In my case it worked fine, but I already had other Android 11 roms before. Maybe it was because of that?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
The situation is explained in details in the reserved post. Again, it is random and not everyone will get that. It also means you and I should not blindly recommend TWRP/OrangeFox because you never know who will get a broken encryption and have issue in future updates. You can use them after the initial flash if you prefer the convenience.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] ElRocha:
Understood. Sorry for the shaky recommendation.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] gianton:
Will try to update via TWRP next build. Of course I've already formatted with PE recovery to A11.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] fefuzzo:
Does anyone have problems with continuous disconnection with wifi?

I installed now latest version (android 11) with fulll wipe and format data (and using PE recovery)
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] gianton:
Only with 5GHz band, on 2.4GHz WiFi is rock solid.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] fefuzzo:
can i disble data encryption?

i NOT need encryption on my device, but with orangefox i can't disable it
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] tkdz:
Just wanted to say thanks a lot for this rom!
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] vocalico:
I commented it some posts ago... Using WhatsApp Web is pretty infuriating now. The 2.4GHz trick worked for some days but now is also intermittent. Checked and changed wifi_sleep_policy through adb shell but the problem persists.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] immerzu2:
I have a question, what is the difference between "normal" and "Plus Edition"?

Thank you.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Plus has a few more customizations. The standard edition is mostly on par with Pixel phones.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
I think OrangeFox still has an option in settings to auto disable forced encryption every time you flash something? It should work. You just need to format data after you change anything in encryption
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] fefuzzo:
Yes, i enabled option "disable force encryption" and format data 3 times, but every time data was encrypted. I have this problem only with this rom, with Evolution X (android 11) and Xiaomi.eu (android 10) i have no problem
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
1. After enabling that option, you need to flash the ROM again to trigger the automatic patch;

2. EvoX (also maintained by me) doesn't have encryption at all
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] kmykoh:
hello, I have tested paranoid android a11 test build and found out that the touch is significantly improved. They stated in changelog that they are using newer caf touch driver. This is link to the kernel: https://github.com/YumeMichi/kernel_xiaomi_sdm845/

the main touch driver commit i talked about is https://github.com/YumeMichi/kernel_xiaomi_sdm845/commit/a918fa2a23a98b6ff45acedf709804d4f6fc023d there are several more in the repo

is it possible to take a look? It makes the touch screen able to register >3 fingers better, tested in touch screen test app on playstore and improvements during gaming
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] 11214:
I reset my phone, the formatted data and cleared the cache but it's still asking for my previous account password when I set it up.

Am I doing something wrong? I want to give the phone to another person but don't want my account on it.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
That is the touch driver for beryllium (Poco F1). It has nothing to do with our phone.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Remove the screenlock and log out your Google account before formatting data.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] blu.italia:
When i go in settings > system > backup > i see pixel 5 backup... why pixel 5? Is that the base of pixel experience?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Hataru:
Thanks you for replay, i'll try to install a gcam port, but if i press the three dots button on the bottom right i con't choose the front cam icon [IMG="screenshot"]https://drive.google.com/open?id=1-x_ev334t2Eq3jdc_P0PKH8g9d-cH1km[/IMG]
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] PhanChinh9x:
My facebook apps has crash after i use it about 3 minutes, please help me
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DahakePL:
Doesn't happen to anyone else that I know. try reinstalling the app.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Then your front camera may be broken. Mine is fine (see the attached image).
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] PhanChinh9x:
I tried to install it many more times but it still failed :(
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] joaquinain:
Installed and working like a charm.

I had a problem following the steps, in Orange Recovery, to format DATA you have to go to Manage Partition.

Best regards.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] waj1234:
Is there a way of turning led off while charging? It's very bright at side of bed. Can't see anything in settings.

Amazing Rom by the way. Was about to sell it as don't get on with miui.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
PE does not have an option to turn off charging LED for now. I have already reduced the LED brightness a lot, and it is no where near too bright on my phone. Could you do a "cat /sys/class/leds/white/max_brightness" with adb or phone terminal and show me the value, while charging?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] waj1234:
When next to pc I will do. To be honest it's probably not that bright but I am sensitive to light especially when sleeping. I cover all LEDs that I can't switch off usually.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] koburn:
Hi guys and thanks for your work! I have a problem: my bluetooth headphones work perfectly on call with all the tested roms, but to listen to music or watch videos, the sound isn't in syncro with (all) the PE rom. With the Miui (Miui_11 and android 9) everything works perfectly, with the Lineage (v16 and android 9) it works perfectly, with the PixelExperience roms, both P and Q, I have problems.

Any solution?

I love the Pixel Experience ...

EDIT:

The headset bluetooth works perfectly with my pc (with Linux and with Windows); it's model is TaoTronics TT-BH076. I've tried two different headset (the same model) and the problem is the same.

Thanks!
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] bedson87:
I suggest you take logs. This can help dev fix it..
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] koburn:
Thanks for the reply.

How do I recover the log file so that the dev understands where is the problem?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] javtolt:
Hi is there any form to Disable the charge led?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Unfortunately PE currently does not offer this feature.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
If your phone has root access, you can download an app that captures logs for you, like "Matlog".

Otherwise, you can enable USB debugging in Developer Options, and connect your phone to a PC/Mac/Linux machine. Make sure your computer has "adb" or "platform-tools" installed, and then type this in terminal:

adb logcat > filename.log

Perform the action you want the log to cover, then "Ctrl C" to stop the capturing process. There should be a "filename.log" under your current shell/powershell/cmd directory.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] stanzmaschine:
Hi, i have a worse reception than with the PE-Rom based on Android 9. Anyone else can confirm this?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
In OrangeFox, you can

untick

the "Disable Forced Encryption" box (in the OTA settings page) before flashing the ROM. This will prevent forced encryption from being disabled.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Limenomen:
Hello, there is a bug with the brightness slider. It works intermittently and does not change the brightness at low levels. Please add the live display
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] koburn:
Sorry dev, nothing on my problem? The log file was correct? Thanks for all
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] caoscorp:
I lost TWRP for PIXEL RECOVERY..... WAY ?

I need to reinstall it.

MmmM
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Some core Google components are spoofed as Pixel 5 so that we can get latest Pixel features.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Because you should follow my steps and do the initial installation through PE recovery, not TWRP. After that, feel free to use whatever recovery you like. The recovery override behavior is the same on any stock ROMs.

You can avoid the override by modifying the boot partition. The most common way is just flashing Magisk. If the boot partition remains unmodified, your recovery will be overwritten by PE recovery upon every boot.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Vlink:
Fantastic ROM. Thanks a lot!

Only thing broken for me is the weather information in the launcher. It's only showing the date.

Tried wiping cache, clean flashing again. Nothing fixes it.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
We are working on a solution right now. Some reported that that weather can be displayed correctly if you manually add the widget from the Google app.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] ap4777:
Hello!

Houston, i have a trouble.

Install last update (previous update was in January) without wipe data and now my phone reboot all time. Please, help!

Fixed: Erase data by Volume Up + Power
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
You may run into that problem because you haven't updated for a long time. There were some changes on apex in February, so if you skipped those updates, you may have a bootloop. I don't think there is an easy solution to your bootloop except for formatting data.

Feel free to read through previous discussions in this thread. Here is a starting point:

https://xdaforums.com/t/rom-11-0-polaris-pixel-experience-aosp-2021-03-27.4038949/post-84669681
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] immerzu2:
I would like to switch from lineageos 18.1 to PE. Do I have to consider anything special with the (fresh) installation of PE?

Thank you.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Follow the steps.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
2021/04/17

PE changelog: https://jjpprrrr.com/pe/20210417-0245/

PE Plus changelog: https://jjpprrrr.com/pep/20210417-0245/
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Vlink:
Thanks for the update!

At a glance weather is working normally now.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] joseanpv:
Thanks for the news in March. I send you a little help via PayPal last month and this month.

Thanks you very much!
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] aleedee:
Hi, I'm still on PE10 from November, I only realised a few weeks ago that updater doesn't work due to a version change. Anyway, I have an unlocked bootloader and TWRP (3.4.0.0).

I would like to backup my current app data (any suggestions? Titanium still?), for which I need root and then upgrade. I would appreciate if someone could confirm my plan so that I don't brick anything.

1) flash Magisk, get root and backup app data

2) flash PE recovery

3) sideload PE11

4) flash magisk (can I do this from PE Recovery?)

5) install app data backup tool and restore apps and data
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
For backing up app data, I recommend Swift Backup over Titanium. Ti Backup is old and seems to cause random issues on newer android versions.

In your steps, you forgot to format data with PE recovery.

Yes you can flash Magisk from PE recovery. It's the same as flashing anything else: adb sideload Magisk-v22.1.zip for example
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjansen85:
Maybe a stupid question, but I downloaded the update via OTA, but can't find the update zip... In which folder is this zip stored?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Check /data/system_updates/
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjansen85:
Thanks! First time the update via OTA did not work. After pressing Install, nothing happened. Second attempt did work flawlessly (via TWRP).

Thanks for your great work!!! Really appreciate this ROM.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjansen85:
Another question... I tried to find an answer within this topic, but did not succeed.

First install of the ROM was performed with PE recovery. Now I use the ROM together with TWRP recovery (twrp-3.5.2_9-0) and Magisk.

After an OTA update, the recovery is overwritten by PE recovery again. Is this normal behaviour or can I do something to keep TWRP?

No problem reinstalling TWRP and Magisk, but just wondering if this is normal.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
There was a discussion on this topic a couple of weeks ago, right on this page:

https://xdaforums.com/t/rom-11-0-po...aosp-2021-04-17.4038949/page-50#post-84820591
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjansen85:
My apologies. I have read this discussion, but apparently misunderstood.

So to recap: After OTA / update the recovery will always be overwritten by PE recovery (because boot partition is 'restored' by the update)
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] bmfhost:
Good news.

Thanks a lot!
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Yes.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] blu.italia:
Redialling via Bluetooth Headset doesn't work since February Update =/
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Can you elaborate? What BT headset are you using? How does it redial? Have you taken logs? I have not touched anything bluetooth related since January, so I need more information from you to investigate the issue.

Why didn't you report earlier? It is 10 times harder to trace down changes made more than two months ago.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Samnang110:
Download link from official site is limited at 300KB and I have tried more than 10 hrs unsuccessfully failed to download either one.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
The official PE website is migrating to a new storage provider. There may be temporary download issues in some regions. Please be patient and try again later.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
2021/05/14

PE changelog: https://jjpprrrr.com/pe/20210514-0431/

PE Plus changelog: https://jjpprrrr.com/pep/20210514-0428/

Note: The official PE website is migrating to a new storage provider, and the download may be slow in some regions. Please be patient and try again later if you encounter any download issues.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Samnang110:
Thanks and I managed to download the PE11 plus and already load to just bought Polaris.

Followed the instruction but camera seem unstable. Sometime it's hung until rebooting the unit to get it back.

Any good camera APK?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
I've mentioned it many times in this thread. Install a gcam of your choice. The default camera app is only there so that the system has at least one camera app. I do not ship a prebuilt gcam because users may not like my choice and it could cause package naming conflicts.

BSG gcam should be good.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] roxnox:
Hi,

After 10 minutes of gaming this warning appear. This happened since April update.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
If you haven't used any other modules or 3rd party kernel, that simply means your phone is too hot, and thermal mitigation is in action.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] vocalico:
Just changed the phone battery. Is there any way to reset the battery memory and stats from the phone or should i just flash after wiping?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
It doesn't matter. Just use it like normal.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] evgenak1972:
On MIUI, when the 100% charge is reached, the diode goes out. Is there such a function on PE?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Nope.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
2021/05/26

PE changelog: https://jjpprrrr.com/pe/20210526-0015/

PE Plus changelog: https://jjpprrrr.com/pep/20210526-0010/
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] hungragezone:
Hi, how can I format dalvik cache with default recovery of PE

My PE start have some strange problem like battery drain at night
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
Battery drain has nothing do to with dalvik cache. It's caused by the apps you are using.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] hungragezone:
I just want to try to refresh it

Don't know why if I turn on airplane mode, then put my phone under my pillow, wake up at morning and I can feel that my phone temp is high (my room temp is about 26oC)

Another day, I do the same but put my phone on the desk. The problem is gone. Next day, I try to put my phone under my pillow again, but turn off "prevent accidental wake up", the problem gone. Turn it on and do the same, the problem is back

😑
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] jjpprrrr:
The only thing I know is that "prevent accidental wake up" uses the proximity sensor and the light sensor to determine if the phone should wake up. For example, if the proximity sensor detects a close object, and the ambient is dark, the phone will not show the lock screen even if you press the power button. It will display a warning text which asks you to press and hold the power button.

You can check this yourself in a dark room. Enable that option, cover the upper part of your phone near the earpiece, and press the power button.