yashsingh1/xdaforums huggingface dataset:
[HTC One X] Kriz206:
If so there is no reaction from OTG at all. I hope that one day i will be able to use my pendrive with smartphone. 25 GB of memory is way less then my microSD from HD 2 (32GB) and in my HD 2 fit all of my filles was a tough job to do.

Maybe the HTC will implement OTG in next kernell because One X has all it takes to get this working. All we need is a good will of HTC (or a great work of xda).
[HTC One X] ORStoner:
How do you use USB Host on stock Rom???
[HTC One X] kholk:
I'm about to get at home.

In a day I'll release a new version and I'll also better test the OTG functions.
[HTC One X] Kriz206:
I look forward to it !

Thanks man that would be great. I cant wait to see improved version of kernel. Besides can you add sweap2wake or something like that in your next kernel ?
[HTC One X] kholk:
I can. Not on the one that it's about to be published, but on the next one.

I want to test its behavior and its impact on battery life and other vital things prior giving you all things :P

Uploading the new version.....
[HTC One X] Rycon33:
hi kholk, on your future releases when USB on-the-go is finally working, will this app work on mounting/unmounting flashdrive
[HTC One X] kholk:
Yup, probably.

v0.70 is up! Changelog on first post.
[HTC One X] franciscofranco:
I see what you did there.
[HTC One X] timlambo:
/\

| |

| |

and is also a sense based rom.
[HTC One X] nelsonw:
Ok. Good. I was confused for your sig... Can u send me the wpa bins?

/system/bins/ the 2 wpa files. Thanks!
[HTC One X] jonas2295:
Sry forgot to mention that :)
[HTC One X] -JFK-:
Hi,

V0.36 and 0.37 won't boot at my side...

I am alone ? Any suggestions (I'm under Kholk CM10) ?

Thank you.
[HTC One X] timlambo:
Yes I think you're alone I'm afraid. Make sure that you do download the right version.

You should go to his site, where you downloaded his rom, and in the same thread is the kernel you need to use with jb.
[HTC One X] kholk:
If you play an 8-bits audio file, it will play as 8-bits.

If you play a 32-bits audio file, with my kernel it will play at 32-bits. With other kernels (including stock) it will be downsampled and will be played at 16-bits.

My 32-bits modification makes you able to play high quality audio streams (from videos or audio files, like MP3s etc) at their full quality.

As a side note, you should hear the difference only using headphones/earphones (etc), because the speaker in the X is ... crappy! (like practically every other phone's speaker)

About that undersampling of the ondemand governor... I'll try to explain in easy words and I hope you'll understand:

1. It makes you able to save some power because when your CPU load decreases it will decrease your CPU frequency some instants prior normal

2. It makes you unable to save some power because the point 1 also implies that the load will be checked in less time, so it will be checked more times than normal. That checking uses your CPU (so, increases CPU load).

Point 1 + Point 2 = Point 3

3. Ergo, it's useless and messy. :P

About that 1700MHz thing... damnit yeah I've noticed that too just some days ago! I'll get on it as soon as possible!

@-JFK-

Are you using the correct version?

Remember that the CM10 version is on the CM10 ROM's thread!
[HTC One X] nelsonw:
@kholl any idea why wifi isn't working on ARHD? First I used only kernel (repacked) and modules (so with original wpa bins) and after that with your EXECUTE_ME with your wpa bins and didn't work either. But works on Viper ROM.
[HTC One X] rahulnahar:
Thanks for the explanation mate. :)

What about the WiFi dropping issue ? Any manual fix ? Really want to use thus kernel but I use WiFi all the time. :(
[HTC One X] DaMiGe:
I have the same (boots on ARHD but not Kholk CM10) added logcat. Seems to be some audio-related issue which causes a loop without reboot.

Also Trip's kernel allows Kholk CM10 (0.06) to boot without issue

After successfull boot with Trips kernel i switched back to Kholk 0.37 (regular) and i different logs(see log2.zip)

I hope this is of value to you

Nevermind, was using the non CM10 version. Sorry !
[HTC One X] timlambo:
Thanks for the quick reply.

I'm quite aware of what it's function is and the implications. I thought that the little lag left in the drawer(sense roms) would be removed if the frequency check is increased. As the check is more often, which will result in a "quicker" step up or down for that matter(but can be manipulated with sampling factor). This is only for ui, but in games I can control it a bit with the sampling factor as mentioned before.
[HTC One X] nelsonw:
I think u r using bad kernel version. Use CM10 version.
[HTC One X] LordMach:
What i do wrong?

Using latest RD-MIUI (ics + sense) rom and only 0.27 version works right. I want newer kernel and tried repack with couple tools. With this I choose to upper working kernel and and lower new 0.37 kernel and then replace repacked kernel to folder where I have unzipped that whole zip. When launched execute_me.bat, everything looks fine. Trying boot and stuck in bootloop. Any advice?

Tried also repacked kernel what downloaded from RD-MIUI thread. Does not work either. :rolleyes:

*bump*
[HTC One X] DaMiGe:
Ooops ! that wont happen again, thanks ! :good:
[HTC One X] devil-strike:
Just flashed new rom and the new kernel 0.37 on ARHD 9.3.1

Results are good only one minor detail is still not functioning that's is bluetooth, it wont start at all.

When i push bluetooth on it goes to off that's it really Wi-Fi is working fine sense start immediately after reboot.

So great work kholk and thanks for this almost perfect kernel
[HTC One X] nelsonw:
I'm starting to guess it's my problem... Will flash ARHD 9.3.1 again... :( Thanks.

@timlambo I did what u said. Use ARHD files and didn't work... :(
[HTC One X] starbase64:
Hi,

here is my first review of 0.37 (regular version on viperX):

- Wifi comes and goes as it pleases, it is useless

- strong freeze such as SOD, but display goes on however device can not be used

cheers

starbase64
[HTC One X] angusc:
With the greatest respect to Kholk, how can this kernel be classified as [STABLE] in the main thread title.....?

Sent witH desire from One X
[HTC One X] timlambo:
It boots fine and is usable as a daily driver. That is why it can be called stable.

@Starbase

I don't have any WiFi issues on Viperx. I used Franco's kernel before that. Only a little heat, but nothing major.
[HTC One X] ZeroInfinity:
I have the WiFi issue but its not useless to me, I can at least use it without disconnecting all the time with screen on, I very rarely have that second issue.

It's pretty stable for me now, rarely any bugs pretty fast also ;) got 30-40 second boot time without fastboot on

Sent From My Super-Fast Quadcore Overclocked @ 1.6GHz HTC ONE X Rezounded with Beats Audio and One eXtreme Sound Enhancer
[HTC One X] gc48067:
Stable is defined by each user depending on what they use. It's certainly not unstable from what I've tested with it but I can't use it as the WiFi issue is a deal breaker for me. Stable doesn't mean issue free.

Also bear in mind that a manufacturer would put hours and hours of testing into a Kernel before releasing it, XDA devs don't likely have that kind of resource and have to deal with a multitude of different Roms to boot (excuse the pun).
[HTC One X] Actura:
well this kernel is stable for daily use as written on the thread's title ;)

i only got a weird bug like "screen suddenly freezing and i cannot do anything about it, and i rebooted my hox using power + vol down, it's normal again" on CM10 EternityProject + 0.34 kernel :eek:

unfortunately i don't take any usefull error log from that :(, now i will test the 0.37 and report if i found any bug :D
[HTC One X] kholk:
I'm sorry but... you know... I can't test every ROM out there... :|

I can anyway tell you that the WiFi driver is being reviewed for the next version.

Yeah it COULD remove a little lag in Sense, but it WILL make your device to eat the normally-in-stock-kernel insane battery amount.

I think that really much (in some conditions) more battery life with some random and not really tedious lag in such a sh%$&# software (Sense) is better than less battery :P

If you think different about that, explain your reasons: you may make me rethink on that!

Kernel bootloop or ROM bootloop?

Anyway, post the logs and we'll see what's happening........

Post logcat and last_kmsg while trying to enable Bluetooth. That may happen because of old HTC userspace libraries.

HTC is making a mess with BT: old libs aren't working with new drivers .. and old drivers aren't working with new libs.

HEADACHE!!!! :P

P.S.: On CM10-EPRJ with the 2.17 libs it's working!

The WiFi problem is known to happen with Sense, and I said that I will review the driver for the next version.

About the freezes, I forgot to remove SIO: go change the IO scheduler to Deadline (System Tuner, SetCPU, AnTuTu CPU Master etc).

Watch some lines up in this post for the solution :P
[HTC One X] nelsonw:
Ok, if u need help testing out, please ask me.

didn't work ~~> Tim, a ViperX User says Wifi works for him, makes sense to change the wpa files with that ROM? Thanks!
[HTC One X] kholk:
It makes sense. Try! :D

Don't forget to make a backup, eh!
[HTC One X] nelsonw:
didn't worked. Maybe with Tim's files. I've tried everything. Planning on using ViperX.. LOL
[HTC One X] edsib1:
the wifi keeps dropping where it used to have a 100% connection with InsertCoin 9.4.0 and 0.37 Regular.

The wifi signal shows as 80-100% but then seems to just lose connection.

Otherwise fast & slick, but this bug needs fixing.
[HTC One X] steveman29:
I have the same problem. WiFi keeps dropping.
[HTC One X] kholk:
Good news!

I've found a definitive fix for the WiFi.

It will be integrated into v0.38.
[HTC One X] timlambo:
I'll help with the wpa files shortly. Just having a meeting now and then I'll upload the files when I return home.
[HTC One X] kholk:
Those WPA files will most probably be useless with v0.38.... :°)
[HTC One X] gc48067:
Really looking forward to testing the WiFi fix....running a non-Sense ROM (tgascoigne's JB ROM) which works really well with your Kernel is it wasn't for that darn WiFi :)
[HTC One X] LordMach:
What logs needed and what is easiest way get them after bootloop?
[HTC One X] MickyMax:
Released when?
[HTC One X] timlambo:
Guys here is a upload of just the wpa files for sense roms. I had no problems with wifi, so decided after a request to upload them. Here they are and enjoy:

http://db.tt/PaclRkOY

You just have to replace the binaries folder in the extracted kernel ,with this one. Run the Execute_me.bat and hopefully better wifi. This might be a temp solution, until the new update from kholk.
[HTC One X] nelsonw:
u r the man! can't wait!

Sadly, the last try didn't work. Lucky for us, Kholk have better ideas! :)
[HTC One X] timlambo:
Wifi does disconnect when in sleep. But when you unlock the phone, the following will happen. The wifi will scan, turn off, turn on, scan for a short while and then connect.

@Kholk I did have a near SOD today. I couldn't turn my screen on, but after a short hold of the power button(just before the phone would've restarted, I let go of the power button) and it came on.

Looking forward to you're new release and will give a post in a short while about the sampling_rate settings.
[HTC One X] timlambo:
Also kholk, the standby power consumption is a bit high. Look at the screenshot.
[HTC One X] devil-strike:
here is the logcat and last_kmsg you recuested kholk link
[HTC One X] steveman29:
Nexus 7 elite kernel

Hello guys did you notice elite kernel for nexus 7? It overclocks the CPU to 1.8 Ghz and the GPU to 600 Mhz! Quadrant graphics tests reach 100fps! Maybe the developer can use some ideas for our devices.
[HTC One X] nelsonw:
Amazing!
[HTC One X] gc48067:
Do the phones last more than a week with this config? :confused:
[HTC One X] batna.antab:
I thought that our chipset was better then the nexus 7 one how can they reach higher clocks :/...
[HTC One X] dk_zero-cool:
That says nothing. It just means that your phone has been on standby for a specific percentage of the consumption.
[HTC One X] nelsonw:
@Kholk there's a new source for one X on the 3.0 kernel?

http://htcdev.com/devcenter/downloads

Vodafone uses tegra 3? Answer NO. Sorry. Nothing to do here. LOL
[HTC One X] RedSkyRoad:
Hi,

Is it possible to use a normal USB flash drive (Pen drive) on it's own without external power?
[HTC One X] IllUMINATUz:
No.. you NEED an external power supply..
[HTC One X] RedSkyRoad:
What a waste of effing money - went and bought a 64GB flash drive and OTG cable after discovering "Stickmount" on the Play Store... ffs
[HTC One X] nelsonw:
But Stickmount works?
[HTC One X] RedSkyRoad:
The fact that you have to attach "powered" USB devices makes it just USELESS actually... Why call it StickMount if you can only use sticks on hubs?
[HTC One X] nelsonw:
It's kida lame that HTC removed support for OTG, especially when u dont have external SD reader.
[HTC One X] kholk:
Eh, well, that's totally OT in this thread and in this section.

This belongs to the general section.

Anyway, I'm packaging the new kernel. Expect a new release in something like 40 minutes.
[HTC One X] RedSkyRoad:
Where would I get a repacked version for tbalden's CM10 Alpha 7?
[HTC One X] nelsonw:
Kholk don't repack. Check on that thread who repacks for that ROM or use the ONLINE Repacker to do it yourself. Kholk only provides de kernel, AFAIK.
[HTC One X] kholk:
Get the CM10-EPRJ kernel... It should work with tbalden's CM10 just fine.

I'd consider to use my release because my headset recognition for JB works differently from the one implemented by others, and there's a line of code that enables that in the ramdisk of my CM10 kernel release.

Anyway, consider to wait some other minutes: the new release with perfectly working WiFi is about to come :)

Sent from my HTC One X with EternityProject's CyanogenMod 10
[HTC One X] nelsonw:
This is a loooooooooong couple of minutes!!! Are u speaking on the 1day=1year biblical term? LOL

BTW u need to add "prj-mfastboot.exe erase cache" to the .bat to erase cache...

---------- Post added at 02:51 PM ---------- Previous post was at 02:34 PM ----------

GREAT JOB Kholk!!! Wifi Works perfect on ARHD w/o repacking! Thanks!
[HTC One X] kholk:
@nelsonw

Ah, crap, I forgot to add that to v0.38!

It's not really needed anyway, so it isn't a big miss. Thanks for remembering though!

@Everyone

v0.38 has been released.

This release contains a definitive WiFi FIX and some other minor changes.

Enjoy!

The EternityProject Team Manager & Main Developer,

--kholk
[HTC One X] nelsonw:
It's been always said to erase cache on kernel flash. That's a placebo effect too??
[HTC One X] jonas2295:
Nope. At least not from what I know. It's necessary as otherwise it may prevent you from getting into recovery etc
[HTC One X] MickyMax:
kholk,

Your ramdisk already has init.d support? If I can avoid to repack on sense rom... :)
[HTC One X] kholk:
@MickyMax

Nope, in the Sense kernel releases, the kernel contains the stock Sense ramdisk (no init.d support). You'll have to repack it!
[HTC One X] starbase64:
@kholk

wifi turns on and off by itself, all the time

no connection possible

edit: adb doesn't work after a while and power lock disabled by it self :( (regular version on viperx)

cheers

starbase64
[HTC One X] nbicho:
@kholk

Thanks for your work, running repacked Regular v0.38 on IC 9.4.0 and everything is running just great, no more wifi issues or any other whatsoever :)
[HTC One X] entaneer:
I got signal drop, can't connect, very low signal, battery drain when turn wifi on with v0.35b and JB 18/08.

Anyone can confirm for WIFI issues are gone on v0.38?
[HTC One X] starbase64:
Did you read older posts?
[HTC One X] entaneer:
I asked for someone who used with CM10-EPRJ.
[HTC One X] starbase64:
Here is the right thread for CM10-EPRJ: http://xdaforums.com/showthread.php?t=1814666
[HTC One X] mach0boi:
LOL? I can't see anything wrong on what he asked. And there's no point directing him on his ROM thread. He was asking a kernel-related question, not a ROM one.
[HTC One X] nelsonw:
The 3 previous post says that wifi issues had gone.

@Kholk I'm having SOD. A Lot. I red something about this. I can't search on the phone. How I prevent this? Keeping wifi on all the time?
[HTC One X] starbase64:
But in rom thread are many CM10 users ;)
[HTC One X] srashedian:
Hi;

I can't use this kernel with Venom ROM (j4n87 rom)... I love this ROM and I could install it before (version 0.29b I think)... After that though every single time I flash this kernel my phone gets stuck in a boot loop (installing modules in automatic mode or via CWM makes no difference, also erase cache is no good either)

Can anybody help me if I'm doing something wrong (or "Not doing" something maybe the case)

Thanks in advance
[HTC One X] starbase64:
Hi,

i use ViperX also, but only wifi problem here.

devices boots and works fine, no freezes or sod.

i've flashed the regular non repacked version of 0.38

cheers

starbase64
[HTC One X] timlambo:
I had that problem a while back with venom Rom. Only way that solved it for me, was to just reflash like you would for a clean install. Just backup your apps with go backup or something.
[HTC One X] sentlon:
anyone can post the module for insert coin 9.4.0 ?

thanks?
[HTC One X] steveman29:
bluetooth

Hello kholk, i have insertcoin installed and with the last version the wifi problem has gone. But now bluetooth is not turning on.
[HTC One X] kholk:
I don't understand your problem with the search, sincerely. Can you be more specific so that I will be able to try to reproduce the problem on my device?

@steveman29

Can you provide a logcat while trying to turn Bluetooth ON?

As I said, HTC did a mess with Bluetooth: old libraries aren't supporting the new kernel driver, new libraries aren't supporting the old kernel driver.

:\
[HTC One X] nelsonw:
Were 2 things. I have several Sleep of Death. When the phone sleeps for a while it turn off. About the search, the Tapatalk search don't works well, just that. About the SOD, want a logcat or something?

Here's the last_kmsg
[HTC One X] dk_zero-cool:
@kholk

Since your still missing a bluetooth logcat, I provide one for you here. This is taken from the latest Viper X Sense ROM using your 0.38 kernel (With your Ramdisk) while turning on bluetooth. Just tell me what more you need to get this working.

http://pastebin.com/zJJLtYwQ
[HTC One X] kholk:
@nelsonw

Your last_kmsg is a kmsg of the Recovery kernel >.<

@dk_zero-cool

Thanks!

It really looks like an incompatibility with damn-old hTC bluetooth libraries! :|

I could integrate the new hTC libs in my kernel package.... but I don't know if that's a good idea :\
[HTC One X] nelsonw:
LOL sorry. How I can help u? Flash your kernel, wait to SOD and give u that last_kmsg? From /proc/last_kmsg? Thanks...
[HTC One X] gc48067:
Optional update package?
[HTC One X] khnfrhn:
I am on Maximus ROM by football. Everything is working great. But, whenever I want to unlock the screen I takes like 5 seconds to open up. And sometimes it takes more than that. Is this something to do with power lock. What exactly is power lock?
[HTC One X] nelsonw:
I found something: It only SOD with repacked kernel with Online Repack tool. I'm using the Non-repacked kernel for an 1h and none SOD. Will keep using it and report in 3hrs. What's the point of repacking, BTW?
[HTC One X] nbicho:
Someone correct me if I'm wrong but I think the point of repacking is to keep the rom chef tweaks and avoid some possible incompatibility

Do you have any bt issues?

Sent from my HTC One X
[HTC One X] nelsonw:
I don't have any bt device near now. But will test it and give u a feedback.

Edit: yeah... Don't even start.
[HTC One X] nelsonw:
Well, after 4 hrs, none SOD. I'm without repacking. BT don't works, as posted, due to drivers. I had 1 reboot tho. Don't know if it's from kernel. Just in case, here's a logcat. Thanks!
[HTC One X] kholk:
As pointed out by gc48067, it is a smart idea to post an optional ZIP package with the correct Bluetooth libraries. I'll do that ASAP :°)

@khnfrhn

Uhm, powerlock is disabled by default. You can enable it only like you see on first post.

Your 5secs issue is very strange.

Is anybody else experiencing that issue?

@nelsonw

I've already confirmed it's about the BT libs: I've got the new BT libs on CM10-EPRJ and I'm using BT just fine... as I've written just some lines ago, I'll do something for that.
[HTC One X] nelsonw:
I know. Just pointing out. Why the repacked kernel produces SOD? What o lose if using with out repacking? Thanks, u r doing a great work.
[HTC One X] KevinC4:
I have huge battery drain with 0.38 on ViperX in standby :(
[HTC One X] dk_zero-cool:
@Kholk

The new kernel resets WiFi every 10 seconds using the native ROM binaries (last version worked fine), will try yours when I get time later to day. But I was wondering, what is so special about the wpa binaries that you provide?

Btw

On power drain issues on ViperX here

EDIT:

Flashing only the kernel and modules, WiFi Stops/Starts every 10 seconds. (Everything else works great)

Flashing the additional firmware files, Phone signal and Data does not work

Flashing the 3 stock modules to fix data issues, phone starts an unending boot loop. Kernel LOG

The only way to use the kernel on Sense ROM's is flashing the kernel and modules only and don't use WiFi.
[HTC One X] rkuijpers:
Probably because the phone won't go into deep sleep when on wifi. Had the same problem here with this kernel on viperX.
[HTC One X] KevinC4:
Is there a solution? Only turnoff wifi?
[HTC One X] nelsonw:
I use Juice defender pretty nice!
[HTC One X] starbase64:
juice defender and same apps consuming more battery as wifi :)
[HTC One X] KevinC4:
Confirm. I tried juice defender, too. Its crap.
[HTC One X] nelsonw:
Awn... Don't talk like that... :'( LOL
[HTC One X] rkuijpers:
Learn from the people that know what they are talking about, my young apprentice :p
[HTC One X] Audioboxer:
kholk your kernel has the bug again where the clocks will reset to 1500mhz when the screen goes off and on.

Sent from my HTC One X
[HTC One X] zitseng:
With this kernel (on tbalden's cm10) or the EternityProject ROM, I get lots of this in my logcat:

W/SchedPolicy( 431): add_tid_to_cgroup failed to write '961' (Permission denied); policy=0

W/System.err( 431): java.lang.SecurityException: No permission to set to given group

W/System.err( 431): at android.os.Process.setProcessGroup(Native Method)

W/System.err( 431): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:14685)

W/System.err( 431): at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:14726)

W/System.err( 431): at com.android.server.am.ActivityManagerService.serviceDoneExecutingLocked(ActivityManagerService.java:12464)

W/System.err( 431): at com.android.server.am.ActivityManagerService.serviceDoneExecuting(ActivityManagerService.java:12434)

W/System.err( 431): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:770)

W/System.err( 431): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1616)

W/System.err( 431): at android.os.Binder.execTransact(Binder.java:367)

W/System.err( 431): at com.android.server.SystemServer.init1(Native Method)

W/System.err( 431): at com.android.server.SystemServer.main(SystemServer.java:990)

W/System.err( 431): at java.lang.reflect.Method.invokeNative(Native Method)

W/System.err( 431): at java.lang.reflect.Method.invoke(Method.java:511)

W/System.err( 431): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)

W/System.err( 431): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)

W/System.err( 431): at dalvik.system.NativeStart.main(Native Method)

This is with the latest 0.38 kernel. (Not tried the older ones before.) Is this something to be concerned about? Otherwise everything seems to be working for me as far as I can tell.