Wiped the system files by mistake - Xiaomi Redmi Note 4 Questions & Answers

I mistakenly wiped the system files in twrp mode and when I tried restoring the nandroid backup I previously made, it got stuck and only boot and data[excl storage] are getting restored. Now even the nandroid backup has no system files in it. After that, I tried almost every method I knew. I flashed the full fastboot rom via mi flash. After that, it is showing the message as "the system is destroyed".What should I do?
The twrp I am using is twrp -3.2.1-0-mido.img

krunch7520 said:
I mistakenly wiped the system files in twrp mode and when I tried restoring the nandroid backup I previously made, it got stuck and only boot and data[excl storage] are getting restored. Now even the nandroid backup has no system files in it. After that, I tried almost every method I knew. I flashed the full fastboot rom via mi flash. After that, it is showing the message as "the system is destroyed".What should I do?
The twrp I am using is twrp -3.2.1-0-mido.img
Click to expand...
Click to collapse
Did you try installing a custom rom?

krunch7520 said:
I mistakenly wiped the system files in twrp mode and when I tried restoring the nandroid backup I previously made, it got stuck and only boot and data[excl storage] are getting restored. Now even the nandroid backup has no system files in it. After that, I tried almost every method I knew. I flashed the full fastboot rom via mi flash. After that, it is showing the message as "the system is destroyed".What should I do?
The twrp I am using is twrp -3.2.1-0-mido.img
Click to expand...
Click to collapse
Flash the fastboot rom through ADB commands using this method it works https://forum.xda-developers.com/xiaomi-redmi-3s/help/to-flash-stock-rom-miflash-easy-mi-t3678148

This shouldn't happen...i always wipe system partition before flashing any rom...I even wiped system partition during the installation of xiaomi.eu rom once...and it didn't do any harm...

Related

Blank screen after restoring backup with TWRP

I own the Nexus 9 (Wi-fi model) and am running Android 6.0 MRA58N, rooted with the TWRP recovery. I wanted to to update to android 6.0.1 so downloaded the latest factory image (MMB29R) from Google's website. I rebooted to TWRP so I could flash the new image. When I realized that you cannot flash system.img through TWRP I had already flashed the boot.img. I attempted to reboot only to get stuck in a bootloop. "Luckily me" I had taken a backup through TWRP previously (boot, data and system). So I went again in TWRP, factory reset and restored (successfully as per the message) the backup. Now every time I boot I see Google's logo, then the "Your device is corrupt" message, that I'm seeing since I installed TWRP (it doesn't seem to affect anything) and then a blank screen that goes on forever.
I had this backup moved to my hard drive and the moved it back to my device. Tried the "fix permissions" option in TWRP as well. No go.
Any suggestions?
I managed to fix it by installing the system, cache, boot and vendor partitions from the new build and the data partition from my nandroid backup.
same happen to me yesterday..what i did is,reboot into fastboot.and then flash vendor, system, boot, cache and also recovery..i have twrp install,but it show 0mb on internal storage.flash stock recovery fix that problem..and after that i flash twrp,supersu and elementalx again..it fix my problem
Sent from my Nexus 9 using Tapatalk

Is EMMC of my phone corrupted or not?

I am using Spice Dream UNO(Android One).
Bootloader: Unlocked
ROM: Marshmallow Stock ROM
Rooted: Yes
Recovery: TWRP
My phone suddenly started giving continuous Force closes so I restarted it and got stuck in a bootloop. Trying to Wipe any partitions failed with Error 1 and I was unable to copy or write to any partition from TWRP file manager. Nandroid backup and restore failed too.
So, I tried to flash Stock Lollipop ROM using SP Flash Tools and it flashed successfully but now all partitions show 0 MB size except Boot, IMEI and Recovery partitions.
Flashing ROM or restoring backup using TWRP still fails. Changing partition format, wiping, formatting fails too. Manual flashing using fastboot shows success but partition sizes still stay at 0MB. I have tried everything but I am not able to restore the partitions back to normal.
I haven't used the format feature of SP flash tools.
Now starting TWRP or fastboot turns the phone off and I am not able to access them.
Is EMMC of this phone corrupted or not? Can it be fixed?
Anyone? It's urgent.
Please, anybody? I need this phone right now.

TWRP Backup & Restore HELP!

I'll try and keep this short and to the point, any other info you require to help me out i'll add.
My Z5c is running 32.4.A.1.54, unlocked bootloader and rooted using rootkernel which adds TWRP.
Straight after rooting and after initial setup of the phone I started TWRP and created a backup, all available partitions were selected and the back completed. I then copied it to my PC.
Anyway, no the problem. I was messing with the phone and then after every boot of the phone i kept getting some app crashes. No problem i thought i'll just restore my backup in TWRP. I selected to restore the system and data partion ONLY, then wiped cache & dalvik and rebooted.
It didn't reboot, just the sony logo then a loop back to the sony logo and then into TWRP again. What did I do wrong?
So i decided to restore all partitions except the TA one and that resulted in the same problem. So recover i just flashed stock with flashtool and all is well.
My question is regarding TWRP and restoring a backup. Which partitions do you have to restore? All of them? What is safe to omit when doing a restore?
andybog said:
I'll try and keep this short and to the point, any other info you require to help me out i'll add.
My Z5c is running 32.4.A.1.54, unlocked bootloader and rooted using rootkernel which adds TWRP.
Straight after rooting and after initial setup of the phone I started TWRP and created a backup, all available partitions were selected and the back completed. I then copied it to my PC.
Anyway, no the problem. I was messing with the phone and then after every boot of the phone i kept getting some app crashes. No problem i thought i'll just restore my backup in TWRP. I selected to restore the system and data partion ONLY, then wiped cache & dalvik and rebooted.
It didn't reboot, just the sony logo then a loop back to the sony logo and then into TWRP again. What did I do wrong?
So i decided to restore all partitions except the TA one and that resulted in the same problem. So recover i just flashed stock with flashtool and all is well.
My question is regarding TWRP and restoring a backup. Which partitions do you have to restore? All of them? What is safe to omit when doing a restore?
Click to expand...
Click to collapse
The old TWRP in rootkernel had a backup problem if i remember correctly. Use a newer TWRP.
Thanks, i'll use 'your' TWRP from here.

Internal storage encrypted, no ROM installed

Hello. I was using recently official LegionOS. I wanted to try Havoc so i've flashed it using OrangeFox Recovery. The device didn't boot, got stuck on Xiaomi logo, vibrated and rebooted to recovery. I tought it was maybe faulty file so i've flashed other rom that I was using before - Fluid. Same result here, I tried now to restore my backup (all partitions without internal) with EvolutionX. Still nothing, phone has rebooted to recovery and I saw that all files have been encrypted. Now i can't do anything other than full wipe. Is there any option to rescue these files from internal storage? I've tried TWRP but it didn't help.
tvv0rus said:
Hello. I was using recently official LegionOS. I wanted to try Havoc so i've flashed it using OrangeFox Recovery. The device didn't boot, got stuck on Xiaomi logo, vibrated and rebooted to recovery. I tought it was maybe faulty file so i've flashed other rom that I was using before - Fluid. Same result here, I tried now to restore my backup (all partitions without internal) with EvolutionX. Still nothing, phone has rebooted to recovery and I saw that all files have been encrypted. Now i can't do anything other than full wipe. Is there any option to rescue these files from internal storage? I've tried TWRP but it didn't help.
Click to expand...
Click to collapse
format data and flash

Bootloop aftert restoring a TWRP backup

As the title says I always get a bootloop into recovery when the restore process finishes.
I tried everything, flashing the same rom as in the backup before restoring, however it never boots normally.
As I am on a stock MIUI 13 I flashed the stock image and then restored the backup, still a bootloop into recovery.
No matter what I do I am unable to restore my TWRP backup, so every time I want to try a new ROM I end up reinstalling everything from scratch.
Is it because my data is encrypted, or dynamic partitions? This never happened with any of my previous phones, is it possible to restore a backup on Mi10?
alfaholic said:
As the title says I always get a bootloop into recovery when the restore process finishes.
I tried everything, flashing the same rom as in the backup before restoring, however it never boots normally.
As I am on a stock MIUI 13 I flashed the stock image and then restored the backup, still a bootloop into recovery.
No matter what I do I am unable to restore my TWRP backup, so every time I want to try a new ROM I end up reinstalling everything from scratch.
Is it because my data is encrypted, or dynamic partitions? This never happened with any of my previous phones, is it possible to restore a backup on Mi10?
Click to expand...
Click to collapse
Backups and restore on the TWRP with some phone models does not work correctly either because it does not decrypt or is too old compared to the rom or you try to restore an older rom version on a more recent rom and sometimes the reverse also does not work (because of the system).
Try a more recent Twrp (just in case) but anyway the restoration will not be done with a more recent Twrp.
If you are on MIUI micloud works relatively well but obviously you can only restore the data not the system.
https://androidfilehost.com/?w=files&flid=318277
alfaholic said:
As the title says I always get a bootloop into recovery when the restore process finishes.
I tried everything, flashing the same rom as in the backup before restoring, however it never boots normally.
As I am on a stock MIUI 13 I flashed the stock image and then restored the backup, still a bootloop into recovery.
No matter what I do I am unable to restore my TWRP backup, so every time I want to try a new ROM I end up reinstalling everything from scratch.
Is it because my data is encrypted, or dynamic partitions? This never happened with any of my previous phones, is it possible to restore a backup on Mi10?
Click to expand...
Click to collapse
try flashing miui 12 rom first, then restore twrp back up (format data also before restoring)
and chose the latest version of twrp for android 11 or 12 (depends on your Rom)
maybe it will work

Categories

Resources