GithubHelp home page GithubHelp logo

Comments (6)

ADeadTrousers avatar ADeadTrousers commented on May 28, 2024

This is starting to bug me pretty much.
So this is the next thing on my to-do-list.
But for that I first need a adb -d logcat > audiojack.txt from the moment someon plugs in some headphones into the audio jack.
My believe is that there must be some events triggered by a internal "service" that is not started during booting of the phone. I have serveral candidates found inside the stock rom but I only want to activate what is really needed and nothing more (bloatware).

from android_device_unihertz_atom_lxl.

SepticFuddy avatar SepticFuddy commented on May 28, 2024

audiojack.txt
I rebooted, plugged and unplugged the jack, then ran the logcat command.

As a bonus, you get a little peek into my music collection. Not exactly what the DRM Service thing is all about, since they're CD rips...

from android_device_unihertz_atom_lxl.

ADeadTrousers avatar ADeadTrousers commented on May 28, 2024

Thanks, but the log is a little bit too big for me to find anything useful. Sorry. Your music taste is great though ;)
Can you please try to clear the logcat first (adb logcat -c all), then start the log, plug in and unplug your headphones and finally stop the log. Also roughly remember the timestamp when you plugged in the headphones (the secondes) just in case.

from android_device_unihertz_atom_lxl.

SepticFuddy avatar SepticFuddy commented on May 28, 2024

audiojack.txt
Alright this one's much cleaner. Looks like I plug in at 47 sec and unplug at 49 sec.

from android_device_unihertz_atom_lxl.

ADeadTrousers avatar ADeadTrousers commented on May 28, 2024

WiredAccessoryManager is a service in framework but it doesn't seem to detect the hardware.
I found a guide that describes how to add an audio device to android:
https://wiki.st.com/stm32mpu/wiki/How_to_change_audio_device_for_Android
But that seems a little bit excessive. At least this is a possibility.
Another way would be to try out the various AUDIO_* variables inside BoardConfig.mk but I need the correct settings, best from another mt6771 device.

from android_device_unihertz_atom_lxl.

ADeadTrousers avatar ADeadTrousers commented on May 28, 2024

Fixed with 24ad9ff230a7a50213128b589405a421a663c65d
The icon still doesn't show up in the status bar but at least I once more hear something from my headphones.

from android_device_unihertz_atom_lxl.

Related Issues (14)

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.