Code Monkey home page Code Monkey logo

device_xiaomi_psyche's Introduction

Copyright (C) 2021 LineageOS

Twoline Build

git clone https://github.com/stuartore/aosp-setup.git && cd aosp-setup

bash aosp.sh -k --auto_build

Device configuration for Xiaomi Mi 12X (psyche)

The Xiaomi Mi 12X (codenamed "psyche") is a flagship smartphone from Xiaomi.

It was released in December 2021.

Device specifications

Basic Spec Sheet
SoC Qualcomm SM8250-AC Snapdragon 870 5G (7 nm)
CPU Octa-core (1x3.2 GHz Kryo 585 & 3x2.42 GHz Kryo 585 & 4x1.80 GHz Kryo 585)
GPU Adreno 650
Memory 128GB 8GB RAM, 256GB 8GB RAM, 256GB 12GB RAM
Shipped Android Version Android 11, MIUI 13
Battery Li-Po 4500 mAh, non-removable
Display AMOLED, 68B colors, 120Hz, Dolby Vision, HDR10+, 1100 nits (peak)

Device picture

Xiaomi Mi 12X

Trouble when building ? If you find one or more modules loss, the most possible reason is that the ROM organization do not contain it. You could search it on it's related Github profile

  name: "qti_vibrator_hal"
Found in build/soong/Android.bp

soong_config_module_type {
    name: "qti_vibrator_hal",
    module_type: "cc_defaults",
    config_namespace: "lineageQcomVars",
    bool_variables: ["qti_vibrator_use_effect_stream"],
    value_variables: ["qti_vibrator_effect_lib"],
    properties: [
        "cppflags",
        "shared_libs",
    ],
}

qti_vibrator_hal { name: "qti_vibrator_hal_defaults", soong_config_variables: { qti_vibrator_use_effect_stream: { cppflags: ["-DUSE_EFFECT_STREAM"], }, qti_vibrator_effect_lib: { shared_libs: ["%s"], }, }, }

As you find it, copy and paste the hal as well as its defaults code paragraph in "{}" in the related file who occours error, in the most cases, Android.bp

Re-run lunch to see whether error fixed. Once it compelete, you could use aosp-setup to autobuild.

Other errors' solutions follow the same reguration. If it loses, then add it. On the opposite side, delete it or change it's name to avoid being duplicate.

Credit

device_xiaomi_psyche's People

Contributors

sebaubuntu avatar johnmart19 avatar krascgq avatar althafvly avatar thescarastic avatar luk1337 avatar bgcngm avatar adithya2306 avatar zvnexus avatar ramisky avatar stuartore avatar ariank16a avatar mikeng avatar dobsgw avatar moetayuko avatar neobuddy89 avatar madmax7896 avatar nullxception avatar utsavbalar1231 avatar jjpprrrr avatar sahilsonar avatar pipipig233666 avatar npjohnson avatar gotenksin avatar jhenrique09 avatar kerneltoast avatar rdxzv avatar lostark13 avatar xsylla avatar stic-server-open avatar

Stargazers

 avatar  avatar Joon avatar Igor avatar  avatar Nguyen Thanh Dat avatar Kevin S.H. Chang avatar

Watchers

 avatar

device_xiaomi_psyche's Issues

[AOD] AOD behaviour bad

As title.

  • The Aod light goes a very high level after screen off for 5 seconds.
  • UDFPS do not work on high-level light Aod when phone sleeps

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.