Reversable? - Treble-Enabled Device Questions and Answers

Been a while since I flashed my ROM and just found about treble enabled images which have been made available for my device but are rather new.
I understand that treble roms add the vendor partition which I assume remains untouched when you flash a new treble ROM but I expect there needs to be a bit of change to partition tables when you first upgrade to a treble based ROM?
If that is the case, what happens if I want to go back to an earlier 7.1 based ROM for example? Is it just a matter of flashing that again in TWRP and it will rebuild the partitions or does that become a little problematic?

It needs rebuilding of nougat partitions for your device,oreo vendor and treble is not supported bu nougat
---------- Post added at 03:44 AM ---------- Previous post was at 03:43 AM ----------
It needs rebuilding of nougat partitions for your device,oreo vendor and treble is not supported by nougat

OK, so is that possible by simply flashing back a nougat ROM with TWRP or do you need to repartition with ODIN?

bunta126 said:
OK, so is that possible by simply flashing back a nougat ROM with TWRP or do you need to repartition with ODIN?
Click to expand...
Click to collapse
It depends. On unofficial treble devices (Xiaomi) ,you don't even have to do anything more than a normal flash.But if you are using official treble by OEM,(like Huawei and Samsung),then you need to follow official ways to full downgrade to nougat.

Related

twrp 3.0.2.2 is not able to flash any kind of oxygen os

Hii,
I have installed cm14 and now want to go back to stock but twrp 3.0.2.2 is not able to flashany(both stable and community bulids) oxygen os plz help
Twrp works.
You may need to flash firmware, first. Read OP of the rom you want to flash.
Balaji Dasari said:
Hii,
I have installed cm14 and now want to go back to stock but twrp 3.0.2.2 is not able to flashany(both stable and community bulids) oxygen os plz help
Click to expand...
Click to collapse
You need a modified TWRP version for flashing OOS based roms:
Updated TWRP Recovery Needed 3.0.2-22 available HERE Credits @eng.stk
---------- Post added at 11:37 AM ---------- Previous post was at 11:36 AM ----------
null0seven said:
Twrp works.
You may need to flash firmware, first. Read OP of the rom you want to flash.
Click to expand...
Click to collapse
Firmware is already integrated in the official rom files

Discussion, Project Treble Support in Moto G5 Plus

Till now everyone heard and know that Motorola is building 64 bit ROM for our (Moto G5plus) Potter device as Oreo doesn't support 32-bit anymore.
What's the possibility of Implementation of treble and seemless Update with this ROM as They ate building Completely out of scratch.
I Know Lenovo Policy and Stuffs so Put only sensible reply I on basis of valid documents or proof rather saying randomly no offense
s4shubham4u said:
Till now everyone heard and know that Motorola is building 64 bit ROM for our (Moto G5plus) Potter device as Oreo doesn't support 32-bit anymore.
What's the possibility of Implementation of treble and seemless Update with this ROM as They ate building Completely out of scratch.
I Know Lenovo Policy and Stuffs so Put only sensible reply I on basis of valid documents or proof rather saying randomly no offense
Click to expand...
Click to collapse
No, moto isn't building 64-bit Oreo for our device. A 32-bit OS cannot be upgraded to 64-bit without a clean install (read: deleting all data), which is also true for every desktop OS (Windows, any linux distro, etc.) . It is actually sort of possible on linux, but extremely difficult and bothersome.
Also Oreo didn't drop support for 32-bit architectures. New apps must be 64-bit compatible, but that doesn't mean they'll stop working on a 32-bit OS. And Google covered 32-bit cases in their Oreo compatibility definition, meaning it is supported.
Basically it's never been done before by an oem, and there is no reason for moto to bother with it since G5+ has a maximum of 4GB RAM. 64-bit architectures even tend to increase RAM consumption due bigger pointers and slightly larger code.
As for treble, it's possible to update phones with treble support, as it has been done by other oems before, but I really doubt moto will bother. They said every phone will get at least one major update (with "at least" usually meaning "exactly"), so after Oreo the G5+ likely won't get android P, meaning they achieve nothing by making the phone treble compatible.
Dear developers of our G5 Plus @vache , @GtrCraft , @jhenrique09 , @mrlolli , @shamith ,
About PROJECT TREBLE I saw that the motorola will not support our device (OTA update with repartition would be risky).
But I saw that somebody already managed to carry the project treble to the Xiaomi Redmi Note 4. He had no support.
Interesting article on how he managed:
https://www.xda-developers.com/xiaomi-redmi-note-4-project-treble/
And there is another developer who is doing this for the Xiaomi Redmi 3 ( Screenshots )
Do you think it is possible to do the same for our G5 Plus since our hardware and spaces are better?
Maybe we could use the OEM or Firmware partition (if we can give it away)
in this video he shows how he did for redmi 4:
https://www.youtube.com/watch?v=wXd0D3g6r_0
---------- Post added at 03:40 PM ---------- Previous post was at 03:24 PM ----------
He said he did not repartition, he just altered an existing one:
https://forum.xda-developers.com/showpost.php?p=75527103&postcount=2233
Here is the Moto G6 Plus Stock rom with treble (*** do not install! ***), I think we could study the structure of the partitions because from one moto G to another it changes little, maybe this gives an idea of which partition to use.
https://androidfilehost.com/?fid=890278863836285868
Treble is available for testing on potter
eemgee said:
Treble is available for testing on potter
Click to expand...
Click to collapse
Really ? at where ?
jrs007 said:
Really ? at where ?
Click to expand...
Click to collapse
The potter telegram group.
eemgee said:
The potter telegram group.
Click to expand...
Click to collapse
can you give me the link to the group???
Still testing stage no volte on treble
All others are working and u miss Moto actions
---------- Post added at 02:00 PM ---------- Previous post was at 01:55 PM ----------
abhijit1998 said:
can you give me the link to the group???
Deleted
Click to expand...
Click to collapse
dhinesh_cool said:
Still testing stage no volte on treble
All others are working and u miss Moto actions
---------- Post added at 02:00 PM ---------- Previous post was at 01:55 PM ----------
abhijit1998 said:
can you give me the link to the group???
https://t.me/g5plus
Click to expand...
Click to collapse
thanks for the link... i do not use jio sim so no volte would be okay for me...
Click to expand...
Click to collapse
Anyone have success with installing Treble?
I installed the Treble ROM, followed by PixelExperience GSI. Tried to boot to ROM and it can't find /system/
Samip430 said:
Anyone have success with installing Treble?
I installed the Treble ROM, followed by PixelExperience GSI. Tried to boot to ROM and it can't find /system/
Click to expand...
Click to collapse
Haven't tried yet
Instaled Treble ROM sucessfully.
Samip430 said:
Anyone have success with installing Treble?
I installed the Treble ROM, followed by PixelExperience GSI. Tried to boot to ROM and it can't find /system/
Click to expand...
Click to collapse
I just tried flashing LAOS treble ROM, PHH AOSP 8.1 V19, Ace Kernel Treble and pico gapps, and it works!
abhijit1998 said:
dhinesh_cool said:
Still testing stage no volte on treble
All others are working and u miss Moto actions
---------- Post added at 02:00 PM ---------- Previous post was at 01:55 PM ----------
thanks for the link... i do not use jio sim so no volte would be okay for me...
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Samip430 said:
Anyone have success with installing Treble?
I installed the Treble ROM, followed by PixelExperience GSI. Tried to boot to ROM and it can't find /system/
Click to expand...
Click to collapse
I did it, but before installing the GSI Pixel experience you have to do the factory reset on twrp.
the steps are as follows:
Before everything download Device ID apk (https://www.apkmirror.com/apk/evozi...release/device-id-1-3-2-android-apk-download/)
And a Brower (https://apkpure.com/via-browser-fast-light-geek-best-choice/mark.via.gp)
- TWRP-treble ( although twrp continues to show 3.2.1.0 note that in mount and backup the vendor partition is now appearing )
[If comming from broken treble/bug or anything wrong]
--> Wipe everything except internal.
- Lineage_treble ( This version of the lineage made by vache contains the necessary vendor partition files. )
- Factory reset (Don't if you gonna use LOS)
- GSI (Don't if your gonna use LOS)
- Gapps (Don't if you gonna use Pixel Experience) & Magisk mod by vache)
For GAPPS use OpenGapps Pico.
For Magisk only use the one on vache's cloud.
On LOS you shouldn't get google certification error,
If you get (on los or any gsi)
Just skip the setup wizard (do like if you don't use gapps)
Install DeviceID, and get your GSF number, then enter it on
this site, reboot and you're ready to go.
https://www.google.com/android/uncertified/
This tutorial was made by Martin
Does any (A-only) GSI (like phh-treble builds) work with the custom TWRP, or do they have to be specifically compiled for the g5+? I'm asking because I'm interested in the potential for this, but not really wanting to switch from a non-treble ROM just yet.
And here it is
https://forum.xda-developers.com/g5-plus/development/dev-project-treble-potter-t3801292
monster1612 said:
Does any (A-only) GSI (like phh-treble builds) work with the custom TWRP, or do they have to be specifically compiled for the g5+? I'm asking because I'm interested in the potential for this, but not really wanting to switch from a non-treble ROM just yet.
Click to expand...
Click to collapse
The point of a gsi (generic system image) is that it'll work on any treble-enabled device. Any A-only GSI will work, because the device specific drivers are in a partition which is left untouched.
monster1612 said:
Does any (A-only) GSI (like phh-treble builds) work with the custom TWRP, or do they have to be specifically compiled for the g5+? I'm asking because I'm interested in the potential for this, but not really wanting to switch from a non-treble ROM just yet.
Click to expand...
Click to collapse
i have used aosp, pixel experience gsi in my moto g5 plus, they booted up....
abhijit1998 said:
i have used aosp, pixel experience gsi in my moto g5 plus, they booted up....
Click to expand...
Click to collapse
So can I install the Global System Image instead of the build specific LineageOS image from https://forum.xda-developers.com/g5-plus/development/rom-lineageos-15-0-t3673573 ?
Does everything work like the LineageOS image?
Thanks!

Need step by step guide to flash pixel experience rom

I am new to this device and I want to flash pixel experience rom,
Bootloader is not unlocked, I need step by step guide to flash pixel experience rom (if possible with links)
Dextor69 said:
I am new to this device and I want to flash pixel experience rom,
Bootloader is not unlocked, I need step by step guide to flash pixel experience rom (if possible with links)
Click to expand...
Click to collapse
I am trying to list the steps. I may have missed some, so wait for others to reply also.
Installing Chinese ZUI 3.5.xx and then OTA to latest build (for getting latest baseband)
https://forum.xda-developers.com/lenovo-zuk-z2/how-to/rom-zui-3-5-243st-z2-plus-z2-t3745636
Unlocking bootloader plus installing TWRP:- https://forum.xda-developers.com/lenovo-zuk-z2/how-to/z2-z2-plus-bootloader-unlock-twrp-t3615283
Treble ROM vs Non Treble ROM process (depending on ROM type you need to format your phone and TWRP selection)
https://forum.xda-developers.com/lenovo-zuk-z2/how-to/z2plus-treble-roms-flashing-reverting-t3778287
Pixel is a full treble ROM with latest release!!
Last, the easiest part, downloading the PE ROM flashing/installing via TWRP
NaXal said:
I am trying to list the steps. I may have missed some, so wait for others to reply also.
Installing Chinese ZUI 3.5.xx and then OTA to latest build (for getting latest baseband)
https://forum.xda-developers.com/lenovo-zuk-z2/how-to/rom-zui-3-5-243st-z2-plus-z2-t3745636
Unlocking bootloader plus installing TWRP:- https://forum.xda-developers.com/lenovo-zuk-z2/how-to/z2-z2-plus-bootloader-unlock-twrp-t3615283
Treble ROM vs Non Treble ROM process (depending on ROM type you need to format your phone and TWRP selection)
https://forum.xda-developers.com/lenovo-zuk-z2/how-to/z2plus-treble-roms-flashing-reverting-t3778287
Pixel is a full treble ROM with latest release!!
Last, the easiest part, downloading the PE ROM flashing/installing via TWRP
Click to expand...
Click to collapse
Somehow i managed to flash jaguar rom,will soon flash pixel exp after update

Can I Install Android Pie GSI to Xiaomi Mi6 and How?

Hi everyone, just decided to flash a new ROM to my Mi6 and ran into Project Treble. There is a lot of threads and discussions about Treble and installation to Mi6 and I decided to open a thread which people can help me and future Treble noobs Thanks in advance!
Also I saw something about partitions ( A B and A/B ) and searched which one I'm using and which one is better? Found Mi6 is using A partition table but can't found info about which one is better and can I switch between them....
Chandler Muriel Bing said:
Also I saw something about partitions ( A B and A/B ) and searched which one I'm using and which one is better? Found Mi6 is using A partition table but can't found info about which one is better and can I switch between them....
Click to expand...
Click to collapse
A-only is better for custom ROMs since it's straight-forward.
A/B results in two system, vendor and boot partitions ( and possibly other ones too ) , excelling at seamless updates ( OTAs install on the B partitions while you are using your phone and when you reboot, the phone switches to the B partitions and you can use the update right away ).
However, on A/B devices, there's no dedicated recovery partition so you have to infuse TWRP into the boot.img just like Magisk.
The Marionette said:
A-only is better for custom ROMs since it's straight-forward.
A/B results in two system, vendor and boot partitions ( and possibly other ones too ) , excelling at seamless updates ( OTAs install on the B partitions while you are using your phone and when you reboot, the phone switches to the B partitions and you can use the update right away ).
However, on A/B devices, there's no dedicated recovery partition so you have to infuse TWRP into the boot.img just like Magisk.
Click to expand...
Click to collapse
Many many thanks for too much useful and full of information post
I chechked HavocOS 2.0 GSI thread and i think i'll install it
Chandler Muriel Bing said:
Hi everyone, just decided to flash a new ROM to my Mi6 and ran into Project Treble. There is a lot of threads and discussions about Treble and installation to Mi6 and I decided to open a thread which people can help me and future Treble noobs Thanks in advance!
Click to expand...
Click to collapse
how can i upgrade my tecno phantom 5 please, it running on lollipop and i need an upgrade urgently
taptechcom said:
how can i upgrade my tecno phantom 5 please, it running on lollipop and i need an upgrade urgently
Click to expand...
Click to collapse
I don't think that device has treble support, sorry. But still you can search for custom ROMs

moto z2 play Android 9?

I'm looking for ROM with Android 9 pie for moto z2 play device I tried several methods by GSI I tried the KVT and tried all but no ROMs like Lineage OS and mokee OS, resurrection remix OS and other ROMs work fine but the method by GSI gave fail and all say that date is corrupted wanted to know if it has any ROM available with Android 9 need help installing a GSI on the device someone from the forum can help me.
I have this same problem
KVT , remix OS They are bad but tell me which one you want to ride and I can help you.
in fact it does, but if you say it's bad you can tell me a better option or the best method of installation
Eduardo Bruch said:
in fact it does, but if you say it's bad you can tell me a better option or the best method of installation
Click to expand...
Click to collapse
LineageOS is the one that I use, at the moment there is only 2 Publish of Android 9.0, and both are bad the truth. the action is completed so far is the lineageOS of all that you have installed
I do not understand so far have some OS lieage being developed with Android 9.0 or have some different installation method because I could not by GSI or the device does not start or the message encryption or error in the part that says the data is corrupted I wanted in fact a simpler way to install a new patch
does anyone have any ROM with Android 9.0 running that can pass the rom link or some more effective method to install Android 9.0 on the device
Eduardo Bruch said:
does anyone have any ROM with Android 9.0 running that can pass the rom link or some more effective method to install Android 9.0 on the device
Click to expand...
Click to collapse
What TWRP do you use?
doesn't flashing KVT and then flashing Rom work for you??
but what should I do if the KVT does not work what would be the best procedure
can someone tell you if you have a ROM 9.0 being developed or somehow efficient to install a GSI without giving problems or teaching the most effective way
Shabbirkt said:
doesn't flashing KVT and then flashing Rom work for you??
Click to expand...
Click to collapse
Absolutely
---------- Post added at 05:19 PM ---------- Previous post was at 05:16 PM ----------
Eduardo Bruch said:
but what should I do if the KVT does not work what would be the best procedure
Click to expand...
Click to collapse
Firstly, start learning how to code and as you learn enough, dig through the works of our existing developers, take some pieces from there and the develope a pie rom which you can give it to us for testing and at last you will have a rom with Pie. Should take much time.
^_^
---------- Post added at 05:21 PM ---------- Previous post was at 05:19 PM ----------
Eduardo Bruch said:
I do not understand so far have some OS lieage being developed with Android 9.0 or have some different installation method because I could not by GSI or the device does not start or the message encryption or error in the part that says the data is corrupted I wanted in fact a simpler way to install a new patch
Click to expand...
Click to collapse
Go to TWRP, the go for the wipe option and to the right of the advanced wipe option, you will find format data option, select that and all your data will be erased and then flash your KVT and then GSI
the KVT is giving error when I give fash it installs normally and then the GSI but when it starts it appears the message saying that the phone is encrypted but being that I do not use encryption and after. low to say that the data system is corrupted I do not know what to do
Eduardo Bruch said:
the KVT is giving error when I give fash it installs normally and then the GSI but when it starts it appears the message saying that the phone is encrypted but being that I do not use encryption and after. low to say that the data system is corrupted I do not know what to do
Click to expand...
Click to collapse
I just can not use KVT because of this fact
KVT does not work
how do I install the KVT or a ro pri in this case of these partitions does anyone know what Vando to use or what I can do

Categories

Resources