I tried flashing GSI Roms but I kept getting a bootloop. I'm having a hard time understanding the instructions on how to flash. Can somebody help me on how to flash gsi rom properly?
Related
Hey guys, I've noticed a lot of GSI's popping up for treble devices, I've never worked with these and want to make sure I'm flashing correctly. Last night I attempted to flash a GSI from aquriOS and kept getting thrown back into twrp, my flashing process was as follows:
(Coming from DU weeklies)
Reboot into TWRP, factory reset, flash GSI image, flash open gapps, reboot system. This is where I got stuck in the recovery boot loop. Not sure if it's the GSI not booting or a problem on my end.
Update?
Triscuit said:
Hey guys, I've noticed a lot of GSI's popping up for treble devices, I've never worked with these and want to make sure I'm flashing correctly. Last night I attempted to flash a GSI from aquriOS and kept getting thrown back into twrp, my flashing process was as follows:
(Coming from DU weeklies)
Reboot into TWRP, factory reset, flash GSI image, flash open gapps, reboot system. This is where I got stuck in the recovery boot loop. Not sure if it's the GSI not booting or a problem on my end.
Click to expand...
Click to collapse
I'm shocked that there's not a single reply on this thread.
Have you found the proper instructions?
Hey guys,
I have recently bought my "Whyred" (4/64 global) and have already unlocked the bootloader.
After switching to Miui 10 global developer rom (with official MiFlash Tool) I wanted to test some custom roms. Therefore I have enabled the developer options, USB-Debugging and OEM Unlock. After this I have booted TWRP 3.2.2.0 with fastboot and flashed the TWRP image to the phone via the booted recovery. Followed by the no-verity-opt-zip (6.0) and Magisk v16.7 to root the phone.
On this basis I went back to the recovery and did a factory reset, followed by an advanced wipe of dalvik, cache, data, system and vendor. Afterwards I have moved the whyred-treble-vendor (zip-file) and the PixelExperience GSI to my phone. First I have flashed the vendor-zip and then switched to image and flashed the GSI as system-image.
And now comes the problem: when I try to reboot to the system it always states "No Os installed". By wiping the cache and data again, I am able to boot to the system, but the phone is stucked on the Mi-Logo
After recovering my phone with the MiFlash Tool (Miui 10 global developer rom), I have tried to flash the GSI in different ways according to a lot of guides I have found in the net, but nothing is working. All methods are leading to the same result: my phone stucks on Mi-Logo
Could anyone of you give me a hint about what I am doing wrong?
Thank you!
Best regards,
nkl
At a guess with wiping system and data. Your also removing changes done by "no-verity-opt-zip (6.0)", and since your still using the MIUI Bootloader the device won't boot the associated GSI.
Maybe try flashing/booting a Treble enabled custom rom, first and then install your GSI. Or avoid the whole Treble thing and just use a custom rom.
You may get more assistance in Treble specific threads/forums.
corkiejp said:
At a guess with wiping system and data. Your also removing changes done by "no-verity-opt-zip (6.0)", and since your still using the MIUI Bootloader the device won't boot the associated GSI.
Maybe try flashing/booting a Treble enabled custom rom, first and then install your GSI. Or avoid the whole Treble thing and just use a custom rom.
You may get more assistance in Treble specific threads/forums.
Click to expand...
Click to collapse
Hey,
Thank you for your quick reaction!
But did I get something wrong? Doing a factory reset and then doing an advanced wipe of dalvik, cache, data, system and vendor is more or less an essential part of all the guides out there?
So you think, I should try to flash for example LineageOS first and then take an approach on the GSI? And which steps should I take? Should I flash no-verity-opt and Magisk under Miui 10 global dev first and then flash custom, i.e. LineageOS? Or should I flash LineageOS first (on a fresh Miui dev rom) and then no-verity-opt and Magisk?
Thanks!
@nkl0806 After installing the GSI while using MIUI as the base you could try flashing no-verity-opt before trying to boot.
no-verity-opt is only required on MIUI based roms (or in your case with a GSI).
Flash a custom rom and boot it. Don't worry about magisk etc.
Then install your GSI and boot it, avoid flashing magisk or gapps.
Once it boots, go back and install magisk and gapps etc and wipe data.
Hopefully then boot and setup your GSI rom.
Also make sure your using a Treble enabled TWRP!
Noob guide to install GSI on whyred
Again look for support in Treble Threads/Forums, I haven't experiment with it, so only going by what I have read.
corkiejp said:
@nkl0806 After installing the GSI while using MIUI as the base you could try flashing no-verity-opt before trying to boot.
no-verity-opt is only required on MIUI based roms (or in your case with a GSI).
Flash a custom rom and boot it. Don't worry about magisk etc.
Then install your GSI and boot it, avoid flashing magisk or gapps.
Once it boots, go back and install magisk and gapps etc and wipe data.
Hopefully then boot and setup your GSI rom.
Also make sure your using a Treble enabled TWRP!
Noob guide to install GSI on whyred
Again look for support in Treble Threads/Forums, I haven't experiment with it, so only going by what I have read.
Click to expand...
Click to collapse
Thank you!
I have also followed this noob guide to flash the GSI, but it did not work out. Maybe I should really skip the Treble stuff and just use the normal custom rom!
I will try to flash the PixelExperience rom and not the GSI - or maybe follow another Guide and flash the Mokee rom first as a base for the GSI.
Thanks again!
Hello,
I'd like to use an AOSP ROM on my S9 Exynos (only because of personal preferences), the only problem is that I couldn't boot a single GSI on my device even though it is Treble compatible. I tried multiple versions of Phh-Treble 9.0 and Resurrection Remix 7, flashed them via TWRP over stock ROM and it never went further than the booting screen of the specific ROM. What am I doing wrong?
I would be so glad if someone could help, thanks in advance.
First you have to flash a vendor , like BRK3 then flash the rom and gapps if needed , and sometimes you have to flash a kernel
where to find vendor file?
I need some help with flashing a GSI Image on BV9500 pro. I managed to flash it one time, and then due a nandroid restore, I had to flash the stock rom.
Now, whenever I try to reflash the LineageOs 17 GSI image or the AOSP, the phone is always stuck at the Blackview logo. I tried everything, wiping the partitons before flashing, using the decrypt, OEM and bootloader unlocked. Nothing works.
Fixing the contents doesn't do anything either.
I have TWRP installed and can access it without any problems.
Any ideas or suggestions?
denis9rafael said:
I need some help with flashing a GSI Image on BV9500 pro. I managed to flash it one time, and then due a nandroid restore, I had to flash the stock rom.
Now, whenever I try to reflash the LineageOs 17 GSI image or the AOSP, the phone is always stuck at the Blackview logo. I tried everything, wiping the partitons before flashing, using the decrypt, OEM and bootloader unlocked. Nothing works.
Fixing the contents doesn't do anything either.
I have TWRP installed and can access it without any problems.
Any ideas or suggestions?
Click to expand...
Click to collapse
I'm using the same phone and most of the gsi roms doesn't boot up.. I only had success with resurrection remix and havoc os but they were too buggy. I think we can't set selinux to permissive that's the huge problem with this phone...
Hi everyone,
I'm writing this blog post to ask for some help from the XDA community. I have a Samsung A22 SM-A225F and I want to install a custom ROM on it, preferably an Android 12 GSI. However, I'm having some trouble getting it to boot properly.
I'm following the directions on this blog post which claims to have successfully installed Android 12 GSI on the same device. The steps I'm following are as follows:
Use Odin tool to flash the stock verified ROMs on my phone to start from zero.
Flash the (magisk patched.tar) file on AP
Boot to Android and set it up then install Magisk app to check for root (I'm doing this because it doesn't work otherwise)
Flash TWRP and run multidisabler then boot again to check if everything is working.
Finally flash the system.img, I'm not sure about vbmeta so I'm skipping it.
But I keep getting a bootloop no matter what I try, I've tried wiping cache and everything.
Weirdly enough I have flashed stock Android like two days ago except that it actually booted to set up but it didn't detect the network and kept mini rebooting from time to time.
I've tried the steps in that blog for Android 11 to flash crDroid but that also didn't work, I've also tried flashing crDroid even when following the steps for Android 12. Still no success.
I'm wondering if anyone has any idea what I'm doing wrong or what I can do to fix this issue. I've read some other guides on how to install custom ROMs and GSIs on Samsung devices without TWRP but they seem too complicated for me.
If anyone can help me out or point me in the right direction, I would really appreciate it. Thanks in advance! and i'll gladly provide any information required when i have time as it's currenlty night time
what twrp u using also where u flashing it using fastboot or from TWRP ?
i recommend u using fastboot to flash GSI