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)
Hi guys this is my new post. Today, i installed a app called Root Explorer.I explore my system files then i found the /system is only r/o mounted. But the /sys , /proc, /d, /dev is r/w mounted. i also found /proc/mounts i open it and i found
rootfs / rootsf ro, relatime 0 0
tmpfs /dev tmfs rw, relatime ,mode=755 0 0
devpts /dev/pts devpts rw, relatime ,mode=600 0 0
proc /proc proc rw, relatetime 0 0
sysfs /sys sysfs rw, relatime 0 0
debugfs /sys/kernel/debug debugfs rw, relatime 0 0
i skip the others it is so many.
/dev/block/mtdblock11 /system yaffs2 ro, relatime 0 0
/dev/block/mtdblock12 /data yaffs2 rw, nosuid, nodev, relatime 0 0
/dev/block/mtdblock19 /cache yaffs2 rw, nosuid, nodev, relatime 0 0
/dev/block/mtdblock14 /flex yaffs2 ro, nosuid, nodev, relatime 0 0
I know this is unrootable phone. But i think there's someone who can root it by modifiying the mounts of the phone. It's not rootable by z4root, x10root, superOneClick, motofail etc. But can someone push through the /sys files and modify it?
The thread is a bit old, but it seems to be a good idea, the "flashing an other carrier rom" isn't very good because it may not work everywhere, orange spain rom do have fastboot, but what afterward ? we're stuck with this carrier's rom and potential locks it have while we don't even live there ?
Regards
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.
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???
Hello all. Long time lurker, occasional poster - hope you can help me out here.
So, I came from a stock rooted Pixel running the June security update, and recently moved everything over to a combo of Stock ROM + ElementalX kernel + Magisk v12 with some help from a handy guide here on the forums.
To my chagrin, I noticed that StickMount Pro no longer functioned with MagiskSU. Not that big of a deal - I learned to live without.
*However*
Now I seem to be unable to delete the sdcard directory tree starting at /sdcard/usbStorage/, regardless of what all I've thrown at it.
In the terminal, each folder/subfolder looks like this: (ls -al)
Code:
. . .
drwxrwx--x 2 root sdcard_rw 4096 2017-06-15 21:14 sda4
. . .
There's notably just sda4 - sda36, skipping a few between, then sdb1, sdc1, sdd2 - sdd 13.
There's these folders under /sdcard/usbStorage/ : (ls -al)
Code:
.
. .
drwxrwx--x 2 root sdcard_rw 4096 2017-06-15 21:13 00BC-614E
drwxrwx--x 2 root sdcard_rw 4096 2017-06-15 21:14 57f8f4bc-abf4-655f-bf67-946fc0f9f25b
drwxrwx--x 2 root sdcard_rw 4096 2017-06-15 21:14 _
. . .
One of those looks like a device's UUID.
I've tried:
- Removing with SolidExplorer, and as root.
- su rm -rf /sdcard/usbStorage (received permission denied errors)
- su; busybox rm -rf /sdcard/usbStorage (just for completeness)
- Reinstalling StickMount and trying the various unmount options, as well as unticking the "create /sdcard/ directories" option
Since these failed me, I began trying to change the folder/group permissions across adb:
- chown -R 777 /sdcard/usbStorage , then rm -rf (still permission denied)
- addgroup $(whoami) sdcard_rw (unknown user "root")
- addgroup root sdcard_rw (unknown user "root")
The `mount` command lists nothing related. Only the following:
Code:
rootfs on / type rootfs (rw,seclabel)
/dev/root on / type ext4 (ro,seclabel,relatime,data=ordered)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=1896652k,nr_inodes=474163,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
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)
none on /acct type cgroup (rw,relatime,cpuacct)
none on /dev/stune type cgroup (rw,relatime,schedtune)
tmpfs on /mnt type tmpfs (rw,seclabel,relatime,size=1896652k,nr_inodes=474163,mode=755,gid=1000)
none on /config type configfs (rw,relatime)
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)
pstore on /sys/fs/pstore type pstore (rw,seclabel,relatime)
/dev/block/dm-1 on /vendor type ext4 (ro,seclabel,relatime,discard,data=ordered)
/dev/block/sda25 on /firmware/radio type vfat (ro,context=u:object_r:firmware_file:s0,relatime,uid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
/dev/block/sdd3 on /persist type ext4 (rw,seclabel,nosuid,nodev,relatime,data=ordered)
tmpfs on /storage type tmpfs (rw,seclabel,relatime,size=1896652k,nr_inodes=474163,mode=755,gid=1000)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
/dev/block/sda35 on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,data=ordered)
/dev/block/loop0 on /magisk type ext4 (rw,seclabel,noatime,data=ordered)
/dev/block/loop0 on /system/etc/hosts type ext4 (rw,seclabel,noatime,data=ordered)
tmpfs on /system/xbin type tmpfs (rw,seclabel,nosuid,relatime,size=1896652k,nr_inodes=474163,mode=755)
tmpfs on /sbin type tmpfs (rw,seclabel,nosuid,relatime,size=1896652k,nr_inodes=474163,mode=755)
/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 /storage/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)
Also, any attempt to mount/umount things throws the error:
Code:
mount: bad /etc/fstab: No such file or directory
etc...
I'm just hesitant to re-install SuperSU for fear of how it will clash with TWRP and Magisk *and* break SafetyNet just to try to remove this dir.
Could these somehow be related to the /dev/fuse filesystems?
Any help at all would be appreciated.
If I can't effectively chown / chmod them, I don't quite know how to proceed.