FORUMS

[Kernel][9.0] NSFW-kernel R25

3,216 posts
Thanks Meter: 10,391
 
By bsmitty83, Senior Member on 20th November 2017, 01:55 AM
Post Reply Email Thread
Hello XDA .

Since kernel options are limited on our phones I decided to release my personal kernel builds for anyone who wishes to use it .
I am just an amateur kernel builder who can read commits and understands how linux generally works . I used to make kernels for the Galaxy nexus if anyone here remembers back that far lol .

Anyways . I started with android-msm-marlin-3.18-oreo-mr1 and added all the goodies back in .
- For Android 9
- Patched to Linux 3.18.123 + October 2018 Security Updates
- Built with Linaro 7.3-2018.04-rc2~dev GCC
- Big Core Overclocked to 2.3 GHz
- Little Core Overclocked to 1.9 GHz
- GPU Overclocked to 710 MHz
- Slimbus Overclocked
- Voltage Control ( /sys/devices/system/cpu/cpu"N"/cpufreq/UV_mV_table )
- Thermal Control ( /sys/module/msm_thermal/parameters/ )
- IO-Schedulers : Noop Deadline CFQ BFQv8r12 Test-io Fiops Sio+ Tripndroid Zen Maple ROW VR
- CPU governors : Sched Performance Interactive Conservative OnDemand Userspace Powersave Blu_Active ZZmove ElementalX Chill
- TCP Congestion Controllers : cubic reno bic CDG westwood highspeed hybla htcp vegas veno scalable lp yeah illinois sociopath agileSD china
- Boeffla Wakelock Blocker ( NO wakelocks are blocked by default )
- Fingerprint Boost ( like touchboost for fp sensor ) ( Must Be set manually via command line : echo "1" > sys/kernel/fp_boost/enabled )
- Adreno Boost and Adreno Idler driver
- FSYNC control
- Color control ( savoca )
- Force fast charge
- KSM enabled
- Zen-Tuned
- ZSWAP enabled ( can be enabled/disabled on the fly via command line : echo "Y" > /sys/module/zswap/parameters/enabled
other ZSWAP tunables can be found in sys/module/zswap/parameters/ )
- CleanCache and FrontSwap enabled
- Transparent HugePage Support enabled
- Zcache enabled ( off by default )
- Flar2's Sound control
- Flar2's Wake/Sleep control ( d2tw s2w s2s gestures )
- SafteyNet patched
- MAC address randomization ( off by default ) ( proc/sys/dev/cnss/randomize_mac )
- High Brightness Mode supported
- exfat file system support
- WireGuard supported
- Various performance minded commits

As I said before :
- I do this for fun -- ( I am married and have 2 little kids and a full time job )
- This is my personal kernel ( I'm not looking for feature requests )
ALL credit should go to those who wrote the commits ( my commit history is correct in authorship )

FLASH INSTRUCTIONS :


- flash kernel.zip via TWRP recovery .
( This kernel should install over any ROM's stock boot.img // If you have another custom kernel installed besides this one then first flash the ROM's boot.img again before flashing this kernel )

- Grab Fire Extinguisher && Prepare for your phone to melt through the floor
- If previous step fails to happen : don't blame me

DOWNLOADS


CURRENT VERSION :


R25-NSFW-Kernel-PIE
MD5- 31a8687ab8f46abd309ea254048a1c7d

OLD VERSIONS :

https://www.androidfilehost.com/?w=files&flid=237278


CHANGELOG

- R1
- Initial Release

- R2
- Some updates from MSM android 4.4 kernel tree to MM/ and to memcontrol

- R3
- Linux 3.18.89. Switched to UKSM
- Also zswap can now be enabled/disabled on the fly insted of just at boot

- R4
- Frontswap and cleancache inline with linux 4.15
- added new zswap allocator "z3fold" can compress 3 pages at once vs 2 for zbud
- can now choose zswap compressor lz4 or lzo
- selinux improvements
- binder is inline with msm-kernel-4.4
- updates to android low memory killer (Adaptive LMK)
- updates to mm/compaction

- R5
- Linux 3.18.90
- patched zram to linux 4.4
- some mm updates

- R6
- All behind the scenes changes
- updates to sysfs and arm64
- updated blu_active
- various other updates from Linux 4.x+

- R6.1
- fix for NX-Camera app

- R7
- Linux 3.18.91
- Jan 2018 security updates

- R8
- Added ZZmove governor VR io-scheduler and sociopath TCP controller
- Minor code change to io-schedule switcher

- R9
- added Adreno Boost parameters to msm-adreno-tz GPU freq governor
- added TCP congestion controllers agileSD and CHINA.
- a few other small commits that should go unnoticed

- R10
- Linux 3.18.92
- minor updates to fscrypt and ext4 as well as lz4

- R11
- added voltage control for msm 8996
- updated zram to use crypto compression
- GPU is now overclocked to 729 MHz max
- added mac randomization from copperhead os . it is disabled by default

- R12
- Replaced Sched with SchedUtil governor
- Experimental EAS changes

- R13
- Added Chill governor and re-included sched gov
- Added Thermal Control via sysfs
- updated UKSM ( now works alongside KSM )
- added CAKE net packet scheduler
- added configurable printk ( can be enabled/disabled via sysfs )
/sys/kernel/printk_mode interface
- updated Adreno Idler
- removed powersave governor ( unusable IMO )
- various minor updates

- R14
- Linux 3.18.93
- Reduced max GPU freq to 710MHz ( from 729MHz )

- R15
- February kernel security updates
- added savoca's Advanced Color Control ( KCAL )
- re-enabled sched governor

- R16
- Linux 3.18.94
- updated Low Memory Killer
- switched back to Linaro GCC

- R17
- updated wake gesture timing for 1000Hz
- removed direct references to Hz in i2c hwmon gsi ipa mdss & fbdev
- updated Adreno Idler tunables
- updated Slimbus overclock ( from @poondog )
- few compiler warning fixes

- R18
- Linux 3.18.95
- updates to binder from mainline linux
- various commits

- R19.1
- Linux 3.18.98
- added non-overclocked version (NO-OC)
- updated sdcardfs and some various other small commits

- R20
- Linux 3.18.99
- March security updates

- R21
- Linux 3.18.100
- Linaro 7.3.1 GCC
- Added P-dev branch version ( P1 )

- R22
- Linux 3.18.105
- April security updates
- vibration adjustment fixed

- R23
- Linux 3.18.108
- May Security updates
- disabled CPU input boost

- R24
- Linux 3.18.122
- Android 9 support
- sept security updates

- R25
- Linux 3.18.123
- Oct security updates
- vibration control fix (flar2)



Happy Flashing


NSFW-kernel, Fireball for the Google Pixel XL
Source Code: https://github.com/bsmitty83/NSFW-Pixel-XL
The Following 32 Users Say Thank You to bsmitty83 For This Useful Post: [ View ] Gift bsmitty83 Ad-Free
20th November 2017, 02:30 PM |#2  
Senior Member
Thanks Meter: 326
 
More
Man I miss the dirty v

---------- Post added at 10:30 AM ---------- Previous post was at 10:26 AM ----------

Quote:
Originally Posted by bsmitty83

Hello XDA .

Since kernel options are limited on our phones I decided to release my personal kernel builds for anyone who wishes to use it .
I am just an amateur kernel builder who can read commits and understands how linux generally works . I used to make kernels for the Galaxy nexus if anyone here remembers back that far lol .

Anyways . I started with @DespairFactor 's Sharkey kernel source -- any base modifications that are in that kernel are present here .
- Patched to Linux 3.18.82
- Built with Linaro 4.9 GCC
- noop deadline cfq bfq test-io fiops sio sio+ tripndroid zen maple ROW
- all TCP controllers enabled
- Fingerprint Boost ( like touchboost for fp sensor )
- FSYNC control
- Force fast charge
- IO stats / Add Random disabled
- Gentle Fair Sleepers disabled
- KSM enabled and optimized
- Sound and color control from Sharkey kernel


As I said before :
- This is my personal kernel ( I'm not looking for feature requests )
- I am just a kanger -- ALL credit should go to those who wrote the commits

FLASH INSTRUCTIONS :

- fastboot flash factory boot.img via bootloader before flashing kernel.zip via TWRP recovery

DOWNLOAD-

Attachment 4336963
or

DROPBOX

Happy Flashing







XDA:DevDB Information
NSFW-kernel, Kernel for the Google Pixel XL

Contributors
bsmitty83
Source Code: https://github.com/bsmitty83/marlin

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: Public-1
Stable Release Date: 2017-11-19

Created 2017-11-20
Last Updated 2017-11-19

Didn't you bring us f2fs?
The Following User Says Thank You to DR3W5K1 For This Useful Post: [ View ] Gift DR3W5K1 Ad-Free
20th November 2017, 02:56 PM |#3  
bsmitty83's Avatar
OP Senior Member
Flag Detroit
Thanks Meter: 10,391
 
More
Quote:
Originally Posted by DR3W5K1

Man I miss the dirty v

---------- Post added at 10:30 AM ---------- Previous post was at 10:26 AM ----------



Didn't you bring us f2fs?

For the Galaxy Nexus ? Yeah , I was part of that bring up lol . Credit for that should go to @aosp and @osm0sis , as well as the omap guys .

Sent from my Pixel XL using Tapatalk
20th November 2017, 05:15 PM |#4  
Senior Member
Thanks Meter: 326
 
More
Quote:
Originally Posted by bsmitty83

For the Galaxy Nexus ? Yeah , I was part of that bring up lol . Credit for that should go to @aosp and @osm0sis , as well as the omap guys .

Sent from my Pixel XL using Tapatalk

The good ole days lol. You're going to like the pixel. Give dirty unicorns a flash if you get bored.
The Following User Says Thank You to DR3W5K1 For This Useful Post: [ View ] Gift DR3W5K1 Ad-Free
20th November 2017, 05:30 PM |#5  
Member
Thanks Meter: 12
 
More
Would i be able to use flashfire to install if I'm just stock 8.0 rooted with no TWRP? Or am I just better off installing TWRP and using that instead?
20th November 2017, 05:41 PM |#6  
bsmitty83's Avatar
OP Senior Member
Flag Detroit
Thanks Meter: 10,391
 
More
Quote:
Originally Posted by chachh

Would i be able to use flashfire to install if I'm just stock 8.0 rooted with no TWRP? Or am I just better off installing TWRP and using that instead?

I would say it should be safe to use flashfire , I personally use fastbooted TWRP to flash , just because usually I am by my laptop when flashing anyways. I don't have TWRP Installed on my phone. I'd say to be safe , have TWRP and a computer handy just in case


Also i haven't had any problems with this kernel booting stock Oreo with root . I've been using a variation for weeks now and so far so good .


Sent from my Pixel XL using Tapatalk
The Following User Says Thank You to bsmitty83 For This Useful Post: [ View ] Gift bsmitty83 Ad-Free
20th November 2017, 06:20 PM |#7  
Member
Thanks Meter: 12
 
More
Quote:
Originally Posted by bsmitty83

I would say it should be safe to use flashfire , I personally use fastbooted TWRP to flash , just because usually I am by my laptop when flashing anyways. I don't have TWRP Installed on my phone. I'd say to be safe , have TWRP and a computer handy just in case


Also i haven't had any problems with this kernel booting stock Oreo with root . I've been using a variation for weeks now and so far so good .

Cool I'll give it a shot later tonight, thank you
The Following User Says Thank You to chachh For This Useful Post: [ View ] Gift chachh Ad-Free
20th November 2017, 10:26 PM |#8  
Senior Member
Thanks Meter: 326
 
More
Smitty I know you aren't taking request but maybe the unlocked bootloader safety net patch? If you included that I would actually give Oreo a whirl. Haven't even used it lol
The Following User Says Thank You to DR3W5K1 For This Useful Post: [ View ] Gift DR3W5K1 Ad-Free
20th November 2017, 10:34 PM |#9  
bsmitty83's Avatar
OP Senior Member
Flag Detroit
Thanks Meter: 10,391
 
More
Quote:
Originally Posted by DR3W5K1

Smitty I know you aren't taking request but maybe the unlocked bootloader safety net patch? If you included that I would actually give Oreo a whirl. Haven't even used it lol

It should be included .

Remove verifiedbootstate flag from proc/cmdline

https://github.com/bsmitty83/marlin/...b2762f0f1f8b0a

If your needing Android pay , it crashes for me with superSu and suhide , but I really didn't mess with it because I don't use it much if ever. I mean it's nice , but it's just as fast using my debit card .

Sent from my Pixel XL using Tapatalk
21st November 2017, 12:28 AM |#10  
Senior Member
Thanks Meter: 326
 
More
Quote:
Originally Posted by bsmitty83

It should be included .

Remove verifiedbootstate flag from proc/cmdline

https://github.com/bsmitty83/marlin/...b2762f0f1f8b0a

If your needing Android pay , it crashes for me with superSu and suhide , but I really didn't mess with it because I don't use it much if ever. I mean it's nice , but it's just as fast using my debit card .

Sent from my Pixel XL using Tapatalk

Magisk 14.1,14.2, and 14.3 have been working well for me on nougat. Im hiding root for a couple banking apps.

Thank you Smitty!
Just gotta find the time too setup the sdk on my new PC
The Following User Says Thank You to DR3W5K1 For This Useful Post: [ View ] Gift DR3W5K1 Ad-Free
21st November 2017, 09:23 PM |#11  
Senior Member
Flag Staffordshire
Thanks Meter: 111
 
More
I'm intrigued by this kernel but I can't find any information on what's included in the kernel its built on? Could anyone help me find this information please?
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