Xiaomi Redmi Note 10 Pro (xiaomi-sweet): Difference between revisions
Appearance
Zephyr1112 (talk | contribs) Switch mainline status to "broken". Sweet currently not supported by the fork, and no drivers available on it. Not verified due to not being able to test Tags: mobile edit mobile web edit |
Add a link to redmi note 12 pro 4g page |
||
(24 intermediate revisions by 7 users not shown) | |||
Line 7: | Line 7: | ||
| releaseyear = 2021 | | releaseyear = 2021 | ||
| category = | | category = | ||
| originalsoftware = Android 11 | | originalsoftware = Android | ||
| chipset = Qualcomm SM7150-AC | | originalversion = 11 (MIUI 12) | ||
| extendedversion = 13 (MIUI 14) | |||
| chipset = Qualcomm Snapdragon 732G (SM7150-AC) | |||
| cpu = Octa-core (2x2.3 GHz Kryo 470 Gold & 6x1.8 GHz Kryo 470 Silver) | | cpu = Octa-core (2x2.3 GHz Kryo 470 Gold & 6x1.8 GHz Kryo 470 Silver) | ||
| gpu = Adreno 618 | | gpu = Adreno 618 | ||
Line 15: | Line 17: | ||
| memory = 6/8 GB | | memory = 6/8 GB | ||
| architecture = aarch64 | | architecture = aarch64 | ||
<!-- | | type = handset | ||
<!-- Features --> | |||
| status_usbnet = Y | | status_usbnet = Y | ||
| status_flashing = | | status_flashing = Y | ||
| status_touch = | | status_touch = Y | ||
| status_screen = | | status_screen = Y | ||
| | | status_3d = Y | ||
| status_xwayland = | | status_xwayland = | ||
| status_fde = | | status_fde = | ||
| | | status_emmc = Y | ||
| | | status_wifi = Y | ||
| | | status_mainline = Y | ||
| | | status_battery = P | ||
| status_audio = | | status_audio = N | ||
| status_bluetooth = | | status_bluetooth = Y | ||
| status_camera = | | status_camera = N | ||
| status_gps = | | status_gps = | ||
| status_mobiledata = | | status_mobiledata = Y | ||
| status_sms = | | status_sms = Y | ||
| status_calls = | | status_calls = Y | ||
| | | status_otg = Y | ||
| | | status_nfc = Y | ||
| | <!-- Sensors --> | ||
| | | status_accel = Y | ||
| | | status_magnet = Y | ||
| status_light = Y | |||
| status_proximity = N | |||
| status_hall = - | |||
| status_barometer = - | |||
| status_powersensor = - | |||
<!-- Misc --> | |||
| status_dvb = - | |||
| status_cameraflash = Y | |||
| status_keyboard = - | |||
| status_touchpad = - | |||
| status_usba = - | |||
| status_sdcard = Y | |||
| status_hdmidp = - | |||
| status_irtx = - | |||
| status_irrx = - | |||
| status_stylus = - | |||
| status_haptics = Y | |||
| status_ethernet = - | |||
| status_fossbootloader = N | |||
| booting = yes | |||
| packaged = no | |||
}} | }} | ||
{{Based on SoC|Qualcomm_Snapdragon_730/730G/732G_(SM7150)|Snapdragon 732G}} | {{Based on SoC|Qualcomm_Snapdragon_730/730G/732G_(SM7150)|Snapdragon 732G}} | ||
Line 46: | Line 70: | ||
* Zephyr1112 | * Zephyr1112 | ||
* Etn40ff | * Etn40ff | ||
* [[user:Atipls|atipls]] | |||
== Maintainer(s) == | == Maintainer(s) == | ||
<!-- * ''[[user:handle|Nick name]]'' --> | <!-- * ''[[user:handle|Nick name]]'' --> | ||
* The sm7150-mainline team | |||
== Users owning this device == | == Users owning this device == | ||
{{Device owners}} | {{Device owners}} | ||
== Port status == | == Port status == | ||
{{warning|THIS PORT WILL '''NOT WORK''' ON THE '''Redmi Note 12 Pro 4G (sweet_k6a)'''. IF YOU TRY FLASHING IT, YOU WILL END WITH A BRICK!. SEE '''[[Xiaomi Redmi Note 12 Pro (4G) (xiaomi-sweet k6a)|REDMI NOTE 12 PRO 4G PAGE]]''' INSTEAD }} | |||
Downstream kernel compiles with pmOS's build system but the resulting artifact does not boot. | Downstream kernel compiles with pmOS's build system but the resulting artifact does not boot. | ||
The same source code compiles also using android's build system and the resulting artifact boots. (See below for the required steps.) | The same source code compiles also using android's build system and the resulting artifact boots. (See below for the required steps.) | ||
Line 65: | Line 93: | ||
=== Unlock Bootloader (if not done) === | === Unlock Bootloader (if not done) === | ||
* First unlock your device (if not done yet). Use [https://en.miui.com/unlock/ MiUnlock] to unlock '''(Windows only)'''. // ''If MiUnlock doesn't detect your device, follow this: [https://streamable.com/3xh2n7 Google USB Drivers install guide]''' | * First unlock your device (if not done yet). Use [https://en.miui.com/unlock/ MiUnlock] to unlock '''(Windows only)'''. // '''If MiUnlock doesn't detect your device, follow this: [https://streamable.com/3xh2n7 Google USB Drivers install guide]''' | ||
* Follow the Instructions on the selected site | * Follow the Instructions on the selected site | ||
* Note: After that do not log off your Mi Account on your phone or it won't work! It may take 7 days or more to be able to unlock your device! | * Note: After that do not log off your Mi Account on your phone or it won't work! It may take 7 days or more to be able to unlock your device! | ||
Line 77: | Line 105: | ||
=== Install pmOS=== | === Install pmOS=== | ||
* Mainline aport is currently available at: https://github.com/sm7150-mainline/pmaports | |||
* Before installing, back up your '''dtbo''' partition (using twrp/android: on the device run <code>dd if=/dev/block/by-name/dtbo of=/sdcard/dtbo.img</code> and then <code>adb pull /sdcard/dtbo.img</code> on the host | |||
* Reboot into the bootloader and erase the dtbo partition: <code>adb reboot bootloader</code> and <code>fastboot erase dtbo</code> if you do not do this, '''Linux will not boot''' due to the bootloader trying to merge the dtbo with mainline dtb, which will fail. | |||
* Install pmOS like normal: pmbootstrap flasher flash_kernel/rootfs | |||
* | |||
* | |||
* | |||
=== Tips and tricks === | === Tips and tricks === | ||
Line 128: | Line 127: | ||
== Mainlining == | == Mainlining == | ||
'''NOT VERIFIED''' [http://deviceinfohw.ru/devices/item.php?item=583588 sourced from deviceinfohw] | '''NOT VERIFIED:''' [http://deviceinfohw.ru/devices/item.php?item=583588 sourced from deviceinfohw], status from [https://github.com/sm7150-mainline/linux/blob/next/arch/arm64/boot/dts/qcom/sm7150-xiaomi-sweet.dts sm7150-xiaomi-sweet DTS] '''(UNTESTED!)''' | ||
{| class="wikitable" | {| class="wikitable" | ||
| '''Hardware type''' | | '''Hardware type''' | ||
Line 136: | Line 135: | ||
| WiFi chip | | WiFi chip | ||
| wcn3990 | | wcn3990 | ||
| | | Y | ||
|- | |- | ||
| Charging IC | | Charging IC | ||
| bq2597x | | TI bq2597x (early units) / LionSemi ln8000 (new units) | ||
| Bringup in progress | |||
|- | |- | ||
| Fuel gauge | | Fuel gauge | ||
Line 152: | Line 151: | ||
| NFC | | NFC | ||
| ? (nq-nci driver on Android) | | ? (nq-nci driver on Android) | ||
| | | Bringup in progress | ||
|- | |- | ||
| Audio | | Audio | ||
| aw882xx, sm6150idpsndcar | | Awinic aw882xx, sm6150idpsndcar | ||
| | | Bringup in progress | ||
|- | |- | ||
| Accelerometer | | Accelerometer | ||
Line 163: | Line 162: | ||
|- | |- | ||
| Touchscreen | | Touchscreen | ||
| | | Goodix GT9896 (gtx8 driver on Android) | ||
| | | Y | ||
|- | |- | ||
| Display panel | | Display panel | ||
| | | Samsung E3 Super AMOLED (dsi_k6_38_0c_0a_fhd_dsc_video_display interface on Android) | ||
| | | Y (dsi0) | ||
|- | |- | ||
| Ambient Light Sensor | | Ambient Light Sensor | ||
Line 188: | Line 187: | ||
| UFS | | UFS | ||
| ? (64GB) / Micron MT128GASAO4U21 (128GB) | | ? (64GB) / Micron MT128GASAO4U21 (128GB) | ||
| | | Y / Y | ||
|- | |- | ||
| Memory | | Memory | ||
| SK Hynix H9HQ15AFAMBDAR | | SK Hynix H9HQ15AFAMBDAR | ||
| | | Y | ||
|- | |- | ||
| Haptics | | Haptics | ||
| Awinic AW8624 | | Awinic AW8624 | ||
| Y | |||
|- | |||
| SD Card Slot | |||
| ? | |||
| Y | |||
|- | |||
| USB | |||
| ? | |||
| Y | |||
|- | |||
| Flash | |||
| ? | | ? | ||
| Y | |||
|} | |} | ||
=== Other === | === Other === | ||
* Mainline kernel fork | * Mainline kernel fork: https://github.com/sm7150-mainline/linux | ||
* EDK II Port: https://github.com/dopaemon/edk2-sweet | * EDK II Port: https://github.com/dopaemon/edk2-sweet |
Latest revision as of 07:25, 22 September 2024
This device has been tested with postmarketOS, but its device package has not yet been added to the postmarketOS repositories.
This means that it cannot be selected in pmbootstrap.
This means that it cannot be selected in pmbootstrap.
![]() Xiaomi Redmi Note 10 Pro | |
Manufacturer | Xiaomi |
---|---|
Name | Redmi Note 10 Pro |
Codename | xiaomi-sweet |
Released | 2021 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 732G (SM7150-AC) |
CPU | Octa-core (2x2.3 GHz Kryo 470 Gold & 6x1.8 GHz Kryo 470 Silver) |
GPU | Adreno 618 |
Display | 1080 x 2400, 20:9, 6.67", AMOLED, 120Hz, 450/1200 nits |
Storage | 64/128 GB |
Memory | 6/8 GB |
Architecture | aarch64 |
Software | |
Original software | Android |
Original version | 11 (MIUI 12) |
Extended version | 13 (MIUI 14) |
FOSS bootloader | no |
postmarketOS | |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
Works |
SD card |
Works |
Battery |
Partial |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
Works |
Audio |
Broken |
Camera |
Broken |
Camera Flash |
Works |
Connectivity | |
WiFi |
Works |
Bluetooth |
Works |
GPS |
No data |
NFC |
Works |
Modem | |
Calls |
Works |
SMS |
Works |
Mobile data |
Works |
Miscellaneous | |
FDE |
No data |
USB OTG |
Works |
Sensors | |
Accelerometer |
Works |
Magnetometer |
Works |
Ambient Light |
Works |
Proximity |
Broken |
Haptics |
Works |
This device is based on the Snapdragon 732G. See the SoC page for common tips, guides and troubleshooting steps |
Contributors
- Zephyr1112
- Etn40ff
- atipls
Maintainer(s)
- The sm7150-mainline team
Users owning this device
- Adrian (Notes: goodix/fpc/bq, pmOS development device)
- AnaxMorden (Notes: Using Global 6/128GB (CrDroid))
- Atipls (Notes: LineageOS, attempting mainline)
- DymondZ (Notes: Global 6/64GB, AOSP)
- Etn40ff (Notes: 8/128GB, AOSP)
- Manofdiamond (Notes: Using Indian 6/128GB (AOSP))
- Tau (Notes: Global 6GB/64GB (CrDroid))
- Thedanilfez (Notes: PostmarketOS edge, trying mainline kernel)
- Vvladii (Notes: Using Global 6/128GB (AOSP))
- Zephyr1112 (Notes: 6/128GB, postmarketOS - Backup device, dead BMS)
Port status
WARNING: THIS PORT WILL NOT WORK ON THE Redmi Note 12 Pro 4G (sweet_k6a). IF YOU TRY FLASHING IT, YOU WILL END WITH A BRICK!. SEE REDMI NOTE 12 PRO 4G PAGE INSTEAD |
Downstream kernel compiles with pmOS's build system but the resulting artifact does not boot. The same source code compiles also using android's build system and the resulting artifact boots. (See below for the required steps.)
Flash modes
- Fastboot mode:
adb reboot bootloader
)
+ ( - Fastbootd mode:
adb reboot fastboot
- Recovery mode:
adb reboot recovery
,fastboot reboot recovery
) + (
Installation Instructions
Unlock Bootloader (if not done)
- First unlock your device (if not done yet). Use MiUnlock to unlock (Windows only). // If MiUnlock doesn't detect your device, follow this: Google USB Drivers install guide
- Follow the Instructions on the selected site
- Note: After that do not log off your Mi Account on your phone or it won't work! It may take 7 days or more to be able to unlock your device!
Install TWRP on Redmi Note 10 Pro
- Follow these Instructions.
- Turn the device off (or restart also works)
- Note: You may need to connect your device to a computer with a USB cord or the phone will skip boot to recovery.
- Hold and button
- Keep holding until you see the TWRP recovery Logo.
Install pmOS
- Mainline aport is currently available at: https://github.com/sm7150-mainline/pmaports
- Before installing, back up your dtbo partition (using twrp/android: on the device run
dd if=/dev/block/by-name/dtbo of=/sdcard/dtbo.img
and thenadb pull /sdcard/dtbo.img
on the host - Reboot into the bootloader and erase the dtbo partition:
adb reboot bootloader
andfastboot erase dtbo
if you do not do this, Linux will not boot due to the bootloader trying to merge the dtbo with mainline dtb, which will fail. - Install pmOS like normal: pmbootstrap flasher flash_kernel/rootfs
Tips and tricks
If pmOS is installed on a removable SD card android will continuously want mount and to reformat it. Unfortunately it does not look like it is possible to prevent this within android. A somewhat heavy duty workaround is to unbind the device, this requires root:
- First find out which is the driver responsible for the sdcard:
# readlink /sys/block/mmcblk0
../devices/platform/soc/8804000.sdhci/mmc_host/mmc0/mmc0:0001/block/mmcblk0
- then unbind it
# echo 8804000.sdhci > /sys/bus/platform/drivers/sdhci_msm/unbind
Mainlining
NOT VERIFIED: sourced from deviceinfohw, status from sm7150-xiaomi-sweet DTS (UNTESTED!)
Hardware type | Chip | Mainline status |
WiFi chip | wcn3990 | Y |
Charging IC | TI bq2597x (early units) / LionSemi ln8000 (new units) | Bringup in progress |
Fuel gauge | ? | ? |
GNSS | ? | ? |
NFC | ? (nq-nci driver on Android) | Bringup in progress |
Audio | Awinic aw882xx, sm6150idpsndcar | Bringup in progress |
Accelerometer | TDK icm4x6xx | N/A |
Touchscreen | Goodix GT9896 (gtx8 driver on Android) | Y |
Display panel | Samsung E3 Super AMOLED (dsi_k6_38_0c_0a_fhd_dsc_video_display interface on Android) | Y (dsi0) |
Ambient Light Sensor | rohm_bu27030 | ? |
Gyroscope | icm4x6xx | ? |
Magnetometer | ak0991x | ? |
Video | Adreno 618 | N/A |
UFS | ? (64GB) / Micron MT128GASAO4U21 (128GB) | Y / Y |
Memory | SK Hynix H9HQ15AFAMBDAR | Y |
Haptics | Awinic AW8624 | Y |
SD Card Slot | ? | Y |
USB | ? | Y |
Flash | ? | Y |
Other
- Mainline kernel fork: https://github.com/sm7150-mainline/linux
- EDK II Port: https://github.com/dopaemon/edk2-sweet