[KERNEL] [blu_sp★rk r164] [OOS 2.* / CM]

Status
Not open for further replies.

eng.stk

Senior Member
Mar 29, 2011
6,672
57,876
263

Kernel features:
  • Powered by Ubuntu 16.04.1 x86_64 (sparky VPS @ www.servercore.com.br - thanks @ChristianLetti)
  • Build with custom toolchain blu_naro-6.2 (cortex-a15 neon-vfpv4 hard-float targeted, build with latest Crosstool-NG from developer snapshot Linaro GCC 6.2-2016.09)
  • Full -O3 support with device and target flags enhanced, linaro build improvements, etc
  • Less is more: stockish builds based on android_kernel_oneplus_msm8974
  • Kernel compressed with XZ, custom tweaked RAMdisk with GZIP (best size/efficiency ratio, faster boot, less CPU usage)
  • Removed some debug and logging options
  • ARM enhanced performance and battery patches
  • Upstream and CAF fixes
  • Several CPU Governors (blu_active own governor is default - fastlane mode available!)
  • Voltage Control UV_mV_table (UV down to 675mV possible)
  • Enhanced TCP methods (westwood is default), Network and Wifi tweaks
  • Several I/O control (FIOPS is default), tweaked filesystems (F2FS, ExFAT, NTFS & CIFS)
  • blu_plug: Dynamic Hotplug for onyx
  • Disabled mpdecision
  • Stock thermal driver by default, custom kernel driver available (check this)
  • Optimized RWSEM, AES and SHA1 routines (with NEON support)
  • CAF adaptive LMK
  • Vibrator Strength tunable
  • KGSL fixes and reworked GPU driver (goes to idle @ 27MHz), Adreno Idler GPU Governor on by default
  • KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
  • USB Fast Charge (USB mode up to 900mA with MTP on)
  • Battery/Notification LED control
  • Multimount fstab (you can use data and cache partitions as f2fs or ext4)
  • CDROM emulation added to mass_storage (full Drive Droid compatible)
  • init.d support (put your scripts in /system/su.d or /su.su.d [systemless SuperSU])
  • Compatible with Kernel Adiutor, Universal Kernel Manage and others

DOWNLOAD KERNEL ZIP


Warning: If you come from other kernel, you should dirty flash your ROM before flashing blu_sp★rk zip to avoid problems.
Reflash ROM -> flash SuperSU -> flash blu_sp★rk.
Also uninstall or clean data of any kernel control app you're using.

About bugs and troubleshoots: don't bother to post if a log isn't ready or without steps so the behavior can be replicated. I only active support stock OOS with NO mods whatsoever (apart from root). If you're using custom ROMs you're on your own, I'm only interested on debugging stuff in OOS.
Save the SOT and battery stats/screenshots for general threads, here we deal with development, not personal tastes and results.
Also don't spam this thread with CM or other ROMs stuff like "this don't work, my app doesn't open, etc" , no OT about OTAs, apps, ROM bugs and other userspace stuff. There's threads for it, use them.

This kernel installer modifies your filesystem, backup your boot.img and system.img with TWRP if you want to go back to full stock.

If you want to use F2FS, do the following (backup your data before attempt this, it will erase all your Data)
  • Flash latest TWRP and flash latest blu_sp★rk zip
  • Go to Wipe -> Advanced Wipe -> Select only Data -> Repair/Format File system -> Change partition type to F2FS
  • Go to Wipe -> Advanced Wipe -> Select only Cache -> Repair/Format File system -> Change partition type to F2FS
  • Reboot and profit



If you like my work, donations are always welcome (but not mandatory).
Don't forget to hit thanks, it's free ;)


Thanks to @franciscofranco, @faux123, @LaboDJ @show-p1984, @flar2, @anarkia1976, @stratosk, @myfluxi, @Christopher83, @hellsgod, @savoca, @squid2
Special thanks to @DariosF and @ciprianruse88, for the friendship, initial push, knowledge and webart.

XDA:DevDB Information
blu_sp★rk onyx, Kernel for the OnePlus X

Contributors
eng.stk
Source Code: https://gitlab.com/engstk/onyx

Kernel Special Features: Powered by sparky

Version Information
Status: Stable
Current Stable Version: r164
Stable Release Date: 2016-08-09
Current Beta Version: r175 OOS 3.1.*
Beta Release Date: 2016-10-10

Created 2015-11-17
Last Updated 2016-10-14
 
Last edited:

eng.stk

Senior Member
Mar 29, 2011
6,672
57,876
263
It's up!

All right crew!

Some of you may know me from Nexus and other devices development in Code_Blue and blu_spark projects.
I decided to release the first kernel for my newest device, the OnePlus X.

I manage to do a nice and stable base, keep in mind that more stuff will come in the future, patience is a virtue ;)
 
Last edited:

eng.stk

Senior Member
Mar 29, 2011
6,672
57,876
263
No, this means that USB charging on a computer USB port is faster as is maxes out the port - still (a lot) slower than with your wall plug, though.
Exactly.

And I just found out that max AC charge is caped at 1800mA by OnePlus.
The proprietary charger can put out at least 2000mA and the PMIC can deal with 2500mA.

I don't know why Oneplus caped it at 1800mA, maybe because of heat, maybe to not stress the Chinese quality stock charger.
But this opens for a 2nd hack, high current in fast charge mode with AC charger.
 
Last edited:

criz.89

Senior Member
Mar 22, 2011
121
18
0
Hello all, work as a projectleader by battery manufacturer.

Fast charge is not good for the lifetime of the cell. With high current you stress the cell and the chemistry in the cell. Normally it is better to integrate a slow charge function which you can use over night. Like 500mA.

Sent from my ONE E1003 using XDA Free mobile app
 
  • Like
Reactions: Fstop and ravi847
Status
Not open for further replies.