FORUMS
Remove All Ads from XDA

[8.1/9.0] Popcorn Kernel [v1.9.3] [21st November 2018]

1,915 posts
Thanks Meter: 1,393
 
Post Reply Email Thread
Hello everyone,
With the permission of neobuddy89, I have started to incorporate patches from his Sigma Kernel into the LineageOS 15.1 kernel.

As far as I know, the kernel is working on LineageOS based ROMs and camcory tree based ROMs. However, the kernel is based on the LineageOS kernel so if a ROM has problems, do provide logs and I'll look into it.

Kernel should also work fine on Pie ROMs.

Features:
  • KCAL with LiveDisplay interface
  • Wake Gestures by flar2
  • fsync toggle
  • I/O Schedulers: FIOPS, SIOPLUS, ZEN, MAPLE
  • TCP Algorithms: bic, highspeed, htcp, hybla, illinois, lp, scalable, vegas, veno, westwood, yeah
  • Chill CPU gov added
  • Hotplugs: AutoSMP, State Helper, Mako
  • MSM Limiter
  • State Notifier
  • ZRAM and LZ4
  • UKSM
  • Sound Control
  • CPU Voltage control
  • USB Fast Charging
  • Better CPU boost implementation, thanks to neobuddy89
  • A few updates to interactive governor
  • Updates for video driver, panel driver, scheduler
  • Updates for filesystem
  • Updates for camera driver
  • Speaker volume at low battery levels should be improved
  • Improved suspend/resume
  • ARM-a15 and krait compiler optimizations
  • Kernel is built with Linaro GCC 7.3.1

Kernel Settings
For changing kernel settings, I highly recommend the tool below. Other tools may not work properly.
Kernel Adiutor Mod

Downloads:
Old releases:
https://www.androidfilehost.com/?w=files&flid=274146

Latest release:
v1.9.3: Download

Changelog:
Old changes:

First test:
  • Initial build
Second test:
  • Fix zip flash script
  • Add more filesystem patches
Third test:
  • Power Management patches
  • RCU patches
  • cpuidle patches
Fourth test:
  • State notifier
  • ZRAM, LZ4
Fifth test:
  • CPU Voltage Control
  • Sound control
  • Audio soc improvements thanks to neobuddy
Sixth test:
  • USB Fast Charging
  • Youtube TV, Netflix crash fixes
V1:
  • KCAL w/ LiveDisplay interface, thanks to savoca and flar2
  • flar2's Wake Gestures
V1.1:
  • Upstream LineageOS merged
  • Camera driver updates
  • The kernel gets a name!
V1.2:
  • AutoSMP hotplug
  • MSM Limiter
V1.3:
  • Upstream sync to Lineage June 2018 security patches and Spectre v1 pacthes
V1.4:
  • State Helper
  • Chill governor
v1.5:
  • Upstream LOS sync for LED brightness feature
  • Added maple iosched
  • Speaker volume at low battery levels should be better
v1.6
  • Enabled various TCP algorithms
  • Mako hotplug added
  • Kernel zip now sets a few defaults (listed in kernel settings section)
v1.7:
  • Upstream LOS updates (July security)
  • Slimbus updates from CAF
  • Fix reddish tint on low brightness
  • Power efficient workqueues
  • Wakelock blocking
v1.7.1:
  • UKSM added (disabled by default, use KA-mod to enable if you want to)
  • Lineage upstream updates
v1.8:
  • August 2018 security
v1.8.1:
  • Lineage upstream sync
v1.8.2:
  • Lineage upstream sync (spectre patches)
v1.9:
  • Lineage upstream sync
v1.9.1:
  • Lineage upstream sync
  • Boost CPUs to max freq when new app launch is detected (thanks to franco and sultanxda)
v1.9.2:
  • Lineage upstream sync
v1.9.2.1:
  • fsync toggle
v1.9.2.2: Security updates from Lineage

v1.9.3: Security updates from Lineage


Kernel Source is here: https://github.com/atharvalele/andro...nel_moto_shamu

A big thank you to @neobuddy89 for allowing me to use his patches and to @Elektroschmock for bringing up Oreo for us!

Feel free to report back with feedback and suggestions!
The Following 62 Users Say Thank You to athulele For This Useful Post: [ View ] Gift athulele Ad-Free
 
 
1st June 2018, 09:40 AM |#2  
head_banger's Avatar
Senior Member
Thanks Meter: 226
 
More
Working great on screwed rom, I'll test out battery life

Sent from my [device_name] using XDA-Developers Legacy app
The Following 5 Users Say Thank You to head_banger For This Useful Post: [ View ] Gift head_banger Ad-Free
1st June 2018, 11:11 AM |#3  
thilak devraj's Avatar
Senior Member
Flag bangalore
Thanks Meter: 658
 
More
Working on latest official lineage os..

Let me see how battery holds up..
The Following 2 Users Say Thank You to thilak devraj For This Useful Post: [ View ] Gift thilak devraj Ad-Free
1st June 2018, 02:01 PM |#4  
wavedashdoc's Avatar
Senior Member
Thanks Meter: 1,498
 
More
Booted up on Camcory based Beltz ROM 👍 thanks for this!
The Following 2 Users Say Thank You to wavedashdoc For This Useful Post: [ View ] Gift wavedashdoc Ad-Free
1st June 2018, 05:24 PM |#5  
XxPixX's Avatar
Senior Member
Flag Warsaw
Thanks Meter: 535
 
More
Working on AICP
The Following User Says Thank You to XxPixX For This Useful Post: [ View ] Gift XxPixX Ad-Free
1st June 2018, 06:18 PM |#6  
webdroidmt's Avatar
Senior Member
Flag NJ
Thanks Meter: 1,180
 
More
@athulele
Thanks for your work in bringing a new kernel to Shamu. I haven't tested it as yet but I wanted to bring something to your attention. I took a look at the anykernel2 script and it appears that there are references in it that are strictly from the template that @osm0sis gives you. In his template, he used the old Galaxy Nexus (tuna) as an example.
What if any are the ramifications of having tuna instead of Shamu referenced in the init and fstab entries? See below.

# init.tuna.rc
backup_file init.tuna.rc;
insert_line init.tuna.rc "nodiratime barrier=0" after "mount_all /fstab.tuna" "\tmount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata /data remount nosuid nodev noatime nodiratime barrier=0";
append_file init.tuna.rc "dvbootscript" init.tuna;

# fstab.tuna
backup_file fstab.tuna;
patch_fstab fstab.tuna /system ext4 options "noatime,barrier=1" "noatime,nodiratime,barrier=0";
patch_fstab fstab.tuna /cache ext4 options "barrier=1" "barrier=0,nomblk_io_submit";
patch_fstab fstab.tuna /data ext4 options "data=ordered" "nomblk_io_submit,data=writeback";
append_file fstab.tuna "usbdisk" fstab;



Thanks,
Mike T
The Following 4 Users Say Thank You to webdroidmt For This Useful Post: [ View ] Gift webdroidmt Ad-Free
1st June 2018, 06:56 PM |#7  
OP Senior Member
Flag Pune
Thanks Meter: 1,393
 
Donate to Me
More
Quote:
Originally Posted by webdroidmt

@athulele
Thanks for your work in bringing a new kernel to Shamu. I haven't tested it as yet but I wanted to bring something to your attention. I took a look at the anykernel2 script and it appears that there are references in it that are strictly from the template that @osm0sis gives you. In his template, he used the old Galaxy Nexus (tuna) as an example.
What if any are the ramifications of having tuna instead of Shamu referenced in the init and fstab entries? See below.

Thanks,
Mike T

Thank you so much! I totally missed that while removing the defaults in anykernel.
I think it will not have any ramifications because the Galaxy Nexus file is not used anywhere on our phones.

Uploading a new build with a few more patches + fixed flash zip.
The Following 5 Users Say Thank You to athulele For This Useful Post: [ View ] Gift athulele Ad-Free
1st June 2018, 07:00 PM |#8  
webdroidmt's Avatar
Senior Member
Flag NJ
Thanks Meter: 1,180
 
More
Quote:
Originally Posted by athulele

Thank you so much! I totally missed that while removing the defaults in anykernel.
I think it will not have any ramifications because the Galaxy Nexus file is not used anywhere on our phones.

Uploading a new build with a few more patches + fixed flash zip.


Cool! Looking forward to testing the new build.

Thanks,
Mike T
The Following User Says Thank You to webdroidmt For This Useful Post: [ View ] Gift webdroidmt Ad-Free
1st June 2018, 07:05 PM |#9  
OP Senior Member
Flag Pune
Thanks Meter: 1,393
 
Donate to Me
More
New test build up. Changelog is in OP.
Please comment on the stability of this build as some experimental patches are added.

DL: https://drive.google.com/open?id=1Fd...qavNjQEDCW9SRZ
The Following 8 Users Say Thank You to athulele For This Useful Post: [ View ] Gift athulele Ad-Free
2nd June 2018, 01:49 AM |#10  
webdroidmt's Avatar
Senior Member
Flag NJ
Thanks Meter: 1,180
 
More
Test2 boots fine on latest AOSiP, seems smooth. Will test further and also test on RR.

Mike T

Edit: Working on RR...still testing further.
The Following 2 Users Say Thank You to webdroidmt For This Useful Post: [ View ] Gift webdroidmt Ad-Free
2nd June 2018, 03:37 AM |#11  
Cypresshill555's Avatar
Senior Member
Flag Nadym
Thanks Meter: 245
 
Donate to Me
More
Working on crDroid great! Testing .........
The Following User Says Thank You to Cypresshill555 For This Useful Post: [ View ] Gift Cypresshill555 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes