Oreo, Treble, AOSP and Lineage thoughts - Huawei Mate 9 Questions & Answers

We know that stock Oreo for Mate 9 has treble enabled.
I have been reading about treble and it seems that it focuses on standardizing vendor/odm partitions. The same vendor partition could be used by different Android flavors, including pure AOSP or Lineage.
Moreover, in treble devices the kernel must implement loadable modules. The same kernel will be shared among devices with the same SoC. Software for particularities like storage devices or camera will be loaded from vendor/odm partitions.
I'm not an expert, but shouldn't this mean that once a device with HiSilicon Kirin 960 has a functional AOSP- based ROM a port to Mate 9 should be easy to develop? Even it is possible that ROMs from other devices directly work...
What do you think?

I have no technical knowledge on this stuff, but from what I've read you're right. And I really hope this will be true !

Treble might be the reason I stick with the Mate 9 instead of moving to the Pixel 2 XL.
"...because of the way the lower layer of Android was modularized, all Treble devices in the market will be able to boot a generic stock, AOSP Android build."
https://www.xda-developers.com/project-treble-custom-rom-development/

At very least it will make updates easier
tusko5 said:
We know that stock Oreo for Mate 9 has treble enabled.
I have been reading about treble and it seems that it focuses on standardizing vendor/odm partitions. The same vendor partition could be used by different Android flavors, including pure AOSP or Lineage.
Moreover, in treble devices the kernel must implement loadable modules. The same kernel will be shared among devices with the same SoC. Software for particularities like storage devices or camera will be loaded from vendor/odm partitions.
I'm not an expert, but shouldn't this mean that once a device with HiSilicon Kirin 960 has a functional AOSP- based ROM a port to Mate 9 should be easy to develop? Even it is possible that ROMs from other devices directly work...
What do you think?
Click to expand...
Click to collapse
I would think so, with treble enabled it would at least make major updates easier on the part of the manufacturer, if that is the case, compiling a "generic" version of the asop code easier to implement, especially when it comes to major version upgrades such as to let's say android 9, I'll have to look into it.

Related

Why no Oreo based custom Roms?

Is there a reason why we don't have Oreo based custom Roms on the mare 9? Even the 7.x Roms don't seen to get many updates. Is it because most Devs have moved on to other devices or some other reason?
Maybe I'll stop my journey into the Huawei-world because of the lack of proper developer support. There is no AOSP* available for my Mate9 maybe because of EMUI. I can't even find a recovery for my MEDIAPad 10 lite.
I hate Google for dropping the Nexus series.
If/when the predominant amount of "android" based phones are released with Oreo in the next year, IF they have the full Oreo/project Treble setup, it should make custom roms more of a thing, if I read how project treble is suppose to work.
So in your guys's opinion, is it just better to return to stock Oreo with root on the mare 9 rather than an older custom rom? I feel like I'm stuck with no security updates and don't see that much more of an upside to an old custom vs the latest Oreo. Currently I'm using the latest Romaur but it hasn't been updated since late last year.

Can someone port project treble rom for mi4i?

Most of the under rated xiaomi phones like redmi 4, 4x etc. all have project treble ported for these devices. Why cant mi4i have the same? If someone can port project treble rom and twrp recovery (redwolf) that supports project treble then I would be grateful.
Thank you.
Salam.Vivek said:
Most of the under rated xiaomi phones like redmi 4, 4x etc. all have project treble ported for these devices. Why cant mi4i have the same? If someone can port project treble rom and twrp recovery (redwolf) that supports project treble then I would be grateful.
Thank you.
Click to expand...
Click to collapse
What is Project Treble?
tamojit_ray said:
What is Project Treble?
Click to expand...
Click to collapse
Traditionally the OS framework and low-level software were all part of the same code. So when the OS got updated, this low-level software technically referred to as vendor implementation—also had to get updated. That’s a lot of work. Hence lead to android fragmentation.
So in order to curb this problem to some extend Google introduces Project Treble, starting with Android 8.x (Oreo),the core hardware code is separate from the OS code, device manufacturers will be free to update their software without having to wait for the silicon maker to also update its code.
In simple term it is somewhat like installing windows OS where you just install it and the drivers are installed separately( here in project treble the vendor partition has the drivers needed for that device)
We only got like 2 devs that work on ferrari once in a blue moon. The main guy who maintain trees is currently busy with life. You should use miui or get a new phone.

Android 9.0 Pie custom ROMs and Honor 8

Hello guys,
I tried out different Android Pie ROMs, like Pixel Experience Pie and the Kirin-GSI AOSP Android Pie, but in the first OS, the camera didn't work and in the second ROM, the device overheated like hell and tethering didn't work. So, I'm looking for a stable Pie ROM because this is the whole reason why I unlocked the bootloader in the first place. I'm waiting the recommendations here.
The only that has everything working is the kirin-gsi because of the camera. But the batteru is terrible and is overheating and also i guess the rom is abandoned. The openkirin team is working in android p roms for kirin processors, so just wait.
immichao said:
The only that has everything working is the kirin-gsi because of the camera. But the batteru is terrible and is overheating and also i guess the rom is abandoned. The openkirin team is working in android p roms for kirin processors, so just wait.
Click to expand...
Click to collapse
But I tested all of the OpenKirin ROMs and every single one of them failed to keep the camera's picture quality from EMUI 8. This is the only ROM so far that managed to do this. I heard the overheating issues and battery draining can be solved by a custom kernel. Is there any custom kernels made for Honor 8 that support EMUI 8's partition table?
ThePS4Gamer said:
But I tested all of the OpenKirin ROMs and every single one of them failed to keep the camera's picture quality from EMUI 8. This is the only ROM so far that managed to do this. I heard the overheating issues and battery draining can be solved by a custom kernel. Is there any custom kernels made for Honor 8 that support EMUI 8's partition table?
Click to expand...
Click to collapse
the only custom kernel i know is in multi tool 8 and the only thing that changes is the magisk support

No forum for my device

My device is Xiaomi Redmi 10/Redmi 10 Prime (selene). I can't find the forum for my device. I think there is no forum for this device yet.
im seeing its has a mediatek chipset so check if it supports project treble by downloading this app
Treble Info - Apps on Google Play
Helps you check Project Treble, A/B and Architecture for GSI installation
play.google.com
send me a screenshot of what you see
If its treble supported then you can join the treble development threads and find roms that will fit your liking although twrp will still have to be specifically for your device and you still have to make sure you get the treble rom is for your device by checking if it uses the a only or b only or ab operating system and also by checking the arm architecture if its arm or arm 32 or arm64

Any chance for a treble port or android 12L?

These were amazing tablets. Any chance for a treble port or an android 12 custom rom? Clamor used to had an oreo custom build, isn't enough to make the tablet compatible with treble generic system images?

Categories

Resources