[Q] Can't 100% access /sdcard - Nexus 5 Q&A, Help & Troubleshooting

Hello, I have had experience with a Nexus S and Galaxy Nexus, while skipping the Nexus 4 to try out the SG3, I have returned to the Google Experience.
I remember having partitioned the S and GS to have an Internal Memory, thus also allowing me to ADB push to its home, as well as being able to drag NDBackups to my computer.
With the Nexus 5, part one was unlock, recovery, and root. I have successfully done so, though having to mess with directories to grab SuperUser for some reason- this should not have affected /sd card.
I could not successfully adb push SU.zip/ sdcard, and
a)view /sdcard on my pc
b)install zip from SDcard and see the file, there was /0 /legacy and /oob
I have googled, I have searched to the best of my keywording abilities, and find answers on Why Nexus doesnt have sd articles, and other things like Nexus 4 and 7 results that don't help.
So if anyone would mind, giving me instructions to create or open the partition, I would appreciate it.

You need to be booted into recovery first. Then mount /sdcard from the recovery menu.
If you can't mount /sdcard, mount /data and push to /data/media/0
Sent from my Nexus 5 using Tapatalk

UI didn't get a mount /sdcard option at all to touch or select, which is strange. I did however download clockword MLD and found an option to partition SDCard. I'm going to see if that mad a change and post back. Thanks rootsu
The push method helped a lot. Love the learning experience
Sent from my Nexus 5 using Tapatalk

Wait? You're not going to "partition sdcard" are you? DON'T
Sent from my Nexus 5 using Tapatalk

Dude, treat it as it was a Galaxy Nexus. Haven't had any problems with adb on both.
a hammerhead wrote this.

rootSU said:
Wait? You're not going to "partition sdcard" are you? DON'T
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thats what I did, is there a reason I should not. During my GS3 days, my Nexus ways became rusty. Nothing bad has happened yet, not that I have noticed. BTW, yes, the mount /data helped.
Anyways, what about the CWM option to -mount USB Storage
That doesn't seem to operate. Is this how it is for the N5?

Windst said:
Thats what I did, is there a reason I should not.
Click to expand...
Click to collapse
Jeez, man really? You're lucky it seems to do nothing. This is for phones with an external sdcard with small internal memory (200MB for example) where it takes the external sdcard and creates an ext partition on it. This is NOT for your phone. Please never touch this again. Lucky you didn't do harm!
Windst said:
Anyways, what about the CWM option to -mount USB Storage
That doesn't seem to operate. Is this how it is for the N5?
Click to expand...
Click to collapse
The nexus 5 isn't a USB storage device.
http://forum.xda-developers.com/showthread.php?t=2534010
[ info] Storage: Nexus 5 Data (info / loss / recovery / prevention)
Sent from my Nexus 5 using Tapatalk

Hmm then I'm very out of the loop. I've been able to access the SD card and internal memory I'm sure from cwm in the past.
I figured since my Nexus S had a /sdcard that's what the partition was for. Glad it didn't brick, but I wonder if it did anything at all? I guess I'll find out or not at all. Agian, thanks.
Sent from my Nexus 5 using Tapatalk

It probably did nothing. You would next have been asked what size partition you want to make so if that didn't happen, sounds like it simply failed
Sent from my Nexus 5 using Tapatalk

rootSU said:
It probably did nothing. You would next have been asked what size partition you want to make so if that didn't happen, sounds like it simply failed
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
It asked, but nothing happened. I think it just got confused and looked at me weird.

Probably as you don't have a dedicated /advanced partition - but its lucky
Sent from my Nexus 5 using Tapatalk

Related

[Q] File System question

I performed a Factory Reset / Wipe and was under the impression this cleared everything off the Xoom that I had added. Upon looking at the /mnt/sdcard folder I see folders of Apps that I had previously installed.
Question
Can the /mnt/sdcard be formatted ? If so how ?
Not super familiar with the whole file system setup so If this is a noob/stupid question could you please explain things for me.
mgabriel2 said:
Can the /mnt/sdcard be formatted ? If so how ?
Click to expand...
Click to collapse
There are two ways that I know of that I personally have done just in the last week or so. First you can unmount the SD card from the Xoom and place it in an Android Cell Phone, and go to settings/storage and from there unmount the card and click reformat SD card. Or you can hook the Xoom up via USB and clear it from within the PC/mac. Hope this helped.
Sent from my Xoom using xda premium
Nope that would be for the micro USB card this is the /mint/sdcard which is part of the internal memory
Sent from my Xoom using xda premium
mgabriel2 said:
Nope that would be for the micro USB card this is the /mint/sdcard which is part of the internal memory
Sent from my Xoom using xda premium
Click to expand...
Click to collapse
Fastboot -w wipes all user data including /mnt/sdcard I lost some pictures of my dog because of it
Sent from my MB860 using xda premium
The simplest way I know of is thru the Backup/Restore options in CWM, just doing the wipes won't do it. I use the Team Rogue version of CWM tho, i don't remember off hand if it can be done in the other recovery's (i.e. Rom Managers version or the one from solarnz that is most popular).
I just, personally, like the way the menus are laid out with Team Rogue's version and not having like a dozen No's with one Yes when confirming an action, nothing against the others.
Thanks guys I will try the Fastboot -w when at home and able to use it and Team Rogue's Recovery when at work.
Its been awhile but what is the option in Team Rogue recovery I dont see one to wipe the Internal data
mgabriel2 said:
Its been awhile but what is the option in Team Rogue recovery I dont see one to wipe the Internal data
Click to expand...
Click to collapse
I believe that its or in the Advance or Mount Storage options....

ExtSdCard mount point?

Is there a way to mount the external sdcard somewhere other than /mnt/extSdCard? Many programs are only referencing /sdcard, so I thought it might make sense for the external xard to be mounted somewhere under that point, maybe /sdcsrd/external?
Sent from my Galaxy Note 10.1 using Tapatalk 2
Better write to the makers of that software to correct this bug.
blulite said:
Is there a way to mount the external sdcard somewhere other than /mnt/extSdCard? Many programs are only referencing /sdcard, so I thought it might make sense for the external xard to be mounted somewhere under that point, maybe /sdcsrd/external?
Sent from my Galaxy Note 10.1 using Tapatalk 2
Click to expand...
Click to collapse
edit: problem solved.
globalgpj said:
edit: problem solved.
Click to expand...
Click to collapse
And how?
I solved it by useing Directory Bind (here from XDA somewhere).

[Q] Can someone explain to me the Android File System

So, I'm trying to understand how and why the file system acts the way it does.
Example. I have
/sdcard
and this has a bunch of stuff under it
then i have
/sdcard/0
this has some of the same stuff under it as /sdcard, but is a different file system
Why can I not just have a simple file system that I can understand! I seem to have issues with space because sometimes wiping the phone does not wipe the /sdcard/0 so I am working out of /sdcard/0 as opposed to the base of /sdcard
Any help? I am an idiot so explain like I'm 5, if possible.
Thanks in advance.
n0xide said:
So, I'm trying to understand how and why the file system acts the way it does.
Example. I have
/sdcard
and this has a bunch of stuff under it
then i have
/sdcard/0
this has some of the same stuff under it as /sdcard, but is a different file system
Why can I not just have a simple file system that I can understand! I seem to have issues with space because sometimes wiping the phone does not wipe the /sdcard/0 so I am working out of /sdcard/0 as opposed to the base of /sdcard
Any help? I am an idiot so explain like I'm 5, if possible.
Thanks in advance.
Click to expand...
Click to collapse
5 year old explanation.
4.3 and above Android systems implement a multi user file setup similar to what Windows and OSx uses. The 0 folder is your account, your significant other could be 1, your dog could be 2, this keeps going depending how many users are registered to the device. It's actual intent is to use multi user on a tablet interface, not a phone, but because jellybean is used on both phones and tablets the file structure is the same.
Normally you don't have to worry about much of this, but if you came from 4.1 jellybean then multiuser wasn't implemented yet. This would double up your data in both places.
To me it sounds like you're OK, it's going to show double files because it's essentially reading the exact same folder, the format isn't going to understand what you're trying to do because it doesn't really know where to look for your data files. Basically, leave your 0 folder alone because that's where your data is supposed to be stored.
Was that 5 year old enough?
Edit: if you format your internal SD card in your recovery, then you'll erase the doubled data, and your folder structure will be repopulated under the 0 folder system. If you're running out of internal storage that's what you should do. Then clean flash the rom of your choice following the format.
Sent from my SCH-I535 using Tapatalk 2
BadUsername said:
5 year old explanation.
4.3 and above Android systems implement a multi user file setup similar to what Windows and OSx uses. The 0 folder is your account, your significant other could be 1, your dog could be 2, this keeps going depending how many users are registered to the device. It's actual intent is to use multi user on a tablet interface, not a phone, but because jellybean is used on both phones and tablets the file structure is the same.
Normally you don't have to worry about much of this, but if you came from 4.1 jellybean then multiuser wasn't implemented yet. This would double up your data in both places.
To me it sounds like you're OK, it's going to show double files because it's essentially reading the exact same folder, the format isn't going to understand what you're trying to do because it doesn't really know where to look for your data files. Basically, leave your 0 folder alone because that's where your data is supposed to be stored.
Was that 5 year old enough?
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Yeah! That's a pretty solid explanation! I couldn't seem to find anywhere that broke it down that way.
So let me ask one more 5 year old question.
I seem to have TONS of space used up on my SD card, that I cannot free up.
I have a 16Gig GSIII, when I attach my phone to windows, I have 7gb free of 12gb. I just wiped system, cache, and dalvik, and have a clean version of Beanstalk 4.4.2.
How am I using 5gb when the OS itself is only, ~199Mb.
Is there anyway to have a completely clean install? Even when I soft bricked, and then revived w/odin and an old kernal, I don't think it was totally clean.
n0xide said:
Yeah! That's a pretty solid explanation! I couldn't seem to find anywhere that broke it down that way.
So let me ask one more 5 year old question.
I seem to have TONS of space used up on my SD card, that I cannot free up.
I have a 16Gig GSIII, when I attach my phone to windows, I have 7gb free of 12gb. I just wiped system, cache, and dalvik, and have a clean version of Beanstalk 4.4.2.
How am I using 5gb when the OS itself is only, ~199Mb.
Is there anyway to have a completely clean install? Even when I soft bricked, and then revived w/odin and an old kernal, I don't think it was totally clean.
Click to expand...
Click to collapse
Yup! I just told you in my post edit, left that out by accident.
Sent from my SCH-I535 using Tapatalk 2
BadUsername said:
Yup! I just told you in my post edit, left that out by accident.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Thanks again! Great answers, and just the info I need!
So, to format it in CWM. I would go to
Mounts and Storage
format /data
or
format /data and /data/media (/sdcard)
i assume I don't touch
format /cache or format /system
and.. last thing I promise, how do I make sure I keep a copy of gaaps and a rom on the sdcard, if I format it?
n0xide said:
Thanks again! Great answers, and just the info I need!
So, to format it in CWM. I would go to
Mounts and Storage
format /data
or
format /data and /data/media (/sdcard)
i assume I don't touch
format /cache or format /system
and.. last thing I promise, how do I make sure I keep a copy of gaaps and a rom on the sdcard, if I format it?
Click to expand...
Click to collapse
You can't keep anything on the SD card after formatting, it'll be completely wiped clean, but you should do the second option. Also you should always format system when you clean flash a rom anyway.
I'd use an external SD card to flash the rom from. Alternatively, you could sideload the rom (if you know how). I don't know how.
Sent from my SCH-I535 using Tapatalk 2

Removing Content Upon Flashing a ROM

Hi there, how are y'all doing?
Well.. I was looking into installing a ROM on my Nexus 5, and I just wondered...
I had a Galaxy S3 before that, and when I installed ROMs on it, I used to copy the ROM zip file to my SD Card, remove everything from my phone's internal memory, and install the ROM from the external SD Card, that way there was NOTHING left on the phone that I previously had.
Now, I want to do the same thing with my Nexus 5, but guess what... It has no external SD Card option :\
What can I do? Is there any way to install a ROM and delete EVERYTHING I had in my phone before?
Thanks.
just wipe data before you flash.
You can't easily do what you want. Best bet would be to get a otg usb stick and use it for your rom. Otherwise, you'd have to wipe your sdcard and sideload a rom in adb. Or just wipe your sdcard boot into system, and copy and paste the rom. Then boot into recovery and do your normal wipes
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Otherwise, you'd have to wipe your sdcard and sideload a rom in adb.
Click to expand...
Click to collapse
Is using a single extra command really all that hard though?
"adb push <rom> /sdcard/<rom>"
Trel said:
Is using a single extra command really all that hard though?
"adb push <rom> /sdcard/<rom>"
Click to expand...
Click to collapse
It is for the people that used a toolkit and have no idea what adb is..
#stayparanoid
Pirateghost said:
It is for the people that used a toolkit and have no idea what adb is..
#stayparanoid
Click to expand...
Click to collapse
Ah, I would never use the toolkit unless I know how to do things manually as well.
I like knowing what the toolkit is doing incase something goes wrong.
Why do you want to wipe all your photos and videos etc? You don't need to to flash a rom
Sent from my Nexus 5 using Tapatalk
Ben36 said:
Why do you want to wipe all your photos and videos etc? You don't need to to flash a rom
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yes, this ^^^
I've never ever wiped my internal SD on any device.
Unless you're just housekeeping? But you don't have to, at all.

*[SOLVED]*!!! CANT MOUNT ANY PARTITION!!! no such file etc... HELPPPP

SEE PHOTOS BELOW PLEASE
Well long story short I bought an OTG adapter and a USB 64gb 3.1... Was fed up of slow read write speed on my s6.. So I kind of have 2 problems originating from 1..
My original issue was with my USB 3.0 drive write speeds of 2mb/'s So I formatted my USB using a "genius" app....
.....
***UPDATE***
WENT IN TO SHOW GUY FOR REPAIR HE BELIEVES I CORRUPTED/DAMAGED MY PHONES MEMORY..
ALL TO SAY I ENDED UP FORMATTING MY SDA1 PARTITION THINKING IT WAS MY USB!!!!!
No mount points found, apparently partitions aren't removable, but not present..
missing dev/block...userdata along with like many more (pic of my /dev contents below)
_________________
DEC 4TH UPDATE
Of course this wasn't enough already, but but now when I go to format data in TWRP, it says:
"Unable to update " " to wipe crypto key"
I only tried encrypting my phone 3 days before I wrote this thread was created.. And it did not work.. It would do encryption procedure but it let me use swipe, pattern, etc as passcode options... Usually it's like password with numbers n letters no??
So it didn't ask for decrypt passcode on boot and it didn't give an error message.. So I'm asking if there is a correlation or not..
-_____- simplest fix I had to flash pit via Odin like I stayed a week in this state of 0mb storage lol everything back to regular state no idea why I suddenly got encrypted with no password but whatever lets pray it behaves this time
Just do this;
forumber2 said:
Just do this;
Click to expand...
Click to collapse
I can't even flash my recovery img no mount point.. Can't format nor wipe partitions I get unable to mount storage.. I have no computer I'm trying to find ways to boot using usb stick or via OTG making my working phone into a USB.. I need to find a way to run partition repair app on my s6 from my other phone if possible :/
lanadelreywhore said:
SEE PHOTOS BELOW PLEASE ???
Well long story short I bought an OTG adapter and a USB 64gb 3.1... Was fed up of slow read write speed on my s6.. So I kind of have 2 problems originating from 1..
My original issue was with my USB 3.0 drive write speeds of 2mb if anything kb/'s. So I formatted my USB using a "genius" app....
..... ☺☺☺☺☺
***UPDATE***
WENT IN TO SHOW GUY FOR REPAIR HE BELIEVES I CORRUPTED/DAMAGED MY PHONES MEMORY..
ALL TO SAY I ENDED UP FORMATTING MY SDA1 PARTITION THINKING IT WAS MY USB!!!!! ???
No mount points found, apparently partitions aren't removable, but not present..
missing dev/block-----userdata
I rlly don't know what to do it either I fix it and stop messing with my phone or I mount this excuse to my kitchen wall greatly appreciated
Click to expand...
Click to collapse
Hi
By the looks of the pictures the phone has forgotten the partitions it had try flashing stock on odin you will loose media
androidbreaker said:
Hi
By the looks of the pictures the phone has forgotten the partitions it had try flashing stock on odin you will loose media
Click to expand...
Click to collapse
I do not have access to a computer ever since laptop fell and died while using Odin ???
I've been looking for NO PC ALTERNATIVES if you know any?? I have usb disks, otg plug and other Samsung phone as utilities!! (thinking if I could plug them together to back up what I can get from my s6 and manually manage my partitions)
Sent from my Galaxy Core using XDA Labs
lanadelreywhore said:
I do not have access to a computer ever since laptop fell and died while using Odin ???
I've been looking for NO PC ALTERNATIVES if you know any?? I have usb disks, otg plug and other Samsung phone as utilities!! (thinking if I could plug them together to back up what I can get from my s6 and manually manage my partitions)
Click to expand...
Click to collapse
Well as far as ive seen no one has made a flashible stock zip but have you tried installing a random rom? If not try a rom that has Aroma on it
androidbreaker said:
Well as far as ive seen no one has made a flashible stock zip but have you tried installing a random rom? If not try a rom that has Aroma on it
Click to expand...
Click to collapse
I did carHd and it does the Aroma installer perfectly till it finished extracting files and ends with set metadata recursive some changes failed... But new files are visible in twrp (ONLY IF I KEEP S6 ON) always 0mb for partitions..
Sent from my Galaxy Core using XDA Labs
lanadelreywhore said:
I did carHd and it does the Aroma installer perfectly till it finished extracting files and ends with set metadata recursive some changes failed... But new files are visible in twrp (ONLY IF I KEEP S6 ON) always 0mb for partitions..
Click to expand...
Click to collapse
Sorry mate you have removed everything and odin is the only way then thats all i can think of but ill keep looking
did you do a backup that would be inside twrp folder that wont be removed
androidbreaker said:
Sorry mate you have removed everything and odin is the only way then thats all i can think of but ill keep looking
Click to expand...
Click to collapse
Thanks don't sweat it though it's 2 nights I spend up trying to find fix and nature of my exact issue with minor improvements lol
Sent from my Galaxy Core using XDA Labs
androidbreaker said:
Sorry mate you have removed everything and odin is the only way then thats all i can think of but ill keep looking
did you do a backup that would be inside twrp folder that wont be removed
Click to expand...
Click to collapse
Oops just saw u adked.. No backup but I do on my USB and it doesn't work it can't do the wipe before restore
Sent from my Galaxy Core using XDA Labs
AHAHHAHA why cry anymore at this point I have to laugh I dint think it gets worse does it?
Sent from my Galaxy Core using XDA Labs
Unfortunately there is not much to do.
Try to back up the sdcard folder on the PC.
Then format the entire device to a new format (EXT3 for example) and then switch back to EXT4.
Then just install another rom by the same TWRP.
_____________
Maybe you can't backup any files because you won't mount to do that.
So I don't have any other option without being FORMAT AND LOSE all files.
And you still won't have a system/rom to install. Only using another phone to download some.
npzinho said:
Unfortunately there is not much to do.
Try to back up the sdcard folder on the PC.
Then format the entire device to a new format (EXT3 for example) and then switch back to EXT4.
Then just install another rom by the same TWRP.
_____________
Maybe you can't backup any files because you won't mount to do that.
So I don't have any other option without being FORMAT AND LOSE all files.
And you still won't have a system/rom to install. Only using another phone to download some.
Click to expand...
Click to collapse
Omg f**k the files I had everything backed up to usb including rom nothing was happening with restore etc so I wiped my USB to try and maybe repartition there then go back but im scared
Maybe u can like direct me to the steps needed in using 1 android to fix the other?
Sent from my Galaxy Core using XDA Labs
grsjohn said:
I think you eMMC is damaged, only changing emmc hardware and reprogram will get your phone back
Click to expand...
Click to collapse
Makes no sense.. I can't see my **** but it is there.. Hiding.. So I got sudden death from formating my USB? :/
Sent from my Galaxy Core using XDA Labs
Enter in TWRP.
>> Wipe
>>Format Data
Write Yes
Select other format and ok
Reformat Data to EXT4
Will back mounted
Install a rom via OTG
Enviado de meu SM-G920F usando Tapatalk
lanadelreywhore said:
I can't even flash my recovery img no mount point.. Can't format nor wipe partitions I get unable to mount storage.. I have no computer I'm trying to find ways to boot using usb stick or via OTG making my working phone into a USB.. I need to find a way to run partition repair app on my s6 from my other phone if possible :/
Click to expand...
Click to collapse
There's no other way to fix this.
npzinho said:
Enter in TWRP.
>> Wipe
>>Format Data
Write Yes
Select other format and ok
Reformat Data to EXT4
Will back mounted
Install a rom via OTG
Enviado de meu SM-G920F usando Tapatalk[/QUOTE
As soon as I swipe I get failed couldn't mount storage.. My phone literally deleted it's self from it's own self...
?????UPDATE OMG**
rumor has It it can't decrypt.. If I never encrypted it to begin with? (tried 2 days before it bricked but it would never ask me for my encrypt key.. CAN A DELAYED ENCRYPTION BE EVEN POSSIBLE??) ?????
Sorry pic is blurry can't change it...
Sent from my Galaxy Core using XDA Labs
Click to expand...
Click to collapse
Sorry.
I told you wrong.
See that video and see when he format to another format /data.
https://www.youtube.com/shared?ci=BYzPXHbV4t0
I did have /system and /data unmounted and solved using that steps
Enviado de meu SM-G920F usando Tapatalk
npzinho said:
Sorry.
I told you wrong.
See that video and see when he format to another format /data.
https://www.youtube.com/shared?ci=BYzPXHbV4t0
Enviado de meu SM-G920F usando Tapatalk
Click to expand...
Click to collapse
That's the first thing I tried to do given I was having problems already with twrp always saying Bad zip when I go flash.
I can flash it but no Option to select boot or Recovery lol now it says " " something that I can't wipe crypt.. ??
idk wtf it's saying
Sent from my Galaxy Core using XDA Labs
lanadelreywhore said:
That's the first thing I tried to do given I was having problems already with twrp always saying Bad zip when I go flash.
I can flash it but no Option to select boot or Recovery lol now it says " " something that I can't wipe crypt..
idk wtf it's saying
Sent from my Galaxy Core using XDA Labs
Click to expand...
Click to collapse
No.
I just mean about format /data partition.
Did you try that?

Resources