yashsingh1/xdaforums huggingface dataset:
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jeferson1979:
​

LineageOS is a free, community built, aftermarket firmware distribution of Android 10 (Q), which is designed to increase performance and reliability over stock Android for your device.

#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

Known issues:

....

Instructions:

Download the latest build, official TWRP (3.3.0 and newer)

Boot the downloaded TWRP via fastboot

Flash the latest build

Reboot

Downloads:

Unofficial build: SourceForge-CAN EAT YOUR CAT

Official Rom and recovery: LineageOS

Google Apps: OpenGapps

XDA:DevDB Information

LineageOS 17.1 Harpia, ROM for the Moto G4 Play

Contributors

jeferson1979

althafvly

Device tree

ROM OS Version: Android 10

ROM Kernel: Linux 3.10.x

Based On: lineage

Version Information

Status: Stable

Current Stable Version: 17.1

Stable Release Date: 2020-03-22

Created 2020-03-22

Last Updated 2020-03-22
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jeferson1979:
Reserved
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jeferson1979:
Always giving thanks to [MENTION=5817781]facuarmo[/MENTION] and [MENTION=7598239]Akyanonimous[/MENTION] for the great support
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Sakul94:
Help. i tried to flash this ROM and my phone have bootloop.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Indiawallah71:
I was a long term user of Pixel Experience ( Android 9 / Pie) and enjoyed it's stability. As it is no longer maintained I thought I would try out some of the latest Android 10 / Q ROMs to see how they compared. I still kept the zip file for Pixel on my SD card by way of a fall back if I wasn't happy with the latest unofficial Android 10 ROMs.

I gave Havoc OS a try for a few days and to an extent I liked it with the ability to very much set up the ROM as you like with multiple customisation options. I , however, found that the overall experience wasn't very good with quite a bit of lag and some random crashes of apps etc. I am sure with future updates it will be a much better ROM and I may well give it another try out.

After Havoc I went back to Pixel Experience for a few weeks until the next unofficial Android 10 ROM was released. Thus far I have been very happy with Lineage 17 with no bugs , lag , crashes or issues at all thus far. The only slight grumble is that the music app widget is not really required on the ' 2nd page ' and indeed was just a big black blob. I deleted it straight away. I will probably continue to use this as my daily driver for some time to come and give thanks to [MENTION=8863813]jeferson1979[/MENTION] and any other Devs who contributed for all their hard work and for us to be able to keep our old Harpia phones going with the latest android version.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Sakul94:
How you installed this ROM? Because i flash with TWRP 3.2.1-0 (the last version for Harpía) and use ARM Gapps for Android 10 but dont boot (have bootloop).
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Indiawallah71:
I have indeed installed the latest Lineage 17.1 Rom and it works great. I , too , have the latest TWRP and found it very straight forward to install the zip file for Lineage , with ARM GAPPS for Android 10 and the latest Magisk for rooting my device. I assume when flashing the Rom etc you did a clean install by doing an Advanced wipe of Davlik/ART Cache , System , Data and Cache before proceeding. Good luck and hope you are able to get it going.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Sakul94:
Yes, i did every step to flash this ROM but no result. The phone have bootloop.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] bacanos:
latest TWRP for harpia is 3.2.3-r1. find that here - https://xdaforums.com/devdb/project/?id=16870#downloads

try that and see if it bootloops.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Sakul94:
Thank you very much. You are an genius.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] newinnov:
[MENTION=8863813]jeferson1979[/MENTION] Your roms are what a rom should be! I have never thought that android 10 can run this smooth in this tiny device. All Thanks to you. Rom is very stable and is best rom available right now after AEX pie which is again your offering.

Unlike past developers your focus is more towards usage and fixing things rather than pure compiling/half baked pieces and that's what old time developing was...

Thanks to keeping this device alive. I use it because of it's light and small and easy to carry.

Now the only thing remaining is- I guess SELinux.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Liteh:
Thanks for all the work, I will flash this later today and post my feelings. Would it be possible to make this an official build? I loved the automatic updates via OTA from the official builds.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Liteh:
The ROM works great, however SELinux is not enabled, would it be possible to enable it?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] bacanos:
you can manually set SELinux to enforcing by enabling the terminal shell in the Developer options and using the command, "setenforce enforcing"

this enables enforcing but i have no idea if the SELinux policy is written or doing what it needs to be doing, and this manual enforcing only lasts until reboot. does anyone know more on this subject?
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jeferson1979:
Selinux is on mode permissive, but you can expect next update to be on enforcing mode, by now don't turn enforcing :p
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Liteh:
That's great, I'll be waiting for the next update. After a day using it, I have to say that it is indeed a wonderful ROM, very fluid and responsive.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] captainhase:
Flashed this ROM, till now everything works great. Thank you!

Gesendet von meinem GM1903 mit Tapatalk
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] newinnov:
Can you please also release Android GO variant of Lineage. Recently I have seen one Go device, and it was so smooth even with 1GB RAM. We have 2GB so I guess Android GO will improve responsiveness and battery life slightly? Please correct me if I'm wrong.
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jeferson1979:
You will see some minor improvement at memory management, but we will loose in other side. Maybe we can do some tests
[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] rodrigian:
I agree with newinnov. In fact i think it should be nice for the LineageOS team to keep supporting older devices (like ours) officially but in Android GO form. It would keep millions of phones out of landfills.

In our case I think the benefits overcome the loses. At this point i'm sure all of us are using our g4p for bare minimun tasks like whatsapp, email, browsing, social networking, and such. Mostly no functionality-intensive apps. Given that all of that can be done with Android GO i don't think we would lose that much
[Samsung Galaxy A10 Questions & Answers] rockeirodohs:
Where are the programmers?...
[Samsung Galaxy A10 Questions & Answers] ShaDisNX255:
The programmers are programming :)
[Samsung Galaxy A10 Questions & Answers] rockeirodohs:
why is nobody interested in the A10? :(
[Samsung Galaxy A10 Questions & Answers] elliwigy:
bcuz its a cheap low budget device?
[Samsung Galaxy A10 Questions & Answers] rockeirodohs:
yea

but it is still a great cell phone
[Samsung Galaxy A10 Questions & Answers] elliwigy:
if u say so.. its great for its price i guess
[Samsung Galaxy A10 Questions & Answers] ShaDisNX255:
Why don't you try learning? That's pretty much how all developers start, wanting to make their phone better.
[Samsung Galaxy A10 Questions & Answers] taku1999:
Has the 64bit vendor been made yet?
[Samsung Galaxy A10 Questions & Answers] mmacedoc7:
How can I do it? I am willing to do, or at least start. If you could help me.
[Samsung Galaxy A10 Questions & Answers] ShaDisNX255:
There are lots of tutorials on XDA, I suggest you start using google + XDA to learn.

Trust me, it's better to ask

"Hey, I'm following this guide and I'm stuck on this step" instead of

"Hey, can you teach me? Can you give me a guide?"
[Samsung Galaxy A10 Questions & Answers] :
I tried adding the lib64 folder from the galaxy a20's android 9 vendor to my android 10 galaxy a10 vendor and editing all the .prop files in /vendor to support arm64-v8a, but it didn't boot arm64 gsis (black screen after a10 logo for a while, then reboot). Is this because the library files are made for android 9 or do i have to edit the device tree and kernel too? or is there something else in the vendor I'd have to edit?
[Samsung Galaxy A10 Questions & Answers] ShaDisNX255:
I think there was also something you needed to do in ramdisk, but I'm not sure.

The only person I've seen who's been successful in porting arm64 libs to another device is [MENTION=6917540]Astrako[/MENTION] I don't know if you want to ask him and maybe he can help you out.
[Samsung Galaxy A10 Questions & Answers] :
i tried to take a deeper look into the exynos 7870 64bit vendor and seems like app_process64 support needs to be added to init.rc (which is in ramdisk).

i tried looking up how to edit the init.rc but only found older tutorials and the tools ive tried wont extract the ramdisk from the boot.img (saying that its missing or smth). so thats going to be the hardest thing...
[Samsung Galaxy A10 Questions & Answers] mmacedoc7:
Have you tried using ClassyKitchen? https://xdaforums.com/chef-central/android/tool-classykitchen-android-roms-t3862584
[Samsung Galaxy A10 Questions & Answers] ShaDisNX255:
I think ramdisk may already be in the system (system-as-root device).

Check inside system to see if you have something like init.rc and stuff
[Samsung Galaxy A10 Questions & Answers] :
but when installing a gsi, system partition would be overwritten, it wouldnt make sense to edit it then.

or do you mean system_root?
[Samsung Galaxy A10 Questions & Answers] ShaDisNX255:
Yes, I mean system_root
[Samsung Galaxy A10 Questions & Answers] :
almost finished my vendor, but cant test it, because the vendor partition is too small.

i searched for a way to resize it but no luck

also, i think theres no zygote stuff that needs to be edited, besides zygote type in default.prop, due to the device being a lot newer than the exy 7870 devices
[OnePlus 5T  Questions & Answers] Lex_Michdeandroid:
So I read somewhere this phone was capable of filming in 4K DCI (also called 4K Cinema, it's a little different from 4K UHD).

From the mighty Wikipedia:

In television and consumer media, 3840 × 2160 (4K UHD) is the dominant 4K standard, whereas the movie projection industry uses 4096 × 2160 (DCI 4K).

Now I bought this 5T second hand to (finally after 6 years, what a trooper!) replace my OPO and because I like to use the 4KDCI I tried to find this setting in the camera app. I flashed LineageOS 16.1, and it is not available in the camera app. So I tried OpenCamera, but still no luck.

Does this 5T really support 4K DCI? How to "unlock" it? Thanks.
[OnePlus 5T  Questions & Answers] adanoss:
Just checked. Stock camera in OOS 9.0.11 (latest available official ROM) is 4K capable with main shooter. It does film with 3840x2160. Dunno if it's that thing you're looking for.

P.S. Google camera 7.0 port also can film with that "4K" so you might be able to use it on custom ROMs too
[OnePlus 5T  Questions & Answers] Lex_Michdeandroid:
From the mighty Wikipedia:

In television and consumer media, 3840 × 2160 (4K UHD) is the dominant 4K standard, whereas the movie projection industry uses 4096 × 2160 (DCI 4K).

I'll check out Google Camera if I can find it.

-edit- Google Camera in the Play Store only shows UHD, no DCI
[OnePlus 5T  Questions & Answers] Lex_Michdeandroid:
I guess I'm the only one using DCI... Bummer.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] flash713:
Ahh the ole triple posts. Don't you just love it when that happens. lol. Hell of a job on this! Will Android 10 for Ocean device ever be able to have an enforcing kernel or no? Probably waiting for source for 10/Q before messing with all that stuff? I'm just curious and figured I'd ask.. Awesome work!!!! :good:
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Rondeau79:
Thanks, this one was a tough task to get done. I don't mind a permissive kernel. I really don't dive too far into the Android system. I am a fan first and a developer second! I still really don't have an understanding of code and stuff. I just go with my instincts.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] danny8:
I performed a 'dirty flash' coming from crDroid 5.12 (based on Android 9).

I did not delete my Google account from the phone prior to flashing. This is the first time I've had problems upgrading crDroid. I realize it's also the first time I've done a major increment to the underlying Android OS.

Upon first boot I saw the new boot animation (it looks great!) but the phone did not complete booting after about ten minutes. I interrupted the boot by holding the power key. I tried wiping data. Later, I also tried re-formatting data partition (including built-internal media). I also tried re-installing the most recent version of crDroid 5.12 with no success with that as well.

Suggestions regarding the best way to correct this would be helpful and appreciated.

In the meantime, I'll look around and trying some other things. I hope it might be corrected without having to resort to ADB / PC connection, but I'll try whatever I can.

I don't know if this result is considered "a brick" because I can boot into TWRP.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Rondeau79:
You are not bricked. When coming from one version of android to another a clean flash must be done. You can dirty flash after that. Wipe both boot slots and then go about flashing like normal. First boot takes a while. It won't boot without wiping the system partition.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] D13Gho:
Excuse my ignorance, where do I have to install the rom, gapps and magisk, in slot A or B? Thank you in advance (sorry bad English)
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Rondeau79:
With the A/B partitions scene. When you flash a ROM it will be installed to the opposite slot. If you are on A then the zip will be installed to B and vica versa. Gapps are flashed after you reboot to recovery when you are on the boot slot the ROM was installed on same as Magisk.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] danny8:
Thank you, Rondeau79. I got it installed.

It looks great!
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Johnfoo19:
I've got every thing installed and running, but after setting up my apps (Chrome, messages, photos) app opening/closing is quite laggy. It become unusable after a couole hours.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Rondeau79:
Give it a little time to set in. Usually a fresh install takes a bit.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Rondeau79:
You're welcome.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] cgrimm9:
pie had the option of changing colors in the display settings I am not a fan of blue I like black and red. is this in a future update it was the main reason i uninstalled the other android 10 roms
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Rondeau79:
Go to display styles and wallpapers to change to colors.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] n00b Samurai:
Is there any way to set the position of the battery bar? like bottom of the screen or lower status bar because where default is top of screen you kinda miss half the bar because of the notch
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] barados742:
Has anyone had any issues with mobile data not working after installing this ROM? I was able to make calls and send texts (I have Sprint, phone: Moto G7 Power X1995-5). I reflashed it and OEM locked back to stock firmware since mobile data was not working. Also, I did not have SD card since I don't have one
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Rondeau79:
Sorry there isn't, I can't change the base features of the ROM. However you can change the color and thickness of the bar and it's position on the screen.

