[Nexus 5 General] timnim:
havn't tried to lock the bootloader but tried all these after reading too many posts but dont't what the issue is?...pls have a look into this..

_____________________________________________

C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>adb shell

~ # list users

/sbin/sh: list: not found

~ # df

Filesystem 1K-blocks Used Available Use% Mounted on

tmpfs 949780 128 949652 0% /dev

tmpfs 949780 0 949780 0% /storage

tmpfs 949780 0 949780 0% /mnt/secure

tmpfs 949780 0 949780 0% /mnt/fuse

~ # cat /proc/partitions

major minor #blocks name

179 0 15388672 mmcblk0

179 1 65536 mmcblk0p1

179 2 1024 mmcblk0p2

179 3 512 mmcblk0p3

179 4 512 mmcblk0p4

179 5 512 mmcblk0p5

179 6 512 mmcblk0p6

179 7 2048 mmcblk0p7

179 8 1024 mmcblk0p8

179 9 512 mmcblk0p9

179 10 512 mmcblk0p10

179 11 512 mmcblk0p11

179 12 3072 mmcblk0p12

179 13 3072 mmcblk0p13

179 14 512 mmcblk0p14

179 15 16384 mmcblk0p15

179 16 16384 mmcblk0p16

179 17 3072 mmcblk0p17

179 18 22528 mmcblk0p18

179 19 22528 mmcblk0p19

179 20 22528 mmcblk0p20

179 21 3072 mmcblk0p21

179 22 512 mmcblk0p22

179 23 512 mmcblk0p23

179 24 512 mmcblk0p24

179 25 1048576 mmcblk0p25

179 26 30720 mmcblk0p26

179 27 716800 mmcblk0p27

179 28 13404138 mmcblk0p28

179 29 5 mmcblk0p29

179 32 4096 mmcblk0rpmb

~ # mount

rootfs 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)

~ # mount -o,rw /system

~ # mount

rootfs 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/platform/msm_sdcc.1/by-name/system on /system type ext4 (rw,seclabel,

relatime,data=ordered)

~ # moutn -o,rw /cah←[J

/sbin/sh: moutn: not found

~ # mount -o,rw /cache

mount: mounting /dev/block/platform/msm_sdcc.1/by-name/cache on /cache failed: I

nvalid argument

~ # mount -o,rw /data

mount: mounting /dev/block/platform/msm_sdcc.1/by-name/userdata on /data failed:

Invalid argument

~ # mount -o,rw /sdcard

mount: can't find /sdcard in /etc/fstab

~ # ls -l

drwxr-xr-x 2 root root 0 Jan 1 09:39 boot

drwxr-xr-x 2 root root 0 Jan 1 09:39 cache

-rwxr-x--- 1 root root 288392 Jan 1 00:00 charger

drwxr-xr-x 3 root root 0 Jan 1 09:39 data

drwxr-xr-x 2 root root 0 Jan 1 09:39 datadata

-rw-r--r-- 1 root root 3976 Jan 1 00:00 default.prop

drwxr-xr-x 10 root root 4480 Jan 1 09:39 dev

drwxr-xr-x 2 root root 0 Jan 1 09:39 emmc

drwxr-xr-x 2 root root 0 Jan 1 09:39 etc

drwxr-xr-x 2 root root 0 Jan 1 09:39 external_sd

-rw-r--r-- 1 root root 9375 Jan 1 00:00 file_contexts

-rw-r----- 1 root root 953 Jan 1 00:00 fstab.goldfish

-rw-r----- 1 root root 2653 Jan 1 00:00 fstab.hammerhead

-rwxr-x--- 1 root root 179556 Jan 1 00:00 init

-rwxr-x--- 1 root root 2708 Jan 1 00:00 init.rc

drwxr-xr-x 2 root root 0 Jan 1 09:39 internal_sd

drwxrwxr-x 5 root system 0 Jan 1 09:39 mnt

dr-xr-xr-x 127 root root 0 Jan 1 00:00 proc

-rw-r--r-- 1 root root 2161 Jan 1 00:00 property_contexts

drwxr-xr-x 2 root root 0 Jan 1 09:39 recovery

drwxr-xr-x 3 root root 0 Jan 1 00:00 res

drwx------ 2 root root 0 Dec 1 2013 root

drwxr-x--- 2 root root 0 Jan 1 00:00 sbin

drwxr-xr-x 2 root root 0 Jan 1 09:39 sd-ext

lrwxrwxrwx 1 root root 11 Jan 1 09:39 sdcard -> /data/media

-rw-r--r-- 1 root root 711 Jan 1 00:00 seapp_contexts

-rw-r--r-- 1 root root 74942 Jan 1 00:00 sepolicy

d---r-x--- 2 root sdcard_r 40 Jan 1 09:39 storage

dr-xr-xr-x 12 root root 0 Jan 1 09:39 sys

drwxr-xr-x 14 root root 4096 Jan 1 00:00 system

drwxrwxr-x 2 root shell 0 Jan 1 09:39 tmp

-rw-r--r-- 1 root root 272 Jan 1 00:00 ueventd.goldfish.rc

-rw-r--r-- 1 root root 2204 Jan 1 00:00 ueventd.hammerhead.rc

-rw-r--r-- 1 root root 5897 Jan 1 00:00 ueventd.rc

~ # cat recovery.fstab

cat: can't open 'recovery.fstab': No such file or directory

~ # cat recovery.fstab.bak

cat: can't open 'recovery.fstab.bak': No such file or directory

~ # system /bin

/sbin/sh: system: not found

~ # system/bin

/sbin/sh: system/bin: Permission denied

~ # e2fsck

Usage: e2fsck [-panyrcdfvtDFV] [-b superblock] [-B blocksize]

