OnePlus 8T (KB2003): https://wiki.lineageos.org/devices/kebab/
- OTA payload dumper, Archlinux: AUR package
payload-dumper-go-bin
- Android SDK platform tools, Archlinux: Extra package
android-tools
- GNU coreutils, Archlinux: Core package
coreutils
- OxygenOS firmware image
KB2003_14.0.0.603(EX01): KB2003_11.H.26_3260_202409291635
(download withcurl -O <URL>
) - Additional firmware partition images
dtbo.img
andvbmeta.img
, Download - LineageOS for microG 22.1
- Recovery image file
- OS zip file
- Check all downloads with
sha256sum
ormd5sum
and compare them to the ones online
- Extract firmware images
- Unzip the
payload.bin
file out of the OxygenOS firmware image zip - Dump the partition images:
payload-dumper-go -o . payload.bin
(Caution: This may overwrite existing files likedtbo.img
andvbmeta.img
!)
- Unzip the
- Enable USB Debugging
- Enable:
System -> Settings -> Developer options -> Debugging -> USB-Debugging
- Check connection:
adb devices
- Enable:
- Update firmware
- Reboot to recovery:
adb reboot recovery
- Enable:
Advanced -> Enable ADB
- Check for DDR type:
adb shell cat /proc/devinfo/ddr_type
- Output
Device version: DDR4
(usexbl_config.img
andxbl.img
) - Output
Device version: DDR5
(usexbl_config_lp5.img
andxbl_lp5.img
)
- Output
- Enter fastboot:
adb reboot fastboot
- Check connection:
fastboot devices
- Check connection:
- Update firmware
- If the latest required firmware is already installed this is optional only for vendor firmware.
Do continue with the required additional partitions! - Update firmware, part 1: Appendix A
- Update firmware, part 2: Appendix B (WARNING: Use the correct files for your DDR type!)
- Update additional partitions: Appendix C (This is always required!)
- If the latest required firmware is already installed this is optional only for vendor firmware.
- Reboot to recovery:
- Update Recovery
- Flash LineageOS recovery image:
fastboot flash --slot=all recovery lineage-22.1-xxxxxxxx-microG-kebab-recovery.img
- Reboot:
fastboot reboot bootloader
- Flash LineageOS recovery image:
- Update OS
- Start recovery
- Enable:
Advanced -> Enable ADB
- Initiate sideloading:
Apply Update -> Apply from ADB
- Sideload:
adb sideload lineage-22.1-xxxxxxxx-microG-kebab.zip
- Prompt:
To install additional packages... Do you want to reboot recovery now? -> NO
- Start:
Reboot System now
- First start of the new OS
- Check user data
- Check self test in microG settings
- Reboot to recovery and redo the steps from
Update OS
to also update the second slot
- Download newer OxygenOS firmware from the link in Resources
- Download the latest additional firmware partition images from the link in Resources
- Follow the Full upgrade guide for these steps
- Extract firmware images
- Enable USB Debugging (only relevant if disabled)
- Update firmware (Tip: For a possible error situation, remember the current slot shown in recovery mode beforehand!)
- Reboot:
fastboot reboot bootloader
- Start recovery
- Start:
Reboot System now
Source: Update firmware on kebab: 7.
fastboot flash --slot=all abl abl.img
fastboot flash --slot=all aop aop.img
fastboot flash --slot=all bluetooth bluetooth.img
fastboot flash --slot=all cmnlib64 cmnlib64.img
fastboot flash --slot=all cmnlib cmnlib.img
fastboot flash --slot=all devcfg devcfg.img
fastboot flash --slot=all dsp dsp.img
fastboot flash --slot=all featenabler featenabler.img
fastboot flash --slot=all hyp hyp.img
fastboot flash --slot=all imagefv imagefv.img
fastboot flash --slot=all keymaster keymaster.img
fastboot flash --slot=all logo logo.img
fastboot flash --slot=all mdm_oem_stanvbk mdm_oem_stanvbk.img
fastboot flash --slot=all modem modem.img
fastboot flash --slot=all multiimgoem multiimgoem.img
fastboot flash --slot=all qupfw qupfw.img
fastboot flash --slot=all spunvm spunvm.img
fastboot flash --slot=all storsec storsec.img
fastboot flash --slot=all tz tz.img
fastboot flash --slot=all uefisecapp uefisecapp.img
Source: Update firmware on kebab: 8.
WARNING: Use the correct files for your DDR type!
For type DDR4
:
fastboot flash --slot=all xbl_config xbl_config.img
fastboot flash --slot=all xbl xbl.img
For type DDR5
:
fastboot flash --slot=all xbl_config xbl_config_lp5.img
fastboot flash --slot=all xbl xbl_lp5.img
Source: Install LineageOS on kebab: Flashing additional partitions
fastboot flash --slot=all dtbo lineage-22.1-xxxxxxxx-microG-kebab-dtbo.img
fastboot flash --slot=all vbmeta lineage-22.1-xxxxxxxx-microG-kebab-vbmeta.img