[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] nkk71:
Honestly guys, no logs, no nothing :rolleyes::(:mad:

I have no idea why I just did that, because it's an epic waste of time, but since I'm not wasting yours I guess it's ok.

1) Screenshot of a format data on an encrypted device:

I:operation_start: 'Format'
I:sending message to remove 65539
I:[MTP] mtppipe remove storage 65539
I:Message sent, remove storage ID: 65539
1+0 records in
1+0 records out
16384 bytes (16.0KB) copied, 0.002411 seconds, 6.5MB/s
I:dd of='/dev/block/bootdevice/by-name/extra' if=/dev/zero bs=16384 count=1 process ended with RC=0
Formatting Data using make_ext4fs...
Creating filesystem with parameters:
Size: 122985381888
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 30025728
Block groups: 917
Reserved block group size: 1024
Created filesystem with 11/7512064 inodes and 519604/30025728 blocks
warning: wipe_block_device: Wipe via secure discard failed, used discard instead

Failed to mount '/data' (Device or resource busy)
I:Actual block device: '/dev/block/sda7', current file system: 'ext4'
I:Unable to mount '/data'
I:Actual block device: '/dev/block/sda7', current file system: 'ext4'
Failed to mount '/data' (Device or resource busy)
I:Actual block device: '/dev/block/sda7', current file system: 'ext4'
Unable to recreate /data/media folder.
I:Unable to mount '/data'
I:Actual block device: '/dev/block/sda7', current file system: 'ext4'
You may need to reboot recovery to be able to use /data again.
Updating partition details...
Failed to mount '/data' (Device or resource busy)
I:Actual block device: '/dev/block/sda7', current file system: 'ext4'
I:Unable to mount '/usb_otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'action_complete'
[B][COLOR="Blue"]I:operation_end - status=0[/COLOR][/B]

2) Screenshot of a format data on an unencrypted device:

I:operation_start: 'Format'
I:sending message to remove 65539
I:[MTP] mtppipe remove storage 65539
I:Message sent, remove storage ID: 65539
1+0 records in
1+0 records out
16384 bytes (16.0KB) copied, 0.001552 seconds, 10.1MB/s
I:dd of='/dev/block/bootdevice/by-name/extra' if=/dev/zero bs=16384 count=1 process ended with RC=0
Formatting Data using make_ext4fs...
Creating filesystem with parameters:
Size: 122985381888
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 30025728
Block groups: 917
Reserved block group size: 1024
Created filesystem with 11/7512064 inodes and 519604/30025728 blocks
warning: wipe_block_device: Wipe via secure discard failed, used discard instead

I:sending message to add 65539 '/data/media' 'Internal Storage'
I:[MTP] mtppipe add storage 65539 '/data/media'
I:[MTP] MtpStorage id: 65539 path: /data/media
I:Message sent, add storage ID: 65539 '/data/media'
I:Recreating /data/media folder.
E:[MTP] error opening '/data/media' -- error: No such file or directory
I:sending message to remove 65539
I:[MTP] mtppipe remove storage 65539
I:Message sent, remove storage ID: 65539
I:mount -o bind '/data/media' '/sdcard' process ended with RC=0
I:sending message to add 65539 '/data/media' 'Internal Storage'
I:[MTP] mtppipe add storage 65539 '/data/media'
I:[MTP] MtpStorage id: 65539 path: /data/media
I:Message sent, add storage ID: 65539 '/data/media'
You may need to reboot recovery to be able to use /data again.
Updating partition details...
I:Data backup size is 0MB, free: 115258MB.
I:Unable to mount '/usb_otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'action_complete'
[B][COLOR="blue"]I:operation_end - status=0[/COLOR][/B]

3) Reboot to recovery (or until that's fixed: reboot to bootloader then back to recovery), console screenshot:

=> Processing recovery.fstab
I:Reading /etc/recovery.fstab
I:Processing '/system'
I:Processing '/system_image'
I:Processing '/cache'
I:Processing '/data'
I:Processing '/boot'
I:Processing '/recovery'
I:Processing '/misc'
I:Processing '/devlog'
I:Created '/devlog' folder.
I:Processing '/carrier'
I:Created '/carrier' folder.
I:Processing '/cota'
I:Created '/cota' folder.
I:Processing '/preload'
I:Created '/preload' folder.
I:Processing '/persist'
I:Created '/persist' folder.
I:Processing '/external_sd'
I:Created '/external_sd' folder.
I:Processing '/usb_otg'
I:Created '/usb_otg' folder.
I:Done processing fstab files
I:Using automatic handling for /data/media emulated storage device.
I:Setting up '/data' as data/media emulated storage.
I:Backup folder set to '/data/media/TWRP/BACKUPS/FA7771802118'
I:Settings storage is '/data/media'
I:Decrypt adopted storage starting
I:PageManager::LoadFileToBuffer loading filename: '/data/system/storage.xml' directly
I:No /data/system/storage.xml for adopted storage
Updating partition details...
I:Data backup size is 0MB, free: 115258MB.
I:Unable to mount '/usb_otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Unmounting main partitions...

Partition Logs:
/data | /dev/block/sda7 | Size: 115318MB Used: 0MB Free: 115258MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/sda7
Crypto_Key_Location: /dev/block/bootdevice/by-name/extra
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files
MTP_Storage_ID: 65539

4) As you can see in screenshots 1 and 2: It does say "Successful":

PS: I'm only pasting the *relevant* sections of the recovery.log, I kindly remind everyone to upload the whole thing, if they actually do :p

Now whether you consider the warnings (yes they are colored in red, which is also why it says:

You may need to reboot recovery to be able to use /data again.

but are rather warnings than "format" errors, and I'm not going to bother with the details of why those are logged as such since nobody cares anyway)

One last thing:

I've just spent an hour or so getting you screenshots and logs, trying to explain the differences between warnings and errors, trying to show you where it says "Successful".

So I will not be replying to anymore posts that say "it doesn't work" without a recovery log and a detailed but readable explanation, most of these have been covered time and again. (and this post again :(:rolleyes::mad:)

PPS: One final thing to add: This is also one of the major contributing factors why [MENTION=1162986]Captain_Throwback[/MENTION] (Retired Forum Moderator, Recognised Developer, Recognized Contributor), has decided to retire from actively posting on xda, and "retire" instead, though is contributions, seen or unseen, are still there.

So anyone reading this, should seriously asks themselves why such a valued, respected, and contributing member decided to withdraw.