nyuuzyou/wikis huggingface dataset:
Xiaomi Mi 5s (xiaomi-capricorn)

== Contributors ==
* Furkan Sonkaya (sepkov)
== Users owning this device ==
== How to enter flash mode ==
Hold + Down while the phone is turned off. This will make the phone boot into fastboot mode
Hold + while the phone is turned off. This will make the phone boot into reboot mode
== Installation ==
You will need to unlock the bootloader in order to be able to flash anything onto the phone.
Installing TWRP before doing anything else is recommended, as it makes dealing with the phone easier later on, and allows for quick restoration by taking backups of /system and /boot, then flashing them back in order to restore the device to its original state. Note that this method has only been tested with LineageOS, and running its installation ZIP in TWRP after restoring the backup was necessary to get it to boot, otherwise it would just keep loading forever.
$ pmbootstrap init
$ pmbootstrap install
=== Manual Build ===
To build your own image, follow the pmbootstrap article.
Once you reach the flashing step:
* Flash the rootfs:
 $ pmbootstrap flasher flash_rootfs
* Flash the kernel and initramfs to the boot partition:
 $ pmbootstrap flasher flash_kernel
You can also avoid flashing them and instead, boot the kernel directly:
 $ pmbootstrap flasher boot
== Mainline ==
MSM8996 common mainline kernel fork There is none currently.
==== Known issues: ====
* The display comes up black after initialization, works correctly after a reboot.
== See also ==
Currently device is failing to give ip to the usb connected computer.
Under linux you can use these commands to assign ip and connect to ssh.
Replace X with your usb device.
To list all network adapters:
 $ ip a
And to change the ip address:
 $ sudo ip addr add 172.16.42.2/24 dev usbX
 $ sudo ip link set usbX up
Xiaomi Mi 5s Plus (xiaomi-natrium)

== Contributors ==
* AlecJY
== Users owning this device ==
== How to enter flash mode ==
Power off the device, then press and hold Power + Volume Down together for a few seconds.
== Installation ==
Follow the installation guide to build and install.
== What's not working ==
* Cellular
* Camera
* GPS
* Sensors
* IR
* Sharp panel varient, but JDI panel varient works good
* WiFi is unstable and the signal is poor (in some cases)
* Built-in speakers and microphone, only headphone jack works
== Current Progress ==
=== IR ===
The IR led can be lighted up with ir-ctl tool. Currently not test with real IR receivers.
* kernel
=== Sharp panel varient ===
It seems that there is no obvious problem. If you own a Mi 5s Plus with a Sharp panel, you can try this version.
* pmaports
* kernel
== See also ==
* Initial merge request
Xiaomi Mi 8 Lite (xiaomi-platina)

== Contributors ==
* MollySophia
== Users owning this device ==
== How to enter flash mode ==
=== Bootloader Unlocking ===
Like other Xiaomi devices, the user will have to acquire the bootloader unlock key: https://en.miui.com/unlock
The device will not unlock if the device isn't 7 days old (from the time when your device connects to internet and powered on, and linked with Mi Account)
=== Recovery mode ===
* Turn the device off (or restart also works)
* Hold and button
* Once you feel vibration and phone turns on, release button
* Keep holding until you get to recovery.
=== Flashing (Download, Fastboot) mode ===
* Same as recovery, but this time hold the and keys.
== Installation ==
* Install pmbootstrap first on your PC
* zap & reinit pmbootstrap (pmbootstrap -y zap ; pmbootstrap init), choose xiaomi-platina as a device
* proceed with installation as usual: reboot device to fastboot mode, then:
 pmbootstrap install
 pmbootstrap flasher flash_kernel
 pmbootstrap flasher flash_rootfs
 pmbootstrap flasher flash_vbmeta
And then
 fastboot reboot
== See also ==
* GSMARENA
* Initial merge request
Xiaomi Mi 9T Pro / Redmi K20 Pro (xiaomi-raphael)

