Related
What are you doing here? This is old, my new kernel can be found here: Helium
Welcome to the thread of Tangerine kernel!
This kernel is meant to be used with all the available Lollipop ROMs.
Disclaimer:
use this kernel at your own risk. Flashing it may brick your device. I'm not responsible for any software/hardware damage.
Q&A thread
This is the Questions & Answers thread: http://forum.xda-developers.com/xperia-sp/help/qa-tangerine-kernel-t3178801
Changelog:
v11.1
fixed /system not mounting in Temasek
do not use bricked hotplug
any newer version doesn't work
v11
built in frandom support (not a module anymore)
added bioshock CPU governor
added bricked hotplug by @show-p1984 (don't worry, "bricked" is just the name - the hotplug works well)
splashscreen can be chosen by the user (read below)
a couple of source updates
faster recovery boot & improved fstab (by @AdrianDC)
improved default ZRAM settings
v10.2
Linux 3.4.86 (thanks to nosedive)
various source updates (SELinux, wireless network management...)
wheatley CPU governor readded
default settings have been improved
important: check that the md5 sum of the zip is: 12ea5ad12650fc69002ce499d0f28fa5. Otherwise, don't flash the kernel and contact me
v10.1
basically v10, but working It misses some features that I wanted to include, but I released it so you can benefit from the stability improvements it brings.
Linux 3.4.72 (thanks to @nosedive)
ZRAM and zsmalloc backported from Linux 3.14
latest TWRP
Cortex-A15 optimizations
L2 CPU freq table fixed (thanks to @suliman lbabidi)
v10: erased update. Use v9.2.
v9.2
CPU underclocked to 281 MHz (disabled by default)
new splashscreen
fixed a bug that caused a kernel panic
bug: kernel version still shows Tangerine-9.1 (I've forgotten to change it)
v9.1
f2fs updates
f2fs for /system support in both kernel & TWRP
init.d support
fast screen unlock
Cortex-A15 optimizations
minor fixes
CPU overclock disabled at boot (no more overheating)
v9.0
built with GCC 5.2 and UBER Toolchain
GPU idle frequency set to 200 MHz (thanks to @Adrian DC)
loads of source updates (thanks to @Mrcl1450)
Linux 3.4.17
lionheart and interactive CPU governor readded
Multicore powersaving readded
Tangerine uninstaller: read this: http://forum.xda-developers.com/showpost.php?p=62616583&postcount=1755 it's important!
signed zip (cannot be flashed in Cyanogen recovery)
v8.0
Linux 3.4.14
loads of source fixes imported from the work of many teams (SuSE, RedHat, Samsung, Motorola... thanks to them!)
Ultra KSM (a.k.a. UKSM)
Anykernel installation method
new boot logo
removed PhilZ recovery (sorry, will try to readd it)
joystick support
Row I/O scheduler massively updated and improved
2 new CPU governors: intlliactive, intellidemand2
ZRAM, qcache and zsmalloc support
bug: screen flashing. Read this: http://forum.xda-developers.com/showpost.php?p=62330509&postcount=1604
screen freezing bug maybe fixed
new installation method! Read below!
v7.2
ArchXperia fixes (there's no update for other releases)
v7.1
Linux 3.4.12
CPU undervolting is fixed
fixes in TWRP
bluetooth optimizations (included in Linux 3.4.12) (caution: may cause bugs in bluetooth. Please report any issue)
v7.0
many source updates
xz compression (smaller .elf file, slightly longer boot time)
yankactive CPU governor removed
loads of source updates
GPU frequencies are fixed, GPU OC disabled. It will be working soon :victory:
almost all CPU governors removed (sorry :crying
ondemandplus has been massively updated
interactive CPU governor tweaks by CodeAurora devs
loss of root is fixed
CPU boost & optimizations by CodeAurora devs
v6.6
charging bug fixed
a few source updates
v6.5
new ramdisk
frandom support
reduced overheating in TWRP (lock max freq at 1728 MHz)
v6.4 - only regular release (a1 doesn't need this update)
new ramdisk (fixes some bugs)
OmniROM support dropped. I'll support it again when the ROM will work (now it's quite unusable)
regression: if your phone is switched off and you plug the charger in, it will turn on and boot. I think it's a bug in my kernel and I'll do my best to release a fixed version soon.
v6.3
updated ramdisk (fixes black screen when receiving calls)
GPU OC disabled
TWRP is the default recovery
OmniROM support
v6.2
TWRP 2.8.7.0
v6.1
new governor: brazilianwax (it's bugged, don't use it - will be removed)
source updates (Linux 3.4.10)
mkfs.f2fs fixed
latest intelliplug by @faux123 with max freq limiter when screen is off
v6.0
built with the latest UBER toolchain and GCC 5.1
source updates (Linux 3.4.6)
new I/O scheduler: sioplus
read-ahead buffer size set to 128 kb
TWRP can format in f2fs (not working)
FauxSound 3.6 (may fix many bugs)
v5.2
FM radio works
smartassH3 removed
GPU overclock should work even though 480 MHz freq. is displayed as 0 MHz
v5.1
smartassH3 fixes (need to be tested)
WiFi module is automatically replaced by the installer
Userspace I/O driver support for HID subsystem
a small fix in the source
v5.0 beta
new governor: smartassH3
Linux kernel source updates
built with GCC 5.1 and Sabermod toolchain plus neon and cortex-a7 flags to improve performance
fixes to interactive CPU governor
default max CPU frequency is 1,728 GHz
new WiFi module is needed: read the installation instructions
v4.0
Overclock to 1,944 GHz
full cifs support
no undervolting/it will be re-enabled in next release
source updates, now the kernel supports autobrightness in CM12.1 and other ROMs
v3.4
undervolting and FauxSound are back
WiFi now works again
v3.3
many other source updates
v3.2
many source updates from Linux devs
new governor: ondemandplus
v3.1
support for 3-LED notification light in CM12.1
2 recoveries (latest TWRP & PhilZ with f2fs support)
many source updates & fixes from Linux kernel devs
v3.0
CPU overclock and underclock
new splashscreen
many TCP congestion algorithms: westwood, bic, highspeed, hybla, htcp, vegas, veno, scalable, lp, yeah, illinois
f2fs updates
color calibration
several source updates & latest ramdisk (thanks to @Mrcl1450)
v2.6
Enforcing SELinux
v2.4 and v2.5
SystemUI fc's have been fixed
v2.3
f2fs works (boot may take more than 1 minute)
v2.2
Permissive SELinux
v2.1
f2fs support
TWRP 2.8.6.0 or PhilZ touch
latest fixes from CyanogenMod team
v2.0
FauxSound!
NTFS support
TWRP 2.8.5.0 (thanks to @kontini)
v1.3
Dynamic Fsync
USB fast charging
v.1.2
new governor: intellimm
undervolting/overvolting (does the latter word exist?)
v1.1 and v1.0
new I/O schedulers: fifo, sio, row, vr, zen, fiops, test, bfq
new governors: intelliactive, lagfree, intellidemand2, Lionheart, smartassv2
enabled governors: conservative, userspace
built with the latest Linaro GCC 4.9.x toolchain with optimizations for Cortex-A7 chips
KSM support
Swap support
SELinux disabled so SIM works out of the box!
Debugging the kernel
/proc/kmsg is a file that stores all the kernel messages from the very first seconds of the boot process. A copy of that file isn't always needed to fix a bug, but since I've explained how to get one I don't even remember how many times, I'll write here the needed steps:
1. open a terminal on your phone
2. run the following commands:
- su
- cat /proc/kmsg > /sdcard/kernel_log
3. the log will be stored in kernel_log.
Splashscreens
Lollipop Hub Edition > lhub.rle > http://i.imgur.com/JELOvtG.jpg
Black & orange > blackorange.rle > http://i.imgur.com/jRkemxJ.png
Blue > blue.rle > http://dl-1.va.us.xda-developers.com/3/4/1/8/3/8/3/TANGERINE.jpg?key=oHTC-bp0wl60JT-h_7p3Ww&ts=1446891893
White > white.rle > http://i.imgur.com/lNhq3Id.jpg
White w/ Sony logo > whitesony.rle > same as "White" but with Sony logo on top of it
Cyanogen Black > black.rle > http://dl-1.va.us.xda-developers.com/3/3/4/4/0/2/6/Tangerine-splashscreen.png?key=xDxhR_sZ7TTTKv8OxGy-7w&ts=1446892429
Download your favourite splashscreen here, rename it to "logo.rle" and place it in /data/data: https://drive.google.com/folderview?id=0B-msDWtyu1JrUE56Qkh3X3JiT3M&usp=sharing
If you don't wipe /data in the recovery, there's no need to redownload the splashscreen you want every time you update ROM/kernel. It will already be there.
Downloads:
Download from Kernel Adiutor or from Android File Host:
https://www.androidfilehost.com/?w=files&flid=40608
If you had previously flashed the old PhilZ with Rashr, you need to flash stock FOTAKernel to use TWRP in v3.1 and later.
Use this zip that will flash a stock FOTAKernel (thanks to @TechnoSparks): http://forum.xda-developers.com/xperia-sp/general/stock-components-flashable-zips-t3184111/post62447981
be sure to choose your variant (e.g. C5303)!
Or, if you've got the whole C530x .ftf file, you can also flash the FOTAKernel via FlashTool.
Banners by @Steph310:
{
"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"
}
Thanks to:
FXP team, especially uberlaggydarwin
@pec0ra for his William kernel
@DooMLoRD for his elf repacking tool
@bbedward
@nosedive
@dorimanx
CodeAurora devs
Linux kernel devs
@Adrian DC
@Mrcl1450
@Furrydaus
@faux123 for dynamic fsync, intelliplug and fauxsound
@Drakomord for having helped me fixing some bugs and for being so patient!
XDA:DevDB Information
Tangerine kernel for Xperia SP, Kernel for the Sony Xperia SP
Contributors
Tomoms, nosedive
Source Code: https://github.com/Tomoms/android_kernel_sony_msm8x60
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 11.1
Stable Release Date: 2015-11-12
Created 2015-04-05
Last Updated 2016-01-12
Double tap to wake function.... Please include in this
What is the recovery?
lvints said:
What is the recovery?
Click to expand...
Click to collapse
PhilZ
---------- Post added at 11:50 AM ---------- Previous post was at 11:49 AM ----------
Kernel works great on RR 5.4.0
Can you please add doubletap2wake ?
anisingh62 said:
Double tap to wake function.... Please include in this
Click to expand...
Click to collapse
Spasik said:
PhilZ
---------- Post added at 11:50 AM ---------- Previous post was at 11:49 AM ----------
Kernel works great on RR 5.4.0
Can you please add doubletap2wake ?
Click to expand...
Click to collapse
I'll see what can I do. If I manage to port it, I'll release 2 versions: one with Doubletap2wake and one without it.
Tomoms said:
I'll see what can I do. If I manage to port it, I'll release 2 versions: one with Doubletap2wake and one without it.
Click to expand...
Click to collapse
If you want any help related to double tap to wake function you head into galaxy s3's android development section. And there you have to see for arter kernel it is the best kernel for double tap to wake and you could pm the developer for any help
I installed it, all seem work fine. Except I am not able to change a CPU governor, as there is only IO governor option on the performance tab.
Zygmus said:
I installed it, all seem work fine. Except I am not able to change a CPU governor, as there is only IO governor option on the performance tab.
Click to expand...
Click to collapse
That option isn't available with stock kernel too.
Don't use CM's built-in kernel tweaker. It sucks. Use Trickster MOD.
Good work bro
use this mods for next version
- Swap support
- Zram support
- CPU underclock
- CPU limiter
- O3 compression
No need to set SELinux to permissive in this kernel :victory:
So, i've tested it on RR 5.4.0 and it works but cyanogenmod recovery is SAD! can't flash anything so please include CWM, Philz and TW like other kernel.
When i flashed it, it take very long time it's normal?!
Nice kernel, i hope some features are going to be added like fast charge, faux sound and more cpu frequencies. If u want to flash another recovery use Rashr Flash tool.
WOAH a custom kernel for 5.1! Congrats @Tomoms ! I'm going to test it.
bobslesbricoleurs said:
So, i've tested it on RR 5.4.0 and it works but cyanogenmod recovery is SAD! can't flash anything so please include CWM, Philz and TW like other kernel.
When i flashed it, it take very long time it's normal?!
Click to expand...
Click to collapse
If you have already flashed PhilZ w/ Rashr, installing this kernel won't overwrite it.
Can you explain better "It takes very long"? It takes a lot of time to boot/to flash/...?
BTW, v2 is in progress! A lot of new features, I hope they work... :fingers-crossed::fingers-crossed:
nplezka said:
WOAH a custom kernel for 5.1! Congrats @Tomoms ! I'm going to test it.
Click to expand...
Click to collapse
Yeah, I had to create it mainly because unlocking the bootloader and staying on a featureless kernel seemed nonsensical to me.
Tomoms said:
If you have already flashed PhilZ w/ Rashr, installing this kernel won't overwrite it.
Can you explain better "It takes very long"? It takes a lot of time to boot/to flash/...?
BTW, v2 is in progress! A lot of new features, I hope they work... :fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
Yay! I was going to write on feature request tab, so I'll wait for v2 eheh
Tomoms said:
BTW, v2 is in progress! A lot of new features, I hope they work... :fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
Will directly flash v2, Waiting And the thing I Love the most is "Permissive SELinux"
Sent from Xperia SP with Lollipop 5.1 (RR 5.4.0)
why use this kernel
i have rr5.4 build running quite good with philz recovery.
whats the difference bw the rr's kernel and this one.
i would like to know the features before flashing it
bharathulaganathan said:
Will directly flash v2, Waiting And the thing I Love the most is "Permissive SELinux"
Sent from Xperia SP with Lollipop 5.1 (RR 5.4.0)
Click to expand...
Click to collapse
A small update for all of you. v2 is canceled since it doesn't boot, I'll release some point releases (1.x) which will include each feature I had previously planned for v2. So within 3 or 4 point releases we'll have what should have been v2. This will help me in debugging. v1.1 is coming today or tomorrow
flashed it but im having philz
many guyz said they lose philz recovery but not im my case
how this is possible then
Hi guys,
It was a cool journey with all the support I got from you, this community is really the best! Unfortunately this will be the last version I will release. See the changelog for more details!
Please note that I do my testing on a ZE551ML 4GB 2,3GHz. For ZE550ML look here (thanks to cieffe54)
Note: This kernel works ONLY on stock based versions!
I can only support, if you don't have any speed tweaks or similar flashed as I can not differ if the issues come from the kernel or from installed tweaks!
Features:
Based on Zenfone 2.20.40 kernel source (completely from scratch)
Built with Hyper_linaro4.9 toolchain (all credits to @fraps123!!!)
STABLE: UC to 333MHz for all models
Power efficient work queues for fbcon and PHYDEV
Battery Life eXtender (BLX) (manipulate via init.d script 10BLX==>Downloads tab or Kernel adiutor==>Battery menu)
Touchboost input event handler (can be switched on and off via init.d, see Downloads-tab)
Greatly improved memory management
Added the following CPU governors:
- Ondemand with hotplugging event handlers when screen is off
- Lionheart
- Bioshock
- ConservativeX
- Yankactive
- TheSSJactive (Yankactive with hotplugging)
Added IO schedulers:
- sio
- zen
- vr
- fifo
- sioplus (credits to @boype, fixed afterwards for zf2 by me) {DEFAULT}
- fiops
Added TCP congestion algorithms:
-BIC
-CUBIC
-WESTWOOD
-HSTCP
-HYBLA
-HTCP
-VEGAS
-VENO
-SCALABLE
-LP
-YEAH
-ILLINOIS
Tweaked GPU governor to scale up more quickly
Set minimum brightness to 2 instead of 15 percent (changeable by init.d script)
Set readahead of int./ext. sd card partitions to 512kB by default
Selinux permissive
init.d support (creates directory if it doesn't exist!)
exfat support (no fuse, all credits to @dorimanx, automounting of devices fixed by @sorg)
GPU clock unlocked (not overclocked) - runs between 200 and 533MHz
ZRAM implemented (see below for details)
Sweep2Sleep (all credits to Lord Boeffla)
frandom RNG
F2FS support
Deprecated: KVM support (only up to version 51)
Some words about the currently implemented features:
F2FS
all credits to @mb300sd81 for modifying the fstab accordingly: http://forum.xda-developers.com/zen...custom-kernel-zenfone-2-t3150822/post64366155
Battery Life eXtender BLX
Use the init.d script in the downloads section (10BLX) or see Kernel adiutor in the battery menu.
Sweep2Sleep and/or Touchboost
To activate simply check Kernel Adiutor for a new entry in the menu
Alternatively you can use an init.d script I have uploaded in the downloads section: 90S2S.txt/91touchboost.txt
KVM
Please note, that I stopped supporting KVM functionality from v52 onwards. If you want a tweaked kernel with KVM support, you can download v51.
You need to insmod all modules with an init.d script or manually (see download section for an according script). Please note that I won't add the feature set as @ycavan is doing, as I am lacking the knowledge and also I don't want to overbloat the kernel, even if KVM is triggered via insmodding modules. If you need special features which this kernel might be missing, feel free to request it/them, but I won't guarantee that it will be implemented at all
init.d
The way I implemented init.d is sweet, simple and won't be recognized by ANY third party app which implements init.d!
I use the my own script which is already located on the ramdisk of the boot partition and added just a few lines, which check if init.d already exists and creates it if not (and will execute the scripts in there otherwise of course). So please don't install any more init.d enabler as you will have every script executed twice then!
ZRAM
You need to activate ZRAM via init.d script (see download section) as it is turned off by default, to make it more universal for the ZF2 users with 4GB as they really don't need to compress data before storing it into RAM as for the 2GB users. Of course Kernel Adiutor also offers the possibility to turn on ZRAM.
Dev Roadmap:
Fix ROW scheduler
What's useful
What most likely won't be implemented (missing knowledge, no testing tools):
Undervolting
Sound tweak directly on chip side (no documentation found about our RT5647 sound chips ) - you will need to deal with Viper4Android
Caution:
Do everything at your own risk!
How to install:
1st pre-requisite: Unlock your Bootloader
2nd pre-requisite: BACKUP!!!
Method 1:
BACKUP!!!
Download the zip from the DL link below and extract the img file
Place the img file on your internal SD
Flash it through TWRPs "Install zip" function, by clicking on "Images..." on bottom right and then selecting "Boot" as destination
Reboot and you're done!
Method 2:
BACKUP!!!
Download the image file and place it in the directory of your adb binary
Code:
adb push <nameofimg>.img /sdcard/
adb shell
su
cd sdcard
dd if=./<nameofimg>.img of=/dev/block/by-name/boot
reboot
Method 3:
BACKUP!!!
Download the image file and place it in the directory of your fastboot binary
Boot into Bootloader mode
Issue the following commands:
Code:
fastboot flash boot <nameofimg>.img
fastboot reboot
Method 4 (thanks to @taylor.fowler )
BACKUP!!!
Download the zip and flash it via TWRP
Attention: when reporting bugs, please provide a log or a way to reproduce the error.
Download Link:
Gone
Credits:
@jrior001, @crpalmer, @Jamison904, @Tectas, @dorimanx, @Lord Boeflla
Special thanks to:
@Drew442
Amir J.
@aziz07
XDA:DevDB Information
[KERNEL][LINARO][UC][F2FS] Project T - Custom Kernel for ZenFone 2[THE END], Kernel for the Asus ZenFone 2
Contributors
TheSSJ
Source Code: https://github.com/TheSSJ/android_kernel_asus_moorefield
Kernel Special Features: CPU governors, read-ahead, init.d support, exfat, async fsync, BLX, OC, UC
Version Information
Status: Stable
Current Stable Version: Final
Created 2015-07-05
Last Updated 2015-12-29
Changelog
Changelog format: dd-mm-yyyy vXX
23-12-2015 final KVM
- as promised
02-12-2015 final
- Removed OC as it has really no effect at all, kept underclocked frequency though
24-09-2015 v91
- Speed up I/O operations on file systems
- Algorithm changes to use faster multiplication by shifting
18-09-2015 v90
- Reduced module count from 19 to 5, much quicker boot
16-09-2015 v88
- Upgraded F2FS driver to latest sources (3.10. kernel backport)
- Fixed F2FS mounting problems
The path is now clear to create the first ROMs with F2FS formatted partitions (system, data and cache)
14-09-2015 v86
- Min_brightness is working now without f*cking up the brightness
- Versioning implemented (check kernel info in kernel adiutor)
12-09-2015 v85c
- Rolled back all backlight changes, will continue tomorrow or so as I have no time
12-09-2015 v85b
- Hotfix for negative brightness
11-09-2015 v85
- Minimum brightness is changeable by the user (via init.d, see script in download tab)
- Introduced VMAcaching (big performance improvements in memory handling)
10-09-2015 v84
- changed compression of ZRAM from LZO to Google's Snappy compressor, thanks for testing @2300
Older releases:
09-09-2015 v83
- Sioplus set to default at boot already
- random number generator "frandom" used everywhere (10-50 times faster than normal random)
- Removed power efficient work queue for block devices
- Turning power efficient work queues on and off works now
- Added Google's new and fast compression algorithm "Snappy" (this is only patch 1 of 2). Next step (=v84) will be to modify ZRAM to use Snappy instead of LZO
08-09-2015 v82
-F2FS support added
-added several tcp congestion algorithms and defaulted to westwood (great speed increase)
-Increased tcp window size (more performance)
-Under the hood fixes (wifi now integrated into kernel, ramdisk fixed up, etc.)
04-09-2015 v81
- Fixed BLX
02-09-2015 v80
- Introduced power efficient work queues
- Minimum brightness set to 2% also for ZE550ML models
02-09-2015 v77b Hotfix1
- Resolved Deep Sleep issues on ZE550ML models (for those who had them)
01-09-2015 v77 UC/OC
- Added OC/UC variant (+167MHz, lowest freq set to 333MHz), still no other features, that's why the version number didn't change
30-08-2015 v77 OC
- Added OC variant (+167MHz), no new version
28-08-2015 v77
- S2S now checks dynamically which phone model you have and sets the boundaries accordingly
25-08-2015 v76
- reduced brightness even more (2%)
23-08-2015c v75
- reduced brightness now to really 5% (below is not visible at all)
23-08-2015b v74
- S2S: Reset detection algorithm when finger leaves contact with screen prematurely (then it is not really a "sweep" )
23-08-2015 v73
- made s2s compatible for ZE550ML also (need to trigger via init.d script 90S2S, see downloads tab)
21-08-2015 v72
- added BLX (thanks to @Ezekeel for the base source)
19-08-2015 v70
- updated to newest code base from Asus (2.20.40)
- set minimum brighness to 2% now (1% was weird)
16-08-2015b v67
Set minimum brightness to 10% now (will be experimented with in the future)
16-08-2015 v66
Moved touchboost code to sweep2sleep module and renamed it to sweep2sleepPLUS
Touchboost code is stock again and should be snappier than before
09-08-2015 v65
Fixed crashing when a custom governor is to be set after boot
Sweep2Sleep (thanks to @Lord Boeffla)
03-08-2015 v60
Backported and implemented Async Fsync (thanks to @deadman96385)
Set Selinux to never deny requests (hot word: avc and unknown devices, thanks to @arter97)
Removed hotdemand governor and implemented the changes directly to ondemand governor
Set readahead of the sd card partitions to 512kB
02-08-2015b v56
Reverted back to O2 optimization level, now we're back to address the whole RAM again, thanks to @Tiongkia
Accidentally compiled in 32Bit, don't download anymore, v56 will hopefully address 4G again
02-08-2015 v55
Implemented working touchboost for Yankactive and Thessjactive governors (interactive works nonetheless)
01-08-2015c v53
Random files should be gone hopefully
O3 Optimization level implemented
01-08-2015b v52 (BUGGY)
Removed KVM to make the kernel lighter
Included loadable module hotdemand (ondemand with hotplugging techniques on screen off)
01-08-2015 v51
Removed useless Debug messages from the display (cluttering the kernel ring buffer)
Last build with KVM support
26-07-2015b v50
Completely built out of Hyper Linaro4.9 Toolchain
26-07-2015 v47
Added my own implementation of yankactive governor with hotplugging of 2 cores on screen off/on.
Fixed SSE instruction set compilation
24-07-2015 v46
Fixed touchboost issue when using interactive, no good solution for the other governors at the moment
22-07-2015 v45
Added kvm support(thanks @ycavan)
19-07-2015 v44
Fixed init.d being executed to soon by moving it after boot completed flag (still as part of the init process)
Fixed sioplus
18-07-2015 v42
Removed ondemandplus for now
Added sioplus (thanks @boype) and fiops (credits to @ion-storm for his backport) IO-scheduler
18-07-2015 v40
Ported yankactive to current interactive code base and applied yankactive tweaks there, see my github commit for details. Positive side effect is that the governor now finds the maximum freq automatically (removed the hardcoded max-freq, so 1.8GHz Zenfones should be supported like 2,3GHz now, too). WORKS!
17-07-2015 v38
Fixed interactive gov by taking and adapting it from fugu kernel
Fixed init.d mounting system as rw before running scripts (now the directory gets automatically created)
16-07-2015 (at least in my timezone) v35
Corrected tunables of yankactive (max_freq should be dynamically set) and Ondemandplus (min frequency increased to 500MHz)
ZRAM implemented (to be enabled via init.d)
Uploaded GPUclock and ZRAM scripts to the download section of XDA (kind of a database)
14-07-2015b v29
Added more governos:
Ondemandplus
Yankactive
Adaptive
14-07-2015 v28
Unlocked whole GPU clocking speed
13-07-2015
Moved "older" downloads from XDA to my Google Drive (it's frustrating uploading with 1MBit/s and then getting a Server I/O error)
12-07-2015b
Fixed exFAT automount issue (all credits to @sorg)
12-07-2015
Improved init.d support (creates directory if it doesn't exist)
exFAT driver implemented (thanks to @dorimanx)
11-07-2015
Added init.d support
10-07-2015
Added several (working) IO schedulers:
- sio
- vr
- zen
- fifo
10-07-2015
Fixed wakelock issues
Added several governors
Added AnTuTu results in separate post
05-07-2015
First release
Want to report a Bug? Please read here first
This last version is pretty stable so far, therefore no bug reports anymore
Awesome...
Might test this out later when I get back home and make a back-up...
Great work! Hopefully we can tweak to give us more battery life!
Great work
Gửi từ ASUS_Z00AD của tôi bằng cách sử dụng Tapatalk
oh my god.. i dont need any custom rom for this moment if there's custom kernel released.. and I never expect the 1st custom kernel was released by you @TheSSJ, you guys including @jrior001 and @crpalmer and also other developers are rock!!
anyway a question.. can we flash it .img file using fastboot cmd on bootloader?
This be fine for the 2.19 no garbage rom?
tested this kernel since using it an hour ago..
some bugs that i found:
1. dancedance, wheatley governor (freezes phone when activated)
2. smartassv2 cause random reboot
3. all the I/O Scheduler besides stock cfq & noop are unable to be used ( I/O scheduler fifo, sio, vr, zen, tripndroid will return back to stock cfq after activated)
4. suddenly apps such Castro (I usually used it to monitor core speed) crash after using this kernel
and I used Device Control apps to apply the tweak.
and also..my device is hardly fall into deep sleep mode..hsi3_wake_lock is higher than in stock kernel..
@TheSSJ
can you tell how you overcomed module signature check in your kernel? I see in your config x86_64_moor_defconfig, you still use CONFIG_MODULE_SIG=y option which should prevent modue loading compiled in other environment. Besides signature, modules have magic string which should be the same as in zImage. But i see you've took modules directly from stock kernel. So, how you've managed to load modules? I don't see any hack in commit history.
And, btw, what exactly toolchain you're using?
---------- Post added at 12:39 PM ---------- Previous post was at 12:35 PM ----------
btw, you can update kernel by simplier command.
Boot into fastboot and then issue the command:
fastboot flash boot customboot.img
So, you don't need neither custom recovery, nor root. Just unlocked bootloader.
@sorg depending on where he forked from.... we disabled all the modules and built them in to kernel.
@TheSSJ, we gotta work on your git-fu dude, although your kernel source meets the requirements, proper history helps with maintaining and gives more proper credit to where you forked from. If your interested in learning a few thing hit me on PM or IRC I'll try to teach you a few things.
Sent from my N5206 using XDA Free mobile app
another thing guys, it seems that im unable to return back to stock kernel..didnt tried fastboot command yet, just flashed stock boot.img in twrp and its stuck on bootloop. the wakelock is pretty bad, so people who want to test this kernel should make a nandroid backup their boot first..i forgot to backup mine and now i need to use this kernel to get my zf2 working but with high drain..
jrior001 said:
@sorg depending on where he forked from.... we disabled all the modules and built them in to kernel.
Click to expand...
Click to collapse
If module is built-in, then there is no reason to keep it in /lib/modules
I believe, modules are built-in because otherwise need to hack module.c to allow to load foreigner modules.
The main reason of my original question comes from need to load pre-compiled not opensourced modules such as texfat.ko and tntfs.ko. Actually, texfat.ko can be replaces by opensource exfat module from Samsung. But there is no opensource solution for tntfs.ko (i don't call that castrated ntfs opensource driver in linux kernel as alternative).
I've tried to hack module.c to allow to load foreigner modules (cannot disable the check by config flags because it affects the structures), and i can succefully load the module, but mounting the exFat(i'm experimenting with texfat.ko module) disk gives me out of memory error. So, either ASUS gave config not exactly they're using, or i don't know where is the problem.
I'm using AOSP GCC 4.8 recommended by ASUS.
cangcan said:
and also..my device is hardly fall into deep sleep mode..hsi3_wake_lock is higher than in stock kernel..
Click to expand...
Click to collapse
Yep, had that,too,fortunately I was able to restore stock kernel and now it is back to normal (75% deep sleep, 20% lowest clock). Need to investigate why it is causing that, as I didn't change the default governor at all (was set to interactive on mine, still 99% on 500MHz). The only real changes I made which were applied directly were just the dynamic read-ahead fix and the inclusion of all models in the kernel directly.
sorg said:
@TheSSJ
can you tell how you overcomed module signature check in your kernel? I see in your config x86_64_moor_defconfig, you still use CONFIG_MODULE_SIG=y option which should prevent modue loading compiled in other environment. Besides signature, modules have magic string which should be the same as in zImage. But i see you've took modules directly from stock kernel. So, how you've managed to load modules? I don't see any hack in commit history.
And, btw, what exactly toolchain you're using?
Click to expand...
Click to collapse
No hack used, as jrior001 wrote I will delete the modules in the lib folder as soon as I get home, as they bloat up the ramdisk unecessarily - it was too hot yesterday as it seems...
To be honest I downloaded a builduntu VM with which I am working. I am using the toolchain which was shipped with cyanogenmod 12.1 source, I plan to switch to AOSP or any other x86_64 optimized, though... maybe this fixed the exagerated wakelocks?
jrior001 said:
@sorg depending on where he forked from.... we disabled all the modules and built them in to kernel.
@TheSSJ, we gotta work on your git-fu dude, although your kernel source meets the requirements, proper history helps with maintaining and gives more proper credit to where you forked from. If your interested in learning a few thing hit me on PM or IRC I'll try to teach you a few things.
Click to expand...
Click to collapse
Would be really glad for any help in making this easier to build and to document - git is a pain in the a$$. Will send you a PM as soon as I can.
By the way: does anyone know if the used toolchain can be the reason why these kernel wakelocks appear??
Camera FC
Flash light not work
Gửi từ ASUS_Z00AD của tôi bằng cách sử dụng Tapatalk
29y6145 said:
Camera FC
Flash light not work
Gửi từ ASUS_Z00AD của tôi bằng cách sử dụng Tapatalk
Click to expand...
Click to collapse
Interesting - I didn't change a thing on the camera code...maybe I really need to use the AOSP toolchain as recommended by Asus...
//Edit: suspect this issue comes from the hsic wake locks cangcan posted on page 1. Basically the camera (and many other components, like modem) seems to be connected using USB protocol and there may be issues of occupied resources which cannot be used by other components. Will dive into the code when I come back home. I will also test the stock source and check if the wakelock occurs there,too! This would be an indication, that the kernel source from ASUS needs some special treatment in order to work well
TheSSJ said:
Interesting - I didn't change a thing on the camera code...maybe I really need to use the AOSP toolchain as recommended by Asus...
Click to expand...
Click to collapse
Yes
Iam restore stock boot
Camera and flash light worked again
I hope you fix next version
Gửi từ ASUS_Z00AD của tôi bằng cách sử dụng Tapatalk
I found the code piece (2 in total, xhci and ehci) where the wakelock is initialized, now it's tedious code crawling...
Some updates reg 2.18 kernel
So I have been tinkering a lot with the kernel and decided to start from scratch, with rather shocking results.
I have downloaded the original kernel source for v2.18 and compiled it strictly as described in the README included by ASUS.
After fixing some path issues the kernel compiled and I packed it into a boot.img.
After flashing and booting the wakelocks are still present!!! So this has definitely nothing to do with my modifications here, I used the x86_64_moor_defconfig with the diff_file for zenfone2 fhd and included all modules.
At this point in time I can say for sure that the config from Asus is either incomplete or something is missing from the source itself.
I will try to compile the 2.19 kernel today and see if the wakelocks disappear - but it seems that every other custom kernel should have the wakelock problems...
Just to let u know..
Also (some positive news): Intel granted me free access to their own c++ compiler binaries, which are increasing the performance of Intel based SoCs compared to normal gcc by a fair amount. Will also try to build the kernel with the Intel toolchain
Overview:
This is a custom kernel based on Omni sources for our legendary i9000. This is only for 5.1.1 roms and no other version of android will be suppported
It seems to work on CodeROM too, thanks @falconscrest123
>The zip you will download is flashable via recovery but you have to disable signature verification
>> Use devil kernel manager or NStools to edit the kernel settings
Features :
- Multiple CPU governors (lulzactive, smartassV2, wheatley, lagfree, ondemandX)
- Tweaked smartassV2
- BFQ, Zen, VR & SIOPLUS I/O schedulers added
- Tweaked VR
- New TCP algorithms (westwood is default)
- Bigmem, up to 430mb
- Kernel compressed with XZ
- Compressed initramfs
- Dynamic page writeback
- Custom ARM & INT voltages
- Voltages fixed for more stable OC
- Selectable GPU OC
- Fast charge
- BLX
- Live OC
- FULL O3 optimisations
- Call volume hack
- Touchwake
- BLN
- Zram
- Swap / Zram optimisations
- LMK tweaks
- SLQB memory allocator
- NEON optimized crypto routines
- Voodoo color
- SquashFS support (module)
- EXfat support (module)
- 720p patched bigmem libs
- Built from the latest Omni source
- Built using custom Cortex-A8 optimized UBERTC 5.2.1 toolchain of @Cl3Kener
Todo:
- Make CGROUP_TIMER_SLACK work
- Brain F*ck Scheduler (well don't mind the censoring xD)
- GPU driver to DDK [email protected] ... for now it breaks everything
- Fixing the remaining issues. After a deeper look at the code, there are so much of things to do .... what a pity humberos left this device.
- You say ...
What I wont do :
- Enable TV out
- Upgrade linux version
- Add useless CPU governors or I/O schedulers
- Add CMA
If some developer wants to help me to add more features, go ahead!
Please use it at your own risk! I am not responsible for any damage that may occur to your device.
Download :
http://www67.zippyshare.com/v/2b6CWcT8/file.html
Contributors:
@Coldwindofnowhere
@xc-racer99, for his help on setting up my Github
@(°_o), for his script
@humberos
@DerTeufel1980
@kasper_h
Source Code:
https://github.com/Coldwindofnowhere/android_kernel_samsung_aries
Custom built UBERTC with A8 optimisations : https://bitbucket.org/Coldwindofnowhere/
Version Information:
Status: WIP
Created 2015-10-02
Last Updated 2015-12-30
>If you like my work, hitting the thanks button won't hurt you<
Reserved
Coldwindofnowhere said:
Reserved
Click to expand...
Click to collapse
Kernel is finished or WIP? i flashed this kernel my device struck at boot logo have any one tried this?
Audiracecar90 said:
Kernel is finished or WIP? i flashed this kernel my device struck at boot logo have any one tried this?
Click to expand...
Click to collapse
I haven't tested it. Reset your phone and try to delete all the .so files in the /system/lib/ directory of the flashable zip and then flash it again. It should work like that.
Coldwindofnowhere said:
I haven't tested it. Reset your phone and try to delete all the .so files in the /system/lib/ directory of the flashable zip and then flash it again. It should work like that.
Click to expand...
Click to collapse
ok mate
I've just uploaded a new build, can someone tell me if it's booting this time ?
Coldwindofnowhere said:
I've just uploaded a new build, can someone tell me if it's booting this time ?
Click to expand...
Click to collapse
just flashed it and its booting ...thanks ....good to go!!!!!
{
"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"
}
THIS KERNEL IS BORN TO REDUCE RANDOM REBOOT OR REBBOT
AND MORE BATTERY LIFE
My Settings:
(saver)
Governor: Interactive
HotPlug CPU: IntelliPlug
(faster)
Governor: Interactive
HotPlug CPU: (none) off
Everything else without changes ( For tweak kernel use Kernel Adiutor )
Full support int.d for test this goto in '/data' dir and
you see the files Test.log, Z03TDTVacuum.log and Zipalign.log
For disable int.d feature rename folder '/etc/int.d'
Based on asus kernel sources WW-4.21.40.184
Kernel source are here : ZE551ML4_21_40_184.zip
Testing on my ZE551ML 4GB 2,3GHz
Support underclock to 250MHz
Support NTFS and eXfat
Support POWERSUSPEND WAKELOCK EARLYSUSPEND
Support USB OTG
Sensors Fix
DeepSleep Google Play Service Fix
Networking options:
ADVANCED BIC CUBIC WESTWOOD HTCP HSTCP HYBL
VEGAS SCALABLE LP VENO YEAH ILLINOIS
Toolchain Linaro 4.9.2 optimizations standard :
HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -fgcse-las -floop-flatten -floop-parallelize-all -ftree-loop-linear -floop-interchange -floop-strip-mine -floop-block -pipe -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -Wno-unused-variable -Wno-unused-value
HOSTCXXFLAGS = -O2
# L1/L2 cache size parameters by @JustArchi
KBUILD_CFLAGS += --param l1-cache-size=32 --param l1-cache-line-size=32 --param l2-cache-size=2048
Governors CPU optimized :
ALUCARD CONSERVATIVEX INTERACTIVE FRANKENSTEIN HOTPLUG INTEL LAGFREE
PERFORMANCE ADAPTIVE BIOSHOCK BLUACTIVE CONSERVATIVE THESSJACTIVE
CYAN DARKNESS HYBRID IMPULSE INTERACTIVEX LIONHEART YANKACTIVE
NIGHTMARE ONDEMAND PEGASUSQ POWERSAVE SMARTASSH3 ZZMOOVE
SMARTMAX WHEATLEY
new TRIPNDROID INTELLIACTIV INTELLIMM
new INTELLIDEMAND YANKDEMAND HELLSACTIVE
update cpu freq in parameters Governors
IO Schedulers:
NOOP DEADLINE CFQ SIO SIOPLUS ROW FIOPS ZEN FIFO VR TRIPNDROID
Hotplugs driver:
ASMP MSM_HOTPLUG ALUCARD_HOTPLUG INTELLI_PLUG
ZEN_DECISION MAKO_HOTPLUG MSM_SLEEPER
For tweak kernel use Kernel Adiutor... (thanks for this Apps)
Thanks to TheSSJ Project T for your kernel sources on GitHub... Mod diff here fix...
Thanks to Nyks45 OctoDex for your kernel sources on GitHub...
Thanks to ASUS for kernel sources....
For Z008 flash Zenkernel.V1.3.Atom.MM184.Zenfone2_Anykernel.zip in attachments
goto here...
for support init.d add this code in your ramdisk at the end of init.rc:
service sysinit /system/bin/sh /sbin/sysinit.sh
disabled
user root
oneshot
on property:sys.boot_completed=1
start sysinit
exec /system/bin/sysinit.sh
Click to expand...
Click to collapse
For Z00A
Flash Anykernel if have ZenKernel full version in device (for full support init.d flash ZenKernel full)
old UPDATE
UPDATE V1.1
add Asynchronous Transfer Mode (ATM)
ATM is a high-speed networking technology for Local Area Networks
and Wide Area Networks. It uses a fixed packet size and is
connection oriented, allowing for the negotiation of minimum
bandwidth requirements.
add BLX Support for Battery Life eXtender.
add Intel PowerClamp idle injection driver.
This enforce idle time which results in more package C-state residency.
The user interface is exposed via generic thermal framework.
UPDATE V1.2
update POWERSUSPEND (add extern bool power_suspended)
add ASYNC_FSYNC "asynchronous fsync"
update cpu freq in parameters Governors
update governor INTEL
add governor TRIPNDROID
add governor INTELLIACTIVE
add governor INTELLIMM
set default governor TRIPNDROID
add "Number of bits to use for ASLR of mmap base address"
This value can be changed after boot using the
/proc/sys/vm/mmap_rnd_bits tunable
add "Number of bits to use for ASLR of mmap base address for compatible applications"
This value can be changed after boot using the
/proc/sys/vm/mmap_rnd_compat_bits tunable
set CONFIG_OPROFILE_EVENT_MULTIPLEX=y
set CONFIG_JUMP_LABEL=y
remove fs # CONFIG_EXT2_FS is not set
remove fs # CONFIG_EXT3_FS is not set
UPDATE V1.3
update SWEEP2SLEEP driver (fix crash)
fix this error:
E Intel PowerHAL: Error opening /sys/devices/system/cpu/cpufreq/interactive/touchboostpulse: No such file or directory
replace power.mofd_v1.so in '/system/lib/hw' with this set permission 0644 backup original
(only when not set governors CPU INTERACTIVE)
rebuild ramdisk and fix many governors CPU
set default governors CPU INTERACTIVE
UPDATE V1.4 Beta for test
add CPU_BOOST (for tune use Kernel Adiutor)
(add 'migration_notifier_head')
update governor ONDEMAND
add governor INTELLIDEMAND
add governor YANKDEMAND
add governor HELLSACTIVE
add MSM_SLEEPER driver hotplug
update INTELLI_PLUG v5.4 driver hotplug
update INTEL driver hotplug
update ALUCARD_HOTPLUG driver hotplug
update MSM_HOTPLUG driver hotplug
update ASMP driver hotplug
Zenkernel.V1.4-beta.Atom.MM184.Zenfone2_Anykernel.zip
UPDATE V1.5
last commit cm-14.1 :
Enable CONFIG_IP_NF_MATCH_RPFILTER=y
Beta test v1.4 changes add...
UPDATE V1.6
KERNEL in XZ (reduce size)
enable CONFIG_DEBUG_NX_TEST=m
add Kernel-based Virtual Machine (KVM) support:
enable CONFIG_KVM=m
enable CONFIG_KVM_INTEL=m
add in Ramdisk load modules kvm.ko and kvm-intel.ko
You flash full version for new Ramdisk
UPDATE V1.7
add governor INTERACTIVE_PRO thanks @BORETS24
re_tuned governor cpu CYAN
You flash last full version for new Ramdisk
UPDATE V1.9 Super Update
commit cm-14.1 :
update File systems EXT4
update File systems F2FS
commits /* 3.18 backport */
enabled CONFIG_CRYPTO_CRC32=y
new ZRAM, ZSMALLOC, ZPOOL driver
update LZ4 compressor
enabled CONFIG_ZRAM_LZ4_COMPRESS=y
# CONFIG_FRONTSWAP is not set
CONFIG_ZPOOL=y
CONFIG_ZSMALLOC=y
# CONFIG_PGTABLE_MAPPING is not set
# CONFIG_ZSMALLOC_STAT is not set
disable CONFIG_CPUSETS is not set
set CONFIG_PANIC_TIMEOUT=3 (was 0)
set CONFIG_ARCH_MMAP_RND_COMPAT_BITS=16 (was 8)
enabled CONFIG_NF_CONNTRACK_SECMARK=y
enabled CONFIG_NETFILTER_XT_TARGET_SECMARK=y
enabled CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y
# Pseudo filesystems:
CONFIG_F2FS_IO_TRACE=y
# CONFIG_F2FS_FAULT_INJECTION is not set
CONFIG_NETWORK_FILESYSTEMS=y
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_CEPH_FS is not set
CONFIG_CIFS=y
# CONFIG_CIFS_STATS is not set
# CONFIG_CIFS_WEAK_PW_HASH is not set
# CONFIG_CIFS_UPCALL is not set
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
# CONFIG_CIFS_ACL is not set
CONFIG_CIFS_DEBUG=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_DFS_UPCALL is not set
# CONFIG_CIFS_SMB2 is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
disable CONFIG_UNUSED_SYMBOLS is not set
enabled CONFIG_CRYPTO_MD4=y
disable CONFIG_XZ_DEC_TEST is not set
You flash last full version for new Ramdisk
For install do in this order:
My mod 3Minit Battery & Traffic on Statusbar AsusSystemUI
Tested on Stock Z00A_WW-4.21.40.184 Works SuperSu and Magisk. FIX Not Work Xposed
Tested on [ROM]CleanSTOCK-MM-Z00A_WW-4.21.40.184[28-Nov] with Xposed V87_x86
Thanks to GuilhermeXtreme
Attention: On this Rom is present a Bug: power on HotSpot crash the phone
For fix Hotspot replace dir /framework with /framework dir from 144 and
set permission to 0644 all files (automatic wipe dalvik cache)
1_ Flash in your TWRP Zenkernel_V1.3_.MM184_Zenfone_2.zip in Attachments
2_ Flash magisk v9 zip find on internet Xda Thread
3_ Flash SR4-SuperSU-v2.78-SR4-20161115184928.zip find on internet Chainfire Download or phh's superuser
4_ Reboot devices :good:
Nice man.Your kernel support Z008?
Russiamen said:
Nice man.Your kernel support Z008?
Click to expand...
Click to collapse
Sorry bro not have Z008 phone.
I wait for this news... (test please)
:good:
It's good that you link to the Asus kernel source, but I think linking to your modified kernel source would be better
Doesn't need to be github, you could upload a zip file on Google drive
Renix63 said:
Sorry bro not have Z008 phone.
I wait for this news... (test please)
:good:
Click to expand...
Click to collapse
Boot in twrp(
TheSSJ said:
It's good that you link to the Asus kernel source, but I think linking to your modified kernel source would be better
Doesn't need to be github, you could upload a zip file on Google drive
Click to expand...
Click to collapse
You're right, but I have no way to save 150 mega Web ... maybe I create a patch file. :highfive:
Which xposed i should install?? Please give me the links
Russiamen said:
Boot in twrp(
Click to expand...
Click to collapse
OP needs to compile the Z008 display driver into his kernel, then it will boot - https://github.com/TheSSJ/zf2_mmkernel/blob/master/arch/x86/configs/x86_64_moor_defconfig#L3568
TheSSJ said:
OP needs to compile the Z008 display driver into his kernel, then it will boot - https://github.com/TheSSJ/zf2_mmkernel/blob/master/arch/x86/configs/x86_64_moor_defconfig#L3568
Click to expand...
Click to collapse
And need change dpi in 320
ayush.gl said:
Which xposed i should install?? Please give me the links
Click to expand...
Click to collapse
This xposed-v87-sdk23-x86.zip
TheSSJ said:
It's good that you link to the Asus kernel source, but I think linking to your modified kernel source would be better
Doesn't need to be github, you could upload a zip file on Google drive
Click to expand...
Click to collapse
My modification to your kernel...
Renix63 said:
This xposed-v87-sdk23-x86.zip
Click to expand...
Click to collapse
is it system less xposed??? please give me the links of magisk v9 and supersu working with this and tell me the correct order of flashing magisk, supersu and xposed. thanks
TheSSJ said:
OP needs to compile the Z008 display driver into his kernel, then it will boot - https://github.com/TheSSJ/zf2_mmkernel/blob/master/arch/x86/configs/x86_64_moor_defconfig#L3568
Click to expand...
Click to collapse
Apply my changes and try a build....
ayush.gl said:
is it system less xposed??? please give me the links of magisk v9 and supersu working with this and tell me the correct order of flashing magisk, supersu and xposed. thanks
Click to expand...
Click to collapse
Find magisk v9 in this Rom :good:
Code:
1_ Flash in your TWRP Zenkernel_V10_.MM184_Zenfone_2.zip in Attachments
2_ Flash magisk v9 zip find on internet
3_ Flash SR4-SuperSU-v2.78-SR4-20161115184928.zip find on internet
4_ Flash Xposed v87_x86_23
5_ Reboot devices
ayush.gl said:
is it system less xposed??? please give me the links of magisk v9 and supersu working with this and tell me the correct order of flashing magisk, supersu and xposed. thanks
Click to expand...
Click to collapse
Use my latest builds
http://forum.xda-developers.com/showpost.php?p=69834732&postcount=118
Russiamen said:
Use my latest builds
http://forum.xda-developers.com/showpost.php?p=69834732&postcount=118
Click to expand...
Click to collapse
Thanks :laugh:
Russiamen said:
Use my latest builds
http://forum.xda-developers.com/showpost.php?p=69834732&postcount=118
Click to expand...
Click to collapse
i got bootloops using your builds. is there any correct order i should follow, tell me the order @Russiamen
ayush.gl said:
i got bootloops using your builds. is there any correct order i should follow, tell me the order @Russiamen
Click to expand...
Click to collapse
I don't understand why some get bootloop ,I installed and everything was fine and don't understand how it all goes,what are your steps:crying:
Russiamen said:
I don't understand why some get bootloop ,I installed and everything was fine and don't understand how it all goes,what are your steps:crying:
Click to expand...
Click to collapse
flashed magisk v9 then phh's supersu then xposed v87 then reboot. should i reboot everytime after installing one zip or can i install all the 3 zips same time and reboot??
ayush.gl said:
flashed magisk v9 then phh's supersu then xposed v87 then reboot. should i reboot everytime after installing one zip or can i install all the 3 zips same time and reboot??
Click to expand...
Click to collapse
You have to install all of them in this order(Magisk+Phh's+Xposed)
What kernel are you using?
Code:
/*
* 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, DO NOT
* point the finger at me for messing up your device.
* this kernel is only for the S5 mini SM-G8OOF/M/Y (Exynos) Do Not Flash this on any other device!
*/
19-10-2017 * Updated to v6.0 * Changes are in red or can be seen at the bottom of this post in the changelog: I am always applying patches to hopefully improve the kernel,so check out the "Patches and tweaks applied" section for a better view of the changes as well.
Notes
ALWAYS read the "Known Issues" section before flashing. I will add issues I have noticed or have been told about. Some may be VERY important. If you fail to do this and experience an issue that is listed I can not help you!
SELinux is set to permissive in this kernel. You can change this to enforcing at boot if you wish via an app like Kernel Adiutor-Mod
About voltage control: Setting frequencies that are unstable are going to cause lockups,freezes and reboots. This is NOT a fault in the kernel. My suggestion is to move the voltages up or down slowly (+/- 25) until you find some stable voltages that you're happy with.
Enough people were having problems with the 1.6ghz overclocked version that I've decided to release a non overclocked (1.5ghz) build as well. I would recommend trying the 1.6ghz and only if you experience a bootloop or instability then use the 1.5ghz version. I will not keep older versions of the 1.5ghz build up. Only the latest.
Having troubles deciding on a CPU governor or an I/O scheduler? Here is an amazing guide. All credits to Saber. Be sure to hit the thanks button. He obviously put a lot of time into that.
Features
Based on the latest Samsung kernel sources
Built an updated Sqlite3 (from version 3.9.2 -> 3.19.3 that will be pushed along with the kernel install (you can verify this by running "sqlite3 --version" in a terminal emulator before the new kernel install and then again after)
Compiled with self-built (ct-ng) UBERTC 8.0
Patched Linux to latest 3.4.113
Used anykernel2
Unlocked CPU frequencies: 200MHZ and 300MHZ
GPU overclocked to 600MHZ
CPU Overclocked to 1.6GHZ
CPU voltage control ( Max voltage =1500mV. Min voltage =600mV)
DriveDroid support (add sysfs entry for cdrom to LUNs)
Implemented zen-tune v4.5
Added CPU boost driver
Added PIE net scheduler
Added support for USB keyboards (You need This app)
Reduced vm_swappiness from 60 to 20
Added I/O scheduler switcher by sultanxda (changes the I/O scheduler for a specified request queue to Noop when the screen turns off in order to improve power consumption while the screen is off)
Added Fsync on/off
Added dynamic fsync
Added Dynamic management of dirty page writebacks (allows to have two different intervals for dirty page writebacks and to dynamically manage them when the system has been resumed (it's active) or when has been suspended - Not adjustable via Grarak's Kernel Adiutor app)
Proc: much faster /proc/vmstat
Full CIFS support ( Modules will be pushed with kernel install )
Introduced new flag WQ_POWER_EFFICIENT for power oriented workqueues ( Allows for power saving if selected in Kernel Adiutor ETC. )
Added /dev/frandom support ( It is yet to be implemented properly yet however )
Properly enabled faux123's powersuspend v2.5
Fading LED's
Enabled graphite
Enabled AIO
Readahead set to 512 (from 128 default)
Reverted "Enabled arch power" (There will be a switch to enable/disable this in the next build)
Many build flags for optimization
Added optimization flags for the GPU
Many more features being worked on and coming soon
Added CPU governors
- nightmare
- wheatley
- zzmoove
- dancedance
- darkness
- hyper
- lionheart
- ondemandplus
- bioshock
- pegasusq
- smartmax
- alucard (by alucard24)
- bluactive
- intelliactive (by faux123)
- intellidemand
Added CPU hotplug governors
- alucard hotplug (by alucard24)
- intelliplug hotplug (by faux123)
- thunderplug hotplug (by varun.chitre15)
- MSM Sleeper hotplug
- autoSMP hotplug
Added IO schedulers
- fiops
- sio
- zen
- fifo
- tripndroid
- bfq-v7r8
Added many TCP congestions
- reno
- vegas
- westwood and more
- Added the rest of the TCP congestions
- Westwood is now default TCP
Patches and tweaks applied include:
- Updated ARM topology and added cpu_power driver
- Input: Improve the events-per-packet estimate
- block/partitions: optimize memory allocation in check_partition()
- block: bfq-iosched: tuning for SSD (thanks to anarkia1976)
- cpufreq: Move get_cpu_idle_time() to cpufreq.c (This is important for CPU governors to work better/more efficiently with our kernel version-3.4)
- Fixed all the CPU governors to work properly with the Move get_cpu_idle_time
- cpufreq: Introduce new relation for freq selection (It selects the frequency with the minimum euclidean distance to target. In case of equal distance between 2 frequencies, it will select the greater frequency)
- cpufreq: conservative: Set MIN_LATENCY_MULTIPLIER to 20
- cpufreq-ondemand-Set-MIN_LATENCY_MULTIPLIER-to-20
- cpuidle-Get-typical-recent-sleep-interval
- cpufreq: Persist cpufreq time in state data across hotplug
- implement-LoUIS-API-for-cache-maintenance-operations
- ARM-kernel-update-cpu_disable-to-use-cache-LoUIS-maintenance API
- update-v7_setup-to-the-new-LoUIS-cache-main
- USB-gadget Optimize-tx-path-for-better-performance
- af_unix: speedup /proc/net/unix
- net/socket.c: fix: warning: 'sock/sock1/sock2' may be used uninitialized in this function
- fs/proc/array.c: make safe access to group_leader
- lib/memcopy: use glibc version (the kernel's memcpy and memmove is very inefficient. But the glibc
version is quite fast, in some cases it is 10 times faster than the kernel version)
- lib/string: use glibc version (same as above)
- lib/int_sqrt.c: optimize square root algorithm
- readahead: make context readahead more conservative
- sched-Fix-select_idle_sibling-bouncing-cow-syndrome
- sched-Implement-smarter-wake-affine-logic
- sched-Micro-optimize-the-smart-wake-affine-logic
- sched: Reduce overestimating rq->avg_idle
- power: make sync on suspend optional
- tcp: tweaked for speed
- writeback-fix-occasional-slow-sync
- writeback-fix-writeback-cache-thrashing
- wireless - bcmdhd - reduce scan dwell time to reduce power usage
- bcmdhd reduce wakelocks
- mutex-Queue-mutex-spinners-with-MCS-lock-to-reduce-cc
- mutex-Make-more-scalable-by-doing-less-atomic-operations
- ARM-use-generic-unaligned.h
- Kconfig-enabled-unaligned-capability-for-ARM
- decompressor-Enabled-unaligned-memory-access
- Optimized-ARM-RWSEM-algorithm
- ARM: Fixed negative idle stats for offline cpu
- disabled debugfs[/COLOR]
- mm: remove noisy remainder of the scan_unevictable interface
CONFIG_HZ=100 (reverted commit)
- Plus many more - Check my git repo for full details.
Sources
Kernel Source
Toolchain Source
Click to expand...
Click to collapse
Known Issues
Setting alucard hotplug along with certain other governors at boot via kernel adiutor etc can cause a reboot after setting is applied. So be certain to set the "delay" time in kernel adiutor or similar to 10 seconds or more,so if you have this you are able to cancel and change after a reboot.
There is a chance of some settings being reset after flashing the kernel (quick setting,sound,statusbar etc.) This is rather insignificant and all settings that have been changed can be set back in minutes.
Click to expand...
Click to collapse
Installation
I HIGHLY recommend that you do a full backup before flashing this kernel. I am not responsible if you lose any or all of your data.
1.Download "Spookcity_Kernel-N"
2.Place the zip onto your phones storage
3.Reboot into recovery (Volume-Up + Home + Power button)
4.Select install
5.Flash the downloaded kernel
6.Go back a few times in TWRP Select wipe -> Advanced wipe and wipe Dalvik/Art cache and the cache partition.
If you do not do this you are very likely to experience strange issues.You have been warned.Do not report problems if you did not do this.
7.Reboot
Click to expand...
Click to collapse
Code:
Feedback can also be posted[URL="https://github.com/Spookcity/ROMS-G800F/issues/12"]-------> Here[/URL]
Test builds will be released [URL="https://github.com/Spookcity/ROMS-G800F/issues/22"]-------> Here[/URL]
Download the latest build
Spookcity_Kernel-N-v6.0
Spookcity_Kernel-N-v6.0-1.5GHZ Version
Click to expand...
Click to collapse
Download older version
Code:
[URL="https://www.androidfilehost.com/?fid=745425885120759188"]Version 5.0[/URL]
[URL="https://www.androidfilehost.com/?fid=889764386195920916"]Version 4.0[/URL]
[URL="https://www.androidfilehost.com/?fid=673368273298972709"]Version 3.0[/URL]
[URL="https://www.androidfilehost.com/?fid=889764386195913162"]Version 2.0[/URL]
[URL="https://www.androidfilehost.com/?fid=889764386195911617"]Version 1.0[/URL]
Huge credit and many thanks to:
Hennymcc,Ayke,Psyafter,mirhciulica,ctxZ,DjSteve,CurtisMJ,osm0sis,Archidroid,Chet Kener,andip71,faux123,flar2,ZaneZam,anarkia1976,AndreiLux,Yank,Francisco Franco,Sultanxda,varun.chitre15
Big thanks for testing and giving feedback:
Oleggluk,StanleyNL,Mikahlo,Guntzog
and any others as I'm sure I am forgetting people.
CHANGELOG
HTML:
01-09-2017 - Released Version 6.0
- Added MSM Sleeper hotplug
- Reduced vm_swappiness from 60 to 20
- Added intellidemand governor
- Added autoSMP hotplug
- Added CPU boost driver
- Proc: much faster /proc/vmstat
- Cpufreq: Persist cpufreq time in state data across hotplug
- Reverted "enable arch power"
- mm: remove noisy remainder of the scan_unevictable interface
- net/socket.c: fix: warning: 'sock/sock1/sock2' may be used uninitialized in this function
01-09-2017 - Released Version 5.0
- Removed ROW I/O scheduler
- Added I/O scheduler switcher by sultanxda
- Added PIE net scheduler
- Added support for USB keyboards
- Properly enabled faux123's powersuspend v2.5
- Added dynamic fsync
- Added optimization flags for the GPU
- Enabled AIO
- Reverted a couple of HZ related commits
- Added intelliactive governor
- Added intelliplug hotplug driver
- Added thunderplug hotplug driver
- Added Dynamic management of dirty page writebacks
- Fixed voltage control on 1500MHZ version
- Fixed alucard governor
- Fixed ondemandplus governor
- Fixed bluactive governor
- ib/int_sqrt.c: optimize square root algorithm
- af_unix: speedup /proc/net/unix
- wireless - bcmdhd - reduce scan dwell time to reduce power usage
- bcmdhd reduce wakelocks
- readahead: make context readahead more conservative
- block/partitions: optimize memory allocation in check_partition()
- power: make sync on suspend optional
- block: bfq-iosched: tuning for SSD
05-08-2017 - Released Version 4.0
- Added 1.5GHZ version
- Added voltage control
- DriveDroid support
- Implemented zen-tune v4.5
- Full CIFS support
- Introduce new flag WQ_POWER_EFFICIENT for power oriented workqueues
- Added Fsync on/off
- Added ROW I/O sheduler
- Added BFQ-v7r8 I/O scheduler for 3.4 kernel
- Added Blu_active CPU governor
- block: disabled add_random
- tweaked build flags
- many workqueue related patches
- tcp: tweaked for speed
- CONFIG_HZ=300
- fs/proc/array.c: make safe access to group_leader
- disabled debugfs
19-07-2017 - Released Version 3.0
-GPU overclocked to 600MHZ
-Updated Sqlite3 to version 3.19.3 from 06-08-2017
Added CPU governors
-bioshock
-pegasusq
-smartmax
-alucard
-alucard hotplug
-Added the rest of the TCP congestions
-cpufreq: Move get_cpu_idle_time() to cpufreq.c
-Fixed all the CPU governors to work properly with the Move get_cpu_idle_time
-Added /dev/frandom support
-cpufreq: Introduce new relation for freq selection
-lib/memcopy: use glibc version
-lib/string: use glibc version
-
03-07-2017 - Released Version 2.0
-GPU overclocked to 533MHZ
Added CPU governors
-dancedance
-darkness
-hyper
-lionheart
-ondemandplus
Added IO schedulers
-fifo
-tripndroid
Added many TCP congestions
-reno
-vegas
-westwood
-etc.
26-06-2017 - Fix "unsupported device" when flashing in TWRP 3.1.1.0
23-06-2017 - Initial release
Enjoy!
XDA:DevDB Information
[KERNEL] [G800F/M/Y] Spookcity_Kernel-N (For all 7.x custom ROMS), Kernel for the Samsung Galaxy S5 Mini
Contributors
spookcity138
Kernel Special Features:
Version Information
Status: Beta
Created 2017-06-23
Last Updated 2017-10-19
At 2Mb less than the test version. Has something removed or new compression?
On RR works.
Oleggluk said:
At 2Mb less than the test version. Has something removed or new compression?
On RR works.
Click to expand...
Click to collapse
Yeah,I have temporarily removed synapse support. This is the reason its 2mb smaller. I will add it back once I have some things fixed. Too many things just don't work with it right now.
Sent from my SM-G800F using Tapatalk
And the test version will be?
Oleggluk said:
And the test version will be?
Click to expand...
Click to collapse
Not positive what you mean. If you mean the size it will be the same as this as I haven't messed with synapse any yet. If you're talking about the features I've added since this build,you can have a look Here to get some idea of what I've done so far.
spookcity138 said:
Not positive what you mean. If you mean the size it will be the same as this as I haven't messed with synapse any yet. If you're talking about the features I've added since this build,you can have a look Here to get some idea of what I've done so far.
Click to expand...
Click to collapse
Now I do not understand anything)). Alucard has already been added, GPU OC to 600mhz, fifo, tripndroid and vr IO sched .....? Or will be added to the test version.
Oleggluk said:
Now I do not understand anything)). Alucard has already been added, GPU OC to 600mhz, fifo, tripndroid and vr IO sched .....? Or will be added to the test version.
Click to expand...
Click to collapse
Hehe,yes. This build is based on the "OC CPU to 1.6" commit. So it includes everything before that,but nothing after. I will probably be releasing test builds in increments. Meaning,the next test build (hopefully this weekend) will still not include all that you see committed on my github repo. I want to do it this way to better be able to diagnose possible bugs and their reasons. So I'll release a test build on github. Have you and others willing to test give me feedback about any problems. Then release it on here...and then repeat these steps. Hope that makes some sense [emoji3]
Sent from my SM-G800F using Tapatalk
spookcity138 said:
Hehe [emoji3]
Click to expand...
Click to collapse
It is certainly correct and logical, so it will be easier to search for the culprit of mistakes.
But I want to try everything at once))
Oleggluk said:
It is certainly correct and logical, so it will be easier to search for the culprit of mistakes.
But I want to try everything at once)) :еек:
Click to expand...
Click to collapse
I'll make sure the next test build includes much of the new stuff. I'm a little bit worried that the GPU overclock is going to turn into a nightmare like the CPU overclock though. Guess we will find out. Fingers crossed.
Sent from my SM-G800F using Tapatalk
I would very much like to see voltage regulation. Is there such a function?
I can test the overclocking of the GPU as well as the CPU 1700)))
Oleggluk said:
I would very much like to see voltage regulation. Is there such a function?
I can test the overclocking of the GPU as well as the CPU 1700)))
Click to expand...
Click to collapse
Haha,You're definitely not testing any CPU overclocking [emoji3]
I have started messing with voltage control. I've enabled access,but at this point I'm unsure how you would access it as its not included in kernel adiutor and I've yet to properly set up synapse. Either way,the access is there,but the ability to actually change the voltages is not currently working. I believe I need to tweak a few things and add at least 1 additional file. Soon to come I hope.
Sent from my SM-G800F using Tapatalk
Good stuff, changing SElinux to enforcing make sim card not detectable is there a recommended config for better battery?
guntzog said:
Good stuff, changing SElinux to enforcing make sim card not detectable is there a recommended config for better battery?
Click to expand...
Click to collapse
Honestly I'm unsure off hand. However,I did enable arch power by default,so that should help battery life some. I have been working on the kernel recently and have added alucard and alucard hotplug CPU governors. This will come in the near future and I believe could really help with battery life.
I have some problems with kernel. After update my RR 5.8.3 i try to instal your kernel, but TWRP showed me that error message "Unsupported device. Aborting...
Updater process ended with ERROR: 1". I have a G800F and i don't know why kernel can't install. I attached my recovery.log file
View attachment recovery.log
upd. : it was a new twrp. I installed old version twrp and try to install kernel. And kernel was installed
GeorgianGreek said:
I have some problems with kernel. After update my RR 5.8.3 i try to instal your kernel, but TWRP showed me that error message "Unsupported device. Aborting...
Updater process ended with ERROR: 1". I have a G800F and i don't know why kernel can't install. I attached my recovery.log file
View attachment 4193251
Click to expand...
Click to collapse
Yes,this has something to do with the latest TWRP I believe as I now get this error as well. I'm not sure why. I'll look into it. To "fix" it for now. Open up the zip (don't unzip it) then open the anykernel.sh file with a text editor and change the line "do.devicecheck=1" to "do.devicecheck=0" Then it skips the device check and will be fine.
Sent from my SM-G800F using Tapatalk
spookcity138 said:
Yes,this has something to do with the latest TWRP I believe as I now get this error as well. I'm not sure why. I'll look into it. To "fix" it for now. Open up the zip (don't unzip it) then open the anykernel.sh file with a text editor and change the line "do.devicecheck=1" to "do.devicecheck=0" Then it skips the device check and will be fine.
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Some changes in the name of the device with a new twrp. Kminiltexx is kminilte
Oleggluk said:
Some changes in the name of the device with a new twrp. Kminiltexx is kminilte
Click to expand...
Click to collapse
Ahh,that explains it. Thanks! Easy fix then.
Edit:
Fixed
Sent from my SM-G800F using Tapatalk
Just flashed the kernel and the mobile got stuck in a boot loop. Tried it second time: First very long boot, then crash.
I wiped dalvik/art cache and cache partition via TWRP 3.1.1.0. Anyone else has/had this? Suggestions?
Schweng said:
Just flashed the kernel and the mobile got stuck in a boot loop. Tried it second time: First very long boot, then crash.
I wiped dalvik/art cache and cache partition via TWRP 3.1.1.0. Anyone else has/had this? Suggestions?
Click to expand...
Click to collapse
I have not had this problem and haven't had anyone mention it to me. What model is your phone? F,M or Y? What ROM?
Sent from my SM-G800F using Tapatalk
spookcity138 said:
I have not had this problem and haven't had anyone mention it to me. What model is your phone? F,M or Y? What ROM?
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Model is F.
Rom is 14.1 Lineage, the 20170226 version from Ayke, i think.