yashsingh1/xdaforums huggingface dataset:
[Nokia 3 Guides, News, & Discussion] SkaboXD:
lk is a partition that checks is stock recovery and stock boot changed. With locked bootloader lk partition doesn't allow twrp or modified boot.img to be flashed (lk is broken (I'm glad that is broken xd) in this case so we can flash twrp and boot.img). You will get red state and your device will not boot with stock lk and locked bootloader. With unlocked bootloader you can flash it without problems but you can't apply OTA updates while with this method you can.
[Nokia 3 Guides, News, & Discussion] Nikola Jovanovic:
I don't know if unlocking bootloader was successful on 7.0. Can I screw up something if I just follow your guide on stable 8.0 ?

Thank youuu
[Nokia 3 Guides, News, & Discussion] redweaver:
I had cause to flash ost yesterday (it turned out later that the cause was unfounded, but that's by the way)

so while my phone was on Oreo, I plugged in and clicked on edit phone information. Eventually it gave that boot ftm error, and my phone restarted, but I noticed that my phone's bootloader was unlocked.

I don't know whether that is standard or whether it's because my bootloader had been unlocked before, or whether it's peculiar to my phone
[Nokia 3 Guides, News, & Discussion] SkaboXD:
if you saw orange state when rebooting to system, then you unlocked bootloader. Just follow my guide, if you in some case bricked your phone, flash with OST LA and try again with unlocked bootloader on 7.0
[Nokia 3 Guides, News, & Discussion] Jhunmar:
HOW?

Guys please help me i follow all the instructions but i always end up with a NO COMMAND message

TA-1032 model im running official oreo:(:(:(
[Nokia 3 Guides, News, & Discussion] redweaver:
Has your bootoader been unlocked before?
[Nokia 3 Guides, News, & Discussion] Jhunmar:
Yes sir .. Using adb .. I type commands using the command prompt
[Nokia 3 Guides, News, & Discussion] redweaver:
First of all, can you boot normally or it always goes into no command?
[Nokia 3 Guides, News, & Discussion] Jhunmar:
yes sir it boots normally but when i press the volume + button and the power the NO COMMAND always appear .. I cant reach to the download mode

---------- Post added at 10:39 AM ---------- Previous post was at 10:27 AM ----------

[IMG="Thi one"]https://drive.google.com/file/d/1ISuLzbY6tdhrvVOvSXpvc-VMvCXkIjCC/view?usp=drivesdk[/IMG][IMG="this is the second one"]https://drive.google.com/file/d/1gv0AXJPgK7TfGm_FqoO_wplOx6SWHaL1/view?usp=drivesdk[/IMG]

I alwys try to go download mode but this two always appear i dont know what 2 do
[Nokia 3 Guides, News, & Discussion] SkaboXD:
Download mode aka fastboot mode is vol down + power button...
[Nokia 3 Guides, News, & Discussion] br3w0r:
Works perfectly on Oreo!

I only tried method with sole magisk installed. After unlocking bootloader in Developer settings and going through the tutorial, everything works as expected. Thank you for this guide!
[Nokia 3 Guides, News, & Discussion] SkaboXD:
Guys, I want to inform you that I got new device, ZTE Axon 7, so I will be less active on Nokia 3 forums.
[Nokia 3 Guides, News, & Discussion] redweaver:
Your absence will be felt , thanks for all your contributions, all the best with your new phone
[Nokia 3 Guides, News, & Discussion] SkaboXD:
Tnx a lot for your (and others) support and kind words.
[Nokia 3 Guides, News, & Discussion] carlosbiotec:
Nokia 3 root

Hi!, can you help me? I have the same variant of Nokia 3 (TA-1028), I followed all the steps of the guide, TWRP was succesfully installed but I cant enter to recovery mode., I pressed volume up + power buttons, I held the buttoms and wait more than 10 seconds and the phone restart.

My android version is 8.0

Thanks.
[Nokia 3 Guides, News, & Discussion] SkaboXD:
you need to plug in phone to charger or PC and then do that combination.
[Nokia 3 Guides, News, & Discussion] carlosbiotec:
It works! Thank you.
[Nokia 3 Guides, News, & Discussion] ZeroGG:
My god guy!This is working on TA-1020 with lb i'm is waiting for a working method and your method is working!Big thanks !Sorry for my bad english i'm hungarian :o :)
[Nokia 3 Guides, News, & Discussion] JonnyTech:
Just got a brand new TA-1020 running Oreo. Do I have to downgrade to Nougat before attempting to unlock the bootloader? If so then what is the procedure? Currently any fastboot command results in fail.
[Nokia 3 Guides, News, & Discussion] bubba1601:
Read the OP (first post)

Full instructions about what to do are there and pay particular attention to the first line as it applies to you being on Oreo.
[Nokia 3 Guides, News, & Discussion] JonnyTech:
How can I go back to Android 7.0? Trying anything with SPFlashTool displays:

ERROR : S_AUTH_HANDLE_IS_NOT_READY (5000)

[User] This is a secure Base-band Chip! Please select the authentication file first.
[HINT]:
[Nokia 3 Guides, News, & Discussion] pavanvemula123:
Guys please help me .I want to install twrp recovery mode in Nokia 3 .my mobile is not rooted is it possible to flash twrp recovery mode . please give me a suggestion
[Nokia 3 Guides, News, & Discussion] bubba1601:
I don't know how to do that but I've read the first post and all the instructions are there.

I'm not confident enough to try it so I'm leaving my Nokia 3 as is.

---------- Post added at 10:56 PM ---------- Previous post was at 10:55 PM ----------

Read the first post!
[Nokia 3 Guides, News, & Discussion] JonnyTech:
I have followed the instructions to the letter but SP Flash Tools always asks for an authentication file. Can anyone please please tell me how to proceed.
[Nokia 3 Guides, News, & Discussion] redweaver:
What's your version of spflashtool?
[Nokia 3 Guides, News, & Discussion] JonnyTech:
The latest for my operating system is https://spflashtools.com/wp-content/uploads/SP_Flash_Tool_v5.1828_Linux.zip

But I tried various going back about 6 or so builds - all Linux too (I have no access to Windows at all).

They all work fine on other phones that I have - it is only with my new Nokia 3 that I get the error message.
[Nokia 3 Guides, News, & Discussion] redweaver:
This is how I flash mine. Disconnect the phone, put it off, start the spflashtool then connect the phone. Might take a couple of tried before it's successful. Also make sure the download agent is DA_SWSEC_CRYPTO20.bin, not MTK_AllInOne_DA.bin
[Nokia 3 Guides, News, & Discussion] JonnyTech:
Thanks, I am well versed with using SPFT. It does detect the phone then tries to flash it, but the phone is obviously secured somehow. I am using the correct download agent from the first post, but it asks for an additional authentication file.

Is the problem that I am on Oreo with no way to downgrade to Nougat? If there is a method then can someone please detail it?
[Nokia 3 Guides, News, & Discussion] redweaver:
Has your bootloader been unlocked ever before? I hear that it only works if the bootloader was once unlocked - even if the oreo update relocked it
[Nokia 3 Guides, News, & Discussion] JonnyTech:
It is a new phone so, no, it has never been unlocked. Received with Oreo preinstalled. What are my options?
[Nokia 3 Guides, News, & Discussion] redweaver:
You're running windows right?

Try this:

Go to this link https://xdaforums.com/nokia-6/how-to/nokia-6-official-firmware-mena-region-t3664441

Follow the instructions up to step 12, let me know if your bootloader gets unlocked.

If it doesn't work then you will have to rollback to nougat, which will mean that you will lose all your phone data. Basically you will have to flash an old recovery with the stock recovery. At this point, your phone will not start anymore. You will have to flash ost as mentioned in the above link , this time go through all the steps. Once you're done you should be back in 7.x, then you can go through the steps for unlocking bootloader in fastboot mode.

Once your bootloader has been unlocked before, the twrp method should always work, even if after upgrading to Oreo your bootloader gets locked again
[Nokia 3 Guides, News, & Discussion] JonnyTech:
No. But if it is the only way to proceed then I shall find/make one.

Will do - but the link for the firmware download (step 1) is dead..
[Nokia 3 Guides, News, & Discussion] redweaver:
Check this link instead

https://xdaforums.com/nokia-3/development/nokia-3-official-firmware-india-uae-t3674320
[Nokia 3 Guides, News, & Discussion] bigrammy:
Tips For Linux:

DA_SWSEC_CRYPTO20 Just incase as I had one which did not work.

Use a USB 2.0 port if you have one on your PC as it seems to react quicker.

On my Linux setup the USB 3.0 ports are very temperamental when used with SPFlashTool and MTP USB. :eek:

In SPFlashTool I press the Download button count 4 sec's reasonably quickly then insert the usb lead and it mostly catches the device first time.

It seem's Nokia are locking down the bootloaders so be quick Unlocking it. https://www.xda-developers.com/august-security-update-on-nokia-phones-blocks-the-only-bootloader-unlock-method/

EDIT:

Hi [MENTION=5588897]JonnyTech[/MENTION]

Are you the same JonnyTech that worked on the porridge/porridge3 ??
[Nokia 3 Guides, News, & Discussion] JonnyTech:
Thanks [MENTION=3924647]bigrammy[/MENTION], sorry for the delay, my son had the phone and I have only just got it back.

Indeed they are. It has updated to the August patch and not even the SP Flash Tools works any longer, nor can I access the bootloader.

There is some news though, Nokia are providing a method to unlock the bootloader via an apk supplied by them. It does not work on my phone and their support tells me that it is only supported on Nokia 8, but I am hoping(!) that it may be supported in the future.

Yes, I did deodex and release a Lineage build for porridge but nothing for the porridge3.
[Nokia 3 Guides, News, & Discussion] bigrammy:
Hi Jonny,

I assume you used the DA_SWSEC_CRYPTO20 I posted above as I had some trouble with other one's floating around. :rolleyes:

Ramblings of a guy who had a few too many. :o

Kinda hoped you where a MediaTek guy but since you got the Nokia 8 I guess you soon realised the error of ways :laugh:

I am addicted to these cheap MediaTek phone's and have far more than I should have but sadly do not possess the ability to compile anything other than TWRP as nothing else seems to boot for me :crying:

I am like one of these guys you see staring into the engine bay of car waiting for something to jump out and say this is whats wrong whom I take the p*** out of BTW because I am a Mech and understand machines, cars and aircraft.

So for me I just stare into the source and think WTF is this all about I always seem to have more questions than answers after a good stare. :laugh:

Anyway hope you get it it rooted. :fingers-crossed:

Also Infocus is the "Own Brand" of the company FIH whom make all these oem devices for nokia sony htc apple etc etc etc and they really are the masters of MediaTek devices as proved by this rock solid Nokia 3 which has not put foot wrong. My Infocus M808 was also pretty solid and is still going strong as my Mum will not give it back. :(
[Nokia 3 Guides, News, & Discussion] JonnyTech:
Thank you [MENTION=3924647]bigrammy[/MENTION], after much faffing about I managed to unlock the bootloader via various fastboot commands and lots of rebooting. I still cannot get SPFT tools to work. Is there a specific version to use? I get a red bar with DA 100% at the bottom but nothing flashes.

My big problem now is that the phone displays a message about orange state: "orange state, this device has been unlocked and cant be trusted". I cannot boot the device at all, that is as far as it gets. Is there a known rom or workaround that I can try? Any suggestions welcome as this device in now a brick...

I am and I do love my MediaTek devices, hence the porridge and now the Nokia 3. But do not have an 8 - guess you misread my post.

When you build a rom it should produce both a boot.img and a system.img file. I always flash both myself rather than relying on a script to do it. Also, make sure that the system file is the correct format for your flashing method, sparse or not.
[Nokia 3 Guides, News, & Discussion] bigrammy:
Orange State is normal when unlocked.

I am using SPFlashTool version v5.1752 for Linux with DA_SWSEC_CRYPTO20 (posted above) as the "download agent".

Normally if it loads (Red Bar) it usually flashes :eek: Did you try hold volume + or Volume - when connecting as this sometimes works.

Not sure why it wont boot using the stock ROM though, did it do a data wipe after you unlocked the bootloader??

did you follow this https://xdaforums.com/nokia-3/how-to/guide-how-to-unlock-bootloader-nokia-3-t3699344 excerpt below.

Oreo ROM procedure:

1. fastboot -i 0x2e04 oem dm-verity <your_unlock_key> <Maybe your verity is still enforcing and not allowing it to boot>

2. fastboot -i 0x2e04 flash lk NE1-0-215H.lk.bin

3. fastboot reboot-bootloader

4. fastboot -i 0x2e04 oem key <your_unlock_key>

5. fastboot -i 0x2e04 oem unlock

6. then press volume up, when asked

Let Know how you get on with the above :fingers-crossed:
[Nokia 3 Guides, News, & Discussion] JonnyTech:
[MENTION=3924647]bigrammy[/MENTION] can you post your DA_SWSEC_CRYPTO20 file again please? The link in your previous post #121 is for the NE1-0-215H.lk.bin file.

I did wipe the data partition manually through TWRP, and after getting very fed up I also wiped system too because I wanted to flash LineageOS - the only one that I could find was here: https://androidfilehost.com/?w=files&flid=248950

So now I would be happy for any rom to load, if only I could get past the orange status message - but ideally not stock!

Yes, I did follow the steps that you posted. Once I have entered the dm-verity and oem unlock commands then I guess that I never have to do that again?
[Nokia 3 Guides, News, & Discussion] bigrammy:
Fixed the DA_SWSEC_CRYPTO20 Link Not sure how I screwed that up :laugh:

All is clear now. I flashed that Lineage and I thought it had bricked my phone too :eek: I think it was just a Alpha ROM built but not test on device.

There are no custom ROM's that I am a where of so it's back to stock till you build one that is :D

dm-verity and oem unlock command should only need to be done once.

Try the DA_SWSEC_CRYPTO20 and I am sure you will be back in business. with SPFlashTool :fingers-crossed:
[Nokia 3 Guides, News, & Discussion] JonnyTech:
Great, if only I can work out how to power off the phone, it keeps automatically booting and stopping at orange state...
[Nokia 3 Guides, News, & Discussion] bigrammy:
Just get spflashtool ready hit download then plug in the phone. As it bootloops spflashtool will catch it and put it into flashing mode. That's what I did. ;)
[Nokia 3 Guides, News, & Discussion] JonnyTech:
Thank you for you continued patience with what should be something quite trivial. I performed the unlock procedure again and am using the same version of SPflashtool, but am obviously missing something, as I keep getting an error about using an authentication file. Here is the log:

Connecting to BROM...
Scanning USB port...
Search usb, timeout set as 3600000 ms
add@/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2
add@/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0
add@/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/tty/ttyACM0
vid is 0e8d
device vid = 0e8d
pid is 0003
device pid = 0003
com portName is: /dev/ttyACM0
Total wait time = -1538830031.000000
USB port is obtained. path name(/dev/ttyACM0), port name(/dev/ttyACM0)
USB port detected: /dev/ttyACM0
BROM connected
Downloading & Connecting to DA...
connect DA end stage: 2, enable DRAM in 1st DA: 0
COM port is open. Trying to sync with the target...
Failed to Connect DA: S_AUTH_HANDLE_IS_NOT_READY
Disconnect!
BROM Exception! ( ERROR : S_AUTH_HANDLE_IS_NOT_READY (5000)
[User] This is a secure Base-band Chip! Please select the authentication file first.
[HINT]:
)((ConnectDA,../../../flashtool/Conn/Connection.cpp,146))
[Nokia 3 Guides, News, & Discussion] bigrammy:
No problem.

With the download agent replaced I don't get that warning anymore. :eek:

Maybe the last update disabled flashtool so I will try it when I get home later today.

Can you fastboot still or is that disabled too.?

Are you still using NE1-0-215H.lk.bin or the latest Oreo LK ?

Sorry for all the questions but I need to figure out what your current state is :confused:
[Nokia 3 Guides, News, & Discussion] JonnyTech:
[MENTION=3924647]bigrammy[/MENTION] I can enter stock recovery then bootloader. I had flashed stock v7.1.1 of both with fastboot. In fact, I flashed all partitions from the v7.1.1 stock rom via fastboot, and your NE1-0-215H.lk.bin, except system which is too big for fastboot to handle.

Need a working system installed because the device still just boots to the orange state message, never any further. Is there a way to do this through stock recovery or twrp rather than use spft? Do I need to modify the boot image with Magisk? What if I relock the bootloader (is this even possible?).
[Nokia 3 Guides, News, & Discussion] bigrammy:
flashing the Oreo update I posted in this thread HERE with stock recovery should work as it's not a "Patch ROM" but a full block update and don't worry too much because your unlocked bootloader will still remain unlocked from what I can gather. You may need to edit the updater script for TWRP to flash it.

The "Orange State" Warning sadly will remain because to reset that it will require other partitions flashing like secro, sec_cfg but I am not 100% sure which partitions are affected by the unlocking of the bootloader just yet. :confused:

This does not affect the ROM booting BTW.
[Nokia 3 Guides, News, & Discussion] JonnyTech:
[MENTION=3924647]bigrammy[/MENTION] cool, if that flashes from TWRP then that would be perfect. Which build of TWRP are you using? I found several and each has their quirks. Shall download and attempt when I get home later. Cheers.
[Nokia 3 Guides, News, & Discussion] bigrammy:
I cant remember :o

I will find the phone and take a look as I do not really use it anymore but I think I did my own TWRP if so I will upload it for you. :laugh: [MENTION=5588897]JonnyTech[/MENTION]

My TWRP is HERE I never got around to fixing the encrypted data so If your data is encrypted then you will need to format data ext4 then reboot to recovery and flash the update zip then Magisk v17.1 all from your external sdcard reboot then your done.
[Nokia 3 Guides, News, & Discussion] JonnyTech:
Hmm, booting to your recovery then flashing the update and rebooting has resulted in a proper brick. The damn thing will not power up at all, even holding down all buttons does nothing, not even a vibrate. This is a first for me, usually there is some way of bringing a phone back to life but I cannot work this one out. I am open to any and all suggestions...
[Nokia 3 Guides, News, & Discussion] bigrammy:
Did you Modify the updater script to work with TWRP??

The stock update needs to be flashed with stock recovery and if you wish to flash with TWRP you would need to mod the updater script as recovery's are switched about during the update process.

I doubt you have a proper brick it's just probably stuck halfway through the update during the switching :rolleyes:

Let me download the update and take a look at the update script.

PS You Need to quote me so I get a notification as only just seen this.

EDIT: I need to know what you edited as the very first thing the update script does is replace TWRP with the stock recovery before it proceeds

It then reboots to stock recovery and continues with the flash.

The next stumbling block could be switching tee1 and tee2 active

Last but not least is setting the preloader emmc mmcblk0 rewrite from read only

If you have nothing at all I suspect the preloader part got screwed.

I should be able to make a SPFlashTool recovery firmware for this android version but it may take some time....

I take it you still have the MTK preloader show up when you insert the phone into the PC ???
[Nokia 3 Guides, News, & Discussion] SkaboXD:
is it possible to implement f2fs formatting, it will increase performance drastically, i use f2fs on ZTE Axon 7 and i have no problems so far.

And switching to f2fs automatically removes encryption.
[Nokia 3 Guides, News, & Discussion] bigrammy:
Not certain at this time and would likely require fastab edits etc in both system and recovery. TWRP above cannot mount the f2fs once created.

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

Probably but will need some editing of the fstab files and a reliable recovery method in case it goes wrong as Jonny knows only too well.

I wonder why some people have difficulty with SPFashTool and others don't it's very strange.
[MENTION=5588897]JonnyTech[/MENTION]

I am going to flash the stock update unmodified and see what happens without any modding and If it bricks the phone and or locks me out of SPFlashtool so I can see how to try recover it. :eek:

---------- Post added at 01:49 PM ---------- Previous post was at 01:20 PM ----------

Boy this site is acting strange today :eek:
[MENTION=5588897]JonnyTech[/MENTION]

Anyway it's just dawned on me if you flash the stock update "as is" when it reboots to the stock recovery it probably does not see the update.zip as it's on external sd not internal sd as it would expect. :confused:

Need to think about this before I flash the update as the broken data encryption maybe the cause /data/media/0 is the correct place for sdcard but in recovery only /data/media is exposed after formatting no /0 is created and hence no proper internal storage path. :confused:

I need to go out now but I will work on it when I get home.

You may want to see if SPFlashTool or the OST tool will communicate/work in your currant state as It seems this maybe the best route to recover the phone.
[Nokia 3 Guides, News, & Discussion] bigrammy:
SPFlashTool Oreo Update TA-1020

[MENTION=5588897]JonnyTech[/MENTION]

OK so here is what I have done.

I borrowed my mates Nokia 3 which has never had the bootloader unlocked and never been rooted but was 2 minor security updates behind as he does not use it anymore due to a cracked screen. Now I did not apply these 2 updates before I made a full backup using SPFlashTool so I can say for certian that SPFlashTool using the DA_SWSEC_CRYPTO20 does work with Stock Oreo.

This file needs to replace the one included in the root of the SPFlashTool folder so rename the original DA_SWSEC_CRYPTO20 to ori-DA_SWSEC_CRYPTO20 and add the one in the download link. When you open SPFlashTool you must choose the "Download-Agent" manually.

This SPFlashTool update I made will restore the device to Stock Oreo - 2 minor security updates.

As you know I use Linux and SPFlashtool can behave a little erratically and it seems to be a timing issue so If you have windows available it maybe better to use that instead.

Here is what I do exactly on my Linux Machine.

Launch SPFlashTool

choose the DA_SWSEC_CRYPTO20

choose the scatter

Phone Off

have the micro USB end of the cable already inserted in the phone

locate a USB 3.0 port (Or USB 2.0 depending on how Linux feels on the day)

I now hit the "Download" button and count 1 2 3 4 then insert the USB lead

That's it the download starts.

Note this may take a few attempts using different ports, timings, etc I also noted that to do a "Read Back by Scatter" I had to hold the Volume + Button when inserting the USB cable. Like I say I am sure it wont be this glitchy on Windows OS.

Special Notes: All data is wiped I included para in the flash just in case you got in a recovery loop as I did messing with the ota.

Here is the screen shot of the actual flash.

ROM Download HERE

TMP Removal until serial is changed

Hopefully this will recover the device and we can start again. :fingers-crossed: