Danny Lin 4464981168 sapphire: rootdir: Disable native stats collection service
When opening and closing activities in Settings, a measurably
significant amount of CPU time is spent processing and logging stats
events in statsd:

0.02%     /apex/com.android.os.statsd/lib64/libstatspull.so                                                                                         @plt
0.01%     /apex/com.android.os.statsd/bin/statsd                                                                                                    @plt
0.01%     /apex/com.android.os.statsd/bin/statsd                                                                                                    SocketListener::runListener()
0.01%     /apex/com.android.os.statsd/bin/statsd                                                                                                    android::os::statsd::LogEvent::parseBuffer(unsigned char*, unsigned long)
0.01%     /apex/com.android.os.statsd/bin/statsd                                                                                                    android::os::statsd::LogEvent::parseAnnotations(unsigned char, int)

Over longer device uptimes with real-world usage, statsd uses a
substantial amount of total CPU time. We have no use for the stats
recorded by statsd, so disable the service entirely to save CPU in
potential hotpaths.

Test: simpleperf record -a; verify that statsd no longer appears in
      sample hits
2024-09-05 02:03:48 +06:00
2024-08-31 16:41:11 +06:00
2024-08-31 16:41:11 +06:00
2024-08-31 16:41:11 +06:00

Copyright (C) 2024 The LineageOS Project

Device configuration for Xiaomi Redmi Note 13 4G/13 4G NFC

The Xiaomi Redmi Note 13 4G/13 4G NFC (codenamed "sapphire/sapphiren") is a mid-range smartphone from Xiaomi.

Redmi Note 13 4G was announced and released in January 2024.

Device specifications

Device Xiaomi Redmi Note 13 4G
SoC Qualcomm SM6225 Snapdragon 685 (6 nm)
CPU 4x2.8 GHz Cortex-A73 & 4x1.9 GHz Cortex-A53
GPU Adreno 610
Memory 6GB/8GB RAM (LPDDR4X)
Storage 128GB/256GB UFS 2.2 flash storage
Shipped Android version 13.0 with MIUI 14
Battery Non-removable Li-Po 5000 mAh
Dimensions 162.3 x 75.6 x 8 mm
Display 1080 x 2400 pixels, 20:9 ratio 6.67" inch
Type AMOLED, 120Hz, 1800 nits (peak)
NFC Yes ( Redmi Note 13 4G NFC )
Rear camera 1 108 MP, f/1.8, 24mm (wide), 1/1.67", 0.64µm, PDAF
Rear camera 2 8 MP, f/2.2, 120˚ (ultrawide)
Rear camera 3 2 MP, f/2.4, (macro)
Front camera 16 MP, f/2.4, (wide)

Device picture

Xiaomi Redmi Note 13 4G

Description
No description provided
Readme 3.2 MiB
Languages
C++ 39.1%
Shell 32.5%
Makefile 15.3%
C 11.5%
Forth 1.6%