View Single Post
Old 01-07-2022, 06:33 PM   #52
Cascade94
Junior Member
Cascade94 can eat soup with a fork.Cascade94 can eat soup with a fork.Cascade94 can eat soup with a fork.Cascade94 can eat soup with a fork.Cascade94 can eat soup with a fork.Cascade94 can eat soup with a fork.Cascade94 can eat soup with a fork.Cascade94 can eat soup with a fork.Cascade94 can eat soup with a fork.Cascade94 can eat soup with a fork.Cascade94 can eat soup with a fork.
 
Posts: 3
Karma: 9488
Join Date: Jan 2022
Device: Note Air 2
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
  1. Install the EDL tool mentioned earlier in the thread (https://github.com/bkerler/edl)
  2. Ensure you have a backend (libusb) installed, you can Google how to install libusb for your platform
  3. Download the SDM662 loader (https://github.com/bkerler/Loaders/b...4665_FHPRG.bin)
  4. Reboot in to EDL mode (adb reboot edl)
  5. 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
  6. If all has worked successfully, you should see a boot.img file

Patching boot.img
  1. Download the latest Magisk APK on to your Note Air 2 and install it
  2. Copy your downloaded boot.img to your device
  3. In the Magisk app, select "Install", then select "Patch a file" and finally select your boot.img
  4. It'll save a "magisk_patched" boot image in to your Downloads folder, copy this file back over to your PC

Testing & making permanent
  1. Reboot in to fastboot mode - this'll take us to fastbootd (adb reboot fastboot)
  2. Now go in to bootloader mode (fastboot reboot bootloader)
  3. Now boot from your patched boot image (fastboot boot magisk_patched.img)
  4. The device should power on normally. Open the Magisk app, check that Magisk has installed correctly...
  5. If everything looks fine, select "Install", then select "Direct install" and wait for it to complete.
  6. 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
Cascade94 is offline   Reply With Quote