[13.0][UNOFFICIAL] LineageOS 20 for Nokia 4.2

Search This thread

Calcometer

Member
Feb 27, 2017
7
0
Hello,

thanks for your amazing work keeping Nokia 4.2 up-to-date.

I found a bug in the image lineage-20.0-20220921-UNOFFICIAL-panther.zip

It is not possible to use Bluetooth speakers / headsets. It connects and allows to start and stop the track, but the audio is not transferred. You hear the music not from the Bluetooth speakers, but you can hear it from the phone speakers.

Android 13 allows switching between phone speakers / Bluetooth speakers via the notification in the notification area, but the change has no effect: Sound comes from only the phone speakers.

I hope you can fix this.

Thanks for the great work ;-)
 

baseline2016

Member
Jan 19, 2016
5
1
Moto G 2015
Motorola One
I almost there were several attempts failed. I didn't have a recovery on my stock ROM so the first step failed. So I installed the lineage recovery. Installed the required version on both boot slots. Then I installed the latest version 16-11-2022 of your ROM twice on boot slots A/B and I installed the right mind the gapps. And I installed the vendor.img file. I hope I used the right one as there were more in one folder. I wiped the data partition and I was finally able to boot. The ROM speed is perfect but I have no WiFi. I'm able to manual at a network which is remembered but no connection. Please can anyone help me?
 
  • Like
Reactions: Calcometer

Calcometer

Member
Feb 27, 2017
7
0
I almost there were several attempts failed. I didn't have a recovery on my stock ROM so the first step failed. So I installed the lineage recovery. Installed the required version on both boot slots. Then I installed the latest version 16-11-2022 of your ROM twice on boot slots A/B and I installed the right mind the gapps. And I installed the vendor.img file. I hope I used the right one as there were more in one folder. I wiped the data partition and I was finally able to boot. The ROM speed is perfect but I have no WiFi. I'm able to manual at a network which is remembered but no connection. Please can anyone help me?
Same here. I solved by fixing the Wifi channel (11) in the rooter. Others suggest to disable IPv6 at the rooter. Complex topic: https://forum.xda-developers.com/t/discussion-wifi-drop-out-issue-on-custom-roms.4091625/page-6

I experience the same issues after I go back to stock.
 

Calcometer

Member
Feb 27, 2017
7
0
In Januar I flashed vendor_V3.240.img

I got back to stock (Android 11):

I sideloaded boot-lineage-20-2022-12-14.img and lineage-20.0-20221214-UNOFFICIAL-PAN_sprout.zip in both slots.

Maybe a clear installation instruction would be great because the sequence of the commands are not helpful (does not work for me). For a total beginner, it is unmanageable to flash it correctly because some steps are not written down e.g How to get in fastboot / recovery? How to enforce booting in other slot? When to wipe?
 

Calcometer

Member
Feb 27, 2017
7
0
Change Wifi chanel: https://helpdeskgeek.com/networking/how-to-change-your-wi-fi-channel-and-improve-performance/

After I go back to stock, i have the same Wi-Fi problems after flashing lineage-20.0-20220921-UNOFFICIAL-panther.zip . Currently, I use the stock version because the last stable version was for me lineage-19.1-20220816-UNOFFICIAL-panther.zip . Normally, you cannot downgrade Android 13 to 12

Go back to stock:
adb sideload 37....zip
 

jojobenchikha

New member
Dec 22, 2022
1
0
Thanks for the rom mate I'm enjoying it, but can you please add a control feature for the led on the lock button? It's always on, also a control feature for the google assistant button.
Good luck mate and keep up with the good work
 

Calcometer

Member
Feb 27, 2017
7
0
The new patch works for me (Wifi and bluetooth). I also flashed the vendor image vendor_V3.240.img

Maybe change the download mirror. I get only 120 -230 Kb/s (having a 1 Gb/s connection in Europe)

Great Work. Security (Functional) Updates avoid a lot of electronic waste and burning money for a new phone.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    2okPze5.png

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

    Code:
    /*
    * 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 if you have any concerns about features included in this ROM
    * before flashing it! 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.
    */

    PROJECT STATUS:
    - Everything seems to work fine at this point.
    - If Nokia ever cares to release both up-to-date kernel and techpack/audio driver, I will try to move from unofficial to official.

    HOW TO INSTALL LINEAGEOS:
    - Check your current firmware version: required version is V3.150 (March 2021 update, Android 11).
    - If you're not on this version or unsure:
    1 Reboot to recovery​
    Bash:
    adb reboot recovery
    3 Sideload the file​
    Bash:
    adb sideload 37a17a09b0b0d8ab0a3c398f373af4f0e1f067a1.zip
    4 Reboot to recovery again​
    5 Sideload the file again to have it in both slots, A & B​
    Bash:
    adb sideload 37a17a09b0b0d8ab0a3c398f373af4f0e1f067a1.zip
    - Flash Lineage recovery/bootimage to active slot via fastboot:
    - Find out active slot:​
    Bash:
    fastboot getvar current-slot
    - Flash boot.img to active slot:​
    Bash:
    fastboot flash boot_$slot boot.img
    - Reboot to Lineage recovery via the fastboot UI
    - Sideload LineageOS via Lineage recovery
    Bash:
    adb sideload lineage-19.0-20220105-UNOFFICIAL-panther.zip
    - Optional: flash GAPPS before rebooting to system: Click Advanced, then Reboot to Recovery, then when your device reboots, click Apply Update, then Apply from ADB, then adb sideload filename.zip those packages in sequence.

    GOING BACK TO STOCK:
    - Sideload https://android.googleapis.com/packages/ota-api/package/37a17a09b0b0d8ab0a3c398f373af4f0e1f067a1.zip in Lineage recovery
    - Wipe data / factory reset

    DOWNLOADS:
    - LineageOS 20
    - Lineage recovery
    - Google Apps: ?? (MindTheGapps)

    DEVELOPER RESOURCES
    - LineageOS source code: https://github.com/LineageOS @ lineage-20.0
    - Device tree: https://github.com/trautamaki/android_device_nokia_panther @ lineage-20
    - Kernel: https://www.nokia.com/phones/en_int/opensource (prebuilt, for reference: https://github.com/trautamaki/android_kernel_nokia_sdm439)

    Android version: Android 13
    Kernel version: Linux 4.9.y
    Required firmware: December update, Android 11, V3.240 (Nokia/Panther_00WW/PAN_sprout:11/RKQ1.200928.002)

    THIS IS ONLY TESTED BY ME ON MODEL TA-1157.
    Other variants may or may not work with this.

    Telegram: https://t.me/los_panther
    3
    After more than 3 months of using this rom daily I can't see any bugs. GPS, wi-fi. LTE, Bluetooth works perfect.
    2
    Plan is to do monthlies for latest security patch.
    If there's a bug, I can build sooner!

    TROBLESHOOTING
    If this does not boot for some reason, try to flash stock vendor.img to both slots:
    Bash:
    fastboot flash vendor_a vendor.img
    fastboot flash vendor_b vendor.img
    You can find vendor.img here.
    2
    hello I just wanted to upgrade my nokia 4.2 TA-1152 to android 12 because it would improve my performance
    actually I am a newbie into this can you please explain this step by step
    Read first post. If it's not enough, then LineageOS is not for you at this time.
    can you please provide me the boot.img file of nokia 4.2 TA-1152 android 11 firmware version 3.150
    Download the stock rom and extract it from there.
    2
    Update
    * Fixed Bluetooth audio

    If your Wifi refuses to connect after this update, go to
    Settings -> System -> Reset options and reset Wifi, mobile & Bluetooth


    If firmware is not updated to V3.240:
    * Flash updated vendor image to both slots
    * Sideload LineageOS zip

    Download: LineageOS