How To Guide [GUIDE] How to unlock the bootloader for Nokia 2.2

Search This thread

AAditya846

Member
May 16, 2016
26
0
✅ I unlocked and rooted successfully (IMEI also restored).

- I'm going update to Android 11 to flash TWRP and then LineageOS.

Is this guide to flash GSI?
And which should I install? lineage-19.x or lineage-18.x or lineage-17.x ?
That did not work for me. I tried installing Lineage OS 18 and 19. No luck. I might be doing something wrong... But android 9 and 10 works so I'm not sure what's wrong and at this point I'm done with MTK devices.
 

VR25

Senior Member
Apr 20, 2013
1,978
4,820
github.com
That did not work for me. I tried installing Lineage OS 18 and 19. No luck. I might be doing something wrong... But android 9 and 10 works so I'm not sure what's wrong and at this point I'm done with MTK devices.
I already mentioned here that Lineage is a no-go at this point. Use PHH GSIs: ab-vndklite-gapps-secure or ab-vndklite-floss-secure.
 

Emy3310

Member
Dec 23, 2020
8
1
Hi! I have a question. It is possible to get a system like android 6 or 7 on this device? I think that even the android 9 that I am running now and constamtly fighting the stupid "restart to install updates" notification is just too much for this phone. If not, at least does anyone knows the name of this ****ty update aplication so I can erase it from the face of the memory chip? It seems to be google play services but I am not sure.
 

Badzsa

Member
Mar 25, 2021
31
3
Hi! I have a question. It is possible to get a system like android 6 or 7 on this device? I think that even the android 9 that I am running now and constamtly fighting the stupid "restart to install updates" notification is just too much for this phone. If not, at least does anyone knows the name of this ****ty update aplication so I can erase it from the face of the memory chip? It seems to be google play services but I am not sure.
nope... its no work .. you cannot hide the popup message for update :( recive it every week
images
 

Emy3310

Member
Dec 23, 2020
8
1
Found the culprit! It is google play services. Just erasing it got rid of the update popups and notifications. Of course I did that also because I am fully kicking google out of my phone.
 

Badzsa

Member
Mar 25, 2021
31
3
GSI Installation Steps

1. Install Android 11 firmware base. While 10 might work as well, I haven't tested it. Android 9 firmware did not work for me, but it's been a while since the last time I tested (might work with latest GSI's).

2. Flash an ARM64 A/B VNDKLITE GSI variant, with fastboot, TWRP or terminal (cat, dd, etc.).
fastboot flash system system-squeak-arm64-ab-vndklite-floss-secure.img

3. Factory reset with one of these three methods:
- Stock recovery (recommended);
- fastboot format userdata;
- TWRP's "format data" option.

Notes
- I assume everyone already knows how to unlock the bootloader, root, and flash vbmeta.
- VNDK flavors are not booting.
good news : aosp 12 boot in with android 10 firmware too !!! (Y)
 
Last edited:
  • Like
Reactions: VR25

VR25

Senior Member
Apr 20, 2013
1,978
4,820
github.com
Found the culprit! It is google play services. Just erasing it got rid of the update popups and notifications. Of course I did that also because I am fully kicking google out of my phone.
Under developer options, one can disable automatic system updates. I'm just not sure whether this also hides the annoying notifications.

good news : aosp 12 boot in with android 10 firmware too !!! (Y)
I recently downgraded to Android 9, just to find out how speedy it is, in comparison to 11. Now I want to test 10. Android 11 firmware is painfully broken.

Would you mind sharing some information about your firmware?
I'd like to see the output of the following root command line:
Bash:
uname -a; ls /sys/module/lowmemorykiller/; cat /dev/block/zram*/comp_algorithm
 
Last edited:

Badzsa

Member
Mar 25, 2021
31
3
where need to bash this code?
My android 10 firmware's name is : Nokia/Wasp_00WW/WSP_sprout 10/QP1A.190711.20/00WW_2_40B
 

sgetr1

Member
Sep 8, 2019
7
1
hi.there is hope for coming custom rom for 2.2 or not???

and i upgraded to android 11 and it have battery drain for me...
there is a reliable way for back to 10??


who's back to android 10???
 

sgetr1

Member
Sep 8, 2019
7
1
way back to a10, only with clean flash

i dont know how flash my nokia 2.2 to android 10 and i dont want that my phone break😁
😁briefly its possible that back to 10 or not???
because a friend say that if you want back you must back to 9 and after it flash android 10 to your phone...
 
Last edited:

Badzsa

Member
Mar 25, 2021
31
3
i dont know how flash my nokia 2.2 to android 10 and i dont want that my phone break😁
😁briefly its possible that back to 10 or not???
because a friend say that if you want back you must back to 9 and after it flash android 10 to your phone...
all information what you need is here in this pages , just read it carefully from A- to -Z .. :D
 

sgetr1

Member
Sep 8, 2019
7
1
Now the last piece of puzzle of Nokia x.2 series bootloader unlock line has been completed, thanks to the help of a member called Woke_World.
After I read his procedure, I decided to optimize the entire procedure and use my own firmware file to achieve it.

Step 1: Do full backup
(For this case please use SP Flash Tool 5.1924 or newer that can be found on spflashtool.com )

The firmware for this procedure can be downloaded here: https://www.androidfilehost.com/?fid=2188818919693749336
SHA256: D056631A8A795A06795B3A4E5F334DBF9B55C3C71269831F8E7926FA3ABA5637

Please follow the procedure in this topic to do readback: https://forum.xda-developers.com/t/...-global-nokia-5-1-plus-unbrick-guide.3858253/
For this case, you need to keep Download Agent file as the same came with SP Flash Tool, and altunlock-MT6761_Android_scatter.txt

Once readback done, please extract these images inside your backup for later use:
Code:
nvcfg.img
nvram.img
proinfo.img
protect1.img
protect2.img



Step 2: Format all + Download to flash the firmware with altunlock scatter file
Switch to Download tab, and choose format all + download to flash the entire phone with this scatter file: "altunlock-MT6761_Android_scatter.txt"
Once flash complete, disconnect the phone.

Step 3: Bootloader unlock
Press and hold volume down key and connect to PC - keep that condition for around 12 seconds then the phone will boot to Fastboot mode.
Execute these 2 commands to perform bootloader unlock:
Code:
fastboot flashing lock_critical
fastboot oem unlock

Look at your phone and press volume up to confirm unlock. Once done, disconnect the phone and remove the battery, wait 5 seconds and place the battery back.

Step 4: Do readback again
Once readback done, please extract these images inside your backup for later use:
Code:
sec1.img
seccfg.img

Step 5: Format all + Download to flash the firmware with original scatter file
Switch to Download tab, and choose format all + download to flash the entire phone with the original scatter file named as "MT6761_Android_scatter.txt" - note there's no altunlock at the beginning of filename.
Once flash complete, disconnect the phone.

Step 6: Power on the phone and enable USB debugging, root the phone with MTK Easy SU
[NOTE: DO NOT INSERT ANY SIM CARDS AND YOU MUST SKIP INTERNET CONNECTION]

You can download the MTK Easy SU apk from here : https://github.com/JunioJsv/mtk-easy-su/releases/latest
And Magisk APK from here : https://github.com/topjohnwu/magisk/releases/latest

When you have both MTK Easy Su and Magisk APK installed, please enable the "Run as 64 Bits" option, and tap the hash (#) button to enable root.
Once root complete, we can now re-enable bootloader unlock and restore IMEI.

Step 7: Re-enable bootloader unlock and restore IMEI
Please copy the 7 img files to your phone's internal storage:
Code:
nvcfg.img
nvram.img
proinfo.img
protect1.img
protect2.img
sec1.img
seccfg.img
We assume you copied them to root directory of internal storage (a.k.a. /storage/emulated/0/ )

Then execute these commands on your PC:
Code:
adb shell
su
dd if=/storage/emulated/0/nvcfg.img of=/dev/block/bootdevice/by-name/nvcfg
dd if=/storage/emulated/0/nvram.img of=/dev/block/bootdevice/by-name/nvram
dd if=/storage/emulated/0/proinfo.img of=/dev/block/bootdevice/by-name/proinfo
dd if=/storage/emulated/0/protect1.img of=/dev/block/bootdevice/by-name/protect1
dd if=/storage/emulated/0/protect2.img of=/dev/block/bootdevice/by-name/protect2
dd if=/storage/emulated/0/sec1.img of=/dev/block/bootdevice/by-name/sec1
dd if=/storage/emulated/0/seccfg.img of=/dev/block/bootdevice/by-name/seccfg

When it's done, please perform factory reset to apply the NVRAM restoration.

Please watch this video for entire procedure demonstration:

That wraps up the entire procedure of bootloader unlock, and have fun for modding this device!

Credits:
Woke_World from triple-color company product community
diplomatic for his MTK-SU Exploit and simplified utility called JunioJsv
topjohnwu for MagiskSU
hi.guys

1. i download driver but i dont know install x86 or x64 which i install??

2. if i do readback like this video tutorial its ok???

3. if i keep the dump.img file after readback and my phone be bootlooped after readback...can i return my phone with dump.img file or not??

4. for the step 5 i must press any button??

5. in step 7 he open adb himself??? or its come automatically?

sorry im not dev😁
 
  • Like
Reactions: Badzsa

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    To moderators: There's no Nokia 2.2 forum in XDA-Developers, please move this topic when available.
    To content farms: DO NOT COPY AND PASTE THE ENTIRE GUIDE!

    Now the last piece of puzzle of Nokia x.2 series bootloader unlock line has been completed, thanks to the help of a member called Woke_World.
    After I read his procedure, I decided to optimize the entire procedure and use my own firmware file to achieve it.

    Step 1: Do full backup
    (For this case please use SP Flash Tool 5.1924 or newer that can be found on spflashtool.com )

    The firmware for this procedure can be downloaded here: https://www.androidfilehost.com/?fid=2188818919693749336
    SHA256: D056631A8A795A06795B3A4E5F334DBF9B55C3C71269831F8E7926FA3ABA5637

    Please follow the procedure in this topic to do readback: https://forum.xda-developers.com/t/...-global-nokia-5-1-plus-unbrick-guide.3858253/
    For this case, you need to keep Download Agent file as the same came with SP Flash Tool, and altunlock-MT6761_Android_scatter.txt

    Once readback done, please extract these images inside your backup for later use:
    Code:
    nvcfg.img
    nvram.img
    proinfo.img
    protect1.img
    protect2.img

    DO NOT SKIP STEP 1, OR YOUR PHONE WILL NOT HAVE IMEI AND SN!

    Step 2: Format all + Download to flash the firmware with altunlock scatter file
    Switch to Download tab, and choose format all + download to flash the entire phone with this scatter file: "altunlock-MT6761_Android_scatter.txt"
    Once flash complete, disconnect the phone.

    Step 3: Bootloader unlock
    Press and hold volume down key and connect to PC - keep that condition for around 12 seconds then the phone will boot to Fastboot mode.
    Execute these 2 commands to perform bootloader unlock:
    Code:
    fastboot flashing lock_critical
    fastboot oem unlock

    Look at your phone and press volume up to confirm unlock. Once done, disconnect the phone and remove the battery, wait 5 seconds and place the battery back.

    Step 4: Do readback again
    Once readback done, please extract these images inside your backup for later use:
    Code:
    sec1.img
    seccfg.img

    Step 5: Format all + Download to flash the firmware with original scatter file
    Switch to Download tab, and choose format all + download to flash the entire phone with the original scatter file named as "MT6761_Android_scatter.txt" - note there's no altunlock at the beginning of filename.
    Once flash complete, disconnect the phone.

    Step 6: Power on the phone and enable USB debugging, root the phone with MTK Easy SU
    [NOTE: DO NOT INSERT ANY SIM CARDS AND YOU MUST SKIP INTERNET CONNECTION]

    You can download the MTK Easy SU apk from here : https://github.com/JunioJsv/mtk-easy-su/releases/latest
    And Magisk APK from here : https://github.com/topjohnwu/magisk/releases/latest

    When you have both MTK Easy Su and Magisk APK installed, please enable the "Run as 64 Bits" option, and tap the hash (#) button to enable root.
    Once root complete, we can now re-enable bootloader unlock and restore IMEI.

    Step 7: Re-enable bootloader unlock and restore IMEI
    Please copy the 7 img files to your phone's internal storage:
    Code:
    nvcfg.img
    nvram.img
    proinfo.img
    protect1.img
    protect2.img
    sec1.img
    seccfg.img
    We assume you copied them to root directory of internal storage (a.k.a. /storage/emulated/0/ )

    Then execute these commands on your PC:
    Code:
    adb shell
    su
    dd if=/storage/emulated/0/nvcfg.img of=/dev/block/bootdevice/by-name/nvcfg
    dd if=/storage/emulated/0/nvram.img of=/dev/block/bootdevice/by-name/nvram
    dd if=/storage/emulated/0/proinfo.img of=/dev/block/bootdevice/by-name/proinfo
    dd if=/storage/emulated/0/protect1.img of=/dev/block/bootdevice/by-name/protect1
    dd if=/storage/emulated/0/protect2.img of=/dev/block/bootdevice/by-name/protect2
    dd if=/storage/emulated/0/sec1.img of=/dev/block/bootdevice/by-name/sec1
    dd if=/storage/emulated/0/seccfg.img of=/dev/block/bootdevice/by-name/seccfg

    When it's done, please perform factory reset to apply the NVRAM restoration.

    Please watch this video for entire procedure demonstration:

    That wraps up the entire procedure of bootloader unlock, and have fun for modding this device!

    Credits:
    Woke_World from triple-color company product community
    diplomatic for his MTK-SU Exploit and simplified utility called JunioJsv
    topjohnwu for MagiskSU
    3
    @areallydumbperson @VR25

    You may notice that this thread now is located at its own Nokia 2.2 forum.

    Along with this change, several other threads have been moved to this forum as well.

    Please report any thread outside this forum needs to be moved. Thank you very much and hope you enjoy the new place for Nokia 2.2. :D
    2
    TWRP 11 Bugfix:

    Fixed system refusing to mount (finally) thanks lopestorm :) ur fstab flie really helped me out
    bootloops from twrp.me is soon gonna be fixed hopefully i have made a pull request in their git
    more partitions should be able to be backed up (again thanks to lopestorm)