crDroid 8.8 | Changelog | 05.09.22

crDroid 8.8 | Changelog | 05.09.22

@SoldatSempai // @reddxae
General:

• ROM is based on Android 12.1 (12L), an August security patch.
• Synced with latest crDroid 8.8 sources.
• For base used trees by DarkJoker360 (from 13.05.22)
• Updated proprietary blobs/firmware images with MIUI V12.5.8.0.RGGMIXM.
• Updated indian firmware images with MIUI V12.5.10.0.RGGINXM.
• FW and required TWRP (3.6.1_12-3) are pre-installed in the installation archive.

Kernel:

• Upstream kernel to 4.14.290.
• Set local kernel version to "-crdroid".
• The implementation of the IRQ definition and threads to CPU clusters has been updated.
• Prefer to read a PID card with a small CPU cluster.
• All TCP congestion control algorithms are supported.
• Added support for FUSE PassThrough
• Included memory optimizations FRONTSWAP, zSWAP, zPOOL, zBUD, z3FOLD.
• MTK I/O and MTK TOUCH boosts are disabled for greater battery life.
• Disabled VLA usage in most drivers and functions.
• Updates and optimizations for BITMap functions.
• Updates and optimizations for mathematical functions.
• Updates and optimizations for cryptography and encryption.
• Updates and optimizations for string functions.
• Updates and optimizations for memory functions.
• Updates and optimizations for low-level functions.
• Updates and optimizations for console frame buffer.
• Updates and optimizations for kernel routines.
• Updates and optimizations for zRAM.
• Updates and optimizations for zSTD.
• Updates and optimizations for LZ4.
• Fixes and optimizations for kernel scheduler.
• Fixes and optimizations for sleep and wake planners.
• Entering deep sleep is 10 times faster.
• Size for kernel cmdline has been increased.
• Added a new accelerated XOR implementation for NEON.
• Kernel compiled with -O3, LD.lld and -A55 optimizations.
• Added support for loading non-verified modules to kernel.
• Disabling the default building of useless kernel modules.
• Added a prebuilt FM Radio driver module from MIUI (OSS disabled).
• Added ThunderQuake Engine vibration strength control.
• Other general optimizations for kernel.

Connectivity and wireless interfaces:

• Added full MediaTek IMS/Wi-Fi stack to the system and bugfixes for the device.
• IMS service app has been updated and Wi-Fi calls crashe has been fixed.
• Correction of shim defects for VTService (technically improves IMS).
• Auto-selection of Wi-Fi channel for SoftAP is enabled.
• Support for third-party location providers is enabled.
• Bluetooth is disabled by default.
• Reorganized Wi-Fi overlays, improved 5GHz connectivity.
• Enabled use of AOSP Wi-Fi Display with MTK adaptation.

Screen and graphics:

• Fixes for Gralloc graphics allocator.
• HWC graphics adapter included in build as a vendor dependency.
• Enabled support for blur effects in the system(disabled on app launch).
• Slow blur effect disabled to avoid laggish blur effect
• RenderScript pinned in memory (fixes some graphics).
• Configuration of display brightness and auto-brightness changed to match Pixel 5 and Pixel 4A.
• Fix brightness slider curve for our device.
• The new radius for rounded corners is set.
• Support for Always On Display is enabled.
• Smooth screen on/off animation enabled for Always On Display
• Fixed problems with any color adjustments in the system.
• Color calibration modes are included: Natural, Boosted, Saturated and Adaptive.
• Fixed screen flickering on one-handed mode.
• Fixed hyperorange screen on night display mode.
• Fixed all bootanimation issues.

Smoothness, performance and battery backup:

• Proprietary performance service replaced by open source alternative.
• Optimizations for the new performance service.
• FUSE PassThrough memory optimization is enabled by default on the system.
• Optimized CPU core utilization for individual process groups.
• Optimized file system configuration for performance.
• Optimized SchedTune performance boosts for process groups.
• Imported Scheduler changes from Latency profile from KTweak.
• Enabled all CPU cores during phone boot.
• Re-enabled V-Sync framework and optimized its configuration.
• Expanded the number of buffers used by graphics from 3 to 9.
• Fixed getting CPU core frequencies for Unity and miHoYo games.
• Changed system graphics renderer to SkiaGL for smoother rendering.
• Memory size for zRAM set to 55% of RAM size.
• Changed zRAM memory compression algorithm to LZ4.
• Changed zRAM WriteBack properties for better performance.
• Optimized virtual memory and zRAM settings.
• Use EAS instead of HMP in the system.
• Reconfigured performance profiles for better balance and performance.
• Enabled compactly cached app heaps in the background and set maximum of 64 applications.
• Disabled latching unsignaled buffers.
• Use of UClamp for UI rendering set to 130.
• Using graphics offsets as duration, instead of triggers for V-Sync (values taken from Redmi Note 10S, duration for HWC increased).
• Fully fixed YouTube scrolling lags while watching Full HD videos and above.
• Now uses 64-bit version for dex2oat.
• Optimized Dalvik and Dex configuration for better performance.
• Dex pre-optimization for SystemUI, Settings and Launcher.
• Added adaptive setting of Dalvik VM HEAP depending on RAM (6/8 GB).
• Reduced RAM consumption by the system.
• Overall optimized smoothness, performance and battery life.

Media and video:

• Included codec and OMX system changes for MediaTek.
• Added prebuilt MTK media extractors with system fixes.
• Exposed aux cameras in third-party apps.
• Fixed viewfinder lags on Google Camera apps.
• Fixed Instagram stories and video quality.
• Unpinned updatable-media service.
• Added Codec2 base and missing C2 codecs to the build.
• Increased priority of stock codecs for thumbnails.
• Fixed YouTube video freezes, video stopping in TikTok, VK.
• Fixed screen recording in all modes (only in 30 FPS).

Sound:

• Added some tweaks from NLSound for MediaTek:
– Disabled deep sound buffer for media.
– Expanded bit rate of some channels to 24/32 bit.
– Expanded audio frequencies of some channels.
– Enabled some audio features in device configuration.
– Other audio-related changes.
• Fixed audio mods work with SELinux Enforcing (Viper, Dolby, etc.).
• Removed the audio pre-processing effects that don't work.
• Removed incorrect audio identifier settings.
• Switched to MTK BesSound instead of MiSound.
• Corrected the mask for "BT SCO Headset Mic" channel.
• Changed volume steps to 15 for media.
• Changed volume steps to 10 for call.
• Fixed adjustment of in-call volumes in all modes.
• Fixed echo in VoIP calls in applications (Discord, Telegram, etc.).

Vibration:

• Proprietary vibrator service replaced by open source alternative.
• Enabled use of vibration patters from AOSP.
• Enabled support for vibration multiple intensities.
• Set vibrator ramp down duration to 50 ms.
• Enabled haptic feedback on icon animation in quick settings.
• Enabled haptic feedback on text selection/insertion.

Security:

• ROM builded in "-user" variant with maximum security.
• Fixed a lot of SELinux policies and problems with that during phone boot.
• Restricted access for some SELinux domains on neverallows.
• Added SaFailNET system for hiding SELinux Permissive to pass SafetyNet (optional).
• Added system for spoofing security props to default locked stock.
• Added device fingerprint spoofing to Google Pixel 6 Pro.
• Restrict applications from viewing /proc/net/unix to hide Magisk.
• Fixed game crashes with security checks by stock default.

Extra stuff:

• Added new Xiaomi Parts adapted to Android 12.1:
– Added clear speaker function from MIUI.
– Added pre-app thermal profiles choice.
• Added modified and fixed ANXCamera.
• Added non-root and working on SELinux Enforcing equalizer ViPER4Android FX.
• Added MTK engineering mode with full functionality.

System-side:

• Fixed CPU temperature monitoring with SELinux Enforcing.
• Fixed system stack for FM Radio functions.
• Added minimal interfaces framework compatibility matrix.
• Clearing unnecessary information in the interfaces manifest to the «new» way of doing things.
• HIDL interfaces base included in build.
• Switched MemTrack service back to its HIDL alternative.
• Added missing MTK APUWare APUSys stack from Redmi Note 9T.
• Disabled debug for ART/Java.
• Disabled logging from spam services.
• Disabled logging for GPS and IMS.
• Change the writing format of XML files from binary to text.
• Disabled phantom process monitoring.
• Disabled updatable and flatten APEX (causing recovery problems).
• Added some props to support offline charging.
• Using offline charging from MIUI, fixed fast charging in offline mode.
• Prefer system selection for Zygote Preforking property.
• New storage path for thermald service has been set up.
• Removed unnecessary MMS overlays causing problems.
• Disabled Google TTS crash warning on first boot.
• Disabled forced sound in camera when taking a photo.
• Any delay before a screenshot is completely removed.
• Fixed displaying of charging information on lock screen.
• Buttons text in the system can now be in any register.
• Correctly disabled the Chimera.GmsIntentOperationService service; fixed increased power consumption caused by it.
• Correctly disabled support for OTA updates.
• Updated permissions for HotWord (improvements for Google Assistant).
• Added keyayouts for joysticks from 1Controller v1.5.2 and additional one for Xbox 360.
• Cleared useless/outdated flags from platform configuration.
• Use armv8-2a-dotprod version for arch in system.
• Use Cortex-A76 core variant for system.
• Cleared and reconfigured main init file.
• All performance settings moved to separate init file.
• Removed useless keymaster waitings in init and all its dependencies.
• Disabled bootanimation service to fix lags at the end of loading.
• Cleared vendor from useless init files, reorganized code of the rest.
• Included 64-bit version of file descriptor for EXT4 file system.
• Vendor blobs not used in AOSP were removed.
• Vendor was stripped of 32-bit libraries for camera and performance services (we use a 64-bit stack).
• Setting of the vendor and kernel security patch dates system-wide.
• MatLog application was removed by default.
• Other minor changes.

Report Page