• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][10.0.0_r41]LineageOS 17.1 for Moto E5 Play (James) + Recovery [64Bit]

Search This thread

musical_chairs

Senior Member
Mar 6, 2012
1,070
1,219
@whodat711 First of all, this runs great, you've done an excellent job. I have an XT1921-1 (Comcast), which has a fingerprint sensor. Apparently not all the james's have that, since it is disabled in the ROM.

It's been a while since I did any ROM building, but I finally have a working build box again, so I thought I'd poke at it. The fingerprint sensor works with the following patch in device/motorola/james. If you want me to push this somewhere, or send you a pull request on github, I can do that.
Code:
diff --git a/configs/check_device.sh b/configs/check_device.sh
index 1cbbf52..42f00d9 100644
--- a/configs/check_device.sh
+++ b/configs/check_device.sh
@@ -7,7 +7,7 @@ rm /vendor/etc/permissions/android.hardware.vulkan.compute-0.xml
rm /vendor/etc/permissions/android.hardware.vulkan.level-0.xml
rm /vendor/etc/permissions/android.hardware.vulkan.version-1_1.xml

-if [ "$SKU" = "XT1921-2" ]; then
+if [ "$SKU" = "XT1921-1" ] || [ "$SKU" = "XT1921-2" ]; then
     rm /vendor/etc/permissions/unavail.android.hardware.fingerprint.xml
     rm /vendor/etc/permissions/unavail.android.hardware.gyroscope.xml
fi
Edit: I don't think XT1921-1 has a gyroscope, so this isn't quite right.
 
Last edited:

RosyQ

Member
Mar 16, 2018
8
3
San Diego
I'm getting this error : Updater process ended with ERROR : 255
Error installing zip file '/external_sd/lineage-17.1-20210216-UNOFFICIAL-james.zip'
Updating partition details...
...done
 

musical_chairs

Senior Member
Mar 6, 2012
1,070
1,219
The fingerprint sensor works with the following patch in device/motorola/james.
I guess I kind of made a fool of myself...After re-reading this thread, I see you already knew how to fix it. My own build boots, but unfortunately the speaker doesn't work at all. Either I pulled from a wrong source somewhere or Lineage broke something...

At any rate, all that's needed to enable fingerprint is to delete /vendor/etc/permissions/unavail.android.hardware.fingerprint.xml - no need to rebuild everything. Now I'm poking at mixer_paths.xml to see if I can get the in-call volume to be quieter.
 

musical_chairs

Senior Member
Mar 6, 2012
1,070
1,219
Reverting the first part of this commit gets in-call audio back to a bearable level - reducing handset back to 0 (instead of 15).
Code:
    <path name="handset">
    <!--TAS2560 Handset case-->
    <ctl name="DAC Playback Volume" value="0" />
    </path>
 

ChelseaPlaysVR

New member
Jun 3, 2021
3
0
ap_resize.php


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

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. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.



What's working :

  • Audio
  • Bluetooth
  • Camera
  • Display
  • Encryption
  • Face unlock
  • GPS
  • RIL (calls, SMS, Data)
  • Sensors
  • Video Playback
  • Wi-Fi



Known issues:
  • You tell me the rest :confused:




Report bugs:
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
  • Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.

Code:
What is your--
LineageOS version:
LineageOS Download url:
Gapps version:

Did you--
wipe:
restore with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel (Ignore):
other modifications:

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

DO NO POST BUGS WITHOUT LOGS AND PROPER STEPS TO REPRODUCE THE ISSUE


Follow Instructions Carefully otherwise you will get error :

  • fastboot boot ofoxSAR.img (ONLY BOOT IT!! TOO BIG TO FLASH!)
  • -- OR --
  • fastboot boot twrp-james-bootonly.img (ONLY BOOT IT!)
  • -- then --
  • Wipe -> ADVANCED -- select system + vendor -> SWIPE TO WIPE
  • reboot bootloader
  • fastboot boot the recovery of your choice again
  • -- then --
  • Format data, Wipe cache & dalvik-cache
  • Flash ROM, Gapps 10 arm64 pico together (Download Gapps from downloads section)
  • Done-Reboot Now
  • Enjoy the clean Rom



64bit Downloads:
ROM:
Moto E5 Play (James) XT-1921
RECOVERY: twrp-james-bootonly.img
GAPPS: Gapps 10 arm64



Source code:
ROM: https://github.com/ForkLineageOS/android
KERNEL: https://github.com/HyperTeam/android_kernel_motorola_msm8937/tree/lineage-17.1



CREDITS:
LineageOS
Team Hyper
CAF

Special thanks to @deadman96385 (Sean Hoyt) for donating me a device :highfive:
Special thanks to @SykkNyzz for testing and donating me a similar device :highfive:



