Clarification on treble & ROMS - Xiaomi Redmi Note 5 / 5 Plus Questions & Answers

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.

Related

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?

Question Custom ROM / Stock Android for Mi 11X Pro

Are there any Custom ROM's or Stock Android options for haydn devices? I'm open to something that is not 100% working with a few exceptions though.
I haven't tried it yet, but since we have a partially working and unsupported TWRP, try out Pixel Experience GSI or AOSP GSI. Someone in this device forum suggested but not sure if it would even work in the first place.
sundhar88 said:
I haven't tried it yet, but since we have a partially working and unsupported TWRP, try out Pixel Experience GSI or AOSP GSI. Someone in this device forum suggested but not sure if it would even work in the first place.
Click to expand...
Click to collapse
I'm curious to know the same. Waiting patiently.

How to install custom on Android if the hardware is not present on custom rom device list?

Hey, I want to install Pixel Experience custom rom on my Android Phone but unfortunately my phone vendor is not present on devices tab. In this case what should I do? How can I install custom rom on my Android phone?
My Phone is Techno Spark 6 GO.
you could try GSI but that device shipped Android (Go edition) usually for low ram. bootloader is unlockable?
Wnat is GSI? Generic System Image? Even if I am able to unlocked bootloader on my device then what then? Since I am not able to find custom OS for it.
Haziq12345 said:
Wnat ks GSI? Generic System Image? Even if I am able to unlocked bootloader on my device then what then? Since I am not able to find custom OS for it.
Click to expand...
Click to collapse
same problem here i want to install custom rom for my devce but theres is no availablecustom rom for it
Generic System Image is generic. you won't find GSI especially for this device. it's trial and error
[GSI][13] LineageOS 20 "Light"
LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and reliability over stock Android for your device. LineageOS is based on the Android Open Source Project with extra...
forum.xda-developers.com
Thanks for the explanation, but by testing what if tested wrong GSI and phone become brick. Then it would be useless.
unlock bootloader first. if bootloader is unlocked, we will talk about *what if* questions
It's now easy to bypass MediaTek's SP Flash Tool authentication
A group of developers has created a Python utility to bypass the authentication routine of MediaTek SP Flash Tool. Check it out now!
www.xda-developers.com
aIecxs said:
unlock bootloader first. if bootloader is unlocked, we will talk about *what if* questions
It's now easy to bypass MediaTek's SP Flash Tool authentication
A group of developers has created a Python utility to bypass the authentication routine of MediaTek SP Flash Tool. Check it out now!
www.xda-developers.com
Click to expand...
Click to collapse
Does this works in oppo too yes my bootloader is unlocked my phone is oppo a71 cph1717
Unofficial LineageOS 17 GSI released for Project Treble compatible devices
You can now get LineageOS 17, based on Android 10, on any Project Treble compatible device thanks to this unofficial LineageOS 17 GSI release.
www.xda-developers.com
How to flash a Generic System Image (GSI) on Project Treble supported devices
So your device supports Project Treble, what does that mean for you? It means you can flash a Generic System Image such as LineageOS or Resurrection Remix! Enjoy AOSP-based custom ROMs! Here's a guide on how to install these ROMs.
www.xda-developers.com
aIecxs said:
Unofficial LineageOS 17 GSI released for Project Treble compatible devices
You can now get LineageOS 17, based on Android 10, on any Project Treble compatible device thanks to this unofficial LineageOS 17 GSI release.
www.xda-developers.com
How to flash a Generic System Image (GSI) on Project Treble supported devices
So your device supports Project Treble, what does that mean for you? It means you can flash a Generic System Image such as LineageOS or Resurrection Remix! Enjoy AOSP-based custom ROMs! Here's a guide on how to install these ROMs.
www.xda-developers.com
Click to expand...
Click to collapse
So its really possible to install gsi on my oppo a71? Right sir?
you tell us
aIecxs said:
you tell us
Click to expand...
Click to collapse
Hmmm its said there that i need to be android 8 or higher to flash the gsi but my phone is android 7.1.1
probably not... double check with that app
Treble Check - Apps on Google Play
Check your device for Project Treble support and more
play.google.com
found this guide but seems dangerous, most likely you will end up bricked
[GUIDE] [Q&A] [TREBLE] From Stock to Treble - everything you need to know!
Here I will share all the info you need to know about using Treble on the Mi A1. Everyone is more than welcome to ask questions and clarification here, I am happy to answer and will update this thread over time. Thanks! Contents 0. Key Terms...
forum.xda-developers.com
aIecxs said:
probably not... double check with that app
Treble Check - Apps on Google Play
Check your device for Project Treble support and more
play.google.com
Click to expand...
Click to collapse
My phone doesnt supported but could it possibly work although its not supported?
Anonymous V said:
My phone doesnt supported but could it possibly work although its not supported?
Click to expand...
Click to collapse
No. search for custom ROM for your device
aIecxs said:
No. search for custom ROM for your device
Click to expand...
Click to collapse
Nah i already did but no i cant find anything im like searching for 2 months but nothing i cant find something fit on my device so i hope gsi would work for me it should be easy for me my phone is running in oreo or pie but nah i cant find custom rom for my device also i know this link custom ROM its says he that he have the same phone as mine so he prted ressurection os pie for his phone and it work im a bit worried about it pls sir if you can tell me if this rom is safe just confirm it to be safe ill try this out
Anonymous V said:
pls sir if you can tell me if this rom is safe ill try this out
Click to expand...
Click to collapse
that's not how xda works.
aIecxs said:
that's not how xda works.
Click to expand...
Click to collapse
Yeah i know i just asked if this is safe like there no virus or trojan somthing because it happens to before my phone broke because of virud from the rom thats why and if ever i bricked my device i know how to fix it and backup is already in standby

Can I install a GSI rom through TWRP on the LG G8X ThinQ without damaging it in any way?

What's up guys? I have a question, currently my device has Lineage 19.1 ROM installed (Unofficial), I'm not having any problems or anything like that, quite the contrary, it's super stable, but I'd like to test some GSI ROMs on my device, since there aren't many build options for it specifically (LGE G850UM). So I wanted to know if I can leave Lineage 19.1 and install a GSI through TWRP without having to go back to Stock ROM... how to do this smoothly? Also wanted an indication of a GSI on Android 12 or 13 that runs stably on it. Thanks for reading this far!
ThePhanton said:
What's up guys? I have a question, currently my device has Lineage 19.1 ROM installed (Unofficial), I'm not having any problems or anything like that, quite the contrary, it's super stable, but I'd like to test some GSI ROMs on my device, since there aren't many build options for it specifically (LGE G850UM). So I wanted to know if I can leave Lineage 19.1 and install a GSI through TWRP without having to go back to Stock ROM... how to do this smoothly? Also wanted an indication of a GSI on Android 12 or 13 that runs stably on it. Thanks for reading this far!
Click to expand...
Click to collapse
Hey! If you have enough knowledge about GSIs (image type required for your device, disable Verity etc. ), then you can proceed to flash any GSI(present version or above). As I don't have the device model that you're having, i can't say much about it. CLICK HERE for more information, maybe you'll find something about your device.
Note: it's best to have stock firmware downloaded in case something goes wrong
Click to expand...
Click to collapse

Categories

Resources