Flashing GSI ROM - Xiaomi Redmi 8 Questions & Answers

Hello, I come with a problem when installing the GSI ROM, after installing the system image, flashing vbmet, even the kernel and disabling / data with the fastboot -w command, the phone has a bootloop, please help in solving the problem, the image is installed on A only, arm64

try to flash permissive: https://forum.xda-developers.com/t/mod-kernel-permissive-patcher-for-android.3506338/

Related

[GUIDE] [F.A.Q.] [chef] [TREBLE] Common Hurdles and Solutions for First Timers!

This thread is meant to address all the common hurdles that are commonly faced by people who are new to treble devices (chef to be specific) and help them to troubleshoot/avoid some small yet critical steps during flashing new ROMs and working with fastboot and recovery in general. It will be continually updated with new stuff as it goes along.
I will be referring to the Motorola One Power and Moto P30 Note as chef only from now on.
The unlocking guide is available in This XDA Thread!
IMPORTANT:
1. Flashing refers to the process of doing a clean flash, with the inclusion of fastboot -w command
2. Latest ADB and Fastboot drivers are required to be installed, else the installation may halt mid-way.
3. Stock ROM refers to the Android One ROM for the Motorola One Power [XT 1942-2]
IMPORTANT: AS OF RIGHT NOW, PEOPLE WHO HAVE INSTALLED STOCK PIE (EITHER VIA UPDATE OR FIRMWARE) WILL NOT BE ABLE TO USE ANY OTHER ROM OTHER THAN THE STOCK PIE ROM. RADIO INTERFACE LAYER IS BROKEN IN OREO SOURCE BUILT ROMS AND THAT CURRENTLY INCLUDES LINEAGE 16 SO PLEASE WAIT FOR PIE SOURCE CODE FROM MOTOROLA FOR THAT TO BE FIXED.
1. I unlocked my chef . How do I flash TWRP in place of the stock recovery?
Solution:Currently you cannot as there is no recovery partition in the device. You have to manually boot TWRP onto the device using fastboot to use it. Follow as directed:
Boot the device into fastboot mode
Use command fastboot boot <path/to/TWRP.img> to boot TWRP temporarily.
2. I am done with TWRP and I want to flash Lineage OS 16 on my chef. I simply flash the .zip archive right?
Solution:No. Before you flash anything,
Take a backup of atleast your EFS and PERSIST partitions using TWRP and off-load it for safekeeping to restore in future if needed. You can also trigger a full backup if you require.
SUPER IMPORTANT: Flash this .zip file to copy the System A/B partitions. If this step is skipped, you will be responsible to brick your own device. THIS STEP IS ONLY REQUIRED ONCE AND ONLY ONCE IN THE LIFETIME OF YOUR DEVICE! YOU WON'T BE NEEDING THIS THE NEXT TIME YOU FLASH ANY ROM. .
After that, flash your dearest custom ROM and get going.
For Lineage OS 16, follow This XDA Thread.​
3. I am done testing LOS 16, I want to flash a GSI. Shall I use a stock Vendor Image for the GSI on my chef?
Solution:No. The stock Vendor image is causing bootloop issue in most GSIs. It is recommended to use Lineage OS Vendor to flash a GSI on chef. So flash LOS and then flash your favourite GSI.
Also, Super Important: for those who haven't used lineage before flahing a GSI, it is required to boot Lineage OS first before flashing a GSI. ​
4. I am done experimenting, I want to go back to the stock image. How do I proceed?
Solution:Follow this XDA thread for it. And don't install OTA updates directly from the device. It will come in the next step.​
5. I want to install OTA updates on the stock ROM. How do I proceed?
Solution:Follow this XDA post for it. The installation process is described here. You have to be clever enough to get the appropriate OTA update. ​
Credits:
@erfanoabdi : TWRP, LOS 16, AB partition management
@rushiranpise : Unlocking guide
@dayask : Testing the process, guide for reflashing stock ROM
@nageen9211 : Testing ROMs
For any additional queries, feel free to contact us at our Telegram Group
For more regular updates, follow our Telegram Channel
Always remember: You have to be smarter than your smartphone to be able to use it!
Cheers and Happy Flashing!​
Note to readers
The above guide is for stock kernels only (including lineage)
The custom Darkone Kernel has constant updates and fixes major bugs often. Please follow the linked thread to test it out if you want to. Cheers!
Anyone have flashed GSI ROM? FOr me after flash GSI HavocOS have bootloop :/
DIdn't flash copy system A/B partitions, stuck on bootloop with custom roms.
Watched some youtube videos and didn't read this post before flashing custom ROM. Flashed Custom ROM without flashing A/B partitions. Now I have a phone stuck on bootloop when done anything in TWRP. or I can use my phone with stock ROM installed by fastboot method.
Installing or restoring anything from TWRP results in boot loop.
Restoring the backup I made before flashing, completes the restoration process normally. But when rebooting to system, TWRP prompts me that no OS is installed. If I reboot anyway, its either stuck on bootloop or reboots to recovery and asks me to try again or factory reset, or boots into bootloader mode.
Installing custom ROM begins with Step 1, takes a bit time and starts step 2 and shows completed. Doesn't echos any comments. But when i reboot, same prompt shows saying no OS installed. Reboot anyway and stuck on bootloop or reboots to recovery and aks me to try again or factory reset, or boots into bootloader mode.
Now I installed stock ROM with fastboot method and phone is boots up into system just fine.
Sometimes TWRP can't mount anything.
So am I stuck with stock rom or is there any solutions?
Also, installing stock ROM with fastboot mode showed this error in between scripts
(bootloader) is-logical:xxx_a: not found
and
(bootloader) is-logical:xxx_b: not found
but is able to use the phone just fine with stock ROM.

Gsi Bootloop not booting

Hi guys.
The problem is gsi is Bootlooping every time in custome vendor stock vendor no matter how much i try to install with different methods by different vendors rom.
Tried formatting many times, changing file system, flashing vbmeta, even flashed on both slots nothing happened same Bootloop.
Even tried flashing no verify decryption zip, magisk.
Don't get it what's the problem its booting but Bootlooping.
If gsi is not supported or corrupt img so it'll not boot right? But booting means it gets installed.
But every time the gsi get stuck at bootanimation
Need help what to do now because it installing successfully everytime but at the end Bootlooping.
Tried ported gsi roms
And official gsi roms
Those are not booting..
Urgent help will be appreciated and I'll be very thankful.
:good:
arya_tech said:
Hi guys.
The problem is gsi is Bootlooping every time in custome vendor stock vendor no matter how much i try to install with different methods by different vendors rom.
Tried formatting many times, changing file system, flashing vbmeta, even flashed on both slots nothing happened same Bootloop.
Even tried flashing no verify decryption zip, magisk.
Don't get it what's the problem its booting but Bootlooping.
If gsi is not supported or corrupt img so it'll not boot right? But booting means it gets installed.
But every time the gsi get stuck at bootanimation
Need help what to do now because it installing successfully everytime but at the end Bootlooping.
Tried ported gsi roms
And official gsi roms
Those are not booting..
Urgent help will be appreciated and I'll be very thankful.
:good:
Click to expand...
Click to collapse
You should try generic gsi from this site https://mirrors.lolinet.com/firmware/gsi/
Choose generic AB.. currently latest one is from 11th July @ Developer Preview 5.
Download Havoc os, flash it on slot A.
Reboot to slot B, wipe everything and reboot to recovery again.
Then flash gsi file, permissiver v4, darkness kernel, magisk canary, and disable force encryption.
Wait for it to boot up. ?
How to reboot to slot B and flash to slot A? Zip files are flashing like custom roms, GSI images are for slot A, slot B and AB. Sorry but I'm noob in flashing GSI roms. I never succeeded with that... ((

Patching system image unconditionally

I tried to flash android 10 based gsi for my coolpad but after wiping system,the new gsi didnot managed to get flashed.
Since I was using aosp android 9 pie beforehand,so i tried to flash that,which was working before the wipe, but it was also showing errors after errors so i downloaded the stock firmware and tried to flash the rom through twrp but the terminal stuck at patching system image unconditionally.
I tried to flash rom with fastboot and qfil with no success.

Help needed! Rebooting to fastboot

Hello friends,
I am not new with locking/unlocking, flashing roms....
I used to install different roms and had different problems but never met something like this.
so the problem is:
I unlocked my phone, installed twrp and tried to flash different roms (OOS, Lineage, Pixel experience) but it is still rebooting to fastboot and Im not able to go back to twrp recovery unless I flash bacl stock rom via miflash and flash twrp again.
I tried different twrps as well, wiped data, factory reset, advanced wipe.. still not able to flash any rom.
any advise?
Thanks in advance :good:
benzoxerxi said:
Hello friends,
I am not new with locking/unlocking, flashing roms....
I used to install different roms and had different problems but never met something like this.
so the problem is:
I unlocked my phone, installed twrp and tried to flash different roms (OOS, Lineage, Pixel experience) but it is still rebooting to fastboot and Im not able to go back to twrp recovery unless I flash bacl stock rom via miflash and flash twrp again.
I tried different twrps as well, wiped data, factory reset, advanced wipe.. still not able to flash any rom.
any advise?
Thanks in advance :good:
Click to expand...
Click to collapse
When flashing over stock MIUI you need to format data in TWRP. (Format, not wipe, need to type 'yes' to confirm.
Also, when restoring MIUI, make sure you boot into MIUI once before you flash anything else.
Use the latest 3.3.1-32 TWRP from here
https://forum.xda-developers.com/k2...icial-twrp-xiaomi-redmi-t3944363/post79823568
Restore MIUI and boot into it.
Flash TWRP and boot into TWRP
Do a factory reset.
Format data.
Reboot into TWRP - this ensures the formatted data partition is mounted properly.
Flash the ROM, plus any extras.
Boot into system.
Everything should be good.
Maybe its problem with vbmeta, try to flash vbmeta first, but you need to boot to twrp trough adb command, then flash vbmeta, than flash twrp, reboot to twrp and flash vendor, rom if you want to ide custom rom, not Stock
vlubosh said:
Maybe its problem with vbmeta, try to flash vbmeta first, but you need to boot to twrp trough adb command, then flash vbmeta, than flash twrp, reboot to twrp and flash vendor, rom if you want to ide custom rom, not Stock
Click to expand...
Click to collapse
There shouldn't be any need to flash vbmeta.
In theory vbmeta would only be needed if you want to stick with MIUI, but without root, but want to install TWRP, maybe to debloat.
Flashing Magisk or flashing a custom ROM should remove the need to flash vbmeta.
If you're already on the latest MIUI there is no need to flash any vendor files, as they're already installed.
I dont know why, but Yesterday ive tried to flash custom rom, wiped everything and after flash and reboot the phone stucked in fastboot, wont boot to twrp,not with butt shortcut,not with adb command. So i try to flash vbmeta,than IT boots to twrp,and Also i was able to flash again twrp, this could be Also solution.

Installing gsi on mi 8

Anyone successfully installing gsi Rom and success boot to system?
Can you help me by the proper steps to install gsi.
I never get to boot to to system, always failed.
My exact step:
0. Flash TWRP and vbmeta from fastboot.
1. Install xiaomi.eu Rom, reboot recovery.
2. Wipe cache, Dalvik, system, data. Reboot recovery.
3. Install gsi on system partition.
4. Reboot
Result: failed! boot to bootloader mode instead to system
Another try,
step same as above, only i add to flash dmverity and force encrypt disable zip, because i search system will not boot if we dont flash this.
Result: failed!! this time mi splash logo bootloop.
Another try,
I do some research on youtube and google, u can use custom rom vendor, i try vendor from various custom rom, pe, los, evox, this time..
Result: Failed!! device bootlopp on mi splash logo for few times, and then reboot to bootloader...
Please elborate. TIA

Categories

Resources