[Q] use unmounted partitions in INTERNAL storage? - Android Q&A, Help & Troubleshooting

Hi,
My phone has 4gig of internal storage, but the system seems to be using only 3 500mb partitions... /system, /cache, and /data... and a couple of other small partitions.
At the end of mmcblk0 is p6 that is about 2GIG and NOT MOUNTED! Is that space needed for something, or can I add it to /data (p5)? or create a mount point for it? and if so, HOW?
Thanks in advance.

Well... Responding to my own post, it turns out that the extra space was supposed to be my internal SD that my phone somehow lost... It has since been recovered with the help of an app I and a lot of cold sweat and reflashing... I'll see if I can find the app again - it's here on XDA somewhere...
Sent from my JY-G3 using xda app-developers app

Related

[Q] Clockworkmod and sd-ext

Just installed link2sd earlier (formatted partition as ext3). Wanted to flash a different rom. Trying to backup my phone, and clockworkmod tells me it can't mount sd-ext. Anyone know a reason and/or work around?
I think CWM works only with ext4 partition AFAIK. So, you can re-partition your sd card to a ext4 partition using CWM, or you can format the ext partition only to ext4 using a computer.
YouArePoop said:
Just installed link2sd earlier (formatted partition as ext3). Wanted to flash a different rom. Trying to backup my phone, and clockworkmod tells me it can't mount sd-ext. Anyone know a reason and/or work around?
Click to expand...
Click to collapse
which version of CWM have you got?
3.0.2.4, which I've used for a while now, always tries to back up my 6GB ext2 debian partition unless I remember to change cards first. no way I leave room in the vfat partition to back up that much data.
I'll put it up on 4shared if you want it.
mihir287 said:
I think CWM works only with ext4 partition AFAIK. So, you can re-partition your sd card to a ext4 partition using CWM, or you can format the ext partition only to ext4 using a computer.
Click to expand...
Click to collapse
Guess when I get home I'll copy the contents to computer, reformat, and copy back. Hopefully link2sd will notice the formatting has changed and reset itself
Sent from my LG-VM670 using XDA App
Doesn't work with extra either. Version 3.2.0.1 I believe it was.
Guess it doesn't really matter, can just use titanium since its all app stuff on there anyways...
Sent from my LG-VM670 using XDA App
i use CWM to back up my 512MB ext2 partition for my data2ext all the time (with the rest of the backup) and it seems to have no problem, and just to check i just mounted the partition in mounts and storage and it mounts fine. I know some recoveries ive used in the past on other phones would have problems with partitions that were not in 64-128-256-512-1024 MB, etc. format because of block size issue errors that i would get (when mounting or trying to set block size to 4096). I also found that when partitoning/formatting to ext2/3/4 some programs do not properly write the drive formatting and certain systems/recoveries/apps could not properly read them on the android. the best most consistent (android friendly) formats that i have gotten to date were in ubuntu (or any other) linux using "gparted". It seemed to always be the best and usually better than the format done by the phone recovery. Hope this helps. Sorry to drone on and on.
Partitioned originally with gparted. Have since resized to be 2048, and set its label to 'sd-ext'. Now instead of getting an error saying sd-ext might not be supported on my device, it just gives me a generic 'error mounting sd-ext'
I've had ext partition mounting problems before, I'm not sure if the cause is something to do with vold or what, but
after unmounting a sd card to exchange it with another one, it changes the device partitions in /dev/block like
/dev/block/mmcblk1p2
for the sd-ext partition instead of the normal
/dev/block/mmcblk0p2
you can see if this has happened by
Code:
ls /dev/block
in adb shell.
to mount it manually, if the numbering is off,
Code:
mount /dev/block/mmcblk1p2 /sd-ext
I've only had this happen with android running, but it might work in recovery too
Switched over to using data2ext. Mounts the 2nd partition as the /data partition instead of /sd-ext. Can manually mount 2nd as /sd-ext from within rom, but it doesn't carry over to recovery.
A possible solution... Create a symbolic link pointing /sd-ext to the 2nd partition? But then again, since /data now points to 2nd partition, is recovery picking up on that unknowingly and backing up the 2nd's contents when it thinks its backing up the normal /data?
I suppose I should investigate.
Edit: Yep it does backup the 2nd partition, thankfully. Just tried to install a theme made in UOT Kitchen, it borked some stuff, and the restore worked.

[Q]full wipe, when having a swap partition.

Hi, just wondering if is just my case, that when doing a full wipe from the recovery and having a swap partition, this partition gets formated in ext3, has someone experience this? is this normal? thanks.
Experienced something similar. When full wipe data, minicm7 tells me I have 500MB large EXT partition.
In PC memory card still formated as "linux swap".
I formated card and created swap partition again and after that phone recognized it right - as swap - again.
Yeah, my phone did that. I fixed it. By doing this:
I made my 15GB fat data partition, a 1MB EXT4 for /sd-ext not to be used but stops phone formatting swap as ext. Then my 500MB swap partition. This works
X10man
Sent from my Fender Stratocaster to your face via XDA Premium
x10man said:
Yeah, my phone did that. I fixed it. By doing this:
I made my 15GB fat data partition, a 1MB EXT4 for /sd-ext not to be used but stops phone formatting swap as ext. Then my 500MB swap partition. This works
X10man
Sent from my Fender Stratocaster to your face via XDA Premium
Click to expand...
Click to collapse
yeah... I have started using swap not so long ago, and I tend to flash and reflash roms, and always when doing the full wipe the partition ends formated, so I unplug the sd from the phone, mount it in the pc, reformat the partition as swap, mount it on the phone restart it and it remount it again as swap (sometimes I need to do it twice).
going to try making the 1MB partition the next time.

Need help about swap partition

Several days ago, I make a 128 MB swap partition as a 3rd partition on my sd-card (the 2nd one is an ext-4 partition). It works flawlessly and going well...
Yesterday, I tried to flash another ROM... So, I make a backup via CWM, clear data, cache partitioon, and dalvik cache.. At the same time, I delete the ext-4 partition, and enlarge the swap partition to 256 MB...
Since I'm found the new ROM is unstable, I revert back to my old one, via CWM restore... But now, if I type 'free' on the terminal emulator, the swap size is 0 (before doing those things, the size is about 133000KB, since its 128MB). I tried to enable and disable compcache, but when I disabled it, the size returns to 0 again...
Any help ?
Thanks in advance..
Sent from my U20i using xda app-developers app
StardustGeass said:
Several days ago, I make a 128 MB swap partition as a 3rd partition on my sd-card (the 2nd one is an ext-4 partition). It works flawlessly and going well...
Yesterday, I tried to flash another ROM... So, I make a backup via CWM, clear data, cache partitioon, and dalvik cache.. At the same time, I delete the ext-4 partition, and enlarge the swap partition to 256 MB...
Since I'm found the new ROM is unstable, I revert back to my old one, via CWM restore... But now, if I type 'free' on the terminal emulator, the swap size is 0 (before doing those things, the size is about 133000KB, since its 128MB). I tried to enable and disable compcache, but when I disabled it, the size returns to 0 again...
Any help ?
Thanks in advance..
Sent from my U20i using xda app-developers app
Click to expand...
Click to collapse
this happens because when doing a full-wipe or restore, CWM format the swap partition to ext2 (some ppl say that if you have an ext partition this doesn't happen) so you need to reformat the partition to swap (sometimes I have to do it 2 times before the system acknowledge the swap partition) so, mount the sd in your pc, and reformat the partition. that should fix it.
Dont reformat only that partition, you have to format whole memory card and create partitions again.
Dont forget to backup your data from SD card.
btw. I wiped data too and only reformating swap partition didnt work.
Ok, thank you for your answers
Sent from my U20i using xda app-developers app
penthaler said:
Dont reformat only that partition, you have to format whole memory card and create partitions again.
Dont forget to backup your data from SD card.
btw. I wiped data too and only reformating swap partition didnt work.
Click to expand...
Click to collapse
In my case sometimes works with the first try, sometimes I need to re-format the swap partition 2 times. but I haven't format the whole sd in more than a year, and I go testing roms almost every week.

External sdcard > set as sdcard1

I had noticed that my external sdcard is not is recognized as "sdcard01", so it's on the same level as :
/storage
sdcard0 sdcard1 usbdisk0
> the sdcard0 is the main sdcard and sdcard1 is my 32gbyte external sdcard.
i tried renaming it but does not allow it.
How can i set the external sd-card as the real "external_sd" when you open the main sdcard and find the folder?
Thank you.
I wanna help, but I don't quite understand what you're asking?
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
/mnt/sdcard is internal
/mnt/sdcard/external_sd is . . . .
On CM roms I think they are /emmc or something - someone jump in here and correct me.
Is it possible someone formatted a different internal partition?
Hi, my external sdcard1 is in the directory as the main sdcard, sdcard0, under /system.
If i go inside sdcard0 and open the folder external_sd, no files are in there.
When using the apps beam reader or hide n seek, it can only see the sdcard0, not the sdcard1.
I tried reflash and wipe internal and external sdcard but still the ext sdcard is still assigned as sdcard1.
I would appreciate any fix.
Thank you.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
I believe that the structure for the internal/external files is set during the flash and initial boot of the device, and is rom dependent. thats why I always format the emmc partition, (internal sd card) when flashing a new build.
It seems too often that leftovers are present on the emmc, and are not cleared when wiping in the recovery.
now I'm not saying that this is an absolute, but I'm guessing that if you were too backup your data...(pictures, documents) to PC, and then go to recovery and format the emmc partition, (along with a clean format to FAT32 of the external SD card )...
that upon reboot, the rom dependent file structure will be placed on the internal emmc partition. And you will then see the proper file structure for the external card.
It has worked well for me several times in the past, and with the exception of a few CM builds, will not cause errors. And regarding CM card sight errors, it appears that the file, system/nomedia, placed to the device by rom manager app, will block the access to the external SD entirely by failing to mount. And can be corrected by removing the nomedia file.
I'm no expert, and I'm simply trying my best to help....g
TRY AT OWN RISK !!!!
I will try to do the emmc partition format too.
Thank you for the reply.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
What do you mean "format the emmc partition"? Is the TWRP, it's either WIPE>Internal Storage or ADVANCED>Partition SD Card, under this option, there is a number for EXT size and the default was 512 and Swap Size: 32.
Which one should I choose? I had already tried teh Wipe>Internal Storage and format the external-sdcard using FAT32 in my computer and re-flashed but still did not work.
Please advise.
Thank you.
qwer43 said:
I will try to do the emmc partition format too.
Thank you for the reply.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Click to expand...
Click to collapse
I had downloaded Mini Tool Partition Wizard and now formatting my internal sdcard as EXT4, with default cluster size, the other options for cluster are only 1KB, 2KB, 3KB and 4KB so I chose Default.
I will see what will happen.
Thanks.
You don't need to partition your internal space !!
You need to format the emmc partition only !!
Yikes !!
You are not understanding my post .....
TWRP and CWM recoveries will both format the emmc partition ...
Doing more is dangerous !!!
If you don't understand ...don't proceed !!....g
If you unmount and remove your external sd card, then flash any rom, then insert and remount your card, you should get the correct partitions.
http://forum.xda-developers.com/showpost.php?p=30497934&postcount=1583
That was a little more understandable. I know what he is saying.
Thank you all. It's fixed. Used mini partition tool.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
I'm using Folder Mount
rangercaptain said:
/mnt/sdcard is internal
/mnt/sdcard/external_sd is . . . .
On CM roms I think they are /emmc or something - someone jump in here and correct me.
Is it possible someone formatted a different internal partition?
Click to expand...
Click to collapse
My question is
can I set /mnt/sdcard/external_sd as my destination folder?
Because i tried directing it to /storage/sdcard1 but it doesn't do the trick
Are you asking how can you get everything you download to be directed towards the sdcard instead of internal memory ?
Sent from my SGH-I717 using Tapatalk 4
same here ,my email is [email protected]
help me bro
LittleRedDot said:
I wanna help, but I don't quite understand what you're asking?
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Click to expand...
Click to collapse
qwer43 said:
Thank you all. It's fixed. Used mini partition tool.
Click to expand...
Click to collapse
I think I got a similar issue than you once had and I wonder, how did Mini Partition Tool solve your problem?
My issue is this:
When running the stock Samsung firmware, my external SDCARD was mounted at /storage/extSdCard
I have now installed CM13 (Bliss-ROM) and the external SD card is mounted at /storage/3937-3663
As a result, my restored apps (via Titanium) are looking at /storage/extSdCard for files that are at /storage/3937-3663.
What's the ideal way to resolve my "apps looking in the wrong place" problem?
Renaming "3937-3663" to "extSdCard" is not possible.
Re-linking the apps to the correct path would be very time-consuming, esp. for apps like "Tasker", which has many wrong path-entries right now.
Any suggestions?

Mounting a secondary partition from an SD card in /storage

I really thought this would be stupid simple to do, I needed an ext2 partition for link2sd as well as for a very large file (12GB) as fat32 would not support it. This is fine the file is present and the card partition and formatted in Linux. The primary fat32 partition works great, the problem is I'm looking for a simple way to mount the secondary ext2 partition as read/write somewhere that I can access it when I need, link2sd can mount it but it is not access able to browse it (when I can find it which is not often). I really thought no problem just mount it using mount (worst case), but I ca not even locate the block device to mount, it exists I know that from using a card reader, but I can not get Android (even as root) to list the partition tables (fdisk -l shows nothing). mount shows what is mounted, but not the partition that I want.
All I want to do is auto mount a second partition as /storage/XYZ, I figured 5 minutes or that there would be an app to do this, I have not found any and after wasting to much time trying to get it to work, I'm asking here as I'm lost and tired of fighting for something so simple.
Thanks,
ERIC
This should help point you down the right path
http://forum.xda-developers.com/showthread.php?t=2424900
Best of luck!
Sent from my Nexus 7 using XDA Premium 4 mobile app

Categories

Resources