yashsingh1/xdaforums huggingface dataset:
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] iMaterial:
Anyone that has a working TWRP on Pie 9 Oct update 5.16A? I have stock pie and latest OTA update 00WW_5_16A with stock boot on Slot A, but I don't know how to backup an image of Slot A only Slot B where an older NB1 Twrp OTA update is flashed with Magisk installed also.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] riky1234:
Can someone help me?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] bunzo:
Hello, is this the first time you try to flash this phone, is the bootloader (critical) unlocked?

Apart from the fact that there are more recent versions of TWRP recovery than the one that appears in the image and to flash it (as long as the bootloader is unlocked and allows it) the correct command should be something like "fastboot flash recovery twrp-.... There is a lot of information on this forum about it.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] shubhamraj:
the device boots only to recovery... I m not able to boot to system
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
Flash magisk bro... It will boot!!!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ironman38102:
Thats an OTA zip so maybe only through stock recovery.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
WTF? Device is only booting up to recovery!

Please help!!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] dg28gadhavi:
1st thing what u did ?

2ndly Did u flashed twrp to boot partitions or used installer zip ?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ironman38102:
Did you flash Magisk 16.7 Beta?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] dg28gadhavi:
Yeah Magisk beta 16.7+ is meant for A/B so flash 16.7+ only and if anyone facing Wifi issues tag me i got one custom kernel for You peeps just lazy to make thread !

One more thing i got a new cloud server aa a gift So i initiated Working on P might take wk or 2 can't assure but will try my best Thank you and regards !
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ironman38102:
I could make a thread for you if you want. Asking people to PM isnt exactly convenient
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] dg28gadhavi:
Will see am currently focusing on P so neglecting kernel wanna release all together in a uni-thread :)
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ironman38102:
May I ask if its AOSP or LineageOS?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
I flashed twrp to boot partitions
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ironman38102:
That was the mistake
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
Hey bud! If you are going to make Android P for this device then please make the lineage os one!

---------- Post added at 06:02 PM ---------- Previous post was at 06:01 PM ----------

Oh crap! What should I do then?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ironman38102:
Try installing the zip provided and see if that helps. I have no idea tbh
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] 2WildFirE:
First read the the OP and do what you read there. If it won't boot system after correct flash. Try to switch the slot

Powered by View 10
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] dg28gadhavi:
Aosp 1st then rest will be easy

---------- Post added at 06:16 PM ---------- Previous post was at 06:13 PM ----------

Revert back to stock boot images 1st!!!! Then Temporarily boot twrp by fastboot boot ***.img and flash the installer zip...
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ironman38102:
Makes sense. AOSP is easier to build. Good luck with that.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
Does anyone faces issues modding systemui.apk??? I tried modding systemui.apk n compiled successfully buh after replacing n fixing permission, phone stuck on Android ksis starting screen and had to reflash rom... Even i tried restoring twrp backups buh didnt helped.

2. I modded my services.jar and patched my services.jar and flash dis font changer https://xdaforums.com/crossdevice-dev/sony/root-font-selector-igor-eisberg-t3367521/page42 but after changing a font, it doesn't take effects at all buh using magisk fonts module to change fonts and working fine.... Anyone gat ideas please!!!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] rocalino:
I need to unlock bootloader first to installa TWRP?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] 2WildFirE:
Yes

Powered by View 10
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
[MENTION=3424660]2WildFirE[/MENTION] yhu mind checking for me please....
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
Good news! I finally got aosp 9.0 working in this device!

But there's a lot of things not working

Working:

Boots

Magisk rootable

Not working:

Hardware keys(have to use the software keys for some reason)

Everything else expect the things that are mentioned working

Please note that it's working on my TA-1004 and I'm not sure about other ones!

I will keep testing and make a proper thread!

Edit:

After using for like 15 minutes the device started rebooting and is stuck in a bootloop
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ironman38102:
How many people are developing AOSP? I thought there was one more guy ?

The build is proper Alpha it seems. It'll need alot of work before its usable, you should make a thread so everyone can try to help with the issues
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
This is my 2nd time making a ROM!

The first device I worked for was the Samsung galaxy s2. I made twrp and lineage os for that but this one seems more complicated but I'll try my best
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ironman38102:
Wow S2. Things have changed alot since then bro good luck with the build. Nice to see people developing for this device. I would build one myself but I haven't got the space in my SSD for linux.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] debharlock:
Hello, in July I have installed unofficial twrp and I my wifi was gone :)