[-I inode_buffer_blocks] [-P process_inode_size]

[-l|-L bad_blocks_file] [-C fd] [-j external_journal]

[-E extended-options] device

Emergency help:

-p Automatic repair (no questions)

-n Make no changes to the filesystem

-y Assume "yes" to all questions

-c Check for bad blocks and add them to the badblock list

-f Force checking even if filesystem is marked clean

-v Be verbose

-b superblock Use alternative superblock

-B blocksize Force blocksize when looking for superblock

-j external_journal Set location of the external journal

-l bad_blocks_file Add to badblocks list

-L bad_blocks_file Set badblocks list

~ # -p

/sbin/sh: -p: not found

~ # p

/sbin/sh: p: not found

~ # e2fsck -p

Usage: e2fsck [-panyrcdfvtDFV] [-b superblock] [-B blocksize]

[-I inode_buffer_blocks] [-P process_inode_size]

[-l|-L bad_blocks_file] [-C fd] [-j external_journal]

[-E extended-options] device

Emergency help:

-p Automatic repair (no questions)

-n Make no changes to the filesystem

-y Assume "yes" to all questions

-c Check for bad blocks and add them to the badblock list

-f Force checking even if filesystem is marked clean

-v Be verbose

-b superblock Use alternative superblock

-B blocksize Force blocksize when looking for superblock

-j external_journal Set location of the external journal

-l bad_blocks_file Add to badblocks list

-L bad_blocks_file Set badblocks list

~ # c

/sbin/sh: c: not found

~ # e2fsckc

/sbin/sh: e2fsckc: not found

~ # e2fsck c

e2fsck 1.41.14 (22-Dec-2010)

e2fsck: No such file or directory while trying to open c

Possibly non-existent device?

~ # e2fsck -c

Usage: e2fsck [-panyrcdfvtDFV] [-b superblock] [-B blocksize]

[-I inode_buffer_blocks] [-P process_inode_size]

[-l|-L bad_blocks_file] [-C fd] [-j external_journal]

[-E extended-options] device

Emergency help:

-p Automatic repair (no questions)

-n Make no changes to the filesystem

-y Assume "yes" to all questions

-c Check for bad blocks and add them to the badblock list

-f Force checking even if filesystem is marked clean

-v Be verbose

-b superblock Use alternative superblock

-B blocksize Force blocksize when looking for superblock

-j external_journal Set location of the external journal

-l bad_blocks_file Add to badblocks list

-L bad_blocks_file Set badblocks list

~ # e2fsck -y /dev/block/platform/msm_sdcc.1/by-name/persist

e2fsck 1.41.14 (22-Dec-2010)

/dev/block/platform/msm_sdcc.1/by-name/persist: recovering journal

Superblock needs_recovery flag is clear, but journal has data.

Run journal anyway? yes

e2fsck: unable to set superblock flags on /dev/block/platform/msm_sdcc.1/by-name

/persist

~ # cat /proc/partitions

major minor #blocks name

179 0 15388672 mmcblk0

179 1 65536 mmcblk0p1

179 2 1024 mmcblk0p2

179 3 512 mmcblk0p3

179 4 512 mmcblk0p4

179 5 512 mmcblk0p5

179 6 512 mmcblk0p6

179 7 2048 mmcblk0p7

179 8 1024 mmcblk0p8

179 9 512 mmcblk0p9

179 10 512 mmcblk0p10

179 11 512 mmcblk0p11

179 12 3072 mmcblk0p12

179 13 3072 mmcblk0p13

179 14 512 mmcblk0p14

179 15 16384 mmcblk0p15

179 16 16384 mmcblk0p16

179 17 3072 mmcblk0p17

179 18 22528 mmcblk0p18

179 19 22528 mmcblk0p19

179 20 22528 mmcblk0p20

179 21 3072 mmcblk0p21

179 22 512 mmcblk0p22

179 23 512 mmcblk0p23

179 24 512 mmcblk0p24

179 25 1048576 mmcblk0p25

179 26 30720 mmcblk0p26

179 27 716800 mmcblk0p27

179 28 13404138 mmcblk0p28

179 29 5 mmcblk0p29

179 32 4096 mmcblk0rpmb

~ # df

Filesystem 1K-blocks Used Available Use% Mounted on

tmpfs 949780 128 949652 0% /dev

tmpfs 949780 0 949780 0% /storage

tmpfs 949780 0 949780 0% /mnt/secure

tmpfs 949780 0 949780 0% /mnt/fuse

/dev/block/platform/msm_sdcc.1/by-name/system

1033516 1020920 12596 99% /system

~ #

C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot dev

ices

034dd8de828dd06c fastboot

C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot for

mat system

Creating filesystem with parameters:

Size: 1073741824

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 4096

Label:

Blocks: 262144

Block groups: 8

Reserved block group size: 63

Created filesystem with 11/65536 inodes and 8536/262144 blocks

target reported max download size of 1073741824 bytes

erasing 'system'...

OKAY [ 0.187s]

sending 'system' (18800 KB)...

OKAY [ 0.813s]

writing 'system'...

FAILED (remote: flash write failure)

finished. total time: 1.188s

C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot for

mat cache

Creating filesystem with parameters:

Size: 734003200

Block size: 4096

Blocks per group: 32768

Inodes per group: 7472

Inode size: 256

Journal blocks: 2800

Label:

Blocks: 179200

Block groups: 6

Reserved block group size: 47

Created filesystem with 11/44832 inodes and 5813/179200 blocks

target reported max download size of 1073741824 bytes

erasing 'cache'...

FAILED (remote: failed to erase partition)

finished. total time: 0.219s

C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data>fastboot for

mat bootloader

Formatting is not supported for file system with type ''.

_______________________________________________________