[AT&T LG Optimus G] knightnyc:
Hi, I am trying to fix an AT&T LGOG for a friend who had messed around with custom roms. The sdcard0 seems to be readonly. and I don't see the mount point listed. The camera and some sensors no longer work as well.

The device is rooted.

Here are the terminal outputs. Much appreciated for the help.

1|root@android:/dev/block/vold # mount

rootfs / rootfs ro,relatime 0 0

tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,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 ro,relatime,data=ordered 0 0

/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,nosuid,nodev,noatime,noauto_da_alloc,resuid=1000,errors=continue,data=ordered 0 0

/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,nosuid,nodev,relatime,nodelalloc,data=ordered 0 0

/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,nosuid,nodev,noatime,data=ordered 0 0

/dev/block/mmcblk0p1 /firmware vfat ro,relatime,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0

/dev/block/vold/179:33 /storage/external_SD texfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,umask=0702,allow_utime=0020,nls=utf8,min_prealloc_size=64k,readahead=4M,fail_safe,discard,errors=continue 0 0

root@android:/dev/block/vold # cat /proc/partitions

major minor #blocks name

179 0 15388672 mmcblk0

179 1 65536 mmcblk0p1

179 2 512 mmcblk0p2

179 3 512 mmcblk0p3

179 4 2048 mmcblk0p4

179 5 512 mmcblk0p5

179 6 512 mmcblk0p6

179 7 24576 mmcblk0p7

179 8 512 mmcblk0p8

179 9 1 mmcblk0p9

179 10 3072 mmcblk0p10

179 11 3072 mmcblk0p11

179 12 780 mmcblk0p12

179 13 780 mmcblk0p13

179 14 780 mmcblk0p14

179 15 8192 mmcblk0p15

179 16 8192 mmcblk0p16

179 17 8 mmcblk0p17

179 18 16384 mmcblk0p18

179 19 16384 mmcblk0p19

179 20 512 mmcblk0p20

179 21 512 mmcblk0p21

179 22 1556480 mmcblk0p22

179 23 819200 mmcblk0p23

179 24 12034048 mmcblk0p24

179 25 8192 mmcblk0p25

179 26 262144 mmcblk0p26

179 27 24576 mmcblk0p27

179 28 3072 mmcblk0p28

179 29 8 mmcblk0p29

179 30 32768 mmcblk0p30

179 31 32768 mmcblk0p31

259 0 512 mmcblk0p32

259 1 512 mmcblk0p33

259 2 16384 mmcblk0p34

259 3 412655 mmcblk0p35

179 32 61766656 mmcblk1

179 33 61750272 mmcblk1p1

root@android:/dev/block/vold # cd /dev/block/platform

root@android:/dev/block/platform # ls

msm_sdcc.1

msm_sdcc.3

root@android:/dev/block/platform # cd msm_sdcc.1

root@android:/dev/block/platform/msm_sdcc.1 # cd by-name

root@android:/dev/block/platform/msm_sdcc.1/by-name # ls -l

lrwxrwxrwx root root 1970-04-06 18:07 DDR -> /dev/block/mmcblk0p29

lrwxrwxrwx root root 1970-04-06 18:07 aboot -> /dev/block/mmcblk0p5

lrwxrwxrwx root root 1970-04-06 18:07 boot -> /dev/block/mmcblk0p7

lrwxrwxrwx root root 1970-04-06 18:07 cache -> /dev/block/mmcblk0p23

lrwxrwxrwx root root 1970-04-06 18:07 drm -> /dev/block/mmcblk0p15

lrwxrwxrwx root root 1970-04-06 18:07 eksst -> /dev/block/mmcblk0p21

lrwxrwxrwx root root 1970-04-06 18:07 encrypt -> /dev/block/mmcblk0p20

lrwxrwxrwx root root 1970-04-06 18:07 factory -> /dev/block/mmcblk0p19

lrwxrwxrwx root root 1970-04-06 18:07 fota -> /dev/block/mmcblk0p30

lrwxrwxrwx root root 1970-04-06 18:07 fsg -> /dev/block/mmcblk0p28

