Hey, I need to flash a persist.img file, because my phon restarts every 2 Minutes and does not find any WiFi, but it gives me out the error: remote:Error : persist partition not allowed download. Is there a way to flash it without twrp, since when I try to flash a custom recovery, it says partition table not found. Is there a way to flash persist.img in Mi Flash Tool?
use the link given below
it will help you
https://forum.xda-developers.com/showpost.php?p=75782887&postcount=2
raaz1431994 said:
use the link given below
it will help you
https://forum.xda-developers.com/showpost.php?p=75782887&postcount=2
Click to expand...
Click to collapse
Don't have Twrp, can't flash custom recovery, it says partition table does not exist
boot to fastboot and
give the command
fastboot boot twrp.img
instead of fastboot flash recovery twrp.img
Related
when i try to flash twrp img, its showing "partition table doesn't exist"
what to do???
What version of Android are you using?
What boot.img version of TWRP are you using?
Why are you trying to flash TWRP when every guideline, help and snippet of info for TWRP on this phone states specifically to not flash it?
You only boot into TWRP using the fastboot boot *.IMG command as far as I am aware.
Hey, I accidentally corrupted my persist partition, the phone is unusable; the WiFi doesn't work, and it restarts every 2 Minutes. I tried flashing persist
fastboot flash persist persist.img
FAILED (remote: Error: This image isn't allow download)
I already tried erasing persist, but it won't let me.
Can someone please tell me a method to unlock the persist partition for download so I can flash persist.img? Please note that I can't flash TWRP either, says partition table doesn't exist. Is there a way to maybe flash it through Mi Flash Tool?
boot to twrp
enable mtp from twrp if not enabled
copy persist.img to root of your phone storage
open terminal in twrp
and give the following command
dd if=/sdcard/persist.img of=/dev/block/mmcblk0p27
and done
now persist partition will be restored
reboot your phone
No twrp
raaz1431994 said:
boot to twrp
enable mtp from twrp if not enabled
copy persist.img to root of your phone storage
open terminal in twrp
and give the following command
dd if=/sdcard/persist.img of=/dev/block/mmcblk0p27
and done
now persist partition will be restored
reboot your phone
Click to expand...
Click to collapse
As I said earlier, I can't flash a custom recovery, tells me that partition table does not exist.
Hi man!.
do you flash with factory_reset.bat?, if the answer is yes, you have to flash tissot 7.23 with the attachment (change the txt extension to bat and start the phone in fastboot, when it finish, start the phone in fastboot and unlock the bootloader and try to flash the persist partition again in fastboot, if didnt work, boot the TWRP recovery (yes, boot it with fastboot boot recovery.img ) and flash the persist image with adb shell, dd if=/sdcard/persist.img of=/dev/block/bootdevice/by-name/persist , the persist image must be in the internal memory (you can copy it with MTP) when the phone starts, you can change the WLAN and Bluetooth mac addres in /persist/wlan_mac.bin, /persist/bluetooth/.nv_bluetooth, to change the serial numer /persist/.sn
Hope it works to you
PD. If you flash the factory_reset.bat, probably you lost the IMEI to and that would be a problem.
do not flash twrp
just boot to twrp using fastboot command
fastboot boot twrp.img
---------- Post added at 12:49 AM ---------- Previous post was at 12:48 AM ----------
CoolPlushBear said:
As I said earlier, I can't flash a custom recovery, tells me that partition table does not exist.
Click to expand...
Click to collapse
do not flash twrp
just boot to twrp using fastboot command
fastboot boot twrp.img
CoolPlushBear said:
As I said earlier, I can't flash a custom recovery, tells me that partition table does not exist.
Click to expand...
Click to collapse
Did you ever solve this issue or find a work around? I have same issue.....
If you don't flash the backup of your persist partition and use instead someone else's backup, you'll mess up your phone.
- # dd if=/sdcard/persist.img of=/dev/block/mmcblk0p27
dd: writing '/dev/block/mmcblk0p27': No space left on device
2049+0 records in
2048+0 records out
1048576 bytes (1 .0MB) copied, 0.114366 seconds, 8.7MB/s
FAIL~~
CoolPlushBear said:
Hey, I accidentally corrupted my persist partition, the phone is unusable; the WiFi doesn't work, and it restarts every 2 Minutes. I tried flashing persist
fastboot flash persist persist.img
FAILED (remote: Error: This image isn't allow download)
I already tried erasing persist, but it won't let me.
Can someone please tell me a method to unlock the persist partition for download so I can flash persist.img? Please note that I can't flash TWRP either, says partition table doesn't exist. Is there a way to maybe flash it through Mi Flash Tool?
Click to expand...
Click to collapse
Don't try to flash persist.img You can encounter more trouble
You can Lost IMEI and sensor, try this metodo:
https://forum.xda-developers.com/mi-a1/how-to/tool-persist-resurrector-v1-0-0-0-t3781095
carlosorta said:
Hi man!.
do you flash with factory_reset.bat?, if the answer is yes, you have to flash tissot 7.23 with the attachment (change the txt extension to bat and start the phone in fastboot, when it finish, start the phone in fastboot and unlock the bootloader and try to flash the persist partition again in fastboot, if didnt work, boot the TWRP recovery (yes, boot it with fastboot boot recovery.img ) and flash the persist image with adb shell, dd if=/sdcard/persist.img of=/dev/block/bootdevice/by-name/persist , the persist image must be in the internal memory (you can copy it with MTP) when the phone starts, you can change the WLAN and Bluetooth mac addres in /persist/wlan_mac.bin, /persist/bluetooth/.nv_bluetooth, to change the serial numer /persist/.sn
Hope it works to you
PD. If you flash the factory_reset.bat, probably you lost the IMEI to and that would be a problem.
Click to expand...
Click to collapse
what is tissot 7.23?
raaz1431994 said:
boot to twrp
enable mtp from twrp if not enabled
copy persist.img to root of your phone storage
open terminal in twrp
and give the following command
dd if=/sdcard/persist.img of=/dev/block/mmcblk0p27
and done
now persist partition will be restored
reboot your phone
Click to expand...
Click to collapse
still working in 2020. Thanks for your post. Small thread but powerful. :dynamite:
Hey guys,
I tried flashing TWRP to recovery partition, but I get: FAILED: remote: partition table doesn't exist. I could only boot to TWRP by flashing it into the boot_a partition, flashing everythong I need and then replacing boot_a from twrp.img back to stock boot.img. I could flash Magisk, but when I rebbot it to system, it just stays on the android one screen and I have to use flash_all script to restore it. My Mi A1 has Android 8 Oreo. please help.
Have you solved? if you've solved how did you do? thank
You need to use the correct twrp boot image and twrp installer zip file. Go to mohancm's twrp thread and download the correct files according to your android version.
cicciobaciccio said:
Have you solved? if you've solved how did you do? thank
Click to expand...
Click to collapse
Most probably by following one of the available guides Mi A1 doesn't have recovery partition for example.
I recently re-flashed my old stock ROM and I wanted to flash twrp and root my mi A1 again. So I ran ADB and unlocked OEM and then I tried to flash twrp-3.2.1-0-tissot.img. but the file won't flash
It says partition table doesn't exist
I first tried this CMD
Fastboot flash recovery tissot.img (it didn't work)
Then I tried this one
Fastboot flash boot_a or boot_b tissot.img(it worked but when I tried booting into twrp there was nothing there not even the stock recovery)
Please help!!
Coz there isn't any recovery partition in mi A1.
From where u got that twrp.img?
Correct method would be boot twrp through fastboot & flash twrp.zip.
Hi so I been seeing many people getting stuck on fastboot after flashing ROM so here is the method u can use if u can't boot to TWRP also.
I have tired on PA ROM and it works so idk about others ROMs ..
fastboot flash dtbo dtbo.img
fastboot flash logo logo.img
fastboot flash vbmeta vbmeta.img
fastboot flash boot boot.img
fastboot flash misc misc.img (u can get on fastboot rom not .zip)
fastboot flash recovery recovery.img (recommend used twrp-3.3.1-2-davinci-fix).. Russian one
And after those comands do run TWRP auto installer.
U can find those files from fastboot stock ROM. This will save ur data and u won't needed to flash Stock ROM ..
Hope I explained everything if anything else needed comment down below.
Hi, i'm stuck in this fastboot limbo but can't find some of these files you mentioned: logo.img and misc.img
Where do i get them?
edit: nevermind, solved flashing fastboot miui with miflash pro.
EDIT 2: after flashing a rom i get stuck in fastboot everytime. How to avoid this?
Also tried flashing those files in that exact sequence but still stuck in fastboot.
My persist.img is shown not writable in cmd if I try to flash it. If I flash a rom using TWRP an error pops up saying "failed to mount /persist' (Invalid Argument).
SOLVED- Flashing persist.img from twrp "Install Image" works.
farhan20 said:
Hi so I been seeing many people getting stuck on fastboot after flashing ROM so here is the method u can use if u can't boot to TWRP also.
I have tired on PA ROM and it works so idk about others ROMs ..
fastboot flash dtbo dtbo.img
fastboot flash logo logo.img
fastboot flash vbmeta vbmeta.img
fastboot flash boot boot.img
fastboot flash misc misc.img (u can get on fastboot rom not .zip)
fastboot flash recovery recovery.img (recommend used twrp-3.3.1-2-davinci-fix).. Russian one
And after those comands do run TWRP auto installer.
U can find those files from fastboot stock ROM. This will save ur data and u won't needed to flash Stock ROM ..
Hope I explained everything if anything else needed comment down below.
Click to expand...
Click to collapse
Could you (or anyone) please provide these files.
Reep1324 said:
Could you (or anyone) please provide these files.
Click to expand...
Click to collapse
Hi, this u can get from fastboot stock Rom, download fastboot stock Rom and extract them u will find.. if need help just tag me ..
farhan20 said:
Hi, this u can get from fastboot stock Rom, download fastboot stock Rom and extract them u will find.. if need help just tag me ..
Click to expand...
Click to collapse
i got the .img file but i cant install it via twrp or fastboot cause this partition is unmountable
do you have any idea? i flashed stock rom via fastboot but the error insists
Dr.Dinel said:
i got the .img file but i cant install it via twrp or fastboot cause this partition is unmountable
do you have any idea? i flashed stock rom via fastboot but the error insists
Click to expand...
Click to collapse
Hello, seems u need to repair ur partition from TWRP.
Also what u did that cause this ?
PS: I'm not expert or anything but I will try to help if I could.
farhan20 said:
Hello, seems u need to repair ur partition from TWRP.
Also what u did that cause this ?
PS: I'm not expert or anything but I will try to help if I could.
Click to expand...
Click to collapse
thanks for replying
i finally solved it, used a chinese twrp that has the option to install on persist partition and the rest was easy
My k20 bricked after install miui 11 Chine version i try to flashing with flash tool but after processing not working "error antirolback check error" please someone help me
hamidezat20 said:
My k20 bricked after install miui 11 Chine version i try to flashing with flash tool but after processing not working "error antirolback check error" please someone help me
Click to expand...
Click to collapse
Hi, please follow this setups and it should be fine .
If you run into errors flashing fastboot images to your device, edit the .bat files that came with it. Usually you want to edit "flash_all.bat"
For "Missmatching image and device":
Remove the lines highlighted in the screenshot from the file, save and try flashing it again.
For Antirollback Error:
Remove ALL lines ABOVE the highlighted lines in the screenshot from the file, save and try flashing it again.
Always make sure that you got the right image for your device. Removing check lines from these files can permanently brick your device if you use the wrong fastboot image.
farhan20 said:
Hi, please follow this setups and it should be fine .
If you run into errors flashing fastboot images to your device, edit the .bat files that came with it. Usually you want to edit "flash_all.bat"
For "Missmatching image and device":
Remove the lines highlighted in the screenshot from the file, save and try flashing it again.
For Antirollback Error:
Remove ALL lines ABOVE the highlighted lines in the screenshot from the file, save and try flashing it again.
Always make sure that you got the right image for your device. Removing check lines from these files can permanently brick your device if you use the wrong fastboot image.
Click to expand...
Click to collapse
like me please help me after installing miui 11 Chine version
hamidezat20 said:
like me please help me after installing miui 11 Chine version
Click to expand...
Click to collapse
U r stuck on fastboot right and u said u can't flash fastboot rom because u r getting anti roll back error so I gave u solution
How to fix this problem
Hello same me how to fixed step by step
First you need fastboot rom extract fastboot rom on your pc after extract find 3 file
1-boot
2-recovery
3-system
Flash with fastboot
Turn off your phone and going to fastboot
Type
Fastboot devices
Fastboot flash boot boot.img
Fastboot flash recovery recovery.img
Fastboot flash system system.img
Done device can't boot but you can install twrp China version link ?
https://www.lanzous.com/i6ahykh
after installation you can go to twrp
Download fastboot miui install from twrp
Sorry for me English
Oh my god, you saved me!
HI guys i flashed my mi 9t with twrp-3.3.1-2-davinci-fix it worked with miui.eu 9.8.15 after trying to flash miui 11 for about 6 hrs lol, anyway my phone is working but i would like to go back to stock and relock the bootloader but i cant find the mi 9t fastboot rom
timbook2 said:
HI guys i flashed my mi 9t with twrp-3.3.1-2-davinci-fix it worked with miui.eu 9.8.15 after trying to flash miui 11 for about 6 hrs lol, anyway my phone is working but i would like to go back to stock and relock the bootloader but i cant find the mi 9t fastboot rom
Click to expand...
Click to collapse
You're able to flash miui 11 after such long time or just 9.8.15?
farhan20 said:
Hi, please follow this setups and it should be fine .
If you run into errors flashing fastboot images to your device, edit the .bat files that came with it. Usually you want to edit "flash_all.bat"
For "Missmatching image and device":
Remove the lines highlighted in the screenshot from the file, save and try flashing it again.
For Antirollback Error:
Remove ALL lines ABOVE the highlighted lines in the screenshot from the file, save and try flashing it again.
Always make sure that you got the right image for your device. Removing check lines from these files can permanently brick your device if you use the wrong fastboot image.
Click to expand...
Click to collapse
hey i am getting file missmatching image and device error so i deleted those lines from .bat file but still getting the same error
lucifer said:
hey i am getting file missmatching image and device error so i deleted those lines from .bat file but still getting the same error
Click to expand...
Click to collapse
Hi, u deleted from flash all. Bat right and what's the error u r getting?
farhan20 said:
Hi, u deleted from flash all. Bat right and what's the error u r getting?
Click to expand...
Click to collapse
well it worked after i moved the file to c:/ drive but after flashing i lost widewine L1
When I got 9.8.15 working I stopped at least I got a working phone now, I will try and flash stock later.
I got anti rollback error trying to flash stock with miflash tool.