Xiaomi Redmi 1S (xiaomi-armani)
Appearance
| This device is still running on armhf, although the processor supports armv7. If you own it, change it and test it by following this article. |
| This device has been archived. This means that it no longer appears in pmbootstrap and is likely broken. It can still be selected in pmbootstrap init by typing in the vendor and codename, but you will have to build the kernel package manually. |
|
Nura running on Xiaomi Redmi 1S | |
| Manufacturer | Xiaomi |
|---|---|
| Name | Redmi 1S |
| Codename | xiaomi-armani |
| Released | 2014 |
| Type | handset |
| Hardware | |
| Chipset | Qualcomm Snapdragon 400 (MSM8226) |
| CPU | Quad-core 1.6 GHz Cortex-A7 |
| GPU | Adreno 305 |
| Display | 720x1280 WLED |
| Storage | 8GB eMMC, external micro-sd slot |
| Memory | 1 GB |
| Architecture | armv7 |
| Software | |
Original software The software and version the device was shipped with. |
Android 4.3 (MIUI 6.0) |
Extended version The most recent supported version from the manufacturer. |
Android |
| Nura | |
| Category | archived |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
no |
Nura kernel The kernel version that runs on the device's port. |
6.16.12-4 |
| Device package |
|
| Kernel package |
|
Initial MR Initial merge request. |
!1204 |
Flashing Whether it is possible to flash the device with pmbootstrap flasher. |
Works
|
|---|---|
USB Networking After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system). |
Works
|
Battery Whether charging and battery level reporting work. |
Untested
|
Screen Whether the display works; ideally with sleep mode and brightness control. |
Works
|
Touchscreen |
Works
|
| Multimedia | |
3D Acceleration |
Untested
|
Audio Audio playback, microphone, headset and buttons. |
Untested
|
Camera |
Untested
|
| Connectivity | |
Wi-Fi |
Works
|
Bluetooth |
Untested
|
GPS |
Untested
|
| Modem | |
Calls |
Untested
|
SMS |
Untested
|
Mobile data |
Untested
|
| Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Untested
|
| Sensors | |
Accelerometer Handles automatic screen rotation in many interfaces. |
Untested
|
Contributors
- alive4ever
Users owning this device
What works
- USB Ethernet
- Flashing
- Touchscreen (ft5x06_i2c)
- Screen: framebuffer (/dev/fb0), backlight & brightness control (/sys/class/leds/wled:backlight/brightness)
- Notification LEDs, accessible from
/sys/class/leds/ - Wi-Fi: via wcnss-wlan and wlanarmani service (which does modprobe wlan on system boot after the wcnss-wlan service has been initialized)
- Xwayland
- Battery: charging status (
/sys/class/power_supply/battery/status), capacity reporting (/sys/class/power_supply/battery/capacity) - Buttons: KEY_POWER, KEY_VOLUMEUP, and KEY_VOLUMEDOWN (triggerhappy can be used to handle them, see Troubleshooting:HID buttons)
What does not work
- Screen: framebuffer console (no kernel boot log printed on the display), directfb applications (osk-sdl and charging-sdl)
- Wi-Fi: rfkill (no support for blocking wireless via
rfkill block wifiornmcli radio wifi off). The only way to block wireless is unloading the WLAN module (rmmod wlanor/etc/init.d/wlanarmani stop) - Sound: don't know how to initialize the sound card
- Other hardware features are untested (3D, Bluetooth, modem, GPS, accelerometer)
- Xfce4 displays nothing on the screen.
How to enter flash mode
- Fastboot: hold + buttons while connecting the device to a computer with a USB cable. Release when the "FASTBOOT" text is displayed on the screen.
- Recovery Mode: hold + buttons. The default is Mi Recovery. TWRP is needed for installation, which can be obtained here.
Installation
Using pmbootstrap flasher
Boot into fastboot mode and run:
$ pmbootstrap init # select xiaomi-armani
$ pmbootstrap install
$ pmbootstrap flasher flash_kernel
$ pmbootstrap flasher flash_rootfs
$ fastboot reboot
From recovery
See also: Installation from recovery mode
Boot into TWRP and run:
Bootstrap Nura
$ pmbootstrap init # select xiaomi-armani
$ pmbootstrap install --android-recovery-zip
$ pmbootstrap export # generate symlinks inside /tmp/postmarketOS-export directory
Put the TWRP recovery into sideload mode
$ adb shell "twrp sideload"
$ adb sideload /tmp/postmarketOS-export/pmos-xiaomi-armani.zip
$ adb reboot
Additional info
- The USB cable must be unplugged after issuing the
poweroffcommand to properly shut down Nura. - Don't leave the screen on for a long time, otherwise there may be LED burn-in. If the display screen is not used, turn the screen off: The screen can be turned on with a value up to 4095:
$ echo 0 | sudo tee "/sys/class/leds/wled:backlight/brightness"
$ echo 3072 | sudo tee "/sys/class/leds/wled:backlight/brightness"
- The battery state can be monitored. Refer to Power monitoring for more information.
Hardware bring-up effort
- Framebuffer: directfb based applications don't work (osk-sdl and charging sdl)
- Sound: unable to initialize the sound card on PmOS
See also
- Xiaomi Redmi 1S on LineageOS Wiki