Changes

Jump to: navigation, search

Xiaomi Redmi 1S (xiaomi-armani)

1,277 bytes added, 19:54, 28 August 2019
m
chipset
| manufacturer = Xiaomi
| name = Redmi 1S
| codename = xiaomi-armani
| image = File:Armani.jpg
| imagecaption = PostmarketOS running on Xiaomi Redmi 1S
| releaseyear = 2014
| originalsoftware = MIUI 6.0 (based on Android 4.3)
| chipset = Qualcomm MSM8226MSM8228 Snapdragon 400
| cpu = Quad-core Snapdragon 400 1.6 GHz
| gpu = Adreno 305
| display = WLED, 720x1280
| memory = 1GB
| architecture = armhf
| status_usbnet = Y
| status_flashing = Y
| status_touch = Y
| status_screen = Y
| status_wifi = Y
| status_xwayland = Y
| status_fde =
| status_mainline =
| status_battery =
| status_3d =
| status_accel =
| status_audio =
| status_bluetooth =
| status_camera =
| status_gps =
| status_mobiledata =
| status_sms =
| status_calls =
| booting = yes
}}
== What works ==
* USB ethernet
* Flashing, via android-recovery-zip (twrp)and pmbootstrap flasher
* Touchscreen (ft5x06_i2c)
* Screen: framebuffer (/dev/fb0), backlight & brigtness control (/sys/class/leds/wled:backlight/brightness)
* 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)
* Wifi: rfkill (no support for blocking wireless via rfkill block wifi or nmcli radio wifi off). The only way to block wireless is unloading wlan module (``rmmod wlan`` or ``/etc/init.d/wlanarmani stop``)
* Sound: don't know how to initialize the sound card * Other hardware features are untested (3D, sound, bluetooth, modem, gps, accelerometer, buttons)* Xorg based UI: postmarketos-ui-xfce4 displays nothing on the screen.
== How to enter flash mode ==
== Installation ==
 
=== pmbootstrap flasher method ===
 
* Put the device into fastboot mode by holding both VolumeKeyDown + Power buttons or rebooting into bootloader from the twrp reboot menu.
* Connect the device to the computer via usb cable
* Bootstrap PostmarketOS
::<code>$ pmbootstrap init #select xiaomi-armani</code>
::<code>$ pmbootstrap install</code>
* Flash the kernel and system
::<code>$ pmbootstrap flasher flash_kernel</code>
::<code>$ pmbootstrap flasher flash_rootfs</code>
* Reboot the device
::<code>$ fastboot reboot</code>
 
=== Android recovery.zip sideload method ===
 
* Put the device into TWRP recovery, either by booting twrp image via fastboot directly or by pressing VolumeKeyUp + Power button after flashing TWRP recovery image.
* Connect the device to the computer via usb cable
:<code>$ pmbootstrap init #select xiaomi-armani</code>
:<code>$ pmbootstrap build -i device-xiaomi-armani</code> :<code>$ pmbootstrap build -i firmware-xiaomi-armani</code> :<code>$ pmbootstrap build linux-xiaomi-armani</code> :<code>$ pmbootstrap install --no-fde --android-recovery-zip</code>
:<code>$ pmbootstrap export # generate symlinks inside /tmp/postmarketOS-export directory</code>
:<code>$ echo 3072 | sudo tee "/sys/class/leds/wled:backlight/brightness"</code>
 
Battery state can be monitored. Refer to [[Battery capacity monitoring]] for more information.
 
== Hardware enablement effort ==
 
* Framebuffer: directfb based applications don't work (osk-sdl and charging sdl)
* Sound: unable to initialize the sound card on PmOS
== See also ==
394
edits

Navigation menu