[KERNEL] [8.1.0 Oreo / 9.0.0 Pie] [3.10.108] [GCC 8.2.1] Sphinx Kernel - v3.6

Search This thread

UsPdSr

Senior Member
Sep 26, 2016
724
327
31
San Hackàr
we are thankful to have you, in oir community

Quite the issues with wifite/airmon-ng, in particular the power supply, which is with the official nethunter kernel
for 8.1 stock no problem, therefore sth. is interfering.

I wrote a entire bug report to you, the same night and Xda ra*ed in theory at least. :/

Airodump-ng is working curiously and I promise you, that I will camp in the issue section in Nethunter's gitlab section, which is is nevertheless my home since tjey butchered the Oreo kernel for the Angler.

Lineage is not compatible with the Privacy guard sh*t and Nethunter, btw.

Omnirom, as always, smooth as silk.

I suspect that there is sth. wrong with the power supply.

I charged extra the device, twice and used dozens of my Wlan adapter, firstly the ones with lowest power consumption.

Maybe you send me instructions how I could send you proper bug reports, because this is your turf, I am pure Debian/csec.


?

---------- Post added at 12:25 PM ---------- Previous post was at 12:23 PM ----------

That's unfortunate, you are on.

Man, I have to inspect a network for vulnerabilities.

How should we remain, milouk?

---------- Post added at 12:34 PM ---------- Previous post was at 12:25 PM ----------

Oh, and I don't know if you noticed that, but the System says Sphinx 3.5..

That made me flash the same kernel, or the non-oc build twice and the other once...pretty funny, just make the according corrections to avoid confusions..
:eek:
 

milouk

Recognized Developer
Nov 7, 2013
1,875
4,972
Athens
milouk.me
Quite the issues with wifite/airmon-ng, in particular the power supply, which is with the official nethunter kernel
for 8.1 stock no problem, therefore sth. is interfering.

I wrote a entire bug report to you, the same night and Xda ra*ed in theory at least. :/

Airodump-ng is working curiously and I promise you, that I will camp in the issue section in Nethunter's gitlab section, which is is nevertheless my home since tjey butchered the Oreo kernel for the Angler.

Lineage is not compatible with the Privacy guard sh*t and Nethunter, btw.

Omnirom, as always, smooth as silk.

I suspect that there is sth. wrong with the power supply.

I charged extra the device, twice and used dozens of my Wlan adapter, firstly the ones with lowest power consumption.

Maybe you send me instructions how I could send you proper bug reports, because this is your turf, I am pure Debian/csec.


?

---------- Post added at 12:25 PM ---------- Previous post was at 12:23 PM ----------

That's unfortunate, you are on.

Man, I have to inspect a network for vulnerabilities.

How should we remain, milouk?

---------- Post added at 12:34 PM ---------- Previous post was at 12:25 PM ----------

Oh, and I don't know if you noticed that, but the System says Sphinx 3.5..

That made me flash the same kernel, or the non-oc build twice and the other once...pretty funny, just make the according corrections to avoid confusions..
:eek:


I yeah i forgot to change the kernel version string....its 3.6 i assure u ;)
 

mspasov

Senior Member
Jan 6, 2017
148
46

Attachments

  • Screenshot_20190710-150841.png
    Screenshot_20190710-150841.png
    125.9 KB · Views: 140

N5X_ita

Senior Member
Mar 20, 2016
65
17
As mentioned

Bonne chance!

Thanks for the help, sir!
Sorry for the follow up but before proceeding, I feel the urge to ask a couple of more things:
1) As I mentioned, I have the ver 3.1 non OC. Is it safe to load these presets? I'm afraid they could refer to some tweaks modified with the next version. But I assume that it's safe.

2) I use EX kernel manager: what are these files? Are they script or are they user setting?
Pardon for my noobyness but could you please tell me what to do with these files? Or just tell me what procedure to search? Thanks in advance!

3) is https://forum.xda-developers.com/showpost.php?p=68330029&postcount=4418 this the procedure I have to perform?
 
Last edited:

UsPdSr

Senior Member
Sep 26, 2016
724
327
31
San Hackàr
Hoeh, what is there not you understand?

You are the only one how does not seem to understand me. ;/

And I write with Irish, English and Americans constantly, without any misunderstandings. :(

I wrote precisely answers to what you are asking in the PM.

Phone=charged twice, because I had the assumption, as well.

Adapter=not even the TP-LINK seems to get enough power.

Monitor mode is dropping constantly.

cya

PS

This could be interpreted as harsh, but is only frustration from my side. ;)
 
Last edited:

milouk

Recognized Developer
Nov 7, 2013
1,875
4,972
Athens
milouk.me
Hoeh, what is there not you understand?

You are the only one how does not seem to understand me. ;/

And I write with Irish, English and Americans constantly, without any misunderstandings. :(

I wrote precisely answers to what you are asking in the PM.

Phone=charged twice, because I had the assumption, as well.

Adapter=not even the TP-LINK seems to get enough power.

Monitor mode is dropping constantly.

cya

PS

This could be interpreted as harsh, but is only frustration from my side. ;)

Alright i never understood that the issue is that the adapters are not getting enough power.

Be sure to use a correct type C to Usb A adapter. Thre are some adapters that do not support OTG.
 

UsPdSr

Senior Member
Sep 26, 2016
724
327
31
San Hackàr
Alright i never understood that the issue is that the adapters are not getting enough power.

Be sure to use a correct type C to Usb A adapter. Thre are some adapters that do not support OTG.

I tried several OTG capable adapter, mate.

I have two from Anker, one from Google etc..

Also, to don't disillusion and disappoint you totally (maybe), the adapter(Wlan NICs) are going into Monitor mode after typing in the according command, but don't get recognized by most of the tools(for example Wifite2, which is a pretty basic wlan pen-test tool written in Python), although 'iwconfig' show the chipset as 'wlanXmon'.

I hope this was basically understandable. :)

The only thing is I don't know how I could display the error/bug or whatever, because Android development is not my field of work..?

:(

With best regards
 
Last edited:

UsPdSr

Senior Member
Sep 26, 2016
724
327
31
San Hackàr
@milouk

---------- Post added at 08:15 PM ---------- Previous post was at 08:04 PM ----------

Thanks for the help, sir!
Sorry for the follow up but before proceeding, I feel the urge to ask a couple of more things:
1) As I mentioned, I have the ver 3.1 non OC. Is it safe to load these presets? I'm afraid they could refer to some tweaks modified with the next version. But I assume that it's safe.

2) I use EX kernel manager: what are these files? Are they script or are they user setting?
Pardon for my noobyness but could you please tell me what to do with these files? Or just tell me what procedure to search? Thanks in advance!

3) is https://forum.xda-developers.com/showpost.php?p=68330029&postcount=4418 this the procedure I have to perform?

Sorry, I was preoccupied.

Basically, if you have the EX kernel manager, you dont need these CPU-Governor presets. :)

Just look under 'tools' and then you can try them out.

If you afraid that this will result in Blod, then just go with Heimdall or GlassFish.

I am not that fund of these configurations.I use custom kernel at times, but leave them as they are, secondly has the 5x other tasks in my use.

It's no problem to ask, if you haven't the experience.

I wish every "beginner" would be as polite and detail oriented as you. :good:
 
  • Like
Reactions: N5X_ita

mspasov

Senior Member
Jan 6, 2017
148
46
I don't want to go OT, but could you please make a brief description of your system. That battery is amazing! Thanks!
Nexus 5x, PixelExperience June patch, flashed over the latest stock Google image (December), rooted latest Magisk. I modified Kernel settings with exkm: both clusters Max 1632 MHz, min 302, touchboost disabled
 
  • Like
Reactions: CLPose and UsPdSr

UsPdSr

Senior Member
Sep 26, 2016
724
327
31
San Hackàr
Nexus 5x, PixelExperience June patch, flashed over the latest stock Google image (December), rooted latest Magisk. I modified Kernel settings with exkm: both clusters Max 1632 MHz, min 302, touchboost disabled

Sorry, for further OT, but did you have to install the latest stock first and after flashing the rom over the image?
Is this correct?

Seems barbaric.

I couldn't even find the according thread with those instructions. :(

But if it's not an Overlay, rather a fully Pie rom then it's not for me anyway.

I stay away from those, even if the 5x is a tool for work, it's a important piece of hardware history, in my very humble opinion. :)


#NexusIsAndroid
 
Last edited:

mspasov

Senior Member
Jan 6, 2017
148
46
Sorry, for further OT, but did you have to install the latest stock first and after flashing the rom over the image?
Is this correct?

Seems barbaric.

I couldn't even find the according thread with those instructions. :(

But if it's not an Overlay, rather a fully Pie rom then it's not for me anyway.

I stay away from those, even if the 5x is a tool for work, it's a important piece of hardware history, in my very humble opinion. :)


#NexusIsAndroid
It doesn't matter which Pie ROM you install, you have to have it over stock the first time you flash it. In my case, I flashed latest stock December through fastboot 4 months ago, wiped cache, dalvik and data, and flashed the ROM over. After that I just dirty flashed April, May and June versions of the ROM
 

UsPdSr

Senior Member
Sep 26, 2016
724
327
31
San Hackàr
It doesn't matter which Pie ROM you install, you have to have it over stock the first time you flash it. In my case, I flashed latest stock December through fastboot 4 months ago, wiped cache, dalvik and data, and flashed the ROM over. After that I just dirty flashed April, May and June versions of the ROM

That still doesn't tell me to which rom you were referring..? :/

But thanks for the quick tutorial.

:cowboy:

ps

I saw that you answered my question regarding the flashing procedure before, altough I have never heard of such steps and were just curios.Nevertheless.
 
Last edited:

mspasov

Senior Member
Jan 6, 2017
148
46
That still doesn't tell me to which rom you were referring..? :/

But thanks for the quick tutorial.

:cowboy:

ps

I saw that you answered my question regarding the flashing procedure before, altough I have never heard of such steps and were just curios.Nevertheless.
I was referring to PixelExperience ROM, as mentioned
 

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    1xXnZk3.png
    Introduction
    Ahoy everyone,

    I decided to share my personal custom kernel with all of you. The main reason i started developing this kernel is to balance performance / battery / security and also add features.

    I believe i have included most of the usually requested features. If your feature is not included you can ask for it and i will try to include it as long as you don't ask for ETA's. I am a student and i do this on my spare time.

    This kernel is based on LineageOS 16.0 sources for bullhead and has been upstreamed to version 3.10.108.
    Moreover, it is compiled with GNU GCC Toolchain which is based on latest gnu.org changes and patched with AOSP and Linaro Android patches for optimal performance/battery.

    So let's jump to the interesting part!

    Sphinx Kernel Features
    • Upstream Linux version from 3.10.73 to 3.10.108
    • Compiled with GNU GCC Toolchain 8.2.1
    • Built with -O2 optimizations
    • Makefile Optimizations
    • Always Latest Security Patch (December)
    • Some CVE Patches
    • Overclock to 2150 MHz for the Big and 1747 MHz for the Little
    • Underclock to 302 MHz for Big & Little
    • Faux Sound Control
    • High Performance Audio
    • Adreno Idler
    • AdrenoBoost
    • Adaptive Low Memory Killer
    • LazyTime Support for ext4
    • Qnovo Charging Interface
    • Boeffla Wakelock Control
    • Input Boost Driver
    • USB Fastcharge
    • Power Efficient Workqueues
    • Dynamic Fsync v2.1
    • sdFAT Support
    • Overclocked SLIMbus
    • WiFi Channel Bonding
    • mac80211 Injection Patch
    • Thermal Threshold Control
    • WireGuard Support
    • ARCH_POWER Interface
    • Voltage Control (A53) - (A57)
    • Frandom Support
    • Hima Hotplug
    • MSM_Hotplug v2.4
    • MSM Thermal Patches by @jollaman999
    • New Square Root Algorithm
    • Powersuspend v1.7 Support
    • Earlysuspend Support
    • Process Reclaim (Enabled by default)
    • UKSM Support (Disabled by default)
    • CRC Toggle - 30% Boost
    • Kcal Advanced Color Control
    • TouchBoost Control (Disabled by default)
    • Backlight Dimmer
    • Vibration Control
    • exFAT Support
    • WakeUp Boost Driver
    • Does NOT force encryption
    • Fingerprint Boost Driver
    • DoubleTap2Wake
    • Sweep2Sleep
    • Sweep2Wake
    • Camera Launch Gesture
    • Pass SafetyNet without Root/Magisk
    • Gentle Fair Sleepers Control
    • NetFilter Advanced Options
    • TTL Target
    • Governors : relaxed, chill, Intelliactive, blu_active, interactive, ondemand, userspace, powersave, performance
    • I/O Schedulers : noop, deadline, row, cfq, maple, fiops, sio
    • TCP Options : bic, cdg (default), westwood, htcp, hstcp, hybla, vegas, scalable, lp, veno, yeah, illinois
    • Atheros 9 Wireless Cards Support
    • Ralink 27xx / 28xx / 30xx Wireless Cards Support
    • BLOD Support
    • Pie 9.0.0 Support
    • ext4 Upstream Commits from 3.18 and 4.1
    • Zipped up with AnyKernel2 from @osm0sis

    Special Thanks
    @razorloves, @nathanchance, @mr.ace, @flar2

    Notes
    I bear absolutely no responsibility. If you brick your device. If you are not sure what a kernel is, how to flash it or how to restore your phone in case something goes wrong then do NOT proceed.
    Morever, you should flash this kernel only over the stock kernel that came with your Rom.

    Downloads - Version 3.6
    Sphinx 3.6 : https://www.androidfilehost.com/?fid=6006931924117911438

    Sphinx 3.6 : without OC : https://www.androidfilehost.com/?fid=6006931924117911451

    Note: The ONLY difference is Overclocking.




    /-----------------------------------------------------------------------------/​


    I have dedicated countless hours developing this kernel so if you like my work consider buying me a coffee to help me stay awake an keep improving Sphinx.


    /-----------------------------------------------------------------------------/​

    XDA:DevDB Information
    Sphinx Kernel, Kernel for the LG Nexus 5X

    Contributors
    milouk
    Source Code: https://github.com/milouk/Sphinx-Kernel-Bullhead

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: 3.6
    Stable Release Date: 2019-07-07

    Created 2018-05-07
    Last Updated 2019-07-07
    21
    Version 3.2

    Hello Guys!!

    New Version is up! Sorry for the delay i had so many things to do the past weeks, i barely had enough time to sleep.

    Changelog :
    -Merged September Security Patch
    -Updated Wireguard
    -Updated Toolchain to 8.0.1
    -Added TTL Target Control for more info check here https://www.linuxtopia.org/Linux_Firewall_iptables/x4799.html
    -Enabled Mangle
    -Enabled Netfilter Advanced

    Hope you enjoy it!


    Cheers :highfive:
    18
    Version 2.9

    Ok, guys I have arrived home and it's time for version 2.9.

    Note : In version 2.9 i decided to invest in the compiling procedure too instead of just adding features. I think that the compilation procedure is very critical in terms of performance and battery and thus should not be neglected. For this reason the changelog below includes many building/compiling changes that have vastly improved performance and battery life

    Changelog :
    -Added Wake Up Boost Driver
    -Default Thermal Threshold is now 43 - it is the golden spot (you can always change it)
    -Prioritize Fingerprint unlock when screen is off
    -Display Optimizations for better battery
    -Workqueue Improvements
    -Merged a "hack" that can improve internet speed
    -Fixed the bug that didn't let UnderVolting the highest frequency of the A57
    -Update WireGuard Backend Module to version 0.0.20180625
    -sdFAT Support for vFAT and exFAT filesystems
    -Added Relaxed Governor
    -Adapted Chill Governor to Little.Big Architecture
    -Overclocked SLIMbus - This will provide the best possible audio our hardware can support. For more info on SLIMbus click here https://en.wikipedia.org/wiki/SLIMbus
    -Now Compiling with UBER Toolchain 8.0.0 - This is the first kernel for bullhead to be compiled with the latest and greatest version of GCC
    -Makefile Optimizations for better performance and battery life.
    -New Hima Hotplug Script Attached

    Cheers and Enjoy :highfive:
    14
    Guys!

    I finally gathered some money and moved on to a Mi 8.
    Sphinx was my first android project and i would like to thank all of you for the support i got. It was a quick but amazing journey. I hope i see you around.


    Im going to continue and maintain Sphinx security- wise but i won't be adding any more features.

    Thank you all again!!

    Cheers!
    14
    Version 3.1

    Aloha Guys, it's been a while...

    You can say this one is a "big" update heheh!

    Changelog :
    -USB FastCharge - Note (1)
    -ext4: Support Lazytime - Note (2)
    -Added MSM_HOTPLUG v2.4 - Note (3)
    -New Square Root algorithm which is 3x Faster.
    -Adreno improvements
    -Added AdrenoBoost Parameter
    -Further disable Gentle Fair Sleepers
    -Added ARCH_POWER interface - Note (4)
    -Disable add_random - Note (5)
    -Numerous ext4 upstream commits from 3.18 and 4.1
    -Thermal patches by @jollaman999 - Note (6)
    -Many Low Memory Killer Improvements
    -Added Adaptive Low Memory Killer - Note (7)
    -SdFAT Upstream improvements
    -Added Process Reclaim (enabled by Default)
    -UKSM Improvements
    -MSM8992 (Snapdragon 808) Upstream improvements from 4.10
    -Qnovo Charging Interface - Note (8)
    -SLIMBUS OC Fix
    -Added PowerSuspend v1.7 - Note (9)
    -Added EarlySuspend
    -Merged August Security Patch - Note (10)
    -Update Wireguard - 0.0.20180802 - Note (11)

    Notes :

    Note 1: USB fast charge increases the input limit from 550 mAh to 1500 mAh. You can check it with Ampere from Play Store.
    Note 2: Very Interesting feature check here https://lwn.net/Articles/621046/ and here https://lwn.net/Articles/620086/.
    Note 3: See tunnables here: https://github.com/milouk/Sphinx-Kernel-Bullhead/commit/32034a5115c306f11eb7ee5d039d482423fe5080
    Note 4: You need Kernel Adiutor to configure it.
    Note 5: add_random was implemented for spinning hard disks. It only slows SSDs down. Read here http://wiki.samat.org/SSD for more info.
    Note 6: Taken from Jolla Kernel (https://forum.xda-developers.com/nexus-5x/orig-development/jolla-kernelbullhead-t3271530) credits to @jollaman999
    == MSM Thermal Tunable options ==
    Parameters are here '/sys/module/msm_thermal/parameters'

    [msm_thermal Tunable options]
    = poll_ms - msm_thermal will check the device's temperature every this milli seconds.
    = temp_threshold - Limit the frequency of LITTLE when the temp is reached to this value.
    = temp_big_threshold - Limit the frequency of big when the temp is reached to this value.
    = temp_big_off_threshold - Turn off the big cores when the temp is reached to this value.
    = temp_step_little - If 'temp_step_little = 4' and 'temp_threshold = 60', frequency will decrease like below.
    └─temp = 60 --> LITTLE's max frequency will decrease one step.
    └─temp = 62 --> LITTLE's max frequency will decrease one step.
    └─temp = 63 --> LITTLE's max frequency will decrease one step.
    └─temp = 64 --> LITTLE's max frequency will decrease two steps.
    └─temp = 65 --> LITTLE's max frequency will decrease two steps.
    └─temp = 68 --> LITTLE's max frequency will decrease three steps.
    = temp_step_big - If 'temp_step_big = 2' and 'temp_threshold = 60', frequency will decrease like below.
    └─temp = 60 --> big's max frequency will decrease one step.
    └─temp = 61 --> big's max frequency will decrease one step.
    └─temp = 62 --> big's max frequency will decrease two steps.
    └─temp = 63 --> big's max frequency will decrease two steps.
    └─temp = 64 --> big's max frequency will decrease three steps.
    = freq_step_little - Frequency decrease step for little.
    = freq_step_big - Frequency decrease step for big.
    = temp_count_max_little - If this value is 3, LITTLE's max frequency will decrease 1 to 3 steps.
    = temp_count_max_big - If this value is 5, big's max frequency will decrease 1 to 5 steps.

    Note 7: Makes LMK more aggressive dynamically when a thrashing scenario is detected.
    Note 8: Qnovo QNS is the battery charging controller. This technology helps batteries stay cool while charging and thus expanding their life see here for more info https://qnovo.com/technology/
    Note 9: Better be configured with Kernel Adiutor, more info here https://github.com/milouk/Sphinx-Kernel-Bullhead/commit/dd34fecbff5fadfc3de941b3396aaca313800b44
    Note 10: More info here https://source.android.com/security/bulletin/2018-08-01
    Note 11: Changelog here https://git.zx2c4.com/WireGuard/log/


    Aaaaaand Enjoy! :highfive:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone