[12.1][UNOFFICIAL] LineageOS 19.1 for Nokia 4.2

Search This thread

T1mb3

Senior Member
Feb 14, 2016
765
1,056
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

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

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

DEVELOPER RESOURCES
- LineageOS source code: https://github.com/LineageOS @ lineage-19.0
- Device tree: https://github.com/trautamaki/android_device_nokia_panther @ lineage-19.0
- Kernel: current: https://www.nokia.com/phones/en_int/opensource (prebuilt)

(for reference: https://github.com/trautamaki/android_kernel_nokia_sdm439)

Android version: Android 11
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.
Indian variant may or may not work with this.

Telegram: https://t.me/los_panther
 
Last edited:
  • Like
Reactions: PPajac

T1mb3

Senior Member
Feb 14, 2016
765
1,056
Plan is to do monthlies for latest security patch.
If there's a bug, I can build sooner!


These builds include monet and other open topics in LineageOS Gerrit, notably the chains for frameworks/base.

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.
 
  • Like
Reactions: PPajac
Jan 6, 2022
6
0
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
 

T1mb3

Senior Member
Feb 14, 2016
765
1,056
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.
 
  • Like
Reactions: PPajac
Jan 6, 2022
6
0
bro i got the firmware but the firmware is of android 9 and I have android 11 I even tried patching the android 9 boot.img and flashing it but resulted in soft bricking my device after all this I again ubricked my devcie and thought better to ask in xda
 

T1mb3

Senior Member
Feb 14, 2016
765
1,056
Update
* Vendor security patch to 2021-12
* System security patch to 2022-01

Update instructions:
* Flash updated vendor image to both slots
* Firmware is updated automatically, don't worry about it
* Sideload LineageOS zip

Download: LineageOS, vendor image
 
  • Like
Reactions: PPajac

T1mb3

Senior Member
Feb 14, 2016
765
1,056
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
 
  • Like
Reactions: PPajac
Jan 3, 2022
16
2
22
Bangladesh
Nokia 4.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
everything works pretty good .As you know the magiks has upadted to 24.1 so the safety net has been removed so pleased can you give the solution
 

PPajac

Member
On my panther everything seems to work fine too (bluetooth audio same) but I still can't install any gapps. After factory data reset, sideload lineage, sideload gapps (mindthegapps12arm64,nikgapps12arm64) and reboot i can only configure lineage and can't add google account.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Update
    * May security patch

    Download: LineageOS
  • 2
    After more than 3 months of using this rom daily I can't see any bugs. GPS, wi-fi. LTE, Bluetooth works perfect.
    1
    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

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

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

    DEVELOPER RESOURCES
    - LineageOS source code: https://github.com/LineageOS @ lineage-19.0
    - Device tree: https://github.com/trautamaki/android_device_nokia_panther @ lineage-19.0
    - Kernel: current: https://www.nokia.com/phones/en_int/opensource (prebuilt)

    (for reference: https://github.com/trautamaki/android_kernel_nokia_sdm439)

    Android version: Android 11
    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.
    Indian variant may or may not work with this.

    Telegram: https://t.me/los_panther
    1
    Plan is to do monthlies for latest security patch.
    If there's a bug, I can build sooner!


    These builds include monet and other open topics in LineageOS Gerrit, notably the chains for frameworks/base.

    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.
    1
    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.
    1
    Update
    * May security patch

    Download: LineageOS