FAILED (remote: 'Error flashing partition : Volume Full') - Xiaomi Mi 9 Questions & Answers

Hello everyone,
I have a question about magisk
So I was flashing patched magisk recovery, because my phone didn't have a ramdisk apparently and when I boot into fastboot and do the following:
Code:
fastboot flash recovery magisk_patched-22100_79lC9.img
I recive the following:
Code:
Sending 'recovery' (65620 KB) OKAY [ 1.638s]
Writing 'recovery' FAILED (remote: 'Error flashing partition : Volume Full')
fastboot: error: Command failed
Can anyone help?

IWillLiterallyB said:
Hello everyone,
I have a question about magisk
So I was flashing patched magisk recovery, because my phone didn't have a ramdisk apparently and when I boot into fastboot and do the following:
Code:
fastboot flash recovery magisk_patched-22100_79lC9.img
I recive the following:
Code:
Sending 'recovery' (65620 KB) OKAY [ 1.638s]
Writing 'recovery' FAILED (remote: 'Error flashing partition : Volume Full')
fastboot: error: Command failed
Can anyone help?
Click to expand...
Click to collapse
Why you didn't flash orangefox recovery or other twrp and then magisk via twrp?

Laptapper said:
Why you didn't flash orangefox recovery or other twrp and then magisk via twrp?
Click to expand...
Click to collapse
Because when i do and boot into the system and try to install magisk app it says "There was a problem parsing the package".

IWillLiterallyB said:
Because when i do and boot into the system and try to install magisk app it says "There was a problem parsing the package".
Click to expand...
Click to collapse
Try to install magisk zip via twrp.
If you take magisk 22.1 only rename apk to zip and flash via twrp

Laptapper said:
Try to install magisk zip via twrp.
If you take magisk 22.1 only rename apk to zip and flash via twrp
Click to expand...
Click to collapse
Alright, so I downgraded to magisk 20.0 and I flashed it and installing the app worked, but my point still stands though :/

Related

Deleted boot.img

I accidently deleted my boot.img on mi Mi 9 Lite (Mi CC9) by doing: fastboot boot "random file". What can I do now?
Can Someone please send me their boot.img or a link?
..
realseal3 said:
..
Click to expand...
Click to collapse
https://www.sendspace.com/file/nddami
:fingers-crossed:
Thank you very much but I get an error message:
Sending 'boot.img' (15360 KB) OKAY [ 0.332s]
Booting FAILED (remote: 'Failed to load/authenticate boot image: Load Error')
fastboot: error: Command failed
realseal3 said:
Sending 'boot.img' (15360 KB) OKAY [ 0.332s]
Booting FAILED (remote: 'Failed to load/authenticate boot image: Load Error')
fastboot: error: Command failed
Click to expand...
Click to collapse
What's the rom you have, miui version?
miui_PYXISGlobal_V11.3.3.0.PFCMIXM_6a3205a4b8_9.0
I have this one but it didn't boot before I did anything.
lmt399 said:
What's the rom you have, miui version?
Click to expand...
Click to collapse
realseal3 said:
miui_PYXISGlobal_V11.3.3.0.PFCMIXM_6a3205a4b8_9.0
I have this one but it didn't boot before I did anything.
Click to expand...
Click to collapse
Bootloader unlocked/locked?
Maybe it is better to flash the whole system through fastboot or mi flash tool.
..
It didn't work with the tool but I reflashed twrp and flashed the stock miui rom from there and it worked. Thank you anyway.
Download Fastboot rom and extract, then copy system.img to fastboot folder and also recovery, boot.img too...
Open fastboot:
Type: fastboot format system
Type: Fastboot flash boot boot.img version that you have when you brick device
Type: Fastboot flash system system.img
Type: Fastboot flash recovery recovery.img use wzsx1050 3.3.1-0709 version
Type :Fastboot boot recovery.img and device should reboot in recovery, without Booting FAILED (remote: 'Failed to load/authenticate boot image: Load Error')

Can't install TWRP on my X2 Pro Fastboot Error