== Maintainer(s) ==
* dabao1955
== Users owning this device ==
== How to enter flash mode ==
* Bootloader: Power on the device with both and buttons.
* Recovery: Power on the device with both and buttons.
* Fastbootd: Reboot into bootloader mode first and then run fastboot reboot fastboot from a computer.
=== Audio ===
Not tested yet.
=== Camera ===
Not tested yet.
=== GPS ===
Not tested yet.
=== Touch ===
Maybe the Goodix touch panel can work.
== Other ==
Erase the dtbo partition before booting postmarketOS.
== See also ==
* Mainline kernel for SM8150
* GSMArena Asian version
* GSMArena Global version
* Official TWRP page
Xiaomi Mi A3 (xiaomi-laurel)

== Contributors ==
* Mint
== Users owning this device ==
== How to enter flash mode ==
On boot press and hold the Volume Down button. If your device is already powered off, press and hold the Volume Down and Power buttons simultaneously until you get to the "FASTBOOT" screen.
== Installation ==
Install fastboot on your host system and run the following commands:
$ pmbootstrap init
$ pmbootstrap install
# fastboot erase dtbo
$ pmbootstrap flasher flash_vbmeta
$ pmbootstrap flasher flash_rootfs
$ pmbootstrap flasher flash_kernel
# fastboot reboot
== Not merged features ==
Those features are already working but not yet merged into postmarketOS / mainline linux:
* Touchscreen
* USB OTG
* Display and GPU
== Display ==
The device as of now can only run a simple framebuffer.
== Modem ==
No support on the platform as of now, shouldn't be too hard to implement since it's the same modem in the SDM630, SDM636, SDM660 and SDM670.
== Who's working on it ==
Szczurek (@szczurek:matrix.org on Matrix)
== See also ==
* Device and kernel packages
* Initial merge request
Xiaomi Mi Max 3 (xiaomi-nitrogen)

== Users owning this device ==
== How to enter flash mode ==
===Recovery===
* Turn off your device;
* Press and hold “Power“ button and “Volume Up” button;
* Hold both till Mi logo appears;
* After the Mi logo appears, release “Power” & “Volume+”
* Welcome to Recovery!
===Fastboot Mode===
* Turn off your device
* Press and hold “Power“ button and “Volume Down” button;
* Hold both till Mi logo appears;
* After the Mi logo appears, release “Power” & “Volume-”
* After booting into Fastboot mode, connect your device to a Linux desktop using the original USB Cable;
* Open Terminal in the SDK location, check your device is connected with:
 sudo ./fastboot devices
Xiaomi Mi Note 10 Lite (xiaomi-toco)

== Contributors ==
== Users owning this device ==
== How to enter flash mode ==
* Bootloader: Power on the device with both and buttons.
* Recovery: Power on the device with both and buttons.
* Fastbootd: Reboot into bootloader mode first and then run fastboot reboot fastboot from a computer.
== Installation ==
Use pmbootstrap to build your own installation image.
== Mainline ==
A work in progress mainline kernel is being developed here. 
We are looking for testers. If you have a device and want to help, please join: #sm7150-mainline:matrix.org on Matrix.
== See also ==
Xiaomi Mi Pad (xiaomi-mocha)

== Contributors ==
* CEllenvia
== Users owning this device ==
== How to enter flash mode ==
Hold + until "FASTBOOT" shows on screen
== Installation ==
Attention: IF YOU ARE ON ANY NON-STOCK ROM(BootBlobs), Flash to original first.
It is recommended to install from recovery mode, which can write pmos to system partition.
Following is the old bsp kernel installation.
$ pmbootstrap initfs hook_add debug-shell
$ pmbootstrap install
$ pmbootstrap flasher flash_rootfs --partition userdata # Flashing to the system partition fails with (remote: '(InvalidSize)'), May cause by 2 system partition.
$ pmbootstrap flasher flash_kernel
== Progress ==
Now turn to FOSS Boot-loader porting, since the Linux kernel refused to boot w/o firmware built-in.
== Mainline Status ==
This device comes with a interesting boot package method, which dt.img isn't QCDT style at all. Instead, it just use dtb file as dt.img. So for packaging, i need some workaround to make qcdt happy.
PSCI(4 core enable) is possible by using TOS-For-PSCI 0.2, but this makes the wlan unusable on 5.4 fork. 
Function 	Hardware 	Status	Info
Boot 	- 	P 	Boot with exists 5.4 fork, working on mainline.
Display 	Sharp LQ079L1SX01 	Y 	-
Touchscreen 	Atmel mXT1664T2-C2U/Synaptics 7040(?) 	P 	There are two kinds of touchscreen, which for my device is mXT1664T2-C2U.
Onscreen RGB LED 	Texas Instruments(National Semiconductor) LP5521	Y 	Need to add to DTS Documentation/leds/leds-lp5521
Backlight LED 	Texas Instruments LP8556 	Y 	-
Charger IC 	Texas Instruments BQ24192 	Y 	Need to add to DTS power/supply/bq24190
Battery Management 	Texas Instruments BQ27520-G4 	Y 	Need to add to DTS power/supply/bq27xxx
Power Management & NTP etc. (palmas)	Texas Instruments TPS65913 	Y 	Need to add to DTS regulator/palmas-pmic.txt regulator/palmas-pmic.txt
Wi-Fi, BT & FM 	Cypress(Broadcom) CYW4354XKUBG 	- 	net/wireless/brcm,bcm4329-fmac
SDCard 	Onsemi CM1624 	- 	-
GPU 	NVIDIA GK20A 	P 	Known issues
Audio 	NXP TFA9890 	- 	Documentation/devicetree/bindings/sound/nxp,tfa989x
Camera 	Sony IMX179 & Omni OV5696 	- 	
== See also ==
The Kernel Xiaomi Official released: 
 Initial merge request
Xiaomi Mi Pad 4 (xiaomi-clover)

There are 3 different variant to take note:
* WiFi only model (SDA660, 8 inch)
* LTE model (SDM660, 8 inch)
* Plus model with LTE (SDM660, 10 inch, different touch controller/display)
== Contributors ==
* nergzd723
== Users owning this device ==
== How to enter flash mode ==
You have to press + to enter the bootloader.
== Installation ==
In order to install postmarketOS the bootloader must be unlocked.
Unlocking is done by following the official process provided by Xiaomi (read the FAQ for detailed instructions).
Follow Installation guide using pmbootstrap to build your own image.
1. Run pmbootstrap init and select xiaomi as vendor and clover as device.
2. Follow the onscreen instruction and configure as your needs.
Next, we will build the system:
$ pmbootstrap install
Flash the kernel and rootfs:
$ pmbootstrap flasher flash_kernel
$ pmbootstrap flasher flash_rootfs --partition userdata
=== Installation to SD card ===
You can take advantage of Mi Pad 4's SD card slot to install postmarketOS for testing.
Install to the SD card:
$ pmbootstrap install --sdcard=/dev/sde 
To boot from SD, with the device in fastboot mode (with device off, press Power + Volume Down until it enters fastboot mode), type:
$ pmbootstrap flasher boot
Note: This uses pmbootstrap from your computer to boot postmarketOS from the SD card without disturbing your bootloader or your system.
== Additional information ==
=== UART pins location ===
== See also ==
* Initial merge request
* Deviceinfo HW links: Mi Pad 4, Mi Pad 4 PLUS
Category:Devices with known UART pinout
Xiaomi Mi Smart Clock (xiaomi-x04g)

== Contributors ==
* Adrian
* z3ntu
== Users owning this device ==
== How to enter flash mode ==
* Start mtkclient on your host
* Hold the volume up (+) button, then plug in the micro-USB cable from your host to the clock
== Installation ==
Use pmbootstrap to build your own installation image.
== Partition layout ==
1: proinfo
2: nvram
3: persist
4: seccfg
5: lk
6: lk2
7: boot
8: recovery
9: para
10: logo
11: dtbo
12: expdb
13: frp
14: tee1
15: tee2
16: kb
17: dkb
18: md_udc
19: metadata
20: nvdata
21: vbmeta
22: vbmeta_system
23: vbmeta_vendor
24: super
25: cache
26: userdata
== UART ==
The smart clock has UART pins. It uses a baud rate of 921600. The pin labelled TP30 is TX, TP29 is RX. They are located on the back of the board.
== Bootloader log ==
 Bootloader log 
== See also ==
* GitHub project documenting some of the hardware with bootloader unlock instructions
Category:Devices with known UART pinout
Xiaomi Mix 3 (xiaomi-perseus)

== Contributors ==
* Ya_Code
* BigfootACA
== Users owning this device ==
== How to enter flash mode ==
You have to press + to enter the bootloader.
== Installation ==
Grab source at https://gitlab.com/YaCodesDevelopment/perseus-mainlinehttps://gitlab.com/YaCodesDevelopment/perseus-mainline
https://gitlab.com/YaCodesDevelopment/pmaports-xiaomi-perseus
Collect, flash... More detailed explanation later.
== See also ==
* GSMArena
Xiaomi POCO F2 Pro (xiaomi-lmi)

The device is also known as Xiaomi Redmi K30 Pro. Some resources call POCO F2 Pro a "rebranded version of Redmi K30 Pro".
Xiaomi Redmi K30 5G is NOT xiaomi-lmi! it's xiaomi-picasso!
== Contributors ==
== Maintainer(s) ==
== Users owning this device ==
== How to enter flash mode ==
=== Bootloader Unlocking ===
Like other Xiaomi devices, the user will have to acquire the bootloader unlock key: https://en.miui.com/unlock
The device will not unlock if the device isn't 7 days old (from the time when your device connects to internet and powered on, and linked with Mi Account)
=== Recovery mode ===
* Turn the device off (or restart also works)
* Hold and button
* Once you feel vibration and phone turns on, release button
* Keep holding until you get to recovery.
=== Flashing (Download, Fastboot) mode ===
* Same as recovery, but this time hold the and keys.
== Links ==
* GSMARENA
* Deviceinfo HW link
* Mainline kernel
Xiaomi POCO F3 (xiaomi-alioth)

Category:Devices with known UART pinout
== Contributors ==
* Nikroks
* RodoMa92
* Weijia
== Maintainer(s) ==
== Users owning this device ==
== How to enter flash mode ==
* Bootloader: Power on the device with both and buttons.
* Recovery: Power on the device with both and buttons.
* Fastbootd: Reboot into bootloader mode first and then run fastboot reboot fastboot from a computer.
== Installation ==
PostmarketOS Installation guide.
== Status ==
 Features
Component 	Model 	Notes
Screen 	samsung,ams667xx01 	90/120Hz are supported
Battery 	qcom,pm8150b-fg 	
Charger 	qcom,pm8150b-charger 	
Charger 	ti,bq2597x-standalone 	Used as pump for pm8150b-charger
Internalstorage	jedec,ufs-2.0qcom,sm8250-qmp-ufs-phy	
Touchscreen 	focaltech,ft3658 @ 0x0 	Connected via spi4
GPU 	qcom,adreno-650 	Requires a650 (unsigned) & a650-zap (signed) firmware
SBA-MUX 	fcs,fsa4480 @ 0x42 	Connected via i2c15
Flash LED 	qcom,spmi-flash-led 	Connected via pm8150l spmi
WiFi 	qca6391 	Requires ath11k (unsigned) firmware
Bluetooth 	qca6391 	Requires qca (unsigned) firmware
NFC 	qcom,nq-nci @ 0x28 	Connected via i2c1
Modem 	sdx55m 	SDX55m is not supported by mainline
USB OTG 	usb-c-connector 	Switches by pm8150b typec controller
Sensors 	hexagonrpcdlibSSC 	Managed by SDSP-remoteprocRequires signed SDSP firmware
Haptics 	awinic,aw8697 	Connected via i2c11
 Camera sensors
Type 	Sensor 	EEPROM 	Actuator 	Bus
Main C-Phy 	sony,imx582 @ 0x10 	giantec,gt24p128e @ 0x51	dongwoon,dw9800@ 0xc	cci0_i2c0
Ultra Wide D-Phy	sony,imx355 @ 0x1a 	giantec,gt24p64e @ 0x50 	- 	cci1_i2c0
Macro D-Phy 	samsung,s5k5e9 @ 0x2d	puya,p24c64f @ 0x52 	dongwoon,dw9800@ 0xc	cci0_i2c1
Front D-Phy 	samsung,s5k3t2 @ 0x10	puya,p24c64f @ 0x51 	- 	cci1_i2c1
Note:
* EEPROMs work, but sensor drivers can't work with EEPROMs yet. Libcamera doesn't support it either?
* Main camera doesn't work because C-PHY is not supported by mainline.
 Audio
Codec 	Appointments 	Bus 	Notes
cirrus,cs35l41 	EAR Speaker 	i2c3 @ 0x40	
cirrus,cs35l41 	Main Speaker 	i2c3 @ 0x41	
qcom,wcd9380-codec	Chassis microphones x2	 	
qcom,wcd9380-codec	Analog I/O audio port 	 	
== Known issues ==
* Changing brightness causes graphical artifacts
== Serial UART ==
UART TX is below the sub board connector on the left size of a 0402 capacitor. Baud - 115200.
For ground you can use the metal shielding.
== See also ==
* Mainline Kernel Source
* Firmware repo
Xiaomi POCO M2 Pro / Redmi Note 9S / Redmi Note 9 Pro / Redmi Note 9 Pro Max (xiaomi-miatoll)

#REDIRECT Xiaomi POCO M2 Pro / Redmi Note 9S / Redmi Note 9 Pro / Redmi Note 9 Pro Max / Redmi Note 10 Lite (xiaomi-miatoll)
Xiaomi POCO M2 Pro / Redmi Note 9S / Redmi Note 9 Pro / Redmi Note 9 Pro Max / Redmi Note 10 Lite (xiaomi-miatoll)

== Contributors ==
* Ungeskriptet
* Nikroks
== Users owning this device ==
== Know your variant ==
Model 	Codename 	Model Number 	Supported?
POCO M2 Pro 	gram 	M2003J6CI 	N
Redmi Note 9S 	curtana 	M2003J6A1G M2003J6A1R	Y
Redmi Note 9 Pro (Global)	joyeuse 	M2003J6B2G 	Y
Redmi Note 9 Pro (India) 	curtana 	M2003J6A1I 	N
Redmi Note 9 Pro Max 	excalibur	M2003J6B1I 	N
Redmi Note 10 Lite 	curtana 	2109106A1I 	N
To determine whether your display is Huaxing or Tianma, use the command $ adb shell getprop sys.panel.display or $ adb logcat | grep "panel name is" while booting up the phone.
== How to enter flash mode ==
* Fastboot: Power on the device with both and buttons.
* Recovery: Power on the device with both and buttons.
=== EDL Mode ===
To enter the EDL mode, disconnect the battery and short these two points while powering it on with USB. If lsusb -d 05c6:9008 shows you a device, you can let go of the short.
== Installation ==
# Install pmbootstrap
# Run through pmbootstrap init and select 'xiaomi' as the vendor and 'miatoll' as the device
# Select the right kernel for your variant by typing out the codename
# Go through the rest of the setup with your preferences
# After the setup completes, generate a rootfs with pmbootstrap install
# Reboot into fastboot mode
# Flash kernel and rootfs with the following command: pmbootstrap flasher flash_kernel && pmbootstrap flasher flash_rootfs
# Erase the dtbo partition: fastboot erase dtbo
# Reboot the phone: fastboot reboot
== See also ==
* Mainline fork
* Device Info HW database entry
* GSMArena page
* 
* Initial merge request
Xiaomi Pad 2 (xiaomi-latte)

