[Magisk][Module] Low Headphone Volume Fix - Xiaomi Mi A2 / 6X Themes, Apps, and Mods

I edited the mixer_paths.xml to fix the low headphone volume on MiA2 and created a magisk module since manual editing doesn't work.
It works on Pie March update. May not work on other versions.
Use it at your own risk. It is LOUD. Listening at a high volume for a long time may damage hearing.
Edit: Updated to V10.0.5.0

Thanks man! Its working great??

@onbeskarakterli Can you please tell what you edited in the file so that everyone can fix it themselves in case it stops working after software updates?

Varun.Shanbhag said:
@onbeskarakterli Can you please tell what you edited in the file so that everyone can fix it themselves in case it stops working after software updates?
Click to expand...
Click to collapse
these are the changes

Varun.Shanbhag said:
@onbeskarakterli Can you please tell what you edited in the file so that everyone can fix it themselves in case it stops working after software updates?
Click to expand...
Click to collapse
Well, the problem is we can't just edit the file on the phone. Editing doesn't make any difference and the phone reverts it. Magisk is the only way right now.

I have a request if you don't mind, I have limited experience in these config files.
One thing that bothers me about this phone is the audio quality in the videos it takes. The audio sampling rate is currently set to 96 kb/s which is extremely low for a phone made in 2018.
I have tried to edit it to 256 kb/s in the media_profile files under the vendor folder and flashed it with magisk but it is still stuck to the low quality setting. Any ideas?
Thank you

Thank you so much for this module. Works perfectly ?

Thanks @onbeskarakterli

lukezainn said:
I have a request if you don't mind, I have limited experience in these config files.
One thing that bothers me about this phone is the audio quality in the videos it takes. The audio sampling rate is currently set to 96 kb/s which is extremely low for a phone made in 2018.
I have tried to edit it to 256 kb/s in the media_profile files under the vendor folder and flashed it with magisk but it is still stuck to the low quality setting. Any ideas?
Thank you
Click to expand...
Click to collapse
Can you try gcam module and Google Camera app? I successfully changed the lines in that file but stock camera app still records at 96k. Gcam is at 160k-200k.

onbeskarakterli said:
Can you try gcam module and Google Camera app? I successfully changed the lines in that file but stock camera app still records at 96k. Gcam is at 160k-200k.
Click to expand...
Click to collapse
I tried that but it doesn't seem to work for me, do you mind sharing your files?

Wow finally thanks man I'm going to try it right now. Do you know why it keeps reverting to stock values? I tried several times before with no luck...I tried to change selinux as well to permissive but even that reverts back after a while. Why it works only with magisk? BTW it's great you already put it to 88 so it covers everyone's needs
Sent from my Mi A2 using Tapatalk

lukezainn said:
I tried that but it doesn't seem to work for me, do you mind sharing your files?
Click to expand...
Click to collapse
This is the GCam I am using.
https://forum.xda-developers.com/mi-a2/how-to/gcam-pixel-3-v6-1-mi-a2-android-pie-t3870179
Try it and let me know the audio bitrate.

Sp_Ark said:
Wow finally thanks man I'm going to try it right now. Do you know why it keeps reverting to stock values? I tried several times before with no luck...I tried to change selinux as well to permissive but even that reverts back after a while. Why it works only with magisk? BTW it's great you already put it to 88 so it covers everyone's needs
Sent from my Mi A2 using Tapatalk
Click to expand...
Click to collapse
Manually changing doesn't work. You can't even save the changes you make. AFAIK Magisk virtually mounts system and vendor partitions and applies its own files and changes at boot time. That's why it works.
To be honest 88 is really high. I am using 85 right now, but I don't have any high impedance headphones.

onbeskarakterli said:
This is the GCam I am using.
https://forum.xda-developers.com/mi-a2/how-to/gcam-pixel-3-v6-1-mi-a2-android-pie-t3870179
Try it and let me know the audio bitrate.
Click to expand...
Click to collapse
Oh sorry I meant share the files where you made the bitrate edits, I already have the same gcam app.

lukezainn said:
Oh sorry I meant share the files where you made the bitrate edits, I already have the same gcam app.
Click to expand...
Click to collapse
Here.

onbeskarakterli said:
Here.
Click to expand...
Click to collapse
Still doesn't work
What about the other media profiles files? What are they used for?

I assume the other profiles are for the different headphones and audio effects under settings>sounds>advanced. Correct me if I'm wrong
lukezainn said:
Still doesn't work
What about the other media profiles files? What are they used for?
Click to expand...
Click to collapse
Sent from my Mi A2 using Tapatalk

Sp_Ark said:
I assume the other profiles are for the different headphones and audio effects under settings>sounds>advanced. Correct me if I'm wrong
Click to expand...
Click to collapse
Hmm, I doubt it, these files include audio and video bitrate options when recording video

lukezainn said:
Still doesn't work
What about the other media profiles files? What are they used for?
Click to expand...
Click to collapse
The mod does work through. Check out your /system/vendor/etc/media_profiles file when the module is active.

onbeskarakterli said:
The mod does work through. Check out your /system/vendor/etc/media_profiles file when the module is active.
Click to expand...
Click to collapse
Yes the file is changed and it's set to 288000 now, but the audio quality in the videos are still horrible. I tried gcam, opencam, nothing works. I'm on pie 10.0.1

Related

[mod] gcam slo-mo working [santoni]

Slow motion is working in 480p SD.
Check this out.
flash using TWRP.
this
Are u already test it ?
Sent from my Redmi 4X using XDA Labs
I have tried it and everything works, except I got greeny screen when I shot the slowmo video.
Did anyone get the same problem?
plokyz said:
Are u already test it ?
Click to expand...
Click to collapse
Tested.
fredyhand said:
I have tried it and everything works, except I got greeny screen when I shot the slowmo video.
Did anyone get the same problem?
Click to expand...
Click to collapse
Use new GCam version, it doesn't have greenish screen.
I flashed it with TWRP on newest xiaomi.eu v 7.11.9 but i can´t find any difference
Edit: I´m sorry. The new icon was on a new side, i found it now. *blame
Everything works fine, ´til now no issues!
Works but keep on crashing...
vicky083_ said:
Works but keep on crashing...
Click to expand...
Click to collapse
change settings, its working perfectly without any crash.
priyeshydv said:
change settings, its working perfectly without any crash.
Click to expand...
Click to collapse
Can you please tell me the exact setting which you are using bro and the latest version of gcam with download link if possible... I think the gcam in the post is not the latest one...
vicky083_ said:
Can you please tell me the exact setting which you are using bro and the latest version of gcam with download link if possible... I think the gcam in the post is not the latest one...
Click to expand...
Click to collapse
I flashed from aboved link and it works without any issues. I´m using default settings (Nexus 6P)...
Lemmy554 said:
I flashed from aboved link and it works without any issues. I´m using default settings (Nexus 6P)...
Click to expand...
Click to collapse
Tried it again... It just keeps on crashing... Sometimes it works.. But most of the time it crashes.. And tried slow motion video it records with 120 fps but there is greenish tint on the screen...
vicky083_ said:
Tried it again... It just keeps on crashing... Sometimes it works.. But most of the time it crashes.. And tried slow motion video it records with 120 fps but there is greenish tint on the screen...
Click to expand...
Click to collapse
Download latest Gcam from link
Not working for me on the developer ROM. Crashes as soon as you open it. Tried downloading from the link again and same problem...
How do I uninstall?
pyshydv said:
change settings, its working perfectly without any crash.
Click to expand...
Click to collapse
can you share a screenshot , what exactly the setting is
Mine crashes as soon as you open it, can't even get into the settings!
stevenlopes92 said:
can you share a screenshot , what exactly the setting is
Click to expand...
Click to collapse
Use Gcam 5.1 after flashing given module.
zkadwa said:
Mine crashes as soon as you open it, can't even get into the settings!
Click to expand...
Click to collapse
Flash cam2api first
Hi guys , please link me a working version of google cam , and the install instructions.... I know Iknow I could find it on my own , but Ive tried hundreds of versions , but I always ended up with not working video recording and force closes
Help me please
Kecoe said:
Hi guys , please link me a working version of google cam , and the install instructions.... I know Iknow I could find it on my own , but Ive tried hundreds of versions , but I always ended up with not working video recording and force closes
Help me please
Click to expand...
Click to collapse
My version of GCam works great. Slow motion and 60fps videos are supported.
Only issue is that it crashes sometimes while opening.
App Name - Camera
Package Name - com.google.android.MGCBMod
Version - 4.4.020.163412804.4.2
Everything depends upon settings in app.
Model - NEXUS 6P
System level override - NEXUS 2015
Config camera - NEXUS 6 HDR + AUTO
Buffer size - 15 optimal
Total image reader - 15 others
HDR + burst frame count - 7 (N6P + Allpixel+allexp)
Set Back camera resolution to SD 480p whenever you want to shoot a slo-mo video.
Back cam and slo mo working fine!
but front cam produce blue colour image
i used latest gcam
pls help me to fix it
thank you!
vikasgautam said:
My version of GCam works great. Slow motion and 60fps videos are supported.
Only issue is that it crashes sometimes while opening.
App Name - Camera
Package Name - com.google.android.MGCBMod
Version - 4.4.020.163412804.4.2
Everything depends upon settings in app.
Model - NEXUS 6P
System level override - NEXUS 2015
Config camera - NEXUS 6 HDR + AUTO
Buffer size - 15 optimal
Total image reader - 15 others
HDR + burst frame count - 7 (N6P + Allpixel+allexp)
Set Back camera resolution to SD 480p whenever you want to shoot a slo-mo video.
Click to expand...
Click to collapse
And where can I get this version? Thanks for the help tho

LePro3 sound mod (clarity and bass) flashable

Hi all,
I introduce you to the first release of LePro3 sound modification. This modification makes your LePro 3 sounds a lot better with AOSP,Lineage ROM. It will give you clear voice on handset and speaker, no distortion. Also this build will give you good lowers (bass). I made the sound mod ready to flash via TWRP.
After installation please make sure you have this values on build.prop:
ro.vendor.audio.sdk.fluencetype=fluence
persist.vendor.audio.fluence.voicerec=true
persist.vendor.audio.fluence.speaker=true
use.voice.path.for.pcm.voip=true
persist.vendor.audio.fluence.audiorec=true
Any bug please report in here. This is a new project.
You never responded to this https://forum.xda-developers.com/showpost.php?p=75482276&postcount=1878
Hi,in AICP 20171024, it's work?
Abdiel1224 said:
Hi all,
I introduce you to the first release of LePro3 sound modification. This modification makes your LePro 3 sounds a lot better with AOSP,Lineage ROM. It will give you clear voice on handset and speaker, no distortion. Also this build will give you good lowers (bass). I made the sound mod ready to flash via TWRP.
After installation please make sure you have this values on build.prop:
ro.vendor.audio.sdk.fluencetype=fluence
persist.vendor.audio.fluence.voicerec=true
persist.vendor.audio.fluence.speaker=true
use.voice.path.for.pcm.voip=true
persist.vendor.audio.fluence.audiorec=true
Any bug please report in here. This is a new project.
Click to expand...
Click to collapse
What value should I change in the file mixer_paths_tasha.xml, to raise only the speaker volume during calls and not the global volume?
The volume of notifications is too high even putting it to a minimum ...
Is it possible to have indications on what are the values of the various volumes in the file mixer_paths_tasha.xml? so I could try to do some tests ...
Galushkin_ilya said:
Hi,in AICP 20171024, it's work?
Click to expand...
Click to collapse
Yes it works any Rom
Palm Trees said:
You never responded to this https://forum.xda-developers.com/showpost.php?p=75482276&postcount=1878
Click to expand...
Click to collapse
You can try it now, because we have the lower that we were misaing at the beginning. Try it and let me know
giogio1 said:
What value should I change in the file mixer_paths_tasha.xml, to raise only the speaker volume during calls and not the global volume?
The volume of notifications is too high even putting it to a minimum ...
Is it possible to have indications on what are the values of the various volumes in the file mixer_paths_tasha.xml? so I could try to do some tests ...
Click to expand...
Click to collapse
Go over speaker-stereo but you dont have to make any change there since is good if its too loud just use the Volume soft keys
Abdiel1224 said:
Go over speaker-stereo but you dont have to make any change there since is good if its too loud just use the Volume soft keys
Click to expand...
Click to collapse
The volume of notifications is too high even putting it to a minimum
giogio1 said:
The volume of notifications is too high even putting it to a minimum
Click to expand...
Click to collapse
Go to speaker-stereo and modify digital gain from 55 to 48.
Abdiel1224 said:
Go to speaker-stereo and modify digital gain from 55 to 48.
Click to expand...
Click to collapse
from your zip file "speaker-stereo" Digital Gain value is 66 no 55
edit: however I set it to 48, but the volume of notifications even at a minimum is too high
giogio1 said:
from your zip file "speaker-stereo" Digital Gain value is 66 no 55
edit: however I set it to 48, but the volume of notifications even at a minimum is too high
Click to expand...
Click to collapse
Just replace for this one and reset your device.
Abdiel1224 said:
Just replace for this one and reset your device.
Click to expand...
Click to collapse
no difference .. the notification sound is too loud even with the volume at a minimum... which rom u are using ? I'm on latest AICP 13.1 official
giogio1 said:
no difference .. the notification sound is too loud even with the volume at a minimum... which rom u are using ? I'm on latest AICP 13.1 official
Click to expand...
Click to collapse
Same as you go to settings and play with notification sound you will see the difference. Thats what I did and I see the difference
Quick question...
Abdiel1224 said:
Same as you go to settings and play with notification sound you will see the difference. Thats what I did and I see the difference
Click to expand...
Click to collapse
Hi. This will work if I have Dolby Atmos working? I`m on latest AICP Oreo 8.1 official, by the way...
Thank you. Great job
Tried it with the latest experimental aicp. Unless it was a coincidence, it broke my ability to listen to Google play music through a cdla adapter and my ability to record voice texts through the signal messaging app. When I copied the original etc folder back to root to revert the changes both my issues we're fixed following a reboot. Maybe it's because I didn't install it through recovery. I just took the files from the zip and moved them which seems easier.
Sent from my LEX727 using XDA Labs
Has anyone tested it?
How is it working?
Is there any problem during the call?
Microphone, handset, speaker etc ...
lazye53 said:
Has anyone tested it?
How is it working?
Is there any problem during the call?
Microphone, handset, speaker etc ...
Click to expand...
Click to collapse
There is none during the call.
Yeah, it's almost perfect for me.
The notification sounds are a little high.
Also, the sounds on YouTube videos I watch seem to be echoing on the wall.
Sounds right during the call, I have not tested the microphone yet ...
@Abdiel1224
Edit: Instagram video is very high even at the lowest audio track.
And the camera sounds are too loud. I'm terrified when I press the button to take a picture.
What can I do about it?
lazye53 said:
Yeah, it's almost perfect for me.
The notification sounds are a little high.
Also, the sounds on YouTube videos I watch seem to be echoing on the wall.
Sounds right during the call, I have not tested the microphone yet ...
@Abdiel1224
Edit: Instagram video is very high even at the lowest audio track.
And the camera sounds are too loud. I'm terrified when I press the button to take a picture.
What can I do about it?
Click to expand...
Click to collapse
the quality and clarity is great but we need some dev to get their hands on this mod to adjust the volumes of notifications etc .. the potentials of this mod are noticeable but we need to adjust the volumes.

Mi mix 2 video sound recording quality

hello there mi mix 2 lovers
I have found a solution to a problem that most of you know. :laugh:
The problem of our beloved mi mix 2 device or any xiaomi phone recording low quality audio while recording video.
possibly it's because of the agressive noise cancelation
While recording on the default app on miui (I think on every rom too but I am not sure tell me if I am wrong)
Anyway there is a trick to get that good audio
1) Download a free app called (Hi-Q free) it's a recording audio app
2) Download open camera it's a camera app
3) Mute audio in open camera settings
4) In Hi-Q app set it to +15 db gain (but it depends) , wav format and mic selection unprocesed raw.
5) tap record on Hi-Q and the record with open camera
6) then synchronize them in post with any video editing program I used premiere pro on PC but kinemaster on Android is my favorite for editing on the go but you can use whatever you like
7) enjoy the good quality
It's alot of work for recording a video on your phone but the quality you get it's amazing and if you're into recording musical instruments or videos on YouTube it's a must
I have prepared a video comparison showing the default camera app and open camera muted with (Hi-Q free) recording app.
https://drive.google.com/file/d/1pjdBeByA3ejYDT4z44RIF_WUCdlLjiGv/view?usp=drivesdk
If xiaomi will ever update fix this bug it would be awesome.
I speak in Greek there but who cares :silly:
Hi, thank you for the workaround!
I would like to understand if the low audio quality is due only to a bad noise cancellation algorithm or if microphones aren't that great either: I listened to the audio in your samples and it seems much better with the workaround, but since you mentioned "recording musical instruments", did you try to test it in a very loud environment like a concert? Many phones with low quality microphones just get their audio saturated in these occasions and the result is awful, could you tell anything about it related to the Mi Mix 2?
Thank you
That is a very good workaround.
However, I was wondering if the official MIUI devs care about the problem and are working on it. I am on the stock global ROM and happy so far, I dont want to flash Lineage just to bypass this problem.
Maybe I will open up a thread at the official MIUI site, there have to be a lot of people with this problem and maybe they will work on it then.
I had this problem too on my Redmi 4 Pro. It seems like this is a problem of MIUI itself?
Solution for bad audio recording
Hi, testing a lot i find how to rec very good audio with the mi mix 2, works on every app that i trying to record videos.
my english is very bad, i will try the help you guys.
I try this in latest global rom and latest lineage OS.
This only work with ROOT.
Step 1.
with a root file explorer Delete all media_profile and mixer_path files in System/etc and System/vendor/etc
Step 2.
Global ROM
Place in System/Vendor/etc the atached files mixer_paths_tasha.xml and media_profile_vendor.xml
Lineage OS
Place in System/Vendor/etc the atached files mixer_paths_tasha.xml and media_profile_v1_0.xml
Change the permissions of both files to rw- r-- r--
Step 3
Edit your /System/build.prop file like i did in te file "cambio.jpg" compare with your build.prop and change to "true" all the lines that you find different. i mark in red the important ones, but i change others lines of false to true.
I dondt attach that file because in every update you will have to change again that lines in build.prop, and make again step 1 and step 2.
Step.4
Reboot the phone and enjoy
if the audio is too quiet for you, you can edit the mixer_path_tasha.xml, find this lines at the begining of the file
<ctl name="DEC5 Volume" value="86" />
<ctl name="DEC6 Volume" value="86" />
change 86 to a higher value and test by yourself, this is for my own use, i like to rec rock concerts and loud envoirements
If someone with better english want to make a better guide i have no problem, i figure this solution testing a lot of times with a lot of smartphones. the only thing, thanks me haha
Looks promising. But its not a thing for me since I am on a locked bootloader and dont want to unlock it yet.
But the best solution would be if Xiaomi would simply fix this, and I dont understand whats the problem there or if they just dont care (which i cant imagine).
YES!!!!
This totally works!
Thank you!!!!
This has been my main complaint with this phone.
Thanks for the fix!
Also for me works good...thanks
To adjust the sound level is it just
<ctl name="DEC5 Volume" value="86" />
<ctl name="DEC6 Volume" value="86" />
or also DEC 0 thru 8?
colorado_al said:
To adjust the sound level is it just
<ctl name="DEC5 Volume" value="86" />
<ctl name="DEC6 Volume" value="86" />
or also DEC 0 thru 8?
Click to expand...
Click to collapse
DEC5 And DEC6 are specific for right and left mic when recording a video
Hey,
I'm unable to delete files you mentioned. I'm getting error whilst trying to delete them.
My device is rooted and i have granted SU permissions for root explorer.
Any ideas what to do ?
Baronex said:
Hey,
I'm unable to delete files you mentioned. I'm getting error whilst trying to delete them.
My device is rooted and i have granted SU permissions for root explorer.
Any ideas what to do ?
Click to expand...
Click to collapse
Try with ES File Explorer, i use that app without problems
How i can add more volume for the speaker?
manuerduarte said:
Try with ES File Explorer, i use that app without problems
Click to expand...
Click to collapse
Using Es File Explorer i'm getting "device or resource busy" error. I've tried restarting the phone and try again but still no succes.
It seems like these files are being used at the moment and i can't delete them.
Baronex said:
Using Es File Explorer i'm getting "device or resource busy" error. I've tried restarting the phone and try again but still no succes.
It seems like these files are being used at the moment and i can't delete them.
Click to expand...
Click to collapse
I never had that problem, what root method do you use? I have magisk v16
---------- Post added at 12:40 AM ---------- Previous post was at 12:36 AM ----------
emime12 said:
How i can add more volume for the speaker?
Click to expand...
Click to collapse
sorry, i never try to gain more volume on the speaker, i thing it will sound distorted
manuerduarte said:
I never had that problem, what root method do you use? I have magisk v16
Click to expand...
Click to collapse
Same here, sitting on miui 9, 8.5.8
Maybe is there a way to delete these files through ADB?
Baronex said:
Same here, sitting on miui 9, 8.5.8
Maybe is there a way to delete these files through ADB?
Click to expand...
Click to collapse
Same miui version here, if you try to uninstall magisk and reinstall? same with ES File Explorer
manuerduarte said:
Same miui version here, if you try to uninstall magisk and reinstall? same with ES File Explorer
Click to expand...
Click to collapse
Nevermind, I've managed to delete them using TWRP recovery file manager.
Everything's alright, video sound quality is now much better.
Thank you
Baronex said:
Hey,
I'm unable to delete files you mentioned. I'm getting error whilst trying to delete them.
My device is rooted and i have granted SU permissions for root explorer.
Any ideas what to do ?
Click to expand...
Click to collapse
Install busybox
Seems that I have to unlock the bootloader and root the phone. Nothing I am happy about, since the phone ran awesome out of the box and now the tinkering starts again, like in the good old days with all the other android phones I owned
This device is so great, even with the global official ROM, but why has it this one problem?
I found another workaround, you can use openCamera and only set the audio channel to mono and the recording device to standard/default. Then the audio is a lot better.
The MIUI recording app can also record in high quality if you set it to Music. Noise cancellation seems to be disabled then.
reapy0815 said:
Seems that I have to unlock the bootloader and root the phone. Nothing I am happy about, since the phone ran awesome out of the box and now the tinkering starts again, like in the good old days with all the other android phones I owned
This device is so great, even with the global official ROM, but why has it this one problem?
I found another workaround, you can use openCamera and only set the audio channel to mono and the recording device to standard/default. Then the audio is a lot better.
The MIUI recording app can also record in high quality if you set it to Music. Noise cancellation seems to be disabled then.
Click to expand...
Click to collapse
where do you find Music setting in the MIUI recording app?

[FIX] Razer Phone 2 Viewfinder and EIS Fix Magisk Modules

Note:
- I am not responsible for anything that goes wrong with your device, bootloops, bricks, paperweights etc... Nothing should go wrong but hey i need to include this. If you need any help i will try my best to help you to fix it if you comment.
(Downloads at the bottom of this post in the attached files)
Should work with every Razer Phone 2
Installation:
Open Magisk Manager and head to the Modules page
Click on the plus(+) and select the file you want to install
To install more than one file, after one module has installed go back and redo the same process with the other file you downloaded
The Viewfinder Fix: Download Link If XDA Is Broken
It will replace your tuned camera file with the file that razer used in android OREO as that one has no issues with the viewfinder​Issues: None that i know of so far, if you notice anything you can mention it in the comments but it is likely i cannot fix it​
The EIS Fix: Download Link If XDA Is Broken
EIS (Electronic Image Stabilisation) helps your videos look more stable, by default this is only available at 30fps and only in some apps. However, with this fix EIS will be enabled in any app that asks for it and it will work at 1080p 60fps.​Make sure to not use the stock camera app with this but instead a gcam with 60fps support for this phone (like BSGs)​Issues: It will break 4k 60fps recording, it just won't work. Also it will break 1080p 60fps recording on the front camera.​
And finally, yes of course these modules work together
Also if you need anything else or want to join the Razer Phone community join our group on Telegram!
thanks!
Why is this needed? Can you provide any context? Are these features broken on stock, or just in Gcam?
MishaalRahman said:
Why is this needed? Can you provide any context? Are these features broken on stock, or just in Gcam?
Click to expand...
Click to collapse
on stock the camera viewfinder is blurry and colours smudge, making 3rd party apps like Instagram very bad with recording videos and not being able to see well on on what you're taking a picture of.
This issue came around with the pie update for razer phone 2 so I managed to fix the viewfinder issue by using the razer libs from android OREO.
This is for every app, not just gcam.
The EIS fix allows for video stabilization at 1080p 60fps.
Usyless said:
on stock the camera viewfinder is blurry and colours smudge, making 3rd party apps like Instagram very bad with recording videos and not being able to see well on on what you're taking a picture of.
This issue came around with the pie update for razer phone 2 so I managed to fix the viewfinder issue by using the razer libs from android OREO.
This is for every app, not just gcam.
The EIS fix allows for video stabilization at 1080p 60fps.
Click to expand...
Click to collapse
Thanks for the explanation. Do you have any videos/photos to show the fix in action? Or can anyone else confirm this works? Cheers!
MishaalRahman said:
Thanks for the explanation. Do you have any videos/photos to show the fix in action? Or can anyone else confirm this works? Cheers!
Click to expand...
Click to collapse
I am outside right now but I will upload a comparison video later as I am recording some right now
MishaalRahman said:
Thanks for the explanation. Do you have any videos/photos to show the fix in action? Or can anyone else confirm this works? Cheers!
Click to expand...
Click to collapse
I have made a couple comparison videos and here they are: (read the description of each as it describes what to look for if it is not immediately visible)
1. Stock Camera Libs through the gcam viewfinder
2. My module through the gcam viewfinder
3. Stock Camera libs recording a video of snapchat (it just records the viewfinder)
4. My module recording the same video in snapchat
Even with the low youtube quality as of now (still processing probably) the changes are noticeable
MishaalRahman said:
Thanks for the explanation. Do you have any videos/photos to show the fix in action? Or can anyone else confirm this works? Cheers!
Click to expand...
Click to collapse
Using both of these and my gcam is much better. Viewfinder no longer has a ghosting effect, colors are better, and stabilization works.
Usyless said:
Note:
- I am not responsible for anything that goes wrong with your device, bootloops, bricks, paperweights etc... Nothing should go wrong but hey i need to include this. If you need any help i will try my best to help you to fix it if you comment.
(Downloads at the bottom of this post in the attached files)
Should work with every Razer Phone 2
Installation:
Open Magisk Manager and head to the Modules page
Click on the plus(+) and select the file you want to install
To install more than one file, after one module has installed go back and redo the same process with the other file you downloaded
The Viewfinder Fix: Download Link If XDA Is Broken
It will replace your tuned camera file with the file that razer used in android OREO as that one has no issues with the viewfinder​Issues: None that i know of so far, if you notice anything you can mention it in the comments but it is likely i cannot fix it​
The EIS Fix: Download Link If XDA Is Broken
EIS (Electronic Image Stabilisation) helps your videos look more stable, by default this is only available at 30fps and only in some apps. However, with this fix EIS will be enabled in any app that asks for it and it will work at 1080p 60fps.​Make sure to not use the stock camera app with this but instead a gcam with 60fps support for this phone (like BSGs)​Issues: It will break 4k 60fps recording, it just won't work. Also it will break 1080p 60fps recording on the front camera.​
And finally, yes of course these modules work together
Also if you need anything else or want to join the Razer Phone community join our group on Telegram!
Click to expand...
Click to collapse
Which camera version are you using? The 7.4 version doesnt with when i want to use video and the 7.3 versions all crash instantly on startup same as 7.2.
Danishblunt said:
Which camera version are you using? The 7.4 version doesnt with when i want to use video and the 7.3 versions all crash instantly on startup same as 7.2.
Click to expand...
Click to collapse
Impossible, are you using BSGs cameras? also disable the EIS fix to check if it is that one.
Is it the EIS FIX of VF FIX doing it? and which gcams did you try (by which modder)
Usyless said:
Note:
- I am not responsible for anything that goes wrong with your device, bootloops, bricks, paperweights etc... Nothing should go wrong but hey i need to include this. If you need any help i will try my best to help you to fix it if you comment.
(Downloads at the bottom of this post in the attached files)
Should work with every Razer Phone 2
Installation:
Open Magisk Manager and head to the Modules page
Click on the plus(+) and select the file you want to install
To install more than one file, after one module has installed go back and redo the same process with the other file you downloaded
The Viewfinder Fix: Download Link If XDA Is Broken
It will replace your tuned camera file with the file that razer used in android OREO as that one has no issues with the viewfinder​Issues: None that i know of so far, if you notice anything you can mention it in the comments but it is likely i cannot fix it​
The EIS Fix: Download Link If XDA Is Broken
EIS (Electronic Image Stabilisation) helps your videos look more stable, by default this is only available at 30fps and only in some apps. However, with this fix EIS will be enabled in any app that asks for it and it will work at 1080p 60fps.​Make sure to not use the stock camera app with this but instead a gcam with 60fps support for this phone (like BSGs)​Issues: It will break 4k 60fps recording, it just won't work. Also it will break 1080p 60fps recording on the front camera.​
And finally, yes of course these modules work together
Also if you need anything else or want to join the Razer Phone community join our group on Telegram!
Click to expand...
Click to collapse
Usyless said:
Impossible, are you using BSGs cameras? also disable the EIS fix to check if it is that one.
Is it the EIS FIX of VF FIX doing it? and which gcams did you try (by which modder)
Click to expand...
Click to collapse
Using BSG 7.4 latest release, only got the VF Fix as I would like to shoot 4k.
I'm using:
https://f.celsoazevedo.com/file/cfiles/gcm1/MGC_7.4.104_V0a.apk
Danishblunt said:
Using BSG 7.4 latest release, only got the VF Fix as I would like to shoot 4k.
I'm using:
https://f.celsoazevedo.com/file/cfiles/gcm1/MGC_7.4.104_V0a.apk
Click to expand...
Click to collapse
You on android 9 or 10? also try disable it and see if it works.
also try re downloading it as maybe it got corrupted
Usyless said:
You on android 9 or 10? also try disable it and see if it works.
also try re downloading it as maybe it got corrupted
Click to expand...
Click to collapse
Am on stock rom Pie and did redownload and try without ur mods.
Danishblunt said:
Am on stock rom Pie and did redownload and try without ur mods.
Click to expand...
Click to collapse
okay so,
1. does it work without the mods?
2. I've had testers and it all works on stock rom and android 10
3. does the redownloaded one work?
4. if you use a social media app like Instagram does it work?
Usyless said:
okay so,
1. does it work without the mods?
2. I've had testers and it all works on stock rom and android 10
3. does the redownloaded one work?
4. if you use a social media app like Instagram does it work?
Click to expand...
Click to collapse
1.) Camera works on stock camera app, instagram, facebook, gcam 6.1.
2.) Doesnt work with gcam 7.4 with or without mods
3.) redownloaded and reinstalled 3 times, clean install.
Danishblunt said:
1.) Camera works on stock camera app, instagram, facebook, gcam 6.1.
2.) Doesnt work with gcam 7.4 with or without mods
3.) redownloaded and reinstalled 3 times, clean install.
Click to expand...
Click to collapse
it seems more of like an issue with your phone or something as I've not heard of anybody having problems with the viewfinder fix.
about the 7.4 gcam, try BSGs latest version from celsoazevado, it should be labelled test
also you said the camera works in social medias, is that with or without the viewfinder fix
Usyless said:
it seems more of like an issue with your phone or something as I've not heard of anybody having problems with the viewfinder fix.
about the 7.4 gcam, try BSGs latest version from celsoazevado, it should be labelled test
also you said the camera works in social medias, is that with or without the viewfinder fix
Click to expand...
Click to collapse
I don't see the latest version being labelled as test. Maybe you're talking about one of those that are labelled as test?
Danishblunt said:
I don't see the latest version being labelled as test. Maybe you're talking about one of those that are labelled as test?
Click to expand...
Click to collapse
seems it got deleted then, join the telegram channel with the version available there, https://t.me/razer_phone
you can also get more help there

Themes / Apps / Mods [Magisk module] sweet hifi enabler

Hello,
I created this module to unlock the maximum sample rate and bit depth on the Redmi Note 10 Pro. That being 192kHz/24-bit. It should also disable downsampling and some compression.
It works only for USB audio output and wired headphones/earbuds.
This is my first magisk module and therefore there may be a lot of room for improvement.
It will disable audio effects like Dolby.
Let me know how it works for you.
Thanks!
nosak said:
It will disable audio effects like Dolby.
Click to expand...
Click to collapse
Will it disable ViPER4Anddroid, too? Is it compatible with it?
pnin said:
Will it disable ViPER4Anddroid, too? Is it compatible with it?
Click to expand...
Click to collapse
Probably, since V4A's drivers only support 44.1khz/16bits or 48khz/24bits, the changes might make V4A's drivers fail. JamesDSP, which is another audio mod similar to viper might support this high sample rate being enabled though. Or the newer reversed engineer V4A might.
BigChungus321 said:
... Or the newer reversed engineer V4A might.
Click to expand...
Click to collapse
Do you mean this one by any means?
https://github.com/programminghoch10/ViPER4AndroidRepackaged
pnin said:
Do you mean this one by any means?
https://github.com/programminghoch10/ViPER4AndroidRepackaged
Click to expand...
Click to collapse
Here, the Reversed Engineered one: https://github.com/AndroidAudioMods/ViPER4Android
The repackaged is still using the old V4A drivers, which again, still down samples the audio and would not play hi-res audio.
Here's a note from the JDSP Discussions Group in Telegram:
"Viper4Android enforces sampling at 16-bit 48kHz, while JamesDSP supports most known formats. This means that V4A will not allow lossless playback of media in any other format and will downsample HiFi tracks."
Which is true for the old, closed-source drivers of V4A. A thing to note is that it is still a work-in-progress and most features of the original V4A is still not available like vdc and irs.
Do you know any app or way to check the sample rate/bit depth? Just installed the module and I'd like to check if everything is working fine.
Christen247 said:
Do you know any app or way to check the sample rate/bit depth? Just installed the module and I'd like to check if everything is working fine.
Click to expand...
Click to collapse
Sample Rate Checker apk online.
Plug in headphones before opening the app
nosak said:
Sample Rate Checker apk online.
Plug in headphones before opening the app
Click to expand...
Click to collapse
Tysm.
Just tested with Xiaomi.EU 14.02, the sample rate works well in most applications, however with Tidal I have some issues with Dolby Atmos songs having no sound. I will look for a solution by reinstalling the module.
Christen247 said:
Tysm.
Just tested with Xiaomi.EU 14.02, the sample rate works well in most applications, however with Tidal I have some issues with Dolby Atmos songs having no sound. I will look for a solution by reinstalling the module.
Click to expand...
Click to collapse
You might be able to enable Dolby temporarily via the control center, if you add the Dolby icon; alternatively via the video toolbox feature. I noticed this earlier today.

Categories

Resources