yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Toyohama:
Sorry, but I think it may be a problem with the wake-up lock. The language issue may be caused by my browser's automatic translation.I will re inspect it Thank you for your response😊

EDIT: At the beginning I had occasional deep sleep issues on the March pe. And I sometimes encountered a lot of power consumption problems at night on several roms built by the official los dt, so I guessed at first that it was a kernel problem, but the log was filled with encryption errors, so I couldn't judge the deep sleep problem. I'm an android beginner . And sorry for wasting your time with my question
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] leowolf22:
Face unlock works?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Phyo231:
Hello everything work for now but HDR processing time of BSG Gcam is too long. Could you change back to miui cam like other pixel plus rom? I tried to install ANX camera for Android 11 but can't install. BTW I like this rom coz of user can get in touch with developer. Thz and have a great day
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] TSlak:
Hello everyone. I'm going to ask a very strange question, but how secure is your ROM? Sounds like I asked if they were scammers, they said no)) And I also wonder how easy it is to embed Trojans and other malware into the firmware? Is my paranoia unfounded? Sorry if I offended you, I didn't mean to.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Phyo231:
Hello bro! here ANX camera link

--https://camera.aeonax.com/

Here are MIUI camera magisk module

MiuiCamera [Magisk Module]

MiuiCamera for AOSP A11,A12 and A13 Custom ROMs, properly tested on miatoll devices but may work on other devices as well.

store.kde.org
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] YH297:
YH297
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Toyohama:
In addition, I found the reason for the abnormal deep sleep. It seems to be because of the problem of the screen off fod. The fingerprint module in the log prevents the deep sleep, and everything returns to normal after the screen off fod is turned off.

[ 43.208163] [GTP-INF][gsx_gesture_before_suspend:737] Set IC in doze mode
[ 43.208167] [GTP-INF][goodix_ts_suspend:1880] suspend_stat[3]
[ 43.208172] [GTP-INF][goodix_ts_suspend:1881] Canceled by module:Goodix_gsx_gesture
[ 43.208179] [GTP-INF][goodix_ts_suspend:1931] Suspend end
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] TSlak:
thank you, I really liked the ROM. And what is the difference between the plus version? Is it also possible to turn on the usual one so that the percentages are shown, and not the prediction of the battery? And 4g instead of lte?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Pumukk:
Hi, this ROM seems amazing. How much time of screen time do you get with it?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] TSlak:
100-57% percent - 3:39 display on. But I have a new battery

UPD: 100-20% 6:09
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Carlos2100:
When will It was update this rom?

thanks
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] nathankaunang:
how to root? when i change twrp to latest twrp but bootloop
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] drik05:
Finally managed to install this rom on my old Grus. So far so good. No bugs so far. Thank you 😀
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] drik05:
One thing, do we have an option to hide the notch ? I installed pe+ version. The notch shape is not good in this rom.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] -+BB+-:
I took a look and MIUI camera require several changes in order to properly work:

1 - PE does not support at all MIUI camera, there's a topic open in PE Gerrit, but it's WIP and cannot be merged as is (I'm 100% sure that jemalloc breaks things on gemini/msm8996 devices, so at least the bionic part must be changed)

2 - When the topic will be merged i will see if i can merge all the needed changes in dt and proprietary files repo, because i don't want to import MIUI gallery or other things that may break some PE functionality, and there are also some changes in SEPolicy that sounds wrong to me, I must revisit them before merge SELinux rules

I should take a look at FP sources, but as far as i remember that log should not be related to deep sleep as FP module is stopping screen suspend, which is what should happen if you want to use FOD with the screen off

Plus version has some additional customisation and options, like battery icon shape, network indicator, etc.

Battery prediction has been added by AOSP and there are no option for disabling it, at least last time I checked, when you enable battery percentage battery prediction will be enabled too (stock AOSP behaviour).

Regarding 4G/LTE what carrier are you using? Some carriers use custom configurations and LTE is displayed instead of 4G

When PE devs will merge QPR3 in ROM sources

I do not support rooting or TWRP, but you should be able to root your device even with stock recovery

Notch shape will be fixed in next release: grus: overlay: Set config_mainBuiltInDisplayCutout
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] drik05:
I appreciate it very much. I'll stay in this rom

to see what comes along, hoping for an

official build. Thank you for your work
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] drik05:
Anyone facing the same ? some random videos looks like the screenshot below.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] koleso1982:
Please tell me the feature of updating the latest firmware version, let's say with this PixelExperience_grus-13.0-20230418-2249- UNOFFICIAL (this firmware is currently installed-an ordinary version) on this PixelExperience_Plus_grus-13.0-20230504-2250- UNOFFICIAL (I want to upgrade to the PLUS version). Is it necessary to do Format data during the update process for the firmware to work correctly?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] drik05:
You can dirty flash the plus version over the normal version as per prev note.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] koleso1982:
Thanks for support!
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Apollon.Theos:
Thank for your ROM, easy install, but exist some queries:

- how remove from main screen little time, standard description from Google not remove it. Only remove notifications from it.

- how remove search line in bottom of screen?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Apollon.Theos:
Sorry. Garbage message.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Apollon.Theos:
Bug found.

Camera, allow use location "only this time" and "turn off HDR" -> camera finish work with error.

And not started later. Reboot not solve problem, camera start and close immediately.

After power off and on, problem exist.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Apollon.Theos:
PixelExperience_grus-13.0-20230506-1053-UNOFFICIAL.zip

Format data and repeat flash ROM. Allow camera use location. Turm off HDR. Same error.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Apollon.Theos:
Google Lens open camera and can work, Translate from Russian to English with Google Lens, work.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Apollon.Theos:
Flash PixelExperience_Plus_grus-13.0-20230504-2250-UNOFFICIAL.zip

Same error with camera. Lens work.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] thony11:
last update PE normal,brighness so light in low brightnes ,, sory my bad english
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Pumukk:
Anybody knows what makes a rom official?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] drik05:
I just noticed that I cant receive incoming calls ? Anyone know how to fix ?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] ZOOM0815:
yes, same error here. only some of the videos on Instagram are affected by this
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] -+BB+-:
Hi to everyone, July build is out, here' s a partial changelog from latest public build (for full changes take a look at my branches, changes expecially on kernel side are huge)

ROM

- Rebased over QPR3 sources

- Merged July security patches

Device tree (sdm710)

- enable SAE/WPA3

- provide lib_aion_buffer libs for GCAM

- allow little cores to use 300 Mhz as minimum freq

- switch to ZSTD for ZRAM compression

- Compact cached app heaps in the background

- remove several debugging packages

- disable Google Dialer call recording

- Switch to jemalloc for libc

- Migrate to AIDL ClearKey DRM HAL

- enable debugfs restrictions

Device tree (grus)

- Set config_mainBuiltInDisplayCutout

- fix power profile

- Switch to config_screenBrightnessSettingMinimumFloat

- really include vendor.prop to build

- skip HFR check for Google Camera

- restrict aux camera to Google Camera app

- Set config_mainBuiltInDisplayCutout

Kernel

- Compile with Clang 17.0.3 (latest available on AOSP master branch)

- Optimise kernel with O3 flag

- Fixed all warns spotted by Clang 17.0.3

- Huge debloating

- Ported and set to 16 PELT half-life feature

- Ported and enabled ZRAM dedup

- Ported and enabled ZSTD, replace our old version of LZ4

- Complete DEBUGFS removal

- Ported several version of optimised ARM routines

- misc bug fixes/improvements

- A lot of other changes and fixes, see my branch for more info

- merged all security patches

Here's the direct download links:

Pixel Experience 13

Pixel Experience 13 Plus

Recovery updated to latest PE sources

@drik05 @ZOOM0815 Cannot reproduce it here, both calls and videos bug, I don't use Instagram at all if you still have the same issue in latest build provide me logs

@Apollon.Theos Do not spam the thread, there's a edit button if you need to add further info. BTW nice catch, but should be reported to BSG, it's a GCAM bug and I have no control over GCAM packages changes (i haven't inspected so much but I assume it's a BSG GCAM bug because other versions from other devs like shamim does not crash). Also location it's not related at all, disabling HDR trigger the crash, no need to reboot, clear app data and will work again. Apparently GCAM is trying to read some HDR related conf even when HDR has been disabled by user, that's why it's crashing

