[Magisk][Module][Pie] Hevc Recording Enabler v0.3 for Oneplus 3/3T/5/5T - OnePlus 3 & 3T Cross Device Themes, Apps & Mods

Hey everyone this would probably be my comeback for posting a thread after like 5 years. and previously i did some development for Samsung's Galaxy Core 2 G355H and after that i got myself a oneplus 3.
Now coming on to the Topic. I have been feeling that the stock Oneplus Camera encoder is taking way too much space as it should because it uses H264 encoder. and i suddenly felt that i have to do something about it.
So i searched through the internet. and found that it is not availabe for Pie though it was available for Oreo here.
but then that thread got me an idea and i edited the xml file myself and made it work.
This module enable HEVC/H265 video recording on OnePlus 3 and OnePlus 3T.
The bitrate values are the same as original.
The audio codec it's still AAC and the audio bitrate is doubled to 192kbps.
For Half bitrate i ll use heaac which uses less space without losing quality
Why should I use HEVC instead of H264?
Basically, HEVC provide the same quality as H264, but using half the bitrate, this means that you can record videos with the same quality but using less space, or, if you're more inclined to that, record video that use the same space but with better quality (less compression, therefore less artifacts and more details overall). [Credit- @eathtespagheti]
More info about HEVC on Wikipedia
Stock Video Stock Audio changelog
Code:
v0.1
- Initial release
v0.2
- changed to stock audio bitrate
Stock Bitrate changelog:
Code:
v0.1
- Initial release
v0.2
- Some Fixes and Improvements
v0.3
- Added support for Oneplus 5/5T
- Added stock video and stock audio alternative
Half Bitrate changelog:
Code:
v0.1
- Initial Release
bug- 1080p 60fps not working
v0.2
- Added support for Oneplus 5/5T
- 1080p 60fps is now working but with stock bitrate

Will it work for op5 pie version ?
Sent from my OnePlus5 using XDA Labs

anujyadava said:
Will it work for op5 pie version ?
Sent from my OnePlus5 using XDA Labs
Click to expand...
Click to collapse
i dont know but it should as the nougat and oreo version is unified for op3 and op5 so give it a try and tell me if it works

Dhruvit Pokharna said:
Hey everyone this would probably be my comeback for posting a thread after like 5 years. and previously i did some development for Samsung's Galaxy Core 2 G355H and after that i got myself a oneplus 3.
Now coming on to the Topic. I have been feeling that the stock Oneplus Camera encoder is taking way too much space as it should because it uses H264 encoder. and i suddenly felt that i have to do something about it.
So i searched through the internet. and found that it is not availabe for Pie though it was available for Oreo here.
but then that thread got me an idea and i edited the xml file myself and made it work.
This module enable HEVC/H265 video recording on OnePlus 3 and OnePlus 3T.
The bitrate values are the same as original.
The audio codec it's still AAC and the audio bitrate is doubled to 192kbps.
For Half bitrate i ll use heaac which uses less space without losing quality
Why should I use HEVC instead of H264?
Basically, HEVC provide the same quality as H264, but using half the bitrate, this means that you can record videos with the same quality but using less space, or, if you're more inclined to that, record video that use the same space but with better quality (less compression, therefore less artifacts and more details overall). [Credit- @eathtespagheti]
More info about HEVC on Wikipedia
Stock Bitrate changelog:
Half Bitrate changelog:
Click to expand...
Click to collapse
Thanks for the credits, appreciated! Hahah
anujyadava said:
Will it work for op5 pie version ?
Click to expand...
Click to collapse
There's already a specific version for OP5 iirc, search on the forum

Would you be able to create a version which uses
Stock bit rate for both video and audio? I see there's a version with stock video bitrate, but higher audio bitrate.
I am on oneplus 5t.

azrash said:
Would you be able to create a version which uses
Stock bit rate for both video and audio? I see there's a version with stock video bitrate, but higher audio bitrate.
I am on oneplus 5t.
Click to expand...
Click to collapse
sure ,in an hour i ll upload

azrash said:
Would you be able to create a version which uses
Stock bit rate for both video and audio? I see there's a version with stock video bitrate, but higher audio bitrate.
I am on oneplus 5t.
Click to expand...
Click to collapse
Done!

Does it work on Android 10 and does it fix slow-mo cam like the other HEVC enabler?

Couchy said:
Does it work on Android 10 and does it fix slow-mo cam like the other HEVC enabler?
Click to expand...
Click to collapse
nope, this is mainly for oxygen os based on pie. slow-mo in gcam isnt necessary as it is working on oxygen camera.
and i dont know if there is any mod to make slow mo work on gcam, if there is give me a link and i will include it.

Nice work bro!
I remember you from the SM-G355, nice phone xD

For slowmotion...
SlowMo on gcam works if you use the libs of Nougat and manually place it in the system (for android 10) or if you use MagiskModule (for Android 9 and 8).
I upload the module and the zip i use in Ten ROMs
View attachment slowmotionFix_ten.zip
View attachment OnePlus_3_3T_Slow_Motion_Fix-v2.0.1(8).zip

Hello. Just stumbled over your thread. I'm using a ZUK Z2 Plus and wanted to know if it would be possible to make this enabler working for my phone. Thanks for your work.
Cheers!

GonicTEAM said:
SlowMo on gcam works if you use the libs of Nougat and manually place it in the system (for android 10) or if you use MagiskModule (for Android 9 and 8).
I upload the module and the zip i use in Ten ROMs
Click to expand...
Click to collapse
I flashed your Ten zip on a ten rom with latest gcam (version 7.3.020 v1.1c TlnNeun) but it doesn't work.
Latest Paranoid Android Q. 3T

deathbreath2010 said:
Hello. Just stumbled over your thread. I'm using a ZUK Z2 Plus and wanted to know if it would be possible to make this enabler working for my phone. Thanks for your work.
Cheers!
Click to expand...
Click to collapse
give me your /system/vendor/etc/media_profiles_vendor.xml and i will make magisk module for you.

GonicTEAM said:
Nice work bro!
I remember you from the SM-G355, nice phone xD
Click to expand...
Click to collapse
Thanks So much bro, didn't think anyone would remember me. means a lot!

Dhruvit Pokharna said:
give me your /system/vendor/etc/media_profiles_vendor.xml and i will make magisk module for you.
Click to expand...
Click to collapse
Thanks a lot! I uploaded the file located in system/vendor/etc to my gdrive
https://drive.google.com/file/d/10ah-LZwAd4d_H9N2MvlJUiAcJhYgpXDM/view?usp=sharing
Cheers!

deathbreath2010 said:
Thanks a lot! I uploaded the file located in system/vendor/etc to my gdrive
https://drive.google.com/file/d/10ah-LZwAd4d_H9N2MvlJUiAcJhYgpXDM/view?usp=sharing
Cheers!
Click to expand...
Click to collapse
this is isnt media_profiles_vendor.xml and the file you gave i dont think is gonna work.

Dhruvit Pokharna said:
this is isnt media_profiles_vendor.xml and the file you gave i dont think is gonna work.
Click to expand...
Click to collapse
Hmm. But that is the only file with media profiles in its name located in vendor. Thanks anyway.
Cheers

deathbreath2010 said:
Hmm. But that is the only file with media profiles in its name located in vendor. Thanks anyway.
Cheers
Click to expand...
Click to collapse
i ll try with this, so you can try and tell me if it works

deathbreath2010 said:
Hmm. But that is the only file with media profiles in its name located in vendor. Thanks anyway.
Cheers
Click to expand...
Click to collapse
here

Related

Moto camera with slowmo

Sup guys , after searching and messing with media_profiles.xml alot, finally i found a fix for slowmotion recording with stock moto camera on cm12.1.
just replace media_profiles.xml i have provided and volla :laugh:.
these are the changes i have done apart from slowmo -
increased 4k bitrate to 65 from 30 mbps
increased 1080p bitrate to 20 from 17mbps
increased 4k audio bitrate to 320kbps
increased 1080p audio bitrate to 256kbps
image quality to 100%
how to - extract the file and copy it to the /system/etc/ , overwrite and give permission 644. you need moto camera already installed, just install it from playstore.
p.s.- it seems like slowmo isn't working exactly same as stock firmware but it's better than not working , it may work on other roms too i haven't tested yet. Doesn't work on cm13 according to some users and i can't fix it since im still on cm12.1 for obvious reasons
Its working thanks
Works great in NX Nexus rom
Update: CM12.1 Nightly 29 Oct support SlowMo
Nice find
It work for other then X Moto devices too, I test on MAXX, on CM base RR it use the same media profile from X.
Hope you or some one fix the slomo audio. But like you say better working slow then not working... :good:
Will use yours changes on my ROM...
baybutcher27 said:
Nice find
It work for other then X Moto devices too, I test on MAXX, on CM base RR it use the same media profile from X.
Hope you or some one fix the slomo audio. But like you say better working slow then not working... :good:
Will use yours changes on my ROM...
Click to expand...
Click to collapse
i think audio can't be fixed in slowmo. think of it like this - when you fast forward/ rewind a video in any dvd player or digital player (pc), either audio gets messdup or it gets mute. that's how slowmo works. it records video @120fps and then plays it back at 30 fps. so it will be pretty slow speed audio . also if you open media_profiles.xml you can see it ignores audio settings for timelapse videos. so it can't be fixed without framework changes i guess. no idea honestly .
Not found in nexus rom 10.0.1 Marshamallow
Enviado desde mi XT1092 mediante Tapatalk
Doesn't work on cm13.
this is incorrect here .. View attachment 3570019
I have no longer normal video recording 1080p
Could someone give me the original file?
not to restore again my mobile from backup.
sory my bad english ..use translator..
does it work without root?
toroloco73 said:
does it work without root?
Click to expand...
Click to collapse
wa ? if you don't have root you are probably on stock rom and it already has slomo working.
kraatus90 said:
wa ? if you don't have root you are probably on stock rom and it already has slomo working.
Click to expand...
Click to collapse
excuse me , i make a mistake
Nice work thank you

[Root] Camera mod for Moto X4.

This is a mod i have been using by quite some time, thought i should share it with other users of Moto x4. it's mostly made by @defcomg and i have only done xml and module part. you can see this has 4032x 2268 video support, it's very useful as you can record 2268p video and use google photos app's video stabilization on it to get stabilized 4k video.this produces much better 4k stabilized videos because you have 5% more resolution to work on compared to using it on normal 2160p video.
Features:
1: 2268p video mode for back camera.
2. 4k video mode for front camera.
3. 16mp mode front cam support for other camera apps.
4. Increased audio and video bitrate.
5. 1080p30/60fps hevc video support.
Requirements:
1: Magisk v16 or later.(so obviously it needs bootloader unlocked)
2: FreeDCam camera app play-store link
How to : -
1: Just install Enhance_MOTO_X4_camera.zip as a module in MagiskManager and reboot.
2: Open FreeDCam take a picture (so that it can create a freedcam folder otherwise you will get crashes in video mode) and follow attached screenshots to setup 2268p profile.
Credits: - @defcomg Donation Link .
Download : -
1. Enhance_MOTO_X4_camera.zip
2. Camera_ MX (incase someone wants fully working gcam)
13-14 downloads but not a single comment on how bad/good/working/not working it is ? this community is really dead lol.
Can I use this module on z2 force?
darthxa said:
Can I use this module on z2 force?
Click to expand...
Click to collapse
nope. it's only for X4.
Hi,
It is possible to use it when the photo is rooted using supersu ?
Thank you.
bibiboss said:
Hi,
It is possible to use it when the photo is rooted using supersu ?
Thank you.
Click to expand...
Click to collapse
magisk module doesn't work with supersu, so no.
This is great! Trying to find a way to get less compression in photos, just installed and poking around!
How does this compare to the various Gcam mods out there? Does this lose any features from the stock camera? Does it improve shutter speed?
Zarxrax said:
How does this compare to the various Gcam mods out there? Does this lose any features from the stock camera? Does it improve shutter speed?
Click to expand...
Click to collapse
this mod doesn't remove anything, only adds the features stated in op.
So does this improve the moto camera or just provide a better alternative? Also is this mod just for video improvement or photos as well. The Moto X4 camera is very disappointing to say the least. I have been using a modded version of the GCam and it is much faster and better quality than the moto camera but features like the wide angle are sacrificed.
Works Excellent...thanks...
SchmilK said:
This is great! Trying to find a way to get less compression in photos, just installed and poking around!
Click to expand...
Click to collapse
can you share some 4k footage from the front camera with open camera app from the play store? see i'm trying to start a youtube channel and i want to record from open camera because of its amazing mono mode for the audio.. also share some images from arnova's gcam with front 16mp if u can.. i will highly appreciate it! ??
---------- Post added at 11:41 AM ---------- Previous post was at 11:28 AM ----------
kraatus90 said:
this mod doesn't remove anything, only adds the features stated in op.
Click to expand...
Click to collapse
can open camera app from the play store utilize the whole front 16mp after this mod? if yes then can you please share a sample footage with me? i really need to know this for my youtube channel but i'm skeptical on rooting just for testing out this one thing.. i'd really appreciate your help if you've got some time.. thanks! ??
It does not work in Los16 ...
kraatus90 said:
This is a mod i have been using by quite some time, thought i should share it with other users of Moto x4.
Click to expand...
Click to collapse
Is it possible to use 16MP on GCam after flashing this module?
kraatus90 said:
13-14 downloads but not a single comment on how bad/good/working/not working it is ? this community is really dead lol.
Click to expand...
Click to collapse
Pls share on telegram group as well people are active on telegram than xda nowadays
No Pie support
Doesn't work on stock Pie (bootloader unlocked, magisk installed). After installing, all cameras just crash.
noone4nothing said:
Doesn't work on stock Pie (bootloader unlocked, magisk installed). After installing, all cameras just crash.
Click to expand...
Click to collapse
Unfortunately this does not work on Android 9.
Sent from my Moto X4 using XDA Labs
MotoX4Custom said:
Unfortunately this does not work on Android 9.
Sent from my Moto X4 using XDA Labs
Click to expand...
Click to collapse
Would it be possible to port it to Pie?
By the way, if anyone is wondering, this mod works fine on Oreo 8.1 as well as 8.0.
noone4nothing said:
Would it be possible to port it to Pie?
By the way, if anyone is wondering, this mod works fine on Oreo 8.1 as well as 8.0.
Click to expand...
Click to collapse
I think it would be good if it would be ported for pie. But I'm not a developer and unfortunately I can not. I hope somebody does it.

MysticBlaze347's Cam Mod for V20 - Piggyback Magisk Style - [Updated- 5/28/19] Final

...SCROLL DOWN FOR UPDATE...
Here is a Camera Mod for the V20. I am pretty sure it may work with all varients.
Works on Nougat 7.0, not sure about others.
This Magisk Module Enables your Cam to record at TOP QUALITY!
- 4K @ 100Mbps / Audio @ 420Kbps
...all systemlessly.
----OR:----
There is Now another as well (the "v.2" )for 75Mbps instead of 100Mbps for those that feel 100Mbps is not in "Cam-Reality" needed for top quailty. Also takes less storage space.. All in all, you decide.
Enjoy
----------Update 2/22/19----------
Here are two more Magisk Modules I created that allow a difference between 100Mbps & 75 Mbps per version. Both include some new mods such as enhanced codecs and more that are better decribed in per module description. These versions that have these changes are "v.3" (100 Mbps + other mods) & "v.4" (75 Mbps + other mods)
----------Update (5/28/19) {By request }
This new v.5 has "75-76Mbps for "Manual Cam mode" now. Shows 64Mbps in cam, but is 75-76Mbps in details. This however applies 75-76Mbps to all/everything in cam. Only way I could get it to work. Also might break "Steady Recording" if toggled on.
Enjoy and thank you for using my Magisk based Mods
Thanks for the mod! I have to ask, does your slow-mo still work in the stock cam with this mod?
There was a media_profiles file that was floating around somewhere in the V20 threads, but it made slow-mo more of a stop motion. Thinking it had something to do with FPS or something.
jl10101 said:
Thanks for the mod! I have to ask, does your slow-mo still work in the stock cam with this mod?
There was a media_profiles file that was floating around somewhere in the V20 threads, but it made slow-mo more of a stop motion. Thinking it had something to do with FPS or something.
Click to expand...
Click to collapse
No prob . When I tested, all extra features worked.
Slowmo still has no audio when slowed in viewing though because of lg dumb decision on that.
New module choice added
i95swervin said:
I'll check this out later today thanks for sharing @Mysticblaze347
Click to expand...
Click to collapse
I do what I can.
Mysticblaze347 said:
I do what I can.
Click to expand...
Click to collapse
The camera app still shows 52mbps is it at 75 and just not showing correctly.
aygross1929 said:
The camera app still shows 52mbps is it at 75 and just not showing correctly.
Click to expand...
Click to collapse
I'm on stock cam..V20/V30 cams. Not sure what cam u are on. I tested the mods and they both work.
This is the 75Mbps one. Bitrate shows via vidtrim app. Also the 100Mbps. Also want to point out that this is tested in Auto mode in stock V20/V30 cam apps, not Manual or Special Modes.
New Final Update in main download area of this thread.
Will this work on Resurrection Remix or is this mod only for stock based ROMS?
•Vanilla• said:
Will this work on Resurrection Remix or is this mod only for stock based ROMS?
Click to expand...
Click to collapse
I can only varify for stock based. It might work for RR. Just do a backup and a then test it. Might work. I just can't test because I'm on stock based.
Hello, thanks for the work. The mod lets me shoot in 420Kbs aac audio but nothing changes in video. Still in 64Mbps 4k 30fps.
I'm using the camera improvements mods by @helf. I don't know if these are incompatible with your mod, @Mysticblaze347
Thank you
Sorry, I realized 100Mbps is in Auto video mode. Any chance to have 100Mbps in Manual Mode? THANK YOU
quearte said:
Sorry, I realized 100Mbps is in Auto video mode. Any chance to have 100Mbps in Manual Mode? THANK YOU
Click to expand...
Click to collapse
Haven't been able to figure out for that yet. If I do I will update.
100 Mbps is kinda overkill anyway. I personally use the 75. But its user decided ?
quearte said:
Hello, thanks for the work. The mod lets me shoot in 420Kbs aac audio but nothing changes in video. Still in 64Mbps 4k 30fps.
I'm using the camera improvements mods by @helf. I don't know if these are incompatible with your mod, @Mysticblaze347
Thank you
Click to expand...
Click to collapse
The helf mods only allow 75mbps that I am aware of from testing before
Mysticblaze347 said:
The helf mods only allow 75mbps that I am aware of from testing before
Click to expand...
Click to collapse
Nope, the helf mods save 64Mbps manual videos. As stock.
quearte said:
Nope, the helf mods save 64Mbps manual videos. As stock.
Click to expand...
Click to collapse
Sorry, ment 75 max allowed with his mod for auto mode. Manual mode uses some other form for bitrate as to why these mods so far don't change for manual mode. I have yet to find what and why. Maybe one day I or someone will figure out as to why.
I have not adjusted anything related to bitrates etc with mine since that is generally just in the media profile configs.
I am, however, working on increasing the slo-mo frame rate, enabling 4MP 1080P etc. So these higher bitrates will help a LOT
Do you care if I integrate these with my mod @mystic?
I have had a rough 6 months so have been MIA on here but things are getting back to normal so I hope to finally have another release out with official oreo support.
helf said:
I have not adjusted anything related to bitrates etc with mine since that is generally just in the media profile configs.
I am, however, working on increasing the slo-mo frame rate, enabling 4MP 1080P etc. So these higher bitrates will help a LOT
Do you care if I integrate these with my mod @mystic?
I have had a rough 6 months so have been MIA on here but things are getting back to normal so I hope to finally have another release out with official oreo support.
Click to expand...
Click to collapse
Permission granted ?. I was wondering something. Do you have a change log for your last two Nougat downloadable mods?. I would like to use, but seen last one talking HDR video removed ect. That kinda stopped me because I do HDR converting via Auto or Cine-log on V30 port (if I remember to flip). I can't go to Oreo because I'm on ls997. Root is a no go after Nougat for this. The Cine-log mod had a odd greenish hue on my end.
Sorry for the long reply.
Mysticblaze347 said:
Permission granted ?. I was wondering something. Do you have a change log for your last two Nougat downloadable mods?. I would like to use, but seen last one talking HDR video removed ect. That kinda stopped me because I do HDR converting via Auto or Cine-log on V30 port (if I remember to flip). I can't go to Oreo because I'm on ls997. Root is a no go after Nougat for this. The Cine-log mod had a odd greenish hue on my end.
Sorry for the long reply.
Click to expand...
Click to collapse
Sure I'll do that tomorrow. I'm also on an ls997 so well be on nougat forever. Which, tbh, I'm fine with.
Also, thanks
Cinelog *will* have an odd hue as it is logarithmic gamma instead of linear. It's only for use with editing. Otherwise it wont look right.
helf said:
Sure I'll do that tomorrow. I'm also on an ls997 so well be on nougat forever. Which, tbh, I'm fine with.
Also, thanks
Cinelog *will* have an odd hue as it is logarithmic gamma instead of linear. It's only for use with editing. Otherwise it wont look right.
Click to expand...
Click to collapse
Looking forward to checking out new update as well, if able for Nougat. Unless you ment it will also support Oreo. Either way ?.

[MOD][FIX] Audio Bitrate Increase For Poco F1 (320, 960kbps)

Disclaimer :
Code:
I am not responsible for any damage to your device!
Use this mod at your own risk!
What's this?
This mod increases the audio bitrate on video recording from a disgraceful 96kbps to a respectable 320kbps and 960kbps 6-way channel. Thus, giving a richer, more pleasing audio quality.
Still confused? Click here for a better explanation
Requirements :
- A rooted phone with magisk installed
- An opened mind (important!)
Contributors :
@Jt380p
@viv29
@sldig
@Dearminder
* NOTES * (READ) :
- Not all ROMs are compatible with this mod, you might end up in a bootloop. YOU HAVE BEEN WARNED!
Download :
__________________________________________
** RECOMMENDED **
320kbps v2 :
https://drive.google.com/file/d/179n4DMHWpoDo3B-7flloXV8RDDiXhKMs/view?usp=sharing
__________________________________________
** EXPERIMENTAL **
960kbps 6-way channel v2 :
https://drive.google.com/file/d/1n4w0w3UDJ8595QpakSmUUGuA-5YAyfRa/view?usp=sharing
__________________________________________
Instructions :
- Flash with Magisk Manager
Source :
https://forum.xda-developers.com/Mi-9/themes/magisk-audio-bitrate-increase-t3927810
Audio files provided by @sldig
Thanks to :
@Dearminder for helping me troubleshoot bootloops in specific ROMs
@topjohnwu for Magisk
Created : 10/11/2019
Last updated : 15/11/2019
CHANGELOG :
- Version 2 (15/11/19) :
---> Mod is now based on MIUI 11. File is provided by @sldig
Does this work on mui 11?
How I check if its work?
install with twrp pr magisk?
How to install??
Miui11 ??
Custom rom??
Android 9??
Android 10??
TGDgr8est said:
Does this work on mui 11?
Click to expand...
Click to collapse
It should lol
Alvian_P said:
How I check if its work?
Click to expand...
Click to collapse
- Use your ears
- Import to your PC and check audio bitrate under properties
AsusZenFone3Deluxe said:
install with twrp pr magisk?
Click to expand...
Click to collapse
Magisk. Thanks for reminding me, i forgot to mention it in the thread ?
But what does it do? Where is this quality? In Video recording (miui cam or gcam too?) or just microphone? Can you provide more info?
Dearminder said:
But what does it do? Where is this quality? In Video recording (miui cam or gcam too?) or just microphone? Can you provide more info?
Click to expand...
Click to collapse
Its pretty much self-explanatory. The out-of-the-box limit is 192Kbps. In video recording, Xiaomi limits the audio bitrate to 96Kbps (sometimes 156Kbps), which makes the phone compress the amount of detail in audio to 96Kbps, which is why in loud environments, the audio gets muted or sound distorted because its compressed to 96Kbps. 320Kbps allows the phone to NOT compress the audio as much, making the audio quality richer, and life-like. The "kbps" stands for 'kilobits per second', which means in every 1 second of an audio clip, the file would be 96Kb. So, if you record 1 minute of an audio clip, the size would be 5760Kb, or 0.72MB. In the same situation, if you use 320Kbps of audio, and recording 1 minute of an audio clip, the file would be 19200Kb, or 2.4MB. The rule of thumb is, the higher the number, the better the detail. Same "principle" applies to video, if you watch a video at 240p, the quality would be s**t, but if you watch it at 2160p (4K), the quality would be magnificant, the size of the video would also be magnificant XD. Hope this makes everything clear. If your still confused, just ask. I wont steal your Fortnite skins lol
Jt380p said:
Its pretty much self-explanatory. The out-of-the-box limit is 192Kbps. In video recording, Xiaomi limits the audio bitrate to 96Kbps (sometimes 156Kbps), which makes the phone compress the amount of detail in audio to 96Kbps, which is why in loud environments, the audio gets muted or sound distorted because its compressed to 96Kbps. 320Kbps allows the phone to NOT compress the audio as much, making the audio quality richer, and life-like. The "kbps" stands for 'kilobits per second', which means in every 1 second of an audio clip, the file would be 96Kb. So, if you record 1 minute of an audio clip, the size would be 5760Kb, or 0.72MB. In the same situation, if you use 320Kbps of audio, and recording 1 minute of an audio clip, the file would be 19200Kb, or 2.4MB. The rule of thumb is, the higher the number, the better the detail. Same "principle" applies to video, if you watch the video at 240p, the quality would be sh*t, but if you watch it at 2160p (4K), the quality would magnificant, the size of the video would also be magnificant XD. Hope this makes everything clear. If your still confused, just ask. I wont steal your Fortnite skins lol
Click to expand...
Click to collapse
I didn't ask what bitrate is, I was just asking What exactly this mod do. Where this bitrate is changed not how this affects a quality. Also let me ignore the fortnite part.
Dearminder said:
I didn't ask what bitrate is, I was just asking What exactly this mod do. Where this bitrate is changed not how this affects a quality. Also let me ignore the fortnite part.
Click to expand...
Click to collapse
Ok..Ive answered your first question very clearly. What Im presuming is you want to know what kind of apps would take advantage of this mod? Is that correct? Your question also has to be clearer..
Jt380p said:
Ok..Ive answered your first question very clearly. What Im presuming is you want to know what kind of apps would take advantage of this mod? Is that correct? Your question also has to be clearer..
Click to expand...
Click to collapse
Yes I Wanted to know what apps specifily are affected by this mod. But for now I only noticed bootloop on PE+
Dearminder said:
Yes I Wanted to know what apps specifily are affected by this mod. But for now I only noticed bootloop on PE+
Click to expand...
Click to collapse
Ok, I dont know about the bootloop though. Anyway, about the apps, its pretty much system-wide. If you dont have the mod, some third-party voice recorder apps bypass the audio limitations of the device. However, camera apps do follow the specified limitations. You will notice the changes in quality, especially in video recording in windy or loud environments.
Jt380p said:
Ok, I dont know about the bootloop though. Anyway, about the apps, its pretty much system-wide. If you dont have the mod, some third-party voice recorder apps bypass the audio limitations of the device. However, camera apps do follow the specified limitations. You will notice the changes in quality, especially in video recording in windy or loud environments.
Click to expand...
Click to collapse
I managed to check diffrences betwen my system file and this modded and I Noticed 2 Things. On first screenshot You can see that my system one file have additional space " " Maby that caused bootlop. But For the second screenshot resolution got lowered. Why? Or maby its just higher on PE+ , I don't blame anyone but when managed to keep these 2 things as my stock I didnt get bootlop.
Dearminder said:
I managed to check diffrences betwen my system file and this modded and I Noticed 2 Things. On first screenshot You can see that my system one file have additional space " " Maby that caused bootlop. But For the second screenshot resolution got lowered. Why? Or maby its just higher on PE+ , I don't blame anyone but when managed to keep these 2 things as my stock I didnt get bootlop.
Click to expand...
Click to collapse
The spacings are normal, I came across them on the POCO, RN7, Mi 8, and the Mi 9. The res however, some of them are different between each device, even though its under the same title. I dont mess with those things, I just changed the bitrate. Its probably the ROM that changed it. Would you mind sending me your stock audio file? (your current ROM)
is it compatible with pixel expirence android version 9.0.
Jt380p said:
The spacings are normal, I came across them on the POCO, RN7, Mi 8, and the Mi 9. The res however, some of them are different between each device, even though its under the same title. I dont mess with those things, I just changed the bitrate. Its probably the ROM that changed it. Would you mind sending me your stock audio file? (your current ROM)
Click to expand...
Click to collapse
Sorry, Kinda busy
Tested on eu rom miui 11. Didn't boot up. I got V4A, AML, ACP installed and that's probably why.

[MOD][FIX] Audio Bitrate Increase For Mi 8

Disclaimer :
Code:
I am not responsible for any damage to your device!
Use this mod at your own risk!
What's this?
This mod increases the audio bitrate from a disgraceful 96kbps to a respectable 320kbps for recording. Thus, giving a richer, more pleasing audio quality.
Still confused? Click here for a better explanation
Requirements :
- A rooted phone with magisk installed
- An opened mind (important!)
Contributors :
@Jt380p
@Gustavo RD78
 @Kapirotesco
* NOTES * (READ) :
- Not all ROMs are compatible with this mod, you might end up in a bootloop. YOU HAVE BEEN WARNED!
Download :
https://drive.google.com/file/d/1Ai6ZR3z2Y5TW5mqmpOiiECkTQDFYIOLe/view?usp=sharing (Flash with magisk manager)
Source :
https://forum.xda-developers.com/Mi-9/themes/magisk-audio-bitrate-increase-t3927810
Audio files provided by @Kapirotesco
Thanks to :
 @Kapirotesco for providing the required file(s)
@topjohnwu for Magisk
Created : 11/11/2019
Last updated : 24/11/2019
CHANGELOG :
- Version 2 (24/11/19) :
---> Mod is now based on MIUI 11. File is provided by @Kapirotesco
Bootloop on Revenge OS android 10.
This question wasn't answered on the POCO thread but uh... Will this work on AOSP ROMs? Which app will the bitrate affect or is it system wide? How about third party audio recorders or in call mic? How about GCAM or ANXcamera?
Thanks
Sent from my MI 8 using Tapatalk
b4mb1_ said:
This question wasn't answered on the POCO thread but uh... Will this work on AOSP ROMs? Which app will the bitrate affect or is it system wide? How about third party audio recorders or in call mic? How about GCAM or ANXcamera?
Thanks
Sent from my MI 8 using Tapatalk
Click to expand...
Click to collapse
I dont know what question youre talking about, but anyway, this should be compatible with any rom because it uses the same device tree. UNLESS, the device tree has been updated by some developers and I havent known about it. About the apps, most camera apps will take advantage of this, especially MIUI, Im not sure about ANX camera as I dont know if it has any setting that bypass the limitations. Calls should be the same because its happening live. I reckon the built in MIUI audio recorder wouldnt take advantage of this as you can only choose the setting up to 192kbps. Third-party recorders, again I am not sure, it depends whether the developer of the app decides to follow the device limitations or bypass it. Gcam apps, again, I dont know, it depends on the developer, however, most of them should take advantage of this. Long story short, it is system-wide. Its kinda hard to explain this in context, so bare with me.
installed your module and seems to give me a good improvement in audio quality. I usually make videos of sound systems with high volume power, and always distorts the audio when playing subwoofers, with the mod had a little improvement but at high volumes is still present, I'm using the recommended version, I haven't tested the other one yet.
Gustavo RD78 said:
installed your module and seems to give me a good improvement in audio quality. I usually make videos of sound systems with high volume power, and always distorts the audio when playing subwoofers, with the mod had a little improvement but at high volumes is still present, I'm using the recommended version, I haven't tested the other one yet.
Click to expand...
Click to collapse
If it is still present, its probably a hardware limitation. Its probably why Xiaomi kept it at 96kbps in the first place.
Report on PE Q?
Work on Pixel Rom r8(Android10) ?
bootloops on syberia os
Jt380p said:
I need someone to give me the stock file from MIUI 11, I'm starting to have my suspicions.
Click to expand...
Click to collapse
Which file do you need?
Bootloop on HavocOs Android Q
Thank you, but the video sound was very low after installation. pixelrom4
Jt380p said:
So I guess no one has the file for MIUI 11 :/
Click to expand...
Click to collapse
From Xiaomi eu stable china miui 11.0.4
* -- UPDATE -- *
Download v2 in OP
Changelog :
- Mod is now based on MIUI 11 provided by @Kapirotesco
NOTES (Pls read) :
- Not all ROMs are compatible with the mod. You might end up in a bootloop. YOU HAVE BEEN WARNED!
Thanks bro
Thanks, works good on latest xiaomi.eu beta.
Thread locked on OP request.
Funk Wizard
Forum Moderator

Categories

Resources