[DEVICE MOD] Xiaomi Mi4i device -> Hi-Res DAP with Neutron

Support questions for Neutron Player only.
Post Reply
dmitrykos
Site Admin
Posts: 1914
Joined: Mon Apr 25, 2011 6:15 pm

[DEVICE MOD] Xiaomi Mi4i device -> Hi-Res DAP with Neutron

Post by dmitrykos » Fri Aug 10, 2018 11:49 am

By default hi-res audio functionality is not enabled on Xiaomi Mi4i device. It is very cheap device which can be turned into a Hi-Res DAP (24-bit, 44100 - 19200 Hz) with Neutron's help.

Your device must have latest stock firmware + root (tested on 9.2.3.0). Install ES File Explorer (you can find it in Google Play) app and enable Root option to be able to browse the root path of the device (ES File Explorer will ask root access once this option is enabled, if your device is correctly rooted).

1) Step 1:

Navigate with ES File Explorer to /system/etc -> tap on audio_policy.conf -> select ES Note Editor -> choose Edit action -> scroll to compress_offload section and:

- edit sampling_rates field and add: |88200|96000|176400|192000

you will get:

Code: Select all

sampling_rates 8000|11025|16000|22050|32000|44100|48000|88200|96000|176400|192000
- edit formats field and add: |AUDIO_FORMAT_PCM_24_BIT_OFFLOAD

you will get:

Code: Select all

formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD
exit from the text editor with Back button and confirm save.

2) Step 2:

Navigate with ES File Explorer to /system -> tap on build.prop -> select ES Note Editor -> choose Edit action -> scroll to [#disable audio offload mode] section and replace it fully with this block:

Code: Select all

#disable audio offload mode
audio.offload.disable=0
audio.offload.pcm.enable=true
audio.offload.pcm.16bit.enable=false
audio.offload.pcm.24bit.enable=true
audio.offload.track.enable=true
audio.offload.passthrough=true
exit from the text editor with Back button and confirm save.

Reboot your device and start Neutron.

Since 2.05.0 version Neutron will offer to activate Hi-Res Audio but you can always do it manually by activating it in Neutron's settings:

Audio Hardware -> Generic Driver -> Hi-Res Codec (Offload) option

[!!!NOTE!!!] Do not enable Audio Hardware -> Generic Driver -> Hi-Res Speaker option as it may crash your device.

Consult about Hi-Res options here: http://neutronmp.com/forum/viewtopic.php?f=3&t=4014

If you do not see this option then you made a mistake or device's firmware is customized or already does not support this method of enabling Hi-Res Audio.

This post is also mirrored on Xiaomi official forum:
http://en.miui.com/thread-3501134-1-1.html

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 43 guests