Go into recovery and choose Shell, mount your FS Code: mount /dev/mmcblk0p28 /mnt and edit your file Code: vi /mnt/path_to_file
mount /dev/mmcblk0p28 /mnt
vi /mnt/path_to_file