Default [Q] advanced reboot for htc one xl 4.2.2 sense 5

so I would like to add the advanced reboot feature to my ROM. but I dont know what apk to edit and what parts need to be edited. the ROM is for the HTC one XL. The rom is a sense 5 android 4.2.2 ROM. how can I do this.
Curent Devices

Bootloader unlocked
S Off
HBOOT 2.18
PhoenixROM 1.0.5 but varies
Status: Secondary device

Sprint HTC ONE
Bootloader unlocked
S Off
HBOOT 1.56
Viper 6.2 Sense 6
Status: Go to device

Asus TF300T
xubuntu 13.04
Cromi 5.4.2

Past devices
AT&T Samsung Galaxy Note
Status: Permanently retired.