lrwxrwxrwx root root 1970-04-06 18:07 grow -> /dev/block/mmcblk0p35

lrwxrwxrwx root root 1970-04-06 18:07 m9kefs1 -> /dev/block/mmcblk0p12

lrwxrwxrwx root root 1970-04-06 18:07 m9kefs2 -> /dev/block/mmcblk0p13

lrwxrwxrwx root root 1970-04-06 18:07 m9kefs3 -> /dev/block/mmcblk0p14

lrwxrwxrwx root root 1970-04-06 18:07 misc -> /dev/block/mmcblk0p18

lrwxrwxrwx root root 1970-04-06 18:07 modem -> /dev/block/mmcblk0p1

lrwxrwxrwx root root 1970-04-06 18:07 modemst1 -> /dev/block/mmcblk0p10

lrwxrwxrwx root root 1970-04-06 18:07 modemst2 -> /dev/block/mmcblk0p11

lrwxrwxrwx root root 1970-04-06 18:07 mpt -> /dev/block/mmcblk0p31

lrwxrwxrwx root root 1970-04-06 18:07 pad -> /dev/block/mmcblk0p9

lrwxrwxrwx root root 1970-04-06 18:07 persist -> /dev/block/mmcblk0p25

lrwxrwxrwx root root 1970-04-06 18:07 recovery -> /dev/block/mmcblk0p27

lrwxrwxrwx root root 1970-04-06 18:07 reserved -> /dev/block/mmcblk0p34

lrwxrwxrwx root root 1970-04-06 18:07 rpm -> /dev/block/mmcblk0p6

lrwxrwxrwx root root 1970-04-06 18:07 rpmbak -> /dev/block/mmcblk0p33

lrwxrwxrwx root root 1970-04-06 18:07 sbl1 -> /dev/block/mmcblk0p2

lrwxrwxrwx root root 1970-04-06 18:07 sbl2 -> /dev/block/mmcblk0p3

lrwxrwxrwx root root 1970-04-06 18:07 sbl3 -> /dev/block/mmcblk0p4

lrwxrwxrwx root root 1970-04-06 18:07 sns -> /dev/block/mmcblk0p16

lrwxrwxrwx root root 1970-04-06 18:07 ssd -> /dev/block/mmcblk0p17

lrwxrwxrwx root root 1970-04-06 18:07 system -> /dev/block/mmcblk0p22

lrwxrwxrwx root root 1970-04-06 18:07 tombstones -> /dev/block/mmcblk0p26

lrwxrwxrwx root root 1970-04-06 18:07 tz -> /dev/block/mmcblk0p8

lrwxrwxrwx root root 1970-04-06 18:07 tzbak -> /dev/block/mmcblk0p32

lrwxrwxrwx root root 1970-04-06 18:07 userdata -> /dev/block/mmcblk0p24

root@android:/dev/block/platform/msm_sdcc.1/by-name # cd ..

root@android:/dev/block/platform/msm_sdcc.1 # cd ..

root@android:/dev/block/platform # cd msm_sdcc.3

root@android:/dev/block/platform/msm_sdcc.3 # ls -l

drwxr-xr-x root root 1970-04-06 18:07 by-num

lrwxrwxrwx root root 1970-04-06 18:07 mmcblk1 -> /dev/block/mmcblk1

lrwxrwxrwx root root 1970-04-06 18:07 mmcblk1p1 -> /dev/block/mmcblk1p1

root@android:/dev/block/platform/msm_sdcc.3 # ls -l /dev/block

brw------- root root 7, 0 1970-04-06 18:07 loop0

brw------- root root 7, 1 1970-04-06 18:07 loop1

brw------- root root 7, 2 1970-04-06 18:07 loop2

brw------- root root 7, 3 1970-04-06 18:07 loop3

brw------- root root 7, 4 1970-04-06 18:07 loop4

brw------- root root 7, 5 1970-04-06 18:07 loop5

brw------- root root 7, 6 1970-04-06 18:07 loop6

brw------- root root 7, 7 1970-04-06 18:07 loop7

brwxrwx--- system lg_fota 179, 0 1970-04-06 18:07 mmcblk0

