The System Has been destroyed(need help) - POCO M2 Pro Questions & Answers

flashed the latest pixel exp rom
everything was good, but decided to switch back to miui, so got onto the Fastboot opened the miflash, had my extracted files ready to flash, flashed error occured the device didnt boot into miui or pixel exp,
i had once did this before when switching from evolution x to miui there was no problem, but this time the System has been destroyed
ALSO NOTE: i was using orange fox recovery
i can still boot into orange fox recovery
i did not set any pins or lock while flashing the phone was open but still the orange fox recovery didn't show the internal storage files
also i guess the problem is the system is encrypted from pixel exp rom
i tried wiping all partitions it goes well but only internal storage is not wiped
it shows Error openin: '/data/media' (no such file or directory)
please help

Bro, Did you find the solution?
I am facing the same problem.

Siddiq1011 said:
flashed the latest pixel exp rom
everything was good, but decided to switch back to miui, so got onto the Fastboot opened the miflash, had my extracted files ready to flash, flashed error occured the device didnt boot into miui or pixel exp,
i had once did this before when switching from evolution x to miui there was no problem, but this time the System has been destroyed
ALSO NOTE: i was using orange fox recovery
i can still boot into orange fox recovery
i did not set any pins or lock while flashing the phone was open but still the orange fox recovery didn't show the internal storage files
also i guess the problem is the system is encrypted from pixel exp rom
i tried wiping all partitions it goes well but only internal storage is not wiped
it shows Error openin: '/data/media' (no such file or directory)
please help
Click to expand...
Click to collapse
copy the fastboot img file in the C folder of your computer and then select directory to C.

Related

TWRP Can't Mount /System - OP3 Bricks When Trying to Flash New ROM??

I'm currently running my OP3 on Resurrection Remix 5.7.4 (MM 6.01), the phone has the latest version of TWRP and I've flashed other ROMs in the past without any issue
RR has proven to be quite unstable for me, the system UI keeps crashing, which renders the phone unusable until after a reboot so I wanted to flash Freedom OS as that worked quite well for me previously. When I tried to flash the ROM in TWRP the ROM seemed to flash successfully but when I rebooted, only the boot logo showed and then the screen went black and the phone refused to respond at all for about two hours, after that exactly the same thing happened. I managed to boot into recovery and tried flashing a different ROM but the result was the same every time, the only way to get the phone to work normally was to flash RR again/restore from a Nandroid backup, either way, the result is the same, I'm stuck on an unstable ROM and I don't know why, the last time I flashed these ROMs they worked fine, I followed all of the instructions for flashing said ROMs to the letter, I have the latest version of TWRP, etc.
Also it seems TWRP can't mount /system, in TWRP under "mount", system is unchecked, I checked it and tried again but found that whenever I rebooted the phone or attempted to flash a new ROM, it would always uncheck itself and flashing the ROM would fail, however strangely flashing the same version of RR was always successful. Is this why the flashing keeps failing and does anyone know what the problem could be?
Thanks!
bronderb said:
Go into your bootloader and format system, cache, and userdata (This will wipe EVERYTHING so be sure to backup). Then latest official flash stock rom and reboot. This should fix it. If this helped hit thanks!
Click to expand...
Click to collapse
Bootloader? There is no option in the bootloader to delete everything as far as I can see, do you mean in recovery? And if I wipe everything off the phone, how do I get the stock ROM onto the phone to flash it? When you say wipe userdata do you mean wipe internal storage or am I misunderstanding and you're telling me to wipe the usual dalvik, cache and data as you would for a normal clean flash?
bronderb said:
No, go into fastboot and plug into pc. Open cmd and type "fastboot format userdata" "fastboot format cache" "fastboot format system"
Click to expand...
Click to collapse
Okay, thanks, and then what? Do I flash TWRP then push the stock ROM to the phone and flash that? And exactly how do I do that?
bronderb said:
You just go into twrp (no need to reflash) then adb sideload oxygen os
Click to expand...
Click to collapse
Thank you, I am now running OOS, hopefully everything else will go smoothly now, planning to go back to FOS again
I didn't even have to use the fastboot commands to format, just sideloading the OOS file wiped everything anyway
Turns out the issue isn't actually fixed, "system" still appears unchecked in TWRP. Could the fact that I didn't actually format everything first have made a difference, given everything was wiped in the process anyway?
Looks like I'm going to be living the sideloading life...
Edit: Sideloading freedom OS failed, ended up having to restore from my TWRP backup. I don't know what I'm going to do, my main reason for using custom ROMs is installing a black theme, and OOS doesn't support Layers or Substratum fully so I can't stay on that
Is the thing that says "mount system as read-only" enabled in the mounts menu? /System isn't ever mounted when TWRP starts, you have to manually mount it, but as long as the updater-script tells /system to mount, it will. However, if that option to make it read-only is enabled, then nothing will ever write to /system. Last resort is deleting the .twrps file from /sdcard/TWRP folder to remove current TWRP preferences and then when you boot into TWRP, that first screen has the swiper to allow modifications, and you'll swipe that
frickinjerms said:
Is the thing that says "mount system as read-only" enabled in the mounts menu? /System isn't ever mounted when TWRP starts, you have to manually mount it, but as long as the updater-script tells /system to mount, it will. However, if that option to make it read-only is enabled, then nothing will ever write to /system. Last resort is deleting the .twrps file from /sdcard/TWRP folder to remove current TWRP preferences and then when you boot into TWRP, that first screen has the swiper to allow modifications, and you'll swipe that
Click to expand...
Click to collapse
It isn't set to read only, I have tried updating and resetting TWRP but nothing has helped, in fact it's got worse, I managed to sideload OOS but my attempted install of FOS failed so I tried to restore from a backup and that also failed, something which didn't happen back when I was on RR.
evilkitty69 said:
It isn't set to read only, I have tried updating and resetting TWRP but nothing has helped, in fact it's got worse, I managed to sideload OOS but my attempted install of FOS failed so I tried to restore from a backup and that also failed, something which didn't happen back when I was on RR.
Click to expand...
Click to collapse
Which version of TWRP are you running? The official 3.1.0-0 is good for OOS and OOS based ROMs only. Try eng.stk's version.
Use the latest eng-stk twrp.
https://forum.xda-developers.com/devdb/project/?id=15934#downloads
In recovery go to Wipe > Format data (this will wipe ALL in youre phone).
It's youre Data in F2FS? If yes you must change it to ext4, in recovery Wipe > Change file system. Reboot recovery. Check if it's changed.
Reboot to Bootloader (Fastboot). From PC reflash recovery.
Now copy Oos rom to the phone memory. Flash rom. Reflash recovery (the rom will overwrite the recovery). Reboot to recovery to see if it works. If not do it again.
I sugest to NOT restore old data. This way you'll have all new in youre phone.
tnsmani said:
Which version of TWRP are you running? The official 3.1.0-0 is good for OOS and OOS based ROMs only. Try eng.stk's version.
Click to expand...
Click to collapse
I was running 3.0.2-2 when the issue started, I updated to 3.0.3 and 3.1.0-0 but nothing changed. Thanks for the suggestion, I will give it a try
null0seven said:
Use the latest eng-stk twrp.
https://forum.xda-developers.com/devdb/project/?id=15934#downloads
In recovery go to Wipe > Format data (this will wipe ALL in youre phone).
It's youre Data in F2FS? If yes you must change it to ext4, in recovery Wipe > Change file system. Reboot recovery. Check if it's changed.
Reboot to Bootloader (Fastboot). From PC reflash recovery.
Now copy Oos rom to the phone memory. Flash rom. Reflash recovery (the rom will overwrite the recovery). Reboot to recovery to see if it works. If not do it again.
I sugest to NOT restore old data. This way you'll have all new in youre phone.
Click to expand...
Click to collapse
Help! I attempted to do this and the process failed, I didn't manage to wipe data because "/data could not be mounted as device or resource is busy"
Edit: Device now has nothing but TWRP and fastboot, no OS, no ADB, no data, no internal storage
If you can reflash twrp from PC. If not reflash recovery from twrp recovery : Instal > Image > Select Recovery (you must have TWRP.img in youre phone memory )
I managed to get hold of a few factory images and attempted to flash system.img through fastboot, resulting error was
"target reported max download size of 536,870,912 bytes" (system image is 3080 MB)
"invalid sparse file format at header magi"
null0seven said:
If you can reflash twrp from PC. If not reflash recovery from twrp recovery : Instal > Image > Select Recovery (you must have TWRP.img in youre phone memory )
Click to expand...
Click to collapse
I reflashed the modified TWRP successfully. The second suggestion wouldn't have worked, given my phone has no internal storage
You can't see internal storage because of the recovery does not work write.
If you have a working recovery you can do all you want.
null0seven said:
You can't see internal storage because of the recovery does not work write.
If you have a working recovery you can do all you want.
Click to expand...
Click to collapse
The recovery was working at this point, the issue turned out to be the data partition, system was formatted to ext4 but I didn't realise data was in f2fs which caused the problem in the first place. I formatted to ext4 and everything worked, I was able to install paranoid android and everything worked...
...until I flashed the wrong firmware and now I've hard bricked it! I'm going to try the hard brick toolkit
Edit: After 12 hours of being an unresponsive brick, the phone suddenly booted, system doesn't work but it has recovery. Unfortunately I seem to be back to square one, if I try to flash something it appears to succeed but then the phone doesn't boot up into system
So I am now back to the original issue of system not mounting, in terminal if I type "mount /system" I get following error:
"mounting /dev/block/sde20 on /system failed: Device or resource is busy"
Anyone know how to solve this?
I formatted everything, reflashed recovery and tried to flash OOS, got following error:
Code:
[FONT="Courier New"]"This package is for OnePlus3 devices, this is a oneplus3t" (it isn't)
"Updater process ended with ERROR: 7
Error installing zip file /sdcard/OOS3.2.6.zip" [/FONT]
Issue was "solved" by flashing PA, GApps and the correct firmware
Hopefully that's the end of all this drama, thanks to everyone for their suggestions
Hi, I'm pretty new at rooting and I seem to have a similar error. I'm getting the "can't mount /system" error in TWRP. I am able to boot into OOS 4.1.3 and run the nandroid backup but, I keep getting the same error and am unable to select "system" when choosing the mount option in TWRP.
Do I need to have all partitions in f2fs? My system partition is in ext4. Is this what solved your issue?
It seems my phone is functional even with the error active but, I've been trying to get systemless SuperSU and MagiskHide working and I think that's what is preventing me from doing so.

Can't recover from a wipe

Hi everyone !
I wanted to install the new MIUI 9 rom (9.5.8.0 OCAMIFA) through the recovery, but couldn't find any file in the TWRP recovery. I had an error when mounting the data partition.
I saw the solution was to reformat the data partition, so I wiped and reformated the partition. After that, I coudn't flash the 9.5.8.0 rom. I had an arror telling me that my device was not compatible. Actually the updater script within the ROM zip file looks for a variable called product and it must be set to 'sagit', the name of the MI6. But on mine it is not set, I don't know why. So I modified the updater script and succeded in flashing the ROM, but the phone got stuck at startup, with the Mi logo.
I saw that to get rid of that I had to flash the rom through fastboot. So I downloaded the Mi flash tool and the fastboot version of a rom (9.5.6.0). Once again, I had to modify the bat scripts, since they were looking for this 'product' variable that is not set on my phone. The flash started well but eventually after 30 seconds I had an error (write error) whatever the bat file I used.
But I didn't give up. I still had an old TWRP backup on my hard drive. So I rebooted in recovery mode, and transfered the backup files. But during the transfer, it stops copying ; the progress bar get stuck. I tried to copy file by file, but only the small files are copied. The big ones never make it to the end.
I think I'm cursed. Now I don't know what to do. I think I've tried almost anything I could.
Does anyone have an idea ?
i've also got bootloop after updating from 9.2.2.0 to 9.5.8.0 through TWRP, now i'm hopeless and also looking for help. i've wiped cache,dalvik,and data (exclude internal storage) even i've flashed dm-verity.zip to avoid bootloop after flashing the rom
jeanvalery said:
Hi everyone !
I wanted to install the new MIUI 9 rom (9.5.8.0 OCAMIFA) through the recovery, but couldn't find any file in the TWRP recovery. I had an error when mounting the data partition.
I saw the solution was to reformat the data partition, so I wiped and reformated the partition. After that, I coudn't flash the 9.5.8.0 rom. I had an arror telling me that my device was not compatible. Actually the updater script within the ROM zip file looks for a variable called product and it must be set to 'sagit', the name of the MI6. But on mine it is not set, I don't know why. So I modified the updater script and succeded in flashing the ROM, but the phone got stuck at startup, with the Mi logo.
I saw that to get rid of that I had to flash the rom through fastboot. So I downloaded the Mi flash tool and the fastboot version of a rom (9.5.6.0). Once again, I had to modify the bat scripts, since they were looking for this 'product' variable that is not set on my phone. The flash started well but eventually after 30 seconds I had an error (write error) whatever the bat file I used.
But I didn't give up. I still had an old TWRP backup on my hard drive. So I rebooted in recovery mode, and transfered the backup files. But during the transfer, it stops copying ; the progress bar get stuck. I tried to copy file by file, but only the small files are copied. The big ones never make it to the end.
I think I'm cursed. Now I don't know what to do. I think I've tried almost anything I could.
Does anyone have an idea ?
Click to expand...
Click to collapse
Try to transfer your backup file with adb push maybe, and see if that manages to copy your file over (You need to have adb installed on your computer of course)
I dont have my Xiaomi Mi 6 rooted, so I can't test it on my Mi 6, but I tested this on my rooted Z3 Compact, and it seems to work great there
Reboot into recovery launch a command prompt on your computer and type:
adb devices to see if you can see your device
if that works you can try to adb push to transfer your TWRP-backup
like this:
adb push /home/zteam/adb-backup/backup.zip /

Bricked? Solutions?

Hello.
Tried flashing older stock rom via TWRP.
TWRP installed fine, worked fine, flashed vbmeta, still everything worked.
Downloaded ROM, put it into the sd card, went into twrp, formatted data, rebooted into twrp again, wiped Dalvik/ART cache, cache, system, vendor and internal memory, tried flashing, gave error 7, with "mkdir folder file not existing or whatever". In twrp i went into terminal, made a directory /cache/recovery, tried flashing, worked. Wiped dalvik and when i tried to reboot, the backlight turns on for a split moment and then it turns off.
Recovery does the same, and fastboot lights up the screen with the image of fastboot but it turns off. Plugging it with the usb makes it so it repeatedly turn on backlight and off again.
What does this mean? Device dead? Any help?
Thank you.
Maybe try flashing a custom rom
With what tools if I may ask? Any advice you can give me?
Fastboot doesn't stay on like it should, the screen just flashes the fastboot picture and it restarts again. Recovery does the same.
Try following bliss rom guide with installation of twrp
Trying to do anything with ADB tools just gives me a "< waiting for any device >".
I'm sure there's other ways of flashing twrp
VirusWar said:
Hello.
Tried flashing older stock rom via TWRP.
TWRP installed fine, worked fine, flashed vbmeta, still everything worked.
Downloaded ROM, put it into the sd card, went into twrp, formatted data, rebooted into twrp again, wiped Dalvik/ART cache, cache, system, vendor and internal memory, tried flashing, gave error 7, with "mkdir folder file not existing or whatever". In twrp i went into terminal, made a directory /cache/recovery, tried flashing, worked. Wiped dalvik and when i tried to reboot, the backlight turns on for a split moment and then it turns off.
Recovery does the same, and fastboot lights up the screen with the image of fastboot but it turns off. Plugging it with the usb makes it so it repeatedly turn on backlight and off again.
What does this mean? Device dead? Any help?
Thank you.
Click to expand...
Click to collapse
i think it's dead
-when the twrp gave you the error you should log it
-you should format data after flashing a rom ,not before (and only few roms require it)
your only option is flash VBMETA then TWRP again and see if it work
use the unofficial twrp : (3.3.10)
https://forum.xda-developers.com/re...ecovery-unofficial-twrp-xiaomi-redmi-t3997267
You should have formatted data partition after flashing the rom(not manually create those folders). You would be okay.
Any solution?

I'm having problems with TWRP and OrangeFox, permission errors all the time

I'm facing some permissions problems and thus being unable to install Paranoid Android Q5. I was using MIUI 12 (Xiaomi.EU).
The steps I took to change the ROM:
Formated data (errors started right away) then I did the usual wipes (cache, dalvik, data)
Whenever I try to wipe or format data I get error messages like: Error opening /data/XXX (Operation not permitted).
System is always mounted read-only no matter what I try and after I install any ROM many of these error messages pop up.
Orange Fox gives some error about key.
Flashing of the ROM suceeds, but system cannot boot, loading screen forever.
Can anyone point me some directions?
Thanks in advance and sorry about any possible bad grammar.
[ ]s
;-)
Mount system, vendor and data manually and then try. If fails then try with pitchblack recovery.
Pavello said:
Mount system, vendor and data manually and then try. If fails then try with pitchblack recovery.
Click to expand...
Click to collapse
Well , i have the same problem..and used pitch black also
Any update on this?
I still had those problems. I don't know if it is a problem with the TWRP or something similar. Is there any progress to solve this problem? I wanted to try the pixel experience betas with Android 11 but because of this problem with the TWRP I have not succeeded (in case I have Android 10 under MIUI 12.0.3 and RN8 Ginkgo model and obviously unlocked bootloader)
jordyx20 said:
I still had those problems. I don't know if it is a problem with the TWRP or something similar. Is there any progress to solve this problem? I wanted to try the pixel experience betas with Android 11 but because of this problem with the TWRP I have not succeeded (in case I have Android 10 under MIUI 12.0.3 and RN8 Ginkgo model and obviously unlocked bootloader)
Click to expand...
Click to collapse
i gusse thats a problem in miui12.0.3
i was using pixel experience 10 then i flash miui 12.0.3 in fastboot when i tryd to flash orange fox i had the same problem
so i gusse u can downgred to miui 11 and flash twrp and it will work
I solved this by downgrading to 12.0.1
jordyx20 said:
I still had those problems. I don't know if it is a problem with the TWRP or something similar. Is there any progress to solve this problem? I wanted to try the pixel experience betas with Android 11 but because of this problem with the TWRP I have not succeeded (in case I have Android 10 under MIUI 12.0.3 and RN8 Ginkgo model and obviously unlocked bootloader)
Click to expand...
Click to collapse
Format data ..(backup first if u need ) .. the boot to recovery again ... Should decrypt the data ... Worked for me ...
I am having this exact problem.
Under internal storage (sdcard) I see a bunch of hashed folders I cannot open.
Format data returns a multitude of "Error opening '/data/somefolder/asdf/asdf' (Operation not permitted) and marks the wipe as Failed. The attempted formatting also mentions "E:Error making /sdcard/Fox directory: Required key not available." "Failed to unmount '/data' (Device or resource busy)
I can wipe anything except Data. I also tried downgrading to 12.0.1 firmware but it does not fix it for me.
The ROM can be booted into, and magisk managed to be installed, but no google apps were installed.
Dibbo Sarker said:
Format data ..(backup first if u need ) .. the boot to recovery again ... Should decrypt the data ... Worked for me ...
Click to expand...
Click to collapse
I tried this, but no luck on my side.
Recovery download link on description. Only for Note 8/8T.
I flashed it with fastboot and works fine!
A problem like this was the one I had since TWRP had the device encrypted but it did not inform me and it did not give me any sign that I had to write a password (password that I have no idea what it is).
What I did so that it did not give me an error was to install Orangefox and while there delete everything and install a file of these that I got from google.
I had to try one by one and restart to see if it asked me for a password in orangefox, luckily one worked and it no longer asked me to decrypt the files and I could install the rom and gapps normally
jonatasgabriel76 said:
Recovery download link on description. Only for Note 8/8T.
I flashed it with fastboot and works fine!
Click to expand...
Click to collapse
Thank youuuuuuuu! You have rescued my phone!
jonatasgabriel76 said:
Recovery download link on description. Only for Note 8/8T.
I flashed it with fastboot and works fine!
Click to expand...
Click to collapse
THANK YOU!
Why is my orange fox is not showing Vendor, System Etc ? How can i fix this ? I really need to wipe those as well..
Jona'san - sama said:
Why is my orange fox is not showing Vendor, System Etc ? I really need to wipe those as well..
Click to expand...
Click to collapse
if you need to do something to system or vendor go to ofox menu/mount and choose what partition to mount
Jona'san - sama said:
I really need to wipe those as well..
Click to expand...
Click to collapse
if you want to flash a rom = yes
loopypalm said:
if you need to do something to system or vendor go to ofox menu/mount and choose what partition to mount
if you want to flash a rom = yes
Click to expand...
Click to collapse
Can't wipe it still, I already try the Mount > ✓ Vendor ✓ System.. but in formatting it say's "Cant Mount the....blah..blah.."
I try to uncheck the "Mount System vendor, system as read-only" from the settings of mount.. but for some reason, if you go back to Mount options again, you can't check the system, vendor now
loopypalm said:
if you need to do something to system or vendor go to ofox menu/mount and choose what partition to mount
if you want to flash a rom = yes
Click to expand...
Click to collapse
Yes, I need it to flash a ROM
try this it worked
Had the same issue.
1. I installed twrp via ADB
2. Restarted to recovery mode into twrp
3. Installed the latest OrangeFox and restarted into recovery again.
4. It asked me for a password which is the pin I set then proceeded to format data.
5. After formatting data I restarted again to recovery.
Then I was able to install custom roms.
I am using derpfest Android 12 on my Poco x3 pro. I want to install magisk.zip through orange fox recovery installed on my phone. But I am not getting storage data on recovery, only a fox folder is there. Can somebody tell me is it a glitch or any Android 12 restrictions or something.

cannot root anymore after update

Hi everyone
yesterday i receveived the android 10 update OTA for my redmi note 8 global and i updated it
i ve been using OrangeFox recovery since months and everything worked fine until yesterday
i can no more upload files to phone using recovery it shows 0 MB space i reinstalled ginkgo_global_images_V12.0.3.0.QCOMIXM_20201226.0000.00_10.0_global using fastboot then installed again twrp but after every reboot no more custom recovery only MI recovery 3.0 i have to install it everytime now and anyway in twrp or orangefox i can do anything there are strange files names it just seems it can t decrypt data to work properly ( i have no password set btw ) i formated data and same thing
Anyone can help please
be sure that ur phone is unlocked and enable USB debug
here are talking about an issue about installing a custom recovery or an issue in phone storage
I use fox too but I flashed the TWRP 1st using TOOL ALL IN ONE installed it without any issue then flashed fox from a flashable zip
for the memory issue I had it too it started with no being able to copy files that are 4Go or more to the internal memory so I flashed a the stock rom again and the memory become 0 and not accessible
but in my case fox was working so I went to wipe tab and wiped everything after ejecting the memory card in the reboot it said the system was destroyed I flashed the rom again and the issue was resolved
but before u do that make sure the phone is unlocked if not u wont be able to flash anything
Requirements: miui 12.0.3 china stable fastboot rom.
Orangefox recovery;
Custom rom of your choice;
Example xiaomi .eu 12.0.3 stable
Device: gingko(redmi note 8)
Note: make sure your bootloader is unlocked;
Backup your data before doing anything.
This guide is working and tested .
*If anything goes wrong i will not be responsible*
*Its your choice*
Make sure to check clean all button on mi flash tool.
(Do not check clean all and lock)
Flash miui 12.0.3 stable china fastboot rom using mi flash tool in fastboot mode;
After rom flashed complete the setup;
,boot phone in fastboot and flash twrp
Next boot to twrp ,allow modification.
Next move orange fox recovery to phone storage while connected on pc .
Flash orange fox ,
now your phone will boot
Into orangefox
Move custom rom of ur choice to phone storage while connected on pc.
Next
,wipe delvik
, system ,
data
cache,
vendor.
Flash any custom rom of your choice .
If phone reboots to orangefox itself just got to wipe and choose format data and type yes;
The after wiping done,
Reboot
complete the setup
Download magisk 21.3 stable
Move to phone storage
Reboot to orangefox recovery
Flash magisk ;
Reboot
Install magisk manager if manager is not showing,
Now your will be rooted
,your done.

Categories

Resources