• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][UNOFFICIAL][8.1.0] LineageOS 15.1 [BETA][6.03.2019]

Search This thread
Hi, just a few questions (I hope someone will see this...)
  1. Whats the difference between customized and standard Version? Wich should I use
  2. Why are there seperate Kernel builds? Is it the same as the Kernel inside the ROM? If not, is it recommended to flash those Kernels
  3. Is this ROM suited for daily-usage?
  4. Is this Version still maintained? Are newer Version really better updates/upgrades that are recommended to use (Should I use a newer Version of LineageOS?)
    The SGS3 has some hardware limitations, so I was not sure wether its a good Idea to run the newest Android Version on it
  5. What about the low_ram build.prop tweak, why isn't it recommendet? I thought devices under 1GB of RAM have this enabled by default
Thank You Really much!

Top Liked Posts

  • There are no posts matching your filters.
  • 79
     * Your (probably expired) warranty is now void.
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.


    Hi all,

    This is an unofficial Oreo build for the Galaxy S3 (i9300) based on LineageOS 15.1.

    Most of the ROM features are working, but the overall state might be not stable or not suitable for a daily use (not heavily tested yet).
    Don't install this ROM as your daily driver.

    This work is heavily based on works of forkbomb444 (thanks for device tree, kernel and device patches for LOS 14.1), rINanDO (thanks for device tree, kernel and device patches for LOS 15.1) and A$teroid (thanks for cherry-picks I took from his kernel).

    What is working:
    • Boots
    • Audio (playback && recording)
    • Bluetooth
    • Graphics
    • Camera (photos && video recording)
    • Sensors
    • RIL (SMS, mobile data, calls)
    • Wifi
    • USB
    • Video playback (HW/SW)

    What is not working:

    • No V-Sync
    • Video recording
    • calls
    • AKM sensors (accel & magnetometer) issues
    • probably, GPS could work better
    • gralloc / surfaceflinger issues
    • maybe yet something

    Reporting bugs

    When reporting reboots, please produce log below as follows
    (using adb or terminal)
    cat /proc/last_kmsg > /sdcard/last_kmsg.txt
    and attach in this thread.

    If reporting another issues
    Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    A rough timestamp of when the issue occurred is also useful.

    to quickly & easily capture logcat (Main log), Kernel log (dmesg) & Last Kernel log (last_kmsg which is important in case of unwanted reboot) without using a computer + adb or use a Terminal emulator on the phone:
    1. Root the phone
    2. Developer Options > Store logger data persistently on device > select All. More info about it here on developer.android.com
    3. Install the free SysLog. (screenshot)

      View attachment 4644180
    4. Reboot the phone & reproduce the problem(s).
    5. Open Syslog & select logcat, dmesg & last_kmsg. Add some significant keywords in the bottom including in Notes describing the bug & hit Take log.
    6. The individual logs + a .zip of all of them will be saved in /sdcard/Syslog. You must rename them .txt to be able to attach them to an XDA post like logcat.log > logcat_log.txt for example. Or you can choose Share which will .zip them & then you can attach to a post or upload somewhere & link to in your post if the .zip is too big for XDA's attachment service (20 MB max).
    Done! And make the dev happy. :cool:

    Bug Reports & Logs?
    If the phone is not rooted you can grant this permission to enable Syslog using ADB (15 seconds ADB Installer) & a computer:
    • adb shell pm grant com.tortel.syslog android.permission.READ_LOGS
    You can also install an app like MatLog to analyse the logcat, filter it, search in it, export files etc but Syslog is fast & easy. If not rooted grant permission for MatLog:
    • adb shell pm grant com.pluscubed.matlog android.permission.READ_LOGS

    Caution: proceed switching from customized builds to a "pure" ones with /data wipe!


    Note: only flash kernel if the release dates of ROM and kernel are matched. Don't flash older kernels on newer ROMs, unless explicitly told. Usually dedicated kernel releases are non-regular and just for bugfixes (anyway see latests messages in the thread as I usually write what is different on these kernels). Installation order is as follows: ROM first, kernel second.


    If you like my work and want to thank me, feel free to buy a coffee :)

    Thanks to it'sup and someOn3 for donations!

    Source code (standard builds):

    Source code (customized builds):

    XDA:DevDB Information
    LineageOS 15.1, ROM for the Samsung Galaxy S III I9300

    ChronoMonochrome, rINanDO, A$teroid
    Source Code: https://github.com/CustomROMs

    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 3.4.x

    Version Information
    Status: Beta

    Created 2018-11-05
    Last Updated 2019-03-05


    6.03.2019 - build #3a

    • Correct NativeWindow PixelFormat fix (should fix crashes in apps like Google Play)
    • Re-tune Power HAL to match build #1a (22.02.2019)

    5.03.2019 - build #2a

    • Update sources
    • Switch gralloc to UMP-only allocations*
    • Actually include LiveDisplay HIDL this time
    • Dropped earlysuspend support in a favor of autosuspend (credits to @rINanDO)
    • Build libEGL_mali from sources & set the correct pixel format for the native window**
    • Fix NFC service crashes & include NFC feature
    • Reverted kernel ext4 fs updates***
    • Bluetooth: revert to LK 3.0.101****

    * this should fix some artifacts like the distortion in the camera app or some apps like Chrome.
    ** this fixes color inversion in videos produced by Recorder app
    *** recently pushed updates seems to be incomplete and according to some user report were also causing filesystem corruption...
    **** a possible fix for the BT calls. Have no idea if that was broken by LK 3.4 update but lets just see if it fixes anything...

    22.02.2019 - build #1a

    • Update sources to android-8.1.0_r52 (security patch 2019-02-05)
    • Fixed gralloc artefacts with HIDL addition
    • Update to LiveDisplay HIDL 2.0 (thanks @rINanDO)
    • Clean sources up to get rid of most of hacks*
    • Hex-edit proprietary blobs libsec-ril.so and glgps to get rid of text relocations
    • Added symbol required by libsec-ril.so (and removed use of now unneeded shim lib)
    • Added incall CPU boost hook by @arter97
    • Added back hotplug support to Dynamic CPU governor
    • Optimized Power HIDL for even better power savings
    • Switch to 64-bit version of binder (official addonsu now should work)
    • Revert sensors to Replicant OS version (+ some fixes for them to work)

    * torch wakelock patch is moved to kernel, removed hack for audio playback detection and so on.
    Also removed patches I found that were unused (I hope I didn't remove anything that was actually in use).

    (Customized builds)

    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:

    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:
    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

    • initial release

    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.
    New build 6.02.2018 is up!


    6.02.2019 - build #15

    • Fixed graphic artefacts (hopefully fixes lags during scrolling too)
    • Fixed AdvancedDisplay (mDNIe)

    All credit goes to @rINanDO.







    WiFi Fix