Official TWRP for NB1

Search This thread

2WildFirE

Senior Member
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
 
Last edited:

whalesplaho

Senior Member
Feb 1, 2012
10,694
2,670
Treasure Island
Great news.... Thanks for sharing!!!

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

But to my understanding, i learnt twrp is embedded into tha boot.img (kernel)..... Is it same with tha official twrp or differs?
Thanks.
 

dg28gadhavi

Member
Jul 28, 2018
12
21
Ahmedabad
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 )
 

whalesplaho

Senior Member
Feb 1, 2012
10,694
2,670
Treasure Island
Yes thats right. You have to flash boot ;) recovery is in kernel image



Atm seems workig fine i make nandroid backup ;)


Well will see what i can do with th System.img :cool:

I did backup with tha final verison provided here too https://forum.xda-developers.com/showpost.php?p=77307135&postcount=74 and it works fine... Buh i had a problem, i replaced my SystemUI.apk dat i modded n fix permission but stuck on Android is starting screen and i reboot to recovery n restore tha system backup cos but after restoration, still didnt load homescreen, just blank screen. Dnt know why!!!!

Also recovery didn't recognised SD Card.... Same thing is tha final version posted above!!!
 

2WildFirE

Senior Member
As you can see [emoji6] not bricked View attachment 4578359 Screenshot_2018-08-22-20-46-08.jpeg

Gesendet von meinem TA-1012 mit Tapatalk
 

OneWayGamer

Senior Member
Mar 31, 2017
310
112
Samsung Galaxy S5
Nokia 8
Holy crap!
This is some serious good news for Nokia 8 users!
Will this work on my TA-1004?

---------- Post added at 11:39 AM ---------- Previous post was at 11:31 AM ----------

And am I going to lose official updates from Nokia?

---------- Post added at 11:42 AM ---------- Previous post was at 11:39 AM ----------

Also what's that slot A and slot B thing?
Can someone please explain?
 

whalesplaho

Senior Member
Feb 1, 2012
10,694
2,670
Treasure Island
Holy crap!
This is some serious good news for Nokia 8 users!
Will this work on my TA-1004?

---------- Post added at 11:39 AM ---------- Previous post was at 11:31 AM ----------

And am I going to lose official updates from Nokia?

---------- Post added at 11:42 AM ---------- Previous post was at 11:39 AM ----------

Also what's that slot A and slot B thing?
Can someone please explain?

1. It will work on yur model version... Just fastboot to boot_a and boot_b.

2. Better to turn off official updates cos heard from August patch, bootloader wont be able to be unlocked n unlocked ones will be locked through tha updates.

3. Slot A/B re tha partitions for storage....
 

OneWayGamer

Senior Member
Mar 31, 2017
310
112
Samsung Galaxy S5
Nokia 8
1. It will work on yur model version... Just fastboot to boot_a and boot_b.

2. Better to turn off official updates cos heard from August patch, bootloader wont be able to be unlocked n unlocked ones will be locked through tha updates.

3. Slot A/B re tha partitions for storage....
Wait so I have to flash it on both slots?
And umm my phone is already unlocked and I have installed August security patch
And I'm guessing Slot A is for internal storage and slot B is for external storage? I'm not sure
 

whalesplaho

Senior Member
Feb 1, 2012
10,694
2,670
Treasure Island
Wait so I have to flash it on both slots?
And umm my phone is already unlocked and I have installed August security patch
And I'm guessing Slot A is for internal storage and slot B is for external storage? I'm not sure

Nope. Slot A n B are for system. Its just tha new way partitions are set so incase when yhu have issues with a slot den yhu can switch to tha other slot to boot up tha phone... But tha news o read was dat after updating to August patch, it ll block bootloader n wont be able to unlocked. Im still on May patch 488B!

I flashed on both slots and working fine!!!!
 

ironman38102

Senior Member
Sep 9, 2012
3,413
298
24
Manama
OnePlus 7T
Thanks for helping me out!
One last question!
Will my device brick if I update my device with twrp installed?
The Updater itself wont let you update because it'll detect that you're having a different boot image and will say "Installation Problem". I suggest you somehow backup the boot image and then install TWRP so that if you wanna install patches you could just revert it.

Edit: Noticed I didnt link the article properly

https://www.xda-developers.com/how-...ess-updates-affect-custom-development-on-xda/


Sent from my Nokia 8 using Tapatalk
 
Last edited:

OneWayGamer

Senior Member
Mar 31, 2017
310
112
Samsung Galaxy S5
Nokia 8
The Updater itself wont let you update because it'll detect that you're having a different boot image and will say "Installation Problem". I suggest you somehow backup the boot image and then install TWRP so that if you wanna install patches you could just revert it.

Edit: Noticed I didnt link the article properly

https://www.xda-developers.com/how-...ess-updates-affect-custom-development-on-xda/
That's interesting. Hmm... Can I install stock rom using twrp? (This one https://forum.xda-developers.com/nokia-8/development/nokia-8-nb1-june-firmware-via-ota-t3798056 ) or do I have to use the OST LA thingy?
 

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