Hi, everyone. I am having a problem here and hope someone can give an advise.
I got a arm32 binary running on my nexus 6p with android 8.1. I crosscompiled the qemu and use the user mode to run that binary on my nexus 6p. And I found out that there are some ioctls that qemu doesn't support even with the latest version. And for my binary, it opens /dev/jpeg2 and use ioctls. Actually in my device, there are jpeg1-jpeg4 under /dev. So if I want to add those ioctls for qemu, I have to find what ioctls /dev/jpeg2 provides. And the thing is that I can't find that, it seems it's provided by qualcomm and don't have the source code.
One thing I've found is this one:
root/drivers/media/video/msm/jpeg_10/msm_jpeg_sync.c (Seems new users can't put url)
It seems right, but I tried to add those ioctls and failed. And this code has no /dev/jpeg2. I have no idea what should I do. Can anyone give me some suggestions?