mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_stone
synced 2026-02-01 07:15:40 +00:00
60e7152649d644688a25a75fecdc00e5a6e17459
this commit contains following commits to introduce the fastcharge toggle for stone device that use this tree
they were renamed from sm8250-common to stone
sm8250-common: add fastcharge implementation
* Disabling fast charge may be useful for reducing the heat produced by
the device while charging, or for extending the lifespan of the battery
* This commit introduces the fastcharge HIDL, which writes in the node
/sys/class/qcom-battery/restrict_chg
0 or 1 depeding on user selection.
0 means that fastcharge is enabled, while 1 means that fastcharge is
disabled
Change-Id: I369ba9c437b3a83a88c2ce74d603b7d7ddd9cfbb
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Signed-off-by: althafvly <althafvly@gmail.com>
6510782439
sm8250-common: fastcharge: Make user setting persistent
Change-Id: I4ff051d6f9685e94022eab32035bfe86a65264b8
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
e050f0dab0
sm8250-common: fastcharge: Use pragma once
Change-Id: I9a9e193a6f66f045f41394d059af8b71778e8d72
ff8e5f6173
sm8250-common: fastcharge: Migrate to blueprint
Change-Id: I200fd6c685183c98f0815b207adae5aa75a37238
4e0d22f486
sm8250-common: Build fastcharge implementation
Change-Id: I3e6994d2c2f419dc8ce98a060204fda3dd16df81
136d369c4e
sm8250-common: Sepolicy: Label FastCharge more general
7a619945ca
sm8250-common: Sepolicy: Fastcharge: Provide needed permissions
https: //github.com/kamikaonashi/device_xiaomi_sm8250-common/commit/298ff28a2ab9c04f953780958de6a8971a947c51
batterysecret hack
51ebc8de81
Co-Authored-By: Ivan Martynov <johnivan19999@gmail.com>
Co-Authored-By: Bruno Martins <1696148+bgcngm@users.noreply.github.com>
Co-Authored-By: Francescodario Cuzzocrea <bosconovic@gmail.com>
Co-Authored-By: Davide Garberi <dade.garberi@gmail.com>
Co-Authored-By: Mohammed Althaf Thayyil <me@althafvly.com>
Co-Authored-By: blazerpaul15 <107421375+blazerpaul15@users.noreply.github.com>
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
Unified Device Tree for POCO X5 5G ( moonstone ) / Redmi Note 12 5G | Note 12R Pro ( sunstone )
Spec Sheet
| Feature | Specification |
|---|---|
| CPU moonstone | Octa-core (2x2.2 GHz Kryo 660 Gold & 6x1.7 GHz Kryo 660 Silver) |
| CPU sunstone | Octa-core (2x2.0 GHz Cortex-A78 & 6x1.8 GHz Cortex-A55) |
| Chipset moonstone | Qualcomm SM6375 Snapdragon 695 5G (6 nm) |
| Chipset sunstone | Qualcomm SM4375 Snapdragon 4 Gen 1 (6 nm) |
| GPU | Adreno 619 |
| Memory | 4 GB / 6 GB / 8GB |
| Shipped Software | Android 12, MIUI 13 |
| Storage | 128 GB / 256 GB |
| Battery | 5000 mAh |
| Dimensions | 165.9 x 76.2 x 8 mm (6.53 x 3.00 x 0.31 in) |
| Display | 6.67 inches, 107.4 cm2 (~85.0% screen-to-body ratio) |
| Rear Camera | 48 MP, f/1.8, (wide), PDAF |
| 8 MP, f/2.2, 118˚ (ultrawide), 1/4", 1.12µm | |
| 2 MP, f/2.4, (macro) | |
| Front Camera | 13 MP, f/2.5, (wide) |
| Release Date | February 2023 |
Device Picture
Description
Languages
C++
72.4%
Shell
11.9%
C
8.7%
Java
4.1%
Makefile
2.1%
Other
0.8%
