yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] peelie:
microG ROM 15.1 with Jan 2021 security patches

Hello All

FYI an unofficial LineageOS 15.1 athene rom which includes microG and F-Droid.

Download:

lineage-15.1-20210116-UNOFFICIAL-mG-athene.zip

https://sourceforge.net/projects/moto-g4-athene/files/lineage-15.1-20210116-UNOFFICIAL-mG-athene.zip/download

- ROM is based on rajatgupta1998's manifest

- microg and F-droid from https://github.com/lineageos4microg/android_prebuilts_prebuiltapks

Thanks to @Eric_Lev for advice

And @rajatgupta1998 and LineageOS

Note you cannot dirty flash this over other builds, (well you can but it is unstable!)

Also note GPS does not work in this ROM (will have to wait for fix in next version from @rajatgupta1998)

--------------------

btw if you want to know how to build this (in the cloud) have a read here , it is for 14.1 and info about using for 15.1 found near bottom of page - https://nextcloud.englishup.me/sites/rombuilder/athene

enjoy!

peelie
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] whitexp:
Thanks for 2021 builds ...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] andrescm:
I congratulate the immense work put on making this ROM. I've been using it for about 4 months. However, I had to revert to stock for the following reasons:

. Phone would randomly freeze with the screen off, especially when charging. The only way to get out of it was to force a reboot by holding the power button for more than 10 seconds. I've missed many calls for leaving my phone supposedly charging to find out later that it was completely frozen because it wouldn't respond when I picked it up.

. The camera driver/service would randomly stop working, needing a phone reboot to make it work again. It affected all apps that needed to use the camera.

. Not being able to disable one SIM in a dual SIM phone. Had to use Automate to block incoming calls to SIM #2 whenever I needed it.

All in all, thanks to Motorola's lack of support, I think this model can't have a good working custom ROM, be it Oreo or Pie. Again I have nothing but praise for @rajatgupta1998 , but I'm done trying custom ROMs on this model.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] peelie:
microG ROM 15.1 with Feb 2021 security patches

Hello All

FYI an unofficial LineageOS 15.1 athene rom which includes microG and F-Droid.

Download:

lineage-15.1-20210217-UNOFFICIAL-athene-mg-keys.zip

https://sourceforge.net/projects/moto-g4-athene/files/lineage-15.1-20210217-UNOFFICIAL-athene-mg-keys.zip/download

- ROM is based on rajatgupta1998's manifest

- microg and F-droid from https://github.com/lineageos4microg/android_prebuilts_prebuiltapks

Thanks to @Eric_Lev for advice

And @rajatgupta1998 and LineageOS

Note you cannot dirty flash this over other builds, (well you can but it is unstable!)

Also note GPS does not work in this ROM (will have to wait for fix in next version from @rajatgupta1998)

--------------------

enjoy!

peelie
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] zitronenmelissa:
💚 thank you!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] peelie:
microG ROM 15.1 with March 2021 security patches

Hello All

FYI an unofficial LineageOS 15.1 athene rom which includes microG and F-Droid.

Download:

lineage-15.1-20210307-UNOFFICIAL-athene-mg-keys.zip

https://sourceforge.net/projects/mo...210307-UNOFFICIAL-athene-mg-keys.zip/download

- ROM is based on rajatgupta1998's manifest

- microg and F-droid from https://github.com/lineageos4microg/android_prebuilts_prebuiltapks

Thanks to @Eric_Lev for advice

And @rajatgupta1998 and LineageOS

Note you cannot dirty flash this over other builds, but you can dirty flash over my Feb 2021 build.

Also note GPS does not work in this ROM (will have to wait for fix in next version from @rajatgupta1998)

--------------------

enjoy!

peelie
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] peelie:
microG ROM 15.1 with April 2021 security patches

Hello All

FYI an unofficial LineageOS 15.1 athene rom which includes microG and F-Droid.

Download:

lineage-15.1-20210414-UNOFFICIAL-athene-mg-keys.zip

https://sourceforge.net/projects/moto-g4-athene/files/lineage-15.1-20210414-UNOFFICIAL-athene-mg-keys.zip/download

- ROM is based on rajatgupta1998's manifest

- microg and F-droid from https://github.com/lineageos4microg/android_prebuilts_prebuiltapks

Thanks to @Eric_Lev for advice

And @rajatgupta1998 and LineageOS

Note you cannot dirty flash this over other builds, but you can dirty flash over my previous builds.

Also note GPS does not work in this ROM (will have to wait for fix in next version from @rajatgupta1998)

--------------------

enjoy!

peelie
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] whitexp:
Hi ,

Project abandonned ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] txtsd:
Is VoLTE still broken?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] whitexp:
hey @Eric_Lev, can you upload 1011 build ? my gps is very broken, thanks
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Eric_Lev:
Sorry, I no longer have it!

Try one of the latest builds of @rajatgupta1998.

==> https://sourceforge.net/projects/lineage-athene/
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] whitexp:
i can downgrade from you build to @rajatgupta1998 build ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Eric_Lev:
Yes
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Regina Rainbow:
@whitexp: You could try my home build version. I synced with the latest sources and reverted the GPS commits that might cause trouble:

https://androidfilehost.com/?fid=14943124697586349770

Other than the reverted GPS commits everything described in this post and the download description applies.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
I want to ask. Do you have any alternate link, sadly this link is broken.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
Well, i tested it, sadly is signed with public keys and it has permissive selinux, it also has the bug that it enables bluetooth after 7 seconds, like all of oreo roms from Moto G and E since first gen.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Regina Rainbow:
For anyone interested, I'm still building this rom every few month. There's one vanilla version, meaning it's just a plain build of @rajatgupta1998 's sources. And there's a second build with some GPS related commits reverted:

ROM: https://androidfilehost.com/?a=show&w=files&flid=309563

MD5: https://androidfilehost.com/?w=files&flid=328667

For a full list of included sources and changes please see my previous post or the file description on AndroidFileHost.

All credit goes to @rajatgupta1998, LineageOS, and @MaR-V-iN.

Stay safe, stay healthy everyone!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] vikyPS:
Where I can get the known bugs for this rom?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
On the first post, it says this

Bugs:

VoLTE (IDK How it broke suddenly, but will be looked at)

SELinux

I think it doesn't have any bugs besides this and bluetooth get enabled after 6 or 7 seconds
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Korin67:
Hello,

I am new to LOS15.1 (I was using Custom ROM, android pie). My baseband is M8952_70030.25.03.77R. I think this is common. But, when I installed this ROM, the last letter of the baseband changed to 'e'. Is it okay? What is the difference between 'R' and 'e'?

Please let me know.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
Thank you very much, when i tested other Lineage OS 15.1 builds and bluetooth were activating after 6 or 7 seconds but in your build, it activates fast, like on an second or two, like it should be, i didn't find any bug, so this is the most stable oreo rom, even more stable than the stock oreo rom

Edit: if someone wants to odex this rom, don't odex Telephony Services app, you will get an lower 4g signal constantly, but you can odex other apps without problem

Edit 2: it freezes sometimes and 10 minutes ago, it rebooted
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Regina Rainbow:
@chuy19312 Which build are you using, microG or the vanilla one?

I've never experienced any freezes. The reboots, however, have been a constant pain since I've switched to lineageos. In my experience, the reboots correlate with Bluetooth usage. They never occur, when Bluetooth is not used.

But, as always, there's lots of variables. You wrote, you`re odexing your rom, might be causing weird behavior too.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
Vanilla one with pico gapps

Well, it's curious, i only got one reboot but i wasn't using bluetooth, i even keep it disabled almost always, the reboot was caused an day after not using bluetooth and i had some apps open, also freezing only happens before any of those reboots, outside of that, it never happens

And curiously, i tested it with and without odexing it and it happened the same, still i thank you for this security patch, on other builds. bluetooth got enabled after 6 or 7 seconds, in this build, it gets enabled almost instantly
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
I think i know what caused the reboots, i disabled kernel panic on HEBF Optimizer and for some reason reboots stopped
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] crazynapkinman:
just unlocked this phone. i rooted stock kernel and got black screen. flashed stock TWRP rom and am fully set up. Can someone give me quick rundown on what is still viable to flash on this device? looking to debloat, have gapps, and as much battery life as possible. Someone guide me here?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Regina Rainbow:
New builds are up. Latest Android Security Patches (December 2021) have only been partly merged by upstream, security string has not been bumped. GPS Changes have been reverted on all builds. Please notice: Naming of the ROMs has changed to better reflect what to expect:

lineage-15.1-20220103-UNOFFICIAL-athene.zip:

Just a plain build of all typical sources, nothing added.

lineage-15.1-20220103-UNOFFICIAL-athene-SignatureSpoofing.zip:

Signature spoofing patches necessary for microG added. Choose this ROM, if you want to install microG by yourself as a normal user APP without root privileges.

lineage-15.1-20220105-UNOFFICIAL-microG-athene.zip:

Full feature set of LineagaOS for microG. All microG Apps plus F-Droid preinstalled.

All credit goes to @rajatgupta1998, @MaR-V-iN, LineageOS, and LineagoOS4microG
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] getdayalan:
I would like to try again the microG version. The only issue when I tried last time is that my google contacts were not syncing. Apart from this issue I am in so much love with the migroG version. Can anyone help me troubleshooting? Your help will be very much appreciated:) Thanks in advance!!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
Flash this zip, it does have google contacts sync and google calendar sync among permission files, if contacts and calendar didn't sync after flashing and booting, delete google account then add it again

Note: check if both apps does have corresponding permissions before that, but it's not neccesary to do it again if you factory reset since permissions will get resetted to like you always had them on system

Edit: i forgot to say, i already tested those apps and they worked perfectly, my contacts were synced correcly like i had Gapps

Edit 2: added an android 9 compatible version
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] getdayalan:
You are a life saver!! Thank you very much for the quick reply with a solution!! I will try this today and revert. Thanks again.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] getdayalan:
Sorry to bother again, when I installed WhatsApp, I got an error message saying I need to have the google play service to avail the service. Is there any solution to that?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
Sadly i don't know about that, i don't use WhatsApp since past year but i found this on an Reddit post

''here is also a beta updater on f-droid that might install a non-google services version of whatsapp.''

Beta Updater for WhatsApp | F-Droid - Free and Open Source Android App Repository

Update WhatsApp to latest beta release

f-droid.org

Link to Reddit post:

https://www.reddit.com/r/MicroG/comments/csnamm
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
Thank you very much, i noticed that this rom version is not certified on Play Store but i found an solution for that, ro.build.description and ro.build.fingerprint from build.prop need to be changed into this:

ro.build.description=athene_f-user 8.1.0 OPJ28.111 22 release-keys

ro.build.fingerprint=motorola/athene/athene:7.0/NPJS25.93-14-13/3:user/release-keys

This makes this rom Google Play Certified device, i hope this helps

Edit: in case this doesn't work for Play Protect Certification, edit the ro.build.fingerprint (it has an slight difference on the name) row on system/vendor/build.prop and change the value to ''motorola/athene/athene:7.0/NPJS25.93-14-13/3:user/release-keys'' (without the '' '') too
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Regina Rainbow:
@chuy19312 Personally I stay away from Google Services as far as I can, so making this ROM Google Play Certified was never a goal of mine. But on the other hand, it wouldn't hurt to change device fingerprint and description. Given this ROM is kind of after-after-market and there seems to be a demand for it, I could add it as a feature to the vanilla builds. Would you care to give this test build a try and give me feedback, if it works?

https://androidfilehost.com/?fid=17825722713688279618
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Regina Rainbow:
I've uploaded a new build with the latest version of microG officially available. There's been two version bumps since the last build, sometimes this helps with apps complaining about missing play services. Most of the time it is, as @chuy19312 already posted, missing permissions for microG. Make sure all tick boxes are checked in microG self check. When in doubt, completely delete cache an data of microG after installing this new build. Reboot. Make sure all tick boxes in microG self check are checked. Reboot. Then completely deinstall WhatsApp and reinstall it so it can re-register with microG.

New microG build: https://androidfilehost.com/?fid=17825722713688279070
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] getdayalan:
Thanks for the heads up! I believe Regina has found the solution. I will try the build today and revert.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] getdayalan:
Thank you very much Regina. I really appreciate your input. Downloading the suggested build. I will try today and pass my feedback. Thanks again:)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] getdayalan:
Firstly, Thank you @ReginaRainbow for the awesome work. The suggested new build works like a charm. I got my WhatsApp back and everything is running super smooth. Secondly, Thank you @chuy19312 for the contact sync patch. I was able retrieve my google contacts back. Huge Respect to both for the helping hand. Keep up the good work!!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
And something curious is that this contact/calendar flashable zip will work for any oreo MicroG rom, it doesn't matter if you use it on an different phone and making it was easy, i take an already made (and modifiable) flashable zip, then downloaded opengapps and put that sync apps and permission files into that flashable zip.

Edit: I made this flashable zip for Moto Email, since you use MicroG, this could be an nice alternative to Gmail and other email apps since the RAM consumption is way less than Gmail.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] getdayalan:
Bravo!!! Something I was looking for. Thank you brother. I will definitely make use of this zip. Bro, a quick question: The boot time is quite more than it must be. No worries with nougat build, only happens with Oreo and Pie Roms. It takes more than 90 secs to boot after a restart or switching on the phone. Is there anything I can do to fix this? Thanks in Advance @chuy19312
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
Sadly, i don't know what is causing this, it happens to me too on Pie roms and i didn't solved that problem, always takes more time than the normal after booting Oreo and Pie roms an few times
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] getdayalan:
That's exactly right! I really don't want go back to nougat. Its always either Oreo or Pie. Too much problems after installing pie ROMs. Phone automatically shutdowns after reaching 40% of battery, no proper reboot the phone shutdowns before booting into home screen. Much more. Luckily no such problems in Oreo builds. I am typing this message when just 4% battery left. Anyway thank you so much for the quick response.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] getdayalan:
@chuy19312 : Brother I fixed the late booting issue last night. I simply did clean flash Oreo build along formating the internal storage. Voila, issue is gone. Now my phone boots up like it has to be:)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Regina Rainbow:
It seems like baseband is not being reported properly by system settings. Mine reports M8952_70030.25.03.77e, too. Opening a shell however (via 'adb shell', Termux should work, too) :

cat /proc/config/version.baseband/ascii

Gives me the output: M8952_70030.25.03.77R ATHENE_EMEA_DSDS_CUST

Which is correct, in my case. Also rebooting to bootloader and checking the version code confirms this.

So, if everything is working fine for you in everyday use, the wrong value in system settings might not matter at all. If certain functionalities rely on baseband version being reported correctly, things might break. (VoLTE might be such a candidate.)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Korin67:
Thank you for the nice reply. For athene, it seems showing 'e' is okay because bootloader reports the last letter as 'R'. Actually I have real problem for my nora (moto E5). After I installed TWRP and then LOS. The last letter is 'R' with LOS. But it lost LTE (up to 3G the phone works perfect but no LTE). I went back to stock ROM and found the last letter is 'e' or sometimes 'u' depending on what version of stock I went back. The bootloader this time shows 'e' or 'u', so /persist or something else might be broken. I almost gave up to recover 'R' for nora.

Anyway, thank you for your explanation.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Z7X4Y2HQ:
My ROM: lineage-15.1-20220131-UNOFFICIAL-microG-athene

Does Google Play Games work with microG ? When i open it just stays there on the splash screen...

If not, any workarounds or a module i could install ?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
Sadly i don't know if Google Play Games does actually work, did you add any Google account before opening it? Because for some reason, you can only use MicroG with one Google App, after that, Google Apps detect no accounts but if you try to add your Google account again, it will say there is an Google account already
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Z7X4Y2HQ:
that happened when i tried with an older version of this ROM, that only one app detects microg account.

