Partition "Firmware" failed to restore - Xiaomi Redmi Note 3 Questions & Answers

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?

Related

cm13 can't restore aosp

hello,
I have installed cm13 and I want to get back to aosp 5.1,
I have twrp backup but when I click to restore there is information that firmware partition is in read-only mounted...
Is there any solution to fix it?
Read only mode is unclicked.
cvallo2 said:
hello,
I have installed cm13 and I want to get back to aosp 5.1,
I have twrp backup but when I click to restore there is information that firmware partition is in read-only mounted...
Is there any solution to fix it?
Read only mode is unclicked.
Click to expand...
Click to collapse
There is a mount option in twrp. Tick firmware and other relevant things there.
Alternatively restore everything except partition. Then flash the aosp rom again without any wipes. Boot it up. You shouldn't lose any data at all.
Sent from my kenzo using Tapatalk
cvallo2 said:
hello,
I have installed cm13 and I want to get back to aosp 5.1,
I have twrp backup but when I click to restore there is information that firmware partition is in read-only mounted...
Is there any solution to fix it?
Read only mode is unclicked.
Click to expand...
Click to collapse
Hi, which cm13 you used? Some of them will relock bootloader when you flashed it. So, check it via fastboot, type "fastboot oem device-info". You might need to re-unlock.
Sent from my Redmi Note 3 using Tapatalk
Thanks for answers.
It was cm13 official...and probably it locked my bootloader again - thanks for tip, then i've install aosp again and next my backup and voila it works

I can't flash any ROMs on my Honor 5X KIW L-21, or OTA update it.

So, I've been trying to flash CyanogenMod 12.1, since I'm still stuck on EMUI 3.1, because I can't flash OTA updates (I've tried everything, dload method, and yes I have unrooted and used the stock recovery)
Every time I try to flash a ROM via TWRP it turns off for a second and then boots back to TWRP starting screen. Also, when I boot my phone the boot animation's Honor H is red for some reason.
Thanks in advance!
Fonku said:
So, I've been trying to flash CyanogenMod 12.1, since I'm still stuck on EMUI 3.1, because I can't flash OTA updates (I've tried everything, dload method, and yes I have unrooted and used the stock recovery)
Every time I try to flash a ROM via TWRP it turns off for a second and then boots back to TWRP starting screen. Also, when I boot my phone the boot animation's Honor H is red for some reason.
Thanks in advance!
Click to expand...
Click to collapse
Are you sure you have the right boot.img and recovery.img?
Usually that symptoms are due to messed partitions.
Did you flash current img files or did you got them from a different rom version?
zinko_pt said:
Are you sure you have the right boot.img and recovery.img?
Usually that symptoms are due to messed partitions.
Did you flash current img files or did you got them from a different rom version?
Click to expand...
Click to collapse
Well, actually I once bricked my phone and had to restore through a TWRP backup, that only had the System and Boot partitions and it was the B130 version when I had B140, but it worked. So, do I need to completely flash everything or can I just pick up some files from somewhere?
Fonku said:
Well, actually I once bricked my phone and had to restore through a TWRP backup, that only had the System and Boot partitions and it was the B130 version when I had B140, but it worked. So, do I need to completely flash everything or can I just pick up some files from somewhere?
Click to expand...
Click to collapse
No, you need to have all the files from the same version.
Flash boot, recovery, cust and system.
zinko_pt said:
No, you need to have all the files from the same version.
Flash boot, recovery, cust and system.
Click to expand...
Click to collapse
So, is there a FULL KIW-L21C432B140 restore packet somewhere?
Thanks for your help!
Fonku said:
So, is there a FULL KIW-L21C432B140 restore packet somewhere?
Thanks for your help!
Click to expand...
Click to collapse
http://forum.xda-developers.com/honor-5x/how-to/repository-honor-5x-file-depot-t3328288
You can use B130 as it is also Lollipop. But all the img from the same rom. You can update to B350 manually after, but first you need a stable rom working.
Let us know man if you fixed your phone. So if not, we can give firther recommendations.
Sent from my Galaxy Tab 3 using XDA Labs

Deleted Internal Storage Accidently (HELP!)

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. ?

WIFI not toggling on after installing only TWRP

I unlocked bootloader (critical aswell) today and installed twrp on my A3. The device is NOT rooted
Weird thing is I can't use my wifi anymore, anytime I try to toggle it on it just jumps back.
Anyone knows what caused this and how I can fix it?
felloguard123 said:
I unlocked bootloader (critical aswell) today and installed twrp on my A3. The device is NOT rooted
Weird thing is I can't use my wifi anymore, anytime I try to toggle it on it just jumps back.
Anyone knows what caused this and how I can fix it?
Click to expand...
Click to collapse
Did you flash any boot.img when installing twrp? Or after you installed twrp?
If you did that is more than likely the problem. Flash original stock boot.img from the same security patch date as your firmware and flash it in twrp and then flash twrp installer afterwards
It seems your boot.img corrupted. If you format data and wipe dalvik cache data and flash stock rom you will succeed i think
---------- Post added at 10:22 PM ---------- Previous post was at 10:18 PM ----------
https://c.mi.com/oc/miuidownload/detail?device=1900372
download official xiaomi mi a3 rom here. and flash it via pc and you will have brand new stock rom. Try it if you fail i will help you when i have free time
garylawwd said:
Did you flash any boot.img when installing twrp? Or after you installed twrp?
If you did that is more than likely the problem. Flash original stock boot.img from the same security patch date as your firmware and flash it in twrp and then flash twrp installer afterwards
Click to expand...
Click to collapse
I was stupid and thought I did it without a boot image untill I checked all of my commands again.
I used fastboot flash boot twrp-3.3.1-15-laurel_sprout-mauronofrio.img .
My phone was on V10.3.9.0 EUropean. But that image file is for twrp or is it also a boot.img? Not sure if this caused the problem? I'm very new to all of this so how can I find a stock boot.img of that version and how do I flash it again? I feel kinda lost right now.
Anyone can help me out with this?
felloguard123 said:
Anyone can help me out with this?
Click to expand...
Click to collapse
This phone has the recovery inside the boot partition, this is why you need to flash the boot partition, you do not need to flash it again normally, you just flash it to the other slot, boot twrp, go back on the original slot, flash twrp using the .zip file, idk where you should get the boot.img file, but lok online for it, maybe you will find it.
EDIT: https://github.com/AndroidDumps/xia...KQ1.190416.001-V10.3.9.0.PFQMIXM-release-keys
antoine62 said:
This phone has the recovery inside the boot partition, this is why you need to flash the boot partition, you do not need to flash it again normally, you just flash it to the other slot, boot twrp, go back on the original slot, flash twrp using the .zip file, idk where you should get the boot.img file, but lok online for it, maybe you will find it.
EDIT: https://github.com/AndroidDumps/xia...KQ1.190416.001-V10.3.9.0.PFQMIXM-release-keys
Click to expand...
Click to collapse
But what was the my fault here? What did I wrong? Was it the .img file of the twrp or did I install it wrongly? I am very new to this and don't understand why there are 2 slots etc. Sorry for the confusion.
felloguard123 said:
But what was the my fault here? What did I wrong? Was it the .img file of the twrp or did I install it wrongly? I am very new to this and don't understand why there are 2 slots etc. Sorry for the confusion.
Click to expand...
Click to collapse
You installed it uncorrectly, you need to switch slot (because this device have an A/B partition type), flash twrp, boot it, switch to the og slot, flash twrp using the .zip file (so it modify your current boot.img), and done.
This phone will be my first A/B phone, i cant wait to receive it.
But what you didnt is still correct, just not perfect.
antoine62 said:
You installed it uncorrectly, you need to switch slot (because this device have an A/B partition type), flash twrp, boot it, switch to the og slot, flash twrp using the .zip file (so it modify your current boot.img), and done.
This phone will be my first A/B phone, i cant wait to receive it.
But what you didnt is still correct, just not perfect.
Click to expand...
Click to collapse
So twrp has to be installed on both partitions?
I'm not sure if really twrp installed on only one partition could cause Wifi problems.
I would assume that my .img for twrp was faulty.
a
garylawwd said:
Did you flash any boot.img when installing twrp? Or after you installed twrp?
If you did that is more than likely the problem. Flash original stock boot.img from the same security patch date as your firmware and flash it in twrp and then flash twrp installer afterwards
Click to expand...
Click to collapse
and how to do that:{?
i have same problem as yours and searched too many videos on youtube but then i have decided to remove the twrp from the device and no one yet has told me that how to flash twrp in another partition rather i dont know what is the another partition

How to Fix Anti Rollback

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!

Categories

Resources