[PATCH] Enable AK4490 HIFI DAC on custom Rom

Skrem339

Senior Member
Oct 2, 2015
71
154
0
Hi. I've created a patch that enable AK4490 on custom roms. Previosly it was pasted on 4pda.
Sry for bad English
If you are using latest Ainur betas from telegram you dont have to flash it because since beta 3 or 4 UltraM8 helped me integrate this patch into mod. Also Ainur doesnt have bag with call

Updated Magisk version to template 15000

Known bags:
When you call somebody you can not hear your subscriber. Solution: just enable and disable speaker mode.

UPD. If you're using OREO Rom, you dont have to use this mod because it was integrated into Rom. Plus if you're using Ainur, you dont have to flash it too
 

Attachments

Last edited:

Choose an username...

Senior Member
Oct 16, 2016
2,677
923
0
I thought that it was enabled by default on custom roms anyway? Or is this patch only so it works for sure with ainur?
I also thought that, but I dualbooted LOS to try if the 192khz hack actually worked with the AKM DAC (because it was supposedly the one in use) and it was too obvious that it actually wasn't in use. The soundstage of the other DAC is much smaller. Maybe with this patch we can put it @ 192KHz with Poweramp? Can anybody try?
 
Last edited:

Choose an username...

Senior Member
Oct 16, 2016
2,677
923
0
Hi. I've created a patch that enable AK4490 on custom roms. Previosly it was pasted on 4pda.
Sry for bad English
If you are using latest Ainur betas from telegram you dont have to flash it because since beta 3 or 4 UltraM8 helped me integrate this patch into mod. Also Ainur doesnt have bag with call

Known bags:
When you call somebody you can not hear your subscriber. Solution: just enable and disable speaker mode.
Any chance that this will get integrated onto the ROMs themselves? This is the same as the Universal Bootloader stuff and the old TWRP it installs, we'll get to the point where we need to install dozens of zips to get a fully working system

p.s where can we get the Ainur betas?
 
  • Like
Reactions: christoophat

Skrem339

Senior Member
Oct 2, 2015
71
154
0
Any chance that this will get integrated onto the ROMs themselves? This is the same as the Universal Bootloader stuff and the old TWRP it installs, we'll get to the point where we need to install dozens of zips to get a fully working system

p.s where can we get the Ainur betas?
In official Ainur Telegram chat. Pinned post
 

FunkyRasta

Senior Member
Feb 4, 2013
612
298
83
Kraków
Nope, it not only for Ainur because DAC doesnt work on Custom roms expect AEX.
Really? I thought DAC was running OK on LOS... What about Pure Fusion and other ROMs? They say that high quality DAC is ALWAYS in use... I want to know what to flash when my phone arrives, DAC was mainly the reason for buying it.
 

Choose an username...

Senior Member
Oct 16, 2016
2,677
923
0
Hi. I've created a patch that enable AK4490 on custom roms. Previosly it was pasted on 4pda.
Sry for bad English
If you are using latest Ainur betas from telegram you dont have to flash it because since beta 3 or 4 UltraM8 helped me integrate this patch into mod. Also Ainur doesnt have bag with call

Known bags:
When you call somebody you can not hear your subscriber. Solution: just enable and disable speaker mode.
This is probably the best mod I've flashed on my phone. This + poweramp is magic. I tried Sauron (even joined the telegram chat) but it sounded very low and saturated. This is another story...

Awesome work, really. ;)
 

wannaskoo

Senior Member
May 10, 2017
50
8
8
This is probably the best mod I've flashed on my phone. This + poweramp is magic. I tried Sauron (even joined the telegram chat) but it sounded very low and saturated. This is another story...

Awesome work, really. ;)
What is your audio output setting on Poweramp?
I cannot get the Hi-Fi plugin to work.
Thanks dev for the mod :)
 

wannaskoo

Senior Member
May 10, 2017
50
8
8
I enabled HiFi audio with the Lenovo Hifi line trick in the build.prop file, and i think i got a slight improvement, but it may be just placebo.
 

Choose an username...

Senior Member
Oct 16, 2016
2,677
923
0
I enabled HiFi audio with the Lenovo Hifi line trick in the build.prop file, and i think i got a slight improvement, but it may be just placebo.
The effect is really noticeable on the highs with a FLAC file. I used a 192KHz file to test, and the highs were awesome, but the soundstage got reduced a lot (this was on stock, so I went from 48khz AKM DAC to 192khz SD820 DAC). I'll try on LOS today
 

Dodgexander

Senior Member
Mar 31, 2013
622
166
43
I would love to understand the workings behind this. Once you install this how can you tell it works?

Please don't tell me to listen because that's pointless with placebo effect. I'm simply looking for the technicalities that prove audio is being sent via dac with or without this mod.
 
  • Like
Reactions: troy5890