Development [ROM][12.1][UNOFFICIAL] PixelExperience for Xiaomi MIX 4

Search This thread

jukefoxer

New member
Aug 17, 2022
1
2
Switzerland
Hi Inkypen. Thanks a lot for making and maintaining this ROM! I just got my new Mix 4 and was slightly disappointed by the official Xiaomi EU ROM.
Your Pixelexperience ROM is a game changer and everything works so much smoother. Keep up the great work!
 

FtzslyYueMing

New member
Mar 17, 2019
2
1
My English is not good, hope you can understand 😉
Thank you for all you do, thank you
The fingerprint recognition cannot be used when the screen is off, what is the problem? Pixel Experience 12.1 0707🥲
 
  • Like
Reactions: maoxindong

angeloamorato

Senior Member
Jun 9, 2016
158
10
I haven't been active on XDA recently thanks to IRL stuff, but I have been doing some ROM work in the background. A new build is up with some fixes and improvements

  • August security patch (Build ID is for July but August patch is merged)
  • Kernel updated to 5.4.210
  • Distorted audio in VoIP apps fixed
  • Expanded refresh rate settings (60hz, 90hz, 120hz min/max rates are selectable)
  • Auto refresh rate switching disabled below 35% brightness (should stop noticeable gamma shift at low brightness)
  • New option to enable/disable 120w fast charge in battery settings (on by default)
  • Extended charging info on lockscreen (amperage, wattage, voltage, not a standard PE feature, added by me)

I've also got an updated OrangeFox build that can decrypt Android 12 ROMs available here (flashable zip):
how about harman features equalizer on settings?
 

maoxindong

New member
Aug 18, 2022
2
1
Thanks for your pe.
In the process of using, I think the under-screen camera is more obvious than using the official Xiaomi rom, and the outline can be seen
 

garykcliu

Senior Member
Oct 6, 2009
84
7
I'm just a new user, does anyone please tell us what is the best way to do the software updates to 0815 version please.

My current recovery is Pixel Experience recovery.
 
  • Like
Reactions: FtzslyYueMing

0201m

Member
Dec 14, 2012
21
11
Bavaria, Germany
Unfortunaately can't update to this version. 07/07 installs fine, in this version it fails on some late install script. Tested wwith TWRP and OrangeFox.

Edit: Redownloading/Recopying did the trick. It spit out some error, but the ROM booted up nicely afterwards.
 
Last edited:
  • Like
Reactions: FtzslyYueMing

0201m

Member
Dec 14, 2012
21
11
Bavaria, Germany
Some impressions from using this ROM/Lineage for the last 2+ months (mostly the same bugs):
  • With AOD enabled, a lot of the times upon waking the phone, it hangs in the transition between the large AOD clock and the display waking with the smaller clock (dont know if its a problem with the display switching modes or the SurfaceFlinger hanging) - either resolves itself withing 10-15 sec or hard reboot required
  • Sometimes the bright white circle of the FOD get stuck on after unlocking. Relocking completely bricks the FOD with it not responding anymore. The white circle even overlays AOD - hard reboot required
  • The app switcher gesture sometimes behaves weird, it quickly shows the app switcher, but then vanishes with the recent app briefly hanging, upon redoing the gesture it throws you back to the homescreen resuming normal operation (this is hard to describe)

These are my main annoyances, ranking from most to least. Otherwise very solid ROM @Inkypen will definitely stay on the ROM
 

Taconut

Member
Dec 20, 2014
22
0
Hi!
That's great ROM, thank you very much for your work!
I want to share two things that I have noticed.

1) I have a problem with incoming audio in Skype and Teams.
It's distorted and high-pitched when playing on a phone or speaker, but it's fine on Bluetooth headphones.
Am I alone with this bug? Any remedy for that?

2) After some longer time of using from the restart, I get some freezes and general system instability. Clearing apps from memory helps, and also the limiting number of background tasks in developer options also helps with that (but this setting is cleared on restart). Looks like there is still a place for improvements in memory management.
@Inkypen Really enjoying this ROM! Thanks so much for making it. It has everything I want and its super stable except for the issue #2 listed above. To brook2 and anyone else who's having this issue, you can make it go away by having the the following command run as root on boot:

service call activity 44 i32 4

This limits the number of background processes to 4, as described in the post above. I'm comfortable compiling AOSP, so if there's anything I can do to help debug this issue in order to come up with a proper solution, I'd be more than happy to test some stuff out.

Also, to anyone who's annoyed by lack of the screen off FOD, there's this app called AutoInput that has a feature called "Auto Dismiss Keyguard" that will skip your lockscreen automatically. When used in conjunction with double-tap-to-wake, smart lock and face unlock, this combination pretty much completely eliminates my need to use the lockscreen without compromising the security of my device.

With these workarounds, everything is working perfectly.
 

angeloamorato

Senior Member
Jun 9, 2016
158
10
@Inkypen Really enjoying this ROM! Thanks so much for making it. It has everything I want and its super stable except for the issue #2 listed above. To brook2 and anyone else who's having this issue, you can make it go away by having the the following command run as root on boot:

service call activity 44 i32 4

This limits the number of background processes to 4, as described in the post above. I'm comfortable compiling AOSP, so if there's anything I can do to help debug this issue in order to come up with a proper solution, I'd be more than happy to test some stuff out.

Also, to anyone who's annoyed by lack of the screen off FOD, there's this app called AutoInput that has a feature called "Auto Dismiss Keyguard" that will skip your lockscreen automatically. When used in conjunction with double-tap-to-wake, smart lock and face unlock, this combination pretty much completely eliminates my need to use the lockscreen without compromising the security of my device.

With these workarounds, everything is working perfectly.
did you try to transfer data phone to pc?
 

NULLOBANDITO

Member
Jul 20, 2018
12
5
@Inkypen Maybe a dumb request, but do you think you could implement Daydream VR compatability in the next update? I've got a Daydream View headset just sitting here and no use for it since I don't have any "supported" phones anymore.
 

arczowsky

Member
May 16, 2010
42
29
Anyone having issues with auto brightness?

I mean, sometimes when I come from very bright place to darker one, brightness stays at maximum (even after 30 mins or so) and I need to lower it manually.

Not happening always, but often.
 

JalenHo

Senior Member
Official PE builds aren't allowed to have ANX Camera installed. Seems a pretty arbitrary decision to me, especially as GCam can't make use of all the features of this device (e.g. 108mp mode)

Same reason sceen off FOD doesn't work. Unlike Xiaomi, I allow the GPU to nap when the device enters deep sleep to save battery. Side effect is when the GPU goes to sleep, the touchscreen driver stops reporting touches in the FOD area. Considering both "double tap to wake" and "raise to wake" work perfectly fine, I think this is an acceptable trade off for better battery life.

Unfortunately Now Playing only works on genuine Pixel devices.
Wait, there's raise to wake in this rom? I never noticed it.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    I've posted an update for the A13 beta. 120w charging and bluetooth are fixed. I've also added a fix to get deep sleep in AOD working. I've tried various things to get ANX camera working but they all fail. We are going to have to wait for MIUI 14 to release so that I can grab an A13 version of libcameraservice.

    Bear in mind that A13 is still in beta status so expect some bugs, although everything seems pretty solid so far.
    3
    Pixel Experience 13 Beta has been released. It's available here: https://sourceforge.net/projects/xiaomi-odin/files/13/PixelExperience/

    It's advisable to clean flash when updating to new Android versions as opposed to updating the same Android version. You might be able to flash 13 directly over 12 but this is untested.
    ANX camera crashes under A13 so is not included.
    3
    Using Wichaya's GCam port, works really well for me. I included the XML config I use below.

    Screenshot_20220915-041332.png
    1
    老哥怎么刷机,我看不懂啊

    Mod Edit: Use the English Language or a Translator, please:

    Brother how to flash the machine, I don't understand
    thx dude . i will use english
    1
    @Inkypen Sorry to bother you again, but would it be possible to apply the FOD patch to the LineageOS ROM? I'm experiencing some idle battery drain on the PixelExperience ROM that wasn't happening on the LineageOS ROM. Even the older versions of the ROM (before the FOD patch) and the ParanoidAndroid rom on this forum (which is based off your code) were both experiencing this issue. LineageOS + the Pixelify Magisk module gives me the same functionality with like 2x the battery life so I'd like to switch to that but I've already gotten used to the FOD.

    Thanks again for this ROM!
    Funny that you mention it, I'm uploading fresh LOS builds now.

    Also on another note: Considering how many people were whinging about screen off FOD not working, I'm amazed that only one person actually had any comments about my test build. No one else has any feedback?
  • 8

    NFjZzFl.png

    PixelExperience for Xiaomi MIX 4 [odin]

    What is this?
    PixelExperience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, boot animation)

    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 12


    Whats working?
    Wi-Fi
    RIL
    Mobile data
    GPS
    Camera
    Flashlight
    Camcorder
    Bluetooth
    Fingerprint reader
    Face unlock
    NFC
    Lights
    Sound/vibration


    Known issues
    Screen off FOD
    You tell me

    DON'T FLASH GAPPS, THEY'RE ALREADY INCLUDED
    Downloads available here


    Donate
    Liked my work? Give me a beer

    Translation
    Help with project translation

    Stay tuned
    Our Telegram channel
    Our blog


    8
    I haven't been active on XDA recently thanks to IRL stuff, but I have been doing some ROM work in the background. A new build is up with some fixes and improvements

    • August security patch (Build ID is for July but August patch is merged)
    • Kernel updated to 5.4.210
    • Distorted audio in VoIP apps fixed
    • Expanded refresh rate settings (60hz, 90hz, 120hz min/max rates are selectable)
    • Auto refresh rate switching disabled below 35% brightness (should stop noticeable gamma shift at low brightness)
    • New option to enable/disable 120w fast charge in battery settings (on by default)
    • Extended charging info on lockscreen (amperage, wattage, voltage, not a standard PE feature, added by me)

    I've also got an updated OrangeFox build that can decrypt Android 12 ROMs available here (flashable zip):
    6
    I found a way to get screen off fingerprint to work without turning off deep sleep. Here is a test build, if the feedback is good I'll add this permanently.
    6
    New builds are up. Download

    Changelog:
    • Kernel version 5.4.203
    • July security patch
    • Fixed Wifi Display
    • Fixed physical screen size properties (this caused tiiny images in apps like reddit)
    • Fixed Netflix not detecting widevine L1 correctly
    • Added high touch poll rate for you gamers out there ;)
    • Enabled multi threaded render engine (improves UI smoothness)
    • Enabled some power saving tweaks for Wifi/Bluetooth
    • Some other minor tweaks and improvements

    Also got an updated TWRP A12 build for you here: Download
    • Touchscreen now works properly on MIUI based ROMs
    • TWRP settings are now saved properly and are persistent across reboots
    • TWRP settings are now saved in /data/recovery rather than /sdcard/.twrps (some apps look for the .twrps folder and then declare your device is rooted even if it isn't)
    5
    {Mod edit: Quoted post deleted}
    I literally just posted an update and then you ask for an update as well as spam just about every thread with this absurd request. Congrats, you're now on my ignore list and I won't see any of your future posts (y)