
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
2 Download https://android.googleapis.com/packages/ota-api/package/37a17a09b0b0d8ab0a3c398f373af4f0e1f067a1.zip
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
- Find out active slot:
Bash:
fastboot getvar current-slot
- Flash boot.img to active slot:
Bash:
fastboot flash boot_$slot boot.img
- Sideload LineageOS via Lineage recovery
Bash:
adb sideload lineage-19.0-20220105-UNOFFICIAL-panther.zip
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: