[ROM][UNOFFICIAL][montana][9.0.0_r46] LineageOS 16.0

Search This thread


Feb 10, 2018
Awesome build, insanely stable! I only have one question: How to disable the "SIM 1 is HD Capable" notification? And has Moto Gestures (Fingerprint gestures) been removed? Thanks for keeping builds up today for montana!


Senior Member
Apr 19, 2019
OnePlus 5T
Awesome build, insanely stable! I only have one question: How to disable the "SIM 1 is HD Capable" notification? And has Moto Gestures (Fingerprint gestures) been removed? Thanks for keeping builds up today for montana!
The fingerprint gestures get automatically enabled when disabling the navigation bar

The notification can be hidden by the means of magisk, or disabling VoLTE ooooor JarlPenguin disabling it next build


Aug 20, 2009
hi, I have the same issue as @sakaaz1 - I am attaching logcat. I cannot achieve decryption screen (to enter decryption password)


  • console-ramoops.txt
    154.3 KB · Views: 9
  • dmesg.log
    108.8 KB · Views: 6


Recognized Developer
Oct 16, 2018
Moto G5S
Moto G7
@JarlPenguin is it not full? Where I can find remaining part? I was thinking that if I have this issue with Los 16 the same happens with Los 17.1
It's not full, a full logcat would have to be made from a PC with adb (adb logcat -b all). You've attached the dmesg and console ramoops logs, which only contain output from the kernel.

As for LineageOS 17.1 there are no issues related to secure startup. If the latest version of LineageOS 16 (1.1) hasn't fixed the issue, I'm not sure what to do.


Senior Member
Sep 11, 2012
There are 2 updated roms, between 17.1 and 16 Lineage which one is recommended for battery life?


Apr 6, 2021
Hi guys, I'm the only one that occurred in a boot loop? I unlocked bootloader, flashed TWRP 3.4.0-1 and successfully installed the .zip. Boot loop... Moto G5S montana. Always have the same boot loop, no matter which OS version!

LineageOS version: 16.0 UNOFFICIAL (from this thread) / 17.1 OFFICIAL signed / 18.1 UNOFFICIAL
LineageOS Download url: Github, LineageOS, Github
Gapps version: No Gapps, do not want Google play services!

Did you--
wipe: Dalvik, Data, Cache, System, Vendor
restore with titanium backup: NO
reboot after having the issue: YES

Are you using--
a task killer: NO
a non-stock kernel: NO, just OEM unlocked
other modifications: TWRP 3.4.0-1 / 3.4.1 / 3.5.0

Top Liked Posts

  • There are no posts matching your filters.
  • 23

    #include <std_disclaimer.h>
     * Your warranty is now void.
     * We are 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 us for messing up your device, we will laugh at you.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

    • Download the latest build, official TWRP (3.4.0 and newer) and GApps (if you need them)
    • Flash the downloaded TWRP via fastboot
    • Boot to recovery
    • Format system, vendor, data, cache, and dalvik cache
    • Reboot to recovery
    • Flash the latest build
    • Reboot to recovery
    • Flash GApps and any other necessary add-ons

    Note: Long first boot times are normal due to forced encryption. Please do not reboot your device when it is booting up the first time, instead wait patiently. If it takes more than 10 minutes to boot then please notify me here with a logcat.

    What's working:
    • WiFi
    • Camera and Camcorder
    • Bluetooth
    • NFC
    • Fingerprint - Oreo firmware required
    • GPS
    • OTG
    • Video Playback
    • Audio
    • RIL
    • VoLTE/VoWiFi
    • USB tethering/audio
    • SELinux: Enforcing

    Known issues:
    • You tell me

    • Unofficial builds: GitHub
    • Recovery: Official TWRP
    • Google Apps: OpenGApps (nano package is advisable, but you definitely should avoid using stock/super packages)

    Reporting Bugs
    • All bugs should be reported here: Issue Tracker
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • 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.)
    • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

    What is your--
    LineageOS version:
    LineageOS Download url:
    Gapps version:
    Did you--
     restore with titanium backup:
    reboot after having the issue:
    Are you using--
    a task killer:
    a non-stock kernel:
    other modifications:
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

    Thanks to:
    @GivFNZ for testing my builds
    @wiktorek140, @karthick mostwanted, @wh0dat, @KalilDev, @AsD Monio, @GoldeneyeS2, @Steve Mathew Joy and @rajatgupta1998 for their hard work on our device sources
    LineageOS team


    Added support for Color profiles (Settings > Display > Colors)
    Fixed an issue where you couldn't connect to certain Wi-Fi networks
    Fixed offline charging
    Fixed bootloop when enabling secure startup
    Fixed dual SIM menu not appearing
    Mobile data settings now only displays 3 modes (LTE, 3G and 2G)
    September security patch
    First stable release of LineageOS 16.0
    SELinux: Enforcing
    Widevine level is now L1
    OTA updates
    Minor tweaks and bug fixes
    Fixed an issue where the navigation bar would not disable respective to the toggle in Settings
    Fixed an issue where some applications on the Google Play Store were listed as incompatible with the device
    Fixed an issue where Moto Camera was unable to be updated from the Google Play Store
    August security patches
    Improved overall stability and performance
    Updated blobs from deen_sprout (Moto One) and tissot_sprout (Xiaomi Mi A1)
    Fixed a crash that happened while taking photos when recording videos
    Included Moto Camera instead of Snap - has slow-motion, supports front flash properly
    Updated camera and fingerprint blobs from stock OPPS28.65-37-7-12
    Now we are mounting system as root (/system at /)
    Now we verify vendor, so make sure not to tamper with it
    Updated kernel with recent CAF tags merged
    June security patches
    Enforced VNDK linker namespace isolation.
    January security patch
    Fixed NFC on XT1793/4 (thanks to @CypherNoodle for helping me)
    Fixed compass on XT1790/1
    Fixed "There's a problem with your device." error (thanks to @wiktorek140)
    Fixed MTP (thanks to @Sohamlad7)
    Thanks to @Giv314, @CypherNoodle and @wiktorek140 for testing this build!
    New tree
    Updated lots of blobs
    Fixed encryption
    November security patch
    August security patch
    New tree
    Updated offline charging blobs
    Updated fingerprint blobs
    Updated perf configs
    Disabled OTA
    Added vector icons for Ambient Display and Fingerprint gestures in Moto Actions
    Enabled vibrating for "Flip for DND" action
    Made default Hotspot name "Moto G5S"
    Enforced privileged apps permissions
    Kernel upstreamed to match some changes at CAF
    If you're coming from an update before v0.11, please flash https://github.com/MontanaDevelopment/releases/releases/download/LOS16-12/lineage-migration-unsigned.zip before booting this update.
    July security patch (for real).
    Fixed Hotspot.
    Project Treble support! Thanks a lot to [user=6879971]@AsD Monio[/user] for his commits
    July security patch
    Other LineageOS source updates
    June security patch.
    LineageOS source updates.
    Updated device sources from CAF.
    Removed useless blobs.
    Fixed VoLTE.
    Added zram support for Moto G5S' with 4GB of RAM.
    Fixed video recording on Snap and switched to Snap.
    Lowered minimum brightness.
    Some audio optimizations.
    Fixed call recording.
    Kernel compiled with clang.
    Smoothened vibrations.
    Updated media configs.
    Enforced Oreo bootloader.
    Fixed Wi-Fi Display (Miracast).
    Removed NFC stuff on XT1795s.
    Upstreamed kernel to 3.18.140.
    Fixed Moto Actions crash (only affects select handsets).
    Removed DTV (Digital TV) as none of our handsets support it (as far as I am aware of).
    Addressed some denials.
    Fixed encryption.
    May security patch.
    Changed from LTE icon to 4G.
    Device model now includes Moto G5S.
    Fixed some SEPolicies (thanks [user=6879971]@AsD Monio[/user]).
    Upstreamed kernel to 3.18.139.
    Android 9.0.0_r35 --> Android 9.0.0_r37.
    First signed build.
    Fixed low audio bug
    Fixed navigation bar toggle (is now there in Settings > System > Buttons)
    Add correct HAL1 packagelist for fixing certain apps with HAL3 enabled
    Updated blobs
    OTA updates should work now.
    Use [url]https://github.com/montanadevelopment/releases/releases/download/LOS16-6/lineage-migration-signed.zip[/url] to migrate from unsigned to signed builds (flash after flashing ROM)
    Fixed front flash & USB tethering. Thanks to @wiktorek140
    Bundled Open Camera instead of Snap.
    Disabled Camera2 API (HAL3) and EIS by default.
    These changes fix video recording, once and for all.
    Native support for repaired "tianma" kernels.
    Upstreamed kernel to 3.18.138 from 3.18.113
    Updated GPS, DRM, encryption blobs
    Support for LiveDisplay 2.0
    WiFi calling in supported countries
    Oh and April security patch ofc
    Fix broken recording on stock camera.
    Enabled Camera2 API and EIS by default. Blacklisted stock and Moto Camera app for compatibility.
    Initial release.

    Source code:

    XDA:DevDB Information
    LineageOS 16.0 for Moto G5S, ROM for the Moto G5S

    JarlPenguin, AsD Monio, wiktorek140, GivFNZ, karthick mostwanted, wh0dat, rajatgupta1998
    Source Code: https://github.com/LineageOS

    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 3.x
    ROM Firmware Required: Oreo
    Based On: CyanogenMod/AOSP

    Version Information
    Status: Stable
    Current Stable Version: 1.1
    Stable Release Date: 2020-08-24
    Current Beta Version: 1.0b3
    Beta Release Date: 2019-03-15

    Created 2019-03-15
    Last Updated 2020-09-18

    New LineageOS 16.0 build avaiable here (https://sourceforge.net/projects/mo...16.0-20200502-UNOFFICIAL-montana.zip/download)

    - default kernel included (radium compatibility)
    - fixed error in AudioFX
    - April security patches
    - Minor tweaks
    - fixed "Internal error" on eva kernel

    - Make a backup
    - flash rom zip via recovery
    - Optional instalation step
    - install additional mods (magisk, gapps, audio mod etc.)
    - reboot to system

    WARNING! First boot may take ~10 min!

    - Prebuilded ProjektEva kernel here (https://sourceforge.net/projects/montana/files/3.18/ProjektEva/boot-projekteva-20200503.img/download - !!!MAGISK PREFLASHED!!!)
    Optional instalation step:
    - Install boot-projektEva-2020-05-02.img as image into BOOT partition
    If anyone is wondering what happened, I've been really busy these past few weeks, so that is why no updates have been launched.

    On the other hand, sneak peek into next update:
    Fixed video recording in Snap, Moto Camera, etc. (Partly thanks to @AsD Monio)
    Project Treble (Team effort of me and @AsD Monio)
    Fixed time resetting on reboot
    Updated lots of blobs
    And more
    Hello, everyone! I have good news! Wi-Fi is FIXED! Thanks a lot to @wiktorek140 (for reading & helping me with logs) and @GiovaniFNZ (for testing all of my builds) on Telegram. Now all that is left is fixing Moto Actions, which is pretty much a piece of cake.