Giter Club home page Giter Club logo

Comments (4)

p1-mmr avatar p1-mmr commented on June 11, 2024

Hello,

Thank you for your feedback. Yes, through writing some dedicated C code, it would be possible to write the DLF frames to the flash memory of your handled device by running a standalone daemon on the Android system.

In QCSuper, the ioctl call to the /dev/diag device is performed from this file: https://github.com/P1sec/QCSuper/blob/master/inputs/adb_bridge/adb_bridge.c this code purports to forward the raw Diag frames obtained from the character device to a TCP socket.

The following modifications should be done to achieve what you are trying to do:

The concerned program should be cross-compiled, then launched through the background from ADB (e.g adb shell sh -c "cd /your_transfer_location; ./your_program &" as root)

Regards,

from qcsuper.

SebastienChevalley avatar SebastienChevalley commented on June 11, 2024

Hey!

Thank you for that extremely cool answer. It is super detailed. Thank your for taking that time.

Hope we can try it soon.

from qcsuper.

jjbaek35 avatar jjbaek35 commented on June 11, 2024

hey, it's a pretty long time to post, I tried with Galaxy 4 GT-I9505, but it said "Could not find /dev/diag, does your phone have a Qualcomm chip", Yes there is no /dev/diag directory on it.
how did you solve this issue, you seemed to address this issue.
Thanks.

from qcsuper.

hunterra avatar hunterra commented on June 11, 2024

@SebastienChevalley please specify what firmware and version is flashed on your Samsung Galaxy S4 GT-I9505.
Can you please write detailed instruction how you managed to get all working?
Thank you!

from qcsuper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.