[KERNEL] [N5] [S2W] [F2FS] Linaro Kernel | r64t1 | 3.4.104 | 4.4.4 | A15 GCC 4.9.2 | - Nexus 5 Android Development

{
"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"
}
Features:
Based on Franco Kernel
F2FS-ALL support in the installer, you don't need 2 versions anymore!
This is an AOSP based kernel, so it won't work with CAF based ROMs like CM11
Aroma Installer with selectable options (sound, colors, wake gestures...)
O3 flag, hard ABI, Linaro, VFP and many others Cortex-A15 Optimizations
Tweaks to make it compile with gcc 4.9.2
Fixed most of the warnings
Upstream with Linux kernel 3.4.x
Init.d Support
Battery Life eXtender, LCD_KCAL drivers
FAT usb OTG outomount, for other FS use stickmount app
Turned off many debug and logging option
Added Faux sound, Franco sound is not included, I prefer Faux solution
Sl[AOU]b allocators optimizations and fixes
Lz4 compressed kernel and RamDisk for faster boot (with lz4 r123)
Added sweep2wake, doubletap2wake, sweep2sleep
s2w/dt2w: Powerkey toggle, Prevent touches during phone calls, Timeout option, Bidirectional sweep2sleep, Omnidirectional sweep2wake...
Wake gestures interface (requires this xposed module)
Optional haptic feedback for gestures
Logitech unifying receiver support
ExFat 1.2.9, NFS and F2FS kernel support
lib/string & lib/memcpy: use faser glibc version
Rwsem backported from Linux 3.10
Overclocked slimbus for better audio quality
Mouse/Keyboard Driver support (you need this app and adb debug activated to use your device as a keyboard/mouse to control a pc, even in bios)
Audio call recording support (you need this app)
Many other fixes you can find in my git
App Support:
Compatible with Nexus 5 gamma reverse engineering
Compatible with franco.kernel Updater (FKU)
Compatible with Faux Sound
Notes:
If you want to mount usb OTG this kernel will automount only fat/fat16/fat32 filesystems, for any other file system please use StickMount App
You can find my own compiled toolchain, optimized for Cortex A15 HERE
s2w, dt2w, s2s+dt2w will cause an extra battery drain (~2% per hour)
s2s only will not cause any extra battery drain
F2FS-ALL option: if you select this option the ramdisk will be modified to work with F2FS-ALL ROMs and recoveries on the fly, it means that the kernel boot.img is created on the fly depending on the options chosen in the installer
Don't use F2FS-ALL if you are not going to use a F2FS recovery and ROM, it will not boot
------>DOWNLOADS<------
Mirror​
How to flash:
just flash in recovery, no need to wipe anything
Do you like my work? Donate
In €
In $
Donors hall of fame:
@wesssider
@supguise
@shaker2k
pc-service.as
@ConTejas2
@kutaxov
@zibiksior
Credits:
@franciscofranco
@neobuddy89
@faux123
@kecinzer
@renaud
@flar2
@show-p1984
@morfic
Source HERE
XDA:DevDB Information
Linaro Kernel, Kernel for the Google Nexus 5
Contributors
LaboDJ
Kernel Special Features: AOSP Kernel based on Franco Kernel compiled with my own compiled Cortex A15 optimized Linaro toolchain, it includes latest linux patches, and many other optimizations.
Version Information
Status: Stable
Current Stable Version: r64t1
Stable Release Date: 2014-09-30
Created 2013-11-14
Last Updated 2014-09-30

Notes
S2W, DT2W, S2S (Deprecated section)​
Sweep2Wake + Sweep2Sleep: With screen off swipe from left o right to wake up the device, with screen on swipe from right to left on the bottom black bar to power off the screen.
in terminal emulator app (or in adb shell) type:
Code:
su
echo 1 > /sys/android_touch/sweep2wake
Set on boot: Create a file named s2w in /sdcard/s2Boot folder
DoubleTap2Wake Full screen: With screen off double tap the screen to wake up the device.
In terminal emulator app (or in adb shell) type:
Code:
su
echo 2 > /sys/android_touch/doubletap2wake
Set on boot: Create a file named dt in /sdcard/s2Boot folder
DoubleTap2Wake Bottom Half: With screen off double tap the screen (in the bottom half) to wake up the device.
In terminal emulator app (or in adb shell) type:
Code:
su
echo 1 > /sys/android_touch/doubletap2wake
Set on boot: Create a file named dtb in /sdcard/s2Boot folder
Sweep2Sleep Only: With screen on swipe from right to left on the bottom black bar do power off the screen.
In terminal emulator app (or in an adb shell) type:
Code:
su
echo 2 > /sys/android_touch/sweep2wake
Set on boot: Create a file named s2s in /sdcard/s2Boot folder
NOTE: you can combine Sweep2wake + Sweep2Sleep and DoubleTap2Wake (normal and bottom half) via terminal commands or via files to set on boot
You can also combine, Sweep2Sleep Only and DoubleTap2Wake (normal and bottom half)
Powerkey toggle: if you turn off the screen by pressing Power Key button the s2w/dt2w functions are deactivated until next time the screen turns off itself by standby timer, usually 30sec without user interaction
In terminal emulator app (or in an adb shell) type:
Code:
su
echo 1 > /sys/module/qpnp_power_on/parameters/pwrkey_suspend;
Set on boot: Create a file named pwr in /sdcard/s2Boot folder
Wake Timeout:: only if you have s2w/dt2w without powerkey toggle; the timer starts when the screen goes off, after # minutes the screen will flash and s2w/dt2w features will be disabled saving your battery until next time you wake the phone by pressing power button.
In terminal emulator app (or in an adb shell) type:
Code:
su
echo # > /sys/android_touch/wake_timeout; (where # is the number of minutes)
Set on boot: Create a file named timer in /sdcard/s2Boot folder and write into it the timer minutes, for example 60 = 1 hour timer

Interesting...... Flashing
Sent from my Nexus 5 using xda app-developers app

reeco said:
Interesting...... Flashing
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Heeey, Dj! Nice to see you here! :thumbup:

Great to have you here, too!

Yes, I loved this version from the Nexus 4! Now I'm complete on the Nexus 5! Thank you @LaboDJ

Wow. Linaro is here!!! Development is flying... So glad I got an N5!!!
Thank you!

Omg this is flying! .. Just like on the nexus 4 :d!
Sent from my Nexus 5 using Tapatalk

How about adding cm support?

Awesome! Franco hotplug & commits + Faux Sound = perfect!

This is why nexus is so awesome a flasher dream lol
Sent from my Nexus 5 using XDA Premium 4 mobile app

duckied said:
This is why nexus is so awesome a flasher dream lol
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I have been on rooted stock ROM for over a week now and thought I finally don't need to flash a ROM but only flashing a kernel just isn't enough.. man it only lasted a week and I am flashing the hell out of my phone again :victory:

This has probably been badgered to death, but CM support? Sorry if I'm beating a dead horse.

socioteq said:
This has probably been badgered to death, but CM support? Sorry if I'm beating a dead horse.
Click to expand...
Click to collapse
Here's some beating of a dead horse: ask cm to support all other kernels..

This is for stock rom yea?
Sent from my Nexus 5 using Tapatalk 2

Ben36 said:
This is for stock rom yea?
Sent from my Nexus 5 using Tapatalk 2
Click to expand...
Click to collapse
It also works on stock, yes, of course. Any (except cm..? ) kernel will function on stock.

So excited to use this! Good to see you in the right section! :thumbup:
Sent from my Nexus 5 using XDA Premium 4 mobile app

socioteq said:
This has probably been badgered to death, but CM support? Sorry if I'm beating a dead horse.
Click to expand...
Click to collapse
Vangelis13 said:
Here's some beating of a dead horse: ask cm to support all other kernels..
Click to expand...
Click to collapse
Vangelis13 said:
It also works on stock, yes, of course. Any (except cm..? ) kernel will function on stock.
Click to expand...
Click to collapse
Solution: package zImage-dtb in a flashable zip, make the flashable zip extract the current ramdisk from the phone, make it repackage the extracted ramdisk with zImage-dtb, and then make it flash the resulting boot.img. That will make the kernel compatible with all ROMs (at least in terms of the ramdisk).

(for the technical part; the rest, no comment.. )

This kernel is ridiculously smooth. P.s. Franco just updated to r11

Related

【KERNEL】 【CM9】 Speedy U v5.0 - "The name is enough" 【CWM Touch】 【LINARO】

【KERNEL】 【CM9】 Speedy U v5.0 - "The name is enough" 【CWM Touch】 【LINARO】
Speedy Kernel for CM9 roms
{
"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"
}
Kernel Features:
Based on Sony Latest Source Code: 6.1.1.B.1.54 / .56 / .75.
[*]Based on Linux Kernel Source Code: 3.0.74 (Latest to date).
[*]Compiled Using Linaro 4.7
[*]CWM touch recovery with working extra features.
[*]New Sony make.believe bootsplash.
[*]Init.d Support.
[*]SmartOverclock upto 1.15 GHz.
[*]ZRAM/SWAP support.
[*]Auto Install for Wi-Fi Modules.
[*]Good Battery Life with elf.3 support.
[*]Deep sleep mode.
[*]Pre rooted.
[*]LZO Kernel Image Compression.
[*]Governors:
Dynamic Interactive
LulzactiveQ
SmartassV2
HotPlug
OndemandX
OndemandQ
Pegasusq
Adaptive
InteractiveX
Sakuractive
Lazy
Wheatley
Nightmare
MinMax
Interactive
Conservative
Ondemand
Userspace
Powersave
Performance
IO Schedulers:
noop
deadline
cfq
sio
vr
zen
NTFS Support
[*]CIFS Support
[*]Clean-Cache Support
--------------------------------------------------------------------------------------------
Credits:
Munjeni for CWM touch recovery and help.
[*]FXP for ramdisk.
[*]M4ST3R-V for logo.
[*]Sony for the source code.
--------------------------------------------------------------------------------------------
Sources:
Github: source
--------------------------------------------------------------------------------------------
Always Remember:
Please Don't mirror my files, I like to keep track of download count.
Report Bugs in this thread and I will fix them as soon as possible.
If you like my kernel please rate it and press some thanks.
--------------------------------------------------------------------------------------------
Rules For Posting:
Don't post benchmark comparisons, It's against XDA rule.
Do not ask how to flash? Guide is there in post #3
Instead of saying thanks press the button it worths more.
Do not ask for ETA’s
--------------------------------------------------------------------------------------------
Downloads and Changelog: post #2
--------------------------------------------------------------------------------------------
Instructions, Guide and FAQ's: post #3
==================================================​If you all have a high regard for my tools, roms, kernels and feel my hardwork and time which I have poured in making these tools, roms and kernels is praiseworthy so do Rate this "awesome" thread 5 STARS and Leave plethora of THANKS..... Which I only ask in the name of donations!!!
Huge thanks to those that have already thanked!
And THANKS for constructive feedback - which makes Speedy so AMAZING!
Regards
Divaksh Jain
==================================================​
Click to expand...
Click to collapse
Download Speedy U Kernel for Sony Xperia U
Download:
Speedy Kernel v5.0 : Boot.img || Flashable.zip
Speedy Kernel v4.2 : 375 Downloads
Speedy Kernel v4.1 : 565 Downloads
Speedy Kernel v4.0 : Not released.
Speedy Kernel v3.0 : 381 Downloads
Speedy Kernel v2.1 : 282 Downloads.
Speedy Kernel v2.0 : Not released.
Speedy Kernel v1.2 : 103 Downloads
Speedy Kernel v1.0 : Not released.
Change Log:
Code:
====================================================
[B]Speedy Kernel Change Log[/B]
====================================================
[B]Speedy Kernel v5.0 (19-04-2013)[/B]
-Updated to latest Linux Kernel Source Code: 3.0.74
-Stock Version - Initial Release.
-AROMA installer (stock only)
-OC and NON OC version.
-Enabled ARCH_POWER
-Added Frandom
-5GHz band support added
-ZEN added back.
-Signal loss fixed.
-OTG fixed (not tested)
[B]Speedy Kernel v4.2 (16-04-2013)[/B]
-WiFi fixed.
-Enabled 80211 and WL12XX
[B]Speedy Kernel v4.1 (15-04-2013)[/B]
-Updated to latest Linux Kernel Source Code: 3.0.73
-Compliled using default CM configuration.
-Auto change max freq fixed(not sure)
-Improved battery life.
[B]Speedy Kernel v4.0 (14-04-2013)[/B]
-Updated to latest Linux Kernel Source Code: 3.0.71
-LINARO optimized
-Compiled Using Linaro 4.7
-Fixed OndemandQ governer
-Fixed Android OS battery drain
-Improved performance
[B]Speedy Kernel v3.0 (29-03-2013)[/B]
-Added Governers (Dynamic Interactive, Adaptive)
-Final fix for auto freq change.
-Final fix governer(Lazy, Sakuractive, OndemandX)
-Fixed OndemandX input.
-Removed Extra bytes from cmdline.
-Added Governers (Lulzactive, OndemandQ)
-Added Stability and Speed.
[B]Speedy Kernel v2.1 (27-03-2013)[/B]
-Fixed Superuser Permissions.
-Fixed OndemandX Input.
-Fixed Recovery input button for Xperia P(Now Volume UP).
-Added External SD support in Recovery Xperia Sola.
-Added Governer(Sakuractive).
[B]Speedy Kernel v2.0 (26-03-2013)[/B]
-Fixed Auto freq scaling change.
-Added CWM touch recovery.
-Added Governers(InteractiveX, LulzactiveQ, Lazy)
-Stability and Speed improved.
[B]Speedy Kernel v1.2 (23-03-2013)[/B]
-Added IO Schedulers(VR,SIO,Row,Zen)
-New Bootsplash - SONY make.believe
[B]Speedy Kernel v1.0 (22-03-2013)[/B] - My First Kernel :D
-Initial release.
Instructions, Guide and Tips n Tricks
How to flash kernel??
Method 1:
Download fastboot package and extract it and Place boot.img to fastboot folder.
Connect device in fastboot mode.
While device is power OFF: Volume Up + USB cable connected to PC
(BLUE LED will light up)
Open Command Prompt (Shift+Right mouse button) in Fastboot Folder
Write this commend and hit enter fastboot flash boot boot.img
Done
Method 2:
Download, Install FlashTool and Drivers(can be found in drivers folder)
Connect device in fastboot mode.
While device is power OFF: Volume Up + USB cable connected to PC
(BLUE LED will light up)
Launch flashtool, click on Flash(thunder icon).
Select fastboot mode and press ok > Select kernel to flash > browse and select the boot.img > Hit enter.
Done
Method 3:
Flash the zip(You need to be on a FXP's rom)
--------------------------------------------------------------------------------------------
F.A.Q's :-
How to enter in touch recovery?
>> Press volume up button one time just after LED flashes and vibration.
Is this working on blah blah?
>> I don't know. Do some research.
[*]Why I'm unable to flash kernel.
>>Is your bootloader unlocked? Flashing kernel required a unlocked bootloader.
[*]Battery drains like hell. WTF?
>> Not kernel problem. It's your apps that are waking up device from deep sleep.
[*]Is it pre-rooted ?
>> Yes it is, FXP's rom's also comes with superuser pre-installed.
[*]Does this kernel has X or Y mod?
>> Do some research. Check thread, repo, commits etc.
[*]Which governors/IO-schedulers to use?
>> Depends on your usage. See here for more info.
[*]I lost speedy kernel after new FXP's update?
>> You must have flashed new FXP's rom without removing boot.img, flash Speedy Kernel again.
[*]I need more info on something?
>> You can find all answers here, Google is our best friend.
--------------------------------------------------------------------------------------------
Tips and Tricks :-
Network Settings:-
Mobile Network > Network Type Selection> Select 2G (saves battery)
Personal Settings:-
Personal > Display > Brightness > Turn Auto Brightness Off (set to lowest, increase from toggle when needed)
Personal > Display > Sleep > 30sec is more than enough (saves battery)
Personal > Location Services > Off (turn on from toggle when needed... saves battery)
Personal > Accounts & sync > Off (switch on when needed... saves battery)
System Settings:-
Developers Options > User Interface > Force GPU Rendering > ON (increases performance)
Developers Options > User Interface > Windows Sale Animations > 0.5x (reduces lags if present)
Developers Options > Apps > Background Process Limit > 2 (can use your own number... gives you more ram other words releases ram)
Performance > Memory Management > zRam > 18% default (compress memory for increased virtual capacity)
Performance > Memory Management > Allow purging of assests > ON (allows the freeing of more ram when needed)
These above settings will help you increase performance & battery life!!
Divaksh said:
[*]Method 3:
Flash the zip -coming soon
Click to expand...
Click to collapse
I know is a noob question, but flashable zip will theorically work on locked bootloaders?. Thanks in advance
R: 【KERNEL】【CM9】Speedy Kernel v1.1【24-03-2013】
blackkzero said:
I know is a noob question, but flashable zip will theorically work on locked bootloaders?. Thanks in advance
Click to expand...
Click to collapse
You cant touch kernel partition without unlocking,sorry
Will my device be overclocked the moment I install this kernel?
After flashing this,my phone doesnt even start,doesnt do nothing except volup and voldown.
Phone doesn't even get to boot screen, I'm using slim rom cm9.
zootzoot said:
Phone doesn't even get to boot screen, I'm using slim rom cm9.
Click to expand...
Click to collapse
Same here,i guess next time ill wait for feedback before using anything. Thanks for the lesson.
Re: 【KERNEL】【CM9】Speedy Kernel v1.1【24-03-2013】
xhk_sk said:
After flashing this,my phone doesnt even start,doesnt do nothing except volup and voldown.
Click to expand...
Click to collapse
zootzoot said:
Phone doesn't even get to boot screen, I'm using slim rom cm9.
Click to expand...
Click to collapse
I think something is missing, will repair it tomorrow.
I don't own device, so will need testers.
interested people add me on FB(http://fb.me/Divaksh)
Sent from my Xperia Sola using xda premium
Re: 【KERNEL】【CM9】Speedy Kernel v1.1【24-03-2013】
Divaksh said:
I think something is missing, will repair it tomorrow.
I don't own device, so will need testers.
interested people add me on FB(http://fb.me/Divaksh)
Sent from my Xperia Sola using xda premium
Click to expand...
Click to collapse
I've added you and sent you a message on Fb.
Thanks
Sent from my Xperia U using xda premium
I am ready to help though I don't have vast amt of knowledge about Android..
Link and OP updated, thanks to Mayank.
Divaksh said:
Link and OP updated, thanks to Mayank.
Click to expand...
Click to collapse
Ive been testing for around 2 hrs on this ROM [LINARO][4.0.4] SlimCM™ - built from source [XU] - Build 20130324.
No reboots and recovery works fine.
R: 【KERNEL】【CM9】Speedy Kernel v1.1【24-03-2013】
Can you add linaro?
Re: 【KERNEL】【CM9】Speedy Kernel v1.1【24-03-2013】
zootzoot said:
Ive been testing for around 2 hrs on this ROM [LINARO][4.0.4] SlimCM™ - built from source [XU] - Build 20130324.
No reboots and recovery works fine.
Click to expand...
Click to collapse
Mayank has tested it, it's working fine. I'll have to wait for more replies as I don't own device.
GEKTHEBOSS said:
Can you add linaro?
Click to expand...
Click to collapse
Bro it is Linaro optimized.
Sent from my Xperia Sola using xda premium
Divaksh said:
Mayank has tested it, it's working fine. I'll have to wait for more replies as I don't own device.
I'm testing it on Slim Rom latest version...till now all is ok playing Real Racing 3 ..very smooth
Click to expand...
Click to collapse
Can someone try version 2.1 and report me?
Thanks
Divaksh said:
Can someone try version 2.1 and report me?
Thanks
Click to expand...
Click to collapse
Will try it when I get Home (in about 1 - 1.5 hours maybe)...
Divaksh said:
Can someone try version 2.1 and report me?
Thanks
Click to expand...
Click to collapse
I'm flashin it now...I'll inform you soon
CWM works good, but there are these messages:
'e: Missing bitmap b4,b5,b6,b7,b8,a10'
and touch buttons don't work.
It boots ! do you want to know something in particular?
I noticed a huge usage of RAM: it stays on 30/50m Mb, while before I've 100/120 Mb with the same apps in background
But after ran zipalign and sqlite script, my free ram is back, sorry

[KERNEL][CWM/TWRP][CM12][15/03]Kernel for AOSP ROMs with synapse support

KERNEL INFO
- Kernel for Cyanogenmod 10.2 & 11, Omni 4.4 & Slimkat (will not work on 4.3, 4.2, 4.1 etc)
- Tested on official builds for cyanogenmod 22/12/2014
- Based on smdk4412 cyanogenmod kernel, updated to linux 3.0.101 + cherry-picks
- If you are coming from another kernel that also supports stweaks, please flash kernel wipe script by hawkerpaul before the kernel! or you might get stuck at samsung logo! Download: http://d-h.st/Hh1
KERNEL FEATURES:
CPU:
- 6 step CPU frequencies from 200 to 1400 mhz
- CPU hotplug control
- CPU Voltage Control
GOVERNORS:
- Multiple governors available:
- zzmoove
- conservative
- userspace
- powersave
- ondemand
- pegasusq
- performance
- intellidemand
- HYPER
- NeoX
- Nightmare
- 10 profiles for zzmoove governor
- Full control over governor's tunables
GPU:
- Mali r3p2-01rel4 drivers, hacked to be compatible with rel3 blobs
- Updated rel3 mali blobs from note 2 kikat stock rom
- 4 frequency steps gpu
- GPU clock control, from 54 to 520 mhz, 10 different frequencies with vpll mode enabled
- GPU voltage control
- GPU threshold control
SCREEN:
- Screen mode/scenario control
- Negative mode
- Brightness curve control
- Gamma control
- slide2wake
SOUND:
- Headphone amplification control
- Microphone amplification control
- Speaker amplification control
BLN:
- BLN (Backlight notification)
- BLN Effects
- BLNWW (without wakelock)
- Touchkey leds on/off
- Touchkey leds timeout
- Touchkey leds fade in and fade out effects
- Touchkey leds voltage control
MEMORY SETTINGS:
- This kernel follows google recommendations for memory management:
- http://source.android.com/devices/low-ram.html
- They are all off by default, but you can enable and control them in stweaks/synapse
- LZ4 compression for ZRAM
- https://code.google.com/p/lz4/
- ZRAM Control
- SWAP on ZRAM
- KSM (Kernel Same-page Merging)
- Improved SLUB memory allocator
FILE SYSTEM:
- Multiple I/O schedulers available:
- deadline
- cfq
- bfq
- row
- sio
- zen
- SD Card read-ahead configuration
- Internal memory read-ahead configuration
- TRIM support (thanks to @Lanchon)
TWEAKS:
- GENTLE_FAIR_SLEEPERS on/off
- ARCH_POWER on/off
- Charge current control
- Vibration level control (for omni, in CM11 use the rom one)
- GPS Tweaks (stweaks: copy your custom gps config to /data/gps.conf and forget about 3rd party apps for GPS tweaks! synapse: just type your location code in the text box)
MISC:
- Android loggers (logcat) on/off
- Linux loggers (kmsg) on/off
- Reset fuel-gauge chip
- Calibrate G-sensor
UNDER THE HOOD CHANGES:
- FPBug fix (thanks to @zeitferne)
- CWM 6.0.4.9
- TWRP 2.7.0.0
- GCC: linaro 4.9.1 with O3 optimization level
- And more...
DOWNLOADS
Stweaks:
https://play.google.com/store/apps/details?id=com.gokhanmoral.stweaks.app
Synapse:
https://play.google.com/store/apps/details?id=com.af.synapse
This is what synapse looks like:
CPU:
http://oi62.tinypic.com/10pmwxj.jpg
GPU:
http://oi57.tinypic.com/2wf7k2x.jpg
SCREEN:
http://oi62.tinypic.com/zv1ph5.jpg
SOUND:
http://oi57.tinypic.com/2s5zfw8.jpg
BLN:
http://oi62.tinypic.com/xeyhu.jpg
MEMORY:
http://oi62.tinypic.com/214p384.jpg
I/O:
http://oi58.tinypic.com/2vlmxqb.jpg
TWEAKS:
http://oi57.tinypic.com/24bonqw.jpg
MISC:
http://oi62.tinypic.com/kc1jxg.jpg
System Status app (created by @boscorama):
http://forum.xda-developers.com/gal...tus-app-gustavos-kernel-t2686379/post51197740
USEFUL LINKS/TIPS
Having wakelocks?
http://asksven.github.io/BetterBatteryStats-Knowledge-Base/howto.html
Looking for minimal gapps?
http://forum.xda-developers.com/android/software/gapps-google-apps-minimal-edition-t2943330 (thanks to BaNkS)
Want to know more about kernel/governors/schedulers?
http://forum.xda-developers.com/showthread.php?t=1369817 (thanks to droidphile)
CHANGELOGS AND SOURCE
https://github.com/gustavoss/android_kernel_samsung_smdk4412/commits/master
https://github.com/gustavoss/ramdisk/commits/master
KNOWN PROBLEMS
https://docs.google.com/spreadsheets/d/1CBiv3KYTGeOKMnrXVAr1_SqKXDxq1E_6wvBb2Vs8Ttw/edit#gid=0
- Stweaks is not working at the moment, and i can't work to fix it because of reasons above.
- Freezes from undervolting/overclocking and any data lost in the freezing process is your responsibility!
- The stable kernels in OP are tested for stability before being posted here.
- If you have problems follow these steps to flash a stock cm kernel with odin:
- First of all install the correct drivers:
http://sourceforge.net/projects/cm10i9100vsync/files/latest/download?source=files
- Download odin and extract it:
https://docs.google.com/file/d/0B64DyNFMhOJJSUFvYmZYaXEzNjQ/edit
- Download the cyanogenmod's kernel tar:
https://drive.google.com/file/d/0B64DyNFMhOJJdGptbW9UVXE0RFU/edit?usp=sharing
- After installing the drivers, open odin, boot your phone in download mode (vol down + home + power) and connect it to your computer
- In odin select PDA mode and select the kernel's tar file
- Hit "Start" button and it will install the kernel then reboot your phone.
- Here you have 2 options: if you are running cyanogenmod just let it boot, if you are not running cyanogenmod, take the battery out and boot it into recovery (vol up + home + power) and flash a kernel or rom zip with stock kernel.
CREDITS
gokhanmoral, codeworkx and all CM team for their wonderful work
franciscofranco, faux123, myfluxi, neobuddy89, Lanchon, zeitferne, omni team and geeckodev
Tungstwenty for helping me a lot
hawkerpaul for kernel wipe script
AndreiLux for synapse app:
https://github.com/AndreiLux/Synapse/wiki
https://github.com/AndreiLux/Synapse/wiki/Element-listing-and-documentation
XDA:DevDB Information
Kernel for AOSP ROMs with synapse support, Kernel for the Samsung Galaxy S II
Contributors
Gustavo_s
Kernel Special Features: Features explained above.
Version Information
Status: Stable
Current Stable Version: 05-01
Stable Release Date: 2015-01-05
Created 2015-01-06
Last Updated 2015-01-10
Has this been released with permission from gokhanmoral?
Sent from my GT-I9100 using xda app-developers app
parag1dubey said:
Has this been released with permission from gokhanmoral?
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
afaik linux kernel must be opensource, his sources are here:
https://github.com/gokhanmoral
CM sources with mali drivers are here:
https://github.com/CyanogenMod/android_kernel_samsung_smdk4210
if GM or any member has any problem with the name "Siyah" i will respect it and change it in OP, no problem. Also this kernel will be removed as soon as GM updates his own kernel to work with latest cm10.1. I do not claim this to be my work, i just got the sources and updated drivers then compiled.
Thanks for clarifying. will this work with hybrid roms like Rootbox and jellybam? And would it not be better to use siyah 6.0b4 as base since it has more gpu steps?
Sent from my GT-I9100 using xda app-developers app
parag1dubey said:
Thanks for clarifying. will this work with hybrid roms like Rootbox and jellybam? And would it not be better to use siyah 6.0b4 as base since it has more gpu steps?
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
it will work as long as the rom has the same video drivers from cm10.1 (r3p1)
b5 has 5 gpu steps aswell but i don't know if the kernel is using all gpu steps because cm kernel's default is 3 steps and i haven't touched the driver's code. If you meant cpu steps i think its not worth the effort, both siyah and cm kernels use 5 step cpu for some good reason
- 06/04 Fixed recovery and RIL
Gustavo_s said:
- 06/04 Fixed recovery and RIL
Click to expand...
Click to collapse
Great job, thank you!
Sent from my GT-I9100 using Tapatalk 2
@ Gustavo_S
can you please read the PM i sent you?
thanks.
delete me
Gustavo_s said:
afaik linux kernel must be opensource, his sources are here:
https://github.com/gokhanmoral
CM sources with mali drivers are here:
https://github.com/CyanogenMod/android_kernel_samsung_smdk4210
if GM or any member has any problem with the name "Siyah" i will respect it and change it in OP, no problem. Also this kernel will be removed as soon as GM updates his own kernel to work with latest cm10.1. I do not claim this to be my work, i just got the sources and updated drivers then compiled.
Click to expand...
Click to collapse
Nicely said. +1
Tyvm, the kernel is running perfect so far. Great work!
I thought siyah 6b5 isn't properly working for cm10.1....? But if it is working great work gustavo!
Gesendet von meinem GT-I9100 mit Tapatalk 2
can anyone post 3dmark scores with this kernel? thank you.
One question, why are all gpu voltage levels set by default to 800 mv.
DSC05 said:
One question, why are all gpu voltage levels set by default to 800 mv.
Click to expand...
Click to collapse
Are the settings saved when you restart the phone? Perhaps you have to delete old kernel configs and stuff.
Gesendet von meinem GT-I9100 mit Tapatalk 2
Q: Will this kernel work with my current rom??
Screenie begins:
{
"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"
}
iamnotkurtcobain said:
Are the settings saved when you restart the phone? Perhaps you have to delete old kernel configs and stuff.
Gesendet von meinem GT-I9100 mit Tapatalk 2
Click to expand...
Click to collapse
Yes they are saved, and I've deleted all old kernel configs before. Am I the only one with these default settings?
DSC05 said:
Yes they are saved, and I've deleted all old kernel configs before. Am I the only one with these default settings?
Click to expand...
Click to collapse
I'll try the kernel @ home
Gesendet von meinem GT-I9100 mit Tapatalk 2
DSC05 said:
Yes they are saved, and I've deleted all old kernel configs before. Am I the only one with these default settings?
Click to expand...
Click to collapse
Check it with malistats, or use gpuwatch/gpucat
Sent from my GT-I9100 using xda app-developers app
Unexist6969 said:
Check it with malistats, or use gpuwatch/gpucat
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
can some provide best settings for s tweaks..voltage level gpu levels etc

[KERNEL][SENSE][10-MAY][0.9][Thoravukk] CIFS•UC/UV•LINARO•BB•H2*•L2*•S2* EOL

It's a Kernel for HTC Sense Roms. Only stable mods with best Battery life.
Sourcecode you can find here --> https://github.com/pinpong
{
"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"
}
Code:
- based on 1.29.1540.3 developer edition
- linaro 4.7.3 toolchain optimized for cortex-a15
- stripped modules
- init.d support
- remove debugging
- optimisation flags like graphite
- disabled perflock
- enable /system write
- increase readahead buffer
- row/sio/fiops scheduler
- uhid support
- cifs support
- xz compression/decompression
- userspace voltage control
- available cpu frequencies: 135MHz - 1728MHz
- H2W/L2W/L2M/S2W
- blinking buttons
Code:
***0.9***
interactive: double boostpulse duration
enable & use row as default
disable htc pnp manager thx [user=4635674]@n3ocort3x[/user]
update post-init script
enable advanced tcp congestion control
ramdisk cleanup
adjust voltage
***0.8***
adjust voltage
fix frequency tables
enable conservatiev & interactive governor
disable ondemand 2 phase
enable pipe compiling
compile with -0fast
***07_b5***
initialize cpufreq driver early at boot
underclocking = 135MHz - 1728MHz
tbaldens blinking buttons implementation
and alot of other fixes, updates and reverts
***0.7_b3***
use glibc version
USB force fast charging
add optimized AES and SHA1 routines
update to m7ul-jb-crc-3.4.10-24b0b2a
add row i/o scheduler
add krait proc info
camer fix ( if cam not work you should flash rom again )
disable usb otg whitelist
set lower standby freq level
ramdisk update
fix hsic wakelock
use aroma installer thx [user=402300]@amarullz[/user] & [user=3088420]@tbalden[/user] & [user=4635674]@n3ocort3x[/user]
***0.7_b2***
add thoravukk script for best cpu voltage setting
add fiops i/o scheduler & set as default
update CFLAG's
tbalden's HOME2Wake and HTCLogo2Sleep
***0.7_b1***
play store fix
ntfs r/w support
camera fix thx team trickdroid
***0.6***
try 192MHz bin again
arm cpu power and topology
ramdisk update
turn off debugging for certain modules
***0.5***
update ramdisk
code cleanup
***0.4***
fixed audio routing issue with voice calls thx tbalden
revert add 192MHz frequency
***0.3***
update to m7ul-jb-crc-3.4.10-42e6c45
Linaro toolchain optimized for cortex-a15
add graphite CFLAGs
enable cifs
xz compression/decompression
disable function trace
add userspace voltage control thx [user=4152171]@myfluxi[/user]
add 192MHz frequency
enable cpufreq-stats driver
***0.2***
disabled perflock
enable /system write
update config
increase readahead buffer
added optimizations for compiling
cfq-iosched tweak
add sio scheduler
add row io scheduler
add wheatley cpu governor
uhid: backport from 3.4
***0.1***
intitial release
flar2
flyhalf205
faux123
fluxi
franciscofranco
DooMLoRD
tbalden
n3ocort3x
Code:
Known issues:
Don't forget to press the thanks button.
​
Looking forward to trying this kernel!
Thanks.
Never heard of you before, dont think you made any for Sensation or Desire.
I think I saw this dev in the S3 forums. Or maybe the S2.. don't remember, but he made kernels for one of me phone's so it's one of these 2
I remember people were happy about the kernels... so good to see your here!
Great, will try your work ASAP! Hope the first kernel sources are better than the first ones for the One X ^^
XDA mark said:
I think I saw this dev in the S3 forums. Or maybe the S2.. don't remember, but he made kernels for one of me phone's so it's one of these 2
I remember people were happy about the kernels... so good to see your here!
Click to expand...
Click to collapse
s2 if im not wrong.
Nice to see some kernel deveopment round here
Will the initial release to add write support to boot partition in normal boot? This will be a great feature before obtaining s off.
Sorry. This will be only for s-off devices.
Sent from my HTC One using xda premium
pinpong said:
Sorry. This will be only for s-off devices.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
No offence, but that's not very many people. Even developer devices are not expected to be S-OFF. Also you may want to check the forum rules about placeholder threads in dev sections, just FYI.
M.
pinpong said:
Sorry. This will be only for s-off devices.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
I assume this is responding to my earlier question. For DNA, kernel was customized to allow writable boot partition way before s off was available. So, it should be achievable from kernel perspective.
pinpong said:
Sorry. This will be only for s-off devices.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
We can already flash kernels in recovery?
Sent from my HTC One using xda premium
PowerPC said:
I assume this is responding to my earlier question. For DNA, kernel was customized to allow writable boot partition way before s off was available. So, it should be achievable from kernel perspective.
Click to expand...
Click to collapse
To make it more clear, what I mean is writable root file system and not flash kernel via recovery. This would benefit us to edit or replace file directly and not reboot to recovery.
Not sure why you're advertising your app, too, since it says it's for the gt-i9100.
Thread reopened.
There are two kernels in OP, which one to use? What's the difference? Am I missing something?
Sent from my Nexus 7 using Tapatalk HD
hameedullah said:
There are two kernels in OP, which one to use? What's the difference? Am I missing something?
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
you need to flash the *thoravukk*.
the other boot.img is stock kernel with stock modules.
can someone please give me the output from ''$ adb bugreport | grep bootloader'' ?
[email protected]/# uname -a
uname -a
Linux localhost 3.4.10-gddcfb8c #thoravukk-0.1 SMP PREEMPT Fri Apr 12 13:38:46 C
EST 2013 armv7l GNU/Linux
[email protected]/# bugreport | find "bootloader"
bugreport | find "bootloader"
find: bootloader: No such file or directory
[1] + Stopped (signal) bugreport |
Done (1) find "bootloader"
Then the One vibrates and now its freezed
crucky said:
[email protected]/# uname -a
uname -a
Linux localhost 3.4.10-gddcfb8c #thoravukk-0.1 SMP PREEMPT Fri Apr 12 13:38:46 C
EST 2013 armv7l GNU/Linux
[email protected]/# bugreport | find "bootloader"
bugreport | find "bootloader"
find: bootloader: No such file or directory
[1] + Stopped (signal) bugreport |
Done (1) find "bootloader"
Then the One vibrates and now its freezed
Click to expand...
Click to collapse
And WiFi isnt working -,- cant activate -> back to stock kernel
WI-FI is working for me on 0.2 using stock rom
Had no ear piece volume on a call, I'm sure this was the same as another custom kernel? Had to use the speaker phone

[XU][KERNEL][3.0.101][Kitkat] AJ Kernel [v4][Dual Recovery][PhilZ touch|TWRP]

Before anything I'd like to sincerely thank DooMLoRD. He was the first dev ever to bring multiple recoveries to Xperias since Xperia X10 days and he has done a lot to make this work. So if you like this, please consider donating him for his great work.
Click to expand...
Click to collapse
Disclaimer
Code:
#include <std_disclaimer.h>
/*
* You may have voided your device's warranty.
* 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 modifications on your device
* I absolutely disclaim any responsibility.
*/
Downloads
LINKS REMOVED. DISCONTINUED.
Instructions
-Installation
1. Download zip.
2. Flash via recovery
3. Reboot
Click to expand...
Click to collapse
-Booting into recovery
For philZ recovery 6.41.6 :
+ Press vol. up when phone vibrates
For twrp 2.7 :
- Press vol. down when phone vibrates
Click to expand...
Click to collapse
Changelog/Feature list
v4
- Flashable zip for kernel
- Kernel compressed with LZO for better compression/decompression speeds
- Doubled the VM readaheads
- Optimized CPU performace
- Boost networks speed by locking the initial TCP window size to 64K
- Entropy tweaks
- Enabled ARCH_POWER
- BFQ and SIOplus now working properly
- Properly fixed dynamic management of dirty page writebacks
- Enabled ARM_THUMBEE
- Disabled gentle fair sleepers
v3
- Cross-compiled with arm-cortex_a9-linux-gnueabihf-linaro_4.9.1-2014.04 toolchain with arm-gnueabi binaries.
- New logo
- Add sioplus i/o scheduler and bfq i/o scheduler
- Fixed n_tty_write crash when echoing in raw mode(thanks to peterhurley)
- O3 optimizations
- Dynamic management of dirty page writebacks
- Enabled 5 GHz band and cleancache
- Lots of optimizations and good speed boost.
v2
- PhilZ touch recovery instead of CWM
- Changes for LZO compression/decompression(thanks to Gava97)
- Frandom modules added(thanks to Gava97)
- Code optimized
- Used 4.7 toolchain instead of 4.4.3 GCC
v1
-Initial release
-Dual recovery
-AOSX kernel compiled from source
-One kernel compatible with all kitkat ROMs(Both CM and AOSP based)
Click to expand...
Click to collapse
CPU Governors and I/O schedulers
CPU Governors
interactiveplus
fantasy
pegasusqplus
dyninteractive
intellidemand
nightmare
sakuractive
abyssplug
wheatley
pegasusq
ondemandAX
lulzactiveq
hotplug
minmax
smartassV2
interactive
conservative
ondemand
userspace
powersave
Lionheart
performance
I/O Schedulers
bfq
sioplus
noop
deadline
cfq
sio
vr
row
zen
Usage of some features
Dynamic management of dirty page writeback
What is does?
- Allows to dynamically manage the dirty page writebacks with two different intervals, one when the screen is on and another when the screen is off. By using a higher interval we have better performance and less battery consumption, with a very low risk of data loss.
Thanks to Christopher83 and kingBABAsula.
Usage-
To enable it:
Code:
echo 1 > /proc/sys/vm/dynamic_dirty_writeback
To disable it:
Code:
echo 0 > /proc/sys/vm/dynamic_dirty_writeback
To customize intervals (in centisecs):
Code:
echo xxxx > /proc/sys/vm/dirty_writeback_active_centisecs
echo xxxx > /proc/sys/vm/dirty_writeback_suspend_centisecs
Commit list
5502c9d- LZO compression for kernel for better speed
3583d16- 2x(min,max VM READAHEAD)
85bc173- Change CPU performance
33eaf7c- Boost network speed
e4adc50- random: entropy tweaks are all the rage nowadays
b2f1fb2- Enable ARCH_POWER
58aa12b- IOsched update: Add BFQ and SIOPLUS in defconfig
982e2cc- Defconfig part for 96f9959
e07c683- Enable ARM_THUMBEE
ad5f538- Disable gentle fair sleepers
7ff3c51- Add new logo
eda4962- O3 optimizations
96f9959- mm: Dynamic management of dirty page writebacks
ab20cd6- block: Add BFQ I/O scheduler
cba2d5a- mutex: dynamically disable mutex spinning at high load
65581fa- n_tty: Fix n_tty_write crash when echoing in raw mode
2dcff35- Enable 5GHz band and clean cache
7a1805b- IOSCHED: Add SIOplus
231a11c- Add philZ touch recovery
713597e- lib/lzo: Optimize code for CPUs with inefficient unaligned access
a7e474f- lib/lzo: huge LZO decompression speedup on ARM by using unaligned access
548b108- lib/lzo: Update LZO compression to current upstream version
13cad97- drivers/char: add frandom modules
6096ed0- Dual recovery
Credits
linus(and other guys)- For linux kernel
ST-ericsson- For making the kernel compatible with montblanc board
Sony mobiles- For making the kernel compatible with riogrande
munjeni- For his great development and help
DooMLoRD- For dual recovery in other devices from which I could take reference and for helping me
AOSX team(Including me )- For development of 2012 xperia novathor devices
Phil3759- For PhilZ touch recovery
Dees Troy(and omnirom team)- For TWRP
cocafe- For work on u8500 samsung devices
kingBABAsula- Also for work on u8500 samsung devices
Christopher83- For modified linaro toolchains for cortex-a9
abcdjdj- For helping me in this
info4geek- For testing it
#include<iForgotYou.h>
Sources
Kernel sources- https://github.com/Abhinav1997/AJ-Kernel
Ramdisk- https://github.com/Abhinav1997/AJ-ramdisk (other device devs/users can look into this to understand what changes were done)
Awsome work for dual recovery at @Abhinav2:good:
v2 released
Cheers,
AJ
Could you make a flashable zip in future? Thanks
Inviato dal mio Xperia U utilizzando Tapatalk
just saying, can you please include one non touch recovery like cwm probably instead of philz. Some people cant use touch :'(
jatinrungta said:
just saying, can you please include one non touch recovery like cwm probably instead of philz. Some people cant use touch
Click to expand...
Click to collapse
Will soon add 3 in one CWM+PhilZ+TWRP
Cheers,
AJ
One kernel to rule them all, gg.
Sent from my ST25i using XDA Premium 4 mobile app
i suggest to make a bootmenu like turbokernel on xperia 2011 devices, it's including :
boot to system
boot to cwm
boot to twrp
boot to philz
iinstead of pressing volume button.
itachilinux said:
i suggest to make a bootmenu like turbokernel on xperia 2011 devices, it's including :
boot to system
boot to cwm
boot to twrp
boot to philz
iinstead of pressing volume button.
Click to expand...
Click to collapse
Nah. Why stop a boot for asking the questions. They can press the button like they want
Cheers,
AJ
i thin he means
normal Recovery key button combo
gives u Bootmenu
In whihcu can slect recoverys
Reboot system is to contineu system
Sent from my Acer S500 CloudMobile
SpaceCaker said:
i thin he means
normal Recovery key button combo
gives u Bootmenu
In whihcu can slect recoverys
Reboot system is to contineu system
Sent from my Acer S500 CloudMobile
Click to expand...
Click to collapse
Oh sorry. My bad then. Will try that
Cheers,
AJ
@Abhinav2 Pressing vol up in v2 goes into normal cwm touch,not PhliZ.
v3 released. You can notice improvements in speed in this version
Cheers,
AJ
com.android.phone has stopped on v3
v2 works fine
First off, a big thank you for your amazing work, yet again.
Downloaded and flashed v3 and the recoveries work great. But as the ROM boots phone FCs along with other things. I did clear cache and dalvik after flashing.
The dual recoveries are indeed a great feature. I'd also like to request that you add Performance Control kernel features because they are really great.
Secondly, when the phone boots the LEDs light up as red, yellow and green. It would be great if you could change it to all blue, because it looks decent that way in my opinion.
Thanks a million again for your great work.
small2cats482 said:
First off, a big thank you for your amazing work, yet again.
Downloaded and flashed v3 and the recoveries work great. But as the ROM boots phone FCs along with other things. I did clear cache and dalvik after flashing.
The dual recoveries are indeed a great feature. I'd also like to request that you add Performance Control kernel features because they are really great.
Secondly, when the phone boots the LEDs light up as red, yellow and green. It would be great if you could change it to all blue, because it looks decent that way in my opinion.
Thanks a million again for your great work.
Click to expand...
Click to collapse
No problem for me, no strange FCs. Phone works good.
EDIT: YAY, finally the high frequencies bug is finally solved in short, system was using high frequencies even when not much power was needed
{
"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"
}
Links updated. Phone FC fixed. Sorry for inconvenience
Cheers,
AJ
Guys I've added some info about new features in OP which can be useful(will keep updating the usages with new features and if I get time, I'll write a script that you can execute in terminal to ease the work )
Cheers,
AJ
Abhinav2 said:
Guys I've added some info about new features in OP which can be useful(will keep updating the usages with new features and if I get time, I'll write a script that you can execute in terminal to ease the work )
Cheers,
AJ
Click to expand...
Click to collapse
No such file when executing first command in terminal :|
mirco_pa said:
No such file when executing first command in terminal :|
Click to expand...
Click to collapse
Might not have been properly integrated then. Sorry about that I'll look into it
Cheers,
AJ

[KERNEL] [6.0] almost-stock (aka ex big-bum)

{
"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"
}
DOWNLOAD
HERE
Google Drive mirror
I'm not responsable for data loss or any damage to your phone if you're using my kernel. You flash this at your own risk. Always make a backup!
(You need SuperSU 2.50 for this kernel to work!)​
M/6.0 kernel:
Features:
new name: almost-stock, since it's... almost stock, but not really.
built on the base of latest Android 6.0 release, merged with franciscofranco's L kernel and CM/CAF12.1
built with -mcpu=cortex-a15 for enabling maximum performance with our Krait CPU.
reduced wireless wakelocks
underclocked GPU idle (GPU min/max 20/450MHz)
default CPU governor: CAF interactive, updated from CM/CAF12.1 branch.
built with cpu-boost driver to handle touchboost, default touchboost is set to 500ms and 1.2GHz
Motorola memory patches for ARM
default hotplug: MPDecision with updated rq_stats from CM.
I/O default schedueler: row
the famous I2C @ 19.2MHz, plus some other chips dropped at 19.2MHz and voltages lowered for internal components (Cl3Kener)
compilled with Linaro GCC (5.2.0) - arter's own build.
removed useless debug
workqueue udates from linux 3.7, power saving workqueues set on by default
selinux enforced (You need SuperSU 2.50 for this to work!)
partialsuspend enabled
various updates and fixes for net, mmc, thermal, selinux, block, cpufreq, sched, rcu, block
I probably forgot something
Credits:
neobuddy89, dorimanx, hellscore, franciscofranco, flar2, Cl3Kener
Christopher83 for Linaro GCC binaries, tutorials on how to compile Linaro, his Linaro binaries and tutorials
other people who work on Linux kernel.
arter97 for his GCC 5.2.0
Kernels from where I cherry-pick: Chaos/Hybrid - neobuddy89, Uber - Cl3Kener
Other guys from where I might cherry pick in the future.
Sources:
Kernel: ttps://github.com/StefanescuCristian/hammerhead
Ramdisk: https://github.com/StefanescuCristian/ramdisk_hammerhead
Toolchain:
https://github.com/arter97/linaro-lto
The attached images are from the KK version.
Oh, and if you want to build this for yourself, check this out!
XDA:DevDB Information
[KERNEL] [6.0] almost-stock (aka ex big-bum), Kernel for the Google Nexus 5
Contributors
big_bum
Source Code: https://github.com/StefanescuCristian/hammerhead
Kernel Special Features: GCC5
Version Information
Status: No Longer Updated
Current Stable Version: 2
Stable Release Date: 2015-11-01
Created 2014-07-07
Last Updated 2015-11-01
Reserved
Old kernel info:
Which version do I need?
It's pretty simple and I think I structured the download sites pretty good. If you want another structure or you have ideas for improvements, then feel free to post them. Anyway:
For AOSP based ROMs (Mahdi, Paranoid, Liquid Smooth, etc) use the AOSP folder. If you didn't change the ROM to support f2fs or f2fs-all, you must use ext4 or mpd*.
For Cyanogenmod based ROMs (CM, Carbon, AOKP, etc) you must use the kernels from the CM folder (cm or cm-mpd) . You can flash a f2fs version on CM. Read post 2, the Q&A section.
*mpd stand for MPDecision (make poor decision). It's qualcomm's user-space implementation for plugging/unplugging the cores. Some people say it's bad, some people say it's good. I personally like it and use it
Reserved
Lollipop Kernel
Features:
backports from upstream for most of main components
exfat for mounting exfat formatted sticks via USB OTG
f2fs for mounting f2fs formatted sticks via USB OTG or if you have an f2fs formatted internal memory (use the same image for all combinations of f2fs formatted partitions).
for mounting OTG sticks formatted in NTFS/exFAT/f2fs/other filesystem I recommend this app. FAT formatted sticks will automount if you use CM (might work on AOSP too, I haven't tested it)
I also include cherry-picks from other N5 kernels (especially from Chaos/Hybrid - @neobuddy89, Uber - @Cl3Kener and Code_Blue - @eng.stk)
min default CPU freq: 300MHz
max default CPU freq: 2.26GHz
default CPU governor: impulse
available CPU governors: ondemand, bacon, performance, powersave, interactive
hotplug: msm_hotplug developed by myfluxi
cpu-boost driver from CM.
I/O readahead size: 512KB
I/O default schedueler: fiops
other available I/O scheduelers: noop, deadline, cfq, BFQ, tripndroid
GPU min/max 20/450MHz
GPU default governor: simple
other GPU available governors: ondemand, performance
color profiles. Based on franco, works with FKU or Nexus Display Control app.
savoca's KCAL
franco sound
CM sound patches
dynamic fsync
various memory improvements. This doesn't mean less consumed RAM, also free RAM is wasted RAM for linux. Also, read this: http://www.linuxatemyram.com/
msm limiter (limits screenoff freq to 1.2GHz)
KSM: Kernel Samepage Merging.
KSM merges memory pages from one app with another app, thus only loading one memory page, not two pages that are the same.
Let's say that app A has the page X loaded in memory. Let's say that app B loads pages X and Y in memory. KSM detects that and points app B to the memory address from page X loaded by app A. In the end we have this:
Without KSM:
A: X
B: X, Y
Total: X, X, Y
With KSM:
A: X
B: ^, Y
Total: X, Y
Click to expand...
Click to collapse
the famous I2C @ 19.2MHz, plus some other chips dropped at 19.2MHz
HTCP as default TCP congestion control. (I personally don't see any differences between different TCP Congestion Control algorithms)
other TCPCC available: reno, bic, cubic (I used this in DD-WRT), westwood (they say it's good for wireless/3G/4G devices), vegas, veno
compilled with latest Linaro GCC (4.9.3), and with SaberMod
removed useless debug
I probably forgot something
Q&A
- Is it stable/bug free?
- As stable/bug free as franco's kernel is.
- Does it score better in benchmarks?
- I think so. At least Antutu says so, in the integer and float benchmarks. Quadrant also says this. It's not a huge difference, and you can't see it with the naked eye. But I don't trust in benchmarks that much.
- How's the battery life?
- (From Reddit) "The same battery life you get with Franco, if not a little better. Optimization means better performance, better performance means less time executing the same code, less time online means more deep sleep. Idk how much better it is, but it's not worse, anyway."
How can I configure it?
1. Universal Kernel Manager (Synapse + Script). Flash kernel, flash the zip from the link, install Synapse. Read here for more info on frequency getting stuck at 1.2GHz. TL;DR: go and setup via Synapse how you want, then go to CPU Tab, set minimum freq to 300Mhz, apply, enjoy.
2. FKU
3. Kernel Tweaker
4. Trickster Mod, via scripts in init.d, etc.
Recommended & tested ROMs:
Optipop
SlimAOSP
Terminus
Blisspop
This doesn't mean that ROMs are not supported, jus that I haven't tested them. The ROMs from this list are working as they should with my kernel.
Rollback:
Rename /system/lib/hw/power.msm8974.so.bak to /system/lib/hw/power.msm8974.so
Rename /system/bin/thermal-engine-hh-bak to /system/bin/thermal-engine-hh
Reboot to the bootloader and flash stock Kernel by downloading the Nexus images and then fastboot flash boot boot.img
Start the phone
Reboot to bootloader again and flash what kernel you want, and then start the phone.
Special thanks for testing and help:
@_MirageX_ @dox81 [mention]@pianistaPL[/mention] [mention]@shadowdevil[/mention]
Special thanks for donations:
[mention]@Paddybecks87[/mention] and the guy from reddit (notable-_-shibboleth) who also uses my build of pf-kernel for Ubuntu. (If you see this and you have a XDA username, give me a PM to put you in the list here)
Sources:
Kernel: ttps://github.com/StefanescuCristian/hammerhead
Ramdisk: https://github.com/StefanescuCristian/ramdisk_hammerhead
Toolchains:
Linaro: https://github.com/Christopher83/arm-cortex_a15-linux-gnueabihf-linaro_4.9.git
SaberMod: https://github.com/AuxXxilium/sm-arm-cortex_a15-eabi-4.9
BbKT (Big bum Kernel Tweaker): https://github.com/StefanescuCristian/android-kernel-tweaker
fabi_92 said:
I use big bum as primary but with some secondary rom and some kernel doesn't work.
FIX:
-flash rom
-flash gapps
-flash big-bum
-flash zip EXT4 or F2FS
-done
Click to expand...
Click to collapse
Old kernel info:
I said last night that this kernel works on CM.
First of all, CM is CAF. Our kernel is not CAF. This means that some libraries are not compatible with our kernel and need to be changed to make it compatible. This is exactly what Calkulin made. He made a zip that contain non-CAF libs to boot stock AOSP kernels.
I took that zip, modified it and put our kernel in it. This is more like a hack, it's not the real CAF kernel!
Also, in the OP I said that this isn't CAF-compatible by default. This is what I was talking about. With a little hack, it can run on CM.
This has nothing to do with the kernel. It's all in the libs. I only made a simple/easy/convenient way to flash CM and this kernel together.
How to:
Scenario 1: You don't have CM installed, you want to install it.
1. Download CM(tested with 07.07 nightly) or CM-based ROM zip. (In theory it should work)
2. Flash CM/CM-based ROM, gapps. Read the ROM OP for more details.
3. Flash the latest kernel/zip from CM folder.
When updating the ROM, you must reflash the kernel zip file from CM folder.
When updating the kernel, you can flash the normal ext4 version (zip or img from AOSP folder), or the hacked CM one (the zip from CM folder).
Scenario 2: You have CM and you want to try this kernel.
1. Download and flash the kernel/zip from CM folder.
When updating the ROM, you must reflash the kernel zip file from CM folder.
When updating the kernel, you can flash the normal ext4 version (zip or img from AOSP folder), or the hacked CM one (the zip from CM folder).
QA:
-f2fs/f2fs-all version for CM?
-No.
First of all, CM formats partitions to ext4 when flashing. You must edit your updater-script for it to work. If you know this, then you know what I'm talking about in the next 2 paragraphs.
Second, you can make a flashable zip by yourself.
Third, it's easier to download the zip from the thread and flash it, then flash a f2fs/f2fs-all kernel. (AOSP folder, zip or img)
You just have to be carefull that if you're on f2fs-all, you must edit META-INF/com/google/android/updater-script from Calkulin's zip file: replace ext4 with f2fs. Repack, flash your zip, flash f2fs/f2fs-all kernel, enjoy.
-I have done what you said. I now run CM on f2fs/f2fs-all. What do I do in case of an update?
-Well, it depends.
For ROM update:
1. Flash CM ROM.
2. Flash the zip you made and flashed when you asked the previous question (third point)
3. Flash f2fs/f2fs-all kernel
For kernel update:
1. Flash the appropiate f2fs/f2fs-all kernel. (AOSP folder, zip or img)
Credits: Calkulin for his thread, zip, files and discovery.
That's cool man ! Thank you for sharing this with us !
Sent from my Nexus 5 using XDA Free mobile app
Nice one
Sent from my Nexus 5 using Tapatalk
Thanks for sharing your kernel with us. Specs and notes sounds great, looking forward to running this.
-Sent from my Almighty Nexus 5 Hammerhead using XDA Premium 4 mobile app
Best kernel in 'da hood !
WoW !
Downloading. :good:
No disrespect, but since this is based on Franco this should be in Android Development. The mods will more than likely move it there soon.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Welcome and very nice OP
Best kernel name by some margin.
This thread must be moved to Android Development as there are no "original" features here. Read rules before posting bro
Enviado do meu Nexus 5 através de Tapatalk
No problem man. I'll report myself and tell a mod to move it.
EDIT: It's already reported.
Dude take it easy "bro"..why do people get so upset?!? It's a freaking website forum...nothing more..people already mentioned it before you in a much much nicer way...thanks for the work OP it's great
Sent from my Google/LGE Nexus 5 Hammerhead
I really didn't get upset.
I didn't know how else to move the thread, so I thought that reporting it is the way to go.
Nice I'm gonna test it out great work man
Btw can live without it but gotta ask is dt2w included?
Sent from my Nexus 5 using Tapatalk
big_bum said:
I really didn't get upset.
I didn't know how else to move the thread, so I thought that reporting it is the way to go.
Click to expand...
Click to collapse
@big_bum hey sorry man I wasn't talking to you...I was talking to TomorrowLand_Ace
Sent from my Google/LGE Nexus 5 Hammerhead
Nice
Sent from my Nexus 5 using XDA Premium 4 mobile app
Sounds awesome, trying out this kernel NOW! Thanks for sharing
Sent from my Nexus 5 using Tapatalk
idriff said:
Nice I'm gonna test it out great work man
Btw can live without it but gotta ask is dt2w included?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
No. But if you want dt2w you can use Linaro. You'll loose bfq and franco sound patches.
Dt2w or s2w will never be great on this phone because of battery drain.
But we have a hardware pedometer in our phone, so theoretically all the apps that are tracking step numbers should not use any battery at all because they are not using the accelerometer. I guess we can't have it all.
Sent from my Nexus 5 using Tapatalk

Categories

Resources