[Q] vold.fstab - HTC One VX

What is the syntax for vold.fstab ?
It appears very different from a regular fstab.

Related

[Q] Mount SDCard in console

Hi.. how i can mount/remount sdcard in console? because something is wrong.. in every roms when i goes to sdcard in setting its show unavailable.. once time ago i wrote something in console as remount and it was okey.. but i forgot it how i can do that.. i tried many combination of command mount but nothing. maybe i can find in google with keyword "mount/remount in linux" can be possible?
but through astro i can explore sdcard.. its strange..
please help. And thanks for answers
Code:
mount /dev/block/mmcblk0pN /sdcard -t FSTYPE
N is number of partition (usually 1) and FSTYPE is vfat or ext2 (usually vfat)
Google is a good help so please use it!
i look on mount and sdcard is mounted.. but still i cannot explore it with anything except astro.. i think maybe is problem in kernel.. i have last kernel version... working sdcard full for everyone? maybe is problem only in my phone.. or its global error
Sd card works in latest kernel, probably is your problem, reformat the card.
Try this:
vdc volume mount /sdcard

[Q] How to mount EMMC as SDCARD?

I am using aosp roms, so there is no way to save my pictures and videos i take to emmc.
I searched some methods on google.
Now i realized i have to fix vold.fstab file in system/etc
but i have no idea on the codes like this.
Is it possible to mount emmc as sdcard, and mount sdcard as emmc or something else such as sdcard2 or something.
one of them i found was talking about how to bypass apps that require an sd card with no sdcard.
but i wanna use both of them, internal and sdcard together.
lentm said:
I am using aosp roms, so there is no way to save my pictures and videos i take to emmc.
I searched some methods on google.
Now i realized i have to fix vold.fstab file in system/etc
but i have no idea on the codes like this.
Is it possible to mount emmc as sdcard, and mount sdcard as emmc or something else such as sdcard2 or something.
one of them i found was talking about how to bypass apps that require an sd card with no sdcard.
but i wanna use both of them, internal and sdcard together.
Click to expand...
Click to collapse
IF emmc is supported, you can (maybe?) make it work by running the following in a terminal (on the phone). Worked for me in CM 6.0, never tried in Gingerbread. (# is prompt)
*Unmount SD card via menu 1st*
#cd /sdcard
#ls
*Nothing should show up*
If nothing shows up the SD has been unmounted properly
Remove it now if possible
#cd /mnt/emmc
#ls
IF emmc files show up, continue.
If not, your rom doesn’t support emmc, and there is really not much you can do
#mnt /mnt/emmc /mnt/sdcard
I think they want to use both the SD card and EMMC together, like in a Sense rom, not replace the SD with EMMC.
AFAIK, you can't *save* pictures and things to EMMC on AOSP roms, but I'm pretty sure they can still read any media from it. So you'd just have to put anything you wanted on the internal storage from your computer. I'm pretty sure that's how CM6 was set up, anyway.
I never really use my internal storage, though, so I could be way off.
godsmacked4653 said:
I think they want to use both the SD card and EMMC together, like in a Sense rom, not replace the SD with EMMC.
AFAIK, you can't *save* pictures and things to EMMC on AOSP roms, but I'm pretty sure they can still read any media from it. So you'd just have to put anything you wanted on the internal storage from your computer. I'm pretty sure that's how CM6 was set up, anyway.
I never really use my internal storage, though, so I could be way off.
Click to expand...
Click to collapse
Depends on the rom. Most AOSP ones now support eMMC scanning, but some still do not. Also, you might not be able to save pictures without using my solution, but you can use any other file manager / save window to navigate to /mnt/emmc and change/save things.
lentm said:
Now i realized i have to fix vold.fstab file in system/etc
Is it possible to mount emmc as sdcard, and mount sdcard as emmc or something else such as sdcard2 or something.
Click to expand...
Click to collapse
Absolutely. The "easy" way to do it is to modify /system/etc/vold.fstab. Below is the default vold.fstab file from CM7...
Code:
## Vold 2.0 fstab for HTC Incredible
#
## - Koushik Dutta
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
dev_mount emmc /mnt/emmc 3 /devices/platform/msm_sdcc.3/mmc_host/mmc2
What you want to do is modify the last two lines and swap the sysfs paths, so it looks like the following:
Code:
dev_mount sdcard /mnt/sdcard [b]3 /devices/platform/msm_sdcc.3/mmc_host/mmc2[/b]
dev_mount emmc /mnt/emmc [b]auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1[/b]
(Edit: I forgot to include the partition # in the bits of data that need moved. Doh!)
After putting the modified file in place and rebooting, the internal flash (normally known as emmc) will be mounted and labeled as /mnt/sdcard. Everything that uses the sdcard for storage will now be reading and writing to emmc. Likewise, the sdcard will be mounted to /mnt/emmc, so it's still available and readily visible.
The important thing here is to make sure that you have good backups of the content of both storage spaces, and that you remember which is which. It's crucial when you update your ROM, since it will overwrite the vold.fstab file back to default.
Also, before you do this, make sure that you migrate any apps you have stored on SD back to internal storage, or else you'll have to reinstall them afterwards.
ardax said:
Absolutely. The "easy" way to do it is to modify /system/etc/vold.fstab. Below is the default vold.fstab file from CM7...
Code:
## Vold 2.0 fstab for HTC Incredible
#
## - Koushik Dutta
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
dev_mount emmc /mnt/emmc 3 /devices/platform/msm_sdcc.3/mmc_host/mmc2
What you want to do is modify the last two lines and swap the sysfs paths, so it looks like the following:
Code:
dev_mount sdcard /mnt/sdcard [b]3 /devices/platform/msm_sdcc.3/mmc_host/mmc2[/b]
dev_mount emmc /mnt/emmc [b]auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1[/b]
(Edit: I forgot to include the partition # in the bits of data that need moved. Doh!)
After putting the modified file in place and rebooting, the internal flash (normally known as emmc) will be mounted and labeled as /mnt/sdcard. Everything that uses the sdcard for storage will now be reading and writing to emmc. Likewise, the sdcard will be mounted to /mnt/emmc, so it's still available and readily visible.
The important thing here is to make sure that you have good backups of the content of both storage spaces, and that you remember which is which. It's crucial when you update your ROM, since it will overwrite the vold.fstab file back to default.
Also, before you do this, make sure that you migrate any apps you have stored on SD back to internal storage, or else you'll have to reinstall them afterwards.
Click to expand...
Click to collapse
I was looking for this. will try now. Thank you!
edit: just tried this, it didn't work. had to replace to original one.
run the following in a terminal or via ADB: mount | grep emmc to figure out what block its named as then run switch to the root account using su then type umount /emmc to unmount the emmc partition. Figure out what sdcards device name is by doing mount | grep sdcard. Unmount it and mount sdcard's device name to /emmc and vice versa.
This wont persist after a reboot but its a good way to try and get it to work without screwing stuff up. Once you get it to work put the values in fstab.
Any suggestions?
Hello all,
Hopefully someone more apt than myself can provide some insight. I am running Synergy 3D version on my DINC. I am trying to either make the eMMc an addition SD card mount point, in order to store apps, etc or partition it to use as vram in some way.
I successfully changed the eMMc into SD card by modding the vold.fstab (per post here), the problem is, DINC will not recognize SD as eMMc.
Any suggestions will be greatly appreciated.
Also, would it even be conceivably possible to partition eMMc as vram?
Darn shame not to be able to use both the emmc and sdcard at the same time. You could do it by converting the sdcard to ext2/3/4 but then when you plug into a non linux box you'll need a ext2/3/4 driver.
Is there a filesystem that is widely readable for both linux and windows?
I guess it might not be a problem if the internal sdcard is ext3 because you could still have the emmc as fat.
Thoughts?
Oh crap... I just tried changing the emmc mount point in fstab to /mnt/sdcard/external_sd and no I've got no boot, presumable because android won't accept a mount point over something that is already mounted (linux can).... I need to find a way to recover...
Would somebody be so kind as to cat /system/etc/vold.fstab here for me? I backed it up... but to the internal sdcard!
Hang on... I can't paste that into vi... vi is bonkers for some reason, not recognising the a key...
I also have nowhere for a non su adb to push the file... or any other files... (permission denied)
and I can't get the CWM recovery mode for some reason....
"Also, would it even be conceivably possible to partition eMMc as vram?"
^ yes it's possible. I'm not that familiar with android yet but I'm sure it's possible
try Remount sd app =) it worked for me well =) dont forget thanks button =D
http://forum.xda-developers.com/show...1#post30146401
Do a nandroid just in case, and then flash this thru recovery. http://dinc.does-it.net/Mods/AOSP_Swap_EMMC_and_SD.zip
And here is a flashable to revert the swap. http://dinc.does-it.net/Mods/AOSP_Original_vold.fstab.zip
please help me (
it didnot work

[Q]need help on gps data load

I've found the most easy easy way to increase our /data partition size. no need to install custom kernel, we'll need only a stock kernel with init.d support. with this new method we'll make a script '03data2sd' in init.d folder with these script inside
Code:
#!/system/bin/sh
umount /data
mount -t ext3 -o nosuid,nodev /dev/block/mmcblk0p2 /data
this method will solve my previous kernel incompatibility issue with script manager. however, the gps won't work with this method. the logcat file said that there was something wrong with gps_ril_BRCM. it said that 'RIL LCSAPI' isn't working. does anyone know how to fix it?

Need help modifying VOLD.fstab

Hi guys, i need help modifying my vold.fstab file to swap my internal storage with my external storage.. I've searched high and low for similar threads but it turns out, most, if not all their vold.fstab are different. Attached is my vold file. Thx in advance
robertkanie said:
Hi guys, i need help modifying my vold.fstab file to swap my internal storage with my external storage.. I've searched high and low for similar threads but it turns out, most, if not all their vold.fstab are different. Attached is my vold file. Thx in advance
Click to expand...
Click to collapse
Why bother? grab the vold.fstab in the said threads and try it on your work. You don't need to modify yours. Just use what others have shared in their thread(s). You can always save a copy of your original vold if you want. And a nandroid backup too.
bbmadzky said:
Why bother? grab the vold.fstab in the said threads and try it on your work. You don't need to modify yours. Just use what others have shared in their thread(s). You can always save a copy of your original vold if you want. And a nandroid backup too.
Click to expand...
Click to collapse
I've tried, it caused my hp to go into a loop.. Good thing i did a nandroid backup. Anyone can help me here? Or at least link me to a vold file that is compatible with mine..I'm using the [ROM] [ICS 4.0.4] [AOKP] InDroiD REMICS V3 btw.
robertkanie said:
I've tried, it caused my hp to go into a loop.. Good thing i did a nandroid backup. Anyone can help me here? Or at least link me to a vold file that is compatible with mine..I'm using the [ROM] [ICS 4.0.4] [AOKP] InDroiD REMICS V3 btw.
Click to expand...
Click to collapse
modified vold can only be used in gingerbread. You can have the sd-swap option built-in when you use CM9 (arco's) or any custom rom based with Arco's.
robertkanie said:
Hi guys, i need help modifying my vold.fstab file to swap my internal storage with my external storage.. I've searched high and low for similar threads but it turns out, most, if not all their vold.fstab are different. Attached is my vold file. Thx in advance
Click to expand...
Click to collapse
do you mean swap internal sd card and external sd card..?? if that so, maybe you can use my modded vold file..my original vold file is similar to your vold file...copy my modded vold file to etc/ (using Root explorer), delete the original, rename the modded vold file and change permission (if i'm right, its rx-r--r--). Don't forget to copy/move your file from internal sd card to external sd card before swapping...
good luck :good:
bbmadzky said:
modified vold can only be used in gingerbread. You can have the sd-swap option built-in when you use CM9 (arco's) or any custom rom based with Arco's.
Click to expand...
Click to collapse
LOL, so easy! i just found out.
nasseer said:
do you mean swap internal sd card and external sd card..?? if that so, maybe you can use my modded vold file..my original vold file is similar to your vold file...copy my modded vold file to etc/ (using Root explorer), delete the original, rename the modded vold file and change permission (if i'm right, its rx-r--r--). Don't forget to copy/move your file from internal sd card to external sd card before swapping...
good luck :good:
Click to expand...
Click to collapse
Thx
similar issue
I modded my VOLD.fstab from this site, (latgale.co.uk/?p=70).on a factory rooted galaxy W. I over wrote the original file before changing rw/ro in my excitement and noobness, now my phone has no access to usb or sd internally or externally. it works fine but says 0.00B on both usb and sd storage. I backed up the original on the memory stick but now I have no access. I have not installed clockwork mod yet because it seemed like a lot of reading, and was going to circle back later for it. when I check the file VOLD.fstab and give it the right permissions and restart it there is still nothing, when I open it with note pad the script is all there. What am i missing? how do I connect to internal storage to flash the original file back or a working one?
*(edit) I turned rw on the file and then renamed it twice once to some thing elts then back again pulled the battery for a few min and it worked.

Unable to mount /system to be read/write

As the title says i am unable to mount /system as read/write which makes it so that i cannot modify the build.prop file. is there any way to fix this?
you shouldn't be doing that anyway
https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228
/system is permanently read only in stock.
As the user above said, you shouldn't be modifying system directly anyways.

Categories

Resources