Can't mount data, twrp custom rom issue - Xiaomi Redmi Note 5 Pro Questions & Answers

Was running the pixel experience rom, have been for a month.. and I had a very strange issue today, the whole phone just froze, I force restarted it, and everytime It would reboot it would just hang/freeze or unlock and display nothing on my screen but the wallpaper.. ended up trying to restore from an old backup I had, but realized it was when I was running an oreo rom.. got stuck in a loop for fastboot, used twrp to re-install this rom, and it was taking forever to boot, at the G logo.. so stupidly instead of having patience and waiting, I rebooted and formatted data, or tried too, (read it somewhere) and its just been hung on that for hours now "formatting data" Dunno what to do.. I should have just waited on the initial boot after re-installing this rom, forgot it took forever.. dunno if should just keep waiting.. or try an flash back stock rom, and re-do everything.. I think my data partition is corrupted, or unmountable.. so not for sure how to proceed.

Format data or wipe data ?? Formatting data will remove encryption and everything will be erased
Wipe data just erases data partition
Try to clean flash once again by wiping system data cache

Here is the issue now.. when I would go to format data, it would just stay stuck on formatting data with ext4 or w/e ... I left it for an hour or more, and nothing.... so decided to use miflash an restore everything. it goes all the way... but never actually says success just still says flashing, even with the green bar full and says finished 200s or something.. the last part of the log always stops after:
"[3:52:43 AM 49c50e2d]:err:writing 'vendor' 2/2...
[3:52:43 AM 49c50e2d]:errKAY [ -0.000s]
[3:52:43 AM 49c50e2d]:err:finished. total time: 23.850s"
so I've let that set for 20 minutes or more, then finally I just manually kick it out of fast boot, and it'll start to boot with MI Logo, and it has the white bar at the bottom, the bar loads all the way then it just hangs there, ive left it over night an its just stuck there
Even now I can fastboot flash a recovery image, and boot into it, but its unable to mount data, missing crypto header.. maybe I should just let the "format data" take its time maybe eventually it will?

Related

Help wanted please

Hi,
I Have My Galaxy Nexus , i finished backing up my phones SD Partition, that went smoothly ...
Then I went to peerform a Nandroid back up i received a Boot image error..
Then i went to boot up the device normally since i received the error and once it boots into android after the lock screen it shuts off and reboots over and over....
I went to format cache and format Data and the same thing happens only strange thing is it still showed my normal desktop set up apposed to starting fresh before it shuts off into another boot sequence...
i need help.
Other known issue i couldn't boot into usb (Mac) while in CWM
EDIT: Now CWM is backing up the boot image/Nandroid... (Strange), still need help because of bootloop
EDIT2: stopped at error in backup / data due to me formatting

HELP

Hi,
I Have My Galaxy Nexus , i finished backing up my phones SD Partition, that went smoothly ...
Then I went to peerform a Nandroid back up i received a Boot image error..
Then i went to boot up the device normally since i received the error and once it boots into android after the lock screen it shuts off and reboots over and over....
I went to format cache and format Data and the same thing happens only strange thing is it still showed my normal desktop set up apposed to starting fresh before it shuts off into another boot sequence...
i need help.
Other known issue i couldn't boot into usb (Mac) while in CWM
EDIT: Now CWM is backing up the boot image/Nandroid... (Strange), still need help because of bootloop
EDIT2: stopped at error in backup / data due to me formatting

[Q] Failed phone encryption, how to recover?

So I encrypted my phone last night, it seemed to have worked, the little android encryption icon came on for a while then it rebooted and asked for my pin. I entered my pin and it went back to the android encryption icon and just stays there. I left it over night thinking it was just taking it's sweet time to encrypt, but it did not come back. I'm still able to access CWM and can mount everything but /data and /system.
I tried ODIN'ing the phone with the stock LEN tar but that didn't work. It still asks for my pin, takes it, then sits there at the android encryption guy. I'm fairly certain I need to just re-partition the phone but I cannot find the PIT to do so.
Anyone have any insight?
Edit: I've wiped data/factory reset and wiped cache, but whenever it tries to wipe data, it gives an error mounting data and system (likely as they are encrypted).
Managed to fix it. Had to re-flash the stock recovery and then do a factory reset. While it didn't look like it was successful (it appeared to hang on formatting data) it rebooted and went straight into the OS.
Hopefully this will help someone in the future.

Can't wipe/edit data patition

I finally flashed a non Sense ROM onto my dev edition M8, and now I can't even touch /data. I got the enter password to decrypt storage bug while using Paranoid Android, so I followed the steps here to get back to a working system, but the ROM never booted to the password screen. It froze on the boot animation, the went in a loop, I tried to wipe data through recovery, the screen went blank after a few seconds, and then tried to boot the system again. I can't get it to wipe via fastboot either as I get a "FAILED (remote: not allowed)" when trying erasing and formatting data/userdata. I also can't delete anything from /data in recovery. Does anyone have a fix for this? Flashing other ROMs also suddenly quit and go back to trying to boot the system.
Edit: Flashing a stock recovery to wipe /data fixed it. Why didn't I think about that sooner?

no cache partition error?

I am getting a lot of little issues with this device. Its new, had it for a day now, was able to get lineageos on it and everything seemed fine. Then during a reboot, it stuck on the sony boot screen, no way to power off, no reboot. Had to wait till the battery died. then it booted, with lots of bugs. Went to twrp and factory reset, and cache cleared. Except now I get an error of
"Unable to find partition for path '/cache' "
Any idea how to fix? I can not wipe it, etc.

Categories

Resources