What's the difference between Treble and Non-Treble - Xiaomi Redmi 4X Questions & Answers

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/

Related

Questions regarding Treble and Non-Treble ROMs

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

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

one power treble support please

I downloaded some treble device supporting apps it showing one power supports it. So I can flash gsi images . But any body of you tested gsi images are working . I want to know how to flash treble rom step by step.
I thought it's little bit tricky right compared to normal twrp flashing ??
Please help me and thank you advance ..
sravanthsam said:
I downloaded some treble device supporting apps it showing one power supports it. So I can flash gsi images . But any body of you tested gsi images are working . I want to know how to flash treble rom step by step.
I thought it's little bit tricky right compared to normal twrp flashing ??
Please help me and thank you advance ..
Click to expand...
Click to collapse
It's already a treble enabled device, you can flash gsi.
But if you are on pie. Use pie gsi only . Same for oreo

Guide wanted for Rooting stock Oreo and flashing custom ROMS

Hey, fellow members. I'm a complete noob. Well, not exactly. I have rooted a few of my older phones and flashed custom ROMs but I have no idea how to root my current phone. I've been trying to find a perfect solution ranging from Youtube videos to our own forum threads but I guess I am not really good at searching. I'd be really grateful if someone could give me a step by step guide to rooting my phone and IDK, maybe unlocking the bootloader (if that's required) and then flashing a new Pie ROM. I'm using XT1084 Stock Oreo 8.1 with the latest security patch. Your help will be much appreciated. Thank you!
Unlock bootloader first
For rooting, installing custom roms. You need to unlock bootloader first via fastboot using ur PC. Search the thread for bootloader unlocking process. And then download and install TWRP. Join telegram group http://t.me/g5splus for custom roms and all stuffs
This might help you.
Bootloader unlocking and Root
My current ROM (LineageOS 16 unofficial)
Thank you so much for providing help. I'll try these out and revert back on my success.
santoshx99 said:
For rooting, installing custom roms. You need to unlock bootloader first via fastboot using ur PC. Search the thread for bootloader unlocking process. And then download and install TWRP. Join telegram group http://t.me/g5splus for custom roms and all stuffs
Click to expand...
Click to collapse
Thank you for your help!
RyuukiGames said:
This might help you.
Bootloader unlocking and Root
My current ROM (LineageOS 16 unofficial)
Click to expand...
Click to collapse
Thank you for providing the links. They were really helpful!
I do have another question. I'm currently using Pixel Experience 9.0 which is supposedly a TREBLE ROM. I want to switch to Bootleggers 9.0 which isn't TREBLE. Will there be a problem if I flash a Non-TREBLE ROM on a TREBLE Recovery? I'm using TWRP TREBLE. I know I sound a little foolish especially with the rubbish nomenclature but I hope that everyone is able to comprehend my words and possibly even figure out a solution for me.
denzilignatius said:
I do have another question. I'm currently using Pixel Experience 9.0 which is supposedly a TREBLE ROM. I want to switch to Bootleggers 9.0 which isn't TREBLE. Will there be a problem if I flash a Non-TREBLE ROM on a TREBLE Recovery? I'm using TWRP TREBLE. I know I sound a little foolish especially with the rubbish nomenclature but I hope that everyone is able to comprehend my words and possibly even figure out a solution for me.
Click to expand...
Click to collapse
Nevermind.
Got it.
It doesn't make any difference whether I use TREBLE or Non-TREBLE TRWP for flashing a Non-TREBLE ROM.

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