Magisk Module HELP - Please - Magisk

Hello guys im trying from long time to understand why Gcam no matter from the version the slow motion never worked on HTC 10 and i think is related to the media_profiles.xml because we miss some important lines in order the Slow Motion to work properly.
Anyway sometimes when the things go wrong and edit manually the Media xml file i can recive a nasty bootlopp and in order to not repeat the same all the times
can anyone who is familiar with Magisc create a simple module?! for test purpose.
This lines to be added to the Media_profiles.xml
No mater from the Buld you know that the Gcam always crash and force close when you switch to Slow Motion
But only with this MOD magisk module
https://forum.xda-developers.com/apps/magisk/module-gcam-patch-t3677993
In every build ive try i was able to switch to Slow Mo without a crash also im able to press the button of recorder and i saw the sign 120 FPS under slow motion the problem is that for now the VIEWER freeze and im not able to record a video.
But this module only add some lines in the media_presets xml so thats why i think we are close and im sure is something related just for the xml file something in our HTC 10 is different in that media profiles xml and we need to find out what exactly!
I think the GCAM cant read the seeting correctly from the XML if they are not corectly set or writen.
for example in my Media profiles by default the SLOW MOTION is missing but this dont preven the Stock HTC CAM to record slow mo maybe we have to add this in order if we want to make GCAM to work as well
If you wish chek your media_profiles.xml do u have something similar i think this is the correct lines that we are missing and have to add this line but because im tired of bootlops if im wrong everytime im looking for methood how to use it like a MODULE and in case something went wrong to be able to revert back to stock.
In the magisk module above some of the lines are incorrect and maybe thats why the view freeze
and think this are the correct we all have to add.
<!-- CAMCORDER_QUALITY_HIGH_SPEED_HIGH/720P : [email protected]; 27.0 Mbps -->
<EncoderProfile quality="highspeedhigh" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="27000000"
width="1280"
height="720"
frameRate="120" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="highspeed720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="27000000"
width="1280"
height="720"
frameRate="120" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<!-- CAMCORDER_QUALITY_HIGH_SPEED_HIGH/1080P : [email protected]; 34.0 Mbps -->
<EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="34000000"
width="1920"
height="1080"
frameRate="60" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
I think this is the missing part for the Slow Motion to work properly on HTC 10 and few other devices as well, because we by default don`t have that config in our media profiles.
Will be very thankfull.
Thanks

Hi
I have a xiaomi mi a1 and have the same problem. Even with the module you refered slow motion crashes gcam.
I've tried one other module here https://forum.xda-developers.com/apps/magisk/module-hevc-60fps-slomo-gcam-op3t-5-t3666287 and I can film at 120frames but it's laggy (filming and playing). I think it's because it is specific for those models.
I also would like to try a module that only adds the necessary lines to media_profiles.xml, but I don't know how to do it.
Did you try to talk with the gcam module creator to see if he can try to do one like you describe?
regards

Related

[Q] Changing recording video format on my samsung captivate

How do I change the recording video format on my samsung captivate.
It has froyo now and is rooted....before I was recording videos as .3GP and now it is recording as .mp4. How do I go back to .3gp?
thanks a bunch.
stanislasnancy said:
How do I change the recording video format on my samsung captivate.
It has froyo now and is rooted....before I was recording videos as .3GP and now it is recording as .mp4. How do I go back to .3gp?
thanks a bunch.
Click to expand...
Click to collapse
I'm not sure you can. Why would you want to go back to using .3gp?
well I got used to .3gp.
do you know the differences? between the two....
which one is preferable?
Mp4 is better.
Sent from my SAMSUNG-SGH-I897 using XDA App
The file /system/etc/media_profile.xml has this in it:
Code:
<CamcorderProfiles>
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<Video codec="m4v"
bitRate="3000000"
width="720"
height="480"
frameRate="24" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="low" fileFormat="3gp" duration="30">
<Video codec="m4v"
bitRate="256000"
width="176"
height="144"
frameRate="15" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<ImageEncoding quality="90" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
<Camera previewFrameRate="0" />
</CamcorderProfiles>
I don't know if changing that will result in what you seek.
So this is weird: it does create the videos in. Mp4 format but somehow changes it to. 3gpp format...I believe after rebooting or mount/unmount sd card by plugging to pc...does anyone know why?

(How To / MOD) Microphone Gain Increase on All S5 Variants + Mod *Update 02/11/16

Well everybody, as it has been asked many times now so i bring you the guide to increase the ""Microphone Gain"" on lollipop.
You will need to make some changes to the mixer_paths.xml content located in system/etc.
Open in Notepad++ or editor of choice and search for <path name="rec-main-mic">.
See below for what to edit,be careful not to adjust more than the value stated.
Save and set permissions to 644 or rw-r-r then reboot.
<!-- ================================================================>
<!-- Recording Scenario -->
<path name="rec-main-mic">
<path name="main-mic" />
<ctl name="DEC2 Volume" value="95" /> <------------- Increase Value to 106
</path>
<path name="rec-sub-mic">
<path name="sub-mic" />
<ctl name="DEC4 Volume" value="94" /> <------------- Increase Value to 106
</path>
<path name="rec-headset-mic">
<path name="ear-mic" />
<ctl name="ADC2 Volume" value="14" />
<ctl name="DEC5 Volume" value="72" /> <------------- Increase Value to 106
</path>
<path name="rec-stereo-mic">
<ctl name="Main Mic Delay" value="4" />
<path name="sub-main-mic" />
<ctl name="DEC2 Volume" value="95" /> <------------- Increase Value to 106
<ctl name="DEC4 Volume" value="94" /> <------------- Increase Value to 106
</path>
<path name="rec-high-gain-main-mic">
<path name="main-mic" />
<ctl name="DEC2 Volume" value="87" /> <------------- Increase Value to 106
</path>
<path name="rec-high-gain-sub-mic">
<path name="sub-mic" />
<ctl name="DEC4 Volume" value="87" /> <------------- Increase Value to 106
</path>
<path name="rec-high-gain-headset-mic">
<path name="ear-mic" />
<ctl name="ADC2 Volume" value="14" />
<ctl name="DEC5 Volume" value="84" /> <------------- Increase Value to 106
</path>
<path name="rec-high-gain-stereo-mic">
<path name="sub-3rd-mic" />
<ctl name="DEC2 Volume" value="87" /> <------------- Increase Value to 106
<ctl name="DEC4 Volume" value="87" /> <------------- Increase Value to 106
</path>
<path name="rec-NS-mic-interview">
<ctl name="ES705 TX1 Enable" value="1" />
<path name="main-sub-mic" />
<ctl name="DEC2 Volume" value="87" />
<ctl name="DEC4 Volume" value="87" />
<ctl name="ES705-AP Tx Channels" value="One" />
<ctl name="Internal Route Config" value="7" />
</path>
<path name="rec-NS-mic-conversation">
<ctl name="ES705 TX1 Enable" value="1" />
<path name="main-sub-mic" />
<ctl name="DEC2 Volume" value="87" />
<ctl name="DEC4 Volume" value="87" />
<ctl name="ES705-AP Tx Channels" value="One" />
<ctl name="Internal Route Config" value="8" />
</path>
<path name="rec-NS-mic-conference">
<path name="main-sub-mic" />
<ctl name="DEC2 Volume" value="87" />
<ctl name="DEC4 Volume" value="87" />
</path>
<!-- end of Recording Scenario -->
You "WILL" have to reflash the mod after each ROM update
Hope this helps :good:
Downloads:
Attached At Bottom Of Post
Versions Explained:
10.x version is just a standard up-scaled mic and speaker gain..
11.x Same as 10.x but uses the internal speaker as well as loud speaker for sound playback
Credits to: @byte9 @stalli0nUK @langeveld024 @oetzi83
thejester123 said:
Credits to: @byte9
Click to expand...
Click to collapse
Ideally CM would take it serious and patch in upstream but they stand by "we use the same values as Samsung" which clearly is broken if ANY testing had been done.
Most people don't even catch the gain issue as the volume stands out a lot more. For me the fix comes with the xml and long term will probably be with a new phone.
Moto X Pure or Note 5 incoming.
Can you also make a file for better (very) loud recordings?
Can you also edit, that in normal recording volume its like on stock?
phoberus said:
Can you also make a file for better (very) loud recordings?
Can you also edit, that in normal recording volume its like on stock?
Click to expand...
Click to collapse
I will upload a "Stock" version but if you backup your original before flashing the zip then you can always reverse the changes . The recording mic gain is pretty loud in my mod, you can increase it more but I do not recommend this at all.
thejester123 said:
I will upload a "Stock" version but if you backup your original before flashing the zip then you can always reverse the changes . The recording mic gain is pretty loud in my mod, you can increase it more but I do not recommend this at all.
Click to expand...
Click to collapse
Sorry, I think I writed it a little bit wrong.
I mean a zip to record in loud places, not loud audiofiles. For example, at a concert
But the mic volume on phonecalls and peaceful surroundings should like stock, is this possible?
Okay, I tried the modified file for one day and it is a bit too loud for me. When I was driving and you had driving sound in the background while recording a voice message in WhatsApp it sounds very distorted.. When it is quiet around you it is very good. Is there anything I can do against this? Maybe lower the values a bit? So if I lower it do I have to lower all values?
The microphone is definitely not as good as my galaxy S2's microphone, that has a superb audio quality.. I guess Samsung makes savings on microphone quality or it is limited by settings..
I don't know if it would be helpful to send you the xml File of my S2 to compare the values. There I had installed CM11 and sound was great
Regards
Sent from my GT-I9100 using german Tapatalk 4
j1gga84 said:
Okay, I tried the modified file for one day and it is a bit too loud for me. When I was driving and you had driving sound in the background while recording a voice message in WhatsApp it sounds very distorted.. When it is quiet around you it is very good. Is there anything I can do against this? Maybe lower the values a bit? So if I lower it do I have to lower all values?
The microphone is definitely not as good as my galaxy S2's microphone, that has a superb audio quality.. I guess Samsung makes savings on microphone quality or it is limited by settings..
I don't know if it would be helpful to send you the xml File of my S2 to compare the values. There I had installed CM11 and sound was great
Regards
Sent from my GT-I9100 using german Tapatalk 4
Click to expand...
Click to collapse
You can send it and I will compare the two files, I will take a look at lowering the values and see where we can improve the quality , thanks for the feedback..
phoberus said:
Sorry, I think I writed it a little bit wrong.
I mean a zip to record in loud places, not loud audiofiles. For example, at a concert
But the mic volume on phonecalls and peaceful surroundings should like stock, is this possible?
Click to expand...
Click to collapse
The mod does not affect the mic during phone calls, that remains untouched. I am looking into making it a little more audible in loud environments.
http://d-h.st/zQOs <-- Right I have given this one a test round my screaming kids and there is minimal if an distortion when making whatsapp voice messages @j1gga84 . Will update OP later on today...
thejester123 said:
You can send it and I will compare the two files, I will take a look at lowering the values and see where we can improve the quality , thanks for the feedback..
Click to expand...
Click to collapse
Many thanks, I will send you the file after work today evening
regards
thejester123 said:
The mod does not affect the mic during phone calls, that remains untouched. I am looking into making it a little more audible in loud environments.
Click to expand...
Click to collapse
Just to clarify.......This mod does not change ANYTHING for your average phone call conversation. Correct?
Stupifier said:
Just to clarify.......This mod does not change ANYTHING for your average phone call conversation. Correct?
Click to expand...
Click to collapse
Yes that is correct
I can't wait to try this... Thanks!
thejester123 said:
You can send it and I will compare the two files, I will take a look at lowering the values and see where we can improve the quality , thanks for the feedback..
Click to expand...
Click to collapse
Damn I am on Android 4.4.4 (SlimSaber, a derivate of SlimKat) on my old Galaxy S2 and there I cannot find that file..
Do you know if it is maybe somewhere else under KitKat?
EDIT:
Okay I checked the new file, it is better but still a bit scratched in the peaks. What did you changed compared to the first file? I would also say, that the voice is a bit deeper than on my Galaxy S2 but I think that is not settings related but hardware
regards
j1gga84 said:
Damn I am on Android 4.4.4 (SlimSaber, a derivate of SlimKat) on my old Galaxy S2 and there I cannot find that file..
Do you know if it is maybe somewhere else under KitKat?
EDIT:
Okay I checked the new file, it is better but still a bit scratched in the peaks. What did you changed compared to the first file? I would also say, that the voice is a bit deeper than on my Galaxy S2 but I think that is not settings related but hardware
regards
Click to expand...
Click to collapse
I dropped the "rec-high-gain" areas by 10 that was all so perhaps a little more fine tuning and we will have this bad boy perfect . Thanks for your testing,feedback and patience...
Noob Question
deleted
thejester123 said:
I dropped the "rec-high-gain" areas by 10 that was all so perhaps a little more fine tuning and we will have this bad boy perfect . Thanks for your testing,feedback and patience...
Click to expand...
Click to collapse
Good morning,
many thanks again for your work
I checked it again while driving today. It is better than with the first file but still a bit distorted in the peaks.
Volume is good but quality is still a bit "scratched"
I could also record a sound file in whatsapp and send it to you via Mail if you need it for further improvement
If everything is ok I will share your thread in german android-hilfe forum and translate it to german
Btw. I found a very little error in the opener: "Back to Sock Zip" - I think you mean Stock Zip
regards
That is not a problem at all @j1gga84. Haha, minor spelling errors darn it, I have a new file to upload when I get to my laptop
is increasing the gain better for a quiet environment or a loud compared to stock?
phoberus said:
is increasing the gain better for a quiet environment or a loud compared to stock?
Click to expand...
Click to collapse
I would say for a quiet environment because microphone gets more sensitive, in a lound environment it gets distorted but thejester123 is still optimizing the file and the one you can download right now is much better than the first one from yesterday :good:
regards

Speaker imbalance. Possible solution?

I made a thread previously about a speaker imbalance problem. Since that old thread was settled, I decided to make a new one with some more information about a possible fix. As I said in the previous thread that I am a serious noob only having my Android for a few days now, so go easy on me with the fancy lingo. This is a copy of what I posted in my old thread:
Greetings. I received my Nexus 6 from Amazon. It seems as though the top speaker is considerably louder than the bottom. When I flip the phone upside down, it is still the top speaker that is louder. When I turn the phone to landscape mode, it is the right speaker that it louder. I flip the orientation to where the former right speaker is now the left and vice versa. It's the same problem where the right speaker (the former left speaker) is still louder.
Motorola is advance shipping me a new N6, but in the meantime I am still tinkering with this old phone. I did discover something that caught my attention. In /system/etc/mixer_paths.xml there are a few lines that looked odd to me. I backed up the .xml file and tried to edit the orignal in ES Explorer using ES Note Editor and QuickEdit in order to set both boost values to 2. It won't allow me to save the file saying "Error occurred when trying to save file. It will not be saved. No enough space!" (yes it said "NO" enough space). I tried my heart out to figure out how to save the edited file using CHMOD in both ES Explorer and TWRP with no luck. I am thinking these reversed boost values may be the problem. BTW the headphone jack is totally fine and plays stereo with equal balance. Phone is rooted and I am using N6.ElementalX.3.0 Android version 6.0.1.
<path name="speaker">
<ctl name="QUAT_MI2S_RX Channels" value="Two" />
<!-- Disable earpiece mode -->
<ctl name="BOOST earpiece mode" value="Off" />
<!-- Select Left channel on Left IC bypass mode -->
<ctl name="BOOST Left Ch Select" value="1" />
<!-- Select Right channel on Right IC bypass mode -->
<ctl name="BOOST Right Ch Select" value="2" />
<!-- Enable Mixers to power up Left and Right IC's -->
<ctl name="BOOST_STUB Right Mixer right" value="1" />
<ctl name="BOOST_STUB Left Mixer left" value="1" />
</path>
<path name="speaker-reverse">
<ctl name="QUAT_MI2S_RX Channels" value="Two" />
<!-- Disable earpiece mode -->
<ctl name="BOOST earpiece mode" value="Off" />
<!-- Select Left channel on Left IC bypass mode -->
<ctl name="BOOST Left Ch Select" value="2" />
<!-- Select Right channel on Right IC bypass mode -->
<ctl name="BOOST Right Ch Select" value="1" />
<!-- Enable Mixers to power up Left and Right IC's -->
<ctl name="BOOST_STUB Right Mixer right" value="1" />
<ctl name="BOOST_STUB Left Mixer left" value="1" />
http://forum.xda-developers.com/showthread.php?t=3236518
There's some information in there about some calibration but idk if it applies to your situation or not????
I've tried in Pandora and BSPlayer and not getting any noticeable difference in volume from one speaker to another. Stock, rooted, 5.1.1. What version are you on? Do you find this happens for all apps?
toastgodsupreme said:
I've tried in Pandora and BSPlayer and not getting any noticeable difference in volume from one speaker to another. Stock, rooted, 5.1.1. What version are you on? Do you find this happens for all apps?
Click to expand...
Click to collapse
I tried Jet Audio and 2 random MP3 players that I DL'd from the Play Store. It also happens on Youtube. When I am on speaker phone, I get a similar but not identical problem. On speaker phone in landscape mode, the right speaker is louder. When I change orientation, the same speaker that was on the right that is now on the left is still louder. I am using N6.ElementalX.3.0 Android version 6.0.1. The problem was there when the phone was stock. I just now tried a game called Jeweled and the issue is also in that game. Just DL'd Pandora and the same. Headphones are fine with equal balance regardless of orientation. Would really like to be able to edit and save that xml file to see if that works.
If you disable the MusicFX app, does the problem persist? I've had it disabled since day 1 of my device so I don't know how much impact it could have.
toastgodsupreme said:
If you disable the MusicFX app, does the problem persist? I've had it disabled since day 1 of my device so I don't know how much impact it could have.
Click to expand...
Click to collapse
Hi. Thanks for your interest. I don't know if MusicFX is part of the stock N6 ROM because I only had it stock for a few hours. However, I am running N6.Elemntalx.3.0 after a full wipe, and I don't see it installed on the system. I clicked the Apps button and don't see it there.
Bigwaverider said:
Hi. Thanks for your interest. I don't know if MusicFX is part of the stock N6 ROM because I only had it stock for a few hours. However, I am running N6.Elemntalx.3.0 after a full wipe, and I don't see it installed on the system. I clicked the Apps button and don't see it there.
Click to expand...
Click to collapse
It never showed up in the app list for me as well but it did exist. I disabled it via titanium backup (freeze method).
It may not even have any effect on this for you. I'm just trying to think of why my device would behave differently than yours.
toastgodsupreme said:
It never showed up in the app list for me as well but it did exist. I disabled it via titanium backup (freeze method).
It may not even have any effect on this for you. I'm just trying to think of why my device would behave differently than yours.
Click to expand...
Click to collapse
I downloaded Titanium Backup. Hope I did it right, although it does seem fool proof, but I clicked on Backup/Restore and to see all my apps. I looked for MusicFX and didn't see it.
Bigwaverider said:
I made a thread previously about a speaker imbalance problem. Since that old thread was settled, I decided to make a new one with some more information about a possible fix. As I said in the previous thread that I am a serious noob only having my Android for a few days now, so go easy on me with the fancy lingo. This is a copy of what I posted in my old thread:
Greetings. I received my Nexus 6 from Amazon. It seems as though the top speaker is considerably louder than the bottom. When I flip the phone upside down, it is still the top speaker that is louder. When I turn the phone to landscape mode, it is the right speaker that it louder. I flip the orientation to where the former right speaker is now the left and vice versa. It's the same problem where the right speaker (the former left speaker) is still louder.
Motorola is advance shipping me a new N6, but in the meantime I am still tinkering with this old phone. I did discover something that caught my attention. In /system/etc/mixer_paths.xml there are a few lines that looked odd to me. I backed up the .xml file and tried to edit the orignal in ES Explorer using ES Note Editor and QuickEdit in order to set both boost values to 2. It won't allow me to save the file saying "Error occurred when trying to save file. It will not be saved. No enough space!" (yes it said "NO" enough space). I tried my heart out to figure out how to save the edited file using CHMOD in both ES Explorer and TWRP with no luck. I am thinking these reversed boost values may be the problem. BTW the headphone jack is totally fine and plays stereo with equal balance. Phone is rooted and I am using N6.ElementalX.3.0 Android version 6.0.1.
<path name="speaker">
<ctl name="QUAT_MI2S_RX Channels" value="Two" />
<!-- Disable earpiece mode -->
<ctl name="BOOST earpiece mode" value="Off" />
<!-- Select Left channel on Left IC bypass mode -->
<ctl name="BOOST Left Ch Select" value="1" />
<!-- Select Right channel on Right IC bypass mode -->
<ctl name="BOOST Right Ch Select" value="2" />
<!-- Enable Mixers to power up Left and Right IC's -->
<ctl name="BOOST_STUB Right Mixer right" value="1" />
<ctl name="BOOST_STUB Left Mixer left" value="1" />
</path>
<path name="speaker-reverse">
<ctl name="QUAT_MI2S_RX Channels" value="Two" />
<!-- Disable earpiece mode -->
<ctl name="BOOST earpiece mode" value="Off" />
<!-- Select Left channel on Left IC bypass mode -->
<ctl name="BOOST Left Ch Select" value="2" />
<!-- Select Right channel on Right IC bypass mode -->
<ctl name="BOOST Right Ch Select" value="1" />
<!-- Enable Mixers to power up Left and Right IC's -->
<ctl name="BOOST_STUB Right Mixer right" value="1" />
<ctl name="BOOST_STUB Left Mixer left" value="1" />
Click to expand...
Click to collapse
Motorola agreed to ship me an like new Nexus 6. How were you able to get a new one ? What number did you call ?
akshay_bombay said:
Motorola agreed to ship me an like new Nexus 6. How were you able to get a new one ? What number did you call ?
Click to expand...
Click to collapse
1-800-668-6765 They were somewhere in Central America. Mine was literally a few hours old when I called them.
Same issue here.
The top speaker (earpiece) is slightly louder in all orientations (and applications) than the bottom speaker.
Sent from my Nexus 6 using Tapatalk
---------- Post added at 01:59 PM ---------- Previous post was at 01:04 PM ----------
Code:
<path name="speaker">
<ctl name="QUAT_MI2S_RX Channels" value="Two" />
<!-- Disable earpiece mode -->
<ctl name="BOOST earpiece mode" value="Off" />
<!-- Select Left channel on Left IC bypass mode -->
<ctl name="BOOST Left Ch Select" value="1" />
<!-- Select Right channel on Right IC bypass mode -->
<ctl name="BOOST Right Ch Select" value="2" />
<!-- Enable Mixers to power up Left and Right IC's -->
<ctl name="BOOST_STUB Right Mixer right" value="1" />
<ctl name="BOOST_STUB Left Mixer left" value="1" />
</path>
<path name="speaker-reverse">
<ctl name="QUAT_MI2S_RX Channels" value="Two" />
<!-- Disable earpiece mode -->
<ctl name="BOOST earpiece mode" value="Off" />
<!-- Select Left channel on Left IC bypass mode -->
<ctl name="BOOST Left Ch Select" value="1" />
<!-- Select Right channel on Right IC bypass mode -->
<ctl name="BOOST Right Ch Select" value="2" />
<!-- Enable Mixers to power up Left and Right IC's -->
<ctl name="BOOST_STUB Right Mixer right" value="1" />
<ctl name="BOOST_STUB Left Mixer left" value="1" />
</path>
<path name="speaker-safe">
<!-- Bottom speaker only for Shamu -->
<!-- Select mono channel on Right IC -->
<ctl name="BOOST Right Ch Select" value="2" />
<!-- Enable Mixers to power up Right IC only -->
<ctl name="BOOST_STUB Right Mixer right" value="1" />
</path>
I've reversed the values highlighted in OP.
The result is balanced stereo.
I've also changed all instances of "BOOST Right CH Select" to 2.
Also
Code:
<path name="handset">
<!-- Enable earpiece mode this toggles gpio -->
<ctl name="BOOST earpiece mode" value="Off" />
<!-- Enable Mixer to power up Left IC -->
<ctl name="BOOST_STUB Left Mixer left" value="1" />
<ctl name="BOOST_STUB Right Mixer right" value="0" />
<!-- select (l + r)/2 -->
<ctl name="BOOST Left Ch Select" value="1" />
<!-- bypass dsp -->
<ctl name="BOOST ENABLE Spkr Left Prot" value="1" />
</path>
The default value of the above was "3"
Changed to "1"
Now handset speaker [Top] is actually balanced and louder/clearer while in call.
ROM: crDroid 6.0.1
Can someone else try these values and confirm?
Sent from my Nexus 6 using Tapatalk
Eun-Hjzjined said:
Same issue here.
The top speaker (earpiece) is slightly louder in all orientations (and applications) than the bottom speaker.
Sent from my Nexus 6 using Tapatalk
---------- Post added at 01:59 PM ---------- Previous post was at 01:04 PM ----------
Code:
<path name="speaker">
<ctl name="QUAT_MI2S_RX Channels" value="Two" />
<!-- Disable earpiece mode -->
<ctl name="BOOST earpiece mode" value="Off" />
<!-- Select Left channel on Left IC bypass mode -->
<ctl name="BOOST Left Ch Select" value="1" />
<!-- Select Right channel on Right IC bypass mode -->
<ctl name="BOOST Right Ch Select" value="2" />
<!-- Enable Mixers to power up Left and Right IC's -->
<ctl name="BOOST_STUB Right Mixer right" value="1" />
<ctl name="BOOST_STUB Left Mixer left" value="1" />
</path>
<path name="speaker-reverse">
<ctl name="QUAT_MI2S_RX Channels" value="Two" />
<!-- Disable earpiece mode -->
<ctl name="BOOST earpiece mode" value="Off" />
<!-- Select Left channel on Left IC bypass mode -->
<ctl name="BOOST Left Ch Select" value="1" />
<!-- Select Right channel on Right IC bypass mode -->
<ctl name="BOOST Right Ch Select" value="2" />
<!-- Enable Mixers to power up Left and Right IC's -->
<ctl name="BOOST_STUB Right Mixer right" value="1" />
<ctl name="BOOST_STUB Left Mixer left" value="1" />
</path>
<path name="speaker-safe">
<!-- Bottom speaker only for Shamu -->
<!-- Select mono channel on Right IC -->
<ctl name="BOOST Right Ch Select" value="2" />
<!-- Enable Mixers to power up Right IC only -->
<ctl name="BOOST_STUB Right Mixer right" value="1" />
</path>
I've reversed the values highlighted in OP.
The result is balanced stereo.
I've also changed all instances of "BOOST Right CH Select" to 2.
Also
Code:
<path name="handset">
<!-- Enable earpiece mode this toggles gpio -->
<ctl name="BOOST earpiece mode" value="Off" />
<!-- Enable Mixer to power up Left IC -->
<ctl name="BOOST_STUB Left Mixer left" value="1" />
<ctl name="BOOST_STUB Right Mixer right" value="0" />
<!-- select (l + r)/2 -->
<ctl name="BOOST Left Ch Select" value="1" />
<!-- bypass dsp -->
<ctl name="BOOST ENABLE Spkr Left Prot" value="1" />
</path>
The default value of the above was "3"
Changed to "1"
Now handset speaker [Top] is actually balanced and louder/clearer while in call.
ROM: crDroid 6.0.1
Can someone else try these values and confirm?
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
VERY NICE. Glad someone finally tried. In the second set of code, was everything that is now set to 1 formally set at 3? You said "I've also changed all instances of "BOOST Right CH Select" to 2.." Were there any more instances other than the ones in the OP? Also, why is this line still set to zero?
<ctl name="BOOST_STUB Right Mixer right" value="0" />
I would try it but as I said in the OP I couldn't save the .xml file. I said this: "It won't allow me to save the file saying "Error occurred when trying to save file. It will not be saved. No enough space!" (yes it said "NO" enough space). I tried my heart out to figure out how to save the edited file using CHMOD in both ES Explorer and TWRP with no luck." If I knew how to do this I could try. Can you tell me how in language a noob would understand?
Make sure you Mount system first before trying to edit the file.
I used the built in cyanogen file manager in my ROM (with root permission, of course) to locate, open and edit the file.
As for the zero in handset code, phonecalls use left channel, so right channel isn't needed. I did not modify that instance.
Just take a look at your file (since you haven't been able to modify it) and you should see the difference.
I didn't make a backup of mine.... I'm risky like that.
Edit::
I also changed BOOST earpiece mode to "Off"
Again... EDIT:
Make sure you reboot to test whatever changes you made.
A simple way to test is using Power Amp, playing a song you know is fairly balanced, and changing the Left/Right balance wheel while track is playing and listen for volume level differences. This is how I checked to 'hear' if the bottom speaker was now giving the proper output.
Before you make the balance change, however, you can use power amp the same way, but toggle the MONO switch.
The bottom speaker will become noticeably louder and match the volume level of the top. Its actually quite a drastic difference.
•• MOTOROLA NEXUS SIX ••
Eun-Hjzjined said:
Make sure you Mount system first before trying to edit the file.
I used the built in cyanogen file manager in my ROM (with root permission, of course) to locate, open and edit the file.
As for the zero in handset code, phonecalls use left channel, so right channel isn't needed. I did not modify that instance.
Just take a look at your file (since you haven't been able to modify it) and you should see the difference.
I didn't make a backup of mine.... I'm risky like that.
Edit::
I also changed BOOST earpiece mode to "Off"
Again... EDIT:
Make sure you reboot to test whatever changes you made.
A simple way to test is using Power Amp, playing a song you know is fairly balanced, and changing the Left/Right balance wheel while track is playing and listen for volume level differences. This is how I checked to 'hear' if the bottom speaker was now giving the proper output.
Before you make the balance change, however, you can use power amp the same way, but toggle the MONO switch.
The bottom speaker will become noticeably louder and match the volume level of the top. Its actually quite a drastic difference.
•• MOTOROLA NEXUS SIX ••
Click to expand...
Click to collapse
Unfortunately I can't seem to mount the system directory. I went to MOUNT in TWRP, clicked system but when I rebooted to the bootloader or into android it was no longet mounted. I tried these commands below and it looked like it worked but I still wasn't able to save the .xml file. From the Play sore I installed "Mount /system RO/RW [ROOT]" and got a message saying "You're device may not be rooted or is incompatible!". I tried "Mount system rw" from the Play sore and it acted like it worked but I still can't save the .xml file. After these errors, just to double check, I rebooted into TWRP and the /system folder wasn't mounted.
Code:
Connect your phone to the computer. (Make sure USB debugging is enabled on your phone)
Open CMD/Terminal on your PC.
Windows: CTRL + R, then type cmd.
Ubuntu: CTRL + ALT + T.
Mac: Navigate to /Applications/Utilities/ and double-click on Terminal.
Type this:
adb shell
su
Choose one: (for security mount /system back to RO when finished)
Mount system RW: mount -o rw,remount,rw /system
ERM.. No.
Mounting in TWRP is only for TWRP.
1) Open es file explorer
2) Swipe in from left: under tools
Toggle root and hidden files
3) go to local: / Device
4) navigate to:
System/etc
5) tap mixer_paths.xml: open with ES Note editor
6) scroll down until you find speaker section
7) tap on the edit icon in upper right of screen
8) make modification
9) press back: save the file
10) reboot and test
•• MOTOROLA NEXUS SIX ••
Eun-Hjzjined said:
ERM.. No.
Mounting in TWRP is only for TWRP.
1) Open es file explorer
2) Swipe in from left: under tools
Toggle root and hidden files
3) go to local: / Device
4) navigate to:
System/etc
5) tap mixer_paths.xml: open with ES Note editor
6) scroll down until you find speaker section
7) tap on the edit icon in upper right of screen
8) make modification
9) press back: save the file
10) reboot and test
•• MOTOROLA NEXUS SIX ••
Click to expand...
Click to collapse
That was the first thing I tried days ago. From the OP - "I backed up the .xml file and tried to edit the orignal in ES Explorer using ES Note Editor and QuickEdit in order to set both boost values to 2. It won't allow me to save the file saying "Error occurred when trying to save file. It will not be saved. No enough space!" (yes it said "NO" enough space)."
The phone and the ROM install were brand new when I tried it. Just a few hours old. It's a 64gn model with like well over 55gb left.
Bigwaverider said:
That was the first thing I tried days ago. From the OP - "I backed up the .xml file and tried to edit the orignal in ES Explorer using ES Note Editor and QuickEdit in order to set both boost values to 2. It won't allow me to save the file saying "Error occurred when trying to save file. It will not be saved. No enough space!" (yes it said "NO" enough space)."
The phone and the ROM install were brand new when I tried it. Just a few hours old. It's a 64gn model with like well over 55gb left.
Click to expand...
Click to collapse
This is what happens when I try to save the file in ES Explorer. I think I may have to make another thread in order for me to learn how to edit this file.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
OK. Download the attached file. Rename it (remove the .zip) its not actually zipped.
Boot into TWRP, mount system, go to advanced and open file manager.
Copy this .XML to /system/etc and then chmod the XML to 0644.
Reboot to system.
Eun-Hjzjined said:
OK. Download the attached file. Rename it (remove the .zip) its not actually zipped. Boot into TWRP, mount system, go to advanced and open file manager. Copy this .XML to /system/etc and then chmod the XML to 0644. Reboot to system.
Click to expand...
Click to collapse
You're a bloody genius brother. Followed your directions and it worked perfectly. THANK SO MUCH!!
I did find this little jewel that I was itching to try once I figured out how to save the .xml file. I changed these two settings from 84 to 90 (they are about one "phone page" down). Now my headphones are much louder. I just tried this a few minutes ago and played an audio file for like a minute so I can't say I have tested it thoroughly. However the difference is amazing. 90 seems good but I am afraid of going higher.
Code:
<ctl name="Voip Dtx Mode" value="0" />
<ctl name="TTY Mode" value="OFF" />
<ctl name="LINEOUT1 Volume" value="0" />
<ctl name="LINEOUT2 Volume" value="0" />
<ctl name="LINEOUT3 Volume" value="0" />
<ctl name="LINEOUT4 Volume" value="0" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
[COLOR="Red"] <ctl name="RX1 Digital Volume" value="90" />
<ctl name="RX2 Digital Volume" value="90" />[/COLOR]
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX4 Digital Volume" value="84" />
<ctl name="RX5 Digital Volume" value="84" />
<ctl name="RX6 Digital Volume" value="84" />
<ctl name="RX7 Digital Volume" value="84" />
Balanced Speakers flashable zip
I'm glad.
Here's a flashable zip I've whipped up.
Nothing fancy, just without your boosted headphone value.

Anyone?Low in call volume

Hi,
I am facing a problem. The volume on calls is very low, and I barely can hear the other person.
Any help on this subject?
I have the same problem too mi5 64gb miui 9
Mi5's in call voice quality is much better and louder in VoLTE networks as compared to 3G networks
Low call volume
I had the same problem so i searched around and could not find any directly answering this problem. Had the problem before on my note 2 and was able to correct it by editing files in root. So i searched for which files to look at and I think I finally got it to work. BTW im on eu ROM. Was not rooted initially but was on TWRP.
1.) Searched for superSU
2.) Booted to TWRP recovery and flashed for root access
3.) Opened ES file explorer. Press tab on the left side and look for root explorer and enabled it by short press(allow when prompted).
4.) Long press on root explorer and a prompt will appear with selection. Select Mount R/W (2nd to the last option)
5.) Another prompt will appear with the directory on the left side and RO or RW option on the right. Look for /system and change it to RW.
6.) Go to main screen and press left tab again and under Local you will see Device. Select it.
7.) Look for system folder then etc folder
8.) Look for mixer_paths.xml and open it using ES note editor
9.) Along the first part you will see these lines
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
10.) The default value is 84 and it actually goes up to RX8
11.) I changed the value from 84 to 93 for all of those.(RX1-RX8)
12.) Under that you will also see this:
<ctl name="DEC1 Volume" value="93" />
<ctl name="DEC2 Volume" value="93" />
<ctl name="DEC3 Volume" value="93" />
<ctl name="DEC4 Volume" value="93" />
<ctl name="DEC5 Volume" value="93" />
<ctl name="DEC6 Volume" value="93" />
<ctl name="DEC7 Volume" value="93" />
<ctl name="DEC8 Volume" value="93" />
<ctl name="DEC9 Volume" value="93" />
<ctl name="DEC10 Volume" value="93
13.) The default value for this is also 84 and as you can see above i changed mine to 93 also.
14.) By this time i pressed back and chose yes when prompted to save.
15.) Went back to the RW selection and changed /system back to RO(default)
16.) Did a reboot of the system.
17.) Checked by making a call. Sounded a little louder than before but not by much (could be placebo). So went back to ES.
18.) Did step 3 to step 7
19.) Opened mixer_paths_i2s.xml and mixer_paths_tasha.xml
20.) Changed the values similar to the ones i changed in mixer_paths.xml. Take note that on these 2 files RX1-8 may not be complete e.g RX1-RX4 only. Same thing with DEC1 volume. Anyways I just changed what was there on the first part for both files. At the end i had a value of 93 for these parts.
21.) Did steps 14-16.
When i tested this again it was definitely louder than during the first part. I asked a friend to check it out and she agrees that it definitely is louder than when we checked it the first time. I did notice it to be a bit scratchy though. Have to check with regards to movies and audio on the long run but so far it sounds ok. You could increase it to a higher value than 93 but then again that is a risk you take. Its not like you could easily get a speaker for the MI5 from your local store. Anyways thanks to @yorikkk and @drishd, for the ideas you saved my ears.?
Thanatos0785 said:
I had the same problem so i searched around and could not find any directly answering this problem. Had the problem before on my note 2 and was able to correct it by editing files in root. So i searched for which files to look at and I think I finally got it to work. BTW im on eu ROM. Was not rooted initially but was on TWRP.
1.) Searched for superSU
2.) Booted to TWRP recovery and flashed for root access
3.) Opened ES file explorer. Press tab on the left side and look for root explorer and enabled it by short press(allow when prompted).
4.) Long press on root explorer and a prompt will appear with selection. Select Mount R/W (2nd to the last option)
5.) Another prompt will appear with the directory on the left side and RO or RW option on the right. Look for /system and change it to RW.
6.) Go to main screen and press left tab again and under Local you will see Device. Select it.
7.) Look for system folder then etc folder
8.) Look for mixer_paths.xml and open it using ES note editor
9.) Along the first part you will see these lines
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
10.) The default value is 84 and it actually goes up to RX8
11.) I changed the value from 84 to 93 for all of those.(RX1-RX8)
12.) Under that you will also see this:
<ctl name="DEC1 Volume" value="93" />
<ctl name="DEC2 Volume" value="93" />
<ctl name="DEC3 Volume" value="93" />
<ctl name="DEC4 Volume" value="93" />
<ctl name="DEC5 Volume" value="93" />
<ctl name="DEC6 Volume" value="93" />
<ctl name="DEC7 Volume" value="93" />
<ctl name="DEC8 Volume" value="93" />
<ctl name="DEC9 Volume" value="93" />
<ctl name="DEC10 Volume" value="93
13.) The default value for this is also 84 and as you can see above i changed mine to 93 also.
14.) By this time i pressed back and chose yes when prompted to save.
15.) Went back to the RW selection and changed /system back to RO(default)
16.) Did a reboot of the system.
17.) Checked by making a call. Sounded a little louder than before but not by much (could be placebo). So went back to ES.
18.) Did step 3 to step 7
19.) Opened mixer_paths_i2s.xml and mixer_paths_tasha.xml
20.) Changed the values similar to the ones i changed in mixer_paths.xml. Take note that on these 2 files RX1-8 may not be complete e.g RX1-RX4 only. Same thing with DEC1 volume. Anyways I just changed what was there on the first part for both files. At the end i had a value of 93 for these parts.
21.) Did steps 14-16.
When i tested this again it was definitely louder than during the first part. I asked a friend to check it out and she agrees that it definitely is louder than when we checked it the first time. I did notice it to be a bit scratchy though. Have to check with regards to movies and audio on the long run but so far it sounds ok. You could increase it to a higher value than 93 but then again that is a risk you take. Its not like you could easily get a speaker for the MI5 from your local store. Anyways thanks to @yorikkk and @drishd, for the ideas you saved my ears.?
Click to expand...
Click to collapse
Thx for the answer, I did what you said and I think that the volume is louder...I will keep testing. BTW, I only have mixer_paths_tasha.xml on my phone
Mi5 on which ROM?im on EU version i think 8.5.3.
Had low volume during call and even more when using the headphones for music. Noticed the volume is quite high in latest xiaomi.eu(7.11.9). High enough that I usually turn it down a bit. My JBL in-ear headphones also became too loud at full volume.
Yea, I have this issue too. The problem is the dirt is accumulated on the ear speakers. Went to the service center, i have no warranty left. Its a minor dust cleaning. It was free. It restored the original high quality loud volume afterwards.
Thanatos0785 said:
I had the same problem so i searched around and could not find any directly answering this problem. Had the problem before on my note 2 and was able to correct it by editing files in root. So i searched for which files to look at and I think I finally got it to work. BTW im on eu ROM. Was not rooted initially but was on TWRP.
1.) Searched for superSU
2.) Booted to TWRP recovery and flashed for root access
3.) Opened ES file explorer. Press tab on the left side and look for root explorer and enabled it by short press(allow when prompted).
4.) Long press on root explorer and a prompt will appear with selection. Select Mount R/W (2nd to the last option)
5.) Another prompt will appear with the directory on the left side and RO or RW option on the right. Look for /system and change it to RW.
6.) Go to main screen and press left tab again and under Local you will see Device. Select it.
7.) Look for system folder then etc folder
8.) Look for mixer_paths.xml and open it using ES note editor
9.) Along the first part you will see these lines
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
10.) The default value is 84 and it actually goes up to RX8
11.) I changed the value from 84 to 93 for all of those.(RX1-RX8)
12.) Under that you will also see this:
<ctl name="DEC1 Volume" value="93" />
<ctl name="DEC2 Volume" value="93" />
<ctl name="DEC3 Volume" value="93" />
<ctl name="DEC4 Volume" value="93" />
<ctl name="DEC5 Volume" value="93" />
<ctl name="DEC6 Volume" value="93" />
<ctl name="DEC7 Volume" value="93" />
<ctl name="DEC8 Volume" value="93" />
<ctl name="DEC9 Volume" value="93" />
<ctl name="DEC10 Volume" value="93
13.) The default value for this is also 84 and as you can see above i changed mine to 93 also.
14.) By this time i pressed back and chose yes when prompted to save.
15.) Went back to the RW selection and changed /system back to RO(default)
16.) Did a reboot of the system.
17.) Checked by making a call. Sounded a little louder than before but not by much (could be placebo). So went back to ES.
18.) Did step 3 to step 7
19.) Opened mixer_paths_i2s.xml and mixer_paths_tasha.xml
20.) Changed the values similar to the ones i changed in mixer_paths.xml. Take note that on these 2 files RX1-8 may not be complete e.g RX1-RX4 only. Same thing with DEC1 volume. Anyways I just changed what was there on the first part for both files. At the end i had a value of 93 for these parts.
21.) Did steps 14-16.
When i tested this again it was definitely louder than during the first part. I asked a friend to check it out and she agrees that it definitely is louder than when we checked it the first time. I did notice it to be a bit scratchy though. Have to check with regards to movies and audio on the long run but so far it sounds ok. You could increase it to a higher value than 93 but then again that is a risk you take. Its not like you could easily get a speaker for the MI5 from your local store. Anyways thanks to @yorikkk and @drishd, for the ideas you saved my ears.
Click to expand...
Click to collapse
Thanks a lot bro... Been in this problem for a long time... Solved now... But i fear my speaker may get damaged....
Thanatos0785 said:
I had the same problem so i searched around and could not find any directly answering this problem. Had the problem before on my note 2 and was able to correct it by editing files in root. So i searched for which files to look at and I think I finally got it to work. BTW im on eu ROM. Was not rooted initially but was on TWRP.
1.) Searched for superSU
2.) Booted to TWRP recovery and flashed for root access
3.) Opened ES file explorer. Press tab on the left side and look for root explorer and enabled it by short press(allow when prompted).
4.) Long press on root explorer and a prompt will appear with selection. Select Mount R/W (2nd to the last option)
5.) Another prompt will appear with the directory on the left side and RO or RW option on the right. Look for /system and change it to RW.
6.) Go to main screen and press left tab again and under Local you will see Device. Select it.
7.) Look for system folder then etc folder
8.) Look for mixer_paths.xml and open it using ES note editor
9.) Along the first part you will see these lines
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
10.) The default value is 84 and it actually goes up to RX8
11.) I changed the value from 84 to 93 for all of those.(RX1-RX8)
12.) Under that you will also see this:
<ctl name="DEC1 Volume" value="93" />
<ctl name="DEC2 Volume" value="93" />
<ctl name="DEC3 Volume" value="93" />
<ctl name="DEC4 Volume" value="93" />
<ctl name="DEC5 Volume" value="93" />
<ctl name="DEC6 Volume" value="93" />
<ctl name="DEC7 Volume" value="93" />
<ctl name="DEC8 Volume" value="93" />
<ctl name="DEC9 Volume" value="93" />
<ctl name="DEC10 Volume" value="93
13.) The default value for this is also 84 and as you can see above i changed mine to 93 also.
14.) By this time i pressed back and chose yes when prompted to save.
15.) Went back to the RW selection and changed /system back to RO(default)
16.) Did a reboot of the system.
17.) Checked by making a call. Sounded a little louder than before but not by much (could be placebo). So went back to ES.
18.) Did step 3 to step 7
19.) Opened mixer_paths_i2s.xml and mixer_paths_tasha.xml
20.) Changed the values similar to the ones i changed in mixer_paths.xml. Take note that on these 2 files RX1-8 may not be complete e.g RX1-RX4 only. Same thing with DEC1 volume. Anyways I just changed what was there on the first part for both files. At the end i had a value of 93 for these parts.
21.) Did steps 14-16.
When i tested this again it was definitely louder than during the first part. I asked a friend to check it out and she agrees that it definitely is louder than when we checked it the first time. I did notice it to be a bit scratchy though. Have to check with regards to movies and audio on the long run but so far it sounds ok. You could increase it to a higher value than 93 but then again that is a risk you take. Its not like you could easily get a speaker for the MI5 from your local store. Anyways thanks to @yorikkk and @drishd, for the ideas you saved my ears.?
Click to expand...
Click to collapse
I did this in cosmic rom oreo 8.1 and nothing changed
I only found mixer_paths_tasha.xml and didn't find the other xml files
Apparently working on MIUI 9.5.1.0.
Thanks!
You get miui 9.5 on MI5 ??
disassemble . remove the motherboard. remove the earpiece. clean the speaker grill to allow smooth air flow. re assemble. you are done. follow the below guide to open the device.
http://www.myfixguide.com/manual/xiaomi-mi5-teardown/

[MAGISK MODULE][LGV30/V30+] Stock Android 9.0 Optimization (ALL in ONE MOD)

Hi guys, i just want to share new All in One mod for official stock android 9.0 LG V30/V30+
Requirements :
1. Unlocked Bootloader
2. Official Stock Android Pie
3. Magisk Installed
This Magisk Module include :
1. Camera Improvement: enable all AI supported scenes also 100% JPEG quality, enable Cine Shot from LG V50, also enable Steady Recording @60fps (FHD 16:9 and FHD 18:9) and others improvement.
2. Audio improvement: bypass detection of HiFi Quad DAC (HIM), improve volume same as Google stock for Qualcomm DAC, enable 384Khz sample rate, enable DTS:X Surround, Custom Equalizer, Dual Stereo Speaker and others improvement.
3. Performance improvement: removed CPU limitation 2.3Ghz by LG to enable 2.45Ghz, also removed limitation 2.3Ghz for gaming to enable 2.45Ghz
4. LGE Optimization feature configuration
5. Enable all Weather effect on Lockscreen
6. Miracast wfd re-enable
7. And many more
Click to expand...
Click to collapse
DOWNLOAD APP (OPTIONAL) :
CineShot : https://www.apkmirror.com/apk/lgelectronics/lg-cine-shot/lg-cine-shot-3-0-36-release/
LG Equalizer : https://www.apkmirror.com/apk/lgelectronics/equalizer/equalizer-7-0-14-release/
Install as normal apk after module is installed!
NOTE:
- Not compatible for Custom ROM and Stock Oreo
- If you already add DTS:X and Weather code into build.prop you can remove them
- Steady Recording (EIS) doesn't work on FHD 21:9 @60fps (camera freeze)
Click to expand...
Click to collapse
CREDITS : @topjohnwu for Magisk @TotallyAnxious @ChazzMatt for DTS:X, Weather Effect, and Custom EQ build.prop
@Inerent for providing LG V50 files
Anyone who support my project by posting feedback or suggestions
How to Enable More Display Color Mode :
Delete this overlay file :
com.android.settings.apk from directory OP/OPEN_XXX/overlay/app
Click to expand...
Click to collapse
CHANGELOG :
Code:
- V1 initilal release
- v2 fix speaker glitch because wrong audio configuration on v1
- v3 using latest module script template and fix DTS:X Surround code
- v4 enable all weather effect on lockscreen and fix some configuration media_profile
- v5 enable Steady Record @60fps work only FHD 16:9 and 18:9 doesn't work on FHD 21:9 @60fps
enable Cine Shot for rear and front camera, also enable potrait mode on rear camera (forced using ultra wide angle)
- v6 fix Cineshot, Updated LG Equalizer from LG V50, fix build.prop code for weather lockscreen effect and Custom Equalizer
- v7 Reconstruct all Audio Configuration, added newly audioeffect format, added auxpackagelist for lge apps, enable auto framing smartcam, enable shot solution, remove HDR10 Video support, currently doesn't work (temporary removed until i find the fix), remove older prop code.
- v8.0 :
*add missing audio decoder configuration that supported in our phone
*improved audio with Quad DAC off: disable low power mode audio quality uLP/LP and change to HIFI, change echo preference from mono to stereo 48Khz, this will also improve audio output when using bluetooth headphone/speaker that didn't using Quad DAC.
*add missing permissions for audio, bluetooth and camera, also add permissions for spesific LG V30 Variant.
*reconfigure bluetooth stack a2dp offload
*Added Dual Stereo Speaker
- v9.0 :
*Added paid search features pemissions for chrome
*Revert back mixer_path to default, only HIM Quad DAC and Stereo Speaker mod (at least work on H930DS) other variant to be confirmed
This may fix all your problem to install this main module for variant that have bootloop issue except for CineShot and Equalizer that some variant need special permissions, so i seperated the module.
- v9.1 :
*change back default headphone mode to HIFI instead ULP
*configure initial value for dual speaker as i'm forget to change it.
- v9.2 :
*add missing permissions as system is always looking for
*some changes in media profile (always 100% Jpeg quality)
*some changes in mixer path (dual speaker code follow vendor structure)
- v9.3 :
*bug fixes
- VERSION 9.4
*Add variant dual speaker and without dual speaker
*bug fixes
*some change in audio output config
- VERSION 9.5
*Cleanup unused files
*fix flash sometimes doesn't work when taking photo
- VERSION 9.6 :
AUDIO
- Enable 16/24bit offload
- Enable bluetooth a2dp hw offload (can be disable in developer options)
- Enable gapless playback for any music player app that use system properties
- Use High Dyn Sampler rate for any music player app that use system properties
VIDEO Recording
- Increased bitrate video recording from 36Mbps to 52Mbps (high [email protected]) / 1080p @30fps is 36Mbps from 24Mbps (high) ON ALL aspect ratio
- Increased bitrate for 720p too on all aspect ratio
MEDIA
- Re-enable some codec that disabled by LG
- Try to Re-enable miracast WFD (didn't tested)
NO Changes
- 4K UHD @30fps remain the same at 52Mbps
- AVC Profile baseline lvl 4 for auto and AVC Profile High lvl 5 for Manual Video is remain the same
REMOVED
- Potrait Mode for Rear Camera has been removed due to poor quality and i can't found solution to change to the main camera instead of super wideangle without editing the app, is more complicated if we edit the system app because of signature verification in framework
- remove duplicate aac compress offload (unused code).
*STABLE VERSION 10.0
*AUDIO :
- Fix sometimes internal audio recording not working
- Add/fix some missing code in audio_policy_configuration
*CAMERA :
- 100MB bitrate for 4K UHD (High setting)
- 52MB bitrate for 1080p @30/60fps (High setting) in all aspect ratio
- 36MB bitrate for 720p @30/60fps (High setting) in all aspect ratio
*GAMING :
- Slightly Improved performance for gaming
FAQ
Q : How to install this Module?
A : Install via Magisk Manager.
Q : How to update this Module to newer version?
A : Remove old version from Magisk Manager then reboot. After booting complete install new module via Magisk Manager.
Q : Is this module compatible on CUSTOM ROM based LOS/AOSP?
A : No. Only for Official Based Stock Android Pie/9.0
Q : Is this module compatible with Official Android Oreo firmware?
A : No. Only for Official Based Stock Android Pie/9.0
Q : Why DTS:X don't work i'm using PowerAMP?
A : You need to disable DVC in PowerAMP to make DTS:X working or use other player music. Just like other phone outside LG, if DVC enable Dolby or vendor sound enhancement don't work.
Q : Why 384Khz is not working no sound in PowerAMP or UAAP?
A : 384Khz only working if you turn off Hi-Fi Quad DAC. Hi-fi Quad DAC can properly handle up to 352KHZ to make sure everything work like sound preset and dither
Q : I don't want to to boost Hi-Fi Quad DAC under 50 ohms headset/headphone, how can i do that?
A : Extract mixer_paths_tavil.xml from the module zip then find and edit the following line (look at the BLUE value, this value is from stock).
You need to change that value same as this code below!
HIM mode remain unchanged since the two following mode (NORMAL & AUX) i set to 0 value to make same as HIM mode in the module, so you need to change it back to stock value that has BLUE value
<!-- This is Normal mode for headset under 50 ohms -->
<path name="headphones-hifi-dac">
<ctl name="Es9018 AVC Volume" value="15" />
<ctl name="Es9018 Master Volume" value="1" />
<ctl name="Es9018 HEADSET TYPE" value="1" />
</path>
<!-- This is HIM mode for headset 50-600 ohms -->
<path name="headphones-hifi-dac-advanced">
<ctl name="Es9018 AVC Volume" value="0" />
<ctl name="Es9018 Master Volume" value="0" />
<ctl name="Es9018 HEADSET TYPE" value="2" />
</path>
<!-- This is AUX External Device above 50 ohms -->
<path name="headphones-hifi-dac-aux">
<ctl name="Es9018 AVC Volume" value="6" />
<ctl name="Es9018 Master Volume" value="0" />
<ctl name="Es9018 HEADSET TYPE" value="3" />
</path>
<!-- This is Normal mode headset under 50 ohms for playing DSD using DoP -->
<path name="headphones-hifi-dacdop">
<ctl name="Es9018 AVC Volume" value="15" />
<ctl name="Es9018 Master Volume" value="1" />
<ctl name="Es9018 HEADSET TYPE" value="1" />
</path>
<!-- This is HIM mode for headset 50-600 ohms for playing DSD using DoP -->
<path name="headphones-hifi-dacdop-advanced">
<ctl name="Es9018 AVC Volume" value="0" />
<ctl name="Es9018 Master Volume" value="0" />
<ctl name="Es9018 HEADSET TYPE" value="2" />
</path>
<!-- This is AUX External Device mode above 50 ohms for playing DSD using DoP -->
<path name="headphones-hifi-dacdop-aux">
<ctl name="Es9018 AVC Volume" value="6" />
<ctl name="Es9018 Master Volume" value="0" />
<ctl name="Es9018 HEADSET TYPE" value="3" />
</path>
Click to expand...
Click to collapse
After editing you can put it back to the zip file and re-install module with a new one!
Nice. Thanks for this
It seems build.prop code in system.prop didn't readed by system, so dts:x don't work, i use my phone to create this mod.
I will try to fix my module. Thanks
Sorry too late update, new version 3 uploaded, please redownload module and remove old version!
If you already add DTS:X code into build.prop you can remove them by using root explorer with text editor.
Please note that this module include LG equalizer if you already install LG equalizer before installing this module please remove that!
Wow...this seems interesting... Trying out right away...
Wow. This is a new level of forcing HIM (see the screensho !). Thank you a lot !
I played a bit with magisk modules recently, and I noticed that the module.prop file was working on previous 19.4.xxxxx canary version. It's weird you're forced to use a separate script with resetprop...
I'm just completely confused about the huge hissing noise I have when listening to music... I modified the gains in the ESS DAC section of mixer_path_tavil.xml (0->18 or 20) but still : how do Poweramp HiFi mode (24bits but just 48kHz for me) achieves perfect sound with gain set to 0 ? Is there another file/value that I can edit for my own setup ?
Awesome. Just one (probably noob question) :
This doesn't play well with Narsil, right?
Jilano34 said:
Wow. This is a new level of forcing HIM (see the screensho !). Thank you a lot !
I played a bit with magisk modules recently, and I noticed that the module.prop file was working on previous 19.4.xxxxx canary version. It's weird you're forced to use a separate script with resetprop...
I'm just completely confused about the huge hissing noise I have when listening to music... I modified the gains in the ESS DAC section of mixer_path_tavil.xml (0->18 or 20) but still : how do Poweramp HiFi mode (24bits but just 48kHz for me) achieves perfect sound with gain set to 0 ? Is there another file/value that I can edit for my own setup ?
Click to expand...
Click to collapse
Ya i use resetprop to make sure it's working, because on my phone it's not working with system.prop magisk 19.4
What's your headphone/headset? Because on my phone using IEM TFZ King Pro and Sony WH-1000XM3 (using AUX Cable) don't have any hissing, also i use PowerAMP latest beta, it's working fine 24bit/192KHZ,
PowerAMP in LG V30 Android Pie it's ONLY supported DVC with output 24bit 44.1, 48, 96, 192KHZ, if you choose other sampling rate DVC don't work.
Unfurtunately forced HIM is to set value to 0
cascabel said:
Awesome. Just one (probably noob question) :
This doesn't play well with Narsil, right?
Click to expand...
Click to collapse
What is Narsil? this module didn't override any audio effect only audio configuration and mixer, if you are talking about other sound mod, this module probably working with them
Rizal Lovins said:
What's your headphone/headset?
Click to expand...
Click to collapse
Well, difficult questions : I don't have high quality headsets or headphones... I use a HyperX Cloud I, a Beyerdynamics Custom Street, a Sony 250AP-ish headset. The situation is always the same : hissing without high quality option...
Rizal Lovins said:
PowerAMP in LG V30 Android Pie it's ONLY supported DVC with output 24bit 44.1, 48, 96, 192KHZ, if you choose other sampling rate DVC don't work.
Click to expand...
Click to collapse
Yeah this works perfectly : no noise with high quality output (with DVC, and I put 48kHz because I can't hear any difference with more sampling rate). But I would like to use OpenSL output option (or other apps...) without noise and with DTS / JamesDSP... I don't understand what PowerAmp is doing to suppress the noise ! Can we do the same thing with a (your) mod ?
Rizal Lovins said:
Unfurtunately forced HIM is to set value to 0
Click to expand...
Click to collapse
Hmmmm I changed the value, and still it was forced.
[EDIT]
Maybe my faulty jack plug (I stop hearing from the right when I push in a certain way) can generate the noise issue... I just realized that ! It's a bit stupid, sorry. I guess we'll see after I managed to send back for warranty repair.
Rizal Lovins said:
What is Narsil? this module didn't override any audio effect only audio configuration and mixer, if you are talking about other sound mod, this module probably working with them
Click to expand...
Click to collapse
Yeah, Narsil (like Ainur Sauron) messes with mixer. So they're probably not compatible with your mod. But hey, this one is specifically for v30, so it might be better. Gonna try it as soon as i get home. ?
Bro can you tell which file i should remove from the module to remove the performance improvement
Since its already hot in my country and overclocking will make it heat up and consume more battery
Ali1228 said:
Bro can you tell which file i should remove from the module to remove the performance improvement
Since its already hot in my country and overclocking will make it heat up and consume more battery
Click to expand...
Click to collapse
It's not overclocking. Lg handcoded it so bigger core frequency will get stuck on 2361. He just removed that. So there's nothing you can remove, rathee you've to add.
---------- Post added at 04:18 AM ---------- Previous post was at 04:16 AM ----------
@Rizal Lovins you can make gaming even better by
sys/class/kgsl/kgsl3d0 and find throttle file set to 0
tech_infinity said:
It's not overclocking. Lg handcoded it so bigger core frequency will get stuck on 2361. He just removed that. So there's nothing you can remove, rathee you've to add.
---------- Post added at 04:18 AM ---------- Previous post was at 04:16 AM ----------
@Rizal Lovins you can make gaming even better by
sys/class/kgsl/kgsl3d0 and find throttle file set to 0
Click to expand...
Click to collapse
If we disable kgsl throttle, does that mean zero throttling at any temperature?
Rizal Lovins said:
How to Enable More Display Mode :
CHANGELOG :
Click to expand...
Click to collapse
Am not seeing any extra display mode after removed this apk.
Lg h930ds Ind - H930_30b pie
How camera pic. Quality?
Ali1228 said:
Bro can you tell which file i should remove from the module to remove the performance improvement
Since its already hot in my country and overclocking will make it heat up and consume more battery
Click to expand...
Click to collapse
This is not overclocking, it's just remove CPU freq limit 2.3Ghz hardcode by LG. I just remove that code to enable max freq CPU
bgshankars said:
Am not seeing any extra display mode after removed this apk.
Lg h930ds Ind - H930_30b pie
Click to expand...
Click to collapse
I mean display color mode.
Imam mustofa said:
How camera pic. Quality?
Click to expand...
Click to collapse
There is not much change. But it's worth to change from 95 to 98/100 image encoding
EDIT: Module updated to v4.
Wonder if you can add some overlay to reduce navigation bar height

Categories

Resources