[HMP][4.4.205] Popcorn Kernel for Nokia SDM660

Search This thread
pop-cor-n.png


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 kernel
* 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.
*
*/

Join our Telegram group for faster updates and news!

Another kernel, you say? Yes. Popcorn Kernel (pun intended) is blatantly and unashamedly a fork of Enigma Kernel, but not without some differences. While Enigma focuses on stability and UX, Popcorn tries to prolong battery life without a major hit to performance.

Why are you using the Enigma Telegram groups? Because the development of both the kernels go hand in hand, and we have way too many groups for being such a small community.

What makes Popcorn different? Well, aside from being more battry-oriented, Popcorn also aims to be up to date with the latest CAF tags, and also the latest upstream kernel in the near future.

Use either Franco Kernel Manager or SmartPack Kernel Manager to tweak. If you find a sweet spot that you'd share with the community, please feel free to do so

Installation Instructions
- Open Franco Kernel Manager/SmartPack Kernel Manager
- Head to the "Flasher"/"SmartPack"
- Click on "Import a kernel download configuration"/"Update Channel URL"
- Paste this link in the dialog that opens - https://raw.githubusercontent.com/Sid127/Sid127/master/popcorn.json
- Click save
- Click Flash and reboot after flashing
- After the reboot, open terminal app of choice and pass the commands as
su rm -rf /data/cache[/B][/I] and [I][B]rm -rf /data/dalvik-cache

This method will deliver OTA kernel updates through FKM.

-OR-

- Download the kernel from Github
- Store it on any storage you have on your phone
- Fastboot TWRP
- Flash via TWRP
- Clear Dalvik/Cache
- Reboot

-OR-

- Download kernel from Github
- Store it on any storage you have on your phone
- Open Franco Kernel Manager and navigate to Flasher section
- Select the kernel from storage
- Tap on reboot after flashing (Don't worry, Magisk will be preserved)
- Wait for the flashing process to complete and reboot
- Open terminal app of choice and pass the commands as
su rm -rf /data/cache[/B][/I] and [I][B]rm -rf /data/dalvik-cache

Downloads - GitHub Releases

Kernel source - GitHub

Compatible with -
> Nokia 6.1 (PL2)
> Nokia 6.1 Plus/X6 (DRG)
> Nokia 7 Plus (B2N)


Special Thanks to:
@Sahil_Sonar - for being a great mentor and providing a reliable build server
@CarbonGTR - for the Enigma Kernel
@Nikhilkumar038 - for all the support, and for what little testing I needed
@malvigagan - for encouraging me into maintaining my own kernel for reasons
@ArcherTanu - for sharing his GCP server

Version Information
Status:
Stable
Most Recent Release Date: 29th Jan, 2021
Created 27th Jan, 2021
 
Last edited:
MOAR INFO

* Requirements -

- A unlocked Nokia 6.1, 6.1 Plus or 7 Plus
- A PC with fastboot working
- Stock or custom ROM that boots
- A recovery or FK Kernel Manager

* Device heats up a lot. Can you do something?
- Maybe, maybe not. A constantly hot running device can have multiple causes, including but not limited to - clogged RAM, constantly high CPU usage, exposure to sunlight, etc. If there's something I can do to help the device run cooler, do suggest and I'll try implementing it.

* Why HMP and why not EAS?
From my own and couple other testers' experience, HMP. EAS is difficult to tune, especially when it's not the native energy model for a device. HMP has decent/acceptable performance and should be a very stable solution while prolonging battery life - which is what Popcorn aims to achieve.

* What's CAF and why should I care?
CAF stands for the CodeAurora Forum. It is like the name says, an online forum where Qualcomm releases source codes and patches for their CPUs. Qualcomm and MediaTek also implement their own hardware-specific features into Android so that the OS becomes more optimized for their respective CPUs. CAF, adds a lot of stuff that can take advantage of their CPU prowess, like better audio processing, various CPU clock tweaks, camera patches, and libs, and much more.
 
Last edited:
If you like my work, consider buying me a coffee and join our telegram groups

CHANGELOG

Code:
Buttered r1 - 22nd June 2021
- Rebased to fresh Enigma sources
- CAF tag LA.UM.9.2.r1-03400-SDMxx0.0
- Dropped all previous popcorn changes (they'll be back in a future release)
- Fixed VoIP and Camera (hopefully) on PL2

Salted r3 - 3rd Feb 2021
- Enable USB Fast Charge
- Add State Notifier
- Minor GPU optimization

Salted r2 - 29th Jan 2021
- Reworked VDSO
- Switch to LZ4 for faster zram decompression
- Rework QCACLD from LineageOS kernel to fix WiFi

Initial Release r1 - 28th Jan 2021
- Near-stock kernel with VDSO
- Based on CAF tag LA.UM.9.2.r1-02000-SDMxx0.0
 
Last edited:
I'm back after a long hiatus (mainly due to ****ing entrances) with a new release of Popcorn Kernel!

- Rebased to fresh Enigma sources
- CAF tag LA.UM.9.2.r1-03400-SDMxx0.0
- Dropped all previous popcorn changes (they'll be back in a future release)
- Fixed VoIP and Camera (hopefully) on PL2

Also a small leak to those that care about this XDA thread:
Popcorn Kernel is gonna make its way to my UBTouch port soon (which hasn't been updated in ages)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    pop-cor-n.png


    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 kernel
    * 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.
    *
    */

    Join our Telegram group for faster updates and news!

    Another kernel, you say? Yes. Popcorn Kernel (pun intended) is blatantly and unashamedly a fork of Enigma Kernel, but not without some differences. While Enigma focuses on stability and UX, Popcorn tries to prolong battery life without a major hit to performance.

    Why are you using the Enigma Telegram groups? Because the development of both the kernels go hand in hand, and we have way too many groups for being such a small community.

    What makes Popcorn different? Well, aside from being more battry-oriented, Popcorn also aims to be up to date with the latest CAF tags, and also the latest upstream kernel in the near future.

    Use either Franco Kernel Manager or SmartPack Kernel Manager to tweak. If you find a sweet spot that you'd share with the community, please feel free to do so

    Installation Instructions
    - Open Franco Kernel Manager/SmartPack Kernel Manager
    - Head to the "Flasher"/"SmartPack"
    - Click on "Import a kernel download configuration"/"Update Channel URL"
    - Paste this link in the dialog that opens - https://raw.githubusercontent.com/Sid127/Sid127/master/popcorn.json
    - Click save
    - Click Flash and reboot after flashing
    - After the reboot, open terminal app of choice and pass the commands as
    su rm -rf /data/cache[/B][/I] and [I][B]rm -rf /data/dalvik-cache

    This method will deliver OTA kernel updates through FKM.

    -OR-

    - Download the kernel from Github
    - Store it on any storage you have on your phone
    - Fastboot TWRP
    - Flash via TWRP
    - Clear Dalvik/Cache
    - Reboot

    -OR-

    - Download kernel from Github
    - Store it on any storage you have on your phone
    - Open Franco Kernel Manager and navigate to Flasher section
    - Select the kernel from storage
    - Tap on reboot after flashing (Don't worry, Magisk will be preserved)
    - Wait for the flashing process to complete and reboot
    - Open terminal app of choice and pass the commands as
    su rm -rf /data/cache[/B][/I] and [I][B]rm -rf /data/dalvik-cache

    Downloads - GitHub Releases

    Kernel source - GitHub

    Compatible with -
    > Nokia 6.1 (PL2)
    > Nokia 6.1 Plus/X6 (DRG)
    > Nokia 7 Plus (B2N)


    Special Thanks to:
    @Sahil_Sonar - for being a great mentor and providing a reliable build server
    @CarbonGTR - for the Enigma Kernel
    @Nikhilkumar038 - for all the support, and for what little testing I needed
    @malvigagan - for encouraging me into maintaining my own kernel for reasons
    @ArcherTanu - for sharing his GCP server

    Version Information
    Status:
    Stable
    Most Recent Release Date: 29th Jan, 2021
    Created 27th Jan, 2021
    2
    I'm back after a long hiatus (mainly due to ****ing entrances) with a new release of Popcorn Kernel!

    - Rebased to fresh Enigma sources
    - CAF tag LA.UM.9.2.r1-03400-SDMxx0.0
    - Dropped all previous popcorn changes (they'll be back in a future release)
    - Fixed VoIP and Camera (hopefully) on PL2

    Also a small leak to those that care about this XDA thread:
    Popcorn Kernel is gonna make its way to my UBTouch port soon (which hasn't been updated in ages)
    1
    ayy beautiful :D

    also reasons