yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] IronTechmonkey:
Delay between power button press and screen on.

Regarding: Delay between power button press and screen on.

https://jira.lineageos.org/browse/BUGBASH-1115

(Screen doesn't always wake up from sleep)

Some bugs (such as spontaneous reboots) are hard to pin down and will sit until we users can collect more meaningful bug reports, but the reporting of this issue to date seems to make it quite clear that this is an Athene Specific LOS 14.1 bug and that there is a clear direction to go regarding fixing it. In the interest of bumping the priority of this issue and getting maintainers and or the larger LOS machine to address it:

If anyone else can reproduce this issue please do add any notes and or logs that you have to this Jira ticket.

https://jira.lineageos.org/browse/BUGBASH-1115

Here is my most recent note into the ticket:

Issue persists in August 29 2018 build and the list of associated symptoms grows, now including all of the previously mentioned symptoms plus delays of a few seconds when lock screen is enabled and invoked even when the proximity sensor is indulged with some input.

Speaking of the proximity sensor: it is quite clear that the way the proximity sensor is handled by LOS14.1 on this Athene device during these events is at the heart of the problem. This has been demonstrated by previously provided tests results and logs from Athene device which showed anomalously high proximity sensor activity when display is off. Those results were compared to similar tests on other devices running same LOS builds where the problem does not occur and the anomalously high proximity sensor activity while display is off also does not occur.

I would add (admittedly with a bit of frustration) that: In spite of the fact that this issue does not involve FCs, unplanned reboots or loss of data it is the singularly most usage-killing issue I've ever encountered in Android. Also, as previously described it is fairly easy to reproduce under certain combinations of native settings (gestures disabled, wifi, mobile data off), but if there are any other tests which could be done to push this issue towards a solution please let me know.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] mysteryno46:
Yes. One of the best options

You can either use Titanium backup(one of the best options) or install an app called "System app remover by Jumobile" and do the needful. Both would work fine. :highfive:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] SHUBHr14:
Hey anybody knows how to enable Volte in this for Jio
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] strongst:
Is your jio sim in slot 1, LTE and volte enabled?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] SHUBHr14:
Yeah

---------- Post added at 09:34 AM ---------- Previous post was at 09:34 AM ----------

Yeah
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] st0nedpenguin:
So I just updated for the first time in months and now the Republic Wireless app is telling me my phone isn't supported anymore? Was there some kind of change made to Lineage that prevents it from working?

Edit: After flashing back to stock and reactivating my SIM again I was able to then install Lineage and have a working phone again. No idea what prompted the random deactivation though.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] SilverDragon24:
Can we have Camera2 API enabled with raw capabilities in a future build?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rajatgupta1998:
Camera2API needs HAL3 to work. And HAL3 doesn't work the best on Nougat (breaks flashlight toggle on Quick Settings and sometimes results in green coloured photos). So either use LineageOS 15.1 ( https://xdaforums.com/moto-g4-plus/development/rom-lineageos-15-0-14-sep-2017-t3672940 ) or wait for my unofficial builds with HAL3.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] SilverDragon24:
best to wait for 15.1 to go official then.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] batata004:
I've been using this ROM for almost a full year and it's great. On latest updates even the camera app works amazingly well!

But I have a question: I wanna buy a product named ROTG01 which is just and USB device that I connect to my android phone and it displays image over OTG and UVC. OTG I know is working fine. However the "go fpv" app says my phone does not have UVC driver installed (I have the latest lineage os 14.1 official installed). Searching at Google it clearly looks like moto g4 plus HAVE UVC.

So maybe is something with this ROM that prevents UVC from working? I am not complaining at all, I just wanna know if I am gonna have to buy another phone in order to be able to use this UVC or if I can stick with MOTO G4 PLUS for a while longer!

When I install the file below on my MOTO G4 PLUS (provided by the manufacturer of the product) it says that my moto g4 supports UVC. However the "go fpv" app says exactly the opposite. So what do you think guys? Is this ROM working with UVC?

https://drive.google.com/file/d/0B8AlIeKLXbqhVmZUV2V4YnhwUGM/view
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] IronTechmonkey:
That's a good question. There are a variety of possible reasons why a particular feature which is present in stock Moto might not be present in LOS but this is not to say that they could not be added (if nothing precludes that).

You could file this as a bug report named "missing UVC driver functionality" (or something like that) at LOS /jira: https://jira.lineageos.org/. It sounds like you've done some good testing and research so all you'd have to add is some logs in order to create a good report. It might be rejected as a bug but in that case there should at least be an answer about why. It should also be noted that development focus on Athene specific issues has all but disappeared (most likely because focus has moved on to next Android version) but it is still might be worth creating the bug report and sharing the link here.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] batata004:
Thnks, as soon as I get home I will file a bug report at the website you pointed out! You said one thing that left me curious: you said that now devs are investing their time on the next android but would you have the link to the latest version of android that I can use on my moto g4 plus? I say this cause I tried using the 15.x version (64 bit) and it was a terrible experience, lots of delays and problems. Is there any other version around there that you think devs are investing more their time?

---------- Post added at 04:46 PM ---------- Previous post was at 04:32 PM ----------

There is a problem with moto g4 plus that affects any app that I use to take videos/photos. Even the default camera app that comes with this lineageOs 14.x version still has this problem.

Check the screenshots below that I took with lineage os 14.x and default camera app. When I use the PHOTO mode the screen is much much more wider. When I use the VIDEO mode, the field of view gets much much smaller. I think this problem is related to some Digital image stabilization but if so, is there a way I can disable this behaviour? It simply crops too much the image.

Photo mode: https://photos.app.goo.gl/AbjZiqRnQ4Dk7f7J9

Video mode: https://photos.app.goo.gl/2WPDJZCagURnjEkq6

You can clearly see the area around the santa claus is much bigger on the IMAGE mode.

OBS: I am not using/applying any zoom in the video mode, dont worry :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] SilverDragon24:
Ok here's the problem... My Cellular provider doesn't support VoLTE but has LTE service so ideally when a call comes in it should drop to 3G and let the call in but in my case whenever the phone has an LTE signal it clings to it like superglue and routes all my calls to voicemail unless I manually keep the phone on 3G. noticed the same issue on a sanders(G5s+) LOS 15.1.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ArthurRio:
I can use this room for my daily use? the rom is good? Working well?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] corlatemanuel:
Yeeees

Yes. Apart from some occasional random reboots, yes.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Luis Infante:
Try it yourself
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ArthurRio:
i still waiting this answer, whatever
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] IronTechmonkey:
This is off topic for development thread. Answer here in general section: https://xdaforums.com/moto-g4-plus/help/help-thread-question-noob-friendly-t3526598.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rajatgupta1998:
For fellow developers , just for some maintenance of N (maybe O) I'm getting the blobs from the latest available firmware and checking every item for changes/improvements. Slowly and gradually for every available item. If everything goes well, will ask the maintainers to maybe push them to TheMuppets repos and get them merged for the official builds. ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] 777Braveheart:
Can anyone here verify if the XT1644 US model is working on Verizon LTE fine with the latest version of this rom?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Darkness126:
I tried to import sim contacts to Phone memory, but to my surprise contacts stored in SIM are not shown and it is not allowing me to import.

I did search the forum and didn't find any results. Tried with google contacts app as well still the same result. :(

This feature is working on Stock ROM. Please let me if there are any means of importing the contacts to phone memory.

I'm having 32GB/3GB variant Indian model.

Thank you
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rajatgupta1998:
News

So here's a bit of sad news.

We're already aware that we do not have a maintainer for official LineageOS builds (even 14.1) but now since our previous maintainers were not active for athene, LineageOS has decided to remove athene from the official build roster.

Here's the commit:

LineageOS Gerrit: https://review.lineageos.org/c/LineageOS/hudson/+/234845

LineageOS Github: https://github.com/LineageOS/hudson/commit/a8286e7fe3d9b46658d8807d3aa132e6f6cc8315

But no worries, I will continue my UNOFFICIAL builds though. (14.1 also) :fingers-crossed:

I vouch for [MENTION=5473651]golden-guy[/MENTION] and [MENTION=4481495]Jleeblanch[/MENTION] to take up the maintainership. :silly:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] batata004:
I must thank you all your efforts and this ROM is already pretty great. 99% of things work fine. Some rare random restarts but I can live with that. This ROM is very good, I tried the 15.x version and it sucks. It's pretty pretty pretty slow, buggy and even using alternative camera apps the photos sometimes get green. I think all my hopes to avoid buying a new phone is to keep using 14.x version. It's a fact, this ROM is already very good MUCH MUCH MUCH BETTER than the stock. Thanks dev!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rajatgupta1998:
Update

Changelog:

*Merge December 2018 Security Patch

Since the Lineage team decided to drop athene from their official build roster, here's an unofficial build from my side with December Security Patches. Since we have only N which is stable, I will continue monthly builds or maybe more as per time permits. They will have basic bugfixes, atleast the ones which never made their way to LineageOS upstream.

Download: lineage-14.1-20181206-UNOFFICIAL-athene.zip

SHA1: d87487e8add283f3e7631022fd3699226b5beb7a

MD5: 49fdd378bc7250fa72a3c645f3c238e1

But but, Out of nowhere a small bug has popped up: CTS profile shows mismatch and safetynet fails as a result :eek:

There are multiple patches to fix safetynet, do check them up online if this bothers you.

Cheers ! :fingers-crossed:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rajatgupta1998:
Fixed this safetynet thing. I'm surprised that latest build fingerprint from stock N isn't passing safety net on custom ROMs, hence it broke here too. Reverted back to an older build fingerprint for now.

Edit : Here's the build:

https://sourceforge.net/projects/li...-14.1-20181207-UNOFFICIAL-athene.zip/download
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] GolMar:
Is there a way to flash this build dirty over the last official build from 20181107?

I got Error Code 7

My TWRP is 3.2.1-r3-athene-arm64_rajatgupta1998

Thx.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] theone0987654321:
The issue is that you don't have enough space in the system Partition. Maybe you have to flash a different Version of gapps. Otherwise you need to clean flash Rom.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] GolMar:
I flashed in the beginning the pico gapps. How can i make place available at the system partition? Would it be enough to remove some apps?

And for my understanding: why wasn't that a problem while flashing the official builds?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] kevinarol:
Excellent Deep Sleep with the new kernel :highfive:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] GolMar:
I made a clean install at last. The build works perfect. Big thx
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Moreg90:
Sorry for the noob question, I have to flash superuser to have root access?

I can select only root for adb...

Thank you!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Moreg90:
I have some trouble with CPU, according to kernel toolkit seems that the big core is disabled. I flashed only lineageOS root zip.

I already tried to do a dirty flash of the ROM but the problem is still there.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] MagicAndre1981:
Can I flash this over an installed official 14.1 without wiping the data and keep my apps/settings?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] IronTechmonkey:
Some notes about flashing the recent (December 2018) unofficial build.

Flash:

- Starting from an official LOS build from a few months ago.

- First attempt to clean flash this build with open gapps Pico and LOS SU resulted in an error when flashing gapps.

- Restored previous build to use while considering what to do.

- Clean flashed this build with Open Gapps Nano and LOS SU and that time there was no error.

- In same TWRP session, wiped Dalvik and system caches, performed factory reset (AKA full wipe), then flashed this build with open gapps Pico and LOS SU successfully.

Having heard about some issues with open gapps Pico (which I never experienced personally), I suspect that the script in the open gapps Nano package put something into place or fixed something that the Pico package could not handle. This never occurred in many months of flashing official Builds on several devices but was fairly easy to work around.

After Flash:

[EDIT]- A change not made in this unofficial build but rather in an official build within the last few months changed some parameter which causes Titanium Backup to fail transfer of its settings across ROM flash. Typically that happens when the device name is changed but in this case it must have been something else. The point being that this is not an issue with the unofficial build.

Correction: That was a TiBU issue: https://xdaforums.com/showpost.php?p=78737030&postcount=2905

- The ROM performed at least as well as the previous official builds, which is to say still somewhat prone to reboots (one so far) and with the delay between power button press and screen on. That being said there may be some to be some good news for the power button lag in the form of the Reviver kernel. I'll post more about that in the reviver kernel thread then link that post here.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] psychopac:
There's something weird happening with my G4 Plus, I came from stock April patch, unlocked and flashed the ROM fine but here's what happened.

On my stock ROM, I backed up my media from WhatsApp using it's backup option and everything backed up fine, I tapped on backup again just to be sure and yes, I keep the backup to drive option enabled.

When I flashed the newest unofficial LOS14.1 and set-up my WhatsApp, it didn't restore all of my media for some reason. I could see it in the app that it just restored like 20% and the restoration ended and I ended up with a ton of photos with 0B.

What happened? Can I fix it? I am stumped as WhatsApp should've restored the entire backup from my GDrive but for some reason it didn't.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Underworld002:
how to downgrade lineage 14.1 to Nought on moto g4 plus?????

how to downgrade lineage 14.1 to Nought on moto g4 plus?????

please help me....

thanks in advance
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rajatgupta1998:
Not sure if someone has read the XDA rules and knows how to act sanely on the forums. Stop spamming my threads. Use the help thread linked in the OP for queries not regarding development purposes in a development thread. Nothing wrong in asking but asking the same question thrice on three different threads is unacceptable and is super annoying. Please. ??
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Shreps:
Has the OP, just drop its message... ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] MagicAndre1981:
Hi [MENTION=6324159]rajatgupta1998[/MENTION]

the January Updates are out:

https://source.android.com/security/bulletin/2019-01-01

Will you provide a new build? Can I flash it over the last official? can you post the complete changelog and github commit so that we can see what is included?

Thanks ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Trademark97:
You don't need to ask the developer for a new release. He's already said he intends to keep up with monthly releases, as much as he can. I would imagine you could flash these unofficial builds over last official (dirty), but I would recommend clean flashing just to be safe.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] IronTechmonkey:
A clarification about something that seemed to be a ROM issue but was not:

As reported here (https://xdaforums.com/showpost.php?p=78410943&postcount=2898); incidental to a test of the December unofficial build (which went quite well) there was an issue where: In any LOS 14.1 build after a certain date, Titanium Backup would not transfer settings to newly flashed update. Although that symptom was precipitated by a change in LOS the underlying issue was in TiBU and has been fixed.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rajatgupta1998:
Update: 31st January.

Have been testing this build for 2-3 days now. This uses the minimal kernel from stock and latest CAF release. There are NO Reviver specific customization options or optimizations which were available (if any) on previous LineageOS 14.1 builds by me. This has a reason. I and [MENTION=7568614]lCrD512[/MENTION] came to a conclusion that the kernel shipped on official releases wasn't maintained properly, we were missing certain patches and hence even reviver kernel has had some issues for N 7.1 . Now this was becoming difficult to debug because of the huge amount of commit history on the official lineage kernel repo, hence this approach was needed.

Long story short (TL,DR) : This is a test build, hence you might notice minor UI stutterings or slight bugs as I haven't added a single optimization or feature to the kernel source.

This is because I want stability which needs to be tested before. Everything else later.

Please clean flash this build and report whatever regression you can find out. For random reboots, you need to send the ramoops logs from /sys/fs/pstore path. A dmesg for all other kernel related issues. I can't teach how to grab logs, there are plenty of available guides. Some statistics: Linux 3.10.84, CAF Release LA.BR.1.3.6.c2-03920-8976.0 .

Downloads:

ROM: lineage-14.1-20190131-UNOFFICIAL-athene.zip

MD5: dd873add3d71f80561bea39f8c872b94

SHA1: 5585a84c1bbfa4fdb1fd4f06551619057048884a

Sources on my github: https://github.com/rajatgupta1998

:fingers-crossed:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] st0nedpenguin:
I've actually been seeing the return of the random reboots with the last unofficial build after not being bothered by them for a while so this couldn't have come at a more perfect time. Giving this build a shot now.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] TLastPrism:
Could you give me some details about your experience using the 31 jan build? Like, there's stutter in the UI as Rajat said? The performance in the apps that you use is the same as the penultimate build? Any problem playing games(if you play, ofc)? Or the last, you noticed some bug(Again, if there's any, ofc)? Been using stock 7.0 nougat and wanted to go back using custom ROM.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] st0nedpenguin:
I only use my phone for super basic messaging and Reddit/Twitter/browsing etc with a little bit of listening to podcasts at work but it hasn't felt any worse on the latest build than it did on the previous ones. In some cases the UI even feels a little more snappy.

And as a bonus I haven't seen it reboot once so far versus the multiple reboots per day I was seeing on the previous builds.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] motoe_user:
Building from source

Thanks a lot for your work [MENTION=6324159]rajatgupta1998[/MENTION]!

I'm interested in testing this build, and I would like to compile it myself for learning purposes. I have previously

compiled the stock kernel from the sources provided by Motorola, but never succeeded to integrate it in a LineageOS

build and get a successful boot.

Would you mind sharing the Manifest URL and branch for your trees, or at least providing instructions on how to download

all the needed sources for this specific build? Thanks again!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] TLastPrism:
I'm using the 31 jan build and everything is working fine until now. Only one problem i faced was in the initial setup, while setting everything, happened a glitch were the post google sign screen started flickering like, going black for 0.5 second and then coming back to the setup and then rebooting the system into a beautiful bootloop lol. My order of flash in twrp is always this> ROM>Gapps>Magisk. Used ARM 7.1 nano gapps 1 Feb 2019. I reflashed the ROM but using nano gapps from day 2 Feb and the same happened. Then a reflashed again the ROM again with 2 feb nano gapps, but this time i rebooted wile the glitch was happening and it's worked fine after this i could setup my account normally and everything worked fine after. Sorry for not taking logs, I can't live without my phone for, like, 2 seconds lol
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] TLastPrism:
Just passing by to say that this ROM has 2 problems: 1-When the system starts there's 2 big cores online, but eventually when you do something heavy like playing games or using heavy apps, the others 2 big cores comes online and never go to sleep until the device is rebooted(and the problem happens again). 2- Since official lineage there's a problem in high quality music files wich you can't play 24 bit flac files in Lineage, even using stock player or any other downloaded music player :( I don't mind having 4 big cores online as i can disable 2 of then with a kernel manager, but being restricted from listening to my music is a huge deal breaker for me(i thought this problem would've been fixed in recent lineage patches, Wich wasn't) :(

Cool ROM, no stutters, no lag in games, but here i go running to stock again :(
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] GolMar:
No january security patches in the 20190131 build? :confused:

Testing this build now...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] rajatgupta1998:
Oops. My bad. A small mistake. I had made a fresh sync of the LineageOS source and forgot merging the security patch. Apologies regarding the same. Will push new build as soon as I get time.

I had already tested this one. The wrong file got uploaded.

https://i.imgur.com/ZA6UEea.png