sorry, but i cannot see anything else then a ext4 image
i have merged the tables you provided (see file attached). calculated block size on flash partition is = 1024, sector size on ext4 partition is = 512
it is the same partition size in all 3 tables (mmcblk0p26 = userdata). this matches with what 7zip shows, if you already have concatenated this multipart files to single one.
/proc/partitions
12082688 x 1024 = 12372672512
/proc/emmc
0x0170bc00 = 24165376
24165376 x 512 = 12372672512
/proc/partinfo
0x00000002e1780000 = 12372672512
however, total file size is 12372675584 so there is a diff of 3072 bytes.
this could mean 3 more blocks (or 6 more sectors) left.
guess it is a raw flash file, it must be much bigger with minimum spare 8 bytes per sector (just for example, for real flash layout you have to extract the CID from
/sys/block/mmcblk0/device/cid and searching for nand specified datasheet):
partition size: 12082688 (blocks)
block size: 1024 b
spare size: 8 / 512
calculated oob: 16 ( = 1024 / 512 x 8)
that mean 16 additional bytes per block 1024 + 16 = 1040 bytes
12082688 * 1040 = 12565995520 bytes / that means in theoretical 184.4 MB more data is needed (in real it is even much more, modern nand chips have up to 4 MB block size).
regarding this, it makes no sense starting with "nandsim" or "mtdram" to simulate MTD device and then try to mount on it. even not if file is bigger (or partition size smaller) unless we don't have the flash layout (maybe there is some stuff in flashinfo partition, but i really dont know). . .
so, guess the first 512 bytes and last 2560 bytes are just some kind of checksum, like in other cases too (it is for security reason you cannot restore userdata even to similar phone modell).
you can try mount with offset to skip first sector (hopefully the last 5 sectors will be ignored).
if it still contains no data run cgsecurity's "testdisk" to show a list of backup superblocks.
Code:
sudo testdisk userdata_20141231_184536.backup
in testdisk menu navigate to superblock locating. if not showing a list, search for partitions first. maybe this only works with userdata.img (result of dd, see below) because 512 byte offset will confuse testdisk
navigate to
-> [None] Non partitioned media
-> [Advanced] Filesystem Utils
-> [Type] set partition type >ext4
-> [Superblock] locate superblocks
Code:
Disk userdata_20141231_184536.backup - 12 GB / 11 GiB - CHS 1505 255 63
Partition Start End Size in sectors
C H S C H S
ext4 0 0 1 1504 57 25 24165376
superblock 0, blocksize=4096 []
superblock 32768, blocksize=4096 []
superblock 98304, blocksize=4096 []
superblock 163840, blocksize=4096 []
superblock 229376, blocksize=4096 []
superblock 294912, blocksize=4096 []
To repair the filesystem using alternate superblock, run
fsck.ext4 -p -b superblock -B blocksize device
you can use mount with option -o sb=<any backup superblock>
Code:
sudo mount -t ext4 -o loop,ro,noexec,noload,offset=512,sb=0 userdata_20141231_184536.backup ./data
sudo mount -t ext4 -o loop,ro,noexec,noload,offset=512,sb=32768 userdata_20141231_184536.backup ./data
sudo mount -t ext4 -o loop,ro,noexec,noload,offset=512,sb=98304 userdata_20141231_184536.backup ./data
sudo mount -t ext4 -o loop,ro,noexec,noload,offset=512,sb=163840 userdata_20141231_184536.backup ./data
sudo mount -t ext4 -o loop,ro,noexec,noload,offset=512,sb=229376 userdata_20141231_184536.backup ./data
sudo mount -t ext4 -o loop,ro,noexec,noload,offset=512,sb=294912 userdata_20141231_184536.backup ./data
if mount with offset fail, use dd to delete first 512 bytes and last 2560 bytes, then mount with no offset. the noexec,noload option prevents loading/updating the ext4 file journal/last access time (useful in case journal is corrupt)
Code:
dd if=userdata_20141231_184536.backup of=userdata.img bs=512 count=24165376 skip=1
sudo mount -t ext4 -o loop,ro,noexec,noload,sb=32768 userdata.img ./data
in case partition was maybe corrupt before you created backup, of course you can run some forensic tools on already mounted image (thats what Sleuthkit do).
thats all i can say at the moment, sorry.
(table is 17 columns for best view save file to disk)