OnePlusOSS / android

453 stars 105 forks source link

oneplus nord 2 5G boot image for rooting #60

Open NEETESH10 opened 10 months ago

NEETESH10 commented 10 months ago

please if anyone have boot image for rooting of oneplus nord 2 5G phone then please send or guide me how to and what to do

axelkar commented 7 months ago

You can download the proprietary https://oxygenupdater.com/ to download the latest OTA (over-the-air update). This does require your device needs to be old enough to have an OTA update but I think the OnePlus Nord 2 5G is old enough for that.

  1. copy the OTA to your computer
  2. unzip it
  3. use https://github.com/ssut/payload-dumper-go to extract the partitions
    # "-partitions boot" makes it only extract the boot partition
    payload-dumper-go ./payload.bin -partitions boot
  4. now you have boot.img :)