[SailfishDevel] Looking for IOCTL commands to probe /etc/diag
Anton Thomasson
antonthomasson at gmail.com
Mon Aug 21 19:02:28 UTC 2017
Hi Laurent,
I played around with a similar thing quite a while back, being snoopsnitch
and osmo-qcdiag.
For compilation, installed gcc on the phone itself, since as you say only
simple C code is needed.
There seemed to be problems with /dev/diag on my original Jolla that i
never got past, however i seem to recall i got further on the Jolla C.
What got me stuck was the ridiculous amount of dependencies for
osmo-qcdiag, hopefully your approach is easier to pull off.
Not that i don't mind sharing what i did and what i found, but i barely
remember to be perfectly honest, so direct questions via #jollamobile on
Freenode probably works better.
I'll probably not be there to often, so if you don't catch me there i'll
try to help here too.
Br,
Anton (attah at TJC, Freenode, etc.)
2017-08-21 14:12 GMT+02:00 Schumacher L. <laurent.schumacher at unamur.be>:
> Dear Sailors,
>
> This is a newbie post. So far, I have not been able to find the
> information I have been looking for. Feel free to point me to relevant
> sources, should I have overlooked them.
>
> I am interested in reading the Qualcomm chipset messages going through
> /etc/diag according to the developers of Mobile Insight (
> http://www.mobileinsight.net/). In a nutshell, I aim at porting
> diag_revealer (https://github.com/mobile-insight/mobileinsight-mobile/
> blob/master/diag_revealer/qcom/jni/diag_revealer.c) to SFOS.
>
> Here are my questions:
>
> 1. Is the Platform SDK the right tool to investigate such low-level
> hardware signalling? GCC compilation of a small piece of code went
> smoothly, but at runtime I get "open diag dev: No such file or directory"
> 2. Is there a SFOS-specific sheet of IOCTL commands for diagnostic
> post? Are the Android's IOCTL commands applicable to SFOS as well?
>
> Thanks in advance for your tips,
> LS
> --
>
> Laurent SCHUMACHER
> Professeur
> Faculté d'Informatique
>
> T. +32 (0)81 724 980
> F. +32 (0)81 724 967
> laurent.schumacher at ieee.org
> http://www.unamur.be/universite/personnes/page_view/01005249/
> http://be.linkedin.com/pub/laurent-schumacher/0/32b/7b7
>
> Université de Namur ASBL
> Rue de Bruxelles 61 - 5000 Namur
>
> Let’s respect the environment together.
> Only print this message if necessary!
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.
> sailfishos.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20170821/8a3031eb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ihmefedogkldfakj.png
Type: image/png
Size: 9356 bytes
Desc: not available
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20170821/8a3031eb/attachment-0001.png>
More information about the Devel
mailing list