[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CodeElixir:
​

Warnings:-

/*
* I am not responsible for bricked devices, dead SD cards, dead cats,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and no point
* in pointing the finger at me for messing up your device
*/

​

AOSP Extended is an AOSP based rom which provides stock UI/UX with various customisations features along with the Substratum theme engine. The project has been made by cherry-picking various commits from various other projects. Being based on AOSP it provides a smooth and lag-free experience out of the box. We will constantly try to add more features and make it even better in future updates. A ROM by a user, for a user. #StayAOSP #ExtendYourDevice #BeExtended​

BRIEF INRODUCTION

The objective of this project is to make sure our vendor image is truly treble compatible.

As a part of google's project treble, vendor image should not depend on framework. Xiaomi's vendor image is not strictly isolated with framework because of

VNDK enforcement. In Android 8.1, VNDK was optional. As poco was shipped with oreo, this was optional. Xiaomi continues to disable VNDK enforcement even with Pie. In Android 9, VNDK is mandatory, meaning the BOARD_VNDK_RUNTIME_DISABLE must not be set (BOARD_VNDK_RUNTIME_DISABLE := # must not be set).

Fortunately, it wasnt that difficult and i managed to fix the dependencies:victory:. I built vendor image and flashed the flashed phhusson GSI and it worked fine.

PERFORMANCE ISSUES?

I noticed there is severe performance degradation in all custom Roms. Its bit strange to me being the device was powered with sdm845. I started digging and found that Xiaomi's thermal-engine was pretty useless in all custom roms out there. It was designed in a way that it keeps listens to thermal message from MIUI framework and basing on that it adjusts CPU and GPU clock speeds.

MIUI has a framework called PowerKeeper. It tracks each and every application that we open. Xiaomi devs Preconfigured 11 different thermal modes for thermal-engine. Those are game, incall , evaluation, class0, camera, pubg, youtube, extreme, arvr game2 and restore. It sends one of these dynamically to thermal-engine using sysfs.

For more info, Refer this commit.

Work around

As of now, thermal-engine receives evaluation mode which do not underclock CPU and GPU in normal situation. I guess governor schedutil manages frequencies efficiently. This is what xiaomi uses this mode when we open Antutu benchmark and hence scores are high. I played PUBG and didnt notice lag whatsoever.

It is possible to have a userspace control on sysfs path. We can include this in settings menu and let user selects whatever he wants to. Any other solutions are welcome.:)

​

AospExtended-v6.1-beryllium-20181229-1831-UNOFFICIAL.zip​

Google Apps​

​

[B]-Download the ROM and GApps of your choice
-Flash latest Firmware
-Make a full wipe (system, data, cache, dalvik).
-Flash Rom
-Flash GAPPS package
-Do factory reset
-And at last Reboot!
Clean Flash is always recommended![/B]

Note : Dont flash OEM Vendor. Flash firmware only. Otherwise the ROM wont boot. I will rebase vendor from every global open beta release. Currently vendor is based on MIUI 8.12.20.​

​

Selinux is still in permissive mode. Bug Reports are welcome if any other than this.
​

​

Monitor the source changes here​

[B][U][COLOR="SeaGreen"] AospExtended-v6.1-beryllium-20181229-1831-UNOFFICIAL.zip[/COLOR][/U][/B]
-Initial Beta Build.
-Synced with latest source ,Android 9.0.0 Release 21
-December Security Patch.
-Fixed Performance Issues.

Donations:

Help Supporting me. Any donations are highly appreciated.

Donate via PayTM

Sources:

AospExtended

Device

Kernel

XDA:DevDB Information

AEX-TREBLE, ROM for the Xiaomi Poco F1

Contributors

CodeElixir

ROM OS Version: 9.x Pie

ROM Kernel: Linux 4.x

Based On: AOSP

Version Information

Status: Beta

Beta Release Date: 2018-12-30

Created 2018-12-30

Last Updated 2019-02-03