[r5] arter97 kernel for OnePlus 5

Search This thread

arter97

Recognized Developer
Oct 14, 2012
3,765
33,763
23
Seoul
r4 is up.

Sidenote for those using f2fs:
I've got a report that my f2fs conversion tools weren't applying appropriate optimizations.
If you're using f2fs, just flash this zip from the recovery just to make sure you have up-to-date extensions list for f2fs.
http://arter97.com/browse/f2fs/optimize

r4
Linux v4.4.180 merged
LA.UM.7.2.r2-00800-8x98.0 merged
LA.UM.7.5.2.r1-02900-8x96.0 merged
Latest f2fs-stable merged
Removed f2fs debug tracing codes added by Qualcomm
Re-enabled kernel tracers for avoiding janks
32-bit vDSO added for improving performance on arm32 programs
iommu fixes from Sultan
 

alexeybi

Member
Jun 17, 2019
10
4
Hey guys , I wanna try this kernel with f2fs but so far I've found somewhat mixed reviews on how it works with encryption. For those who use f2fs with encryption, do you have to type in pass to enter TWRP or the system after reboot? Some people mentioned they don't have the pass lock after switching to f2fs, neither in the system after reboot not in TWRP. Really want to try f2fs with this kernel, but don't really want to trade off for security. Thanks!
 

arter97

Recognized Developer
Oct 14, 2012
3,765
33,763
23
Seoul
r5 is up and everyone must upgrade.
(FYI, OnePlus stock kernel source update didn't contain meaningful changes to merge this time.)

r5
Rewritten IOMMU by Sultan reverted to resolve random reboots
Linux v4.4.188 merged
LA.UM.7.4.r1-05400-8x98.0 merged
LA.UM.7.2.r1-07400-sdm660.0 merged
General scheduler improvements
Inability to display battery status on charging during shutdown fixed
Wi-Fi drivers updated to 5.1.1.73Q
Bunch of memory allocations from various subsystems were reworked to perform much better (thanks to Sultan)
Backported speculative page fault to improve system performance
Latest f2fs-stable merged
 
Last edited:

jahidinbedod

Senior Member
Apr 27, 2014
273
124
r5 is up and everyone must upgrade.
(FYI, OnePlus stock kernel source update didn't contain meaningful changes to merge this time.)

r5
Rewritten IOMMU by Sultan reverted to resolve random reboots
Linux v4.4.188 merged
LA.UM.7.4.r1-05400-8x98.0 merged
LA.UM.7.2.r1-07400-sdm660.0 merged
General scheduler improvements
Inability to display battery status on charging during shutdown fixed
Wi-Fi drivers updated to 5.1.1.73Q
Bunch of memory allocations from various subsystems were reworked to perform much better (thanks to Sultan)
Backported speculative page fault to improve system performance
Latest f2fs-stable merged

why selinux change to enforce on oos ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    arter97.png

    arter97 kernel for OnePlus 5/5T​

    /* Details */

    Hybrid CAF msm-4.4 kernel
    This kernel contains more cutting-edge changes from Qualcomm than the regular msm8998 tag
    Latest Linux 4.4 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
    Additional power savings applied to the display panel
    Heavily optimized touch panel source code resulting in reduced touch latency
    RTL8152/8153 USB LAN adapter support
    Other various optimizations from Paranoid Android
    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 doesn't touch /system or /vendor)
    Modules support disabled for lighter kernel
    WireGuard support
    Removed RTB(interrupt) logging entirely
    Various changes merged from the Razer Phone 2 and Snapdragon 855
    AnyKernel installation

    /* Notice */

    Both OnePlus 5 and 5T is supported.
    Only OxygenOS is tested at the moment, but it is likely that the kernel will work with other ROMs thanks to the use of AnyKernel2 by osm0sis, though you may encounter minor issues.
    Feel free to tip me which commits are needed to fix other ROMs.

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

    /* Downloads and links */

    arter97.com
    Kernel source

    XDA:DevDB Information
    arter97 kernel for OnePlus 5, Kernel for the OnePlus 5

    Contributors
    arter97
    Kernel Special Features:

    Version Information
    Status: Testing

    Created 2019-04-09
    Last Updated 2019-08-10
    15
    r4 is up.

    Sidenote for those using f2fs:
    I've got a report that my f2fs conversion tools weren't applying appropriate optimizations.
    If you're using f2fs, just flash this zip from the recovery just to make sure you have up-to-date extensions list for f2fs.
    http://arter97.com/browse/f2fs/optimize

    r4
    Linux v4.4.180 merged
    LA.UM.7.2.r2-00800-8x98.0 merged
    LA.UM.7.5.2.r1-02900-8x96.0 merged
    Latest f2fs-stable merged
    Removed f2fs debug tracing codes added by Qualcomm
    Re-enabled kernel tracers for avoiding janks
    32-bit vDSO added for improving performance on arm32 programs
    iommu fixes from Sultan
    10
    r5 is up and everyone must upgrade.
    (FYI, OnePlus stock kernel source update didn't contain meaningful changes to merge this time.)

    r5
    Rewritten IOMMU by Sultan reverted to resolve random reboots
    Linux v4.4.188 merged
    LA.UM.7.4.r1-05400-8x98.0 merged
    LA.UM.7.2.r1-07400-sdm660.0 merged
    General scheduler improvements
    Inability to display battery status on charging during shutdown fixed
    Wi-Fi drivers updated to 5.1.1.73Q
    Bunch of memory allocations from various subsystems were reworked to perform much better (thanks to Sultan)
    Backported speculative page fault to improve system performance
    Latest f2fs-stable merged
    10
    r2 is up.

    r2
    Fixed an issue causing audio to stop working
    Wi-Fi drivers updated to 5.1.1.71C
    Disabled some debugging options to improve performance
    Added kcal
    Added vibration control
    Added wcd9335 sound control
    Improved encryption performance
    8
    After testing several builds with @thegreatn_ , I managed to narrow down problematic culprit for Wi-Fi signal strength issue.

    Will be fixed with the next build :)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone