Unable to flash any rom. Need help ASAP!! - Xiaomi Mi A2 / 6X Questions & Answers

I was on latest stock PIE. First I tried to flash HEX kernel over stock PIE, but this resulted into bootloop.
Then I tried to flash, AICP and CRDROID, for both, it says, "error applying update: 7(errorcode::kinstalldeviceoppenerror) updater process ended with error 1".
Need help here ASAP. As I unable to boot to system right now. Using TWRP : 3.3.1 as TWRP 3.2.3 gets only black screen.

shivamg95 said:
I was on latest stock PIE. First I tried to flash HEX kernel over stock PIE, but this resulted into bootloop.
Then I tried to flash, AICP and CRDROID, for both, it says, "error applying update: 7(errorcode::kinstalldeviceoppenerror) updater process ended with error 1".
Need help here ASAP. As I unable to boot to system right now. Using TWRP : 3.3.1 as TWRP 3.2.3 gets only black screen.
Click to expand...
Click to collapse
I think Thats because of TWRP 3.3.1 version cuz this version got some issues for installing or updating roms.

Maharram said:
I think Thats because of TWRP 3.3.1 version cuz this version got some issues for installing or updating roms.
Click to expand...
Click to collapse
Any suggestion regarding which twrp should I use?

shivamg95 said:
Any suggestion regarding which twrp should I use?
Click to expand...
Click to collapse
I have tried pitch black and team win recovery project and everytime i get black screen. Im using fastboot to flash anything but idk u can flash hex kernel with fastboot or not. Just ask it from the hex kernel thread

literally just been messing with the exact same problem - try the pitch black recovery twrp - i cant find the link, have a look, if not come back here and I make available via dropbox or something. Everything failed with the error you get, i tried with this version and pixel rom installing !!!

Related

Latest TWRP?

Guys, what would be the latest TWRP for our SM-G920T, and where would I find an Odin-flashable TWRP file? (Somehow I do not trust TWRP Manager with the task of flashing TWRP.)
Just in case it matters, I am currently rooted on the latest DOI1 FW.
Aqua1ung said:
Guys, what would be the latest TWRP for our SM-G920T, and where would I find an Odin-flashable TWRP file? (Somehow I do not trust TWRP Manager with the task of flashing TWRP.)
Just in case it matters, I am currently rooted on the latest DOI1 FW.
Click to expand...
Click to collapse
https://dl.twrp.me/zeroflte/
datdirtyscrew said:
https://dl.twrp.me/zeroflte/
Click to expand...
Click to collapse
Thank you! One of the things that I find irritating about TWRP Manager is that it asks me to confirm/verify the partition where TWRP gets flashed to. Now how can I possibly know if dev/block/platform/15570000.ufs/by-name/RECOVERY is the right place for my device? (Is it?) The second thing that bothers me about TWRP Manager is that it doesn't correctly detect the latest TWRP version, and often it offers to install an older version.
Did twrp-2.8.7.2-zeroflte.img.tar work for you?
After updating to DOI1, I get boot loops after trying to flash TWRP.
I can get into recovery and download mode just fine, but it won't boot to the OS.
RiskPrime said:
Did twrp-2.8.7.2-zeroflte.img.tar work for you? After updating to DOI1, I get boot loops after trying to flash TWRP. I can get into recovery and download mode just fine, but it won't boot to the OS.
Click to expand...
Click to collapse
I bit the bullet eventually (sesing as flashing TWRP via ODIN is a PITA), and flashed TWRP using TWRP Manager. I got an error message upon flashing, though it looks like TWRP flashed just fine. (Go figure!) Anyway, TWRP Manager flashes TWRP 2.8.7.1. It may be that TWRP people didn't consider TWRP 2.8.7.2 safe enough to flash, which is why TWRP Manager doesn't offer the option. That may be your explanation for your troubles.

TWRP not installing

Hey folks,
I've been trying to install TWRP on my Mi5, MIUI 8 Global 7.1.19 Beta, and I cannot, for the life of me, get it to work.
I've tried the standard method via Fastboot, which boots into TWRP but then defaults back to the standard Xiaomi recovery when I reboot. I've scoured the MIUI forums and these forums here and tried the solutions suggested, such as the Cofface.img and Flasher toolkit (When using the toolkit it says it has completed successfully and says "you are now in TWRP xxxxx" but the device remains in Fastboot mode and doesn't even reboot) etc., but none of them work! Each and every time the device falls back to the standard recovery and I'm left with more grey hair.
Does anyone know of any other solutions or ideas?
Thanks in advance.
What TWRP version ?
Did you try the modified version that is available in the miUI forum? xz.. something...
There is also a guide for it (on the miUI).
glogal said:
What TWRP version ?
Did you try the modified version that is available in the miUI forum? xz.. something...
There is also a guide for it (on the miUI).
Click to expand...
Click to collapse
Cheers for the info, mate. Yes, I've tried the modded version (the cofface version and TWR 3.0.2.X), 3.0.2.1. wouldn't open when I was able to boot into it (once), it just stuck at the splash screen and 3.0.2.0 won't even boot, let alone install.
Cheers mate!
TWRP is now at 3.0.2-3
This is the webpage (official twrp site):https://twrp.me/devices/xiaomimi5.html
The modified version is the ZCX-TWRP: http://en.miui.com/thread-364569-1-1.html
Thanks! I managed to boot into 3.0.2-3 to flash the EU ROM I wanted. I'll have a quick reboot now and see if the recovery has stuck.
Edit
Yep. I managed to boot into 3.0.2-3, install the ROM and the recovery is fine too. Cheers, man. I appreciate the help.
Same problem...
Console tells me everything is well but there is no twrp... Tryed newest version.
Never mind. Had to boot into TWRP as a last step.
"adb reboot recovery"

can't flash TWRP 3.3.1 - 3.0.2 works just fine

I'm having difficulty getting TWRP 3.3 working on my z3c. I'm not new to the process, and have done it a few times on a few phones. Right now my z3c has TWRP 3.0.2-1-z3c. I'm wanting to try the new Android 10 ROM that came out, but it requires TWRP 3.3 to work. So I got the TWRP provided in the thread. I'm flashing from Linux, so I did run
Code:
./fastboot flash recovery twrp 3.3.1-1-A10.0-z3c.img
When I reboot and hold the power down button it skips over TWRP and just boots the ROM I have installed.
Okay, so I downgrade to TWRP 3.0.2-1 and reboot...hold volume down...TWRP boots just fine.
Flash TWRP 3.3 again....no joy. It just boots straight to ROM.
RNZL3R said:
I'm having difficulty getting TWRP 3.3 working on my z3c. I'm not new to the process, and have done it a few times on a few phones. Right now my z3c has TWRP 3.0.2-1-z3c. I'm wanting to try the new Android 10 ROM that came out, but it requires TWRP 3.3 to work. So I got the TWRP provided in the thread. I'm flashing from Linux, so I did run
Code:
./fastboot flash recovery twrp 3.3.1-1-A10.0-z3c.img
When I reboot and hold the power down button it skips over TWRP and just boots the ROM I have installed.
Okay, so I downgrade to TWRP 3.0.2-1 and reboot...hold volume down...TWRP boots just fine.
Flash TWRP 3.3 again....no joy. It just boots straight to ROM.
Click to expand...
Click to collapse
Same. Couldnt find a proper answer to this. Still have trouble with this? I'm on CR6.1, that's android 8.1 and I'd like to try later versions (lineage os or maybe CR7.0)
liberteus said:
Same. Couldnt find a proper answer to this. Still have trouble with this? I'm on CR6.1, that's android 8.1 and I'd like to try later versions (lineage os or maybe CR7.0)
Click to expand...
Click to collapse
Screwed badly with the systems to the point where I softbricked the phone, and had to revert to stock. Will try going straight to 3.3.1 instead now.
Edit: I used adb to go to fastboot (adb reboot bootloader), from there I tried all the different twrp images I have, including latest Android 10 one using the fastboot boot image.img (replace image by name of image, I name them A8, A9, A10 to match android version).
All of them booted, which means I can flash them without issues. I don't know which version I want to install though for now, and I don't want to be stuck again on a version that I won't be able to upgrade later on... so will probably go straight to A10 and Lineage 17 even if it's quite buggy.
liberteus said:
Same. Couldnt find a proper answer to this. Still have trouble with this? I'm on CR6.1, that's android 8.1 and I'd like to try later versions (lineage os or maybe CR7.0)
Click to expand...
Click to collapse
did you found a solution? i have the same issue...

Cannot install any custom rom

Hi,
I tried to install custom rom on my k20 pro but it's shows error everytime . Error 7 and after that know it's showing error 6 had installed orange fox recovery.
Tried corvus and evolution x both are showing the same thing error.
I don't know what is wrong am I missing something,
Now I flashed stock rom again. Because of the problem. Tried fixing error 7 and know I am getting error 6 and know if I try other rom is showing me the same thing error 6 .
Know I have flashed 12.0.2. after so many failed attempt.
what is your twrp version?
Maybe mount system and vendor before flashing.
Mi 9T Pro ll Tapatalk
Tried orange fox latest r11, and tried sky hawk also but same.
On twrp it's not installing properly don't know why,
Any help on what to do and what is this error 7 and 6 I am getting while flashing
kibria.mgk said:
Maybe mount system and vendor before flashing.
Mi 9T Pro ll Tapatalk
Click to expand...
Click to collapse
Before wipeing the vendor ??
Can you tell me in detail to mount and flash
SSfalcon said:
Before wipeing the vendor ??
Can you tell me in detail to mount and flash
Click to expand...
Click to collapse
Before flashing the rom
Mi 9T Pro ll Tapatalk
Install TWRP 3.4.0-0 from here, then try installing a ROM again.
https://forum.xda-developers.com/k2...icial-twrp-xiaomi-redmi-t3944363/post79823568
SSfalcon said:
Hi,
I tried to install custom rom on my k20 pro but it's shows error everytime . Error 7 and after that know it's showing error 6 had installed orange fox recovery.
Tried corvus and evolution x both are showing the same thing error.
I don't know what is wrong am I missing something,
Now I flashed stock rom again. Because of the problem. Tried fixing error 7 and know I am getting error 6 and know if I try other rom is showing me the same thing error 6 .
Know I have flashed 12.0.2. after so many failed attempt.
Click to expand...
Click to collapse
Did you flash vendor zip before flashing custom rom like evolution x?
ishten said:
Did you flash vendor zip before flashing custom rom like evolution x?
Click to expand...
Click to collapse
I am on miui 12.0.2,
Still I need to update or flash vendor/ firmware ??
Robbo.5000 said:
Install TWRP 3.4.0-0 from here, then try installing a ROM again.
https://forum.xda-developers.com/k2...icial-twrp-xiaomi-redmi-t3944363/post79823568
Click to expand...
Click to collapse
Ok will try once on this twrp.
Can you tell me are you using the latest twrp and are you facing any error or anything..
SSfalcon said:
Ok will try once on this twrp.
Can you tell me are you using the latest twrp and are you facing any error or anything..
Click to expand...
Click to collapse
I've been using mauronofrio's TWRP on this phone for over a year and never had any problems with it when flashing ROMs. I've recently updated TWRP to the latest 3.4.0-0 and had no problems flashing LOS.
There is one bug that has never been fixed. Sometimes when you boot into TWRP it does not recognise any touch on the screen. Just turn the display off and on again with the power button and it works fine after that.
SSfalcon said:
I am on miui 12.0.2,
Still I need to update or flash vendor/ firmware ??
Click to expand...
Click to collapse
1. Use orangefox recovery. (Recommended)
2. Flash vendor zip if you want to use custom roms.
URL: https://downloads.akhilnarang.dev/M...al-V12.0.2.0.QFKINXM-10.0-vendor-firmware.zip
Download zip using above link,
3. Flash using Orange Fox recovery
4. Flash custom rom.
5. Finally flash Disable DM variety
URL: https://zackptg5.com/downloads/Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
ishten said:
1. Use orangefox recovery. (Recommended)
2. Flash vendor zip if you want to use custom roms.
URL: https://downloads.akhilnarang.dev/M...al-V12.0.2.0.QFKINXM-10.0-vendor-firmware.zip
Download zip using above link,
3. Flash using Orange Fox recovery
4. Flash custom rom.
5. Finally flash Disable DM variety
URL: https://zackptg5.com/downloads/Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
Click to expand...
Click to collapse
I am MIUI 12.0.2 Stable india, still do I need to flash the vendor zip ??
And why I am on the lastest miui 12 right ??
ishten said:
1. Use orangefox recovery. (Recommended)
2. Flash vendor zip if you want to use custom roms.
URL: https://downloads.akhilnarang.dev/M...al-V12.0.2.0.QFKINXM-10.0-vendor-firmware.zip
Download zip using above link,
3. Flash using Orange Fox recovery
4. Flash custom rom.
5. Finally flash Disable DM variety
URL: https://zackptg5.com/downloads/Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
Click to expand...
Click to collapse
SSfalcon said:
I am MIUI 12.0.2 Stable india, still do I need to flash the vendor zip ??
And why I am on the lastest miui 12 right ??
Click to expand...
Click to collapse
The TWRP I've pointed you to is the better option. Orange Fox is only good for installing if you plan to stick with MIUI.
There is absolutely no need to flash DM Verify, or a DFE script.
You will not need to flash firmware and vendor files if coming from the latest MIUI 12.
SSfalcon said:
I am MIUI 12.0.2 Stable india, still do I need to flash the vendor zip ??
And why I am on the lastest miui 12 right ??
Click to expand...
Click to collapse
If your indian why dont you watch one of the million videos in your language on youtube that show you how to flash?

Can't access twrp 3.4.0.1, H870

Hello,
I've installed twrp 3.4.0.1 via fastboot, but after I select yes when i'm asked about erasing my data, the phone just boot up normally without deleting any of my data, but does not enter twrp either. Tried 3.4.0.0 too, no luck. Only 3.3.1.0 worked, but when I try to backup it says something like 'can't mount system partition' and some other errors. I think that version is too old for my rom, so I'm afraid to use it for backup/flash. My phone is LG G6 H870, Android 9, software version V30b. The phone is not rooted, the bootloader is unlocked. Tried to erase cache partition and install twrp 3.4.01 again, didn't work. I can't install Skyhawk or Orangefox becuase I can't use twrp.
Is anybody facing this problem too?
Thanks!
Bootloader unlocked?
Mendoo said:
Bootloader unlocked?
Click to expand...
Click to collapse
Yes
Thelock1 said:
Hello,
I've installed twrp 3.4.0.1 via fastboot, but after I select yes when i'm asked about erasing my data, the phone just boot up normally. Tried 3.4.0.0 too, no luck. Only 3.3.1.0 worked, but when I try to backup it says something like 'can't mount system partition', I think that version is too old for my rom. My phone is LG G6 H870, Android 9, software version V30b. My phone is not rooted.
Is anybody facing this problem too?
Thanks!
Click to expand...
Click to collapse
HI You need to use OrangeFox recovery or SkyHawk. If you plan to go to 10, then you need SkyHawk. And I think SkyHawk is maintained but OrangeFox not.
Links:
SkyHawk https://sourceforge.net/projects/pa-g6/files/Releases/SHRP/20.07.2020/H870/
OrangeFox https://forum.xda-developers.com/lg-g6/development/recovery-orangefox-recovery-project-t3943594
jis251 said:
HI You need to use OrangeFox recovery or SkyHawk. If you plan to go to 10, then you need SkyHawk. And I think SkyHawk is maintained but OrangeFox not.
Links:
SkyHawk https://sourceforge.net/projects/pa-g6/files/Releases/SHRP/20.07.2020/H870/
OrangeFox https://forum.xda-developers.com/lg-g6/development/recovery-orangefox-recovery-project-t3943594
Click to expand...
Click to collapse
So can I install SkyHawk via fastboot over stock recovery without installing twrp beforehand? I see there are multiple files in the shyhawk zip, should I only extract the recovery img and install it via fastboot? I'm kinda new to this, thanks!
Thelock1 said:
So can I install SkyHawk via fastboot over stock recovery without installing twrp beforehand? I see there are multiple files in the shyhawk zip, should I only extract the recovery img and install it via fastboot? I'm kinda new to this, thanks!
Click to expand...
Click to collapse
HI. It is made to flash in TWRP (same as OrangFox) So I really don't know if that recovery.img flashing through Fastboot works. Never tried, sorry.
Maybe someone knows though.
jis251 said:
HI. It is made to flash in TWRP (same as OrangFox) So I really don't know if that recovery.img flashing through Fastboot works. Never tried, sorry.
Maybe someone knows though.
Click to expand...
Click to collapse
Ok, thanks, I'll try to find a solution, or maybe I'll just wait for the next version of twrp.
You should try installing the recovery and immediately installing any custom rom, when i flashed twrp the first time i had to do it several times cause somehow it got "erased" every time i noot the stock OS.
Ig you don't want to install a custom rom try right after installing twrp and on the fastboot screen to reboot to recovery with (Volume - ) button and power.
I think the idea is not letting the Stock os boot
Also that error. i have the same problem, the only moment it doesn't appear is when you wipe all data with the "Format Data" option inside "Wipe" menu in twrp.
After you boot to the OS once and go back to recovery it will come again everytime you flash something.
Not sure if its a problem or not, because i've dirty installed some updates and also installed gapps and magisk even with that error.
Im currently in A10 using Havoc and NikGapps.
TWRP 3.2.3-0
AlejandroMota said:
You should try installing the recovery and immediately installing any custom rom, when i flashed twrp the first time i had to do it several times cause somehow it got "erased" every time i noot the stock OS.
Ig you don't want to install a custom rom try right after installing twrp and on the fastboot screen to reboot to recovery with (Volume - ) button and power.
I think the idea is not letting the Stock os boot
Also that error. i have the same problem, the only moment it doesn't appear is when you wipe all data with the "Format Data" option inside "Wipe" menu in twrp.
After you boot to the OS once and go back to recovery it will come again everytime you flash something.
Not sure if its a problem or not, because i've dirty installed some updates and also installed gapps and magisk even with that error.
Im currently in A10 using Havoc and NikGapps.
TWRP 3.2.3-0
Click to expand...
Click to collapse
Yes, I know I have to install twrp again every time I let the stock rom boot, but the only version of twrp working is 3.2.3 and I think that was released before the G6 received official Android 9 update, so that's why I'm not very confident using it. I've tried to enter recovery immediately after I've installed it, so I don't think that's the problem.
I have the same problem on the LG G6 H870. I won't get to TWRP. I tried several versions of TWRP and nothing.
Edit.
This twrp is functional:
https://androidfilehost.com/?w=files&flid=289997
After installation using fastboot, restart directly to twrp using power+vol. down.
Finally i've successfully flashed Skyhawk using TWRP 3.3.1, so thanks everyone for advice!
Still couldn't make official TWRP 3.4.0/3.4.0.1 work.
Update TWRP 3.1 to 3.4 problem
Thelock1 said:
Finally i've successfully flashed Skyhawk using TWRP 3.3.1, so thanks everyone for advice!
Still couldn't make official TWRP 3.4.0/3.4.0.1 work.
Click to expand...
Click to collapse
Hi, I don't know if this goes here, I hope you can help me, I update twrp from version 3.1 to 3.4 and now I can't access twrp, how can I fix it?
Hello again, I answer myself, and if it helps someone else, using adb fastboot with twrp 3.2 Melina solves it and twrp works perfectly again.

Categories

Resources