Questions regarding Treble and Non-Treble ROMs - Xiaomi Redmi 4X Questions & Answers

Hey Guys,
we all know that our device is treble-ready. Many thanks to all the developers :good: :highfive: :victory:
For treble it is necessary to have a vendor partition. On our device the cust partition is used as vendor - so far so good.
Since i'm not a developer it would be great if someone can clearify some things:
Should i backup my cust partition before flashing a treble ROM for the first time?
Which non-treble ROMs are using the cust partition? Is it just MIUI?
Is it possible to switch between treble and non-treble ROMs?
We need a "special" recovery for treble ROMs (Redwolf or Orangefox).
Can these recoverys deal with non-treble ROMs aswell?

der-joker said:
Hey Guys,
we all know that our device is treble-ready. Many thanks to all the developers :good: :highfive: :victory:
For treble it is necessary to have a vendor partition. On our device the cust partition is used as vendor - so far so good.
Since i'm not a developer it would be great if someone can clearify some things:
Should i backup my cust partition before flashing a treble ROM for the first time?
Which non-treble ROMs are using the cust partition? Is it just MIUI?
Is it possible to switch between treble and non-treble ROMs?
We need a "special" recovery for treble ROMs (Redwolf or Orangefox).
Can these recoverys deal with non-treble ROMs aswell?
Click to expand...
Click to collapse
Custom roms dont use cust partition. you can flash non-treble rom over treble rom (i dont know about multiboot it might be work) Recoveries are not only for treble roms if you are not using miui (only miui uses cust partition afaik) you can use it non treble roms too

Related

What is treble and why is all the fuss about it?

Recently I saw that there appeared a new kind of roms which need a special recovery and, as I could find, have something to do with easier update of Android version. Also I have seen a project: https://forum.xda-developers.com/pr...-development/experimental-phh-treble-t3709659 which claims to have one rom file that can be flashed on a impressing number of roms. I saw the first comment by author which has a method to know if a device has support for treble and it is refered to run "treble check" app from play store on official rom. The thing is that I experimented and installed treble rom (lineage OS) from redmi 4x thread and did the check if the device is supported (the screenshot is attached below) and saw that on this rom it is supported, in contrary to MIUI. The question is about this controversion: is this device supported or not? Can I flash these ROMs from the thread? Are treble ROMs really like a universal flashable file for multiple devices?
If you flash GSI (Generic System Image) it will work on our device. Yes Treble roms are universally flashable if GSI is used, with some minimal modification for device specific. So porting roms will easier, and less time consuming.
Anyone can correct me, if i 'm wrong.
drthrax07 said:
If you flash GSI (Generic System Image) it will work on our device. Yes Treble roms are universally flashable if GSI is used, with some minimal modification for device specific. So porting roms will easier, and less time consuming.
Anyone can correct me, if i 'm wrong.
Click to expand...
Click to collapse
So if I flash the rim from this link specifically on redmi 4x, the device will have no harm at all?
ViorelRj said:
So if I flash the rim from this link specifically on redmi 4x, the device will have no harm at all?
Click to expand...
Click to collapse
Yes, but follow the instruction there. Our device is A-only device. Use the special recovery here for flashing. Or flash the lineageos 15.1 treble edition first just find in on our device forum.
drthrax07 said:
Yes, but follow the instruction there. Our device is A-only device. Use the special recovery here for flashing. Or flash the lineageos 15.1 treble edition first just find in on our device forum.
Click to expand...
Click to collapse
I have seen that seamless updates require A and B partition. I want to know what I am loosing with this device by having only the A partition (what really is seamless update and how does it work)? P.S. sorry for being annoying.
ViorelRj said:
I have seen that seamless updates require A and B partition. I want to know what I am loosing with this device by having only the A partition (what really is seamless update and how does it work)? P.S. sorry for being annoying.
Click to expand...
Click to collapse
As far as i know the seamlees update works this way:
In slot A you have installed any OS Example Android 8.1
In slot B there is a backup of the OS Om slot A
This mean you can install the ota of Android P (example) in one of the slots while you are on Facebook for example

treble rom? normal rom? which one?

I've seen lately that there is many new roms and kernels that are treble enabled
I want to know what are the advantages on treble roms and what makes them better tan normal ones
Treble technology means separating system into two partitions. One for oems, one for Google. This enables Google to push updates to every phone. Without treble, Android phones only get updates when manufacturers decide so.
But for custom roms I dont think there are any adventages of treble. Also, to install treble roms, you need a treble supported recovery. And you can't revert back to miui with treble enabled recoveries AFAIK.
Performance or battery won't change between treble and non treble roms. Also most up to date roms only have treble version anyway.
What that guy above said except Google hasn't been developing any GSI for us to flash, that I am aware of anyway.
Treble support gives our device pretty much indefinite software support, a guarantee that Santoni will always recieve updates via the community-made GSI

What's the difference between Treble and Non-Treble

I want to know the difference between Treble and Non Treble Roms , Recoveries
Also I want to know if flashing one or the other thing would hard brick my device
Please answer
Linux_Nexton said:
I want to know the difference between Treble and Non Treble Roms , Recoveries
Also I want to know if flashing one or the other thing would hard brick my device
Please answer
Click to expand...
Click to collapse
Treble supported rom supports ota(in simple terms : System Updates)
While non treble roms doesnt support ota.
I don't think flashing any of them can hardbrick your device.
Which rom are you using currently?
Sent from my Redmi 4X using XDA Labs
Read it here https://www.xda-developers.com/how-project-treble-revolutionizes-custom-roms-android-oreo/

project treble gsi support for rog 2

Hi guys, just check the device support project treble and how to know my device is a only or ab? And any user success flash rom into system? Thank you
atoyu said:
Hi guys, just check the device support project treble and how to know my device is a only or ab? And any user success flash rom into system? Thank you
Click to expand...
Click to collapse
It's AB https://play.google.com/store/apps/details?id=com.kevintresuelo.treble
flashing any gsi image , every time device in bootloop

Custom rom for SM-T510 ?

Currently I've lineage os on my tablet (t510), I'm searching for something else more stable and with a bit more functions.
Any ideas ?
Pizzaswift01 said:
Currently I've lineage os on my tablet (t510), I'm searching for something else more stable and with a bit more functions.
Any ideas ?
Click to expand...
Click to collapse
If you want roms with more function, try heading over to the project treble section of xda and flashing some GSI images. Currently using phhusson's stock Android 10 with go gapps but you might like to use a ROM with more features.
Roarmaster said:
If you want roms with more function, try heading over to the project treble section of xda and flashing some GSI images. Currently using phhusson's stock Android 10 with go gapps but you might like to use a ROM with more features.
Click to expand...
Click to collapse
Wow that's a interesting section, actually didn't know that thing existed, can I ask you how project treble works ? Also what does GSI mean ?
Pizzaswift01 said:
Wow that's a interesting section, actually didn't know that thing existed, can I ask you how project treble works ? Also what does GSI mean ?
Click to expand...
Click to collapse
Based on my current understanding, project treble aims to make it easier for OEMs (like Samsung) to update android. Here's a more in depth read about project treble: https://www.computerworld.com/artic...ect-treble-android-upgrade-fix-explained.html
A GSI is a Generic System Image that can be flashed on top of existing vendor code. So it makes it easier to change/update your android OS without companies like Samsung having to modify their hardware compatibility code (that's the goal anyways) which leads to faster updates.
For us enthusiasts, that means we can flash the same stock android GSI ROM, lineageOS GSI ROM, resurrection remix GSI, etc. on any phone supporting project treble (all devices that came out with android 9+ & some android 8).That's the same GSI file on any device with a recent version of VNDK. It's not all perfect for compatibility yet, but I've yet to run into any issues.
Yup! As @Roarmaster said you can check out Project Treble page. I too use GSIs and have flashed 3 GSIs so I can recommend you some. In project treble section for AB devices search for Bless GSI, it has lot of customization and works quite well, selinux enforcing, megisk safety net passes and google play certification all by default.
Roarmaster said:
If you want roms with more function, try heading over to the project treble section of xda and flashing some GSI images. Currently using phhusson's stock Android 10 with go gapps but you might like to use a ROM with more features.
Click to expand...
Click to collapse
Thank you for the tip, this sounds like an interesting option. I'm looking at flashing a custom ROM onto my SM-T510 in the hope of improving the performance as the multitaking on the stock rom isn't great. Can I ask have you been flashing A, B, or A/B ROMS? I've installed two different Treble checker apps and they gave conflicting results.
MikusP said:
Thank you for the tip, this sounds like an interesting option. I'm looking at flashing a custom ROM onto my SM-T510 in the hope of improving the performance as the multitaking on the stock rom isn't great. Can I ask have you been flashing A, B, or A/B ROMS? I've installed two different Treble checker apps and they gave conflicting results.
Click to expand...
Click to collapse
Flash the rooms from the A/AB section of project treble. When checking for treble compatibility, use the app recommended on Phusson's GSI page as most GSIs are based on his work. If you want to flash a ROM, make sure you flash the arm32-binder64-ab version (like it says from the treble app) for the SM-T510.
Amazing! Thank you for the info and links @Roarmaster, I really appreciate the help. I've known about project Treble for a while but I've been out of the custom ROM scene for quite a few years, so I had no idea you could flash like this. I'll give one of Phusson's roms a go. Thanks again!

Categories

Resources