Related
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)
/ # 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)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/stl9 on /system type rfs (ro,relatime,vfat,log_off,check=no,gid/uid/)
/dev/block/stl10 on /data type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no,)
/dev/block/stl11 on /cache type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no)
/dev/block/stl3 on /efs type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no,gi)
/dev/block/stl6 on /mnt/.lfs type j4fs (rw,relatime)
debugfs on /debug type debugfs (rw,relatime)
/dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,)
/dev/block/vold/179:1 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,no)
tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
vold.fstab
http://hotfile.com/dl/131250498/745fe23/vold.fstab.html
hoho9043 said:
/ # 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)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/stl9 on /system type rfs (ro,relatime,vfat,log_off,check=no,gid/uid/)
/dev/block/stl10 on /data type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no,)
/dev/block/stl11 on /cache type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no)
/dev/block/stl3 on /efs type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no,gi)
/dev/block/stl6 on /mnt/.lfs type j4fs (rw,relatime)
debugfs on /debug type debugfs (rw,relatime)
/dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,)
/dev/block/vold/179:1 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,no)
tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
vold.fstab
http://hotfile.com/dl/131250498/745fe23/vold.fstab.html
Click to expand...
Click to collapse
Uh? In the wrong section?
my hh was imei unknown n baseband also...
how to fix it...
# su
su
# mount
mount
rootfs on / type rootfs (rw,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=111)
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)
/sys/kernel/debug on /sys/kernel/debug type debugfs (rw,relatime)
/dev/block/stl9 on /system type rfs (rw,relatime,vfat,llw,check=no,gid/uid/rwx,i
ocharset=utf8)
/dev/block/mmcblk0p3 on /data type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=
no,gid/uid/rwx,iocharset=utf8)
/dev/block/stl10 on /dbdata type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no
,gid/uid/rwx,iocharset=utf8)
/dev/block/stl6 on /mnt/.lfs type j4fs (rw,relatime)
debugfs on /debug type debugfs (rw,relatime)
/dev/block/stl11 on /cache type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no,
gid/uid/rwx,iocharset=utf8)
/dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,n
oatime,nodiratime,uid=1000,gid=1015,fmask=0002,dma sk=0002,allow_utime=0020,codep
age=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard)
/dev/block/vold/179:17 on /mnt/sdcard/external_sd type vfat (rw,dirsync,nosuid,n
odev,noexec,noatime,nodiratime,uid=1000,gid=1015,f mask=0002,dmask=0002,allow_uti
me=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-r
o)
/dev/block/vold/179:17 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,no
exec,noatime,nodiratime,uid=1000,gid=1015,fmask=00 02,dmask=0002,allow_utime=0020
,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /mnt/sdcard/external_sd/.android_secure type tmpfs (ro,relatime,size=0k
,mode=000)
#
what should i do ?
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!
I have a Xiaomi 4c and TWRP without rooting. The 4c only has internal memory. The twrp when it opens always asks me to put the memory as read only and I think the last time I opened it was applied. The problem is that now It dont load the twrp and several applications can not save files in memory (I get error that does not have permission) it does not let me install the TWRP again, also using adb (error that I do not have permission). Trying to install it otherwise gives error. I tried to change write permissions but either I do not do it right or I continue without permission. Also it do not let me do hard reset or install another recovery. suggestions?
(This is the result of mount)
libra:/ $ mount
rootfs on / type rootfs (ro,seclabel)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=908932k,nr_inodes=227233,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
none on /dev/memcg type cgroup (rw,relatime,memory)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
none on /dev/cpuset type cgroup (rw,relatime,cpuset,noprefix,release_agent=/sbin/cpuset_release_agent)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
proc on /proc type proc (rw,relatime,gid=3009,hidepid=2)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,seclabel,relatime)
pstore on /sys/fs/pstore type pstore (rw,seclabel,relatime)
none on /sys/fs/cgroup type tmpfs (rw,seclabel,relatime,size=908932k,nr_inodes=227233,mode=750,gid=1000)
none on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory)
none on /sys/fs/cgroup/freezer type cgroup (rw,relatime,freezer)
none on /var type tmpfs (rw,seclabel,relatime,size=908932k,nr_inodes=227233,mode=770,gid=1000)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt type tmpfs (rw,seclabel,relatime,size=908932k,nr_inodes=227233,mode=755,gid=1000)
/dev/fuse on /mnt/runtime/default/emulated type fuse
(rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/read/emulated type fuse
(rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/write/emulated type fuse
(rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
none on /config type configfs (rw,relatime)
/dev/block/bootdevice/by-name/system on /system type ext4 (ro,seclabel,noatime,data=ordered)
/dev/block/bootdevice/by-name/userdata on /data type ext4
(rw,seclabel,nosuid,nodev,relatime,discard,noauto_da_alloc,data=ordered)
/dev/block/bootdevice/by-name/cust on /cust type ext4 (rw,seclabel,nosuid,nodev,relatime,data=ordered)
/dev/block/bootdevice/by-name/cache on /cache type ext4 (rw,seclabel,nosuid,nodev,relatime,data=ordered)
/dev/block/bootdevice/by-name/persist on /persist type ext4 (rw,seclabel,nosuid,nodev,relatime,data=ordered)
/dev/block/bootdevice/by-name/modem on /firmware type vfat
(ro,context=ubject_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=i
so8859-1,shortname=lower,errors=remount-ro)
/dev/block/bootdevice/by-name/bluetooth on /bt_firmware type vfat
(ro,context=ubject_r:bt_firmware_file:s0,relatime,uid=1002,gid=3002,fmask=0337,dmask=0227,codepage=437,iocharse
t=iso8859-1,shortname=lower,errors=remount-ro)
tmpfs on /storage type tmpfs (rw,seclabel,relatime,size=908932k,nr_inodes=227233,mode=755,gid=1000)
/dev/fuse on /storage/emulated type fuse
(rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
tmpfs on /storage/self type tmpfs (rw,seclabel,relatime,size=908932k,nr_inodes=227233,mode=755,gid=1000)
libra:/ $