Official TWRP for NB1

Search This thread

czupyt

Senior Member
Apr 3, 2012
125
60
Poland
my device is not booting to TWRP after fastboot boot TWRPxyz.img command .. plz help guys

---------- Post added at 03:46 PM ---------- Previous post was at 03:45 PM ----------



even tried your latest patched image ... plz help to get into twrp.... just got stucked on Powered by Android

You have to flash the one provided by @THMSP. Booting does not work since September. Are you on November patch?
 

Ashish_Maurya

Senior Member
Feb 17, 2016
78
29
new delhi
You have to flash the one provided by @THMSP. Booting does not work since September. Are you on November patch?
Hi ,

I got a Nokia 8 recently so thats why i dont know about Nokia is doing what with thier devices , my primary device is OnePlus 6

Yes , my 8 is on November patch .... So freind please guide me to attain root .... Its useless to have unlocked bootloader without root
 

czupyt

Senior Member
Apr 3, 2012
125
60
Poland
Root is priority but won't mind to get way to install TWRP

Download this: https://mega.nz/#F!C3wyDKhL!vsTdJXyfzCtD8lYHsgqSTw?mugiyIQa provided by @THMSP. Go to fastboot mode, and there type:

Code:
 fastboot getvar current-slot
As soo as you get current slot type:

Code:
fastboot flash boot_x path to twrp-boot-prerooted-november-stock-kernel.img

Of cousr boot_x means boot_a or boot_b, depend on current active slot. After that reboot, install magisk manager, and install additional files that are needed by magisk. And you are rooted. And of course path to... means real path to twrp-boot-prerooted-november-stock-kernel.img, so assuming for instance, that downloaded image is in C:\temp, and your current active slot would be a, the instruction in fastboot mode should look like:

Code:
fastboot flash boot_a C:\temp\twrp-boot-prerooted-november-stock-kernel.img
 
Last edited:
  • Like
Reactions: rhezka and hvlav79

Ashish_Maurya

Senior Member
Feb 17, 2016
78
29
new delhi
Download this: https://mega.nz/#F!C3wyDKhL!vsTdJXyfzCtD8lYHsgqSTw?mugiyIQa provided by @THMSP. Go to fastboot mode, and there type:


As soo as you get current slot type:



Of cousr boot_x means boot_a or boot_b, depend on current active slot. After that reboot, install magisk manager, and install additional files that are needed by magisk. And you are rooted. And of course path to... means real path to twrp-boot-prerooted-november-stock-kernel.img, so assuming for instance, that downloaded image is in C:\temp, and your current active slot would be a, the instruction in fastboot mode should look like:

Thanks dude ... For help !!!
 

Audioboxer

Senior Member
Aug 24, 2010
3,035
670
Now that the Nokia 8 Sirocco can be unlocked, albeit it right now unofficially, is there anyone who could take a stab at porting TWRP to it? :confused::highfive:
 
Aug 17, 2016
24
8
Quang Nam
Download this: https://mega.nz/#F!C3wyDKhL!vsTdJXyfzCtD8lYHsgqSTw?mugiyIQa provided by @THMSP. Go to fastboot mode, and there type:

Code:
 fastboot getvar current-slot
As soo as you get current slot type:

Code:
fastboot flash boot_x path to twrp-boot-prerooted-november-stock-kernel.img

Of cousr boot_x means boot_a or boot_b, depend on current active slot. After that reboot, install magisk manager, and install additional files that are needed by magisk. And you are rooted. And of course path to... means real path to twrp-boot-prerooted-november-stock-kernel.img, so assuming for instance, that downloaded image is in C:\temp, and your current active slot would be a, the instruction in fastboot mode should look like:

Code:
fastboot flash boot_a C:\temp\twrp-boot-prerooted-november-stock-kernel.img

So this way I can do OTA updates when reflashing to stock nov img, right? Can you provide me the link to stock november patch, pls :silly:
Thank you, btw, I cannot grant root access for my apps using this way (Greenify or even Root checker,etc...) Do u have the same problem? (Magisk modules still working just fine :( )
Sorry for my English too!
 

czupyt

Senior Member
Apr 3, 2012
125
60
Poland
So this way I can do OTA updates when reflashing to stock nov img, right? Can you provide me the link to stock november patch, pls :silly:
Thank you, btw, I cannot grant root access for my apps using this way (Greenify or even Root checker,etc...) Do u have the same problem? (Magisk modules still working just fine :( )
Sorry for my English too!

You have magisk installed and modules work fine?
 
Aug 17, 2016
24
8
Quang Nam
You have magisk installed and modules work fine?

Yes, you can see as below img, but other apps cannot grant root access
2nQtTsc.jpg
 

THMSP

Senior Member
Jul 19, 2018
138
250
Europe
tmsp.io
I think what he means is that the popup to allow superuser access for an app doesn't appear and access is just declined, even if the magisk settings are correct.

@ghostwalkergamma which Magisk version do you have? Did you keep the preinstalled 17.1 Magisk or did you update it?
What I would try is to boot to TWRP, flash the Magisk uninstaller, and then reflash Magisk again (use 17.1, that works just fine for me)


UPDATE: Didn't see your Magisk Manager screenshot. I had the same bug when using 17.3, it works fine with 17.1
 
  • Like
Reactions: ghostwalkergamma

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    Hey now TWRP is officially available for Nokia 8 NB1


    Installation:
    If you already have TWRP installed: Download the latest zip and install the zip using TWRP.
    If you do not already have TWRP installed: Download both the img and the zip.You will need to have fastboot binaries and the correct drivers installed.
    You can grab latest platform-tools (fastboot binaries) from [here]https://developer.android.com/studio/releases/platform-tools
    Now go in the directory where your adb/fastboot binaries exists.Connect the device to your PC.Enable USB debugging in developer options & then open a command window and run the following command from the proper location:
    adb reboot bootloader
    Your device should now be in the bootloader.
    Then again from command window run the following command from the proper location:
    fastboot boot path/to/twrp.img
    This will temporarily boot TWRP on your device. Use adb to push the zip onto your device:
    adb push path/to/twrp.zip /
    Even MTP is working you can also directly copy zip from your pc and paste to your device.
    Go to install and browse to the zip and install the zip. The zip will install TWRP to both boot slots. Installing TWRP at this time will remove root if you are currently rooted.
    If you accidently flash TWRP to your device using fastboot instead of temporarily booting the image, you will need to download the latest factory image for your device and reflash the boot image.



    Thanks to @dg28gadhavi he is the maintainer for NB1




    https://eu.dl.twrp.me/NB1/#
    Flash instruction see dev post #4

    Powered by View 10
    11
    Some days ago while rooting my device, I found a flaky behaviour in the bootloader regarding "fastboot boot" (see this post about the topic that I made on the thread for prerooted boot images: https://forum.xda-developers.com/showpost.php?p=78033924&postcount=26)
    Basically what seems to have happened with the August Update is that fastboot boot is now completely broken, since it doesn't even boot stock images - they stay in the same "Powered by Android" screen that TWRP stays in. After flashing everything booted just fine.

    That made me thinking: What if not TWRP is the problem, but the way how it is installed? Since the official way of installing TWRP is to boot a temporary image, and then flash an installer .zip that patches your boot image and adds TWRP to it, it would potentially be subject to the same bug I experienced with the prerooted boot images. So I just went fully haywire, and flashed the temporary TWRP image to the boot partition of my inactive slot. And, well, it worked just fine! Continuing from that I could easily flash the permanent making .zip and Magisk to patch the boot image of my active slot, and then reboot into the active one again. Some quick testing (adb reboot recovery) showed that this was working just fine. Even installing the custom kernel that Dhruv made before the August update worked just fine for me.

    Reminder: I used the official builds. I neither made my own device tree or kernel, I don't even have any idea how to do that :p

    So, since my way of doing it is really stupid and it should be done by noone else, I decided to prepare some prepatched boot images for public release. You can download them, and "fastboot flash" them to your boot partition, getting full TWRP support without having to follow what I did initially.

    Link: https://bit.ly/nokia-nb1, under the folder "Boot Images" you can find folders sorted by security patch version

    The linked folder contains two .img files:
    • Stock: A clean backup of the stock image for restoring before OTA updates.
    • TWRP: A twrp prepatched (and in case of Oreo) prerooted boot image you have to flash to your active boot partiton

    After downloading the image of your choice, you need to reboot your phone into download mode and flash the image using fastboot, depending on your active slot.
    You need an unlocked bootloader for this.

    Code:
    adb reboot bootloader
    fastboot getvar current-slot
    # x = the slot name the previous command returns (either a or b)
    fastboot flash boot_x <path to the downloaded .img>
    If you want to install OTA updates, you need to reflash the stock image of your security patch, reboot to Android, do the OTA update, then reboot again and reflash the TWRP image.
    Even though I would be careful with installing updates as soon as Pie drops :p

    All Credits go to Dhruv for his TWRP, and to Czupyt and whalesplaho from the Telegram group for testing those images.
    6
    Gonna make a proper thread Have fun ! BTW don't flash it to boot partitions instead use ramdisk injector zip provided by me or TWRP team site!

    For Now wait! ( Am not able to send Link in message as I freshly rejoined )

    Quick steps :

    1) adb reboot bootloader
    2) fastboot boot twrp-3.2.3-0-NB1.img
    3 ) Flash permanent making zip once booted in twrp
    4) Go in reboot menu of twrp and reboot to recovery once permanent making zip is flashed
    5 ) Now flash Magisk zip. ( Latest beta 16.7 not stable 16.0 )
    6
    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!
    5
    New build up with sdcard,otg fixes grab it from official TWRP site !!!

    https://twrp.me/nokia/nokia8.html