You can always adjust the screen in order to account for the notch. It's in the developer settings.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Rondeau79:
You need an external sdCard for flashing ROMs. Wiping the user partitions properly is essential for a properly working ROM. If you just have internal storage then the installation of an OS won't be done right.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] barados742:
Thanks for the reply! I just bought an SD card and will try it tomorrow and will respond if it worked.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] tecnicaemail:
Good morning, guys I tried to install on my MOTO G 7 POWER 3/32 and the rom does not install says it is not compatible with the system. Any tips?
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] JaggedPill:
I don't know how people are getting problems with this rom.. I've had the latest version running smoothly for a couple days. This is one of the very best out there, very flawless, neatly executed all thanks [MENTION=1373023]Rondeau[/MENTION]97. No glitches, no problems at all, each and everything functional. This is my rom to stay until the device wears out. Congratulations to [MENTION=3419519]Round[/MENTION]eau97 for this masterpiece of a rom.

Edit: A bit of a battery drain but that could be much of a Q thing or LOS. Rest all ok.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Pic@rd:
The ROM is really great and I'm glad that there is such a good maintainer!

The real problem is the phone :silly:

[MENTION=7543015]Rondeau79[/MENTION] I just manged to get back to latest version (6.7) and now I have data. Seems to be the update.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] vectorvitale:
+1. Almost everything is working for me. SELinux Enforcing was applied in this latest update.

Two things I'd like to see you take a stab at, Rondeau -

Night Light is still not working. I'm using screen dimmer, but I feel like this should be working - Is this something out of your control, a la LOS upstream patches?

Color Profiles (Boosted, Saturated, and Natural) don't change anything on screen. Same as the above?
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Rondeau79:
I am working on those issues, fixing some audio issues and will be updating battery profiles soon.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] JaggedPill:
One minor thing - upon charging with mobile powered off, charging screen doesn't turn off by itself when unplugged.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] danny8:
Same here.

I used the built-in upgrade feature, and it completed quickly. I have three problems: no rotation sensing, no chop-to-torch, and no mobile connections; no voice or (presumably) data. I have two SIMs installed.

I tried pulling my SIMs, powering up without them, then reinstalling the SIMs. To no avail. I'll try other things short of a factory reset, which is my last resort. Any suggestions are welcome.

My next move is to re-install TWRP or OrangeFox, since the 3rd party recovery was overwritten. I don't expect that'll fix the above problems.

I'll probably re-install crDroid 6.7; I'd rather do that than reset. I hope that is possible.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] roadkill42:
Might have to do factory reset or reflash stock rom and start over
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] danny8:
I did a clean install of crDroid 6.8 and factory reset. My phone boots but still has no voice or cell data. When I try to make a call it says "turn off airplane mode" (it's off). I'm pretty sure the proximity sensor isn't working either (doesn't matter if I can't make a call). I do not have rotation sensor or moto gestures.

Update: I installed the newest factory image - Android 10. All things are working again. I'll retry crDroid in a day or two. Update 2: crDroid 6.8 installed and running smoothly.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Mithodin:
NFC broken?

Cheers, I've clean installed crDroid today. Went pretty smoothly :)

However, I noticed that I can't activate NFC, which is a shame, because that was one of the reasons I upgraded my phone. Is this a known issue? I could not find anything in this forum or anywhere else. Help?
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] danny8:
I don't think the phone is equipped with NFC hardware. The NFC toggle icon is left over from Lineage upstream build files.

Maybe someone can weigh in here; I think NFC is unavailable in all Moto g7 Power variants (different markets, channels). I have the retail Latin American model.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Rondeau79:
I think there is only one G7 device that has NFC. Ocean dose not.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] roadkill42:
Yep no nfc
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] mr nick:
I have a G7 Power with NFC - XT1955-7
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] roadkill42:
What phone provider
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] mr nick:
No provider. Bought direct from Motorola - RETAPAC.
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] roadkill42:
And had nfc and it a g7 power
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] mr nick:
https://www.phonemore.com/specs/motorola/moto-g7-power/xt1955-7/
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] Sr wick:
Olá amigo sinto muito pela inconveniência mas estou desnorteado com essa situação... ( Gostaria de deixar claro que adorei a sua o custom rum, ela é uma das mais estáveis, e com uma gama incr

---------- Post added at 01:31 AM ---------- Previous post was at 01:25 AM ----------

Hello friend, I am sorry for the inconvenience but I am bewildered by this situation ... (I would like to make it clear that I loved your custom rum, it is one of the most stable, and with an incredible range of customizations. The message is being translated by the Google translator so there may be spelling errors ... I recently decided to switch from ROM stock to Crdroid (Moto G7 ocean). I haven't played with Twrp / Root for a long time, I didn't have "slot 1 / slot 2" at the time. In ignorance I ended up not understanding the "dirty / clean flash" process Moving straight to the download. Continuing: I opened twrp performing the installation, and for distraction I forgot to install Ggapps, after that I restarted the system back to twrp and to my surprise it was replaced by a Crdroid recovery ... To complete for some unknown reason my computer is not recognizing the device, and it is not possible to access ADB FASTBOOT). I've tried everything and nothing ... Could you give me a light, have you been through something like that ???
[Moto G7 Power ROMs, Kernels, Recoveries, & Other D] roadkill42:
U need to enable adb debug in defloper settings then it will find Ur phone