• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [MetroPCS] Bricked my phone - can't mount /data - running Ubuntu

Xieon

Well-Known Member
So I messed up pretty big when trying to get ready for CM Rom, and when I factory reset I messed up the sd card so now I can't mount the /data.

I can't get into anything, the rom starts, but I get stuck at the pick launcher screen.

I'm assuming that using the LG recovery tool, and flash a kdz will fix the problem?

I'm running ubuntu linux. Could someone tell me a fast way to install this, so I can get my phone at least back to stock/unroot?
 
Since you said you get stuck at the launcher screen... Plug your phone to your PC and if you have ADB installed on your PC then run the following command in linux terminal...

Wait 15 seconds after plugging phone in before you run the command.
Code:
adb reboot recovery

This should get you into recovery so that you can restore a backup.

Your only other option is to restore kdz on a winblows PC. Here's my guide for that...

Unbrick

Good luck.

;)
 
Since you said you get stuck at the launcher screen... Plug your phone to your PC and if you have ADB installed on your PC then run the following command in linux terminal...

Wait 15 seconds after plugging phone in before you run the command.
Code:
adb reboot recovery
This should get you into recovery so that you can restore a backup.

Your only other option is to restore kdz on a winblows PC. Here's my guide for that...

Unbrick

Good luck.

;)

Thanks for the help.

I can get into CWM fine, however, when I get to the launcher screen I get stuck in force close loop, and it won't mount my data.

I'm installing the SDK now, and will attempt adb although won't that ultimately give me same result, or once I'm past recovery should I be able to mount?
 
Thanks for the help.

I can get into CWM fine, however, when I get to the launcher screen I get stuck in force close loop, and it won't mount my data.

I'm installing the SDK now, and will attempt adb although won't that ultimately give me same result, or once I'm past recovery should I be able to mount?

When you boot into recovery with the button combo your data partition gets corrupted. That's why you're having issues.

I can probably get you outta this mess, but we'll have to be quick cause I gotta step out soon.

Install adb and also download twrp recovery and extract the zip and grab the f6_twrp.lok file. Open terminal in the same directory as f6_twrp.lok and run the following 4 commands...

Code:
adb push f6_twrp.lok /data/local/tmp/f6_twrp.lok

adb shell su -c dd if=/data/local/tmp/f6_twrp.lok of=/dev/block/platform/msm_sdcc.1/by-name/recovery

adb shell rm /data/local/tmp/f6_twrp.lok

adb reboot recovery

Once in twrp recovery you will have to select the option to "format data". Then select advanced wipe and wipe system, cache, and dalvik. After doing this you should be able to flash any rom or restore a backup.

Not sure if this will work cause of corrupt data, so you might have to kdz.
 
Soooooo you either fixed it or your phone blew up since you never got back lol.

Well hope you got it fixed... I'm curious to know.
 
Just so EVERYONE is aware, if you can not mount data in CWM, there is an easy /fix/. It's not really a fix or what have you. Just when you are in mount&format options in CWM, Select to format "/Data/ & /Cache/" on the bottom of the list. It will correctly format and mount /data/ and then you can do whatever you need to do after the fact. No more stuck with /data/ not mounting.
 
Soooooo you either fixed it or your phone blew up since you never got back lol.

Well hope you got it fixed... I'm curious to know.

Didn't fix it yet, but it didn't blow up.

I had to wait to download Java, and the SDK, and ended up falling asleep.

I will try the .adb commands as soon as I can. I'm going to attempt to try the method below, and if all else fails I'll have to virtual machine into Windows


Just so EVERYONE is aware, if you can not mount data in CWM, there is an easy /fix/. It's not really a fix or what have you. Just when you are in mount&format options in CWM, Select to format "/Data/ & /Cache/" on the bottom of the list. It will correctly format and mount /data/ and then you can do whatever you need to do after the fact. No more stuck with /data/ not mounting.

I don't have a format data and cache option, but at the bottom I do have format data and data/media. So I tried that one.

It says it formats the cache, and the data, it says it can format them, and it lets me restore my backup, but when I get to the homescreen its the same issue. I don't know how that's possible, unless the CWM output is lying about what it's doing.

I'll attempt the next backup, see how it goes.
 
Just so EVERYONE is aware, if you can not mount data in CWM, there is an easy /fix/. It's not really a fix or what have you. Just when you are in mount&format options in CWM, Select to format "/Data/ & /Cache/" on the bottom of the list. It will correctly format and mount /data/ and then you can do whatever you need to do after the fact. No more stuck with /data/ not mounting.

Your method fixed it :)

Thanks. I just had to keep formatting over, and over, but it worked.

Also thanks game for the help, cool to see someone I thinks a pretty big dev helping me out.
 
I will also attest to this method. the first time i was worried, thought i was going to have to kdz. but just format /data and reflash rom and gapps. also good idea to keep a copy of xperion handy. i found that if i format /data and wipe all then flash xperion. then make my way back to cm11 or which ever rom im in the mood for it helps straighten out the data partition.


and lll be sticking with my f6 for a good while. in the process of changing carears so cant buy any other devices. lol so youll be sing alot of me in the dev section
 
Okay, I just got the "mount /data" problem when I tried to factory reset. My second time I think. My theory of what brought it on is that this time I booted to recovery using the "power button + down volume" method. I was using CM11 at the time, and if i'm not wrong, there's no apparent option to restart into recovery by default, and I was too lazy to download quickboot (which gives me the option to boot into recovery) like I usually do.

Trying to format data did nothing. I just got the same can't mount data error no matter how many times I did it. Same with trying to restore with a backup. What simply fixed it was flashing with a fresh rom. In my case, I used Xperion rom, and the installation went smoothly.
 
Just so EVERYONE is aware, if you can not mount data in CWM, there is an easy /fix/. It's not really a fix or what have you. Just when you are in mount&format options in CWM, Select to format "/Data/ & /Cache/" on the bottom of the list. It will correctly format and mount /data/ and then you can do whatever you need to do after the fact. No more stuck with /data/ not mounting.

I blew up my phone but wasn't worried because I had made a CWM backup a couple days ago. But then the data folder wouldn't restore.
I was cursing and resolved to having to start from scratch until I saw your post. Tried formatting per your instructions and was able to restore fully. Thanks!
 
yep.

The same applies to the ppl /TWRP recovery.

When you can't restore your backup, go to Wipe and select format data, type yes, go back, restore your backup.
 
Back
Top Bottom