yashsingh1/xdaforums huggingface dataset:
[HTC One X] redeyes717:
Kholk, Angelo.. my friend. Guess we deserve some OC sooner or later. whats the 'status of the art' by your side? YOU KNOW .. I will be grateful ;-)

my nandroid is ready.. and I'm ready to 'sacrifice' my X to test.
[HTC One X] kholk:
Hey Andrea!

Nice to see you here on the X section!

We still haven't reached the state of the art here, I'm slowly porting the 3.4 stuff on there as you can see.

On other devices the overclocking was one of the first things I was doing, but here it'll be one of the last: the battery is very limited and I'm doing more efficiency optimizations than frequency rising.

Also, I'm pointing a lot on saving power: this is a monster device, but we all want the lowest possible battery and code efficiency.

We aren't too much far from a distribution of overclocked and stock-clock versions of the kernel, but there are still some important things to fix and implement, like the USB Host functionality that for now is only half-working.

The controller gets into "Host Controller" state just fine when the ID pin is triggered, but still the connected client device (mouse/kb/pendrives etc) isn't correctly recognized.

Anyway, I'm happy to have an EternityProject veteran here! :P
[HTC One X] el_dc5:
Can someone compare or list the differences between this and the r9 Francisco Franco kernel please

I'm very curious

Don't really know the technical side of kernels

Do please dumb it down LÖL
[HTC One X] c1-p8:
Ciao Kholk!

There's something useful for help in your work in this post? :p

http://xdaforums.com/showpost.php?p=26956359&postcount=227
[HTC One X] kholk:
Yeah that's useful, thanks!

However, this isn't something to be integrated into a kernel, but only into a ROM.... Properly into specific device files of the Android source.

Since there's a CM9 source out, I could recompile it with those changes applied to the One X device sources.

If you also know how to compile it for making it to use exclusively ION, I may modify the necessary parts of the source for it to use exclusively all of the new performance features of this kernel.

Good find!
[HTC One X] ctfTijG:
I keep getting strange battery drain without even apps open or in the background running. Battery drain, as in 10% per hour without screen on, wifi and hspda on.

The load seems strangely high, eventhough there is nothing really running.

Or could it be just me or could I remove some stuff that you can tell from this log? :)

Log link: http://1ago.be/log.txt
[HTC One X] danlat1415:
Please do not copy and paste your log into the forum thread - it clogs up posts.

Please add it as an attachment.

Thanks
[HTC One X] c1-p8:
I'm not a developer and I can not help in this :o
[HTC One X] kholk:
139 1000 1:55 /system/bin/surfaceflinger

It seems that the surfaceflinger Android daemon is doing something.

That's really strange and not kernel dependant: check your apps and your Android system, there's something wrong with them!

Don't worry, I've appreciated your link ;)

P.S.: HUGE update coming in some hrs! :P
[HTC One X] danlat1415:
Huge update?? :)

Does this mean either overclocking or USB host are working?

Can't wait for your update - thanks
[HTC One X] ctfTijG:
Though I've seen an issue with surfaceflinger that's kernel related:

https://bugs.launchpad.net/linaro-android/+bug/995731

I'll try to figure out what's wrong, thanks for looking. :)
[HTC One X] maseo:
Kholk, I'm looking forward to your huge update! The latest kernel still doesn't really compare to 0.90d for some reason. Unplugged my battery from 100% about an hour ago, listening music since then, dropped to 74% as we speak. So there's definitely something still off..

I've given the kernel about 5-6 cycly now and it won't get any better then what it is now..

Just an FYI! Keep up the amazing work!
[HTC One X] nonnotopo:
Hello, how i can change the mac address of wifi in this kernel?

i have try this program https://play.google.com/store/apps/details?id=diewland.changemac&feature=search_result and this guide http://www.hackhow.com/how-to-change-mac-address-of-your-android-mobile-phone/

but nothing

thanks
[HTC One X] Drefsab:
oh I wonder what the delay is, its either going to be killing a nasty bug or squeezing in a few extra features :D

I wonder if this will be the move over to 3.1.1.0 kernel base :D
[HTC One X] kholk:
I'm sorry but I'm delaying because I've experienced a major bug that will take some time to be solved.

Anyway, you've predicted wrong, it isn't 3.1.

....it is 3.4 :D
[HTC One X] cheongpl:
I think OP should freeze this thread at the moment....because of the unusable kernel.

Keep the thread clean... : )
[HTC One X] wtfhax:
I was able to run backtrack which is ubuntu based no problem with the stock kernel + leedroid's rom.

http://xdaforums.com/showthread.php?t=1079898
[HTC One X] alexiop:
[ROM][ICS] |May 6th| Energy™ -.¸¸.·´¯ Sense 4.0 ICS EnergyROM ¯´·.¸¸. -

Its is kernel //

flash boot, wipe cache & dalvik

Not boot(((
[HTC One X] LeeDroid:
+1... & run a few tests before release.. checkout the kmsg log..

HTC need to fix 6 section missmatches in the source, its screwed & needs some low level attention

Sent from my LeeDrOiD One Xtreme loaded HTC One X
[HTC One X] kholk:
I'm sorry, I was convinced that I've uploaded the right one.

Links updated.
[HTC One X] tolu_en:
2.6.39.4-969960c7 Kernel Please

The device does not open ...
[HTC One X] gmi78:
.

is not possible register in http://www.eternityproject.eu
[HTC One X] kholk:
@tolu_en

Ehhhh?!??!???

@gmi78

Problem solved.
[HTC One X] beanbean50:
v0.4 is much better, although trying to take a screenshot still causes a reboot
[HTC One X] gunswordx:
i just saw the kernel source at htcdev.com

isn't the kernel for the base 1.28.xx ???

so wont it have trouble running a 1.29 based rom??
[HTC One X] ckpv5:
But.. I don't have this reboot problem when taking screenshot, tried three times.
[HTC One X] gmi78:
.

i use bindroid rom and with v 0.4 my phone sometimes freeze
[HTC One X] ZigmunD:
v0.4

Play music -> freeze for few seconds -> reboot. - every time.

Connected usb stick using Y-cable with external power -> some info in dmesg:

<6>[ 138.725583] [USB] [USBOTG] tegra_otg_check_vbus_detection
<6>[ 138.732634] [USB] [USBOTG] SUSPEND --> PERIPHERAL

No changes in lsusb.

Tried to run some apps -> freeze. Only once at the moment. :)

Booted 3rd time... :)

Lost gsm signal few times. Device became hot in 20 minutes.

ARHD 5.0 ROM.
[HTC One X] ckpv5:
Just had my first & second freeze and the camera area is quite hot.. back to stock kernel.
[HTC One X] beanbean50:
saya ada, i'm using insertcoin 5.0, plus the market freezes at random.. hmm
[HTC One X] ZigmunD:
Strongly recommend not to use this kernel for a long time because of overheat issue.
[HTC One X] gunswordx:
someone answer pl

quite confused
[HTC One X] ckpv5:
Ya.. I had freezes too, without doing anything, it just hang unable to unlock the lockscreen.
[HTC One X] Goku80:
what are you confused about? kernel not quite ready yet as per the other posts so that really should give you an answer in not to flash this yet unless you want to fry your eggs on your phone:p
[HTC One X] kholk:
Strange issues.

It seems that hTC hasn't released the correct kernel: the changes in the EternityProject Kernel can't produce issues like the ones you're experiencing.

Also, strange, after 2-3hrs of usage, I'm experiencing the same issues.

Digging.
[HTC One X] maseo:
WOW, nice to hear such a big update is on the way! Take your time fixing the bug Kholk.. nothing but the best huh ;)
[HTC One X] ShyamSasi:
:eek: Did I just read 3.4 .... Awesome ... Awesome ... :D
[HTC One X] Drefsab:
Lol nice take your time matey the quality of your work speaks for itself. Killing a major bug and delaying the release is far more professional than putting out bugged work.

I'm surprised to see the jump to 3.4 that's right upto date (unless you count 3.5-rc but I never see RC's as stable releases). I suspected the jump to the three tree having kept an eye on several dev's work in that area but you weren't kidding when you said this would be a huge update :D
[HTC One X] ORStoner:
What does the update to 3.4 bring mainly?

Sorry to bother you with my noon question.
[HTC One X] :
Read this: http://kernelnewbies.org/Linux_3.4
[HTC One X] batna.antab:
I use arhd 6 ,do you suggest me to repack it or no?
[HTC One X] kholk:
Probably the kernel has to be repacked for that ROM, anyway, I'll integrate the init.d support into the EternityProject ramdisk in one of the next releases.

Anyway, getting back to the 3.4 topic, I would like to get an opinion from you guys.

The bug I've experienced is really bad: practically, kernel working but the Tegra timer is crazy and Android doesn't boot. Linux services are working anyway, so it's only an Android issue that has to be solved and that will take quite some time.

I have two options and I would like you to choose for me:

1. I can release a fully working kernel, that is only 50% updated to 3.4 (everything working without issues)

2. Wait and release the 90% 3.4.

The n.1 will delay the n.2 of another 1 or 2 days.

Actually, the kernel's last release is for its 35% 3.4.

Waiting for your opinion :)
[HTC One X] vj4:
I cant get on your site to download :confused: signed up twice now and neither will work. Cant recover my password :( this makes me sad...... Option 1! will keep us entertained in the mean time!
[HTC One X] maseo:
Besides the update the a new sub-base to 3.4, what does the new base really improve for us? Will we benefit from this update (a lot) or is the 3.4 base just a overall improvement for all linux-based devices? In other words, how much do we HOX/Android users benefit from the 3.4 base.

If it's a lot; take your time. If it's just a small bit overall, do it in steps and let us experiment. ;)
[HTC One X] rkuijpers:
+1 for me ;)
[HTC One X] Drefsab:
yup this is my thought exactly :)
[HTC One X] williamyi:
@kholk,

