Jump to content

Xiaomi Redmi 6A (xiaomi-cactus): Difference between revisions

From postmarketOS Wiki
SoySoy (talk | contribs)
m Plasma Desktop
Marlock (talk | contribs)
fix filename to be edited according to recent changes in Plasma Mobile, update example for the same reason, improve formatting using HTML
Line 79: Line 79:
== Plasma Mobile ==
== Plasma Mobile ==


Need to modify the file /usr/bin/kwinwrapper
Need to modify the file <code>/usr/bin/startplasmamobile</code>


Add --framebuffer --fb-device /dev/fb0 to arguments of startplasma-wayland
Add <code>--framebuffer --fb-device /dev/fb0</code> to arguments of <code>startplasma-wayland</code>


Like this:
Like this:


startplasma-wayland --framebuffer --fb-device /dev/fb0 --xwayland --libinput --inputmethod maliit-server --exit-with-session=/usr/lib/libexec/startplasma-waylandsession
<pre>
 
startplasma-wayland --framebuffer --fb-device /dev/fb0 --xwayland --lockscreen --inputmethod maliit-keyboard --exit-with-session=/usr/lib/libexec/startplasma-waylandsession
</pre>


This ensures that the plasma mobile is rendered using a frame buffer.
This ensures that the plasma mobile is rendered using a frame buffer.

Revision as of 20:28, 1 November 2023

Xiaomi Redmi 6A
Plasma Desktop
Plasma Desktop
Manufacturer Xiaomi
Name Redmi 6A
Codename xiaomi-cactus
Released 2018
Hardware
Chipset MediaTek Helio A22 (MT6761)
CPU Quad-core 2.0 GHz Cortex-A53
GPU PowerVR GE8320
Display 720 x 1440 IPS
Storage 16 GB
Memory 2 GB
Architecture aarch64
Software
Original software Android (MIUI)
Original version 9
postmarketOS
Category testing
Pre-built images no
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
No data
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
No data
Bluetooth
No data
GPS
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


Contributors

  • jdr

Maintainer(s)

  • jdr

Users owning this device


How to enter flash mode

  • Shutdown the phone completely
  • Press Volume down(-) and Power button simultaneously to enter the fastboot mode.


Bootloader original status

Installation

The following steps boots postmarketOS.

  • pmbootstrap flasher flash_rootfs
  • pmbootstrap flasher flash_kernel
  • pmbootstrap flasher boot

Plasma Mobile

Need to modify the file /usr/bin/startplasmamobile

Add --framebuffer --fb-device /dev/fb0 to arguments of startplasma-wayland

Like this:

startplasma-wayland --framebuffer --fb-device /dev/fb0 --xwayland --lockscreen --inputmethod maliit-keyboard --exit-with-session=/usr/lib/libexec/startplasma-waylandsession

This ensures that the plasma mobile is rendered using a frame buffer.

See also