Search code examples
androidandroid-sourcehexagon-dsp

How do I give Android apps access to the Hexagon DSP


I'm trying to run some Android apps of mine on the Hexagon DSP on a Google Pixel. However, access to the DSP is being restricted. Using the AOSP source is it possible to modify the policy of whether Android programs can run on the Hexagon DSP? Using, e.g., SEL policies? The Android docs state that some OEMs (in particular for the Pixel) restrict access to the Hexagon DSP. Is this something decided in the proprietary binaries or in some configurations in AOSP?


Solution

  • you should try this https://github.com/geohot/freethedsp if your still interested. It should let you bypass the signature checks, Definitely read the source for more info, you'll have to edit the addresses in the code for the patch to work on your specific phone, but it should work. also thank you to geohot!

    forgot to mention, i think i read somewhere that selinux policys on the newer versions of android only let certain apps access dsp remote procedure calls but you can fix that if your root or using AOSP.