yashsingh1/xdaforums huggingface dataset:
[HTC One X] Skolotaie:
Same here,Repacked the kernel for Insertcoin Rom,Startup was Ok but at the Lockscreen It Freezes,i tought i have to Wait,so i waited for about 4 Minutes xD

But then Pfehw My HOX was so hot i tought it begins to melt.

But Still Works fine i think i Wait for more Replies about the New Kernel,love the Eternety Kernels ^_^
[HTC One X] Daekin:
faux had experimental versions that supported OC - but only for HTC One X distributed in Asia. European version is not overclockable (did not boot or FC or rebooted)
[HTC One X] kholk:
Those who has got problems about freeze etc, can you post a last_kmsg?

I haven't got any problem O_o

P.S.: About the wifi hardware problems, that's possible, but the new WiFi driver takes less time to reconnect on my device. Also, I can't use the old hTC hacked driver on the new version because there are too much changes :P
[HTC One X] MemAllocatoR:
kholk you have done amazing job so far! thanks a lot for your 3.4.0 kernel its amazing!

but appearently it seems that your latest 3.4.0 0.20 kernel doesnt work with insert coin 7.1.0 2.05.401.2 new base :(

says lots of libs errors on logcat, can you check that out pls?
[HTC One X] zvieratko:
3.4 kernel doesn't work for me neither on CM9 (CM9 variant) or MIUI (STO variant)

---------- Post added at 11:02 PM ---------- Previous post was at 10:13 PM ----------

I have freezes, I'll try it again tomorrow and post. The only info I can give you now is that phone works up to the lockscreen fine (even spent 2 minutes optimising apps after dalvik cache wipe) - then it freezes in 2 seconds, hard.

Btw is the "hacked" driver related to regdom or something? :-) I've got some problems with that so having an un-b0rked driver would be very nice... thanks!
[HTC One X] timlambo:
I also repacked the image for Revolution 2.1, and stuck's quite badly on that lockscreen, had to restart phone. I have also flashed it twice to make sure, but no such luck.May this be related to new base?:confused:

I really do like your kernel, and would love to test it on this new base. I think the combination would be super.:D
[HTC One X] Jhinta:
never mind got it
[HTC One X] DeeZZ_NuuZZ:
hey all try to flash the original 3.4 boot.img without repacking...its sometimes better or it works then...
[HTC One X] kholk:
Libs errors makes me think that there's something wrong with the new hTC libraries contained in the new base! :|

Nope, the hacked driver was related to hacked functions... that was for making it to work on my kernels with heavy changes.

Anyway, I've casually noticed that with my new driver I can find +2 WiFis in my zone. And about the regdom hacks... you gave me a really nice idea. :)

Yup.
[HTC One X] Daekin:
I think it is...he only links to wrong version of his kernel.... endeavoru-128 or something like that is up to date....
[HTC One X] kholk:
Ehm, yeah, sorry, I've fixed the link to the GIT repository.
[HTC One X] cranio84:
Thank you guy

Inviato dal mio HTC One X con Tapatalk 2
[HTC One X] DeeZZ_NuuZZ:
thank you for this kernel *_* i have now great wifi signal which i had before very low -.- ...before this kernel ..i mean 3.4 v0.20..my old hd2 hat better wifi signal compaired to my new hox...but now *_* thank you so much for this kernel *____*

i flashed it with arhd 7.0.0
[HTC One X] 13pointseven:
Any chance of monitor mode with custom wifi drivers?
[HTC One X] zvieratko:
This is logcat. The freeze happened before the last 3 garbage collection ines (so it's not frozen completely):

http://pastebin.com/U7ZcRJut

I wonder if this works? :) (and how?)

I/BootReceiver( 299): Copying /proc/last_kmsg to DropBox (SYSTEM_LAST_KMSG)

/proc/last_kmsg:

http://pastebin.com/RTSRKp0p

(I restarted by pow+vol, nice to see it works like sysrq :-))

EDIT: just to clarify, this is from 2 different boots, and the ROM is TeamNDVRu CM9a5
[HTC One X] DeeZZ_NuuZZ:
ok with the new kernel i had a problem last night...my phone got a temperature of 83° degrees -.-....i installed then franco's r11 and all was fine...why my phone was so hot? -.- i wanted to go sleeping and then omg its so hot -.- and it freezes after full boot...
[HTC One X] kholk:
That must be a sensor misread: the phone can't go past 60 degrees for two reasons:

1. It would explode...rofl

2. There's a thermal protection preventing this
[HTC One X] Tom_H_:
Hey guys. This kernel doesn't work for me, doesnt boot up.

I'm on official MIUI latest build.
[HTC One X] DeeZZ_NuuZZ:
but why it says in all battery or cpu apps more then 80° ?? ...or its a fail information
[HTC One X] kholk:
That's false information, you have to trust ONLY the TMS lines in dmesg.
[HTC One X] DeeZZ_NuuZZ:
is it the app from chainfire or so ? that dmesg ??
[HTC One X] zvieratko:
1) you must distinguish between CPU and BATTERY temperature

CPU is fine until ~95 deg C

2) battery doesn't really mind that much either, and 60 is fine here. I had battery at 63 today... I wonder if there's some safety there, but I don't think battery will explode even if it was 100, I don't think internal resistance will raise that much. Charging is another problem though...

4 cores and no fan make HOX a frying pan!
[HTC One X] kholk:
@One-X-master

en.wikipedia.org/wiki/Dmesg

@zvieratko

Infact I wasn't talking about the CPU. If the SoC reaches a certain temperature, the battery's temperature will be raised too, since the SoC is really near to the battery.

I clearly distinguish the two things, I'm simply too much lazy to write too much today...... :)

About the safety... yeah, there's a protection that relies on SoC temperature that will shutdown the machine immediately (not reboot.) if the machine reaches dangerous temperatures.

Oh, and.... don't trust battery temperature readings... not only on One X.

Also, I wouldn't attribute the temperatures to the four cores, but to the manufacturing process (size).
[HTC One X] zvieratko:
I didn't imply you'd mix those, but I think he did when he wrote the temp was 80 :-)

I think I saw more temps in /sys/ than any app displays, CPU, battery, I think even camera has one (probably because of flash?) it was at least 3 wastly different temps...

I only trust my hand, and if it explodes then someone made a boo boo...
[HTC One X] DeeZZ_NuuZZ:
ah ok then it was the cpu xD lol....battery was not so hot xD
[HTC One X] B!GBOY:
hi

sorry if its already asked (couldn't find an answer)

flashed latest version on a new 2.0.5 based rom and lost gsm signal tried airplane ing but it hangs

also i have reboots ( un-usable ):confused:
[HTC One X] DeeZZ_NuuZZ:
Have you repacked with the Rom boot.IMG? Have you also flashed the modules??
[HTC One X] B!GBOY:
yes in deed i downloaded the repacked version for insert coin and flashed modules
[HTC One X] DeeZZ_NuuZZ:
....have you flashed 2.05 base over 1.29?? You need a full wipe....try full wipe and flash the repacked new with the modules after flash Rom...the 3.4 kernel is a lil bit unstable etc....
[HTC One X] kholk:
Wipe at least your cache.

hTC did something on their new 2.05 base and probably we all need the new source for making all to go well :\
[HTC One X] mattman83:
If its any consolation I'm having battery drain issues with anything other than stock 2.05 kernels.... So yes I think htc have been busy breaking compatibility.
[HTC One X] DeeZZ_NuuZZ:
yes the frameworks etc are edited and if we flash 2.05 over 1.29 we only get errors and cant use the phone...i hope the final base is better then the test base with battery etc...maybe faster and stable, too :) the battery life have to be improved....its to high battery drain when the phone is in use..in standby its really good... :p
[HTC One X] Azurael:
I find the phone to be much faster and have the best battery life yet in 2.05 ROMs... I didn't like having to wipe though :P
[HTC One X] cYbOrG5:
Im on 3.4 kernel using rd miui....my wifi is dropping like hell compared to other kernel flashed. I know kernel 3.x is experimental but does anyone have the same issue and can point me to the right direction?
[HTC One X] DeeZZ_NuuZZ:
with this kernel repacked i had **** wifi and after a time the phone was temporarly very hot and freezes after all full boot....with franco r11 its fine with wifi etc...
[HTC One X] kholk:
WiFi is dropping probably because of the hardware problem that hTC was talking of.

Did you notice that your WiFi drops are happening only when sending the phone to standby mode?

My custom driver hasn't got the ugly hacks that hTC has done, I'm digging in what hTC has done to that driver for making it to act like hTC's one.

EDIT:

V0.21 has been released!

This version adds custom hacks to the new WiFi driver: the CPU hog by WiFi driver after device resume has been solved.

Also, now the WiFi connection is being restored correctly.

Moreover, there are some custom modifications to Tegra3's PM driver for making it to work correctly with the new 3.4 pagemapping way.

Enjoy!
[HTC One X] lowjoel:
I've got word that a new release will be coming much sooner than you think :)
[HTC One X] kholk:
Ehm... the new release is the 0.21 xD
[HTC One X] lowjoel:
Turns out he was quicker than I thought... Anyway, yeah, enjoy the new kernel.
[HTC One X] -JFK-:
Kolk 3.4 repacked for ARHD 7 (A) and Maximus 2 (M)

Hi,

As requested by starbase64 (a bit late sorry) there is the :

Kolk 3.4 repacked for ARHD 7 (A) and Maximus 2 (M)
[HTC One X] zvieratko:
Could someone repack this for RD MIUI 2.6.16_v2? Thanks!
[HTC One X] starbase64:
Hi,

thx, but is it 0.21 or 0.20? :D

cheers

starbase64
[HTC One X] -JFK-:
V0.21
[HTC One X] kholk:
The EternityProject Kernel 3.4 for HTC One X, v0.22 has been released.

USB Host Mode is now working correctly.

Please note that USBHost is still an EXPERIMENTAL feature.

Enjoy!

The EternityProject Team Manager & Main Developer,

--kholk
[HTC One X] the|gamer:
Hello,

so we will need USB Hub with external Power for USB OTG?

Not so cool! But Thanks for realizing it!
[HTC One X] ORStoner:
A good job from my favourite developer!

What sort of hub should I be looking to buy?

Any USB hub with an ac adapter?
[HTC One X] MrPenguin:
Anyone tried the USB OTG function yet? :silly:

Wanna know if it works before flashing! :laugh:
[HTC One X] ORStoner:
Read the OP
[HTC One X] MrPenguin:
Did that... just wanna know if anyone else has actually got it to work as well...:good:
[HTC One X] peterfeter:
mirror for v0.4 please?
[HTC One X] Goku80:
maybe for now close the thread till you have a good solid version out my friend.:) and that way you will not have people asking for mirrors and etc..tried registering on your site and could not get the form to load my friend :(
[HTC One X] wolfraim:
WOW! i gonna wait for an stable version, great job man!
[HTC One X] kholk:
Try reloading the website completely, bypassing your browser cache (CTRL+SHIFT+RELOAD).

It works for me on Opera, IE, Opera Mobile and stock Android browser.
[HTC One X] ttav:
The site is working now but i agree that the thread should be closed until a stable version is released.An inexperienced user could get themselves into all kinds of trouble if they flashed it as it is at the moment.
[HTC One X] kholk:
I'll put a warning on the first post.
[HTC One X] gunswordx:
confused about the above question
[HTC One X] franciscofranco:
A single warning wont do the trick, 95% of the users wont read.

If no one answed maybe no one knows, probably only HTC does.
[HTC One X] Sir-ay:
Nice

Hop Hop build a stabile Kernel^^

Have froozen.

Nice mate!
[HTC One X] Sebby:
i am not gone try this i wait for show-p1984

with the nice features what he did on the sensation

same for the recovery 4ext recovery

it will come just wait for it

but i wish you good luck with the custom kernel

i hope you get it stable
[HTC One X] more2come:
Bug reports are quite helpful, logcat would be nice. But whining about issues isn't helpful at all!

Take a look at the release number. If it's 0.X , it means that there will be major issues!

The devs are doing a great job. I hope you guys can fix what HTC messed up...
[HTC One X] kholk:
From what it seems....

....

....

Stability reached on v0.5 release.

The only remaining issues seems to be with PM: sometimes, the device gets out of standby automatically, then it returns into standby mode.
[HTC One X] peterfeter:
we need a realy dev on the kernel module... not an alpha version.... this kernel is not better as the stock... only freezes and cant play musik...
[HTC One X] kholk:
@peterfeter

Prior offending like this, try to do that yourself in 5 hours ;)
[HTC One X] :
..complaining about stuff is always easy.

