[HELP]Cyanogen automatically apps2sd problem - myTouch 3G, Magic Android Development

HTC Magic G2
1, Used other Rom before
2, Current recovery is cm-1.4
3, SPL is the original SHIPMENT SPL HBOOT-1.33.0009H
Use cm-1.4 for 32A to Wipe,and apply any zip from sd to flash the Cyanogen_4.0.1-32a, but apps2sd cannot be automatically enabled,also autoswap
As we all know what would be the problem? SPL? Recovery? SD card partition? Currently used in the second partition is EXT3.
busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 96.3M 12.0k 96.3M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 90.0M 62.0M 28.0M 69% /system
/dev/block/mtdblock5 295.8M 27.4M 268.4M 9% /data
/dev/block/mtdblock4 80.0M 1.3M 78.7M 2% /cache
/dev/block//vold/179:1
6.9G 4.6G 2.3G 67% /sdcard
after #mount -a
# mount
mount
rootfs on / type rootfs (ro)
tmpfs on /dev type tmpfs (rw,mode=755)
devpts on /dev/pts type devpts (rw,mode=600)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /sqlite_stmt_journals type tmpfs (rw,size=4096k)
/dev/block/mtdblock3 on /system type yaffs2 (ro)
/dev/block/mtdblock5 on /data type yaffs2 (rw,nodev)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev)
/dev/block//vold/179:1 on /sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,uid=
1000,gid=1000,fmask=0711,dmask=0700,allow_utime=0022,codepage=cp437,iocharset=is
o8859-1,shortname=mixed,utf8)
/dev/block/mmcblk0p2 on /system/sd type ext3 (rw,errors=continue,data=ordered)

Related

"mount" questions

I just got an android tablet for Christmas running 2.1 and the battery life is being chewed away, so I was going to remove the phone services suggested in here
http://www.smartqmid.com/phpBB3/viewtopic.php?f=17&t=1691&start=0
I have rooted my device and logged in to terminal using 'su'
However, all the files are read-only
I have tried the following commands.
chmod 777 /system (just comes back "read-only file system)
chmod 777 /system/app/Phone.apk (just comes back "read-only file system)
mount -o rw,remount /dev/block/mtdblock3 (the mount commands just kick me back asking me to retype in the command)
mount -o remount,rw /system (the mount commands just kick me back asking me to retype in the command)
mount -o rw,remount /system (the mount commands just kick me back asking me to retype in the command)
Here is my currently mounted directories
rootfs / rootfs rw 0 0
tmpfs /dev tmpfs rw,relatime,mode 755 0 0
devpts /dev/pts devpts rw,relatim,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /sqlite_stmt_journals tmpfs rw, relatime,size 4096k 0 0
/dev/block/mtdblock3 /system yaffs2 ro, relatime 0 0
/dev/block/mtdblock4 /data yaffs2 ro, relatime 0 0
/dev/block/mtdblock5 /cache yaffs2 ro, relatime 0 0
/dev/block/mtdblock6 /local yaffs2 ro, relatime 0 0
usage for the command mount looks like this
mount [-r] [-w] [-o options] [-t type] device directory
Eh, I think I got it
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

[Q] Galaxy 3 (I5801) Kyrillos ROM 10.6, issue with sd-ext partition

HI Guys,
I have a peculiar problem, and I hope someone can help solve this:
My phone is a Galaxy 3 (I5801), and I just installed Kyrillos ROM 10.6 on it. I had previously created a 1GB ext4 partition using CWM in my 8Gb card. From Kyrillos' post, I only have to do this much to enable hybrid data2sd, where all the new apps get installed in the sd-ext (1gb) partition on sd card. It seemed to work fine, I removed unwanted launchhers, made backups using Titanium, and plugged the phone to My Linux Mint system.
I copied data to the sd card (6.x gb partition) (and the 1gb ext4 partition was also auto mounted).
I rebooted the phone, and all the newly installed apps (which went to sd-ext) were not visible anymore. I tried to find them, but they were visible as ghosts in the applications list in settings.
I am guessing that the ext4 partition is not getting mounted.
Why is this happening? any ideas? please help!
EDIT:
Here is the output of the "mount" command from terminal emulator
$ export PATH=/data/local/bin:$PATH
$ mount
rootfs on / type rootfs (rw,relatime)
tmpfs on /dev type tmpfs (rw,noatime,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,noatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,noatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/stl6 on /system type ext4 (rw,relatime,commit=600,barrier=1,data=ordered,noauto_da_alloc)
/dev/block/stl7 on /data type ext4 (rw,nosuid,nodev,noatime,nodiratime,commit=20,barrier=1,data=ordered,noauto_da_alloc)
/dev/block/stl8 on /cache type rfs (rw,nosuid,nodev,noatime,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437)
/dev/block/stl4 on /efs type rfs (rw,nosuid,nodev,noatime,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437)
/dev/block/stl7 on /cache/download type ext4 (rw,nosuid,nodev,noatime,commit=20,barrier=1,data=ordered,noauto_da_alloc)
/dev/block/mmcblk0p2 on /sd-ext type ext4 (ro,relatime,barrier=1,data=ordered)
/dev/block/vold/179:9 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/vold/179:9 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
UPDATE 2:
The problem occurs only when i restart phone after connecting it to Linux Mint (Which Mounts the EXT4 /sd-ext partition. if connected to windows, no problems occur....
Any Ideas?
I have (almost) the same problem. My data2sd isn't working. link2sd desn't see my partition at all. And if I try to use hybrid data2sd I have to use it with either "g3mod config" or KMApp, but then I have this issue with ghost apps.
My phone is i5800, and if I enable BLN in KMApp (which is only for i5801), the apps stay normal, but I get sleep of death issue with screen.

[Q] Please help me mount RW

Hy my friends.
My name is Chris,from Romania.
First ,please excuse me for my poor english !
I have a Prestigio Multipad PMP5100C tablet.I flash it with a rooted firmware ,by arktablet.com (Arnova10 custom firmware,Android 2.2.1,froyo). It work good
for me,but I can not access system file,because is mount Read-Only.
I try "mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system" ,but not work.
With adb I got this :
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\Documents and Settings\Administrator>g:
G:\>cd G:\SDK\sdk\platform-tools
G:\SDK\sdk\platform-tools>adb devices
List of devices attached
11223344 device
G:\SDK\sdk\platform-tools>adb shell
# su
su
# cat /proc/mounts
cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / cramfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/block/mtdblock4 /system cramfs ro 0 0
/dev/block/mtdblock7 /data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock6 /cache ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock9 /data/data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
tmpfs /mnt tmpfs rw,mode=755,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,mode=755,gid=1000 0 0
/dev/block/vold/31:8 /mnt/sdcard vfat
rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0002,dmask=0002,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
/dev/block/vold/31:8 /mnt/secure/asec vfat
rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0002,dmask=0002,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,size=0k,mode=000 0 0
/dev/block/vold/179:1 /mnt/sdcard/external_sd vfat
rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0002,dmask=0002,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
# exit
exit
Please help me to mount my device as RW.
Thanks in advance.
cristicaras said:
Hy my friends.
My name is Chris,from Romania.
First ,please excuse me for my poor english !
I have a Prestigio Multipad PMP5100C tablet.I flash it with a rooted firmware ,by arktablet.com (Arnova10 custom firmware,Android 2.2.1,froyo). It work good
for me,but I can not access system file,because is mount Read-Only.
I try "mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system" ,but not work.
With adb I got this :
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\Documents and Settings\Administrator>g:
G:\>cd G:\SDK\sdk\platform-tools
G:\SDK\sdk\platform-tools>adb devices
List of devices attached
11223344 device
G:\SDK\sdk\platform-tools>adb shell
# su
su
# cat /proc/mounts
cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / cramfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/block/mtdblock4 /system cramfs ro 0 0
/dev/block/mtdblock7 /data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock6 /cache ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock9 /data/data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
tmpfs /mnt tmpfs rw,mode=755,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,mode=755,gid=1000 0 0
/dev/block/vold/31:8 /mnt/sdcard vfat
rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0002,dmask=0002,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
/dev/block/vold/31:8 /mnt/secure/asec vfat
rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0002,dmask=0002,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,size=0k,mode=000 0 0
/dev/block/vold/179:1 /mnt/sdcard/external_sd vfat
rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0002,dmask=0002,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
# exit
exit
Please help me to mount my device as RW.
Thanks in advance.
Click to expand...
Click to collapse
Why are you mounting mtdblock3? It shows your system as mtdblock4. Not sure on the yaffs2 either. None of those are listed up there.
Mount -o remount,rw -t ext3 or cramfs /dev/block/mtdblock4 /system try something along those lines. Possibly take out the -t and ext3 as well, try cramfs
I could be totally wrong here but from the mount command its showing block4 as your system.

[Q] Can the Zte x500 be rooted???

I have looked everywhere for help with this... I see others have rooted their Zte x500's and wonder why mine is so difficult.. I follow the directions no matter which way I go and this is the end result everytime..
/dev/block/mtdblock2 /system
mount: permission denied (are you root?)
END:10255export PS1=""
export TEMPRANDOM=85753;export PS1=END:$TEMPRANDOM;/data/local/tmp/busybox mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mtdblock2 on /system type yaffs2 (ro,relatime)
/dev/block/mtdblock6 on /data type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mtdblock7 on /persist type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mtdblock3 on /cache type yaffs2 (rw,nosuid,nodev,relatime)
END:85753export PS1=""
export TEMPRANDOM=15190;export PS1=END:$TEMPRANDOM;mount -o rw,remount /dev/block/mtdblock2 /system
mount: Operation not permitted
END:15190export PS1=""
Please help me!!! I am a noobie at this so I don't know much but I know something isn't right .. right???

[Completed] Swap /data partition with sdcard HTC Legend

Hi, I am trying to swap mount points to increase internal memory on my device - HTC Legend.
I know that there is script for this purpose.
http://forum.xda-developers.com/showthread.php?t=902395 .
As I can guess here we just use /sd-ext partition to swap it with /data. But in my case I have no /sd-ext partition at all, only /sdcard.
Of course I have no device /dev/block/mmcblk0p2.
About installed firmware - Android 2.3.7 ExtremeLegendFuse_2 based on CM7.
Output of mount command.
Code:
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mtdblock3 on /system type yaffs2 (ro,relatime)
/dev/block/mtdblock5 on /data type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/vold/179:1 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
#
And df -h
Code:
# df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 145.7M 32.0K 145.7M 0% /dev
tmpfs 145.7M 0 145.7M 0% /mnt/asec
tmpfs 145.7M 0 145.7M 0% /mnt/obb
/dev/block/mtdblock3 240.0M 160.7M 79.3M 67% /system
/dev/block/mtdblock5 185.1M 18.9M 166.3M 10% /data
/dev/block/mtdblock4 40.0M 6.6M 33.4M 16% /cache
/dev/block/vold/179:1
967.6M 194.8M 772.8M 20% /mnt/sdcard
/dev/block/vold/179:1
967.6M 194.8M 772.8M 20% /mnt/secure/asec
#
Content of /system/etc/vold.fstab
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/usb_mass_storage/lun0 /devices/platform/msm_sdcc.2/mmc_host/mmc0
I have some basic knowledge, but I need help in this case.
Please help to swap storage to increase internal storage.
Thanks everyone in advance.
Hi,
You've provided me link that you need, so asking your questions in that thread is the best solution for receive an relevant answer.
XDA Assist is here to help members navigate thru the site, not support. And you've navigated it already. ��
Good luck!

Categories

Resources