Heyyo, I've been trying to figure out a good way to tell which drivers are exactly needed for an android device in order to build a kernel and drivers as slim as possible.
I'm working with a LeEco Le Max 2 (x829) with 4GB of RAM and 64GB storage.
I've used Device Info HW app from the Play store to determine a few things like:
Accelerometer BMI160
Als/ps PA22A
Magnetometer AK09915
Gyroscope BMI160
Charger USE PMIC
Sound msm8996tashamtp
SCSI THGLF2G9J8LBATRH
Camera uses: imx230, imx230_lg, img230_sunny, ov8865, ov8865_ofilm
qpnp_pon (/devices/virtual/input/input0)
HDMI CEC User or Deck Control (/devices/virtual/input/input1)
qbt1000_key_input (/devices/virtual/input/input2)
synaptics_dsx (/devices/soc/75ba00.i2c/i2c-12/12-004b/input/input3)
hbtp_vm (/devices/virtual/input/input4)
gpio-keys (/devices/soc/soc:gpio_keys/input/input5)
msm8996-tasha-mtp-snd-card Heatset Jack (/devices/soc/soc:sound-9335/sound/card0/input6)
msm8996-tasha-mtp-snd-card Button Jack (/devices/soc/soc:sound-9335/sound/card0/input7)
But is there another recommended app or way to tell what my device is using and what drivers are required?