Hi,
I am new to this group.
I have a basic question.
To run the sample application like calculator, should the device be rooted?
From the documentation Qualcomm/Hexagon_SDK/3.2/docs/calculator_android.html:
adb shell mkdir -p /vendor/bin/ adb push android_Debug/ship/calculator /vendor/bin/ adb shell chmod 777 /vendor/bin/calculator adb push android_Debug/ship/libcalculator.so /system/lib/
I think without root access, the files cannot be pushed to /vendor/bin/ or /system/lib.
Sometimes even with the root access those files cannot be pushed.
I tried to specify /data/local/tmp path. but when I run calculator executable I gor below error:
Did you ever get an answer or solve your problem?
To be able to link the shared object you must preload it yourself. to do so use the following command:
LD_PRELOAD=/path/to/libcalculator.so ./executable <option1> <option2> ....
This wont fix all your problems though, you must have signed the shared object, or have a debug signature. And I don't really know if it is reaaly compulsory to push files to those directories. As I understand it it isnt compulsory, But it could lead into other problems.