yashsingh1/xdaforums huggingface dataset:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] pavl0v:
This is weird but today I have noticed that mentioned issue is gone. My guess is that it was caused by lowering BIG cores too much. Previously I was using below frequencies:

CPU governor: interactive (both types od cores)

LITTLE: 768mhz - 768mhz

BIG: 960mhz-960mhz

Split workload between active cores to save energy - marked.

Now i have increased frequencies of BIG cores a bit:

CPU governor: interactive (both types od cores)

LITTLE: 768mhz - 768mhz

BIG: 960mhz-1094mhz

Split workload between active cores to save energy - marked.

Using this config YT works like a charm and battery life is still pretty good, especially in idle.

Already tested. I am already after a full discharge. Please check below settings to see if it will help you:

1. Download SmartPack-Kernel Manager and set CPU frequencies according to the second list visible above. Remember to use a bit higher frequency for BIG cores to avoid YT lag.

2. Enter Settings -> Battery -> Battery saving and performance to switch Performance profile slider to left once. If you want you can experiment even with that most extreme option but based on my experience it can slow down your system.

3. Move to Settings -> Device Info and scroll it down to find Compilation number. Click on it five times to enable Developer options. Unlock your phone using previously set pattern if asked to do so. Move back to System -> Developer Options and set all three animations scales to 0.5x from 1x. If you want you can even disable them at all.

4. Download CC Cleaner or Avast Cleanup and perform one full clean up procedure, so not used applications will be hibernated and cache files removed.

5. Enjoy better battery life ;)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
Thanks for the input.

I'm already in energy saving mode, and on a fresh install.

I guess the trick on CPU frequencies is related to a rooted phone, which is not my case.

And again, some months ago Jarl LOS builds where working fine in airplane mode during the night. During day use battery life is behaving normally.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] pavl0v:
Hi Dan. Yes - it is required to have a rooted phone in order to change CPU frequencies. If you have unlocked bootloader, rooting is simply a matter of flashing Magisk zip with TWRP. If you need to unlock your bootloader - please check below vendor page:

Unlocking the Bootloader | Motorola Support US

Visit the customer support page to view user guides, FAQs, bluetooth pairing, software downloads, drivers, tutorials and to get repair and contact us information.

motorola-global-portal.custhelp.com
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] pepes51:
Lineage Recovery can't be flashed: "Image size exeeded partition limits".

Touch fingerprint to lock screen not working. I don't know if it's a bug or something that LOS doesn't offer. It only works to unlock.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
I already mentioned it when LOS on Montana became official, but without any answer so far.

You can use latest TWRP instead.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] pavl0v:
I am with you. I have also observed that this function is missing and it would be good to implement it back if it is possible ofc.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] janinetavs:
I can't find moto actions, I used to use it on LOS 16 to control media, long pressing the fingerprint sensor.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] lunzerer:
Bei mir funktionieren die Aktualisierung von Datum und Zeit nicht, Ich habe nur eine W Lan Verbindung. Es ist keine Sim Karte eingelegt

Montana lineagos OS 17.1-20210201 nigthly-montana
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] YoShake:
By default date is synchronized through sim card operator.

You can set manually date and timezone in

settings > system > advanced > date & time

uncheck automatic options and set all settings manually

settings > system > buttons > disable screen navigation

settings > system > advanced > gestures

settings > system > advanced > moto gestures
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] janinetavs:
Yeah, I found it but I'm talking about moto actions, long, short and long press gesture
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] rfmalta:
so I use my phone to work as uber driver with official firmware but the gps is not working great, every now and then it keeps "jumping the car" from a street to another changing route in the middle ride and its very annoying. will this custom rom fix that? can someone tell me if the gps works better in this rom? thx
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Fingerprint gestures aren't customizable, as with stock
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
As I've written in the wiki, you should use TWRP for flashing.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
So what is the use of LOS recovery then ? 😅
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] YoShake:
I could swear blind that I customized the fingerprinter with two short taps and long hold in mentioned path. I got 2 taps for sensing sms, and long hold for google services.

The more, you can see those 2 options by searching "home" in settings.

But I cannot access them in any way now. WTF?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] zitronenmelissa:
this are customizations for the navigation bar only
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] YoShake:
this gave me an idea

one has to enable screen navigation bar, set the fingerprint gestures and disable the screen navbar

Unfortunately only 2 taps gesture works in fingerprint navigation mode, as long press will always launch voice assistant :(
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] zitronenmelissa:
this file: /vendor/usr/keylayout/uinput-fpc.kl is the layout for fingerprint gestures

the content is:

# fpc1020 "finger present"

key 616 HOME VIRTUAL

key 617 VOICE_ASSIST VIRTUAL

key 618 SYSTEM_NAVIGATION_DOWN

key 619 SYSTEM_NAVIGATION_UP

key 620 APP_SWITCH VIRTUAL

key 621 BACK VIRTUAL

I changed key 617 to

key 617 POWER VIRTUAL

... now I can turn off device with log tab and turn it on with long tab

maybe some other things are possible like:

MEDIA_NEXT

CAMERA

VOLUME_DOWN

have a look at: /system/usr/keylayout/Generic.kl
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] The_Baztyx:
I still have problems with youtube and chrome when playing videos. On YouTube after an ad, the 1080p60 option disappears. And when this does not happen, the video is slowed down. In chrome note that the videos are seen in poor quality and when entering Chrome: // gpu says resolution 1280 * 720 in encode and decode. Could it be a libs problem?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] rodrigooomc:
I tried it via TWRP and it also gave error that the recovery is bigger than the installation space.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
No use...? Also it flashes fine with unofficial builds with the same tree, so this is an LOS side issue.

Which TWRP did you use?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] rodrigooomc:
I'm using version 3.4.0.1 twrp
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
All the recoveries on twrp.me should flash fine.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] rodrigooomc:
I understand, but on the XT1792 I was unable to install Lineage Recovery using ADB or TWRP.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
Na, you should use TWRP to flash LOS.

That's what Jarl meant.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] rodrigooomc:
Thank you.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] keisuke5:
I am currently running the latest official build and everything is working perfectly. I just wanted to report this minor problem - Changing audio balance in accessiblity settings is not working since the first Official build
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] rodrigooomc:
Each Build launched the system is getting better, but I wanted to make the Devs aware that at least with me a bug is happening during the call, when using the speaker mode the volume does not adjust.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] mahayu:
NICE:D:D:D:D:D:D
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] marciste:
Hi,

I installed it yesterday, with out any trouble. Seems to work perfectly. Thank you very much!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Hello, logs will be appreciated.

Yes, that's a known problem since forever xD, and we haven't been able to fix it so far
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] tid090989:
dualshock 4 is not working in this ROM, connects and appears as a wireless control but does not work, does anyone know how to fix it? I'm in the latest version and everything works very well
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] tuxtm:
Hello,

A few days ago I have installed the latest available nightly (it was the one released on 2021-02-15), coming from Lineage OS 17.1 ( by AsD Monio) because of the issue with video recording. Everything is working great, except the fact that after the device enters stand-by/sleep mode the network connections seem to drop (both wifi and mobile data). I don't now if the network connection drop right after the device enters stand-by/sleep mode, or it needs to pass a few minutes for this to occur. During the day I always keep both wifi and mobile data on, and pretty often, if someone sends me a message on Whatsapp, I don't receive the message until I wake up the phone. I have disabled the battery optimization for Whatsapp, and also I have set the Device Performance Profile to Performance, but the behavior described above still occurs.

Does anyone know if there is a setting that I missed, or at least an work-around for this?

PS: 1) Yesterday I have installed the latest nightly (released on 2021-02-22) but the behavior is still present.

2)On the ROM released by AsD Monio this behavior did not occur.

Thank you!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] The_Baztyx:
in the last nightly (2021/02/22) the 3g / 4g mode no longer appears.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Hello, my testers couldn't reproduce this issue, so not sure what tell you.

Intentional, use Global mode
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] tuxtm:
As found on some other thread with a similar problem (I don't remember exactly for which phone it was), I have enabled the bluetooth tethering and I saw an improvement, the issue described above, still occurs.

Should I open an issue on the bug tracker, along with some logcat traces?

/LE I found another thing that seems to not work: USB connection (I try to connect the phone to a digital piano and after performing all the steps described in the manual, all the options from USB Preferences activity are disabled as if the there were no usb cable plugged in. I have managed to connect the digital piano with my wife's phone which is also a Moto G5S, but with a stock ROM, using the same USB cable)

Thank you
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Hi, a report on the bug tracker will be closed if it's unreproducible for us. As for the piano, are you trying to connect it via an OTG cable or directly using the microUSB to USB cable?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] tuxtm:
Hi JarlPenguin, thank you for your support!

I was thinking that some logcat traces might help, but I guess I will have to deal with this "limitation" ... or maybe some future build will not have this behavior on my device:)

A OTG cable is involved in the connection (to be more exact I use a USB A/B cable which goes from the piano to a OTG-> micro USB cable that is connected to my Moto G5S). If there is no known bug with OTG cables/MIDI connection, a possible cause could be an imperfect connection between the OTG cables and my phone, even though I was able to connect to the pian using my wife's Moto G5s and the same cables, so don't spend to much time investigating this. I will use my laptop to connect to the piano :)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] iChronox:
Hello,

Been a while since I updated (still on November release), should I flash the most recent nighly or wait for a newer "stable" release ? thanks.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] RCkiller:
So I had put this phone away because of a broken screen, but now I got around to repairing it after at least 2 years. I flashed the latest TWRP and then this ROM (20210308) following all the instructions in the first page. It encrypted my phone and booted up nicely. Everything seems to work fine, except one thing, there is no camera app present. At first I thought maybe the camera is broken too and not recognised, but I used other apps to test it (e.g., Skype) and it works fine. Is this intentional and if so, which app should I use?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Natix:-*:
everything is fine but battery optimization is not working
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] magio.dev:
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.1 UNOFFICIAL / 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
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Wajeeh Ul Hasnain:
Can it be installed With RSD lite?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] YoShake:
Does anyone have a clue how to enable arrow keys in default aosp keyboard with enabled gesture navigation? Option seems to be available only with screen navigation stripe :\

Only solution is a 3rd party keyboard app?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] DHDDS:
can I update the OS by adb commands? how I do that?

EDIT: I was reading this method (https://www.theworldsbestandworst.c...adb-sideload-to-install-roms-updates-restore/) and got confused 'coz the update steps and install a new rom is the same, and I don't wanna wipe my data.

EDIT2: I used that commands in sideload mode and worked. Is up-to-date now.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] quantum_espresso:
hello guys,

After today's 17.1 update, my battery percentage not showing the real situation and only after a few restarts it would show that the battery have lost quite a few % after a while.

Not sure if it's a bug.

I have updated it to the latest 17.1 version as usual.

EDIT: battery indicator working now
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Wajeeh Ul Hasnain:
Working Fine... 😘
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] mattdpollard:
Hi, last few builds thé média scanner stops working at some point after each reboot. New photos dont show in gallery or some other apps, unless manually trigger scan with a scantrigger app or reboot phone. Any ideas? Thanks!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] jp090200:
i have a bug that i can't control the volume of speakerphone calls
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] shlinux:
Is there some way to switch SIM cards quickly ?

I can switch SIM cards quickly when useing stock ROM.

Just like this. Huawei EMUI 11: How to switch SIM cards quickly

But after I installed LineageOS, I can't do that anymore.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Mirrorsluck:
Hello guys. I had the same problem as magio.dev and I managed to solve (at least it in my case, yours might be different).

No matter which version of LOS I flashed and how, it was stuck in boot forever. And I gave up on LOS and tried to flash some stock ROM. And then I realised that the problem might be in the fact that my G5S XT1794 was still running Android 7.1.1 Nougat as there was no official automatic update to 8.1.1 in my region (as far as I got to know).

Of course I knew about this before I decided to flash LOS, but I thought that it doesn't matter - we're flashing whole device, right? No, it turns out that it matters.

So I downloaded an appropriate stock 8.1.1 ROM for my region and while I was searching for a correct method to flash it, I found out about existence of Rescue and Smart Assistant form Lenovo.

As I was tired, resigned and scared of bricking my phone I decided to use this tool. It downloaded a ROM on it's own and worked pretty well (apart from the fact that you have to register to Lenovo and agree to some kind of weird stuff).

So after this thing flashed 8.1.1 into my Montana I installed LOS as before. It worked.

TLDR; If you have infinite boot after flashing LineageOS, make sure that your stock ROM is 8.1.1 - in my case it was 7.1.1 and it was the issue. After updating to 8.1.1 everthing worked fine.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Korin67:
@Mirrorsluck ,

Sorry if this is FAQ. I am new to montana, I just got it. Bootloader unlock and install TWRP were okay. I installed TWRP 3.3.1. Tried to install newest LOS17.1. Boot animation is okay. But some time later, the system reboot and go to TWRP. My stock rom is 8.1.0 (not 8.1.1). Is this the source of problem??

It seems 8.1.0 is the newest for my montana. How can I get 8.1.1 if 8.1.0 is not appropriate?

model: XT1797

baseband: M8937_37.13.03.75e

TWRP: twrp-3.3.1-1-montana.img

Edit: AsD Monio's LOS17.1 booted and works. Never mind this article. Thank you.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Hausemaster:
I'll try installing los 18.1 to see if anything changes...
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] rfmalta:
where can I download the last 17.1 official? can't find it anywhere
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] rillrill:
I am also interested in the latest 17.1 image
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] namelessrabbit:
Same here, would deeply appreciate somebody uploading the last official LOS 17.1, as I've read A11 runs poorly on this old device....
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GivFNZ:
Desnecessário 2 in Montana Laboratory | Moto G5S

t.me

for ones who wants official lineage, idk if it's the latest one but it's official anyways
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] batGoshe:
The best ROM for montana. If we speak about performance without gapps, compaired to lineage 18.1 (also without gapps), this ROM is 15 times faster to install and smooth like butter. On this ROM, as well as others for montana, to NOT have problems with usb tethering, it should be installed from TWRP without connecting to a PC (don't know why but it is a fact). Hopefuly at some point, it will have the latest security patches and latest kernel. Battery life is also better than 18.1. I used the latest build ( I mean from 3 may 2021) for more than a year and switched to /e/ OS because of the updates. Cheers
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] batGoshe:
and another thing: the best TWRP for all montana lineage 17.1 & 18.1 base roms is this one from JarlPenguin :

Release twrp-montana-03022022-1601 · JarlPenguin/releases

for montana Date: Wed Mar 2 15:01:32 UTC 2022

github.com
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ismarub:
I am using this rom and it is not worth it for daily use. I have two moto g5s. I bought the last one second-hand with much better battery condition than the first.

With the Android 7.1 that came standard, I put the pcmark battery on it and the screen lasted more than 8 hours. With this rom there is battery drain at iddle. For example, with the stock one, on a night with a worse battery, it would drop by 5%. Yesterday I went to bed with 49% battery and woke up with 34%.

You can improve the battery by activating power saving, but then the phone performs less. Another problem is that to flash roms, you need to first flash the stock rom. Otherwise it doesn't flash or you have bootloop.

I have gone back to the stock rom and it annoys me, because with Android 10, you have less compatibility problems in applications.

For example, I have other small phones like the Moto G 2013, etc... Well, they stayed in Nougat, because more modern ROMs weigh down those phones. But then I have to use outdated browsers based on chrome and newpipe instead of revanced.

The worst thing is that this phone didn't sell much and there is little support. For the normal moto g5 there are more things. For example I have it with crdroid android 10 and it works quite well.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GivFNZ:
This rom is really bad for battery, but you can download an old build, it doesn't have this issue, but also it's not official. If you want, I can find link
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ismarub:
If I go with an old build, it probably has bugs in the functions I use. You also have to see if the links are still available.

I'm back in stock, but with many problems. It gave me imei 0. I made a copy of the other moto g5s, but twrp does not detect it because the other one is xt1794 and this one is xt1793.

I also made a copy of lineage 17.1. I loaded the EFS and it detected the IMEI. But since I don't have persist it still doesn't give me a signal.

I have installed various roms through fastboot without success. Even a lite 7.1. In the end I installed an old stock oreo build lite (from 2018) from this forum, the imei already works and gives a signal.

Be careful not to try many roms on this phone. Then you cannot go back to stock if you have not made a copy of the efs partition and persist. I think it will stay there for now, unless I find problems in that stock version.

With the moto g5 cedric you can also have problems with the IME, but nothing similar with this one.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
New build is up with quite the amount of changes! Downloads and changelog are available in the OP, as usual, happy flashing!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Minor update with offline charging fixed (and media blobs updated) is out via OTA and on GitHub.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
Flashed the last one, working smooth
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
A small bug though : screenshots are tagged with 1/01/1970 date
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Ænimal:
Screenshots are being saved with the correct time and date here running v1.4
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
I am on 1.4, XT1794
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Another minor update that fixes (yet another) a bug with offline charging. Download and changelog is available in the OP, as always. OTA has also been pushed
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] DHDDS:
flashed and trying it right now
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
Date bug on screenshots still there with v1.5
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Rush:
Did he ever say he fixed it?

No.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Adamask:
Can I dirty flash? I'm on LineageOS 16.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Yes, but if it bootloops you should clean flash.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] alexsreis:
Hello my friend Jarl. Unfortunately the rom is not allowing updating, just clean flash. After ota update a rom is in bootloop.

P.S .: Update from 17.1-4 to 17.1-5
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Hi - I'm not aware of anyone else having this issue. If you could attach a full logcat it would be appreciated.