[Magisk module] Microphone fix for Oreo ROMs - Xiaomi Redmi Note 4 Themes, Apps, and Mods

Microphone fix for Redmi Note 4 Snapdragon
All credit goes to Robse at 4PDA.
The module available in other thread ****ed up my Magisk installation, so here I've updated the template and only fixed microphone, there's no additional thing. It'll just fix the erratic volume levels while recording, because that's the only thing I'm getting.
I'll maybe add other configurations, but I'd like to keep it minimal for now; note that I'm just sharing what I made for personal use.
Tested on Pixel Experience 8.1.0 unofficial build by Alexey71 + Magisk v16.0 using Sony Audio Recording app, both mono and stereo mode. Note that other ROMs may be using different device trees, which means the module may not work in the ROM you're using.
Doesn't work on Treble enabled builds.
It's incompatible with stereo speaker module, or any other module that modifies audio_platform_info.xml or mixer_paths_mtp.xml.
Changelog
v1
Initial version.

Hello, what if I try this module on Redmi Note 4 SD with Miui 9.5.4.0?
I saw that you specified that applies to Oreo 8.1.0 ... for Nougat 7.x no?

Tested on official build of Pixel Experience, Magisk 16.0 (w/ Franco Kernel, if that matters). Works fine. Still get a little distortion but certainly better than before. In call was fine before, doesn't cause any problems now either. Thanks for this

4pda thread you linked in first post is not a thread for Redmi Note 4, it's for Redmi 4.

k3lcior said:
4pda thread you linked in first post is not a thread for Redmi Note 4, it's for Redmi 4.
Click to expand...
Click to collapse
Yeah, but it certainly works on our midos too

aletronky2006 said:
Hello, what if I try this module on Redmi Note 4 SD with Miui 9.5.4.0?
I saw that you specified that applies to Oreo 8.1.0 ... for Nougat 7.x no?
Click to expand...
Click to collapse
Try, you can easily uninstall it, if not working upload audio_platform_info.xml and mixer_paths_mtp.xml present in your ROM

I have just installed it in RR Remix 8.1.0 by Endless and i have no audio in calls, and also the person whom i speak to, can't hear me. Thanks for your work though!

Any update for Android 10?

Related

Android P semi GSI for MiMix2S

Hey there ladies and gentlemen!
Has anyone of you managed to get this rom running on the Polaris?
https://forum.xda-developers.com/pr...ment/rom-android-p-developer-preview-t3816659
I did everything as described in the OP but get stuck at the MI Logo after the reboot. It bootloop there to infinity and back!
I'm afraid theres something essential missing like the correct kernel/vendor 8.1 or something like that.
I installed the P beta without any problems and had some other GSIs running on my device. Resurrection Remix was the first that worked fine and now I use Pixel experience 8.1 from the treble thread.
Is anyone interested in looking into this? Would be so nice to have a Android 9 AOSP / Pixel Experience kind of rom for this device.
Best regards
kleinholzinferno said:
Hey there ladies and gentlemen!
Has anyone of you managed to get this rom running on the Polaris?
https://forum.xda-developers.com/pr...ment/rom-android-p-developer-preview-t3816659
I did everything as described in the OP but get stuck at the MI Logo after the reboot. It bootloop there to infinity and back!
I'm afraid theres something essential missing like the correct kernel/vendor 8.1 or something like that.
I installed the P beta without any problems and had some other GSIs running on my device. Resurrection Remix was the first that worked fine and now I use Pixel experience 8.1 from the treble thread.
Is anyone interested in looking into this? Would be so nice to have a Android 9 AOSP / Pixel Experience kind of rom for this device.
Best regards
Click to expand...
Click to collapse
Roms sGSI based on PIE don´t works on Mi Mix 2S, bootloop. Only works P beta official by Google, and closed beta from Xiaomi.
Gennesÿs_1 said:
Roms sGSI based on PIE don´t works on Mi Mix 2S, bootloop. Only works P beta official by Google, and closed beta from Xiaomi.
Click to expand...
Click to collapse
Da*n, that's what I was afraid of. Do you know why exactly? The dev preview from Xiaomi works too, the kernel source and Android pie is officially released.

[ROM][sGSI][v10.3.1.0] Xiaomi.eu for Redmi Note 4/4X

View attachment 4752110
About Xiaomi.eu:
Xiaomi Europe was founded over 8 years ago to provide International users an exclusive community for English MIUI Android and Xiaomi products.
Since 2010 the website has officially worked with Xiaomi on a variety of projects for APP translations and bug fixing and is a major part of today's Xiaomi Global ROM experience thanks to the great team at xiaomi.eu and its community.​
Downloads:
- ROM
- Vendor/Boot
- Patch2
Installation Instruction:
- Download the ROM, Vendor+Boot_New and Patch2.
- Create Backup Folder on your Backup directory Ex. Fox/BACKUPS/"Serial No."/"Folder Here" and Extract.
- On Recovery, first "Mount" System & Vendor the go to Restore and Restore Vendor and Boot.
- Next, Flash the sGSI Rom zip file.
- and Lastly, Flash the patch2 and Reboot.
- First boot takes 5~10mins! "Patience is a key"
Known issues:
* Read Mode
* Cast
* Portrait in stock camera
(Don't worry these can workaround by 3rd party apps)
Credits:
- ingbrzy @ xiaomi eu
- Oleg Plisan (without him nothing would be possible)
- fxsheep (for miui sgsi tutorial bringing up)
- All Redmi Note 4/4X (mido) developers and users,
XDA: DevDB Information
[ROM][sGSI][v10.3.1.0] Xiaomi.eu for Redmi Note 4/4X, ROM for the Xiaomi Redmi Note 4
Presented by:
 @EmperorEye
Source: https://xiaomi.eu/community/threads/miui-10-0-10-1-10-2-10-3-stable-release.47170/
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.18.xxx
Version Information
Status: Stable
Stable Release Date: 2019-05-02
Reserved.
Some Screenshots Provided.
Thx Man for this rom, im gonna flash it and report back. :good:
The volume for calls and and sound when playing media Is it, as well as on the official MIUI 9?
And google cam work?
Installation Instruction:
- Create Backup Folder on your Backup directory Ex. Fox/BACKUPS/"Serial No."/"Folder Here" and Extract.
Pls how to do that and what extract.I am confused.
Extract from. zip and place files in "Folder Here" (but name "Folder Here" isn't necessary, you can choose any name)
Thanks for the rom, I'll test soon =)
video call working?
If anyone tested here are some important questions I'd like to seek answers for.
-Has custom kernel support improved since 2018?
I've tried a few miui based custom roms including Xiaomi EU. It is true they were Nougat based but miui roms were infamous for their non-support of custom kernels. I've a collection of them and I tend to change kernels as often as somebody else changes socks.
-Has aggressive memory management became less aggressive?
Miui roms have this weird way of handling apps, force closing them in the background and so even when miui and system optimalization have both been turned off manually in the developer settings.
-What's the screen on time with mild usage? How many hours?
-Does the rom support wifi file transfer?
I rolled back from Syberia OS Pie to LOS 15.1 Oreo because Syberia didn't support file transfer over hotspot which proved to be ultimately useful.
Thanks for the answers in advance.
greenys' said:
If anyone tested here are some important questions I'd like to seek answers for.
-Has custom kernel support improved since 2018?
I've tried a few miui based custom roms including Xiaomi EU. It is true they were Nougat based but miui roms were infamous for their non-support of custom kernels. I've a collection of them and I tend to change kernels as often as somebody else changes socks.
-Has aggressive memory management became less aggressive?
Miui roms have this weird way of handling apps, force closing them in the background and so even when miui and system optimalization have both been turned off manually in the developer settings.
-What's the screen on time with mild usage? How many hours?
-Does the rom support wifi file transfer?
I rolled back from Syberia OS Pie to LOS 15.1 Oreo because Syberia didn't support file transfer over hotspot which proved to be ultimately useful.
Thanks for the answers in advance.
Click to expand...
Click to collapse
Any custom Treble kernel will work on Gsi Miui
lumin25 said:
Any custom Treble kernel will work on Gsi Miui
Click to expand...
Click to collapse
Thanks a lot.
greenys' said:
If anyone tested here are some important questions I'd like to seek answers for.
-Has custom kernel support improved since 2018?
I've tried a few miui based custom roms including Xiaomi EU. It is true they were Nougat based but miui roms were infamous for their non-support of custom kernels. I've a collection of them and I tend to change kernels as often as somebody else changes socks.
-Has aggressive memory management became less aggressive?
Miui roms have this weird way of handling apps, force closing them in the background and so even when miui and system optimalization have both been turned off manually in the developer settings.
-What's the screen on time with mild usage? How many hours?
-Does the rom support wifi file transfer?
I rolled back from Syberia OS Pie to LOS 15.1 Oreo because Syberia didn't support file transfer over hotspot which proved to be ultimately useful.
Thanks for the answers in advance.
Click to expand...
Click to collapse
-Rom is Supported by many Treble kernels, you can simply backup the stock and flash directly some kernels.
- The Rom is Based on Tiffany (Mi5X) 101% clean port as GSI.
- Hotspot is working. If your device got error in some case. Just flash treble hotspot fix ny shivvv in sGSI telegram group.
dudjaa said:
The volume for calls and and sound when playing media Is it, as well as on the official MIUI 9?
And google cam work?
Click to expand...
Click to collapse
Yes, it works.
Gcam is also working ?
I highly appreciate logcats for your issues. Just drop by. Thanks! ?
Which kernals I can flash directly?
Being a new ROM, how are the battery consumptions?
EmperorEye said:
-Rom is Supported by many Treble kernels, you can simply backup the stock and flash directly some kernels.
- The Rom is Based on Tiffany (Mi5X) 101% clean port as GSI.
- Hotspot is working. If your device got error in some case. Just flash treble hotspot fix ny shivvv in sGSI telegram group.
Click to expand...
Click to collapse
Two more question sir.
Does safety net passes?
Banking apps works such as google pay, etc?
EmperorEye said:
-Rom is Supported by many Treble kernels, you can simply backup the stock and flash directly some kernels.
- The Rom is Based on Tiffany (Mi5X) 101% clean port as GSI.
- Hotspot is working. If your device got error in some case. Just flash treble hotspot fix ny shivvv in sGSI telegram group.
Click to expand...
Click to collapse
Appreciated. Very grateful I am.
by flashing this,do you lose current data or keep it,im currently on 10.2 stable xiaomi eu

Redmi note 10 pro

Hello guys. I have flashed "Miui by pappi54" rom on my redmi note 10 pro. All works fine, but I want to get root. I tried with magisk 24.1 but when I'm flashing it in orangefox recovery, phone stucks on boot logo. Is there any other way to get root? Thanks
The redmi note 10 pro comes with miui... Why did you flash this other miui "by pappi54"?
PhotonIce said:
The redmi note 10 pro comes with miui... Why did you flash this other miui "by pappi54"?
Click to expand...
Click to collapse
This version is 13.0.2
Official version is 12.5
But 13 is in beta dude.. the redmi note 10 pro is in the support list for the official global launch of miui 13. till then, either use a stable custom rom, or stick with 12.5. using a beta, and especially a beta of miui (which is well known for bugs in its stable releases) is not a good idea..
This may also be the reason as to why you're unable to root it, and you may also face many other issues.
I recommend that you switch back to miui 12.5, or even 12 as 12.5 has a couple of bugs too. If you want a custom rom, dotOS 5.2.1 is an android 11 rom with a ui quite similar to miui, while also bringing all the benefits of a custom rom, if you'd like to give it a go, here's a link:
dotOS | Loading...
A beautiful custom ROM based on AOSP, which endeavors the essence of Simple, Unique, Secure.
www.droidontime.com
PhotonIce said:
This may also be the reason as to why you're unable to root it, and you may also face many other issues.
I recommend that you switch back to miui 12.5, or even 12 as 12.5 has a couple of bugs too. If you want a custom rom, dotOS 5.2.1 is an android 11 rom with a ui quite similar to miui, while also bringing all the benefits of a custom rom, if you'd like to give it a go, here's a link:
dotOS | Loading...
A beautiful custom ROM based on AOSP, which endeavors the essence of Simple, Unique, Secure.
www.droidontime.com
Click to expand...
Click to collapse
Thanks a lot
Now to answer you're original question (if you STILL want to give that a go),
Have you tried kingoroot? It's not always successful, but it is possible that it can one-click root your phone.
Another option is to try flashing magisk v23, then update it through the magisk app, as i had some issues flashing magisk v24 on my galaxy j5 running android 11.
You could also try using supersu, or some other rooting alternative instead of magisk.

Development [ROM][12.1][UNOFFICIAL][phoenix] LineageOS 19.1 for Lenovo PHAB Plus

Important information:
This thread is for LineageOS 19.1 opensource builds for Lenovo PHAB Plus, marketed as Lenovo PHAB Plus by Lenovo. The following will not be supported in this thread:
Custom Kernels
Mods
Modified system files
Xposed
Magisk
What's not working:
Encryption
Video Recording
Flashlight
GPS
SELinux Permissive
Installation:
If you are on the stock OS, you will first need a custom recovery.
If you are coming from stock or other ROMs, you need to do a factory reset.
As always, make sure to backup before installing this ROM.
Download link:
SourceForge
Recommended Google Apps package:
MindTheGapps
Changelog:
Changes for phoenix
Bug reports:
How to submit a bug report
Gitlab Issues
Donate to support development:
Donate via PayPal to TipzTeam
Donate via PayPal to LineageOS
Source Code:
Device tree
Kernel
LineageOS Github
Contributors
@nicknitewolf, @TipzTeam, Lineage Team
ROM OS Version: 12.x S
ROM Kernel: Linux 3.10.x
ROM Firmware Required: N/A
Based On: LineageOS
About Video Recording
If you really need to use a 2015 device to record videos, you may use Camera Go to do so.
Reserved
New Update for phoenix!
20220618
Changelog:
Updated to latest LineageOS source
Enabled DT2W
Improve touch responsiveness (slightly)
Fixed rear camera (?)
Download
New update for phoenix!
20220619
Changelog:
Enabled 5G hotspot
Improved various sensors
Improved general responsiveness (slightly)
Increased ZRAM size to 1536MB
Download
Hey there!
I've been using my Lenovo Phab 2 Plus for 5 years now, but looks like many main apps are removing their support to android 6 & others to 7 too. I've found this rom, but idk how to flash it... Any help?
GabiBrawl said:
Hey there!
I've been using my Lenovo Phab 2 Plus for 5 years now, but looks like many main apps are removing their support to android 6 & others to 7 too. I've found this rom, but idk how to flash it... Any help?
Click to expand...
Click to collapse
Unfortunately, it's not supported for a PHAB 2 Plus.
New update for phoenix!
20230430
Changelog:
Updated to April security patch
Small performance bumps
Download

A13 ROMs for Whyred

Lineage OS - https://www.pling.com/p/1957841/ ( Dev should list it)
SparkOS - https://sourceforge.net/projects/sparkosofficial/files/whyred/ ( Dev should list it)
Superior OS - https://forum.xda-developers.com/t/rom-android12l-superior-os-for-whyred-27-06-2022.4369325/
quest2012 said:
Lineage OS - https://www.pling.com/p/1957841/ ( Dev should list it)
SparkOS - https://sourceforge.net/projects/sparkosofficial/files/whyred/ ( Dev should list it)
Superior OS - https://forum.xda-developers.com/t/rom-android12l-superior-os-for-whyred-27-06-2022.4369325/
Click to expand...
Click to collapse
And Pixel Experience
Xiaomi Redmi Note 5 Global / Pro (whyred) - PixelExperience
Xiaomi Redmi Note 5 Global / Pro (whyred) - PixelExperience
download.pixelexperience.org
quest2012 said:
And Pixel Experience
Xiaomi Redmi Note 5 Global / Pro (whyred) - PixelExperience
Xiaomi Redmi Note 5 Global / Pro (whyred) - PixelExperience
download.pixelexperience.org
Click to expand...
Click to collapse
Latest Spark OS A13 released ( dev is yet to list it) , going through the official has some issues
SparkOS - Browse /whyred at SourceForge.net
SparkOS is a modern custom operating system based on Android that aims to bring to your device the smoothness and customization it deserves. We…
sourceforge.net
So there is a stable A13 ROM for daily usage that has no big issues and battery drain?
Im tempted to try Spark OS.
What about Nusantara and DerpFest?
sigibian said:
So there is a stable A13 ROM for daily usage that has no big issues and battery drain?
Im tempted to try Spark OS.
What about Nusantara and DerpFest?
Click to expand...
Click to collapse
Thank you for sharing the links , many maintainers have stopped publishing it on XDA . All ROMs are done with the intent of running smoothly , helping old SKUs like whyred work. However you will need to decide which one you feel comfortable with . I try out all ROMs and then settle with one after using it for a day or two . The challenge sometimes is when you set up payment and banking apps , one will need to sign in an set them up again , but its fun.
Latest A13 Cherish OS Official ROM available here - , I did not see the maintainer's thread hence posting it in the discussions group.
Cherish OS-Whyred
cherishoS
www.pling.com
quest2012 said:
Thank you for sharing the links , many maintainers have stopped publishing it on XDA . All ROMs are done with the intent of running smoothly , helping old SKUs like whyred work. However you will need to decide which one you feel comfortable with . I try out all ROMs and then settle with one after using it for a day or two . The challenge sometimes is when you set up payment and banking apps , one will need to sign in an set them up again , but its fun.
Click to expand...
Click to collapse
Thanks for your reply and contribution!
I don't use payment by phone so not a problem. About banking apps they could malfunction even if i don't root?
So after you tried various ROMs you can suggest the one you had better experience for RN5 Pro?
sigibian said:
Thanks for your reply and contribution!
I don't use payment by phone so not a problem. About banking apps they could malfunction even if i don't root?
So after you tried various ROMs you can suggest the one you had better experience for RN5 Pro?
Click to expand...
Click to collapse
Commenting which one is better would again be unfair to the devs, but it all depends on a lot of things , if you are a minimalist then the Lineage OS 18.1 which is being updated by Sunil, should be good , if you want the entire range of apps and goodies then SparkOS, Cherish, PE and other which include Gapps , if you want A13 and without Gapps you got versions as well. With RN5 pro being released nearly 5 years ago you will get the occasional stutter , freezes and battery drain issues with most of the ROMs. Moving forward I will lean towards LOS 18.1 knowing atleast the security patches are being updated and you can sideload google dialer/ message for RCS and spam filtering.
Alphadroid A13 1.0 Official For Redmi Note 5 Pro : https://bit.ly/3XF1bqm
The problem with many of these roms is that they will not be updated for a long time.
look at pixel, its developer released the first stable version, and now they have removed it from the official website.
The sparkos rom, there is no thread in this subforum of that rom, it's weird, it seems that it is not going quite fine.
That's why I've put up this thread , so folks can share scattered pieces of info on which ever ROM gets updated since there might not be an official update in the forum
BananaDroid whyred
BananaDroid for Xiaomi Redmi Note 5
www.pling.com
Bananadroid Feb update
TFT69 said:
The problem with many of these roms is that they will not be updated for a long time.
look at pixel, its developer released the first stable version, and now they have removed it from the official website.
The sparkos rom, there is no thread in this subforum of that rom, it's weird, it seems that it is not going quite fine.
Click to expand...
Click to collapse
Because it's an old phone and difficult to find active maintainers, but there are still developers (see the latest unofficial roms).
There is also a good Telegram channel with other A13 roms listed both ufficial and unofficial: @whyredupdates
yes, but I value stable and updated roms at least once a month.
that's why I like lineage.
I have no use for a rom that after 2 months, is not updated.
I think unofficial LOS 18.1 is good to go as a daily driver especially with a 4 gb memory, Security patch being updated on a regular basis. I have reduced the number of apps and access them only through desktop . This also helps reduce notifications and extends standby.
TFT69 said:
yes, but I value stable and updated roms at least once a month.
that's why I like lineage.
I have no use for a rom that after 2 months, is not updated.
Click to expand...
Click to collapse
But LineageOS 18.1 has not been updated since October 24, 2022.
Seba said that he will release LineageOS 20 for whyred in Q1 23, but nothing so far.
[ROM][UNOFFICIAL][11] LineageOS 18.1 for Xiaomi Redmi Note 5 Pro [whyred][2023-05-10]
LineageOS is a free, community built, aftermarket firmware distribution of Android 11, which is designed to increase performance and reliability over stock Android for your device. LineageOS is based on the Android Open Source Project with extra...
forum.xda-developers.com
i use this
Cherish OS 4.6 A13 released
Cherish OS-Whyred
cherishoS
www.pling.com
I have been using crDroid based on A13 for 10 days now, and it is pretty stable, no bugs.

Categories

Resources