My company has their own Android tablets created by an OEM partner and we are using custom ROM based on Android 11. The stakeholders have a strange requirement now. They want to allow only our applications (identified by bundle id) to have access to printers and bar code scanners connected to the peripheral ports. Users are allowed to install any application of their choice from the Playstore and they will function normally but when it comes to printing or scanning via peripheral ports, it shouldn't work.

We have full control over the AOSP build and can do whatever we want to ensure above requirements are met. I have no clue where to start and appreciate some help.

  • How about MDM software
    – alecxs
    Mar 22, 2022 at 15:50

1 Answer 1


Remove the drivers for any OTHER peripherals from the linux kernel used in your AOSP build..... I don't know how is it done etc refer to the linux documentation as well as AOSP documentation to figure it out

  • I dont think that will work. Drivers are needed for our own apps to perform printing and scanning.
    – Jugs
    Mar 21, 2022 at 6:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .