phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.4k stars 660 forks source link

guide #1862

Open Leuhan76 opened 3 years ago

Leuhan76 commented 3 years ago

hello, i would like to know how i have to flash aosp using fastboot a detailed guide if possible (I am new at this)

Merat70 commented 3 years ago

What is the brand and model of your phone?

haruki-taka8 commented 3 years ago

You can find a device-specific guide in the Wiki of this repository.

Generally speaking, flashing system and/or vbmeta will suffice.

Leuhan76 commented 3 years ago

I have an alcatel 3x 2019 (5048a) I do not know if it will be compatible with this rom or I do not know how functional it will be and I want to find out everything very well so as not to run out of phone supports project treble

Leuhan76 commented 3 years ago

Puede encontrar una guía específica del dispositivo en la Wiki de este repositorio.

En general, parpadear systemy / o vbmetabastará.

My device is not on that list, does that mean it is not compatible?

haruki-taka8 commented 3 years ago

supports project treble

If it supports Project Treble, theoretically you can boot a GSI with it. Your mileage may differ though.

From what I can find about your device (very limited!), you can install it using fastboot. It seems there is also Secure Boot, so you might need to flash vbmeta as well.

Leuhan76 commented 3 years ago

supports project treble

If it supports Project Treble, theoretically you can boot a GSI with it. Your mileage may differ though.

From what I can find about your device (very limited!), you can install it using fastboot. It seems there is also Secure Boot, so you might need to flash vbmeta as well.

If they told me the same thing and that I need twrp because On the device there are several partitions In order to delete the "system" and "data" partitions, I need twrp but for my device there is no

haruki-taka8 commented 3 years ago

Do not delete system and data partition! All you need is to flash the required images (system and vbmeta) using fastboot, and then wipe the userdata partition.

Leuhan76 commented 3 years ago

These, I asked that person for sure because I need to do that and he told me that there are several partitions on the device and that In order to delete the "system" and "data" partitions, I need something that can do it, I mean twrp

Do not delete system and data partition! All you need is to flash the required images (system and vbmeta) using fastboot, and then wipe the userdata partition.

haruki-taka8 commented 3 years ago

Why do you need to delete "system" and "data"?

Leuhan76 commented 3 years ago

To be able to install the gsi (ROM) without problems at least that's what he told me

Why do you need to delete "system" and "data"?

haruki-taka8 commented 3 years ago

I don't believe you can delete partitions with TWRP as well. You can at most wipe it, which you can also do with fastboot.

Leuhan76 commented 3 years ago

I don't believe you can delete partitions with TWRP as well. You can at most wipe it, which you can also do with fastboot.

so I just flash the img and that's it?

haruki-taka8 commented 3 years ago

Most likely yes! Try just flashing the img and boot it.

Leuhan76 commented 3 years ago

But don't I have to clear the data cache before and after?

Most likely yes! Try just flashing the img and boot it.

haruki-taka8 commented 3 years ago

You only need to clear them afterwards.