yashsingh1/xdaforums huggingface dataset:
[HTC One V] maxwen:
The boost in FP performance is expected when choosing the correct optimization :)

The rest should not be influenced - at least I havnt discovered it

Have you rerun the AnTuTu multiple times?

Have you changed anything on govener or frequency settings?

regards

max
[HTC One V] fradav:
Yes, reboot/davilk-cache wipe/multiple reruns...

Exact same settings, no change, just changed the toolchain, perhaps I should have set "armv7" instead of "armv7-a" for architecture level ?

(just tried that, and crosstool-ng refuses to compile)
[HTC One V] maxwen:
armv7-a should be the correct one

--with-arch=armv7-a --with-fpu=neon --with-float=hard

is on my configure line

And I still get same high AnTuTu scores about 4000 at 1.5GHz with govener odemand

Can you check if you install one of my prebuild kernels if the result is the same?
[HTC One V] 1ceb0x:
Need someone that uses CM9 boot img (at least latest - w/o vdd) to see if there is a heat-start problem when screen + wifi is on...
[HTC One V] flar2:
Tested USB host and it's working. I plugged in a mouse and a pointer appeared. Then I tried a couple USB sticks and both mounted. My Nikon D90 camera is recognized, but the app DSLR Dashboard can't find it.

It definitely needs 5V on the uplink though (power from usb hub to One V). Devices aren't recognized with a normal powered hub (ie, that doesn't send voltage up to the host).
[HTC One V] fradav:
Found the culprit: a script I totally forgot about was applying very conservative settings for smartassv2 governor (awake_ideal_freq and sleep_wakeup_freq at 500Mhz...)

Sorry for the trouble...

Regards,

BTW: A little word about toolchain optimization :

- the fpu option doesn't do anything as the kernel is compiled without it : it defaults everywhere with -msoft-float, look at arch/arm/Makefile. Changing that will make your kernel NOT bootable. Some explanation here : http://www.linuxsmiths.com/blog/?p=253

(the different benchmarks results I was getting in linpack was because of governor settings)

- the only optimization you can find for primoU processor (qualcomm scorpion MSM), is the march=armv7-a which is the DEFAULT of most recent prebuilt toolchains (as mine on ubuntu).

On the other side, perhaps the linaro gcc does something arcane on the arm side I'm not aware of. You'll have to use dev version of crosstool-ng to have it.
[HTC One V] maxwen:
Hi

Can you provide a logcat. I guess it needs a different kernel modules then

the generic usb-storage. I guess you can switch the DSLR to some thing

like a "usb disk mode"?

Hm...

So I have a usb hub that only powers the downlink ports

Ca be easy checked since the One does not go into charging when connected.

So I always have to use a usb Y-cable to power the One

But usb host mode works also fine if the power cable is not

connected to e.g. the AC charger.

Whats also important to know is that if you want to plugin a

new usb device you cant do this "on-the-fly". So you have to unplug

the usb-otg cable from the One before - plug the usb device and

then replug the usb-otg cable.

Regards

max
[HTC One V] maxwen:
Thanks for that information.!

Regards

max
[HTC One V] flar2:
I'll look into these things and let you know, when I have time for some testing.

1. Regarding power on the uplink, I'll try plugging things in in different orders to see if that makes a difference

2. I'll also look at the camera. My camera is a PTP device, not mass storage. I'm pretty sure PTP is all in userland, but I'll double check if there is a module needed. It might be permissions or more likely something with the software I'm trying to use, I haven't investigated at all yet.
[HTC One V] maxwen:
HI

Official CM10 kernel support with preset OC and UV

Please see download post http://xdaforums.com/showpost.php?p=28599248&postcount=2

CM9 and CM10 are NOT compatible so remember to use

the correct kernel

BTW: would be nice getting feedback that this kernel is doing what it should do :)

So testers for cm10 are welcome

regards

max
[HTC One V] samarain:
when i install this kernel, the bootscren when phone boots now have a red text, this is normal?
[HTC One V] maxwen:
yes

this will come as soon as you install a kernel that is not stock

just ignore it :)

max
[HTC One V] fradav:
By the way max, if i want my cm9 or cm10 enabled boot.img, should I just copy my zImage and modules(.ko) directly to your boot.img for cm9 and cm10 or is there something specific to compile (like options) ?

Regards
[HTC One V] lost3:
I'm the only one who has trouble with this kernel ? i try to install it 4-5 times but every time the phone stuck on boot . i try it with SuPrimo and now with myONEv RC4. any ideas ?? when i reinstall titanium 5 it works fine
[HTC One V] DomButcher:
Did you choose the non-CM version ?
[HTC One V] guardianpt:
Will you release the kernel without preset OC?

Or can I change the frequency and voltage afterwards?
[HTC One V] lost3:
yes i now what to do ,i do everything wright but ...
[HTC One V] 1ceb0x:
Maxwen, first of all, the second kernel for cm10 is uber great. Thanks a lot for it.

You removed the framework lines, added vdd, forced kernel to 1500 at boot up - not a lot of work to do for these but they were needed.

Thank you for your work man!
[HTC One V] maxwen:
you can always change them later as you like

To reduce the number of releases I decided to only

provide the "preset" images from now on by default.

Testing all those different versions is enough work anyway :)

Actually you would only need to remove the file /init.scripts.sh

to remove the "preset"

Regards

max
[HTC One V] maxwen:
For CM you need the additional kernel modules for bluetooth to get build

See here in my latest diff http://www.mediafire.com/?3nm6tsuz72fe6n7

The default config for CM is titanium-kiss-usbhost-bt_defconfig

If you are based on stock 3.0.16 you need some minor code changes

to get them compiled. Those are also in the diff (in net/bluetooth)

For the rest you are right - just replace zImage and the modules

from the image. The additional kernel modules are loaded in init.primou.rc

regards

max
[HTC One V] flar2:
RE: USB host

Confirmed, no usb devices are detected unless there is power on the uplink. I tried every combination of plugging things in.

So if anyone intends to hook up a thumb drive, mouse, keyboard or anything else, you should get a y cable and an otg cable.

RE: camera in ptp mode

This doesn't need anything in the kernel, it just needs the right libs in userspace. I have a couple of apps that work with Nikon cameras, but they don't detect my camera. My camera is detected by the USB host no problem. I believe the problem is the OS API is lacking something, so this isn't the place to fix this problem (i'm using myOneV4.0FX, might try another ROM to see if it works).
[HTC One V] maxwen:
Just found

CM has an option to enable PTP mode. Haven't tried it though :)

And don't know if it works in USB host mode or only for PC connection
[HTC One V] sohamssd:
Hey, my rom(cm10)'s working faster after i flashed your kernel!! Even at 1ghz! Cool work, man, way to go!!:good::)
[HTC One V] maxwen:
Dont think this has much to do with the kernel but with cm10 :)

max
[HTC One V] alifa:
for USB host should buy something like this http://xdaforums.com/attachment.php?attachmentid=1275954&stc=1&d=1345656837 and connect this http://xdaforums.com/attachment.php?attachmentid=1275953&stc=1&d=1345656837 to the male black USB , right?
[HTC One V] maxwen:
Hi

The USB OTG adapter must have "grounded pin 1"

The OTG cable needs a micro USB plug since this is connected

to the One V http://www.adaptare.de/images/40225a.jpg

The Y-cable for powering the device must have two USB-A connectors

and most probable a mini USB for your USB hub.

http://t3.gstatic.com/images?q=tbn:...W9JnlUC7pjpiGyh_W_dgI9NFnoeQQ5KwqfuxmFla7bv0g

But this depends on your USB hub!

Here is a picture of my complete "setup"

http://xdaforums.com/showpost.php?p=29419897&postcount=11

Or buy a power us hub that sends power to the uplink port then you dont

need that Y-cable at all.

Regards

max
[HTC One V] flar2:
Just a note to people: most USB hubs don't send power to the host. Double check before you buy. The Nexus 7 requires this too, you might check that forum to see what people are using.

The otg cable has a special micro connector (shorts pins 4 and 5) that automatically sets the phone to host mode when it is plugged in. If you don't use an otg cable, you have to set USB host mode manually using the scripts maxwen posted earlier.
[HTC One V] ThePresence:
Hi Max

