Xiaomi Redmi 2 (xiaomi-wt88047)
This page is about the dedicated port of this device. There is also an optional generic port available for this device - see Generic MSM8916 (qcom-msm8916). |
Xiaomi Redmi 2 Prime running Plasma Mobile | |
Manufacturer | Xiaomi |
---|---|
Name | Redmi 2 |
Codename | xiaomi-wt88047 |
Released | 2015 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 410 (MSM8916) |
CPU | Quad-core 1.2 GHz Cortex-A53 |
GPU | Adreno 306 |
Display | 720 x 1280 |
Storage | 8 GB / 16 GB |
Memory | 1 GB / 2 GB |
Architecture | aarch64 |
Software | |
Original software | Android (MIUI) |
Original version | 4.4.4 (MIUI 6.0) |
FOSS bootloader | yes |
postmarketOS | |
Category | community |
Pre-built images | yes |
Unixbench Whet/Dhry score | 918.9 |
Optional Generic Port | Generic MSM8916 (qcom-msm8916) |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage | |
SD card | |
Battery |
Works |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
Works |
Audio |
Works |
Camera |
Broken |
Camera Flash |
Works |
Connectivity | |
WiFi |
Works |
Bluetooth |
Works |
GPS |
Works |
Modem | |
Calls |
Works |
SMS |
Works |
Mobile data |
Works |
Miscellaneous | |
FDE |
Works |
USB OTG |
Works |
HDMI/DP | |
Sensors | |
Accelerometer |
Works |
Magnetometer | |
Ambient Light |
Works |
Proximity | |
Hall Effect | |
Haptics | |
Barometer | |
This device is based on the Snapdragon 410. See the SoC page for common tips, guides and troubleshooting steps |
Contributors
- sylvieon
- User:Minecrell (mainline port)
Users owning this device
- Baonks81 (Notes: wt88047-HM2014821 wt86047-HM2014813 2GB/16GB Redmi 2 ProT)
- Bczeman
- Bolilingmeng89006 (Notes: 2014817)
- CEllenvia (Notes: 2014112(HM2LTE-CMCC), 1+8)
- DancesWithCycles (Notes: SXMO on pmOS working fine)
- Donihalim (Notes: sxmo sway)
- Exkc (Notes: Dead)
- Hisssy (Notes: wt86047 with dsi_nt35521 panel)
- Icenowy
- Joel (Notes: wt88047)
- JulianGro (Notes: multiple different devices; one with serial output, not in use)
- KenOokamiHoro (Notes: 2014817)
- Luoyan (Notes: wt88047 1+8)
- Minecrell (Notes: wt86047)
- SoupBorsh (Notes: no battery, broken usb port, no front camera)
- TipzTeam (Notes: 2014812: Dead LCD circuitry 2014816: Works fine, in great condition; 2014817: broken glass, not turning on)
- Tony0812 (Notes: wt88047)
- Un1Gfn (Notes: wt88047 2014811 2GB/16GB)
- WonderfulShrineMaidenOfParadise
- Yjun
How to enter flash mode
- Fastboot: Power on the device with both Power and Volume Down buttons.
- lk2nd Fastboot: Power on the device. After it vibrates, hold Volume Down.
- lk2nd Recovery: Power on the device. After it vibrates, hold Volume Up.
Installation
- Make sure you have latest firmware flashed. Follow the LineageOS installation guide until (including) Updating firmware.
- Install lk2nd. Although Xiaomi already provides a Fastboot interface, lk2nd contains various quirks for booting mainline.
- Follow Qualcomm_Snapdragon_410/412_(MSM8916)#Installation. (Flash from lk2nd Fastboot, not the stock Fastboot.)
How to check which panel,camera your have in your redmi 2 that running miui 9?
1. Go to Setting
2. Go to About Phone
3. Spam Kernel Version by tapping it a lot of time
4. Click Device View
Partition layout
Disk /dev/mmcblk0: 7.28 GiB, 7818182656 bytes, 15269888 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Device Start End Sectors Name /dev/mmcblk0p1 131072 262143 131072 modem /dev/mmcblk0p2 262144 263167 1024 sbl1 /dev/mmcblk0p3 263168 264191 1024 sbl1bak /dev/mmcblk0p4 264192 266239 2048 aboot /dev/mmcblk0p5 266240 268287 2048 abootbak /dev/mmcblk0p6 268288 269311 1024 rpm /dev/mmcblk0p7 269312 270335 1024 rpmbak /dev/mmcblk0p8 270336 271359 1024 tz /dev/mmcblk0p9 271360 272383 1024 tzbak /dev/mmcblk0p10 272384 273407 1024 hyp /dev/mmcblk0p11 273408 274431 1024 hypbak /dev/mmcblk0p12 274432 276479 2048 pad /dev/mmcblk0p13 276480 279551 3072 modemst1 /dev/mmcblk0p14 279552 282623 3072 modemst2 /dev/mmcblk0p15 282624 284671 2048 misc /dev/mmcblk0p16 284672 284673 2 fsc /dev/mmcblk0p17 284674 284689 16 ssd /dev/mmcblk0p18 284690 305169 20480 splash /dev/mmcblk0p19 393216 393279 64 DDR /dev/mmcblk0p20 393280 396351 3072 fsg /dev/mmcblk0p21 396352 396383 32 sec /dev/mmcblk0p22 396384 461919 65536 boot /dev/mmcblk0p23 461920 2559071 2097152 system /dev/mmcblk0p24 2559072 3214431 655360 cache /dev/mmcblk0p25 3214432 3279967 65536 persist /dev/mmcblk0p26 3279968 3345503 65536 recovery /dev/mmcblk0p27 3407872 3408895 1024 keystore /dev/mmcblk0p28 3408896 3408959 64 config /dev/mmcblk0p29 3408960 3540031 131072 oem /dev/mmcblk0p30 3670016 15269854 11599839 userdata
Camera Flash/Ambient Light
Tested only on 2014817.
# Activate LED and set the brightness to 50 (Max Brightness : 100)
echo 50 > /sys/class/leds/$COLOR/brightness
# Deactivate LED
echo 0 > /sys/class/leds/$COLOR/brightness
Color :
Color | LED |
---|---|
blue:indicator | Blue indicator light |
red:indicator | Red indicator light |
green:indicator | Green indicator light |
white:flash | Camera flash |
mmc1:: | Phone crasher (It will crash your phone if you try to turn it on) |
mmc0:: | Phone crasher (It will crash your phone if you try to turn it on) |
UART
Voltage:1.5v,baud rate : 115200
Camera
Last checked in kernel 5.13
Manufacturer | Originally supported | Megapixel | Known used | Mainlined | Working |
---|---|---|---|---|---|
OmniVision | ov13850 | 13.0 MP | yes | no | - |
OmniVision | ov13853_q13853a | 13.0 MP | no | no | - |
Samsung | s5k3l2 | 13.0 MP | no | no | - |
Samsung | s5k3l8 | 13.0 MP | no | no | - |
Samsung | s5k3l8_qtech | 13.0 MP | no | no | - |
Samsung | s5k3l8_sunny | 13.0 MP | no | no | - |
OmniVision | ov8858 | 8.0 MP | no | no | - |
OmniVision | ov8865_a11 | 8.0 MP | no | driver ov8865? | - |
OmniVision | ov8865_a11_sunny | 8.0 MP | no | driver ov8865? | - |
OmniVision | ov8865_q8v18a | 8.0 MP | yes | driver ov8865? | untested |
OmniVision | ov8865_qtech | 8.0 MP | no | driver ov8865? | - |
OmniVision | ov8865_sunny | 8.0 MP | no | driver ov8865? | - |
Samsung | s5k3h7_8916 | 8.0 MP | n | no | - |
Sony | imx219_q8n13a | 8.0 MP | yes | driver imx219? | untested |
OmniVision | ov5670_86001 | 5.0 MP | no | driver 5670? | - |
OmniVision | ov5670_a11 | 5.0 MP | no | driver 5670? | - |
OmniVision | ov5670_a11_sunny | 5.0 MP | no | driver 5670? | - |
OmniVision | ov5670_q5v41b | 5.0 MP | yes | driver 5670? | untested |
OmniVision | ov5670_q5v41b_lenplus | 5.0 MP | no | driver 5670? | - |
OmniVision | ov5670_q5v41b_qtech | 5.0 MP | no | driver 5670? | - |
OmniVision | ov5670_q5v41b_sunny | 5.0 MP | no | driver 5670? | - |
Samsung | s5k5e8 | 5.0 MP | no | no | - |
GalaxyCore | gc2355_8916 | 2.0 MP | yes | no | - |
OmniVision | ov2680 | 2.0 MP | no | yes | - |
OmniVision | ov2680_5987fhq | 2.0 MP | yes | driver ov2680? | untested |
SuperPix | sp2508 | 2.0 MP | no | no | - |
Touchkey
The touchkey support is missing in edt-ft5x06
driver.
See also
- Xiaomi_Redmi_2A_(lte26007)
- Xiaomi_Redmi_2_(xiaomi-wt88047)/Custom_Partitioning
- Xiaomi Redmi 2 Schematic
- pmaports!62 Initial merge request
- pmaports!1604 Mainline merge request
- Device package
- uboot