Mia2 cannot flash stock rom using mi flash tool (no such partition) - Xiaomi Mi A2 / 6X Questions & Answers

My device is bootloader unlocked not rooted
while trying to root i accidentally flashed twrp which made it always booting to twrp i wiped,formated using twrp to get my device back (iam a beginner and my first day on fastboot)
then i tried flashing different boot.img files to boot into android but none worked
then tried to flash stockrom using mi flash tool but it is showing error no such partition
please help me get back my phone please

Try this / these methods and report back:
https://forum.xda-developers.com/mi-a2/how-to/guide-how-to-flash-custom-roms-stuff-t3876375
Edit: Also, from memory, TWRP has boot fix and factory reset options - you can try those first.

Related

[Q] HELP! Boot loop and Mythtools freezing when flashing stock firmware

Okay, I have an Atrix HD that I have rooted and unlocked the bootloader and I have been running the SlimKat ROM with little to no problems and Philz Touch recovery for about a week until yesterday when my phone reset itself and started to boot loop. They only other thing I had flashed was a new logo to get rid of that stupid unlocked bootloader warning. I am fairly savvy when it comes to rooting and flashing roms because I have done this for years with various Samsung devices but the Motorola is a little new to me with having Fastboot.
Let me tell you what I have tried...
I first did a factory data reset in Philz and that did nothing.... then I tried to recover it back to my stock rom that I was running before using a nandroid backup that I had made with Philz Touch and same thing happened, it just sticks in boot loop. I then try to flash the PAC rom after I do a factory data reset and all the wipes I need to flash a new rom in Philz Touch to see if I can get a different rom to load and nothing happens but boot loop again.
Next I go to the forums to find answers and I start to set up my ADB on my computer... After I get ADB setup I first do fastboot -w to do a factory data reset through fastboot, download the stock Mexican rom and tried to flash all the components individually with ADB in fastboot the way skeevydude mentioned in one of his threads (sorry I can't remember which one) and I got a failed error "FAILED (remote failure)" when I tried to flash the system.img.
I then went to Mythtools v1.3 because I thought that I was doing something wrong with the ADB and fastboot... I put the stock Mexico retail rom into the firmware folder in Mythtools and tried to flash the stock firmware through Mythtools. Mythtoold froze when it rebooted the fastboot at 50 of 100%
Now I am at a loss, I have done everything that I know to try to fix this and I have searched everywhere for help and I need help. This is they only phone that I have because I just switched over to to a new carrier and just purchased this phone.
Any help would be appreciated!
UPDATE
I went into Philz Touch and formatted the /system so I could try and flash it again and now the phone boots straight to fastboot and Philz touch if I hold volume+ and power. I am going to download the stock mex retail rom and try and flash it through Philz touch.
UPDATE
I got an Error mounting /data when I tried to format the /data and when I tried to intall the Mexico retail rom I got a "set_perm: some changes failed E:Error in /storage/sdcard1/Atrix HD Mexico Retail 4.1.2.zip (Status 7) Installation aborted."
UPDATE
I formatted /data and /data media in Philz Touch and then it started mounting /data so I wiped and install PAC rom and it booted up just fine.

[Q] Accidentally wiped system and now I can't boot into recovery

I followed all of the instructions in the Nexus 6 Guide to unlock, root and flash a custom recovery.
I was trying to sideload a rom into my phone and was doing advanced wipe in TWRP. I accidentally choose system thinking it would be fine since I am flashing a new rom anyway.
I think I force shut down the phone and now it just stays and hangs on the google logo. I can only get into the bootloader/fastboot. When I try getting into TWRP recovery it just flashes for a second and then attempts to reboot.
I figure I should try flashing a rom via adb bootloader/fastboot but I attempted a few times and failed. Can someone help walk me through this?
Edit: I can access TWRP recovery now... I tried doing sideload several more times but for some reason I keep getting loading rom.zip cannot read rom.zip
Well i going to geuss you know to to get to recovery though bootloader thought your phone
But your phone is semi Bricked
You can download wugs toolkit
And i will show unroot/flash stock you will click bootloop/ bricked and go though the steps
And it will download the stock software and reovery and go though the steps you will be fine
If you want use the same toolkit and root and install twrp again
Do you use a USB otg drive? If you don't you can send a rom to twrp using some commands.
Try to redownload the ROM that won't work and put it on the phone via a USB otg drive or using your pc and don't forgot gaps.
If you're not, use the WUG toolkit to reflash the stock ROM. Then you can use that to flash your new ROM
Unless im missing somethimg, why not just flash the factory image through fastboot and start over?
Like mentioned above, or just flash TWRP in fastboot. Then boot into TWRP, and flash ROM.

My H9L Is BootLoop

Hello all..
my name is daniel, i have an H9L. My H9L has been rooted and installed TWRP. I want to install a ROM called LineAgeOS, before that I have backed up the data. and I started to reset my H9L, when I wanted to install a ROM there was a problem, because the difference in my processor failed to install the ROM. and I hit it wrong, I restarted my H9L, now my H9L is on without a stock ROM, and it is strange that my TWRP is not working, just stuck in the TEAMWIN logo, can anyone help me to restore my H9L the original state, my H9L only works in the FASTBOOT MODE state, I tried to flash my H9L with ADB DRIVER but failed, I tried to flash with MICRO SD and made the dload folder but failed at 5%, what have I confused, is there anyone here who can help my problem, THANK YOU.
DjPangau said:
Hello all..
my name is daniel, i have an H9L. My H9L has been rooted and installed TWRP. I want to install a ROM called LineAgeOS, before that I have backed up the data. and I started to reset my H9L, when I wanted to install a ROM there was a problem, because the difference in my processor failed to install the ROM. and I hit it wrong, I restarted my H9L, now my H9L is on without a stock ROM, and it is strange that my TWRP is not working, just stuck in the TEAMWIN logo, can anyone help me to restore my H9L the original state, my H9L only works in the FASTBOOT MODE state, I tried to flash my H9L with ADB DRIVER but failed, I tried to flash with MICRO SD and made the dload folder but failed at 5%, what have I confused, is there anyone here who can help my problem, THANK YOU.
Click to expand...
Click to collapse
Have you tried Erecovery to restore stock?
On the bootloader unlocked warning screen press and hold volume+ for 3 secs.
Needs to use WiFi.
Try yo reflash twrp in fastboot mode. The command is fastboot flash recovery_ramdisdisk twrp. Img
Before you have to put twrp. img in the adb folder
I'm experiencing the same problem after trying to root my h9l through twrp the mistake I made is that I flashed the image in a wrong partition.
I can only access a fastboot mode with frp and phone unlocked, it cannot even display a charging screen. Once plugged it keeps on rebooting and hangs on error screen,
I have tried to flash kernel,ramdisk, recover_ramdisk and system images all on their respective partition, the flashing went well, but the phone didn't respond.
I've tried to flash boot.IMG (some one posted for h9l,) into Boot partition, but it revealed an error.
Any one please help what should I do to brings by device back to lite

Fastboot loop

Hi, i had unlocked my bootloader and made twrp/eea rom on it. Now i wiped via twrp and got stuck in fastbootloop.
while using fastboot flash recovery twrp, it doesnt go to twrp.
trying to use xiaomi flashtool it says updating crc list failed.
please help!
1.You have wiped system and rebooted without flashing any ROM.
2.Have you tried to flash latest fastboot ROM with Mi Flash?
3.You can try xiaomitool v2 also.
4.https://forum.xda-developers.com/k20-pro/help/issue-flashing-v10-3-3-0-pfkeuxm-t3968388

Newb help - unable to mount storage?

Hi all,
I'm having trouble flashing a custom ROM on my Mi 9 Lite. After formatting, TWRP is unable to mount storage, probably due to encryption/decryption issues! Here's what I've done so far:
- unlock boot loader (with Mi Unlock after wait time)
- flash TWRP recovery with fastboot (mauronofrio)
- boot to TWRP worked fine
- followed the OP by gringo80 to install LineageOS 16.0 - as was said there, to do FORMAT once after flashing TWRP
Now TWRP can't mount/find internal storage, says "failed to mount data (no such device)" - can't format or wipe data anymore. All I found so far is that this will be an encryption/decryption issue due to the formatting, but no clue on how to undo this!
Any ideas? Flashing new system or restoring backup always results in bootloop, probably because the ROM can't write on internal storage either?!
Please help :crying:
.M.D. said:
Hi all,
I'm having trouble flashing a custom ROM on my Mi 9 Lite. After formatting, TWRP is unable to mount storage, probably due to encryption/decryption issues! Here's what I've done so far:
- unlock boot loader (with Mi Unlock after wait time)
- flash TWRP recovery with fastboot (mauronofrio)
- boot to TWRP worked fine
- followed the OP by gringo80 to install LineageOS 16.0 - as was said there, to do FORMAT once after flashing TWRP
Now TWRP can't mount/find internal storage, says "failed to mount data (no such device)" - can't format or wipe data anymore. All I found so far is that this will be an encryption/decryption issue due to the formatting, but no clue on how to undo this!
Any ideas? Flashing new system or restoring backup always results in bootloop, probably because the ROM can't write on internal storage either?!
Please help :crying:
Click to expand...
Click to collapse
The current twrp has issues with data try to change filesystem to f2fs and after that change back to ext4 (it forces a full data partition wipe). i've done this always on my mi9 lite AND watch out for the right firmware for lineage os that causes issues too
Layer_DE said:
The current twrp has issues with data try to change filesystem to f2fs and after that change back to ext4 (it forces a full data partition wipe). i've done this always on my mi9 lite AND watch out for the right firmware for lineage os that causes issues too
Click to expand...
Click to collapse
Changing file system to ext4 and back to f2fs did the trick - thank you so much!
Was able to install LOS 17.1 going forward. Thanks again! :good::fingers-crossed:
Need help again :crying:
I flashed the original firmware as instructed, but now all I get is fastboot - NO RECOVERY!
If I flash a recovery with fastboot, all I can to is boot to fastboot again... what can I do now? :crying::crying::crying:
.M.D. said:
Need help again :crying:
I flashed the original firmware as instructed, but now all I get is fastboot - NO RECOVERY!
If I flash a recovery with fastboot, all I can to is boot to fastboot again... what can I do now? :crying::crying::crying:
Click to expand...
Click to collapse
You may have bricked your phone. Did you tick the 'clean all and lock' option in miflash rather than 'clean all'? If so your phone is bricked and needs EDL flashing by an authorized technician to fix it.
Lucky enough, not bricked - I flashed a firmware update in the middle of all of it, one which, of course, replaced almost everything I had done so far. Forgot to flash custom vbmeta when trying to re-flash TWRP, doing so solved the issues I've had. Close call though, as the firmware update could have re-locked bootloader in a worst case scneario, so really lucky to be using my phone with MiuiMiX now, all working perfectly!
Thanks for the help though!!!

Categories

Resources