I tried lot to make your kernel oc upto 2 ghz for me but I failed to make that.....so please can you make another kernel with oc upto 2ghz then it would be great.....and there's lots of people like me who wants oc upto 2ghz.....anyone who don't want oc upto 2ghz then he can stick to 1.5 ghz.....
[HTC One V] maxwen:
Please read OP! :)
[HTC One V] ThePresence:
Okay keep it simple,but can you provide some patches for oc upto 2ghz hence whoever want oc 2ghz he can just patch.....:)

Please regards.

...
[HTC One V] theiNDrAs:
then maybe you can use this kernel, from Adi_Pat
[HTC One V] ThePresence:
I want USB otg which is not included in titanium kernel.....kiss kernel has lots of features hence I want this kernel but oc upto 2ghz...
[HTC One V] fradav:
If you can compile your own kernel, just replace the

arch/arm/mach-msm/acpuclock-7x30.c

from latest Adi_Pat sources on github, it will allow 2Ghz OC.
[HTC One V] maxwen:
correct :)
[HTC One V] ThePresence:
It means I can simply extract your kernel via using kitchen and replace that file with adi’s kernel then kiss kernel will be on rock(@2 ghz)....correct me if I'm wrong....
[HTC One V] maxwen:
Wrong

Kernel needs to be recompiled with that changed file

And then replaced in boot image
[HTC One V] peekay2n:
call recording works brilliant!!

thanks max! :cool:
[HTC One V] ThePresence:
Hi which app you're using??
[HTC One V] sashapetrik:
not working for me [ROM-PrimoU|GSM] [17-August] myONEv RC4.0 FX
[HTC One V] maxwen:
"Not working" questions will not be answered :)

Gimme more details then I can help

max
[HTC One V] theiNDrAs:
How can it be? Can you be more specific?

Cos i'm using that same rom and this kernel too, dude..

So far, both of them works perfectly fine on my device...
[HTC One V] izbushka:
I'm using rVoix from Market. It's free
[HTC One V] ThePresence:
Not working for me here's screenshot....
[HTC One V] izbushka:
I don't see any screenshots but probably it's about rvoix can't find proper device for recording. If so, i think you're using wrong kernel. I use one for the CM9 and recording works. I also used KISS kernel with myOneV two weeks ago and recording also worked
[HTC One V] maxwen:
LOL I just tried rVoix (rVoix for rooted HTC Hero) and its not working for me too :)

Actually I only used CallRecorder for testing - its not free

but works for sure if correctly configured

max
[HTC One V] izbushka:
That's strange.. I'm using rvoix since you had added 2WCR support..

Here is my rvoix apk
[HTC One V] maxwen:
Ok that apk works :)

Dont know whats the diff to the playstore one

thanks

max

BTW: But seems I am unable to disable it - so it always

records independend of the settings I use :(
[HTC One V] izbushka:
Maybe, I haven't tried to disable it.. But you can unload it if you don't need
[HTC One V] maxwen:
Thats what I tried - but has no effect IMHO

But nevermind I uninstalled rVoix cause I use CallRecorder :)

max
[HTC One V] ThePresence:
Hi Max

Can you give me link which app you're using and settings also please.....:)
[HTC One V] maxwen:
If you want free app use the apk from izbushkas link above

Works out of the box

Else use CallRecorder from playstore - there is a time limited trial version

else you need to pay. Configure as device=other and

record calls from="kernel with 2-way-call recording patch"

But creater of CallRecoder told me that he will include One V to the

list of supported device. Dont know if he already did that in latest version

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

max
[HTC One V] sashapetrik:
Anyone else tried this kernel on a new stock-RUU_PRIMO_U_ICS_40A_HTC_Europe_2.22.401.1_Radio_20.76.30.0835U_3831.19.00.120_release_273801_signed.exe ???

May be the reason? I have everything on the boot screen freezes! I installed it first, then set [ROM-PrimoU|GSM] [17-August] myONEv RC4.0 FX, then set this kernel.
[HTC One V] ckpv5:
Make sure to use the kernel for Sense, not CM9 or CM10.