@thony11 PE standard or plus? cannot reproduce here with plus version and automatic brightness enabled

@Pumukk i should ask the main dev to go official, the ROM perfectly fulfils PE requirements, but I have no time now to actively follow an official ROM development

NOTE: If someone is interested I fixed and compiled the kernel with Clang LTO, can be downloaded from here. WORKAROUND: before flashing the kernel compiled with LTO copy Goodix Firmware in /system/etc/firmware or touch screen won't work (still trying to understand WTF is broken on kernel firmware loading and LTO, but copying goodix firmware in system work around the issue for now). Please report me any regression (if any) you found compared to kernel shipped with the ROM. Thanks
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] ZOOM0815:
Thank you, will check if the bug is gone.

Can I just dirt flash it over the march release? would love to keep all apps and settings 🙃
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] -+BB+-:
Yes, updates and switching between versions does not require a clean flash
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] thony11:
In

PE standar brightnes so high in night time
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] thony11:
Thank u for update vibrate , brightnes,, still low n high
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] drik05:
Dirty flashed. Again, thank you for your work. 🙌
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] drik05:
Hi ! Is it possible to add this v shape notch by default in this rom under dev option ? This is the default device cutout used in our stock rom. I saw it in our telegram group.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] koleso1982:
I switched (flashed) from this assembly PixelOS_grus-13.0-20230706-0844.zip to this assembly PixelExperience_Plus_grus-13.0-20230712-1853-UNOFFICIAL.zip by dirty firmware. I had to use an OTG adapter and a USB flash drive, since the memory is encrypted, although the installed TWRP supports memory decryption.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] fabiomich:
thanks for this new release it works very well

I kindly ask it's feasible to have/do a mod kernel with the setting to use docker inside termux

e.g. https://gist.github.com/FreddieOliveira/efe850df7ff3951cb62d74bd770dce27
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] -+BB+-:
I'm unable to reproduce the brightness bug, it's working fine for me, no matter what i try, also from my logs everything is fine. Regarding the vibration i already answered some time ago, it's the same haptic driver used in official LOS with the same identical intensities. If you want to revisit intensities levels you absolutely free to send me a PR on git, I will review and merge it if it's good, there are no great requirements for this kind of patch, but do not remove actual intensities, add new levels if possible (I never took a look at vibrator code on AOSP, I don't know how Android handle vibration intensities overlays)

Try disabling signature check, the ROM is signed with a different key than TWRP, if i remember well TWRP have an option for skip signature check

Don't know if works because i don't use termux, but at least it's booting :)

You can download a kernel test build from here, there's only a small drawback: I've compiled the kernel with the LTO branch so touch is completely broken, before the flash create a folder named "firmware" in "/system/etc/" and copy goodix_gt9886_fw_f2.bin and goodix_gt9886_cfg_f2.bin, then flash the kernel. The internal error warn at boot can be fixed when we are sure it's working fine with termux docker.

A couple of important things:

1 - CONFIG_IPC_NS and CONFIG_NETFILTER_XT_MATCH_IPVS does not exist on 4.9 kernel, if termux configuration script warns you about wrong kernel config it's expected, we simply don't have that features

2 - If something does not work i need both kernel/logcat and termux logs

Link to Termux branch

PS: I don't think i will merge this in my main branch, but i can compile the kernel in five minutes, no problem for ship it when ROM is updated, i will upload it separately
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] koleso1982:
Dear developer, thanks for your support! Tell me in more detail at which point in the recovery it is possible to disable ROM signature verification. Installed recovery Orange Fox R11.1_4.
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] fabiomich:
I'm sure I've done something wrong

I make a folder in system/etc with name firmware and I put goodix_gt9886_fw_f2.bin and goodix_gt9886_cfg_f2.bin inside

I've flash boot-LTO-Termux.img with fastboot "flashboot flash boot boot-LTO-Termux.img" but when I reboot the touch screen doesn't work

