Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 22 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,55 @@
# android_device_xiaomi_dipper
For building TWRP for Xiaomi Mi MI 8
# android_device_xiaomi_beryllium
For building TWRP for PocoPhone F1

TWRP device tree for Xiaomi MI 8
TWRP device tree for PocoPhone F1





Xiaomi Mi MI 8 was announced and released in June 2018.
PocoPhone F1 was announced and released on 22th of august 2018.

## Device specifications

| Device | Xiaomi Mi 8 |
| Device | PocoPhone F1 |
| -----------: | :---------------------------------------------- |
| SoC | Qualcomm SDM845 Snapdragon 845 |
| CPU | 8x Qualcomm® Kryo™ 385 up to 2.8GHz |
| GPU | Adreno 630 |
| Memory | 6GB / 8GM RAM (LPDDR4X) |
| Shipped Android version | 8.0 |
| Storage | 64GB / 128GB / 256GB UFS 2.1 flash storage |
| Battery | Non-removable Li-Po 3400 mAh |
| Dimensions | 154.9 x 74.8 x 7.6 mm |
| Display | 2160 x 1080 (18:9), 6.21 inch |
| Rear camera 1 | 12MP, f/1.8 Dual LED flash |
| Rear camera 2 | 12MP, f/2.4 |
| Front camera | 5MP, 1-micron pixels, f/2.2 1080p 30 fps video |
| Shipped Android version | 8.1 |
| Storage | 64GB / 128GB UFS 2.1 flash storage |
| Battery | Non-removable Li-Po 4000 mAh |
| Dimensions | 155.5 x 75.3 x 8.8 mm |
| Display | 2246x1080 (18:9), 6.18 inch |
| Rear camera 1 | 12 MP, f/1.9, 1/2.55", 1.4µm, |
| Rear camera 2 | 5 MP, f/2.0, 1.12µm |
| Front camera | 20 MP, f/2.0, 0.9µm 1080p 30 fps video |

## Device picture

![Xiaomi Mi 8](https://i1.mifile.cn/f/i/2018/mi8/summary/index1.jpg)
![Pocophone F1](https://cdn2.gsmarena.com/vv/pics/xiaomi/xiaomi-pocophone-f1-2.jpg)

## Features

Works:

- ADB
- Decryption of /data
- MTP
- Screen brightness settings
- Now UI is very smooth (thanks to TWRP fix 16d831bee5a660f5ac6da0d8fff2b3ec4697d663)
- Vibration on touch (see https://gerrit.omnirom.org/#/c/android_bootable_recovery/+/31021/)
- Correct screenshot color (see https://gerrit.omnirom.org/#/c/android_bootable_recovery/+/31042/)

Dont work:
- Decryption of data
- Short freeze when connected to pc

Finally execute these:

```
export ALLOW_MISSING_DEPENDENCIES=true
. build/envsetup.sh
lunch omni_dipper-eng
lunch omni_beryllium-eng
LC_ALL=C
mka recoveryimage
```