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

Search This thread

AndroPlus

Senior Member
Mar 13, 2013
1,898
4,156
Kyoto
androplus.org
Lenovo P11
Xiaomi Mix Fold 2
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

  • screencapture_2018-12-19_22-09-41.png
    screencapture_2018-12-19_22-09-41.png
    134 KB · Views: 16,809
  • screencapture_2018-12-19_22-10-21.png
    screencapture_2018-12-19_22-10-21.png
    173.3 KB · Views: 16,191
  • screencapture_2018-12-19_22-10-42.png
    screencapture_2018-12-19_22-10-42.png
    76.6 KB · Views: 16,468
  • screencapture_2018-12-19_22-11-00.png
    screencapture_2018-12-19_22-11-00.png
    116.8 KB · Views: 14,424
Last edited:

james1089

Senior Member
Jan 14, 2010
2,053
441
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
seems your latest build is stuck on G logo and will not move forward from there using latest Xiaomi.EU Rom
 

sikiro

Senior Member
May 15, 2010
73
13

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
2,053
441
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
61
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
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.
 

AndroPlus

Senior Member
Mar 13, 2013
1,898
4,156
Kyoto
androplus.org
Lenovo P11
Xiaomi Mix Fold 2
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,115
771
Edinburgh
OPPO Find X5 Pro
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
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,898
4,156
Kyoto
androplus.org
Lenovo P11
Xiaomi Mix Fold 2
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
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,898
4,156
Kyoto
androplus.org
Lenovo P11
Xiaomi Mix Fold 2
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

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,898
4,156
Kyoto
androplus.org
Lenovo P11
Xiaomi Mix Fold 2
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.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    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.
    7
    You can use this magisk module to replace AI button to camera key, then use Button Mapper to remap.
    I contacted flar2 to support remapping AI key but it's not possible because of Google Assistant's behavior...
    https://drive.google.com/open?id=15sR2OGRv0N6e585xrmptH4P2XLMw6d3S
    7
    I'm planning to switch to Pixel Dust since it has a lot of features.
    If there is no big issues, I'll continue to build Pixel Dust and stop build for Pixel Experience.

    The test build is here:
    https://drive.google.com/open?id=1TgIpvHxPGC1TbyXkgFJAGuzNAoWdOewt
    You don't need to wipe data (if some crash happens, wipe data)
    6
    Hey guys had a lot of trouble with these ROMs so just wanted share my experience for those who are also running into trouble.

    Coming from global phone running xiaomi.eu weekly the only steps that allowed me to get to boot are as follows:

    In twrp: factory reset then format data (hit yes to accept).
    Reboot phone and reenter twrp.
    Connect to computer and transfer xiaomi.eu rom onto root of device (I suspect any would work but I happen to have used 10.2.2.0.PEECNXM_v10-9 which is believe was xiaomi.eu stable release), pixel experience ROM zip and magisk-v17.3mod4mimix3

    Flash the xiaomi.eu rom first then without rebooting or any formatting or factory resetting immediately flash the PE ROM zip and then magisk 17.3.

    Once those three files are flashed via twrp go to wipe and the factory reset then format data again.

    This last part is very counter intuitive to me but believe it or not, it was what finally got me out of bootloop.


    Now of note, with this process I do have the memory leak issue. I understand that some users have stated that I may not if I used a different base ROM first instead of the one I used. However, doing this same process with cn ROMs always led to a boot loop on my device, no matter how I flashed them or which ones.

    That being said, I'd like to be able to get to the root cause of the memory leak if it's at all possible.


    Boost+ by htc doesn't appear to help but actually demonstrates the problem.

    Going to sleep last night the phone had 59% memory usage according to boost +. This morning the phone now shows 79% and climbing. A reboot resets the memory usage back down to 55%.

    Furthermore there has definitely been a noticable slowing for me within about 12 hours of reboot regardless of usage. Within 24 hours the phone becomes virtually unusable without a reboot.

    Now does anyone know what tool I can use to potentially diagnose this memory leak issue? Most usage analysis tools out there only show that system is using up X amount of ram without any further granularity as to what process or system app is using how much ram.
    4
    I uploaded 190103 build and now BT in-call audio, mobile data icon and VoLTE is all working!:good:
    https://drive.google.com/open?id=17lDJ-aOInCXdHQf8KXtoksEhZJgz7gS6