OnePlus 7T Pro

https://www.androidcentral.com/how-root-your-oneplus-phone

https://forum.xda-developers.com/7t-pro/how-to/10-0-3-patched-boot-image-oneplus-7t-pro-t3986351

https://github.com/topjohnwu/Magisk/releases/tag/v20.2

https://github.com/topjohnwu/Magisk/releases/tag/manager-v7.5.0

https://www.xda-developers.com/oneplus-7t-pro-development-update-unbrick-tool-magisk-installer-custom-kernels/

Bootloader unlock

Fejlesztői lehetőségek

„OEM unlocking” BE

„Advanced Reboot” BE

Telefon reboot a „Bootloader”-be

fastboot oem unlock

Magisk telepítése

OS v10.0.7-ig

* https://forum.xda-developers.com/7t-pro/how-to/magisk-auto-install-tool-magisk-t4001471

Részletek

java -jar MagiskInstaller_hotdog_20191111.jar

****************************************
* Magisk 20.1(20101) Installer 20191111
* for OnePlus 7T / 7T Pro [hotdog(/b/s/g/t)]
* by MlgmXyysd
* Tools 1.0.41(29.0.5-5949299)
* QQ Chat group: 855219808
* Telegram: t.me/Code_Of_MeowCat
****************************************
* Please make sure that USB debugging is already
* enabled on your OnePlus 7T / 7T Pro [hotdog(/b/s/g/t)] and that your
* computer has and only has one device connected
* Do NOT do ANYTHING while the program is running
* unless the program prompts you to do something
****************************************
* Input [y] and press [Enter] to continue: y
- Extracting files...
- Extracted adb.exe
- Extracted AdbWinApi.dll
- Extracted AdbWinUsbApi.dll
- Extracted boot_patch.sh
- Extracted fastboot.exe
- Extracted hotdog.img
- Extracted magisk.apk
- Extracted magiskboot
- Extracted magiskinit
- Extracted util_functions.sh
- Checking connected devices...
- Installing Magisk Manager...
- Booting to bootloader...
- Booting to recovery environment...

itt megakadt a telefon a fastboot menüben, úgyhogy először megpróbáltam recovery-be kézzel indítani a telón, de akkor a gyári töltött be, nem a TWRP (sideload-os, gyökér....), majd visszamentem kézzel a fastboot menübe és újraindítottam a jar-t a gépen:

java -jar MagiskInstaller_hotdog_20191111.jar

****************************************
* Magisk 20.1(20101) Installer 20191111
* for OnePlus 7T / 7T Pro [hotdog(/b/s/g/t)]
* by MlgmXyysd
* Tools 1.0.41(29.0.5-5949299)
* QQ Chat group: 855219808
* Telegram: t.me/Code_Of_MeowCat
****************************************
* Please make sure that USB debugging is already
* enabled on your OnePlus 7T / 7T Pro [hotdog(/b/s/g/t)] and that your
* computer has and only has one device connected
* Do NOT do ANYTHING while the program is running
* unless the program prompts you to do something
****************************************
* Input [y] and press [Enter] to continue: y
- Extracting files...
- Skipped adb.exe(already exist)
- Skipped AdbWinApi.dll(already exist)
- Skipped AdbWinUsbApi.dll(already exist)
- Skipped boot_patch.sh(already exist)
- Skipped fastboot.exe(already exist)
- Skipped hotdog.img(already exist)
- Skipped magisk.apk(already exist)
- Skipped magiskboot(already exist)
- Skipped magiskinit(already exist)
- Skipped util_functions.sh(already exist)
- Checking connected devices...
! It looks like you haven't connected to any devices yet(remote connection is not allowed)
! Connect first, then input [y] and press [Enter] to continue: y
- Checking connected devices...
! It looks like you haven't connected to any devices yet(remote connection is not allowed)
! Connect first, then input [y] and press [Enter] to continue:
! It looks like you haven't connected to any devices yet(remote connection is not allowed)
! Connect first, then input [y] and press [Enter] to continue: y
- Checking connected devices...
- Recovery environment detected
- Creating temporary file...
- Backing up current boot_a partition...
- Backing up current boot_b partition...
- Changing file permission...
- Patching boot for slot a...
- Patching boot for slot b...
- Rebooting to bootloader...
- Flashing boot_a partition...
- Flashing boot_b partition...
- Booting...
- Removing temporary file...
- Server process has stopped.
! Unable to delete: d:\Batyu\assets\adb.exe
- Done
****************************************
* Read this:
* Now your device has been installed Magisk and will be boot to Android
* The original boot image has been backed up in this folder
* Please connect to network and open the Magisk Manager(if installed) in your devices
* And follow the prompts to repair the running environment online
* QQ Chat group: 855219808
* Telegram: t.me/Code_Of_MeowCat
****************************************
- Input [exit] and press [Enter] to exit: exit

OS v10.0.8-tól

Gyári firmware bundle beszerzése

letöltés és kicsomagolás: https://www.oneplus.com/hu/support/softwareupgrade/details?code=PM1574162297465

Payload dumper beszerzése

letöltése és kicsomagolása: https://gist.github.com/ius/42bd02a5df2226633a342ab7a9c60f15/archive/48ffe1eee59af9a7da883d9ec7902d1507428dc4.zip

virtenv létrehozás:

python3 -m virtualenv .virt --system-site-packages .virt/bin/python -m pip install protobuf

Bundle kicsomagolása:

mkdir payload cd payload ../.virt/bin/python ../payload_dumper/payload_dumper.py ../payload.bin

Legyen a telón a legfrissebb Magisk Manager

A Magisk Managerrel patcheljük meg az tárhely gyökerébe feltöltőtt ~100 MiB-os boot firmware-t:

Feltöltés a teló sd kártyájára (~100 MiB):

adb push -p boot.img /sdcard/

Kattintsunk a felső „INSTALL” gombra

Ott válasszuk ki, hogy fájl akarunk patchelni

Majd válasszuk ki az /sdcard/boot_.img és indul is a móka

A patchelést követően töltsük le a patchelt firmware-t (~38 MiB)

adb pull -p /sdcard/Download/magisk_patched.img magisk_patched.img

Indítsuk újra a telót bootloader módban:

adb reboot bootloader

Töltsük fel a patchelt image-et mind a két slot-ba:

fastboot flash boot_a magisk_patched.img fastboot flash boot_b magisk_patched.img

Indítsuk újra a telót:

fastboot reboot

Takarítás:

adb shell rm /sdcard/boot.img /sdcard/Download/magisk_patched.img

OTA után is legyen Magisk

https://topjohnwu.github.io/Magisk/ota.html#devices-with-ab-partitions

Hiányzó OEM programok

https://www.apkmirror.com/apk/oneplus-ltd/oneplus-recorder/

https://www.apkmirror.com/apk/oneplus-ltd/oneplus-weather/