yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
You're welcome :)

Glad to hear the patch is working for you.

If you're experiencing battery drain something else must be doing it, I have a passive drain of less than 2% when using schedutil. The point of EAS is to reduce battery drain and increase performance by scaling the CPU frequency based on the estimated energy needs of each process.

But really, how do you get Android Q to boot on your P9? Mine just doesn't. Should I update my firmware to B550? The other one who reports Android 10 as working is [MENTION=6566515]md sabuj[/MENTION] but I still have no clue how he got it to boot, he says he is on B540 Patch02 like me. If I get 10 working on my device I can help upstream the process more. I'm working hard to make our device livable but I still need some guidance. If I get a working 10 build then I can try to get the camera to work.

Huawei devices are really tricky to get right. Contrast this with my Galaxy S7 where the experience is all around wonderful, the mods just work and we have developers working on Android 11 already.

btw, I coded a flashable installer for the kernel that will detect your device and flash the appropriate kernel for your firmware. The only suitable way to achieve that is to check ro.build.security_patch in /vendor/build.prop but unfortunately it means sacrificing support for the OG B540 firmware because the kernels are incompatible yet they show the same secpatch date, have different start offsets and AVB settings. So it will install a B540 Patch02 or a B550 kernel automatically. I haven't added features yet but if you want a 4.4.53 kernel now you can install my experimental build (experimental/ikernel_ex4.zip) which disables AutoSMP and then tell me if your battery improved. I'm also trying to port r29 Mali driver but I need to refactor some HiSilicon code that expects obsolete structs.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] NervReaper:
Andy Yan's LOS 17.1 flashed using TWRP without gapps. Kernel and Ramdisk Stock from B550. The previous time i was on B540 patch02.

View attachment 5096607
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Nevermind, brother. I got Quack Phh-Treble AOSP 10 booting after reflashing stock B540 ramdisk. Magisk doesn't seem to work on Android 10. Will do further testing, lots of updating to do.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] md sabuj:
https://deac-ams.dl.sourceforge.net...1-20200808-UNOFFICIAL-treble_arm64_avN.img.xz

Latest version for ARM-64 A only device it should work. Cannot give the one booted for me right now as I am 450 km away from my Home.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Thanks, already got it booting. Magisk is incompatible. btw I am almost done with r28p0 Mali driver, now I need to find a solution that causes SurfaceFlinger to crash at boot time. Also, camera and NFC don't work, which also are the two non-Treblified parts of the device. We will have to work on them like the old times, by making a shim. I never worked on a shim before, it's going to take some time.

EDIT: passing IPA_GPU to gpu_id didn't solve the issue Maybe next verdion will have to come with r20p0 instead. Debugging those things is very hard and the only thing dmesg mentions is a "page fault on AS3"
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] md sabuj:
What changes are in b550?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
I don't have device anymore but it was discussed in HWOTA7 thread by members who successfully did the upgrade.

You can find b550 on FF, if I recall correctly from the ChangeLog, main one is update to Security patch 2020 Jul 1
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Testing building with Linaro GCC 5.5. If this is successful we could potentially have an up to date toolchain to build this kernel

EDIT: Kernel not booting, this may be the culprit. I'll try booting the UBERTC kernel with the amend

EDIT 2: The patched kernel boots when built with UberTC. A GCC 5.5-built kernel will result in a looping boot screen.

asm volatile (
__asmeq("%0", "x0")
__asmeq("%1", "x1")
__asmeq("%2", "x2")
__asmeq("%3", "x3")
"smc #0\n"
: "+r" (funcid)
: "r" (arg0), "r" (arg1), "r" (arg2));

return (int)funcid;

EDIT 3: Found another potentially fatal piece of code related to PLT code, it seems to take a 32-bit address when pointers are 64-bit in aarch64

