6.02.2019 - build #15
- Fixed graphic artefacts (hopefully fixes lags during scrolling too)
- Fixed AdvancedDisplay (mDNIe)
All credit goes to
@rINanDO.
5.02.2019 - build #14
- Fixed screenshot issue
- Fixed vibration
- Reverted Binder driver to 32-bit version
- Re-tuned CPU governor for better performance
- Re-enabled GPU step 3
3.02.2019 - build #13
- Fixed and added back HWComposer (thanks to @rINanDO for patches)
- PowerHAL && kernel CPU governor are tuned for better powersavings *
- Disabled GPU step 3 for better powersavings
- Switch kernel to Powersuspend driver (credits goes to Paul Reioux and Jean-Pierre Rasquin)
- Build now got rid of many hacks in Android sources**
- Switched to FunctionFS from legacy ADB driver (thanks to @AdrianDC for patchset)
- Updated SDcardFS code from @AdrianDC Sony huashan kernel
- Fixed kernel to switch to BOOTTIME support (thanks @rINanDO)
- Removed any CMA-related kernel hacks for better device stability
- Switched to Camera HAL2 (fixes modes like panorama in Google Camera)
- Fixed broken workaround for SIM detection (again)
* Please test and give some feedback about these changes. Usage of high CPU freqs now should be limited as much as possible (it's an intended behaviour). Also this update makes PowerHAL profile working.
** Moved libc pthread hack to shim, also reverted RIL ashmem hack (thanks
@javelinanddart for original commit and helping me with fixing our RIL blob).
13.01.2019 - build #12
- Bring CMA enabled kernel back
- Reverted to Dynamic CPU governor
- Added GPU control (thanks @netarchy, Andrei F., @pascua28)
- Gralloc fixes (credits to @rINanDO)
- Added power HIDL (thanks @rINanDO)
- Various patches for the Dialer (thanks to @SergeyL)
- Fix for choppy audio playback
- Added Google Camera (thanks [email protected])
- Build is now signed with release keys *
- Fixed (hopefully) device wake up issues **
* This should prevent the Trust from giving a warning about public keys being used. A possible fix for some apps that previously couldn't have been installed from Play Market (not tested).
** The known issue, however, is device slowness right after device first boot.
There is nothing to do, just wait until mediaserver get scanned all files and dex2oat finish apps optimization. After that the phone is responsive again.
8.01.2019 - build #11
- Reverted CMA changes (build has 770 Mb RAM available) *
- Set Lionheart CPU governor as default
- Added Substratum theme engine support (thanks @SergeyL for patches)
- Various optimizations from @SergeyL LineageOS 15.1 build
* Because of some issues (like slow device wakeup) reported, I'm reverting for now back to CMA disabled.
In case if anyone want still using kernel with CMA enabled (this build has 937 Mb RAM available), I have built a kernel, download link below:
https://www.androidfilehost.com/?fid=11410963190603893736
5.01.2019 - build #10
- Fixed accelerometer issues
- Enabled Contiguous Memory Allocator *
- Added memory management tweaks (see 94kernel init.d script), zRAM size changed to 300 Mb
- Added Torch wakelock (thanks @rINanDO)
- Changed user-settable display brightness interval (thanks to @Oebbler1) **
- Updated video drivers from n7100 (thanks to @pascua28)
- Updated CPU voltage table from @pascua28 kernel
- Fixed CPU hotplug issues on Dynamic CPU governor
- Added experimental HWComposer back
* This one was a toughest thing to get to work. After some testing of various patchsets and memory management tweaks I've decided to go with the original CMA implementation (by Samsung). A short test of heavy-tasking (with Google Chrome) didn't show any lags, but I might've missed something, so your assistanse in testing / reports are welcome!
Currently available RAM is 956 Mb (compared to 776 Mb on previous build).
** Now display can be set much darker than before. Please be sure to set the display brightness higher before flashing new build (if you were already using a considerably low brigthness).
15.12.2018 - build #9
- Re-add Camera2 app *
- Rework memory management optimizations **
* Because of some snap issues now we again have two camera apps. I'll consider further switching to some another camera app, unless I can fix it some other way (e.g. we can try some fixes for camera HAL from Galaxy S2, which aren't currently ported to S3).
** This is just a quick rebuild in which I've reverted previously applied memory optimizations from LineageOS 16.0 and applied ones from LineageOS 15.1 build for Galaxy Ace 2. Credit goes to
@SergeyL for these optimizations.
Please test and report if you feel it works better.
13.12.2018 - build #8
- Fixed wifi (flashing wifi fix should be no longer needed) *
- Fixed sensors (thanks @rINanDO for help)
- Implemented in-kernel battery charge level LED notification
- Added CPU hotplug support for Dynamic governor (ported from PegasusQ governor)
- Reverted kernel timer to 200 HZ (Exynos4 default value)
- Added exFAT file system support (not tested)
- Fixed menu key function override (thanks @ComicoX)
* not tested. Mine S3 has semcosh radio chip, in which case flashing wifi fix was already unnecessary. Please report if wifi now works without flashing fix linked in OP.
27.11.2018 - build #7
- Revert sensors updates (ambient light sensor breakage)
- Small improvements to RIL workaround
- Added init.d script for Boeffla Sound and Charge Level interface*
A small change in SIM detection workaround will allow to detect SIM faster if phone boots in airplane mode.
* Thanks to
@Marc0601 and
@NoN1979 for pointing to this script! Also thanks to
@Darkened_Sky for writing this script
Known issues
- AKM sensors aren't working properly. A prebuilt Akm blob we use seems to have some broken logic regarding enabling / disabling Accelerometer and Magnetometer.
26.11.2018 - build #6
- GPS improvements (thanks to [email protected])
- SIM card detection workaround *
- Reverted SELinux changes**
- Added FIOPS I/O scheduler and set as default
- Added SDCard FS support
- Added Boeffla Sound***
- Added charge level interface (from Boeffla kernel)
- Added CPU undervolting interface (and update the default UV table from @A$teroid kernel)
* A temporary solution, that basically resets the RILD daemon, but still better than nothing. After booting the phone in the airplane mode SIM card now is detected, though I could't encounter a rare case where SIM is not detected at bootup when not booting in airplane mode.
** Magisk doesn't seem to support SELinux-disabled kernels, so reverting changes from previous build.
*** Some of you asked me to add Boeffla sound - so far only kernel level is implemented, not sure about implementing an app. If anyone know an open-source app that supports Boeffla kernel features, let me know.
Known issues
- AKM sensors aren't working properly. A prebuilt Akm blob we use seems to have some broken logic regarding enabling / disabling Accelerometer and Magnetometer.
18.11.2018 - build #5
- Update kernel to 3.4.67. We are now using LK 3.4 sources! *
- Kernel: set kernel scheduler HZ to 300 for even more smoothness
- Kernel: switch to Dynamic CPU governor and tune it for i9300 (credits for this CPU governor goes to @mkaluza)
- Fixed GPS
- HWC is actually updated to the newest one**
- Fix USB mode not to be set to charging only by default (thanks to OmniROM)
- Add UMS USB mode***
- Add option to disable media scaninng (not tested)
- Add Signature Spoofing patch (not tested)
- SELinux status spoofing (set to enforced now) ****
- Add custom animation transition scales
- Various fixes from AICP, OmniROM, BlissROM and other ROMs (thanks to @SergeyL for patches)
* I have been testing this kernel for a few days and hopefully fixed all the instabilities. Please report any reboots or other bugs you've found (if any).
** have forgot to remove an old HWC, so now we actually switched to HWC from experimental CM14.1 builds. Credit goes to
@A$teroid for filtering out an unsupported RGB565 layers.
*** this is an experimental feature I've originally implemented for Ace 2. Make sure to safely eject your phone's SD card on the host device before unplugging the cable (otherwise it may lead even to filesystem corruption)
**** SELinux is NOT actually set to enforced mode, nor it's enabled at all, it's just a preparation for apps that may require this. You can switch it to "permissive" mode by setting a property sys.selinux_enforcing to false in build.prop:
Code:
sys.selinux_enforcing=false
P.s. I haven't been noticing any freezes nor I could reproduce it, however I've had some gralloc errors. Let's see how it's going with a new HWC (though I wouldn't think that it will solve all errors)
Known issues
- SIM sometimes is not detected at device boot. It's never detected when phone is booted in the flight mode (after a flight mode is turned off).
- Probably GPS could be working better (not merged @rINanDO's fixes for GPS yet)
- Gralloc buffer release errors
13.11.2018 - build #4
- Kernel: updates from n7100 (thanks @rINanDO)
- Reset memory management config to S2 kernel
- HWC: merge changes from experimental CM14.1 builds (thanks @forkbomb444)
- Revert Mount Namespace / Magisk Hide patches
- Revert cameraserver to a separate service
11.11.2018 - build #3
- update source to 8.1.0_r50
- reboots issue fix (thanks to @A$teroid for kernel patch)
9.11.2018 - build #2
- fixed Calls (needs to be confirmed!)
- fixed SDcard issues (thanks to @A$teroid for kernel patches)
- added Magisk hide kernel patch (thanks to @A$teroid), NOT tested
- fixed V-Sync issues
- another minor fixes and improvements
5.11.2018 - build #1