yashsingh1/xdaforums huggingface dataset:
[HTC One X] neuTrue:
@Hamdir:

My mind is empty right now, I couldn't find anything that supports

overclocking/underclocking

AHB/APB

won't

result in any

performance change

!

I wasn't really interested in the 16bit situation, but it wouldn't hurt to have it as well. Last time I used Chainfire3d, it had an option to force 16-bit mode. So, perhaps in future we might see an update of Chainfire3D (less likely) ,if it's really important we might need to contact Chainfire for some help/information (he is a friendly guy).
[HTC One X] hamdir:
well this would mean its in the EGL drivers ;)

still i have my serious doubt games are using 32bit

i think its up to the game itself to chose wether its 16 or 32 and given how we are performance deprived im pretty sure most devs opt for 16

as for AHB OC kholk said its working, so i really dont know ...

well friend it would be much easier for us if u were rooted and joined the fun ;)
[HTC One X] Whitecookie:
Tried to install Chainfire 3D on Jelly Bean with Sense 4+ and now my One X isn´t booting :laugh:
[HTC One X] hamdir:
crazy man, its well known chainfire does not support JB it hasn't been updated since ages

you can either restore ur rom or you will have to manually restore the EGL drivers, look it up online
[HTC One X] Whitecookie:
:silly: Didn´t knew that... the last time, i used Chainfire 3D was four months ago on my Xperia X10i with 2.3.7 :D
[HTC One X] neuTrue:
Haha, sure I'd like to. Just not before repairing my One X, as my GPS still acting funny (sometimes) ,and the screen yellow spots comes form time to say "Hi" to me. ;)

Probably, in December I'll have the time to do it. Hopefully, at that time I'll finish my games (I don't like to repeat RPG games).

Anyway, before I am off to sleep, I'll leave these here.

http://developer.download.nvidia.com/assets/mobile/files/tegra_gles2_development.pdf

https://github.com/blackberry/GamePlay/pull/373

Edit:

@Whitecookie:

Whaaat? I didn't think I recommended installing it!

Try to access recovery, and use "adb shell". After that, try to remove Chainfire3D drivers.

Edit2:

I Googled for you to see what files did Chainfire3D install. Good thing that Chainfire seems to include an uninstalling script.

When you are in shell, execute the following:

./system/lib/cf3d_uninstall.sh

Source: http://xdaforums.com/showthread.php?t=1812590

I am off to sleep now.
[HTC One X] Whitecookie:
Thanks! Helped :highfive:
[HTC One X] hamdir:
Excellent finds my friend its a big deal what you just found

Like i said before, a game will request its needed frame buffer, its up to the game developer to choose which render depth he wants

Thanks to your revealing links we now know more, apparently Tegra 3 does not support 24bit buffers and nvidia warns if a game requests it in the usual way the OS will return a software emulated version with reduced performance and features, a bad return will also result in rendering artifacts

I'm willing to bet money that this exactly what happens with many Gameloft games like asphalt 7 used to have severe polygon edge crawl bug until the v1.0.3 update, so now we know 24bit is actually a selected frame buffer by some Gameloft games

Now the kernel patch you found actually forces down a game to fallback into16 bit if it calls the unsupported 24bit, yes to be honest nvidia should have thought of such patch themselves, the fall back would solve it for games like the 1.0 and 1.0.1 of asphalt 7

In otherwords this patch will attempt to fix games badly supporting tegra 3

Now I'm also pretty sure when GL decided to finally give a damn n fix it for tegra in v1.0.3 they opted to go up to 32bit, this a just an assumption on my part

So we can go further, just like this patch fallsback to 16 when 24 is requested I think its possible to make similar fall back for 32bit and hence force games calling 32 into 16, but of course messing up with a games buffer might mess things up graphically

But at the very least if we implement the 24 to 16 fix we make sure games not optimized for tegra will run a lot better

Good find my friend

http://developer.download.nvidia.com/assets/mobile/files/tegra_gles2_development.pdf

https://github.com/blackberry/GamePlay/pull/373

---------- Post added at 10:34 PM ---------- Previous post was at 09:53 PM ----------

@kholk can we try two versions of this fix? I checked the code I think its easy to make 32 as well

- 24 to 16 fallback as is

- 32 and 24 to 16 fallback

I think the second idea might not work since the code only activate on error?
[HTC One X] Thunder07:
now, lets hope that hasn't been implemented yet

@kholk, you around or should i go to bed.
[HTC One X] joewong1991:
You guys are just amazing iv been trying my best to uderstand and learn what you are doing with a little help from are best friend google :)

Keep it up guys your doin a great job and if you need anything a noob can help with im always welcome to help

sent from my renovated gaming beast
[HTC One X] neuTrue:
@Whitecookie:

Glade it did. :)

Please in next time, be careful not to break your phone.

@Hamdir:

I don't know how to tell you this. :\

I am sorry if I had given you, or anyone else the wrong impression. I see some of you got the wrong idea about the 2nd link (related to Gameplay engine), and it isn't a kernel patch.

I just wanted to confirm 24bit shouldn't be considered, and according to the Gameplay Tegra 3 is using 16bit, but in nVidia development document it says it supports both (16bit & 32bit). The only exception is "GL_OES_texture_float", which is not recommended and it converts 32bits to 16bits (we aren't making 3D app, so we can skip the last information).

@joewong1991:

We technically aren't doing anything (beside shooting Kholk with ideas :P), so Kholk is your man here.
[HTC One X] Arthas92:
i remember in CM10 rom have option to force graph to 16bit and chainfire have both force to 16 or 32bit

but not sure that it really work
[HTC One X] hamdir:
yes but wouldn't the same logic applies into a kernel patch? (fallback concept)

if a game requests 24 we can force it into 16?

like i said its an EGL matter and not the global color bit rate matter
[HTC One X] joewong1991:
Yes kholk is the man his work is like witchcraft lol and i will donate when i have some spare cash and without readin all your guys post and copy n pastein into google i would of never leard and you have opend so many doors im really intrested in learning more this is rearly good stuff and thats Why i thank you all

Thanks :D

sent from my renovated gaming beast
[HTC One X] neuTrue:
Sure anything with a logic in mind can be done, the problem is how to do it.

I was trying to find what chip is responsible for controlling our screen (and later on, finding the datasheet). The problem is we need to look into our One X motherboard ,and see what chips are there (other than Tegra). The easy way is to find someone, who dissembled our phone and from the picture, we can obtain the chips information. I still couldn't find anything useful, so I decided to check for One X (Int.) spare parts, let see how this will ends.

Beside that, sorry for the late respond. :)
[HTC One X] hamdir:
would this help? http://fashion.pconline.com.cn/mobile/1204/2754053.html

so you think we are at dead end regarding 16bit? kholk gave up? :)
[HTC One X] neuTrue:
I have already seen that (most posts on internet are referring to these pictures). The good thing that "miHah" is going to help us.

http://xdaforums.com/showpost.php?p=34441777&postcount=83

I don't think it's over regarding 16-bits mode, in my opinion it's easier than the resolution up-scaling. However, I am more interested in the resolution idea.

We all need to know that Kholk is a one man with a limited time, and can't do more than he could. I am pretty sure he is busy with the university/life ,and perhaps trying to make things going (otherwise, he would have already posted here long time ago). If Kholk couldn't do it or doesn't have the time to do it, he can easily say it, as he wasn't obligated to do anything for us.

I'd rather not to conclude anything regarding this mater, at least not before Kholk enlighten us, until then we shouldn't discuss this. :)
[HTC One X] neuTrue:
[Random post, with random stuff, be warned :P]

First with the silly solution (anyone with root, could give it a try).

Install busybox.

Link: https://play.google.com/store/apps/details?id=stericson.busybox&hl=en

Try "fbset" does it work?

"man fbset", and play with it (changing resolution or 32bit into 16bit , etc...).

Reason why I though about it: http://code.google.com/p/busybox-android/issues/detail?id=4

