[ROM][non-GSI] Unofficial Pixel Experience P

AndroPlus

Senior Member
Mar 13, 2013
1,707
3,985
153
Kyoto
androplus.org
I built non-GSI Unofficial Pixel Experience P;)

Download:
https://drive.google.com/open?id=17lDJ-aOInCXdHQf8KXtoksEhZJgz7gS6

Changelog is too big for xda, so it's included in download folder.

If you are using Global /China Stable or third party rom (Xiaomi.eu), please download China Developer from here (search for "小米MIX3最新 开发版 线刷Fastboot完整包点击下载") and flash it, then flash PE system.img.
It seems current stable rom has some bugs in vendor or firmware (e.g. Google Camera is laggy).

Please note this rom is not maintained as my daily driver is FlokoROM GSI.

Working:
Camera (including 4K video)
Wi-Fi
Bluetooth (audio, in-call audio)
GPS
NFC
Dual SIM, Dual 4G standby
VoLTE
Fingerprint
USB PD
Wireless Charge
Sensors including proximity
AOD

Not working:
Slider (actually it's working, but no app to handle)
OK Google detection in any screen
Bluetooth call for some users/devices
Android Auto (display flickering)

Google Pay should work if you use MagiskHide Props Config, but I can't test since my country (Japan) uses hardware level security (exclusive for Japanese models) for payment via Google Pay.

Installation:
Currently generating ZIP is broken, so you have to install images one by one.
1. Flash the latest *Official* China Developer ROM (xiaomi.eu rom is not supported)
(If you are using other roms before, please wipe data)
2. Download and flash system.img
3. Download vbmeta.img and flash it with this command:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
4. Flash Magisk

Credit:
Pixel Experience team and other developers

Source:
https://github.com/PixelExperience
https://github.com/AndroPlus-org/device_xiaomi_sdm845-common
https://github.com/AndroPlus-org/device_xiaomi_perseus
https://github.com/AndroPlus-org/vendor_xiaomi
https://github.com/AndroPlus-org/android_kernel_xiaomi_sdm845

I'm also building custom kernel for Mi MIX 3.
Download


To enable tap to wake, flash kernel and open display settings.
 

Attachments

Last edited:

james1089

Senior Member
Jan 14, 2010
1,909
399
0
blackpool
I'm building Unofficial Pixel Experience P GSI to include the patch for Mi MIX 3 earlier;)

Download:
https://treble.andro.plus/pe.html

Changelog is too big for xda, so it's included in download folder.

Working:
Camera (you should install Google Camera to make better shots)
Wi-Fi
Bluetooth (To fix in-call audio, please install this Magisk Module)
GPS
NFC
SIM, 4G
Fingerprint
USB PD
Wireless Charge
Sensors including proximity
AOD

Not working:
Slider (actually it's working, but no app to handle)

Google Pay should work if you use MagiskHide Props Config, but I can't test since my country (Japan) uses hardware level security (exclusive for Japanese models) for payment via Google Pay.

Credit:
Pixel Experience team, phhusson and other developers


I'm also building custom kernel for Mi MIX 3.
Download
Is this different from the one on gsi thread, thanks, button mapper gets assistant working really good. Actually I have set it to open gcam with press, double press for screen shot and long press for assistant
 
Last edited:
  • Like
Reactions: Williammmm

sikiro

Senior Member
May 15, 2010
73
13
0
Format data in twrp
got it sorted had something to do with encryption. for some reason some apps still say this rom is rooted despite me not having magisk installed. always on display does not seem to work. ambient display does show notifications but there is no always on option like it is shown on the screenshots.
 
Last edited:

james1089

Senior Member
Jan 14, 2010
1,909
399
0
blackpool
got it sorted had something to do with encryption. for some reason some apps still say this rom is rooted despite me not having magisk installed. always on display does not seem to work. ambient display does show notifications but there is no always on option like it is shown on the screenshots.
So it's the same build as on the gsi thread, thanks for answering
 

kezzuki

Senior Member
Mar 9, 2013
282
54
0
Toronto
hey AndroPlus,

Thabk you so much for putting this together.
I am wondering if this has any built-in guesture navigation like MIUI's ? I do prefer vanila android over miui in general but the gesture navigation is pretty nice to have.

thanks!
 

sikiro

Senior Member
May 15, 2010
73
13
0
hey AndroPlus,

Thabk you so much for putting this together.
I am wondering if this has any built-in guesture navigation like MIUI's ? I do prefer vanila android over miui in general but the gesture navigation is pretty nice to have.

thanks!
it does not have miui navigation but you can install fluid gestures and get it working almost the same. i also would like to report that the bluetooth issue is still present. for call audio over BT the magisk module fixes it hope to see it included in future releases.
 

james1089

Senior Member
Jan 14, 2010
1,909
399
0
blackpool
hey AndroPlus,

Thabk you so much for putting this together.
I am wondering if this has any built-in guesture navigation like MIUI's ? I do prefer vanila android over miui in general but the gesture navigation is pretty nice to have.

thanks!
I'm using "all in one gestures" it's not on playstore
 

Mackay53

Senior Member
Apr 1, 2011
2,057
720
183
Edinburgh
Anyone having issues with AOD? I've only got 2 options, wake for notifications and display music. Should be 3rd option for "always on" but missing.
 
Last edited:

AndroPlus

Senior Member
Mar 13, 2013
1,707
3,985
153
Kyoto
androplus.org
Please DO NOT use Xiaomi.eu rom as the base rom as it has fingerprint prop for MIX 2S!
All GSI rom uses fingerprint prop to detect device, so it breaks device detection:mad:
Only official rom is supported.

For the message in 4G, my carrier can receive message on 4G, so maybe it's APN problem or something.
 

Mackay53

Senior Member
Apr 1, 2011
2,057
720
183
Edinburgh
Please DO NOT use Xiaomi.eu rom as the base rom as it has fingerprint prop for MIX 2S!
All GSI rom uses fingerprint prop to detect device, so it breaks device detection:mad:
Only official rom is supported.

For the message in 4G, my carrier can receive message on 4G, so maybe it's APN problem or something.
I tried both official Chinese and global ROMs as a base but it kept boot looping and wouldn't go to the splash screen. What base version do you recommend?

Only Xiaomi EU allows the ROM to boot for me however there doesn't seem to be any issues. ROM runs well.
 
Last edited:

jjsoviet

Senior Member
Aug 29, 2010
480
32
0
Please DO NOT use Xiaomi.eu rom as the base rom as it has fingerprint prop for MIX 2S!
All GSI rom uses fingerprint prop to detect device, so it breaks device detection:mad:
Only official rom is supported.

For the message in 4G, my carrier can receive message on 4G, so maybe it's APN problem or something.
Hmm, I've installed the original PE ROM coming from a weekly EU build but it didn't seem to affect anything for me. My install process was China Dev > EU Stable > EU Weekly > GSI. What side effects were expected if coming from an EU build?

Also yeah, it seems that the latest commits for GSI ROMs did something at least to the Mix 3's APN settings. During previous builds I couldn't get SMS/MMS if 4G LTE is enabled, but now I'm having no issues whatsoever.

Finally, I've been testing Google Pay in more locations... it seems that some terminals do activate properly and I was able to perform transactions, but in others they either don't pick anything up or will result in a 'Please Present One Card Only' error. The last bit is interesting since this has been an issue during the early days of NFC wallet payment, and curious that it happens here. Might be some build.prop setting that we can exploit?
 

AndroPlus

Senior Member
Mar 13, 2013
1,707
3,985
153
Kyoto
androplus.org
Hmm, I've installed the original PE ROM coming from a weekly EU build but it didn't seem to affect anything for me. My install process was China Dev > EU Stable > EU Weekly > GSI. What side effects were expected if coming from an EU build?

Also yeah, it seems that the latest commits for GSI ROMs did something at least to the Mix 3's APN settings. During previous builds I couldn't get SMS/MMS if 4G LTE is enabled, but now I'm having no issues whatsoever.

Finally, I've been testing Google Pay in more locations... it seems that some terminals do activate properly and I was able to perform transactions, but in others they either don't pick anything up or will result in a 'Please Present One Card Only' error. The last bit is interesting since this has been an issue during the early days of NFC wallet payment, and curious that it happens here. Might be some build.prop setting that we can exploit?
The side effects are:
Some settings doesn't appear (e.g. Always On Display) and doesn't work correctly
Overlay (configs related to brightness, doze and other system functions) for MIX 2S is used and you can't use dedicated configs for MIX 3
 

jjsoviet

Senior Member
Aug 29, 2010
480
32
0
The side effects are:
Some settings doesn't appear (e.g. Always On Display) and doesn't work correctly
Overlay (configs related to brightness, doze and other system functions) for MIX 2S is used and you can't use dedicated configs for MIX 3
I see, now I know why the brightness settings are a bit off even with your Magisk module installed. Ambient Display works for notifications at least, which is what I prefer over AOD. Right now I have no urgency to change, but good to know the differences.

So to get those configs right, I would have to flash a China ROM image, then flash GSI into system. Is that correct?
 

AndroPlus

Senior Member
Mar 13, 2013
1,707
3,985
153
Kyoto
androplus.org
I see, now I know why the brightness settings are a bit off even with your Magisk module installed. Ambient Display works for notifications at least, which is what I prefer over AOD. Right now I have no urgency to change, but good to know the differences.

So to get those configs right, I would have to flash a China ROM image, then flash GSI into system. Is that correct?
Yes.
 

jjsoviet

Senior Member
Aug 29, 2010
480
32
0
Flashing China Dev via TWRP as system image should be enough right? I wouldn't want to use MiFlash to do so because I'd like to preserve my TWRP and its backups. Would be way easier to TWRP backup > flash China ROM > boot > flash GSI ROM > TWRP restore > boot to save time.
 

AndroPlus

Senior Member
Mar 13, 2013
1,707
3,985
153
Kyoto
androplus.org
Flashing China Dev via TWRP as system image should be enough right? I wouldn't want to use MiFlash to do so because I'd like to preserve my TWRP and its backups. Would be way easier to TWRP backup > flash China ROM > boot > flash GSI ROM > TWRP restore > boot to save time.
Flashing vendor image should be enough if xiaomi.eu doesn't change other partitions.
System image is not related as GSI image overwrite the system image.