[KERNEL][AOSP/LOS] SINAI-N4 Kernel

sudokamikaze

Inactive Recognized Developer
Jan 1, 2017
375
668
0
Rivne
The SINAI-N4 Custom Kernel​

Based on Spezi77's Hellspawn Kernel with upstream features & fixes
  • F2FS Support
  • A lot of hotplugs & Governos & I/O scheds
  • Latest Changes & Fixes from upstream
  • Clean & Stable sources
  • Regular updates
    And more!
Important information:
Only for Advanced users!
Use THIS kernel adiutor to tweak kernel

Enable any hotplug you like and choose governor, other tweaks you can configure yourself and for your own purposes

Known-issues
HTML:
- Firefox videoplayback doesn't work for some roms
Installation
1. (Optional)Wipe cache/dalvik cache
2. Flash kernel zip over stock kernel of the ROM
3. Reboot system

Downloads:
Nougat/Oreo AOSP BASED: AFH
Nougat CM/LOSBASED: AFH
DO NOT FLASH AOSP based kernel over CM/LOS Oreo rom, you will get "color problems" & LineageOS 15.1 doesn't supported (yet or still)

SPECIAL EDITION, Only for Unlegacy-Android ROM
Nougat/Oreo: AFH
Pie: AFH

Credits:
Special thanks to
- AOSP
- Unlegacy-Android team
- HUGE THANKS TO spezi77
- AdrianDC
- Chipp_a
- frap129
- Basketbuild
- hellsgod
- zaclimon
- rostifaner
- ganachoco
- txuki2005
- yoinx
- Cl3Kener
- franciscofranco
- faux123
- eng.stk
- stratosk
- show-p1984
- mrg666
- Defconoi
- neobuddy89
- flar2
- CallMeAldy
- AK
- Alucard
- And anyone I forgot to mention


XDA:DevDB Information
SINAI Nexus 4 kernel, Kernel for the Google Nexus 4

Contributors
sudokamikaze, spezi77
Source Code: https://github.com/Sudokamikaze/SINAI-N4

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: Build 2018-08-16
Stable Release Date: 2018-08-16

Created 2017-05-30
Last Updated 2018-10-31
 
Last edited:

sudokamikaze

Inactive Recognized Developer
Jan 1, 2017
375
668
0
Rivne
This kernel does not flash over custom kernel it has to be flashed over a ROMs stock kernel see screenshots
Unpack your custom rom zip on pc

