yashsingh1/xdaforums huggingface dataset:
[HTC One X] kholk:
Ehm, nope, in reality, you're watching at the wrong repository... ehm.. xD

It's here -> http://www.gitorious.org/eternity-p...lobs/master/arch/arm/mach-tegra/tegra3_dvfs.c

Thumbs up!

Adding that to the first post! :D
[HTC One X] hamdir:
alright thanks but its not working still, is it due to base?
[HTC One X] ShyamSasi:
It works fine for me without those modules
[HTC One X] hamdir:
so kholk confirmed the clocks of GPU are actuall set

i wonder what could be going off
[HTC One X] DeeZZ_NuuZZ:
which rom are you running?
[HTC One X] hamdir:
hold a second! http://www.gitorious.org/eternity-prj/eternityprj-kernel-endeavoru-128/blobs/master/arch/arm/mach-tegra/tegra3_dvfs.c

so its a paramter? how do we enable it?
[HTC One X] kholk:
It is a configuration option, being watched at the kernel build time... and the kernel was built with CONFIG_ETERNITYPROJECT_GPUBOOST=y.

....So, the clocks you're using actually, are the 520MHz ones.

As a verification of what I've done, prior saying that this is actually working, I've tried to set the clocks at 700 and 800 MHz .... and, as expected, the phone didn't boot.

That means that the new clocks in there are being set successfully.
[HTC One X] hamdir:
thanks for this response im not arguing i just want it to happen, we should get about 68fps in egypt offscreen or at least any difference in this benchmark

The GPU scales with the CPU on T3, don't you think we should it help reach 520 earlier?

Suggestion taken from speedo2 values

CORE_DVFS("3d", 1, 1, KHZ, 1, 247000, 304000, 361000, 408000, 446000, 484000, 520000, 520000)

Or perhaps something more crazy

CORE_DVFS("3d", 1, 1, KHZ, 1, 247000, 304000, 361000, 408000, 520000, 520000, 520000, 520000)

Your Values

CORE_DVFS("3d", 1, 1, KHZ, 1, 247000, 304000, 332000, 361000, 408000, 446000, 484000, 520000)

Old Values

CORE_DVFS("3d", 1, 1, KHZ, 1, 234000, 285000, 332000, 380000, 416000, 416000, 416000, 416000)

http://www.gitorious.org/eternity-prj/eternityprj-kernel-endeavoru-128/blobs/master/arch/arm/mach-tegra/tegra3_dvfs.c
[HTC One X] madenssblade:
Can you fix the USB host mode because when you want to come out of host mode I have to turn off and on my hox to allow it to charge
[HTC One X] kholk:
Time to time... and thanks for remembering me that I have to do that, also :P

Anyway, yeah... doing my best.

Effectively, what you said isn't pointless, but according to what I was thinking when I did that, it should be fine like that because when the GPU needs the maximum available frequency, it should scale to the last one.

My fear is about the voltage steps now........ but anyway, good idea I'd say

: trying your excellent idea right now.
[HTC One X] hamdir:
i also suggest leaving the 2d clocks stock

by the way faux had a comment about why the benchmarks didnt change

dunno if it helps, all im saying we should see at least benchmarks change
[HTC One X] kholk:
He's only half right.... I'm not a moron at all and I've been looking on other things too! :P

Anyway, I've released a new version right now. Your idea was the right one: now it works perfectly and my GLBenchmark scores are better.

About the 2D clocks: I personally don't see any valid reason for this.... if the higher 2D clock isn't needed it won't ramp up to that.... and also, for coherency, if you notice, normally the 3D and 3D clocks are always the same.... but if you know any really valid reason for that, I'm listening, as always ;)

Enjoy! :D

Oh and ... sorry for the previous version!
[HTC One X] hamdir:
freakin awesome! :D

can you linke me to source

also i have a question why the LCD color calibration totally off?

reporting benchs soon
[HTC One X] kholk:
Follow the same link I gave you some posts ago......... it's the same file!

Anyway, in any case.... http://www.gitorious.org/eternity-p...lobs/master/arch/arm/mach-tegra/tegra3_dvfs.c

Uhm, LCD color calibration ...what?

I don't understand.. :|
[HTC One X] hamdir:
colors of LCD are totally different from the stock ones mate

the brightness levels and color temps, its washed out :)

and yup its working :)
[HTC One X] shadehh:
delete this post, i'm drunk!
[HTC One X] hamdir:
Eternity Project 0.26b - repacked for ARHD 7.x

modules

---------- Post added at 05:25 PM ---------- Previous post was at 05:10 PM ----------

im getting freeze when switching airplane mode

i think we have problem with modules
[HTC One X] timlambo:
Hamdir, how is the gaming now?

@ kholk,Thanks for the quick effort mate.
[HTC One X] hamdir:
im still in benchs and struggling with hangs whenever i exit airplane mode

ill keep it n test gaming tonight

its a little warmer but im testing non stop so its not fair to judge
[HTC One X] lowrider_05:
N.O.V.A. 3 is finally at a playable level thanks for this GREAT kernel:cyclops:
[HTC One X] hamdir:
nice wish the screen colors can be fixed...

---------- Post added at 06:08 PM ---------- Previous post was at 05:38 PM ----------

i think we need to try without the 2d clocks raise

the device is hotter right now but stable as a rock
[HTC One X] youngkwangk:
Does this kernel work on the AT&T version of HTC One X?
[HTC One X] hamdir:
no way :D
[HTC One X] timlambo:
Were are you experiencing the washout colours. Mine looks fine mate. Can you maybe post screenshot of somewhere in rom, which I'll also be able to post. Like settings or somewhere else.
[HTC One X] hamdir:
everywhere its just completely different

which base are you on?
[HTC One X] lowrider_05:
my device is looking fine ;)
[HTC One X] hamdir:
again which base?
[HTC One X] kholk:
@hamdir

Ehm...well...everything is fine for me too...... :|

But if you can post a photo of your device while having the problem you said (note: not a screenshot) it'd be good for getting an idea of what's going on for you!
[HTC One X] timlambo:
Also base 2.05, viper Rom. See screenshot of homescreen.
[HTC One X] lowrider_05:
2.05 viperX
[HTC One X] DeeZZ_NuuZZ:
with base 2.05 and franco's r12 it runs already good :D
[HTC One X] kholk:
Oops, sorry for the typo.
[HTC One X] starbase64:
@kholk

the last kernel 0.26b has also this problem

cheers

starbase64
[HTC One X] n3ocort3x:
is anyone else facing WLAN issues ? i turn it on, for 2 minutes it stays connected... after deeplseep its disconnected and when i turn it on again, device force reboot...
[HTC One X] kholk:
I've detected a problem on the updates made on the GPU drivers (not about the clocks).

It makes the device unstable in certain conditions.

I'm solving that.

@starbase64

Strange, my device works fine.... charger and USB to PC. Looking into that anyway.
[HTC One X] starbase64:
thx :)

cheers

starbase64
[HTC One X] timlambo:
@kholk,, I did notice a performance issue. When I tried to play nova 3 on interactive, the phone became quite slow after I quit the game, and shortly after it did a reboot. Can you please tell me how to do a logcat, for next time.

Thanks
[HTC One X] Promsd:
Airplane mode - freeze phone.. :(

No problem from other kernels..
[HTC One X] starbase64:
Hi,

kernel can't reboot to recovery or bootloader, makes always standard reboot.

cheers

starbase64

---------- Post added at 01:32 AM ---------- Previous post was at 01:25 AM ----------

Hi,

connect phone to pc (charge only mode) and use the following commands in a cmd

device connected? > adb devices

save kernel messages to last_kmsg > adb shell cat /proc/last_kmsg > /sdcard/last_kmsg

copy last_kmsg to pc > adb pull /sdcard/last_kmsg

for logcat use an app from market, search logcat.

cheers

starbase64

---------- Post added at 01:37 AM ---------- Previous post was at 01:32 AM ----------

same here :(
[HTC One X] starbase64:
Hi,

here is a log from a random reboot.

cheers

starbase64
[HTC One X] timlambo:
Here is the last reboot file. Happend when I was away from the phone. Hopefully all is well.
[HTC One X] hamdir:
non LCD colors washout problem on the latest faux

seems something is off with on of the panels in your kernel mate
[HTC One X] AuxXxilium:
@kholk can you repack youre kernel for cm9 builds and build working modules for these roms? that would be nice.
[HTC One X] kholk:
@altensalz

Use the repacker into the kernel tool.... :)

@everyone else

I'm working on an HUGE kernel stabilization patch. Also, I have a clue of what's going on for hamdir and I'm also solving that for him.

Stay tuned! :P
[HTC One X] AuxXxilium:
@kholk when i use the repacker the modules for gsm doesn't work and when i use them from cm9 i have an issue when i will turn off the wifi

but this is only when i use the baseband-xmm-power2.ko from cm9, but i must use this to get the radio working
[HTC One X] tbalden:
eternity 3.4 with cm9

reboot when idle:

[ 404.835537] [<c0217c98>] (nvhost_syncpt_wait_timeout+0x3b8/0x40c) from [<c0219d14>] (nvhost_ioctl_ctrl_syncpt_waitex+0x58/0x5c)
[ 404.835733] [<c0219d14>] (nvhost_ioctl_ctrl_syncpt_waitex+0x58/0x5c) from [<c021a0cc>] (nvhost_ctrlctl+0x22c/0x2c8)
[ 404.835921] [<c021a0cc>] (nvhost_ctrlctl+0x22c/0x2c8) from [<c00e9a14>] (do_vfs_ioctl+0x500/0x57c)
[ 404.836082] [<c00e9a14>] (do_vfs_ioctl+0x500/0x57c) from [<c00e9ac4>] (sys_ioctl+0x34/0x54)
[ 404.836254] [<c00e9ac4>] (sys_ioctl+0x34/0x54) from [<c000e400>] (ret_fast_syscall+0x0/0x30)
[ 404.836392] Code: e2800008 eb011e01 e1a00007 eb000e46 (e7f001f2)
[ 404.836872] ---[ end trace 7b0bba99866780da ]---
[ 404.836971] Kernel panic - not syncing: Fatal exception
[ 404.837169] [<c00142dc>] (unwind_backtrace+0x0/0x12c) from [<c057929c>] (panic+0x78/0x1a4)
[ 404.837359] [<c057929c>] (panic+0x78/0x1a4) from [<c0011970>] (die+0x270/0x2c4)
[ 404.837519] [<c0011970>] (die+0x270/0x2c4) from [<c000829c>] (do_undefinstr+0x118/0x130)
[ 404.837673] [<c000829c>] (do_undefinstr+0x118/0x130) from [<c000e048>] (__und_svc+0x48/0x60)
[ 404.837773] Exception stack(0xd3fc1e10 to 0xd3fc1e58)
[ 404.837874] 1e00: d4ee6d50 00000000 d3fc1d20 00000000
[ 404.838012] 1e20: d4ee6c54 00000016 00000000 d4ee6c00 0003bea8 7ffff2b7 d3fc1f04 d3a8885c
[ 404.838138] 1e40: 22222222 d3fc1e58 c057aac4 c0217c98 60000053 ffffffff
[ 404.838304] [<c000e048>] (__und_svc+0x48/0x60) from [<c0217c98>] (nvhost_syncpt_wait_timeout+0x3b8/0x40c)
[ 404.838480] [<c0217c98>] (nvhost_syncpt_wait_timeout+0x3b8/0x40c) from [<c0219d14>] (nvhost_ioctl_ctrl_syncpt_waitex+0x58/0x5c)
[ 404.838664] [<c0219d14>] (nvhost_ioctl_ctrl_syncpt_waitex+0x58/0x5c) from [<c021a0cc>] (nvhost_ctrlctl+0x22c/0x2c8)
[ 404.838836] [<c021a0cc>] (nvhost_ctrlctl+0x22c/0x2c8) from [<c00e9a14>] (do_vfs_ioctl+0x500/0x57c)
[ 404.838993] [<c00e9a14>] (do_vfs_ioctl+0x500/0x57c) from [<c00e9ac4>] (sys_ioctl+0x34/0x54)
[ 404.839151] [<c00e9ac4>] (sys_ioctl+0x34/0x54) from [<c000e400>] (ret_fast_syscall+0x0/0x30)
[ 404.839261] Rebooting in 5 seconds..
[HTC One X] RenVilo:
I'm looking to use this rom:

http://xdaforums.com/showthread.php?t=1639688

I see you say in the change log:

"

v0.25:

- WiFi connection drop problems SOLVED!!!

- WiFi AP working

"

WiFi AP Working???? Tested and not working. I can connect to my access point but no internet. Only rom that I got working so far to actually connect to an access point and give me internet access is:

http://xdaforums.com/showthread.php?t=1704303&highlight=aosp

Here's a Q&A of my complete setup at home:

http://xdaforums.com/showthread.php?t=1724136

http://xdaforums.com/showthread.php?t=1739179

Please can you help me :D

tx
[HTC One X] ehsanmp:
Problems with both methods gaining write access when pushing modules :(

Hey all,

Hoping someone has some insight into this,

I've been trying to flash in the kernel onto my One X (international) and using the standard method in which case it wont push the modules to the phone before performing the flash, resulting in a boot-looping handset. Fortunatly I had CWM save my ass yet again, prrraise the lawwd :laugh:

If I use the easy flash method, fortunately once it notices the push fails it stops the process, for each package though, i get the same response.

"ERROR: failed to copy 'modules\baseband-xmm-power2.ko' to '/system/lib/modules//baseband-xmm-power2.ko': Permission denied"

and other things pertaining to the system still being a read only file system and hence not permitting the push.

So yeah, please advise me, esteemed denizens of the dev forum n all that.

Ehsan
[HTC One X] starbase64:
open a new cmd and write "adb remount" then push files :)
[HTC One X] ehsanmp:
Well I tried that but it says I dont have permission. i also tried going into adb shell and running "mount -o rw,remount /system" but everytime i run the EXECUTE_ME.bat or the EZ flasher it of course remounts it again and undoes all my good work lol.

Is their some permissions prerequisite I need to set up other than tick USB debugging to have the EXECUTE_ME.bat or the EZ flasher have enough permissions to do this?
[HTC One X] starbase64:
what is your current rom?
[HTC One X] ehsanmp:
Rom is stock, 1.29.401.11
[HTC One X] starbase64:
connect in "charge only" mode with pc, then ez flasher works.
[HTC One X] ehsanmp:
Charge only, unlocked bootloader, usb debugging, rooted.

Ez flash readout:

Restarting ADB as root...

Remounting /system as rw...

Pushing the necessary kernel modules...

ERROR: failed to copy 'modules\baseband-xmm-power2.ko' to '/system/lib/modules//baseband-xmm-power2.ko': Read-only file system

Restarting ADB as root...

Remounting /system as rw...

Pushing the necessary kernel modules...

ERROR: failed to copy 'modules\baseband-xmm-power2.ko' to '/system/lib/modules//baseband-xmm-power2.ko': Read-only file system
[HTC One X] GuyAdams:
Sounds to me like you don't have full root, install titanium from the market and see if it can get proper root access.
[HTC One X] madenssblade:
Hey can you config the POGO PINS on the back to do mhl out or USB host mode so we can have both running at the same time
[HTC One X] ORStoner:
Where can you get a connector for them?
[HTC One X] madenssblade:
Is make my own how hard can it be just cut up mhl cable and solder it to pins
[HTC One X] kholk:
I've seen almost all the comments and all I can say is:

About the stacktrace experienced on the CM9 of that user, that's related to GPU drivers and I've already said that they're unstable also on Sense..... and that I'll revert those changes. They're bad.

About the one complaining about the AP mode.... well, when I write something into the changelog, it means that I've tested what I say. Working on 1.29 stock. It's useless to complain about something without providing logs of the current error.

About the POGO pins idea..... yeah, I've had almost the same idea..... but I haven't got any idea on how to connect those pins without soldering anything on the phone.

If anyone has got any idea about this, well, that would be awesome!

As an update on the work that is going on..... well, I'm experiencing problems over problems... and as soon as I solve a problem, another 3 are appearing, so, that'll probably take quite some time.

In the meanwhile, if it will take more than another two days, I'll release a progressive version without the huge-and-not-ready stability-patch that will solve the GPU drivers major bug... and another one that I've found in the CPU frequency management.

Sorry for the long post and the wait.
[HTC One X] madenssblade:
You can buy POGO PINS and a cheap dock just make the holes needed to make the connection
[HTC One X] kholk:
Oh okay. I'll see what I can do about that after finishing the huge-woot-heeey-stability-patch :P
[HTC One X] ORStoner:
You could buy a car dock with pogo pins and hack it? Or buy a case that continues the pogo connections and solder to that.
[HTC One X] madenssblade:
Thanks :D it would be great if it is possible keep up the good work
[HTC One X] Tableuraz:
Wow, your kernel is really great, the best I've ever tried, my phone keeps overheating and I have the happiness to see something I didn't saw for a long time, Random reboots! Thanks man, we don't have enough unstable kernels down here! :highfive:

http://www.youtube.com/watch?v=L_mrNQBLSMU

Wow, now my phone froze yippee ki yay! :victory:

I come from Faux123's kernel, that could be a reason by the way :(
[HTC One X] n3ocort3x:
i guess both....:silly: serious... man... Do you know how much time such a thing consumes and how many knowledge is behind such things...

@ kholk

nice to keep us updated... take a break.... relax and on the next day... things will be better.... ! :good:
[HTC One X] Tableuraz:
Mostly trolling and a little bit stupid I guess ;)

But seriously I don't understand why I can't get this kernel to work properly, I tried every other kernels and they were working pretty good but this one keeps rebooting or freezing at start-up :confused:
[HTC One X] AuxXxilium:
@kholk i have a working version of your kernel for cm9 but the latest 26b causes graphical issues. i think it's a problem with the cpu clock. if anyone other need a working version for his cm9 oder cm9 dom, please send me a mail.
[HTC One X] Tableuraz:
And also, I tried this kernel before and old versions were working pretty good (except temperatures were a little high...) but all these issues occured with recent updates, this is strange, I even tried repacked boot img and no luck, this is awkward...

Too bad 'cause I would really like to try overclocked GPU, just to see how are temperatures and performances (and battery life ;-) )

By the way, I hope you don't get hard feelings about my sarcastic/trolling post, I was just in a kidding mood ^_^
[HTC One X] ehsanmp:
ALLRIGHT! Did it!

So yeah! Managed to get it running!

Avoided the whole permissions issue (checked, I have full root already) and decided to install Android Revolution and use the conveniently packaged CWM friendly kernel modules. Flashed the boot.img on the phone in fastboot, installed the zip from recovery and the phone started just fine!

HOWEVER.

Airplane mode, from bootup, was constantly trying to turn itself off, and the cell radio wasnt connecting. zero phone signal. in the about section all details relating to the phone such as IMEI were blank.

Despite these issues, the kernel was VERY fast. impressively so. I will switch back to it if i can get that issue fixed.
[HTC One X] GuyAdams:
As per the first post you need to push these modules to /system/lib/modules

http://d-h.st/a9x

When I get five minutes I will wrap those into my repackaged EternityProject modules zip.
[HTC One X] ehsanmp:
Thanks so much! I just dropped them into the modules folder in your zip and its working great now!
[HTC One X] ORStoner:
Regarding the pogo pins, is it impossible that they could supply power to OTG devices unlike the main USB port?
[HTC One X] madenssblade:
But the main USB port don't supply power
[HTC One X] ORStoner:
I know it doesn't, but I reckon that it isn't impossible that the pogos could. Some car docks you can buy for the HTC one x don't have a power supply but still trigger HTC car mode when it is docked.
[HTC One X] endursa:
i would assume that this is done via a certain resistance between pin 4 and 5 on the usb port / pogo pins, same way as otg and every other usb accessory is detected ;)
[HTC One X] vsnlweb:
Dumb question as I am new to the whole running custom Kernels. I have had a problem with my in-call volume being really low no matter what ROM i am on. Is there anyway that you can increase it so that I don't have to jam the phone down my ear canal?
[HTC One X] inestion:
The link for the stockmodules.zip http://d-h.st/a9x is not working, any mirror?
[HTC One X] hd2neuling:
Dev-host is sometimes not available caused of too much traffic, just try a few seconds/minutes later, atm it´s available for me ;)

LG, Helmut
[HTC One X] inestion:
I'll wait...
[HTC One X] madenssblade:
This don't support jelly beans ramdisk
[HTC One X] niksssss:
Can anyone post theirs Quadrant or Antutu benchmark scores ? Thanks !
[HTC One X] prokshit:
QUESTION!

Will there be an update where the otg works without any external powersupply.. like on sII and other tablets... thanks
[HTC One X] mattman83:
If the phone is capable of it then it will probably happen. Noone knows for sure if the phone can output enough power though.

M.
[HTC One X] GuyAdams:
Search the thread, kholk has already stated that he's almost certain its not possible to use the phone to power devices.
[HTC One X] prokshit:
ok then how does the samsung note and s3 and all can do it. and why cant the HOX cant.. ? :rolleyes:
[HTC One X] mattman83:
Just wasn't designed to.

M.
[HTC One X] GuyAdams:
As a consumer device there really is no need to waste time and money on the development of a feature which the average user just won't use. I think I'd much prefer HTC to concentrate on more important things like get kernel source code out in a more timely fashion.

And for the majority of USB peripherals there are bluetooth equivilents (keyboards, mice, etc) for USB storage, there is network enabled storage, etc, etc, etc.
[HTC One X] eyosen:
Quoting kholk, motherboard is probably not capable of providing power to external usb devices.
[HTC One X] danyshotbang:
Tegra 3 T30	40 nm LPG by TSMC	ARMv7	1.4 GHz quad-core ARM Cortex-A9 (up to 1.5 GHz in single-core mode)	L1: 32 KB instruction + 32 KB data, L2: 1 MB	520 MHz ULP GeForce

This is what makes me confiused in elternityprojekt he said unlocked to 667mhz when it already is 1066mhz in the one x!!

and what does the 1500mhz stand for?

32-bit single-channel 1066[citation needed] MHz LPDDR2 or 1500 MHz DDR3-L[24]

plz give me a answer i can understand?
[HTC One X] kholk:
Hey guys!

I'm sorry, I've had some personal problems.... and sincerely I still have a lot of them...

....Anyway, remember the HUGE stability patch?

That will require A LOT of time, I've undervalued the situation (and yeah, that's an error that shouldn't be done) and from what I've seen, it's still too much early to build something like that. We'll proceed on a constant-mixed-updates basis, probably.

Surely, having a way to open an UART and see the early printk would speed this up of like ~900%, but we don't have that for now and unfortunately I have to develop with what we have. (Ehm, nope, the last_kmsg isn't of any help to me while developing that patch)

What I promised some days ago was to re-stabilize the video drivers... and that's something that I've probably done now (needs some testing, but I'm almost sure it's solved) and well, yeah, I'm about to release a new version with also other changes. Like always, you'll see the changes into the changelog as soon as it will be available (I think I should be done with it in a couple of hours, but I can't promise you all that I'll release it today and not tomorrow).

@danyshotbang

The calculation of the "final" RAM frequency is (stated_frequency * 2) ... so, 533*2=1066MHz --- 667*2=1334MHz (1300).

See you soon!

EDIT - 10:30PM:

I've seen that apart the main update I was doing on the huge patch, a lot of the other commits I did on the kernel can be applied and they're working just fine. Let's delay the release to tomorrow: that will be A LOT better! :P

P.S.: I also have to download and install Visual Studio on my laptop for releasing it with the auto-repacker... and it's a bit late right now!

EDIT - 23/07 16.30

New version released!

For further informations, check the changelog!

The EternityProject Team Manager & Main Developer,

--kholk
[HTC One X] madenssblade:
I'm shooting in the dark How do you change the resolution off mhl output
[HTC One X] kholk:
That's something to be done on the ROM, not on the kernel... apart that it's completely OT here, I really don't know :P
[HTC One X] madenssblade:
Thanks
[HTC One X] Maikeu Locatelli:
TESTING

Testing the 0.27 3.4 kernel, for now, i tested dead trigger, runned it for 5 min, some heat, but i think that is normal, the stock kernel overheat too, i will do more testing, like battery.
[HTC One X] musz:
Hi Kholk,

Been tested the kernel for 3.xx so far what i notice it reduce heat on my HOX , but .. i got few random freeze/hang while browsing internet.. other than it awesome.. will continue on testing for few days.. anyway great work u got there mate.. thanks
[HTC One X] Jhinta:
HAAAAAAAAA you just gave me ubuntu !!!:angel: sooooooo tnnxxxxxx
[HTC One X] starbase64:
Hi,

wifi goes in sleep after a while in standby, but in settings is always on activated.

I also have random reboots.

cheers

starbase64
[HTC One X] Maikeu Locatelli:
Randon reboots here, 1 time only, i will keep testing..