I stupidly set my ext2 partiton to 128mb now I want to make it bigger, is it possible to do this without losing my apps?
No, back them up then re-partition the whole sd card. They are located in /system/sd/app. Search for how to setup adb and pull them or search for how to copy files in linux and that will give you the commands if you want to do it from terminal so you can copy them to /sdcard/
Don't forget to mount the /system/ as r/w, again search how to do that.
Does somebody know how to undo app2ext?
Sent from my Milestone using XDA App
eXtink said:
Does somebody know how to undo app2ext?
Sent from my Milestone using XDA App
Click to expand...
Click to collapse
If all you want to do is remove the automatic mounting of EXT partitions at boot, all you need to do is remove 05mountsd and 07app2ext from system/etc/init.d and reboot.
I know how to remove the app2ext script, but I also want my app2ext apps back into the internal memory
You need to copy it from ext2 partition to sdcard (all folders), then remove script files, and copy all folders back to internal memory to same folders (eg.: app-private to app-private).
You can use Terminal or adb shell for that. It should works.
Eg.
Open Terminal and type
# cp /sd-ext/* /sdcard/myapps/
(/sd-ext is your mount point for ext partition - type mount to find out which is yours)
Hi,excuse me for my bad english but i'm italian.
Now you can mount the external sdcard as /sdcard/ band the internal sd as /sdcard/Internal_SD/.
1) Make a backup of your vold.fstab located in /System/etc/.
2) create a new vold.fstab and copy that in the file:
## Vold 2.0 NVIDIA Whistler fstab
#######################
## Regular device mount
##
## Format: dev_mount
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## - List of sysfs paths to source devices
######################
## 20100725, [email protected], Add 2nd external memory
#LGE_CHANGE_S[[email protected]] change for issue: not able to boot with corrupted SD card
#dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1 /devices/platform/tegra-sdhci.2/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc /devices/platform/tegra-sdhci.2/mmc_host/mmc0
dev_mount extsdcard /mnt/usbdisk auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
Band replace the original.
3)Reboot Phone.
4) create a new script band copy this text in it:
/system/xbin/mount /dev/block/platform/tegra-sdhci.3/mmcblk0p9 /mnt/sdcard/_InternalSD/
Copy it in the external sdcard.
5) download script manager and give it the root permissions. Open the script with script manager and open it as executable. Run it with root permissions and make it executable at boot.
6) Create a new folder in your external sd and rename it _InternalSD.
7) Reboot phone.
Sent from my LG-P990 using XDA
I did all like you said (even copied) and it didn't work, and when using this hack, the USB Storage functions properly? I have an modded vold.fstab and when I connect it to PC it doesn't mount properly (tested in Windows XP / 7)
Thanks
I haven't tried USB storage but it wroked tor me.
I've tested it in django manouche 1.2 and in stock v20l rebuild.
Ok sorry i had write wrong in the post i'll edit it now with the right procedure and sorry for my english.
You have to create new folder in your external sd.
Sent from my LG-P990 using XDA
Cice96 said:
I haven't tried USB storage but it wroked tor me.
I've tested it in django manouche 1.2 and in stock v20l rebuild.
Ok sorry i had write wrong in the post i'll edit it now with the right procedure and sorry for my english.
You have to create new folder in your external sd.
Sent from my LG-P990 using XDA
Click to expand...
Click to collapse
In the line:
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1 /devices/platform/tegra-sdhci.2/mmc_host/mmc0
We don't need the 1 here?
I tried now what you said about the line and it don't work for me.
Is my method working for you?
Cice96 said:
I tried now what you said about the line and it don't work for me.
Is my method working for you?
Click to expand...
Click to collapse
No it doesn't mounts on /mnt/usbdisk, can this be a ROM related? I'm on Django 1.3b12, could you try your method in this ROM?
Are you talking about USB storage?
Cice96 said:
Are you talking about USB storage?
Click to expand...
Click to collapse
Yes and no, at same time haha, I have made an vold.fstab who mounts perfectly, as External SD in /mnt/sdcard and Internal in /mnt/sdcard/_ExternalSD, but when I try to use USB Storage it bugs everything.
With your mod, my phone only mounts the External SD at /mnt/sdcard, but it doesn't mounts my Internal at /mnt/usbdisk, so it's partial functioning.
Can you try to use USB Storage on your mod, and see if it functions properly?
Ok i understand.In my mod the internal sd is mounted in the folder "_InternalSD".
If you want sdcard mounts in \mnt\usbdisk\ you have just to edit the script and replace \mnt\sdcard\_InternalSD\ with \mnt\usbdisk\.
I used this mod in stock roms because if i edited the vold.fstab to switch the sd it didn work but with this method it worked.
It's only an alternative mod to switch the sd.
Maybe for the usb storage i can make a script that mount the sdcards when you activate it but i don't know how USB storage works.
Cice96 said:
Ok i understand.In my mod the internal sd is mounted in the folder "_InternalSD".
If you want sdcard mounts in \mnt\usbdisk\ you have just to edit the script and replace \mnt\sdcard\_InternalSD\ with \mnt\usbdisk\.
I used this mod in stock roms because if i edited the vold.fstab to switch the sd it didn work but with this method it worked.
It's only an alternative mod to switch the sd.
Maybe for the usb storage i can make a script that mount the sdcards when you activate it but i don't know how USB storage works.
Click to expand...
Click to collapse
Your vold.fstab is mounting Internal in /mnt/usbdisk
dev_mount extsdcard /mnt/usbdisk auto /devices/platform/tegra-sdhci.3/mmc_host/mmc2
Because of anything that I didn't know, the vold mounts /mnt/usbdisk but if you navigate to the folder with Root Explorer, you don't see anything.
But when I use the script invoking block/partition (mmcblk0p9) it mounts in /mnt/sdcard/_InternalSD.
Only thing is that if we try to use USB Mass Storage function, it doesn't work, right? My phone don't mounts atm
If we can correct this inconvenience, it will be great =)
Thanks!
Excuse me again
After replace the vold.fstab you must reboot phone.
I've tried my mod now and it works.
The script remount the internal sd at boot so it's in _InternalSD folder.
You have to create script if not the internal sd will not mount.
USB storage isn't working but i'm trying to found a solution.
Cice96 said:
Excuse me again
After replace the vold.fstab you must reboot phone.
I've tried my mod now and it works.
The script remount the internal sd at boot so it's in _InternalSD folder.
You have to create script if not the internal sd will not mount.
USB storage isn't working but i'm trying to found a solution.
Click to expand...
Click to collapse
So we are at same point now, with the mounted partitions, but because of anything that I didn't know, the vold mounts /mnt/usbdisk but if you navigate to the folder with Root Explorer, you don't see anything.
I was thinking about some type of program who mounts it for us, trying to find now, I was studying Gueste similar hack made to CM7, and it alters something in framework.jar, think that the modded framework.jar is for the USB Storage functions.
I use the script because phone won't mount 2nd sdcard so i need to remount it after reboot.I can choose where to mount 2nd partition with the script ignoring the vold.fstab mount.
Would be awesome to find a similar program that do it for us!
Cice96 said:
I use the script because phone won't mount 2nd sdcard so i need to remount it after reboot.I can choose where to mount 2nd partition with the script ignoring the vold.fstab mount.
Would be awesome to find a similar program that do it for us!
Click to expand...
Click to collapse
Now we only need a way to make USB Storage works, I will search for any apps or methods, but I think we need a dev to our little problem here haha
You're right we will need the help of a developer.
Hi guys, I am struggling with this issue for a few days and looking for I found this topic.
I commented that by modifying the vold.fstab, I lose USB Storage, but it is not true at all, get me a new partition, which is nothing more and nothing less than the System.
So I will continue this procedure you proposed.
Speaking of the script to mount the SD, there is an APK that runs a script to the startup of the system, called Autostart (Root) and is in Play Store (old Market)
EDIT:
The zip includes:
-Folder /data/opt/autostart.sh
-modified vold.fstab
Then there is installing Autostart.apk and restarting
Installable from the recovery zip
Just need to settle the issue of the mass storage
Homero2 said:
Hi guys, I am struggling with this issue for a few days and looking for I found this topic.
I commented that by modifying the vold.fstab, I lose USB Storage, but it is not true at all, get me a new partition, which is nothing more and nothing less than the System.
So I will continue this procedure you proposed.
Speaking of the script to mount the SD, there is an APK that runs a script to the startup of the system, called Autostart (Root) and is in Play Store (old Market)
EDIT:
The zip includes:
-Folder /data/opt/autostart.sh
-modified vold.fstab
Then there is installing Autostart.apk and restarting
Installable from the recovery zip
Just need to settle the issue of the mass storage
Click to expand...
Click to collapse
Could you please explain what is the "new system partition" and how the USB Mount isn't lost?
Sent from my LG-P990 using xda premium
What I have done is to collect all that you have done and create an installation script.
Still do not know how to mount the PC mass storage
Hi All,
I messed up using adb to push a file to my internal SD card - I did something like this:
adb push afile.txt /sdcard
I thought it would place the file into the sdcard folder, but instead it over-wrote /sdcard with the file - ie the sdcard folder was gone, I was left with a file named sdcard in the root of my phone.
So, I renamed that file, and created a symlink, like this:
ln /mnt/sdcard sdcard
Mostly, everything's OK, but I'm getting some weird behaviour, FCs, Android Bookmarks won't display my gmail accounts bookmarks.
<Edit> Reinstalled ROM, and issues gone away.
However, can anyone confirm that the /sdcard folder is just a symlink to /mnt/sdcard?
Is that all I have to do ?
</Edit>
Russell
Hi Guys,,
I have installed CF3D on my GNote but when I was about to install CF Drivers it says that my /system is insufficient, so I check it right away by using df -k on a terminal emulator and found out that 100% space used on /dev/block/mmcblk0p9. My solution to this is to remove some system app, I have tried Titanium backup but no good,so i decided to use root explorer and delete some app is system/app, the weird thing is that i could not mount the /system as r/w, so i decided to remount /system as rw using a terminal emulator, i used this command
mount -o rw,remount /dev/block/mmcblk0p9 /system
but still i could not delete data on /system/app... another weird thing is that I could not list the directories or files in the /system using "ls" command in terminal emulator, the error says, "value too large for defined data type".
My questions
1. is this part of the mmc_cap_erase bug, because if i remember very well, i have flashed something on cwm which causes FC's on my device right after that, my internal sd card and external sd card is unreadable , and then when it ask to reformat it and i click yes, then everything is ok, after that i changed ROM (from criskelo v8 to kingdroid v3) and i never encountered that bug again.
2. is there any way to mount /system as r/w? or is there any other way to uninstall system app. Ive tried every "free apps" on the market to uninstall system app but i could not find a successful one.
3. if this is part of the mmc_cap_erase bug, can i used the fix in this thread http://forum.xda-developers.com/showthread.php?t=1667886 to solve my problem??
Thanks to those who are willing to give me some advice.