Skip to content

Android app call TA through CA lib : permission denied #31

@DamienLieupart

Description

@DamienLieupart

I vchong,

I work on Hikey 620 with AOSP 8.1. I try to call TA hello world from android application but i have permission denied.

I have created hello_world library (.so) with JNI overlay and method implemented same code as helloworld CA.
In my android app I include JNI library and call this method.

I try to put libopee_hello_world.so generated : in android application, in system/lib64 near libteec.so and also in /data.

I have checked previous link you mentioned OP-TEE/optee_os#903.
I try to set selinux to permissive but same problem.

Could you please give me better way to call TA from android application and which rights, rules i have to changed in android.
I work on demonstrator, so modified root privilege or other is not important.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions