GSI Roms - Redmi Note 9S / Note 9 Pro (Indian Model) Question

If I've got this wrong, please correct me but GSI ROMs are compatible across loads of different devices. So for example Linage 17 GSI works for Treble based phones no matter the manufacturer as long as you have the right vendor installed.
If thats right, why do we have devs developing for individual phones. For example why have a Havoc ROM for a phone when you can just have a GSI rom?

That's the difference they both have advantages and disadvantages

Related

what if Google release android p generic system image..??

Is it end of less popular custom ROMs..??
Or is it end of Custom ROM itself..??
What will be the future..??
XDA will fill with kernels and vendor images..??
syamkumar.tpl said:
Is it end of less popular custom ROMs..??
Or is it end of Custom ROM itself..??
What will be the future..??
XDA will fill with kernels and vendor images..??
Click to expand...
Click to collapse
You can't say. No one can. There are still thousands of legacy and old devices which are getting the traditional custom rom support. Uptill now. But to answer your question regarding vendor images. That could be great because. If one custom vendor.img file is made for a treble device. 95% of the other devices with treble support can boot that too. Just like phussons aosp vendor.img file.
This isn't definetly not the end. But a beginning of a new era. Treble supported custom rom vendor.img will make more roms available to more devices. Since the work pressure of devs is greatly reduced in porting it.
syamkumar.tpl said:
Is it end of less popular custom ROMs..??
Or is it end of Custom ROM itself..??
What will be the future..??
XDA will fill with kernels and vendor images..??
Click to expand...
Click to collapse
I am slightly confused. I thought that Treble was all about portable system images (GSI). In my understanding (which may well be wrong) the vendor images are (and must be) device-specific, but the GSIs are meant to be generalised. So, if there is a decent Mido vendor image (either from Xiaomi, or XDA members), we should be able to flash any GSI made by anybody - Google, Samsung, OnePlus, Xiaomi, Huawei, or whatever. Also, anybody should be able to customise any GSI to make their own GSI (e.g., by adding root, tweaking build.prop, or any other such). And, anybody should be able to build their own GSI, without worrying about the underlying hardware. If this is all correct, then I would imagine that there would be even more custom ROMs (i.e., GSIs). I would probably cook my own as well.

What's with the treble hype?

Is there a reason why every custom ROM seems to go treble? There's no real proven benefit when having unofficial treble. As one of the LineageOS devs said on their subreddit:
You don't get treble. You have it or you don't. All those "ported treble" are plain fake and they don't have the same capabilities of the "real" treble (the one that you have on your device out of the box or from your manufacturer as a stock ROM update).
This because treble requires appropriate changes to the proprietary files (those stored on the vendor partition) that a device without "stock/real" treble won't have
Click to expand...
Click to collapse
There's only one partition instead of both. The one for seamless updates is missing (I think).
As for treble ROMs, they are pretty much a gimmick unless devs actually make use of them. But I have seen reddit comments about people trying out generic system images via treble TWRP: https://www.reddit.com/r/Xiaomi/comments/8ac2gc/project_treble_is_amazing_and_because_of_this_my/
You can try it for yourself: https://forum.xda-developers.com/pr...-development/experimental-phh-treble-t3709659
https://www.xda-developers.com/flash-generic-system-image-project-treble-device/
What this could mean is, in 2 years if dev support drops for the Note 4, you may still be able to get the most recent version of AOSP or some other ROM as a generic system image. No need to wait around for devs to create ROMs or compile one yourself.

Project treble ROMs

So, am I correct in believing that almost all treble ROMs will boot on the H9, if so, there is an entire forum dedicated to project treble development on XDA, the H9 is listed as supported for at least AOSP 8.1.
Anyone think that other ROMs will work?
Link to forum: https://forum.xda-developers.com/project-treble/trebleenabled-device-development
I'm not sure if I want to risk bricking my device, it's too much effort to unbrick it etc...
Yes. I flashed LineageOS and AOSP, both are working fine. Due to us not having a properly working TWRP for Android 8.1 I couldn't install any Gapps manually meaning you can only use a bare custom rom without Gapps or Roms with pre-installed Gapps (like the AOSP Rom in your shared forum).
Have you tried the Pixel one?
Pixel Experience does not boot on my h9
wakko42 said:
Pixel Experience does not boot on my h9
Click to expand...
Click to collapse
+1
wakko42 said:
Pixel Experience does not boot on my h9
Click to expand...
Click to collapse
Just can't understand why...Really wish to have that one....:crying:
Hello, has anyone (using a Treble Rom) ever had a successful SafetyNet test?

Andeoid pie?

