Jump to content

Xiaomi Redmi 5 (xiaomi-rosy): Difference between revisions

From postmarketOS Wiki
WorryNori (talk | contribs)
No edit summary
Halamix2 (talk | contribs)
mNo edit summary
 
(11 intermediate revisions by 3 users not shown)
Line 2: Line 2:
| manufacturer = Xiaomi
| manufacturer = Xiaomi
| name = Redmi 5
| name = Redmi 5
| codename = rosy
| codename = xiaomi-rosy
| image =
| image = File:Xiaomi-rosy-running-kde-mobile.jpg
| imagecaption =  
| imagecaption = Xiaomi Redmi running KDE mobile
| releaseyear = 2017
| releaseyear = 2017
| category = testing
| category = testing
| originalsoftware = Android (MIUI)
| originalsoftware = Android (MIUI)
| originalversion = 7.1 (MIUI 7)
| originalversion = 7.1 (MIUI 9)
| pmoskernel = N/A
| pmoskernel = 6.9.1
| chipset = Qualcomm Snapdragon 450 (MSM8953)
| chipset = Qualcomm Snapdragon 450 (MSM8953)
| cpu = 8x 1.8Hz – Cortex-A53
| cpu = 8x 1.8Hz – Cortex-A53
Line 20: Line 20:
<!-- Features -->
<!-- Features -->
<!-- the following status_* questions should be answered with Y for yes, P for partial, N for no, - for N/A or unavailable, or left blank for untested or unknown -->
<!-- the following status_* questions should be answered with Y for yes, P for partial, N for no, - for N/A or unavailable, or left blank for untested or unknown -->
| status_usbnet = <!-- USB networking does work? then put Y here and delete this comment -->
| status_usbnet = Y <!-- USB networking does work? then put Y here and delete this comment -->
| status_flashing = <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
| status_flashing = Y <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
| status_touch = <!-- Touch screen is working? You can also answer these questions with P for partially. -->
| status_touch = Y <!-- Touch screen is working? You can also answer these questions with P for partially. -->
| status_screen = <!-- The display is working? -->
| status_screen = Y<!-- The display is working? -->
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_3d = Y <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_xwayland = Y <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_fde = Y<!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_emmc = <!-- Internal storage can be accessed? -->
| status_emmc = Y<!-- Internal storage can be accessed? -->
| status_wifi = <!-- Wireless network works? -->
| status_wifi = Y<!-- Wireless network works? -->
| status_mainline = <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_mainline = Y<!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_battery = <!-- Charging the battery with charging-sdl is possible -->
| status_battery = Y<!-- Charging the battery with charging-sdl is possible -->
| status_audio = <!-- Using the device's speakers/headphone jack works -->
| status_audio = P<!-- Using the device's speakers/headphone jack works -->
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_bluetooth = Y<!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_camera = <!-- Taking photos and videos works. -->
| status_camera = P<!-- Taking photos and videos works. -->
| status_gps = <!-- The Global Positioning System sensor works.  -->
| status_gps = P<!-- The Global Positioning System sensor works.  -->
| status_mobiledata = <!-- Connecting to the Internet via cellular network. -->
| status_mobiledata = P<!-- Connecting to the Internet via cellular network. -->
| status_sms = <!-- Sending and receiving short messages works as intended. -->
| status_sms = Y<!-- Sending and receiving short messages works as intended. -->
| status_calls = <!-- Talking to other people over the cellular network. -->
| status_calls = P<!-- Talking to other people over the cellular network. -->
| status_otg = <!-- USB-OTG adapters work, e.g. to connect an USB flash drive to the device -->
| status_otg = Y<!-- USB-OTG adapters work, e.g. to connect an USB flash drive to the device -->
| status_nfc = -
<!-- Sensors -->
<!-- Sensors -->
| status_accel = <!-- The sensor that measures proper acceleration works -->
| status_accel = <!-- The sensor that measures proper acceleration works -->
Line 48: Line 49:
| status_powersensor = <!-- Power sensor works -->
| status_powersensor = <!-- Power sensor works -->
<!-- Misc -->
<!-- Misc -->
| status_dvb = <!-- Built-in TV receiver works -->
| status_fossbootloader = -  
| status_ethernet = -
| status_hdmidp = -
| status_stylus = -
| status_dvb = -
| status_cameraflash = <!-- Camera flash/torch works -->
| status_cameraflash = <!-- Camera flash/torch works -->
| status_keyboard = <!-- Keyboard works (Mark "-" if device doesn't have a keyboard) -->
| status_keyboard = -
| status_touchpad = <!-- Touchpad works (Usually applicable to laptops) -->
| status_touchpad = -
| status_usba = <!-- Full-sized USB-A port works (Usually applicable to SBCs and laptops) -->
| status_usba = -
| status_sdcard <!-- SD/UFS card works -->
| status_irrx = -
| status_haptics = <!--  -->
| status_irtx =  
| status_fossbootloader = Y
| status_haptics =  
<!-- optional for devices running u-boot
| status_sdcard = Y
| status_uboot =
| status_uboot_primary =
| status_uboot_secondary =
| status_uboot_mainline =
| status_uboot_internalstorage =
| status_uboot_sd =
| status_uboot_usbhost =
| status_uboot_usbperipheral =
| status_uboot_screen =
| status_uboot_keyboard =
| status_uboot_buttons =
-->
-->


| booting = no <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
| booting = yes <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
| status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" -->
| status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" -->
}}
}}


== Status ==
== Status ==
I couldn’t start it, the phone rebooted into fastboot mode and didn’t even boot (the mailline kernel was used). Any help with the phone would be very helpful.
Got lk2nd running.
== Maintainer(s) ==
* [[User:Bczeman|Bczeman]]


== Contributors ==
== Contributors ==
Line 86: Line 82:
<!-- you may need to purge page cache to see changes (more->purge cache)-->
<!-- you may need to purge page cache to see changes (more->purge cache)-->
<!-- you can use {{My devices}} on your profile page to show table with all your devices -->
<!-- you can use {{My devices}} on your profile page to show table with all your devices -->
== How to enter flash mode ==


== Installation ==
== Installation ==
 
* Follow the [[Installation guide]]
<!-- add more sections below as necessary, e.g. WiFi, photos, ... -->
{{Note|'''Note:''' [[lk2nd]] is a hard dependency, without it the mainline kernel will not select the panel.}}
<syntaxhighlight lang="shell-session">
$ pmbootstrap init # choose Vendor: qcom Device codename: msm8953
$ pmbootstrap install
$ pmbootstrap flasher flash_lk2nd
$ pmbootstrap flasher flash_rootfs
</syntaxhighlight>


== See also ==
== See also ==
<!--
* {{MR|5128|pmaports}} Initial merge request
Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234):
* [https://github.com/msm8953-mainline/linux Mainline kernel source]
* {{MR|CHANGEME|pmaports}} Initial merge request
* {{Device package|xiaomi-rosy}}
* {{issue|CHANGEME|pmaports}} Some related issue
* {{Firmware package|xiaomi-rosy}}
You can also add normal web links:
* [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page]
-->
<!--
If you manage to get your device packages merged, uncomment links below and change DEVICE_CODENAME with the actual one.
* {{Device package|DEVICE_CODENAME}}
* {{Kernel package|DEVICE_CODENAME}}
-->

Latest revision as of 11:46, 1 February 2025

Xiaomi Redmi 5
Xiaomi Redmi running KDE mobile
Xiaomi Redmi running KDE mobile
Manufacturer Xiaomi
Name Redmi 5
Codename xiaomi-rosy
Released 2017
Type handset
Hardware
Chipset Qualcomm Snapdragon 450 (MSM8953)
CPU 8x 1.8Hz – Cortex-A53
GPU Adreno 506
Display 5.7 1440x720 IPS
Storage 16/32 GB
Memory 2/3/4 GB
Architecture aarch64
Software
Original software Android (MIUI)
Original version 7.1 (MIUI 9)
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel 6.9.1
Features
Flashing
Works
USB Networking
Works
Internal storage
Works
SD card
Works
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Partial
Camera
Partial
Camera Flash
No data
IR TX
No data
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Partial
Modem
Calls
Partial
SMS
Works
Mobile data
Partial
Miscellaneous
FDE
Works
USB OTG
Works
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data
Power Sensor
No data


Status

Got lk2nd running.

Maintainer(s)

Contributors

Users owning this device

  • Hiprivsid (Notes: Cracked screen, but phone works fine)
  • Lordkaczuha (Notes: my old phone. has extremely poor WiFi Bluetooth and cellular reception. 3/32 variant.)
  • RobusTetus (Notes: Daily driver)
  • Sasha0552 (Notes: No screen)
  • WorryNori (Notes: Broken Touchscreen)


Installation

Note Note: lk2nd is a hard dependency, without it the mainline kernel will not select the panel.
$ pmbootstrap init # choose Vendor: qcom Device codename: msm8953
$ pmbootstrap install
$ pmbootstrap flasher flash_lk2nd
$ pmbootstrap flasher flash_rootfs

See also