F2FS for janice - Galaxy S Advance I9070 Q&A, Help & Troubleshooting

Is possible to implement f2fs to janice? F2FS is very fast.

Related

arter97 kernel for Galaxy S3

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
arter97 kernel for Galaxy S3
This kernel is no longer supported actively!​
/* Overview */
Based on stock SHV-E210S kernel source
Supports Android 5.1 Lollipop, CyanogenMod 11.0, Samsung Touchwiz based Android 4.4.4 ROM
Upgraded to the latest Linux
Compiled using latest ARM Linaro-toolchain
Speed improvements
Battery improvements
New CPU Governors
New I/O Schedulers
CPU overclock capability
Color inverting by quadriple tapping on home button
Proper dual-boot functionality
Many more ...
/* Details */
Built using Linaro-toolchain 5.1
Properly upgraded to the latest Linux 3.0.101
Dual-boot functionallity for all supported ROMs
SELinux disabled(permissive)
Kernel compression in newly-improved LZO format
Kernel scheduler improvements
Full unaligned access enabled
Improved memcpy, hrtimer, mutex, cpufreq, memory-management, writeback
Optimized RWSEM, crypto, math drivers
Wi-Fi wakelock reduced
BFQ v7r8, SIO, FIFO, VR, ZEN I/O schedulers added
ZZmoove, Intelliactive CPU governors added
Overclock available to 1600MHz
Controlable, kernel-side implementation of slient camera shutter sound
Touch Wake with Knock-On feature
Deadline I/O Scheduler speed improved
Asynchronous I/O backported from Linux 3.6 with speed improvements
Asynchronous Fsync from hTC ported by faux123
Dynamic Fsync from faux123
Networking performance improved
Disabled MMC-CRC for better NAND performance
ARCH_POWER enabled for better power savings
Fading LED control by AndreiLux
Random driver backported from Linux 4.0+
SCHED_AUTOGROUP enabled for superior multitasking experience
Westwood as default TCP congestion control for best networking performance
Optimized CRC32 & SHA-1 algorithm
Proportional Rate Reduction for TCP
Boeffla Sound Engine 1.6.7
Charger control by AndreiLux
FAT32 latency improved
Android logger control
Memory throttling removed
Default file-system mount option with noatime & nodiratime
Proper, full support for f2fs & backported from Linux 4.2+
Switchable sharpness control by AndreiLux, AndiP71
Latest mali graphics libraries
Automatic kernel panic log dumper
Powerboost, Boost-boot for better performance
Sdcardfs extended to all supported ROMs
Android 4.4 KitKat's extra free kbytes tunables added for better memory managements
ARM_UNWIND enabled for better performance
File-system writeback function backported from Linux 3.4 with latency improvements
Compiler profiles backported from Linux 3.16
Kernel module integrated into the ramdisk for better loading speed
Insecure ADB control
TCP's Initial Congestion Window tunables from Android 4.4.3
Power-efficient workqueues backported from linaro-lsk
Deep-discard-trim; FIDTRIM support for ext4 backported from google-3.4
Entropy hook on storage removed for performance
/* More informations */
Based on stock SHV-E210S kernel source
Samsung has put massive updates in their Android 4.4 kernel compared with Android 4.1 kernel. By being based on stock SHV-E210S kernel source, arter97 kernel is miles ahead of where other CyanogenMod-based kernels are slowly catching up behind.
Dual-booting
arter97 kernel implements simple yet seamless multi-boot solution that does not need a dedicated recovery. It's also faster, thanks to raw extracted method instead of slow loop mounted images.
To start, enter recovery(CWM, PhilZ) and flash arter97-multi-boot.zip. The ZIP files you flash afterwards will be stored in the 2nd-ROM slot(/data/arter97_secondrom) until you exit or restart recovery.
Reboot back to 1st-ROM, and use newly installed 'aSwitch' to control 2nd-ROM. You cannot select between two ROMs on the initial start-up time.
* 2nd-ROM's /system partition will be always mounted R/W due to its limitations.
* Backup & restore will not work for 2nd-ROM. Don't try it unless you want your entire device screwed all over.
* Do not select data wipe on 2nd-ROM installation! 1st-ROM data might be lost instead.
Advanced mDNIe control
arter97 kernel offers advanced mDNIe control by AndreiLux, leaving every single controls available for the screen in the palm of your hands.
Knock-On
arter97 kernel offers full Touch Wake functionality(by Ezekeel & Yank555.lu) with additional 'Knock-On' feature. Within the desired timer you set, Touch Wake will only work by double-tapping.
Touch Wake
Touch Wake has been improved in arter97 kernel. Not only the implementation of 'Knock-On' feature, you can now set a seperate timer on charge, force to also work on physical button pressed.
Compiler
arter97 kernel uses the latest Linaro-toolchain. Linux kernel's compiler profiles has also been backported from Linux 3.16 for more compiler bug-fixes, performance improvements.
Memory managements
arter97 kernel is fully upstreamed to the latest Linux 3.0.101. This provides improved stability, performance and memory management. But many developers forget to properly match Samsung's CMA memory management to Linux 3.0.101. arter97 kernel is the only kernel properly upstreamed to Linux 3.0.101 with CMA, meaning better memory management than other kernels.
If you're using Android 4.4 KitKat, ROM can work together with arter97 kernel which improves memory managements even further.
File-system
Battery and access speed to /sdcard is also improved by utilizing Samsung's sdcardfs and ditching Google's fuse implementation. Users can disable sdcardfs allowing FolderMount to work properly.
FAT32 latency is improved, and AIO(Asynchronous I/O) is backported from Linux 3.6 with latency improvements.
f2fs
arter97 kernel is the first Android kernel(since 2013/08) to feature full f2fs support with selective partitions preferences. If you manage to make a switch from ext4 to f2fs, theoratically, your device's flash storage can perform up-to 2x faster. arter97 kernel also continously backport the latest f2fs from Linux 3.19+. This f2fs will be even more faster, reliable than other Android kernels.
PhilZ recovery dedicated for f2fs makes users easy to switch. Install kernel and recovery, wipe /data and /cache, that's it.
Boeffla Sound Engine
Boeffla Sound Engine is the only custom audio engine available in arter97 kernel. Go and download 'Boeffla Sound Control' from Google Play store.
Android logger control
Android logger, aka logcat can produce a lot of garbage datas even when you don't need them. You can explicitly disable Android logger completely, or make it clear itself when the screen goes off(which is the default).
Mali graphics
arter97 kernel uses the latest Mali driver available for Samsung's Exynos 4412 phones, r3p2. It also uses the latest Mali blobs from N7100 ROM, which is built more recently than GT-I9300 ROMs.
Automatic kernel panic log dumper
When you use a custom kernel, you may experience unexpected malfunctions like sudden reboots. You should dump the kernel log and report it to the developer to help, but it may be very tiring to manually dumping and sending it. To make your life easier, arter97 kernel automatically dumps kernel log when kernel panic happens, and stores it on /sdcard/arter97.
Kernel-side Camera shutter sound control
arter97 kernel can force and turn off the speaker while the rear camera is operating. Since this is a kernel-side implementation, it doesn't need any ROM side support. Control available from aTweaks.
Powerboost
Powerboost is a function that dynamically boosts your device's performance when an external charger is connected. Since none of the power savings are needed while the device is charging, you can experience much more faster speed during that period.
Boost-boot
Boost-boot is a function that can reduce boot-up time up-to 20 seconds. It uses 'performance' CPU governor, 'no-op' I/O scheduler and 1024kB readahead when the device is booting.
aTweaks
aTweaks is a live-kernel-controller dedicated for arter97 kernel based on STweaks. You can control almost every aspects that arter97 kernel offers. Installing BusyBox before using is recommended.
aSwitch
aSwitch is a dual-boot settings for arter97 kernel. It can wipe 2nd-ROM's /system, /data and /cache. You can also set /sdcard sharing option within aSwitch.
/* 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.
/* Warning */
Do not redistribute, modify, fetch, extract files used within this project or integrate with other files without my permissions.
Making mirrors, re-uploading to another servers are strictly prohibited with no exceptions.
/* Supported device */
Galaxy S3 3G International (GT-I9300)
Galaxy S3 SK-3G (SHW-M440S)
Galaxy S3 SK-LTE (SHV-E210S)
Galaxy S3 KT-LTE (SHV-E210K)
Galaxy S3 LG-LTE (SHV-E210L)
/* Unsupported device */
Galaxy S3 LTE International (GT-I9305)
/* What you need to know */
'Opensource' does not mean 'no-respect'
Leave credits to original developers
All files for supported devices are integrated into one file
/* FAQ */
I get 'status7' error while installing!
Your recovery is out-dated. Go and install a newer one.
Any recommended kernel settings?
The defaults are the most recommended settings. Try and use the default settings for several days before tweaking it yourself.
No GPU clock controls?
No. I personally don't like exposing GPU clock controls to users. I have no plans of adding these controls to my kernels.
I'm experiencing data-losses, device shutdown while downloading torrents!
Please turn off 'Dynamic Fsync' from aTweaks. Note that this may make your device slower.
Screen mode settings are not working!
mDNIe settings is moved to aTweaks. Please use the settings from there.
My screen color is inverted!
Tap the home-button 4 times. It's a kernel feature, please read the entire post.
The boot animation is laggy after installing this kernel!
The root cause is unknown for now, but it is normal and doesn't affects anything else.
Personal Hotspot is not working after switching to another kernel!
It's due to hostapd binary change. Go and re-flash your ROM.
/* Thanks to */
Samsung
faux123
Yank555.lu
Temasek
AndreiLux
AndiP71
DerTeufel
ZaneZam
JustArchi
Moster2
NamelessROM developers
ckh469
edoko
gokhanmoral
codeworkx
xens0117
And all the developers, maintainers of CyanogenMod's smdk4x12 kernel!
irendah07
/* Contact */
Email : [email protected]
Twitter : @arter97_dev
/* Downloads */
Please disable AdBlocker if you appreciate my work
http://www.arter97.com/s3_kernel.htm
Source code : https://bitbucket.org/arter97/arter97-i9300-release
/* Installation */
1. Put kernel on you SD card
2. Enter ClockworkMod(or PhilZ) recovery
3. Flash kernel
XDA:DevDB Information
arter97 kernel for Galaxy S3, Kernel for the Samsung Galaxy S III I9300
Contributors
arter97
Source Code: https://bitbucket.org/arter97/arter97-i9300-release
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2015-02-22
Beta Release Date: 2015-02-22
Created 2014-05-13
Last Updated 2015-10-09
Changelog
/* Changelog */
5.0
pegasusqplus, yankasusq and lulzactiveq CPU governors removed
pegasusq reworked for better stability
f2fs updated to Linux 4.2 sources for better stability and performance
RTL8187 support dropped for better stability
Network file-systems support dropped for better stability
Adaptive Body Bias control removed for better stability
Undervolt control removed for better stability
Intelli_plug removed for better stability
Misc commits reverted for better stability
FPU corruption fixed
1.7, 1.8 GHz overclock frequency removed
CFQ I/O Scheduler set as the default for better responsiveness
Intelliactive set as the default CPU governor
Partial code of Lazyplug added to intelliactive for better responsiveness
Zen-tune from Liquorix kernel removed
Random drivers updated to the latest mainline Linux
zswap(vnswap) pool percent increased
AIO regression reverted
BFQ I/O scheduler updated to v7r8
LZ4 re-added and updated to be used with vnswap
Ramdisk updated
ZZmoove CPU governor updated to v1.0-beta8
4.1
Now being built with Linaro 5.1 toolchain
Intelli-plug updated to 4.0
Various memory improvements (fs/seq_file.c)
Trim speed on ext4 improved
Discard option re-enabled for f2fs
(Jaegeuk Kim says inline kernel handlings for discard is more efficient)
Userspace trim disabled for f2fs
(Reduces vold overhead on FITRIM requests)
Trim fixed for some NAND storage for f2fs
Support for Samsung Touchwiz Android 4.3 ROMs removed
Support for Android 5.0 ROMs removed
Support for Android 5.1 ROMs added
Installation failure after ROM installation fixed
Network speed tweaked for LTE models
4.0.3
Issues with swap configurations fixed
Misc SELinux logs improved
Compiler and linker updated
4.0.2
Latest CyanogenMod 12 ramdisk changes merged
(Fixes bootloop on latest builds)
4.0.1
Zen-tune from Liquorix kernel implemented
(Reduces lags)
ondemand CPU governor removed
Few inconsistencies fixed for SHV-E210L
Hardswap on preload partition added on aTweaks
4.0
Prevent random enter to recovery
LPM mode on Android 5.0 Lollipop fixed
Low-level start-up misc issue fixed
Revert - "usb cb wake lock", "usb device wake lock" wakelock removed
(Fixes USB connections)
Random drivers updated to the latest mainline Linux
LZO security vulnerability fixed
Entropy hook on storage removed for performance
f2fs updated to the latest mainline Linux
Android 5.0 Lollipop ramdisk updated
4.0-beta6
f2fs updated to the latest mainline Linux
Durpy defconfig changes removed
SHV-E210S_KK_Opensource_Update2.zip merged
Hybrid support for different HWC implemented
(Fixes camera initialization issues)
MobiCore disabled for AOSP
(Memory optimizations)
4.0-beta5
f2fs updated to the latest mainline Linux
sdcardfs extended and enabled with Android 5.0 Lollipop
PegasusQ set as the default CPU governor for stability
firelock and full-frequency-usage removed from PegasusQ for performance
Android 5.0 Lollipop ramdisk updated
Stability on charging with phone turned off improved
PhilZ Touch recovery now uses standard VOLD mount points
4.0-beta4
Removed GPS blobs from 4.0-beta3
(Fixes GPS on AOSP - you may need to reinstall the entire ROM to fix GPS)
4.0-beta3
f2fs updated to the latest mainline Linux
Some cutting-edge compiler optimizations tuned down for stability
Added L1/L2 cache size paramater optimizations (by JustArchi)
Support for Android 5.0 reworked
Support for Android 5.0 Lollipop VPN added
Support for Android 5.0 Lollipop power consumption calculation added
Support for Android 5.0 Lollipop idletimer enabled
Deadline / noop set as the default I/O schedulers
Incall boost increased to 1000 MHz for more stability
Ext4 mount option journal_async_commit removed
Ext4 barrier enabled for better stability
Now uses TRIM from userspace instead of kernel for performance
Boeffla sound engine updated to 1.6.7
Second-phase touch booster removed for stability
Intell-plug touch booster removed for stability
BFQ I/O scheduler updated to v7r7
Installs and uses the working HWC from NamelessROM if on AOSP
Enables s3cfb fencing on AOSP
(Fixes graphical glitches)
MHL sound output issue fixed
Vnswap on AOSP switch added
Added GPS blobs from E210SKSUKNK3
Recovery updated to PhilZ Touch 6.59.0
Misc performance and stability improvements
Support for AOSP Android 4.3 ROMs removed
4.0-beta2
Major speed improvements via new ARM instructions set
interactive CPU governor re-based to android-3.4
(Fixes frequency stuck issue)
ZZmoove v1.0-beta2
ROW I/O scheduler removed
Misc block commits reverted
(Improves overall stability)
f2fs reworked from ground-up
(Stability, performance improvements)
Automatic kernel panic log dumper now stores log on /sdcard/arter97
RTL8187 support added (integrated)
SHV-E210L radio issues fixed
External storage support for Android 5.0 Lollipop enabled
4.0-beta1
Kernel rebased to Galaxy S3 LTE KitKat source
(Fixes graphical glitches on Touchwiz ROMs)
512 MB of vnswap enabled for Touchwiz ROMs
Intelliactive now the default CPU governor
Touchwiz Android 4.4.2 support removed
Back-to-n00t ROM support added
Android 5.0 Lollipop ROM support added
Charge during phone-off fixed
ZZmoove v1.0-beta1
Interactive governor ported from Galaxy Mega 2
Powerboost removed
Deadlock during phone-call fixed
Toolchain switched to stable Linaro GCC 4.9.2 2014.10
Recovery updated to PhilZ Touch 6.58.7
multi-boot updated for fixing AOSP ROM installation
3.1.1
PM_SUSPEND_FREEZE removed
(Responsible for all issues related to sleep)
intelliactive - CPU boost frequency fixed to 1000 MHz
(Standard for Exynos 441x)
Misc improvements to freezer, irq and futex
(Credits to Colin Cross, Sankara S Muthukrishnan, Thomas Gleixner and Francisco Franco)
3.1
Installation failure on some recovery issue fixed
ext4: Speedup WB_SYNC_ALL pass called from sync
Kernel thread: wake up worker only when the worker is idle
Disable GENTLE_FAIR_SLEEPERS when powerboosted
(Better UI snappiness)
Network performance with process_backlog improved
BusyBox updated
aSwitch updated to version 2.5
(Fixes reboot not working on some ROMs)
Boost CPU frequency on resuming from sleep or screen-off
PM_SUSPEND_FREEZE fixed
("Maybe" fixes some issues with screen not tuning on after voice call)
Screen-off CPU frequency limit unlocked for intelli-plug users experiencing music studders
Several more network integration with ROM
multi-boot.zip updated to version 2.1 fixing 2 or more ZIP files installation
3.0
Now uses interactive as the default CPU governor, replacing pegasusq
Now uses more power-efficient PM_SUSPEND_FREEZE on stand-by
2nd-phase touch boost implemented for much more snappy touch reaction
(When the screen is touched, CPU frequency is bumped up to 1.2 GHz for 100ms, then down to the default 0.8 GHz)
Undervolt capability added from Perseus kernel (by AndreiLux)
aSwitch updated to version 2.4
(Now correctly reboots after ROM switch)
multi-boot.zip updated to version 2.0 for much better compatibility
(Use only with arter97 kernel 3.0 or higher!)
Misc improvements with memory managements, internal MMC handlings, network including TCP and SELinux
Wi-Fi module handling improved
Installation time improved
ADB on Samsung stock-based Android 4.3 ROM fixed
ondemand CPU governor power consumption & speed improved
(Changed calculation of target frequency)
interactive CPU governor merged from upstream Google 3.0 Git repository
Tracers within interactive CPU governor removed for better performance
f2fs re-imported from scratch for bug-fixes
sched_mc_power_savings now set to 0 for better performance
ZZmoove CPU governor updated to v0.9-b4 (by ZaneZam)
AOSP Android 4.4 KitKat ramdisk updated
CyanogenMod 11's addon.d installed for nightly updates
Built with updated toolchain
Recovery updated to PhilZ Touch 6.57.5
Now correctly applies CPU frequency settings when resuming from throttled state
2.2
GT-I9300_JB_Opensource_Update14.zip merged
Power-efficient workqueues backported from linaro-lsk
Deep-discard-trim; FIDTRIM support for ext4 backported from google-3.4
Revamped aSwitch, aTweaks icon
aTweaks typo cleaned
aTweaks now properly supports Korean
Removed invalid hotplug lock within aTweaks
Powerboost routine improved
SdcardFS switch added
(for those who are planning to use FolderMount)
Intelli-plug merged with smart switch
Intelliactive merged
Random drivers updated to the latest mainline Linux
f2fs updated to the latest mainline Linux
f2fs performance improved with nobarrier option
BFQ updated to v7r5
lzo security vulnerabilities patched
lz4 security vulnerabilities patched
Reverted busfreq and wakelock commits
AOSP Android 4.4 KitKat ramdisk updated
Compiler flags updated
Built with updated toolchain
Frandom removed
(default random drivers are better that now it's merged from mainline Linux)
io_is_busy is now properly enabled by default
Recovery updated to PhilZ Touch 6.56.2, ClockworkMod v6.0.5.0
2.1.3
UKSM removed
(responsible for almost all kernel panics happened with previous versions)
AOSP Android 4.4 KitKat ramdisk updated
Security vulnerability CVE-2014-3153 fixed(towelroot)
Recovery updated to PhilZ Touch 6.46.2
2.1.2
GPIO processing operation reordered
(faster wake-up)
SLUB Memory Allocater from Linux 3.3 reverted
(better stability)
Debugging functions in SLUB Memory Allocater added by Samsung removed
2.1.1
Write permissions on external storage fixed
Recovery malfunction on external storage fixed
Fixed advanced mDNIe control in aTweaks
f2fs whitelisted on SELinux to maximize compatibilities
CMA memory validation on Mali re-enabled
Android 4.4.3 kernel source code changes applied
TCP's Initial Congestion Window tunables
(network performance improvements)
f2fs updated to the latest mainline Linux
AOSP Android 4.4 KitKat ramdisk updated
Recovery initial loading speed improved
Recovery updated to PhilZ Touch 6.44.9, ClockworkMod v6.0.4.9
Removed userspace, hotplug, adaptive CPU governors
Removed support for network file-systems
Config minimalized for lighter kernel
2.1
Dedicated custom PhilZ recovery released for f2fs
Allowing an easy switch to f2fs
Toolchain switched to stable Linaro GCC 4.9.1 2014.05
Block backport from Linux 3.3 reverted
- Fixes kernel panics with Samsung Touchwiz Android 4.4 KitKat
BFQ updated to v7r4
Mali graphics driver merged from N7100 Android 4.4 KitKat kernel
/data/container mount fixed for Samsung Touchwiz Android 4.4 KitKat
sdcardfs brought up from N7100 Android 4.4 KitKat kernel
sdcardfs extended to all Android 4.4 KitKat ROMs
- Better performance and battery
Installation failure on PhilZ recovery fixed
Improved installation speed
Advanced mDNIe control by AndreiLux added
Touch boost code reverted to stock kernel
- Use 800 MHz instead of previous 600 MHz
Ultra KSM with profile configuration added
zRam with ultra-fast LZ4 compression method added
Debugging codes within ext4 file-system source code removed
- Better performance
CVE-2014-0196 security vulnerability fixed
Conditional statement for dynamic camera firmware loading
- Camera fixed for Samsung Touchwiz Android 4.4 KitKat
2.0
Initial release to XDA developers
Known issues
/* Known issues */
Root access might get lost on Samsung Android 4.4 KitKat.
Go flash SuperSU from http://download.chainfire.eu/supersu again.
/* Switch to f2fs */
/* Switch to f2fs */
This step includes a full factory wipe!
Backup your data prior to switch!
You may use arter97 recovery to back-up previous ext4 data to an external storage
and restore it to newly formatted f2fs storage.
Your /system partition(ROM) will stay unwiped at ext4
for no compatibility issues what-so-ever.
You may install any ROM that fits your taste.
1. Install normal ClockworkMod(or PhilZ) recovery
2. Put arter97 recovery on you SD card
3. Enter recovery
4. Flash recovery
5. Reboot recovery
6.1 Select "Mounts and Storage"
6.2. Select "toggle f2fs <-> ext4 migration"
6.3. Select "format /cache"
6.4. Select "f2fs"
6.5. Select "Yes - Format device"
7.1. Select "format /data and /data/media (/sdcard)"
7.2. Select "Yes - Format"
7.3. Select "f2fs"
7.4. Select "Yes - Format device"
8. Reboot
Reserved 4
Reserved 4
Great work man
I am already downloading the note 2 KitKat port and will give this a shot.
Thanks for your support man :good: :good:
Installed on Achi Preview1 4.4.2 TW rom.
Booted fine - none of the 2 apps worked.
Lost root.
Manual installing root and returning here if any problems.
--EDIT--
After manual root install it works.
Just don't have the USB connection when using the apps, and it works fine.
THX for the initial kernel
Not installed im using kk Archi port ??
dev-host.eu said:
Installed on Achi Preview1 4.4.2 TW rom.
Booted fine - none of the 2 apps worked.
Lost root.
Manual installing root and returning here if any problems.
--EDIT--
After manual root install it works.
Just don't have the USB connection when using the apps, and it works fine.
THX for the initial kernel
Click to expand...
Click to collapse
Shoot, it actually happened to me, I thought I'd installed the ROM wrongly, seems like the kernel may be the root cause.
Will try to fix it in 2.0.1... xD
thereassaad said:
Not installed im using kk Archi port ??
View attachment 2741101
Click to expand...
Click to collapse
Root access might get lost on Samsung Android 4.4, try manually re-rooting it.
Sorry for the inconvenience!
Will try to fix it in 2.0.1
arter97 said:
Shoot, it actually happened to me, I thought I'd installed the ROM wrongly, seems like the kernel may be the root cause.
Will try to fix it in 2.0.1... xD
Click to expand...
Click to collapse
No worries - wasn't afraid
dev-host.eu said:
No worries - wasn't afraid
Click to expand...
Click to collapse
Have you been able to gain root access again just by flashing SuperSU from the recovery?
arter97 said:
Root access might get lost on Samsung Android 4.4, try manually re-rooting it.
Sorry for the inconvenience!
Will try to fix it in 2.0.1
Click to expand...
Click to collapse
My rooting its access im not losing root sir
thereassaad said:
My rooting its access im not losing root sir
Click to expand...
Click to collapse
So aTweaks works but aSwitch isn't?
hey ...... any one test it on s3 based rom
arter97 said:
So aTweaks works but aSwitch isn't?
Click to expand...
Click to collapse
Same sir but i guess kernal not installed
thereassaad said:
Same sir but i guess kernal not installed
View attachment 2741143
View attachment 2741144
Click to expand...
Click to collapse
Which recovery have you used?
arter97 said:
Have you been able to gain root access again just by flashing SuperSU from the recovery?
Click to expand...
Click to collapse
Yeah UPDATE-SuperSU-1.94 by Chainfire.
Otherwise no problems when using TWRP 2.7.0.0
aSwitch and aTweaks works in c-rom 6.5
Sent from my GT-I9300 using Tapatalk
@arter97 : great work..
thank you so much..
is there Master sequence for color calibration implemented ?

What about F2FS in Mi3?

So, the question is - is it possible to make our device work with "data" and "cache" partitions, formatted in F2FS?
[KERNEL] [CAF] ZeurionX [5.x/6.x/Miui support] F2FS support
It's possible, depends on what ROM you are using.
sMIUI 6.4.21 , can you help me?
Miui support F2FS?

[KERNEL] [LP/MM/N] Dark One v1.1 for ANDROID ONE aka SPROUT

Code:
#include
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
Dark One kernel is Based on ThunderZap kernel By @varunchitre15
I just patched it for nougat.
ALSO COMPATIBLE WITH LP/MM
the features of kernel are
Insecured
adb runnable as root
ThunderSonic Sou[/COLOR]nd Control Engine
ThunderCharge Fast Charge Driver
ThunderPlug CPU Hotplug replacement
WiFi Power management control
Full GPU control
DoubleTap2Wake and Sweep2Wake
Dynamic Fsync Control
Improved filesystem mounting flags - NOATIME and NODIRATIME
ThunderQuake Engine 1.0 - Vibration Intensity Controller for MTK vibrators
Huge update to kernel.org mainline 3.10.89
init.d support
Automatic busybox installation
Disabled Gentle fair sleepers
Enabled arch power
Optimizations to SLUB memory allocator
Patches to block and mm to significantly improve ssd IO performance.
Dynamic entropy setting based on usage
Dynamic management of dirty page writebacks
block: Added SIO IOScheduler
block: Add BFQ IOScheduler
block: Add fiops scheduler
cpufreq: ThunderX power saving CPU governor
fs: added Samsung's F2FS support
Reduce logger device RAM allocation to 128K
Set MM Linux read ahead size to 256K
Patches from upstream to optimize memory writeback
Disabled CRC check in MMC for 30% extra performance with IO
Reduced VFS cache pressure for better battery
Optimized square root algorithm
Governors enabled: ondemand, interactive
Speedup /proc/net/unix interface access
Mali GPU cache Optimizations
Mali: Increase L2 cache max read size
Mali: Disable state tracking
Mali: Reduce GPU utilization timeout
Mali: increase kernel memory buffer size
Aggressive multicore power savings
ARM: Cortex A7 compiler optimizations
MTK: removed HUGE HUGE trail of stupid MTK kernel logging
ARM: Removed various debug traces
DOWNLOAD LINK(v1.1)(3.10.104)
older versions:
Version 1.0 (linux version :3.10.101):DOWNLOAD
INSTRUCTIONS
just flash the zip file from the recovery
and njoy.
Credits and thanks to:
Varun Chitre
Version information:
Status: Statble
Version: 1.1
linux version: 3.10.104
Created on : Jun 9, 2017
Thanks for the kernel... Awsm one with superb battery backup and very reponsive d2tw..... Does this kernel support otg in sprout devices.... If not then is it possible????
sheikhmuzaffarhussain said:
Thanks for the kernel... Awsm one with superb battery backup and very reponsive d2tw..... Does this kernel support otg in sprout devices.... If not then is it possible????
Click to expand...
Click to collapse
Not possible. Hardware issues.
@nageen9211
A request
Can you fix camera fast....
:fingers-crossed:
Can any one help me to install apps on sd card in aq4502 marshmallow without formatting it as a internal storage the privilage given to samsung devices.....
Thanks bro
I love electrablue can you patch it for nougat plz
sheikhmuzaffarhussain said:
Thanks for the kernel... Awsm one with superb battery backup and very reponsive d2tw..... Does this kernel support otg in sprout devices.... If not then is it possible????
Click to expand...
Click to collapse
no ..its not possible...our device doesnot provide current to otg...which is required to read it
tanu548 said:
Your kernel is awesome but need sio ,zen I/O and intellidemand Governor with latest Linux security patch
Click to expand...
Click to collapse
thanks....
but i have left the work now... if you or anyone is interested ,
Then , can continue it at source
source dark one kernel
@nageen9211
I am interested in developing a kernel for our 'Beloved Sprout',
I am Recently developing AzurE kernel for YUreka and YUreka+,
I would like to take some help from you,
Thank You,
There are random reboots in marshmallow based roms.is there any fix plz help
navjot703 said:
There are random reboots in marshmallow based roms.is there any fix plz help
Click to expand...
Click to collapse
Nope its working flawless

[r21] arter97 kernel for OnePlus 6

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
arter97 kernel for OnePlus 6/6T running OxygenOS​
/* Details */
Fully rebased kernel with OnePlus' debugging code out
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
DM-verity fully disabled (you can remount /vendor to R/W properly)
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
TWRP integrated with proper f2fs support (see below)
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
/* Notice */
Both OnePlus 6 and 6T is supported.
Only OxygenOS is supported, but it is likely that the kernel will work with other ROMs. Though you may encounter minor issues.
Feel free to tip me which commits are needed to fix other ROMs.
Unlike my OnePlus 5/5T kernels before, you are free to flash Magisk after installing the kernel. Kernel does not include Magisk by default.
/* 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.
TWRP is not integrated to the kernel.
Please use a TWRP installer to install TWRP on top of my kernel.
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-f2fs".
If you use fastboot method(directly flashing img), you will not pass SafetyNet.
/* Swap variant */
This kernel has a swap variant for memory-hungry users.
- Users with 6GB of memory or heavy multi-taskers are recommended to use the new swap variant
- Ditched conventional zram swap approach and taken zswap+vnswap for more efficient memory operations
- Backported zsmalloc memory allocator from mainline
- Backported zswap compressed page cache from mainline
- Samsung's Galaxy S9 memory modifications merged for better swapping efficiency tuned for Android
/* Downloads and links */
arter97.com
Kernel source
XDA:DevDB Information
arter97 kernel for OnePlus 6, Kernel for the OnePlus 6
Contributors
arter97
Kernel Special Features:
Version Information
Status: Stable
Created 2019-01-14
Last Updated 2019-10-28
Reserved
/* Changelog */
r21
Boot issue fixed caused by improper switch to AK3
Brightness issue on exiting AOD fixed
LA.UM.8.3.r1-06300-sdm845.0 merged
Diag USB interface enabled for QPST
r20
Swap compressor backend(LZ4) updated
LA.UM.8.3.r1-06100-sdm845.0 merged
Linux v4.9.196 merged
Wi-Fi drivers updated to 5.1.1.74O
Latest f2fs-stable merged
r19
OnePlus changes merged including support for DC dimming
Linux v4.9.189 merged
Wi-Fi drivers updated to 5.1.1.73W
LA.UM.7.3.r1-08200-sdm845.0 merged
LA.UM.7.8.r1-06900-SDM710.0 merged (includes various scheduler improvements)
r18
Linux v4.9.186 merged
Wi-Fi drivers reverted back to stock Snapdragon 845 ones to resolve signal strength issues
Swap variant's LMK aggressiveness adjusted to use the stock values
r17b1
Linux v4.9.185 merged
LA.UM.7.3.r1-07900-sdm845.0 merged
LE.UM.3.2.1-00910-SDX24 merged
Wi-Fi drivers updated to 5.2.03.10Q
More debugging features removed from Wi-Fi drivers
Wi-Fi regulatory database taken from OnePlus to fix slow handshakes with 5 GHz APs (by LuK1337)
Faulty Low Memory Killer fixed to work better and resolve wake-up delays
General scheduler improvements backported
Virtual memory allocator performance improved
Task scheduler debugging disabled properly for lower overheads
Many parts of the kernel converted to use hotplug state machine
WireGuard updated to 20190702
Bunch of memory allocations from various subsystems were reworked to perform much better (thanks to Sultan) (total of 46 patches)
Debugging features disabled for Adreno GPU drivers to improve performance
Fixed an issue that was causing charging to be stopped randomly (details)
Rewritten IOMMU by Sultan reverted to resolve screen flickerings
Introducing a new swap variant for memory-hungry users
- Users with 6GB of memory or heavy multi-taskers are recommended to use the new swap variant
- Ditched conventional zram swap approach and taken zswap+vnswap for more efficient memory operations
- Backported zsmalloc memory allocator from mainline
- Backported zswap compressed page cache from mainline
- Samsung's Galaxy S9 memory modifications merged for better swapping efficiency tuned for Android
r16
Linux v4.9.180 merged
Wi-Fi drivers replaced with Snapdragon 855 drivers
- Switched from 5.1.1 to 5.2.03 release
- 1810 files changed, 851191 insertions(+), 187458 deletions(-)
- I've been internally using this for 3 weeks and noticed multiple improvements like faster handshakes and higher throughput without any issues
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
r15b1
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
Fixed an improper timer operation in fuelguage driver causing battery statistics to not update until 20 minutes after boot
Merged various patches from Proton kernel by kdrag0n to lower overheads and improve responsiveness (thanks to kdrag0n, sultanxda and ab123321)
Applied various optimizations to the touch panel drivers
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
r14
Wi-Fi drivers updated to 5.1.1.71C
Disabled some debugging options to improve performance
Added vibration control
Added wcd934x sound control
r13
Reverted a problematic Wi-Fi drivers optimization causing Wi-Fi to not turn on after some period of time
r12
Fixed a faulty memory region removal causing kernel panics
(Thanks to @habylab for directly testing builds)
r11
Reverted a minor Wi-Fi drivers improvement causing kernel panics
r10
AnyKernel2 is now being used
Linux v4.9.168 merged
Fixed a major memory management regression
Linux CMA pool size increased for better CMA efficiency
Improved memory allocation from the Wi-Fi drivers to reduce memory fragmentation
Fixed occasional kernel crashes(entering dumpmode) on shutdowns
r9
Linux v4.9.166 merged
LE.UM.3.2.1-11600-SDX24 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
Some changes from Pixel 3’s Q preview kernel
Some mainline performance improvements to procfs merged
Removed RTB(interrupt) logging entirely
WireGuard updated to 20190227
Stock LowMemoryKiller parameter restored to hopefully fix wake-up delay and general lags
Fixed bq27541 fuelguage driver to properly work with CONFIG_HZ != 100
(Fixes various battery-related issues such as displaying -22% on initial boot)
Reverted a problematic memory management commit causing CMA allocation errors
Merged LA.UM.7.8.r1-05000-SDM710.0
Merged LA.UM.7.3.r1-06900-sdm845.0 audio kernel
Various changes made to f2fs rapid GC to make it more efficient
dirty_expire_centisecs set to 30 seconds to reduce flash wearouts and power consumption
Various changes merged from the Razer Phone 2 and Snapdragon 855
Kernel is now built with -O3 optimization flag
r8
Linux v4.9.163 merged
LE.UM.3.2.1-08000-SDX24 merged
Wi-Fi drivers updated to 5.1.1.70J
f2fs updated to 5.1 mainline version
Disabled qcom_rx_wakelock (details)
Reworked msm_geni_serial driver
- Lighter resource usage
- Lower power consumption upon wake(ISR)
- Fixed an issue preventing suspend indefinitely
Various changes from Proton kernel by kdrag0n
- Use flatmem to save kernel memory usage
- Use optimized memcmp
- Optimize rbtree
- Disable erratum 843419 properly
- Delay vmstat updating interval to avoid jitter
- Disable I/O stat accounting completely for lower overheads
- Reverted a cpuidle change for possible fix for power consumption regression during sleep
- Faster crypto algorithms ported(chacha20, sha2, crc32)
A bit lower power consumption by using WFE for long delays
Add accelerated crc32 routines
Use -O3 for input drivers for avoiding overheads
r7
Linux v4.9.160 merged
LA.UM.7.3.r1-06900-sdm845.0 merged
LA.UM.7.8.r1-04800-SDM710.0 Wi-Fi drivers merged
A totally new kernel base merged - LE.UM.2.3.2-05800-SDX24
- Total of 1153 commits and about 25,000 lines of code difference
- A lot has changed ranging from scheduler, memory management, device encryption, GPU and panel handling, UFS device driver, ION, cpuidle, binder and a whole lot more
OnePlus changes to OxygenOS 9.0.12 merged
- This includes display panel changes and may affect screen on/off delays
IRQ balancer settings updated to include UFS interrupts for better overall smoothness
Some of upstream camera commits applied for more reliable camera operations
Sultan’s display wake-up optimization re-applied after a bug fix revision
1.5
Linux v4.9.158 merged
Kernel configuration fixed for proper scheduler operation
OnePlus changes to display panel settings merged
Faulty screen optimization from Sultan reverted to fix occasional screen-on misses
Mainline f2fs fixes merged
LA.UM.7.8.r3-01100-SDM710.0 merged
- This new tag for Snapdragon 710 includes multiple enhancements over sdm845 tag, most notably scheduler improvements
WireGuard updated to 20190123
seccomp disabled in favor of less system-call overheads
Minor issue with f2fs rapid GC fixed
Fixed an issue with execprog causing readahead settings to be ignored on some boot
Modified IRQ balancer settings added for better smoothness
1.4
Linux v4.9.154 merged
ULPS during suspend disabled for (possibly)lower panel power consumption during screen-off
Audio HAL reworked to fix Type C audio adapter (thanks to @Nezorflame for testing)
Patch level set back to 2019-01
1.3
Linux v4.9.153 merged
ZIP installation now uses proper security patch level to bypass SafetyNet
(If you install the kernel by fastboot/IMG method, it won't bypass SafetyNet)
Merged several changes from Sultan's Pixel 3 kernel
- Numerous memory leaks fixed
- GPU performance improved with corrected priority
- Faster display wake-up
- Lower power consumption
1.2
OnePlus 6T support added - thanks to freshgiammi and nezorflame for testing
Security level is set to 2025-12(details)
1.1
CAF tag LA.UM.7.3.r1-06700-sdm845.0 merged
Linux v4.9.151 merged
Wi-Fi issue fixed (thanks to pappschlumpf for tipping me the culprit)
pstore kernel log is now properly saved
Custom TWRP integrated
Readahead set to 128kB to minimize page thrashing
IMG file is now provided for direct fastboot installation
1.0
Initial release
Reserved 2
Reserved 3
Reserved 4
Damn. Waited for this. If you switch to f2fs, you will format data right?
joakimbo said:
Damn. Waited for this. If you switch to f2fs, you will format data right?
Click to expand...
Click to collapse
Yes
Im use arter kernel alot when on hlte. Keep up a good work.
Nice work!
Got bricked or something.
Was on blu_spark. Booted to recovery > flashed rom -> latest blu_spark recovery -> reboot recovery -> flashed magisk 18.0 -> flashed kernel
After this I booted but found that Magisk is not instaled, pressed "boot to recovery" and now can't do enything with phone, it's not booting even wit hard boot (like volume down and power).
Edit: booted, seems like some problems with blu_spark recovery.
@arter97 audio via Bluetooth is significantly reduced. Tryied with Apple AirPods and others Bluetooth headphones but nothing changed. Max volume corresponds to about half of the original volume.
iPsychoGeek said:
Got bricked or something.
Was on blu_spark. Booted to recovery > flashed rom -> latest blu_spark recovery -> reboot recovery -> flashed magisk 18.0 -> flashed kernel
After this I booted but found that Magisk is not instaled, pressed "boot to recovery" and now can't do enything with phone, it's not booting even wit hard boot (like volume down and power).
Edit: booted, seems like some problems with blu_spark recovery.
Click to expand...
Click to collapse
You should flash the recovery after the kernel again.
tibcsi0407 said:
You should flash the recovery after the kernel again.
Click to expand...
Click to collapse
Actually I think there is some problems with Magisk instalation. I had this issue before, and i couldn't boot in to recovery because Magisk wasn't installed.
iPsychoGeek said:
Actually I think there is some problems with Magisk instalation. I had this issue before, and i couldn't boot in to recovery because Magisk wasn't installed.
Click to expand...
Click to collapse
I always flash TWRP after kernel flashing.
What I usually do:
boot twrp
flash the kernel
flash twrp
reboot to twrp
flash magisk
reboot
Can anyone confirm this kernel working on any custom roms, as yet?
In the notes section of the OP, he mentions flashing Magisk after the kernel. Testers should try that during install. See if it boots smoothly.
DarKAngel1234 said:
Can anyone confirm this kernel working on any custom roms, as yet?
Click to expand...
Click to collapse
Read the goddamn OP
I did and it mention's douche bag, that it may work with other roms.
joakimbo said:
Read the goddamn OP
Click to expand...
Click to collapse
@arter97 This kernel also breaks latest blu_spark TWRP for me

[r21] arter97 kernel for OnePlus 6T

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
arter97 kernel for OnePlus 6/6T running OxygenOS​
/* Details */
Fully rebased kernel with OnePlus' debugging code out
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
DM-verity fully disabled (you can remount /vendor to R/W properly)
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
TWRP integrated with proper f2fs support (see below)
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
/* Notice */
Both OnePlus 6 and 6T is supported.
Only OxygenOS is supported, but it is likely that the kernel will work with other ROMs. Though you may encounter minor issues.
Feel free to tip me which commits are needed to fix other ROMs.
Unlike my OnePlus 5/5T kernels before, you are free to flash Magisk after installing the kernel. Kernel does not include Magisk by default.
/* 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.
TWRP is not integrated to the kernel.
Please use a TWRP installer to install TWRP on top of my kernel.
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-f2fs".
If you use fastboot method(directly flashing img), you will not pass SafetyNet.
/* Swap variant */
This kernel has a swap variant for memory-hungry users.
- Users with 6GB of memory or heavy multi-taskers are recommended to use the new swap variant
- Ditched conventional zram swap approach and taken zswap+vnswap for more efficient memory operations
- Backported zsmalloc memory allocator from mainline
- Backported zswap compressed page cache from mainline
- Samsung's Galaxy S9 memory modifications merged for better swapping efficiency tuned for Android
/* Downloads and links */
arter97.com
Kernel source
XDA:DevDB Information
arter97 kernel for OnePlus 6T, Kernel for the OnePlus 6T
Contributors
arter97
Kernel Special Features:
Version Information
Status: Stable
Created 2019-01-25
Last Updated 2019-10-28
/* Changelog */
r21
Boot issue fixed caused by improper switch to AK3
Brightness issue on exiting AOD fixed
LA.UM.8.3.r1-06300-sdm845.0 merged
Diag USB interface enabled for QPST
r20
Swap compressor backend(LZ4) updated
LA.UM.8.3.r1-06100-sdm845.0 merged
Linux v4.9.196 merged
Wi-Fi drivers updated to 5.1.1.74O
Latest f2fs-stable merged
r19
OnePlus changes merged including support for DC dimming
Linux v4.9.189 merged
Wi-Fi drivers updated to 5.1.1.73W
LA.UM.7.3.r1-08200-sdm845.0 merged
LA.UM.7.8.r1-06900-SDM710.0 merged (includes various scheduler improvements)
r18
Linux v4.9.186 merged
Wi-Fi drivers reverted back to stock Snapdragon 845 ones to resolve signal strength issues
Swap variant's LMK aggressiveness adjusted to use the stock values
r17b1
Linux v4.9.185 merged
LA.UM.7.3.r1-07900-sdm845.0 merged
LE.UM.3.2.1-00910-SDX24 merged
Wi-Fi drivers updated to 5.2.03.10Q
More debugging features removed from Wi-Fi drivers
Wi-Fi regulatory database taken from OnePlus to fix slow handshakes with 5 GHz APs (by LuK1337)
Faulty Low Memory Killer fixed to work better and resolve wake-up delays
General scheduler improvements backported
Virtual memory allocator performance improved
Task scheduler debugging disabled properly for lower overheads
Many parts of the kernel converted to use hotplug state machine
WireGuard updated to 20190702
Bunch of memory allocations from various subsystems were reworked to perform much better (thanks to Sultan) (total of 46 patches)
Debugging features disabled for Adreno GPU drivers to improve performance
Fixed an issue that was causing charging to be stopped randomly (details)
Rewritten IOMMU by Sultan reverted to resolve screen flickerings
Introducing a new swap variant for memory-hungry users
- Users with 6GB of memory or heavy multi-taskers are recommended to use the new swap variant
- Ditched conventional zram swap approach and taken zswap+vnswap for more efficient memory operations
- Backported zsmalloc memory allocator from mainline
- Backported zswap compressed page cache from mainline
- Samsung's Galaxy S9 memory modifications merged for better swapping efficiency tuned for Android
r16
Linux v4.9.180 merged
Wi-Fi drivers replaced with Snapdragon 855 drivers
- Switched from 5.1.1 to 5.2.03 release
- 1810 files changed, 851191 insertions(+), 187458 deletions(-)
- I've been internally using this for 3 weeks and noticed multiple improvements like faster handshakes and higher throughput without any issues
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
r15b1
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
Fixed an improper timer operation in fuelguage driver causing battery statistics to not update until 20 minutes after boot
Merged various patches from Proton kernel by kdrag0n to lower overheads and improve responsiveness (thanks to kdrag0n, sultanxda and ab123321)
Applied various optimizations to the touch panel drivers
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
r14
Wi-Fi drivers updated to 5.1.1.71C
Disabled some debugging options to improve performance
Added vibration control
Added wcd934x sound control
r13
Reverted a problematic Wi-Fi drivers optimization causing Wi-Fi to not turn on after some period of time
r12
Fixed a faulty memory region removal causing kernel panics
(Thanks to @habylab for directly testing builds)
r11
Reverted a minor Wi-Fi drivers improvement causing kernel panics
r10
AnyKernel2 is now being used
Linux v4.9.168 merged
Fixed a major memory management regression
Linux CMA pool size increased for better CMA efficiency
Improved memory allocation from the Wi-Fi drivers to reduce memory fragmentation
Fixed occasional kernel crashes(entering dumpmode) on shutdowns
r9
Linux v4.9.166 merged
LE.UM.3.2.1-11600-SDX24 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
Some changes from Pixel 3’s Q preview kernel
Some mainline performance improvements to procfs merged
Removed RTB(interrupt) logging entirely
WireGuard updated to 20190227
Stock LowMemoryKiller parameter restored to hopefully fix wake-up delay and general lags
Fixed bq27541 fuelguage driver to properly work with CONFIG_HZ != 100
(Fixes various battery-related issues such as displaying -22% on initial boot)
Reverted a problematic memory management commit causing CMA allocation errors
Merged LA.UM.7.8.r1-05000-SDM710.0
Merged LA.UM.7.3.r1-06900-sdm845.0 audio kernel
Various changes made to f2fs rapid GC to make it more efficient
dirty_expire_centisecs set to 30 seconds to reduce flash wearouts and power consumption
Various changes merged from the Razer Phone 2 and Snapdragon 855
Kernel is now built with -O3 optimization flag
r8
Linux v4.9.163 merged
LE.UM.3.2.1-08000-SDX24 merged
Wi-Fi drivers updated to 5.1.1.70J
f2fs updated to 5.1 mainline version
Disabled qcom_rx_wakelock (details)
Reworked msm_geni_serial driver
- Lighter resource usage
- Lower power consumption upon wake(ISR)
- Fixed an issue preventing suspend indefinitely
Various changes from Proton kernel by kdrag0n
- Use flatmem to save kernel memory usage
- Use optimized memcmp
- Optimize rbtree
- Disable erratum 843419 properly
- Delay vmstat updating interval to avoid jitter
- Disable I/O stat accounting completely for lower overheads
- Reverted a cpuidle change for possible fix for power consumption regression during sleep
- Faster crypto algorithms ported(chacha20, sha2, crc32)
A bit lower power consumption by using WFE for long delays
Add accelerated crc32 routines
Use -O3 for input drivers for avoiding overheads
r7
Linux v4.9.160 merged
LA.UM.7.3.r1-06900-sdm845.0 merged
LA.UM.7.8.r1-04800-SDM710.0 Wi-Fi drivers merged
A totally new kernel base merged - LE.UM.2.3.2-05800-SDX24
- Total of 1153 commits and about 25,000 lines of code difference
- A lot has changed ranging from scheduler, memory management, device encryption, GPU and panel handling, UFS device driver, ION, cpuidle, binder and a whole lot more
OnePlus changes to OxygenOS 9.0.12 merged
- This includes display panel changes and may affect screen on/off delays
IRQ balancer settings updated to include UFS interrupts for better overall smoothness
Some of upstream camera commits applied for more reliable camera operations
Sultan’s display wake-up optimization re-applied after a bug fix revision
1.5
Linux v4.9.158 merged
Kernel configuration fixed for proper scheduler operation
OnePlus changes to display panel settings merged
Faulty screen optimization from Sultan reverted to fix occasional screen-on misses
Mainline f2fs fixes merged
LA.UM.7.8.r3-01100-SDM710.0 merged
- This new tag for Snapdragon 710 includes multiple enhancements over sdm845 tag, most notably scheduler improvements
WireGuard updated to 20190123
seccomp disabled in favor of less system-call overheads
Minor issue with f2fs rapid GC fixed
Fixed an issue with execprog causing readahead settings to be ignored on some boot
Modified IRQ balancer settings added for better smoothness
1.4
Linux v4.9.154 merged
ULPS during suspend disabled for (possibly)lower panel power consumption during screen-off
Audio HAL reworked to fix Type C audio adapter (thanks to @Nezorflame for testing)
Patch level set back to 2019-01
1.3
Linux v4.9.153 merged
ZIP installation now uses proper security patch level to bypass SafetyNet
(If you install the kernel by fastboot/IMG method, it won't bypass SafetyNet)
Merged several changes from Sultan's Pixel 3 kernel
- Numerous memory leaks fixed
- GPU performance improved with corrected priority
- Faster display wake-up
- Lower power consumption
1.2
OnePlus 6T support added - thanks to freshgiammi and nezorflame for testing
Security level is set to 2025-12(details)
1.1
CAF tag LA.UM.7.3.r1-06700-sdm845.0 merged
Linux v4.9.151 merged
Wi-Fi issue fixed (thanks to pappschlumpf for tipping me the culprit)
pstore kernel log is now properly saved
Custom TWRP integrated
Readahead set to 128kB to minimize page thrashing
IMG file is now provided for direct fastboot installation
1.0
Initial release
/* Known-issues */
As I don't own the OnePlus 6T, some device-specific issues are hard to get rid of, such as:
- The included TWRP cannot decrypt data on ext4, please use other recovery(maybe with fastboot)
Reserved 3
Reserved 4
Let me be the first one to welcome u Arter
Witch kernel manager do you suggest for your kernel? And what settings?
Running now. Very smooth so far. Any chance you could add vibration control ?
Welcome to this device! Awesome to see you here.
Nice work. May I know if Spectrum is supported?
Just flashed thanks ?
i ****ed up
i flashed the f2fs.zip and the kernel.zip in twrp at same time my device is not stuck in a "booting state"
i cant transfer files to my device because when i browse my files in twrp they are a bunch of random letters and number. i cant seem to find my downloads folder.
one plus 6t elemental kernel before.
willybumbum1820 said:
i flashed the f2fs.zip and the kernel.zip in twrp at same time my device is not stuck in a "booting state"
i cant transfer files to my device because when i browse my files in twrp they are a bunch of random letters and number. i cant seem to find my downloads folder.
one plus 6t elemental kernel before.
Click to expand...
Click to collapse
go to pc and flash twrp img
jaythenut said:
go to pc and flash twrp img
Click to expand...
Click to collapse
my twrp works but its when i press install im at /sdcard and theres a bunch of letters and numbers
willybumbum1820 said:
my twrp works but its when i press install im at /sdcard and theres a bunch of letters and numbers
Click to expand...
Click to collapse
Yeah I'm getting that as well, but twrp works fine on pc ?
jaythenut said:
Yeah I'm getting that think a lot are but it's fine on pc
Click to expand...
Click to collapse
english?
so after formatting data with f2fs we need to restore data from a backup or reflash rom right>
The f2fs doesn't work I formats whole systems and boot loops and cannot restore data... Have to reclash everything and if you don't save data on computer you will lose all data
Version 1.3 is up.
This should fix SafetyNet issue triggered from version 1.2.
1.3
Linux v4.9.153 merged
ZIP installation now uses proper security patch level to bypass SafetyNet
(If you install the kernel by fastboot/IMG method, it won't bypass SafetyNet)
Merged several changes from Sultan's Pixel 3 kernel
- Numerous memory leaks fixed
- GPU performance improved with corrected priority
- Faster display wake-up
- Lower power consumption
DeveDroid said:
Nice work. May I know if Spectrum is supported?
Click to expand...
Click to collapse
What's that?

Categories

Resources