Skip to content

Instantly share code, notes, and snippets.

View freedomtan's full-sized avatar

Koan-Sin Tan freedomtan

View GitHub Profile
@freedomtan
freedomtan / thermal-sensors.md
Last active April 3, 2021 09:21
Thermal Sensors in iOS Devices

get thermal sensors information on iOS devices

Sensors

As far as I can tell, there are two kinds of thermal sensors: "real" and synthetic ones. To get thermal sensor information, on iPhone 6s, we'll get something similar to the following

  iPhone:~ root# cycript  -p UserEventAgent
  
  cy# hs = [HidSensors sharedInstance]
  #"<HidSensors: 0x14de04210>"