[Galaxy Grand Prime Android Development] TenSeventy7:
Miix4 18.5.1 and 18.5.1-SUPRA is here!

HybridTeam's internet connection is still having issues (stupid provider fixing 'em by 1st May), but I'm able to release an update that everyone will surely love, almost a month earlier than expected. ;)​

Lag is gone! :highfive:​

Ever since Prime 3.x was in development, a few users have been suggesting to integrate overlays to the apps themselves as having a separate overlay file causes the bottlenecking in the RAM to happen. Including SystemUI crashes; lags in the Messages, Settings, and Gallery apps; lagging in general.

Not only it introduces lagging, it also wastes battery as overlays are applied real-time (as you use the app).

I was too reluctant to do it back then since modifying the apps themselves (by ApkTool) renders them unusable, corrupted or produces an error when parsing. But since I was able to grasp on how to modify them properly by now (ending up with that new lock screen clock and notification bar), I think now's the time I do it.

With the introduction of MxPlatform 4.3.0 (initial Mx4 builds have 4.2.8 instead), most of the apps have their formerly-overlayed layouts now integrated on the APKs themselves. Thereby reducing RAM usage, reducing the lag, almost gone. Animations go smoothly, apps launch faster, and SystemUI stopped crashing. I could even open multiple apps.

And here's the thing, I didn't use any hibernating app (e.g. Greenify), just pure performance.

The following apps have been updated and had their overlays integrated starting 18.5.1:

SystemUI > 2018A_MX4.3 (Bottlenecker #1; top RAM bottlenecker)

Messaging > MX4.3_2018A (Bottlenecker #2)

SamsungIME > v5_SYSTEMUID_SWIFTKEY_VO (Bottlenecker #3)

SecGallery > 2018A (Bottlenecker #4)

ClockPackage > MX4.3_2018A

SamsungCalendar_MXP > MX4.3

SamsungVideoPlayer > 2018A_MX4.3

SecMyFiles > 2018A_MX4.3

I'll keep overlays on the Framework, Contacts, and Dialer apps, as these does NOT allow modifications, rendering them unusable (corrupted) when modified. They don't bottleneck the RAM though as these overlays (are the only ones that) are loaded at-boot (instead of real-time).

Other apps, including the InCallUI and Voice Recorder, have their overlays already been integrated since 18.4.1.

Miix4 Build 18.5.1 also includes the following changes:

The May One Security Patch

Sensor fixes for fortuna3g, fortunave3g (XXU/XXS), and fortunalte

Kernel upstreaming, updates, and optimizations. (3.10.106 on officially supported variants)

Performance tweaks and improvements

Fixes to font rendering and anti-aliasing

Maintainers and porters: Please integrate this update IMMEDIATELY. Refer to the updater_script (inside META-INF/com/google/android) for the files to be removed.

Users under the Supra branch: Your 18.5.1-SUPRA update is the same as the stable branch, as this was approved to be released passively (on all branches) after closed beta testing. This is urgent. xD

Download it today on the Software Updates app!

(Settings > Software Update)

If it doesn't flash/just reboots to TWRP, the file is located at /sdcard/OTAUpdates/18.5.1.zip

Issues with downloading? Click here to download the stable update. Flash manually through TWRP.

In your face, haters. :silly:​