[ROM][WIP][sGSI][PORT][P]Oxygen OS 5.1.0

fxsheep

Senior Member
May 26, 2017
397
543
113
Update 20180806:
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 port, 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.

WARNING2:MAYBE FULL OF BUGS.DONT FLASH IF YOU ARE AFRAID OF THEM.

Only working on Qualcomm fully-Trebled deivces.

Known Bugs:

SurfaceFlinger crashes when open Camera.
(Because of libs from SDM845)

FP (Likely)

Norch and navbar may not fit your device.
(Try to remove /vendor/overlays/... If problem exist)

Can't Reboot/Poweroff
(Need fix for Vold related)
...

Install for A-only:

1.enable Treble ,flash a fully-trebled 8.1 rom

2.Extract port .7z to your TWRP backup folder (/.../TWRP/BACKUPS/$(yourserialnumber)/

3.Restore Oxygen /system with TWRP

4.flash patch zip

5.wipe data,flash fbe_disabler and Permissiver if needed for your device.

6.Reboot.


Tested booting on Redmi 3S

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 , try flash another Treble base.

Credits:

Special thanks to @erfanoabdi
@muralidharan9845 (media_profiles)
@muralivijay

Oneplus for ROM
Xiaomi for device

ChangeLog:

v1:preview release for testing.

Download:
https://www.androidfilehost.com/?w=files&flid=279833
 
Last edited:

arya5

Senior Member
Nov 11, 2014
83
18
0
Unable to pass kernel logo on Xiaomi Mi Mix 2 (Chiron) Logcat attached

Other treble ROMs can be booted on this device
 

Attachments

Last edited: