yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] gavron:
Today's question: On some versions of LoS one can disable the "Presidential Alerts". On this one, you can either "disable all alerts" -- which I did -- and which does not disable presidential alerts, or enable all.

Can you either restore granularity so we can selectively enable/disable OR add presidential alerts into the "all" alerts being disabled?

Thank you in advance for any consideration!

Ehud Gavron

Tucson, AZ US
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Slayer5934:
Why on earth would you disable US wide alerts? They are only sent when needed or very rarely tests.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] gavron:
Not really an XDA question, but the commentators on SlashDot can help explain the concept.

https://tech.slashdot.org/story/18/...ential-alert-at-218-pm-eastern-today#comments

Ehud

Edit: Who would think that EVERY SINGLE PHONE in the US needs to get simultaneous messages.? I'm sorry, but have you seen what happens during an Amber alert in a restaurant? It disrupts everything for half an hour as everyone rushes to their purse, pocket, etc. and everyone checks their phone. Then they talk about nothing else. If you want to make your phone a tool of the government, good for you. I don't get paid to distribute their "advertising". LoS in some builds allows disabling that. I'd like that for my MotoG4. You don't like it? Don't disable it.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] mankokoma:
It's hardware implemented, so works in every Rom. But in some Roms it's not notificated.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Slayer5934:
It's just a broadcast system, looks like you've been taking too many pain killers or something.

Either way I hardly think the feature is urgent, it's like asking someone to disable a fire alarm because you don't like the loud beepy noise.

And to respond to the people freaking out on that forum, is it really that horrible for a noise to go off while driving or eating? No different than a phone call.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] gavron:
Insulting people is not a way to achieve any useful communication, unless your message is "I don't get why you want it, and you shouldn't want it, and it's good for you, and you've been taking too many pain killers or something."

This feature exists in many LoS builds. I'm simply asking for it to be incorporated in this one. If you can't help, and all you can do is insult, get some help.

E

Edit: You said "It's just a broadcast system." Read this: https://www.cbsnews.com/news/presid...-system-to-cellphones-citing-first-amendment/

If you're not a United States citizen I can understand why you wouldn't get that. Or if you're not educated.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Slayer5934:
I am a US citizen and I don't see the issue with an emergency broadcast system unless its broadcasting propaganda, the article you linked even mentions that fact if you read it properly.

"This new presidential alert is nationwide and only used for advance warning of national crises."

"Johnson said it is designed to be used very rarely – and without political agenda."

I understand some people dont like Trump much, but I havnt got any political propaganda or felt that my device was being "seized" in any way, it's just a warning system.

Either way your right though, maybe I should keep my insults to myself.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Ragarianok:
You're part of the problem.

We're entering an age where everyone is so self absorbed that any situation that isn't about them or doesn't include them is immediately unimportant.

You said that Amber Alerts are distracting.

Distracting. Really? Someone has a child that is missing and that is VERY important. It's not your child, though, so I guess it's not important.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] mankokoma:
hello moderator, could you please delete all this politically motivated OFFTOPIC BULL...T ?!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] gavron:
First, this is about a user requesting a common LineageOS feature be enabled on _this_ build as well.

Second, while you're so caught up in your social justice war read what I wrote. Having every phone within a restaurant or a city block or ten city blocks doesn't help. Signs on the roadways help, as do radio broadcasts you can voluntarily tune to, instead of tuning out of.

It's not about your kid, my kid, anyone's kid. When someone coopts my phone I dismiss the message and go on. It's like spam only somehow "it's ok because it's the government"... like robocalls from politicians, which are exempt from the Do Not Call Registry.

I'll stop here because I've said three times this is a common LoS feature and I'm only requesting that it be enabled for this build.

E
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] ArthurRio:
Thank you
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Thanks for the logs, will take a look into it as soon as i'll find some time, hopefully on weekend...

Will search around and look in other device sources, as long as its device spezific it should be possible, if its related to lineage sources itself then i can do nothing. This means will see what i can do but no promises at all.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] tyratron:
[MENTION=4920940]sgspluss[/MENTION] [MENTION=9479527]ArthurRio[/MENTION] [MENTION=234017]gavron[/MENTION]

Settings > Apps & notifications > Advaced > Emergency Alerts

Choose whatever you like. Voila. :p
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] tyratron:
There goes the screenshots
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] gavron:
You really should read the post right before yours. That quotes mine. That points out Presidential Alerts aren't a discrete settable value *AND* are not included in "Disable all alerts*.

So your "Voila :p" really means "Didn't bother to either test my advice before posting nor read what other people wrote."

E
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] shivansh94:
good job. thanks.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Yush_noob:
My g4 plus is a Rooted 7.0 NPJS25 running in Elemental X Kernel with last security update on 1 June 2017.

Should i just follow steps as the OP stated or is there something more i need to do, also is this ROM latest or is there a newer version.

Sorry for being a noob. Every help is Appreciated :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] nikhilninawe:
Device is not certified

Googe play store says device is not certified.

Even after following the steps at google /android/uncertified/, play store still says device is not certified.

Please help.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Sayueri:
It'll still say device is not certified in the play store settings even after registering the device. If you registered it, you should be fine.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] nikhilninawe:
Device is not certified

Sorry i didnt get what you are trying to say.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] thorin0815:
If your bootloader is unlocked your device won't be certified without the help of Magisk and in some cases you even need an additional Magisk module like SafetyPatch made by hackintosh5.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] makash720:
Eta for next update? [MENTION=4920940]sgspluss[/MENTION]
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Korin67:
Thank you for the 15.1 rom for athene. One request from me is about FM radio. In my country the band edge is 76.0 instead of 87.5. For lineage 14.1, I could edit the FM radio source and could built the ROM by myself. Could you advice me the steps to build lineage 15.1 (roomservice.xml, breakfast, brunch etc., I mean)? Or should I tell which part should be modified in FM radio software?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
This time will answer it, because think its time to give you all a little update.

First its true that i own an new phone and actually we have no maintainer for lineage, so do what need to do build it on myself and for the community, but...

I know also you (this community) want an update so you will get it as soon as possible.

Stay tuned! ;)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] CMKdaGreatest:
Although [MENTION=4920940]sgspluss[/MENTION] answered it, lemme tell you that asking for ETA is not allowed in XDA. Please refrain from doing so in the future.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Korin67:
I am not sure how many people try to build LOS15.1 for athene in this group, but the subject is related to the OP, I submit my experiment. I used the following roomservice.xml:

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<remote fetch="https://github.com/lineageOS/" name="lineage" revision="lineage-15.1" />

<remote fetch="https://github.com/TheMuppets/" name="muppets" revision="lineage-15.1" />

<remote fetch="https://github.com/sgspluss/" name="sgspluss" revision="lineage-15.1" />

<project name="android_device_motorola_athene" path="device/motorola/athene" remote="sgspluss" />

<project name="android_kernel_motorola_msm8952" path="kernel/motorola/msm8952" remote="sgspluss" />

<project name="proprietary_vendor_motorola" path="vendor/motorola" remote="muppets" />

<project name="android_device_qcom_common" path="device/qcom/common" remote="lineage" />

<project name="LineageOS/android_external_bson" path="external/bson" remote="github" />

<project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" />

<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />

</manifest>

Yes, I use OP's sgspluss. With this roomservice.xml, I could compile up to 78% point. Then I got the error:

libril_intermediates/ril.o hardware/ril/libril/ril.cpp"

hardware/ril/libril/ril.cpp:48:10: error: 'RilSapSocket.h' file not found with <angled> include; use "quotes" instead

#include <RilSapSocket.h>

^~~~~~~~~~~~~~~~

"RilSapSocket.h"

In file included from hardware/ril/libril/ril.cpp:48:

In file included from hardware/ril/libril/RilSapSocket.h:21:

In file included from hardware/ril/libril/RilSocket.h:20:

hardware/ril/libril/rilSocketQueue.h:17:10: fatal error: 'pb_decode.h' file not found

#include "pb_decode.h"

^~~~~~~~~~~~~

2 errors generated.

ninja: build stopped: subcommand failed.

15:30:54 ninja failed with: exit status 1

#### failed to build some targets (02:18:45 (hh:mm:ss)) ####

First of all, pb_decode.h does not exist in the package. Disable the #include and point to the RilSocket.h in the folder, I could temporarily avoid these errors but other error appears. How can I manage the error. Any help could be appreciated.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Korin67:
I tried to modified the source code to include required header files. Finally all files located but there came another error, undefined parameter. No further treatment could be possible for me. I changed my mind use the "proprietary_vendor_motorola" from sgspluss instead of from TheMappets. The latter was useful when I was building LOS14.1. After this change I could build LOS15.1, thank you sgspluss (OP). The final roomservice.xml is:

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<remote fetch="https://github.com/lineageOS/" name="lineage" revision="lineage-15.1" />

<remote fetch="https://github.com/sgspluss/" name="sgspluss" revision="lineage-15.1" />

<project name="android_device_motorola_athene" path="device/motorola/athene" remote="sgspluss" />

<project name="android_kernel_motorola_msm8952" path="kernel/motorola/msm8952" remote="sgspluss" />

<project name="proprietary_vendor_motorola" path="vendor/motorola" remote="sgspluss" />

<project name="android_device_qcom_common" path="device/qcom/common" remote="lineage" />

<project name="LineageOS/android_external_bson" path="external/bson" remote="github" />

<project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" />

<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />

</manifest>

If you are interested in building LOS15.1, please use this. Now my FMradio works between 76.0 and 108.0.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Tcrazyjam:
Sound

Hello

i installed this custom rom, but now i have no media sound, why is it? wrong (old) version, i think it is a bug. can somebody advice/help me. Thanks, David from germany
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] askreddy2:
The most recent version is available in the link below

https://xdaforums.com/moto-g4-plus/development/rom-lineageos-15-1-unofficial-t3768420
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] schoebi_zh:
Same problem here
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] mankokoma:
Yes, before that you should upgrade your TWRP from https://xdaforums.com/moto-g4-plus/development/recovery-twrp-3-2-1-unofficial-touch-t3722206, do an upgrade to stock Moto Oreo: https://xdaforums.com/moto-g4-plus/development/rom-oreo-8-1-0-soak-test-t3873367 and then install rajatgupta1998's LineageOS 15.1 from askreddy2's link.

Afterwards the only working camera with flash is still "Cameringo" (the light version does it).
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Tcrazyjam:
Problem not solved.

https://xdaforums.com/moto-g4-plus/help/media-sound-flashing-custom-rom-crdroid-t3931306
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Ragarianok:
This was already answered. Please utilize the search function.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] GhostMX:
an apology I did not see it, thanks
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] morbidelio:
I can't install apk nor install apps via google play store, says i'm not connected to internet. I installed and did everything according to the instructions, including the terminal commands. Hope you can help me please...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] tyratron:
Works like a charm. Thank you! However there are no color calibration settings in LiveDisplay.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Which gapps are you using?

Are they in other roms present?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] tyratron:
IIRC it was present in Nikits' ARM64 Lineage 15.1 and works in official LOS 14.1, but I do realize 14.1 doesn't count. In ARM64 it lagged as hell when I've tried to calibrate colors.

I've managed to fix it with kernel adiutor.

Also it would be great to change vibration strength from settings, but I know it doesn't have a high priority.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Well this settings need to add by lineage by default, if they not added by default it isn't in.

Lets hope that they will add it soon, since not all features are in yet.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] morbidelio:
The ones provided in the post. When I login to my Google account the play store fails and closes. After that it gives me a no connection available message. Weird thing is that it doesn't happen with all apps.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Do you tried to clean playstore and playservice data and cache?

For me it's working without any problems.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Blueman1990:
what about volte ? it's working in this rom ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Don't know because my network provider doesn't provide it.

But feel free to test it and give an feedback. ;)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] hackintosh5:
[MENTION=4920940]sgspluss[/MENTION] did your commits fix video after all? I never tested with any app other than Snap. Do you know which commit does it? IIRC when I checked all permissions were correct for the video devices.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Can answer it later the day, new build is running but not finished yet.

Will send you a message when i've tested the new build.

Edit:

Build stopped because of missing variables.

Will fix it and start build again.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] tyratron:
Please investigate Bluetooth calling. The sound on my Bluetooth car set is a complete garbage (same as on Nikits 15.1).

If you want more details just shoot me a PM or something. :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Yeah will take a look into it, thanks for reporting!

Edit:

Well so far some patches didn't work, got again build failed.

Just wŕitten with [MENTION=8556932]hackintosh5[/MENTION] hopefully its fixed now when i've start the next build.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] tyratron:
The color calibration is active, works and doesn't make a phone laggy as hell.

Looking on changelog I don't think it was intended, but hey! It works ;)

I will provide more info along with further testing. Thanks and keep up the good work!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Not added by me rather by lineage team ;)

Sometime it needs time to get something work.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] xjj7:
thank you for working device tree
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] TakeshiH6:
Root Acces???

Hello, an excellent work with this rom, but I have a problem that did not happen with lineageOS 14.1, the applications of bank (Banca Móvil BCP) or even the pokemon Go not detected me that my phone had "Root Access" as it is in this case, the which according to Root Checker I do not have. There is some way to hide that, or you can modify the OS so that it does not identify those problems.

Excellent development, to see if you could answer me

Greetings .:good:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] tyratron:
Flash Magisk
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Ragarianok:
Are you planning in including the Chop chop fix that in other ROMs in future builds?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
This could be about selinux because its permissive.

Yes thats what i want to fix next... Tried already but build failed sadly.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Just to inform you whats going on...

Cherry-picked the needed patches for chop-chop and flashlight, hopefully they are working now.

Also small other changes here and there.

Will start a build tonight, lets see stay tuned! ;)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] tyratron:
Downloading right away and testing!

EDIT: Chop chop works like a charm!

EDIT 2: Seems a little bit laggier than previous build
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] xjj7:
Please add sound control to kernel repo
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Thank you for your feedback, how do you flash it clean or dirty?

Any good reason why i should do that?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] tyratron:
Over previous builds. Should I try with clean flash?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Could you try to extract boot.img from previous build, flash this extracted one via TWRP or flashify and report again?

Just want compare, then i know what i have to do... Because on my phone its working, just first boot was laggy but this is known in android o.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] xjj7:
Ok i just add it manualy to my new build. Please just fix camcoder in new build and you rom will be just excelent for my
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Buddy, this and your previous post are really disrespectful!

We all working hard to get bugs fixed, but we just can do what we can do.

If the LOS Team will fix the leak in hal1 then video recording will work, otherwise you have to use an third-party app like open camera.

Just think about it...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] xjj7:
Ok thanks i understand
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Just a little update, re-upload a newer update of the rom.

Got reports that the other version tends to have here and there little lags.

This update should solve this problem.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] grigor1993:
This rom needs 64 bits twpr ? Cause i have problem with this twrp and it not seing my sd card...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Not needed just use TWRP its fine to go...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] grigor1993:
Installed :)... No need indeed...

Im very impressed.... Stable.. Fluuuuid... Just wow... Really good work :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] alaindupus:
Dev, how can I invite you a beer? Thanks for this amazing ROM and all of the effort of all developers to keep alive Athene ? Hopefully, we could get an official LOS 15.1 ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Thank you, i give my best. :)

Just look into my profile there you will find all information. Thank you for this, but also don't forget those who made this all possible ;)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Iamanel:
4/20 Build HyPe!

I was just waiting for chop chop to switch from 15.0

Thank you for the time invested into this!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Joel Oliveira:
video recorder and synchronized flash photos already working?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Love Dhir:
Can anyone tell me are there any bugs in the latest update
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] tyratron:
Read the OP. Video recording, torch quicktile and SELinix are not working
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] loveneesh dhir:
Trying to flash gapps but show error zip corrupt downloaded multiple time I have installed 64 bit twrp
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
What is the error message and even if given the error number?

No problems to flash it with last 32bit TWRP.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] melbin97:
anybody have any comments on battery backup compared to nougat?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Screenshot say more as words.

But remember it depends on your settings also.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] melbin97:
dude this looks good :)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] tyratron:
Note that I use magic charging switch which enables charging only to 90% ;)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] melbin97:
is opengapps supported?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Yes but look in post #3 there you find more informations.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Love Dhir:
I installed ipen gapps full package but google play services stopped device became laggy and i can't sign in to my account and also apk are not installing plzz help
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Clean flash rom and my gapps should help and fix this problem :)

My personal experience with opengapps aren't good for now with android 8.1, thats the reason why i've made my own one.

Anyway good news for all, after [MENTION=5740993]jer194[/MENTION] reported that the rom doesn't boot up with DBP i've fixed this problem.

With next update it should boot also again with DBP.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Love Dhir:
Plz provide me link for your gappps
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Look at post #1 OP right under download...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Iamanel:
I just flashed rom + nano opengapps and rebooted with no problem at all. Didn't have to disable first boot setup and it's working just fine.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] sgspluss:
Maybe they fixed the problems, didn't test them anymore to be honest.

Could some more confirm that opengapps are working now without the given solution?