== Contributors ==
* Qs315490
== Users owning this device ==
== How to enter flash mode ==
=== DNX Fastboot ===
* Shutdown the device completely.
* Hold the and button simultaneously, until the "DNX FASTBOOT" text appears.
== Installation ==
=== Using pmbootstrap ===
Follow Installation/Using pmbootstrap. When asked for the device's vendor/codename, select xiaomi as the vendor and latte as the codename. 
To flash the image to the device:
* Download flash tools https://github.com/Qs315490/xiaomi-latte-flash_tools
* Run python3 gpt_ini2bin.py
* Run pmbootstrap install --split to generate images
* Run pmbootstrap export to export generate images
* Put the images to flash_tools/images
* Enter flashing mode (see #How to enter flash mode)
* Run DNX_flash_all.bat
== See also ==
https://github.com/Qs315490/postmarketos_device-xiaomi-latte
https://github.com/Qs315490/postmarketos_linux-xiaomi-latte
https://github.com/Qs315490/postmarketos_firmware-xiaomi-latte
Xiaomi Pad 5 (xiaomi-nabu)

== Contributors ==
* Marc Serdeliuk
* FlashTeens(EDKPiepaint)(Note:Trying to build a EFI bootable kernel)
== Users owning this device ==
== How to enter flash mode ==
=== Recovery mode ===
* Shutdown the device completely.
* Hold the and button simultaneously. When Xiaomi logo appears, release and keep pressed until recovery screen shows up.
=== Fastboot ===
* Shutdown the device completely.
* Hold the and button simultaneously, until the "FASTBOOT" text appears.
== Installation ==
A unofficial installation guide for Ubuntu is here:Linux for MI Pad 5
Update: there is a merge request with the nabu device package: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5804
Now nabu is in the testing folder of pmaports, you build images with pmbootstrap, only in edge branch
== Other ==
Erase dtbo partition before boot Linux .
== Gallery ==
File:Nabu.wifi.ok.jpg|Xiaomi Pad 5 with working Wi-Fi
File:Xiaomi-nabu.jpg|Xiaomi Pad 5 with KDE Plasma
== See also ==
* Mainline kernel for SM8150
* GSMArena Xiaomi Pad 5
* TWRP for Xiaomi Pad 5 via XDA Forums
* Unofficial website
Xiaomi Pad 6 (xiaomi-pipa)

== Contributors ==
* luka177 (cvbnm90i) - Mainline developer
* adomerle - Mainline developer, maintainer
== Users owning this device ==
== How to enter flash mode ==
* Fastboot Mode: Power on the device by holding down and .
* Recovery Mode: Power on the device by holding down and .
== Installation ==
Use pmbootstrap to build your own installation image.
$ pmbootstrap init
$ pmbootstrap install --fde
==There are multiple ways to flash rootfs:==
===Before installing rootfs, please erase dtbo_b (dtbo_a reserved for android)===
$ fastboot erase dtbo_b
===1.Flash rootfs to the userdata partition:===
* Flashing the rootfs to userdata does not allow for dual boot and will wipe all your Android user data
* This method gives you the most available disk space for postmarketOS
$ pmbootstrap flasher flash_rootfs --partition userdata
$ pmbootstrap flasher flash_kernel --partition boot_b
$ fastboot set_active b
===2.Flash rootfs to the super partition:===
* This method does not erase your Android user data
* The super partition is rather limited in size
 $ pmbootstrap flasher flash_rootfs --partition super
 $ pmbootstrap flasher flash_kernel --partition boot_b
 $ fastboot set_active b
== Photos ==
File:Unixbench-pipa.png|Unixbench
== See also ==
* GSMArena page
Xiaomi Redmi 10C (xiaomi-fog)

== Contributors ==
* Statzar
== Maintainer(s) ==
* Statzar
== Users owning this device ==
== How to enter flash mode ==
On boot press and hold the Volume Up button. If your device is already powered off, press and hold the Volume Up and Power buttons simultaneously until you get to the "FASTBOOT" screen.
== Installation ==
Install fastboot on your host system and run the following commands:
$ pmbootstrap init
$ pmbootstrap install
$ pmbootstrap flasher flash_rootfs
* For some reason header_version after building is 0. You need to unpack boot.img using AIK, manually change boot.img-header_version from 0 to 3 and then repack it. You will get a new file "image-new.img"
# fastboot boot image-new.img
== What's broken ==
* Restarting the display server will fail
== Tested Desktop Environments ==
Only GNOME and GNOME-mobile work normally. The rest of the graphic DEs don't work - freezes on splash
== See also ==
* Initial merge request
* 
*
Xiaomi Redmi 10 2022 (xiaomi-selene)

This page is not complete at all, all info here are wrong
== Installation ==
=== Unlocking the bootloader ===
Unlock the bootloader using the official method with Mi Unlock Tool
https://en.miui.com/unlock
You'll need to link your device with your Mi Account and wait 7 days to unlock the device.
Alternatively, you can also unlock the phone's bootloader using MTKClient.
=== Flashing postmarketOS ===
Type pmbootstrap init and choose the following in the wizard:
 Release channel: edge
 Vendor: xiaomi
 Device codename: selene
After choosing gnome-mobile and the rest, type the below command to begin downloading and preparing postmarketOS for installation
 $ pmbootstrap install
Then, turn off the device, hold Power and Volume Down buttons, connect it to the computer with a USB cable.
After doing this, type the following commands to flash postmarketOS to your device.
 $ pmbootstrap flasher flash_kernel
 $ pmbootstrap flasher flash_rootfs
After the commands finished, finally type 
 $ fastboot reboot
to exit fastboot. 
==== Installing Android after postmarketOS ====
You have to flash stock super.img and boot.img with the following commands.
 $ fastboot flash super super.img
 $ fastboot flash boot boot.img
== Contributors ==
* 3ab3z
== Users owning this device ==
== See also ==
* 
* 
* Downstream kernel source code
* Downstream kernel source code updated
Xiaomi Redmi 2A (xiaomi-lte26007)

== Contributors ==
== Users owning this device ==
== How to enter flash mode ==
== Notes ==
==Variant==
There are three variant of this phone : enhanced variant (Redmi 2A enhanced) , 
base variant , high spec variant (Redmi 2A high spec). The base version is the 1gb/8gb of this phone.The enhanced version is the 2gb/16gb of this phone.The hight spec version is basiclly the 2gb/16gb of Xiaomi_Redmi_2_(xiaomi-wt88047) (2014816) but with sold with different name.
== See also ==
Xiaomi Redmi 2 (xiaomi-wt88047)
Xiaomi Redmi 2 (xiaomi-wt88047)/Custom Partitioning

=Erasing unused partitions/Custom formatting=
It is safe to wipe partitions /dev/mmcblk0p23,/dev/mmcblk0p25,/dev/mmcblk0p27-29 without any harm being done to the bootloader. Erasing these partitions will leave only mainline kernels bootable.
If you dont need recovery mode you also could remove /dev/mmcblk0p26 and /dev/mmcblk0p24.
If you dont need android boot partition you also could remove /dev/mmcblk0p22.
==Reverting to stock from this setup==
To revert to stock, Download the stock rom and flash it via fastboot(Not lk2nd fastboot).