Hi workdowg! I appreciate your replies.
Immediately after I boot into CWM recovery and connect via adb, I'm already root. There is no need for me to su.
Also, there's already a directory called /system. If I "cd" to this directory and run "ls -la", I get the following:
Code:
# cd /system/system # ls -la__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!drwxr-xr-x 3 root root 0 Jan 1 1970 .drwxr-xr-x 22 root root 0 Jan 1 17:07 ..drwxr-xr-x 2 root root 0 Jan 1 1970 bin
So immediately after I boot, /system is a directory which already exists, but doesn't contain a "build.prop"
When you are in adb shell what do you get with just the mount command?
The output of the mount command is:
Code:
# mountrootfs on / type rootfs (rw)tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)proc on /proc type proc (rw,relatime)sysfs on /sys type sysfs (rw,seclabel,relatime)selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)tmpfs on /storage type tmpfs (rw,seclabel,relatime,mode=050,gid=1028)tmpfs on /mnt/secure type tmpfs (rw,seclabel,relatime,mode=700)tmpfs on /mnt/fuse type tmpfs (rw,seclabel,relatime,mode=775,gid=1000)/dev/block/mmcblk0p12 on /cache type ext4 (rw,seclabel,relatime,user_xattr,barrier=1,journal_async_commit,data=ordered)
Try this:
Code:
sumount -o rw,remount /dev/block/by-name/system /system
Four mount commands which I tried but didn't work:
Code:
# mount -o rw,remount /dev/block/by-name/system /systemmount: mounting /dev/block/by-name/system on /system failed: Invalid argument# mount -o rw,remount /dev/block/by-name/system /system2mount: mounting /dev/block/by-name/system on /system2 failed: No such file or directory/dev/block # mount -o rw,remount /dev/block/mmcblk0p13 /system2mount: mounting /dev/block/mmcblk0p13 on /system2 failed: No such file or directory/dev/block # mount -o rw,remount /dev/block/mmcblk0p13 /systemmount: mounting /dev/block/mmcblk0p13 on /system failed: Invalid argument
Btw I'm guessing that mmcblk0p13 is my system partition, but I'm not 100% sure.
*********************
Edit:
Oh no, I wasn't thinking straight earlier...
Sorry, I've just realized how noob I was. Anyway, after running the following commands...
Code:
cd /mkdir /system2mount -o rw /dev/block/mmcblk0p13 /system2echo "persist.service.adb.enable=1" >> default.prop echo "persist.service.debuggable=1" >> default.propecho "persist.sys.usb.config=mtp,adb" >> default.propecho "persist.service.adb.enable=1" >> /system2/build.prop echo "persist.service.debuggable=1" >> /system2/build.propecho "persist.sys.usb.config=mtp,adb" >> /system2/build.prop
...and then rebooting, I now have adb access to Android! (Finally!) And I've managed to run Android Screencast together with my phone, so my phone is fully functional once more.
Thank you so much workdowg!