changes to liblog for htc