but in the 20220131 build, most of my apps got the login, contacts didn't at first but after a day, it was logged in, but it couldn't sync my contacts (had to import a .vcf)

As for play games, it should atleast open and ask for a login, but it gets stuck on the splash screen,
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
I noticed something from the normal LineageOS 15.1 version, my screen gets black and frozen on ambient display for some seconds but it doesn't happen on MicroG version, on normal version i flashed pico opengapps, i don't know if it's gapps related
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Regina Rainbow:
New set of builds is up:

Latest Android Security Patches available by upstream (March 2022) have been merged, once again security string has not been bumped. Changes include:

Changed fingerprint and build description to hopefully pass Play Store certification, see https://xdaforums.com/t/beta-rom-8-1-0-unofficial-lineageos-15-1-20-sep-2020.3768420/post-86247331 -> Feedback appreciated

Disabled kernel panic by default, see https://xdaforums.com/t/beta-rom-8-1-0-unofficial-lineageos-15-1-20-sep-2020.3768420/post-86048317 -> Feedback appreciated

microG version only: Updated microG from v0.2.23.214816 to v0.2.24.214816

lineage-15.1-20220313-UNOFFICIAL-athene.zip:

Just a plain build of all typical sources, nothing added. Download this if you want to install GAPPS.

lineage-15.1-20220313-UNOFFICIAL-athene-SignatureSpoofing.zip:

Signature spoofing patches necessary for microG added. Choose this ROM, if you want to install microG by yourself as a normal user APP without root privileges.

lineage-15.1-20220313-microG-UNOFFICIAL-athene.zip:

Full feature set of LineagaOS for microG. All microG Apps plus F-Droid preinstalled.

All credit goes to @rajatgupta1998, @MaR-V-iN, LineageOS, and LineagoOS4microG
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
[Deleted]
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
I noticed that SafetyNet doesn't pass but i found this, i think this could be useful

init: Set properties to make SafetyNet pass · ProtonAOSP/android_system_core@3102e9e

Google's SafetyNet integrity checks will check the values of these properties when performing basic attestation. Setting fake values helps us pass basic SafetyNet with no Magisk Hide or kernel ...

github.com

keystore: Block key attestation for Google Play Services · ProtonAOSP/android_system_security@f106ca4

In order to enforce SafetyNet security, Google Play Services is now using hardware attestation for ctsProfile validation in all cases, even when basic attestation is selected. The SafetyNet API res...

github.com

Edit: i noticed this: I got play protect certification but only with Magisk, i know why, it's because SafetyNet not passing, if i don't use Magisk, SafetyNet doesn't pass and Play Protect certification doesn't pass too

About disabling Kernel Panic, i stopped to have random reboots after that
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Tiki Thorsen:
Flash this zip, it does have google contacts sync and google calendar sync among permission files, if contacts and calendar didn't sync after flashing and booting, delete google account then add it again

In theory this should work on any custom rom with MicroG, correct? I will test it my G5 and report back.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
That's right, especially since i take those apps from OpenGApps Oreo, they should work on any MicroG rom for any Oreo Device
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Tiki Thorsen:
Any chance of doing the same but for Android 10? Or could you teach me to do so?

EDIT: I tested it on Android 11 and sadly it did not work.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
It's simple, edit the flashable zip i provided, download any gapps of the android version you want, then extract the contacts sync and calendar sync apps from the gapps zip then put it to my zip

Here an simplified list

1. Download my contacts and calendar sync for MicroG

2. Download any Gapps for your android version (even recent version should work)

3. Extract Contacts Sync and Calendar Sync apps from Gapps

4. Put those apps to my MicroG Sync flashable zip with any program like WinRAR replacing the ones that are on my zip

5. Flash it as an normal flashable zip
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] chuy19312:
Oh, now i'm thinking about this, i think this is the reason that on many roms for my Moto G4, 4g signal gets lower than normal on some places but not on Stock roms and on Arrow OS