If the full updated kernel will take 1-2 days to complete, I would say it is worth the wait. But somehow, if it is convenient to you, do you mind to tease us what are the significant updates that the users will benefit on?
[HTC One X] kholk:
3.4 brings generic and ARM performance benefits, not One X related, but that doesn't mean, obviously, that the One X won't benefit from that.

New Linux versions are there for a reason and the main reasons are:

1. HW compatibility (not important for us, as we don't have PCI-E etc)

2. Performance improvements

3. Stability improvements

4. Code simplification (that leads to N.3 and N.4)

5. Security fixes (IMHO, important, even if we aren't using a server, but only a handheld device, I want my data to be safe, do you?)

In the performance and stability improvements, we can find things like better multitasking and better SMP (multicore...) management (including scheduler improvements) etc etc etc (more infos on Google :P)

About the two options I gave you a post ago, the HUGE update can take 10 minutes, 3 days, 3 years, 3 decades......... (3 years/decades is unlikely xD)

......it depends on how lucky I am.

When you're programming, it's not all about knowledge: sometimes you also need some luck (unfortunately), so, if you watch at the right thing at the right moment (perhaps, a moment when you're really focused on what you're doing) you can solve your problem in seconds.

That's how things are going :P

Oh, I was forgetting.. don't get confused by "Linux kernel" and "Android".

And.... remember and repeat with me:

"Android runs on the top of the Linux kernel. The Linux kernel manages all what's behind Android. If a kernel is bad, Android is bad. If a kernel is wonderful, Android is wonderful." :P

Jokes apart, I really hope to get this problem sorted in SECONDS, but from my point of view, that will take at least 3 days.

I'm also in the exams period at the university (my exams dates are 19/06 and 27/06, for now), so I can't work for so much hours a day on the kernel but, you know, we do this as an entertainment, not as a job! :)

Also, an user pointed out that there's the 3.5-rc out and I want to spend some words also on this:

My target is 3.4 actually.. and 2.6.39 (EOL kernel!) to 3.4 is a HUGE change other than a HUGE jump. When I'll be finished with this porting to 3.4, I'll look at the idea of a 3.5 (smaller) jump.

Remember that uneven versions of the kernel are treated as BAD/TEST versions and will go EOL easily (as you can see, 2.6.3

9

and 3.1 are already EOL and 3.3 is reaching EOL).

About the 3.5, as you can see it's uneven, so it's probably a good option to perhaps wait to 3.6, but only time will tell obviously!

So, I hope I've cleared all of your doubts on the kernel.

If you have any other doubts, feel free to ask!

The EternityProject Team Manager & Main Developer,

--kholk
[HTC One X] AJerman:
Sounds like the making of the best kernel we have so far. Take your time and get it done right, I say. Don't rush it.
[HTC One X] Drefsab:
the main thing im hoping for from the new kernel is working otg, and of course the above mentioned performance and battery improvements (AVP). OTG for me though is the big one as I can then use my game pads I already own to play games (I've been tempted to buy a bluetooth one but holding off).
[HTC One X] kozmikkick:
Otg on HTC kernels is a tricky one since HTC changes a lot of things with otg in the kernel and in the framework I believe. This is why otg usually works in asop but not in sense.
[HTC One X] Drefsab:
True but given that kholk was very close to getting it working in the 2 branch. I would hope that in the 3 branch it would be a little closer :) I'm using miui anyways so hopefully it will work out.
[HTC One X] hy3301:
Thanks for this job. But can you tell us how to use the USB otg after flashing this? I saw many people talking about that the USB stick is not recognized after pluging in. thank you.
[HTC One X] IllUMINATUz:
Can I use this kernel with Exodized ROM??
[HTC One X] kholk:
It has been said and re-said at least 30 times: USBHost still doesn't work for now, but we're close to make it to work.

Sincerely, I don't know if that ROM has got a custom ramdisk..............you should try.
[HTC One X] IllUMINATUz:
Ok.. I am new to these terms.. custom ramdisk.. ill try to figure it out in google.. but what could at worst happen if I flash my phone with your kernel?? is there any chance that I will end up bricking it??
[HTC One X] kholk:
Maximum that can happen is that you'll be forced to reflash back the old kernel :)
[HTC One X] Drefsab:
try flashing it if it doent boot use the zImage injector (http://xdaforums.com/showthread.php?t=1647398) and merge the roms ramdisk with this kernel.

If all else fails just flash the roms kernel image back like kholk said :)
[HTC One X] IllUMINATUz:
Thanks for the response friends.. :)

ok.. I have your kernel.. but from where should I get the old kernel? I mean the existing one?? Sorry but I am new to this stuff.. All I did was root it and change the ROM.. kernel? the first time.. so please bear with my stupid questions..

Regards,

IllUMINATUz..

EDIT:

http://androidforums.com/android-lounge/445691-how-can-i-backup-restore-kernel-only.html

there the guy says that the custom kernel and the ROM on which the kernel is based on must be the same right?? Then I don't think that this will work..

reason : Exodized ROM is based on Insecure Kernel (Not sure what insecure means and its based on v1.29 he says) whereas this is Eternity Project Kernel.. so summing it up, the ROM isn't on this kernel.. so I think its not going to work.. Please correct me if I'm wrong..

Exodized Rom : http://xdaforums.com/showthread.php?t=1597778
[HTC One X] Drefsab:
The roms original kernel file will be called boot.img it should be in the zip file for the rom you download.
[HTC One X] sean.trinidade:
You can extract the 'old' version from your nandroid backup. You'll find the boot in the clockworkmod/backup/<backupname>/ folder.

'Insecure' just means that it is a rooted kernel - all ROMs (with the exception of pure stock) will have an inscure kernel.

If the ROM is based on 1.29, then you should be fine with using this kernel.
[HTC One X] IllUMINATUz:
That nAndroid is a .md5 file.. that one right..?
[HTC One X] sean.trinidade:
There should also be a seperate boot.img file in the folder.
[HTC One X] IllUMINATUz:
Yup.. there is..
[HTC One X] sean.trinidade:
That means if you ever want to revert to stock/previous kernel, just do the following:

1) Flash the boot.img from your nandroid

2) Then either undertake a recovery or re-flash the ROM

And you're all good! :)
[HTC One X] Drefsab:
thats not strictly true if he doesn't have S-OFF he will need to flash the boot.img using fastboot.

fastboot flash boot boot.img

and such, lots to learn really but if your going to use custom roms it comes with the territory.
[HTC One X] IllUMINATUz:
so.. what I understand is that if I screw it up, go to clockwork mod (vol down + power) > restore

or

go to clockwork mod and choose the zip from sd (the ROM zip) right??

@drefsab, the code "fastboot flash boot boot.img " must be put up through cmd via pc right??
[HTC One X] Drefsab:
yes you would need to have the files on pc, if your device is S-OFF you dont need to do it that way but S-ON devices can not flash the boot partition from within the device itself.

http://xdaforums.com/showthread.php?t=1592355 has a lot of information thats worth reading plus links to files needed to run those commands :)
[HTC One X] IllUMINATUz:
I have s-on.. I don't have sufficient knowledge.. don't want to screw my phone.. seeing all this.. I am frightened.. lol.. but thanks for the input guys.. at least I know what I am doing right now...

OK so.. this is it I think.. coz I know flashing a zip.. but this is rar..

Also.. I don't think there are any s off devices... Are they..?

My fear : I don't want to brick my darling HTC..
[HTC One X] kholk:
There's something easier:

If something doesn't work, reflash your current ROM.
[HTC One X] sean.trinidade:
Actually, having S-ON is a good thing - it means you can't actually brick your phone! At a very worst case you can just run the RUU to put your phone back to normal.

FYI. There are some S-OFF phones which were sent out to Devs, but these were unlocked by HTC.
[HTC One X] IllUMINATUz:
[/COLOR]

You read my mind bro.. thanks.. so I'll flash my phone with your kernel.. if it works.. well and good.. if something is screwed, I'll reflash it with my backup rom from clockwork.. and this won't brick my phone.. cool..

One last question.. I have to run the .bat file and relax for a few seconds.. before that, I shall connect my phone in usb debugging mode and in charge mode right..?

Also since I am on USB otg, which version of your kernel do you recommend..? In The latest version, USB otg is not working right..? Or shall I wait..
[HTC One X] kholk:
Yeah. Exactly.
[HTC One X] kholk:
Hey guys,

I wanted to give you an update on the status of the work.

The major issue I was experiencing on the 3.4 base that was making the device to not boot into Android has been solved! (hooray!)

BUT

There's another issue that HAS to be solved prior distributing the kernel: IRQs are consuming way too much CPU time: the device is useable, the benchmark performance is good, but sometimes it freezes for ~2 seconds because of that issue.

I'm obviously still working for solving that other issue.

In the meanwhile, I've posted a screenshot showing the Linux 3.4.0 kernel running on One X in all of its glory!

The EternityProject Team Manager & Main Developer,

--kholk
[HTC One X] Drefsab:
oh shiney screenshots where abouts are they on your forum? As for the IRQ bug it does sound like it would be a big one, but im sure you will sort it :)

Nice work on solving the other problem, glad it wasnt a 3 year job :P
[HTC One X] kholk:
Haha!

Yeah, the screenshots are on the other forum. :P
[HTC One X] IllUMINATUz:
I am getting this error.. I signed up.. but its not logging in.. so I tried forgot password.. and this is what I am getting..
[HTC One X] cYbOrG5:
same here. been trying around a lot of times since 2 weeks ago. anyone has a mirror or link to this kernel? will be testing it on miui 2.6.1
[HTC One X] CrazyCoder:
Same issue when I try to activate my account, it never sends an e-mail and shows this database error.
[HTC One X] kholk:
The problem has been fixed.
[HTC One X] ShyamSasi:
Ooo just saw the screenshot ... Awesome !
[HTC One X] kholk:
I went further on the development of this.

Now the IRQs aren't consuming THAT MUCH CPU time, but they still are taking too much of it (constantly 16-20%).

I expect to see a release (or at least a release preview) today or tomorrow, hopefully.
[HTC One X] cYbOrG5:
might be one of those too dumb questions...but just to be sure, no need to fastboot device? just follow flashing instruction at OP?
[HTC One X] Drefsab:
Im not quite sure what your asking, if you want to flash this kernel you will need to use fastboot from your computer unless you have S-OFF.

@kholk just out of interest how much cpu time would you say the stock or optimised kernels use for IRQ's? Just to give a little context to how far that 16-20% is from where it should be.
[HTC One X] Kriz206:
"v0.92b

- Useless debugging taking kernel time removed (hTC: brrrrr....)

- Some updates to OOM

- Updates to regulators

- Updates to RTC

- Updates to Tegra Crypto HW driver

- Some updates to memory management

- Updates to GPIOs

- OTG Host ID is now recognized by the device (

Host still not working

)"

So OTG Host still does not work. At least it's good to know you keep working on it so we can one day finaly use it. Great thank's for your effort and hard work.

Keep it up. I will follow this therad to check on progress.

Kriz
[HTC One X] cYbOrG5:
@Dref

usual instructions (franco, faux) asks to reboot HOX to fastboot mode (power + vol down), thats why i asked.

@all however, i read the batch file and it seems to look like plug and run, as instructed in OP. i run the batch files and after the echo for module upload has completed, right during sending kernel img, the VM im using crashed, as in BSOD crashed. did it twice, same.

in the end, i manuaally fastboot flash the eprjboot.img file and it completed. now i am in the kernel needs upgrade miui issue..will try to settle this by using the new updater apk...

thanks eternity project leads and members
[HTC One X] Drefsab:
ahh yup sorry I didnt quite understand what you were asking but you have already sorted it by manually flashing the img file :)

As for the update issue there's a patched updater on miuiandroid.com. It works a charm for me :)
[HTC One X] cYbOrG5:
yup. copy that Dref, thanks!

after some test runs, especially when switching windows, theres a blip; some kind of frame covering the window that has a different color,,must be the flicker everyone is talking about..aside from that...haven't notice anything dangerous, yet.

:D
[HTC One X] kholk:
@cYbOrG5

That's one of the strangest issues I've ever heard in my whole life. :P
[HTC One X] batna.antab:
Is possible to have the "normals" files (e.g. the boot.ing and modules ) because the bay file doesnt work on my pc.

A little question: i saw that faux kernel is hybrid kernel too, so i ask, which one is closer to a 3.x kernel?
[HTC One X] kholk:
@batna.antab

The next release of my kernel will be 3.4, not hybrid.

I don't know what faux123 has done on his kernel, but the latest release of my kernel has got a lot of drivers updated to the 3.4.0 mainline release.

About the "normal files" ... they're in the archive. The only difference is that boot.img is called "eprjboot.img".