TWRP for Oneplus Nord 4
Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no responsibility for any damage that may occur from installing or using TWRP.
Support Status: Current
Maintainer: EternalMikaelson
Code Name: avalon
This means that TWRP will not allow modifications to any of the partitions that make up the Super partition on the stock ROM. All backups and restores will include the full Super partition rather than the individual dynamic partitions.
In order to flash the individual partitions, you will have to boot into fastbootd.
Current and past versions of TWRP can be found at one of the mirrors below:
You will need the platform-tools from the Android SDK on your computer. Download the platform-tools as per your operating system.
Windows users will need proper drivers installed on their computer. You can try the simple FWUL adb/fastboot ISO or the Naked ADB drivers or the Universal ADB drivers if you don't already have a working driver installed
On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
adb reboot bootloader
You should now be in fastboot mode.
Download the correct image file and copy the file into the same folder as your platform-tools. Rename the image to twrp.img and type:
fastboot flash recovery twrp.img
fastboot reboot
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
- klaus_mikaelson
2025-12-28T02:15:13Z
Merge "avalon: set max brightness" into android-12.1 - EternalMikaelson
2025-12-24T04:11:31Z
avalon: set max brightness Change-Id: I564b67d2f5a8a2fd7f8dbf6f48b9eda69ff63229 Signed-off-by: EternalMikaelson - EternalMikaelson
2025-12-23T14:39:46Z
avalon: add wipe-super.sh and bundle super_empty.img Add a recovery-side utility to reset dynamic partition metadata and include the device-specific super_empty.img for avalon. Changes: - Add twrp/recovery/root/sbin/wipe-super.sh: searches for super_empty.img (in /sbin, /tmp, /sdcard, /data/media/0) and writes it to /dev/block/by-name/super using dd; logs to /tmp/wipe-super.log; exits with clear codes. - Bundle super_empty.img into the recovery ramdisk at /sbin/super_empty.img so users do not need to copy the file manually. - Update device.mk to package the script and the bundled image into the recovery ramdisk via PRODUCT_COPY_FILES. - Ensure the script is executable at boot by adding a chmod 0755 /sbin/wipe-super.sh stanza to init.recovery.qcom.rc. Usage: - Boot TWRP, open Terminal, run: sh /sbin/wipe-super.sh - The script will use the bundled /sbin/super_empty.img by default; users can override by placing a custom super_empty.img at /sdcard/super_empty.img. Warning: - This operation overwrites the super partition metadata and is destructive; keep fastboot access available to recover if needed. Signed-off-by: EternalMikaelson - EternalMikaelson
2025-12-18T13:09:57Z
avalon: updated flags and props. - Updated recovery.fstab entries to correct FS types - Synced fstab.postinstall with current partition format - Updated twrp.flags - Fixed brightness configuration Signed-off-by: EternalMikaelson - EternalMikaelson
2025-12-18T10:29:25Z
avalon: recovery.fstab: add /data fallback Added fallback /dev/block/sda14 entry for /data to match recovery probe. Signed-off-by: EternalMikaelson