Hello I have this problem with my realme X2 Pro
I wanted to install TWRP on my phone using ADB and Fastboot after unlocking with success my bootloader The problem Is I first intalled with success TWRP BUT the touch was not working so I decieded to try a newer version but now this error apears
Sending 'recovery' (98304 KB) OKAY [ 2.354s]
Writing 'recovery' FAILED (remote: 'Error flashing partition : Volume Full')
fastboot: error: Command failed
I Tried to do adb push twrp-3.4.0-0-RMX1931-mauronofrio.img /dev/block/bootdevice/by-name/recovery but i did not work It got me this error
adb: error: failed to get feature set: no devices/emulators found
If anyone could help me it would very apreciated
I though it was (from Fastboot mode):
Code:
fastboot flash recovery <your recovery image here>
and then
Code:
fastboot flash vbmeta vbmeta.img
Uqbar said:
I though it was (from Fastboot mode):
Code:
fastboot flash recovery <your recovery image here>
and then
Code:
fastboot flash vbmeta vbmeta.img
Click to expand...
Click to collapse
Hello when I try to use fastboot flash recovery twrp.img that is creating the Volume full error
How can I solve it ?
Farchyk said:
Hello when I try to use fastboot flash recovery twrp.img that is creating the Volume full error
How can I solve it ?
Click to expand...
Click to collapse
Are you really really sure the twrp image is the right size?
Mauronofrio's one is exactly 81920 KB, not 98304 KB.
Also the official TWRP has the same size, AFAIK.
I would re-download it and maybe checksum it.

Question How to install custom recovery TWRP?

I searched a lot of articles all flashed to the recovery partition
Code:
>fastboot flash recovery boot_twrp_UNOFFICIAL.img
Sending 'recovery' (65536 KB) OKAY [ 2.062s]
Writing 'recovery' FAILED (remote: 'This partition doesn't exist')
fastboot: error: Command failed
I found some information that Android 11 uses Virtual A/B
Do I need to modify boot.img to install custom recovery in Android 11?
AceSheep said:
I searched a lot of articles all flashed to the recovery partition
Code:
>fastboot flash recovery boot_twrp_UNOFFICIAL.img
Sending 'recovery' (65536 KB) OKAY [ 2.062s]
Writing 'recovery' FAILED (remote: 'This partition doesn't exist')
fastboot: error: Command failed
I found some information that Android 11 uses Virtual A/B
Do I need to modify boot.img to install custom recovery in Android 11?
Click to expand...
Click to collapse
fastboot boot twrp.img
Go ti advanced and install current twrp
Otherwise u can installiert it temporarly on boot, fastboot flash Boot twrp.IMG
Now you can Boot into it using hardwarebuttons....Herr u can flash it finaly
Did u find a working twrp....this one here doesnt work....also otg mouse not working in that one
bambamGN2 said:
Otherwise u can installiert it temporarly on boot, fastboot flash Boot twrp.IMG
Now you can Boot into it using hardwarebuttons....Herr u can flash it finaly
Did u find a working twrp....this one here doesnt work....also otg mouse not working in that one
Click to expand...
Click to collapse
I use a type-c hub to connect a wireless mouse and it works
I used this command and it didn’t work normally, it will enter the system normally after restart
Code:
>fastboot boot images\boot_twrp_UNOFFICIAL.img
Sending 'boot.img' (65536 KB) OKAY [ 1.735s]
Booting FAILED (Status read failed (Too many links))
fastboot: error: Command failed
This command can start to TWRP but cannot install it
Code:
>fastboot flash boot_b images\boot_twrp_UNOFFICIAL.img
>fastboot set_active b
>fastboot reboot
Do I still need to unpack boot.img and copy the ramdisk file
AceSheep said:
I used this command and it didn’t work normally, it will enter the system normally after restart
Code:
>fastboot boot images\boot_twrp_UNOFFICIAL.img
Sending 'boot.img' (65536 KB) OKAY [ 1.735s]
Booting FAILED (Status read failed (Too many links))
fastboot: error: Command failed
This command can start to TWRP but cannot install it
Code:
>fastboot flash boot_b images\boot_twrp_UNOFFICIAL.img
>fastboot set_active b
>fastboot reboot
Do I still need to unpack boot.img and copy the ramdisk file
Click to expand...
Click to collapse
fastboot boot twrp_UNOFFICIAL.img
This work for sure
This topic is great, but I'm afraid many of us would totally miss the information in here, do anyone has the will to turn the information here into a little "how to TWRP" guide as a topic here? That would be awesome!
My device is Redmi Note 10 5G China and the EEA rom flashed. Using twrp will get stuck in the logo and cannot enter.
Before that, I can start twrp using China rom. I'm still looking for reasons
----------
P.S. Does anyone know how to compile twrp for Android 11? I need a little help
AceSheep said:
----------
P.S. Does anyone know how to compile twrp for Android 11? I need a little help
Click to expand...
Click to collapse
No but maybe this helps????
Make A TWRP Tree For Your Device & Build.md
GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
i suggest for now stay on stock recovery. you can root phone installing magisk via fastboot. and the only way to try custom rom is flashing the gsi ported generic rom. the nippon gsi telefram group have a lot of gsi. but my advice is wait miu13 update. most of gsi have audio incompatibility. but if you like aosp roms this is the only way. mtk full custom roms for our device dont exist

Question Can't reboot phone unless I manually wipe dalvik cache. (TWRP+Magisk 24.102)

I have a problem that I can't reboot my phone unless I manually wipe dalvik and ART cache between reboots. Any idea why? TWRP and rooted using Magisk 24102.
I am running MIUI EEA 12.5.11 Stable (RKAEUXM). Downgraded from Xiaomi.EU due to the bugs.
booted into TWRP via fastboot. Mi11Ultra(Pro)-twrp3.5.1-recovery-21.5.9-decrypted.img
installed TWRP recovery via Onekey inject TWRP.
wipe dalvik cache
dd if=/dev/block/bootdevice/by-name/boot of=/sdcard/TWRP_boot.img to extract boot image with TWRP.
reboot
Patch Magisk 24102 onto the TWRP_boot.img and reboot into recovery.
Install Magisk_patched_TWRP_boot.img onto both boot slots.
wipe dalvik cache
Everything is working OK until I reboot. If I try to reboot, phone freezes and goes straight into recovery. Wiping Dalvik cache lets me boot into the phone.
I tried following the guide here, but if I Install Recovery Ramdisk onto the Mi11Ultra(Pro)-twrp3.5.1-recovery-21.5.9-decrypted.img, once I reboot into recovery, touchscreen does NOT work.
If I try to install Onekey inject TWRP instead of Install Recovery Ramdisk and then try to fastboot install the Magisk patched boots, i get the FAILED (remote: '(Boot_a_a) No such partition') errors:
Code:
PS C:\Users\Pavel\AppData\Local\Android\Sdk\platform-tools> .\fastboot.exe flash boot .\magisk_boot_EEA_TWRP_patched-24102_LIcXn.img
Sending 'boot_a' (196608 KB) OKAY [ 4.181s]
Writing 'boot_a' OKAY [ 0.208s]
Finished. Total time: 4.627s
PS C:\Users\Pavel\AppData\Local\Android\Sdk\platform-tools> .\fastboot.exe flash Boot_a .\magisk_boota_EEA_TWRP_24102_jAD8d.img
Sending 'Boot_a' (196608 KB) OKAY [ 4.177s]
Writing 'Boot_a' FAILED (remote: '(Boot_a_a) No such partition')
fastboot: error: Command failed
PS C:\Users\Pavel\AppData\Local\Android\Sdk\platform-tools> .\fastboot.exe flash Boot_b .\magisk_bootb_EEA_TWRP_patched-24102_sTGZF.img
Sending 'Boot_b' (196608 KB) OKAY [ 4.178s]
Writing 'Boot_b' FAILED (remote: '(Boot_b_a) No such partition')
fastboot: error: Command failed
Questions:​
Any idea why I need to wipe dalvik cache to be able to boot into my phone?
Any idea why when trying to install TWRP via Recovery Ramdisk my touchscreen stops working?
U can try official guide by magisk https://topjohnwu.github.io/Magisk/install.html

I need some help with the recovery flashing

I am currently trying to flash TWRP to my old Xperia Z and when I try to flash it, fastboot spew me with an error:
Sending 'recovery' (15198 kB) OKAY [ 0.500s]
Writing 'recovery' FAILED (remote: 'Command not allowed')
fastboot: error: command failed
I unlocked the bootloader already and Treble Check reported that I have A-only
Can someone give me some solution to this?
The only way i got my phone to flash is by flashing it via the Sony Mobile Flasher
Dl: https://www.ytechb.com/sony-mobile-flasher/
once there unpack the RAR file
then get the fastboot and flasher drivers
and the driver for your specific model
then connect your device in fastboot mode
click the flash button (top left corner)
click fastboot mode
click flash kenel
change the explorer to search for .img files
click the TWRP img for you phone
hopefully should work

Categories

Resources