yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] UsPdSr:
If such problems occur it's just not enough information.

A boot loop can have different reasons - keyword: BLOD.

Which is presumable from what I understand by reading your posting.

Next time I would be much more careful to post assumptions like this without any kind of logs or similar information to support those.

---------- Post added at 10:30 PM ---------- Previous post was at 09:54 PM ----------

First of all: amen, brother.

I admire your nonchalantly. ;)

In regard to your update, do I have to say, thank you very, very much!

It's nice that you are keeping your word and don't abandon this project, foremost in particularly this/our device here.

Because I own the 5x just a month and used a custom rom for your and Zest's kernel only for testing purposes, I wanted to ask you or maybe other members, if somebody can recommend one, but please only Oreo roms (I am not BLOD 'affected') which would go nicely with milouk's kernel?

I know that this question is maybe considered as OT and quite newbiesque, but I don't have that much fun of flashing variously.

Thanks in advance and
[Nexus 5X Original Android Development] mspasov:
Latest Sphinx on Nexus 5x
[Nexus 5X Original Android Development] N5X_ita:
Hi guys: I need some help!

I don't know where to start in order to set the right values in ex kernel I use to tune sphinx kernel v3 1 that came prebuilt in Pixel3ROM v1.0oct ROM.

I messed up with some values and I can't find an option to set all values to default.

I searched for ghost pepper profile in interactive governor but I was non lucky since there was none.

Can please someone tell me what to choose in order to get a snappy&cool phone? is there a way to just load a configuration et voilà, le jeaux sont faites !
[Nexus 5X Original Android Development] UsPdSr:
I have massive errors with the setup of my 6p or the XDA app, sry.

I am on work and could only find a few on my ftp (@profiles)
[Nexus 5X Original Android Development] UsPdSr:
As mentioned

Bonne chance!
[Nexus 5X Original Android Development] milouk:
That is purely amazing man!

Did the Wifi Adapter work mate?
[Nexus 5X Original Android Development] UsPdSr:
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..

:o
[Nexus 5X Original Android Development] milouk:
I yeah i forgot to change the kernel version string....its 3.6 i assure u ;)
[Nexus 5X Original Android Development] mspasov:
And it gets even better:)
[Nexus 5X Original Android Development] UsPdSr:
And regarding the site long issue report?

I send you a PM, if you have a idea let me know..
[Nexus 5X Original Android Development] N5X_ita:
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://xdaforums.com/showpost.php?p=68330029&postcount=4418 this the procedure I have to perform?
[Nexus 5X Original Android Development] milouk:
Honestly i didnt quite understood what you said.

Do your Wifi Adapters work with Sphinx 3.6?

What is the issue with power supply? Doesnt your phone charge?
[Nexus 5X Original Android Development] UsPdSr:
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. ;)
[Nexus 5X Original Android Development] milouk:
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.
[Nexus 5X Original Android Development] UsPdSr:
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
[Nexus 5X Original Android Development] CLPose:
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 Original Android Development] UsPdSr:
[MENTION=5533673]milouk[/MENTION]

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

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:
[Nexus 5X Original Android Development] mspasov:
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
[Nexus 5X Original Android Development] UsPdSr:
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
[Nexus 5X Original Android Development] mspasov:
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
[Nexus 5X Original Android Development] UsPdSr:
That still doesn't tell me to which rom you were referring..? :/

But thanks for the quick tutorial.

:svetius:

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.
[Nexus 5X Original Android Development] mspasov:
I was referring to PixelExperience ROM, as mentioned
[Nexus 5X Original Android Development] UsPdSr:
[MENTION=5533673]milouk[/MENTION]

So I pulled the log.

I would appreciate if you could look over the crash report.

Much obliged

:)
[Nexus 5X Original Android Development] FSadino:
Of topic posts cleaned.

Keep this thread on topic and avoid any other non related subjects!

I'LL BE BACK
[Nexus 5X Original Android Development] milouk:
Nice catch. Im going to fix this one too.
[Nexus 5X Original Android Development] milouk:
Ok guys! Thanks for the feedback. I have already fixed those two. Im going to have them in the next build which will come out once i figure out how to disable force encryption. If you cant wait for the next build just pm me.
[Nexus 5X Original Android Development] jugoslavpetrovic:
That's fine, I would appreciate non forced encryption as well.
[Nexus 5X Original Android Development] milouk:
This is what im trying to figure out. When i have something tangible will you please test it for me ?
[Nexus 5X Original Android Development] jugoslavpetrovic:
Oh, sorry my free time is very messed for testing. I surely would but it is hard for me since I work at restaurant and weekends are full as well, my whole days are lost. I don't spend much time at home for backing up and restoring in case it encrypt me again like it did first time I tried this kernel and had some issues with my device.
[Nexus 5X Original Android Development] milouk:
No worries. Ill do it myself
[Nexus 5X Original Android Development] milouk:
Hey guys i made a version that does NOT force encryption. I have tested it and it works but before i release it i need at least one more person to test it.

Here is the link https://www.androidfilehost.com/?fid=674106145207487976.

In order for this to work you need to wipe first your data partition if you are already encrypted.
[Nexus 5X Original Android Development] mosta00:
I already flashed it, and i keep uncrypted yet. :good:
[Nexus 5X Original Android Development] milouk:
That is great. If you were UNencrypted before and after flashing it you are STILL UNencrypted then it works as intended. Thanks a lot for testing
[Nexus 5X Original Android Development] Lughnasadh:
Thank you so much for doing this for us. I just wanted to add a little here for everyone. You actually need to "format" your data partition, not wipe, to decrypt an already encrypted device. Do this either through TWRP (Format Data Partition function), or with fastboot (fastboot format userdata). Be warned as this will wipe everything on your internal storage so back up your stuff.

Then when flashing your rom, GApps and this kernel, you must not flash either Magisk or SuperSu at this time to see if the disabling of force encryption works on the kernel because both Magisk and SuperSu will also disable force encryption and keep you decrypted.
[Nexus 5X Original Android Development] milouk:
You are welcome. Im happy to see satisfied users. Im going to upload v2.5 shortly.
[Nexus 5X Original Android Development] milouk:
Version 2.5

Ahoy everyone!

First of all i would like to thank you all for your support and your feedback. It means a lot to me.

-Created AnyKernel2 script from scratch

-Overclock default values are stock 1824 Mhz for the Big and 1440 Mhz for the Little.

-TouchBoost is disabled by default now.

-Does not force encryption (for non-rooted users)

Enjoy. Links in the OP
[Nexus 5X Original Android Development] jugoslavpetrovic:
Thanks a ton.
[Nexus 5X Original Android Development] Lughnasadh:
Thanks for the update. All seems great except the Big cluster is still set to 2016 by default I believe. Little cluster is 1440 :good: . Doesn't matter to me but just thought I'd point it out. No worries...
[Nexus 5X Original Android Development] milouk:
Are you sure? Im going to fix it tomorrow. Sorry for the incovenience
[Nexus 5X Original Android Development] Lughnasadh:
Oh, no inconvenience for me :) . Yeah, both EX Kernel Manager and the CPU manager in 3C Toolbox showed it at 2016 (once phone cooled down of course).
[Nexus 5X Original Android Development] milouk:
To be honest mine is correct (the attached photo is right after a reboot without "set on boot" ) . Also you can check /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq and verify it is 1824000.

Are you sure you havent set 2016 on boot? Because on my side everything seems fine.
[Nexus 5X Original Android Development] Lughnasadh:
Yep, lol. You are correct. It actually did show 2016 for me (I actually rebooted and checked again and both times showed 2016)(I didn't have 2016 set on boot either). However, after wiping dalvik and cache, it now shows 1824.

Sorry about that :D:cyclops:
[Nexus 5X Original Android Development] jugoslavpetrovic:
This is correct. Mine shows that as well.

---------- Post added at 09:29 AM ---------- Previous post was at 09:27 AM ----------

Oh, I will do wipe caches to see

---------- Post added at 09:30 AM ---------- Previous post was at 09:29 AM ----------

Umm, the dynamic fsync is actually off as default?
[Nexus 5X Original Android Development] milouk:
Guys always do a wipe cache after flashing to ensure that there are no false alarms. I thought that Dyanmic Fsync should be off by default and let the users decide whether they want it on or not.
[Nexus 5X Original Android Development] UsPdSr:
This was it basically, but of course isn't this here a social get together. ;/

Anyhow.

[MENTION=5533673]milouk[/MENTION]

I was wondering if you had the opportunity to look into the problem respective the log file?

I am happy to test it further for you, if you would tell me, how I can pull the neccessary crash report(s).

As error analysis did I use the same chroot installer again, after I wiped and formatted the entire device of course, went back to oreo stock, with the official kernel from offensives repo.

I hadn't any kind of issues(with this setup though).

:(
[Nexus 5X Original Android Development] UsPdSr:
Hey milouk,

somebody in the Poco forum did report the same issue I have with your kernel.

I told him to mention it to you.

Perhaps you could look into this?
[Nexus 5X Original Android Development] kojak1989:
I downloaded 3.6 but in system info it says that is 3.5
[Nexus 5X Original Android Development] milouk:
Thats my mistake. I forgot to change 3.5 to 3.6. though its stil l3.6 dont worry.
[Nexus 5X Original Android Development] kojak1989:
kernel is dated on last month not this one.
[Nexus 5X Original Android Development] milouk:
What? Even if its says 3.5 its still 3.6 i just forgot to change the version
[Nexus 5X Original Android Development] anonxlg:
I am on elementalx on lineage (8.1) and I'm interested in using sphinx

I have custom settings (glassfish gov, downclocked cpu fq, custom low memory profile + zram settings etc) and using ex kernel manager.

Is there any reason to continue using ex kernel manager if i'm moving away from elementalx? I have franco kernel manager as alternative.

Is there custom settings I should use in conjunction with sphinx kernel?

I also am using magisk+riku core+edxposed and to pass safetynet.

(I guess what i'm asking is, is there a correct sequence of installing/flashing to upgrade to sphinx)
[Nexus 5X Original Android Development] CLPose:
To move to Sphinx, you should have rom stock kernel LOS 8.1, in your case. So you may want to dirty flash your rom again and then Sphinx kernel over it. If you have found a configuration with good balance between performance and battery, I would love to know it. Good luck!
[Nexus 5X Original Android Development] UsPdSr:
Wow, is this still going on.

Milouk, you botched the whole kernel, source, google. :/

.. ;)

As I am responsible for most of the Nethunter support and a couple of User, mainly from the Poco forum, have still enorm problems with airmon-ng respectively iwconfig.

I know you are not that much interested in this sector, but your workload completely to another user/friend whatever dropping is not much of help for either of us.

The problem is that the external Wlan Nics is for some reason either not getting enough power, which is something that is out of your influence, or that another thing is blocking the constant use of a NIC in monitor mode.

I remembered the kernel for Oreo by another user and hope that his git-hub/-lab repo is still available.

Addendum

The syntax is intentionally overwinded, because you are one of the 0 people that have difficulties understanding me. :fingers-crossed:

Here is the kernel for Oreo 8.1

https://github.com/kamarush/bullhead

As you'll see it is based on ElementalX, but as those modification are barely of your caliber dev-wise am I confident you gonna fix it soon. ;)

Even though it is a complete other environment and device, you are being tangent by the same problem with the Xiaomi.

Anyhowsel, as I said, is this purely a courtesy and not a request by myself, because I don't own the device anymore.
[Nexus 5X Original Android Development] :
Hi,

I have removed a few posts as they were off-topic and unnecessary for a development thread.

Please try to show respect to other members and if you want to post drama, keep it to PM's.

Thanks

noppy22
[Nexus 5X Original Android Development] ttocs99:
Flashed sphinx on lineage 15.1 all working well, glad I can lower voltages. Cheers.
[Nexus 5X Original Android Development] milouk:
Glad u like it man! cheers
[Nexus 5X Original Android Development] axelrodmagma:
Hey this is the best kernel for our Nexus 5x. But I have to stay on android 9 with this kernel. Will you upgrade it to android the so we can use it with pixel experience 10.
[Nexus 5X Original Android Development] milouk:
hm yeah you are right. I should have a look at this. Though as far as i know there arent any official sources right? is there an android 10 rom?
[Nexus 5X Original Android Development] axelrodmagma:
https://xdaforums.com/nexus-5x/development/pixelexperience-nexus-5x-t3861437

https://xdaforums.com/nexus-5x/development/bullhead-nexus-rom-t3995623

https://xdaforums.com/nexus-5x/development/rom-blissroms-v12-q-beta-t3998389

https://xdaforums.com/nexus-5x/development/official-bullhead-10-0-ground-zero-roms-t4028681

These are official ones. Other than these there is one unofficial linage is as well

https://xdaforums.com/nexus-5x/development/rom-lineageos-17-1-t4049993
[Nexus 5X Original Android Development] axelrodmagma:
This was the kernel floating around in pixel experience bullhead group(telegram) if you want to take a look at it.
[Nexus 5X Original Android Development] axelrodmagma:
Kernel source

https://github.com/lakgarg/kernel_lge_bullhead
[Nexus 5X Original Android Development] UsPdSr:
[MENTION=5533673]milouk[/MENTION]

Maybe it would be a better idea to avoid some features, if you have plans to continue the kernel(at least for the Nexus), like mac80211 implementation, wireless driver for external Wlan adapter.

I prefer other kernel, but belive that your kernel has many features, which are interesting for user with a different idea of usability.

I wouldn't like to read again dozens of bug reports, after the revision from other user, who do not understand where the mistake lies and you not able to help them(no offense).

Best regards & good luck

:)
[Nexus 5X Original Android Development] axelrodmagma:
Which kernel do you use
[Nexus 5X Original Android Development] UsPdSr:
At the moment?For which purpose exactly?

I don't own the device anymore, but I am happy to recommend you a solid, very elegant coded custom kernel for the full usage of Kali Nethunter: Not this one.

If you are happy with the basic support for Kali (Hid, common chipset support for external Wlan adapter..) plus some great features on top, can I wholeheartedly recommend LazerL0rd's 'Zest' kernel.

If you have interest in some of the recent upgrades by NetHunter, like AC-chipset support.

The maintainer, Re4son, just gave the latest one for this device (Android Stock Oreo 8.1) a good face-lift, with some nice upgrades.

Hope I could be of help :)
[Nexus 5X Original Android Development] axelrodmagma:
Ol I'll try is thanks a lot
[Nexus 5X Original Android Development] droidbot1337:
it would be great to have an update that works with android 10. so far i cant seem to find a kernel that offers exfat support.
[Nexus 5X Original Android Development] paradoxiumwind:
Can you adjust the volume of the calls / microphone like with elementalx kernel/app in any way with this? if not anyone know an easy way to do that?
[Nexus 5X Original Android Development] paradoxiumwind:
Is there any way to tweak the overclocked one myself so it doesn't bootloop?
[Nexus 5X Original Android Development] milouk:
yes you can via a kernel manager app :)

go step by step to check how much overclocking your device can handle. (leave 24 Hour between each step to ensure everything is stable)
[Nexus 5X Original Android Development] Punkiderma:
[MENTION=5533673]milouk[/MENTION] any chance to see this updated to Android 10?

It's the only bullhead kernel with voltage control, and this is very useful since the device tends to overheat? Just to know, thank you anyway :)
[Nexus 5X Original Android Development] kalashnikov6468:
Greeting from 2023 :D have you make it supported android 10 :D? I'm very interested in your project. Waiting fot itt:
[Nexus 5X Original Android Development] jugoslavpetrovic:
I can confirm default clocks on both after wipe of both caches.
[Nexus 5X Original Android Development] jugoslavpetrovic:
But, then again. I did clean install of all and now even after wiping the caches big core is set default to 2016Mhz. Confused.
[Nexus 5X Original Android Development] milouk:
you can check /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq and verify it is 1824000.

Moreover dont see the cpu statistics as it can use the 2016 freq for some seconds before settling to 1824.

Finally be sure you flashed the correct zip which is 2.5
[Nexus 5X Original Android Development] jugoslavpetrovic:
Checked, it the file there says 2016.
[Nexus 5X Original Android Development] milouk:
That is very weird mine is 1824000. Are you sure you flashed the correct version? Can you flash it again and wipe cache just in case?
[Nexus 5X Original Android Development] jugoslavpetrovic:
Of course, I did that.
[Nexus 5X Original Android Development] milouk:
Frequencies are hard to control. I have edited the init.rc file in Anykernel2 file to set the maximum freq to 1824. That is how its done. You can extract the zip file and see for yourself open the ramdisk folder and see the init.rc file it states that the maximum freq should be set to 1824. I will check it again though when i have some time. Thanks for your feedback. What about the little cores? Are the clocks default?
[Nexus 5X Original Android Development] jugoslavpetrovic:
Yes, little cores are fine. Busy now, will check that rv file today later
[Nexus 5X Original Android Development] milouk:
That is very strange because the same piece of code sets the default freqs. Anyway when i find some time i will make another test version.
[Nexus 5X Original Android Development] jugoslavpetrovic:
Ramdisk
[Nexus 5X Original Android Development] milouk:
As you can see the max freq of the big clusters is correctly set. Though im gonna make a test version with some things changes
[Nexus 5X Original Android Development] Lughnasadh:
Once in a while after a reboot mine will also switch to 2016. Most of the time its 1824. Haven't found any pattern of when it does this. Little cores stay at 1440.
[Nexus 5X Original Android Development] mr.ace:
Probably you should add a code to enable all cores before set big cluster freq

something like this

write /sys/module/msm_performance/parameters/max_cpus "-1:-1"