FORUMS
Remove All Ads from XDA

[r6] arter97 kernel for Poco F1

3,617 posts
Thanks Meter: 31,491
 
Post Reply Email Thread

arter97 kernel for Poco F1


/* Details */

Latest CAF msm-4.9 kernel fully merged
This kernel contains more cutting-edge changes from Qualcomm than the regular sdm845 tag
Latest Linux 4.9 subversion merged
Use CONFIG_HZ = 300
- This changes context switching interval from 10ms to 3.33ms
- Pixel used this for years and Google recommends other vendors to do the same for fewer jitters
Memory management improved(from Pixel 2 & 3)
Pixel's lowmemorykiller used
Scheduler commits cherry-picked from Pixel 3
Timer optimizations
RTL8152/8153 USB LAN adapter support
Permissive SELinux
Passes SafetyNet
Built with -O3 speed optimizations
Built with latest GCC
Westwood as default TCP network congestion control
UFS optimizations
Entropy hook on storage removed
Latest mainline f2fs support with GC fixes
CFQ I/O scheduler backported from mainline
Systemless installation (the kernel itself doesn't touch /system or /vendor)
Modules support disabled for lighter kernel
WireGuard support
Removed RTB(interrupt) logging entirely

/* Development */

I do not own a Poco F1.

This was developed by sharing most of the bits from my OnePlus 6 and Razer Phone 2 kernel.
I won't be doing device-specific changes to this kernel(e.g. improvements to the touch panel drivers) until I get my hands on an actual device.
This also means this kernel is/will be developed conservatively.

If you're interested in contributing to a fundraiser for me to get a Poco F1, please check post #2.

/* f2fs */

This kernel fully supports f2fs for /data and I encourage everyone to use f2fs with my kernel for better performance.
See here as to why you might want f2fs.

To use f2fs, download zip files from http://arter97.com/browse/f2fs

Flash f2fs_tools_for_twrp.zip from TWRP. This won’t format your /data partition.
This will replace TWRP's f2fs tools with the latest version and pass the correct parameter to mkfs.f2fs, which is necessary.
This needs to be done everytime you enter TWRP, if you want to re-format to f2fs.

After formatting, or flashing a new ROM or an OTA, /vendor’s fstab needs to be changed.
Flash f2fs_fstab.zip to convert fstab to f2fs again. This won’t format your /data partition.

/* Disclaimer */

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. Hard. A lot.

/* Thanks to */

TheCrazyLex
xboxfanj
Tim Murray
RenderZenith
nathanchance - for android-linux-stable

/* Instructions */

You can use the zip file to flash the kernel from your existing TWRP recovery.
If you don't have TWRP installed already, you can use the img file to flash the kernel directly from your PC via fastboot.

Both methods will install both kernel and modified TWRP recovery.
You can check if the modified TWRP is installed by looking at TWRP's version name.
It should say "arter97".

/* Downloads and links */

arter97.com
Kernel source

XDA:DevDB Information
arter97 kernel for Poco F1, Kernel for the Xiaomi Poco F1

Contributors
arter97
Kernel Special Features:

Version Information
Status: Testing

Created 2019-04-07
Last Updated 2019-06-07
The Following 89 Users Say Thank You to arter97 For This Useful Post: [ View ]
 
 
7th April 2019, 03:59 PM |#2  
arter97's Avatar
OP Recognized Developer
Flag Seoul
Thanks Meter: 31,491
 
Donate to Me
More
/* Fundraiser */

I do not own a Poco F1.

This was developed by sharing most of the bits from my OnePlus 6 and Razer Phone 2 kernel.
I won't be doing device-specific changes to this kernel(e.g. improvements to the touch panel drivers) until I get my hands on an actual device.
This also means this kernel is/will be developed conservatively.

If you're interested in contributing to a fundraiser for me to get a Poco F1, please check here:
https://fundrazr.com/f1SHfd
The Following 33 Users Say Thank You to arter97 For This Useful Post: [ View ]
7th April 2019, 03:59 PM |#3  
arter97's Avatar
OP Recognized Developer
Flag Seoul
Thanks Meter: 31,491
 
Donate to Me
More
/* Changelog */

r6
Linux v4.9.180 merged
Wi-Fi drivers updated to 5.1.1.72J
Fixed several memory management issues from previous releases
- This fixes multiple issues including performance regressions(wake-up delays, etc) and radio malfunctions
- Thanks to @habylab for testing multiple builds prior to release)
Latest f2fs-stable merged
LA.UM.7.8.c3-06800-QCS605.0 merged
LE.UM.3.2.1-18400-SDX24 merged
Removed f2fs debug tracing codes added by Qualcomm
qseecom performance improved
Re-enabled kernel tracers for avoiding janks
32-bit vDSO added for improving performance on arm32 programs
Audio kernel updated LA.UM.7.3.r1-07800-sdm845.0

r5b1
Linux v4.9.175 merged
Wi-Fi drivers updated to 5.1.1.71H
Latest f2fs-stable merged
LA.UM.7.3.r1-07400-sdm845.0 merged
LA.UM.7.8.r3-01400-SDM710.0 merged
Fixed a Qualcomm issue that prevented audio-app stune creation
Merged various patches from Proton kernel by kdrag0n to lower overheads and improve responsiveness (thanks to kdrag0n, sultanxda and ab123321)
Now VLA-free
RCU boost enabled for better responsiveness
New patches made to f2fs for more efficient GC and trim
FBE(File Based Encryption) now works with f2fs

r4
Wi-Fi drivers updated to 5.1.1.71C
Disabled some debugging options to improve performance

r3
Reverted a problematic Wi-Fi drivers optimization causing Wi-Fi to not turn on after some period of time

r2
Merged LineageOS' LED configuration to fix LED blinking

r1
Initial release
The Following 26 Users Say Thank You to arter97 For This Useful Post: [ View ]
7th April 2019, 03:59 PM |#4  
arter97's Avatar
OP Recognized Developer
Flag Seoul
Thanks Meter: 31,491
 
Donate to Me
More
/* Known issues */

It's extremely unlikely for me to be able to fix this without having physical access to the device.

Android Auto is reportedly unusable
Google Assistant voice match is reportedly unusable
The Following 15 Users Say Thank You to arter97 For This Useful Post: [ View ]
7th April 2019, 03:59 PM |#5  
arter97's Avatar
OP Recognized Developer
Flag Seoul
Thanks Meter: 31,491
 
Donate to Me
More
Reserved 4
The Following 14 Users Say Thank You to arter97 For This Useful Post: [ View ]
7th April 2019, 04:04 PM |#6  
arter97's Avatar
OP Recognized Developer
Flag Seoul
Thanks Meter: 31,491
 
Donate to Me
More
Please follow https://twitter.com/arter97 for updates.
The Following 13 Users Say Thank You to arter97 For This Useful Post: [ View ]
7th April 2019, 04:06 PM |#7  
madsponge26's Avatar
Senior Member
Flag Pilipinas
Thanks Meter: 2,626
 
Donate to Me
More
Nice another kernel from @arter97.. testing mode now!
7th April 2019, 04:08 PM |#8  
Senior Member
Thanks Meter: 65
 
More
Great to see you here.
7th April 2019, 04:08 PM |#9  
madsponge26's Avatar
Senior Member
Flag Pilipinas
Thanks Meter: 2,626
 
Donate to Me
More
@arter97 please put in the title if for MIUI or both.
7th April 2019, 04:09 PM |#10  
Senior Member
Thanks Meter: 151
 
More
Yoooo welcome here bro
7th April 2019, 04:23 PM |#11  
arter97's Avatar
OP Recognized Developer
Flag Seoul
Thanks Meter: 31,491
 
Donate to Me
More
Quote:
Originally Posted by madsponge26

@arter97 please put in the title if for MIUI or both.

What's the point?
I'm yet to see an incompatible ROM.

I don't want to clutter up the thread title like how some others do.
The Following User Says Thank You to arter97 For This Useful Post: [ View ]
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