In need of help remounting

the_maplebar

Well-known member
Jan 18, 2011
171
53
0
Visit site
I assume you are trying to run these commands from the terminal

Code:
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
# cat /sdcard/flash_image > /system/bin/flash_image
# chmod 755 /system/bin/flash_image
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
# flash_image recovery /sdcard/xionia_cwma_12518.6.img
# reboot recovery

You need to enter su first to get a root terminal

Code:
# su

To make sure you are root enter
Code:
# whoami
whomami: unknown uid 0

uid 0 means you are root.
 
  • Like
Reactions: mike9670

the_maplebar

Well-known member
Jan 18, 2011
171
53
0
Visit site
oops, my bad. The links to whomai are part of the a custom rom. You can do

Code:
busybox whoami

You should have busybox installed it is part of the rooting instructions.
 
Last edited:

the_maplebar

Well-known member
Jan 18, 2011
171
53
0
Visit site
I fixed the terminal command. You should have busybox installed. It's part of the rooting process when you use gingerbreak. Step 11 has you install busybox along with su

11) Copy su and busybox to /system/bin

cat su > /system/bin/su
cat busybox > /system/bin/busybox
cat Superuser.apk > /data/app/Superuser.apk