[All ROM/kernel] Enable rear microphone for all CM-based ROMs - Sony Xperia M

As we know, rear microphone becomes useless on all CM based ROMs. I introduce a very small patch to enable rear mic. Also, 2 microphones will become more sensitive after applying this mod.
Instruction:
So easy. Just boot into recovery and flash it.
Info:
This patch was brought from stock ROM, with a small modification.
Both microphones are used in recording sound/video mode. Front mic for left channel and rear for right channel.
Thanks to: @Bonoboo
LINK: http://forum.xda-developers.com/showpost.php?p=63408663&postcount=23

Thanks sir @thichthat
can you provide this to cm commit so we can get fix permanently in next nightly ?

Nicklas Van Dam said:
Thanks sir @thichthat
can you provide this to cm commit so we can get fix permanently in next nightly ?
Click to expand...
Click to collapse
Yes. I made a pull request to CM's repo but they haven't added it.

thichthat said:
Yes. I made a pull request to CM's repo but they haven't added it.
Click to expand...
Click to collapse
okay, that's great and now we just only need to wait .

New zip file with noice reduced fix was uploaded. Please download from #1 post and flash.

Done , but what function from this update? Is microphone have problems with noise sound when recording?
Sent from my C1905 using Tapatalk

thichthat said:
Yes. I made a pull request to CM's repo but they haven't added it.
Click to expand...
Click to collapse
Not good idea. AFAIK, CM doesn't merge pull requests. More proper way to send commit is to do it via Gerrit. If you don't have a time for this or don't want to learn "communicating" with Gerrit, I can make the change with your authorship (in git commit --author way, of course).

cucumber09 said:
Not good idea. AFAIK, CM doesn't merge pull requests. More proper way to send commit is to do it via Gerrit. If you don't have a time for this or don't want to learn "communicating" with Gerrit, I can make the change with your authorship (in git commit --author way, of course).
Click to expand...
Click to collapse
Thanks for the useful information. I really don't know many things about Gerrit, so if you can push a commit to CM's repo, just do it. I'll not ask anyone to mention my name, so feel free to take it!

thichthat said:
Thanks for the useful information. I really don't know many things about Gerrit, so if you can push a commit to CM's repo, just do it. I'll not ask anyone to mention my name, so feel free to take it!
Click to expand...
Click to collapse
I pushed the change, so hope @PecanCM will merge it. It is just cherry-picked from your device tree's brunch "patch-1".

del

del

Awesome, now used all hardware.
Thank you for such good change. Waiting for merging in CM.
Video for sure recorded in stereo: I moved sound source and when playing in headphones sound "moving" too.
Good, that there big distance in between mics: this increase stereo effect.
But what about noise canceling? Is it work?
This more hard to check.
UPD
IMHO better to revert high mic sensitivity (ADC1 and ADC3 100 >> 82).
At call interlocutors noticed too loud, distorted voice.
I can confirm this too after recording and playing conversation e.g. via ACR app.
UPD
Updater-script in patch deletes some system apps e.g. Calculator, Eleven

Bonoboo said:
Also ZIP (update-script) deletes some system apps e.g. Calculator, Eleven
Click to expand...
Click to collapse
Yes, same i've got that problem too? Should I modify updater script?
It almost remove all cm stock app? Why you remove it @Thicthat?
Sent from my C1905 using Tapatalk

Nicklas Van Dam said:
Yes, same i've got that problem too
Click to expand...
Click to collapse
Here you are fixed ZIP and normal mic volume: stereo_normal_volume.zip

Bonoboo said:
Here you are fixed ZIP and normal mic volume: stereo_normal_volume.zip
Click to expand...
Click to collapse
Okay thanks sir, I will try it
Sent from my C1905 using Tapatalk

Nicklas Van Dam said:
Yes, same i've got that problem too? Should I modify updater script?
It almost remove all cm stock app? Why you remove it @Thicthat?
Sent from my C1905 using Tapatalk
Click to expand...
Click to collapse
Yes. Sorry, that's the optimize zip for my phone. Because I don't use these app so I wrote the update-script to delete them. I forgot to delete the line before uploading the zip file.

Bonoboo said:
But what about noise canceling? Is it work?
This more hard to check.
UPD
IMHO better to revert high mic sensitivity (ADC1 and ADC3 100 >> 82).
At call interlocutors noticed too loud, distorted voice.
I can confirm this too after recording and playing conversation e.g. via ACR app.
Click to expand...
Click to collapse
1. Exactly there's a small noise recorded by camera's mic. I added these lines for reducing noise:
Code:
'AIF1_CAP Mixer SLIM TX1':1:1
'AIF1_CAP Mixer SLIM TX5':1:1
It works at the first time after system booted up, but then it doesn't work. Anw, because this noise is very small, I think that no one will notice about it.
2. OK. I'll make a version of the zip with reduced volume.

thichthat said:
Exactly there's a small noise recorded by camera's mic. I added these lines for reducing noise
Click to expand...
Click to collapse
No, I mean noise cancelling in-call.
For this specially installed 2nd mic.

Bonoboo said:
No, I mean noise cancelling in-call.
For this specially installed 2nd mic.
Click to expand...
Click to collapse
I can't check if it works, but I think it won't. The in-call noise cancelling function use camera mic setting for recording noise source. However, our camera mic records using both mics. That means the phone can't get the noise.

When I flash this with nui kernel sim not recognized, why?
Enviado desde mi nicki mediante Tapatalk

Related

[MOD] Phone.apk with automatic call recording (v0.3)

[MOD] Phone.apk with automatic call recording​
Features:
Automatic call recording for incoming/outgoing calls
Added template system for flexible naming of records. No boring VoiceRecord001.amr anymore
Disabled stop recording on some actions related to multi-line calling (i.e Hold, Conference mode, etc)
Disabled stop recording when Dialer minimized to background
Switchable increasing ringtone
Modification consist of 2 packages:
Main package: Phone.apk with automatic call recording
Extra package: contains phone-related modifications (DialerTabActivity.apk at this moment)
nb: Main package still fully-workable without Extra package.
There are two ways to control the modification:
Using embedded "Settings" menu (included in Extra package)
​
Using standalone Automatic Call Recording Control app from Dark3n
​
Features:
-Turn call recording on/off for incoming/outgoing calls.
-Change file naming pattern for recorded calls.
-View .rec_template file
-Optional Prompt to delete recording after Call
-Turn increasing ring On/Off
Click to expand...
Click to collapse
Which way to prefer? You can try both and choose the best for you.
Again, if you are using themed FW and don't want to break your general style by using unthemed apps (e.g DialerTabActivity.apk), so just use a Main package together with an Automatic Call Recording Control app.
All records are save in /sdcard/Sounds/CallRecords/. You can use stock "Voice Recorder" app to playback.
System requirements: Tested on SGS GT-i9000 (XWJS3). Most likely should work on any 2.2.1 FW.
Probably will not work on 2.2 FW's.
[*] Flash using CWM or Recovery 2e.
During update process, script will backup your original files to /sdcard/tmp/
To roll it back, flash update_restore_[main_extra_pkgs] file
History:
Version 0.3:
Now project consist of Main and Extra packages
Main (Phone.apk): Completely changed settings storing mechanism: all settings are saved in /sdcard/rec_settings.xml in XML format
(no more .rec_template, .norec_in, .norec_out files)
Main (Phone.apk): Added "Disable increasing ringtone" option
Main (Phone.apk): Fixed bug with special characters in filename
Extra (DialerTabActivity.apk): Embedded "Settings" menu
Installer: "copy" routines moved from update.sh to native updater-script
(should improve compatibility in some cases. Now *.sh using only for backup/restore procedure)
Updated restoring script
Version 0.2a:
Issue with filepath creation was finally solved.
Version 0.2:
Forced sdcard/Sounds/CallRecords/ creation (if you've got "Fail Recording" it should fix it)
Some works on BT-recording. Need more reports.
Version n/a: initial release
Click to expand...
Click to collapse
Thanks to: designgears, wes58 for files from Asian ROM which enable call recording.
This is seriously what a lot of people like me were looking for I guess. I am going to try it.
ragin said:
This is seriously what a lot of people like me were looking for I guess. I am going to try it.
Click to expand...
Click to collapse
ragin, please feedback...
Thanks
Regards
Oh man! Awesome stuff! I was really in need of something like this
Thanx a million
Downloading now
Awesome...
Really interested in having some feedback on how this works & if its better than Total Recall Call Recorder.
Thanks...
This libaudio.so and libaudioflinger.so has bug. Fring audio and video chat will not have audio out.
ronlkh, i know you worked in this way.
Can we cooperate to fix it?
Confirmed working with Calls made & Calls received.
I have rated this thread with a 5-start that it deserves.
Working perfectly on darky rom 9.3 beta 3
If possible, pl include some option to select whether to keep or not to keep recording after call
Sent from my GT-I9000 (Darky 9.3 beta) using XDA App
antsm said:
ronlkh, i know you worked in this way.
Can we cooperate to fix it?
Click to expand...
Click to collapse
You can use just replace only the libaudiopolicy.so and dont touch other 2files but the conversation recorded could be softer. I am currently testing the libaudio.so and libaudioflinger.so from M110s but still the same. I dont know about coding development but if there is anything i can help I will be available. If I can find a better lib file I will update you.
I am more interested in the callback dialer. If you can code this dialer I will be very happy to help you in developing because I use callback service alot. I know how the procedure works.
cheers!
ragin said:
Confirmed working with Calls made & Calls received.
Click to expand...
Click to collapse
yogeesharma said:
Working perfectly on darky rom 9.3 beta 3
Click to expand...
Click to collapse
Cool!
yogeesharma said:
If possible, pl include some option to select whether to keep or not to keep recording after call
Click to expand...
Click to collapse
Hmm, when call is ended (you press "End call" button or remote side drop it) record is stops. What behavior do you expect?
Thanks mate.. Works smoother in JS5.
Do application like voodoo to choose Recording ON/OFF
It would be nice if we can disable the automatic recording through the settings menu instead of creating files.
ronlkh said:
You can use just replace only the libaudiopolicy.so and dont touch other 2files but the conversation recorded could be softer. I am currently testing the libaudio.so and libaudioflinger.so from M110s but still the same. I dont know about coding development but if there is anything i can help I will be available. If I can find a better lib file I will update you.
Click to expand...
Click to collapse
Thanks for collaboration. I'll check it
ronlkh said:
I am more interested in the callback dialer. If you can code this dialer I will be very happy to help you in developing because I use callback service alot. I know how the procedure works.
Click to expand...
Click to collapse
I haven't enough experience just in Android coding to create app from scratch (need dive into SDK, IDE and so on and have time on it ), but have some C/JAVA experience that's far enough to modify exist applications
atomek1000 said:
Do application like voodoo to choose Recording ON/OFF
Click to expand...
Click to collapse
titooo7 said:
It would be nice if we can disable the automatic recording through the settings menu instead of creating files.
Click to expand...
Click to collapse
It's good idea, but:
need dive into SDK, IDE and so on and have time on it
Click to expand...
Click to collapse
If someone of XDA coders would like to create such simple app (2 checkboxes (for IN/OUT recording), clicking on checkbox creates/deletes .norec_in/.norec_out file) it'll be cool
Found a small bug (thanks to orenzah)
orenzah said:
when i called "*166" it's failed recording...
but when I gave it a name it wasn't failed..
I think there is a problem with saving names with '*'
Click to expand...
Click to collapse
Will be fixed.
Is bluetooth recording working with this?
Any way to get this working on cm7?
Sent from my Galaxy S using XDA App
Rar9 said:
Is bluetooth recording working with this?
Click to expand...
Click to collapse
I don't have BT headset, so not tested, but if it works by default then it will be work with this mod. If it wasn't, then answer is "No"
I haven't touch anything related to BT calling.
Just tried it. Doesn't work with bluetooth. Would love to see this fixed as recording while driving can prove helpful.
SGS Darky 9.3b3 waiting for i9103
Rar9 said:
Just tried it. Doesn't work with bluetooth. Would love to see this fixed as recording while driving can prove helpful.
Click to expand...
Click to collapse
Does anyone already worked in this way on XDA? If so, i could try to talk about implementation.

[DEV] 2-way call recording

The original thread was http://forum.xda-developers.com/showthread.php?t=1422779&page=11 but they said you better go in dev section.
What's on the subject, yes, I fixed that for Nexus. The kernel (omap4) itself needn't be patched, that's great. The TI guys have done a _cool_ work ever, we should be grateful, indeed.
So all you have to do is to change the setup before the call. A sample is in http://avs234.net/temp/rvoix_lib/jni (live.cfg), _full_ sources included.
Please do mail me if you find a bug or anything!
Sincerely
avs333 said:
The original thread was http://forum.xda-developers.com/showthread.php?t=1422779&page=11 but they said you better go in dev section.
What's on the subject, yes, I fixed that for Nexus. The kernel itself needn't be patched, that's great.
All you have to do is change the setup before the call. A sample is in avs234.net/temp/rvoix_lib/jni (life.cfg) with the full sources.
Please do mail me if you find a bug or anything!
Sincerely
Click to expand...
Click to collapse
i dont get it :-/
rico13 said:
i dont get it :-/
Click to expand...
Click to collapse
As of yesterday a real two way call recording is possible with GN.
!crazy said:
As of yesterday a real two way call recording is possible with GN.
Click to expand...
Click to collapse
lets hope they can pull it off
didnt they say the same thing with gingerbread on the galaxy nexus s but were unable to do so?
rico13 said:
lets hope they can pull it off
didnt they say the same thing with gingerbread on the galaxy nexus s but were unable to do so?
Click to expand...
Click to collapse
It has already been pulled off. Check the thread in the OP to see users reporting it working.
Sent from my Galaxy Nexus
Yes, experimental version works excellent for me. For some reason it didn't work with GLaDOS kernel, and with LeanKernel I was getting bad, low, strange(as if both laudspeaker and phone speaker were active during conv.) sound. Both kernels use Sound Control I thin, maybe that has something to do with it?
Faux's Hybrid 015 ultimate works like a charm. Since I am satisfied with it in genera,l I'll stick with it, for a while at least
!crazy said:
Both kernels use Sound Control I thin, maybe that has something to do with it?
Click to expand...
Click to collapse
What's this, Sound Control? If it does really as it's named, expecting some trouble yes as it may disable the proper settings.
Is there a tute for this?
it may be wise to add the resources from the other thread, if there really have to be two co-existent threads.
otherwise the influx of confused people, that somehow are not able to read the other thread will skyrocket.
thanks for the research on how to get the 2-way recording to the maguro.
The incompatibility on GLaDOS and other kernels could be due to the fact that most of the kernel devs remove unnecessary lines of code from stock kernel while developing ( in order to make them leaner and more efficient).
Although it might be supported by stock kernel, they could have accidentally removed the supporting lines of codes considering them a waste of space.
dh33r4j said:
The incompatibility on GLaDOS and other kernels could be due to the fact that most of the kernel devs remove unnecessary lines of code from stock kernel while developing ( in order to make them leaner and more efficient).
Although it might be supported by stock kernel, they could have accidentally removed the supporting lines of codes considering them a waste of space.
Click to expand...
Click to collapse
Yes, that's the point we need to clarify. On GLaDOS, they must be using some non-canonical (i.e. non-TI) version omap4 stuff.
I just dunno figure out why. Does someone have a link, or maybe I'd contact them, it's _interesting_ yes.
http://rootzwiki.com/topic/14685-15-apr-glados-v129/
kernel source
https://github.com/Ezekeel/GLaDOS-nexus-prime/commits/glados-cfs
Might be good to get Franco on this as well, seeing as he has the most popular kernel (according to thread replies/page views).
Sent from my Galaxy Nexus
avs333 said:
Yes, that's the point we need to clarify. On GLaDOS, they must be using some non-canonical (i.e. non-TI) version omap4 stuff.
I just dunno figure out why. Does someone have a link, or maybe I'd contact them, it's _interesting_ yes.
Click to expand...
Click to collapse
http://rootzwiki.com/topic/14685-15-apr-glados-v129/page__st__780
That's link to Ezeekel's support thread.
!crazy said:
Yes, experimental version works excellent for me. For some reason it didn't work with GLaDOS kernel, and with LeanKernel I was getting bad, low, strange(as if both laudspeaker and phone speaker were active during conv.) sound. Both kernels use Sound Control I thin, maybe that has something to do with it?
Faux's Hybrid 015 ultimate works like a charm. Since I am satisfied with it in genera,l I'll stick with it, for a while at least
Click to expand...
Click to collapse
how did you get it working?
im interested in trying this
rico13 said:
how did you get it working?
im interested in trying this
Click to expand...
Click to collapse
It's simple. Install skvalex Alsa Mixer app from the market, and then this
http://forum.xda-developers.com/attachment.php?attachmentid=1002935&d=1334404615
Any suggestions for eliminating the echo/distortion when using bluetooth on AOKP 31 (faux kernel I believe)? Someone mentioned that it might be recording from the phone mic and the bluetooth at the same time.
!crazy said:
It's simple. Install skvalex Alsa Mixer app from the market, and then this
http://forum.xda-developers.com/attachment.php?attachmentid=1002935&d=1334404615
Click to expand...
Click to collapse
thanks a million
sensational!
ive always wanted this since the froyo days
it's excellent when youre going through a divorce
im running the popcorn kernel and the 2way recording seems to be working great.
The other persons voice comes in very clear. My voice sounds a little muffled but can still easily identify what im saying.
Im all open to ideas on how to improve this, but im quite happy with it thus far
where can I donate?
escape2mtns said:
Any suggestions for eliminating the echo/distortion when using bluetooth on AOKP 31 (faux kernel I believe)? Someone mentioned that it might be recording from the phone mic and the bluetooth at the same time.
Click to expand...
Click to collapse
Have you tried changing 'Record a call from' in Call Recorder preferences? You could also try playing with the live.cfg file avs333 mentioned a couple of times.
---------- Post added at 02:21 AM ---------- Previous post was at 02:14 AM ----------
rico13 said:
thanks a million
where can I donate?
Click to expand...
Click to collapse
http://skvalex.com/donate.php
You will also have to buy the app, since it is not free. That is only the testing version which will work up to the first of May.
Thanks! I tried all the sources. The kernel patch source and alsa source both have echo on bluetooth (means I can hear my voice in my ear) and distortion reported by the other party (sounds like I'm in a tin can). I looked at the config and frankly it's greek to me.
I can assist with testing/debug but unfortunately that's about all I can do right now.
Curious... I just noticed that this beta callrecorder with alsa, when recording calls, activates the phones internal earpiece and mic, in addition to bluetooth, when bluetooth is active. So while I was making a test call, I could hear audio in my bluetooth, but when I leaned down near the phone I could hear audio coming from the phone's ear speaker as well. This might explain the echo in my ear along with distortion of my voice heard by the called party. I also covered up the bluetooth mic and leaned down to the phone and I could speak into the phone and hear the audio crystal clear in the bluetooth earpiece.
When I tell callrecorder not to record calls, the problem goes away.

Stereo Speaker Mod for OOS

This module allows the earpiece to be used as speaker, and mods the microphone pickup when recording video. Audio from earpiece might not be as clear as main speaker. This module was tested on Oxygen OS 4.5.5 version, but should work on other versions as well.
This module was originally created by @magura320 for OnePlus 3T. I have used this on OnePlus 3T and now ported to OnePlus 5. This is my first mod on XDA, so please be patient with any issues. Let me know if I have missed any credits and would be happy to add them.
Please visit OnePlus 3T thread for OP 3T downloads..
https://forum.xda-developers.com/oneplus-3t/help/mod-stereo-speakers-t3540948
Downloads:
OP5_Stereo Sound Mod.zip - Install the Mod using custom recovery like TWRP.
OP5_Revert to Stock Sound.zip - Revert the mod using custom recovery like TWRP.
OP5_Stereo Sound Mod_Magisk.zip - Install the Mod through Magisk (No revert step as of now).
mixer_paths_tasha-stereo.xml - If you don't want to install the above mods, you can just replace mixer_paths_tasha.xml in system/etc folder with attached file. (Remove "-stereo" from attached file).
mixer_paths_tasha-stock.xml - If something goes wrong, you can just replace mixer_paths_tasha.xml in system/etc folder with attached file. (Remove "-stock" from attached file).
Credits:
@magura320 - For original mod creation
@SpasilliumNexus - Magisk mod for OnePlus 3T
Is there any possibility to hardware damage to the earspeaker?
Thanks for providing this mod!!! Works great!!
Sent from my ONEPLUS A5000 using XDA-Developers Legacy app
Mikulec said:
Is there any possibility to hardware damage to the earspeaker?
Click to expand...
Click to collapse
Yes there absolutely is, have seen these in the past on other singular speaker devices and although they work amazingly well there is always a risk.
What does "mods the microphone pickup when recording video" mean exactly?
For those of us that use Viper to enhance the phone speaker, this might be a really bad idea. I can just see the tiny earpiece speaker dying under the extra boost given by other sound mods. This is a great idea though and I would love to use it. Is there a way to regulate the level of sound out of that top speaker or is it just opening the flood gates and using the same power as the real phone speaker?
Awesome, i miss this dual sound mod on my S7 Edge, now i retrieved this mod on my OP5 yeahhhhhh
Thanks !
xgerryx said:
For those of us that use Viper to enhance the phone speaker, this might be a really bad idea. I can just see the tiny earpiece speaker dying under the extra boost given by other sound mods. This is a great idea though and I would love to use it. Is there a way to regulate the level of sound out of that top speaker or is it just opening the flood gates and using the same power as the real phone speaker?
Click to expand...
Click to collapse
I tested it and the earpiece is actually softer than the speaker. But you can definitely hear it when watching videos.
MrKhozam said:
I tested it and the earpiece is actually softer than the speaker. But you can definitely hear it when watching videos.
Click to expand...
Click to collapse
That's a good thing cause it may damage if it's too loud.
Very well works without problems. I'm excited
Thanks for that. Working without a problem, using magisk version.
secXces_debaki said:
Thanks for that. Working without a problem, using magisk version.
Click to expand...
Click to collapse
can you have call in whatsapp / messenger (fb)? because when i was using this on my OnePlus One i couldn't call for unknown reason
uhh186 said:
What does "mods the microphone pickup when recording video" mean exactly?
Click to expand...
Click to collapse
Perhaps it means record in stereo?
Will the same magisk mod work with OP3 as for op5 since there is no seperate link provided?
I did install this. I'm still apprehensive about turning it up too loud but it works well. It doesn't give off a ton of extra sound but it does sound more balanced which is nice.
Can u also make for Leeco le max 2
Is the stock mixer_paths_tasha for op5 only or both 3t nd 5? It'd be great if we manually can edit the mixer_paths section if that stereo editing section is reveled.
ranaxda200 said:
Is the stock mixer_paths_tasha for op5 only or both 3t nd 5? It'd be great if we manually can edit the mixer_paths section if that stereo editing section is reveled.
Click to expand...
Click to collapse
This is only for OP 5...I will link the OP 3T file in OP in sometime...
Make it available for the stock recovery also
I've purchased op5 just now and I'm in no mood to install TWRP now but still wanna try this so can you make it available for flashing it to the stock recovery
Deekshan95 said:
I've purchased op5 just now and I'm in no mood to install TWRP now but still wanna try this so can you make it available for flashing it to the stock recovery
Click to expand...
Click to collapse
Without flashing TWRP you can't have root. My understanding is you need root or TWRP to install this. Pretty sure (like 99.9999%) that you can't flash stuff like this from stock recovery... Otherwise what would be the point of TWRP in the first place.
Sent from my OnePlus5 using XDA Labs

[MOD][7.1.2] Aldeon Surround Sound Mod for S6/S7

It is finally here, just for you, AOSP 7.1 users: a mod to get surround sound on your S6
I'm presenting to you my work: Aldeon Surround Sound
Download the attachment, go to /system/etc and rename the existing mixer_paths_0.xml to mixer_paths_0.xml.bak then copy the new mixer_paths_0.xml and change the permissions to rw-r--r-- or 0644.
It won't damage your earpiece so keep calm
Features:
- louder than stock
- left and right channels
- better for utilisation in landscape
To download on mobile just use Chrome, long press on attachment and click "Download link".
To adjust the volumes:
- open /system/etc/mixer_paths_0.xml
- search for "Output volume stage" then look at the "gain-media-speaker" path
- decrease or increase by 2 or more (not recommended) the "46" and "36" values (2 values for HPOUT3 and 2 for AIF4TX) to the values you want
Don't ask me "Does this mod work on XYZ ROM?". The answer is "I don't know, test and report!".
It should be compatible with all models. If you have the Canadian version, download the second attachment and remove that " (w8)" from its name.
Compatible with all 7.1 ROMs.
Reported to be compatible with S7
If you want to use this in your ROM, give me the proper credits and you are done.
Credits to @AlexisXDA for his original work on the 7.0 Surround Sound. After converting his changes to a "patch" I was able to apply that "patch" to our mixer_paths_0.xml. It needed a lot of testing.
Think you need to give @AlexisXDA proper credits on this project.
CODEG33K said:
Think you need to give @AlexisXDA proper credits on this project.
Click to expand...
Click to collapse
Done.
Holy **** this works on my S7 edge too haha. Both speakers are separated channels but when there's audio at the left channel it'll be play on the bottom speaker too
How do I change its permission?
sooyongjie said:
Holy **** this works on my S7 edge too haha. Both speakers are separated channels but when there's audio at the left channel it'll be play on the bottom speaker too
Click to expand...
Click to collapse
Wow that's amazing! The bottom speaker issue is just a limitation.
MMunir said:
How do I change its permission?
Click to expand...
Click to collapse
Use Solid Explorer then long press on the file, click Properties, then Attributes and check all the read permissions then click Apply.
minealex2244 said:
It is finally here, just for you, AOSP 7.1 users: a mod to get surround sound on your S6
I'm presenting to you my work: Aldeon Surround Sound
Download the attachment, go to /system/etc and rename the existing mixer_paths_0.xml to mixer_paths_0.xml.bak then copy the new mixer_paths_0.xml and change the permissions to rw-r--r-- or 0644.
It won't damage your earpiece so keep calm
Features:
- louder than stock
- left and right channels
- better for utilisation in landscape
To download on mobile just use Chrome, long press on attachment and click "Download link".
Click to expand...
Click to collapse
Thanks for sharing!
Edit: Just checked out the Mod and it doesn't look like it has any adverse effect on V4A-Arise - Works on herolte S7 SM-G930W8 RR ?
From Down the Rabbit Hole by:
My SM-G930W8 ??
Has anyone had any issues with people not being able to hear you during phone calls after applying this Mod? It may just be a coincidence - But after applying the mixer_path mod I started having trouble with calls - Dirty Flashed the Rom and calls are working properly again... Galaxy S7 SM-G930W8 running Resurrection Remix 7.1.2 r_24.
From Down the Rabbit Hole by:
My SM-G930W8 ??
shaggyskunk said:
Has anyone had any issues with people not being able to hear you during phone calls after applying this Mod? It may just be a coincidence - But after applying the mixer_path mod I started having trouble with calls - Dirty Flashed the Rom and calls are working properly again... Galaxy S7 SM-G930W8 running Resurrection Remix 7.1.2 r_24.
From Down the Rabbit Hole by:
My SM-G930W8
Click to expand...
Click to collapse
No issues on S6. Maybe it needs to be properly ported to S7.
shaggyskunk said:
Has anyone had any issues with people not being able to hear you during phone calls after applying this Mod? It may just be a coincidence - But after applying the mixer_path mod I started having trouble with calls - Dirty Flashed the Rom and calls are working properly again... Galaxy S7 SM-G930W8 running Resurrection Remix 7.1.2 r_24.
From Down the Rabbit Hole by:
My SM-G930W8
Click to expand...
Click to collapse
I found out what the issue was. I'll make a separate version for G93xW8.
minealex2244 said:
I found out what the issue was. I'll make a separate version for G93xW8.
Click to expand...
Click to collapse
Great & Thanks - Looking forward to testing it out
From Down the Rabbit Hole by:
My SM-G930W8 ??
shaggyskunk said:
Great & Thanks - Looking forward to testing it out
From Down the Rabbit Hole by:
My SM-G930W8
Click to expand...
Click to collapse
It's done. Tell me if it works now
minealex2244 said:
It's done. Tell me if it works now
Click to expand...
Click to collapse
Awesome! I'll test it out in a couple of hours and let you know ??
From Down the Rabbit Hole by:
My SM-G930W8 ??
I can't play music from Poweramp with speakers.. Do you guys have the same issue? (S6 g920f aokp)
shaggyskunk said:
Awesome! I'll test it out in a couple of hours and let you know
From Down the Rabbit Hole by:
My SM-G930W8
Click to expand...
Click to collapse
The testing took so long The results?
sieerra said:
I can't play music from Poweramp with speakers.. Do you guys have the same issue? (S6 g920f aokp)
Click to expand...
Click to collapse
For me it's working in NexusOS and LineageOS so it should work on AOKP as well.
minealex2244 said:
For me it's working in NexusOS and LineageOS so it should work on AOKP as well.
Click to expand...
Click to collapse
There was a problem with poweramp sorry about that.
However ear piece is too loud and causes some distortion with bass effects. It wasn't present in the stock rom. I'll be very happy if u fix this thanks.
sieerra said:
There was a problem with poweramp sorry about that.
However ear piece is too loud and causes some distortion with bass effects. It wasn't present in the stock rom. I'll be very happy if u fix this thanks.
Click to expand...
Click to collapse
I'll add in OP a method to adjust the sound volume.
shaggyskunk said:
Awesome! I'll test it out in a couple of hours and let you know
From Down the Rabbit Hole by:
My SM-G930W8
Click to expand...
Click to collapse
Are you still on XDA? I still need your feedback.
minealex2244 said:
Are you still on XDA? I still need your feedback.
Click to expand...
Click to collapse
Yup - Still here ?
Sent from my SM-G955W ??

[NEW][MOD][v3] Dual Speaker Mod For Xiaomi Mi A1

Disclaimer :
Code:
I am not responsible for any damage to your device!
Use this mod at your own risk!
Introduction to The New Dual Speaker Mod For Mi A1!
This mod is for ROMs with 4.9 kernel. Stock ROM will not work, and I will not develop one for stock! This mod enables the earpiece to played simultaneously with the speaker for a stereo effect.
This mod will be updated to get the max out of it. So PLEASE, no ETAs asked!
Compatible Mods :
- Viper4Android
Contributors :
@Jt380p
@mitux
@rexendz
@mparmpas122321
Download :
https://drive.google.com/file/d/1HwjZHX1i8C0VO81SukCmz7sK-oTsbSVh/view? (Flash with Magisk Manager)
Source :
https://www.youtube.com/watch?v=Su9Af-jrJWQ
https://forum.xda-developers.com/android/development/mod-dual-speaker-soundmod-devices-root-t3735280
Audio files provided by @rexendz with PE CAF
Thanks to :
@Dante63 for the tutorial
@topjohnwu for Magisk
@joeyhuab for adding device check
Created : 15/4/2019
Last updated : 4/5/2019
I thought it's not woking, Can you make the earpiece sound louder?
gabwielcastwo said:
I thought it's not woking, Can you make the earpiece sound louder?
Click to expand...
Click to collapse
I just copied the settings from the earpiece. So it's obviously not going to be loud. I have to wait for my phone to be repaired and flash a custom rom again. So I can do more testings. It was confirmed working by a friend of mine, I didn't conduct any testings in person, so I don't know how it sounds.
well, i can confirm it works fine on EvoX rom, sounds good
Thanks friend!
I'll be certainly flashing this ?
berezker said:
well, i can confirm it works fine on EvoX rom, sounds good
Click to expand...
Click to collapse
How was the loudness of earpiece?
gabwielcastwo said:
How was the loudness of earpiece?
Click to expand...
Click to collapse
Too loud because the rom's default earpiece volume is 91. I had to manually decrease it to 85 in mixer_paths
berezker said:
Too loud because the rom's default earpiece volume is 91. I had to manually decrease it to 85 in mixer_paths
Click to expand...
Click to collapse
What line is the volume for earpiece sir?
fhsd22 said:
What line is the volume for earpiece sir?
Click to expand...
Click to collapse
<ctl name="DEC1 Volume" value="XX"/>
In the rom I'm using(Evolution X), the xx value is 91 so it might be different from yours
I think 85 is the sweet spot
---------- Post added at 03:35 AM ---------- Previous post was at 03:33 AM ----------
fhsd22 said:
What line is the volume for earpiece sir?
Click to expand...
Click to collapse
<ctl name="DEC1 Volume" value="XX"/>
In the rom I'm using(Evolution X), the xx value is 91 so it might be different from yours
I think 85 is the sweet spot
dont spread wrong info please
dec1 volume is not related to earpiece volume,its related to mic reciever that how well it recieves audio from different distance
it is no way going to effect output audio
if u really want to increase earpiece volume
edit rx1 digital volume value upto 91(safe limit)
2)installing okk dosent mean its working
first check if the audio really coming from earpiece??
Thanks, works fine on latest Evo, good job :good:
rkview37 said:
dont spread wrong info please
dec1 volume is not related to earpiece volume,its related to mic reciever that how well it recieves audio from different distance
it is no way going to effect output audio
if u really want to increase earpiece volume
edit rx1 digital volume value upto 91(safe limit)
2)installing okk dosent mean its working
first check if the audio really coming from earpiece??
Click to expand...
Click to collapse
How is it wrong information? DEC1 is related to earpiece volume and like i said, this is on Evolution X rom so i don't know if it differs from other roms, even the developer himself that I work with in testing is confirming this. Do some research before accusing people
i m 100% sure about what i said
no more arguement,not going to waste my reply for winning in arguement
rkview37 said:
i m 100% sure about what i said
no more arguement,not going to waste my reply for winning in arguement
Click to expand...
Click to collapse
I think I'm going to have to clean the thread. Lmao
Unfortunately the earpiece volume is too low for the difference to be noticeable.
sainth4tred said:
Unfortunately the earpiece volume is too low for the difference to be noticeable.
Click to expand...
Click to collapse
Like I've said I didn't test it on my phone, so I don't want to blow anyone's earpiece. Now that I've installed PE CAF on mine, I could test it. However, I'm trying to get my module onto magisk-repo (aka the download page), but the moderators are so strict and rude. It'll take a while before I could update it. Thanks for understanding.
WhatzIt2Ya said:
Like I've said I didn't test it on my phone, so I don't want to blow anyone's earpiece. Now that I've installed PE CAF on mine, I could test it. However, I'm trying to get my module onto magisk-repo (aka the download page), but the moderators are so strict and rude. It'll take a while before I could update it. Thanks for understanding.
Click to expand...
Click to collapse
Of course, and thank you for your work. Wasn't trying to be rude or anything, I just reported what I noticed! Keep up the work!
Does this mod provide actual stereo or is it just dual speakers playing mono?
gougous3 said:
Does this mod provide actual stereo or is it just dual speakers playing mono?
Click to expand...
Click to collapse
Just added the earpeice to play simultaneously, but it does sound somewhat stereo.
Doesn't work if AML is enabled.

Categories

Resources