Right, so i accidentally deleted my internal storage while updating to a new custom rom (format and install). I do not have any backups, unfortunately either. My phone is rooted and had bootloader unlocked prior to this issue.
What can i do to fix this?
-- Edit, i should have explained in more detail - This issue has made is so that i cant Read or Write to internal storage from MIUI file explorer. Unfortunately, reinstall stock os zip does not seem to have helped...
Shurikan117 said:
Right, so i accidentally deleted my internal storage while updating to a new custom rom (format and install). I do not have any backups, unfortunately either. My phone is rooted and had bootloader unlocked prior to this issue.
What can i do to fix this?
Click to expand...
Click to collapse
Download fastboot rom and flash it via PC
Or via TWRP copy *.zip with OS and flash
LINK: http://en.miui.com/a-234.html
dromaczek said:
Download fastboot rom and flash it via PC
Or via TWRP copy *.zip with OS and flash
LINK: http://en.miui.com/a-234.html
Click to expand...
Click to collapse
Thanks mate :laugh:. Since i have TWRP already, will this do? http://en.miui.com/download-309.html
Should i download china or global?
You will not be able to recover your deleted data. End of story.
Yeah what's the problem? As you are in TWRP you can connect the phone to computer via USB. Transfer firmware, ROM and gapps and flash.
Data on internal will be gone. No possibility to recover. That's why there are warnings all over the place while wipe and format data ?
Shurikan117 said:
Thanks mate :laugh:. Since i have TWRP already, will this do? http://en.miui.com/download-309.html
Should i download china or global?
Click to expand...
Click to collapse
Global. Stable
Issue has been resolved. Mods please close this thread.
Lucygofly said:
You have to fix your brick Xiaomi first before you can try to recover your data because the recovery tool cannot scan a bricked phone. Suggest you flash a stock ROM download from MIUI official website.
After you can reboot into the normal Android system, see this page to recover your deleted data from Xiaomi Redmi Note4.
Click to expand...
Click to collapse
Sir, read your above reply. It has been fixed like 4 days ago. ?
Related
As everyone already knew, MIUI 8 is not only available for China Developer ROM, it's not yet available for Global. I was on Global MIUI 7 Developer, I was very curious about MIUI 8. So, I tried to flash it through TWRP. Before I flash, I backed up all partitions on TWRP.
Fast forward 20 minutes, MIUI 8 flashed properly, but I want to go back to my original Global Developer MIUI 7. So, I tried to restore every partition through TWRP with the backup I did. Every partition restored successfully, except "Firmware". It gives error "extractTarFork() process ended with ERROR: 255"
In recovery log, it shows that "tar_extract_file(): failed to restore SELinux context ubject_r:vfat:s0 to file" for a lot of files.
It booted up normally, but it failed to detect my SIM card. Wifi working, just no SIM. Baseband version unknown, can't enter Phone Status, SIM cards & mobile networks greyed out. Phone tells that Can't get valid Device ID (Invalid Device ID: null)
Anyone did experienced this? Any solution?
Use twrp to restore again , this time exclude the firmware partition (restore all other partition except firmware). After the restoration complete , use MiFlashTool to flash back the Miui 7 stable
heorung said:
Use twrp to restore again , this time exclude the firmware partition (restore all other partition except firmware). After the restoration complete , use MiFlashTool to flash back the Miui 7 stable
Click to expand...
Click to collapse
Thanks for the advise. I've restored everything except firmware, and I'm now downloading the fastboot file to be flashed
heorung said:
Use twrp to restore again , this time exclude the firmware partition (restore all other partition except firmware). After the restoration complete , use MiFlashTool to flash back the Miui 7 stable
Click to expand...
Click to collapse
Unfortunately it didnt help. Still the same after flashing with MiFlashTool
Hello,
i have same problem. Radio works fine but USB not. I cant do fastboot. When android starts and connec to pc phone only chaging.
Have you someone solution?
Thanks
@ImjuzCY
i flash the cm rom, but finger print can not work properly .
so i restored all the partitions by twrp. also got that error. and i restored all the partitions except “Firmware”.
but my phone working properly include sim and usb.
lordrak said:
Hello,
i have same problem. Radio works fine but USB not. I cant do fastboot. When android starts and connec to pc phone only chaging.
Have you someone solution?
Thanks
Click to expand...
Click to collapse
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
yogesh1970 said:
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
Click to expand...
Click to collapse
what type of bugs does alka have???is cofface twrp better??
yogesh1970 said:
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
Click to expand...
Click to collapse
I use alka twrp too, but while twrp should we use?
The official twrp can backup all the partitions.
Sent from my Nexus 7 using Tapatalk
Flash MIUI recovery zip ..it will be proper. Same thing happened to me with twrp alka , firmware restore fails .so what u have to do is restore everything except firmware and then reboot to alka twrp again , wipe everything except internal storage and flash MIUI full recovery rom zip file.
Pranbellam said:
Flash MIUI recovery zip ..it will be proper. Same thing happened to me with twrp alka , firmware restore fails .so what u have to do is restore everything except firmware and then reboot to alka twrp again , wipe everything except internal storage and flash MIUI full recovery rom zip file.
Click to expand...
Click to collapse
can i flash the miui rom by twrp?
paranoia_gu said:
can i flash the miui rom by twrp?
Click to expand...
Click to collapse
Y not..! U can ,the recovery rom zip file BTW
yogesh1970 said:
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
Click to expand...
Click to collapse
What's this bug you mentioned? Pls tell more
alka recovery formats the firmware partition and then restoring failed . if it do same with the fastboot partition then u r screwed
yogesh1970 said:
alka recovery formats the firmware partition and then restoring failed . if it do same with the fastboot partition then u r screwed
Click to expand...
Click to collapse
which twrp u recommend then??
Pranbellam said:
Y not..! U can ,the recovery rom zip file BTW
Click to expand...
Click to collapse
Sorry, i don't understand. Original recovery is zip file. So How I can use twrp to recover original FW?
I know there are several threads about unbricking RN3 but I didn't find any article that could solve this problem, not even in other forums.
This started when apps were continuously force closing for no reason and I decided to flash a new official ROM (going on MIUI settings) but the problem persisted. So I did that via MI Flash and I had the same result.
As this force closing situation were being more and more frequent I flashed several times different official MIUI ROMS from EDL mode (developer and stable) and then, after one of this times, it just don't start the system anymore, its just keep bootlooping again and again.
I also tried another methods, like flashing updated fastboot ROMS but didn't work out.
Another thing, I've flashed TWRP once but it asked for a password so I couldn't access the files and flash a custom rom and my phone is locked (that xiaomi lock situation). But after that I've restored the original recovery (that appears an image of a unplugged/plugged phone to use with pc suite but it doen't recognize my device).
So, I don't really know what to do anymore.
I didn't even use this phone for a complete year and xiaomi lacks of support in my country and they wont help me, like they replied my by email.
Anyone could help me with this issue?
Thank you, by the way!
Try unlocking bootloader unofficially if can't do officially . Try edl mod
tom jp said:
Try unlocking bootloader unofficially if can't do officially . Try edl mod
Click to expand...
Click to collapse
Actually, I tried to flash a file to do that, but didn't work out. Maybe it's the method that I've used.
Could you recommend anyone?
the simple reason is your phone is soft bricked...
all yoi have to do is flash fastboot rom via edl using mi flash tool... you will find thered relating to it in guide section of this forum.
~peace
adithyan25 said:
the simple reason is your phone is soft bricked...
all yoi have to do is flash fastboot rom via edl using mi flash tool... you will find thered relating to it in guide section of this forum.
~peace
Click to expand...
Click to collapse
Actually, I did that several times... so, that's not the solution
lucasmp.paiva said:
Actually, I did that several times... so, that's not the solution
Click to expand...
Click to collapse
didu done a full wipe via miflashtool?..
adithyan25 said:
didu done a full wipe via miflashtool?..
Click to expand...
Click to collapse
Yes, I did.
Cleaned all and with multiple roms.
lucasmp.paiva said:
I know there are several threads about unbricking RN3 but I didn't find any article that could solve this problem, not even in other forums.
This started when apps were continuously force closing for no reason and I decided to flash a new official ROM (going on MIUI settings) but the problem persisted. So I did that via MI Flash and I had the same result.
As this force closing situation were being more and more frequent I flashed several times different official MIUI ROMS from EDL mode (developer and stable) and then, after one of this times, it just don't start the system anymore, its just keep bootlooping again and again.
I also tried another methods, like flashing updated fastboot ROMS but didn't work out.
Another thing, I've flashed TWRP once but it asked for a password so I couldn't access the files and flash a custom rom and my phone is locked (that xiaomi lock situation). But after that I've restored the original recovery (that appears an image of a unplugged/plugged phone to use with pc suite but it doen't recognize my device).
So, I don't really know what to do anymore.
I didn't even use this phone for a complete year and xiaomi lacks of support in my country and they wont help me, like they replied my by email.
Anyone could help me with this issue?
Thank you, by the way!
Click to expand...
Click to collapse
Hi my friend if you cant mount data in twrp. your internal storage is encrypted by custom rom
to solve your problem
1-format data (not wipe)
2-wipe
system
cache
dalvik cache
internal storage
3-flash(clean all and lock) latest miui rom in edl mod
and if your problem solved tell us
(my english...)
farshad9500gy said:
Hi my friend if you cant mount data in twrp. your internal storage is encrypted by custom rom
to solve your problem
1-format data (not wipe)
2-wipe
system
cache
dalvik cache
internal storage
3-flash(clean all and lock) latest miui rom in edl mod
and if your problem solved tell us
(my english...)
Click to expand...
Click to collapse
I've tried to install TWRP but it needs a password to decript data. So it appears 0mb on everything and shows an error to format, wipe or do anything.
Remember, my device is still locked by miui.
lucasmp.paiva said:
I've tried to install TWRP but it needs a password to decript data. So it appears 0mb on everything and shows an error to format, wipe or do anything.
Remember, my device is still locked by miui.
Click to expand...
Click to collapse
take a picture of data format error and put here
Make sure you have try this:
wipe->format data->type "yes" and ok
also try this command in fastboot mod:
fastboot erase userdata
and remember use latest twrp
Okay ,so i was on miui9 and decided to flash miui10. I flashed it and restarted the phone, the boot up was talking too Long so I thought maybe the flash was not successful. And I rebooted into TWRP. But unfortunately it encrypted it. I got around it using default_password . But flash and wipes were not successful anymore. I couldn't Access internal storage too. I tried restarting and this time it said " encryption was interrupted, you can no longer access your data, format your phone to unlock... Etc"
Please tell me how i can backup or decrypt my phone's storage. Twrp , fastboot are still accessible. Please help I can't format the phone.
sssaini007 said:
Okay ,so i was on miui9 and decided to flash miui10. I flashed it and restarted the phone, the boot up was talking too Long so I thought maybe the flash was not successful. And I rebooted into TWRP. But unfortunately it encrypted it. I got around it using default_password . But flash and wipes were not successful anymore. I couldn't Access internal storage too. I tried restarting and this time it said " encryption was interrupted, you can no longer access your data, format your phone to unlock... Etc"
Please tell me how i can backup or decrypt my phone's storage. Twrp , fastboot are still accessible. Please help I can't format the phone.
Click to expand...
Click to collapse
Go to twrp -> wipe - > format data --> type yes to format .
naik2902 said:
Go to twrp -> wipe - > format data --> type yes to format .
Click to expand...
Click to collapse
I literally said , I can't format. Cause i don't want to lose my dats.
sssaini007 said:
I literally said , I can't format. Cause i don't want to lose my dats.
Click to expand...
Click to collapse
Ok.
naik2902 said:
Ok.
Click to expand...
Click to collapse
You have no other choice except going back to previous ROM. (connect to pc, mount usb storage allowes you to save your data like photos and stuff)
Sophia92 said:
You have no other choice except going back to previous ROM. (connect to pc, mount usb storage allowes you to save your data like photos and stuff)
Click to expand...
Click to collapse
I can't do that. I tried that but didn't work.
Also I was thinking maybe fastboot flash can fix ,but instead it looked the BL and removed TWRP and didn't even solve the problem.
I tried using mi unlocker to unlock but it Said "this account can't unlock this device"
sssaini007 said:
I can't do that. I tried that but didn't work.
Also I was thinking maybe fastboot flash can fix ,but instead it looked the BL and removed TWRP and didn't even solve the problem.
I tried using mi unlocker to unlock but it Said "this account can't unlock this device"
Click to expand...
Click to collapse
Forgot to mention: connect to pc while you are in recovery (trwp if possible). If you don't have this installed, search here in rn3 forum, for zcx twrp and flash this from fastboot mode.
Sophia92 said:
Forgot to mention: connect to pc while you are in recovery (trwp if possible). If you don't have this installed, search here in rn3 forum, for zcx twrp and flash this from fastboot mode.
Click to expand...
Click to collapse
Thank you so much
I will try to flash zcx recovery with fastboot, as i have BL locked too, i Will flash it by replacing the boot.img from miui rom .
And will try mounting usb From zcx twrp.
Btw, I did tried it once in previous official TWRP. Sd card and internal storage did showed up in pc ,but internal storage was inaccessible. Let's Hope zcx makes a difference.
I'm in a desperate state here....unlocked bootloader andtried to flash Pixel ROM....followed all the steps on https://forum.xda-developers.com/poco-f1/how-to/how-to-transform-pocophone-f1-to-pixel-t3910187 except I used the latest version of bellyllium - v10 ( not thinking it would be the wrong one.)
Consequently I am stuck in a bootloop because I have no OS on the phone and can't use MiFlash to flash stock as it keeps telling me to download and install the drivers (which I have).
My phone can do fastboot but I can't adb to it (it isn't listed as a device) so can't push the firmware - any help much appeciated. (btw I'm not new.)
ashboe said:
I'm in a desperate state here....unlocked bootloader andtried to flash Pixel ROM....followed all the steps on https://forum.xda-developers.com/poco-f1/how-to/how-to-transform-pocophone-f1-to-pixel-t3910187 except I used the latest version of bellyllium - v10 ( not thinking it would be the wrong one.)
Consequently I am stuck in a bootloop because I have no OS on the phone and can't use MiFlash to flash stock as it keeps telling me to download and install the drivers (which I have).
My phone can do fastboot but I can't adb to it (it isn't listed as a device) so can't push the firmware - any help much appeciated. (btw I'm not new.)
Click to expand...
Click to collapse
Just put any flashable Rom on a sdcard and install it from twrp, or boot to twrp, Mount storage and connect to computer, transfer ROM and flash.
Skickat från min POCOPHONE F1 via Tapatalk
Zeggi said:
Just put any flashable Rom on a sdcard and install it from twrp, or boot to twrp, Mount storage and connect to computer, transfer ROM and flash.
Skickat från min POCOPHONE F1 via Tapatalk
Click to expand...
Click to collapse
I think my age is catching up to me!!! I knew how to do this easily just 5 or 6 years ago! God it's terrible getting old!!
ashboe said:
I think my age is catching up to me!!! I knew how to do this easily just 5 or 6 years ago! God it's terrible getting old!!
Click to expand...
Click to collapse
Yes the old day only TWRP-ROM-GAPPSS right now TWRP-VENDOR&FIRMWARE-DFE-ROM&GAPPSS Happy flashing
armuttaqin said:
Yes the old day only TWRP-ROM-GAPPSS right now TWRP-VENDOR&FIRMWARE-DFE-ROM&GAPPSS Happy flashing
Click to expand...
Click to collapse
You have forgotten different versions of TWRP apart from official and dm_verity
tnsmani said:
You have forgotten different versions of TWRP apart from official and dm_verity
Click to expand...
Click to collapse
:fingers-crossed: yes my mistake
Are you ok?
i don't know why you can't use adb to flash again twrp?
hoxuanson91 said:
Are you ok?
i don't know why you can't use adb to flash again twrp?
Click to expand...
Click to collapse
Yes, I had a senior moment when I couldn't for the life of me remember what to do. I simply went into TWRP and mounted sd card, transfered new rom and flashed.
Sanatogen tonic for me, please....
ashboe said:
Sanatogen tonic for me, please....
Click to expand...
Click to collapse
xD
ashboe said:
Yes, I had a senior moment when I couldn't for the life of me remember what to do. I simply went into TWRP and mounted sd card, transfered new rom and flashed.
Sanatogen tonic for me, please....
Click to expand...
Click to collapse
Hi Bro, You should put your phone into Fastboot Mode and install twrp through ADB again.
=> Copy Vendor/Rom/gapps/magisk/DFE into your storage.
Wipe advance -> stick: wipe data, cache, davik, systerm (only 4wipe, no more)
Choose Install -> Flash Vendor -> Flash Rom (if you wanna use Pixel rom, don't flash gapps) -> Flash magisk 18.1 -> Flash DFE 18.1 -> Reboot
Sorry if i use english not well.
I flashed Mi 10 Indian with Xiaomi.eu Miui 12 beta. Now i want to back to Stock Miui 11 but when i use Mi Flash Tool Its give
'antirollback check error'. there is any way to back Miui 11 stock
rashmi0733 said:
I flashed Mi 10 Indian with Xiaomi.eu Miui 12 beta. Now i want to back to Stock Miui 11 but when i use Mi Flash Tool Its give
'antirollback check error'. there is any way to back Miui 11 stock
Click to expand...
Click to collapse
https://www.xda-developers.com/xiaomi-anti-rollback-protection-brick-phone/
Format phone viai TWRP, install any ROM you want!
head_djmusic said:
Format phone viai TWRP, install any ROM you want!
Click to expand...
Click to collapse
thank but i read some ware :if you have anti rollback protection than you should not install stock rom viai TWRP its hard brick your phone"
so i want to know you try this before and its 100% safe use TWRP
how to install xiaomi.eu on Indian Mi 10
rashmi0733 said:
thank but i read some ware :if you have anti rollback protection than you should not install stock rom viai TWRP its hard brick your phone"
so i want to know you try this before and its 100% safe use TWRP
Click to expand...
Click to collapse
Hi rashmi0733, can u explain me how to install xiaomi.eu on Indian Mi 10
How to install xiaomi.eu on Indian Mi 10
rashmi0733 said:
I flashed Mi 10 Indian with Xiaomi.eu Miui 12 beta. Now i want to back to Stock Miui 11 but when i use Mi Flash Tool Its give
'antirollback check error'. there is any way to back Miui 11 stock
Click to expand...
Click to collapse
How to install xiaomi.eu on Indian Mi 10
rashmi0733 said:
thank but i read some ware :if you have anti rollback protection than you should not install stock rom viai TWRP its hard brick your phone"
so i want to know you try this before and its 100% safe use TWRP
Click to expand...
Click to collapse
Hi.
Do it like this, install TWRP and then the operating system of your choice. There is also the question of how you could install the ROM without TWRP.
Hardbrick with TWRP, never, I don't think so.
I have now easily shot my device 20 times and put it on again and again, definitely shot 100 devices over 10,000 times over the years and never suffered a hard brick.
You can do it, otherwise the heroes will help you here. :highfive:
sudhakar.ksvn said:
Hi rashmi0733, can u explain me how to install xiaomi.eu on Indian Mi 10
Click to expand...
Click to collapse
Unlock Bootloader
flash TWRP
boot Twrp
format Data
copy rom on phone
install rom
reboot and enjoy new rom
Thank For all suggestion i found one way to back stock Miui 11 without twrp
its working now i installed miui 11 and lock bootloader again.
rashmi0733 said:
Thank For all suggestion i found one way to back stock Miui 11 without twrp
its working now i installed miui 11 and lock bootloader again.
Click to expand...
Click to collapse
Oh really nice!
Do you mind to share your solution?
I don't need it but it's the purpose of forum ....
Greetings
Failed to mount '/system_root'
rashmi0733 said:
Unlock Bootloader
flash TWRP
boot Twrp
format Data
copy rom on phone
install rom
reboot and enjoy new rom
Click to expand...
Click to collapse
thanks for ur reply, bur i am getting .....
Updater process ended with ERROR: 7
Failed to mount '/system_root' ( No such file or directory)
can u help me regarding this, what twrp version have u used
sudhakar.ksvn said:
thanks for ur reply, bur i am getting .....
Updater process ended with ERROR: 7
Failed to mount '/system_root' ( No such file or directory)
can u help me regarding this, what twrp version have u used
Click to expand...
Click to collapse
i Used this TWRP
https://androidfilehost.com/?fid=4349826312261728614
https://gsmhostingfiles.com/index.php?a=downloads&b=file&id=14217
sudhakar.ksvn said:
thanks for ur reply, bur i am getting .....
Updater process ended with ERROR: 7
Failed to mount '/system_root' ( No such file or directory)
can u help me regarding this, what twrp version have u used
Click to expand...
Click to collapse
Hi,
this happens because your system partition is "broken".
If you go to "Wipe" and select "Format Data" there it will delete all partitions and the system of your device.
Then you start again in the TWRP and connect the device via USB to a PC or via OTG to a stick on which you have the operating system of your choice and drag it to your device.
Then select the ZIP / OS in the TWRP under "Install" and have it installed. It also creates the new partitions that he could not find with you.
I wish you success:fingers-crossed:
Ner0o1 said:
Hi,
this happens because your system partition is "broken".
If you go to "Wipe" and select "Format Data" there it will delete all partitions and the system of your device.
Then you start again in the TWRP and connect the device via USB to a PC or via OTG to a stick on which you have the operating system of your choice and drag it to your device.
Then select the ZIP / OS in the TWRP under "Install" and have it installed. It also creates the new partitions that he could not find with you.
I wish you success:fingers-crossed:
Click to expand...
Click to collapse
Don't think format data wipes the system partition does it?
Unless Xiaomi have really changed things, data should be completely separate. Format data should wipe the internal storage only which includes cache partition.
Twrp can wipe system, but shouldn't do unless specifically chosen to do so via several steps, not a single button press.
fards said:
Don't think format data wipes the system partition does it?
Unless Xiaomi have really changed things, data should be completely separate. Format data should wipe the internal storage only which includes cache partition.
Twrp can wipe system, but shouldn't do unless specifically chosen to do so via several steps, not a single button press.
Click to expand...
Click to collapse
no data format dont touch system
Yes, of course not the whole system partition, sorry.
From German into English is sometimes not that easy.?
In this case, TWRP will of course only delete the data as it stands there.
Otherwise everyone will find a step by step guide for almost every device a thousand times, thanks to you. So it should be also possible for everyone here.
Best regards and thank you two.:highfive:
rashmi0733 said:
Unlock Bootloader
flash TWRP
boot Twrp
format Data
copy rom on phone
install rom
reboot and enjoy new rom
Click to expand...
Click to collapse
Thanks for ur reply .. now i am able to successfully install the .eu ROM on my Indian Mi10
rashmi0733 said:
Thank For all suggestion i found one way to back stock Miui 11 without twrp
its working now i installed miui 11 and lock bootloader again.
Click to expand...
Click to collapse
Hello rashmi0733 I am also stuck in the same situation can you help me how u rolled back the beta update. Please help
Arif shaikh said:
Hello rashmi0733 I am also stuck in the same situation can you help me how u rolled back the beta update. Please help
Click to expand...
Click to collapse
I also want to go back to stable ROM
Its very simple to bypass the Anti rollback on miflash, just download the fastboot version of the ROM you want to install, unzip it and you'll have to edit this file (flash_all.bat), with for instance note++. And you remove 5 or 6 lines that does not begin by FASTBOOT. You can't miss it.
You can close and save.
Afterwards, just flash that same file that you just edited, and no more anti rollback error!
A second tip that I have when you just can't install custom firmwares on the mi 10, just flash stock firmware with miflash, reboot and flash TWRP. Transfer your custom firmware to your phone, flash it and ONLY format data afterwards! It was the only way to get a custom firmware on my mi10. It's my 5th xiaomi device and never experienced something like this...tried all TWRP available for the mi 10, but only by doing this way, I was able to succesfully install xiaomi.eu.
Good luck!