[Q] Titanium Backup problem mount ext2 - Android Q&A, Help & Troubleshooting

Titanium Backup i do not see my ext 2 split card.
FAT32
ext2
If you use Link2SD see ext2.
Titanium Backup can not be displayed.
Does anyone have a solution?

Try removing and re-inserting your SD Card. Or maybe wiping cache and Dalvik Cache in Recovery. It may help.

OK.

I need to know what script I have it mounted in sdext2
Titanium but it requires to ,,sd,, and then must use this command:
ln -s /data/sdext2 /data/sd
What do I need to connect the SD card data/sd
Only insert script in init.d ?
And what ?
Code:
We created:
#!/system/bin/sh
#mount sd for a2sd
mount -t ext2 -o rw /dev/block/vold/179:2 /data/sd
mount -t ext2 -o rw /dev/block/mmcblk0p2 /data/sd

Related

[Q] SDCard Script

Can someone post the script that mount sdcard at boot?
I created a kernel but it doesn't mount sdcard at boot, it's possibile to create the script in system/etc/init.d that mount sdcard at boot?
Try busybox mount while booted to see if it's possible to mount SD Card with a script. SD card mounts automatically if it's FAT32 and it takes a little vold.fstab configuration for other file systems. You should check franco's or LG's kernel to see how to automount sd card from kernel.
This is taken from CM7, put it in init.d and see.
Turducken said:
This is taken from CM7, put it in init.d and see.
Click to expand...
Click to collapse
Thank you very much but what's that?
# set property with exit code in case an error occurs
setprop cm.e2fsck.errors $e2fsk_exitcode;
if [ "$e2fsk_exitcode" -lt 2 ];
then
# mount and set perms
$BB mount -o noatime,nodiratime,barrier=1 -t ext3 $SD_EXT_PART $SD_EXT_DIRECTORY;
if [ "$?" = 0 ];
then
$BB chown 1000:1000 $SD_EXT_DIRECTORY;
$BB chmod 771 $SD_EXT_DIRECTORY;
log -p i -t mountsd "$SD_EXT_DIRECTORY successfully mounted";
else
log -p e -t mountsd "Unable to mount filesystem for $SD_EXT_DIRECTORY!";
fi
else
log -p e -t mountsd "Unable to repair filesystem, disabling apps2sd";
fi
Click to expand...
Click to collapse
EDIT: Mount This script sdcard?
#!/system/bin/sh
mount -o remount,ro -t yaffs2 /dev/block/mmcblk0
Click to expand...
Click to collapse
RE-EDIT: The CM7 script doesn't works, in the second reboot the sd wasn't mount
The CM7 script mounts a2sd apps (apps2sd script). The second one should be like
Code:
mount -o remount,r[b]w[/b] -t [b]fat32[/b] /dev/block/mmcblk0
. As I already said, it's probably a kernel problem, vold mounts sdcards automatically.
Cricco said:
Thank you very much but what's that?
Click to expand...
Click to collapse
That part of the script mounts an ext partition if one exists.
RE-EDIT: The CM7 script doesn't works, in the second reboot the sd wasn't mount
Click to expand...
Click to collapse
As Ianis G. Vasilev said there are various ways to mount the SD card but I suspect the issue is with the kernel you've compiled. Flash francos, if it mounts then your kernel is bad. Run logcat to see what's going on.
**EDIT**
I didn't see Ianis post before I began mine...
so with
mount -o remount,rw -t fat32 /dev/block/mmcblk0
Click to expand...
Click to collapse
the sd will be mount?
EDIT: I need a script that mount sd without write or read permission, infact if i use root explorer and I go to sdcard sometimes the sdcard folder is blank, so the sd didn't mount
Read permissions are needed to see what's on the sd card. For a read-only mount replace rw with ro:
Code:
mount -o remount,r[b]o[/b] -t fat32 /dev/block/mmcblk0
I would advice you to use dmesg(should be enabled in kernel) to see if your phone detects the card and logcat to see if any errors are preventing your card from mounting.
Now i create script
#!/system/bin/sh
mount -o remount,rw -t fat32 /dev/block/mmcblk0
mount -t vfat -o /dev/block/mmcblk0
Click to expand...
Click to collapse
is it correct?

Mount Sd-EXT

I want to install Ap2sd Script on Galaxy Duos.
I tried Mount2SD and Darktremor Ap2sd.
But both failed.
Due to can't mount the Sd-ext.
I can sure that mmc has ext2 partition as primary.
Also i tried to mount the sd-ext manually.
But failed.
I used this cmd
busybox mount -o noatime,nodiratime,barrier=1 /dev/block/mmcblk0p2 /sd-ext
Can anyone help me to mount?

Sdcard ext2 not mounted on Android to /mnt/sdcard

I formatted SDCard in ext2. But the phone gives the message "No SDCard or not formatted."
In Android Terminal Emulator I run commands:
su
umount /mnt/sdcard
mount -t ext2 /dev/block/mmcblk1p1 /mnt/sdcard
but nothing happens.
When I created in /mnt folder a new folder sdcard1 and run mount -t ext2 /dev/block/mmcblk1p1 /mnt/sdcard1, my card is successfully mounted to /mnt/sdcard1
1) Why it is not mounted to /mnt/sdcard? How to do it? How I can mount ext2 instead of FAT32?
2) How to make mount SDCard to /mnt/sdcard at boot?

[Q] Link2SD:2nd partition shown but still not working

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.

[Q] Mount second SD Card partition on boot

Hello, all.
I have a Moto E with a 32GB External Memory card.
I've formatted the card to have a 12G FAT32 partition for the phone to use as intended, and the other 20GB I've formatted into a EXT4 filesystem that I plan to use for various stuff.
I can mount and write to the partition without any problem:
Code:
mount -t ext4 -o rw /dev/block/mmcblk1p2 /sdcard/sdext4/
The issue lies in that I have no idea where I should place this so that it automatically does it on boot (I cannot find any init.d directory, for example).
Could someone let me know what scripts are read at boot and where the best location for putting said command would be?
----
EDIT: Come to think of it, I'll need it for the following command so I can rsync as well without a hassle:
Code:
ln -s /data/data/eu.kowalczuk.rsync4android/files/rsync rsync

Categories

Resources