Can't boot any GSI, always resulting in a bootloop - Samsung Galaxy S9 Questions & Answers

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?

Related

Problem with dirty flash older version of a custom rom

Hello, a friend of mine installed a custom rom at my lg g3 android phone. The rom is ressurrection remix. I accidently dirty flashed an older version of the same rom, I had 5.1.1 r6 and I flashed 5.0.3, and now neither adb works nor download mode due to killswitch. The only thing it does is show the old rr boot image. It's on a bootloop and since it doesn't open I don't know how to fix it. Can someone tell me what should I do?
Can you use the button combo to boot into TWRP? If you can get into TWRP then just flash the ROM you want and be sure to follow the rom threads instructions before flashing of course.

can't flash custom roms

hey there, i just bought nexus 5x and it was updated to latest official android 8.0, now i want to flash custom roms, steps i made: unlocked bootloader, flashed twrp, disabled forced encryption and dm-verity (found somewhere boot.img on xda which disables that), now i downloaded custom rom(tried crdroid and dirty unicorns both 7.1 android) and , gapps arm64 7.1, and latest supersu. flashed these files whith that order and got stuck at google splash logo. not even boot animation is played. tried without and with supersu, and custom kernels. still no luck. official google system boots fine though. so, hope you help me guys
You can't flash 7.1 ROMs over 8.0 partitions and vice versa.
If you want to flash 8.0 ROMs, flash the stock OPR6 images FIRST. If you want to flash <7.1.2 ROMs, flash the latest N factory images.
For me, it was enough to flash the Vendor Image other than the newest one... (or maybe the newest 2, I tried the July one)

Bootloader loop when installing lineage

Hello,
After mucking with custom roms for the day, i've now found myself only able to boot into bootloader or recovery when using lineage. When turning the phone on, it'll instantly put me at the bootloader.
The stock rom flashes fine, as does crDroid, however despite using lineage for the past few months, I'm now unable to boot into system after re-flashing it. The only thing I can think off that I've done differently is that of trying out lineage's oreo version. Though I'm having this issue trying to flash nougat.
There's no error that I've seen from twrp during flashing, and nothing occurred out of the ordinary.
Presumably trying "oreo" you used 8.0 gapps you need 7.1 gapps for nougat
robin0800 said:
Presumably trying "oreo" you used 8.0 gapps you need 7.1 gapps for nougat
Click to expand...
Click to collapse
When trying out Oreo, I used the official gapps rather than the unofficial open-gapps linked in the thread. This would have been "Arm64 8.0 Micro", however the one provided is 'unofficial'.
I did this as androidfilehost was trying to download at 40kbps at the time.
For flashing nougat I'd have used OpenGapps's Arm64 mini 7.1. I had the same issue with BeansGapps as well.

Stuck on Mi-Logo after GSI installation

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!

Unable to flash any custom roms.

I unlocked bootloader on 4th day , flashed TWRP tired PE, CrDroid, LOS 16 , PA , AOSP Extended roms but unable to boot any ROM. But can boot miui.eu, and other miui roms. I tried sunnyraj's TWRP 3.2.3, orange fox latest TWRP, PE TWRP, TWRP 3.2.3 Rolex+Riva , and treble enabler of 4-5 verieties , but no ROMs boot. Anybody has flashing guide? I'm not a noob . Not new to Android . I am flashing at least a ROM per day to all my phones. But this phone is a surprise.
drmuruga said:
I unlocked bootloader on 4th day , flashed TWRP tired PE, CrDroid, LOS 16 , PA , AOSP Extended roms but unable to boot any ROM. But can boot miui.eu, and other miui roms. I tried sunnyraj's TWRP 3.2.3, orange fox latest TWRP, PE TWRP, TWRP 3.2.3 Rolex+Riva , and treble enabler of 4-5 verieties , but no ROMs boot. Anybody has flashing guide? I'm not a noob . Not new to Android . I am flashing at least a ROM per day to all my phones. But this phone is a surprise.
Click to expand...
Click to collapse
1. Fastboot flash latest miui nougat rom using mi flash tool
[ Boot and setup miui, remove your mi account from phone then flash recovery ]
2. Fastboot flash custom recovery for base nougat
3. Format data and wipe internal storage
4. Flash any custom rom you want
If there is anything more you want to know contact me in PM.
NaAnBcEhEuL9A8K7 said:
1. Fastboot flash latest miui nougat rom using mi flash tool
[ Boot and setup miui, remove your mi account from phone then flash recovery ]
2. Fastboot flash custom recovery for base nougat
3. Format data and wipe internal storage
4. Flash any custom rom you want
If there is anything more you want to know contact me in PM.
Click to expand...
Click to collapse
Thank you so much. Can I flash treble gsi/sgsi ROMs?
drmuruga said:
Thank you so much. Can I flash treble gsi/sgsi ROMs?
Click to expand...
Click to collapse
Yes you can but there is no guarantee that the gsi/sgsi will boot or if booted will work properly. Only testing will tell.
Joining telegram group will help.
..
OOS pie sgsi booted and working well.
First I flashed this rom
miui_HM5AGlobal_V9.6.5.0.NCKMIFD_ba7d815e8a_7.1
and boot
Then flashed this twrp
PE-TWRP-Riva-N.img
Then
AEX pie rom
Then
OOS pie sgsi system img
https://mega.nz/#!3J42EAjC!ITVxW99G_p-Vpz7ntULr7KBfE9U6wYUi2_pOWXJhd48
Permissive V2 zip
OOS boot fix
Boot.
This camera working
MGC_5.1.018_v2e_tolyan009_v1.4(1)
drmuruga said:
OOS pie sgsi booted and working well.
First I flashed this rom
miui_HM5AGlobal_V9.6.5.0.NCKMIFD_ba7d815e8a_7.1
and boot
Then flashed this twrp
PE-TWRP-Riva-N.img
Then
AEX pie rom
Then
OOS pie sgsi system img
https://mega.nz/#!3J42EAjC!ITVxW99G_p-Vpz7ntULr7KBfE9U6wYUi2_pOWXJhd48
Permissive V2 zip
OOS boot fix
Boot.
This camera working
MGC_5.1.018_v2e_tolyan009_v1.4(1)
Click to expand...
Click to collapse
List all bugs

Categories

Resources