My Redmi 4x Is Bootlooping and TWRP Won't Start - Xiaomi Redmi 4X Questions & Answers

So I have this problem. When I tried to flash clarity kernel for my device, it won't boot, but I still able to access TWRP and then I try to Format Data so I can restore my backup later.
But, my device suddenly turned off while it was formatting and still won't boot.
Worse, when I tried to go to TWRP, it just show some log like "failed to mount data (invalid argument)" and "failed to mount /twrp/twrps (invalid argument)". Though, I still able to access fastboot mode, but I dont know what to do with it.
Could somebody help me please? I'm stuck right now.

Jaeger00 said:
So I have this problem. When I tried to flash clarity kernel for my device, it won't boot, but I still able to access TWRP and then I try to Format Data so I can restore my backup later.
But, my device suddenly turned off while it was formatting and still won't boot.
Worse, when I tried to go to TWRP, it just show some log like "failed to mount data (invalid argument)" and "failed to mount /twrp/twrps (invalid argument)". Though, I still able to access fastboot mode, but I dont know what to do with it.
Could somebody help me please? I'm stuck right now.
Click to expand...
Click to collapse
Please boot in fastboot mode and run:
fastboot format userdata
fastboot format cache​Then try TWRP again.

k23m said:
Please boot in fastboot mode and run:
fastboot format userdata
fastboot format cache​Then try TWRP again.
Click to expand...
Click to collapse
Thanks for your information and time, really appreciate it.
Btw I just got my problem solved by reflashing my device with MiFlash. Anyway, thank you

Related

CWM Touch 6.0.3.0 error

Hello,
I recently was forced to due an AE swap of my device due to the mic failing on the hardware side. As I was going through the process of unlocking and rooting the new device the recovery flash seemed to error out and not work. After a couple flashes it finally stuck and everything eventually appears to be working after many headaches, however CWM is still acting up. Every time I am in recovery it says.
E: cant mount /cache/recovery/command
E: cant mount /cache/recovery/log
E: cant mount /cache/recovery/last_log
etc...
I have tried everything even to RUU back to full stock and re-do the process but I still have the error. Also when I go to install from SD Card it only sees some random folders that are actually on my internal storage. So even though I placed the SuperSU zip on my SD with my computer I cannot flash it as the recovery doesnt see it. Does anyone have any insight?
Have you tried fastboot erase cache (while in fastboot)
Just throwing it out there not sure if it will do any good.
bigdaddy619 said:
Have you tried fastboot erase cache (while in fastboot)
Just throwing it out there not sure if it will do any good.
Click to expand...
Click to collapse
I did try that actually. No dice.
Bump. Anyone got any insight?
Sent from my HTCONE using xda premium

[Q] Having some Big problems on my motorola razr i! please help.

