Xiaomi Redmi Note 8T (xiaomi-willow): Difference between revisions
Created page with "{{Infobox device | manufacturer = Xiaomi | name = Redmi Note 8T | codename = xiaomi-willow | image = File:CHANGE_ME_TO_DEVICE_CODENAME.jpg | imagecaption = Redmi Note 8T | rel..." |
No edit summary |
||
Line 13: | Line 13: | ||
| display = 1080 x 2340 IPS LCD | | display = 1080 x 2340 IPS LCD | ||
| memory = 3GB, 4GB, 4GB | | memory = 3GB, 4GB, 4GB | ||
| architecture = aarch64 | | architecture = aarch64 | ||
| status_usbnet = P | | status_usbnet = P | ||
| status_flashing = Y | | status_flashing = Y | ||
Line 35: | Line 35: | ||
| booting = yes | | booting = yes | ||
| pmoskernel = 4.14.117 | | pmoskernel = 4.14.117 | ||
| whet_dhry = | | whet_dhry = 4168.2 | ||
}} | }} | ||
Line 50: | Line 50: | ||
<!-- 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 --> | ||
== Note == | |||
This device is quite similar to the [[Xiaomi Redmi Note 7 (xiaomi-lavender)]], and many of the issues were solved with steps from that device page, so if you're hacking on the 8T it's a good idea to read the xiaomi-lavender page closely. | |||
== How to enter flash mode == | == How to enter flash mode == | ||
=== Unlocking the bootloader === | |||
As with any Xiaomi device, in order to unlock the bootloader you need to sign up for a Mi Account, register your device through the MIUI Settings app (requires a working SIM inserted, but only for a few moments), and wait a week. The official Xiaomi tool only runs on Windows, but [https://www.xiaomitool.com/V2/ XiaoMiTool V2] worked for me on Debian Linux. Be careful, it's a closed source jar! | |||
=== Before you go further === | |||
You are strongly recommended to install TWRP and back up ALL partitions to a safe place! (you can adb pull the images from twrp) | |||
=== Entering recovery === | |||
Hold {{button|Volume Up}} + {{button|Power}} until you see the recovery screen. | |||
=== Entering fastboot === | |||
Hold {{button|Volume Down}} + {{button|Power}} until you see the fastboot screen. | |||
== Installation == | == Installation == | ||
< | |||
* [[Installing pmbootstrap|Install pmbootstrap.]] | |||
* <code>pmbootstrap -y zap; pmbootstrap init</code>, choose <code>xiaomi-willow</code> as your device | |||
** firmware is currently needed for tianma touchscreen | |||
** rndis doesn't work, and weston is currently the only working display server, so pick weston for ui if you want to know if the flash worked | |||
* <code>pmbootstrap install</code> | |||
* Enter fastboot, plug USB into computer | |||
* <code>pmbootstrap flasher flash_kernel</code> | |||
* <code>pmbootstrap flasher flash_rootfs</code> | |||
* Reboot, sometimes <code>fastboot reboot</code> works, otherwise hold down {{button|Power}} until it reboots to system. | |||
* Hopefully weston comes up with <code>postmarketos-demos</code>. | |||
== Getting a shell == | |||
RNDIS doesn't work yet, not sure why. Could be an easy fix for someone more experienced with Qualcomm USB drivers. | |||
=== (Easy) USB-C to Ethernet adapter === | |||
If you have a USB-C to Ethernet adapter with drivers already compiled into mainline, this will be easy. I had an [https://www.amazon.com/iTeknic-Adapter-Ethernet-Charging-ChromeBook/dp/B07QJXP3DV iTeknic IK-UC002] lying around, which has an <code>RTL8152</code> inside, merged into mainline a while ago and already included the downstream Kconfig. <code>device-xiaomi-willow</code> includes an interfaces file so that <code>eth0</code> is DHCPed at boot, and then <code>avahi-daemon</code> will advertise itself at <code>hostname.local</code>. | |||
So if the phone is connected to your LAN at boot through the adapter, you should be able to <code>ssh user@xiaomi-willow.local</code> from your computer. | |||
=== (Hard) UART === | |||
pix incoming | |||
== See also == | == See also == |
Revision as of 08:03, 29 April 2020
Redmi Note 8T Redmi Note 8T | |
Manufacturer | Xiaomi |
---|---|
Name | Redmi Note 8T |
Codename | xiaomi-willow |
Released | 2019 |
Hardware | |
Chipset | Qualcomm SDM665 Snapdragon 665 (11 nm) |
CPU | Octa-core (4x2.0 GHz Kryo 260 Gold & 4x1.8 GHz Kryo 260 Silver) |
GPU | Adreno 610 |
Display | 1080 x 2340 IPS LCD |
Storage | 32GB, 64GB, 128GB |
Memory | 3GB, 4GB, 4GB |
Architecture | aarch64 |
Software | |
Original software | Android 9, MIUI 10 |
postmarketOS | |
Category | testing |
Pre-built images | no |
postmarketOS kernel | 4.14.117 |
Unixbench Whet/Dhry score | 4168.2 |
Flashing |
Works |
---|---|
USB Networking |
Partial |
Internal storage |
No data |
SD card |
No data |
Battery |
No data |
Screen |
Partial |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
Broken |
Audio |
No data |
Camera |
No data |
Camera Flash |
No data |
Connectivity | |
WiFi |
Broken |
Bluetooth |
No data |
GPS |
No data |
NFC |
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
Maintainer(s)
Users owning this device
- Annaaurora (Notes: spare phone with pmOS flashed but not booting)
- DragonX256 (Notes: RU variant, collects dust on shelf)
- GamerTygoNL
- Kierownik223 (Notes: Stock software)
- Maciej (Notes: Main device, running LineageOS)
- Rambonette (Notes: Main device, /e/ OS)
- Rjeli
- Secton (Notes: currently android because i couldn't calibrate touchscreen)
Note
This device is quite similar to the Xiaomi Redmi Note 7 (xiaomi-lavender), and many of the issues were solved with steps from that device page, so if you're hacking on the 8T it's a good idea to read the xiaomi-lavender page closely.
How to enter flash mode
Unlocking the bootloader
As with any Xiaomi device, in order to unlock the bootloader you need to sign up for a Mi Account, register your device through the MIUI Settings app (requires a working SIM inserted, but only for a few moments), and wait a week. The official Xiaomi tool only runs on Windows, but XiaoMiTool V2 worked for me on Debian Linux. Be careful, it's a closed source jar!
Before you go further
You are strongly recommended to install TWRP and back up ALL partitions to a safe place! (you can adb pull the images from twrp)
Entering recovery
Hold
+ until you see the recovery screen.Entering fastboot
Hold
+ until you see the fastboot screen.Installation
- Install pmbootstrap.
pmbootstrap -y zap; pmbootstrap init
, choosexiaomi-willow
as your device- firmware is currently needed for tianma touchscreen
- rndis doesn't work, and weston is currently the only working display server, so pick weston for ui if you want to know if the flash worked
pmbootstrap install
- Enter fastboot, plug USB into computer
pmbootstrap flasher flash_kernel
pmbootstrap flasher flash_rootfs
- Reboot, sometimes
fastboot reboot
works, otherwise hold down until it reboots to system. - Hopefully weston comes up with
postmarketos-demos
.
Getting a shell
RNDIS doesn't work yet, not sure why. Could be an easy fix for someone more experienced with Qualcomm USB drivers.
(Easy) USB-C to Ethernet adapter
If you have a USB-C to Ethernet adapter with drivers already compiled into mainline, this will be easy. I had an iTeknic IK-UC002 lying around, which has an RTL8152
inside, merged into mainline a while ago and already included the downstream Kconfig. device-xiaomi-willow
includes an interfaces file so that eth0
is DHCPed at boot, and then avahi-daemon
will advertise itself at hostname.local
.
So if the phone is connected to your LAN at boot through the adapter, you should be able to ssh user@xiaomi-willow.local
from your computer.
(Hard) UART
pix incoming
See also
- pmaports!1197 Initial merge request