[DEV][TREBLE] P-based vendor implementation - Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De

I guess that's going to be helpful for both developers and users.
Info:
P-based vendor up to date with Lineage 16.0 device trees and kernel
Full and proper support of the versioned VNDK and linker namespace isolation
Instructions:
I'm not going to provide them, just head here instead: https://forum.xda-developers.com/mi-a1/how-to/treble-stock-to-treble-everything-to-t3793734
As usual, it requires repartitioning.
Downloads:
Treble-enabled unofficial Lineage 16.0 build (already includes vendor) not updated since 05.04.2019
vendor.img and boot.img (01.05.2019)
Source code:
Common tree
Device tree
Kernel patch
Vendor blobs
Notes:
I did it for pure fun and I'm not going to provide any extensive support. So don't expect me to update it daily and fix every bug you'll cry about.
Just like any other proper Treble implementation, this doesn't include IMS blobs on the vendor partition. So no out-of-the-box VoLTE on your fancy GSIs.
Basic functionality is verified with AOSP P GSIs

Amazing! Thanks Flex!

And before anyone actually asks that: yes, it works with official Q GSI without any modifications, but has Wi-Fi issues just like everyone else.

Awesome news and great work!
Thank you so much for this.

Amazing work Bra but you already know that xD

Another great work from you. Kudos.

MASTER!

Awesome stuff, thanks for this.

can i ask . i want to flash android Q so i just need the vendor only right?

Your on on this device is amazing, than you so much!

Great job man! Thanks

flex1911 said:
And before anyone actually asks that: yes, it works with official Q GSI without any modifications, but has Wi-Fi issues just like everyone else.
Click to expand...
Click to collapse
What issues? Wifi completely not working or..?

Hi @flex1911
I tried everything, but your vendor and your LineageOS gives me black screen on Tissot.
Also it corrupts my recovery, I can't boot into it :/
I have this issue after flashing the "boot.img"

Iv4n99 said:
Hi @flex1911
I tried everything, but your vendor and your LineageOS gives me black screen on Tissot.
Also it corrupts my recovery, I can't boot into it :/
I have this issue after flashing the "boot.img"
Click to expand...
Click to collapse
This vendor is for Treble roms, you don't need it if youre using Flex' LOS16

Yunikari said:
This vendor is for Treble roms, you don't need it if youre using Flex' LOS16
Click to expand...
Click to collapse
I'm trying to flash the official Q gsi
But It gives me black screen
The vendor isn't compatible with my phone

Iv4n99 said:
Hi @flex1911
I tried everything, but your vendor and your LineageOS gives me black screen on Tissot.
Also it corrupts my recovery, I can't boot into it :/
I have this issue after flashing the "boot.img"
Click to expand...
Click to collapse
Try to update your firmware.

flex1911 said:
Try to update your firmware.
Click to expand...
Click to collapse
Artem u are on fire. I bought this device after Asus. And glad you are here ?... Thanks buddy.

great work!

Nice.

Is boot.img the kernel? Sorry if it's a stupid question, and does it work with 4.9 kernels?

Related

[EXPERIMENTAL] [AOSP] Phh-Treble for Tissot [8.0] [PORT]

EDIT:
We have now achieved proper Treble implementation. We no longer need this method of trying to port a GSI to our device. This thread is now absolute. Please refer to newer threads to get Treble support on your Tissot devices.
UPDATE:
This ROM is currently not booting. So use this thread only to provide useful logs.
Interested developers can help me to try to port Treble :
https://github.com/ghpranav/android_device_xiaomi_tissot/tree/Trebelizer
https://github.com/ghpranav/proprietary_vendor_xiaomi/tree/lineage-15.0/
Code:
/*
* Your warranty is now void.
*
* We are 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 ROM
* 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.
*
*/
WARNING: You'll most probably loose ALL your data, and might break your phone, because our phone doesn't support Treble officially. Please use with extreme caution, because this hasn't been tested yet!
The goal of this ROM is to provide full Treble-compatible hardware support, and nothing else.
This means that hardware which DON'T have Treble API won't be supported, like Essential's external camera.
No feature will be added. This will ease forward porting to new Android versions, which is the very goal of Project Treble
My hope is that other ROM developers will use this ROM as a basis to construct more advanced ROM.
Devices will be marked as supported, unless known otherwise.
Click to expand...
Click to collapse
I have tried to port a Treble based rom to our Mi A1 device based on my knowledge of Treble. If this works properly, then we might be able to use almost any Project Treble rom on our device.
How to flash:
- First, you MUST be running on stock Android 8.0 ROM (OPR1.170623.026.7.12.29)
- Obviously, unlock your bootloader
- Download the zip file, & extract it.
- Flash the system.img to the correct active slot [A/B]
- Do a Factory reset
- Reboot
Downloads:
V1:
https://www.androidfilehost.com/?fid=962157660013069216
Changelog:
v1: (02/01/2018)
- Initial port based on Phh-Treble v7 (inc. gapps & su).
SuperSU and Magisk screws with SELinux policy. DO NOT USE SuperSU OR Magisk WITH THIS ROM.
XDA:DevDB Information
Phh-Treble Tissot, ROM for the Xiaomi Mi A1
Contributors
ghpranav, phhusson
Source Code: https://github.com/ghpranav/android_device_xiaomi_tissot/tree/Trebelizer
ROM OS Version: 8.x Oreo
ROM Firmware Required: OPR1.170623.026.7.12.29
Based On: AOSP
Version Information
Status: Testing
Current Beta Version: V1
Beta Release Date: 2018-01-02
Created 2018-01-02
Last Updated 2018-08-31
Reserved
Our device does not support Treble.
Looks sweet! Hope it'll work!
Once you upload it I will try it because I really want Mi A1 to have treble support
ghpranav said:
WARNING: You'll most probably loose ALL your data, and might break your phone. Please use with extreme caution, because this hasn't been tested yet!
I have tried to port a Treble based rom to our Mi A1 device based on my knowledge of Treble. If this works properly, then we might be able to use almost any Project Treble rom on our device.
How to flash:
- First, you MUST be running on stock Android 8.0 ROM (OPR1.170623.026.7.12.29)
- Obviously, unlock your bootloader
- Download the zip file, & extract it.
- Flash the system.img to the correct active slot [A/B]
- Do a Factory reset
- Reboot
Changelog:
v1: (02/01/2018)
- Initial port based on Phh-Treble v7.
Downloads:
V1:
Uploading in progress
XDA:DevDB Information
Phh-Treble Tissot, ROM for the Xiaomi Mi A1
Contributors
ghpranav, phhusson
ROM OS Version: 8.x Oreo
ROM Firmware Required: OPR1.170623.026.7.12.29
Based On: AOSP
Version Information
Status: Testing
Current Beta Version: V1
Beta Release Date: 2018-01-02
Created 2018-01-02
Last Updated 2018-01-02
Click to expand...
Click to collapse
What ....... Is exactly treble ! Noob ! .......
Ayush061 said:
What ....... Is exactly treble ! Noob ! .......
Click to expand...
Click to collapse
U calling urself a noob or the OP ? :laugh:
Ayush061 said:
What ....... Is exactly treble ! Noob ! .......
Click to expand...
Click to collapse
https://www.androidauthority.com/project-treble-818225/
Kamefrede said:
Once you upload it I will try it because I really want Mi A1 to have treble support
Click to expand...
Click to collapse
Have you tried bro
Wow, will try that asap
Rajeev said:
U calling urself a noob or the OP ? :laugh:
Click to expand...
Click to collapse
Wat is OP ?
OP = Opening Post
ghpranav said:
UPDATE:
This ROM is currently not booting. So use this thread only to provide useful logs.
Click to expand...
Click to collapse
Useful logs?
Our device does not support treble
This ROM will never boot,I bet it doesn't even include any device related HAL.
Do you even know what treble is?
Konstantinosj77 said:
Useful logs?
Our device does not support treble
This ROM will never boot,I bet it doesn't even include any device related HAL.
Do you even know what treble is?
Click to expand...
Click to collapse
I know what Treble is. I tried to port ROM, instead of porting Treble support. But I failed. So now I'll wait for Xiaomi to release kernel source, so that I can try to create a separate vendor image partition, & try to implement HALs, so that we can actually port Treble itself. And yes, Treble support can be ported, for instance Mi5 devs are working on it, & it'll be released soon...
ghpranav said:
I know what Treble is. I tried to port ROM, instead of porting Treble support. But I failed. So now I'll wait for Xiaomi to release kernel source, so that I can try to create a separate vendor image partition, & try to implement HALs, so that we can actually port Treble itself. And yes, Treble support can be ported, for instance Mi5 devs are working on it, & it'll be released soon...
Click to expand...
Click to collapse
So mi5 devs are gonna create a new odm/vendor partition and push every hidl hal there?!
Interesting,can you share a link about that?
Konstantinosj77 said:
So mi5 devs are gonna create a new odm/vendor partition and push every hidl hal there?!
Interesting,can you share a link about that?
Click to expand...
Click to collapse
It's not yet hosted on XDA. But you can check their commits here:
https://github.com/sirmordred/platform_device_xiaomi_gemini
ghpranav said:
It's not yet hosted on XDA. But you can check their commits here:
https://github.com/sirmordred/platform_device_xiaomi_gemini
Click to expand...
Click to collapse
They are actually using another partition as /vendor.
https://github.com/sirmordred/platf...facc#diff-ada958ac3a6662f731884325169992e4R13
Still is not that simple for us. We don't got a spare partition to mark as /vendor.
Anyway,this ROM won't boot and trying to fix it is just a waste of time.
Thanks for sharing tho'.
Konstantinosj77 said:
They are actually using another partition as /vendor.
https://github.com/sirmordred/platf...facc#diff-ada958ac3a6662f731884325169992e4R13
Still is not that simple for us. We don't got a spare partition to mark as /vendor.
Anyway,this ROM won't boot and trying to fix it is just a waste of time.
Thanks for sharing tho'.
Click to expand...
Click to collapse
That guy started using cust as vendor partition. So I was wondering, cannot we destroy A/B thingy, & start using system_b as vendor?
Edit: /cust wasn't a spare partition I guess, cuz look at these ss
So we can use /cust partition as /vendor and make our device treble compatible? Are there any problems in theory?
ddaggebi said:
So we can use /cust partition as /vendor and make our device treble compatible? Are there any problems in theory?
Click to expand...
Click to collapse
In theory, as long as we don't return to stock rom, & if group of devs actually make that possible for a device, there shouldn't be any major problems. But unfortunately Tissot doesn't have any cust partition. So we'll have to look for something else...