And also run fastboot erase cache, it may helps.
[HTC One V] sashapetrik:
I sure! this?
[HTC One V] sjoko:
Can anyone confirm that the latest update 2.22.401.1 did not have a new kernel in it ? I also would like to use the OC kernel, but i just installed the update and i'm not sure the latest kernel from this topic will work with that update.
[HTC One V] izbushka:
It should work. But you could flash stock kernel back if it is not.
[HTC One V] maxwen:
Hi

I can confirm that HTC has released changed kernel for latest update

I am currently rebasing KISS on that but this will take some time to finish.

Looking at the changes all of those are bugfixes only.

So I am pretty sure that latest stock KISS kernel works

max
[HTC One V] Lloir:
Max please can you do me a HUGE favor, and stop making pre-oc kernels please....it's hit and miss if a device will work with it, and is causing me a HUGE headache

thanks buddy
[HTC One V] maxwen:
LOL take a look at post #2 - now download links are back for

all without preset. Just tell your testers to use them :)

max
[HTC One V] sjoko:
Not sure if i understand correctly but:

- Preset kernel has already 1,5 GHz. on boot?

- Non-preset kernel is 1 Ghz.. on boot.. and needs to be OC'd with [whatevertoolyouwanttouse]?

Are you planning on enriching the new HTC kernel with OC capabilities ?
[HTC One V] maxwen:
correct

yes - actually those bugfixes are not influencing all of the KISS extension at all
[HTC One V] sjoko:
Ok.. I have linux experience with building and installing kernels but not on mobiles :)

The KISS extensions are some sort of modules i need to load ? Therefore it does (up to a certain way of course) not matter on which kernels i load those modules given your reponse that there is no impact between KISS and the current updated HTC kernel?

Need to figure out how to load the KISS version, but that will be outlined somewhere on the forum and/or in this thread i presume...
[HTC One V] maxwen:
No modules but code changes

But the HTC changes have been in other files then changes for KISS

So I would assume patch will apply without much effort

Version is in About or cat /proc/version on cmdline :)

max
[HTC One V] sjoko:
Nice! Thanks for your reply. I will be hacking my V into submission when i'm back from work ;) Found the toolbox on the forum, so it cannot be easier. I will be OC'ing with Rom Toolbox. I will post my results here (i'm not really into benchmarks, but i can give usability experience on the kernel combined with the new ROM).
[HTC One V] sashapetrik:
now, all works fine! thank you!
[HTC One V] sjoko:
Ok, results:

- One_V_All-in-one is awesome :)

- Kernel is awesome :)

Now running @ 1,5 GHz. with Smartass governor all managed by ROM Toolbox.

I immediately notice the difference in the menu's. Settings menu is more responsive when scrolling. Apps start faster and i can even put people on even-more-speed dial ;)

I had an Alcatel OT-995 before this (but returned it due to very bad in-call sound quality) and it had the 1,4 GHz. version of this SOC. Response of the V is now more in line with that phone (really a shame that the sound quality is that bad).

Now i have to look into undervolting. It does not seem to be present in ROM Toolbox (thought it had a complete version of Set CPU in it, with UV capabilities).

Other thing i would like is that the OC kicks in 1 minute after boot or something. Just to make sure that the phone will boot after a crash. Not sure how to do that without yet another app. I like my phones pretty clean with apps to prevent battery drainage and/or crashing.
[HTC One V] Cr3sc3nt:
Look in the OP post # 2 maxwen has scripts to OC and undervolt after boot.
[HTC One V] sjoko:
Completely overlooked the scripts.... Thanks!
[HTC One V] Abdullah Dot:
to what should I rename the file and where should I put the file in my sd.
[HTC One V] SonicSamZ:
http://www.setcpu.com/documentation.html#voltages

I do not seem to have the Voltages tab, yet you mention UV is included in Titanium-KISS?

Or is this something else that needs to be implemented?
[HTC One V] maxwen:
This is for the paid version only IMHO
[HTC One V] maxwen:
which file and what do you want to do :)
[HTC One V] sjoko:
Well, i (also) have the paid version of SetCPU, and no voltages tab here with the KISS kernel...
[HTC One V] Abdullah Dot:
the kernel file i want to flash kernel manually
[HTC One V] SonicSamZ:
Exactly this.

I noticed Titanium (original) has "VDD Stats Support", is that what Titanium-KISS is missing?
[HTC One V] maxwen:
KISS has the same VDD (UV) support as Titanium

If you dont want to pay for an app use the scripts I provided
[HTC One V] maxwen:
Uploaded new build 201208290025

Rebased on latest HTC kernel sources
[HTC One V] maxwen:
Please read post #2 and select the right kernel for the ROM

you are using
[HTC One V] fradav:
Max, I think you linked the same old primou-ics-qmr-3.0.16-42caf24.tar.gz kernel sources in the OP (the one from 2.08.XX not the new one from 2.22, which I can't find on HTC site).
[HTC One V] sjoko:
I paid for the app :P but no voltages tab :)
[HTC One V] maxwen:
This sources are marked as for EU 2.08.401.2

Dont think there anything newer yet to download from HTC

Thats why I wrote "Latest" - prevoius KISS versions where based on an even older version :)
[HTC One V] ckpv5:
Hi Max

As usual, your latest kernel is great :) Thanks
[HTC One V] tranceph0rmer:
Hey Max, quick question here.

I'm currently on the 3.0.16 kiss kernel (July 14)which included the GPS fix for cm9 if you remember.

My problem is that I don't have access to a PC right now so I can't flash the cm10 kernel.

What I want to know is that if I flash the rom with this current kernel ,will it work? Most probably not but anyways...
[HTC One V] maxwen:
No CM10 ramdisk is different
[HTC One V] formicae:
Please bear with me with some stupid questions, I've already scanned the thread.

If I flash the stock-compatible KISS, will I get smartassV2 as my default governor? And if not, what app do you recommend to set it so it sticks, or applies at boot? I have zero script experience (but have been rooting, flashing, S-OFFing for years), and this is for a friend's phone and she's not at all nerdy so I'm looking for a set-and-forget approach -- mainly a new governor and potentially some undervolting.
[HTC One V] theiNDrAs:
You can use setcpu or romtool box, to set the governor..:good:
[HTC One V] formicae:
Beautiful, thanks. Will the old free-to-XDA version of SetCPU work fine? And what about Titanium Tweaker?
[HTC One V] maxwen:
Actually all apps should work since the base on the same mechanism in the kernel

which is writing to a specific file in the /sys filesystem
[HTC One V] peekay2n:
the apk attached in the OP here : http://xdaforums.com/showthread.php?t=1048182

sorry for the late reply! :o
[HTC One V] tranceph0rmer:
Can someone upload the GSM kernel for me on a site other than mediafire?

Mediafire is not working for me.......pretty pleaaaase
[HTC One V] maxwen:
LOL which one :)
[HTC One V] tranceph0rmer:
The cm10 one....with preset ....

Thanks....
[HTC One V] maxwen:
http://dl.dropbox.com/u/84932327/HTC-ONE-V/boot-TK-USB-CM10-OC-VDD-201208290025.img
[HTC One V] JalmiNyondong1933:
Hi

Which kernel that can be used on CM10, PA (ics), MIUI (jb), and myONEv RC5.0? Is there is sort of "universal kernel"? Because I switch among those ROMs like every 10 hours.

Regards

Me
[HTC One V] maxwen:
The problem is not only the kernel but the ramdisk

It must be different bewteen roms.

So the answer is - no :)

max
[HTC One V] JalmiNyondong1933:
Allright, Max. That explains everything. Thanks
[HTC One V] samarain:
Long time no have a update and still a awesome kernel... hope soon for an update even better then this , if its possible :P
[HTC One V] tranceph0rmer:
Hey Max,the cm10 kernel caused loads of permanent freezes and reboots.....

Could you upload the normal cm10 kernel and the normal cm9 kernel so I can revert back to cm9 if it doesn't work?