Then fastboot erase boot
and flash your rom stock kernel
fastboot flash boot boot.img (boot.img of your custom rom that unpacked on your pc(

Then go to recovery and flash kernel

But backup rom(/boot and /system in twrp) before this for safe
 
Last edited:

sudokamikaze

Inactive Recognized Developer
Jan 1, 2017
375
668
0
Rivne
Finally a new kernel for nougat thanks so much for your hard work it supports multirom in case anyone was wondering
If you need best expirience, configure kernel in Kernel adiutor, hotplug not enabled by default(will be fixed in new releases) and set "Screen off max frequency" to 486 MHz, Intellihotplug configured by default but not enabled :c
 

[email protected]

Senior Member
Jul 1, 2016
1,107
328
0
colorado springs
multırom twrp ground zero rom mako 7.1.2 kernel flash error
Did you flash the siani kernel above the ROMs stock kernel I flashed it in this order for a nougat ROM with siani kernel
Clean flash is my recommendation
ROM
gapps
then Sinai kernel
Then magisk or SuperSU
then reboot
If that doesn't work flash up to twrp 3.1.1.0
Then wipe all partitions except internal storage
Then install in order above
And then boot into primary ROM and reinstall multirom twrp using multirom manager app
Just my best guess
 
Last edited:
  • Like
Reactions: Has_anDroid

sudokamikaze

Inactive Recognized Developer
Jan 1, 2017
375
668
0
Rivne
New Update, check op post for download link!

Git changelog

HTML:
62db627df14 (HEAD -> n-7.1) Revert "Disable MSM_SLEEPER by default"
56f7cb01a4d Revert " msm: Add CPU freq limiter driver"
b4de61cfae7 Revert "msm: limiter: Introduce initial multi cpu control"
5e92fa4da6d Revert "msm: limiter: Add controls for per cpu governor"
d42245b40c3 Revert "msm: limiter: Simplify and debugify min/max freq"
f0da6f9d4dd Revert "msm: limiter: Do not store governor locally"
fe53ac12208 Revert "msm: limiter: Add readable tunable for current frequency"
fcd1131de9a Revert "enable msm_limiter by default"
10385b1284b Revert "msm_limiter: tune for mako."
a9826e7b6cd (origin/n-7.1) msm: cpufreq: Ensure cpufreq change happens on corresponding CPU
c2c63870770 msm: cpufreq: Relax constraints on "msm-cpufreq" workqueue
d585e61f67e msm: cpufreq: Configure WQ for higer priority
0957a02bf86 Revert "msm: cpufreq: Remove cross-calling limitation"
ab48dcedea9 msm_fb: Make sure the backlight is not set to 0 at boot
3a97dd91098 msm: kgsl: Fix mem leak when page allocation fails
92442236e67 msm: kgsl: Add check for NULL value from dev_get_drvdata
4043005c9f5 cpufreq: Improve debug prints
e20574ac18a cpufreq: Improve debug prints
8fb7f8508fc cpufreq: Make get governor interface always return good value
8e25bd6bff0 cpufreq: Add interface to set/get min/max freq
e20366a5483  cpufreq: Add interface for gov change
7c8009d340b  cpufreq: Export user_policy min/max
fb7fb27094e cpufreq: Avoid calling cpufreq driver's target() routine if target_freq == policy->cur
de10563a8aa drivers: my faults with naming
f4f94089189 KEYS: Fix crash when attempt to garbage collect an uninstantiated keyring
bc823c0054d KEYS: Fix race between key destruction and finding a keyring by name
812ccd03e9e KEYS: Add invalidation support
6bee3c6f9c4 KEYS: Permit in-place link replacement in keyring list
51fa63856db KEYS: Perform RCU synchronisation on keys prior to key destruction
06427a89aca random32: use msecs_to_jiffies for reseed timer
6895783f55c random32: add __init prefix to prandom_start_seed_timer
9b789bf4614 random32: add prandom_reseed_late() and call when nonblocking pool becomes initialized
bf6de73075d random32: add periodic reseeding
a53b95d5a13 random32: add test cases for taus113 implementation
4ee21145101 random32: upgrade taus88 generator to taus113 from errata paper
93c2572bb78 random32: rename random32 to prandom
c417cf606de timer: Implement TIMER_IRQSAFE
71678d4da95 timer: Clean up timer initializers
93cf3ca769d timer: Relocate declarations of init_timer_on_stack_key()
5d6a8627e36 timer: Generalize timer->base flags handling
89a05cebcce alpha: take a bunch of syscalls into osf_sys.c
d683e97c66e timers: Improve get_next_timer_interrupt()
18cc5049c40 timers: Add accounting of non deferrable timers
e1796bfa316 timers: Consolidate base->next_timer update
08abd4a37ce timers: Create detach_if_pending() and use it
9fed706f355 kernel/timer: revert to make upstream update
0ce4f440760 mm/ksm.c: use new hashtable implementation
c2d45e60533 msm: cpufreq: Always update frequency limits when core is online
9a09f6bb11a cgroup: use new hashtable implementation
c994502d739 watchdog: Fix warning caused by use of smp_processor_id()
98f5d1f0cb3 sched: Fix load avg vs cpu-hotplug
30f96d19051 crypto: arc4 - improve performance by using u32 for ctx and variables
a9f08f0f284 crypto: arc4 - improve performance by adding ecb(arc4)
9e4a7e59ba2 crypto: arc4 - now arc needs blockcipher support
56f58b99342 Input: aiptek - fix crash on detecting device without endpoints
5581f20c7d0 Input: aiptek - adjust error-handling code label
c62d163e4a7 crypto: sha256 - Expose SHA256 generic routine to be callable externally.
70a98898686 arm: vfp: always clear vfp_current_hw_state when forcing reload
b3364d0ef01 ARM: vfpmodule: Move bounce stats file to seq_file and friends
e4793e04fc2 Always set noatime no diratime on all partitions! I/O Boost! V2 [2/2].
2aef5ea8235 Always set noatime no diratime on all partitions! I/O Boost! V2 [1/2].
33d8ecdf40b cpufreq & cpufreq_interactive: tweaks to reduce lags and improve battery life.
779487e4468 Squashed hrtimer optimization commits.
00dc953a906 random: entropy tweaks are all the rage nowadays
5d5c7abb732 CPU hotplug: Provide lockless versions of callback registration funct… …ions
f3aac4179b5 fs: aio: Optimization for SSD-only machines
fdd5f4b40a8 arch/arm/mach-msm/cpufreq.c: reduce dmesg log spam
c4053a57aa4 KGSL: GPU kgsl_pwrctrl.c use min pwr level as default. to reduce battery drain.
d1753828e44 CM:Add another patch
4db46385dcc Disable MSM_SLEEPER by default
028cc1140ee msm_limiter: tune for mako.
f033fdf5ae2 enable msm_limiter by default
cb2b415ce4f msm: limiter: Add readable tunable for current frequency
8595387c381 msm: limiter: Do not store governor locally
0fceb5a2dc0 msm: limiter: Simplify and debugify min/max freq
4db92dc452b msm: limiter: Add controls for per cpu governor
c55faf4bedc msm: limiter: Introduce initial multi cpu control
98405842205  msm: Add CPU freq limiter driver
ace7b0c8f8c Add mako default defconfig, without intelli_thermal for inline building


UPD: Uploaded hotfix, Please reflash!!
 
Last edited: