Nethunter Pro No Microphone

Hi all !

I have installed NH Pro 2025.2 on a Oneplus 6T. Sound was working but not the Mic. I ran apt update/upgrade with success, rebooted, and got no sound anymore. So I followed this, the sound got back but still no Mic : No sound on Kali 2023.2 | Kali Linux Documentation

Before going further on setting up the phone, I would like to have the mic working, because you know, a phone without mic.. lol

When I systemctl status pipewire-pulse or pipewire-audio they doesn’t exist. Normal ?

Any idea what I should do next ?

I would really appreciate having a full linux phone (+ a kali one :slight_smile: but I see that it is not as easy as a PC lol.

I manage it via SSH which is very nice though. Already tried waydroid and all, I find it so awesome, congrats to those who made this ! But finallly I broke everything including Phosh so I re-flashed a fresh new NHP, and now I’d prefer to be sure the mic will finally work.

Any tip would be veeery appreciated. Thanks anyway !

Have a nice day :slight_smile:

EDIT : After all there is basically no sound but it’s weird, when I push Vol+ or Vol- I get the little Beep but if I go to Firefox then Youtube there is no sound. Don’t know what to do at all ^^

Edit : I still have some OS sounds like when you unplug the charger, but no sound in apps (firefox). I didn’t put a sim card in it yet. It’s weird because the audio seems to be half-working. Mic doesn’t at all anyway. The cpu is Qualcomm SDM845. I flashed the nethunter fajita 2025.2 version which is correct if I’m not wrong. I can see the community is not that active than other distros of course because it is very specific. Should I better stick to an android kernel with simple nethunter to avoid tese difficulties ? I was kind of enthousiastic having a full linux phone. First I just wanted a phone dedicated to kali but now I’m wondering why not making it my only and main phone.. What is your opinion ? Thanks a lot anymay ! :slight_smile:

Its very common for any ‘non standard’ Android ROM to have ‘bits missing’ that you might need. To create any ROM you ideally want all the firmware from an original factory ROM to then base your own version on, then, hopefully, you can have everything working.

I’m not sure what ROM you installed before Nethunter, but the Lineage ROM’s are usually the recommended. You can have a look on the XDA forum to see if their are any fixes for the microphone;

In fact I didn’t install any android, only the full Nethunter Pro rom (linux kernel). It comes with Phosh GUI and has no android inside. But you can install Waydroid which is an android lxc container, when you launch it you find an android “desktop” and can install apk’s, and then find them also on the nethunter screen. That is pretty much awesome by the way. But now yes, I think maybe I will just flash lineage and install nethunter for android. I thought that with a real linux kernel it would offer more functions but NH pro doesn’t seem to be very stable. Lot af little things are buggy.

I mean I’ve installed it on the eMMC, no dual boot. By the way none of the listed supported phones for NH Pro have a sd card slot if I’m not wrong.
So I flashed the rootfs img and the “fajita” img which would compatible but sound half-working, no mic, no camera. Maybe I can add drivers to the kernel ? But have no idea how to do that, nor how to identify failing hardware spec. lspci and lsusb gives nothing.

Weird thing is system sounds (volume buttons, pluging the charger and so) sometimes go back a few times and then don’t work again. Still no sound in firefox. And most of the time when I reboot I get the Qualcomm crashdump Mode. Doesn’t happen when shutdown and start again.

When using the inxi command :

CPU: 8-core Model N/A (-MCP-) speed/min/max: 2995/300:826/1766:2650 MHz
Kernel: 6.6.58-sdm845-nh aarch64 Up: 1d 1h 20m Mem: 4.97/5.43 GiB (91.6%)
Storage: 119.18 GiB (6.4% used) Procs: 383 Shell: Bash inxi: 3.3.38

->Kernel seems correct, right CPU.


inxi -A :

Audio:
Device-1: sdm845-sndcard driver: msm_snd_sdm845
API: ALSA v: k6.6.58-sdm845-nh status: kernel-api

->Don’t know what to do with this ^^ Something to reinstall maybe ?

Nothing with --help | grep camera or mic.


I have installed v4l-utils :

v4l2-ctl --list-devices :

Qualcomm Venus video encoder (platform:qcom-venus):
/dev/video0
/dev/video1

->The phone actually has two cameras. I guess this output sounds good.


Any idea how to reset, reload, reinstall the drivers or something like that ? Or maybe I flash an other img instead of the fajita one ? Risky right ?

If you have a read of this page;

it does mention that for audio to work and for calls you have to do some extra steps, might be worth investigating. Hope this helps.

2 Likes

Thanks I’ll give it a try and come back :+1:

Ok the link was useful. I got back the sound in firefox, and the OS sounds work normal. The audio recorder is still not working though. If I understand what I have done I replaced the audio manager with q6voiced and Tinyalsa. I tried Whatsapp (through Waydroid), my Mic is working, but the audio I receive is emmited by the external speaker instead the ear speaker, plus the sound is saturated. Maybe using modem-audio via Waydroid is no good idea. I can’t try normal calls for now because the SIM card is not detected.

Okay, so, still working at making the phone work like a phone lol.

If you read the XDA forums, where most phone 3rd party ROM development happens, you will find that is a recurring theme.

Like many platforms, many Android vendors have propriety code and firmware for their devices, so you often have to de-compile the original ROM to find all those blobs used for such devices, and make sure they are included in a 3rd party ROM, and even then, there is no guarantee they will work properly.

It is because of hardware issues over the years that I now only use Kali in a VM so everything works, and similarly if I use NetHunter I use the rootless version, not Rooted, for the exact same reason, I have all the functions of my hardware with Kali as an ‘extra’.

If you manage to find a full fix for all your hardware, please keep us updated, as it may help others!

Yes for sure, I understand and wasn’t complaining of course. But weird thing is that the official doc from nethunter pro mention some 6 or 7 supported old devices including my oneplus 6T and a dedicated img is available but in the end it’s not working out of box. I don’t have the knowledge to decompiling stuff and add them to my rom and all ^^
When you talk about VM you mean a VM on your phone ?
And also, a nethunter over rootless android is not lacking of crucial functions ? Same with rooted device ?

I may just put lineage and basic nethunter (rooted phone)

I use VM’s on a silicon powered macbook pro, anything on hardware for Apple is a headache, 90% of things don’t work ‘out of the box’ It is possible to get an older intel powered Mac to run Linux direct on hardware, although it is a chore to set up initially, and can be problematic after updates…

On Android I had a few older phones with rooted NH available, and they did work, but the later phones started having issues, so I stuck to rootless installs, so it was running as an overlay, that way the phone still functioned fully.

The only thing you don’t get ‘out of the box’ in either a VM on a PC or rootless NH on your phone is a working WiFi network card, and as cracking any modern WiFi is not easy if they are using the now typical default WPA2 or WPA3 encryption and stronger passwords, it wasn’t ever a deal breaker for me.

There are lost of crappy youtube videos about ‘hacking WiFi’ and they will usually downgrade an access point to an insecure WEP protocol to ‘show how easy it is’, which for WEP is true… if WPS is enabled on a router (that button you press to allow easy connection for devices) then that is still a weak spot for a WPA2 or WPA3 enabled router, but beyond that, not usually worth the time involved…

I know you weren’t complaining by the way, its just useful to have info here for someone else who may find it later, and ask the same question.

You’ve gotten further than many, its a shame the phone uses the external microphone not the earpiece for calls, as your using the minified alsa version, might be worth looking at its config, perhaps the correct (earpiece) microphone is indeed listed as a headphone?

Yes you’re right about wifi hacking.

I already installed debian on Mac/Intel with no big problem but I can’t even imagine how annoying it could be with Apple CPUs..

I was wondering if you were talking about VM directly on a phone, because you know waydroid is lxc container so it’ almost the same. By the way it is possible that Waydroid is messing with the system sound manager making it confused somehow between the OS and the LXC. I will uninstall it and dig in the alsa confs. The thing is I have no way testing a call without some dedicated app and the SIM card not working (whatsapp for arm doesn’t exist I believe).

You may be right about the audio trying to play through the Mic which would explain the saturation.

Don’t want to give up for now so I will continue the research. Next step is to have the SIM slot working and try a real cellular call. In order to that I think I need to do a little cleanup and study much longer. If I fail I’ll go to Lineage + NH.

Duuude… I only had to reboot with the SIM inserted to have it detected.. How could I forget that thing I feel so stupid lol. Audio is working during phone calls. Now I need to make it work with waydroid apps too.

■■■■, now it is Waydroid not using the cellular modem, only wifi. That is becoming too diffult so I will migrate to Lineage + NH ^^