You both have probably "untar'ed" it
not as root - and the "+s" flag has not been set up. Or on Linux box change right to those two files, or once again untar it from root account.
Code:
chmod 6755 /system/bin/su
chmod 755 /system/app/superuser.apk
ps. Since I haven't wrote it explicite, it should be from root account - I've corrected this in howto.
Happy 2011 together,
something like "#tar xvzf rootfs.tar.gz -C /media/sd_rootfs" would be right I think?!
But what is "+s" flag?
@$aur0n:
For me it is still not running in normal boot-mode
Ar101 can't read the sd at startup, and always boots in not rooted partitions. The sd is still reported as damaged in normal boot-mode
It could be the 4GB class2 micro-sd, its a little bit too slow, I guess?!
/init.rc in normal boot-mode:
Code:
...
# mount partitions
mount rawfs /dev/block/mmcblk0p1 /mnt/rawfs
mount ext3 /dev/block/mmcblk0p2 /mnt/system noatime nosuid noexec
mount ext3 /dev/block/mmcblk0p3 /cache noatime nosuid noexec
mount ext3 /dev/block/mmcblk0p4 /data noatime nosuid
...
df -h Output in normal boot-mode:
Code:
Filesystem Size Used Available Use% Mounted on
/dev/mmcblk0p2 118.2M 81.3M 30.8M 72% /mnt/system
/dev/loop0 75.5M 75.5M 0 100% /
tmpfs 119.1M 0 119.1M 0% /dev
tmpfs 119.1M 0 119.1M 0% /mnt/asec
tmpfs 119.1M 64.0k 119.0M 0% /tmp
/dev/block/mmcblk0p1 31.8M 11.9M 19.8M 38% /mnt/rawfs
/dev/block/mmcblk0p2 118.2M 81.3M 30.8M 72% /mnt/system
/dev/block/mmcblk0p3 29.6M 1.4M 26.7M 5% /cache
/dev/block/mmcblk0p4 299.4M 34.7M 249.3M 12% /data
tmpfs 119.1M 4.0k 119.1M 0% /dev/shm
/dev/block/vold/179:9
6.9G 7.6M 6.9G 0% /mnt/storage
df: /mnt/secure/asec: Permission denied
fusesmb 75.5M 75.5M 0 100% /mnt/storage/network/smb
/init.rc in developer mode:
Code:
...
# mount partitions
mount rawfs /dev/block/mmcblk0p1 /mnt/rawfs
mount ext3 /dev/block/mmcblk0p2 /mnt/system noatime nosuid noexec
mount ext3 /dev/block/mmcblk0p3 /cache noatime nosuid noexec
# Comment this
# mount ext3 /dev/block/mmcblk0p4 /data noatime nosuid
# Uncomment this
mount ext4 /dev/block/mmcblk2p2 /data noatime
mount ext3 /dev/block/mmcblk0p4 /data.old noatime nosuid
mount ext4 /dev/block/mmcblk2p3 /mnt/sdcard2 noatime nosuid
...
df -h Output in developer mode:
Code:
Filesystem Size Used Available Use% Mounted on
/dev/mmcblk0p2 118.2M 81.3M 30.8M 72% /mnt/system
/dev/mmcblk2p1 493.8M 159.9M 308.4M 34% /
tmpfs 118.9M 12.0k 118.9M 0% /dev
tmpfs 118.9M 0 118.9M 0% /mnt/asec
tmpfs 118.9M 68.0k 118.8M 0% /tmp
/dev/block/mmcblk0p1 31.8M 11.9M 19.8M 38% /mnt/rawfs
/dev/block/mmcblk0p2 118.2M 81.3M 30.8M 72% /mnt/system
/dev/block/mmcblk0p3 29.6M 1.4M 26.7M 5% /cache
/dev/block/mmcblk2p2 1011.4M 127.3M 832.7M 13% /data
/dev/block/mmcblk0p4 299.4M 34.7M 249.3M 12% /data.old
tmpfs 118.9M 4.0k 118.9M 0% /dev/shm
/dev/block/vold/179:9
6.9G 7.6M 6.9G 0% /mnt/storage
/dev/block/vold/179:9
6.9G 7.6M 6.9G 0% /mnt/secure/asec
fusesmb 493.8M 159.9M 308.4M 34% /mnt/storage/network/smb