[Nexus 4 Q&A, Help & Troubleshooting] zakoo2:
hey everyone,

i reflashed the stock 5.1.1 image today, but after booting (in recovery it works just fine) my /sdcard is read-only:

p backup-2015-09-22-1442949879837.kiikb ./kii-kb <
cp: ./kii-kb/backup-2015-09-22-1442949879837.kiikb: Permission denied
1|root@mako:/sdcard #

here are the outputs of ls -l and mount

1|[B]root@mako:/sdcard # ls -l[/B]
drwxrwx--- root sdcard_r 2015-09-23 13:14 !ReadyToFlash
drwxrwx--- root sdcard_r 2015-09-23 13:15 Alarms
drwxrwx--x root sdcard_r 2015-09-23 13:16 Android
drwxrwx--- root sdcard_r 2015-09-23 13:25 DCIM
drwxrwx--- root sdcard_r 2015-09-23 13:26 Documents
drwxrwx--- root sdcard_r 2015-09-23 21:08 Download
drwxrwx--- root sdcard_r 2015-09-23 13:28 Files
drwxrwx--- root sdcard_r 2015-09-23 12:46 Movies
drwxrwx--- root sdcard_r 2015-09-23 13:42 Music
drwxrwx--- root sdcard_r 2015-09-23 13:42 Notifications
drwxrwx--- root sdcard_r 2015-09-23 13:46 Pictures
drwxrwx--- root sdcard_r 2015-09-23 12:46 Podcasts
drwxrwx--- root sdcard_r 2015-09-23 13:46 Ringtones
drwxrwx--- root sdcard_r 2015-09-23 13:46 TWRP
drwxrwx--- root sdcard_r 2015-09-23 13:16 backup
-rwxrwx--- root sdcard_r 1626 2015-09-22 21:32 backup-2015-09-22-1442949879837.kiikb
drwxrwx--- root sdcard_r 2015-09-23 13:16 com.facebook.katana
drwxrwx--- root sdcard_r 2015-09-23 13:16 com.facebook.orca
drwxrwx--- root sdcard_r 2015-09-23 13:16 data
drwxrwx--- root sdcard_r 2015-09-23 12:54 flash
drwxrwx--- root sdcard_r 2015-09-23 13:28 kii-kb
drwxrwx--- root sdcard_r 2015-09-23 13:28 media
drwxrwx--- root sdcard_r 2015-09-23 13:46 runtasticPRO
-rwxrwx--- root sdcard_r 54859 2015-09-22 21:32 sms-20150922212654.xml
-rwxrwx--- root sdcard_r 2929 2015-09-22 21:32 sms.xsl
drwxrwx--- root sdcard_r 2015-09-23 13:47 viber

[B]root@mako:/ # ls -l[/B]
drwxr-xr-x root root 2015-09-23 20:56 acct
drwxrwx--- system cache 2015-09-23 20:31 cache
lrwxrwxrwx root root 1970-01-01 01:00 charger -> /sbin/healthd
dr-x------ root root 2015-09-23 20:56 config
lrwxrwxrwx root root 2015-09-23 20:56 d -> /sys/kernel/debug
drwxrwx--x system system 2015-09-23 20:56 data
-rw-r--r-- root root 341 1970-01-01 01:00 default.prop
drwxr-xr-x root root 2015-09-23 20:56 dev
lrwxrwxrwx root root 2015-09-23 20:56 etc -> /system/etc
-rw-r--r-- root root 18941 1970-01-01 01:00 file_contexts
dr-xr-x--- system system 1970-01-01 01:00 firmware
-rw-r----- root root 2625 1970-01-01 01:00 fstab.mako
-rwxr-x--- root root 227652 1970-01-01 01:00 init
-rwxr-x--- root root 944 1970-01-01 01:00 init.environ.rc
-rwxr-x--- root root 15680 1970-01-01 01:00 init.mako.rc
-rwxr-x--- root root 5957 1970-01-01 01:00 init.mako.usb.rc
-rwxr-x--- root root 1945 1970-01-01 01:00 init.performance_profiles.rc
-rwxr-x--- root root 22022 1970-01-01 01:00 init.rc
-rwxr-x--- root root 1927 1970-01-01 01:00 init.trace.rc
-rwxr-x--- root root 3885 1970-01-01 01:00 init.usb.rc
-rwxr-x--- root root 301 1970-01-01 01:00 init.zygote32.rc
drwxrwxr-x root system 2015-09-23 20:56 mnt
drwxrwx--x system system 2015-09-16 10:15 persist
dr-xr-xr-x root root 1970-01-01 01:00 proc
-rw-r--r-- root root 2870 1970-01-01 01:00 property_contexts
drwxr-xr-x root root 1970-01-01 01:00 res
drwx------ root root 2015-04-14 23:26 root
drwxr-x--- root root 2015-09-23 21:09 sbin
lrwxrwxrwx root root 2015-09-23 20:56 sdcard -> /storage/emulated/legacy
-rw-r--r-- root root 826 1970-01-01 01:00 seapp_contexts
-rw-r--r-- root root 50 1970-01-01 01:00 selinux_version
-rw-r--r-- root root 129888 1970-01-01 01:00 sepolicy
-rw-r--r-- root root 129294 1970-01-01 01:00 sepolicy_bk
-rw-r--r-- root root 9854 1970-01-01 01:00 service_contexts
drwxr-x--x root sdcard_r 2015-09-23 20:56 storage
dr-xr-xr-x root root 2015-09-23 20:56 sys
drwxr-xr-x root root 2015-09-23 13:48 system
drwxr-xr-x root root 2015-09-23 20:56 tmp-mksh
-rw-r--r-- root root 2342 1970-01-01 01:00 ueventd.mako.rc
-rw-r--r-- root root 4464 1970-01-01 01:00 ueventd.rc
lrwxrwxrwx root root 2015-09-23 20:56 vendor -> /system/vendor

[B]root@mako:/ # mount[/B]
rootfs / rootfs ro,seclabel,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 rw,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,nodelalloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,context=u:object_r:radio_efs_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

i tried the following:

adb root
adb remount

#mount -o remount,rw /sdcard

#mount -o remount,rw rootfs /

#chmod 755 /sdcard/*

nothing did the trick, even tried to fix permissions via twrp.

can anyone help me get this solved please without a fw reflash? :confused: