Nothing can be written on internal storage (insert sd card error on camera, etc) - Nexus 5 Q&A, Help & Troubleshooting

I posted this on reddit...but didn't get much help...i hope the geniuses at xda can help me
As the title says, the camera app (any camera app) won't work because as you start any of them, it asks to insert the sd card, but this is a 2013 Nexus 5...so it doesn't have an sd card.
I've done a fair amount of research and the only thing that seems to be mentioned is factory reset. I've done that...both through the settings and twrp. The phone has a stock marshmallow rom.
I tried to download any other file and it won't let me download anything becauase the "sd card" is not available. So it's as if the internal sd card isn't mounted? how do I fix this? I don't have a computer nearby to do anything with adb...any help would be GREATLY appreciated...
The amount of storage according to the settings is correct (3gb used of 12 gb..16gb nexus 5)...all app permissions are correct. I've reflashed two different stock firmwares with the exact same result.

Try this:
boot into fastboot;
run this fastboot command: fastboot erase recovery (to erase existing recovery);
run this fastboot command: fastboot flash recovery recovery.img (to flash stock recovery from stock ROM)
run this fastboot command: fastboot erase userdata;
run this fastboot command to flash the usedata img from the stock ROM: fastboot flash userdata userdata.img;
boot into stock recovery and perform a factory wipe/reset and wipe cache;
reboot.

audit13 said:
Try this:
boot into fastboot;
run this fastboot command: fastboot erase recovery (to erase existing recovery);
run this fastboot command: fastboot flash recovery recovery.img (to flash stock recovery from stock ROM)
run this fastboot command: fastboot erase userdata;
run this fastboot command to flash the usedata img from the stock ROM: fastboot flash userdata userdata.img;
boot into stock recovery and perform a factory wipe/reset and wipe cache;
reboot.
Click to expand...
Click to collapse
I'll try that tonight or tomorrow morning. Where do you suggest I download recovery.img (the stock recovery)?
Thanks for the help one way or another.. Hehe

The stock Google images are here: https://developers.google.com/android/nexus/images?hl=en
I assume the phone has an unlocked bootloader since you were able to flash stock ROMs.

What did you do between all being fine and now this problem?
Sent from my Xperia z5 using Tapatalk

Ben36 said:
What did you do between all being fine and now this problem?
Sent from my Xperia z5 using Tapatalk
Click to expand...
Click to collapse
I sold the phone to someone I know. I had a rom (i can't remember which)...so before i sold the phone, i encrypted it, wiped it clean, flashed the stock rom (and radio)....and did a factory reset.

audit13 said:
Try this:
boot into fastboot;
run this fastboot command: fastboot erase recovery (to erase existing recovery);
run this fastboot command: fastboot flash recovery recovery.img (to flash stock recovery from stock ROM)
run this fastboot command: fastboot erase userdata;
run this fastboot command to flash the usedata img from the stock ROM: fastboot flash userdata userdata.img;
boot into stock recovery and perform a factory wipe/reset and wipe cache;
reboot.
Click to expand...
Click to collapse
Thanks! I used the factory images and flashed everything from the compressed archive and it worked..you're a lifesaver. I guess I had to go further and reset everything..but thanks again!

Related

My phone is crippled... Mounting from recovery

Hey guys,
I flashed to the 5.01H dream build, didn't like it, and tried a nandroid recovery back to the latest JFW.
Now I'm getting the hanging G1. I've tried wiping but it still hangs. My SD card no longer has update.zip, because I deleted it upon sucessful launch of the 5.01H. I don't have a microSD card reader and was wondering how I can mount the sd card to usb from the recovery console, which I can get to.
I'm tried searching around but can't find a clear answer, and my linux knowledge is basically nill.
Thanks for your help!
plug your phone in..
using fastboot type the following
1. fastboot erase system -w
2. fastboot erase boot
after this... use your nandroid images and do this:
1. fastboot flash system system.img
2. fastboot flash boot boot.img
3. fastboot flash userdata userdata.img
4. fastboot reboot
I feel like a total idiot. I just realized that I did not flash the boot and userdata images when I did my nandroid restore.
Thank you, you're a lifesaver!
P.S. The 3rd step actually was fastboot flash userdata data.img
glad that helped! yeah you are right....data.img..

Stuck in Bootloop

Trying to install the 5.1 factory image and can't seem to escape bootloop. I can't even seem to get into recovery post flash to do a factory reset. It's funny, because if I flash TWRP instead of stock recovery i can get into TWRP. However, the file structure isn't built out at all when i mount from there. I flashed using the following method:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot erase cache
Thoughts?
pearlbrian said:
Trying to install the 5.1 factory image and can't seem to escape bootloop. I can't even seem to get into recovery post flash to do a factory reset. It's funny, because if I flash TWRP instead of stock recovery i can get into TWRP. However, the file structure isn't built out at all when i mount from there. I flashed using the following method:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot erase cache
Thoughts?
Click to expand...
Click to collapse
Can you get to bootloader? If so, just flash the stock image using the flash-all.bat
Unfortunately the flash all file never works for me. It hangs up after it flashes the radio. I was at least able to do a factory reset, during which several cache errors popped up. Maybe that is the root cause of the trouble?
pearlbrian said:
Trying to install the 5.1 factory image and can't seem to escape bootloop. I can't even seem to get into recovery post flash to do a factory reset. It's funny, because if I flash TWRP instead of stock recovery i can get into TWRP. However, the file structure isn't built out at all when i mount from there. I flashed using the following method:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot erase cache
Thoughts?
Click to expand...
Click to collapse
You erased the cache after flashing it... System is checking for the cache and so the boot loop, try without erasing the cache(without executing the last line of code)

Flashing factory image didnt return to stock!

I had on my nexus 5 custom recovery, custom kernel (franco) and paranoid android rom (rooted). I wanted to get back to stock and flashed factory image lollipop 5.1 doint this
adb devices
adb reboot bootloader
fastboot flash bootloader <bootloader-filename>.img
fastboot flash radio <radio-fileame>.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot reboot
When i rebooted i noticed that everything was fine but i had paranoid android rather than stock rom! What happened?
You didn't erase anything and it's hard to say without a log. Follow method 2: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
Or use the built-in script (flash-all).
Primokorn said:
You didn't erase anything and it's hard to say without a log. Follow method 2: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
Or use the built-in script (flash-all).
Click to expand...
Click to collapse
Thanks it worked!

Nexus 5 Soft-Bricked HELP PLEASE!!!

Although my Nexus 5 is rooted with the toolkit I haven't done anything to it in months (no custom roms or anything)
My phone was working last night but when I woke up and it was in a bootloop.
so i tried fixing the problem myself, here are the things I tried:
- Hitting it (in case the buttons were sticky)
- Flash stock + unroot on the n5 toolkit
- Bootloader>Recovery>Wipe Data/Factory Reset
After that, the boot loop stopped and whenever I try turning it on it goes straight to the bootloader.
So I tried going into the wugfresh advanced utilities and i tried:
- Fastboot Erase*
- Fastboot format*
*flash stock + unroot after both
I have a little bit of hope because I can access the bootloader but I have no idea what else I can try.
Any suggestions?
thank you in advance
Does the bootloader remain unlocked?
Try manually flashing the latest marshmallow. After flashing, boot back into fastboot and run these commands:
fastboot erase userdata
fastboot flash userdata userdata.img (the userdata.img file can be extracted from the stock ROM for flashing in fastboot)
After running the 2 commands, boot back into recovery and perform a full wipe of data and cache, then reboot.
audit13 said:
Does the bootloader remain unlocked?
Try manually flashing the latest marshmallow. After flashing, boot back into fastboot and run these commands:
fastboot erase userdata
fastboot flash userdata userdata.img (the userdata.img file can be extracted from the stock ROM for flashing in fastboot)
After running the 2 commands, boot back into recovery and perform a full wipe of data and cache, then reboot.
Click to expand...
Click to collapse
How do i run the 2 command "fastboot erase userdata" and "fastboot flash userdata userdata.img"
Fastboot on Windows
shbm111 said:
How do i run the 2 command "fastboot erase userdata" and "fastboot flash userdata userdata.img"
Click to expand...
Click to collapse
Hopefully you are running windows
dottech.org/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone
spacecaptain said:
Hopefully you are running windows
dottech.org/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone
Click to expand...
Click to collapse
Yup, I'm running windows.
anyways I don't think the nexus toolkit works on any other platform.
spacecaptain said:
Hopefully you are running windows
dottech.org/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone
Click to expand...
Click to collapse
So, I went through the method one adb setup and I still have no idea how to do the fastboot erase userdata
nvm got it.
Were you able to boot the phone?
I'm in the same situation and need help

system isn't load after fresh install

Hi,
i have nexus 5 that was something wrong with the WIFI (find nothing when was search) so , i did factory reset via the device and the problem still stays, so , i unlocked the bootloader via the android factory images webpage, than i installed the latest version with flash all file to the device.
than the device just show Google logo and nothing came up with it, than i tried lower version than the last one, and i got the same result, than i tried manually to enter the commandes and i got the same result,
where do i wrong that the system isn't up yet?
thank you
Hi:
I7210I said:
Hi,
i have nexus 5 that was something wrong with the WIFI (find nothing when was search) so , i did factory reset via the device and the problem still stays, so , i unlocked the bootloader via the android factory images webpage, than i installed the latest version with flash all file to the device.
Click to expand...
Click to collapse
You need this files (if using last factory image, hammerhead-m4b30z-factory-625c027b.zip):
boot.img
bootloader-hammerhead-hhz20h.img
cache.img
radio-hammerhead-m8974a-2.0.50.2.30.img
recovery.img
system.img
userdata.img
so unzip hammerhead-m4b30z-factory-625c027b.zip (factory image), the unzip
image-hammerhead-m4b30z.zip (located inside factory image) to get all files above
in the same folder and last but not least flashing (in fastbood mode):
type this (one line each time and press enter after each line)
fastboot flash bootloader bootloader-hammerhead-hhz20h.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.30.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash userdata userdata.img (this wipe your device.)
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot erase cache
fastboot flash cache cache.img
fastboot reboot.
That's all
Good luck
gsausalito said:
Hi:
You need this files (if using last factory image, hammerhead-m4b30z-factory-625c027b.zip):
boot.img
bootloader-hammerhead-hhz20h.img
cache.img
radio-hammerhead-m8974a-2.0.50.2.30.img
recovery.img
system.img
userdata.img
so unzip hammerhead-m4b30z-factory-625c027b.zip (factory image), the unzip
image-hammerhead-m4b30z.zip (located inside factory image) to get all files above
in the same folder and last but not least flashing (in fastbood mode):
type this (one line each time and press enter after each line)
fastboot flash bootloader bootloader-hammerhead-hhz20h.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.30.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash userdata userdata.img (this wipe your device.)
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot erase cache
fastboot flash cache cache.img
fastboot reboot.
That's all
Good luck
Click to expand...
Click to collapse
thnk you, i did it manually and i get the same result , what can be more? maybe the last 2-3 versions are making these thing?
Hi:
I7210I said:
thnk you, i did it manually and i get the same result , what can be more? maybe the last 2-3 versions are making these thing?
Click to expand...
Click to collapse
Did it fail or did it complete the process?
How long did you wait?
gsausalito said:
Hi:
Did it fail or did it complete the process?
How long did you wait?
Click to expand...
Click to collapse
now it come up, but the wifi isn't loaded, it search and find nothing even that there is at the room..maybe the hardware have problem?
Sent from my Pixel 2 XL using Tapatalk
Hi,
I7210I said:
now it come up, but the wifi isn't loaded, it search and find nothing even that there is at the room..maybe the hardware have problem?
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
Sorry, can't help. Never happened to me. It seems a hardware issue!

Categories

Resources