yashsingh1/xdaforums huggingface dataset:
[HTC One X] kholk:
Thanks for the reports guys! However, a last_kmsg would help me to know what's going on with your devices and will possibly make me able to fix the issues.

EDIT:

v0.27b has been released.

This version fixes a severe baseband bug that in rare particular circumstances was causing an hardlock with subsequent device reboot (by watchdog).

That bug was also breaking the device shutdown procedure, due to the bad modem shutdown sequence.

Enjoy!

The EternityProject Team Manager & Main Developer,

--kholk
[HTC One X] madenssblade:
usb host mode with out extrnel power supply is possible becasuse on this rom mhl (hmdi) work with out extarnal power source Android Revolution HD 7.2.2
[HTC One X] 1immortal:
the 27b still makes wifi to go crazy, turning on and off all the time.
[HTC One X] kholk:
I know about the WiFi problem. It happens when sending the device to standby and this problem hasn't been solved, still.

0.27b solves only a baseband problem.

Please, remember that the 3.4.0 series is still a work-in-progress, still not declared fully stable: problems may appear and will be solved sooner or later.

If you want a fully stable solution, please go on the 2.6.39 series.
[HTC One X] glukosio:
hi guys, is 3.4.0 working on cm10 by tripnraver 004?
[HTC One X] roar109:
How it work?, just otg cable directly to the phone and a usb storage?
[HTC One X] madenssblade:
No usb host without external power source is not possible at the minute but the phone supply mhl adaptor with the power to work without a mains power source
[HTC One X] kholk:
Remember:

MHL -> 3.3v

USB -> 5v

Dunno, but I've tried it with tgascoigne's CM10 and it works perfectly (repack needed).
[HTC One X] madenssblade:
Thanks I didn't know that learn something new every day
[HTC One X] flummi3000:
Hey kholk,

interested in adding 96khz driver for sound?

Thx! :)

Gesendet von meinem HTC One X
[HTC One X] kholk:
Uhm.... Heavy thing.

But since I usually play my electric guitar using an X-Fi and since (even if rarely) I play also with professional sound instrumentations, I can understand your need to have 96kHz.

Sincerely, I don't know if the audio codec in there is capable of doing that... let me take some minutes for verifying the capabilities of our HW and I'll get back here with a better reply.

EDIT:

Bad news for you.

Our Texas Instruments TLV320AIC3008 supports only up to 48kHz :(
[HTC One X] flummi3000:
Thx for checking :)

Gesendet von meinem HTC One X
[HTC One X] MarcoHD:
1.29.401.7 kernel source

Kernel source for 1.29.401.7 released

http://xdaforums.com/showthread.php?t=1639649
[HTC One X] kholk:
Oh, thanks. Examining the changes :D
[HTC One X] Fightspit:
I am patiently waiting your next kernel released :)
[HTC One X] kholk:
......I've examined the new sources and ...well, there aren't so many good things in that package.

However, between those bad hacks and new hTC fails, there also are some interesting changes, like a gamma-c fix on sharp panels and some reduced IRQ hogging on a particular condition.

Practically, the most interesting one is that gamma-c fix.

Talking of our kernel, I've correctly integrated the interesting fixes from hTC discarding the bad hacks... and about the next version, I've introduced the "eprjdemand" governor.

It is based on the samsung's pegasusq governor (that is based on ondemand -- here you can understand the name of my one), adapted to Tegra3 (properly not generically Tegra3... it's more ...One X), taking control over the CPU hotplugging.

The eprjdemand governor will be compiled in the next version, but not as the default one because I think it isn't REALLY mature enough, even if it looks like it is stable.

With that governor, my device rarely gets more than warm because it will really use just the necessary frequency and cores when there's demand of processing power..and then, immediately ramp down to save power....and heat.

As it, repeting, won't be the default governor,

I'd be happy if some of you would like to help me in testing it

, manually switching to eprjdemand (with System Tuner, AnTuTu CPU Master, SetCPU or whatever you want), in order to get it to be fully stable and simply perfect.