u64 livepatch_emit_plt_entry(struct module *mod, unsigned long val)
{
struct plt_entry *plt = plts_addr;
int num = mod->arch.core.plt_num_entries;
u32 *addr = (u32)&plt[num];
u32 insns[4];
int i;

mod->arch.core.plt_num_entries++;
BUG_ON(mod->arch.core.plt_num_entries > mod->arch.core.plt_max_entries);

insns[0] = cpu_to_le32(0x92800010 | (((~val ) & 0xffff)) << 5);
insns[1] = cpu_to_le32(0xf2a00010 | ((( val >> 16) & 0xffff)) << 5);
insns[2] = cpu_to_le32(0xf2c00010 | ((( val >> 32) & 0xffff)) << 5);
insns[3] = cpu_to_le32(0xd61f0200);

for (i = 0; i < 4; i ++) {
if (is_hkip_enabled()) {
aarch64_insn_patch_text_hkip(addr + i, insns[i], hkip_token);
} else
aarch64_insn_patch_text_nosync(addr + i, insns[i]);
}

return (u64)addr;
}

messing with Kirin kernel code is making me insane

EDIT 3: The kernel will keep being built with UBER 4.9, it can be built with GCC5 but the resulting kernel will not boot.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] md sabuj:
I need detailed battery stats in my P9 running LOS16 by openkirin, Could you please guide me how to get it?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
1.0.0 is almost done and it will probably be my last P9 work.

Sorry, no idea :c

Try installing a Magisk module or Greenify. A custom kernel won't help you with battery stats (but it can help you save battery)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lo_ol:
In that case, would you mind adding Boeffla wakelock blocker, blu_active governor and maybe blu_schedutil or a more updated schedutil version like they have on the 3xl to your final build?

Thanks a lot:D
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
We allready tried to boot it with other toolchains running higher than 4.9, but not booting so far on China builds.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Oh, that's unfortunate. So we will have to stick to 4.9 after all.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
I'm in the process of adding Boeffla WL blocker. blu_schedutil and blu_active can be cherry-picked easily. I think the current Chihayafuru schedutil works well enough and scales fast. I'll look into updating it for the next update but why would you change it? Is your battery life worse than interactive?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Thanks for specifying, I added blu_active and blu_schedutil already and will use the tunables you provided as defaults for blu_active and blu_schedutil. schedutil has never caused microstuttering for me, in fact, it eliminated it when I experienced it with interactive, but it must be ROM and workflow dependent so I will include what you said.

1. I personally use EX Kernel Manager's battery monitor. It is one of the biggest reasons that got me into buying it aside from the clean interface.

2. This SoC is unusual and very quirky, in fact I am kinda tired of working with it and IDK if it's actually worth to create an Android 10 base for it, no Magisk, no NFC, no camera and Android 11 already out. Plus, [MENTION=7929484]MSe1969[/MENTION]'s LineageOS 16.0 always merges the latest security patches needed to keep this device secure. This kernel will still be updated. Why can't things like audio effects just work like on Snapdragon or Exynos?

3. I tried to implement Spectrum profiles only to find the ramdisk does nothing to actually initialize it and your post may be a solution. I will try to get the kernel to boot again, the latest build doesn't boot for some reason, I suspect it was a defconfig issue but still. Perhaps I need to disable WALT even though I merged hackslash's fixes.

4. The point of EAS is scaling the ferquency in function of the SoC's current energy needs. It is expected your device will scale to higher frequencies if the estimated energy needs of a task are high, even for a split second. However, I'm relying on Huawei's EAS core and I think it needs some fixes which I have yet not merged to behave even better. I hope blu_active will serve well in the meantime. Next versions will incorporate JBolho's EAS fixes.

EDIT: Booted and calibrated blu_schedutil with your settings and seems to work okay, no stuttering while browsing or gaming. Now I will test idle and low activity power consumption. I'm enabling blu_schedutil for both clusters though. Boeffla WL blocker has been merged too.

EDIT: Your tunables provided the best performance/battery life of all combinations. 1.0.0 is shipping blu_active and blu_schedutil for big and LITTLE clusters respectively.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lo_ol:
Thanks! Everything already included that I've has asked for:D Sounds pretty good!

