the file system on internal SDcard is fuse
when i mount it as rw i can read and write to the SDcard
but i cannot change the permission at all
maybe there is a way to change the permission without change the filesystem
but i now the ext4 so i prefer to change to ext4
the question i how i can do that without lose data
thanks
Related
Hello everyone!
Today with the help of the developer of Link2sd, Mr. Bulent Akpinar I managed to install Link2SD using a ext3 partition on my Milestone XT720 (USA).
I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR PHONE
A)
You have to be rooted, use Universal Androot:
http://forum.xda-developers.com/attachment.php?attachmentid=378559&d=1281616832
B)
Then partition sdcard using Minitool Partition Home Edition:
*All partitions created have to be Primary partitions*
I) Create FAT32 partition
II) Ext3 (to avoid problems make not bigger than 512 mb)
III) Linux Swap (not necessary)
*After creating those partitions "Flag" or "Label" FAT32 partition as *Boot*.
C)
I used Root Explorer
D)
Download ext3.zip.
E)
1)Extract ext3.zip file and copy files to /system/lib/modules/ using Root Explorer -make sure when using Root Explorer you have enabled Mount R/W button.
F)
Edit install-recovery.sh at /system/etc exactly like below:
#!/system/bin/sh
#added by link2sd
sleep 2
insmod /system/lib/modules/jbd.ko
insmod /system/lib/modules/ext3.ko
mount -t ext3 -o rw /dev/block//vold/179:2 /data/sdext2
mount -t ext3 -o rw /dev/block/mmcblk0p2 /data/sdext2
****Again, use Root Explorer, it has a Text Editor****
Sorry for stressing so much the use of Root Explorer but other apps do not let you edit install-recovery.sh
I have provided my edited install-recovery.sh from stock rom. If you have other rom then try to edit yours first as install-recovery.sh may be different.
After all this changes, REBOOT your phone, and install Link2SD.
Enjoy!
Are you using a CM7 boot disk and another OS? By default the B&N stock will mount the first partition of the SD card. This is not what we want, as the 4th partition is the one where we are going to be storing data.
In order to change the mount point you need to edit the vold.fstab file located in /system/etc
You will find a line that points to the sd card for mounting:
Code:
dev_mount sdcard /mnt/sdcard auto auto /devices/platform/usb_mass_storage/lun1/devices/platform/mmci-omap-hs.1/mmc_host/mmc0
Change the first "auto" to 4. This defines the 4th partition for mounting. As seen in the following:
Code:
dev_mount sdcard /mnt/sdcard 4 auto /devices/platform/usb_mass_storage/lun1/devices/platform/mmci-omap-hs.1/mmc_host/mmc0
Now reboot your device and you should now have access to the 4th partition in the stock android OS.
Hi,
Got this Desire Bravo with low internal memory so thought I should mount the app and data dirs to a ext4 partition on my SD card instead so I can install a lot of apps.
Followed this howto:
newton dot cx/~peter/2012/12/how-to-increase-app-space-with-a-partitioned-sd-card-on-an-htc-nexus-one-running-android-2-3-6-on-linux/
I found that my ext4 partition is mounted at boot time.
mount command gives the below:
/dev/block/mmcblk0p2 /mnt/sd-ext ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
I can copy the data to the ext4 partition without any problem using "cp -rlp /data/app /mnt/sd-ext/data" and "cp -rlp /data/data /mnt/sd-ext/data" .
I can see the data when doing a "ls /mnt/sd-ext/" - looks ok.
But after reboot the data is just gone - just dont get it. Grateful for any help for troubleshooting this.
Running ROM CM10.1_VJ_4.2.2_V6.3_May24 .
Thanks...
EDIT: installed S2E app (Simple2Ext) instead, which didnt work well, so tried Mount2SD instead and appears to be working OK.
I tried to install Link2SD in Micromax A58 as the internal storage is very low and need to install some more apps. Already rooted and installed Link2SD to use the ext4 2nd partition of my 8 GB SD card. After trying with all possible ways, couldn't get it worked. All the time it was showing error--
"Mount Script can not be created. Mount: No such file or directory"
Previously even the 2nd partition was not shown as mounted in the storage info of Link2SD but after modifying the install-recovery.sh in /etc path, the storage info now atleast showing the 2nd partition as mounted. My install-recovery.sh looks like below--
#!/system/bin/sh
/system/xbin/daemonsu --auto-daemon &
/system/etc/install-recovery-2.sh
mount -t ext4 -o rw /dev/block/mmcblk0p2 /data/sdext2
mount -t ext4 -o rw /dev/block/vold/179:2 /data/sdext2
Now, the problems are as below--
1) Installed multiple applications but none of them are actually linked to SDcard. The Link2SD shows them as 'On SD Card' and just after installing 9-10 small applications, the internal memory is now full. If I go to 'Create Link', it is giving error '/data/sdext2 mount not found'.
2) When try to recreate mount script and choosing 'ext4' as parameter, it still throws error
"Mount Script can not be created. Mount: No such file or directory"
It seems that even though the storage info shows the 2nd partition as mounted, but system couldn't identify it somehow. So, Link2Sd is not working at all.
Please help and advice further. Thanks a lot.
Hi, I recently compiled a TWRP for E506 plus, the problem is that the internal memory of the device is /data/media but the TWRP continues reading /data/media/0 also creating a new folder inside the internal memory called 0. In this way it is not possible to install zip from the internal memory if not manually browsing to /data/media, how can I solve?
I also tried to modify the fstab like this:
Code:
/sdcard auto /data/media
But it didn't work and I also tried to create a symlink but nothing.
Device Tree: https://github.com/XRedCubeX/twrp_device_E506plus
Thread closed per OP request.