Couple of interesting thinges, I hope Kholk can look at these (when he gets the time), as I think in his proof-of-concept-kernels that he only looked/modified "board-endeavor-panel.c".

struct tegra_fb_lcd_data {
int	fb_xres;
int	fb_yres;
[B]	/* Resolution of the output to the LCD. If different from the
framebuffer resolution, the Tegra display block will scale it */[/B]
int	lcd_xres;
int	lcd_yres;
int	bits_per_pixel;
};

[I]Source-code: arch/arm/mach-tegra/include/mach/tegra_fb.h[/I]

Also, this one.

Source-code: drivers/video/tegra/fb.c

Interesting information & driver.

Source: http://www.kandroid.org/online-pdk/guide/display_drivers.html

The alternative way of doing all these (not kernel related, as I think & more towards ROM developers):

Modifying surfaceflinger to change resolution and forcing 16-bit.

http://gitorious.org/android-eeepc/...9ea6db658c4d1e38cdb05ab4c/libs/surfaceflinger

Note: Random git, just for illustrating purpose.

Last one: http://www.khronos.org/registry/egl/sdk/docs/man/xhtml/eglQuerySurface.html

Seems helpful in dealing with Surfaceflinger.

That's all for now. :)
[HTC One X] IllUMINATUz:
The stock HTC kernel 3.1 supports OTG with jellybean update.. maybe you can look into it and create an awesome kernel please..
[HTC One X] nashshafrulrezza:
Kholk know long time ago since the 1st leak.. but can't do nothing without sources mate.. need to wait for HTC again.
[HTC One X] Arthas92:
i saw kernel source 3.1 for one X+

some dev used one X+ base rom on one X

can we use that kernel source for one x too?
[HTC One X] lindahl85:
Wake by volume keys does not work with the 3.4.0 kernel and CM10. Am i alone with this?
[HTC One X] arses:
Hey guys

Is it possible to connect the phone to usb hub and use flash memory and charge the phone simultaneously?

Isn't dangerous for phone?

Thanks
[HTC One X] marko987:
...

Can someone please pm me zip file of this kernel REGULAR version their site is down and wanna try this for weekend.Ty in advance
[HTC One X] kleskus:
How can I update my hboot from 0.96, I have O2___001 CID, and I can't install this kernel - I think because I have old hboot version.
[HTC One X] timlambo:
Its not about hboot, but rather about flashing the right kernel for the right roms. On his site you will see that there is a general kernel 3.4 section which is only for sense, and on his cm10 thread on his site is the kernel for cm10 roms. Make sure to flash the right kernel with the right Rom.
[HTC One X] kleskus:
I flashed EPRJKRN_ENDEAVORU3.4_CM10_OC_v0.86 kernel and Install his EPRJROM_ENDEAVORUCM10_0.04 and my phone is rebooting at HTC logo, but now I have installed CM10 with 2.6.39.4-cuanogenmod kernel and everything works fine :> Also when I tried to install Android Revolution HD 15 JB with kernel from ARHD I have this same problem, ICS from ARHD works fine :>
[HTC One X] timlambo:
When flashing sense roms hboot is a bit more important. For the latest sense roms you need at least hboot 1.31.

Try his latest cm10 with his v0.99 kernel. First flash the rom as normal and let it boot. After that connect your device to computer and make sure adb recognizes your device. If it does, run normal ".bat" file if using windows. Also please try the non oc version first. If that works you can try to use oc version. Maybe your device can't handle it, as there are a few different quality yields out there.
[HTC One X] twics:
Hi guys Iv just flashed your kernal heres hoping for better battery life, thanks for your work, @timlambo I see your using Viper X like me, how you finding this kernel for battery usage?

Thanks:)
[HTC One X] timlambo:
Oh, I changed to jellybean in the mean time. But when I used this with viperx it was just outstanding. Make sure to put the governor on eprjdemand, as I felt that was the best governor for me.
[HTC One X] twics:
cheers for the advice:)
[HTC One X] iMack007:
Do we have full USB OTG support without voltage needed?

Hi all. Appreciate any help here please. I know this kernel supports USB Host mode (I'm yet to get it to work on any level... sigh) but I tried searching, now for over 6 hours but to no avail. I'd like to get usb otg support for memory sticks specifically (due to shortage of space on my hox) & have installed Eternity projects 3.4 stable kernel & chainfire's stickmount (from Playstore ) & even ntfs mounted but nothing I've tried has worked.

I'm thinking my cheap otg cable might be faulty, but then even my usb mouse is not detected (could still be there otg lead).

Basically what I'm asking is, wether or not we can get the plug n play otg functionality that is enabled on the official Jelly bean build.

Have I missed something or is it simply not possible to achieve within the current ICS sense framework?

Oh, I'm on a 3 branded (no cid rom yet released) hox, so no official JB with other features for me yet.

Thanks for any help.
[HTC One X] joewong1991:
You need powers USB hub there's a how to video in the op
[HTC One X] iMack007:
Full USB OTG without external power/voltage?

Thanks for the reply Joe, but like I said, spent hours researching this & am looking for a solution just like usb otg 'without' needing an external power source or voltage (as in the title of my op). Thanks for trying anyway. Seems I just got to be patient like everyone else ;)
[HTC One X] joewong1991:
USB OTG only works on jb because on ics our USB does not have enough output power to power anything that's why we have to use a powered hub so we just have to wait for jb
[HTC One X] iMack007:
See your point mate. It makes me wonder if the official Jelly bean update compensates for this. People have stated it's a 2 part upgrade ; 1 for battery & hboot upgrade then a much bigger download of JB itself.

Wonder if the first part (ota update) contains the info needed to get this raised power/voltage for OTG. Anyway, I'm no dev & know my limitations, so I'll just keep waiting, reading & learning. Cheers again.
[HTC One X] saj2001ind:
I am on ICJ 3.5.1 andrpid 4.1.2 and want to use USB OTG,,,can I use this kernel to do that ? and how ?
[HTC One X] iMack007:
Don't think so buddy....ICJ is still unofficial & not got the 4.2 otg support. Someone correct me if I'm wrong.
[HTC One X] tan1736:
0.99b Alarm Clock is not work.,at LCD close mode ,over 30 minute. :crying:
[HTC One X] XIAOSpider:
Without GPU OC？
[HTC One X] batna.antab:
Does Anyone know what happened to kholk ? T
[HTC One X] vaykossil:
Think he's waiting for jb sources as others are ...
[HTC One X] kholk:
Hey guys!

That was a long time without any word from me :P

Well, apart that I'm studying really hard... I've been able to update some parts of the kernel, but it turned out that the new updates did give more problems than improvements.

Actually, lowjoel is experimenting some new code in our EternityProject CPU Manager and in our eprjdemand governor that looks like giving some other (minor? still don't know) battery improvement.

Apart all, there's not so much to update.

I've also experimented going on with the 3.5 base, tried 3.6 and also some 3.7 "components", but everything ended up with the 3.4 kernel being the fastest and the most stable and reliable choice actually... and sincerely I've had the same experience on my x86_64 machines too.

Another sincere word, I'm experimenting some hardware mods (on the X) too, with the best one being simply... a new battery. Precisely, I bought two new BL-53QH (Li-Ion, SiO+, 3.8V, 2150mAh), one as a second battery for my O4X and one as a replacement for my One X. I've soldered the HTC battery cable on it (took it from the original HTC battery) and I've gained from 35 to 50% more life and A LOT less heat.

By the way, I'm also waiting for the new One X (JB) kernel sources to come out.. but just for updating "proprietary" (not really proprietary, as there's the source) drivers.
[HTC One X] ctfTijG:
Welcome back kholk!

Good luck with your exams.

Meanwhile, Trip has released a Tegra3 reference kernel, working on every HBOOT and with Sense support. Might take a look at his work? Maybe it can help to unlock the HBOOT checks and regain Sense support for your kernel?
[HTC One X] neuTrue:
@Kholk: I am glade you are still alive ;)

About the LG battery, would you mind telling more about it? Did you need to break the upper part (in case it has it). Also, did it fit nicely without pushing/forcing it hardly?

How is the charging time, and one more important question. Did your phone recognize the new battery capacity without a modified kernel?

If I could ask, could you post the on screen time + temperature (preferably when it's below %8 + after browsing or something)?

I was waiting to see if any side effects would appear from using One X+ battery, but now as LG option is possible, I am not sure which one to pick. If LG's one works flawlessly, I might go with it only because of the extra 50mAH + the newer battery technology as well. :)

Last thing, I would be happy if you could reply to me before the next century. :P
[HTC One X] n3ocort3x:
kholk is alive ... :) Hell yeah !:highfive:
[HTC One X] IllUMINATUz:
Re: [KERNEL][USBHOST][02/11] EternityProject Kernel 3.4.0 v0.99b | STABLE FOR DAILY U

OMG who declared that the awesome dev was dead..? And I'm happy that he hasn't abandoned this project.. :p
[HTC One X] iba21:
R: [KERNEL][USBHOST][02/11] EternityProject Kernel 3.4.0 v0.99b | STABLE FOR DAILY US

Don't understand, works with sense rom 3.14.xxx.31? Or only nosense aosp?
[HTC One X] noobtuber96:
I wanted to ask the same question
[HTC One X] batna.antab:
[KERNEL][USBHOST][02/11] EternityProject Kernel 3.4.0 v0.99b | STABLE FOR DAILY USE |

It shouldn't as it based on the old source.
[HTC One X] kholk:
I didn't test it with the new Sense, so I can't really give you an answer on this.

Surely you'll need to repack with a new ramdisk, but well... if anyone is brave enough to try, let us know :)
[HTC One X] batna.antab:
[KERNEL][USBHOST][02/11] EternityProject Kernel 3.4.0 v0.99b | STABLE FOR DAILY USE |

You're still alive dude :) , what will be your next device if you change your hox?
[HTC One X] vkass:
Can you please tell me how exactly did you solder the connection to the lg battery?

soldered the two black to (-) the two red to (+) and the white and green in order
[HTC One X] ctfTijG:
@Kholk

The sources for the HTC JB kernel are released. I sense some updates to this kernel?
[HTC One X] vkass:
hmm

now the order is red white black green.

the phone starts but then shuts off.

when i plug it in the red light turns on for 4-5 seconds and then turns off for 4-5 seconds.
[HTC One X] vkass:
Switched white and green and managed to turn the phone on.

turn it off to put all the screws in place, put it back together and tried to turn on.

Screen turned on for a second and then stopped working.

Phone turns on and recognized in adb and mtp but no screen.

Kids dont try this at home.

Edit:

Only the lcd burned, the digitizer and the rest of the phone works through mhl
[HTC One X] IllUMINATUz:
Re: [KERNEL][USBHOST][02/11] EternityProject Kernel 3.4.0 v0.99b | STABLE FOR DAILY U

What happened to this awesome kernel?? Dev . u there..?? Kohlk..?? What happened..????
[HTC One X] batna.antab:
[KERNEL][USBHOST][02/11] EternityProject Kernel 3.4.0 v0.99b | STABLE FOR DAILY

I think he's very busy with the university.
[HTC One X] IllUMINATUz:
Re: [KERNEL][USBHOST][02/11] EternityProject Kernel 3.4.0 v0.99b | STABLE FOR DAILY U

Oh.. All the best then.. :D
[HTC One X] lowjoel:
Don't worry, Kholk and I are still working on it, but we are both currently having our hands tied up by university. I still keep in touch with him pretty often, and we (mostly him, though :P ) fix stuff.

Recently there's been plenty of activity on working out some sleep bugs and making sleep save (even more) battery. I've also done some work on better CPU management (which has led to a touch-ably cooler phone). But the device as a whole is rather unstable, so... expect some extra work needed before any release is possible.

But no worries, we aren't dead (yet) :D
[HTC One X] ZeRoWaR:
THX and keep up your work!

Has someone tried to pair a mhl cable with usb host?
[HTC One X] IllUMINATUz:
Re: [KERNEL][USBHOST][02/11] EternityProject Kernel 3.4.0 v0.99b | STABLE FOR DAILY U

Oh and the first kernel with otg now can cone with actual otg and some nice features.. u really love this kernel.. never once gave up on me tho...
[HTC One X] batna.antab:
[KERNEL][USBHOST][02/11] EternityProject Kernel 3.4.0 v0.99b | STABLE FOR DAILY

Jelly bean based right?
[HTC One X] IllUMINATUz:
Re: [KERNEL][USBHOST][02/11] EternityProject Kernel 3.4.0 v0.99b | STABLE FOR DAILY U

If its jellybean based . It will have usb otg..
[HTC One X] lowjoel:
I thought we've had OTG for a very long time already?

Anyway, Kholk managed to get the power lines connected in the kernel as well so the next release would no longer require a power adapter (or so he told me -- I haven't managed to test OTG because I don't have the cables etc)
[HTC One X] IllUMINATUz:
Re: [KERNEL][USBHOST][02/11] EternityProject Kernel 3.4.0 v0.99b | STABLE FOR DAILY U

Well.. to say the truth.. this is the first kernel to have usb otg.. tested positive but with some external power supply.. and I actually meant self powered which you got correctly.. if its self powered and when the university releases you two for the community.. ill be one of the first to use your kernel.. and all the very best fir your exams too..
[HTC One X] IllUMINATUz:
Re: [KERNEL][USBHOST][02/11] EternityProject Kernel 3.4.0 v0.99b | STABLE FOR DAILY U

From v.99 to 1.78.. Amazing..

Release it fast buddy.. I'm getting impatient and excited.. :p

Fired from my CyanogenModded One X.
[HTC One X] kholk:
Probably at the end of this week, don't worry..... :)

Ah, the new version will also be compatible with the new HTC Sense other than Ubuntu Touch and new CyanogenMod builds ;)

.... And there are A LOT of Next Big Things that I won't unveil prior the release. Just take in mind that your battery will last even more compared to the v0.99 release!
[HTC One X] IllUMINATUz:
and we got MP Decision, S2W and your special USB OTG, usb fastcharge and resolution changing (with CPU/GPU oc and uc) built in with a range of goodies right?? :P

The above are just my guesses with previous experience (and following this thread for a long time)
[HTC One X] lowjoel:
Sounds about right, but no promises. We may have to pull stuff out if it does not turn out to be stable enough (naturally -- not good to release something unstable)
[HTC One X] IllUMINATUz:
Re: [KERNEL][USBHOST][02/11] EternityProject Kernel 3.4.0 v0.99b | STABLE FOR DAILY U

Yup.. Agree.. No more bricked devices..

Fired from my CyanogenModded One X.
[HTC One X] lowjoel:
Another teaser... sorry the previous anticipated deadline slipped past.

Stock clocks (no OC -- save for the GPU, which technically isn't OC since the chip revision we're using's max clocks actually is 520mHz), EDP on. :) Kholk might have higher scores, his device is (in)famously the hero device.
[HTC One X] batna.antab:
[KERNEL][USBHOST][02/11] EternityProject Kernel 3.4.0 v0.99b | STABLE FOR DAILY

IMO it's pretty low, now the standard should be around 15k.
[HTC One X] lowjoel:
It's low because EDP was kept on (thermal protection). You'll definitely get higher scores with EDP off. But of course your device would be crazily hot.
[HTC One X] kholk:
The kernel is almost finished. We only need to make BT to work.

Since joel published a bad bad bad benchmark while we were at a really early stage, here's mine. Not OC'ed, max frequency 1.4GHz (not 1.5 LOL) and thermal protection ON. ;)
[HTC One X] lowjoel:
It seems like my device just... sucks generally :P