yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] v_tewari:
Hello!!

I would like to thank the developer for the amazing rom. I have tried many roms, but 'Luis resurrection remix N' rocks!!

Unfortunately my phone has developed a weird problem.

Rom was working flawlessly when I was in my home network.

Last week I travelled to a new state and my was phone restarted 25 times (I have two sims and both are in roaming now).

I have tried different roms Oreo /nougat ( Luis Resurrection remix, AOSP, AICP, MIUI 9 stock rom with unlocked bootloader, but the problem continues. Even with one SIM the phone is restarting.

In safe mode phone restarts but when I remove the 2 sims, the phone becomes stable.

Now I have flashed the stock MIUI 9 rom with locked bootloader and to my surprise the phone is working fine along with the two sims.

What could be the probem? Roaming Sims? I don't like MIUI and I am missing resurrection remix. Please help. Thanks
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] MohRez:
i tried nougat build ( also gapps was for android 7.1 )

but which one is better and stable ?!
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jdr_85:
I have to admit that in the meantime I've lost the overview on current development and therefore I don't know which is the best version at the moment. I'm still on Nougat March 14th + Recent Key fix + Audio Fix and I'm quite happy with it. So I'm not sure whether to stick to it or update to March 25th version.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Tim1909:
I think the recent apps button bug is fixed in 25/03 version. At least i didnt have to flash the fix anymore. Thr only thing that does not really work, is the media playback. Either in whatsapp or browser i have issues to play video files or gifs. Dunno if its a bug in the rom.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sp0979:
Installed 27Mar Rom.

Issues:

1. Package installer error and fc problem reappeared in settings, app permissions.

2. 1 screenshot from advance power menu is ok. 2nd time it also takes ss of advance power menu popup.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] IM_s_0_n_a:
I Am On Latest Global Beta ROM Can I Flash Fw34 Over Latest Build Firmware

---------- Post added at 03:56 AM ---------- Previous post was at 03:55 AM ----------

I Want to install latest N OTA build but I have heard that clarity 2.6 has video play bug so can I Flash 2.7 over 2.6
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] badduke18:
Did you clean flash the latest build?

1. For me, no fc this time in settings, app permission. It was there in the previous build.

2. Yes the screenshot bug is there.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sp0979:
No. Dirty Flash. But wasn't present in last rom for me.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] simon3sce:
In the last update of 5.6 version (25-03) I face a issue on Instagram, videos from the stories don't load. An I feel the animations with a lot of lag. Anybody else had this problems?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Tim1909:
yes, there seems to be an issue with the media playback.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Thejayyadav:
Google tez Registration fixed

Thanks

Registering Google Tez is fixed just by flashing Magisk
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Tim1909:
I flashed todays version (28.03. Nougat) and i think the media playback issue is fixed there.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] simon3sce:
Yes, the 03-28 solve this issue. :laugh:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sadeg111:
i flashed last v of Oreo rom and its good till now

but there is issue with sim signal i got 2 times signal drops today i wish that issue fix

good rom :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rohit.88m:
great rom using the March 27th update ... volte is still not working... any ETA for the fix?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sadeg111:
good battery backup
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] monsterhydro:
Does anyone have battery drain issues?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sadeg111:
battery good in oreo but notification light not working only works when charge from 0 to 90 up not work even in notification no
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sp0979:
Review on 27Mar RR Oreo Rom.

1. Super Smooth

2. Battery backup is super excellent.

3. Can be used as a daily driver without any doubt.

What I did:

Clean install (dirty flash gave me lags)

Flash:

1. 20180327 build

2. Firmware 33

3. Open gapps pico

4. Magisk

5. Clarity 2.7

6. Galatic Deep Sleep Mod

Super satisfied with battery backup.

Thanks Dev for your hard work and efforts. And other devs for Mods.

Just one thing. Tried few fast charging mods including KA & Sthermal.zip, but no result.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
Dirty flash works ok (wipe cache&dalvik)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sadeg111:
how i can make notification light work in Oreo rom ? cuz i can't find it
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Your comment is super awesome :D
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sp0979:
I had used RR long time back. Since last 3 years, I'm on CM / Lineage. Thanks to Dev who made me come back to RR.

---------- Post added at 12:12 AM ---------- Previous post was at 12:08 AM ----------

I faced issues in app permissions in settings. Package error and then fc. I had wiped cache & dalvik.

Didn't find any problem after Clean Flash
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] luismmv9411:
Bug Mic v
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jiak:
Hello,

This is my first time trying to use a custom ROM. I intend to use RR 5.8.5 and hopefully it will be stable enough to keep it.

Are there any instructions on how to install it?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sadeg111:
Copy the ROM and Gapps in Internal storge.

Go to your recovery

Wipe Data,cache,system

Install ROM and Gapps zip

Wipe cashe

Reboot system

and i recommend use that recovery

https://sourceforge.net/projects/teamghost/files/santoni_twrp/twrp_santoni_oreo.img/download
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Necma:
Has BT bug in calls been fixed in Oreo release?

I make a lot of calls with bluetooth and with that bug I couldn't use Oreo...
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jiak:
Thank you very much :good: Before I do that, is there an easy way to take a full backup of my system?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sadeg111:
about me i never take backup file

always take photo and sms and other stuff backup with email

but i think there is backup option in twrp u can use it

or wait some one else to answer you ^_^

HAVE A NICE DAY
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] monsterhydro:
I have extremely battery drain problem. I used nougat 5.8.5-20180316 rom. How to solve this problem?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Through twrp
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Necma:
Prince do you use Oreo?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Necma:
Does the ROM still have bluetooth issues? when I tried I couldn't make a call using BT...
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sp0979:
Overnight battery drain 12-13%. Any solution.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] natheux:
Try Galactic Deep Sleep Mod
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sp0979:
Already flashed. Still facing problem
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
android process media keeps stopping... in last oreo version
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] joralvi:
the camera didn´t work in last oreo version

even with all wipes and clean install the camera didn´r work always close and show a message that say open again or close the app.

and if i install another camera app say the same thing...

---------- Post added at 10:22 AM ---------- Previous post was at 10:16 AM ----------

for this just do:

Step 1: Turn Off Google Sync. Step 2: Disable "Media Storage" ,and then Clear the Data of it. Step 3: Disable "Download Manager",and then Clear the Data of it . Step 4: Turn Off Your Phone and Restart it . Step 5: i) Enable Google Sync ii) Enable Media Storage iii) Enable Download Manager
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jony2324:
hello, the problems continue in the ROM of April 1, the camera does not work and android process media keeps stopping . Greetings.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sp0979:
Search in settings not working after every dirty flash. I always need to do clean flash due to that.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
Works for me.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sadeg111:
guys notification light in missed call not working ?? Nougat rom
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
this is crap. my girlfriends cheaper redmi 4a with miui 8.5 is smoother than my 4x. I will back to miui rom...
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] fincs:
I'd like to post an update. Today I noticed some battery drain, on the 20180402 Oreo version. After a day of debugging, I tracked it down to the following executables being corrupted:

/system/bin/dpmd

/vendor/bin/msm_irqbalance

Those two executables had garbage data before the ELF header (apparently a message from the linker: WARNING: linker Warning: unable to normalize "null"). /init would try to launch these two system processes, but they would fail to launch and /init would retry over and over again, causing battery drain. Here are some relevant logs from dmesg:

[16405.676133] init: service vendor.msm_irqbalance does not have a SELinux domain defined
[16405.676167] init: starting service 'vendor.msm_irqbalance'...
[16405.677307] init: property_set("ro.boottime.vendor.msm_irqbalance", "16409642647678") failed: property already set
[16405.677310] init: cannot execve('/vendor/bin/msm_irqbalance'): Exec format error
[16405.678420] init: Sending signal 9 to service 'vendor.msm_irqbalance' (pid 10295) process group...
[16405.678541] init: Successfully killed process cgroup uid 0 pid 10295 in 0ms
[16409.060849] init: service dpmd does not have a SELinux domain defined
[16409.060882] init: starting service 'dpmd'...
[16409.061967] init: property_set("ro.boottime.dpmd", "16413027349708") failed: property already set
[16409.062582] init: Created socket '/dev/socket/dpmd', mode 660, user 0, group 1000
[16409.063072] init: Created socket '/dev/socket/tcm', mode 660, user 0, group 3003
[16409.063477] init: Created socket '/dev/socket/dpmwrapper', mode 660, user 0, group 3003
[16409.063727] init: cannot execve('/system/bin/dpmd'): Exec format error
[16409.064504] init: Sending signal 9 to service 'dpmd' (pid 10297) process group...
[16409.064608] init: Successfully killed process cgroup uid 0 pid 10297 in 0ms

I dumped the corrupted executables, removed the garbage at the beginning and reflashed them - now /init is happy and it's no longer clogging the CPU.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jony2324:
hello, the ROM is working well, I just found a detail with the Ram, I'm seeing that in Miui when the phone stabilizes after the start the Ram reaches 1.8gb but in the ROM only reaches 1.3Gb of Ram and I think it should be the other way around since the ROM is lighter. excellent work. Greetings.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] justandy32:
Hi mate, I'm curious...have u tried the latest build (april 5th?) yet? I wonder if the problem still persist.

I hope ur logs will help [MENTION=8258181]8224Freak[/MENTION] to mainteneace this already amazing rom.

cheers mate:good:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] tslnox:
I have latest stable and have massive battery drain, does anyone know why?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sp0979:
Facing network issue in 05April build.

Also facing battery issue.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
I have great battery condition with clarity kernel and clarity governor.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sp0979:
Overnight battery drain?

Also KA settings settings pls.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
flash galactic deep sleep mode for overnight drain. Then just change governor in KA. you have to flash clarity kernel before of course...
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sp0979:
I fashed galatic deep sleep mod. Still facing 12-13% battery drain overnight.

No other changes required in settings in KA?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
sry guy, you're right, I'm also facing overnight drain...

Camera doesnt work in last version.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jdr_85:
For me the problem with device staying about 25 % active during screen off has reappeared. It happens even when booted in safe mode without MicroSD. No idea what could be the reason for this. April 4th Nougat.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] IM_s_0_n_a:
I Want To Install Rr Luis Oreo For Redmi 4/4x (Santoni)

Which Will Be Better

7April_____NightlyBuild

2April_____OTABuild
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Nightly
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
it seems last build (7.april) solve battery draining.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
the last build
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jiak:
I am testing the Oreo version of this ROM. I will post a full report after a few days. So far I have found out an issue with network data speed. With Miui I was getting 24+Mbps. Now I only get 5-8Mbps (on 4G). Could this be a settings issue or something else I am missing?

I am on the 20180406 version and no battery drain for me. In fact battery life is comparable to Miui.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Asparagus1973:
Why?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
finally last version solve this problem
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] epiyo:
which kernel are you using?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
claritx 2.9 with clarity governor for big and little cores
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jdr_85:
[MENTION=485637]wenna.speedy[/MENTION] What is your percentage of Deep Sleep (mainly at night when you're not using your phone)?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
99% deep sleep with flight mode on.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] IconicRat:
Which firmware version are you on?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] fincs:
I'd like to post another update. Over the last days, it turned out that the battery drain issue didn't completely resolve. I played around with Kernel Adiutor, and it looks like the big cores are nearly always active, and the LITTLE cores are only very sparingly active. There's also little to no deep sleep activity. Additionally, the system UI process seems to be hogging down one of the cores (at 100%) while the screen is on, for some reason - I'm not sure if this is supposed to happen). There also don't appear to be any process holding wakelocks, or anything that might possibly hinder deep sleep.

Today I upgraded to the latest nightly, 20180408; in hope of this issue (and previous ones I've reported) being fixed. Unfortunately, it looks like the battery drain problem is still present, the two corrupted binaries (dpmd and msm_irqbalance) are still corrupted, and the recent apps hardware button is still broken. I've also tried applying several options in Kernel Adiutor, such as enabling the 'clarity' governor on both little and big cores, or enabling AutoSMP; it doesn't look like any of that had any real effect over the battery drain. At least, the recent apps fix zip that was posted here awhile back did actually work for me, and it's now fixed.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
Fingerprint doesnt work in 0408 version

the last (35)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] IconicRat:
Is Ver 35 only for Oreo or is it compatible with nougat too?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jiak:
That 's strange, I don't have any battery draining problem. Do other users also have it? Could it be because of the dirty flashing of the new versions? Or because you are using another kernel? I just clean installed 20180406 and left the kernel as is.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] fincs:
Apparently other users have also had battery draining problems, but they seem to have resolved on their own (?). I dirty flashed 20180408 (not 20180406), however I wiped system, boot, dalvik and cache before doing so. I'm just using the kernel that comes with this particular version of the ROM (which seems to be based on the Clarity kernel). I don't understand how a dirty flash of a newer version of the same ROM would entail battery drain. I've checked logcat and dmesg and I haven't found anything that would hint towards the cause of the battery drain.

EDIT: Could you use Kernel Adiutor and tell me if you have one core constantly having full CPU usage? (>80%)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] ritotsume:
I have the same problems. Battery drain is too high, and in Kernel Adiutor I have one core working high (>90%)...

I'm using ROM 20180407 Oreo
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
It is official baseband from xiaomi, primary for nougat (miui doesnt have oreo rom for redmi 4x) and works also for oreo.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
weird...
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jdr_85:
In the meantime I am really desperate. My "Android System" is keeping my device awake for too long and I cannot figure out the reason for this. It happens across different ROMs and even in Stock Stable MIUI (see screenshot, this is just overnight!).

Trying to figure out what is common even when changing ROMs and it is:

Phone itself (this is obvious...)

SIM Card (but already removed it and problem persisted)

MicroSD Card (but already removed it and problem persisted)

TWRP <<-- Could this be the culprit? I was using 36.904.960 twrp-3.2.1-0-santoni.img all the time which worked properly but now I've flashed Nikesh 3.1.1-8.0 for testing purposes. Which TWRPs are you using?

Or are there components in the system which can hang even between reboots/flashes/poweroffs? I would try to unplug the battery, but... all phones have this ****ty integrated battery these days thanks to Apple. :silly:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] wenna.speedy:
did you try format internal storage? try flash wolf_twrp too.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jdr_85:
Yes, I also formatted internal storage but with no success. :(
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jiak:
Maybe I spoke too soon. I had 10% battery drain overnight. That 's strange, as on previous nights it was OK.

Kernel Audiutor requires root, so I can't use that.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Try custom kernel like Gabriel and clarity
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Asparagus1973:
With Nougat version of ROM of 04/08/18 clean flash and microG no battery drain.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] humptydumpty:
I'm on rr- 5.8.5 20180305 luis with microg no battery drain. Clean flash.

But also no videoplay in newpipe and YouTube. (They both open and search works.)

Video play in the browser works.

Video play from the gallery works but with some blocks at the start of the video.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Ruzik:
8224Freak,

poor management of the ZRAM, you can add the following code to the init.target.rc:

https://source.android.com/devices/tech/perf/low-ram
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jiak:
I noticed that I am having a delayed notifications problem. If I have left the phone unused for 1+ hours, then notifications (Viber mostly) will come delayed by 40+ minutes or will show up only if I use the phone again. If I have just used the phone in the last couple of minutes, then notifications are coming OK.

I am guessing this could be because I am have not installed gapps (I do not use google apps at all), as some apps may be using google services for push notifications. For the moment I have excluded Viber from battery optimization, to see if it fixes the problem.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] DonSanches:
Could you please post the binaries which you fixed? (If you do it as a patch for TWRP, it would be awesome indeed.)

And by the way, for those who need to use Bluetooth for calls: here is the thing which fixed it on other LOS-based ROMs.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jdr_85:
I assume the battery drain problems many users have are not because of the ROM but depending on the device... still desparately looking for a solution.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sp0979:
But in that case, I had the best battery in LOS 14.1

I used to charge phone once in 2 days. 1% overnight drain with data on. More than 10 hours SOT.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jiak:
The light notification does not work for me, no matter what settings I have set. It only lights up for battery notifications (low battery, charging etc).

Yes, I guess it depends on the device and the set up, too. I am using this ROM (Oreo version) for a few days now and I had battery drain only for one night, for the rest of time battery was OK. But I can only tell for sure after more days have passed.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jdr_85:
For now I have switched back to MIUI temporarily and try to get support in the MIUI forums. One guy there made a very interesting comment which I do not understand. He told that I could have "overflashed" the phone and should have let it settle for some days after flashing a new ROM. Not quite sure what this means as I thought the phone does not care how often I flash it when I delete all user data in between....

But it makes a bit of sense considering my experience here:

I had the system_server awake issue with RR Luis Version A (don't know what exact version it was and I think it doesn't matter).

Some day the issue disappeared and I still don't know why.

When I found it was time to update to a later build, I TWRP backed up Version A and replaced it with the newer Version B.

In Version B the system_server issue reappeared and so I restored the Version A backup.

Now the issue was again in Version A which before backing up and restoring was fine.

That's where I am now. On every ROM I have battery drain.

I really don't understand this...
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] fincs:
My fix was really simple, I just extracted the corrupted binaries with TWRP, stripped the corrupted data before the ELF header (which should start with "\x7FELF"), copied them back with TWRP and fixed permissions (755). This could be done with a flashable .zip, however unfortunately I lack the knowledge necessary to make these zips; and besides, redistributing patched versions of executables that (probably) change with every ROM nightly doesn't seem like a good idea to me.

This makes no sense from a technological point of view. I suspect there's something wrong going on in the kernel, however I can't think of any way (besides dmesg and logcat, both of which were unhelpful) to track down the cause of this issue. Surely the battery drain does not happen on stock MIUI? Also, I should mention that I had no battery problems whatsoever on MIUI, or LuisROM RR Oreo 20180327 (the first version I installed). I only started having problems after upgrading to 20180402 "ota".