I'm actually testing the version that has to be released today, so, expect a release in an hour or so!

The EternityProject Team Manager & Main Developer,

--kholk
[HTC One X] hamdir:
respect on the governor work mate!
[HTC One X] n3ocort3x:
count on me on testing stuff mate ! awesome work on the governor as I told ya before ! Thanks for all !

Edit: Hack the hackish, hack ! Nothing more to say :) The way you commit is priceless ! :D
[HTC One X] blackalice:
I assume this will fix the gamma on non sense ROMs? It's my biggest vice with using CM!
[HTC One X] ShyamSasi:
Count me in for your testing .... As always awesome work mate.
[HTC One X] kholk:
The new version has been released.

Changelog on first post! ;)

P.S.: Thanks for testing the new governor! :D

The EternityProject Team Manager & Main Developer,

--kholk
[HTC One X] blackalice:
Just tried on CM10. Black screen. I should have checked if it was for CM10, first tbh!
[HTC One X] n3ocort3x:
Testing now, report back tomorow !
[HTC One X] timlambo:
I think you should repack it for cm10. It should then work. Will only try later, need some sleep.
[HTC One X] kholk:
Yeah, if you want it to run on CM10 you have to repack it. Anyway, I'm running CM10 here just fine repacking the v0.28.
[HTC One X] MickyMax:
The 3.4.0 kernel is enough stable to use it daily?
[HTC One X] blackalice:
Working repacked boot.img for tbalden's CM10 - http://cl.ly/24092h1U3Q3q

Enjoy :)
[HTC One X] kholk:
Yeah, for me it is stable enough to be used daily.
[HTC One X] Lextermina:
With 3.4.0 0.28 On 2.05.401.2 after bootanimation and vibration i get restart phone ever. Normal or its for 1.29.401.11 only ?

Have no problem with 0.27
[HTC One X] Alex-V:
than you maked something wrong...did you push boot.img manual with fastboot (fastboot flash boot boot.img) and after that the normal zip...if not do it...if you done so...repack the kernel with your ramdisk :)

with kind regards
[HTC One X] Lextermina:
Ok i repack with my ramdisk :) Thank you for help me
[HTC One X] blackalice:
I can see already that the 'time in state' graph in setcpu is much more even between clock speeds.
[HTC One X] amirage:
I have tried everything to install V0.28...but whatever I do..the phone simply goes into bootloops..Can someone please help?

I'm on ViperX 1.0.1...do I need to repack? If so, how I do I repack?
[HTC One X] stephen2282:
Tried repacking this with ARHD 7.22 but the newboot.img produced is 0kb. Direct flash doesnt seem to work... anyone has a solution? thanks =)
[HTC One X] n3ocort3x:
guys iam on it, give me a few minutes !

EDIT @ both of you

Download THIS, extract, open folder and hit EXECUTE_ME.bat (automated flash should begin)
[HTC One X] amirage:
THanks a million my friend...
[HTC One X] n3ocort3x:
np mate ! but before you saying "thanks", just click the thanks button :) , its better for keeping threads clean and for my thanksmeter xD
[HTC One X] amirage:
@n3ocort3x: I tried to install the file..still the same issue...earlier the phone atleast booted past the splash screen, but now it's bootlooping in the splash screen...any ideas??? Pls help..
[HTC One X] madenssblade:
Pretty good like your gov just had to repack it to make it work
[HTC One X] amirage:
has anyone tried installing this on Viper ROM...I simply can't get it to work...it goes into bootloops...can someone please help...I'd love to check the new governor..

Plssss:o
[HTC One X] madenssblade:
Use the zimager to put the ram disk into boot.img
[HTC One X] musz:
Hi Mate.. just wanna know , for Kernel 3.4.0 it still have problem with wifi .. thanks ;)
[HTC One X] kholk:
Oh yeah, I know about the WiFi problem! I've never written on the changelog that it was fully solved, but I'll be on my way for that soon.

Anyway, has anyone tried the eprjdemand governor? :D
[HTC One X] n3ocort3x:
Yes. No problems for me here. If i experience a reboot or crash i will hit ya a kmsg or a last_kmsg. I have two guys on my pm where the.phone wont boot on viper rom. Hopefully we can solve it. They want to test new gov also.
[HTC One X] musz:
Kholk , i tried to flash ur Kernel using the repacked version but i keep getting installation aborted.. any idea ..
[HTC One X] kholk:
Installation aborted!?

My tools aren't giving any message like this. Can you be more specific, please?
[HTC One X] musz:
I think it was my mistake taken ur .zip file as flashable thru CWM .. but again try to using excute_me.bat file that u provide inside the zip file .. yet again i facing prob which is it show restarting adb as root .. nothing happen.. thats all.. :confused:

######################################

# EternityProject's FastBoot Fla**** #

# #

# HTC One X Kernel Flasher Edition #

# #

# If you wanna support us, donate to #

# kholk -- kholk00@alice.it #

# #

# or come on our Website! #

# http://www.eternityproject.eu #

# #

# Happy Flashing! #

######################################

.

Press any key to continue . . .

Restarting ADB as root...

restarting adbd as root

Remounting /system as rw...

btw im using PA RC3 rom .. any problem related on this ..thanks again
[HTC One X] kholk:
Remember that your device has to be connected (with ADB enabled) while it is still on Android. From what I see it looks like you're on Android... strange things happens.

Anyway I've got another way for this.

The exact sequence is (tested on CWM):

1. Boot into Recovery

2. Mounts and Storage -> Mount /system

3. Execute the script

4. See what happens (it should succeed)

Let me know!

P.S.: What's "PA RC3"?
[HTC One X] n3ocort3x:
Paranoid Android RC3
[HTC One X] musz:
;)

PA RC3 was PARANOID ANDROID RC3 ..i try now with ur new method mate.. will post update ..thanks

---------- Post added at 02:11 AM ---------- Previous post was at 02:03 AM ----------

:confused:

Kholk im using ur method but i got error

Installing EternityProject's wpa_supplicant...

failed to copy 'eprj_scripts\wpasupp.sh' to '/data/local/tmp/': Is a directory

chmod: /data/local/tmp/wpasupp.sh: No such file or directory

sh: can't open '/data/local/tmp/wpasupp.sh'

1732 KB/s (574884 bytes in 0.324s)

669 KB/s (52828 bytes in 0.077s)

rm: can't remove '/data/local/tmp/wpasupp.sh': No such file or directory

Installing kernel image...

----- REBOOTING THE DEVICE TO FLASH THE KERNEL IMAGE... -----

< waiting for device >

sending 'boot' (4504 KB)...

OKAY [ 0.633s]

writing 'boot'...

(bootloader) Format partition LNX done

OKAY [ 0.499s]

finished. total time: 1.133s

Rebooting the device...

rebooting...

finished. total time: 0.252s

.

.

Greets from the EternityProject!

Press any key to continue . . .

once reboot i got Random FC like NFC ... and other process error.. any idea mate
[HTC One X] kholk:
The installation is "fine", those errors are normal

when you're doing this from the recovery

...... but about your FCs, probably that's because your ROM needs repacking :\
[HTC One X] musz:
in other words mate ? mind to explain? ;)
[HTC One X] Thunder07:
@kholk you can easily make this 2 in one zip a recovery flashable and have the batch file to be down through the computer
[HTC One X] sean.trinidade:
Basically, try using the boot.img from here
[HTC One X] musz:
For ARHD , should be no problem mate.. currently running Paranoid Android RC3 Rom .. :)
[HTC One X] sean.trinidade:
In which case you need to update your signature as it's still listing ARHD! Lol

There's a tool in the dev section that will allow you to combine the zip from this kernel with your Rom. Alternatively, you could ask in the ROM thread if anyone has done it already.
[HTC One X] musz:
yeah.. forgot to change my sig.. lol.. thanks anyway mate
[HTC One X] kholk:
Hey guys!

It looks like I've FINALLY solved the WiFi problem! :D

I'm actually testing the next version to be released today, and it looks like it's everything stabler than I thought.

Also, there are some updates on filesystems and I've enabled the NTFS driver, so that it'll be possible to use bug external HDDs NTFS-formatted :)

Updating you in .... probably less than a hour ;)
[HTC One X] n3ocort3x:
Thats what we waitaing for ! :good:
[HTC One X] kholk:
The EternityProject Kernel 3.4.0 for HTC One X, v0.29 has been released and passed to the STABLE branch.

After many tests, I've decided that it is stable enough for a normal user's daily use: for me it never gives any problem anymore, and the WiFi problem was the last big one to solve.

Finally, I've solved it and now it looks like it's working: the only remaining problem is that sometimes, scanning for new WiFi networks may result slow. We'll solve that later, it isn't that much tedious and it happened rarely for me while testing.

Also, there's a big update in the FS drivers: most of them have been updated to the mainstream 3.4 (they were at 3.3/3.4-rc -- and NTFS was still 3.0.0) and NTFS support has been enabled.

Now you'll be able to use your NTFS-formatted external USB HDDs just fine.

If any problem appears, let me know!

The EternityProject Team Manager & Main Developer,

--kholk
[HTC One X] starbase64:
Hi,

i've always bootloops with kernel 0.29.

adb shell cat /proc/last_kmsg > /sdcard/last_kmsg = file not found :(

cache an dalvik already wiped.

cheers

starbase64
[HTC One X] timlambo:
You should try a repack.
[HTC One X] David Balfour:
Have tried a repack with kholks auto repacker but it always fails when trying to push the boot image.

am also running viper 1.01.

release 0.27b has no issues
[HTC One X] starbase64:
same here, file not found
[HTC One X] timlambo:
I'm going to do a manual repack soon. Had issues with auto repacker on previous versions.
[HTC One X] starbase64:
also only bootloop
[HTC One X] lowrider_05:
i got a bootloop on viperX
[HTC One X] timlambo:
Just to let you know. You should not do a repack for viperX. I was once on there, and didn't need to repack for this kernel.
[HTC One X] kholk:
A bunch of people is experiencing bootloops only on ViperX.

You should really ask to your ROM developer what's going on with his ROM!

I'm sorry about the repacker errors: I'm about to examine the situation and fix it. In the meanwhile, sorry but you'll have to repack it "manually" :(
[HTC One X] timlambo:
I've experienced those errors since you started to have the auto-repacker method. I have used the manual method since then. Will confirm in 5min the result for cmx.

Edit: Yip, got bootloop, as confirmed by others. I also did a manual packing of the modules, just to see if it doesn't work. But no luck.
[HTC One X] albertsmuktupavels:
Do i need repack for htc stock rom?
[HTC One X] n3ocort3x:
somethings really strange with it, my kernel also dont boot with viper x (repacked myself). Dont know whats causing this ! Flashed EP Kernel on CM10, works great so far ! Kholk, you are a monster :victory:
[HTC One X] starbase64:
repacked or not, i have always bootloop on this kernel
[HTC One X] n3ocort3x:
please post me / us a logcat of the boot procedure and also a last_kmsg
[HTC One X] JeckyllHavok:
The viper roms are based on stock kernel with no changes in ramdisk so i wouldn't recommend a repack

btw. any one repacked it for tripnvars jb rom?
[HTC One X] starbase64:
adb shell cat /proc/last_kmsg > /sdcard/last_kmsg = file not found
[HTC One X] n3ocort3x:
again: it doesent boot with or without repacking

@ starbase

try this:

boot up (asap fire up)

cat /proc/kmsg > /sdcard/kmsg

dont forget the logcat, (moe necessary) as its 99% no kernel issue
[HTC One X] lowrider_05:
i dont repack on viper
[HTC One X] starbase64:
the command work only in a shell :)

here is my kmsg, with non repacked kernel 0.29 :)

cheeres

starbase64
[HTC One X] n3ocort3x:
ok and now a logcat (while looping)
[HTC One X] kholk:
The kmsg looks fine.

