[ROM][Official][harpia] LineageOS 14.1 for Moto G4 Play

Search This thread

DB126

Senior Member
Oct 15, 2013
15,298
10,068
Loaded this ROM along with LOS SU and GAPPs nano on an old G4P that has been sitting in a drawer for 18 months. Booted right up! I plan to use it as a secondary WiFi only device so can't assess mobile radio performance. Does what I need it to do with no muss/fuss.

Thanks, @Eric_Lev, for your recent LOS builds. Big fan of stability and ROMs done right; this one hits all the notes.

Edit: also updated to latest TWRP build.
 
Last edited:
  • Like
Reactions: Randy Power

taipan01

Member
Feb 24, 2016
31
4
Migration from official LOS

Migration from official LOS zu Eric_Levs version without wipe is working without problems using the migration.sh script from lineageos.

HowTo https://wiki.lineageos.org/signing_builds.html under Changing keys / Using a script
Script is available here: https://github.com/LineageOS/scripts/tree/master/key-migration

from twrp terminal:
Code:
chmod +x <your-path>/migration.sh
sh <your-path>/migration.sh [B][U]unofficial[/U][/B]
Then install the unofficial LOS from this thread directly.
 

Eric_Lev

Senior Member
Jan 27, 2019
1,426
2,614
Angers
sourceforge.net
Last edited:

newinnov

Senior Member
Sep 11, 2012
231
53
Thank you so much for breathing new life to this device.
I have just flashed it , rom is very stable. This was on stock rom due to unstable 7.1+ roms previously.

But banking app says, device has been rooted?
Though I have not used any root/magisk. flashed only open gapps nano.

Please let me know, How to solve that without using magisk?
Thanks again.
 

DB126

Senior Member
Oct 15, 2013
15,298
10,068
Thank you so much for breathing new life to this device.
I have just flashed it , rom is very stable. This was on stock rom due to unstable 7.1+ roms previously.

But banking app says, device has been rooted?
Though I have not used any root/magisk. flashed only open gapps nano.

Please let me know, How to solve that without using magisk?
Thanks again.
App may detect device is unlocked. Also check under developer options to see if native root is enabled (usually disabled by default).
 

newinnov

Senior Member
Sep 11, 2012
231
53
App may detect device is unlocked. Also check under developer options to see if native root is enabled (usually disabled by default).

Manage root is disabled. (Grayed out)
+
Bug: 4g working but volte is not working in this rom. Tried multiple times by switchin on off, pulling sim, reseting clearing data from twrp
 

Eric_Lev

Senior Member
Jan 27, 2019
1,426
2,614
Angers
sourceforge.net
If you wish to compile the build and add a new feature:
- Read and follow the instructions on the official link (https://wiki.lineageos.org/devices/harpia/build)

- Add at the bottom of ~/android/lineage/.repo/local_manifests/roomservice.xml .... before </manifest>
Code:
<project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="cm-14.1" />
- Add in .bashrc
Code:
# 50G or more ... it depends on your computer
ccache -M 100G
# 4G or more ... it depends on your computer
export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx12G"
# optional
export LC_ALL=C

- my roomservice.xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="LineageOS/android_device_motorola_harpia" path="device/motorola/harpia" remote="github" />
  <project name="LineageOS/android_device_motorola_msm8916-common" path="device/motorola/msm8916-common" remote="github" />
  <project name="LineageOS/android_kernel_motorola_msm8916" path="kernel/motorola/msm8916" remote="github" />
  <project name="LineageOS/android_external_bson" path="external/bson" remote="github" />
  <project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
  <project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="cm-14.1" />
</manifest>

- my sh file in ~/android/lineage/:
Code:
echo LOS 14.1 - arm - harpia
echo clean ccache
ccache -C
echo clean out directory
rm -fr ~/android/lineage/out/*
repo sync
source build/envsetup.sh
breakfast harpia
export USE_CCACHE=1
croot
brunch harpia
find ~/android/lineage/out/ -name "lineage-14.1*" -exec mv {} ~/your_directory/ \;
echo clean ccache
ccache -C
echo clean out directory
rm -fr ~/android/lineage/out/*

Good luck!
 
Last edited:

TheWarrior01

Senior Member
Apr 16, 2017
184
57
Mumabi
Xiaomi Poco X3 Pro
Realme 8i
Thank you so much for breathing new life to this device.
I have just flashed it , rom is very stable. This was on stock rom due to unstable 7.1+ roms previously.

But banking app says, device has been rooted?
Though I have not used any root/magisk. flashed only open gapps nano.

Please let me know, How to solve that without using magisk?
Thanks again.
SO apparently Lineage Has Problem with ctsprofile in many ROMs, so what I suggest is : Flash Magisk, go to downloads tab and search for SafetyPatch and install it. Now go to magisk hide menu and check all the Banking apps. Reboot your device, open magis go to settings and click hide magisk manager, hide it and finally clear data/cache of baking apps and launch them. They should work.(Tried & Tested)
 
  • Like
Reactions: DB126

rm43115

Senior Member
May 13, 2017
176
45
Security Patch Level March 2020

Hi Eric_Lev,

Do you plan to compile a new version with "Security Patch Level March 2020"?
 

Eric_Lev

Senior Member
Jan 27, 2019
1,426
2,614
Angers
sourceforge.net
I hope this is not just a silly question:
Would it be possible to integrate microG into the harpia-build by @Eric_Lev like in the unfortunately outdated LineageOS for microG?
And how?
There is a huge amount of information at [APP] microG GmsCore - lightweight free software clone of Google Play Services and at microG Project.
I just started to read today ...
My old builds
or
An alternative : /e/ = e fondation
https://e.foundation/about-e/ and https://doc.e.foundation/devices/harpia/
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 86
    3AjGvOY.png

    I have brought LineageOS 14.1 to harpia. LineageOS is effectively a continuation of the CyanogenMod project. This is the thread for official weekly builds.

    Downloads:
    Official weekly builds
    Lineage su addon

    Changelog:
    cmxlog official nightly changelogs

    XDA:DevDB Information
    LineageOS 14.1 for Moto G4 Play (harpia), ROM for the Moto G4 Play

    Contributors
    squid2, Alberto97
    Source Code: https://github.com/LineageOS

    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.10.x

    Version Information
    Status: Nightly

    Created 2017-01-25
    Last Updated 2017-01-26
    40
    Installation Instructions

    1. Unlock your bootloader using a code from Motorola
    2. Install TWRP recovery
    3. Back up your current system using TWRP
    4. Wipe the system, data, cache, and dalvik cache partitions using TWRP
    5. Install using TWRP the LineageOS zip, and optionally gapps (OpenGApps work) and the su addon

    If you want gapps, you must install them at the same time as installing the OS. You must not boot the system before installing gapps. Gapps will be preserved when you install a newer version of LineageOS over a previous installation. You can use OTA updates to keep up to date with the latest weekly build.
    14
    Test build with new blobs

    I've been working on extensive security patching for this ROM lately, and part of this effort includes migrating to newer versions of proprietary binaries taken from the Nougat stock ROM (for lux/harpia). I've updated nearly every prebuilt binary, and have also done extensive kernel patching for both security and compatibility with new binaries. I've made a build with these changes. I'd like to have them well tested before I merge them into official LineageOS for this device family. Please test this build for all your normal usecases, and let me know if this breaks or fixes anything for you compared to regular official weekly builds. Please use the bundled kernel for testing, and not any custom kernels. If your carrier supports VoLTE, also let me know if VoLTE still works on this test build. Be aware that since this is an unofficial build, you will have to do a clean install. You can back up your official build with TWRP, do a clean install of this test build., and later restore your official build backup if you'd like.

    Download link: http://www.mediafire.com/file/0dm2tka6i1jkjgn/lineage-14.1-20171223_192908-UNOFFICIAL-harpia.zip

    For those who want to see the actual changes, look at LineageOS gerrit for the device side, and here kernel and binary wise.
    13
    Thank You! This is a awesome work, great rom. I'm happy to known that the camera will have improvment.

    Hope that the LOs project can be go to Oreo. Again, thanks for team, specialy to you @squid2

    EDIT: after a rom has ended, at least in the bugs, is it possible for it to continue receiving security updates?

    For this test build, the main camera change is security related (cameraserver is now a separate process).

    You'll keep getting LOS 14.1 builds for 2-10 weeks (no specific timeline) while I work on polishing up LOS 15.1 for official status. Of course LOS 16.0 would be in full swing by then (work has already started on the ROM side), so depending on the status of things and how long I take, we might skip official 15.1 and jump straight to 16.0. I haven't decided on exactly how I'll be handling this, so we'll see where things are in a few weeks.
    13
    My last LOS 14.1 build : https://androidfilehost.com/?w=profile&uid=4349826312261606582
    Changelog : https://www.lineageoslog.com/14.1 ... with June security patches.

    This device will get an updated LineageOS 17.1 build.
    ==> https://www.lineageoslog.com/17.1/harpia