Will we get android pie roms?
i am really interested in the pixel experience.
I was a mtk user and a porter ...can i port other pie rom like xiaomi note 4's with same kernel version ?
i am new so treat me like a noob:good:
mona356 said:
Will we get android pie roms?
i am really interested in the pixel experience.
I was a mtk user and a porter ...can i port other pie rom like xiaomi note 4's with same kernel version ?
i am new so treat me like a noob:good:
Click to expand...
Click to collapse
I'm very sad to see R5+ development is currently dead. I was hoping someone would build a Pixel Experience or any AOSP based ROM for our device but even the oreo roms are dead or finalized already. So i don't think people have anymore interest in R5+..
bdogan1912 said:
I'm very sad to see R5+ development is currently dead. I was hoping someone would build a Pixel Experience or any AOSP based ROM for our device but even the oreo roms are dead or finalized already. So i don't think people have anymore interest in R5+..
Click to expand...
Click to collapse
The real problem is lack of updated Oreo kernel sources (how much less Pie). This means, for example, that certain display panels (eg, ebbg) cannot be supported by custom ROMs (you might have to go back to Nougat kernels for that).
Why not write to Xiaomi to release up-to-date Oreo kernel sources for vince in the first instance? If enough people make a fuss, perhaps something will happen ...
DarthJabba9 said:
The real problem is lack of updated Oreo kernel sources (how much less Pie). This means, for example, that certain display panels (eg, ebbg) cannot be supported by custom ROMs (you might have to go back to Nougat kernels for that).
Why not write to Xiaomi to release up-to-date Oreo kernel sources for vince in the first instance? If enough people make a fuss, perhaps something will happen ...
Click to expand...
Click to collapse
Xiaomi however isn't listening their customers. A big example is ARB system which absolutely destroys devices. So i guess we are gonna stay dead until something shows up..

Clarification on treble & ROMS

Hi!
i am new to the treble-enabled stuff, this is the first phone i own that is treble capable and i have a few questions. I think they can apply to other NOBS, so here i go hoping some nice guy will help me understand:
Background: i have the redmi 5plus (global) which i have unlocked (after painful 720h) and i have flashed Pixel Experience 8.1 rom, but i like to experiment and it seems most of interesting roms are on treble.
1. By default, "vince" is not treble enabled. (treble check app says so)
2. "vince" seems to be an "A only" device, not A/B device,
Main Question: Now, what should i do to try (safely) some GSI roms (like here XDA LOS 16 GSI)?
Sub-Question 1: I must most likely flash some other things first, i guess... like a vendor or a treble image? Where do i find it?
Sub-Question 2: I have installed TRWP recovery, is it treble enabled or should i ALSO find a treble enabled recovery?
If i got it all wrong, please i would be happy to stand corrected!
Hi.
Well, yeah, you need to install another vendor, as far as I know, OrangeFox is the treble enabled recovery.
Someone already explained this in this post.
Have fun. :fingers-crossed:
Xyzko said:
Hi.
Well, yeah, you need to install another vendor, as far as I know, OrangeFox is the treble enabled recovery.
Someone already explained this in this post.
Have fun. :fingers-crossed:
Click to expand...
Click to collapse
Thank you! Sometimes hard to find the right threads...
Installed orangefox, cool recovery!
One last question... how does kernel works with treble? Do i need treble enabled kernels if i want to change the kernel? Are they provided with the treble-enabled rom already or i get to keep the existing kernel? Is the kernel on a dedicated partition separated from the GSI and the Vendor? (i am starting to understand this, maybe)?
gardiol said:
Thank you! Sometimes hard to find the right threads...
Installed orangefox, cool recovery!
One last question... how does kernel works with treble? Do i need treble enabled kernels if i want to change the kernel? Are they provided with the treble-enabled rom already or i get to keep the existing kernel? Is the kernel on a dedicated partition separated from the GSI and the Vendor? (i am starting to understand this, maybe)?
Click to expand...
Click to collapse
Months ago it started to appear some projects about android 9.0 before of Google revealed it as android Pie, then at this time devices with treble support also can support GSIs from these projects according two specific conditions: the processor (first qualcomm, then exynos, kirin and mtk were supported) and kind of partition system A-A/B.
At this first times was needed to flash a vendor treble supported rom to add treble support and flash over it a GSI 9.0. without the need to flash other kernel.
In this forum there are a lot of GSIs that eventually could work in our device but it could be many bugs https://forum.xda-developers.com/project-treble/trebleenabled-device-development.
Now is not needed to complicate the job flashing a vendor, then a GSI and maybe a custom treblized kernel so started to appear first developments of roms running 9.0 and these roms will work as exactly did it any rom 7.1 or 8.1, in the future they could be include treble support.
This is the short story.

Categories

Resources