[Sprint HTC One (M7)] wpetestraw:
Thanks [MENTION=2605798]nkk71[/MENTION] for posting these partition IDs. I was able to format the partitions using the mkfs.ext4 file you uploaded.

Here are the results of the formatting

:

C:\Users\Akuma\Desktop\Root>adb shell

~ # mount
mount

rootfs on / type rootfs (rw,seclabel)
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)

~ # exit
exit

C:\Users\Akuma\Desktop\Root>adb push mkfs.ext4 /tmp/
3241 KB/s (3537143 bytes in 1.065s)

C:\Users\Akuma\Desktop\Root>adb shell
~ # chmod 777 /tmp/mkfs.ext4
chmod 777 /tmp/mkfs.ext4

~ # /tmp/mkfs.ext4 -b 4096 -O ^huge_file,^dir_nlink,^ext_attr,^resize_inode,^ext
ra_isize -m 0 /dev/block/mmcblk0p37
/tmp/mkfs.ext4 -b 4096 -O ^huge_file,^dir_nlink,^ext_attr,^resize_inode,^ext
ra_isize -m 0 /dev/block/mmcblk0p37

mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
118800 inodes, 475135 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
15 block groups
32768 blocks per group, 32768 fragments per group
7920 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 38 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.

~ # /tmp/mkfs.ext4 -b 4096 -O ^huge_file,^dir_nlink,^ext_attr,^resize_inode,^ext
ra_isize -m 0 /dev/block/mmcblk0p38
/tmp/mkfs.ext4 -b 4096 -O ^huge_file,^dir_nlink,^ext_attr,^resize_inode,^ext
ra_isize -m 0 /dev/block/mmcblk0p38

mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
40960 inodes, 163839 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
5 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304

Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 36 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.

~ # /tmp/mkfs.ext4 -b 4096 -O ^huge_file,^dir_nlink,^ext_attr,^resize_inode,^ext
ra_isize -m 0 /dev/block/mmcblk0p39
/tmp/mkfs.ext4 -b 4096 -O ^huge_file,^dir_nlink,^ext_attr,^resize_inode,^ext
ra_isize -m 0 /dev/block/mmcblk0p39

mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
1703936 inodes, 6815744 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
208 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,

4096000

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 26 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.

~ # mount /data
mount /data

~ # mkdir -p /data/media/0
mkdir -p /data/media/0

~ # exit
exit

C:\Users\Akuma\Desktop\Root>fastboot flash recovery recovery.img
sending 'recovery' (9136 KB)...
OKAY [ 1.143s]
writing 'recovery'...
OKAY [ 0.700s]
finished. total time: 1.843s

C:\Users\Akuma\Desktop\Root>fastboot erase cache
erasing 'cache'...
OKAY [ 0.045s]
finished. total time: 0.045s

C:\Users\Akuma\Desktop\Root>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.032s]
finished. total time: 0.032s

C:\Users\Akuma\Desktop\Root>adb devices
List of devices attached
FA35GS914427 recovery

C:\Users\Akuma\Desktop\Root>adb push ARHD_31.6.zip /data/media/0/
failed to copy 'ARHD_31.6.zip' to '/data/media/0/': Is a directory

C:\Users\Akuma\Desktop\Root>adb devices
List of devices attached
FA35GS914427 sideload

C:\Users\Akuma\Desktop\Root>adb sideload ARHD_31.6.zip
sending: 'ARHD_31.6.zip' 100%

I'm not sure what happened with the adb ROM push, but I was able to sideload it into CWM and flash the ARHD 31.6 ROM. The installation of the ROM seemed successful, but when rebooting the system, the phone still hangs on bootloop.

Since the partition IDs are different for m7_u/ul and Sprint, does this also mean that the ext4 file would be different as well?