Bah, it's too much strange that ONLY that ViperX ROM gives problems, while everything else works fine. I'll download and install that ROM for something like 5 minutes tomorrow: I'm getting curious :)

P.S.: kmsg fine = not a kernel issue!
[HTC One X] timlambo:
There is also bootloops on cmx, by Trip. I did a repack and still got bootloops.
[HTC One X] n3ocort3x:
yeah if he would post a logcat we would see what causes the loop
[HTC One X] doug7131:
Running repacked .29 on ARHD and it is running good apart from the WiFi which says error when trying to turn on. I restored the wpa_supplicant with the ARHD one which has solved it.
[HTC One X] mrtimexp:
this kernel work on my CM preview10? if Yes how flash?
[HTC One X] mattman83:
The answer is on this page. If you can't be bothered reading, I can't be bothered giving you a straight response.

M.
[HTC One X] kholk:
@timlambo

May you post a logcat while booting? :D

@doug7131

Interesting. Thank you for pointing this out!

@mrtimexp

Yeah, I'm using it on CM10 right now, it needs repacking!

....but unfortunately my Windows tool for that doesn't work for unknown reasons (I have to debug it and see what the hell is happening), so you need to do that manually or wait for someone to repack it and post it.
[HTC One X] n3ocort3x:
Added repacks for 0.29 in my repack thread ! Guys enjoy ! EP has priority, no time to waste :D
[HTC One X] Maikeu Locatelli:
ARHD

Testing here in ARHD 7.2.1, i've repacked the boot and added the wpa_supplicant from ARHD

Extract in EPRJKRN_ENDEAVORU3.4_STO_v0.29 folder
[HTC One X] mrtimexp:
where is?? it's compatibile? how flash?
[HTC One X] kholk:
About the add_tid_to_cgroup problem, it's a known thing, but it's harmless and it happens only with Linux >3.2 with Android.

About that reboot problem you say, I'm examining the file: thanks for submitting it!
[HTC One X] timlambo:
@Kholk

Here is a logcat I ran in terminal while in that bootloop. Hope it helps though. The problem seems to be some failing of shcedpolicy. Might be the writing to that part in system. Not quite sure though, still learning. Anyway here is a attached logcat.
[HTC One X] kholk:
@timlambo

I've had that error on CM10 without repacking the kernel! Perhaps, can that be a problem related to your ramdisk? O_o

@Everyone else

I've found a problem that makes SOME HTC One X on SOME ROMs to fail to boot and go through a kernel bootloop. It happened to one user so far (one of our Team..) and I've had to discover and fix the problem fast.

Since I don't want stupid loops like this, I can say that I've fixed it just fine and v0.29b is about to come.

The v0.29b will come in two versions: Regular and OC.

The regular version will be at stock clocks (for CPU), while the OC version will have a limit of 1.7GHz on quadcore.

If the CPU will reach >74°C, the thermal protection will scale your clocks down to not fry your device.

I'm making two releases because of some people asking about an OC'ed version, but remember.. what I think about this is: Who overclocks a One X is TOTALLY CRAZY, so, your choice!
[HTC One X] n3ocort3x:
Nice one kholk. Fast as hell. Agreed on oc opinion... totally crazy :D
[HTC One X] dk_zero-cool:
I made an OTG cable to day, but can't get USB Hosting to work with this kernel. I'm not complaining, I was just wondering if someone could confirm whether or not USB Hosting actually works with the kernel so that I know if the problem is the kernel or my cable. No need to spend time debugging my cable if the problem lies else where.
[HTC One X] ZigmunD:
You need Y-cable with external power line or powered USB-hub. I took miniUSB Y-cable from external USB hdd:

1 - to external power - PC USB or wall charger.

2 - female USB <-> female USB adapter - phone.

3 - female miniUSB <-> female USB adapter - external device.

Login to your device using wireless ADB or ssh and type:

cat /proc/kmsg | grep USBOTG

Connect your cable to external device and power, then connect to your phone. If your cable is fine, you'll see something like that:

<6>[ 138.725583] [USB] [USBOTG] tegra_otg_check_vbus_detection
<6>[ 138.732634] [USB] [USBOTG] SUSPEND --> PERIPHERAL
[HTC One X] dk_zero-cool:
Tanks, just added an additional power cable to the OTG and got the output you posted from kmsg, but that is all I get. It does not register USB devices plugged into the OTG so I guess the kernel support is not yet working?
[HTC One X] Skolotaie:
Great!!

After the Issues i had with 0.2 to 0.4 everything seems Good since 0.5 :D

Music Working,no Problems with Performance,Data Connection etc
[HTC One X] kholk:
Try to manually mount your external HDD or try to use other peripherals.

Seeing the OTG messages in dmesg implies the USBHost mode has been triggered and it is working.
[HTC One X] wolfraim:
Anyone has problems during a night? My phone doesnt charge i do not ring the alarms, mi boss talk to my about my problem haha anyone with the same problem?
[HTC One X] kholk:
Nope, I always put my phone on charger during the night and my alarm works wonderfully.

For example, this morning it has worked wonderfully :°)
[HTC One X] wolfraim:
Are you using any custom rom or default 1.29 base?
[HTC One X] Smintz:
i really cant understand people even close to accusing the OP for his work...

i wont try this kernel (yet?) cause iam too much a noob, dont have the experience and dont want to spam the thread with my problems... which i cant figure myself.

i am really happy to see DEVS actually working on the kernel which seems to be pure bull**** even if it takes some time.

thanks a lot to all DEVS! you guys are the ones who make android AWESOME!

cheers:cool:
[HTC One X] ctfTijG:
Just had a quick overview of the source, doesn't look well built. Hm, I'm not sure if I should start developing. I've got a lot of work to do. Maybe, MAYBE, in my spare time I'll start working on this.
[HTC One X] Fruktsallad:
Well, I'm a noob and I'm loving your work so far, however I'm still getting a few reboots here and there. Seems to take frequency restrictions (ie max 1000 MHz) set using Voltage Control or SetCPU better than stock, however that could be placebo as well :-)

How would I best go about restoring the stock kernel?
[HTC One X] ctfTijG:
Just download the Stock ROM from the sticky in this forum and extract the boot.img.

If you want to restore, just fastboot the boot.img from the Stock ROM.

fastboot.exe flash boot boot.img
[HTC One X] mustafatk:
My device reboot when I'm running a tegra3 game.
[HTC One X] leventccc:
Same on me. Shadowgun crashes
[HTC One X] kholk:
I played ShadowGun THD right now and it's perfect....no crashes at all. I'm on 1.26 stock.
[HTC One X] ShyamSasi:
Hi Mate,

Is it possible to enabled TUN/TAP driver support for VPN?
[HTC One X] josuetenista:
I used to have kholks kernel on my atrix4g but I had to many problems using it, many random reboots and the device used to get hot. I think this is the same case with the one x. This kernel should be called as in alpha stage
[HTC One X] kholk:
I will integrate it in v0.61.

Thanks for the feedback!
[HTC One X] ShyamSasi:
You really can't compare 2 different kernel. Lot of users are using it and hardly few are reporting any issues. It works perfectly on my HOX. 'Developer will decide if he want to call it alpha, beta or stable.
[HTC One X] Tondern:
Pretty rude to criticize a kernel when you don't even own the phone to test it with :confused:
[HTC One X] tgascoigne:
I'm interested in your governor. What kind of battery life improvements are you seeing from it?
[HTC One X] timlambo:
Kholk that oc will be insane. I'll try your new version and see what happens. I used the zImage injector tool to repack the kernel(boot.img) to use with cmx by Trip.

@n30cort3x

Did you manage to make the repack work on cmx by Trip?
[HTC One X] n3ocort3x:
I guess that would be no problem. Isn´t it working for you or what ?
[HTC One X] timlambo:
Nope it's not working for me. I tried everything possible, but to no avail. As stated before, I did use the zImage injector for the repack, but no luck.