i bet you have no idea what developing is...and what a mess htc released.
[HTC One X] taha198:
Don't mind the haters Kholk, just kink out the issues and make it an awesome kernel. That would be a slap for the like of him. I really appreciate your work.

Cheers
[HTC One X] wolfraim:
V5,0 changelog?
[HTC One X] nobnut:
XDA is about developing. Without testing, development cannot happen. No one made you flash this. It's a development thread.

Don't like it? No one cares.

More power to the OP.
[HTC One X] Tung_meister:
v0.5:

- Rebase. OTG Enabled, Stable kernel.

- V/R I/O Scheduler as default
[HTC One X] wolfraim:
- V/R I/O Scheduler as default

For overheating problems?
[HTC One X] kholk:
It does work also in other ways. All that the device needs is external power.

You can also build a custom Y cable, where you can connect a 5V power source on V+ and GND and your USB device on D+ and D-.
[HTC One X] ORStoner:
Can you use a bought USB Y lead?
[HTC One X] kholk:
Yeah, you should be able to use that.

Anyway, in something like 5 hours I'll post a video that shows my exact setup and my One X hooked up to a mouse, a keyboard and a pendrive. Everything working.

....5hours because of my DAMN SLOW connection and my DAMN BIG video (took with a RAZR, 1080p).

:P
[HTC One X] MrPenguin:
kholk, good sir, does there seem to be a possibbility that it will ever work without the powered USB hub or any hub in the near future? :D
[HTC One X] B!GBOY:
ok a simple question will it ever work on 2.05!? or i'm wasting my time

and yes did wiping cache or pushing modules ...

this time repacked it my self it reboots every 10 seconds
[HTC One X] kholk:
EDIT:

Some ROMs with 2.05 base, like ARHD7 are working... some others aren't.

I don't know what's determining this.
[HTC One X] hamdir:
works on arhd 7 which is 2.05
[HTC One X] kholk:
Thanks for pointing this out, hamdir. :D
[HTC One X] B!GBOY:
thanks i was starting to smash my head to a wall or something lol

so it will not work on insert coin
[HTC One X] starbase64:
without repacking ?
[HTC One X] hamdir:
bro the interactive governor gets stock in dual core mode sometimes

can this be fixed?
[HTC One X] eyosen:
0.22 repacked works with maXimus 2.0
[HTC One X] dk_zero-cool:
Is it possible for ROM kernels to brick the whole phone? I flashed the 3.4 kernel from fastboot, worked fine. Then I flashed back to the 2.6.39 kernel, but now I can't boot the phone at all. Tried flashing the 3.4 again, still nothing. The phone just keeps rebooting over and over. It never get's into the boot animation screen. Also I can't do anything from recovery (Have tried re-flashing that as well). If I try in any way to write to /system, the phone reboots.

Seams like a brick of some kind, but does anyone know how to fix this?

EDIT:

Hmm, Restoring an old backup worked fine. The ROM boots fine now AND I can write/change the system partition from within recovery.

What the hell was this about. Anyone knows please let me know. Even adb push would produce reboot before.
[HTC One X] kholk:
Theoretically, a kernel can't brick a One X. Remember that we're S-ON, so.... :)
[HTC One X] dk_zero-cool:
Which is why I find this issue strange.
[HTC One X] xpri:
anyone having a issue with wifi not remaining on after screen is turned off?
[HTC One X] starbase64:
Hi,

same here with kholk kernels, but no solution.

cheers

starbase64
[HTC One X] xpri:
is this issue caused by the new custom wifi drivers?
[HTC One X] starbase64:
Hi,

no, older kernels has same problems/feature.

energy safe :confused:

cheers

starbase64
[HTC One X] kholk:
Guys, strangely, WiFi stays on for me while the phone is in standby if I set that in the WiFi settings.

I'm anyway on a custom build (mine, not even published) of CM9 though, so that can differ from Sense ROMs.

The only issue for me is that if I power on and off the display in less than 5 seconds, WiFi drops.
[HTC One X] eyosen:
WiFi drops after screen off and on couple of mins later even though it is set to be on in standby under WiFi settings.

Your issue of 5 seconds, don't see that in maXimus 2.0.

CORRECTION: On the second issue, if I manually off and on the display within 5 seconds, WiFi doesn't drop. If screen turns off after its timeout period and then turned back on, no WiFi.
[HTC One X] Alex240188:
Someone correct me if I'm wrong. I think the issue is that not all kernels replace the same number of modules.

E.g.

Flash faux

It replaces

1.ko

2.ko

3.ko

Change mind and flash eprj

This only flashes

1.lo and 2.ko

Rom will fail to boot as 3.ko is built for a different kernel
[HTC One X] kholk:
@eyosen

Really, those things are making me laugh (no offense!) :P

Can you post a logcat and a dmesg after this to happen?

@bagofcrap24

Some modules (like the wireless-related APIs) that are missing in the modules folder of my kernel are missing because they're statically built into the kernel.
[HTC One X] eyosen:
See, I added couple of hours to your life already :D

The thing is while connected to USB, it doesn't happen. So, I need to find a terminal app to get you what you need. I couldn't find it in my ROM.

EDIT: See couple of post below. Here.
[HTC One X] Kriz206:
Thanks for fix USB Host mode. My question is : Is there a technical way of using OTG without ext power source or it will be needed all the time ?
[HTC One X] dk_zero-cool:
The modules is not related to the recovery, so thoug it could explan the ROM not booting, it does not explain why the recovery starts rebooting when writing to system.

So I think this is related to the recovery. It properly did something when I pushed the modules after flashing back the 2.6.39 kernel.
[HTC One X] eyosen:
Attached are two zip files. PRE RANDOM REBOOT includes dmesg and logcat after WiFi drops. When I connected USB to get the files, phone rebooted randomly. POST RANDOM REBOOT includes dmesg and logcat after reboot.

The third file is the last_kmsg after reboot.
[HTC One X] kholk:
Thanks for posting the logs.

After a fast examination, it looks like a problem with the FS dcache, probably a desynchronization.

Trying to fix... :)
[HTC One X] Kriz206:
OTG

So what about this OTG. It is great that it's working at all and I thank you for it. But i still don't know wether i will work someday without a powerd USB Hub or i can safely invest my money in powerd usb hub and external battery.

Someone before asked the same question and no answer.
[HTC One X] kholk:
Oh really, haven't I replied to that?!

I was convinced I had.... uhm... I apologize.

The regulators are able to provide current to the MicroUSB port and from what I've seen they are currently providing some voltage to MHL adapters connected there.

I don't know if the regulators are able to provide 5V and the required mA to external USB devices for now, but further research is about to be done.

Now I prefer to debug the errors experienced by eyosen prior doing research in that.

About the safety to buy a powered USB Hub, all I can say is ... well, the Host mode is working with that for now. Also, without it, even if we find a way to provide power from the phone, you can connect only one USB device per time so.. ehm.. your choice!
[HTC One X] ORStoner:
Your voice is different to how I am imagined teehee. Can you use a y-cable that you can get for mobile hard drives?

By the way, you pronounce source like sorce or saws, imagine the u isn't there ;)
[HTC One X] MrPenguin:
Actually, if it were technically possible to just connect one device without power, such as a USB flash drive, that would be plenty for me.

I am only thinking of using OTG for expanded data storage options. :D

Maybe I'll bite the bullet and try it out... wish me luck...:good:
[HTC One X] kholk:
I've found the source of ALL of the problems of this kernel on HTC Sense ROMs.

The problem is given by the baseband driver: I'm now fixing it and the next version of this kernel will have full compatibility again with Sense ROMs.

I apologize for the mistakes.

The EternityProject Team Manager & Main Developer,

--kholk
[HTC One X] B!GBOY:
ok at last downgraded to a 1.29 rom :D

now im trying to make usb host work and test subject is my mouse lol

at first tried without connecting pin 4 and 5 then i realiesed my mistake

now i have a cable

one side is a male micro usb 1 is vcc, 2(white) and 3(green) are data 4 and 5 are connected together and are ground

the other side is a female usb connected the pin 1 to 1, 2 to 2, and so on

also added power from a 5v nokia charger to pin 1(+) and 4(-)

and again it doesnt work :-"

i really appreciate your help here :)
[HTC One X] kholk:
I don't know how to explain this in easy words... anyway, the dynamic is sequentially:

1. USB Host is triggered by ID pin (example: OTG cable has got ID pin shorted to ground)

2. The controller prepares itself to switch on Host Controller mode

3. You connect an USB device (not powered) - the One X recognizes nothing

4. Now you connect the external power that powers both USB device and One X

5. The driver recognizes that the One X is receiving power: now it wakes up the controller and starts probing for connected external USB devices

6. The device gets recognized by the Host Controller driver

7. The kernel starts searching for the IDs of the external USB device in its drivers

8. The USB device(s) gets hooked up to the kernel driver that makes it to work as it should.

9. You're happy

Note that the power is being connected AFTER the OTG cable because, since I still haven't finished the modifications to the drivers, if you connect the power in the same instant you connect the OTG cable, it will recognize that the One X is getting external power PRIOR to recognize that we're about to go in Host Mode.

That will make the One X to trigger CHARGE MODE, disabling the Host Mode devices probing.

So, do exactly what I said sequentially!

P.S.: An example of what I said is being done in the video that I've published.
[HTC One X] B!GBOY:
thanks your a Genius!:victory:

it works YOUR awesome kernel plus A usb hub and some soldering did the job

thanks man :good:
[HTC One X] kholk:
Thanks to you for being confident in the EternityProject! :)
[HTC One X] eyosen:
I am really interested hooking up my DSLR to my phone and using chainfire's app for remote control. In places where I will be doing this, getting an externally powered USB hub would require carrying a separate power source on top of everything as well. That's not something I am really excited about :(

That's good news. Why are you apologizing? We are thankful to you.
[HTC One X] dk_zero-cool:
I have tested USB on the galaxy s 2, and that is able to use USB host without external power, so it should be possible on this as well I hope.
[HTC One X] kholk:
...BUT I can give you a solution for that, also.

Did you know that a common AA or AAA Ni-MH rechargeable batteries (5 dollars for 4 batteries) can provide 1.2V each?

Connecting 4x1.2V Ni-MH batteries in series, you'll have 4.8V.

Let's take for example one of my AA NiMH batteries: ONE of them is 1.2V, 2050mAh, so, connecting 4 batteries, I'll have a battery pack of 4.8V 2050mAh, ready to be connected to my USB device via a Y cable or an HUB.

Note that the HTC One X has got a 1800mAh battery, so, theoretically, using four of my batteries, there's enough power for that.

In conclusion, you need 5 dollars, an USB OTG cable and... if you want to make also a beautiful-to-see final product, some soldering skills ;)