Unable to mount / 'data' (invalid argument) xiaomi redmi note 2 Please help - Redmi Note 2 Q&A, Help & Troubleshooting

about the phone:
Xiaomi redmi note 2
bootloader unlocked
cm 12.1 rom (before)
So this morning i had looked up an (under heavy development) android 6.0 rom for the xiaomi redmi note 2 and tried to flash it, when i rebooted it with this new rom after 5 minutes i got an screen saying it was encrypting the phone so i took out the battery real quick. when i got back to twrp i tried to restore to my back up but got an message saying: unable to mount/ 'data' (invalid argument) so please help me i tried everything and i have no money to buy a new one

I'd try flashing an official fastboot rom, I think that it should fix your partitions.
Then, if it works again, just flash TWRP and install whatever you want.

gnazio said:
I'd try flashing an official fastboot rom, I think that it should fix your partitions.
Then, if it works again, just flash TWRP and install whatever you want.
Click to expand...
Click to collapse
That's it. Android 6.0 has other partitioning than 5.x.x. If you want flash Android MM you need flash specially edited TWRP, which is adapted to MM partitons (You can find this TWRP on xda). Btw. Fastboot is the one way to wake up your RN2

Norciu said:
That's it. Android 6.0 has other partitioning than 5.x.x. If you want flash Android MM you need flash specially edited TWRP, which is adapted to MM partitons (You can find this TWRP on xda). Btw. Fastboot is the one way to wake up your RN2
Click to expand...
Click to collapse
Hi, I had MM in my phone but something ****ed up my recovery so I flashed the MIUI 8 dev fastboot rom through SP Flash Tools, now everything's okay but I can't get TWRP to work, I tried a lot of versions, the 2.8.7, the 3.0.2.0 and etc, but every time I boot to recovery the phone just hangs at the TWRP logo. Do you know how I can fix this? I've tried everything.

Ignore this.
I missed you have MM.

Related

Oneplus X 2.1.3-X Cant update via OTA and TWRP wont work too

I screwed up my phone by not reading what was happening with Oneplus X nowadays with TWRP wont work and all.
I had a old firmware 2.1.3-X and I flashed it to get back to stock from 2.2.3 since I was rooted.
Flash went fine and after without knowing I by mistake flashed the STock MM recovery .The recovery was stuck on oneplus logo
After that I am unable to flash TWRP and I tried flashing lollipop recovery i get the options on the recovery but I cant install the downloaded OTA manually from recovery. It just says failed..
The phone is charging dead slowly and getting super heated up when idle itself how do I proceed from here.
My bootloader is unlocked. Since I am unable to flash anything from stock recovery I am not sure what I can do now.
The phone boot to 2.1.3-X but getting super laggy and heated up cant even use it for a min. Please advice.
[email protected] said:
I screwed up my phone by not reading what was happening with Oneplus X nowadays with TWRP wont work and all.
I had a old firmware 2.1.3-X and I flashed it to get back to stock from 2.2.3 since I was rooted.
Flash went fine and after without knowing I by mistake flashed the STock MM recovery .The recovery was stuck on oneplus logo
After that I am unable to flash TWRP and I tried flashing lollipop recovery i get the options on the recovery but I cant install the downloaded OTA manually from recovery. It just says failed..
The phone is charging dead slowly and getting super heated up when idle itself how do I proceed from here.
My bootloader is unlocked. Since I am unable to flash anything from stock recovery I am not sure what I can do now.
The phone boot to 2.1.3-X but getting super laggy and heated up cant even use it for a min. Please advice.
Click to expand...
Click to collapse
Which version of twrp u tried?
Suggestions:
1.try relocking.
2.again unlock oem
3.now flash this official twrp in fastboot https://dl.twrp.me/onyx/twrp-3.0.2-0-onyx.img.html
cva_kabil said:
Which version of twrp u tried?
Click to expand...
Click to collapse
http://forum.xda-developers.com/devdb/project/dl/?id=20236
and OPX MM recovery from http://downloads.oneplus.net/oneplus-x/oneplus_x_oxygenos_2.2.1/
cva_kabil said:
Which version of twrp u tried?
Suggestions:
1.try relocking.
2.again unlock oem
3.now flash this official twrp in fastboot https://dl.twrp.me/onyx/twrp-3.0.2-0-onyx.img.html
Click to expand...
Click to collapse
Ok Anyways to check which bootloader I am on casuse since I am on 2.1.X blu spark twrp should have worked but it didnt...I will try what u have suggested and report back tomorrow.
[email protected] said:
http://forum.xda-developers.com/devdb/project/dl/?id=20236
and OPX MM recovery from http://downloads.oneplus.net/oneplus-x/oneplus_x_oxygenos_2.2.1/
Click to expand...
Click to collapse
The twrp one u flashed bluespark version is for mm version, thats y ur flashing failed.. Try flashing the one i gave. It should work
cva_kabil said:
The twrp one u flashed bluespark version is for mm version, thats y ur flashing failed.. Try flashing the one i gave. It should work
Click to expand...
Click to collapse
Cool... will try
cva_kabil said:
The twrp one u flashed bluespark version is for mm version, thats y ur flashing failed.. Try flashing the one i gave. It should work
Click to expand...
Click to collapse
The recovery worked fine and I am on 2.2.3 ...and twrp
Which stock recovery I must flash now to update to MM via OTA offered.
Please advice.
[email protected] said:
The recovery worked fine and I am on 2.2.3 ...and twrp
Which stock recovery I must flash now to update to MM via OTA offered.
Please advice.
Click to expand...
Click to collapse
Flash this stock recovery https://s3.amazonaws.com/oxygenos.oneplus.net/OPX_recovery.img and update from this recovery to 3.x.x
cva_kabil said:
Flash this stock recovery https://s3.amazonaws.com/oxygenos.oneplus.net/OPX_recovery.img and update from this recovery to 3.x.x
Click to expand...
Click to collapse
i am facing the following issues on TWRP for 2.2.3
Failed to Mount Cache (Invalid Argument)
Failed to Mount Data (Invalid Argument)
I am unable to wipe anything
[email protected] said:
i am facing the following issues on TWRP for 2.2.3
Failed to Mount Cache (Invalid Argument)
Failed to Mount Data (Invalid Argument)
I am unable to wipe anything
Click to expand...
Click to collapse
Flashed this TWRP http://forum.xda-developers.com/oneplus-x/development/unofficial-twrp-3-0-2-0-recovery-onyx-t3471584
All working good

Issues reinstallling Custom Recovery

Hello everyone, long time lurker here. I have used xda over the course of many years with many different devices, and I am extremely grateful to all of you!
I recently cam across an issue. So with my OnePlus X I had unlocked it, rooted it, installed TWRP and a custom ROM (6.x.x). I had that setup for a while, it worked well, and I enjoyed it. I decided to try to update to a 7.x rom, but that is when I had issues. Trying to install the rom through twrp didn't work, and I couldn't revert back to the old rom either. I tried to use the master unbrick thread to set it back to stock, and it worked. The problem here is the stock rom is very broken, things like the OPX home launcher simply freeze and crash. Trying to usethe guide on the oneplus website to unlock it all again to reinstall TWRP doesn't work. I can unlock it, but installing recovery is where it screws up.
So it says it installs, but then when I try to reboot recovery it has a DTB: not found...manually rebooting to recovery leaves a black screen with the oneplus square logo.
Any ideas how to fix this? I am so lost, but I love this phone!
Fastboot flash old stock recovery from OOS2 wipe data and cache install 2.2.3 followed by 3.1.4 then make sure your flashing latest TWRP 3.0.3 from there site. Now should be able to flash Nougat.
Exodusche said:
Fastboot flash old stock recovery from OOS2 wipe data and cache install 2.2.3 followed by 3.1.4 then make sure your flashing latest TWRP 3.0.3 from there site. Now should be able to flash Nougat.
Click to expand...
Click to collapse
Good work sir! Mind you it probably be far easier for him to just
Code:
fastboot flash recovery 3.0.3.28w/e.img
fastboot boot recovery 3.0.3.28w/e.img
And then just plonk a nougat zip onto his device from the TWRP plugged into is computer?
Archtects said:
Good work sir! Mind you it probably be far easier for him to just
Code:
fastboot flash recovery 3.0.3.28w/e.img
fastboot boot recovery 3.0.3.28w/e.img
And then just plonk a nougat zip onto his device from the TWRP plugged into is computer?
Click to expand...
Click to collapse
No because he needs to upgrade the bootloader first to have a TWRP 3.0.3 that works OK.
Kéno40 said:
No because he needs to upgrade the bootloader first to have a TWRP 3.0.3 that works OK.
Click to expand...
Click to collapse
True true.

Back up & restore (TWRP boot loop)

Hello
My phone is Redmi note 9s,
I have changed my reserection remix (android 10) custom ROM ,
I backed up my data using TWRP and I have install the Xperience (android 12) using TWRP ,
After that I wanted to restore data by TWRP but I got boot loop when I try to open the TWRP recovery ..
I need to restore data for my work
.......
Note
I tried flashing TWRP again but it "failed"
Any suggestions?
I don't exactly know how to solve this, but last time when I have messed up the recovery I had to flash miui using official flash tool (be careful not to re-lock your bootloader - need to (un)tic a box on the bottom of the tool)
One reason I can think of is, that the recovery needs to match the android version, as far as I know.
Another is that you should update firmware before flashing new android version.
Is it possible to recover from twrp? Last info was that since android 11 there have been many problems
Thanks bro ,I am going to flash the MIUI ROM using miflasher

Help me i bricked my phone

my redmi note 4 mido is bricked and i don't know how, i left my phone for a month because i travelled away and when i came back the phone was stuck on mi logo i tried to fix it by this methods but nothing worked:
-i tried to flash stock firmware via mi flash tool and it failed so many times (i used an old version which stated that the installation succeed but the phone was still stuck in bootloop)
- i tried edl version and it didn't work
- i tried to install via adb and it didn't work also
- i tried to open recovery (volume + and power) it got me to twrp 3.2.3.0 but it's alway stuck on twrp logo and nothing happens
it only happened 2 times when twrp worked and asked me for decryption password, i wrote my phone pin but said wrong password (tried also password and default_password) then i bypassed the password section and got into twrp but i couldn't mount or format storage (it appears that internal storage and sd card is 0 gb) i tried to format it fails,
tried also to change storage to ext2 it got stuck and i couldn't open the twrp again.
any stock firmware flashed on my mido doesn't work and it still stuck on mi logo ( no android loading logo), and it still has twrp
(i tried to flash another twrp or orangefox it just doesn't flash even if it's successful flash on adb)
i tried also to boot the recovery image it also get stuck on the logo and doesn't open the recovery
please help me to know what the hell is wrong with this phone and how i can fix it
help pleassseeeeeeee
Install magisk if you are stuck in boot loop it fixes the problem otherwise download a recovery rom and change your twrp version to 3.1.0.0 because the decryption password in the new versions of twrp doesn't seem to work on rn4. Now wipe system,vendor,data. import recovery rom from your computer and install it. It will install the rom then flash Magisk otherwise your phone will be stuck in bootloop. Wait for a while and bam your system is back!
i can't install anything or even boot into twrp 3.1.0.0 even if i tried
Can you boot into fastboot atleast? If yes then type fastboot reboot recovery and as you said you have twrp installed then it surely means that your bootloader is unlocked. Do you know the name of your custom rom or are you using stock rom? If yes whichever rom you are using just download the recovery rom of that and extract the boot.img in your adb and fastboot folder and flash it via fastboot by typing fastboot flash boot boot.img . And also when booting in twrp which buttons are you using? This happened to me when I myself bricked my device. I thought I can't boot in twrp but the point was I was using volume up+ power but the actual key to boot to twrp is volume up+volume down+power key
You can flash your Xiaomi Redmi Note 4 [MIDO] using Mi Flash. I have an article that discusses how to flash Xiaomi Redmi Note 4 [MIDO / Snapdragon] that might help you: How to Flash Redmi Note 4 / 4x Snapdragon [Mido] with MiFlash
NOTE: Few problematic tool links in this article. Please search on Google | This website was translated using Google Translate [Indonesian -> English]
pandmc said:
You can flash your Xiaomi Redmi Note 4 [MIDO] using Mi Flash. I have an article that discusses how to flash Xiaomi Redmi Note 4 [MIDO / Snapdragon] that might help you: How to Flash Redmi Note 4 / 4x Snapdragon [Mido] with MiFlash
NOTE: Few problematic tool links in this article. Please search on Google | This website was translated using Google Translate [Indonesian -> English]
Click to expand...
Click to collapse
I think flashing the stock rom should be the last step before which everything possible should be tried
JustExperimentingRedmi said:
I think flashing the stock rom should be the last step before which everything possible should be tried
Click to expand...
Click to collapse
Yes, Flashing Stock ROM should be the last step before he tries to fix. But mostly if the smartphone is bootlooped or bricked there is no other step besides Erase All Data / Format Data or Flashing Stock ROM.
pandmc said:
Yes, Flashing Stock ROM should be the last step before he tries to fix. But mostly if the smartphone is bootlooped or bricked there is no other step besides Erase All Data / Format Data or Flashing Stock ROM.
Click to expand...
Click to collapse
You can flash orignal boot.img which most times fixes the problem and if it didnt work flash system.img it almost always works and the last option is flashing magisk. Then only i will recommend to flash stock rom.
JustExperimentingRedmi said:
Can you boot into fastboot atleast? If yes then type fastboot reboot recovery and as you said you have twrp installed then it surely means that your bootloader is unlocked. Do you know the name of your custom rom or are you using stock rom? If yes whichever rom you are using just download the recovery rom of that and extract the boot.img in your adb and fastboot folder and flash it via fastboot by typing fastboot flash boot boot.img . And also when booting in twrp which buttons are you using? This happened to me when I myself bricked my device. I thought I can't boot in twrp but the point was I was using volume up+ power but the actual key to boot to twrp is volume up+volume down+power key
Click to expand...
Click to collapse
the rom i was using before the phone got bricked is crdroid 10, i downloaded it again as you said and tried to flash boot img then i rebooted into recovery but i got stuck at twrp logo as usual and even if twrp worked it will as for a password i tried all pins i have used on my phone and tried default_password didn't work either, i can't even mount data or storage or anything and it shows everything with 0mb storage (external or internal storage).
i can't even format data to remove encryption it just freezes whenever i do that
pandmc said:
You can flash your Xiaomi Redmi Note 4 [MIDO] using Mi Flash. I have an article that discusses how to flash Xiaomi Redmi Note 4 [MIDO / Snapdragon] that might help you: How to Flash Redmi Note 4 / 4x Snapdragon [Mido] with MiFlash
NOTE: Few problematic tool links in this article. Please search on Google | This website was translated using Google Translate [Indonesian -> English]
Click to expand...
Click to collapse
i tried that before it's always shows me ( mi flash tool could not find a part of the path) error, there's a one time i tried an older version of mi flash tool and the flash succeeded but when phone rebooted it stayed at the bootloop
i checked the recovery and sadly it was still the same twrp recovery
i don't really know if my phone can be fixed or this an emmc problem
So it means you have your stock rom right? Extract boot.img and flash it with
fastboot flash boot boot.img
make sure to put it in adb folder
You can find boot.img in images folder
If it does not work get the system.img and flash it with
fastboot flash system system.img
i flash the whole stock rom via fastboot (adb) and it also didn't work.
sorry if this seems disappointing
Try orangefox recovery then, not sure why is this happening to you
If still not working type
fastboot oem edl
Then flash via mi flash it should work as far as I know. If not then go to mi service centre it's the last thing you can do

