[RED Hydrogen One Guides, News, & Discussion] hikari_calyx:
Hi all,

For those who don't know, I'm known for rooting HMD Nokia Android Phones.

So after few hours testing, I finally found out how to root it.

Note, I've only dumped stock ROM from Verizon Wireless Variant as it's the only variant I've obtained so far. For non-operator variant and AT&T variant, I need your help for firmware dumping in case you want to restore your phone back to factory original state or OTA update if possible.

Known working build: H1A1000.010ho.01.01.01r.109

Procedure is pretty regular.

Step 1: Unlock the bootloader

Unlike HMD Nokia Android Phones, bootloader unlock is straight forward.

Just enable OEM unlocking in developer options, reboot your phone to Fastboot mode and unlock the bootloader with following command:

fastboot flashing unlock

Then confirm unlock on the phone.

As I've always recommended for HMD Nokia Phones, you should do critical unlock as well:

fastboot flashing unlock_critical

Then confirm unlock on the phone.

Strange enough, this phone doesn't have unlock warning after unlocked. Not sure about open market release or AT&T Variant.

Step 2: Install Magisk Manager and allow storage permission

You can download it from Magisk release topic or https://github.com/topjohnwu/magisk/releases

Step 3: Reboot to fastboot mode and flash patched boot image

You can download required patched boot image and representative stock boot image from here: https://www.androidfilehost.com/?w=files&flid=297410

For Verizon Variant that available with build "H1A1000.010ho.01.01.01r.109" so far, download "H1A1000.010ho.01.01.01r.109-boot_magisk_patched_193.img". You can check software version yourself if correct.

The command is straight forward too:

fastboot flash boot /path/to/H1A1000.010ho.01.01.01r.109-boot_magisk_patched_193.img

If you use Platform tools from Google officially, you needn't to care about your current slot actually.

Now reboot your phone:

fastboot reboot

Step 4: Restore stock boot image and reinstall Magisk (For OTA update ability although no update for months)

After your phone booted, enable USB debugging and copy the file "H1A1000.010ho.01.01.01r.109-boot.img" you downloaded along with patched boot image. I would assume you copied it to root directory of internal storage.

So execute following ADB commands:

$ su
(Confirm Root permission on the phone)
# getprop ro.boot.slot_suffix

If it returns a, you'll need to execute this command:

# dd if=/storage/emulated/0/H1A1000.010ho.01.01.01r.109-boot.img of=/dev/block/bootdevice/by-name/boot_a

If it returns b, you'll need to execute this command:

# dd if=/storage/emulated/0/H1A1000.010ho.01.01.01r.109-boot.img of=/dev/block/bootdevice/by-name/boot_b

Then open Magisk Manager on your phone, tap no thanks if it asks for extra modules, then tap "Install" at the right of Magisk version, choose "Direct Install", and wait for the procedure complete.

If installed successfully, you can reboot your phone on Magisk Manager now.

That's it!

At least this phone will work with Treble GSI build, so you should have idea about how could I dump the phone.

For Treble GSI report, read this: https://github.com/phhusson/treble_experimentations/wiki/Red-Hydrogen-One