Cant mount /data, seems corrupted - Nexus 5 Q&A, Help & Troubleshooting

Okay, I've looked everywhere but I haven't found any solutions. I was running PA and everything was fine. Flashed purity, booted, and phone was FC. Went back to twrp (latest version) to restore backup. It requested a password. I have never set one. I hit cancel, clicked restore, and my entire sdcard partition is gone. Tried cwm, same thing. Error mounting /data. I'd really appreciate some help here. I'm an experienced ROM flasher. Been doing it a while. Is there anything I can do to fix it, short of flashing factory image?
Sent from my Nexus 7 using Tapatalk

Try wipe cache first
Sent from my Nexus 5 using Tapatalk

rootSU said:
Try wipe cache first
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I just kept trying to format data and it finally worked. Weird. I'm adb side loading PA right now so hopefully that'll work.
Edit: just finished sideloading. It booted, but on the setup screen, I have a reoccurring "unfortunately, phone has stopped" message. Recovery still says unable to mount storage when trying to wipe anything.
Sent from my Nexus 7 using Tapatalk

Flash stock images and reroot to fix
sent from my HAMMERHEAD neXus

CRIME INC. said:
Flash stock images and reroot to fix
sent from my HAMMERHEAD neXus
Click to expand...
Click to collapse
Yeah I figured I'd have to do that. I just didn't want to. Haha
Sent from my Nexus 7 using Tapatalk

CRIME INC. said:
Flash stock images and reroot to fix
sent from my HAMMERHEAD neXus
Click to expand...
Click to collapse
Completely unnecessary.
The ROM has a backup script that saves your Google apps as well as the dialer if you flashed that. That conflicts with a fresh install.
All you need to do is, factory reset, wipe system so that the script has nothing to backup, them flash ROM and gapps. That's it.
Sent from my Nexus 5

Pirateghost said:
Completely unnecessary.
The ROM has a backup script that saves your Google apps as well as the dialer if you flashed that. That conflicts with a fresh install.
All you need to do is, factory reset, wipe system so that the script has nothing to backup, them flash ROM and gapps. That's it.
Sent from my Nexus 5
Click to expand...
Click to collapse
Good to know.:thumbup:
sent from my HAMMERHEAD neXus

Related

Android 4.4.1 On Rooted Stock Nexus 5

So I've downloaded all my apps and mods for my stock rooted Nexus 5(running android 4.4), how could I get and android 4.4.1 without unrooting?
Sent from my Nexus 5 using XDA Premium 4 mobile app
If you're using the stock kernel and haven't changed anything at all in /system, you can just flash the update in recovery. I'm stock rooted with TWRP, and it flashed just fine for me.
Could you give me a link to the update please!?
Sent from my Nexus 5 using XDA Premium 4 mobile app
roelmmata said:
Could you give me a link to the update please!?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It's on the first page of general.
Did not work for me. Running stock with twrp. It mentioned something about unexpected info in build/prop file. Is it because I'm running art?
Sent from my Nexus 5 using Tapatalk
fytr4lyf223 said:
Did not work for me. Running stock with twrp. It mentioned something about unexpected info in build/prop file. Is it because I'm running art?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
You must have modified your build.prop. Revert it back to stock and it should work.
posted this in another thread but wasn't getting much action, this one seems busier
Just flashed the official 4.4.1 zip file using TWRP onto my phone and rebooted...
Now i'm getting constant errors with every google application.
non-stop popups saying "unfortunately google play store has stopped"
My APN's all deleted themselves as well and now I can't even add any back in, I fill all the information in and I hit save and it doesn't save anything. No service now..
couldn't do a factory reset, button wouldn't respond
anyone else have any problems like this. I've tried wiping my dalvik and cache but that failed. had to wipe data first, then cache worked, then dalvik finally wiped...
I'll set my phone back up and see if it works now, just going through first boot procedures
Mines worked perfectly, no problems and camera loads and captures faster
Sent from my GN5 [D821]
djkorben said:
posted this in another thread but wasn't getting much action, this one seems busier
Just flashed the official 4.4.1 zip file using TWRP onto my phone and rebooted...
Now i'm getting constant errors with every google application.
non-stop popups saying "unfortunately google play store has stopped"
My APN's all deleted themselves as well and now I can't even add any back in, I fill all the information in and I hit save and it doesn't save anything. No service now..
couldn't do a factory reset, button wouldn't respond
anyone else have any problems like this. I've tried wiping my dalvik and cache but that failed. had to wipe data first, then cache worked, then dalvik finally wiped...
I'll set my phone back up and see if it works now, just going through first boot procedures
Click to expand...
Click to collapse
I actually had the same things you mentioned in my stock n5, I wasn't even rooted (just unlocked) and it suddenly did all the things you said. I did all the same you did haha but I had to reflash factory images and it worked again, but I have no idea of what happened.
Sent from my Nexus 5 using Tapatalk
_MetalHead_ said:
You must have modified your build.prop. Revert it back to stock and it should work.
Click to expand...
Click to collapse
I did, but still got the error. But then I pasted in my backup build.prop from ROM toolbox and it worked! Then while in TWRP I reflashed TWRP (TWRPception!). However, when I went to reboot it did not prompt me to root the device. So I'm running 4.4.1 stock kernel with TWRP, but no root. TWRP never prompts to root. Does anyone know of a .zip I can flash to root the N5 via TWRP?
fytr4lyf223 said:
Does anyone know of a .zip I can flash to root the N5 via TWRP?
Click to expand...
Click to collapse
Have a look in the sticky threads, at the top of general. It should be obvious which one
fytr4lyf223 said:
I did, but still got the error. But then I pasted in my backup build.prop from ROM toolbox and it worked! Then while in TWRP I reflashed TWRP (TWRPception!). However, when I went to reboot it did not prompt me to root the device. So I'm running 4.4.1 stock kernel with TWRP, but no root. TWRP never prompts to root. Does anyone know of a .zip I can flash to root the N5 via TWRP?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1538053
I was able to root using CF auto root :cyclops:
Did you maybe delete data for Google Framework in order to get the OTA quicker?
Dan Morrill (an Android engineer) said that that is REALLY not recommended because it can have all sorts of problems with all google apps. Doing that erases your device fingerprint used for push notifications, device identification etc. The playstore was definitely affected by this as well.
Source: http://www.reddit.com/r/Android/com...ear_data_for_google_service_framework/cdiymrp

[Q] Factory reset question

Hi. I have a rooted Nexus 5 with stock ROM & kernel, Xposed installed and TWRP recovery. I'd like to do a factory reset, and by "factory reset" I mean I'd like to have it as if it was brand new. No apps, no media, etc. I think I can keep TWRP, but nothing else. I'd like to have it as it was the first time I powered it on. Can I do that from TWRP? Because I know that when you do a factory reset from recovery, usually, the /data/media directory isn't wiped.
You can not do it from twrp. I'd recommend flashing the factory image and then rerooting.
Sent from my Nexus 5
jd1639 said:
You can not do it from twrp. I'd recommend flashing the factory image and then rerooting.
Sent from my Nexus 5
Click to expand...
Click to collapse
Ok, thank you.
jd1639 said:
You can not do it from twrp. I'd recommend flashing the factory image and then rerooting.
Sent from my Nexus 5
Click to expand...
Click to collapse
Maybe I can't read, but why won't factory reset + intsd wipe in TWRP do what he needs?
I'm looking at TWRP right now and I'm not sure which option you would use, there's format data on the main wipe screen, and when you go into advanced there's internal storage. I'm thinking you want to wipe internal storage, but someone else with knowledge of this should chime in first before you do it. I've never factory restored a phone through recovery so I'm not sure. Wouldn't locking and unlocking your bootloader with ADB accomplish the same thing?
There is literally a sticky in one of the Nexus forums that explains how to go back to bone stock. check it out, should be everything you need.
Pain-N-Panic said:
There is literally a sticky in one of the Nexus forums that explains how to go back to bone stock. check it out, should be everything you need.
Click to expand...
Click to collapse
Right, but if you want to retain root and recovery like TWRP, can't you just format your storage through recovery?
Aerowinder said:
Maybe I can't read, but why won't factory reset + intsd wipe in TWRP do what he needs?
Click to expand...
Click to collapse
OP was not explicit. Asked for it to be like first time powered on which I suspect was not with a custom rom or kernel. Think OP needs to elaborate on what is desired but no recovery can replace rom and kernel with the "factory reset" option
Sent from my Nexus 5 using Tapatalk
rootSU said:
OP was not explicit. Asked for it to be like first time powered on which I suspect was not with a custom rom or kernel. Think OP needs to elaborate on what is desired but no recovery can replace rom and kernel with the "factory reset" option
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
It seems he want's to go completely back to stock while keeping TWRP.
t1.8matt said:
It seems he want's to go completely back to stock while keeping TWRP.
Click to expand...
Click to collapse
Yes. That's how it reads to me
Sent from my Nexus 5 using Tapatalk

