yashsingh1/xdaforums huggingface dataset:
[General Topics] Holzbrett:
After a few tries I've solved it.

point 1: Easyli delete the "AggressiveCacheFlush" value at HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings . Restart and be happy.

Point 2: well, it's not the very best solution but: Restart the device while Wlan ist activated (and connected). then the signalstrength indication appears in the balloon tip. now you can activate and deactivate wlan as often as you want to... But when restarting the ppc without having wlan activated the problem's back :| ... any other tips?
[ZTE Axon 7 Questions & Answers] kirknado18:
I recently flashed los 15.1 with oki twrp 1.3 full edl through mi flash. But since I flashed the ROM my axon only charges powered on. If I shut down my axon and try to plug USB c to charge it automatically reboots the axon 7 and then continues to charge it. I checked my USB devices connections s like mtp, ptp, file transfer etc and noticed USB charging mode is missing. No powered off charging icon either when off like wtf is going on here is this a glitch or something would like to power off to charge need help here anyone??
[ZTE Axon 7 Questions & Answers] Predatorhaze:
its bootstack related.Use b12 oreo bootstack for offline charging
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] THMSP:
#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research about modifying your android system before flashing this!
* YOU are choosing to make these modifications, and if you point the finger at
* me for messing up your device, I will laugh at you. Hard. A lot.
*/

As you might know, the official version of TWRP for Nokia 8 is not able to correctly decrypt /data partitions that were made using Android 9. This means, if you updated an oreo installation, you can still decrypt your data, but if you did a factory reset under Pie, TWRP will fail at decrypting. Since that makes large parts of it useless, I tried to figure out how to compile TWRP. The result is this TWRP build.

With the prepatched TWRP boot images I have been doing since October, it was required to create a new boot image for every security patch version, since otherwise the wifi driver would fail to load correctly. This new image does not have this problem, since the wifi driver is compiled into the kernel itself, and not loaded externally. This means that as of now I will not continue to upload images for new security patch images to my cloud storage. You can flash my new image on every security patch version and it will continue to work correctly.

How to install:

Reboot into fastboot mode

fastboot flash boot twrp-3.3.1-0-NB1.img

fastboot reboot

You need an unlocked bootloader for this.

After flashing TWRP you will normally boot into android. From there you can then reboot into recovery by doing adb reboot recovery, or powering off the device, and pressing the volume up while connecting it to a PC via USB.

Links:

TWRP: https://github.com/resident-nokia/twrp/releases

Device Tree: https://github.com/resident-nokia/twrp - You *could* build TWRP with the official tree as well but I had various issues with it.

Umbrella Kernel: https://github.com/resident-nokia/umbrella

Credits:

Dhruv Gadhavi - for the official TWRP

Numerous people from the telegram group testing my kernel and TWRP builds
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] iyadengle:
Good Job
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] brill_e:
Thank you
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] Deleted member 8406916:
Exactly what I was looking for!! Thanks bunches

It's still not working for me : (
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] Deleted member 8406916:
I finally got it to work for me... But now I can't activate WiFi and my MAC address is reading "Unavailable"

Have already tried a factory reset, but then I still can't find any WiFi networks during the system setup
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] SАNDSТОRM:
What about custom ROM's?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] GuestD0707:
[MENTION=9309516]THMSP[/MENTION]

It's very interesting ?

And it's very good that you tried to make something for our device. Everyone's work will be useful I think.

In these days I also playing with Nokia system files, but only with Nokia camera. It's strange that the newest apks are not working on our device, in the beginning I was surprised, and now I took linuxct mod and made some small modifications (of course I'm a noob ?) to make it more stable. Now it's working not bad. I uploaded it to 4pda forum thread.

But that's not the point. The point is that for some ridiculous reasons HMD restricts Nokia 8 users, it's upsetting.

Anyway, you're doing great. If you don't mind, I'll add a link to your post from 4pda...