Hey guys.
So i have this razr i with TWRP 2.8.0.0 recovery installed on my phone and my bootloader is unlocked. I have installed several diferent roms on it over time, and this time i tried to install the unofficial Cyanogenmod 11 (http://forum.xda-developers.com/razr-i/development/rom-unofficial-cyanogenmod-11-t2966855) but things went totally wrong when i formated the phone on recovery.
Here's what i did:
1- booted into recovery
2- went to the "wipe" tab
3- taped on "advanced wipe" and selected eveything (Dalvik cache/System/Cache/Data/Internal storage/Micro SDcard), then started formatting
4- after about an hour and a half it was still checking for md5... so i rebooted
5- when i rebooted i realized that everything was gone, including the rom files on the sdcard, so i passed the files from my pc again and tried to install but nothing happend.
6- now for unkown reasons all i see is:
Code:
E: Unable to mount '/data'
E: unable to recreate /data/media folder.
Updating partition details...
E: unable to mount '/data'
E: unable to mount internal storage.
E: unable to mount /data/media during GUI startup
FUll SElinux support is present.
E: unable to mount /data/media/TWRP/.twrps when trying to read settings file
E: unable to mount '/data'
MTP Enabled
So... My PC has the motorola drivers installed and i've also tried on mac (i have a Macbook pro with widows and mac os), but none of the recognize my phone so i can't use adb or anything that could help with this.
Does anyone know what to do? I just want to install stock jellybean again and then try the cm11 rom.
adrex9 said:
Hey guys.
So i have this razr i with TWRP 2.8.0.0 recovery installed on my phone and my bootloader is unlocked. I have installed several diferent roms on it over time, and this time i tried to install the unofficial Cyanogenmod 11 (http://forum.xda-developers.com/razr-i/development/rom-unofficial-cyanogenmod-11-t2966855) but things went totally wrong when i formated the phone on recovery.
Here's what i did:
1- booted into recovery
2- went to the "wipe" tab
3- taped on "advanced wipe" and selected eveything (Dalvik cache/System/Cache/Data/Internal storage/Micro SDcard), then started formatting
4- after about an hour and a half it was still checking for md5... so i rebooted
5- when i rebooted i realized that everything was gone, including the rom files on the sdcard, so i passed the files from my pc again and tried to install but nothing happend.
6- now for unkown reasons all i see is:
Code:
E: Unable to mount '/data'
E: unable to recreate /data/media folder.
Updating partition details...
E: unable to mount '/data'
E: unable to mount internal storage.
E: unable to mount /data/media during GUI startup
FUll SElinux support is present.
E: unable to mount /data/media/TWRP/.twrps when trying to read settings file
E: unable to mount '/data'
MTP Enabled
So... My PC has the motorola drivers installed and i've also tried on mac (i have a Macbook pro with widows and mac os), but none of the recognize my phone so i can't use adb or anything that could help with this.
Does anyone know what to do? I just want to install stock jellybean again and then try the cm11 rom.
Click to expand...
Click to collapse
Can you boot into recovery? maybe you can try adb sideload.
Setarcos said:
Can you boot into recovery? maybe you can try adb sideload.
Click to expand...
Click to collapse
Yes i can, bootloader and recovery, but as i said my phone isn't recognized so adb sideload does not work.
I tried using mac because i read somewhere that you don't need drivers on there, but it didn't work either... unless i'm doing something wrong
adrex9 said:
Yes i can, bootloader and recovery, but as i said my phone isn't recognized so adb sideload does not work.
I tried using mac because i read somewhere that you don't need drivers on there, but it didn't work either... unless i'm doing something wrong
Click to expand...
Click to collapse
I've experienced with similar situation getting no adb in TWRP. However, when I chose Advanced/Adb sideload, adb sideload did work for me.
PS: Maybe you can try install aother recovery.
Hey! Apparently, your phone has now all the partitions corrupt, because of that failed format. Have you tried installing a stock ROM through RSD Lite?
I once had a similar issue, solved it with a clean SBF flash.
Also, to install a new ROM, you should:
1.Boot in TWRP
2.Go to 'Settings'
3.Check 'Use rm -rf instead of formatting.'
Then, the wiping process wont take more than a couple of seconds, and should install ROM's without problems.
Hope you solve it, and sorry for my english if I made any mistakes.
adrex9 said:
Hey guys.
So i have this razr i with TWRP 2.8.0.0 recovery installed on my phone and my bootloader is unlocked. I have installed several diferent roms on it over time, and this time i tried to install the unofficial Cyanogenmod 11 (http://forum.xda-developers.com/razr-i/development/rom-unofficial-cyanogenmod-11-t2966855) but things went totally wrong when i formated the phone on recovery.
Here's what i did:
1- booted into recovery
2- went to the "wipe" tab
3- taped on "advanced wipe" and selected eveything (Dalvik cache/System/Cache/Data/Internal storage/Micro SDcard), then started formatting
4- after about an hour and a half it was still checking for md5... so i rebooted
5- when i rebooted i realized that everything was gone, including the rom files on the sdcard, so i passed the files from my pc again and tried to install but nothing happend.
6- now for unkown reasons all i see is:
Code:
E: Unable to mount '/data'
E: unable to recreate /data/media folder.
Updating partition details...
E: unable to mount '/data'
E: unable to mount internal storage.
E: unable to mount /data/media during GUI startup
FUll SElinux support is present.
E: unable to mount /data/media/TWRP/.twrps when trying to read settings file
E: unable to mount '/data'
MTP Enabled
So... My PC has the motorola drivers installed and i've also tried on mac (i have a Macbook pro with widows and mac os), but none of the recognize my phone so i can't use adb or anything that could help with this.
Does anyone know what to do? I just want to install stock jellybean again and then try the cm11 rom.
Click to expand...
Click to collapse
Have u read the install instructions? The instructions stated that u needed to use the latest recoverys and u still use the 2.8.0.0 one.
The earlier versions have problems on some phones like the one u have now. Some do have the problem some don't. U can fix it by erasing the userdata through fastboot hopefully or by installing touchcwm (the earliest of recoverys for this device) and formatting it that way. Most of the time this fixes the problem.
casquee said:
Hey! Apparently, your phone has now all the partitions corrupt, because of that failed format. Have you tried installing a stock ROM through RSD Lite?
I once had a similar issue, solved it with a clean SBF flash.
Also, to install a new ROM, you should:
1.Boot in TWRP
2.Go to 'Settings'
3.Check 'Use rm -rf instead of formatting.'
Then, the wiping process wont take more than a couple of seconds, and should install ROM's without problems.
Hope you solve it, and sorry for my english if I made any mistakes.
Click to expand...
Click to collapse
hi, i've tried rsd lite allready but my pc didn't see it.
i'll try what you said, maybe it helps
Hazou said:
Have u read the install instructions? The instructions stated that u needed to use the latest recoverys and u still use the 2.8.0.0 one.
The earlier versions have problems on some phones like the one u have now. Some do have the problem some don't. U can fix it by erasing the userdata through fastboot hopefully or by installing touchcwm (the earliest of recoverys for this device) and formatting it that way. Most of the time this fixes the problem.
Click to expand...
Click to collapse
yeah, but the thing is that hadn't even installed it yet, it was just the format the f'd it up installing touch cwm is my goal right now though
casquee said:
Hey! Apparently, your phone has now all the partitions corrupt, because of that failed format. Have you tried installing a stock ROM through RSD Lite?
I once had a similar issue, solved it with a clean SBF flash.
Also, to install a new ROM, you should:
1.Boot in TWRP
2.Go to 'Settings'
3.Check 'Use rm -rf instead of formatting.'
Then, the wiping process wont take more than a couple of seconds, and should install ROM's without problems.
Hope you solve it, and sorry for my english if I made any mistakes.
Click to expand...
Click to collapse
i tried what you said but i still get this problem:
Code:
E; Unable to mount '/data'
E: unable to mount internal storage.
EDIT:
By the way, how do you do an SBF flash?
You have to download one from your region. You can make it to the fastboot menu? And it doesn't detect the phone?
casquee said:
You have to download one from your region. You can make it to the fastboot menu? And it doesn't detect the phone?
Click to expand...
Click to collapse
yeah, i can get into fastboot but the pc does not recognize it. its as if it would be off, nothing happens when you connect it to the pc

Can't mount /factory or /cache - kind of a brick

Hey there!
I got my tablet messed up so I was trying to "un-brick" it using the factory images and the temp recovery. All good, until I try to flash a zip. These errors won't go away:
E: unable to mount /factory
E: unable to mount /cache
This prevents me from doing basically anything. I cannot flash any firmware because of these. Of course, the repair partition fails also...
Any ideas?
I managed to format the /factory and /cache partitions so now I got rid of that error. Still, trying to flash a firmware on it and failing miserably from unknown reasons... Isn't there a firmware flash tool available for this device to write the firmware directly into the nand?
Later Edit: Nope, /factory still not mounting...
Even Later Edit: Still no mounting, I managed to dig deeper in the error and it seems that the main message is "can't format unknown volume /emmc". What shocked me is that after unplugging the tablet from PC (using the tethered recovery trying to fix the stuff), I booted in recovery (volume up and power), and to my surprise, I was met by the ol' American Megatrends UEFI - check the attachment... I guess I messed up the bootloader so bad that the Intel chipset took over?
So it seems that the tablet won't boot up in any way. Every boot procedure (power button, power + vol up, power + vol down) will start the UEFI. Go guys!
Ruwin said:
Hey there!
I got my tablet messed up so I was trying to "un-brick" it using the factory images and the temp recovery. All good, until I try to flash a zip. These errors won't go away:
E: unable to mount /factory
E: unable to mount /cache
This prevents me from doing basically anything. I cannot flash any firmware because of these. Of course, the repair partition fails also...
Any ideas?
Click to expand...
Click to collapse
You can find a fix for this problem? i have the same error "unable to mount /factory"

Can't boot after flashing ROM (Failed to mount /data) help pls

Hi, so i was trying to install:
http://forum.xda-developers.com/p9/development/rom-ncs-rom-v1-1-08-16-2016-t3440269
I have unlocked bootloader and i have latest TWRP, i have no idea what went wrong but everytime i try to boot now it says encryption was interrupted and can't continue, and everytime i try to flash image or wipe everything it keeps saying unable to mount /data and /storage. I really have no idea what to do, any help would be appreciated, please.
Did you try to go in the recovery and mount the system from there? Or just format the phone and install the rom through sd card
well i tried flash again the ROM and it worked now, but i had to install TWRP revision 3 guess it fixes some encryption stuff?

[HELP] I've messed up somewhere, need experienced users

I haven't formatted my phone in a while, so rather than delete files while my phone was working. I booted into recovery and selected the format data option in TWRP. Now I am getting all kinds of errors in TWRP. I was on a custom rom when I did all of this and somehow I screwed up. I can't even get a zip on my phone as my phone is only recognized as charging and not a storage device under these circumstances. I have tried adb sideloading a rom, but that is to no avail. I am thinking about flash a stock recovery in hopes that I'll be able to flash a stock rom and fix my phone.
this is what it says when trying to wipe anything:
could not mount /data and unable to find crypto footer.
failed to mount '/data (invalid argument)
without typing out everything the rest of it says failed to mount '/data' (invalid argument)
Boot the phone into fastboot, type fastboot format userdata
fastboot format cache
then fastboot flash recovery <name of twrp recovery>.img (don't put < >)
boot into recovery and go to advanced wipe and wipe everything except internal
everything will be fine now
you can flash any rom now.
If it worked, hit the thanks button
Try unbrick tutorial from XDA to back to new alike!
This is the best option
Well actually I took a different route altogether. I don't know why I didn't think about it initially. You would think after almost 10 years of dealing with custom ROMs and recoveries that I would of been a lot quicker in finding a solution, so I googled it. Came to the conclusion that I needed a stock OP3T recovery, so I downloaded it and fastboot flashed the stock recovery. From recovery I was able to wipe data, cache, dalvik-cache. All was good after that. Now I'm running coltOS.
Sent from my ONEPLUS A3000 using Tapatalk
Glad you fixed it. If you face a similar issue in the future you can download MSMTool for the OnePlus 3T which will restore stock OOS through fastboot

Categories

Resources