My son killed xiaomi mi a3 - Android Q&A, Help & Troubleshooting

(This is a duplicate of thread to reach more people, original thread : https://forum.xda-developers.com/mi-a3/help/son-killed-xiaomi-mi-a3-t4060735)
So I bought a son new phone.
As he told he installed magisk first, flashing "magisk_patched.img" through windows shell, everything was fine. Then He flashed twrp and magisk, everything was almost fine, he noticed that he cant play audio. He was trying to fix it first through installing magisk audio mods like viper and sauron. It didn't fixed anything, he unistalled it, everything was still in the same state, so he decided to flash stock frimware. He flashed through mi flashing tool, unfortunetaly It was image for "global xiaomi version" I mean "PFQMIXM" when as far as I know It should be "PFQEUXM". It didn't work and he was stuck in a bootloop. He found "MiUi 11 " image and for still unknown to me reason thought that it is going to fix everything. He flashed It again through mi flashing tool. It didn't work. He did that second time but at last he just closed the flashing tool while it was doing its thing.
At last he found eu firmware but now after all of that when i try to flash it or single files like crc list i get this:
flash crclist "E:\ModCR\adb\images\crclist.txt"
Sending 'crclist' (0 KB) FAILED (Write to device failed (Unknown error))
fastboot: error: Command failed
Device only boots to fastboot (no recovery/twrp either).
I tried erasing cache:
./fastboot erase cache
Erasing 'cache' FAILED (Write to device failed (Unknown error))
fastboot: error: Command failed
I tried to check slots:
./fastboot getvar active-slot
getvar:active-slot FAILED (Write to device failed (Unknown error))
Finished. Total time: 5.003s
I tried to change slot:
./fastboot set_active b
fastboot: error: Device does not support slots
When i typed "fastboot devices" It appeared as "??????"
./fastboot devices
???????????? fastboot
I don't know how to fix it, If anyone knows or has any kind of even small idea please write it down. I would be very greatfull.

Thread closed as duplicate of https://forum.xda-developers.com/mi-a3/help/son-killed-xiaomi-mi-a3-t4060735
Do not make duplicates "to reach more people"..

Related

HELP - Cannot Flash Custom Recovery - ERROR: usb_read failed with status e00002e8

My phone is rooted and unlocked. I have installed adb and fastboot. I had twrp installed and I used it to install a custom rom. Then, I accidentally flashed something (maybe update.zip?) that not only changed the regular system partition, but also the recovery partition. I've been trying to get twrp back and I'm having major issues.
When I try the command "fastboot erase recovery" I receive the following error message:
erasing 'recovery'...
ERROR: usb_read failed with status e00002e8
FAILED (status read failed (Invalid argument))
finished. total time: 0.005s
I've searched google with several different parameters and nothing is helping me, so I figure best to post my own question. I get the same error and status e00002e8 when trying to flash recovery.img or boot.img

YuYureka stuck in FASTBOOT

Hi everyone.
I had a working Lineage OS 14.1 installed on my yureka device.
I got the newer version TWRP and instead of going to install the latest update from COMMAND PROMPT , i used FLASFHFIRE and this corrupted my device.
My phone when switched OFF shows the battery indications of charging, when connected to charger.
But, doesn't start when switched ON and when connected to laptop, shows the YU logo and goes into FASTBOOT mode.
Code:
$ fastboot devices & $ fastboot -i 0x1ebf devices
detects the phone and gives this
4a252f6 fastboot
Click to expand...
Click to collapse
But, any other FASTBOOT command to flash the boot or recovery fails with error , for the first run
Error 1 :
Code:
D:\RootingKit\platform-tools>fastboot flash boot 15_April_2018_Boot.img
target reported max download size of 268435456 bytes
sending 'boot' (20480 KB)...
FAILED (data write failure (Unknown error))
finished. total time: 5.001s
And successive runs shows a different error
Error 2:
Code:
D:\RootingKit\platform-tools>fastboot flash boot 15_April_2018_Boot.img
target didn't report max-download-size
sending 'boot' (20480 KB)...
FAILED (command write failed (No error))
finished. total time: 0.000s
Now, when i remove the cable and connect it back then again the first error message is observed.
I have tried all cables from different phones, samsung xperia yureka and others and not able to flash. Also, i have tried on different USB ports of my laptop and no SUCCESS.
Please help me out here.

partition table broken

Hi all,
when installing lineage 18.1 I successfully screwed up my MOTO G8. When rebooting after all installalation steps being successfull, it says
​No valid operation system could be found. The device will not boot.​
Booting to fastboot again I tried to flash again, but this time I get
​fastboot set_active a​Setting current slot to 'a' FAILED (remote: '')
fastboot: error: Command failed​​Trying to to flash something does not work as well, e.g.
fastboot flash recovery recovery.img​ending 'recovery' (24924 KB) OKAY [ 0.752s]​Writing 'recovery' (bootloader) Invalid partition name recovery
FAILED (remote: '')
fastboot: error: Command failed​​Apperently the partition table appears to be broken. Can I restore it?
badkey212 said:
Hi all,
when installing lineage 18.1 I successfully screwed up my MOTO G8. When rebooting after all installalation steps being successfull, it says
​No valid operation system could be found. The device will not boot.​
Booting to fastboot again I tried to flash again, but this time I get
​fastboot set_active a​Setting current slot to 'a' FAILED (remote: '')​fastboot: error: Command failed​​Trying to to flash something does not work as well, e.g.
​fastboot flash recovery recovery.img​ending 'recovery' (24924 KB) OKAY [ 0.752s]​Writing 'recovery' (bootloader) Invalid partition name recovery​FAILED (remote: '')​fastboot: error: Command failed​​Apperently the partition table appears to be broken. Can I restore it?
Click to expand...
Click to collapse
Does the bootloader say "flashing_locked" now?
Try
Code:
fastboot flash partition gpt.bin
sd_shadow said:
Does the bootloader say "flashing_locked" now?
Try
Code:
fastboot flash partition gpt.bin
Click to expand...
Click to collapse
That helped, thank you!

adb fastboot command failed

Erasing 'system' FAILED (remote: 'Check device console.')
fastboot: error: Command failed
Erasing 'system_ext' FAILED (remote: 'Check device console.')
fastboot: error: Command failed
Erasing 'odm' FAILED (remote: 'Check device console.')
fastboot: error: Command failed
Erasing 'product' FAILED (remote: 'Check device console.')
fastboot: error: Command failed
Can someone help? i downloaded the new adb drivers, adb is updated. bootloader is unlocked.
1.
ADB and Fastboot are different drivers that serve different purpose
2.
How Fastboot commands are implemented depends on manufacturer. In any case download and install the "Android USB Driver" suitable to your Android device.
jwoegerbauer said:
1.
ADB and Fastboot are different drivers that serve different purpose
2.
How Fastboot commands are implemented depends on manufacturer. In any case download and install the "Android USB Driver" suitable to your Android device.
Click to expand...
Click to collapse
The thing is fastboot works for other things but when I try to flash this from which formats it, it fails on erasing system and the other images. I've always used the adb 15 second installer on xda.
I'm pretty sure the Fastboot you've installed is for Google devices. If your device isn't a Google one then install, as by me suggested earlier, the driver provided by your device's manufacturer.

(Nokia 2.3) How to install a GSI on a Nokia 2.3?

Hello everyone, this is my first time posting in XDA!
I know that you can't unlock the bootloader on a "official" way but I was able to do it with the help of mtkclient and some posts around XDA, now I was wondering if someone tried or what is the procedure to install a GSI on this device because I have tried but it won't boot (reboots over and over or gets stuck in logo), I've seen some posts (on Nokia official forums) saying that they were able to do this using the latest LineageOS GSI and I tried this but it didn't work too!.
What have I tried?​So far I tried to flash the GSI with fastboot and SP Flash Tool and none of them worked but there were some errors on the fastboot procedure:
When doing
Code:
fastboot delete-logical-partition product_a
It showed me:
Code:
Deleting 'product_a' FAILED (remote: 'unknown command')
fastboot: error: Command failed
So I just continued anyways and the flashing went with no errors using
Code:
fastboot flash system (Path to rom)
but when trying to do a userdata wipe (fastboot -w), fastboot says this:
Code:
Erasing 'userdata' OKAY [ 0.078s]
CreateProcess failed: The system cannot find the specified file. (2)
fastboot: error: Cannot generate image for userdata
So I thought that maybe that was the problem of why it wasn't working.
Any help is really appreciated, thanks!

Categories

Resources