I'm tried also with Magisk patched version but the result is the same, the touch screen doesn't work

probably I'm doing something wrong

where is the error?

where can I find the kernel log ?

thanks
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] thony11:
At night, the brightness is at its lowest position, but the screen is still bright
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] -+BB+-:
That's weird, you should have the touch working with those files in "/system/etc/firmware"

You can check if files are in the correct place with adb even if the touch does not work

adb shell ls /system/etc/firmware

same for the dmesg, you can save a log file with a single command, this will save a log file in the directory you are running the command prompt

adb root && adb shell dmesg 2>&1 | tee dmesg.log

NOTE: this command is for linux, on windows syntax may be slightly different

I have no problem at all with brightness, everything works as expected here

And please use the edit button, spamming the thread with duplicated messages and with any useful info does not help at all

I'm not 100% sure, but in TWRP i remember that under settings there was some option for disable some kind of check, if there is an option for disable signature check it's there if Orange Fox use TWRP sources as base. PE recovery does not check signature as far as I remember, and LOS recovery show a warn but allow users to flash the package even if the signature is different
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] fabiomich:
I checked and after reboot the folder and the files are missing

I believe to have disabled the signature check using

fastboot flash --disable-verity --disable-verification vbmeta vbmeta.img

the result is clear this is not the correct method

in attachment my log

thanks
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] -+BB+-:
That's why the touch does not work, you miss firmware files

With adb:

adb root && adb shell mount -o rw,remount /
adb shell mkdir /system/etc/firmware
adb push /PATH/TO/YOUR/FILE/goodix_gt9886_fw_f2.bin /system/etc/firmware
adb push /PATH/TO/YOUR/FILE/goodix_gt9886_cfg_f2.bin /system/etc/firmware
adb reboot

EDIT: no need to disable anything when flashing a new kernel, simply run

fastboot flash boot YOURBOOTIMAGE.img
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] fabiomich:
already tried

adb root

adb shell mount -o remount,rw /system/etc

I had to use /system/etc because with only / I cannot make the folder

adb shell mkdir /system/etc/firmware

adb push goodix_gt9886_fw_f2.bin /system/etc/firmware

adb push goodix_gt9886_cfg_f2.bin /system/etc/firmware

adb reboot fastboot

fastboot flash boot MYBOOTIMAGE.img

fastboot reboot

but when the system restart there isn't the folder firmware

thanks
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] -+BB+-:
Because you tried to mount a folder, not a partition

adb shell mount -o rw,remount /

Edit: if doesn't work then your adb is broken, install another version of android tools
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] fabiomich:
I can do it and I can make a folder in root and in system but not in /system/etc maybe because is e link

grus:/ # mkdir /system/etc/firmware

mkdir: '/system/etc/firmware': Read-only file system

grus:/ # mkdir /system/fabio

grus:/ # ls /system

apex bin etc fonts lib priv-app system_dlkm usr

app build.prop fabio framework lib64 product system_ext vendor

grus:/ #

"fabio" folder remains also after the reboot

I have also installed new version of android tools (July 2023)

SDK Platform Tools release notes | Android Studio | Android Developers

Android SDK Platform-Tools is a component for the Android SDK.

developer.android.com

but the result is the same I don't know why
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] -+BB+-:
/system/etc/ isn't a symlink, it's a real folder in system partition, if you have write perms on /system then you must have the same perms on /system/etc , tried again right now and it's working as expected:

└─$ adb root && adb shell mount -o rw,remount / && adb shell mkdir /system/etc/DUMMY && adb shell ls /system/etc/ | grep DUMMY
restarting adbd as root
DUMMY <-- mkdir worked

You can see it's a real directory from my build output too (from the root of my build environment):

└─$ ls out/target/product/grus/system/etc
apns-conf.xml bpf dirty-image-objects fonts.xml group linker.config.pb NOTICE.xml.gz protolog.conf.json.gz seccomp_policy task_profiles vintf
audio_effects.conf cgroups.json displayconfig fs_config_dirs hosts media_profiles_V1_0.dtd passwd public.libraries.txt security task_profiles.json vndkcorevariant.libraries.txt
boot-image.bprof classpaths event-log-tags fs_config_files init mke2fs.conf permissions res selinux textclassifier xtables.lock
boot-image.prof compatconfig firmware gps_debug.conf libnfc-nci.conf mkshrc preloaded-classes sanitizer.libraries.txt sysconfig ueventd.rc

As you can see by yourself, it isn't a symlink, it must be writable if system is remounted as writable, and system is mounted on "/"

└─$ adb shell cat /proc/mounts | grep /dev/block/by-name/system
/dev/block/by-name/system / ext4 rw,seclabel,relatime,discard 0 0

and there's anything related to "etc"

adb shell cat /proc/mounts | grep etc
<-- No output, nothing with etc in /proc/mounts

PS: do not update android tools every new release, use a version with the same API the ROM is using (33 for Android 13)

└─$ adb version
Android Debug Bridge version 1.0.41
Version 33.0.3-8952118
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] thony11:
At first open the gcam application,, laggy
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] fabiomich:
thanks again for your help

I did again but it didn't work

% adb root && adb shell mount -o rw,remount / && adb shell mkdir /system/etc/DUMMY && adb shell ls /system/etc/ | grep DUMMY

adbd is already running as root

mkdir: '/system/etc/DUMMY': Read-only file system

Therefore I took the decision to install again PE13plus from the beginning, cleaning all

Now it works fine

Now I'm trying to install docker, I've just checked the enable kernel features

In attachment the report and all the general requirements are ok

May you support again to enable also the missing features?

thanks
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] -+BB+-:
Logs or never happened

Done, I haven't tested it but it's compiling fine without errors, also I was wrong about CONFIG_IPC_NS and CONFIG_NETFILTER_XT_MATCH_IPVS, we have both in our kernel (according to lkddb vanilla kernel doesn't have them) and has been enabled

Only missing stuffs are ZFS support (we don't have it at all) and CONFIG_CFS_BANDWIDTH is disabled because require WALT to be disabled, but it's used by the kernel scheduler

BTW probably something got screwed flashing some magisk stuff/module, if you cannot make system partition writable then there's a big problem with the partition or the OS

You can download the kernel here, i've synced it with all my latest changes in LTO branch
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Lumyat:
Thank you for the update. Proximity sensor isn't working. it says "cannot receive data from sensor" or something in sensor test apps. It worked in the previous version. It also does't work in lineage
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] ZOOM0815:
Dirty flashed, but the video codec bug in some Instagram reels still persists.

another weather app has some I flickering glitch
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] tellarexis:
I confirm, same problem
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] -+BB+-:
Thanks for the report, I can reproduce that, I've already found the cause and temporary fixed it (in a terrible way). Still not sure why it's happening but elliptic driver and other Grus related Techpack drivers on kernel are not compiled at all.

If you need the proximity sensor working I've uploaded my latest test kernel on AFH, you can find it here.

NOTE: it's compiled with LTO and includes all stuffs I'm testing right now (several fixes and improvements, and the migration from WALT to PELT), be aware that something may not work as expected (even if everything is fine from my test/bench), and remember to put touch firmware files in /system/etc/firmware before the flash

Fix in a really dirty way:

Revert "techpack: audio: Drop custom Kconfig entries"

[REVERT ME] Techpack: add Grus specific drivers to sdm670auto.conf

[REVERT ME] Techpack: fix elliptic build errors

EDIT: fixed in a better and proper way for all devices:

(1/2) Teckpack: fix compiling of techpack drivers

(2/2) Teckpack: fix compiling of techpack drivers

As i wrote last time provide me logs, I cannot fix something I don't have and that I cannot reproduce in any way

@fabiomich : I've disabled WALT so i was able to enable CONFIG_CFS_BANDWIDTH, now all mandatory and optional deps except zfs should be ok, download it from here
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] ZOOM0815:
What log? how can I provide this?
[Xiaomi Mi 9 SE ROMs, Kernels, Recoveries, & Other ] Carlos2100:
Good afternoon. How do I install the image?