brw------- root root 179, 1 1970-04-06 18:07 mmcblk0p1brw------- root root 179, 10 1970-04-06 18:07 mmcblk0p10

brw------- root root 179, 11 1970-04-06 18:07 mmcblk0p11

brw-rw---- system system 179, 12 2014-07-13 06:32 mmcblk0p12

brw-rw---- system system 179, 13 2014-07-13 10:31 mmcblk0p13

brw-rw---- system system 179, 14 1970-04-06 18:07 mmcblk0p14

brw------- root root 179, 15 1970-04-06 18:07 mmcblk0p15

brw------- root root 179, 16 1970-04-06 18:07 mmcblk0p16

brw------- root root 179, 17 1970-04-06 18:07 mmcblk0p17

brw-rw---- root system 179, 18 1970-04-06 18:07 mmcblk0p18

brw------- root root 179, 19 1970-04-06 18:07 mmcblk0p19

brw------- root root 179, 2 1970-04-06 18:07 mmcblk0p2brw------- root root 179, 20 1970-04-06 18:07 mmcblk0p20

brw------- root root 179, 21 1970-04-06 18:07 mmcblk0p21

brw------- root root 179, 22 1970-04-06 18:07 mmcblk0p22

brw------- root root 179, 23 1970-04-06 18:07 mmcblk0p23

brw------- root root 179, 24 1970-04-06 18:07 mmcblk0p24

brw------- root root 179, 25 1970-04-06 18:07 mmcblk0p25

brw------- root root 179, 26 1970-04-06 18:07 mmcblk0p26

brw------- root root 179, 27 1970-04-06 18:07 mmcblk0p27

brw------- root root 179, 28 1970-04-06 18:07 mmcblk0p28

brw------- root root 179, 29 1970-04-06 18:07 mmcblk0p29

brw------- root root 179, 3 1970-04-06 18:07 mmcblk0p3brw------- root root 179, 30 1970-04-06 18:07 mmcblk0p30

brw------- root root 179, 31 1970-04-06 18:07 mmcblk0p31

brw------- root root 259, 0 1970-04-06 18:07 mmcblk0p32

brw------- root root 259, 1 1970-04-06 18:07 mmcblk0p33

brw------- root root 259, 2 1970-04-06 18:07 mmcblk0p34

brw------- root root 259, 3 1970-04-06 18:07 mmcblk0p35

brw------- root root 179, 4 1970-04-06 18:07 mmcblk0p4brw------- root root 179, 5 1970-04-06 18:07 mmcblk0p5brw------- root root 179, 6 1970-04-06 18:07 mmcblk0p6brw------- root root 179, 7 1970-04-06 18:07 mmcblk0p7brw------- root root 179, 8 1970-04-06 18:07 mmcblk0p8brw------- root root 179, 9 1970-04-06 18:07 mmcblk0p9brw------- root root 179, 32 1970-04-06 18:07 mmcblk1

brw------- root root 179, 33 1970-04-06 18:07 mmcblk1p1drwxr-xr-x root root 1970-04-06 18:07 platform

brw------- root root 1, 0 1970-04-06 18:07 ram0

brw------- root root 1, 1 1970-04-06 18:07 ram1

brw------- root root 1, 10 1970-04-06 18:07 ram10

brw------- root root 1, 11 1970-04-06 18:07 ram11

brw------- root root 1, 12 1970-04-06 18:07 ram12

brw------- root root 1, 13 1970-04-06 18:07 ram13

brw------- root root 1, 14 1970-04-06 18:07 ram14

brw------- root root 1, 15 1970-04-06 18:07 ram15

brw------- root root 1, 2 1970-04-06 18:07 ram2

brw------- root root 1, 3 1970-04-06 18:07 ram3

brw------- root root 1, 4 1970-04-06 18:07 ram4

brw------- root root 1, 5 1970-04-06 18:07 ram5

brw------- root root 1, 6 1970-04-06 18:07 ram6

brw------- root root 1, 7 1970-04-06 18:07 ram7

brw------- root root 1, 8 1970-04-06 18:07 ram8

brw------- root root 1, 9 1970-04-06 18:07 ram9

drwx------ root root 1970-04-06 18:07 vold