Corrupted userdata partition - Nexus 5 Q&A, Help & Troubleshooting

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.

Related

Slow TWRP?

Hi,
I am using the latest version of TWRP, but I see two weird things:
1.- It's slow to install ROMS, takes much more time than in the N4, really slow.. like three times more time!
2.- The date is messed up (1970 :S).
What is your experience?
The dates messed up but I don't think it's slow.
jd1639 said:
The dates messed up but I don't think it's slow.
Click to expand...
Click to collapse
Did you have a N4?
peikojose said:
Did you have a N4?
Click to expand...
Click to collapse
I don't have a n4 but I find twrp to run much faster on my n5 than on my s2 skyrocket.
Backup took a mighty long time...
Format of system partition or cache sometimes takes a while too, like15-20 min.
Sent from my Nexus 5 using XDA Premium 4 mobile app
When I first installed twrp I tried to install a custom ROM but it was unsuccessful I had to restart Twrp for it to install successfully but no more problems after that?
Sent from my Nexus 5 using Tapatalk 2
neoneras said:
Format of system partition or cache sometimes takes a while too, like15-20 min.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Do u have the latest version 2.6.3.4? This issue has been fixed afaik. Wipes are very fast on my end.
Flashing some custom roms can take a while though.
Primokorn said:
Do u have the latest version 2.6.3.4? This issue has been fixed afaik. Wipes are very fast on my end.
Flashing some custom roms can take a while though.
Click to expand...
Click to collapse
Thanks for info!
My TWRP version is not the latest one, it's 2.6.3.2 (got it automatically downloaded with toolkit I think). Will upgrade then I get back home and see what happens.
U need the newest one
Sent from my Nexus 5 using Tapatalk
realy slow ??
Flashing Cataclysm rom takes about a good 3-5 minutes. It just shows an animated loading bar, but doesn't seem to make any progress, then all of a sudden finishes. Scary, but still installs fine.
Just doesn't install as quickly as say a Note 2 flashing a rom.
It depends on the ROM you are flashing. Flashing is very fast with OmniROM for instance.
Primokorn said:
It depends on the ROM you are flashing. Flashing is very fast with OmniROM for instance.
Click to expand...
Click to collapse
formatting of /system is still extremely slow, even with 2.6.3.4. once /system has been formatted, everything else is very quick.
tsubus said:
formatting of /system is still extremely slow, even with 2.6.3.4. once /system has been formatted, everything else is very quick.
Click to expand...
Click to collapse
I disagree... A full wipe (system+data+cache+dalvik) requires about 5s to be completed. ^^
Primokorn said:
I disagree... A full wipe (system+data+cache+dalvik) requires about 5s to be completed. ^^
Click to expand...
Click to collapse
Full wipe from TWRP is quick, it's the wipe of /system when you install a ROM that is extremely slow.
tsubus said:
Full wipe from TWRP is quick, it's the wipe of /system when you install a ROM that is extremely slow.
Click to expand...
Click to collapse
What you're saying is that it's the ROM fault, is that it? Or this behaviour doesn't happen with CWM (flashing the same ROM obviously)?
a hammerhead wrote this.
Updating to latest twrp
May I ask where to get the latest version of TWRP and what is the best way to flash it, please? Thanks.
PhilipTD said:
May I ask where to get the latest version of TWRP and what is the best way to flash it, please? Thanks.
Click to expand...
Click to collapse
Download TWRP manager from the play store, there's an option to install TWRP recovery under advanced I believe. If not under advance its under one of the options
sent from my HAMMERHEAD neXus
jd1639 said:
I don't have a n4 but I find twrp to run much faster on my n5 than on my s2 skyrocket.
Click to expand...
Click to collapse
Aren't you being an intruder?

Nexus 5 32gb showing up as 16gb on computer

Hey guys,
Anybody else having their Nexus 5 32gb show up as only having 16gb available on the computer? I checked the box and it says 32gb, so I didn't get shipped the wrong one....
Did you factory reset it?
dicecuber said:
Did you factory reset it?
Click to expand...
Click to collapse
I haven't tried going completely back to stock, did you have that issue and it fixed it?
Yes it fixed it for me. Do a google search first to confirm
dicecuber said:
Yes it fixed it for me. Do a google search first to confirm
Click to expand...
Click to collapse
I tried a google search about this and it gave me nothing haha, that's why I made this post. When you say factory reset do you mean back to stock? Were you on a custom ROM?
http://forum.xda-developers.com/showthread.php?t=2535795
dicecuber said:
http://forum.xda-developers.com/showthread.php?t=2535795
Click to expand...
Click to collapse
Oh cool! So are you running a custom ROM with it working now?
Sent from my Nexus 5 using Tapatalk
Bump
Sent from my Nexus 5 using Tapatalk
something15525 said:
Bump
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
It's a common issue. You need to factory reset with stock recovery (or possibly format data with TWRP, unsure of that). Make a nandroid, copy it to your computer, flash stock recovery, factory reset, flash custom recovery, restore nandroid. Fixed.
This information is also hidden away in post #2 of this thread: http://forum.xda-developers.com/showthread.php?t=2513701
Aerowinder said:
It's a common issue. You need to factory reset with stock recovery (or possibly format data with TWRP, unsure of that). Make a nandroid, copy it to your computer, flash stock recovery, factory reset, flash custom recovery, restore nandroid. Fixed.
This information is also hidden away in post #2 of this thread: http://forum.xda-developers.com/showthread.php?t=2513701
Click to expand...
Click to collapse
EDIT: Never mind, it worked

Cant mount /data, seems corrupted

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

[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

[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