[Android General] adacaccia@gmail.com:
[SIZE=+2]This thread has been created

for

Questions & Answers/Troubleshooting[/SIZE]​

[SIZE=+2]Specific to[/SIZE]

Ulefone Note 9P​

There are a number of "easy" tutorials on how to root the rather new Ulefone Note 9P, but none of them works as inteded, as of today.

After I've found (by my own research) how to unlock the phone, I'm sharing the easy procedure here in hope someone can go a step further and actually root it.

Ulefone Note 9P unlock procedure

- become a developer by tapping 7 times the build number in Phone settings;

- from the Developer Menu, enable OEM unlock and USB Debug

- Install Android platform_tools on your PC (I'm personally on Linux/Ubuntu, so for me it's just a matter of unpacking the archive and fixing some missing libraries)

- Connect the phone to the PC via an USB DATA cable

- Give consensus for USB debug, and allow the PC to access

- "./adb devices" should list the connected phone as "device" (it it's "unauthorized", go to Developer Menu and delete past authorizations for USB Debug)

- "./adb reboot fastboot"

- "./fastboot devices" (check the phone is still there)

- "./fastboot flashing unlock_critical" (OEM unlock and USER DATA WIPEOUT!)

Now my Ulefone Note 9P is actually unlocked (check: from the Developer Menu, you can't re-enable OEM Lock, since it is grayed and reports the bootloader is unlocked already).

Ulefone Note 9P root procedure (help is needed here!)

- Download MagiskManager-v7.5.1.apk

- "./adb install MagiskManager-v7.5.1.apk"

- MagiskManager icon is now on the phone screen

- Download Ulefone Note 9P stock Android 10 image (GQ3092SH1_HC_M629_Ulefone_EEA_20200701_V12.tar.gz)

- Unpack the archive and extract "boot.img"

- Copy the boot.img to the phone via standard file transfer, putting e.g. in the "Download" folder on the phone

- Open MagiskManager on the phone, it says Magisk is not installed

- Click Install, then Install (again), then "Select and update a file"

- Browse and search the boot.img you just downloaded to the phone

- Magisk starts to patch it, then saves the result as "magisk_patched.img" in the same folder

- Transfer the "magisk_patched.img" from the phone back to the PC via standard file transfer

- Download "Smart Phone Flash Tool" (SP_Flash_Tool-5.1916_Linux.zip)

- Open it: a "scatter file" is required for any operation, and it can be found in the same directory where you unpacked the stock ROM (filename: "MT6765_Android_scatter.txt")

- In the Download tab, unselect all partitions, then only select the "boot" partition;

- click on the left, where the filename is, and browse where "magisk_patched.img" is, the select it)

- Now click "Download" in the SP Flash Tool: it waits for the kernel to find the "Product: MT65xx Preloader // Manufacturer: MediaTek"

- reboot the phone while still leaving it connected to the PC

- during reboot, the SP Flash Tool activates and writes the boot partition to the phone.

- Then, currently, the Ulefone Note 9P enters a reboot loop, as soon as you detach it from the PC (it won't even boot until then).

Ulefone Note 9P unbrick procedure

- So the Ulefone Note 9P is in a bootloop now!

- Luckily, even that short boot time is enough to access the "MT65xx Preloader" device in the phone.

- So start the SP Falsh Tool, load scatterfile as before, unselect all partitions then select only boot;

- In the "boot" row, all left, there's the filename: browse and select the original "boot.img" from the stock ROM

- Click Download, and wait for the Preloader to apper...

- Ulefone Note 9P is now able to boot normally, it's still unlocked, but also unrooted...

Please keep discussion focused, on questions pertaining to this Device