Can I still flash gsi on devices that twrp doesn't support? - General Questions and Answers

My device isn't supported by twrp (Huawei fla-lx1 or fla-l21) and I want to install this gsi image file because my phone is treble compatible, is it a must to have a working twrp image? Doesn't LOS has its own recovery thing? Can I still root it and install modules? Can I do ANYTHING?

Relected said:
My device isn't supported by twrp (Huawei fla-lx1 or fla-l21) and I want to install this gsi image file because my phone is treble compatible, is it a must to have a working twrp image? Doesn't LOS has its own recovery thing? Can I still root it and install modules? Can I do ANYTHING?
Click to expand...
Click to collapse
Once you can unlock bootloader then you could do a step further, GSIs can be installed through fastboot, and in regards LOS recovery it must there one specific for your device, they're not generic recovery images for every android device.

Related

Ultimate Guide for Flashing GSI For Kuntao ( Lenovo P2A42 )

Ultimate Guide for Flashing GENRIC SYSTEM IMAGE.
Contents:
Intro
how to flash gsi.
how to get rooted.
gapps issues
how to get back to non treble rom from gsi or treble enabled builds.
Introduction and basic information:
GSI means Generic System Image, which can be flashed over any Treble Device.
So, in simple words : same System.img can be flashed over multiple devices having Treble Support.
This happens as we now have a separate /vendor partition where all the vendor hals are stored.
Now, this will help to do easy bring ups, Treble builds are smooth af y'all know that and you'll get to flash aosp treble rom
Also, if you own 2-3 treble devices, now you'll just have to download one system.img xD it'll work for all of em ( if treble supported )
How to get Treble Support?
Flashing Treble TWRP won't give you treble support. Keep that in Mind. It'll just mount the partition in the recovery, so that vendor img can be flashed.
To get Treble Support, you'll need to flash a latest ROM which has vendor image compiled with the latest changes by mikeNG, once you flash such a ROM, you'll get the vendor stored in the vendor partition, and after that you can flash any GSI ( as it's just System.img, and all our device specifics are in /vendor so it won't mess with that)
Instructions:
Download Official LineageOS-15.1 treble enabled build from here
Download treble enabled twrp from here
Move both the downloaded files to external sd card (recommended)(optional)
boot in twrp
move to wipe option from twrp.
advanced wipe.
select data and then check if its in ext4 if not format it to ext4 ( do this from official twrp by @celoxocis )
then go to install and install the recovery provided above.
reboot to recovery.
wipe system, data, dalvik, cache & internal storage recommended.
install the lineage os zip and reboot.
download GSI of any rom of your choice. if it is in zipped format extract it and make sure you have a *.img
boot into twrp
wipe anything other than boot, micro sd & vendor
go to install option and then select install image button on bottom right corner
select the gsi of your choice which you have downloaded and install it on system partition.
reboot to recovery (important)
flash mind the gapps if you are going to use gapps in your rom. ( important open gapps have a few issues on treble like many of times gapps dont get flashed or shows some error)
reboot
Kudos you have now flashed a Genric System Image on your Lenovo P2.
for how to get rooted with magisk refer to next post.
and List Of GSI is available here
if you have any doubts even after reading this ultimate guide feel free to post it i will try to answer it and help you with that.
after following instruction as mentioned above
* download the magisk from here
* flash it normally.
A list of GSI and download links can be found here.
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Only A arm64 gsi are supported well on our device and based on arch of our device
how to get back to non treble rom?
* Download the non treble rom your choice
* boot into twrp do wipes as suggested on rom's thread and then flash the rom package no need to mess with vendor partition.
I have managed to flash Dirty Unicorns Rom and its working pretty much well.
Here are some screen shots.
Volte working on GSI?
Volte working on any gsi?
advaithbhat said:
Volte working on any gsi?
Click to expand...
Click to collapse
My network provider don't use volte you can try and tell me
Sent from my Phh-Treble vanilla using Tapatalk
I'm on codeexilir's twrp, can't I use that twrp to flash official los 15.1 to get vendor image and then flash any GSI. Or it is mandatory to use los twrp?
abdal2006 said:
I'm on codeexilir's twrp, can't I use that twrp to flash official los 15.1 to get vendor image and then flash any GSI. Or it is mandatory to use los twrp?
Click to expand...
Click to collapse
I believe You can but I haven't tested that.
Sent from my Phh-Treble vanilla using Tapatalk
If i want to change the gsi img then should i clean flash the los 15.1 again?
imPro01 said:
If i want to change the gsi img then should i clean flash the los 15.1 again?
Click to expand...
Click to collapse
No. Just don't wipe vendor & boot just change GSI
Sent from my Phh-Treble vanilla using Tapatalk
abhayruparel said:
No. Just don't wipe vendor & boot just change GSI
Click to expand...
Click to collapse
Thank you for reply
1) If i go to recovery and flash the new GSI img without anything wipe then it'll work?
2) If i want to go back to Los then how to do it?
Thx abhayruparel.
There is not an aosp p beta yet, no?
After flashing GSI NFC is not working
I can't make any gsi work.Always returns password and reset phone screens on reboot.Entering password says password accepted but decryption unsuccessful.Reset phone takes to TWRP but does nothing and reboots to the same password screen.What to do?
rexit1979 said:
I can't make any gsi work.Always returns password and reset phone screens on reboot.Entering password says password accepted but decryption unsuccessful.Reset phone takes to TWRP but does nothing and reboots to the same password screen.What to do?
Click to expand...
Click to collapse
Changing system and data to ext4 will do the trick probably
Miltonbaidya88 said:
Changing system and data to ext4 will do the trick probably
Click to expand...
Click to collapse
Both are already on ext4.
After flashing gsi got decryption unsuccessful error. How to solve that?
something is very wrong......
First if I flash lineage then any other gsi like pixel experience, it gives me decryption unsuccessful error.... I'm not even able to format the storage to remove encryption. I did format the encryption using an older version of twrp as the twrp provided for treble gives an error like ''
Unable to format data. Unble to remove encryption
-Now When I formatted data using earlier twrp and hen flashed the treble one and then flashed lineage. Booted and it still encrypted my phone. So the loop goes on again.
I dont know whats wrong. Treble flashing should be easy... been awake since last night trying to make it ork by using different combinations but no luck.
can anyone help?
Is there any way to enable volte in GSI?

twrp for Android 11 - Pixel 4a

I'm trying to install twrp on the way to installing Magisk Manager but I don't see the Pixel 4a on the device list here:
Google
This is the Team Win website and the official home of TWRP! Here you will find the list of officially supported devices and instructions for installing TWRP on those devices.
twrp.me
Now it looks like there is a custom version of twrp for most of the phone models out there but I'm not really sure that's the case. Perhaps there is only one "lastest version" of twrp for all phones or individual operating systems. Anyway is there a version of twrp for my Pixel 4a running Android 11?
If not is there another custom recovery that anyone would recommend?
Thank you!
I'm also looking for one
Arsenal420 said:
I'm trying to install twrp on the way to installing Magisk Manager but I don't see the Pixel 4a on the device list here:
Click to expand...
Click to collapse
You don't need TWRP in order to install Magisk Manager / Magisk framework:
[Guide][Root] Magisk without TWRP on Android P
Via Magisk Manager: This method does not need root, and also does not require a custom recovery. However, you MUST have a stock boot image dump beforehand, and you also have to be able to flash the patched boot image, either through fastboot mode...
forum.xda-developers.com
jwoegerbauer said:
You don't need TWRP in order to install Magisk Manager / Magisk framework:
[Guide][Root] Magisk without TWRP on Android P
Via Magisk Manager: This method does not need root, and also does not require a custom recovery. However, you MUST have a stock boot image dump beforehand, and you also have to be able to flash the patched boot image, either through fastboot mode...
forum.xda-developers.com
Click to expand...
Click to collapse
As I understand it they're two separate things magisk is a framework and magisk manager is an application that uses that framework. I rooted with magisk no problem but I can't unlock my financial apps without magisk master and a module I believe.

Revert to total stock Android 11

I have the OTA file downloaded and I know how to use adb, but I can’t find exact directions on how to do this. Thanks for any help.
tuffluck said:
I have the OTA file downloaded and I know how to use adb, but I can’t find exact directions on how to do this. Thanks for any help.
Click to expand...
Click to collapse
What rom are you on now? Do you have a recovery installed?
Hi ,what
differenceceat vendor by creat ventor 2 in j710f
Pixel Experience based on Android 11 and no I did not do a recovery.
tuffluck said:
Pixel Experience based on Android 11 and no I did not do a recovery.
Click to expand...
Click to collapse
This works for me
Fastboot boot into TWRP,, ( TWRP nebrassy edition)
install trwp via advance settings
reboot into recovery
send a copy of your ota oos over to your phone ,
flash oss ,
reboot into oss recovery
Format data in oss stock recovery
Reboot
just find a way to relock your bootloader, it will revert you to stock completely.

Question TWRP after updating to Android 12

Hi there,
I updated to ColorOS12 and accidentely rebooted, before flashing Magisk and TWRP.
My question is now: Can flash TWRP the ususal way WITHOUT losing my data?
Bootloader is unlocked of course.
TWRP doesn't work on Android 12 and flashing Magisk with recovery isn't supported anymore anyway.
Are you actually on ColorOS or are you calling OxygenOS ColorOS? If you're on OOS, you can get patched images here (there is a guide linked in the post too).
[DISCONTINUED][OOS & PA] OnePlus 9 stock/patched boot images
Now as we have TWRP for any A11-13 ROMs, there's no need for boot image patching, just flash magisk in TWRP. Hi! There's a great root guide here on xda by @zymphad and i thought i'd share the boot images for different OOS and Paranoid Android...
forum.xda-developers.com
If you're on ColorOS, you won't be able to use these images and will have to do the patching yourself.
Root OnePlus ColorOS 12 OxygenOS Android 12 via Magisk
In this tutorial, we will show you detailed steps to root your OnePlus device running ColorOS 12 Android 12 via Magisk Patched Boot.img file.
www.droidwin.com
I thought it's ColorOS, but now as you're asking.....
LE2113_11.C.48 is Oxygen OS, right?
nonleft said:
I thought it's ColorOS, but now as you're asking.....
LE2113_11.C.48 is Oxygen OS, right?
Click to expand...
Click to collapse
Yes it is.
Ok, but flashing the boot.img only doesn't erase my data, right?
And after there is no c.48 available in the linked thread, I have to patch it on my own I guess?!
nonleft said:
Ok, but flashing the boot.img only doesn't erase my data, right?
And after there is no c.48 available in the linked thread, I have to patch it on my own I guess?!
Click to expand...
Click to collapse
Just boot the C.47 image and direct install once it's up. As long as you don't flash it, it should work to get the device up and running with root to install.
And no, flashing the boot image doesn't wipe data.

Question Root Oneplus 9 with android 12 already installed

Can i unlock the bootloader and then boot to twrp recovery (from pc) to install magisk.zip or does this not work for android 12 ?
TWRP not compatible with android 12, yet.
i presume you know that when you unlock the bootloader, your device will be reset to factory?
Yes I know that unlocking the bootloader will factory reset the device. Is there some recovery I can use with Android 12 ?
I can't find a guide on how to root from scratch android 12.
robuser007 said:
Can i unlock the bootloader and then boot to twrp recovery (from pc) to install magisk.zip or does this not work for android 12 ?
Click to expand...
Click to collapse
Gaining root access on New Oxygen OS A12 for the op9.
https://www.droidwin.com/root-oneplus-9-pro-9r-magisk-without-twrp/ Just sharing what I've learned. Have to patch boot.img and vendor boot.img and flash out of folder in sdk on desktop.Then use vb_meta.img to disable verity flash. Guide above...
forum.xda-developers.com
Didn't look very hard. I made this thread months ago. It's here in op9 section how to guide.

Categories

Resources