Now, how can I do to install the official twrp and bring back my wifi working?

thanks
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ironman38102:
You weren't suppose to install to the boot partition. You'll have to revert to stock images
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] debharlock:
I don't understand which image I have to download. My build is 4_88B_SP2

I don't want brick my phone even if i'm thinking to change

Thanks

---------- Post added at 06:49 PM ---------- Previous post was at 05:53 PM ----------

Do It works with August patch?

thanks
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] Trissi:
Can't confirm personally, but it works fine with June patch.

It should work with all patches as it uses ramdisk injection.

Just make sure to boot from the img and flash the zip from there.

DO NOT flash the .img
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] debharlock:
Ok. official version of twrp works with august patch :)

just installed and rooted
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] hermanlee:
What a great progress there has been made!

What is the current status of development of LineageOS?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] 2WildFirE:
Guys PLS Back top topic. Thanks

Gesendet von meinem TA-1012 mit Tapatalk
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
Any luck with SD card working in twrp??
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
Sorry but no one's working on LineageOS for this device because this TWRP isn't stable enough (eg. Not being able to use a sd card)

I'm currently working on an AOSP Android 9.0 pie but it's not been very successful because it randomly boots and almost nothing is working. So yeah it will take some. Maybe 1-2 months? I'mma keep trying to make AOSP first and will make LineageOS when the pie version of it is released but until then I can't give any ETA.

Have a good day/night!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] dg28gadhavi:
Thanks for reporting got logs it's gonna get fixed in next update!

Regards
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] 2WildFirE:
Btw your kernel is awesome

Powered by View 10
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] dg28gadhavi:
Can you check mtp,otg in twrp ?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] 2WildFirE:
Sure but not before tomorrow tomorrow

Powered by View 10
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] dg28gadhavi:
Sdcard issue fixed ! Will push correct mount point changes tomorrow !
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
MTP works.... Buh OTG doesn't work, theres a default otg which is 21mb in size!!!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] dg28gadhavi:
For all present here if u don't have a telegram account please make one and who already have it please join this

t.me/HMD_Nokia_8 So i can contact u ppl and testers more easily Thank You !

Regards and Apologies fot the issues you all faced so far it's gonna fix by today!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] dg28gadhavi:
New build up with sdcard,otg fixes grab it from official TWRP site !!!

https://twrp.me/nokia/nokia8.html
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
Nice job buddy.. Keep UP!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] dg28gadhavi:
A wrong version of zip got uploaded on official site will be taken down and new working zip will be uploaded !!!

So for now don't update !!!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
Well I've got some bad news...

My PC isn't booting up anymore and is showing up this error... Now my AOSP 9.0 build will be delayed as this happened.

No need to worry because I'll get it working as soon as possible!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] kosmatyj:
Hah! I have downloaded it yesterday but today the update has diappeared from site. What happened? May be newer version has bugs or something?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] dg28gadhavi:
No Bugs, but I taken it down intentionally,Some one reported me some issues but it was all fine so it might be back on official site with one more minor fix by tonight or tomorrow!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
Thanks for tha updates bro. Godblessings!!!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] sumitinhome:
Nice work इंडीड. Thanks for the update..
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] godofknife:
I have a very big issue guys. TWRP is working well for me. But, I was so stupid that I was intending to factory reset. But then, I wiped all including the OS System which leaves me no OS. I am such a dumb one. Is there any way to install Oreo firmware using TWRP? I need help on this. I have no ROM right now and that stupid bootloop has caused me more trouble than usual.

Btw, installing OS via TWRP will cause TWRP to be gone? I know that Bootloader that has been unlocked will stay unlock even if you update beyond August Patch.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] miku1024:
Install system.img from twrp or from fastboot "fastboot flash system system.img" you will get back the firmware, twrp will not be gone because its integrated with boot.img
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] godofknife:
I understand we can flash system.img from fastboot that we can find in firmware zip. But, can we actually flash system in TWRP? Isn't TWRP only flashing zip type? Not IMG?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
No. Twrp can also flash .img files as well
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] godofknife:
Alright then. I will flash system.img. One question, which do we install? I recognized there are system files.img

One is A_system.img, the other is b_system.img. The TWRP is currently in SLOT B. So, any suggestion?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] 2WildFirE:
Download latest 4.88 update, unpack and flash system and or boot via fastboot.

Or twrp.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] godofknife:
I can only find 4.88 June patch update though from [MENTION=454574]bidhata[/MENTION], is it okay?

Also, how do you extract NB0 Type file?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] 2WildFirE:
https://xdaforums.com/nokia-8/development/nokia-8-nb1-june-firmware-via-ota-t3798056
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] godofknife:
Yeah, that's what i mean. The ROM is in there. But, how do I extract NB0 File type? The picture is below

Picture:

https://ibb.co/hk5TX9
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] 2WildFirE:
https://drive.google.com/file/d/1jyoaOmubNug5pJdFKzCsMi1L5_ujDCJf/view?usp=drivesdk
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] godofknife:
Thank you. I just need to flash the system.img using "Fastboot flash system system.img" or put the system.img in TWRP and then flash it right?

There is no need for boot.img correct?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] 2WildFirE:
Try only system image first. If it won't boot then flash boot. IMG
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] godofknife:
Okay. Just forgot one thing. When I tap flash system.img via TWRP. It says, "Select partition to flash image"

Boot

System

System image

Data (exc storage)

Efs

And more

If I'm correct, flash system.img should go to system image right? And boot.img to boot?

EDITED: Well, I flash system.img to system image. It won't boot and keeps booting to twrp. So, I flash boot.img to boot. It does boot but, ANDROID.MEDIA has stopped and Google framework has stopped over and over. How can this happen?

Also, I might have assumed TWRP is gone already and I can't seem to go download mode even if I pressed Volume down + Power or Volume Down with charging method USB.

Any suggestion, [MENTION=3424660]2WildFirE[/MENTION]?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] 2WildFirE:
YEP
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] 2WildFirE:
Try boot twrp, then change slot from a to b or b to a and reboot
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] godofknife:
Sir, the problem that I have now is I am no longer able to boot to twrp since I also flash Boot.img. Not only can't I go to TWRP, I also can't go to Download mode no matter what combination Hard keys I pressed including with the USB charging method.

If I'm stuck in this, there is no way I can flash the twrp and flash system.img.

That android.process.media error and Google framework also drives me crazy.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
Yhu can flash twrp back to get recovery....
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] godofknife:
Sir, problem is I can't get into download mode. As I have stated, no mater what combination keys I pressed or using USB Charging method trick. It won't let me go into Fastboot mode. Therefore, I can't flash TWRP even if i wanted to.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
Weird.. I havent heard of anyone having dis issue!

Have yhu tried changing cable and to enter fastboot, its volume down key wen yhu plug in tha cable and hope tha phone is totally off.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] 2WildFirE:
And you can only boot twrp, with fastboot boot twrp image.

Power off phone, hold volume down and the put USB cable in wait till bootloader Modus boots up.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] godofknife:
Nevermind. I have managed to go download mode. I have plugged in USB with PERSONAL COMPUTER not the charging outlet. It seems using USB with charging power outlet doesnt work. Only with PC it works. This is missing information to why I was never able to go to download mode.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
Good to know.... Thought it was your PC!!!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] godofknife:
It wasn't. To be honest, I thought using Outlet would also work. But, it doesn't. Oh well. You may inform anyone else if they have the same problem as me. :D

---------- Post added at 08:38 PM ---------- Previous post was at 08:25 PM ----------

[MENTION=4471890]whalesplaho[/MENTION], [MENTION=3424660]2WildFirE[/MENTION], Just final question. Whenever we update the ROM in the settings, do we have to install twrp anytime? I know that updating the Stock rom will always cause root loss. Does that include TWRP Loss as well?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
1. Yhu cant install update from settings with twrp, yhu ll need to flash stock boot to have stock recovery

2. After step 1 den yhu ll need to flash twrp back.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] godofknife:
Whoa, I see. Nice. I am now in May, 1, 2018. I guess it is fine yeah?

Without CUSTOM ROM available yet, TWRP is only needed for Rooting and using Nandroid backup yeah?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
Yeap its fine... Im still on May too!!!

Yeah n also flashing so mods dat requires recovery...
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] czupyt:
I have got a question regarding stock boot.img. I have got TA-1004 with August Security patch. Build number is 00WW_4_88B_SP03. I would like to flash TWPR and root with Magisk, but I also would like to stay with monthly security patches update. I know all has to be stock, so I have to unroot and get rid of TWPR, but I am wondering whether I have to use boot.img, which is the latest one or I may use the one provided by bidhata with June Firmware. Will something be boken since I am currently on August Security patch and the one from his package is from June? Thanks for reply!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
If yhu can get tha August boot.img then fine if not yhu can still use tha June boot.img... In other to get back to stock recovery, yhu ll need to flash stock boot.jmg cos recovery and kernel are merged together. So when yhu flash stock boot.img yhu loose twrp and also root.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
-------Off Topic-------

Do you always type like that?

I mean there's a lot of typos:D
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
Dahs how i types... Yhu can check my posts!!

:) :D
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
Finally got 9.0 pie working!

Sorry for the bad video quality!

https://streamable.com/3a0ye

If you want to try out then contact me at chumleeg009@gmail.com
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
Great news!!!

Why not give us screenshots, working or not working things den we can give a trial.

Thanks...
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] supera3:
But works fine ? How can install it ?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] dbpm1:
Hmm that looks kinda fishy [MENTION=8175491]OneWayGamer[/MENTION]! because the video looks genuine and all *but* the lag when you press the volume up button and the slider only moves after you release the press...

Since it seems that you are the first person to have a working custom rom for the Nokia 8, why not create a credible thread with a link for files and instructions rather than hijacking another's man thread?

Btw, I'm not trying to be mean, if you need help or anything I'll be glad to help. Thru XDA but not by email!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
Yeah about that...

The ROM is highly buggy and only a few things are working. I'm not very good at making roms. The last one(first one as well) I worked for was the Samsung Galaxy s2. And I really don't have much free time to put effort but I'll try my best and yes, I'll make a thread after the rom is somewhat useable. Currently I'm sending the flashable .zip file to the people who want to test it. If you want to test it then contact me in my email at chumleeg009@gmail.com .
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] supera3:
I send you and email yewterday without answer but...and the instruction to install? I some easy send on private and make a thread here
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] amiguielesl:
<talking about Android 9 comments>

Yeah, I'd be glad to test. But I think this should be posted in its own thread so that everyone can access this and give apports to the development of it. As the purpose of XDA is.

It doesn't matter if you don't post files right away to download. Cuz that way individual people can go directly to help if they can, have time and want.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ironman38102:
What is that ROM? Doesnt look AOSP
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] supera3:
At this moment , a big fake
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] Sahilsinghlodhi:
Fastboot boot twrp.img, phone stuck at android logo after the command, have to force reboot everytime i try booting to recovery with this command. Solutions please?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] Fablos:
Same for me.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] grimyhr:
when i try to fastboot boot the twrp image on an officially unlocked bootloader Nokia 8 with september update the phone just gets stuck on powered by android screen
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] 2WildFirE:
Seems twrp need a look from maintainer.

Did anyone ask in the telegram channel?

https://t.me/joinchat/F-Z8WlAgsfHqV3QuyXDHng
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ironman38102:
Cant seem to boot the image with the newest patch. [MENTION=9332915]dg28gadhavi[/MENTION] could you take a look at it?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] grimyhr:
he said on telegram its gonna take him a couple of days to get to it
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
Yeap.... Fix coming soon!!!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] maxi16:
Hey first thx to the dev. Glad to see that we have a official twrp for this phone.

Just one question: Can i boot the stock roms from Nokia with that or not?

Sry if the question is a noob question but until now i only boot custom roms with twrp (at the moment i'm a Xperia Z3 with Carbon Rom and i'm thinking about to change to Nokia 8).
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] whalesplaho:
I dnt get tha question bro...
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] Trissi:
Yes you can.

though to run Update via Official ota updates you need to reflash stock bootloader and unroot(new magisk root allows to do this on the device while updating although then you cant use twrp and have to stay on official bootloader)
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] iyadengle:
I've done a successfully uninstalled the botloader (official)

But I needed the steps to root

Can anyone help me?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ironman38102:
Can someone who has rooted and is on the newest patch pull a boot.img so we can all patch it through Magisk and get root?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] komisermurat:
Error

I have this ”fastboot: error: cannot load ‘path/to/twrp.img’: No such file or directory” error. How to i fix?

Thanks.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] mulperi:
The "path/to/" refers to the c:\program files\... path to your twrp.img file.

Easiest is to rename the file to twrp.img and put it into same directory with fastboot

Then you can use it without the path/to prefix.

And if you have September patch level, you need to wait a few days for twrp update.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ironman38102:
https://drive.google.com/file/d/1Qmwa1XvcQrPSoOFo392AAaJT1fexu1uh/view?usp=drivesdk

For those who want to root on September patch but can't as TWRP isn't working. Extract the stock boot image from the archive using a program like 7zip and then go to Magisk Manager> Install > Patch Boot Image

That should get you root without having to use TWRP.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] Salza01:
Did that but nothing happened, is there more to do?