Giter VIP home page Giter VIP logo

android_device_motorola_woods's Introduction

Device Tree for Motorola E4 (8.x , 3.18.x)

The Moto E4 (codenamed "woods") is a mid-range smartphone from Motorola. Moto E4

Basic Spec Sheet
CPU Quad-core 1.3 GHz Cortex-A53
Chipset MediaTek MT6737
GPU Mali-T720
Memory 2GB RAM
Shipped Android Version 7.1
Storage 16GB
MicroSD Up to 64GB
Battery Li-Pol 2800mAh battery
Display 720 x 1280 pixels, 5.0 inches
Camera Main 8MP / Front 5MP, autofocus, LED flash

Copyright 2017 - The LineageOS Project. Thanks to olegsvs, danielhk, Zormax, xcore995, SRT.

Working:

  • Wifi
  • Sound
  • LiveDisplay
  • Ril
  • Codecs
  • Camera, flashlight
  • Radio
  • Fingerprint
  • Bluetooth
  • Sensors
  • Hotspot
  • ...

NOTE :

Apply these manual edit to lineage-15.0/15.1 source before building the rom

with nano editor, edit these files by Commenting the line :

in ( system/sepolicy/public ) domain.te [ line number : 227 on 15.0 & or 230 on 15.1 ]

in ( system/core/init ) init.cpp [ line number : 401 on 15.0 & or 434 on 15.1 ]

example :

Comment line : 227

nano system/sepolicy/public/domain.te

Comment line : 401

nano system/core/init/init.cpp

Copy this SkUserConfig.h to destination external/skia/include/core with below command

cp external/skia/include/config/SkUserConfig.h external/skia/include/core

:Sensors HAL (ONLY WHEN...!)

when building with : PRODUCT_PACKAGES += [email protected] ,it's advisable to locate the Sensors.cpp $location :hardware/interfaces/sensors/1.0/default/Sensors.cpp and modify it fromCHECK_GE(getHalDeviceVersion(), SENSORS_DEVICE_API_VERSION_1_3); to CHECK_GE(getHalDeviceVersion(), SENSORS_DEVICE_API_VERSION_1_0);

see line here : https://github.com/LineageOS/android_hardware_interfaces/blob/621821f3191754678125a44a1f9b4dbd69f76541/sensors/1.0/default/Sensors.cpp#L98

android_device_motorola_woods's People

Contributors

darklord4822 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.