{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include <std_disclaimer.h>
/*
* Your 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.
*/
About LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1.0 (Oreo), which is designed to increase performance and reliability over stock Android for your device.
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.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
What's working :
Boots
Wifi
Bluetooth
Camera and Camcorder(video recorder)
Video Playback
Audio ( Recording and Playback )
Sensors
GPS
VoLTE
What's not working :
Usb tethering function does not work.A Third party app such as pdanet might be a solutiıon.
Flashing and updating
LineageOS clean install :
- Mandatory to flash 64bit recovery
- (Optional) Wipe the data & cache & system(Backup to make sure not to loose data)
- Flash the LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot
LineageOS update / upgrade :
- Mandatory to flash 64bit recovery
- (Information) Don't wipe anything unless you want to
- Nothing to wipe when switching
- (FUTURE RELEASES) Might need clean, informations will be updated
- Flash the latest LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Every additional zip you want to flash
- Reboot
For root access :
- (Information) Read the Root section of the Q&A thread
Downloads Links
LineageOS 15.x arm64(Unlocked Bootloader) :
Development : https://www.androidfilehost.com/?w=files&flid=236385
Google Applications (optional) :
MindTheGapps : Link (Use packages for ARM64, Android 8.1)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.
Recovery Mandatory to flash for 64bits ROM :
Download TWRP 3.2.1-0 : https://www.androidfilehost.com/?w=files&flid=236353
About the builds
Device tree : https://github.com/Sohamlad7/android_device_motorola_cedric/commits/lineage-15.1-64
Kernel sources : https://github.com/Sohamlad7/android_kernel_motorola_msm8937/commits/lineage-15.1-64
Vendor blobs : https://github.com/Sohamlad7/android_vendor_motorola_cedric/commits/lineage-15.1-64
Reporting Bugs
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
Bug report should be done in following format provided in code below
Code:
What is your
LineageOS version:
LineageOS Download url:
Gapps version:
Did you
wipe:
restored 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:
Q&A - FAQ
LineageOS 15.1 arm64 Cedric Regular Questions and Answers : Q&A Thread
Credits :
- The LineageOS Team
- Thanks to ROM that have been built on Legacy Server and also thanks to all the legacyserver member friends
- Special Thanks to @wzedlare and @vache without them it wouldn't have been possible for us to get Nougat and Oreo
- Thanks to @jobinrjohnson for helping and for contributing
- Thanks to dattebayorob and Renee.Souza for testing rom
- Let me know if i missed anyone
XDA:DevDB Information
LineageOS 15.1, ROM for the Moto G5
Contributors
CodeZero, vache
ROM OS Version: 8.x Oreo
Based On: AOSP
Version Information
Status: Stable
Created 2017-12-20
Last Updated 2018-05-24
Changelog
15/04/2018
April security patches
build using sdclang
added some qcom HALs
addressed some denials
Updated to KPTI patched time blobs
Used O-MR1 based display and media blobs
Used O-MR1 based GPS blobs
Kernel source is upstreamed to linux stable release 3.18.105
13/02/2018
February security patches
SELinux Enforced
Added TextClassifier Selection models
Imported oss sensors HALs
Kernel source is reworked from cm-14.1 kernel source
Kernel source is upstreamed to linux stable release 3.18.94
20/12/2017 - Initial Release
Note :-
We can now run 64bits ROM on our phone.
But actually we have to run app_process (system server) as 32bits, mainly cause of sensors non working actually with a 64bits system server.
More to come next, vendor tree is still missing many 64bits blobs, and some of our proprietary services still run in 32bits mode too.
As we have found out , Flashing stock whilst having anything 64bit even the recovery for some reason the efs (IMEI) gets wiped .
I do not recommend you revert to stock on any 64bit rom.
Current local manifest of the ROM build
Code:
<!-- https://github.com/Sohamlad7/android_development_manifest/blob/local_manifests/lineage-cedric-15.1-64.xml -->
Thank you very much that good job, it works in XT1676 ?
alejandrorobles12 said:
Thank you very much that good job, it works in XT1676 ?
Click to expand...
Click to collapse
yes it'll work
Testing
Testing the ROM, how I hide the navbar in this rom? Cant hide in SystemUI
Do you connect to the network?
Data work?
dattebayorob said:
Testing the ROM, how I hide the navbar in this rom? Cant hide in SystemUI
Click to expand...
Click to collapse
Currently you wont be able to hide those in settings because lineage os haven't merged those patches yet. So you have to edit the build prop and add this line
Code:
qemu.hw.mainkeys = 1
if you doesn't have root you can do this by
1 - reboot to TWRP
2 - mount system
3 - goto terminal and run this command
Code:
echo 'qemu.hw.mainkeys = 1' >> /system/build.prop
jobinrjohnson said:
Currently you wont be able to hide those in settings because lineage os haven't merged those patches yet. So you have to edit the build prop and add this line
Code:
qemu.hw.mainkeys = 1
if you doesn't have root you can do this by
1 - reboot to TWRP
2 - mount system
3 - goto local terminal and run this command
Code:
echo 'qemu.hw.mainkeys = 1' >> /system/build.prop
Click to expand...
Click to collapse
Ok thanks.
It seems to work really well on XT1675 2 GB 16 storage.
Everything working so far for me. I'm with magisk and root is working too.
Edit: Actually, Camera is with some bugs, like dark image and not working on whatsapp.
Edit2: Nevermind, camera works fine on Open Camera
Enable camera2 api
Can someone check whether enabling camera2 api works since this is needed to use the Google Camera ports with hdr+. Adding persist.camera.HAL3.enabled=1 to build.prop makes all camera apps stop working for me!
---------- Post added at 06:54 PM ---------- Previous post was at 06:52 PM ----------
masterdex said:
Ok thanks.
It seems to work really well on XT1675 2 GB 16 storage.
Click to expand...
Click to collapse
Can you check whether the in-call audio quality problem has been solved?
soumitro316 said:
Can someone check whether enabling camera2 api works since this is needed to use the Google Camera ports with hdr+. Adding persist.camera.HAL3.enabled=1 to build.prop makes all camera apps stop working for me!
---------- Post added at 06:54 PM ---------- Previous post was at 06:52 PM ----------
Can you check whether the in-call audio quality problem has been solved?
Click to expand...
Click to collapse
Not completely, I already noticed with AospExtended that the noise is attenuated but it is still present, however you can hear it quite well. If I have to give a better judgment on Aospextended. For the camera I use the pro version of Footej Camera and here it works really well while the standard one after 3 shots becomes dark.
soumitro316 said:
Can someone check whether enabling camera2 api works since this is needed to use the Google Camera ports with hdr+. Adding persist.camera.HAL3.enabled=1 to build.prop makes all camera apps stop working for me!
Click to expand...
Click to collapse
Currently we are using a camera wrapper in order to make the camera work. The wrapper doesn't support hal3 so enabling it in build.prop will screw your camera.
If you don't know what a wrapper is
The wrapper is the facade. Sometimes you may have a class which would suit a specific interface, but you can't change the code for it to make it conform to that interface. You can create a wrapper for that class which implements the interface, but which directs most of the calls to the wrapped object.
-- Stackoverflow
If you really want to use hal3 you need to
delete /system/lib/he/camera.msm8937.so
rename camera.vendor.msm8937.so to camera.msm8937.so
then enable hal3 in build prop
Reboot
But it will bring back our one photo bug on Oreo
jobinrjohnson said:
Currently we are using a camera wrapper in order to make the camera work. The wrapper doesn't support hal3 so enabling it in build.prop will screw your camera.
If you don't know what a wrapper is
The wrapper is the facade. Sometimes you may have a class which would suit a specific interface, but you can't change the code for it to make it conform to that interface. You can create a wrapper for that class which implements the interface, but which directs most of the calls to the wrapped object.
-- Stackoverflow
If you really want to use hal3 you need to
delete /system/lib/he/camera.msm8937.so
rename camera.vendor.msm8937.so to camera.msm8937.so
then enable hal3 in build prop
Reboot
But it will bring back our one photo bug on Oreo
Click to expand...
Click to collapse
Okay makes sense. Thank you for the detailed response!
*A fairly minor problem I've had is that the flashlight won't activate using the button in the QuickSettings. The button doesn't seem to respond in any way to being tapped. Is this broken for anyone else?
(*Edit: Having re-installed this ROM today the problem has gone, not sure what caused it.)
Also, wondering if anyone has managed to get Google Camera with HDR+ working in this ROM? I've currently got it working fairly reliably in LOS15 using the port that someone posted for the G5 back in November, but this didn't work for me when I tried it in this ROM yesterday. I've moved back to LOS15 for now, but it seems that there are a couple of extra steps to getting HAL3 enabled in this ROM beyond just the build.prop edit that I wasn't aware of yesterday so I'm just interested to know if anyone has had any success with this?
RaddingtonBear said:
A fairly minor problem I've had is that the flashlight won't activate using the button in the QuickSettings. The button doesn't seem to respond in any way to being tapped. Is this broken for anyone else?
Also, wondering if anyone has managed to get Google Camera with HDR+ working in this ROM? I've currently got it working fairly reliably in LOS15 using the port that someone posted for the G5 back in November, but this didn't work for me when I tried it in this ROM yesterday. I've moved back to LOS15 for now, but it seems that there are a couple of extra steps to getting HAL3 enabled in this ROM beyond just the build.prop edit that I wasn't aware of yesterday so I'm just interested to know if anyone has had any success with this?
Click to expand...
Click to collapse
I changed the lib, added the hal3 to build prop and downloaded that hdr+ port (https://androidfilehost.com/?fid=817906626617934890) and worked fine. But as said previously, the bug of one shot only is present.
Edit: Actually, doesn't seem to be making any difference with hdr+ on or off on this app. And the bug of one shot only you can work around by opening the photo that you took and coming back to the camera.
Edit2: The app has a lot of options to work with that can make the hdr+ work just fine, I just haven't found them yet, if I do I'll let you know.
Edit3: Got it working with the following config edited only:
Edit4: I took 2 photos just to see how it was (I don't think I need to say which one has the hdr+ enabled):
DavidKirsch said:
I changed the lib, added the hal3 to build prop and downloaded that hdr+ port (https://androidfilehost.com/?fid=817906626617934890) and worked fine. But as said previously, the bug of one shot only is present.
Edit: Actually, doesn't seem to be making any difference with hdr+ on or off on this app. And the bug of one shot only you can work around by opening the photo that you took and coming back to the camera.
Edit2: The app has a lot of options to work with that can make the hdr+ work just fine, I just haven't found them yet, if I do I'll let you know.
Edit3: Got it working with the following config edited only:
Click to expand...
Click to collapse
Thanks for the info, I appreciate you taking the time to post this! Very glad to hear that it's working
Ow, I wished the USB tethering bug could be fixed with a 64-bit build! Nevertheless, this is a great achievement, congratulations and thank you!
Shooting Star Max said:
Ow, I wished the USB tethering bug could be fixed with a 64-bit build! Nevertheless, this is a great achievement, congratulations and thank you!
Click to expand...
Click to collapse
Soham said maybe a third party app could fix usb tethering, you should try.
Fedray said:
Soham said maybe a third party app could fix usb tethering, you should try.
Click to expand...
Click to collapse
The mentioned app is a paid one, and the ideal thing would be fixing the actual Android function. Still, I can survive without USB tethering, as I have been doing since I installed LOS 14.1
Related
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#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.
Instructions:
Download the latest build, official TWRP (3.3.0 and newer) and GApps (if you need them)
Flash the downloaded TWRP via fastboot
Boot to recovery
Flash the latest build
Flash GApps and any other necessary add-ons
What's working:
Bluetooth
WiFi
Camera and Camcorder
Bluetooth
NFC
Fingerprint - Oreo firmware required
GPS
OTG
Video Playback
Audio
RIL
VoLTE
SELinux: Enforcing
USB tethering/audio
Front flash
Known issues:
You tell me
Downloads:
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.
Code:
What is your--
LineageOS version:
LineageOS Download url:
Gapps version:
Did you--
wipe:
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:
@KalilDev, @AsD Monio, @GoldeneyeS2, @Steve Mathew Joy, @rajatgupta1998 for their hard work on our device sources
LineageOS team
Changelogs:
Code:
2019-11-18:
November security patch.
Reverted camera blobs update due to issues caused by it.
2019-10-20:
October security patch.
Updated camera blobs from stock
Updated fingerprint blobs from stock
Updated audio blobs from stock
Got rid of custom VSYNC offsets, test display flickering in low brightness
Added permissions for HotwordEnrollment
Nuked unneeded blobs
2019-09-23:
September security patch
Optimized SEPolicy
Fixed MTP (thanks to @wiktorek140)
We're back to LTE
2019-08-12:
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
Enforced Oreo bootloader
Enabled vibrating for "Flip for DND" action
Increased in-call volume
Smoothed vibrations
Made default Hotspot name "Moto G5S"
Enforced privileged apps permissions
Kernel upstreamed to match some changes at CAF
Kernel compiled with clang
If you're coming from 1.2/1.3 (2019-04-29 or 2019-05-22), please flash https://github.com/MontanaDevelopment/releases/releases/download/LOS15.1-1.2/lineage-migration-unsigned.zip before booting this update.
2019-05-22:
Device name is "Moto G5S" now
Show 4G instead of LTE
Allow disabling notification LED (haven't tested)
2019-04-29:
Upstreamed kernel to 3.18.139 from 3.18.138 (Thanks @wiktorek140)
First signed build.
OTA updates will work now.
Updated device fingerprint to stock Oreo. Still no cts yet, probably will never happen.
Use https://github.com/montanadevelopment/releases/releases/download/LOS15.1-1.2/lineage-migration-signed.zip to migrate from unsigned to signed builds (flash after flashing ROM).
2019-04-26:
Dropped cnss daemon.
Initial severely limited OTA support.
Upstreamed kernel to 3.18.138 from 3.18.117. Thanks to @wiktorek140
Updated camera drivers. Thanks to @wiktorek140
(For real) Removed Moto Camera.
2019-04-23:
Fix front flash and USB tethering. Thanks to @wiktorek140
Fix camera once and for all.
2019-04-16 (2nd build):
Included Moto Camera instead of Snap.
2019-04-16
Fixed video recording (partially) by disabling Camera2 API and EIS.
In the next build Moto Camera will be included.
2019-04-12
Upstreamed Linux kernel to 3.18.117 from 3.18.113
Included native support for repaired "tianma" screens.
April security patch.
Updated fingerprint firmware to Oreo.
2019-03-16
Enabled Camera2 API and EIS by default. Blacklisted stock and Moto Camera app for compatibility.
2019-03-15
Enabled software navbar by default.
Update device fingerprint to February security patch (from stock).
2019-03-11
March security patch!
Disabled Camera2API and EIS by default.
Update device fingerprint to Oreo, SafetyNet basicIntegrity should pass.
2019-03-03
Change kernel back to GoldeneyeS2's.
2019-02-27
Change kernel to vaserbanix's kernel.
2019-02-23
Enabled EIS for stabilization.
2019-02-21
Fixed USB Audio.
Removed Moto Camera.
2019-02-20
Enabled Camera2API (HAL3) by default.
2019-02-19
Initial release.
Source code:
Common device tree: https://github.com/moto-msm8937-common/android_device_motorola_msm8937-common
Device tree: https://github.com/moto-msm8937-common/android_device_motorola_montana
Kernel: https://github.com/moto-msm8937-common/android_kernel_motorola_msm8937
XDA:DevDB Information
LineageOS 15.1 for Moto G5S, ROM for the Moto G5S
Contributors
JarlPenguin, AsD Monio, rajatgupta1998, wiktorek140, GoldeneyeS2, zahidm, Steve Mathew Joy
Source Code: https://github.com/LineageOS
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
ROM Firmware Required: Oreo
Based On: CyanogenMod/AOSP
Version Information
Status: Stable
Current Stable Version: 1.5
Stable Release Date: 2019-04-24
Current Beta Version: 0.12
Beta Release Date: 2019-02-19
Created 2019-02-19
Last Updated 2019-12-05
Reserved
Reserved
Reserved
Reserved
Great Job, A pure Lineage build not less than official... :good:
For Fingerprint Get work just follow this guide,
https://forum.xda-developers.com/moto-g5s/how-to/guide-fix-fingerprint-sensor-oreo-8-1-t3900508
Almost everything is working mention by OP,
And this ROM will be the best for Montana,
Very stable; smooth, No Lags,
Rapid charging works
Moto Actions Works
Live display Works
Never less than official LOS.... :good:
Sorry for the ignorance, but... what's the difference between this LOS 15.1 ROM and @GoldeneyeS2 's build? Also, do you have any plans on porting LOS 16?
shrmp said:
Sorry for the ignorance, but... what's the difference between this LOS 15.1 ROM and @GoldeneyeS2 's build? Also, do you have any plans on porting LOS 16?
Click to expand...
Click to collapse
There are many many Plans, just wait man, you will have also LOS 16 for PIE, and these are not porting, they are developing by sources... Developers need to use a huge time to build one ROM and than fix things...
shrmp said:
Sorry for the ignorance, but... what's the difference between this LOS 15.1 ROM and @GoldeneyeS2 's build? Also, do you have any plans on porting LOS 16?
Click to expand...
Click to collapse
There are basically no differences, other than the fact that I removed Moto Camera and that it includes the February security patch. The only reason I'm continuing his ROM is so that people can benefit from Oreo's stability while still receiving monthly security updates.
And yes, I will be soon, unless AsdMonio decides to continue it.
Edit: + USB Audio works too!
Apparently one of my partitions got corrupted. Expect a new build somewhere around Sunday.
Installed the rom and works fine so far, but missing the navigation bar. Is it intentionally disabled by default? I tried to look around the settings but can't find a way to enable it. When I try searching in settings it gives me results for the setting but when I click any of them it brings me to the menu where it's supposed to be, but it's not there.
xTanker said:
Installed the rom and works fine so far, but missing the navigation bar. Is it intentionally disabled by default? I tried to look around the settings but can't find a way to enable it. When I try searching in settings it gives me results for the setting but when I click any of them it brings me to the menu where it's supposed to be, but it's not there.
Click to expand...
Click to collapse
Go to buttons and toggle Navigation Bar
zahidm said:
Go to buttons and toggle Navigation Bar
Click to expand...
Click to collapse
There is no option for that in my Buttons menu.
xTanker said:
There is no option for that in my Buttons menu.
Click to expand...
Click to collapse
Its where he says
No such option for me.
Edit: I dirty flashed the rom again and it shows up now. Weird.
Best rom for moto g5s in my opinion, everything works as expected, very fast and smooth, great battery life, from ~2,5h screen on time on stock to almost 5h, very big improvement, fingerprint works after firmware downgrade, ambient display works both on pick up and wave mode, only I'm having a problem with moto camera, it won't record video, keeps saying that another app uses the microphone but both footej camera and gcam record video just fine. Great rom, thanks!
EDIT: I rebooted my phone and moto camera has been working fine since then. Flawless rom, hands down the best.
Join our Telegram group for support: https://t.me/montanadevelopment
Whenever I try to take a picture with Open Camera from Telegram, it freezes for about 15 seconds. Only the top 10% of the picture is visible in the preview, the rest is black. The image is saved properly though. Any idea why this happens?
xTanker said:
Whenever I try to take a picture with Open Camera from Telegram, it freezes for about 15 seconds. Only the top 10% of the picture is visible in the preview, the rest is black. The image is saved properly though. Any idea why this happens?
Click to expand...
Click to collapse
Hmm.. I don't know for sure. Does that only happen with Open Camera?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#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.
Instructions:
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
Downloads:
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.
Code:
What is your--
LineageOS version:
LineageOS Download url:
Gapps version:
Did you--
wipe:
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
Changelogs:
Code:
2020-09-18:
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
2020-08-24:
First stable release of LineageOS 16.0
SELinux: Enforcing
Widevine level is now L1
OTA updates
Minor tweaks and bug fixes
2020-08-17:
Fixed an issue where the navigation bar would not disable respective to the toggle in Settings
2020-08-16:
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
2020-06-24:
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
2020-01-24:
Enforced VNDK linker namespace isolation.
2020-01-16:
January security patch
2020-01-01:
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!
2019-12-05:
New tree
Updated lots of blobs
Fixed encryption
November security patch
2019-08-12:
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.
2019-07-07:
July security patch (for real).
Fixed Hotspot.
2019-07-05:
Project Treble support! Thanks a lot to [user=6879971]@AsD Monio[/user] for his commits
July security patch
Other LineageOS source updates
2019-06-27:
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.
2019-06-02:
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.
2019-05-16:
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.
2019-04-29:
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)
2019-04-24:
Fixed front flash & USB tethering. Thanks to @wiktorek140
2019-04-17:
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.
2019-04-13:
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
2019-03-16:
Fix broken recording on stock camera.
Enabled Camera2 API and EIS by default. Blacklisted stock and Moto Camera app for compatibility.
2019-03-15:
Initial release.
Source code:
Common device tree: https://github.com/JarlPenguin/android_device_motorola_msm8937-common-1
Device tree: https://github.com/JarlPenguin/android_device_motorola_montana
Kernel: https://github.com/HyperTeam/android_kernel_motorola_msm8937
XDA:DevDB Information
LineageOS 16.0 for Moto G5S, ROM for the Moto G5S
Contributors
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
Reserved
Reserved
Will you attempt to fix the camcorder? In all Pie roms I've tested so far the camcorder works very inconsistent, in all camera apps. Footej, gcam, moto camera, open camera all sometimes just break and stop saving the clips and require a reboot to work again. No problems in Oreo roms at all.
Night light/Live display also working...
Rapid Charging Works :good:
Jaw breaking build,..
Nice! I'll try it soon, been waiting to use LOS 16 for a long time
NeffePS said:
Will you attempt to fix the camcorder? In all Pie roms I've tested so far the camcorder works very inconsistent, in all camera apps. Footej, gcam, moto camera, open camera all sometimes just break and stop saving the clips and require a reboot to work again. No problems in Oreo roms at all.
Click to expand...
Click to collapse
Hey, have you tried disabling C2API (which includes uninstalling some modules such as Pix3lify, etc.)? I've heard Camcorder works fine if you do disable it, but you will need to install a 3rd party camera app.
What is the difference between this and @AsD Monio 's build?
Ænimal said:
What is the difference between this and @AsD Monio 's build?
Click to expand...
Click to collapse
Lots. Bluetooth fixed, Night Light fixed, SafetyNet fixes, FP gestures working, March security patch, etc.
Apparently FM Radio is fixed.
JarlPenguin said:
Apparently FM Radio is fixed.
Click to expand...
Click to collapse
Fm radio is working for me. Thanks!!
I install it?
it will be worth trying it I like lineage OS but I do not want to have serious errors in the device, the camera can fix it, it will be that it has some other problem or everything is fine
Jeison Parra said:
it will be worth trying it I like lineage OS but I do not want to have serious errors in the device, the camera can fix it, it will be that it has some other problem or everything is fine
Click to expand...
Click to collapse
Today's build will fix video recording in the stock camera.
New build!
JarlPenguin said:
New build!
Click to expand...
Click to collapse
Thank you! Are ROM and OTA the same build? I'm installing this ROM for the first time, so I should install the ROM zip, right? I assume the OTA zip is the same build for those who already had the first build installed.
Framboesa96 said:
Thank you! Are ROM and OTA the same build? I'm installing this ROM for the first time, so I should install the ROM zip, right? I assume the OTA zip is the same build for those who already had the first build installed.
Click to expand...
Click to collapse
Yes consider new build everything, and if you are coming from other Rom than need a full format data partition. Please save your data first..
Thank you very much for the work and the effort. It is a great ROM. Fm works, camera works properly, netflix works without needing to install fix. Finally the duration of the battery is considerably better than in other pie roms
Framboesa96 said:
Thank you! Are ROM and OTA the same build? I'm installing this ROM for the first time, so I should install the ROM zip, right? I assume the OTA zip is the same build for those who already had the first build installed.
Click to expand...
Click to collapse
Yep, OTA is for people who have already installed the ROM.
Im using PE with encryption. How can I install encryption disabler and which pack should flash along with LO16 ROM ?
1.0:-- DM-VERITY & FORCEENCRYPT DISABLER
OR
2.0:-- DM-VERITY, FORCE ENCRYPTION, AND DISC QUOTA DISABLER
please help
anishmannar said:
Im using PE with encryption. How can I install encryption disabler and which pack should flash along with LO16 ROM ?
1.0:-- DM-VERITY & FORCEENCRYPT DISABLER
OR
2.0:-- DM-VERITY, FORCE ENCRYPTION, AND DISC QUOTA DISABLER
please help
Click to expand...
Click to collapse
You PMed me on Telegram, right?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#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. Hard & a lot.
*
*/
Introduction
Thanks to my very generous donors I managed to buy an A5 2016 cheap on eBay and have ported our new device tree and kernel to this device.
This is far more stable and much snappier than the previous releases available as the new kernel/tree is much quicker.
Features and ImprovementsStable
FastWhat worksCalls, SMS, Mobile Data
Camera
NFC
WiFi
Bluetooth
Torch
Fingerprint scanner
SELinux EnforcingWhat doesn't workSome 2D animation stuttering (WIP)
Occasional Camera HAL crashes (same HAL bugs as A3)Fixed in 27/05/2019 release
VoLTE (will never work on LOS)
You tell meInstallation
Download the latest LOS build and transfer it to your phone
Install the latest TWRP (Available Here)
Make a full backup (just in case something goes wrong)
Do a full wipe (Cache, Dalvik Cache, Data, System)
Install LOS
If you are installing GApps do it at the same time (preferably in the same install queue)
Install Magisk if you want root
And finally boot, the first boot can take several minutes as it optimises all the apps
DownloadsLatest releases are uploaded HERE
OpenGapps HERE
TWRP is availableHERE
Magisk is available HERESourceExynos7580 device tree/kernel sources are available here
LineageOS sources hereThanks@Stricted
@l-0-w
@alexax66
@macs18max (BT call audio fix)
@Borduni
And all others who have contributed to the Exynos projectsA special thanks to my donorsMarkus Anders
@D4ND310
@epicwilmo
@tyson
@thebinf
@Herti
@pixelou
@xavier66XDA:DevDB Information
Lineage OS 15.1 for A5 2016, ROM for the Samsung Galaxy A Series
Contributors
danwood76, stricted
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.10.x
Based On: LineageOS
Version Information
Status: Stable
Created 2019-04-27
Last Updated 2019-05-27
Changelog
Code:
Changes in the 23/06/2019 release:
[INDENT]camera: added new workaround to fix remaining HAL crashes (Google Camera should work now)
June Android security patch
LOS updates
[/INDENT]
Older changes listed below:
Code:
Changes in the 27/05/2019 release:
[INDENT]camera: improved camera wrapper to fix camera crashes (still avoid google camera)
LOS updates[/INDENT]
Code:
Changes in the 17/05/2019 release:
[INDENT]ramdisk: tune VM parameters to fix issues with MTP (thanks [user=7341346]@IvoDi[/user])
WiFI: fixed MAC address loading
Android May security update[/INDENT]
Code:
Changes in the 04/05/2019 release:
[INDENT]sepolicy: Fix denial that caused fingerprint reader to fail (thanks @antonyc828 and @LilDead)
kernel: Fix an issue in the charger that would cause charge to fail if the phone had not been plugged in for 20+ hours
[/INDENT]
Code:
Changes in the 03/05/2019 release:
[INDENT]kernel: added a workaround for the DMA busy issue that was causing reboots when switching to amplifier
kernel: fixed WiFi android version check
kernel: disabled GPU debug trace to try and speed up rendering in situations where HWC cannot be used
kernel: removed previous DMA NULL ptr dereference hack as it did not help
[/INDENT]
Code:
Second release of the day (lineage-15.1-20190503_2-UNOFFICIAL-signed-a5xelte):
[INDENT]Updated Bluetooth configuration to fix calling
[/INDENT]
Code:
Changes in the 29/04/2019 release:
[INDENT]device tree: pulled in the correct power_profile.xml from stock (fixes reported battery size)
kernel: Fixed a NULL ptr dereference in the sound DMA code that causes a system reboot
[/INDENT]
Code:
Changes in the 26/04/2019 release:
[INDENT]Initial release
[/INDENT]
Build Instructions
1. Setup a LineageOS build environment based on one of the supported LineageOS 15.1 devices: https://wiki.lineageos.org/index.html
Note: All commands below are executed from the LineageOS root directory
2. Initialise the LineageOS repositories
repo init -u git://github.com/LineageOS/android.git -b lineage-15.1
3. Sync the repos (can take a log time, around 30GB of downloads)
repo sync
4. Create the .repo/local_manifests directory and add the a5xelte manifest (attached)
mkdir .repo/local_manifests/
cp ~/Downloads/a3xelte.xml .repo/local_manifests/
5. Sync our device trees in
repo sync
6. Setup the build environment
source build/envsetup.sh
7. Finally start the build:
brunch lineage_a5xelte-userdebug
To pull in new changes it is usually only necessary to repeat steps 5 - 7.
mmm.. looks good, I will try bruh.
good job
Good rom
Hi bro thanks for rom and thank you for support i am tested rom and i saw 2 problem :
1-firstly sometimes notification animations getting lag(i think not important)
2-i get only one time random reboot While connecting my 5ghz wifi
Also kernel optimizations are good i got 3530 geekbench score
Last one will u build pie?
Thanks for all
SimurgAnka said:
Hi bro thanks for rom and thank you for support i am tested rom and i saw 2 problem :
1-firstly sometimes notification animations getting lag(i think not important)
2-i get only one time random reboot While connecting my 5ghz wifi
Also kernel optimizations are good i got 3530 geekbench score
Last one will u build pie?
Thanks for all
Click to expand...
Click to collapse
1. I have seen this too, it is odd as we use the same software stack on the A3 and S5NEO and get really smooth composer/animation performance. I am looking in to this.
2. Are you able to copy out the /proc/last_kmsg file and send it to me via pm? You will need root. I have seen a random kernel crash related to audio that I am looking in to, it may be the same issue but the last_kmsg will help.
There are no real "kernel optimisations" as such, our kernel started as the stock A510F kernel which we updated for Oreo. We used this as our base for the A3 and S5NEO as it was the latest kernel with the most frequent updates. I just recently divided it might be nice to port this to it's original device
With regards to Pie, I will be making Pie builds in the near future. I just wanted to get a stable and tested Oreo ROM before I add the Pie patches.
Hi bro i got one more time random reboot in the lockscreen,sorry bro i cant send logcat or /proc/last_kmsg because i am restarted my phone .I guess random reboot reason is not wifi . If i get one more time, i will send you bro also maybe u can know me ,we are speaked discord many time . Last one ui is fully smooth but only notification bar animations do that.
SimurgAnka said:
Hi bro i got one more time random reboot in the lockscreen,sorry bro i cant send logcat or /proc/last_kmsg because i am restarted my phone .I guess random reboot reason is not wifi . If i get one more time, i will send you bro also maybe u can know me ,we are speaked discord many time . Last one ui is fully smooth but only notification bar animations do that.
Click to expand...
Click to collapse
The crash I saw occurred just after I unlocked it via fingerprint, but the logs revealed that it was not fingerprint related but was related to the audio driver.
The /proc/last_kmsg file is persistent after a reboot, that is why I have asked for it. It may be the crash I have seen but I need more logs to confirm exactly where the issue occurs.
Regards,
Danny
danwood76 said:
The crash I saw occurred just after I unlocked it via fingerprint, but the logs revealed that it was not fingerprint related but was related to the audio driver.
The /proc/last_kmsg file is persistent after a reboot, that is why I have asked for it. It may be the crash I have seen but I need more logs to confirm exactly where the issue occurs.
Regards,
Danny
Click to expand...
Click to collapse
Good luck bro
Uploading a new release, changes:
device tree: pulled in the correct power_profile.xml from stock (fixes reported battery size)
kernel: Fixed a NULL ptr dereference in the sound DMA code that causes a system reboot
Installed the rom, bugs which i found at this moment: (I'm sorry for my bad English, I from Poland)
1. Laggy notification center, and lock screen (but not always)
2. MTP not always work
3. Audio causing reboots (on stock music player less often than on liked by me "Retro Music Player")
And i not found a option to change lock screen wallpaper.
Rom is very fast - faster than other builds of lineage 15.1 and 16 for this phone
sometimes i get reboot when open app.
idk why, i try to clean install, and same too.
but this rom so smooth and really fast.
no lag for pubg ?
thank you so much sir.
btw this kernel not support fast charging?
---------- Post added at 05:45 AM ---------- Previous post was at 05:42 AM ----------
KaroloBC said:
Installed the rom, bugs which i found at this moment: (I'm sorry for my bad English, I from Poland)
1. Laggy notification center, and lock screen (but not always)
2. MTP not always work
3. Audio causing reboots (on stock music player less often than on liked by me "Retro Music Player")
And i not found a option to change lock screen wallpaper.
Rom is very fast - faster than other builds of lineage 15.1 and 16 for this phone
Click to expand...
Click to collapse
update to latest build bro..
Hi,
Which gapps? 8.0 or 8.1?
Amathagma said:
Hi,
Which gapps? 8.0 or 8.1?
Click to expand...
Click to collapse
arm 8.1 pico bro
Fingerprint don't work and Randomly reboot. Please help me <3
skaptes said:
Fingerprint don't work and Randomly reboot. Please help me <3
Click to expand...
Click to collapse
which your build? 27/29?
my phone not have fingerprint issue.
Sent from my [device_name] using XDA-Developers Legacy app
thank you very much. The fastest and most stable rom
The last build with nano gapps. Don't work fingerprint
skaptes said:
The last build with nano gapps. Don't work fingerprint
Click to expand...
Click to collapse
try to clean install? wipe system, cache, data, internal.
if still problem, try flashing firmware samsung to latest version on 2019.
because i don't have thats problem.
but idk. maybe someone like you too..
Sent from my [device_name] using XDA-Developers Legacy app
se.developers said:
arm 8.1 pico bro
Click to expand...
Click to collapse
Why arm?
Phone is recognized as arm64 in the beginning.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include <std_disclaimer.h>
/*
* Your 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.
*/
About LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android 10, which is designed to increase performance and reliability over stock Android for your device.
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.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Warning!!!
BackUp EFS and persist partition before installing. If you lose IMEI , use this backup to retrieve it in future.
What's working :
Boots
RIL (Calls, SMS, Data)
Fingerprint
Wi-Fi
Bluetooth
Camera
Camcorder
Video Playback
FM Radio
Audio
Sensors
Flash
LED
GPS
Volte
MTP
Usb tethering
Encryption
WFD
What's not working :
Camera green tint bug in low light
You tell me.
Flashing and updating
LineageOS clean install :
- Mandatory to flash 64bit recovery
- (Optional) Wipe the data & cache & system(Backup to make sure not to loose data)
- Flash the LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot
LineageOS update / upgrade :
- Mandatory to flash 64bit recovery
- (Information) Don't wipe anything unless you want to
- Nothing to wipe when switching
- (FUTURE RELEASES) Might need clean, informations will be updated
- Flash the latest LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Every additional zip you want to flash
- Reboot
Downloads Links
LineageOS 17.x arm64(Unlocked Bootloader) :
Development : https://www.androidfilehost.com/?w=files&flid=303145
Google Applications (optional) :
OpenGapps : Link (Use packages for ARM64, Android 10.0)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.
Recovery Mandatory to flash for 64bits ROM :
Download Official TWRP : https://twrp.me/motorola/motorolamotog5.html
About the builds
Device tree : https://github.com/Sohamlad7/android_device_motorola_cedric/commits/lineage-17.1
Kernel sources : https://github.com/Sohamlad7/android_kernel_motorola_msm8937/commits/lineage-17.1
Vendor blobs : https://github.com/Sohamlad7/android_vendor_motorola_cedric/commits/lineage-17.1
Reporting Bugs
DO NOT Report bugs if you're running a custom kernel, third party apps or you installed Xposed
DO NOT Report bugs if you've modifies system files
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)
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.)
Code:
adb logcat > logcat.txt
Code:
adb shell dmesg > dmesg.txt
If it is a random reboot, grab kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Code:
adb shell cat /sys/fs/pstore/console-ramoops
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Bug report should be done in following format provided in code below
Code:
What is your
LineageOS version:
LineageOS Download url:
Gapps version:
Did you
wipe:
restored 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:
Q&A - FAQ
LineageOS 17.0 arm64 Cedric Regular Questions and Answers : Q&A Thread
Credits :
- The LineageOS Team
- Thanks to ROM that have been built on Legacy Server and also thanks to all the legacyserver member friends
- Special Thanks to @wzedlare @vache and @kubersharma without them it wouldn't have been possible for us to get Nougat,Oreo,Pie and now 10
- Thanks to @Theitfixer85 and @Jarl-Penguin for twrp
- Thanks to @m_vaisakh and @TeamMex for helping
- Thanks to @nonesovile96 @FelipeRizzon and @ADHILR
- Let me know if i missed anyone
XDA:DevDB Information
LineageOS 17.1, ROM for the Moto G5
Contributors
CodeZero, m_vaisakh
ROM OS Version: Android 10
ROM Kernel: Linux 3.x
Based On: AOSP
Version Information
Status: Stable
Created 2019-12-14
Last Updated 2020-08-31
Changelog
Maintenance update only - 20/08/2020
Android-10.0.0_r41 Build (August security patch)
[*]Included all new changes from LineageOS.
12/06/2020
June Security Patch
[*]WFD Fixed (Updated to Q wfd blobs from daisy)
[*]Deleted camera.monotonic (this fixes video recording bug for some users)
[*]Set default size to 1GB swap on all variants
[*]Adjusted display power settings
[*]Many more kernel side changes for detailed changelog check kernel source thanks to @OmegaPrimus7
[*]LineageOS source side changes.
22/04/2020
LineageOS 17.1
[*]April Security Patch
[*]SElinux Enforced
[*]FM Radio Fixed
[*]Switched to common dtbtool
[*]Updated IMS symlinks for Q
[*]Downgraded widevine to 1.1
[*]Updated Thermal blobs from deen_sprout 10
[*]Updated GPS blobs from LA.UM.8.6.r1-02900-89xx.0
[*]Updated Radio - IMS blobs form LA.UM.8.6.r1-02600-89xx.0
[*]Updated Peripheral from deen_sprout 10
[*]LineageOS source side changes.
[*]Removed unneeded camera blobs
14/12/2019 - Initial Release
m_vaisakh build :- 12/01/2020
LineageOS 17.1
[*]January Security Patch
[*]LineageOS source side changes.
Note :-
Don't Update Google Chrome(Green Tint issue in latest version, if you guys want to use chrome use older version or use any other browser.
Current local manifest of the ROM build
Code:
<!-- https://github.com/Sohamlad7/android_development_manifest/blob/local_manifests/lineage-17.1.xml -->
Thank You !
Does magisk work on this Rom?
zitronenmelissa said:
Thank You !
Does magisk work on this Rom?
Click to expand...
Click to collapse
yeah it does work
Thank you @CodeZero for all the time and effort you have contributed to this device!
How's the camera functioning? All prior (post-Nougat) issues resolved or present in all their glory?
rahimali said:
Thank you @CodeZero for all the time and effort you have contributed to this device!
How's the camera functioning? All prior (post-Nougat) issues resolved or present in all their glory?
Click to expand...
Click to collapse
well about camera it's same like pie . it's working fine tho for me no issues till now
thank you very much for the rom CodeZero it is good to know that someone like you continues to build more and more this device, we expect new updates and security patches I love you crack
Today I will try it, I just hope that camera work fine.
Thanks in advance for support this old device.
It works everything for me, except audio: I got no audio(multimedia nor notifcation). Any ideas?
I had stock android before clean install Lineage OS 17, I haven't modified anything else (no third party apps nor gapps).
I have to say I am coming from this issue https://forum.xda-developers.com/g5/help/stuck-bootloops-stock-roms-ive-tried-t3995969 , and trying out LineageOS for the first time out of curiosity. And apparently the phone is more stable with this LineageOS 17 than stock rom (I have almost no reboots). But audio worked with stock rom.
Edit: No audio even with earpods.
Hi
Once again this is a great ROM thanks to Code zero. Unfortunately the ROM does not boot up setupwizard when it is first run so I cannot restore settings and apps. Just wondering how I can force setup wizard to run again so I can get my stuff back?
GrizzlyBear45 said:
It works everything for me, except audio: I got no audio(multimedia nor notifcation). Any ideas?
I had stock android before clean install Lineage OS 17, I haven't modified anything else (no third party apps nor gapps).
I have to say I am coming from this issue https://forum.xda-developers.com/g5/help/stuck-bootloops-stock-roms-ive-tried-t3995969 , and trying out LineageOS for the first time out of curiosity. And apparently the phone is more stable with this LineageOS 17 than stock rom (I have almost no reboots). But audio worked with stock rom.
Edit: No audio even with earpods.
Click to expand...
Click to collapse
The truth is that I am using this rom of lineage os 17 as a daily rom I would say that your fault comes from your terminal since my audio works in both headphones and notifications, the only error I see in this rom is in some applications that close alone from the rest 10/10
oh and another bug is in the chrome browser that doesn't play videos it gets damaged
note: this is fixed using another browser
Magisk
Doesn't appear to like Magisk V.10.1 - V.19.1 installs fine!
My mistake; should read doesn't like Magisk V.20.1 - V.19.1 installs OK
After reinstalling over Lineage 16.0 all is working just great including Magisk 20.1
Many thanks to you Code Zero
Alejandro miranda said:
The truth is that I am using this rom of lineage os 17 as a daily rom I would say that your fault comes from your terminal since my audio works in both headphones and notifications, the only error I see in this rom is in some applications that close alone from the rest 10/10
oh and another bug is in the chrome browser that doesn't play videos it gets damaged
note: this is fixed using another browser
Click to expand...
Click to collapse
for chrome you need use the older version of it
manxexile said:
Doesn't appear to like Magisk V.10.1 - V.19.1 installs finw!
Click to expand...
Click to collapse
try installing v20.1 it's working fine for me
CodeZero said:
for chrome you need use the older version of it
Click to expand...
Click to collapse
thank you very much codezero we just hope that in the next patch security will fix that and fix the lienage launcher since sometimes with the gestures it stops, and optimizes it more in battery
Chrome Version
For anyone who is having issues with Chrome, I went trough a couple versions of it, and I think this is the latest release that has no video playback issues: https://www.apkmirror.com/apk/google-inc/chrome/chrome-71-0-3578-98-release/
2 hours of test and I'm in love.
Excellent work, I don't have any bug.
We appreciate your fantastic work.
Can someone post some pictures for me to have a look?
I'm in doubt, can I install even though this 'SELinux is permissive' bug is safe?
Has anyone that had camera problems in Pie tried this ROM? Is camera fixed here?
I'm on LOS16 and camera doesn't work (green tint, crashes,etc)
Thanks for your work @CodeZero! Amazing as always!
Darkyuuki said:
Can someone post some pictures for me to have a look?
I'm in doubt, can I install even though this 'SELinux is permissive' bug is safe?
Click to expand...
Click to collapse
Google/YouTube lineageos 17 - I'm sure you'll find tones of pictures and videos of it on devices (it will look the same on any device)
Also Google what SElinux is - basically you cannot encrypt your device & any security service/app that requires it to be enforcing will not work
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#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.
Instructions:
Download the latest build, official TWRP (3.3.1 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
Flash GApps and any other necessary add-ons
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
Downloads:
Official builds: Download
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.
Code:
What is your--
LineageOS version:
LineageOS Download url:
Gapps version:
Did you--
wipe:
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
Changelogs:
Code:
2020-11-19:
Updated kernel based on Moto's Moto One (deen) QPKS30.54-12-23 tag and CAF's LA.UM.8.6.r1-05300-89xx.0 tag
Updated Moto Actions UI
Improved boot animation speed and smoothness
Partially resolved perf HAL spam in logs
2020-11-15:
Added support for montana_retcn (XT1799-2)
Fixed a bug where the back flash wouldn't work properly when taking a photo using Snap
Fixed a bug where loudspeakers would crackle on some VoIP calls
Improved RIL stability
Improved Wi-Fi stability
Increased ZRAM to 1.33GB
Updated kernel based on Moto's Moto One (deen) QPKS30.54-12-22 tag and CAF's LA.UM.8.6.r1-04700-89xx.0 tag
Updated Moto Actions UI
November security patch
2020-10-11:
Added customizable vibration intensity in Settings > Accessibility
New FM radio app
Added support for factory reset protection (only partially effective)
Fixed boot with SELinux: Enforcing on GSIs
October security patch
2020-09-23:
Minor improvements and under the hood changes (check technical changes for more details)
2020-09-20:
Improved GPS stability
Fixed an issue where there would be random UI lag
2020-09-17:
Fixed an issue where you couldn't exit from offline charging mode
2020-09-16:
Fixed offline charging
2020-09-15:
Actually fixed random color inversion that could occur (Note: Color calibration in LiveDisplay is no longer available as a result of fixing the bug)
Fixed bootloop when enabling secure startup
Fixed manual network selection
Fixed dual SIM menu not appearing - needs testing
Mobile data settings now only displays 3 modes (LTE, 3G and 2G)
September security patch
2020-09-11:
Fixed random color inversion that could occur
2020-09-10:
Fixed Wi-Fi Display
Updated listen blobs to Q
Added support for Color profiles (Settings > Display > Colors)
Fixed an issue where you couldn't connect to certain Wi-Fi networks
2020-09-08:
Initial release.
Source code:
Common device tree: https://github.com/LineageOS/android_device_motorola_msm8937-common
Device tree: https://github.com/LineageOS/android_device_motorola_montana
Kernel: https://github.com/LineageOS/android_kernel_motorola_msm8953
Reserved
Reserved
Nice job, thanks a lot for your working on it
Thanks Jarl for keeping montana alive!
:good:
New build is up. Check OP for changelog. Downloads as always are in the OP, but you may update via the Updater app if you wish. Happy flashing! :fingers-crossed:
Just flashed it, working very fine, thanks a lot.
A minor bug I can't explain : some of the menus stay in English even if I select another language.
Will moto actions be add?
Everything else working fine
Random color inversion. Flashed last build
does this and lineage os 16 need something apart from oreo firmware? because i tried both with all twrp versions available and when rebooting after flashing zip it just always send me to the bootloader.
i have model xt1790
before i was on carbon rom and was working fine so i dont know what is wrong here, also tried lineage os from AsD Monio and works fine just the initial setup a bit buggy
recovery log: https://pastebin.com/Y0GjaHtZ
logcat right after reboting to recovery after wiping all then flashing this rom: https://pastebin.com/mvVQ12Zb
janinetavs said:
Will moto actions be add?
Everything else working fine
Click to expand...
Click to collapse
Settings > System > Advanced
janinetavs said:
Random color inversion. Flashed last build
Click to expand...
Click to collapse
v1.2? Nobody has experienced random color inversion for that one.
rakion99 said:
does this and lineage os 16 need something apart from oreo firmware? because i tried both with all twrp versions available and when rebooting after flashing zip it just always send me to the bootloader.
i have model xt1790
before i was on carbon rom and was working fine so i dont know what is wrong here, also tried lineage os from AsD Monio and works fine just the initial setup a bit buggy
recovery log: https://pastebin.com/Y0GjaHtZ
logcat right after reboting to recovery after wiping all then flashing this rom: https://pastebin.com/mvVQ12Zb
Click to expand...
Click to collapse
No, but please make sure to use the latest TWRP version. You must also format data (not wipe). Also, recovery logs won't help due to them only showing what's happening in the recovery.
Just flashed v1.2 working also fine
One question though : on the Moto Camera v6.2 app the HDR option is no more visible (it was on latest Pie builds).
Edit : persistent even when installing via the Moto Camera Thread tutorial
JarlPenguin said:
No, but please make sure to use the latest TWRP version. You must also format data (not wipe). Also, recovery logs won't help due to them only showing what's happening in the recovery.
Click to expand...
Click to collapse
rn im on latest 3.4.0-1 and i tried both format and wipe, dirty flashing from the other los 17.1 and other rom just to test but all end in always booting to bootloader menu its weird never happened something similar and only happen with your lineageos 16 and 17.1 roms
rakion99 said:
rn im on latest 3.4.0-1 and i tried both format and wipe, dirty flashing from the other los 17.1 and other rom just to test but all end in always booting to bootloader menu its weird never happened something similar and only happen with your lineageos 16 and 17.1 roms
Click to expand...
Click to collapse
Do you have full Oreo firmware installed? Also can't do anything without logs
Dan Mornill said:
Just flashed v1.2 working also fine
One question though : on the Moto Camera v6.2 app the HDR option is no more visible (it was on latest Pie builds).
Edit : persistent even when installing via the Moto Camera Thread tutorial
Click to expand...
Click to collapse
It's because we use HAL3 now. Certain functions won't work because we use deen blobs instead of stock camera blobs
janinetavs said:
Will moto actions be add?
Everything else working fine
Click to expand...
Click to collapse
They already are?
Yes they are, you have to look in the right menu
JarlPenguin said:
Do you have full Oreo firmware installed? Also can't do anything without logs
Click to expand...
Click to collapse
i didn't remember but looks like i got a old one or a fix fingerprint zip most probably, took me a day to find a working link to full 8.1 and after 2 updates from ota i got M8937_37.13.03.75R baseband and now worked perfectly your rom thank you for keeping alive our moto g5s