Skip to content

Android Platform : early mount devices and expose i2c devices to android apps

sharmasadhna edited this page Jun 21, 2020 · 1 revision

how_to_enable_early_mount_for_devices: It describes, how device tree helps to early mount in Android 9 and how we can mount devices early, w/o using device tree as well. https://www.reddit.com/r/LineageOS/comments/9zizqz/how_to_enable_early_mount_for_devices_when_their/

how to expose i2c devices for applications in Android

  1. entry for any /dev/* type is required in ueventd.rc, with user and group permissions
  2. check if your application can access this device? If not your application might need to add permissions for that device type, check Android things ex for adding GPIO and I2c device permissions