DONATIONS:
Please consider donating if you enjoy my work. It will be used for server expenses, Ty
Paypal donation link: https://www.paypal.me/brickjungle


XDA:DevDB Information
LineageOS-James, ROM for the Moto E5 Play

Contributors
whodat711, karthick mostwanted, JarlPenguin, electimon, wiktor140
Source Code: http://github.com/LineageOS

ROM OS Version: Android 10
ROM Kernel: Linux 3.x

Version Information
Status:
Alpha

Created 2020-11-24
Last Updated 2020-11-24
do you have the pettyl version of this i have the moto e5 play go xt 1920-15 pettyl and i would like this rom
 

dogplant

Member
Feb 14, 2019
9
0
I guess I kind of made a fool of myself...After re-reading this thread, I see you already knew how to fix it. My own build boots, but unfortunately the speaker doesn't work at all. Either I pulled from a wrong source somewhere or Lineage broke something...

At any rate, all that's needed to enable fingerprint is to delete /vendor/etc/permissions/unavail.android.hardware.fingerprint.xml - no need to rebuild everything. Now I'm poking at mixer_paths.xml to see if I can get the in-call volume to be quieter.
This didn't work for me, is there anything else I need to do?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    ap_resize.php


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

    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. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.



    What's working :

    • Audio
    • Bluetooth
    • Camera
    • Display
    • Encryption
    • Face unlock
    • GPS
    • RIL (calls, SMS, Data)
    • Sensors
    • Video Playback
    • Wi-Fi



    Known issues:
    • You tell me the rest :confused:




    Report bugs:
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
    • Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.

    Code:
    What is your--
    LineageOS version:
    LineageOS Download url:
    Gapps version:
    
    Did you--
    wipe:
    restore with titanium backup:
    reboot after having the issue:
    
    Are you using--
    a task killer:
    a non-stock kernel (Ignore):
    other modifications:
    
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

    DO NO POST BUGS WITHOUT LOGS AND PROPER STEPS TO REPRODUCE THE ISSUE


    Follow Instructions Carefully otherwise you will get error :

    • fastboot boot ofoxSAR.img (ONLY BOOT IT!! TOO BIG TO FLASH!)
    • -- OR --
    • fastboot boot twrp-james-bootonly.img (ONLY BOOT IT!)
    • -- then --
    • Wipe -> ADVANCED -- select system + vendor -> SWIPE TO WIPE
    • reboot bootloader
    • fastboot boot the recovery of your choice again
    • -- then --
    • Format data, Wipe cache & dalvik-cache
    • Flash ROM, Gapps 10 arm64 pico together (Download Gapps from downloads section)
    • Done-Reboot Now
    • Enjoy the clean Rom



    64bit Downloads:
    ROM:
    Moto E5 Play (James) XT-1921
    RECOVERY: twrp-james-bootonly.img
    GAPPS: Gapps 10 arm64



    Source code:
    ROM: https://github.com/ForkLineageOS/android
    KERNEL: https://github.com/HyperTeam/android_kernel_motorola_msm8937/tree/lineage-17.1



    CREDITS:
    LineageOS
    Team Hyper
    CAF

    Special thanks to @deadman96385 (Sean Hoyt) for donating me a device :highfive:
    Special thanks to @SykkNyzz for testing and donating me a similar device :highfive:



    DONATIONS:
    Please consider donating if you enjoy my work. It will be used for server expenses, Ty
    Paypal donation link: https://www.paypal.me/brickjungle


    XDA:DevDB Information
    LineageOS-James, ROM for the Moto E5 Play

    Contributors
    whodat711, karthick mostwanted, JarlPenguin, electimon, wiktor140
    Source Code: http://github.com/LineageOS

    ROM OS Version: Android 10
    ROM Kernel: Linux 3.x

    Version Information
    Status:
    Alpha

    Created 2020-11-24
    Last Updated 2020-11-24
    2
    you *MUST* use the recovery i provided and NOT any OTHERS as they are only 32bit

    32bit recovery CANNOT flash 64bit ROM!
    1
    Still using the 11/24 build, perfect except for the camera bug. The recent build causes the system UI to crash a lot and feels overall slower, on top of the sound and other bugs.

    I have newer builds I've been trying to get testers to flash but jamss has hardly any volunteers to test..
    I'm not experiencing camera bug nor system ui crashing.. sounds like improper flash, or didnt wipe before flashing.. Follow instructions in main post , just updated it
    I'll provide the links here aswell

    64bit TWRP (BOOT ONLY): https://www.androidfilehost.com/?fid=17248734326145737833
    64bit ROM : https://www.androidfilehost.com/?fid=17248734326145737989

    Enjoy