I haven't tried 10 since last year tbh, but from what I remember most hi6250 community fixes were working on the P9 as well. I think this brought back nfc. They also got some Q roms by DarkJoker360, that apparently have most things fixed. Pretty sure that phh-magisk 19.3 was fine, maybe newer builds require those. However the deal breaker is the broken camera server that keeps me from bothering with 10. On the other hand it'll probably still take quite a while until we see 11 booting on an a-only device with Oreo-vendor, if possible at all
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] xaweryp:
Thanks a lot - testing for few hours already and works really fine on EVA-L19 (B550)!

btw. woudn't it be possible to select the schedutil just as the default kernel config?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lo_ol:
It's already the default, but gets overwritten by /vendor/etc/init/hw/init.hi3650.rc on boot

Just comment out lines 242 & 262 to prevent it from switching back to interactive
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] xaweryp:
Thanks a lot, indeed works as expected!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Once 1.0.0 comes out it will include an installer that patches your vendor partition automatically. I'm currently busy with university so expect to wait for a while. Otherwise you can build the latest kernel from source and flash it yourself.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] :
How can I build the lastest source ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
1.0.0 has been officially released and will be uploaded shortly! Tons of new stuff, upgrading is highly recommended!

also I kinda screwed up with Git at the last minute so you won't be able to use KSM for now until I release a patch, sorry for that.

EDIT: 1.0.0 has been fully uploaded, check Post 2 for changelog

You are expected to know how to build from source if you want to try the latest development version.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] xaweryp:
Hi,

thanks a lot! So far so good (P9 L19->AL10, stock Oreo 850 rom), will let know if will find any issues.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] md sabuj:
Flashing via TWRP to KERNEL partition is ok?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
No, flash the ZIP normally. It's not an image. The ZIP will flash the right image for you to your kernel partition.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] NervReaper:
GPU governor it's set to gpu_scene_aware by default and scrolling feels laggy, so i changed It back to mali_ondemand and now everything feels nice and smooth, battery life It's amazing too for now. Thanks!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lo_ol:
Thanks! Seems pretty good basically however, and I guess its mostly rom dependent, but since it doesn’t allow setenforce 0, it breaks my framework overlays, Volte and a ton of stuff:D

Would you mind setting CONFIG_SECURITY_SELINUX_DEVELOP=y in future builds?

Also apparently they’ve made hi3660 sources permissive by, well, just setting it to zero.. https://github.com/UchihaDev/HyperPlus/commits/master/security/selinux/selinuxfs.c

Not sure it’ll work but why even bother with selinux on gsi?

And yes I could build from your sources by myself but currently I've only got a core-m device with limited space I could use and would need to set linux up for this:D
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Thanks, will be fixed on patch 1.0.1
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
I will consider checking it out for the patch, in the meantime consider fixing your SELinux policies.

1.2.0 might have newer Mali drivers, I found an EMUI 9 device with r28p0 drivers and downloaded its latest firmware

EDIT: [MENTION=5173428]lo_ol[/MENTION] If I will allow permissive SELinux it must be toggleable, the kernel will stay enforcing by default.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Patch 1.0.1 is being built and will be uploaded shortly. ready. See post 2 for changelog.

EDIT: My build environment is acting out, it will take some time longer please be patient

EDIT: Uploaded, please check it out.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lo_ol:
Selinux develop flag should do it in that case. By default its enforcing, but also allows permissive mode to be set manually by issuing setenforce 0 command with root privileges
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Thanks, will do that.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jpsajin:
How to flash without TWRP?

Hi,

I am using one of the GSI treble lineage OS 16 for my rebranded Huawei P9. I haven't installed TWRP in my device but I wanna install this kernel, How can I install it without TWRP?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] NervReaper:
Extracting the img from the zip and flashing using fastboot should work, but you will have to set the cpu governors manually.

---------- Post added at 22:48 ---------- Previous post was at 22:47 ----------

Performance it's excellent, battery life it's amazing (4:30-5 hrs SOT), memory management it's awesome. You are god.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
[MENTION=5173428]lo_ol[/MENTION] Patch 1.0.2 has been released and has been uploaded. See post 2 for changelog.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lo_ol:
Thank you! It works as intended:D
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] NervReaper:
it's possible to enable sched_debug for next release? i'm testing a bit on kernel parameters and it's necessary to modify some values.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Sure, for the next build. After 1.0.3 I am doing a major feature upgrade, probably the last one ever, after that I will focus on upstreaming and catching up with linux-stable.

One more thing:

Once phhusson's Android 11 patches are ready I will start developing LineageOS 18.0 for us, or even AOSPA 11 if it ever comes out...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
LineageOS 18.0: In the works

I am preparing a Lineage 18.0 device tree for EVA based on phhusson's work. Now I am just waiting until he releases the three or four remaining AOSP 11 patches and I'm ready to go.

I will focus first on getting it to compile without crashing and burning, and then I will focus on making it work well.

Once this base is usable without kinks, you will have to keep this device alive for me. Use it to port other ROMs or Android 12 in the future, I want to see our custom ROM page full again. Imagine having AOSPA or RR on P9!!! and no, phh-based GSIs are unlikely to just work, they require some changes that I pushed and they haven't accepted yet.

And, like any ROM dev says...

No ETAs!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] md sabuj:
Eagerly waiting😍😍
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] szb1:
What should I do if I want to restore:confused:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] szb1:
and

Because I can’t send the link in the post, I sent you a private message with the file link . it's B552 stock kernel，Don't know if it is convenient for you to package a kernel for it?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] szb1:
there is a app named "AccuBattery" ,which can evaluate battery health

But if "Smart Battery Capacity" is turned on, then it won't work（I don’t know if this feature is available on lineageOS16. I only discovered this feature after upgrading my p9 from B535 to B552.） （In addition, on emui8, I can find the related files of battery information in this directory: /sys/class/power_supply/uevent, maybe you can refer to it, emmm……, maybe you have solved this problem）

---------- Post added at 07:22 AM ---------- Previous post was at 07:21 AM ----------

oh maybe i know it fastboot flash vendor vendor.img
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] xaweryp:
Actually it looks I'm having some issues with the latest kernel on my P9 with both offline charging as well as quick charge.

For offline charging - it stuck each time when offline charging is started (from cold boot). When offline charging status the I'm unable to boot phone further otherwise than resetting each time (by long pressing power button).

For quickcharge - it's simply not activated and I can not find any option to enable it within the OS (LineageOS)

I'm using latest 1.0.2 on my 550 ROM with LineageOS 16.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] psolyca:
Sorry to revive this thread.

I had to build a new kernel to enable the option "Huawei Kernel Harden - open ptrace poke parameter process".

The kernel is ready but how do I build the KERNEL.img ?

I have read a thread from paulobrien but it use the boot.img not a kernel.img.

EDIT : Found a way with mkbootimg but bootloop with my parameters :

./mkbootimg --kernel kernel --base 0x478000 --cmdline "loglevel=4 initcall_debug=n page_tracker=on slub_min_objects=12 unmovable_isolate1=2:192M,3:224M,4:256M printktimer=0xfff0a000,0x534,0x538 androidboot.selinux=enforcing buildvariant=user" --tags_offset 0x07988000 --kernel_offset 0x00008000 --ramdisk_offset 0x07b88000 --os_version 9.0.0 --os_patch_level 2021-09-01 --output kernel.img

Is kernel a copy of Image.gz or Image ?

I am with LineageOS 16.0 https://xdaforums.com/t/rom-treble-microg-lineageos-16-0-for-huawei-p9.4078383/
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lo_ol:
Just use android image kitchen, unpack b550.img (or whatever matches your emui vendor) and replace ./split_img/b550.img-zImage with your new build. Repack, flash..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] psolyca:
Thanks, I can boot but LineageOS do not start.

Have to discover why ^^
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] :
any keys to disable this kernel trottle?
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] eunhaisme:
​

Pixel Experience for [Curtana][Joyeuse][Gram][Excalibur][Unified]​

What is this?​

Pixel Experience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, bootanimation)

Our mission is to offer the maximum possible stability and security, along with essential and useful features for the proper functioning of the device

Based on Android 10.0​

Whats working?​

Wifi

RIL

Mobile data

GPS

Camera

Flashlight

Camcorder

Bluetooth

FMRadio

Fingerprint reader

Face Unlock

Lights

Sound / vibration​

Known issues​

NFC Dead (Joyeuse)

For Safetynet Fix - Flash in magisk here​

DON'T FLASH GAPPS, THEY'RE ALREADY INCLUDED​

Download​

Donate​

Liked my work? Give me a beer​

Translation​

Help with project translation​

Stay tuned​

Our Telegram channel​

Our blog​

Android OS version: 10.0.0_r41

Security patch level: August 2020

Build author/Device Maintainer: eunhaisme

Device Source code: https://github.com/PixelExperience-Devices

Source code: https://github.com/PixelExperience

Kernel Source code: https://github.com/Demon000/kernel_xiaomi_sm6250

ROM Developer: http://xda-developers.com/member.php?u=6519039]jhenrique09
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] godjob:
Thanks for the Rom, love from joyeuse
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] eunhaisme:
You're welcome ?
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] The Wolf Dark:
Waiting for fix NFC & Safety Net without module :silly:

Cheers,

?
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] shocker6gou:
curtana

base rom

MIUI V11.0.7.0 Global 　WiFi and mobile data don't work

MIUI V11.0.9.0 Global 　Settings crash on the initial screen and cannot complete

MIUI V11.0.11.0 Global　Settings crash on the initial screen and cannot complete

Is it just me?
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] iamparven:
why the camera sucks tried multiple gcam mods. anx cam

seems like the front cam is not really optimized
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] ukecchi:
May I know what was the base rom that you were using when you flashed the official build for curtana? Does it work with MIUI V11.0.11.0 Global??
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] iamparven:
Unfortunately Fast charging doesnt work on Excalibur
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] scott86:
I'm getting the same problem. Curtana (6-128) model. When i boot into the setup, it tells me it cant see my sims, and wont detect wifi... I can skip all that in the setup, but even at the homescreen, post-setup, i cant get my wifi or sim cards seen.
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] GabbyWC:
I had the global stable MIUI V11.0.5.0.QJZMIXM release on my joyeuse phone before I switched over to custom ROMs. According to this web page, the equivalent global stable MIUI version for curtana from around the same time was V11.0.10.0.QJWMIXM or V11.0.11.0.QJWMIXM.
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] samcess:
How to root after flashing this rom?
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] Greatness_GH:
Reboot to recovery and flash latest magisk
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] amanisthebest:
Is Ok Google working for anyone?
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] Jonanthan Nascimento:
Any update?
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] poweredmert:
Why is there no discussion thread for official rom?
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] GabbyWC:
The main developer (ctwoon) has not created a thread for the official ROM. If he and the moderators are okay with someone else creating a thread for it, then perhaps that can happen.
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] poweredmert:
Contact him to do maybe?

Man this is the best rom for joyeuse, it's a shame there's no official thread for it.
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] GabbyWC:
I agree. I asked him about it and he said that he does not plan to create a thread for it here at XDA. There is an official Telegram chat channel for Pixel Experience where some people have talked about his ROM so maybe that's the next best option aside from these unofficial PE threads at this forum.
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] poweredmert:
Does recorder app work for you?
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] GabbyWC:
Which recorder app? I don't see one that came with this ROM.
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] poweredmert:
I mean the curtana one with joyeuse support. Google's recorder app. Are you sure?
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] GabbyWC:
I'm talking about the same official ROM. Is this the app you're asking about? It doesn't come preinstalled with the official ROM but you're right, Google's voice recorder app doesn't work for me either. I use Easy Voice Recorder Pro which works as expected.
[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] poweredmert:
I guess it came from my older evox rom lol. Thanks.