Hey guys, I came across this thread after just purchasing a Note Air 2 and wanting to root it (don't like the "phoning home to China" aspect) to install AFWall.
With the great start you all made, I managed to get the Note Air 2 rooted using Magisk, which is stable after reboots. I think the part we were missing is that the Note Air 2 doesn't use eMMC storage, it's UFS which you have to specify when using the edl tool.
* Guide assumes you already have developer mode enabled and ADB mode on your Note Air 2 *
Obtaining boot.img- Install the EDL tool mentioned earlier in the thread (https://github.com/bkerler/edl)
- Ensure you have a backend (libusb) installed, you can Google how to install libusb for your platform
- Download the SDM662 loader (https://github.com/bkerler/Loaders/b...4665_FHPRG.bin)
- Reboot in to EDL mode (adb reboot edl)
- Now we'll dump the boot partition. The new Onyx uses a and b partition slots, so for this I'm assuming 'a' is your active slot.
Quote:
edl r boot_a boot.img --memory=ufs --loader 0014d0e100000000_d40eee56f3194665_FHPRG.bin
|
- If all has worked successfully, you should see a boot.img file
Patching boot.img- Download the latest Magisk APK on to your Note Air 2 and install it
- Copy your downloaded boot.img to your device
- In the Magisk app, select "Install", then select "Patch a file" and finally select your boot.img
- It'll save a "magisk_patched" boot image in to your Downloads folder, copy this file back over to your PC
Testing & making permanent- Reboot in to fastboot mode - this'll take us to fastbootd (adb reboot fastboot)
- Now go in to bootloader mode (fastboot reboot bootloader)
- Now boot from your patched boot image (fastboot boot magisk_patched.img)
- The device should power on normally. Open the Magisk app, check that Magisk has installed correctly...
- If everything looks fine, select "Install", then select "Direct install" and wait for it to complete.
- When you reboot, you should be still rooted - success!
I've included full instructions for you to make your own patched magisk image. I've attached the pre-patched one that I used to root my Note Air 2, if you want to use that. In that case you can skip straight to the "Testing & making permanent" part.
Magisk Patched Image:
https://drive.google.com/file/d/1oje...ew?usp=sharing
Stock Boot Image:
https://drive.google.com/file/d/1fRR...ew?usp=sharing