Thanks.
[HTC One V] maxwen:
http://dl.dropbox.com/u/84932327/HTC-ONE-V/boot-TK-USB-CM10-201208290025.img

http://dl.dropbox.com/u/84932327/HTC-ONE-V/boot-TK-USB-CM9-201208290025.img
[HTC One V] sk8erboy:
can u add the Sweep2wake for our HTC ONE V?I think its very useful for us~ THX~
[HTC One V] Cr3sc3nt:
+ 1 on Sweep2wake!
[HTC One V] samarain:
+ 1 on Sweep2wake!
[HTC One V] maxwen:
I will have a look :)
[HTC One V] sk8erboy:
hahaha~thx bro~
[HTC One V] maxwen:
Hi

More testers for sweep2wake kernel requested :)

Please PM me - I have builds for stock and CM9 at the moment

max
[HTC One V] theiNDrAs:
pm sent :D
[HTC One V] Cr3sc3nt:
@ maxwen

Results from testing sweep2wake have been sent to your PM. Great Job! +10 on coolness factor!
[HTC One V] samarain:
All working excellent here with the new kernel, S2W excellent without errors till now.. just need full recharge to see more accurate the drain.

I think just need adjust a little the highs,in idle with screen on, work a little much in high frequency (1497).

Sent from HTC One V using XDA Premium Ultra
[HTC One V] sk8erboy:
gOOd Job!

S2W works very stable~ no error when i used~
[HTC One V] paarthdesai:
anyone taking pain and explain me what is sleep to wake :confused::confused::eek:

Sent from my One V
[HTC One V] peekay2n:
it's "SWEEP to wake" .. search on YouTube...
[HTC One V] sk8erboy:
sweep to wake kernel works very stable for my htc one v. thanks maxwen~

u can sweep left to right wakes

and

u can sweep right to left sleeps~

:fingers-crossed::fingers-crossed::fingers-crossed:
[HTC One V] theiNDrAs:
Basically it's the ability or function where you slide your fingers over the capacitive buttons and the screen will turn on/off. You can watch this video for more details about the explanation, dude :D
[HTC One V] ThePresence:
I can't test cuz I'm on cm10.....:(
[HTC One V] maxwen:
See also here (Video)

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

max
[HTC One V] maxwen:
I will provide a CM10 kernel tonight

max
[HTC One V] ThePresence:
You're great Max I'll be first tester.....
[HTC One V] maxwen:
Hi

Minor issue with S2W (sweep2wake) I just discovered

Sometimes during "sweeping" button events are still delivered

So its possible that after "lock and unlock" the "state" is

not the same (e.g. back button event is processed)

max
[HTC One V] maxwen:
Hi

Seems I have fixed this problem

New builds for all ROMS will be available tonight

Then I will also put a public download link here

max
[HTC One V] samarain:
i dont see any anomaly in my phone with the s2w but if u fix, good ;)
[HTC One V] maxwen:
Open an app and sweep to left

Unlock and see that app is closed

Releasing sweep on the back button is passing that to the app before processing the rest

There is not enough empty space left of the button :)
[HTC One V] samarain:
ohhh...ic i need try that...i almost always close all apps before turn off :P
[HTC One V] theiNDrAs:
same with me, that's why i didn't even notice that minor "issue"...:o

but then again, let's wait for the newest build of Titanium-KISS w/ S2W :good:
[HTC One V] maxwen:
Hi

New builds with S2W (sweep2wake) uploaded

http://xdaforums.com/showpost.php?p=28599248&postcount=2

Max
[HTC One V] dancom96:
Is it a possible to create a 1.7ghz kernel? Most people find it stable
[HTC One V] maxwen:
Please read OP :)
[HTC One V] ThePresence:
For which rom??? Can I flash on cm10???

Edit:-got it thanks....
[HTC One V] qzfive:
This is incredibly useful - I have a Power button which is pretty much non-functional, requiring a very hard press to make it work, and gives me a fear of breaking it completely - this will easily keep me satisfied until I bother sending my phone back to my operator for a repair - Major thanks :D
[HTC One V] #DIO:
flashed the latest S2W TK this morning with preset OC & -100 UV

works fine :good:

nice tweak :good: