[Xiaomi Redmi 4X Themes, Apps, and Mods] pavaosk:
FULL CHANGELOG

Changelog 26/08/2017:

-Incrased maximum current to 3000mA (12W charging);

-Incrased thermal limits for charging management;

-Decrased maximum current when USB is USB_DCP and not HVDCP or HVDCP3;

-Re-defined IIR filters in mixer paths for better audio filtering and response;

The actual USB maximum current are:

*USB_DCP (only 5V charger): 1,5A maximum; (QC 1.0?)

*USB_HVDCP (5, 9 or 12V charging): 1,6A maximum; (QC 2.0?)

*USB_HVDCP_3 (dynamically adjust from 5 to 12V with 200mV steps): 3000mA. (QC 3.0?)

Changelog 01/09/2017 - maybe the last one.

-Decrased constant charging current to 2500mA (11W reserved for charging)*

-Incrased again some thermal limits for charging management and battery current control;

-Rework on IIR filters in mixer paths;

-USB_HVDCP incrased to 2.0A maximum current (if charger can supply this)

-USB_HVDCP_3 maximum USB input to 3000mA, so 7W is reserved for phone use and 11W for phone charging while higher currents is needed for charging battery;

-Volume boosts more for microphone and headphones, speaker too.

-Added a script to add custom configurations lines on build.prop to update audio configs.

Changelog 03/09/2017 - before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks). - Final version.

-Added more build.prop tweaks for better audio processing;

-Added camera recording specific path on mixer paths to incrase audio quality and reduce distortion on videos.

-Tweaked Qualcomm Fluence technollogy.

Changelog 10/09/2017 - before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks). - really final, nothing more to change, sorry.

-Added more build.prop twekas for fluence and dolby;

-Added audio recording and headphone microphone specific path on mixer paths to incrase audio quality and reduce distortion on general recordings;

-Added more thermal control to battery charging.

-Added IIR Filters coefficients and applied it to speaker, earpiece and handset!

-In headset mode, added a little "ambient feedback" reproducing ambient sounds capturated by headset microphone on your ears (very low volume to don't affect music).

-Improved build.prop audio tweaks with ARM64 offload flags;

-Improved dolby operation.

Changelog 22/10/2017 before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks). - really final, nothing more to change, sorry. (AGAIN ¬¬') hahaha

- Added more build.prop tweaks for audio, changed fluence mode from endfire to broadside and take back active noise cancelation operation again.

- Improved charging in QC 3.0 and QC 2.0 Mode, incrased QC 1.0 USB maximum current too to 2,1A maximum.

- Added more init boot scripts to improve performance and powersave;

- Trying to enable wifi calling, tell-me if works, but i think this needs specific libraries to work, these libraries should be compilled with ROM. Snap 435 supports wifi calling. Try to enable it in configurations.

Changelog 28/10/2017 - before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks). - really final, nothing more to change, sorry. (AGAIN ¬¬') hahaha

Improved at maximum thermal agorithm

Improved media streaming

Improved audio (not perceptive but higher frequencies now have a better response

Improved charger detection and reduced maximum case therm temperature target to reduce charging temperature.

Re-incrased charging maximum current to 3000mA.

Changelog 30/10/2017 - before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks).

-Incrased thermal limits at charging

-Incrased audio samplertato from 48kHz on previous version to 64kHz on this version

-Re routed IIR audio filters

-Updated maximum QC3.0 USB input current to 2.2A.

Changelog 04/11/2017 - before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks).

-Added more algorythms for hardware monitoring at thermal-engine;

-Improved CPU and GPU thermal migration at thermal-engine;

-Thermal-engine limits more relaxed;

-Ballanced into performance-power saving and coolding;

-Charging current seted to the high efficiency point: 2500mAh again;

-USB input current maximum 2A at QC 3.0 Mode, voltage goes up to 12V with 200mV steps;

-NEW: Added hosts file with 42000 hosts do block ADs;

-NEW: Added and improved new high pass filter for microphone, speaker, headset and earpiece;

-More LMK tweak and build.prop redefinitions.

Changelog 05/11/2017 - before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks).

-More Tweaks at thermal-engine

- Maximum USB Current at QC 3.0 3A; QC2.0 1.6A; QC 1.0 2A.

- Added more trip sensors to a more stable system on thermal-engine.

Changelog 12/11/2017 - before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks).

-Reworked thermal-engine, will decrase some performance according system temperature, this will stay phone cold.

-Maximum USB Current at QC 3.0 3A; QC2.0 1.5A; QC 1.0 2A.

-Reworked post-init script, fix led bug with SMP (Santoni Mods Pack xD) and add more features to incrase system speed and powersave;

-Reworked build.prop, added new powersaving setprops and memory management;

-Updated hosts file with malware and ad protections.

Changelog 13/11/2017 - before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks).

-Updated under-voltage value for thermal retention (less, now CPU enters at 54ºC start to undevolt);

-Updated build.prop pcm rates and audio configurations;

-Trying to add wifi call support (tell-me if works or not, if don't work HM4X dont support this...);

-Maximum HVDCP3 current set to 2,5A and charging to 3A;

-Updated NTP servers;

-Updated and improved GPU acceleration settings;

-Tunned interactive governor for more powersave;

-Disabled more CPU cores at IDLE.

Changelog 15/11/2017 - before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks).

-Updated Thermal-Engine

-Added more memory management entries on build.prop

-Update NTP servers;

-Updated IIR audio filter gains for speaker;

******NEW: Added CPU, GPU, LCD LED and Battery management script for lower temperature, safer and stable charging! At initial charging, less than 25% of battery, the maximum charging current will be 2000mA, after this, arround 45%, will be 3000mA until charging end. If battery temperature reaches 46ºC in 3000mA mode the current will stay at 2000mA. Try It! Will be automatically started Up with device! The script is called "200Power" for me! You can also monitor battery and internal buck converter temperature, USB input voltage and input current with an app like "aLogcat" or any other logcat apps... Search for "PSU_INFO" (without quotes) in log files, with alogcat for example you can see in real time the statiscs.

Changelog 18/11/2017 - before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks).

-Battery 3A max charging now is defined if more than 50% of charge is detected, if not, will start with 2,1A maximum for incrase battery life with less power charging, after 50% will start "turbo charging" at 3A maximum;

-Updated hosts file;

-Update audio sample rates on build.prop to 96kHz (more fidelity);

-Updated mixer paths to decrase headphone amplifier gain (incrases audio quality at higher volumes), incrased IIR filter gain and added more frequencies to incrase response;

-Updated thermal-engine with lower limits to decrase the temperature and maintain the general performance without prejudice general use;

-Disabled more services to incrase power saving;

-Build.prop clean up at mod lines addition;

-Added Dirac Audio effect compensation libs;

-Added dolby codecs;

-Added dolby dap advanced settings, like more frequency response and more samplerate, original is 44kHz, i moded it to 96kHz.

Changelog 26/11/2017

-Camera mic and recording enhancements at build.prop (need to be tested);

-CPU Power savings with less cores active with low loads and power efficient workqueues;

-Limited maximum battery voltage to 4,24V (aproximaddly 90% of charge) to incrase battery life and number of good charge cycles;

-Reduced thermal limits to decrase overheating (THIS WILL DROP GAMING PERFORMANCE, SO ITS NORMAL IF PHONE WAS HOT);

-Tunned Dolby and DIRAC equalizer to better bass and treble quality;

-Incrased Dolby resampler samplerate to 192kHz to incrase frequency response fidelity;

-Tunned Microphones, Speakers and headphones;

-Incrase read cache;

-Updated hosts file.

Changelog 27/11/2017

-Fixed maximum battery charge capacity to something arround 85% with turbo charging - Decrasing maximum charge voltage will make a more longer life battery;

-Fixed wrong CPU frequencies at build.prop;

-Decrased thermal limits again to protect against overheating a little bit more;

-Incrased Power Saving.

Changelog 02/12/2017 - before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks).

-Remove some thermal throttles from thermal-engine configuration to incrase overall and gaming performance;

-Updated hosts file;

-Added newer dolby entries;

-Incrased audio fidelity for speakers (with dolby atmos configurated with new dolby entries);

-Lower thermal limits for battery charging to incrase battery lifetime.

Changelog 03/12/2017 - before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks).

-Updated dolby band frequencies filter;

-Fixed samplerate for audio at 96kHz maximum;

-Build.prop powersaves and GPU tweaks.

Changelog 04/12/2017 - before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks).

-Updated dalvik dex2oat thread management;

-Added thermal entries for hotplug CPUs;

-Enabled hardware side speaker protection for excessive power on audio volume (class d amplifier voltage reduction).

Changelog 05/12/2017 - before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks). Final Update, ending mod support because nothing left to change without kernel source support.

-Updated memory management (lowmemory killer optimized for 3GB device);

-Sync all audio samplerates to 48kHz what is the maximum hardware allowed samplerate, software can go up to 192kHz but our AD converter only delivery analog audio sampled in 48kHz maximum for all outputs;

-PCM Bit to 24 bit maximum what is the maximum resolution of our AD converter;

-Temperatures fixed (battery charging);

-Disable low power audio for performance (HiFi) processing;

-Disable audio and video tunneling and process with native codecs;

-Buck controller throttle set to 82ºC on DC_DC controller;

-Fixed microphone feedback at headset mic.

Changelog 17/12/2017 - before flash it remove anything related to this mod on build.prop file (at the end of file have the tweaks).

-Improved support for custom roms;

-Re-routed audio mixer_paths;

-Battery charge up to 100% of capacity;

-CPU and GPU power saves;

-Dolby codec bass gain;

-Updated hosts file (11/12).

-Actual charging settings: Standard: 5V / 1,5A USB input maximum; QC 2.0 Charger: 5/9/12V - 2,1A USB input maximum; QC 3.0 Charger: 3.6 to 12V with 200mV steps - 3A USB input maximum. Battery regulated current limit: 2,5A - the residual power feeds the another phone parts.

OBS: to obtain the maximum power drawed from charger just do this equation: P=V*I where P is power in watts, V is voltage in volts and I is current in amperes. Example: P=5*2, so P=10W.

OBS2: On USB_HVDCP_3 mode (QC 3.0) the phone can heat more! This because voltage is adaptive, so, sometimes current draw is bigger than in HVDCP mode due low voltage (arround 6V x 3A), in HVDCP mode we have minimum 9Vx2A, this is cooler than lower voltage and bigger current, but both modes works perfectly normal.

*-> The constant current charging can decrase drastically if battery or "case_therm" sensor gets hot too fast and incrase again when cooldown.