Thanks!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] MDV106:
this is interesting, good job. I will keep an eye out for future updates regarding the custom kernel.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] nunoxyz:
Great work! One great future for this Phone!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] MDV106:
I mistakenly disabled an important system file now the phone reboots into recovery every time it finishes booting up. The problem now is that my current TWRP doesnt decrypt so now I cant get adb and fastboot to work so I can re-enable the app. How can I flash your patched TWRP so i can fix this boot issue? fastboot doesnt recognised my device when booting into download mode from inside TWRP.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] THMSP:
Did you install the Nokia 8 fastboot driver? If no, try to install it (https://github.com/StollD/nokia-driver-installer/blob/master/out/Phone_Nokia_USB_Driver_v1.4.0.exe) and see if your device is recognized in fastboot again.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] MDV106:
I managed to install your patched TWRP from within the previous version of TWRP. but the "recovery" partition didnt show up as an option to flash so I flashed your img file to the boot partition. When I rebooted to recovery it worked and the file system was decrypted successfully. Now the problem I have is that when I boot into the OS, Im stuck on the Nokia logo and I keep hearing clicking sounds of the camera lense every 5 seconds. Its still stuck there. Any idea how I can fix this?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] THMSP:
Reflash the stock firmware using (N)OST. Every attempt to fix this manually is probably not worth the efford. After that, just reflash the TWRP image in fastboot.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] MDV106:
How do I do that? The phone simply wont turn on or off at this point. Its been stuck on the "nokia" screen for the past 2 hours or so. I am just trying to figure out a way to force switching it off since the power button wont respond. Then from then on I plan to just restore a Nandroid backup then restore app data using a Titanium backup I made earlier this week. If only I could get the phone to turn off. Do you have any idea how?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] THMSP:
Keep all three buttons pressed for multiple minutes until the phone turns off. Then boot into recovery by holding down volume up while connecting the phone to a computer via USB.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] MDV106:
I decided to let the battery drain. I am recharging now and will attempt to do a system restore once the percentage is at 20%. Btw, I see you are very active in Nokia 8 development and are one of the most knowledgeable members on this sub-forum. So I have to ask, do you ever plan on creating a custom ROM for the Nokia 8 in the future? It doesnt seem like any other people here are interested or have the knowledge to do it.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] MDV106:
Okay I managed to restore my system to a previous state that has a prepatched twrp 3.2.3-1 . When i followed these instructions and flashed the updated twrp, the boot hangs at the yellow unlocked bootloader screen then after about 30 seconds boots back into download mode. It wont even let me turn it off and reboot to recovery. not sure how to fix this.

EDIT: decided to switch slots and flash this image on the new slot. Same thing happened. phone wont boot and it hangs and refused to turn off no matter how long i press the 3 buttons. I tried this at the worst time now Im left without a working phone on a weekend :(
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] THMSP:
Please post the exact fastboot commands you entered to flash the TWRP image. Also, please redownload it and try to flash it again, just to make sure the image isn't corrupted.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
How do I unlock the bootloader on ??
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] MDV106:
sudo fastboot flash boot_a twrp-3.2.3-2-NB1.img

sudo fastboot rebooot

^ These were the commands. even after switching slots the phone froze on boot and then booted itself back to download mode. AFter a couple of tries it just froze on boot and never wanted to turn off. Again, I had to let the battery drain to turn it off.. Now im chargin it again so I can restore my previous backup. Hopefully it will be able to boot into recovery
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] oophoenixoo:
works fine...

on my TA-1012, Pie Security Patch Feb 2019.

Tanks a lot for this great work.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] THMSP:
1. yes

2. you have to use NOST, since there are no TWRP packaged firmwares available (and even if someone would package them I doubt they would do a Nougat version)
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] yozil:
Ok i succeded to flash NB1-4390-0-00WW-B01.nb0 with NOST. BUT why the hell I'm now with Oreo 8.0.0 :eek:

Isn't that firmware supposed to be Nougat ? :eek:

What is Nougat firmware for 1012 then ?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] THMSP:
Who told you that. Because it is wrong. I haven't even heard of that FW revision.

NB1-309A-0-00WW-B01. It is right above Oreo.

(https://fih-firmware.hikaricalyx.com/hmd_en.html)
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] yozil:
I swear that I saw people talking about it to be nougat here on XDA...

Thank you very much, now it's more logical I'll test it.

---------- Post added at 08:53 PM ---------- Previous post was at 07:56 PM ----------

It worked im now on Nougat !! Thanks again !

I guess there isnt anyway that I could root my phone on Nougat ?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] THMSP:
Well, you could try to go completely crazy and flash the TWRP image on nougat.. If it fails just boot into download mode and reflash with OST.

If that doesn't work, unpack the .nb0 with the extractor you can find on XDA, and patch the boot image with Magisk Manager. Then flash that to your boot partition.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] yozil:
I'll gladly extract the .nb0 but I got an OutOfMemory exception on both of my PCs :/ (1GB RAM and 2GB RAM).

It'd be cool if you have time to extract the nb0 and send me the folder.

The file is NB1-303A-0-00WW-B01.nb0

Tell me if you can, otherwise I'd have to try on another PC.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] THMSP:
I can't run the extractor since I don't have a windows installation.

And yeah, the .nb0 is like 4 GB so it won't even fit half into your ram :/
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] yozil:
I see...

I saw another nb0 extractor (older I think) on xda but links are dead.

I guess ill have to try on another PC one day :p
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] yozil:
Hi.

I finally managed to extracted the .nb0 on a €1000 PC :D

Is the proper file to patch with magisk is named "NB1-0-303A-00WW-boot.img" ?

And would I lost all my data while flashing that boot image ?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] MDV106:
Finally got this to work without bootlooping but flashing it on a clean freshly installed OS. It works as expected now. Thanks
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] yozil:
Never mind I did everything. Thank you for all !
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] lablueboy:
WIFI still broke

i did a full flash from scratch. fresh May SP. then i updated to December SP (still OREO. i dont want to update to Pie due to compass issue and some preference on the UI). then i flashed the patched twrp. upon booting, wifi is broken. have you tested the twrp on all patches if the wifi doesnt break? thanks

edit: so i patched the december boot img with magisk and then patched the november image on the other slot with magisk manager then switched boot slots and booted the november image. worked fine now. wifi is running, magisk is running. not sure what i did wrong but is it safe to assume december security patch is not supported by the patched twrp?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] THMSP:
I released a new build of my TWRP, which you can download through the links in the OP.

Changelog:

Updated TWRP to 3.3.0

Cleaned up the TWRP tree a lot, to the point where it builds without problems in a minimal 8.1 manifest

Integrated TWRP with the new, upstreamed version of umbrella (a seperate thread on that will follow, for those who are interested)

The kernel now includes the wifi driver, it is not loaded as a module from system anymore. This means that TWRP should work just fine under Oreo.

The kernel re-enables the ability to reboot into EDL mode from android. You can do this in TWRP as well.

The new TWRP does have experimental support for Sirocco but I am not able to test it since I dont own one.

If you have an unlocked Sirocco and want to test it, please open an issue on the github repository and we will see.

(Note that this requires me to send you an A1N build. Don't flash the NB1 one to Sirocco, it will not work.)

For updating, download the image and flash it to your active boot partition using the commands listed in the OP.

Then reboot into TWRP and flash Magisk or any other mods you want.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] THMSP:
Sorry for double-posting, but I released another version of TWRP (3.3.0-1), that fixes some issues with the recovery not properly detecting Micro SD cards.

You can find the links in the OP.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] MDV106:
I read this just after sideloading the latest update and was about to flash 3.3.0. phew!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] Wahyubali:
How i can use twrp for nokia 8 sirocco step by step please..

I don't understand about

The new TWRP does have experimental support for Sirocco but I am not able to test it since I dont own one.

If you have an unlocked Sirocco and want to test it, please open an issue on the github repository and we will see.

(Note that this requires me to send you an A1N build. Don't flash the NB1 one to Sirocco, it will not work.)

Which one is A1N .. in github dont jave that file
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] Audioboxer:
Hey [MENTION=9309516]THMSP[/MENTION] is there any chance you could do a Sirocco TWRP? The kernel sources are out and I'd assume the device tree would be quite similar to the Nokia 8.

Thanks if you can, this device badly needs TWRP :(

edit: Just seen above you might be trying to implement Sirocco functionality. I have an unlocked Sirocco I could test on.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] Audioboxer:
You can follow our discussion here, but it has been unsuccessful in trying to boot on my Sirocco

https://github.com/resident-nokia/twrp/issues/1
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] brill_e:
Does the backup goes because on twrp 3.2.3-2 it doesnt?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] THMSP:
Released TWRP 3.3.1-0 on Github. Links are in the OP

Changelog:

Updated to TWRP 3.3.1

Updated to Umbrella 2019-05-17 (kernel 4.4.180)
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] zauzaupt:
is this working with last october patch?

got this phone today, and want to have root and twrp.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] :
oh my god thank you so much for this!!! wifi is working on my device again! yay
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] nyk978:
TA_1004?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] :
yeah, TA-1004 with september security patch. Should work on the latest as well
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] nyk978:
sir, will you please guide me to root this?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] :
are the guides here at xda not sufficient?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] nyk978:
oh yes they are, but i feel little confused between slots
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] :
slots? you mean boot slots?? because WHATEVER YOU DO, DONT SWITCH BOOT SLOTS WITH TWRP
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] THMSP:
Switching slots works perfectly fine unless you are flashing an *ancient* version of twrp from a thread that should have died but that keeps getting pulled out of it's grave.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] nyk978:
yes exactly, Well I have several questions like...

I m running on pie TA_1004 with October security patch level, build number is 00WW_5_15G with locked bootloader, now the question is I have to unlock bootloader first using this...

https://xdaforums.com/nokia-8/how-to/unofficial-official-nokia-8-bootloader-t3898418

after that, I flash the twrp.img using fastboot, and then reboot the device, that will boot in oreo right? so how to upgrade to pie from oreo?

and after flashing the twrp.img, which version of magisk should i flash?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] oaid:
Just flash twrp after unlocking the bootloader and letting the system update to latest Pie, instead of flashing it first thing after unlocking.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] :
My mistake :silly:
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ululalbab:
Hello Guys,

It seems that i'm late into the party. I'm successfully unlocked my bootloader and rooted my nokia 8 with oreo november sp. I'm using prerooted boot img provided by [MENTION=9412631]Trissi[/MENTION]. My question is how can i update to android Pie with the ability to preserve root.

Much appreciated if you could point me the relevant guides or threads. I've been looking around the threads but cannot find any solid instruction
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] :
what I did was I downgraded to Oreo, got the code, then upgraded to Pie, unlocked bootloader and rooted. (OTA is still possible with an unlocked bootloader but not with TWRP and you will lose root. I suggest installing stock rom then upgrading to Pie and installing TWRP.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] ululalbab:
Should I do OTA update with this version? I still have the unlock key but from what I heard,latest pie version bootloader unlocking was greyed out in the Dev option.One more,did this version able to install the twrp img from this thread
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] Optimus_Toaster:
Confirming this worked on the January 2020 patch version of Pie.

I was previously on the December 2018 patch of Oreo, unlocked my bootloader officially (no issues on that oreo version anymore), updated straight to Pie October 2019 edition via OTA, updated that to Pie January 2020 via OTA, used the instructions in the OP to flash TWRP then installed magisk from inside TWRP.

FWIW if you change the slot (adb reboot bootloader, fastboot getvar all, fastboot --set-active=x,) it took me back to a completely stock version of Pie October 2019, which I could then update OTA which overwrote all the modified TWRP'd/Magisk'd boot stuffs that I had done in January 2020 slot.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] nyk978:
Done

Twrp flashed in Oreo after that update to pie,

After update installed twrp was gone again, just flashed it again on pie,flash magisk and gain root access

Running on October 2019 security patch

Last sp is January right? So if I install update January's sp, my root access is still there or goes??
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
Is unlocking the bootloader still possible?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] :
The HMD method has been down for a while but some 3rd party methods might still work. They are paid though.

EDIT: apparently the servers are back up.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] Ayhem-GH:
I tried unlocking a week ago on Oreo and it gave me the network error.

Tried again today and it worked. Servers are back up and running so you might wanna hurry before they go down.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
Wait what really?

Are you 100% sure about this?

Also which firmware did you use(i mean the patch)
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] Ayhem-GH:
The official app worked for some reason... I was on 8.1 November patch.

Now I'm using Magisk for root under Pie and everything is working smoothly.
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
Well I successfully unlocked bootloader and critical ,then I updated to the latest firmware and installed TWRP then rooted using magisk and everything is working hunky dory now! Got Viper4Android and Substratum with PitchBlack theme and Google Font! Almost feels like a new phone now
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] rashazad:
Hey (wo)man. Which version are you on? I'm on oreo november 2018 patch. Critical unlocked. Tried many times to root the phone using prerooted boot image or other way mentioned here. But no success.

So how did you do this? I could be very happy if you share versions or posts you've used.

Thanks.

(Nokia 8 is lovely)
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
Why are you installing boot images? Just flash the TWRP and you're good to go!
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] rashazad:
Yeah?... Which version of TWRP you are talking about?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
The latest one
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] rashazad:
I'd appreciate if you provide a link. 'cause we have a bunch of official, unofficial, lost, burried and etc. versions... Do you confirm that it works on 8.1 nov patch?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
Use the version provided by OP. Also don't flash it on Oreo, upgrade to pie first then flash it
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] r100:
Wait, so if I understand correctly, with an untouched, vanilla, up-to-date Nokia 8, I would need to:

Downgrade to Android Oreo

Unlock bootloader

Upgrade again to Pie

Install TWRP

Profit

Is this correct?
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] OneWayGamer:
Yep! But I would highly recommend Unlocking critical as well when unlocking BootLoader
[Nokia 8 ROMs, Kernels, Recoveries, & Other Develop] iMaterial:
So my NB1 Nok8 just stopped booting

I upgraded to 8.1 SP6 Nov Oreo, unlocked the BL, installed TWRP 3.3.1-0 and installed Magisk. Upgraded to Pie 00WW_5_15GMR and SP (Pie 9)Oct-1924, October 24, 2019.

For a week it ran flawlessly but yesterday when I rebooted it (dunno why I did that?!) it either only goes into fastboot mode or gets stuck at "Nokia" logo booting the system. (if I switch between --set-active=b or a) I can "fastboot flash boot twrp 3.2.3" and run it, also run default recovery. But when I "flashboot flash boot twrp 3.3.1-0" or 3.3.0-0, 3.3.0-1 they don't run just put me back into fastboot mode.

Any tips? :p