[OREO][MI5s]Project Treble for capricorn

Hello guys! You know I've been out of development for capricorn for a bit! I've been working on this port for a bit, this is for all xiaomi/msm8996-common devices. Project Treble for our phone is here!
Before anything, let's get into it!
/* *** Disclaimer
* I am 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 ROM/KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point your finger at me for messing up your device, I will laugh at you.
* BOOM! goes the dynamite
*/
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]
HOW TO:
Download the zip provided here: AndroidFileHost
Extract the zip on your system
Run the script based on your system (sh for linux, bat for windows)
Flash the GSI system image you wish to use
What's Working:
RIL (both SIMs)
Data
Camera
Video
Text
Audio
Bluetooth
Torch
WiFi
Hotspot
Vibrator
Fingerprint
240fps slowmo
GPS
Calls (Mic and Sound)
Camcorder
Fingerprint to wake
Double tap to wake
Display color calibration (KCAL)
Hardware buttons lights
What's NOT Working:
I've tried my best to ensure that everything is working (been testing for about a week)
SELinux status is permissive
Let me know
How to report bugs:
Logcat, a simple description of the bug, kmsg or dmseg depending on the bug
What's Packaged in the zip:
A boot image (kernel)
A vendor image (cust partition)
What's a GSI?
A GSI literally means Generic System Image. It is the 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
Our device's config:
Treble-aonly system image. Our phone only has one system image so it is A-only
Source Code:
Kernel
Vendor blobs
MSM8996-COMMON configuration
capricorn configuration
XDA:DevDB Information
Treble, Tool/Utility for the Xiaomi Mi 5s
Contributors
MZO, LineageOS Maintainers (for Oreo)
Source Code: https://github.com/MZO9400
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2018-03-12
Current Beta Version: 1.5 Beta
Beta Release Date: 2018-02-28
Created 2018-02-27
Last Updated 2018-03-12
Screenshots!
Hey guys, humble request. Please don't bug lineage maintainers over Treble. As our HALs are built for non treble device, and treble requires a different structure of HALs which must connect to system only through hwbinder, I bypassed this right now by putting the system on permissive selinux and removing those policies. But LineageOS doesn't allow that. So unless we get binderized HALs from Xiaomi! Don't complain on Lineage thread. And don't ask them to merge in my changes lol.
As for unofficial guys who want treble. Yes you can use my device and vendor trees on any msm8996-common device (natrium, gemini, capricorn, etc etc) and boot full treble builds on it with ease. Thanks!
What works on Treble?
Any GSI
My AOSiP builds (since I build vendor images on that build)
Any builds using my source code. (yes their system.img will work)
Why doesn't MIUI work on Treble?
Because it wasn't shipped on a treble enabled device
Will custom kernels work on Treble?
Yes, as long as they are updated with source code on my github
LineageOS? No it won't work, explained in the post above.
How does Treble affect custom ROMs?
Peeps over XDA portal summed it up perfectly: Read here
How to fix Google Camera FC?
Flash PHH-TREBLE Vanilla build (latest)
Flash GApps zip
//Currently build with su and gapps causes gcam crash//
GApps won't flash? Not enough space in system
Flash this zip https://goo.gl/MSbGK5
Finally Mi5s has treble. Thanks for your hard work and appreciate your support.
good news, thank you for your hardwork
???
Try to flash IMG from TWRP and it's work:laugh:
Thank you for your greeeeeat work:good:
Amazing job man! Well done!
Never thought that Mi 5s would ever get treble support!! Thank you so much for your work!!!
I've fixed in call systems! Now calls are perfect. Uploading new zip
MZO said:
What works on Treble?
Any GSI
My AOSiP builds (since I build vendor images on that build)
Any builds using my source code. (yes their system.img will work)
Why doesn't MIUI work on Treble?
Because it wasn't shipped on a treble enabled device
Will custom kernels work on Treble?
Yes, as long as they are updated with source code on my github
LineageOS? No it won't work, explained in the post above.
How does Treble affect custom ROMs?
Peeps over XDA portal summed it up perfectly: Read here
Click to expand...
Click to collapse
Did you build AOSiP for Mi5s? Where can i get it? I look at your AFH folder and found nothing.
BajinganTengik said:
Did you build AOSiP for Mi5s? Where can i get it? I look at your AFH folder and found nothing.
Click to expand...
Click to collapse
I've been too lazy to upload and maintain it, but yea will upload it on afh anyways.
fim5646 said:
Try to flash IMG from TWRP and it's work:laugh:
Thank you for your greeeeeat work:good:
Click to expand...
Click to collapse
How did you do it ?? And which image did you use ??
Dark Stranger said:
How did you do it ?? And which image did you use ??
Click to expand...
Click to collapse
You can extract the zip and flash .img files through TWRP. But I wouldn't recommend.
MZO will Luke's Lineage work on this or not?....
MZO said:
You can extract the zip and flash .img files through TWRP. But I wouldn't recommend.
Click to expand...
Click to collapse
Then clarify some things.
I just need to run the script contained in the file to have the basic system or need to install anything else?
And then flash the system GSI image?
I am currently using the Lineage 15.1 rom, is there any problem in running this script on top of it ??
Nice.
Faster ROM than LOS. IMHO.
But I have a bug to ask the manufacturer. But it does not affect the further functioning. Also I need a double tap to sleep, because I have problems with the power button. And also the point of swap buttons is necessary for me.
Standart apps are very ugly eg music and SMS.
My phone have strange name.
In connection with these problems, I will return to LOS.
It would be good if smb told me where I can find some information how I can change img system as I want...
Thank you for work.
James Blode said:
MZO will Luke's Lineage work on this or not?....
Click to expand...
Click to collapse
Maybe if you read OP's 3rd post you can find the answer.
James Blode said:
MZO will Luke's Lineage work on this or not?....
Click to expand...
Click to collapse
Please read the initial posts
Dark Stranger said:
Then clarify some things.
I just need to run the script contained in the file to have the basic system or need to install anything else?
And then flash the system GSI image?
I am currently using the Lineage 15.1 rom, is there any problem in running this script on top of it ??
Click to expand...
Click to collapse
You're correct. You can flash the script but not sure if it will boot.

[TREBLE][SAGIT] ProjectTrouble reloaded

Project Trouble reloaded
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.
Install:
Download Project trouble reloaded. Link
Download a GSI. Link
Reboot to latest Official TWRP. Link
Wipe everything and format data - yes.
Flash Firmware newer then 8.4.19 and Project trouble reloaded.
Install the GSI
Reboot
Thanks to
Demon000 the highest GOD for all
Demon again
everyone who thinks that he/she did something great
Note:
Use Magisk 16.7 and Shev-T TWRP if you want to install magisk
​
XDA:DevDB Information
Project treble for Xiaomi Mi 6, ROM for the Xiaomi Mi 6
Contributors
NeoArian
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: 8.4.19
Version Information
Status: Alpha
Created 2018-07-04
Last Updated 2018-07-04
XDA:DevDB Information
Project treble for Xiaomi Mi 6, ROM for the Xiaomi Mi 6
Contributors
NeoArian
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: 8.4.19
Version Information
Status: Alpha
Created 2018-07-04
Last Updated 2018-12-22
Amazing work man. Really appreciated.
Just wondering, once treble activated, do we only install future gsi and nothing else needed? Forever?
That is fantastic. thank you for the reload.
Hi. may us know if theres any bug? Thanks.
Thanks Bro!!!
neXus PRIME said:
Amazing work man. Really appreciated.
Just wondering, once treble activated, do we only install future gsi and nothing else needed? Forever?
Click to expand...
Click to collapse
We will See Android P Not released
Shimizux said:
Hi. may us know if theres any bug? Thanks.
Click to expand...
Click to collapse
NFC doesnt Work on aosp, but on Lineage Based Roms. Rest ist fine.
NeoArian said:
NFC doesnt Work on aosp, but on Lineage Based Roms. Rest ist fine.
Click to expand...
Click to collapse
Noted. Anyway, Any GSI's recommendation? Can we Flash SuperSu instead of Magisk??
Shimizux said:
Noted. Anyway, Any GSI's recommendation? Can we Flash SuperSu instead of Magisk??
Click to expand...
Click to collapse
DotOS, Aosp, just choose one from the year section you can use supersu I stead of magisk.
It doesn't world with Pixel GSI image, apps keeps crashing and then, the system starts bootlooping
smsalom said:
It doesn't world with Pixel GSI image, apps keeps crashing and then, the system starts bootlooping
Click to expand...
Click to collapse
Check this instructions given by PE.
New Update for Project Trouble : https://www.androidfilehost.com/?fid=5862345805528050776
The new Project Trouble is based on the official LineageOS build from 07/17
anyone else flashed p via pt?
kpzhao said:
anyone else flashed p via pt?
Click to expand...
Click to collapse
Does not work in our Mi 6... At least in mine. I've tried various forms of instalation but no success... I Think that our kernel ins't compatible yet.
Rick_BR said:
Does not work in our Mi 6... At least in mine. I've tried various forms of instalation but no success... I Think that our kernel ins't compatible yet.
Click to expand...
Click to collapse
It works, you just need to disable fbe.
NeoArian said:
It works, you just need to disable fbe.
Click to expand...
Click to collapse
Strange... You mean format data? I've tested with and without... Still no luck. :/
Rick_BR said:
Strange... You mean format data? I've tested with and without... Still no luck. :/
Click to expand...
Click to collapse
No you need to flash this
View attachment fbe_disabler_treble.zip
imjohncarlo9 said:
No you need to flash this
View attachment 4552863
Click to expand...
Click to collapse
Wow! I will test and give feedback here. Thanks!
imjohncarlo9 said:
No you need to flash this
View attachment 4552863
Click to expand...
Click to collapse
where can i find a guide to install this semi-p
NeoArian said:
New Update for Project Trouble : https://www.androidfilehost.com/?fid=5862345805528050776
The new Project Trouble is based on the official LineageOS build from 07/17
Click to expand...
Click to collapse
Work fine! Thanks.
I installed Google Experience GSI and the unique problem is google not recognized my device, but, I thinks it´s problem the Google Experience rom.
The mi 6 is on bootloop with Android P GSI Preview, but it's normal, it's a beta.
Greetings

