The examples in the SDK folder were working for me until I tried to use HAP_power_set() to set performance mode.
Now whenever the device is conected I got these 2 errors constantly.
E/adsprpc: remote.c:73:rpcmem alloc stubbed routine - Return failure
E/adsprpc: remote.c:63:Invoking stubbed routine - Return failure
The first error happens when rpcmem_alloc() is called and the returned error code is 0x1.
I tried rebooting/resetting the device and reinstalling the SDK but none of them works. It's also not the libcdsprpc.so problem mentioned in the documentation. I analyzed the apk and it doesn't contain the libcdsprpc.so shared object. Does anyone know how to resolve this?