Question Can i downgrade from miui 13 to 12 without loosing data?

I should have been more careful before updating coz after the update i realized that twrp won't work on miui 13. I can fastboot recovery but the internal storage is encrypted and it shows 0 MB. I need root, so i am thinking of downgrading to 12.5 again. Can i do that without loosing data? Also how can i downgrade? Should i just download fastboot version of the rom and update it?
lakshmish said:
I should have been more careful before updating coz after the update i realized that twrp won't work on miui 13. I can fastboot recovery but the internal storage is encrypted and it shows 0 MB. I need root, so i am thinking of downgrading to 12.5 again. Can i do that without loosing data? Also how can i downgrade? Should i just download fastboot version of the rom and update it?
Click to expand...
Click to collapse
you can't update from 13 to 12.5 you need to erase all your data , it's mandatory...
Just flash the fastboot rom with Mi Flash and tick "Clean All" so after MIUI boot you can flash twrp and other ROM again
Already messed it up :-( Can you please tell me which fastboot rom i should flash... I was using eu rom but even after flashing it phone boots to mi recovery.
Hey, yesterday I flashed xiaomi eu stable MIUI 13.0.3 by their script.
To do it,
1) put the phone in fastboot mode
2) just run the script by double clicking on it, however you need the file with data_format on the end.
If your phone does bootloop and go back to MIUI Recovery 5.0 like mine did yesterday, you can fix it by wiping all data in this recovery it boots up to and then restarting the phone. It worked for me and my friend.
lakshmish said:
Already messed it up :-( Can you please tell me which fastboot rom i should flash... I was using eu rom but even after flashing it phone boots to mi recovery.
Click to expand...
Click to collapse
miui 13 is not worth to try , is just miui 12.5 with more bugs , nothing changed so flash fastboot rom with mi flash
Global v12.5.4 : https://xiaomifirmwareupdater.com/miui/mojito/stable/V12.5.4.0.RKGMIXM/
lakshmish said:
I should have been more careful before updating coz after the update i realized that twrp won't work on miui 13. I can fastboot recovery but the internal storage is encrypted and it shows 0 MB. I need root, so i am thinking of downgrading to 12.5 again. Can i do that without loosing data? Also how can i downgrade? Should i just download fastboot version of the rom and update it?
Click to expand...
Click to collapse
Just so you know if you ever need this again.
You dont need recovery at all to get root.
Just fastboot pached boot image.
DominPL421 said:
Hey, yesterday I flashed xiaomi eu stable MIUI 13.0.3 by their script.
To do it,
1) put the phone in fastboot mode
2) just run the script by double clicking on it, however you need the file with data_format on the end.
If your phone does bootloop and go back to MIUI Recovery 5.0 like mine did yesterday, you can fix it by wiping all data in this recovery it boots up to and then restarting the phone. It worked for me and my friend.
Click to expand...
Click to collapse
Oh! I think i havent wiped all data. I will try this tonight. Thanks a lot
alonsoj636 said:
miui 13 is not worth to try , is just miui 12.5 with more bugs , nothing changed so flash fastboot rom with mi flash
Global v12.5.4 : https://xiaomifirmwareupdater.com/miui/mojito/stable/V12.5.4.0.RKGMIXM/
Click to expand...
Click to collapse
Actually i was happy with 12.5 but got too excited with MIUI 13... I should have done my research. Will again flash this. Thanks for the link.
slickw said:
Just so you know if you ever need this again.
You dont need recovery at all to get root.
Just fastboot pached boot image.
Click to expand...
Click to collapse
I didnt know this.. I won't go to MIUI 13 again coz there are no recoveries for it and it cant be decrypted for now but its good to know that i dont need recovery for root. Thank you!
I installed today CherishOS A12. Tbh cool rom, doesn't work that bad. A lot better than miui though. Animations are nice and long, plus the phone is fast.

Categories

Resources