[Discontinued]Pixel Experience P[UNOFFICIAL][14.12.2018][S9/S9+/N9]

Samsung Pixel Experience P​By CodeFox & OpenSauce9810​
What is this?
This is a Semi Generic System Image. That means it's a generic system image that's been optimised as much as possible for our Samsung Devices. This is what differentiates this rom from the one you can find in the Project Treble Forum. I also plan to provide regular updates and improvements very frequently. I'm aiming for weekly if not more.
Why not Rainbow_Dash?
We're a part of the same team and he's taking a break from developing for the moment, so I'm going to do my best to support you with regular updates and support where possible. So his previous version should be considered redundant.
How the heck do I flash this?
It's slightly different than flashing a zip, so here's what you need to do.
Download the image file
Flash BRJ6 Vendor (If you're not on it already)
Flash a compatible kernel (I believe Endurance Kernel AOSP Works fine)
Flash the System Image to your System Partition
Optional if you want root (but reccomended): Reboot to recovery again then flash your choice of Magisk. I use 17.1 as I can get galaxy wear to work with that version.
Reboot your device and you should be good to go! No need to flash gapps as they're included.
To boot recent GSI Builds, on S9/+ be sure to have:
•BRJ6 Vendor
•Eamons latest Endurance Kernel based on 8.1 (AOSP)
•Soldiers latest ELS
*On some ROMs you will find Fingerprint doesn't work, so flash Soliders latest ELS, try and let your phone boot and then flash Endurance again after. You will notice your Fingerprint process isn't in a loop anymore*
What's different to the PE in project treble forum?
Thanks to GRaf for this guidance ^^
Smoother UI Performance Fixes
Debloated unneccessary libs from other devices
Vibration Motor has been corrected (it's too powerful in GSI)
Regular Maintenance / Builds & Support
Changelog:
30.11.2018 - Initial XDA Release & Unofficial rollout.
01.12.2018
Animation integers corrected to be smoother
Black boot-animation added, no more being blinded by the boot animation
Pixel Live Wallpapers included
High Resolution default wallpaper added
09.12.2018 (Now maintained by @malinathani
Made system ui a hella smoother compared to before
Face unlock works
Phh settings removed. All samsung options should now be persistent.
14.12.2018
-Fixed fingerprint on note 9, should work now with almost any vendor so get the latest one
-Almost everything works now
Bugs:
Auto brightness and home button in always on display.
You tell me
Downloads:
System Image
Link to Endurance Kernel Thread for compatible kernel
Support & Feedback
I'm happy to provide as much support as possible. Through XDA here or you can get in touch with me and the rest of OpenSauce9810 + our community at our Telegram group here
If you're happy with the work I've put into this (endless amounts of hours trying to perfect GSI building) then a simple thanks here or clicking the thanks button below is very appreciated!
Credits and Thanks
Ivan - Thank you for helping me out every now and then when I'm being stoopid.
Rainbow_Dash - Pointing me in the right direction with regards to fixing the errors.
malinathani - For fixing the UI Jank which we experienced in GSI's. His fix is widely used in other GSI's now.
GRaf - best tester
The guys in telegram as a whole, thank you for the feedback and support.
XDA:DevDB Information
[Discontinued]Pixel Experience P[UNOFFICIAL][14.12.2018][S9/S9+/N9], ROM for the Samsung Galaxy S9
Contributors
CodeFox, Rainbow_Dash, malinathani, Mohammed Nathani, Opensauce9810, Ivan Meler, phhusson
Source Code: https://github.com/PixelExperience
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: BRJ3 Vendor
Based On: AOSP
Version Information
Status: Beta
Current Beta Version: 1
Beta Release Date: 2018-11-30
Created 2018-11-30
Last Updated 2019-01-07
working fine on s9+
Awesome thank you very much ?
thank you, could please post some screenshot.
Does not progress from white pixel boot screen for me s9+.
I'm a little confused by the instructions. I am on the BRJ8 vendor currently. Do i flash it in this order?
Wipe system, data, cache, dalvik cache
Install the rom img into the system partition
Reboot into recovery
Install the endurance kernel aosp 9.0
Correct?
LavaSnake54 said:
I'm a little confused by the instructions. I am on the BRJ8 vendor currently. Do i flash it in this order?
Click to expand...
Click to collapse
tried, doesn't go further than boot logo after flashing all that on BRJ8 So you need BRJ6
a_swed said:
doesn't go further than boot logo after flashing all that on BRJ8
Click to expand...
Click to collapse
read read read read
I've updated the OP with further guidance regarding getting it to boot. I don't have the S9/S9+ so I had to to go to a buddy and ask him. Hopefully this will help you get it booting now.
Wait what...... You're telling us to flash an android 8.1 kernel to an android 9 rom?
LavaSnake54 said:
Wait what...... You're telling us to flash an android 8.1 kernel to an android 9 rom?
Click to expand...
Click to collapse
Well we don't have a pie kernel sources yet, so yes. Plus it's a Generic System Image. The 8.1 kernel works fine.
New build posted. see OP for details.
One more question, I am already on BRJ8 firmware, and I heard somewhere that samsung doesn't allow you to downgrade to an older firmware. Is this true? Do i just flash the BRJ6 firmware on my already current rom?
LavaSnake54 said:
One more question, I am already on BRJ8 firmware, and I heard somewhere that samsung doesn't allow you to downgrade to an older firmware. Is this true? Do i just flash the BRJ6 firmware on my already current rom?
Click to expand...
Click to collapse
You need the vendor, nit the firmware. And yes, you can flash vendor and firmware.zips how you like. Versions up and down. I am speaking about the flashable version for TWRP.
---------- Post added at 06:41 PM ---------- Previous post was at 06:32 PM ----------
Flashable Vendors:
http://cloud.timo-ehlers.de/S9(+)/Vendor/
Nice work! Glad to hear you going with weekly updates too! Flashing this one asap tomorrow!
Snapdragon
I'm assuming this doesn't work on the US Snapdragon variants? Figured I'd ask. Nice job and keep developing people
notsotet said:
I'm assuming this doesn't work on the US Snapdragon variants? Figured I'd ask. Nice job and keep developing people
Click to expand...
Click to collapse
It will indeed work for SnapDragon variants friend. It's Samsung specific but still a generic image.
I'm stuck on Google logo
Came from ZRKZ
Factory reset - flashed vendor BRE6, flashed img, rebooted twice into Samsung, booted into google, progress bar keeps going and going... 20 minutes.
MidnightDevil said:
I'm stuck on Google logo
Came from ZRKZ
Factory reset - flashed vendor BRE6, flashed img, rebooted twice into Samsung, booted into google, progress bar keeps going and going... 20 minutes.
Click to expand...
Click to collapse
Have you flashed the 8.1 Endurance Kernel? Sounds like you may still have the pie kernel.
LavaSnake54 said:
Wait what...... You're telling us to flash an android 8.1 kernel to an android 9 rom?
Click to expand...
Click to collapse
Strangely enough Pixel Experience will only boot with Jesec's 8.1 ramdisk that my 8.1 kernel utilises. I'll update my OP to address this.
CodeFox said:
It will indeed work for SnapDragon variants friend. It's Samsung specific but still a generic image.
Click to expand...
Click to collapse
I will need a custom recovery though right? US Snapdragons are bootloader locked so I don't have any way of doing that

[ROM][9.0] Personal AOSP builds [Xiaomi Mi 9]

What is this thread?
This thread is hosting my personal Pie builds for our beloved Xiaomi Mi 9 using device and kernel sources from Demon000. I do these mainly for myself, but I would like to share my builds with the community as well for people who like trying out different roms.
What can I choose from?
For now I have done builds of CrDroid, RR, BlissROM and EvolutionX, I cannot guarantee any updates on builds I've done and I might build different roms every now and then. For any build specific bugs please refer to the comments on AFH per build.
Flashing instructions
Flash latest global stable with miflash
Flash vbmeta.img with "fastboot flash vbmeta vbmeta.img --disable-verity --disable-verification" (Download here)
Flash TWRP
Wipe (dont wipe system/vendor)
Format data
Reboot recovery
Flash rom+gapps (if applicable)
Reboot system
Downloads:
All of my builds are hosted in my Cepheus folder on my AFH profile
https://www.androidfilehost.com/?w=files&flid=299819
Source code:
https://github.com/Demon000/kernel_xiaomi_sm8150
https://github.com/Demon000/device_xiaomi_cepheus
https://github.com/Demon000/device_xiaomi_sm8150-common
https://github.com/Demon000/vendor_xiaomi
Credits:
Cozzmy13 for device and kernel sources, donations can go here: https://www.paypal.me/demon0000
XDA:DevDB Information
[ROM][9.0] Personal AOSP builds [Xiaomi Mi 9], ROM for the Xiaomi Mi 9
Contributors
CrazyBeaver2377, Cozzmy13
ROM OS Version: 9.x Pie
Version Information
Status: Beta
Created 2019-10-06
Last Updated 2019-10-06
mine
Nice
I try asap
Everything works?
YelloneK said:
Everything works?
Click to expand...
Click to collapse
Might be pretty bugless, because they were built with the amazing sources by cosmin.
CrazyBeaver2377 said:
mine
Click to expand...
Click to collapse
Thx a lot..... EvolutionX boots ok.....:good:
DT2W/NFC Ok?
rafik25 said:
Thx a lot..... EvolutionX boots ok.....:good:
Click to expand...
Click to collapse
Kris Chen said:
DT2W/NFC Ok?
Click to expand...
Click to collapse
DT2W is not working in all builds, this is something that has to be fixed in trees/kernel.
NFC is not working in my CrDroid build but should be fine in all other latest builds.
For EvolutionX I have to do a new build to fix fingerprint sensor, which I will try doing later today.
CrazyBeaver2377 said:
DT2W is not working in all builds, this is something that has to be fixed in trees/kernel.
NFC is not working in my CrDroid build but should be fine in all other latest builds.
For EvolutionX I have to do a new build to fix fingerprint sensor, which I will try doing later today.
Click to expand...
Click to collapse
double tap to wake plz ?
funny thing
how come cosmin not able to build a kernel with working dt2w? couldnt perseus, now cant cepheus...? on cosp it works, bootleggers too... so no dt2w, no thanks
phabet said:
how come cosmin not able to build a kernel with working dt2w? couldnt perseus, now cant cepheus...? on cosp it works, bootleggers too... so no dt2w, no thanks
Click to expand...
Click to collapse
We are eagearly waiting for your build.
rafik25 said:
double tap to wake plz ?
Click to expand...
Click to collapse
R u serious...
Thankyou for this. Is there no fingerprint working on Bliss or did i something wrong?
phabet said:
how come cosmin not able to build a kernel with working dt2w? couldnt perseus, now cant cepheus...? on cosp it works, bootleggers too... so no dt2w, no thanks
Click to expand...
Click to collapse
more funnier thing.... why don't you send him your fix?
wakko42 said:
more funnier thing.... why don't you send him your fix?
Click to expand...
Click to collapse
well, im not a "developer" like him
phabet said:
how come cosmin not able to build a kernel with working dt2w? couldnt perseus, now cant cepheus...? on cosp it works, bootleggers too... so no dt2w, no thanks
Click to expand...
Click to collapse
Having such an attitude don't expect Devs to participate in the mi 9. You should be at least kind enough to say a simple thank you.
phabet said:
well, im not a "developer" like him
Click to expand...
Click to collapse
gianton answer describes it - at least try to be a little bit kind...
who know's what android 10 will bring (if they don't leave the mi9 because of people like you)
wakko42 said:
gianton answer describes it - at least try to be a little bit kind...
who know's what android 10 will bring (if they don't leave the mi9 because of people like you)
Click to expand...
Click to collapse
Markash and kelsi will bring...
Aosip Aosip Aosip Aosip
Thanks crazybeaver for sharing. I am still waiting voor unlock. But I will definitely give it a go afterwards. Much appreciated that you put your personal file here too!

Categories

Resources