Hello everyone,here you go this is temporary fix for audio distorted on android P gsis. Im running on stable miui global ( so the vendor of mine was)
Needed Rooted devices and running AndroidP GSIs (mine tested on Pexelxperience P)
STOCK Vendor file latest Miui Global Stable
https://drive.google.com/file/d/1pZ9uraiebO3HM2mQcmdjavz99xOqukNT/view?usp=drivesdk
- Boot to TWRP and mount the Vendor partitions
Use root explorer , suggested amaze filemanager download it for free on on Playstore activate the root filemanager (amaze as it set default to off)
- go to root tab, /Vendor/lib/soundfx/ now you need to rename whole files ( i don't suggested to dellete/removes whole files .so)
Just rename it extension (.so) to .bak
After that reboot.
Credit to mi8 user,seems on poco we have to change it on Lib not the lib64..
Hit thanks if i helped.
*If its don't work please do the same things on vendor/lib64/soundfx.
*Important.
This the one-time and universal fix, so you don't need to editing the vendor files everytime you changing the rom gsis, as its on vendor side modifications, it will keep the mod survived everytime you changing the gsis as long you didn't re-flash the stock vendor.img/flashing the stock Miui roms.
Keep an eyes to Phhs Aosp P build when he succesfully fixing the distortion bugs on xiaomi devices, its mean you'll need the stock vendor.img (un-modified) to be flashed.
Update : pre- modified vendor use only adbfastboot tool
Put the modified vendor inside adbtool and putyour device in fastboot mode
Flash this via fastboot :
"fastboot erase vendor" <enter>
"fastboot flash vendor.img" <enter>
Before flashing this i suggest you do backup your original vendor partition.
https://drivegoogle.com/file/d/1EFKDZqo7JdKmECkZ8RIWZ1pwyQMkJzmI/view?usp=drivesdk
Needed Rooted devices and running AndroidP GSIs (mine tested on Pexelxperience P)
STOCK Vendor file latest Miui Global Stable
https://drive.google.com/file/d/1pZ9uraiebO3HM2mQcmdjavz99xOqukNT/view?usp=drivesdk
- Boot to TWRP and mount the Vendor partitions
Use root explorer , suggested amaze filemanager download it for free on on Playstore activate the root filemanager (amaze as it set default to off)
- go to root tab, /Vendor/lib/soundfx/ now you need to rename whole files ( i don't suggested to dellete/removes whole files .so)
Just rename it extension (.so) to .bak
After that reboot.
Credit to mi8 user,seems on poco we have to change it on Lib not the lib64..
Hit thanks if i helped.
*If its don't work please do the same things on vendor/lib64/soundfx.
*Important.
This the one-time and universal fix, so you don't need to editing the vendor files everytime you changing the rom gsis, as its on vendor side modifications, it will keep the mod survived everytime you changing the gsis as long you didn't re-flash the stock vendor.img/flashing the stock Miui roms.
Keep an eyes to Phhs Aosp P build when he succesfully fixing the distortion bugs on xiaomi devices, its mean you'll need the stock vendor.img (un-modified) to be flashed.
Update : pre- modified vendor use only adbfastboot tool
Put the modified vendor inside adbtool and putyour device in fastboot mode
Flash this via fastboot :
"fastboot erase vendor" <enter>
"fastboot flash vendor.img" <enter>
Before flashing this i suggest you do backup your original vendor partition.
https://drivegoogle.com/file/d/1EFKDZqo7JdKmECkZ8RIWZ1pwyQMkJzmI/view?usp=drivesdk
Last edited: