Flash GSI in Realme 3/3i Android 10 (Updated 13-Jan-2021) - Oppo Realme 3 Guides, News, & Discussion

Follow bellow steps (carefully) for flashing GSI in realme 3/3i on Android 10, we have only tested few GSIs Like CherishOS, LineageOS, HavocOS etc.
All GSIs have different methods to flash kn Realme 3/3i.
Provided method have tested on CherishOS (GSI Snaps are below)
What you need to flash GSI:
Platform tool (Bootloader should be unlock)
LineageOS 17.1.zip
https://bit.ly/oOo17o1rm1821Orangefox recovery.img
28.81 MB file on MEGA
bit.ly
Boot.img (do not try any other boot.img)
File on MEGA
bit.ly
Dmverity zip file
3.25 MB file on MEGA
bit.ly
GSI image (system.img)
We are flashing CherishOS this time.
https://bit.ly/CherishGSIrmx1821
Steps to Flash:
Copy LineageOS 17.1 and Dmverifyzip file into SD Card.
Flash orangefox
Commands:
fastboot flash recovery xxx.img (xxx is recovery name)
fastboot -w
fastboot reboot recovery
In OrangeFox Recovery
Goto format data and type yes
Now goto wipe, Wipe everything except SD Card and swipe
Now goto files>SD Card and flash LineageOS 17.1 zip file
After flashing done simply reboot to system (no need to wipe cache)
Your phone will boot in lineageos, in lineage OS 17.1 Goto Developer options and enable "Advance Restart" now press power button and click on reboot> recovery, your phone will reboot into recovery. Now goto files and flash Dmverityzip file and after flashing done goto reboot > bootloader (no need to wipe cache).
Once you rebooted into bootloader (fastboot mode) type below commands.
"fastboot --disable-verity --disable-verification flash boot boot.img"
(note this should be the same boot file which i have share in this thread)
"fastboot erase system"
"fastboot flash system xxx.img"
(xxx is cherishOS.img, wait for flashing completion)
"fastboot -w"
"fastboot erase para"
"fastboot reboot"
(Wait atleast 5-10 minites your phone will be in realme logo state, do not panic)
The End.
Special Thanks To Ujjwal for Flashing.
Feel Free to Join https://t.me/joinchat/WM3heLvnFTYXzeOb

azharmansoori said:
Follow bellow steps (carefully) for flashing GSI in realme 3/3i on Android 10, we have only tested few GSIs Like CherishOS, LineageOS, HavocOS etc.
All GSIs have different methods to flash kn Realme 3/3i.
Provided method have tested on CherishOS (GSI Snaps are below)
What you need to flash GSI:
Platform tool (Bootloader should be unlock)
LineageOS 17.1.zip
https://bit.ly/oOo17o1rm1821Orangefox recovery.img
28.81 MB file on MEGA
bit.ly
Boot.img (do not try any other boot.img)
File on MEGA
bit.ly
Dmverity zip file
3.25 MB file on MEGA
bit.ly
GSI image (system.img)
We are flashing CherishOS this time.
https://bit.ly/CherishGSIrmx1821
Steps to Flash:
Copy LineageOS 17.1 and Dmverifyzip file into SD Card.
Flash orangefox
Commands:
fastboot flash recovery xxx.img (xxx is recovery name)
fastboot -w
fastboot reboot recovery
In OrangeFox Recovery
Goto format data and type yes
Now goto wipe, Wipe everything except SD Card and swipe
Now goto files>SD Card and flash LineageOS 17.1 zip file
After flashing done simply reboot to system (no need to wipe cache)
Your phone will boot in lineageos, in lineage OS 17.1 Goto Developer options and enable "Advance Restart" now press power button and click on reboot> recovery, your phone will reboot into recovery. Now goto files and flash Dmverityzip file and after flashing done goto reboot > bootloader (no need to wipe cache).
Once you rebooted into bootloader (fastboot mode) type below commands.
"fastboot --disable-verity --disable-verification flash boot boot.img"
(note this should be the same boot file which i have share in this thread)
"fastboot erase system"
"fastboot flash system xxx.img"
(xxx is cherishOS.img, wait for flashing completion)
"fastboot -w"
"fastboot erase para"
"fastboot reboot"
(Wait atleast 5-10 minites your phone will be in realme logo state, do not panic)
The End.
Special Thanks To Ujjwal for Flashing.
Feel Free to Join https://t.me/joinchat/WM3heLvnFTYXzeOb
Click to expand...
Click to collapse
After booting to LineageOS 17.1, and flashing the DM verity disabler, Can i flash the unmodified Android 11 GSI system.img instead of CherishOS.img? Is it going to work?

ATDteam said:
After booting to LineageOS 17.1, and flashing the DM verity disabler, Can i flash the unmodified Android 11 GSI system.img instead of CherishOS.img? Is it going to work?
Click to expand...
Click to collapse
Yes, unmodified GSI will work. Just follow our process from "fastboot --disable-verity --disable-verification etc etc"

azharmansoori said:
Yes, unmodified GSI will work. Just follow our process from "fastboot --disable-verity --disable-verification etc etc"
Click to expand...
Click to collapse
Thank you i will do it when i recover my Realme 3 from being dead. i hard bricked my phone, No Fastboot, No Charge, No Recovery no sign of life in screen, can you suggest how can i fix this? or do you ever encounter this?

ATDteam said:
Thank you i will do it when i recover my Realme 3 from being dead. i hard bricked my phone, No Fastboot, No Charge, No Recovery no sign of life in screen, can you suggest how can i fix this? or do you ever encounter this?
Click to expand...
Click to collapse
There is only option to go to Service Center.

azharmansoori said:
There is only option to go to Service Center.
Click to expand...
Click to collapse
oh i see. however i manage to Extract the OFP firmware of realme 3 with auth_file, scatter file and all the img(s), the only problem is the Download-Agent File, there is a DA file thing error when flashing using SP Flash Tool. By the way thanks a lot.

ATDteam said:
oh i see. however i manage to Extract the OFP firmware of realme 3 with auth_file, scatter file and all the img(s), the only problem is the Download-Agent File, there is a DA file thing error when flashing using SP Flash Tool. By the way thanks a lot.
Click to expand...
Click to collapse
Please see other thread, which is in Guides of Realme 3 for (how to unbrick realme 3, do follow his process and like his post if you successfully unubrick).

azharmansoori said:
Please see other thread, which is in Guides of Realme 3 for (how to unbrick realme 3, do follow his process and like his post if you successfully unubrick).
Click to expand...
Click to collapse
yah i figure it out, im the one who posted the Unbrick Tutorial. Thanks.

ATDteam said:
yah i figure it out, im the one who posted the Unbrick Tutorial. Thanks.
Click to expand...
Click to collapse
Pleasure, would you please contact me at t.me/azharmansoori22 as i am facing issue in your bat file.

azharmansoori said:
Follow bellow steps (carefully) for flashing GSI in realme 3/3i on Android 10, we have only tested few GSIs Like CherishOS, LineageOS, HavocOS etc.
All GSIs have different methods to flash kn Realme 3/3i.
Provided method have tested on CherishOS (GSI Snaps are below)
What you need to flash GSI:
Platform tool (Bootloader should be unlock)
LineageOS 17.1.zip
https://bit.ly/oOo17o1rm1821Orangefox recovery.img
28.81 MB file on MEGA
bit.ly
Boot.img (do not try any other boot.img)
File on MEGA
bit.ly
Dmverity zip file
3.25 MB file on MEGA
bit.ly
GSI image (system.img)
We are flashing CherishOS this time.
https://bit.ly/CherishGSIrmx1821
Steps to Flash:
Copy LineageOS 17.1 and Dmverifyzip file into SD Card.
Flash orangefox
Commands:
fastboot flash recovery xxx.img (xxx is recovery name)
fastboot -w
fastboot reboot recovery
In OrangeFox Recovery
Goto format data and type yes
Now goto wipe, Wipe everything except SD Card and swipe
Now goto files>SD Card and flash LineageOS 17.1 zip file
After flashing done simply reboot to system (no need to wipe cache)
Your phone will boot in lineageos, in lineage OS 17.1 Goto Developer options and enable "Advance Restart" now press power button and click on reboot> recovery, your phone will reboot into recovery. Now goto files and flash Dmverityzip file and after flashing done goto reboot > bootloader (no need to wipe cache).
Once you rebooted into bootloader (fastboot mode) type below commands.
"fastboot --disable-verity --disable-verification flash boot boot.img"
(note this should be the same boot file which i have share in this thread)
"fastboot erase system"
"fastboot flash system xxx.img"
(xxx is cherishOS.img, wait for flashing completion)
"fastboot -w"
"fastboot erase para"
"fastboot reboot"
(Wait atleast 5-10 minites your phone will be in realme logo state, do not panic)
The End.
Special Thanks To Ujjwal for Flashing.
Feel Free to Join https://t.me/joinchat/WM3heLvnFTYXzeOb
Click to expand...
Click to collapse
azharmansoori said:
Follow bellow steps (carefully) for flashing GSI in realme 3/3i on Android 10, we have only tested few GSIs Like CherishOS, LineageOS, HavocOS etc.
All GSIs have different methods to flash kn Realme 3/3i.
Provided method have tested on CherishOS (GSI Snaps are below)
What you need to flash GSI:
Platform tool (Bootloader should be unlock)
LineageOS 17.1.zip
https://bit.ly/oOo17o1rm1821Orangefox recovery.img
28.81 MB file on MEGA
bit.ly
Boot.img (do not try any other boot.img)
File on MEGA
bit.ly
Dmverity zip file
3.25 MB file on MEGA
bit.ly
GSI image (system.img)
We are flashing CherishOS this time.
https://bit.ly/CherishGSIrmx1821
Steps to Flash:
Copy LineageOS 17.1 and Dmverifyzip file into SD Card.
Flash orangefox
Commands:
fastboot flash recovery xxx.img (xxx is recovery name)
fastboot -w
fastboot reboot recovery
In OrangeFox Recovery
Goto format data and type yes
Now goto wipe, Wipe everything except SD Card and swipe
Now goto files>SD Card and flash LineageOS 17.1 zip file
After flashing done simply reboot to system (no need to wipe cache)
Your phone will boot in lineageos, in lineage OS 17.1 Goto Developer options and enable "Advance Restart" now press power button and click on reboot> recovery, your phone will reboot into recovery. Now goto files and flash Dmverityzip file and after flashing done goto reboot > bootloader (no need to wipe cache).
Once you rebooted into bootloader (fastboot mode) type below commands.
"fastboot --disable-verity --disable-verification flash boot boot.img"
(note this should be the same boot file which i have share in this thread)
"fastboot erase system"
"fastboot flash system xxx.img"
(xxx is cherishOS.img, wait for flashing completion)
"fastboot -w"
"fastboot erase para"
"fastboot reboot"
(Wait atleast 5-10 minites your phone will be in realme logo state, do not panic)
The End.
Special Thanks To Ujjwal for Flashing.
Feel Free to Join https://t.me/joinchat/WM3heLvnFTYXzeOb
Click to expand...
Click to collapse
Can I do this on Lineage os 18.1 using its boot.img for fastboot -disable...., can flash any A11 gsi, and what about gapps, you, you haven't flashed any gapps.

ritukanta said:
Can I do this on Lineage os 18.1 using its boot.img for fastboot -disable...., can flash any A11 gsi, and what about gapps, you, you haven't flashed any gapps.
Click to expand...
Click to collapse
Yes you can flash LineageOS boot.img on Android 11 GSIs.

Amd what for custom rom users, I'm using a11 ppui, what changes will be added, and can I do it with only orfox??

RIVEEKS said:
Amd what for custom rom users, I'm using a11 ppui, what changes will be added, and can I do it with only orfox??
Click to expand...
Click to collapse
No you can do with other suppoted recoveries like SHRP, PBRP (Official) etc.

Related

Phone now boot into fastboot but not system

Hi
I was trying to install Lineage OS on my device, but I failed, now the phone does not have TWRP anymore, and when I power up, it goes into fast boot only.
I have done quite a lot of work to save my phone, and the last thing that I did was download the stock fastboot rom and run flash_all.bat from it.
(I can not get the Miflash tool working on my PC because when I startup the program, it asks me to download 5 drivers, but it failed to download and throw me an error)
luckyvictor said:
Hi
I was trying to install Lineage OS on my device, but I failed, now the phone does not have TWRP anymore, and when I power up, it goes into fast boot only.
I have done quite a lot of work to save my phone, and the last thing that I did was download the stock fastboot rom and run flash_all.bat from it.
(I can not get the Miflash tool working on my PC because when I startup the program, it asks me to download 5 drivers, but it failed to download and throw me an error)
Click to expand...
Click to collapse
First of all - if your phone boots to fastboot, there seems to be a problem with your bootloader or kernel.
To fix that, you need to reflash aboot.img and boot.img via fastboot.
Boot.img depends on the version, you want to install. Copy both files into your fastboot folder and
Code:
fastboot flash boot_a boot.img
Code:
fastboot flash boot_b boot.img
Code:
fastboot flash aboot_a aboot.img
Code:
fastboot flash aboot_b aboot.img
Now your phone shouldn´t stuck @ fastboot anymore.
Ok, to save your data, you could try to boot twrp:
Code:
fastboot boot twrp.img
If you´re lucky, it can decrypt your data - then you can backup data and internal storage...
If it´s not able to decrypt, you need to install twrp.
To install a fastboot rom without miflash look here
I suggest you to install caf-kernel via twrp. Sometimes your phone boots up with it - magic
Voodoojonny said:
First of all - if your phone boots to fastboot, there seems to be a problem with your bootloader or kernel.
To fix that, you need to reflash aboot.img and boot.img via fastboot.
Boot.img depends on the version, you want to install. Copy both files into your fastboot folder and
Code:
fastboot flash boot_a boot.img
Code:
fastboot flash boot_b boot.img
Code:
fastboot flash aboot_a aboot.img
Code:
fastboot flash aboot_b aboot.img
Now your phone shouldn´t stuck @ fastboot anymore.
Ok, to save your data, you could try to boot twrp:
Code:
fastboot boot twrp.img
If you´re lucky, it can decrypt your data - then you can backup data and internal storage...
If it´s not able to decrypt, you need to install twrp.
To install a fastboot rom without miflash look here
I suggest you to install caf-kernel via twrp. Sometimes your phone boots up with it - magic
Click to expand...
Click to collapse
Thanks, will give it a try.
Just for my knowledge, what are these boot_a and boot_b please? they relate to the two sim slot in this device?
luckyvictor said:
Thanks, will give it a try.
Just for my knowledge, what are these boot_a and boot_b please? they relate to the two sim slot in this device?
Click to expand...
Click to collapse
Boot.img from fastboot rom... To be flashed in partition boot_a and boot_b. Our device is a AB-device. That means all partitions are doubled (except of data). If your system breaks, you can switch to the other slot by "fastboot set_active a" or b if you are on a.... Btw perhaps that fixes your phone too! Boot twrp and you can see which slot is active (under reboot)

Twrp 3.3.1-0 & root [updated] kane/troika

Our old twrp have been great compared to nothing but it isn't exactly fully working and freezes a lot on splash screen.
Thanks to @Stricted and @deadman96385 we now have a more functional twrp.
Support for A/B slots.
ADB working.
No need to flash full firmware. Just flash the vbmeta_patch.img and boot twrp.
!!BOOTLOADER MUST BE UNLOCKED!!
YOUR DATA WILL BE WIPED!!​
Code:
fastboot flash vbmeta vbmeta_patch.img
fastboot boot twrp-3.3.1-test3.img
Now that we booted to TWRP it's time to format data.
Go to wipe -> format data -> type yes.
"Permanent" install of TWRP (optional):
Copy "twrp-3.3.1-test3.img" to your device.
Boot "twrp-3.3.1-test3.img" from fastboot and go to advanced settings.
Use the option to install recovery ramdisk. In the "file manager" you pick the "twrp-3.3.1-test3.img"
This will extract the twrp ramdisk and install it to your boot.img.
When it's done, tap the "fix recovery bootloop" in advanced settings so that it won't reboot to recovery instead of system..
Since this replaces the ramdisk in boot.img you'll have to reflash magisk afterwards if you want root.
This must be done every time you update your boot.img.
-------------------------------------------------------------------------------------------------------------------------------------------------------
# ROOT:
-----------
# First time:
# Method 1: Root, forced encryption disabled. Full access to data from twrp:
Flash Magisk and Disable_Dm-Verity_ForceEncrypt.zip.
# Method 2: Root only. Device still encrypted and won't be able to decrypt / mount data in twrp.
Magisk modules through Magisk manager still works:
Flash only Magisk.
----------------------------------------------------------------------------------------------------
# Fastboot flash update without loosing root or data:
----------------------------------------------------------------------------------------
# Already rooted with encryption disabled:
Extract the firmware zip to your adb/fastboot folder.
You already have the patched vbmeta flashed so just remove the stock vbmeta.img from the folder after extraction to avoid flashing it by mistake.
Flash full firmware without wipe. (Use cmds from below. Save as .bat to make it more simple.)
Boot twrp and then install it, fix recovery bootloop.
Reboot recovery, flash Magisk and Disable_Dm-Verity_ForceEncrypt.zip.
Boot system.
Code:
echo off
echo - UPDATE AND PRESERV ROOT -
fastboot flash pit diskmap.pit
fastboot flash fwbl1 fwbl1.img
fastboot flash ldfw_a ldfw.img
fastboot flash ldfw_b ldfw.img
fastboot flash keystorage_a keystorage.img
fastboot flash keystorage_b keystorage.img
fastboot flash bootloader_a bootloader.img
fastboot flash bootloader_b bootloader.img
fastboot flash modem_a modem.bin
fastboot flash oem_a oem.img
fastboot flash oem_b oem_other.img
fastboot flash logo_a logo.bin
fastboot flash dtbo_a dtbo.img
fastboot flash system_a system.img_sparsechunk.0
fastboot flash system_a system.img_sparsechunk.1
fastboot flash system_a system.img_sparsechunk.10
fastboot flash system_a system.img_sparsechunk.2
fastboot flash system_a system.img_sparsechunk.3
fastboot flash system_a system.img_sparsechunk.4
fastboot flash system_a system.img_sparsechunk.5
fastboot flash system_a system.img_sparsechunk.6
fastboot flash system_a system.img_sparsechunk.7
fastboot flash system_a system.img_sparsechunk.8
fastboot flash system_a system.img_sparsechunk.9
fastboot flash system_b system_other.img_sparsechunk.0
fastboot flash system_b system_other.img_sparsechunk.1
fastboot flash system_b system_other.img_sparsechunk.2
fastboot flash vendor_a vendor.img
fastboot reboot bootloader
pause 10
fastboot boot twrp-3.3.1-test3.img
echo TWRP is booting..
echo - install recovery ramdisk, fix bootloop, flash magisk & dm-verity zip.
echo - alternatively flash only magisk and Disable_Dm-Verity_ForceEncrypt.zip if you want to keep stock recovery.
pause
# Already rooted with device still encrypted:
Flash firmware update, except vbmeta.
Boot twrp and flash Magisk with adb sideload.
(alternative method: boot twrp and flash magisk patched boot.img)
Download TWRP: https://images.stricted.net/test/troika/twrp-3.3.1-test3.img
Download Magisk: https://github.com/topjohnwu/Magisk/releases
Download vbmeta_patch.img & Disable_Dm-Verity_ForceEncrypt.zip attached below.
PLEASE, DON't QUOTE THE WHOLE OP.
Great guide @tys0n and thank you to @Stricted and @deadman96385 for his work !
tys0n said:
Code:
fastboot flash vbmeta vbmeta_patch.img
fastboot boot twrp-3.3.1-test3.img
Click to expand...
Click to collapse
My Vision is already unlocked and rooted by the old TWRP method. Should I just do this step so I can update to the new TWRP, and then I can follow "encryption disabled" steps to update to a new firmware?
I suppose I can't enable encryption anymore without resetting data.
daekdroom said:
My Vision is already unlocked and rooted by the old TWRP method. Should I just do this step so I can update to the new TWRP, and then I can follow "encryption disabled" steps to update to a new firmware?
I suppose I can't enable encryption anymore without resetting data.
Click to expand...
Click to collapse
You're right. You can't switch between encrypted / non encrypted without a reset.
This update method have been working for me with the old twrp as well, but this new build is much better and more stable that I see no reason not to switch to the new one.
Actually, I think it may be better to first fastboot flash the new firmware (except vbmeta) so that you have a "clean" boot.img to start with if you're planning to use the install recovery ramdisk. At least if you have the old one installed already.
That's how I switched and I've had no problems.
Worked to my, Thnx
Good afternoon,
I'm trying to "patch" the TWRP as you indicate at the beginning of the first post.
When you say:
"For permanent install, use the" flash recovery ramdisk "option in twrp advanced settings"
What file do I have to flash?
Regards
gonzo1963 said:
Good afternoon,
I'm trying to "patch" the TWRP as you indicate at the beginning of the first post.
When you say:
"For permanent install, use the" flash recovery ramdisk "option in twrp advanced settings"
What file do I have to flash?
Regards
Click to expand...
Click to collapse
Sorry, I could have been more clear about this step in the description.
Copy "twrp-3.3.1-test3.img" to your device.
Boot "twrp-3.3.1-test3.img" from fastboot, go to advanced settings.
There's an option to install recovery ramdisk. In the "file manager" you pick the "twrp-3.3.1-test3.img"
This will extract the twrp ramdisk and install it to your boot.img.
When it's done, tap the "fix recovery bootloop" in advanced settings.
Since this replaces the ramdisk in boot.img you'll have to reflash magisk afterwards if you want root.
tys0n said:
Sorry, I could have been more clear about this step in the description.
Copy "twrp-3.3.1-test3.img" to your device.
Boot "twrp-3.3.1-test3.img" from fastboot, go to advanced settings.
There's an option to install recovery ramdisk. In the "file manager" you pick the "twrp-3.3.1-test3.img"
This will extract the twrp ramdisk and install it to your boot.img.
When it's done, tap the "fix recovery bootloop" in advanced settings.
Since this replaces the ramdisk in boot.img you'll have to reflash magisk afterwards if you want root.
Click to expand...
Click to collapse
Good evening,
One last question:
Currently I have permanently installed the TWRP.
Is it also necessary to do these last steps that you have added?
Regards
Enviado desde mi unknown mediante Tapatalk
gonzo1963 said:
Good evening,
One last question:
Currently I have permanently installed the TWRP.
Is it also necessary to do these last steps that you have added?
Regards
Enviado desde mi unknown mediante Tapatalk
Click to expand...
Click to collapse
Good afternoon,
Any answer?
Regards
Enviado desde mi unknown mediante Tapatalk
Bootloop
Dude, my phone was encrypted and unrooted. I flashed vbmeta then booted into twrp. Then I flashed twrp using the ramdisk method, then I clicked to patch the recovery loop, then I flashed Magisk then I flashed the Disable DM Verity. Now I'm stuck in a recovery loop. The phone turns on, then android one screen, then reboots then goes to twrp...
What did I do wrong / miss?
"Then I flashed twrp using the ramdisk method, then I clicked to patch the recovery loop."
Agter this restart the phone in recovery mode and then continue as explained.
Sorry in bad english
First of all, @tys0n thank you very much for your work. I got this phone for work, but since an unrooted Android device is almost useless to me, this is very much appreciated. Just a few annotations from my side, maybe they help someone.
1. Permanent TWRP install didn't work for me. TWRP was installed sucessfully but just like the dude above me, it would not boot to system, even after appying the bootloop fix. I had to reflash to fix this, so better be careful here!
2. I didnt want to lose encryption, so i chose method 2 for rooting. This works fine, but still I had to wipe data in the first place. Otherwise it would again not boot to system, but at least this time it told me that wiping would possibly fix this. However, after wiping encryption IS active. Maybe I did something wrong here but I don't know... Chosing method 1 seems to be the more straightforward option here.
3. Despite these issues, flashing updates seems to work just fine as described described in the OP, preserving data and root. I have only tried this once, from QSA30.62-24-6 to QSA30.62-33, which is currently the most recent patchlevel for RETEU devices. I even got the "successfully updated" notification afterwards, as if it was an OTA update
Preceptor said:
Dude, my phone was encrypted and unrooted. I flashed vbmeta then booted into twrp. Then I flashed twrp using the ramdisk method, then I clicked to patch the recovery loop, then I flashed Magisk then I flashed the Disable DM Verity. Now I'm stuck in a recovery loop. The phone turns on, then android one screen, then reboots then goes to twrp...
What did I do wrong / miss?
Click to expand...
Click to collapse
same here !
sennator said:
First of all, @tys0n thank you very much for your work. I got this phone for work, but since an unrooted Android device is almost useless to me, this is very much appreciated. Just a few annotations from my side, maybe they help someone.
1. Permanent TWRP install didn't work for me. TWRP was installed sucessfully but just like the dude above me, it would not boot to system, even after appying the bootloop fix. I had to reflash to fix this, so better be careful here!
2. I didnt want to lose encryption, so i chose method 2 for rooting. This works fine, but still I had to wipe data in the first place. Otherwise it would again not boot to system, but at least this time it told me that wiping would possibly fix this. However, after wiping encryption IS active. Maybe I did something wrong here but I don't know... Chosing method 1 seems to be the more straightforward option here.
3. Despite these issues, flashing updates seems to work just fine as described described in the OP, preserving data and root. I have only tried this once, from QSA30.62-24-6 to QSA30.62-33, which is currently the most recent patchlevel for RETEU devices. I even got the "successfully updated" notification afterwards, as if it was an OTA update
Click to expand...
Click to collapse
Hi. Yes, you're right. After flashing the patched vbmeta we need to format data. I've made it more clear in OP now.
Thanks for pointing it out.
kArLiN_dRaKE_MX said:
same here !
Click to expand...
Click to collapse
Format data in twrp
It doesn't work for me (XT1970-1).
I did the process according to information method 2.
the system boots normally.
however magisk is not 'GREEN' like two pieces of information.
How is it going without ROOT, how do I put ROOT?
have another process after this information?
Thank you.
It worked.
I performed the process again.
and everything went well.
Thanks to everyone involved. :good:
gambiarraweb1 said:
It doesn't work for me (XT1970-1).
I did the process according to information method 2.
the system boots normally.
however magisk is not 'GREEN' like two pieces of information.
How is it going without ROOT, how do I put ROOT?
have another process after this information?
Thank you.
Click to expand...
Click to collapse
Just a quick question, when I have TWRP and root I can't pass the SafetyNet check, right?
Hello all. When I click on Internal storage, there are folders with names like "a16sgyx462" and so on, so I am not able to install TWRP permanently. Can somebody help me with this?
simije97 said:
Hello all. When I click on Internal storage, there are folders with names like "a16sgyx462" and so on, so I am not able to install TWRP permanently. Can somebody help me with this?
Click to expand...
Click to collapse
You probably have Data encrypted. You need to execute Format Data in TWRP.
Has anyone used the official TWRP version? I've been thinking of transitioning from the older, unofficial, TWRP to that, but I haven't found any comment about it at all.

i cannot boot a gsi, always bootloop

so I've been trying to install a gsi for 5+ hours, I can never even get to the system boot animation. I've used permissiver, disable dm-verity, I've tried phh, erfans miui, oneui, oos, but cant get to the bootanimation. here are the steps i followed:
1. format
2. flash lineageos
3. wipe cache, dalvik, system, data
4 flash system.img gsi to system
5. flash permissiver and disable dmverity
6. reboot system
7. I get a redmi logo for 4 seconds, a black screen for 1 second and it keeps looping.
pls somebody help
You need to create a vendor.
hussain_mdj said:
You need to create a vendor.
Click to expand...
Click to collapse
pls elaborate, do i need to backup my current vendor, and then restore after installing the system.img?
I don't know why you have process steps like above, but basically the steps should be ( tested and used by me and all 2k members of my grp ) :
1st, you should be on stock, because GSI has only System images, and for a device to work, it need more than just a System images.
Boot into system, using adb reboot bootloader to get into bootloader mode ( or you can use hard keys, its up to you ). Execute these command in correct order :
fastboot devices ( check if device is connected )
fastboot reboot fastboot
fastboot --disable-verification flash vbmeta vbmeta.img ( remember to use patched vbmeta.img )
fastboot erase system
fastboot flash system system.img ( change to gsi's image file name )
fastboot -w
fastboot reboot bootloader
fastboot erase userdata
fastboot reboot
It may depends on what kind of device u have, but basically it should be like this. Try and feedback.

Cubot Quest Lite alternate ROM

Trying to flash Lineage 17.1 or TWRP on Cubot Quest Lite ends in Orange-State-Bootloop
After flashing Lineage 17.1 i get a Bootloop at orange state.
Restoring original System and generating TWRP with the hovatek tool and flashing only TWRP produced also a bootloop
Tried [Hovatek]_Mediatek_Auto_TWRP_Recovery_Porter_V1.7a_by_Team_Hovatek.7z
Tried also [Hovatek]_Spreadtrum_(SPD)_Auto_TWRP_Recovery_Porter_V1.4_by_Team_Hovatek.7z
Flashing is done from Linux PC with following commands:
1. Try Lineage System without a Rocovery:
fastboot flashing unlock (volume key up for confirmation)
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img <-- vbmeta.img from Cubot Stock rom
fastboot flash boot boot.img
fastboot flash system lineage-17.1-20210321-UNOFFICIAL-treble_arm64_avS.img
fastboot reboot
I tried also lineage-17.1-20210321-UNOFFICIAL-treble_a64_avS.img
2. Try Only TWRP Recovery with Stock Rom System unchanged
generate recovery with Hovatek Recovery Porter, then
restore original System with SP-Flash-Tool, then
fastboot flashing unlock (volume key up for confirmation)
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash recovery recovery.img
fastboot reboot
Then try to enter Recovery by pressing Volume-UP+Power-Key
I was successfull with a Cubot Kingkong Mini with the same approach. Both phones from cubot have the same CPU, RAM, Camera
Mediatek MT6761 Helio A22, 64bit
Any ideas to get Lineage or TWRP running?
Hi, I have the same phone and find android 9 very painful.....do you think I can install android 6 ?
Hi andro-try, have you solved yet problem reported (TWRP) ?

Question Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40 brick

So for context I messed up and flashed to boot twrp and now I'm trying to my phone gets out of fastboot but i cant...
So what i did was: "fastboot flash boot_a twrp.img" and "fastboot flash boot_b twrp.img" and now it is stuck on fastboot... so I tried to flash_all.bat from V13.0.8.0.SKHEUXM and V13.0.9.0.SKHEUXM and both gave me this error when this line was executed:
fastboot flash super images\super.img error: cannot load 'images\super.img'
By the way I can still flash twrp into boot and it works but gives many error on mount metadata and root...
So I could use some help to unbrick this phone thank you...
Try the command fastboot continue
Try flashing your ROMs' boot.img in Fastboot.
This tool can dump the individual IMG-files from ROM ZIPs:
[Windows] Payload Dumper GUI - dump boot.img and other img files from payload.bin.
Hello there. Was bored and decided to make a gui that dumps Payload.bin file for easy flashing. Tested on Lineage OS 18 Payload.bin Result: Credits: Based on vm03 payload_dumper script. Github: Payload_dumper.py...
forum.xda-developers.com
Your problem with not being able to run flash_all.bat might be a something with your PC, the SDK Platform Binaries (outdated version?), your USB-cable, your USB-port, or maybe you just need to disconnect/reconnect.
I recommend OrangeFox Recovery: https://orangefox.download/device/alioth
The recovery.img from the ZIP can be booted with fastboot boot recovery.img
Thank for the help guys but I din't try miflash tool tried it and it worked

Categories

Resources