Hello,
I created this module to unlock the maximum sample rate and bit depth on the Redmi Note 10 Pro. That being 192kHz/24-bit. It should also disable downsampling and some compression.
It works only for USB audio output and wired headphones/earbuds.
This is my first magisk module and therefore there may be a lot of room for improvement.
It will disable audio effects like Dolby.
Let me know how it works for you.
Thanks!
nosak said:
It will disable audio effects like Dolby.
Click to expand...
Click to collapse
Will it disable ViPER4Anddroid, too? Is it compatible with it?
pnin said:
Will it disable ViPER4Anddroid, too? Is it compatible with it?
Click to expand...
Click to collapse
Probably, since V4A's drivers only support 44.1khz/16bits or 48khz/24bits, the changes might make V4A's drivers fail. JamesDSP, which is another audio mod similar to viper might support this high sample rate being enabled though. Or the newer reversed engineer V4A might.
BigChungus321 said:
... Or the newer reversed engineer V4A might.
Click to expand...
Click to collapse
Do you mean this one by any means?
https://github.com/programminghoch10/ViPER4AndroidRepackaged
pnin said:
Do you mean this one by any means?
https://github.com/programminghoch10/ViPER4AndroidRepackaged
Click to expand...
Click to collapse
Here, the Reversed Engineered one: https://github.com/AndroidAudioMods/ViPER4Android
The repackaged is still using the old V4A drivers, which again, still down samples the audio and would not play hi-res audio.
Here's a note from the JDSP Discussions Group in Telegram:
"Viper4Android enforces sampling at 16-bit 48kHz, while JamesDSP supports most known formats. This means that V4A will not allow lossless playback of media in any other format and will downsample HiFi tracks."
Which is true for the old, closed-source drivers of V4A. A thing to note is that it is still a work-in-progress and most features of the original V4A is still not available like vdc and irs.
Do you know any app or way to check the sample rate/bit depth? Just installed the module and I'd like to check if everything is working fine.
Christen247 said:
Do you know any app or way to check the sample rate/bit depth? Just installed the module and I'd like to check if everything is working fine.
Click to expand...
Click to collapse
Sample Rate Checker apk online.
Plug in headphones before opening the app
nosak said:
Sample Rate Checker apk online.
Plug in headphones before opening the app
Click to expand...
Click to collapse
Tysm.
Just tested with Xiaomi.EU 14.02, the sample rate works well in most applications, however with Tidal I have some issues with Dolby Atmos songs having no sound. I will look for a solution by reinstalling the module.
Christen247 said:
Tysm.
Just tested with Xiaomi.EU 14.02, the sample rate works well in most applications, however with Tidal I have some issues with Dolby Atmos songs having no sound. I will look for a solution by reinstalling the module.
Click to expand...
Click to collapse
You might be able to enable Dolby temporarily via the control center, if you add the Dolby icon; alternatively via the video toolbox feature. I noticed this earlier today.
Related
hello guys i just rooted mi5 and tested v4a it was good.
there is new rom called AOSPA i want to test it it has aptx for better music performence...
do u know any thing for making mi5 better for music ?thanks
also MIUI has aptxHD! but you also need a Bluetooth device that have aptxHD!
big bang021 said:
hello guys i just rooted mi5 and tested v4a it was good.
there is new rom called AOSPA i want to test it it has aptx for better music performence...
do u know any thing for making mi5 better for music ?thanks
Click to expand...
Click to collapse
For now if you wanna listen music just use MIUI ROM because for now, most custom rom have a bad sound bug if use headphones uses jack port. For Bluetooth i don't know tho, i never use a Bluetooth headphones before so i can't tell, but i think the bug will affect Bluetooth too.
There is a great sound mod called "Ainur Sauron"
Here is the link:
https://forum.xda-developers.com/android/software/soundmod-ainur-audio-t3450516
You just have to flash it, no need to setup anything else
I don't think it is compatible with MIUI
So you can try flashing it on a custom ROM
I've been using it for a while now, and my audio output improved greatly.
Hope this helps
Hellkyrie said:
There is a great sound mod called "Ainur Sauron"
Here is the link:
https://forum.xda-developers.com/android/software/soundmod-ainur-audio-t3450516
You just have to flash it, no need to setup anything else
I don't think it is compatible with MIUI
So you can try flashing it on a custom ROM
I've been using it for a while now, and my audio output improved greatly.
Hope this helps
Click to expand...
Click to collapse
yes i have tested it .not bad
WELL I USED TO USE BEATS+POWER AMP AT START
THEN USED V4A
THEN I STARTED SOUNDMODS...biohazard was nice
but now i, using magisk modules they are very good they can do effect better ....and i also increased volume of smart phone now i really get awsome bass i ....the only problem here is some times i get lower voulme in middle of enjoying music i think its security for less damage to ears idk how to fix that thing
big bang021 said:
.the only problem here is some times i get lower voulme in middle of enjoying music i think its security for less damage to ears idk how to fix that thing
Click to expand...
Click to collapse
Are you on earphones when the volume lowers? If so, maybe the V4A setting called "auditory system protection" causes it. Also, disable notification sounds/enable silent mode while you are playing music, or change the Poweramp audio focus setting (Poweramp -> settings -> audio -> untick Short Audio Focus change)
I used to have the same problem as you, when I was using Xtreme music mod and Dolby Atmos.
Hellkyrie said:
There is a great sound mod called "Ainur Sauron"
Here is the link:
https://forum.xda-developers.com/android/software/soundmod-ainur-audio-t3450516
You just have to flash it, no need to setup anything else
I don't think it is compatible with MIUI
So you can try flashing it on a custom ROM
I've been using it for a while now, and my audio output improved greatly.
Hope this helps
Click to expand...
Click to collapse
Can i flash this over dolby atmos? I need louder sound quality especially for dialogues through speakers. Dolby is already doing a great job. Should this one do any improvement? Or should i uninstall dolby and flash this? Need louder sound on speakers
Sent from my iPhone using Tapatalk
SilverMarcs said:
Can i flash this over dolby atmos? I need louder sound quality especially for dialogues through speakers. Dolby is already doing a great job. Should this one do any improvement? Or should i uninstall dolby and flash this? Need louder sound on speakers
Click to expand...
Click to collapse
This mod is compatible with all other audio mods, but make a backup of your system in case anything goes wrong. Try flashing it over your Dolby
I tried flashing Ainur first then Dolby, the Dolby app crashed.
Hellkyrie said:
Are you on earphones when the volume lowers? If so, maybe the V4A setting called "auditory system protection" causes it. Also, disable notification sounds/enable silent mode while you are playing music, or change the Poweramp audio focus setting (Poweramp -> settings -> audio -> untick Short Audio Focus change)
I used to have the same problem as you, when I was using Xtreme music mod and Dolby Atmos.
Click to expand...
Click to collapse
yes is true
I edited the mixer_paths.xml to fix the low headphone volume on MiA2 and created a magisk module since manual editing doesn't work.
It works on Pie March update. May not work on other versions.
Use it at your own risk. It is LOUD. Listening at a high volume for a long time may damage hearing.
Edit: Updated to V10.0.5.0
Thanks man! Its working great??
@onbeskarakterli Can you please tell what you edited in the file so that everyone can fix it themselves in case it stops working after software updates?
Varun.Shanbhag said:
@onbeskarakterli Can you please tell what you edited in the file so that everyone can fix it themselves in case it stops working after software updates?
Click to expand...
Click to collapse
these are the changes
Varun.Shanbhag said:
@onbeskarakterli Can you please tell what you edited in the file so that everyone can fix it themselves in case it stops working after software updates?
Click to expand...
Click to collapse
Well, the problem is we can't just edit the file on the phone. Editing doesn't make any difference and the phone reverts it. Magisk is the only way right now.
I have a request if you don't mind, I have limited experience in these config files.
One thing that bothers me about this phone is the audio quality in the videos it takes. The audio sampling rate is currently set to 96 kb/s which is extremely low for a phone made in 2018.
I have tried to edit it to 256 kb/s in the media_profile files under the vendor folder and flashed it with magisk but it is still stuck to the low quality setting. Any ideas?
Thank you
Thank you so much for this module. Works perfectly ?
Thanks @onbeskarakterli
lukezainn said:
I have a request if you don't mind, I have limited experience in these config files.
One thing that bothers me about this phone is the audio quality in the videos it takes. The audio sampling rate is currently set to 96 kb/s which is extremely low for a phone made in 2018.
I have tried to edit it to 256 kb/s in the media_profile files under the vendor folder and flashed it with magisk but it is still stuck to the low quality setting. Any ideas?
Thank you
Click to expand...
Click to collapse
Can you try gcam module and Google Camera app? I successfully changed the lines in that file but stock camera app still records at 96k. Gcam is at 160k-200k.
onbeskarakterli said:
Can you try gcam module and Google Camera app? I successfully changed the lines in that file but stock camera app still records at 96k. Gcam is at 160k-200k.
Click to expand...
Click to collapse
I tried that but it doesn't seem to work for me, do you mind sharing your files?
Wow finally thanks man I'm going to try it right now. Do you know why it keeps reverting to stock values? I tried several times before with no luck...I tried to change selinux as well to permissive but even that reverts back after a while. Why it works only with magisk? BTW it's great you already put it to 88 so it covers everyone's needs
Sent from my Mi A2 using Tapatalk
lukezainn said:
I tried that but it doesn't seem to work for me, do you mind sharing your files?
Click to expand...
Click to collapse
This is the GCam I am using.
https://forum.xda-developers.com/mi-a2/how-to/gcam-pixel-3-v6-1-mi-a2-android-pie-t3870179
Try it and let me know the audio bitrate.
Sp_Ark said:
Wow finally thanks man I'm going to try it right now. Do you know why it keeps reverting to stock values? I tried several times before with no luck...I tried to change selinux as well to permissive but even that reverts back after a while. Why it works only with magisk? BTW it's great you already put it to 88 so it covers everyone's needs
Sent from my Mi A2 using Tapatalk
Click to expand...
Click to collapse
Manually changing doesn't work. You can't even save the changes you make. AFAIK Magisk virtually mounts system and vendor partitions and applies its own files and changes at boot time. That's why it works.
To be honest 88 is really high. I am using 85 right now, but I don't have any high impedance headphones.
onbeskarakterli said:
This is the GCam I am using.
https://forum.xda-developers.com/mi-a2/how-to/gcam-pixel-3-v6-1-mi-a2-android-pie-t3870179
Try it and let me know the audio bitrate.
Click to expand...
Click to collapse
Oh sorry I meant share the files where you made the bitrate edits, I already have the same gcam app.
lukezainn said:
Oh sorry I meant share the files where you made the bitrate edits, I already have the same gcam app.
Click to expand...
Click to collapse
Here.
onbeskarakterli said:
Here.
Click to expand...
Click to collapse
Still doesn't work
What about the other media profiles files? What are they used for?
I assume the other profiles are for the different headphones and audio effects under settings>sounds>advanced. Correct me if I'm wrong
lukezainn said:
Still doesn't work
What about the other media profiles files? What are they used for?
Click to expand...
Click to collapse
Sent from my Mi A2 using Tapatalk
Sp_Ark said:
I assume the other profiles are for the different headphones and audio effects under settings>sounds>advanced. Correct me if I'm wrong
Click to expand...
Click to collapse
Hmm, I doubt it, these files include audio and video bitrate options when recording video
lukezainn said:
Still doesn't work
What about the other media profiles files? What are they used for?
Click to expand...
Click to collapse
The mod does work through. Check out your /system/vendor/etc/media_profiles file when the module is active.
onbeskarakterli said:
The mod does work through. Check out your /system/vendor/etc/media_profiles file when the module is active.
Click to expand...
Click to collapse
Yes the file is changed and it's set to 288000 now, but the audio quality in the videos are still horrible. I tried gcam, opencam, nothing works. I'm on pie 10.0.1
FooxMagisk Alpha[ v0.2.2/SIZE]
×WHO:
FxM is aimed at Android users in search of an easy way to capture system or internal sounds (systemless-ly), and on Android versions past Lollipop. By installing my module users will no longer need to worry about background noise from their environment.
×WHAT:
FooView, an app by fvalpha, comes from the same dev behind ES File Explorer nearly a decade ago. Development is ongoing, but in essence, FV supplies the user with a range of controls outside of screen recording. Be sure to visit their thread.
×WHY:
Some time ago someone inquired about the possibility, which led us to trying other means before quitting. Recently I found FV and gave it a spin. Plus, others are frustrated by the absence of native recording on most devices. Whilst I've experimented with other techniques on Oreo & Pie, none come close.
×HOW:
The real reason you're here! First of all, in order use this module I strongly recommend Magisk 18+. It was used on 18, so can't guarantee the results on older versions. If there's demand, a test for 17 can be made.
×Prerequisites:
- Magisk 18+
- Grab fooView Play Store
- Download/Install FxM module from below
×Links
- All Releases
×Steps:
- Follow above
- Reboot after installing
- Check app info (foo can now be disabled, instead of uninstalled)
- Open foo -> Settings -> Advanced settings -> Dev Mode -> Enable "root for screenshots" -> Grant -> Enable "Record internal"
- Enable little MIC icon BEFORE recording
- Adjust media volume to < 40% (Volume bug on some devices)
×Credits:
- @fvalpha - Developer of fooView
- @topjohnwu - Magisk
- @ahrion - Unity Installer
- @Zackptg5 - Unity Installer
×Bugs
- Using high volume creates a tick sound on certain devices
- If Module is installed FIRST the app will crash constantly
×Revision History
v0.1a - Jan 18, 2019 - Initial Release (Unity v3.1 + 0.9.9.9)
v0.2.2a - Jan 21, 2019 - (Unity v3.2 + Perms fixed)
v0.2.3a - Jan 25, 2019 - (Removed unnecessary perms)
×Compatibility:
- LOS 15.1 (8.1)
- AICP 13 (8.1)
- AICP 14 (9.0)
×Devices:
- Le Pro 3
- Moto Z2
- Whyred
- Pocophone F1
Further testing is necessary to extend this list
×FAQ:
Q: Can I hear speaker audio whilst recording internal sounds?
A: No, not at this time. And likely never. It's a limitation in the API.
Q: Sound doesn't play when recording!
A: This is normal. Maybe simultaneous internal/external recording will be doable in Android Q.
Q: Fooview crashes!
A: This happens when Foo module is installed before the base app.
Q: Why is there no sound in my recording?
A: Turn on the microphone icon that's shown in fooview.
Q: Is root needed?
A: Yes!
Q: Watermark in videos?
A: This can be disabled in settings.
Still crashing unable to open setting I am using 9.0
Unable to here sound's..
hitesh748- said:
Still crashing unable to open setting I am using 9.0
Click to expand...
Click to collapse
Did you follow all the steps? In foo there's a permission section, first 3 need to be enabled when installing the app. After rebooting only floating window is needed really.
hitesh748- said:
Unable to here sound's..
Click to expand...
Click to collapse
Sound from the speaker stops whenever foo records. Make sure mic is enabled in the screen recorder, there's going to be a little mic icon. Like here:
http://imgur.com/a/f3ZQINs
Ace42 said:
Did you follow all the steps? In foo there's a permission section, first 3 need to be enabled when installing the app. After rebooting only floating window is needed really.
Sound from the speaker stops whenever foo records. Make sure mic is enabled in the screen recorder, there's going to be a little mic icon. Like here:
http://imgur.com/a/f3ZQINs
Click to expand...
Click to collapse
if we are not hearing voice.. Than why to use this?Is that any way possible to record internal voice and also able to hear?Because if this is going to possible than ?.. It's going on trending.. Because this is what people really want
hitesh748- said:
if we are not hearing voice.. Than why to use this?Is that any way possible to record internal voice and also able to hear?Because if this is going to possible than ?.. It's going on trending.. Because this is what people really want
Click to expand...
Click to collapse
No, because Android doesn't support system recording natively. You'd have to record your voice from another device and merge the waveforms. It's not possible to record MIC & system simultaneously, unless it's done on a Samsung or Xiaomi device.
This is meant for people that DON'T want sounds from their mic. Internal recording isn't possible without root after lollipop, and game audio from a microphone sounds awful.
Thanks! I am able to record internal audio, but unable to hear while recording:'(
My rom PE whyred
Is there any fix yet?
Thanks Dev
ItsOm said:
Thanks! I am able to record internal audio, but unable to hear while recording:'(
My rom PE whyred
Is there any fix yet?
Thanks Dev
Click to expand...
Click to collapse
It's a limitation of the the app at this time (fooview), not the module. I don't know if the Dev will add that functionality in the future. There's another Android app that can record internal sound, I'm trying to create a module for it too.
Ace42 said:
It's a limitation of the the app at this time (fooview), not the module. I don't know if the Dev will add that functionality in the future. There's another Android app that can record internal sound, I'm trying to create a module for it too.
Click to expand...
Click to collapse
Oh! good luck
You are our only hope literally!
One more question, Can Xiaomi devices record internal audio?
I have Whyred (RN5pro) with PE rom installed.
Thanks!
WORK
Thanks dude, work in POCOPHONE F1 android 9 pie.
Bgsbeb said:
Thanks dude, work in POCOPHONE F1 android 9 pie.
Click to expand...
Click to collapse
No problem! Happy to help.
ItsOm said:
Oh! good luck
You are our only hope literally!
One more question, Can Xiaomi devices record internal audio?
I have Whyred (RN5pro) with PE rom installed.
Thanks!
Click to expand...
Click to collapse
With school it'll take time for me to get around to it.
Only some Xiaomi phones feature it natively. I've heard of it being available on older devices like the Note 4.
Sorry to ask this basic question. Where is best use of this module. Can this be used alongside screen video recorder so that WhatsApp video calls can be recorded.
smohanv said:
Sorry to ask this basic question. Where is best use of this module. Can this be used alongside screen video recorder so that WhatsApp video calls can be recorded.
Click to expand...
Click to collapse
1. It's meant to record system audio. My buddy needs that for games. I guess there are other uses like recording calls, but I never considered it.
2. I've never tried this on WhatsApp, nor any app like it. I don't know if WA even allows recorders.
It only needs to be installed, nothing else it required.
excellent thread and mind blowing work, this is what i have been searching for since a long time, it works great but only problem is i can't hear anything while recording internal sound, but it records internal sound. well it works though !
vasu97 said:
excellent thread and mind blowing work, this is what i have been searching for since a long time, it works great but only problem is i can't hear anything while recording internal sound, but it records internal sound. well it works though !
Click to expand...
Click to collapse
There seems to be no way to achieve this on any Android version after LP (internal + MIC). Samsung, Xiaomi, and LG feature native recording in their skins so it's a different story. For example, my sister's Stylo can do both on Nougat.
For unknown reasons Google doesn't want apps to contain this functionality (also true of call recording apps). It's odd since Apple's position is the complete opposite...
Ace42 said:
There seems to be no way to achieve this on any Android version after LP (internal + MIC). Samsung, Xiaomi, and LG feature native recording in their skins so it's a different story. For example, my sister's Stylo can do both on Nougat.
For unknown reasons Google doesn't want apps to contain this functionality (also true of call recording apps). It's odd since Apple's position is the complete opposite...
Click to expand...
Click to collapse
I hate Google for that and even regret buying a Pixel
Man u said I should enable the mic thing for screen recording but I searched every where no such a thing
Device pocophone f1
No sound at all for screen recording is there any way to enable the internal mic ?
Thanks in advance
Antidote03 said:
Man u said I should enable the mic thing for screen recording but I searched every where no such a thing
Device pocophone f1
No sound at all for screen recording is there any way to enable the internal mic ?
Thanks in advance
Click to expand...
Click to collapse
https://m.imgur.com/gallery/f3ZQINs
The microphone is there. It's needed for internal audio, the speaker won't output any sound.
I prefer this one for its ability to alter FPS (25 - 60).
Edit: Link removed temporarily
Ace42 said:
https://m.imgur.com/gallery/f3ZQINs
The microphone is there. It's needed for internal audio, the speaker won't output any sound.
https://drive.google.com/file/d/1yiqCE8Szik59CGccrxLfjomwRDOTIhAN/view?usp=drivesdk
I prefer this one for its ability to alter FPS (25 - 60).
Click to expand...
Click to collapse
No picture please upload it again
Anyone got Dolby and viper working? Don't have the phone yet but curious before buying. Sounds like they'd be great with the front speakers. Does it also need camera 2 api enabler for gcam? Ty
V4A is working. I installed Audio Modification Library and VIPER4Android FX Legacy Materialized Magisk modules. Sounds very good, I rate 8.5/10. Gcam is also working. I installed UNI_CAM v1.2a-v6.2 final. Camera 2 api is enabled.
I installed the latest version of v4a and it sounds like crap for some reason. Then tried with the legacy version and it is much much better
Ainur Narsil + Viper legacy (and AML off course) works and sounds really great.
Ty all for the replies. I'm hoping to order soon especially after reading the article that said there will be be short supply of this phone. I can't use any phone without these modules lol
Any screenshot of best audio profile to make sound better,fuller better basses with no distortion?
Even dolby or viper or other root apps..
Alessandro999 said:
Any screenshot of best audio profile to make sound better,fuller better basses with no distortion?
Even dolby or viper or other root apps..
Click to expand...
Click to collapse
Are you rooted with Magisk? You can get ROG audio mod V1 as a muddle to enjoins) enhance the sound. Not sure about viper or dolby, others may have that info, personally I don't use me phone for music much so haven't experimented
i made a post on another thread. i think it was on pixelify one. posted a short tutorial how to get fuller sound.
also i've found one convolver for james dsp that gives perfect sound. those convolver files are the same that viper use and you can easily find a zip file full of them. then search for the "Waves MaxxBass + WavesRBass (Speakers)". you can try the headphone profile if the previous one distorts the sound.
reg66 said:
Are you rooted with Magisk? You can get ROG audio mod V1 as a muddle to enjoins) enhance the sound. Not sure about viper or dolby, others may have that info, personally I don't use me phone for music much so haven't experimented
Click to expand...
Click to collapse
I cant find this module on magisk