[One (M7) Q&A, Help & Troubleshooting] skyliner129:
The command "ls /dev/block" gives

loop0 mmcblk0p1 mmcblk0p18 mmcblk0p26 mmcblk0p34 ram1 ram4

loop1 mmcblk0p10 mmcblk0p19 mmcblk0p27 mmcblk0p4 ram10 ram5

loop2 mmcblk0p11 mmcblk0p2 mmcblk0p28 mmcblk0p5 ram11 ram6

loop3 mmcblk0p12 mmcblk0p20 mmcblk0p29 mmcblk0p6 ram12 ram7

loop4 mmcblk0p13 mmcblk0p21 mmcblk0p3 mmcblk0p7 ram13 ram8

loop5 mmcblk0p14 mmcblk0p22 mmcblk0p30 mmcblk0p8 ram14 ram9

loop6 mmcblk0p15 mmcblk0p23 mmcblk0p31 mmcblk0p9 ram15

loop7 mmcblk0p16 mmcblk0p24 mmcblk0p32 platform ram2

mmcblk0 mmcblk0p17 mmcblk0p25 mmcblk0p33 ram0 ram3

The partitions mmcblk0p35(system), mmcblk0p36(cache) and mmcblk0p37(userdata) are missing from this directory.

The command "cat /proc/partitions" gives

cat /proc/partitions

major minor #blocks name

179 0 30539776 mmcblk0

179 1 128 mmcblk0p1

179 2 256 mmcblk0p2

179 3 130671 mmcblk0p3

179 4 1 mmcblk0p4

179 5 16 mmcblk0p5

179 6 256 mmcblk0p6

179 7 15577 mmcblk0p7

179 8 256 mmcblk0p8

179 9 1024 mmcblk0p9

179 10 256 mmcblk0p10

179 11 2048 mmcblk0p11

179 12 2080 mmcblk0p12

179 13 5120 mmcblk0p13

179 14 1024 mmcblk0p14

179 15 1024 mmcblk0p15

179 16 61441 mmcblk0p16

179 17 8190 mmcblk0p17

179 18 32768 mmcblk0p18

179 19 1022 mmcblk0p19

179 20 4096 mmcblk0p20

179 21 4096 mmcblk0p21

179 22 20480 mmcblk0p22

179 23 4 mmcblk0p23

179 24 256 mmcblk0p24

179 25 16 mmcblk0p25

179 26 1280 mmcblk0p26

179 27 64 mmcblk0p27

179 28 1024 mmcblk0p28

179 29 98727 mmcblk0p29

179 30 54270 mmcblk0p30

179 31 76800 mmcblk0p31

179 32 98303 mmcblk0p32

179 33 16384 mmcblk0p33

179 34 16383 mmcblk0p34

This indicated that mmcblk0p35(system), mmcblk0p36(cache) and mmcblk0p37(userdata) are not mounted at all

Then I copied mmcblk0p35(system), mmcblk0p36(cache) and mmcblk0p37(userdata) from another device.

Then I tried to push mmcblk0p35 using

adb push mmcblk0p35 /dev/block/

But after about 5 mins i get 'protocol failure' meaning insufficient space. But mmcblk0p36(cache) copied successfully

The command "e2fsck -vfy /dev/block/mmcblk0p36" in "adb shell" gives

e2fsck 1.41.14 (22-Dec-2010)

Pass 1: Checking inodes, blocks, and sizes

Pass 2: Checking directory structure

Pass 3: Checking directory connectivity

Pass 4: Checking reference counts

Pass 5: Checking group summary information

16 inodes used (0.04%)

1 non-contiguous file (6.3%)

0 non-contiguous directories (0.0%)

# of inodes with ind/dind/tind blocks: 0/1/0

Extent depth histogram: 5

9472 blocks used (5.78%)

0 bad blocks

1 large file

2 regular files

5 directories

0 character device files

0 block device files

0 fifos

0 links

0 symbolic links (0 fast symbolic links)

0 sockets

--------

7 filese2fsck 1.41.14 (22-Dec-2010)

Pass 1: Checking inodes, blocks, and sizes

Pass 2: Checking directory structure

Pass 3: Checking directory connectivity

Pass 4: Checking reference counts

Pass 5: Checking group summary information

16 inodes used (0.04%)

1 non-contiguous file (6.3%)

0 non-contiguous directories (0.0%)

# of inodes with ind/dind/tind blocks: 0/1/0

Extent depth histogram: 5

9472 blocks used (5.78%)

0 bad blocks

1 large file

2 regular files

5 directories

0 character device files

0 block device files

0 fifos

0 links

0 symbolic links (0 fast symbolic links)

0 sockets

--------

7 files

i then typed "mount /dev/mmcblk0p36 /cache"

which mounted cache suuccessfully but it mounts it under loop0.

Entering the command "cat /proc/partitions" again gives

major minor #blocks name

7 0 655359 loop0

179 0 30539776 mmcblk0

179 1 128 mmcblk0p1

179 2 256 mmcblk0p2

179 3 130671 mmcblk0p3

179 4 1 mmcblk0p4

179 5 16 mmcblk0p5

179 6 256 mmcblk0p6

179 7 15577 mmcblk0p7

179 8 256 mmcblk0p8

179 9 1024 mmcblk0p9

179 10 256 mmcblk0p10

179 11 2048 mmcblk0p11

179 12 2080 mmcblk0p12

179 13 5120 mmcblk0p13

179 14 1024 mmcblk0p14

179 15 1024 mmcblk0p15

179 16 61441 mmcblk0p16

179 17 8190 mmcblk0p17

179 18 32768 mmcblk0p18

179 19 1022 mmcblk0p19

179 20 4096 mmcblk0p20

179 21 4096 mmcblk0p21

179 22 20480 mmcblk0p22

179 23 4 mmcblk0p23

179 24 256 mmcblk0p24

179 25 16 mmcblk0p25

179 26 1280 mmcblk0p26

179 27 64 mmcblk0p27

179 28 1024 mmcblk0p28

179 29 98727 mmcblk0p29

179 30 54270 mmcblk0p30

179 31 76800 mmcblk0p31

179 32 98303 mmcblk0p32

179 33 16384 mmcblk0p33

179 34 16383 mmcblk0p34

This indicates that cache is mounted under loop0

Cache is now mounted in recovery but when i reboot recovery, its all gone again and when i repeat the steps , i get the same result.when i try to change the mountpoint using the command

"mount -o move /dev/block/mmcblk0p36 /cache" , I get the result

mount: mounting /cache on /dev/block/mmcblk0p36 failed: Invalid argument

I HAVE NO IDEA WHAT I'M DOING WRONG. AND I ASO NEED HELP ON HOW TO COPY THE "mmcblk0p36"(userdata) WHOSE SIZE IS ABOUT 25GB TO /dev/block