Corrupted userdata partition

Basically, my userdata partition keeps getting corrupted every couple of flashes. I have to factory flash to get everything working again. It just started happening recently(A few hours ago). What is going on? Thanks!
While flashing the stock images make sure you have also Erased cache partition and formatted it using stock recovery.. I was exactly in the same spot as you were few weeks ago and a cache partition format solved it completely!
Koopa777 said:
Basically, my userdata partition keeps getting corrupted every couple of flashes. I have to factory flash to get everything working again. It just started happening recently(A few hours ago). What is going on? Thanks!
Click to expand...
Click to collapse
I had the same problem as you. I used this guide and now it works great. Just follow the steps. Good luck.
prabs99 said:
I had the same problem as you. I used this guide and now it works great. Just follow the steps. Good luck.
Click to expand...
Click to collapse
I can actually confirm that it is an issue with ParanoidAndroid. It always corrupts the data partition following boot. I repeated it with continued success.
Sent from my Nexus 5 using Tapatalk
Koopa777 said:
I can actually confirm that it is an issue with ParanoidAndroid. It always corrupts the data partition following boot. I repeated it with continued success.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
You're the only one saying such things. If there was a problem with the ROM we would have heard it from others and the team would see the same issues.
The ROM ships with stock Google kernel. The ROM doesn't do anything in itself that could corrupt your userdata
Sent from my Nexus 5
Pirateghost said:
You're the only one saying such things. If there was a problem with the ROM we would have heard it from others and the team would see the same issues.
The ROM ships with stock Google kernel. The ROM doesn't do anything in itself that could corrupt your userdata
Sent from my Nexus 5
Click to expand...
Click to collapse
I've come to the conclusion, after 4(!) factory images, that the ROM DEFINITELY corrupts the recovery. I have a 100% success(failure?) rate when flashing PA. Clean md5, after first boot the ROM functions properly, but recovery fails to mount the userdata partition, every time. Flash a new recovery, or adb shell and attempt to repair don't work. I understand that it doesn't make sense, but it's obviously something that's happening with the ROM. After 4 factory images, the only other factors are the recovery(PhilZ, TWRP, AND CWM all fail) being borked from the start, or the ROM. It's obviously not the recovery(all 3 have clean md5s, are transferred with adb push, and function perfectly otherwise).....
Again, in the ROM I can r/w to the /data, so the partition is fine, but the ROM borks the recovery.
But there is nothing in the ROM that would cause that. Are you restoring anything from previous versions? Are you installing an app that does this?
Sent from my Nexus 5
Pirateghost said:
But there is nothing in the ROM that would cause that. Are you restoring anything from previous versions? Are you installing an app that does this?
Sent from my Nexus 5
Click to expand...
Click to collapse
No and no. I don't even install Gapps. The ROM alone still triggers it. I just boot into system then boot to recovery.
Sent from my Nexus 5 using Tapatalk
Koopa777 said:
No and no. I don't even install Gapps. The ROM alone still triggers it. I just boot into system then boot to recovery.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
This sounds like you have a hardware issue. Did it do this on stock image with custom recovery?
Sent from my Nexus 5
Pirateghost said:
This sounds like you have a hardware issue. Did it do this on stock image with custom recovery?
Sent from my Nexus 5
Click to expand...
Click to collapse
No. I can flash different ROMs, kernels, etc. Just not PA. The only thing of note was that my stock backup bootlooped when restoring with TWRP, but other than that no.
Sent from my Nexus 5 using Tapatalk
Nevermind, I just flashed liquidsmooth+Elementalx with PhilZ and it happened again. So what exactly is going on?
Are you not able to repair the corrupted partition as explained in the linked thread?
Sent from my Nexus 5
Pirateghost said:
Are you not able to repair the corrupted partition as explained in the linked thread?
Sent from my Nexus 5
Click to expand...
Click to collapse
Nope. Adb shell in Philz says repair failed. I found this
http://forum.xda-developers.com/google-nexus-5/help/unable-to-mount-data-issue-t2723993
http://forum.xda-developers.com/google-nexus-5/help/recovery-mount-data-t2639945
But neither helps. Recovery still can not mount /data.
I would RMA it.
Sent from my Nexus 5
I would try LG Flashtool it worked for me.
maxal said:
I would try LG Flashtool it worked for me.
Click to expand...
Click to collapse
Seriously? I have the LGFT installed(G2 owner) too. Hm......So basically get the tot and dll, and flash? COM41 and all that jazz?
Koopa777 said:
Seriously? I have the LGFT installed(G2 owner) too. Hm......So basically get the tot and dll, and flash? COM41 and all that jazz?
Click to expand...
Click to collapse
Yup, here is the link http://forum.xda-developers.com/goo...orial-how-to-flash-factory-images-lg-t2713833
I just called Google. RMA is inbound. It just kind of sucks, this phone was solid. No light bleed, no dead pixels, etc. Except for a loose power button.
Anyway I think it is definately a hardware issue, as my phone has been getting crazy hot lately. I know it's supposed to get hot, but this phone was scorching...Might have fried something.

4.4.3 Released, I'm on a 4.4.2 ROM. (Noob Question)

Hey folks, here's a really nooby question for you. I apologise in advance, this is my first android phone, and I'm a little confused and paranoid about updating my ROM with a new version of android.
I want to get Paranoid Android on 4.4.3 on my phone, I'm currently using Slimkat on 4.4.2. How would I go about installing PA on 4.4.3 on my phone? Is it as simple as a quick flash of the PA ROM, or is it more difficult then that?
What I'm trying to ask is, how would I go about installing Paranoid Android that is built for KitKat 4.4.3 on my phone which is currently running SlimKat built for KitKat 4.4.2.
Thank you in advance for all answers
Sent from my Nexus 5 using Tapatalk
Just wipe and flash. After a backup of course.
sent from my Paranoid HAMMERHEAD
CRIME INC. said:
Just wipe and flash. After a backup of course.
sent from my Paranoid HAMMERHEAD
Click to expand...
Click to collapse
Really? Thought it would be harder then that. Cheers, can anyone confirm?
Sent from my Nexus 5 using Tapatalk
@ProVickers
Wipe everything (cache, dalvic, data), format /system and then flash the PA.zip followed by the gapps.
Yes sir.
sent from my Paranoid HAMMERHEAD
vin4yak said:
@ProVickers
Wipe everything (cache, dalvic, data), format /system and then flash the PA.zip followed by the gapps.
Click to expand...
Click to collapse
Not too keen on wiping data. Any better way then that? Cheers.
Sent from my Nexus 5 using Tapatalk
Would it work if I flashed the PA 4.4.2 version on my phone, then used the built in PA OTA thing to get the 4.4.3 update for me? I don't know. Just an idea
Sent from my Nexus 5 using Tapatalk
ProVickers said:
Not too keen on wiping data. Any better way then that? Cheers.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Backup your apps with app like Rom toolbox or titanium backup and wipe data. If you don't, there will most certainly be errors and crashes all over the rom.
And don't confuse data with internal storage. You can keep your storage, but it is also recommended to format it when switching roms.
So yeah...backup, throw on PC, flash. It's the most safe and fast way, otherwise you may be wasting time flashing again and again while cleaning of any mistakes.
Sent from my Nexus 5 using Tapatalk
Dawnut said:
Backup your apps with app like Rom toolbox or titanium backup and wipe data. If you don't, there will most certainly be errors and crashes all over the rom.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thinking about it now it sounds a little better. Use TiBu to backup my apps and make a backup of my internal storage on my computer to drag and drop back later. This wouldn't break root or re-lock bootloader will it?
Sent from my Nexus 5 using Tapatalk
ProVickers said:
Not too keen on wiping data. Any better way then that? Cheers.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Factoring reset/data reset from a custom recovery won't touch /sdcard. All your personal files will be fine.
ProVickers said:
Would it work if I flashed the PA 4.4.2 version on my phone, then used the built in PA OTA thing to get the 4.4.3 update for me? I don't know. Just an idea
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Why do you want to lengthen the process?? Wipe, format system, flash PA, gapps. Done!
ProVickers said:
Thinking about it now it sounds a little better. Use TiBu to backup my apps and make a backup of my internal storage on my computer to drag and drop back later. This wouldn't break root or re-lock bootloader will it?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
No, when done flashing the rom, if the rom comes rooted, I recommend installing SuperSU from the play store. It is a standart root app and pretty good one too. Otherwise, it won't affect neither your root or bootloader.
Sent from my Nexus 5 using Tapatalk
ProVickers said:
Thinking about it now it sounds a little better. Use TiBu to backup my apps and make a backup of my internal storage on my computer to drag and drop back later. This wouldn't break root or re-lock bootloader will it?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
No Sir, it won't!
Edit: Ugh.. Getting ninja'd a lot of times recently
vin4yak said:
Factoring reset/data reset from a custom recovery won't touch /sdcard. All your personal files will be fine.
Why do you want to lengthen the process?? Wipe, format system, flash PA, gapps. Done!
Click to expand...
Click to collapse
oh, really? Awesome! What do you mean by format system? I've never came across this. Cheers
Sent from my Nexus 5 using Tapatalk
ProVickers said:
oh, really? Awesome! What do you mean by format system? I've never came across this. Cheers
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Boot into recovery > Wipe > Format system. The path should be something like this. It wipes EVERYTHING, including internal storage. So backup!
Sent from my Nexus 5 using Tapatalk
ProVickers said:
oh, really? Awesome! What do you mean by format system? I've never came across this. Cheers
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
If you're using Philz, Go to mounts and storage and format system from there. It won't wipe your sdcard.
Dawnut said:
Boot into recovery > Wipe > Format system. The path should be something like this. It wipes EVERYTHING, including internal storage. So backup!
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Formatting /system doesn't wipe internal storage. It just formats the /system partition.
vin4yak said:
Formatting /system doesn't wipe internal storage. It just formats the /system partition.
Click to expand...
Click to collapse
Um, sorry about that, got a little carried away [emoji28] Thanks for noticing.
Dawnut said:
Um, sorry about that, got a little carried away [emoji28] Thanks for noticing.
Click to expand...
Click to collapse
Hah, happens! I see everybody's loving the new SwiftKey app! ?
- Sent from an IceCold Hammerhead!
vin4yak said:
Hah, happens! I see everybody's loving the new SwiftKey app! ?
- Sent from an IceCold Hammerhead!
Click to expand...
Click to collapse
I am using the integrated swype thing in the AOSP keyboard, but guess it's the same
The PA zip will actually format /system before it install the new ROM over your system. I'm old school and still format system manually through recovery but if you don't know where that is in the recovery version I wouldn't sweat it. If you have problems after boot you may need to go in and figure out how to do it yourself but like I said most ROMs on the forum format /system before installing new system.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Beamer9408 said:
The PA zip will actually format /system before it install the new ROM over your system. I'm old school and still format system manually through recovery but if you don't know where that is in the recovery version I wouldn't sweat it. If you have problems after boot you may need to go in and figure out how to do it yourself but like I said most ROMs on the forum format /system before installing new system.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes it formats system but if there is anything in addon.d directory it will bring over some undesirables at times. Best to manually wipe system to keep it clean.
#stayparanoid

[Rooted] Error updating android

I wanted to switch back to stock Rom, I flashed it with fastboot (I downloaded 4.4.4)
I installed Root and XPosed, but I uninstalled XPosed again, Android wanted to update to 4.4.2 (settings said i have 4.4), but I got an error, Installed twrp and tried it manully, i got an error (i think it was error excecuting binary...)
This guide should fix you up,
http://forum.xda-developers.com/showthread.php?t=2513701
Returning to stock isnt the Problem! I have the stock installed
dav20011 said:
Returning to stock isnt the Problem! I have the stock installed
Click to expand...
Click to collapse
Yes it is. You returned to stock then modified it so it is no longer stock. You cannot update unless you're still stock, but you're not. So flash latest stock.
Sent from my Nexus 5 using Tapatalk
I used CWM recovery to install it and then i got a more specific error (/system/framework/core.odex contains..., so it is xposed)Should I reflash the system.img, and does this wipe data?
dav20011 said:
I used CWM recovery to install it and then i got a more specific error (/system/framework/core.odex contains..., so it is xposed)Should I reflash the system.img, and does this wipe data?
Click to expand...
Click to collapse
If you use the flash all method in the link above it will wipe your data. If you fastboot flash system.img only then nothing gets wiped
All guides and info threads are available in my signature
Sent from my Nexus 5 using Tapatalk
OK thx i know how it works, I already flashed stock
If you knew how it works, why did you ask me how it works?
Sent from my Nexus 5 using Tapatalk
I didnt ask how to install stock
dav20011 said:
I didnt ask how to install stock
Click to expand...
Click to collapse
OK whatever. You asked if it wiped data, which insinuates that you don't quite know enough.
Anyway, whatever, you know where the guides and info threads are now. Every question you've asked is covered there so please read them before posting threads
Thanks.
Sent from my Nexus 5 using Tapatalk
I read many Website and I only read that flashing all images will wipe everything, I already thought that it will only wipe /system, but I wanted to be sure, losing data isnt funny
Nope. Its not funny. But at the same time, all covered I'm the sticky threads.
Sent from my Nexus 5 using Tapatalk

Categories

Resources