How do I flash a ROM on Redmi Note 4G with no OS in it ? - Redmi Note Q&A, Help & Troubleshooting

I am able to access only TWRP recovery . Pushed custom rom using adb , but when tried to flash it from TWRP it says " E:Unable to mount '/system' ".There is nothing in internal storage except for TWRP folder. Any way to flash a ROM in this situation .I am also not able to mount System from TWRP recovery .

Nirmal2000 said:
I am able to access only TWRP recovery . Pushed custom rom using adb , but when tried to flash it from TWRP it says " E:Unable to mount '/system' ".There is nothing in internal storage except for TWRP folder. Any way to flash a ROM in this situation .I am also not able to mount System from TWRP recovery .
Click to expand...
Click to collapse
You might want to format system/data using fastboot not by recovery.

Not working
ukanth said:
You might want to format system/data using fastboot not by recovery.
Click to expand...
Click to collapse
Not able to format as it says partition not available
Even tried fastboot Rom.

Related

There is still a chance for my MX4 ?

I bricked my phone.
Recovery (philz touch) did not work fine - i cant mount /system, /data, /cache beacuse i have: "error- mounting /data" (or /system, /cache)
What can i do ?
I want to fix my phone. Im going to install stock recovery and flash flyme os 4.0.4I - Is it enough ? or i cant Do this beacuse i have no mounted /system ??
Please help me guys.
Can i mount /system using adb sideload ?
//IMPORTANT EDIT
Little has changed.
I FLASHED STOCK patched recovery from fastboot, after this i installed normal firmware, but i cant turn on system beacuse i HAVE NO MOUNTED /system, /cache, /data
I found a way to fix my phone , i need to load partition images of stock firmware . I can flash it from fastboot. Can you make a backup (partition images) and upload it for me ?? using this app : https://play.google.com/store/apps/details?id=ma.wanam.partitions&hl= ("PARTITIONS BACKUP & RESTORE)
Please :'(
Maagnum154 said:
I bricked my phone.
Recovery (philz touch) did not work fine - i cant mount /system, /data, /cache beacuse i have: "error- mounting /data" (or /system, /cache)
What can i do ?
I want to fix my phone. Im going to install stock recovery and flash flyme os 4.0.4I - Is it enough ? or i cant to this beacuse i have no mounted /system ??
Please help me guys.
/Can i mount /system using adb sideload ?
Click to expand...
Click to collapse
I have this problem to. You have to flash modified stock recovery and then install flyme 4.2.8.2 and repeat the process. It worked for me
DeadAngel43 said:
I have this problem to. You have to flash modified stock recovery and then install flyme 4.2.8.2 and repeat the process. It worked for me
Click to expand...
Click to collapse
No .. i cant.
Okay, i flashed modified stock recovery and installed flyme 4.2.8.2 and whats next ???
I cant boot beacuse i have no mounted /system, /data, /cache ..
Maagnum154 said:
No .. i cant.
Okay, i flashed modified stock recovery and installed flyme 4.2.8.2 and whats next ???
I cant boot beacuse i have no mounted /system, /data, /cache ..
Click to expand...
Click to collapse
No man you need to flash from fastboot the "patched recovery"! From it, you can install normal firmware!! -.-'' read the txt file...
Naphtha said:
No man you need to flash from fastboot the "patched recovery"! From it, you can install normal firmware!! -.-'' read the txt file...
Click to expand...
Click to collapse
I FLASHED STOCK patched recovery from fastboot, after this i installed normal firmware, but i cant turn on system beacuse i HAVE NO MOUNTED /system, /cache, /data
I found a way to fix my phone , i need to load partition images of stock firmware . I can flash it from fastboot. Can you make a backup (partition images) and upload it for me ?? using this app : https://play.google.com/store/apps/details?id=ma.wanam.partitions&hl=
Maagnum154 said:
I FLASHED STOCK patched recovery from fastboot, after this i installed normal firmware, but i cant turn on system beacuse i HAVE NO MOUNTED /system, /cache, /data
I found a way to fix my phone , i need to load partition images of stock firmware . I can flash it from fastboot. Can you make a backup (partition images) and upload it for me ?? using this app : https://play.google.com/store/apps/details?id=ma.wanam.partitions&hl=
Click to expand...
Click to collapse
Sorry i can't help you...actually i have an Ubuntu Touch version Open a new thread
Man news?
Inviato dal mio MX4 utilizzando Tapatalk

Internal storage 0mb twrp

Im using a levovo a6000 android phone after rooting my phone i tried to install a custom rom
then when i checked my internal memory it was showing a 0mb of internal memory
the errors are as follows
1. E : unable to mount /data/media/TWRP/ .twrps when trying to read setting file.
2. E: Unable to mount '/data'
3. E: unable to mount '/storage'
Even on wiping dalvik cache and cache
i have rooted my phone using amd command prompt help me ee
nikhil7870 said:
Im using a levovo a6000 android phone after latest offical android update given by lenovo came my phone booted ok
then when i checked my internal memory it was showing a 0mb of internal memory
the errors are as follows
1. E : unable to mount /data/media/TWRP/ .twrps when trying to read setting file.
2. E: Unable to mount '/data'
3. E: unable to mount '/storage'
Even on wiping dalvik cache and cache
i have rooted my phone using amd command prompt help me ee
Click to expand...
Click to collapse
How did you managed to install the ota update on rooted device....!??
oops sorry its my friend mistake
sasukay said:
How did you managed to install the ota update on rooted device....!??
Click to expand...
Click to collapse
i had flashed a custom rom through TWRP please help me to figure it out
nikhil7870 said:
i had flashed a custom rom through TWRP please help me to figure it out
Click to expand...
Click to collapse
Boot into twrp and wipe cache, dalvik, data and system. Then flash the custom rom
sasukay said:
Boot into twrp and wipe cache, dalvik, data and system. Then flash the custom rom
Click to expand...
Click to collapse
while wiping data, cache , dalvik cache ,system, cache , data
its give a error wipe complete failed
and another error is
E: UNABLE TO MOUNT '/DATA'
E: UNABLE TO MOUNT STORAGE
Can xda developer fix my problem i think that xda is best and i always follow them but now i cannot get any help from you please help me
nikhil7870 said:
Can xda developer fix my problem i think that xda is best and i always follow them but now i cannot get any help from you please help me
Click to expand...
Click to collapse
Flash cwm any try wiping and then flash new rom from
http://forum.xda-developers.com/showpost.php?p=66472910&postcount=4
sasukay said:
Flash cwm any try wiping and then flash new rom from
http://forum.xda-developers.com/showpost.php?p=66472910&postcount=4
Click to expand...
Click to collapse
I think ur system partions is corupted
amithchinu said:
I think ur system partions is corupted
Click to expand...
Click to collapse
if it is corrupted then how to fix it and can u tell me how to do repartition
Go here http://forum.xda-developers.com/showthread.php?t=2683787 u will get solution
---------- Post added at 02:55 AM ---------- Previous post was at 02:54 AM ----------
If it does not work goto service center
amithchinu said:
Go here http://forum.xda-developers.com/showthread.php?t=2683787 u will get solution
If it does not work goto service center
Click to expand...
Click to collapse
You might not know this, but every device has its own different system partitions. The thread you were referring to is for Asus Transformer Pad. Following that might make the problem worse.
But this is ASus phone it works on lenovo a6000
sasukay said:
You might not know this, but every device has its own different system partitions. The thread you were referring to is for Asus Transformer Pad. Following that might make the problem worse.
Click to expand...
Click to collapse
No bro it has sameproblem unable to mount data and cache there is solution to solve
amithchinu said:
No bro it has sameproblem unable to mount data and cache there is solution to solve
Click to expand...
Click to collapse
In that tutorial mmcblk0p8 is being formatted because that memory location has the /data directory on Asus Transformer. But, in our device the /data can be in any other partition, and doing that might brick the device permanently
Delete the recovery log from twrp folder and flash another twrp from flashtool or rash..what version are you using? If it is indeed a corrupted partition, you can reflash your phone using qfill
Try using the Fix Permissions in TWRP recovery...
It may help.
:fingers-crossed:
@nikhil7870 do you solve this problems?
nikhil7870 said:
Im using a levovo a6000 android phone after rooting my phone i tried to install a custom rom
then when i checked my internal memory it was showing a 0mb of internal memory
the errors are as follows
1. E : unable to mount /data/media/TWRP/ .twrps when trying to read setting file.
2. E: Unable to mount '/data'
3. E: unable to mount '/storage'
Even on wiping dalvik cache and cache
i have rooted my phone using amd command prompt help me ee
Click to expand...
Click to collapse
Best way is install the latest twrp I.e 3.0.2 and do the format everything instead of advanced wipe. Your problem will be solved. I too faced the same problem and I did what I have advised you. It worked.
cyberwarrior_a said:
Best way is install the latest twrp I.e 3.0.2 and do the format everything instead of advanced wipe. Your problem will be solved. I too faced the same problem and I did what I have advised you. It worked.
Click to expand...
Click to collapse
Is the problem resolved??
I have solution
Bro don't take so much tension , thats not hardware problem its only your Recovery's reading cache error . you can simply fix this by flashing old version of recovery and from that old recovery again wipe what you want to remove but man don't touch your mount section column , after wiping data and anything else simply flash new twrp.img then simply reboot recovery . wollllaaa you got your partion cache back now again you can simply flash you favorite roms. I hope you understand what you have to do now . But please follow these steps carefully :good: .
Remember don't flash KitKat recovery over lolipop recovery otherwise you got bootloop. Old recovery means suppose if you have now twrp v 3.1 just simply flash v2.8 then after wiping things you want , then simply flash twrp v 3.1 .
If you still have any doubt you can contact me via WhatsApp - +91 9205097520 (indian no. ) or simply reply me on xda or simply mail me at - [email protected] . And at last don't forget to tell me about your device problem .

TWRP Error 7, show Storage Internal 0 MB. Please help, wrote full description

im using ASUS Zenfone 5 as my daily driver since it was came out. before everything screwed up, im using XOSP 6.3 it was stable, but recently bugging. first time i unlock bootloader with ASUS official unlocker. My history of custom rom are CM12, Ressurection Remix LP, DirtyUnicorn, Cleanstock, XOSP. long short story. im trying tanks0412's stable Ressurection Remix, follow the precise of the instruction which is wiping System, dalvik, cache, data and internal. wiping internal which leads me to this problem, this problem has been occured 1-2 times when i did it and i succesfully fix it by flashing RR LP or somehow it fixed. but this time, it wont. its been 3 days.
- it shows error 7 when flash rom, tried to remove asserts line in the rom. wont work
- TWRP shows internal storage 0 MB. tried to remount system with terminal. wont work
- tried to update TWRP, flashing via flashboot. wont work
- tried to downgrade TWRP to 2.8.7.0 with Zenfone Asist. wont work
- tried to flash CM13.1 system image with Zenfone Asist. says okay, everything fine in bootloader. reboot to recovery, says no os installed. Cant boot to system.
Device info =
ASUS Zenfone 5
- 8 GB internal storage
- 32 GB external storage
- 2 GB RAM
- ASUS T00J/F (i forgot)
- A500CG
- TWRP 3.0.M2-0
this is my first thread. correct me if im wrong
PLEASE HELP:crying:
Same problem
I'm having the same problem.. Did you find any solution for that?
Has anyone fixed this prob yet? Im facing it right now and it say failed to mount system data and cache.
earl0325 said:
Has anyone fixed this prob yet? Im facing it right now and it say failed to mount system data and cache.
Click to expand...
Click to collapse
Did you guys tried formatting data ? Don't wipe data but format data . I ran into this problem once this fixed the problem.
@Arrvinkumar
Boomshiva said:
Did you guys tried formatting data ? Don't wipe data but format data . I ran into this problem once this fixed the problem.
@Arrvinkumar
Click to expand...
Click to collapse
I tried that also stil facing the same errors.
Try this steps carefully :
1. Wipe cache, dalvic cache, system, data and internal storage.
2. After wiping press format data and then type "yes" .
3. After formating data, now go to install and flash the ROM you want with gapps.
4. After flashing rom and gapps now reboot system.
5. First boot will take some time.
(Note: keep in mind that after wiping cache,dalvik,system,data,internal you have to do format data (which you will see in bottom right corner of wipe section) )
Whenever I install new custom rom, i use only these steps. I never encounter these problems as i always format my data.
Try this things,hope you will use your device.
Sent from my Asus ZenFone 5 (A500CG) using XDA Labs
juyel92 said:
Try this steps carefully :
1. Wipe cache, dalvic cache, system, data and internal storage.
2. After wiping press format data and then type "yes" .
3. After formating data, now go to install and flash the ROM you want with gapps.
4. After flashing rom and gapps now reboot system.
5. First boot will take some time.
(Note: keep in mind that after wiping cache,dalvik,system,data,internal you have to do format data (which you will see in bottom right corner of wipe section) )
Whenever I install new custom rom, i use only these steps. I never encounter these problems as i always format my data.
Try this things,hope you will use your device.
Sent from my Asus ZenFone 5 (A500CG) using XDA Labs
Click to expand...
Click to collapse
I still have the error after trying your guide.
Failed to mount '/system' (invalid argument)
Failed to mount '/data' (invalid argument)
Failed to mount '/cache' ( invalid argument)
I badly need to fix this so i can use my phone again
earl0325 said:
I still have the error after trying your guide.
Failed to mount '/system' (invalid argument)
Failed to mount '/data' (invalid argument)
Failed to mount '/cache' ( invalid argument)
I badly need to fix this so i can use my phone again
Click to expand...
Click to collapse
Okay.
First check weather its mounted or not.
To do this go to twrp recovery mode, select Mount and check [√] every option. After that try to flash the rom again. It seems like your system,data and cache is not mounted. See if that helps or not.
Sent from my Asus ZenFone 5 (A500CG) using XDA Labs
juyel92 said:
Okay.
First check weather its mounted or not.
To do this go to twrp recovery mode, select Mount and check [√] every option. After that try to flash the rom again. It seems like your system,data and cache is not mounted. See if that helps or not.
Sent from my Asus ZenFone 5 (A500CG) using XDA Labs
Click to expand...
Click to collapse
It is not mounted and i cannot mount it on the TWRP>mount. Even though I pressed it, it doesnt [√]
earl0325 said:
It is not mounted and i cannot mount it on the TWRP>mount. Even though I pressed it, it doesnt [√]
Click to expand...
Click to collapse
Which version of twrp you are running?
juyel92 said:
Which version of twrp you are running?
Click to expand...
Click to collapse
Im on twrp 3.0m4.0
earl0325 said:
Im on twrp 3.0m4.0
Click to expand...
Click to collapse
Do one thing just revert back to stock ROM. After that root it again, unlock bootloader and install latest twrp and flash the custom ROM again.
juyel92 said:
Do one thing just revert back to stock ROM. After that root it again, unlock bootloader and install latest twrp and flash the custom ROM again.
Click to expand...
Click to collapse
I cant even revert to stock rom because when i flash fastboot.img and recovery.img then i try to enter recovery it leads me to twrp not the stock. Btw im the one your helping in the RR Nougat thread of tank
In twrp go to advanced -> select data -> change filesystem type and change it to f2fs and then ext4 after that. Do that with all the partitions
Adrao123 said:
In twrp go to advanced -> select data -> change filesystem type and change it to f2fs and then ext4 after that. Do that with all the partitions
Click to expand...
Click to collapse
Still didn't fixed the problem sir.
earl0325 said:
I tried that also stil facing the same errors.
Click to expand...
Click to collapse
Flash original kernel with adb command. hope u fix it
Kevin [email protected] said:
Flash original kernel with adb command. hope u fix it
Click to expand...
Click to collapse
Whre can i get the original kernel and can u give me the code yo input to flash kernel? Thanks ill try your recommendation.
im facing the sam problem too.. anyone can help???
kurzwelll said:
im facing the sam problem too.. anyone can help???
Click to expand...
Click to collapse
In your twrp does it also say failed to mount /system,/data, and /cache (invalid argument)
earl0325 said:
In your twrp does it also say failed to mount /system,/data, and /cache (invalid argument)
Click to expand...
Click to collapse
yess,, i face the same problem too.. i have trying install every rom but nothing change,, it just failed prosses after all... everything is "failed to mount" in twrp

S8 TWRP Error

Hi all,
Yesterday I managed to root my phone all fine with TWRP and SuperSU. Then after incorrectly uninstalling the security log agent and getting a million errors I foolishly deleted the stock OS.
I have download the correct version for my phone and location but now TWRP fails to launch.
I get the follows errors when booting to the recovery.
Failed to mount /data (invalid argument)
Unable to recreate /data/media folder
Unable to mount storage
Unable to mount /data/media/TWRP/.twrps
I have googled a millions things and am still stuck.
Interestingly tho, If i install the Indian version of the OS, it loads and roots no problems (I'm from New Zealand).
Any help greatly appreciated.
VacantLot said:
Hi all,
Yesterday I managed to root my phone all fine with TWRP and SuperSU. Then after incorrectly uninstalling the security log agent and getting a million errors I foolishly deleted the stock OS.
I have download the correct version for my phone and location but now TWRP fails to launch.
I get the follows errors when booting to the recovery.
Failed to mount /data (invalid argument)
Unable to recreate /data/media folder
Unable to mount storage
Unable to mount /data/media/TWRP/.twrps
I have googled a millions things and am still stuck.
Interestingly tho, If i install the Indian version of the OS, it loads and roots no problems (I'm from New Zealand).
Any help greatly appreciated.
Click to expand...
Click to collapse
Hi
Your internal memory now corrupt you have to format it.
Use twrp wipe option select internal memory then format to fat32 after that again do same thing. This time choose its original format type.
drparvez said:
Hi
Your internal memory now corrupt you have to format it.
Use twrp wipe option select internal memory then format to fat32 after that again do same thing. This time choose its original format type.
Click to expand...
Click to collapse
Hi, thanks for the fast reply.
Iv'e tried this option, I installed the Indian OS which works with TWRP, formatted the Data drive to FAT (Fat32 isn't an option) and then back to EXT4. I then used Odin to Install the carrier firmware I want to run and the same errors occurred. Could it be a problem with the actual OS?
Edit** When I install the Carrier firmware I can't get TWRP to open, these errors occur as soon as it opens, and then it crashes and reboots
VacantLot said:
Hi, thanks for the fast reply.
Iv'e tried this option, I installed the Indian OS which works with TWRP, formatted the Data drive to FAT (Fat32 isn't an option) and then back to EXT4. I then used Odin to Install the carrier firmware I want to run and the same errors occurred. Could it be a problem with the actual OS?
Edit** When I install the Carrier firmware I can't get TWRP to open, these errors occur as soon as it opens, and then it crashes and reboots
Click to expand...
Click to collapse
Try reflashing twrp
Acoustichayes said:
Try reflashing twrp
Click to expand...
Click to collapse
Hi hi, tried that several times. Would still like to find out what is causing the issue but have now installed Nemisis and all is working perfrctly which makes me think it's the OS as opposed to my file system, considering I have installed multiple other versions and ran TWRP no problems.
Got same problem here. Installed TWRP to flash a custom rom, TWRP can't mount /data.
Google doesn't give me any solutions
This fixed it for me:
- download stock firmware from sammobile & flash with Odin
- go into stock recovery
- wipe data and cache partitions
- flash twrp using odin
After that, TWRP was able to mount /data and function normally again

[Possibly bricked] "Failed to mount /data" & no internal storage

Hello everyone!
I have a P9 lite VNS-L31 running 7.0.1. on EMUI 5.0.2..
However during a factory wipe, it stopped booting correctly and I can't get passed from neither bootloader nor recovery.
I have TWRP Revolution v.260317 (TWRP 3.1.0-0) installed and my main problem is that for some reason the phone says that I have no internal storage whatsoever and if I try to wipe the /data partition it fails to mount it (error: Failed to mount /data (Invalid argument)).
I tried any of the methods in videos titled "how to fix unable to mount /data" (sorry, I cannot post links :/ ) but with no luck.
I can't seem to repair nor resize nor change file system of the /data partition. When trying to repair data using e2fsck it gives out the message:
" /sbin/e2fsck -fp process ended with ERROR: 16"
Any ideas?
I can use recovery and fastboot if necessary.
Regards
flash this twrp ;
https://forum.xda-developers.com/huawei-p9lite/development/twrp-t3588356
give me a thanks if it works
Exiatron00 said:
flash this twrp ;
https://forum.xda-developers.com/huawei-p9lite/development/twrp-t3588356
give me a thanks if it works
Click to expand...
Click to collapse
Well, more or less, but I managed to solve it!
I found out that the reason why it said there was 0mb of internal storage was because the bootloader that was previously unlocked turned itself locked, that's why it couldn't mount the /data partition. I just used SKR Tool to unlock the bootloader and after that yes, I installed that version of TWRP that you linked.
I also found out that the Revolution TWRP installed in the eRecovery partition (/recovery2 ?) instead of the normal recovery partition. What image is supposed to be installed in that partition?
That is the second recovery partition (another recovery) aka huaweis last ditch attempt to fix a broken phone. There's no actually problem if u don't have it-as most of the time (in my experience) its utter garbage, but there's no harm in flashing it if u want.
U can extract it from ur update.app file using huawei update extractor.
Exiatron00 said:
That is the second recovery partition (another recovery) aka huaweis last ditch attempt to fix a broken phone. There's no actually problem if u don't have it-as most of the time (in my experience) its utter garbage, but there's no harm in flashing it if u want.
U can extract it from ur update.app file using huawei update extractor.
Click to expand...
Click to collapse
Yeah, I tried to install the RECOVERY2.img that I extracted from the UPDATE.app and it didn't work so I just didn't bother and installed the TWRP again.
But at least everything is solved!
Thanks

Categories

Resources