ZTE Nubia Red Magic 6 6 Pro 6s 6s Pro - phhusson/treble_experimentations GitHub Wiki
Device
AOSP boots, WiFi, cellular data works, sound works
Steps to install
PWR + VOL+ --> Recovery
PWR + VOL- --> Bootloader
- Unlock bootloader in fastboot mode (
vbmeta.img
andvbmeta_system.img
are taken from the STOCK ROM, or it will bootloop!):
WARNING: Unlocking will VOID YOUR WARRANTY and make fingerprint UNUSABLE! You may try this to recover fingerprint: https://forum.xda-developers.com/t/guide-for-calibration-finger-print-after-loss-data-calibration.4132961/ WITH STOCK ROM, to see if it worked!$ fastboot flashing unlock $ fastboot --disable-verification --disable-verity flash vbmeta vbmeta.img $ fastboot --disable-verification --disable-verity flash vbmeta_system vbmeta_system.img
- Enable ADB from stock ROM
- Enter
fastbootd
mode from adb:$ adb reboot fastboot
- Or enter
fastbootd
mode from fastboot:$ fastboot reboot fastboot
- Flash this image with the
fastboot
utility:$ fastboot flash system system-td-arm64-ab-vanilla.img
- Reboot (or wipe device from stock recovery).
Hardware support
Component | Comment |
---|---|
Camera | Works |
Speaker / Mic | Works better with "Qualcomm features / Use alternative audio policy" |
Headphone | Works |
USB DAC | Works |
Type-C DP Alt mode | Works |
GPS | Works |
Bluetooth | Works |
NFC ** | Works (Global version) |
WiFi | Works |
SIM / Mobile Data / Voice | Works |
Tethering | Works |
Proximity Sensor | Works |
Accelerometer / Gyroscope | Works |
VoLTE | Not working (China Telecom) (Works with steps in https://github.com/phhusson/treble_experimentations/issues/1681, but not persisted across reboots) |
RCS Message * | Works |
Fingerprint * | Works |
Brightness | Works (Select "Set alternative brightness curve" and "Force alternative backlight scale" in phh setting > misc features > backlight) |
Auto Brightness * | Works |
Offline Charging | Works |
Quick Charging | Works |
Fan Control * | Works with "Nubia features / FAN speed" (Supported auto start/stop depending on charging state) |
Logo LED | Not working |
RGB LEDs | Works with "Nubia features / REDMAGIC RGB" |
Display Refreshing Rate | Supports 60/90/120/144/165Hz with "Misc features / Force FPS" |
Double Tap To Wake Up (dt2w) * | Works with "Nubia features / Enable DT2W" |
Shoulder Buttons/triggers * | Works (need 3rd app to map key. (tested with Octopus)) |
Back Panel Button | Not working |
Side Switch | Not working |
Vibration | Works |
* (TrebleDroid Android >= 14)
** The Chinese version doesn't have NFC. If you want to stop hwmanager from flooring log with (init: try to start nfc):
- Root with magisk and install module magic_overlayfs.
- Then open termux and run cmd:
su -mm -c magic_remount_rw
to enable r/w. - Open any file explorer and go to
/odm/etc/vintf/
then removemanifest_nfc.xml
. - Next, go to
/odm/etc/permissions/sku_nfc/
and remove all files starting withandroid.hardware.nfc
.
Tweaks
Name | Comment |
---|---|
Rounded corners | Set "Misc features / Set rounded corners diameter" to 30~40 and reboot |
Boost CPU | For faster fingerprint scanning |
DTS:X ultra | Need rooted and install this magisk module DTSX-Ultra-ZTE-A2020G-Pro-Magisk-Module |
Notes
- You can re-lock your bootloader with stock ROM to restore your fingerprint. Back up your persist partition.
- Nubia is using the test key(external/avb/test/data/testkey_rsa4096.pem) to sign boot, vendor_boot, dtbo and odm partitions. You can create a new
vbmeta.img
with this key from AOSP and keep Magisk with a locked bootloader, also get the working fingerprint. - Unbrick tool (Enter EDL mode (in bootloader, screen will turn black), Open miflashtool > select
images
folder and click "flash". After finish hold power button 10-15s to restart. Then select format userdata):
- 6/6pro: https://drive.google.com/file/d/15QjRvedmB7J7bJPqffMdKQ4qnWMtIWm-/view?usp=drivesdk
- 6s/6spro: https://drive.google.com/file/d/12udr9yKexzLCpBjB0lwhSNU6C6poKOhR/view?usp=sharing
Tested By:
- notsyncing - NX669J(CN), AOSP 11.0 v302 - 2021/03/12 - Template created by @zguithues and @hackintosh5
- boydaihungst - NX669J(CN), TrebleDroid AOSP 14.0 2023/10/21