[Fire TV Original Android Development] navin23:
I disabled the lines and it re-flashed the box, but still getting the same error "Failed to mount '/data' (No such device)"

~ # twrp wipe data

Formatting Cache using make_ext4fs...

Formatting Data using make_ext4fs...

Failed to mount '/data' (No such device)

Failed to mount '/data' (No such device)

Unable to recreate /data/media folder.

fastboot format:ext4 userdata

Warning: userdata type is unknown, but ext4 was requested for formatting.

Couldn't parse erase-block-size '0x'.

Couldn't parse logical-block-size '0x'.

mke2fs 1.44.1 (24-Mar-2018)

/tmp/TemporaryFile-7Yx1dn: Unimplemented ext2 library function while setting up superblock

/usr/lib/android-sdk/platform-tools/mke2fs failed with status 1

mke2fs failed: 1

error: Cannot generate image for userdata

fastboot format:f2fs data

Warning: data type is , but f2fs was requested for formatting.

Couldn't parse partition size '0x'

~ # id

uid=0(root) gid=0(root) groups=1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:su:s0

~ # mount /data

mount: mounting /dev/block/mmcblk0p17 on /data failed: No such device

~ # df

Filesystem 1K-blocks Used Available Use% Mounted on

tmpfs 778052 16 778036 0% /dev

tmpfs 778052 1072 776980 0% /tmp

/dev/block/mmcblk1p1 15539712 3848480 11691232 25% /external_sd

/dev/block/mmcblk0p14

247872 4208 238544 2% /cache

~ # fdisk /dev/block/mmcblk0p17

Device contains neither a valid DOS partition table, nor Sun, SGI, OSF or GPT disklabel

Building a new DOS disklabel. Changes will remain in memory only,

until you decide to write them. After that the previous content

won't be recoverable.

The number of cylinders for this disk is set to 187114.

There is nothing wrong with that, but this is larger than 1024,

and could in certain setups cause problems with:

1) software that runs at boot time (e.g., old versions of LILO)

2) booting and partitioning software from other OSs

(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/block/mmcblk0p17: 6131 MB, 6131383808 bytes

4 heads, 16 sectors/track, 187114 cylinders

Units = cylinders of 64 * 512 = 32768 bytes

Device Boot Start End Blocks Id System

# fdisk /dev/block/mmcblk0

Found valid GPT with protective MBR; using GPT

Command (m for help): p

Disk /dev/block/mmcblk0: 15269888 sectors, 3360M

Logical sector size: 512

Disk identifier (GUID): c2f6c11f-12a6-486d-8e97-4fd979bbe292

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 15269854

Number Start (sector) End (sector) Size Code Name

1 1024 1277 127K 0700 PRO_INFO

2 2048 12287 5120K 0700 NVRAM

3 12288 22527 5120K 0700 TEE1

4 22528 32767 5120K 0700 TEE2

5 32768 34815 1024K 0700 lk

6 34816 86015 25.0M 0700 boot_x

7 86016 137215 25.0M 0700 recovery_x

8 137216 139263 1024K 0700 KB

9 139264 141311 1024K 0700 DKB

10 141312 142335 512K 0700 MISC

11 142336 158719 8192K 0700 LOGO

12 158720 182015 11.3M 0700 EXPDB

13 182016 2659615 1209M 0700 system

14 2659616 3171615 250M 0700 cache

15 3171616 3233055 30.0M 0700 boot

16 3233056 3294495 30.0M 0700 recovery

17 3294496 15269854 5847M 0700 userdata