There are many device-related bugs as we can see.
Different hardwares/softwares will cause different bugs on different devices, and there's probably no way to fix all of them just by modifying this port, but by porting it to devices respectively.
Anyone feel free to do it on your device and distribute your patches and ports based on this one.
Look into the P semi-GSI and system/vendor images from other P preview to get some idea.
WARNING:I‘m not responsible for any consequences at all.This is an OEM rom ported from Vivo X21 so it may cause wrong behaviors including partition overwritting and may brick your phone or break hardwares.I strongly recommend you take a completely full backup of your device and know how to recovery firmwares in case of any problems.
This is still in early stage and should be normal if some features are broken.
Only working on Qualcomm fully-Trebled deivces.[/B]
Features likely broken:
Advanced settings,fingerprint,SMS sending,ime
Almost Working in all deivces:
Install for A-only:
1.enable Treble ,flash a fully-trebled 8.1 rom
2.Extract FuntouchOS_P_port.7z to your TWRP backup folder (/.../TWRP/BACKUPS/$(yourserialnumber)/
3.Restore Funtouch OS /system with TWRP
4.flash patch zip
5.wipe data,flash fbe_disabler and Permissiver (from semiGSI thread) if needed for your device.
Normally it will boot to bootanimation.If it doessn't pass bootanim then take logs with
adb logcat > logcat.txt via PC.
NOTE: If you're stuck at logo , please make sure you can boot sGSI
Special thanks to @erfanoabdi
Vivo for ROM
Xiaomi for device
v3(20180729):IME Keyboard fixed.
v2(20180727)ebloated /system to 2.8g
Major fixes about UI and vivo system services.
v1(20180727): Initial release.
BaiduNetdisk: https://pan.baidu.com/s/1KyzS0k_464BQSqOhQBjOQw pass: 8s5w