Vendor for GSI [Release 1][Pie/9.0][04-Oct]

Search This thread

Shahan_mik3

Senior Member
Mar 8, 2013
4,979
16,045
Bangalore
Code:
#include <std_disclaimer.h>
/*
 * Your warranty is now void.
 *
 * We're not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this TREBLE
 * SUPPORT before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 *
 */

What is Project Treble:
Project Treble basically partitions your device into two separate partitions, a system and a vendor: system contains your generic system image, while vendor partition has your device specific files required for booting and running your phone. This way we can easily change the system image and be able to run our device on different system images with the same kernel and vendor partition
Read more about Project Treble

What's a GSI?:
A GSI literally means Generic System Image. It is a general system image meant for no specific device. Treble enabled devices have the capability to run a GSI. You can find a GSI here: Phh-Treble

Xiaomi Poco F1 hardware vs Treble implementation:
Xiaomi Poco F1 is an A-only device. This means that regarding the GSI images (GSI = Generic System Image) to be used, you need to get ARM64 and A-Only system images​

How to report bugs:
Logcat, a simple description of the bug, kmsg or dmseg depending on the bug​

What's Packaged in the zip:
Bootimage
A compressed vendor image​

How to use:
  • Reboot to recovery (Custom TWRP recovery for Poco F1- @TheStrix recovery recomended])
  • Format /system, /data and /cache
  • Flash Modified vendor flashable zip package(One we shared. Needs to be flashed only once)
  • Install the GSI system image you wish to use (How to flash a Generic System Image (GSI) on Project Treble supported devices - Direct link)
  • Reboot
  • If GSI doesn't include gapps flash and boot
Important notes:
  • Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.

Working:
  • Camera (and flashlight)
  • WiFi
  • Bluetooth
  • Telephony (Calls and Data)
  • Audio (Record and Playback)
  • Video Playback
  • Sensors
  • GPS
  • VoLTE
  • Dt2W

Broken:
  • Found something? Report it!

Credits:
@abhishek987- for notch overlay
@akhilnarang- for Derp kernel
@vasishath- for helping with this project

XDA:DevDB Information
Vendor for GSI, ROM for the Xiaomi Poco F1

Contributors
Shahan_mik3
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: Latest GSI prefered

Version Information
Status: Beta
Current Beta Version: r1
Beta Release Date: 2018-10-04

Created 2018-10-04
Last Updated 2018-10-04
 

Shahan_mik3

Senior Member
Mar 8, 2013
4,979
16,045
Bangalore
FAQ: WIP

Why should I flash this?
for below reasons
  • VoLTE
  • Proper Notch support
  • Adaptive brightness (next build)

How do I use this?
  • Just follow below steps
  • Flash vendor zip
  • Flash the appropriate gsi image
  • Reboot
If you want to use gapps
  • After booting Restart to recovery
  • flash gapps

I have no 4g signal? is it gone forever?:(

  • Check network settings and switch to 4g

Volte Isnt working??

  • Check APN if not present create one and reboot. If present just reboot

Hotspot is not working..help!!!!

  • This is known issue in GSI kindly always use phh's latest build (Recommended)

"insert some rom name here" has an issue with feature

  • Contact the maintainer of that rom

I am already using GSI. What should I do?

  • Just flash vendor.zip and reboot

Can I flash Custom kernels?
No. That's why we have included Derp kernel by default

Can this be flashed for any other reason?
NO This is just for PIE/9.0(GSI images). If you plan on experimenting please dont report on thread.

Can I Flash Oreo GSI after flashing this vendor?
No. This supports only Android Pie

Stock MIUI Vendor Links thanks to @akhilnarang
Based on MIUI 8.9.20 Global dev vendor
https://mirror.akhilnarang.me/MIUI/beryllium-8.9.20-vendor.zip
https://downloads.akhilnarang.me/MIUI/beryllium-8.9.20-vendor.zip






WARNING: If you want to flash NORMAL ROM[LOS etc] again just flash STOCK VENDOR. Flashing los/other roms directly on this modified vendor might cause unwanted BUGS
Note: flashing stock vendor will encrypt the phone so dont forget to flash "Disable force encrypt zip".
 
Last edited:

Shahan_mik3

Senior Member
Mar 8, 2013
4,979
16,045
Bangalore
Modified Vendor Download Link - Read FAQ first before downloading:

Vendor-r1 [Oct 4] :https://www.androidfilehost.com/?w=files&flid=283334

Tested on below mentioned Pie GSI
  • AOSP Pie by phh
  • Pixel experience
  • Benzo
  • Descendant Rom


Things planned to be done in FUTURE releases
  • Adaptive brightness
  • Remove HD notification
  • Better notch support
  • things will get added on later

Supported GSI can be found below
https://forum.xda-developers.com/project-treble/trebleenabled-device-development

Few ScreenShots

2mf10z6.jpg
29xagb9.jpg
r9h7ye.jpg



Poco F1 official telegram group
https://t.me/PocoF1official
 
Last edited:

denzel09

Senior Member
Jun 28, 2009
4,327
891
Teheran

$hivaM Manav

Senior Member
Jun 26, 2014
73
61
Razhok'
Quick question. Can this vendor be used for miui ROMs as well (because it'll be easier to port MI8 Pie if vendor support is available)

---------- Post added at 05:18 PM ---------- Previous post was at 05:14 PM ----------

My bad, what is HD notification?

In some 8.1 and mostly 9 ROMs you have a notification which can't be dismissed saying "device is HD capable" if you have VOLTE. This will get rid of that annoying slot for you.
 

Pourush Sharan Bhargav

Senior Member
Nov 7, 2016
107
41
25
Mumbai
If i flash any custom rom made for oneplus 6(or any devices) on poco f1 and then flash this vendor file. The question arrises will it work nicely? If it does we can use limitless roms we want ....... :) :good:
 

i23u8

Senior Member
Hi, I've been experiencing bootloops both in HavocOS and PE, and when I rebooted to TWRP the data partition is encrypted. Is that normal or have I missed a step?

NVM, FML, I was installing the stock miui vendor file instead of the vendor-r1 file. Installed vendor-r1 file and everything works fine. thanks!
 
Last edited:

Shivakumar132

New member
Aug 12, 2016
3
0
i need help plzzzz help me out

Modified Vendor Download Link - Read FAQ first before downloading:

Vendor-r1 [Oct 4] :https://www.androidfilehost.com/?w=files&flid=283334

Tested on below mentioned Pie GSI
  • AOSP Pie by phh
  • Pixel experience
  • Benzo
  • Descendant Rom


Things planned to be done in FUTURE releases
  • Adaptive brightness
  • Remove HD notification
  • Better notch support
  • things will get added on later

Supported GSI can be found below
https://forum.xda-developers.com/project-treble/trebleenabled-device-development

Few ScreenShots

2mf10z6.jpg
29xagb9.jpg
r9h7ye.jpg




make video of installation on poco bze same method i tryed but after installation its booting to fastboot can you help me though video plzzzzz


and can u make oxgenos for poco
 

Shahan_mik3

Senior Member
Mar 8, 2013
4,979
16,045
Bangalore
make video of installation on poco bze same method i tryed but after installation its booting to fastboot can you help me though video plzzzzz


and can u make oxgenos for poco

If coming from miui

Format to remove encryption
Flash system image
Flash vendor zip
(tested aosp, aex, pe, benzo) try any of these


There is an oxygen os semi gsi port u can check that thread
 
  • Like
Reactions: philipped346

Iam_Sahil

Member
Oct 20, 2017
27
5
26
OnePlus 9 Pro
Any of the equalizers(including playstore ones) are not working in AOSP GSI? Anyone else facing this problem? Is it vendor related issue?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 53
    Code:
    #include <std_disclaimer.h>
    /*
     * Your warranty is now void.
     *
     * We're not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this TREBLE
     * SUPPORT before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at us for messing up your device, we will laugh at you.
     *
     */

    What is Project Treble:
    Project Treble basically partitions your device into two separate partitions, a system and a vendor: system contains your generic system image, while vendor partition has your device specific files required for booting and running your phone. This way we can easily change the system image and be able to run our device on different system images with the same kernel and vendor partition
    Read more about Project Treble

    What's a GSI?:
    A GSI literally means Generic System Image. It is a general system image meant for no specific device. Treble enabled devices have the capability to run a GSI. You can find a GSI here: Phh-Treble

    Xiaomi Poco F1 hardware vs Treble implementation:
    Xiaomi Poco F1 is an A-only device. This means that regarding the GSI images (GSI = Generic System Image) to be used, you need to get ARM64 and A-Only system images​

    How to report bugs:
    Logcat, a simple description of the bug, kmsg or dmseg depending on the bug​

    What's Packaged in the zip:
    Bootimage
    A compressed vendor image​

    How to use:
    • Reboot to recovery (Custom TWRP recovery for Poco F1- @TheStrix recovery recomended])
    • Format /system, /data and /cache
    • Flash Modified vendor flashable zip package(One we shared. Needs to be flashed only once)
    • Install the GSI system image you wish to use (How to flash a Generic System Image (GSI) on Project Treble supported devices - Direct link)
    • Reboot
    • If GSI doesn't include gapps flash and boot
    Important notes:
    • Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.

    Working:
    • Camera (and flashlight)
    • WiFi
    • Bluetooth
    • Telephony (Calls and Data)
    • Audio (Record and Playback)
    • Video Playback
    • Sensors
    • GPS
    • VoLTE
    • Dt2W

    Broken:
    • Found something? Report it!

    Credits:
    @abhishek987- for notch overlay
    @akhilnarang- for Derp kernel
    @vasishath- for helping with this project

    XDA:DevDB Information
    Vendor for GSI, ROM for the Xiaomi Poco F1

    Contributors
    Shahan_mik3
    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 4.x
    ROM Firmware Required: Latest GSI prefered

    Version Information
    Status: Beta
    Current Beta Version: r1
    Beta Release Date: 2018-10-04

    Created 2018-10-04
    Last Updated 2018-10-04
    29
    FAQ: WIP

    Why should I flash this?
    for below reasons
    • VoLTE
    • Proper Notch support
    • Adaptive brightness (next build)

    How do I use this?
    • Just follow below steps
    • Flash vendor zip
    • Flash the appropriate gsi image
    • Reboot
    If you want to use gapps
    • After booting Restart to recovery
    • flash gapps

    I have no 4g signal? is it gone forever?:(

    • Check network settings and switch to 4g

    Volte Isnt working??

    • Check APN if not present create one and reboot. If present just reboot

    Hotspot is not working..help!!!!

    • This is known issue in GSI kindly always use phh's latest build (Recommended)

    "insert some rom name here" has an issue with feature

    • Contact the maintainer of that rom

    I am already using GSI. What should I do?

    • Just flash vendor.zip and reboot

    Can I flash Custom kernels?
    No. That's why we have included Derp kernel by default

    Can this be flashed for any other reason?
    NO This is just for PIE/9.0(GSI images). If you plan on experimenting please dont report on thread.

    Can I Flash Oreo GSI after flashing this vendor?
    No. This supports only Android Pie

    Stock MIUI Vendor Links thanks to @akhilnarang
    Based on MIUI 8.9.20 Global dev vendor
    https://mirror.akhilnarang.me/MIUI/beryllium-8.9.20-vendor.zip
    https://downloads.akhilnarang.me/MIUI/beryllium-8.9.20-vendor.zip






    WARNING: If you want to flash NORMAL ROM[LOS etc] again just flash STOCK VENDOR. Flashing los/other roms directly on this modified vendor might cause unwanted BUGS
    Note: flashing stock vendor will encrypt the phone so dont forget to flash "Disable force encrypt zip".
    29
    Modified Vendor Download Link - Read FAQ first before downloading:

    Vendor-r1 [Oct 4] :https://www.androidfilehost.com/?w=files&flid=283334

    Tested on below mentioned Pie GSI
    • AOSP Pie by phh
    • Pixel experience
    • Benzo
    • Descendant Rom


    Things planned to be done in FUTURE releases
    • Adaptive brightness
    • Remove HD notification
    • Better notch support
    • things will get added on later

    Supported GSI can be found below
    https://forum.xda-developers.com/project-treble/trebleenabled-device-development

    Few ScreenShots

    2mf10z6.jpg
    29xagb9.jpg
    r9h7ye.jpg



    Poco F1 official telegram group
    https://t.me/PocoF1official
    19
    Thanks for that, it's always nice to have people supporting GSIs :)

    There is a much cleaner and easier method since ~ a month (my v104 release I think):
    https://github.com/phhusson/apps_repacker_aosp
    It basically takes stock ROM, and creates an ims.apk, that can be simply installed like any other APK.

    [*]Proper Notch support

    [*]Adaptive brightness (next build)
    A simple PR (which has already been made for many devices) to https://github.com/phhusson/vendor_hardware_overlay/ would be enough to fix those directly on the GSI :)
    I'm more than happy to provide help to do that

    If you fix or hit any other issue, please tell me, I want to include as many fixes as possible.