Project treble selection help - Treble-Enabled Device Questions and Answers

I have a Samsung Galaxy Tab A 8.0” WiFi only 2019 (SM-T290) (gtowifi)
I’m using 2 apps that I have downloaded from the Google Play Store. They are called, Treble Info, and Treble Check.
Treble Info shows A/B system partition (arm64)
Treble Check shows A only system partition
My question is, what system partition variant should I choose when I go and download the GSI from Phhusson’s GitHub repo?
And another question is, the device doesn’t have a TWRP build released yet. And the device doesn’t have a proper fastboot/bootloader mode. So how would I install the GSI and wipe the system?
Thanks.

Related

How to know my partition type?

I own Realme 5.
It supports Treble.
I want to select a GIS ROM for my phone.
How do I know the partition type of my phone (e.g. a/b)?
download treble info app

System partition is too small to install Google GSI system

Hi There!
I come to you with a request for help. Well, I wanted to install the GSI system straight from the Google website, but during the installation it turns out that my system partition is definitely too small.
Is there any way to properly install the IMG image straight from the Google site? Probably should enlarge the system partition, just HOW? I need the help of experts, and I know that at the XDA Forum I will find them.
Below you will need information:
- My device is Google Pixel XL (marlin),
- My phone supports Treble A and B updates,
- The system I wanted to install was the beta GSI Android 11 straight from the Google website,
- The recovery I used when trying to install the system: twrp-3.4.0-0-marlin.img from TWRP site,
- I also tried to install the system using CMD with ADB and fastboot,
- I have fastboot unlocked on my device,
- Information about too small partition also occurs when trying to install GSI Android 10,
- My device does not support fastbootd,
- LineageOS ZIP packages work normally and install without any errors,
- Updates from ADB sideload also load smoothly,
- Here is the link from where I got GSI Android 11 and 10: https://developer.android.com/topic/generic-system-image/releases#android-gsi-11,
I'm trying this also, credited the error to the system partition on marlin being 2gb and the system img on Google GSI being 2.1gb.
I know there's also an AOSP GSI which i downloaded from the same Google website and the image is 1.3gb if I'm not mistaken. I was able to flash this but phone wont boot. It will just bootloop on the Google with white background image and that's it.
I also tried downgrading to Android 8.1 factory image since I heard that another user got GSI Android 11 working coming from 8.1 but after trying this way I got the same bootloop error.
Solution
I was able to install Android 10 GSI on my Pixel, this method should work. You just need to reflash Android 9, see: https://forum.highonandroid.com/t/how-to-flash-android-10-gsi-roms-on-pixel-or-pixel-xl/217
I spent hours trying to figure this out but worked.

Is this a only or a/b system.

I check this in two apps both giving different answers.
Also I saw
andriyhar said:
Thank you.
Flash img ok.
Click to expand...
Click to collapse
He flashed a/b image
I check in the terminal using
getprop ro.build.ab_update
Got false
But when i flash havoc-os a only system it bootloop
So my question is am i suppose to flash a only or ab?
Also if you have used gsi i'd be glad to hear your experience.
Reading this thread
Aonly or A/B
Treble Check tell me Aonly and Treble Info tell me A/B. Which one must I choose?
forum.xda-developers.com
has lead me to believe
That i should flash a/b img
You can actually force A/B by flashing this zip:
MakeMeSAR.zip | by erfanoabdi for Generic Device/Other
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
Then it should flash A/B GSIs properly.
Will my recovery support it though.( Orange Fox by bekirakil)
Also I've only got 3.12GB system partition with no way of resizing it as this device has a dynamic partition
Plus the file name is makemesar and I'm sure that my devices is all ready system as root enabled.
This is just for ensuring you have AB, you can ignore it
System partition, hmmm, you can only flash small roms
I can confirm that you are suppose to use a/b img.
I flashed https://download.havoc-os.com/arm64-ab/Havoc-OS-v4.1-20210208-arm64-ab-Official.img.xz.
Unlike A-only img it booted and worked kindof.
I will not recommend this though as there is no way flash gapps for android 11 and not enough space to flash with a/b with gapps.
Also switched backed to lineage as it was causing random reboots.
Any help over making gsi stable will be much appreciated.
This post is meant for another fourm
When I restored the backup it failed but I was able to boot to lineage os which still contain gapps and magisk.
Since it showed failed I clean install everything again. The recovery read something like something something product partition, odm partion, system partiton.
Don't know if these logs are useful but I've attracted them below

Custom GSI installation possible?

Im wondering if a custom GSI installation is possible
Checking the app "Treble info" says the phone supports the modern version of project treble
And im wondering if anything else has to be done for a GSI to work (for example flashing another file before the GSI)
or just simply flash it via twrp or ADB?
and if its possible, The installation of an android 12 GSI would be possible?
Generic system images | Android Open Source Project
source.android.com
Well you need to flash a vbmeta.img, with a special command. Details are in the link above.
Vbmeta.img is usually available in the stock ROM, but if it fails or does not exist, use the Google official vbmeta. https://dl.google.com/developers/android/qt/images/gsi/vbmeta.img

Disable encryption in LineageOS20

Hello,
I flashed the latest Lineage recovery and LineageOS20 on my Google Pixel 5, and I'd like to disable encryption on the data partition. Is there an ADB command I can run, or file I can flash to achieve this? I also have Magisk 26.1 flashed.
I use this phone for a development project and encryption is getting in the way.
Thanks!
I'm surprised no one knows.
I wanted to go the TWRP route of formatting the data partition, but I can't get TWRP to boot when running Android 13. I need to be on Android 12 to boot TWRP successfully, but being on Android 12 means I can't flash LineageOS20 (requires Android 13), a real catch 22.
Otherwise, does anyone have a link to the latest LineageOS19.1 for Redfin? The link is broken on the LineageOS website and I can't locate that zip file on any other website.

Categories

Resources