yashsingh1/xdaforums huggingface dataset:
[HTC One V] Kenny.Manc:
Thanks buddy :) Working fine, until now

sorry my bad english​
[HTC One V] Cr3sc3nt:
The links are working fine on my end.:confused:
[HTC One V] ThePresence:
Hi I'm on cm10 n I flashed cm10 kernel with preset and s2w and I can't mount my SD card...when I go to settings>storage or settings>apps it's giving me fc....then reflashed cm10 without wiping anything but no luck same...
[HTC One V] maxwen:
Thanks for that info

Will check. CM10 has changed SD card mounting

max

EDIT: ok checked with Lloir

Actually he has not included the SD card change for CM10 in his builds

KISS kernel is "ahead" right now :)

So sorry you have to wait :) - I will inform you when the CM10 build

has the changes required.

If not absoluteley necessary I dont want to provide an extra build

for CM10 for just that. Hope you understand that.
[HTC One V] ThePresence:
OK fine....wating fou next build very eagerly....:)

---------- Post added at 04:03 PM ---------- Previous post was at 04:00 PM ----------

Any alternative way to use this kernel I really love this.....if you can provide any patch or any app which can make mounting possible....
[HTC One V] maxwen:
Actually its just in the ramdisk

So if you know how to use dsixda kitchen I can give you the required changes :)
[HTC One V] ThePresence:
Yup you can guide me.....I've to simply extract kernel na??
[HTC One V] maxwen:
Just had some spare time :)

Retry the CM10 kernel please. I have changed it to use

the old SD card mounting for now

max
[HTC One V] paarthdesai:
confirmed working gr8 on paranoid android.. using it since 4hrs..no prbs at all still.. awesome work... looks like invisible iphone slide to unlock :p hehe

Sent from my One V
[HTC One V] samarain:
maxwen have some scripts to mess this kernel?or people simple can use System Tune?
[HTC One V] maxwen:
Actually you should be able to use all apps that perform standard kernel tweaks

As for scripts

In the second post you will find some scripts for govener and UV tweaking
[HTC One V] fybscit:
Thanks.. beauty..

But one suggestion.. Will it be possible to bypass the unlock screen.. because I have to swype to unlock, and again pull the ring to unlock..

®unning stock/kiss

##titanic was build by professional, arc by Noah##
[HTC One V] samarain:
I have a litle question, with smartassV2-tune.sh i can swich battery saving or performance in Script manager?
[HTC One V] maxwen:
Yes - just create two aliases for the same scripts

one with argument p and one with argument b
[HTC One V] maxwen:
The unlock screen is not in "control" of the kernel :)

So the kernel cannot do anything about it
[HTC One V] maxwen:
Hi

Free app that supports also UV settings

https://market.android.com/details?id=com.incredicontrol

max
[HTC One V] samarain:
seems to be very simple and very light, good for this phone...work good?
[HTC One V] anirudhnyg:
Wow thanks
[HTC One V] SonicSamZ:
Any way to have it so that sweep2wake does not vibrate the phone, even if we have "Vibrate Feedback" enabled in the Sound Settings?

Vibrations are useful but when the screen is off it feels out of place.

Thanks!
[HTC One V] maxwen:
What do you mean exactly?

Mine does not vibrate when I do sweep2wake

Only once when "starting" the sweep

Is this on sense ROM?

Cause in CM there is no "Vibrate feedback" Just "Vibrate on touch"
[HTC One V] samarain:
I think he don't have the last Kernel you release, because in the other i have the same issue but when i install the last one it fix it...
[HTC One V] maxwen:
Ok thanks :)
[HTC One V] SonicSamZ:
I'm on Sense, and as you mentioned there the initial vibrate only, my apologies (I am on the latest kernel so the above poster is not having the same problem as me).

The only issue I have then is, if you swipe2sleep when the device is already asleep, if you do it slowly it will vibrate on all 3 buttons (right to left), nothing too important and may not be a bug, but I thought I'd point it out.

Thanks!
[HTC One V] maxwen:
Ok I see

This is then really sense specific then since it does not happen on CM9

Actually strange that the buttons are still "active" when the device is off :(

I need to restore my stock rom in the next days and will try it
[HTC One V] samarain:
That is normal because if you do more quick the phone don't have time to make 3 vibrations and know that u activate the S2W if you do slow the phone have 2 options, do the instruction for each button or do the S2W functions and it decides obeying some parameters like time you press, combination of buttons etc etc.. and he vibrate because he don't know what you wanna do next...my english is a little rusty but i think u can understand lol

---------- Post added at 01:01 AM ---------- Previous post was at 12:55 AM ----------

When mine is off the buttons aren't active so mine is working good ;)
[HTC One V] maxwen:
This is a general issue since the kernel is doing sweep2wake (for sleep) the following way

1) finger touch in the "sweep area" recognized

2) finger moved a specific length from right to left inside the sweep area

-> kernel "assumes" sweep is "wanted" and only after that it can ignore

all button events until sweep is finished

If any event before #2 is doing some action it cannot be ignored and will still

be executed even you are actually wanting to do a sweep.

Button events can be either "finger leave" or even "finger touched"

And vibrate is done already on "finger touched" compared to e.g.

"menu open"
[HTC One V] samarain:
Exactly what i wanna say ;)
[HTC One V] gett:
Did S2W affect battery? Any difference in battery time with and w/o S2W?
[HTC One V] Cr3sc3nt:
None that I've noticed, it just makes life so much easier! Instead of hitting the volume rocker or power button, just sweep2wake LOL!
[HTC One V] maxwen:
Hi

Added swap enablement script to download post #2

See here for details

http://xdaforums.com/showpost.php?p=31441526&postcount=17

max
[HTC One V] samarain:
To all the people? or to someone that have hidden or something? i read the post 2 but don't understand what is this :D

U want use that partition to work like a Ram suppport or cache?
[HTC One V] hlavicka82:
samarain, there is a swap partition that is not used for swap in CM9/CM10. And maxwen's script turns on the swap on the internal swap partition.
[HTC One V] samarain:
I use myONEv RC5.0 FX there works, right?
[HTC One V] hlavicka82:
Yes, you can check for yourself. Connect your phone to PC In command line type adb shell

in the shell type:

cat /proc/swaps

and you should see something like this

cat /proc/swaps

Filename Type Size Used Priority

/dev/block/mmcblk0p27 partition 131064 63916 -1
[HTC One V] maxwen:
Yes - on ROMS that already have activated the swap partition

this script makes no sense :)

I dont know which ROMS already have this enabled so you need

to check for yourself

Another way to check is using

busybox free

If the line starting with Swap: has a value of 0 then no swap

is currently used

max

EDIT: just added that info to the original post

http://xdaforums.com/showpost.php?p=31441526&postcount=17

Thanks for pointing that out
[HTC One V] than33:
Please clarify: is kernel without oc also without uv?

sent from my OneV
[HTC One V] Cr3sc3nt:
There are 3 sets of kernels, for CM10, CM9, and sense based ROMs. Each has a kernel where OC and UV are set at boot and are embedded in the kernel . But both support the feature, just depends if you want it at boot or do you want a script or program to run the OC and UV.
[HTC One V] than33:
Ok, I understand. So if I will install kernel without oc in name there will be no uv until I will set it by script. Right?

sent from my OneV
[HTC One V] maxwen:
Right! :)
[HTC One V] than33:
Great! I want to test if uv is causing my problem about "sdcard unexpectedly removed". Just to check.

Edit: after one day of use I can confirm that on my card (SanDisk 16Gb, class 10) uv is causing "sdcard unexpectedly removed". Without uv there is no problem at all. I'm using setcpu to overclock to 1.5ghz.

I will check this for another few days and will report in this post.

sent from my OneV

Edit: After 17 hours, again I had "sdcard unexpectedly removed" :( I will try now without OC at all....
[HTC One V] paarthdesai:
ummm can u add sleep to wake feature in aosp Kernel? or add all those governor's in ur cm10..Trust me power saving and conservative governor really makes a diff :cool:

Sent from my One V
[HTC One V] maxwen:
You should check before writing :)

conservative govener is in KISS for a long time. I could add power saving but in general:

A good tweaked smartass will give you good battery life too

So its not a matter of having zillions of goveners but to use them right :)

And understand what they do

So more is not always better :)
[HTC One V] than33:
I think it is easier to use Linux command: free

On MyOne 5 it gives:

127|app_180@android:/ $ free

total used free shared buffers

Mem: 368696 362560 6136 0 1252

-/+ buffers: 361308 7388

Swap: 131064 84920 46144

sent from my OneV
[HTC One V] timbohenry:
Battery life

I installed the kernel, undervolted at -50 and overclocked to 120ghz. The governors I selected are SmartassV2 and deadline. All settings I applied using Incredicontrol.

So after roughly 10 hours on battery, during some of which the phone was switched to airplain mode, I have 99% capacity. I didn't use it heavily, but listened to 2 or 3 songs, used the play store and did some email and xda reading online. I guess this is where a big THANK YOU to the devs is appropriate.
[HTC One V] samarain:
In airplane mode is normal mine with 3% battery work 1 entire day ;) Is a good kernel with SmartassV2.
[HTC One V] gett:
weird issue

with S2W kernel, somethimes, phone wake up and just freeze, but REMEBER all the touches. after a wile, it come back from freeze and EXECUTE all the previous touches. With previous build of KISS phone work normally. Any ideas?

P.S.

myONEv RC5.0
[HTC One V] maxwen:
Can't imagine being caused by S2W

Actually its the same as if you use the power button

But on wake up many apps are activated. Maybe on of them is causing the freeze

So check first if it also happens when you use the power button instead of S2W
[HTC One V] gett:
That's the strange, it's happens with power button too, but only with last kernel. I have installed now the same apps, same ROM, and KISS #201208290054. All is working fine. :confused:

Edit: I use this kernel now: Without preset http://www.mediafire.com/?b83on8sk83rka1l
[HTC One V] maxwen:
Hm let me check

EDIT: Well actually I dont see a reason for this to happen specific

for the latest kernel.

Can you do me a favour?

Now with your current setup flash latest kernel again

DONT reinstall the ROM or apps or aynthing else when

flashing the kernel - its not needed!

Since I need to know if this is really only kernel related

Thanks max
[HTC One V] gett:
Done. I'll let you know

Edit: I restore from nandroid backup, use the phone all day with latest kernel, all work great. Suppose, I messed something last time. :o Sorry for false alarm.

And thank you for great kernel. :good:

Edit: Logcat added
[HTC One V] fybscit:
Sir max, can you let me know how to create flashable kernel from img.. or link to guide would suffice...:) thanks in advance..
[HTC One V] Slinkee:
QFT!

Sent from my HTC One V
[HTC One V] maxwen:
Hi

Build updated

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

Actually not much new except xz compression

to reduce download size and slightly improve kernl boot time

sio I/O scheduler is disabled for now until I can say for sure

that it has nothing to do with the issues that I discovered today

I would recommend to use deadline since it is a good choice

for our device.

Regards

max
[HTC One V] maxwen:
Hi

IMPORTANT

I just learned the the CDMA kernel is different

http://xdaforums.com/showthread.php?p=28701215

So DONT use this kernel on CDMA phones

Regards

max
[HTC One V] Lloir:
you might want to put this on front page buddy ;) cant wait for the forums to separate or people to start reading properly....going to be a fair few bricks around here soon lol
[HTC One V] maxwen:
Done, Thanks for reminding me :)

Regards

max
[HTC One V] Slinkee:
Just wondering. Is it possible that the kernel is the fault behind a battery drain? I've used titanium build 5 before this, and I can reassure myself that there was a profound difference in terms of battery life

Sent from my HTC One V
[HTC One V] shubhamchamaria:
Ya...most probably...

Sent from my HTC One V Running SuPrimo v4.1(28/6/12)
[HTC One V] flar2:
Which kernel is giving you the better battery life: KISS or Titanium?
[HTC One V] maxwen:
I have to quote this again!

There is NO difference between stock kernel and Titanium-KISS if you

1) dont use OC and/or UV

2) use govener ondemand and I/O scheduler deadline

It is just the same kernel source code!

The only difference is that HTC perflock is disabled else you

couldnt do any cpufreq switching at all.

Since I also know the Titanium code well enough to say this :)

I cant image a difference between those two that has a

significant effect and battery life aside from the settings above.

regards

max
[HTC One V] maxwen:
Hi

To proove this you would need to do exact measurement of those two different setups

doing exact the same things for a specific period of time and comparing the

battery level afterwards.

Everything else is just "guessing" :)

I guess you use OC right?

Are you sure you are not running an app that runs at OC speed for a long time?

The battery usage on OC frequencies is of course higher but this is

the same for Titanium and Titanium-KISS

So I would doubt that the difference between Titanium and Titanium-KISS is

the main reason for a faster battery drain.

Of course if you can proove me wrong you are welcome :)

Regards

max
[HTC One V] flar2:
I understand this.

However, there could be differences in battery life between your kernel and adi-pat's kernel because he adds many tweaks to i/o, memory management and other things that could affect it, inadvertently or not.
[HTC One V] maxwen:
Fully agreed :)

And I would be very happy if anyone could do such a comparison

in battery lifetime for the 3 kernels so that we get "real" numbers

that we can compare.

Does anyone know a app that allows e.g. scripted "workflows"

So that you can create a workload on the device that can be

reproduced easily?

regards

max
[HTC One V] Slinkee:
That's why I've said I can reassure MYSELF. Other than that I didn't do any research to prove my point. It's just that from everyday usage I can notice the battery level decrease just by looking at it. Sorry if I resurface any confusion or annoyance

Sent from my HTC One V
[HTC One V] ckpv5:
For me, this kernel is running great for both performance and battery.

Fully charge before sleep, wake up after 8 hours, it still show 100 with all wifi & network on.

Leave the phone for about three hours with no calls except reading some e-mail, it is a very minimal battery drainage.

All I can say, it is really good in idle.

Keep up the good work Max :)
[HTC One V] paarthdesai:
soo which governor you used ckpv5? and oc to ghz -??
[HTC One V] maxwen:
Hi

Thanks - Actually I am still trying to find out a way to "really"

compare the 3 kernels now by different "numbers"

To get "raw" performance numbers is "easy" with any

benchmark toiol available out there.

But especially for batter life is is rellay tough to find a "reproducable"

test that can give numbers that are "compareable"

So any input from anyone on how this can done would be

very welcome.

Regards

max
[HTC One V] ckpv5:
Governor - smartassV2 - OC - 1.5GHz for wake, no OC for sleep and UV -50.
[HTC One V] maxwen:
From my current experience

I have max 1.2GHz which is enough to get some additonal "boost" if required

IMHO 1.5GHz is not giving much additional advantages.

Of course this heavily depends on what you are doing with your phone

Additional I use -50mV UV for all frequencies (set on startup in a init.d script)

Cannot really tell you the "effect" in the long run but gives me a "feeling"

that battery live is better based on simple physics :)

For goveners:

I posted a link above where you will find advantages and disadvantages of

the different goveners. Additional the goveners can be tweaked for different

"profiles" e.g. for smartassV2 you can have a set of settings that will make it

more battery friendly or more performance friendly.

How goveners "work":

The difference is mainly how the govener "scale" the cpu frequencies

based on the load. If the govener scales up "slowly" it is better for

battery but worse for performance. If it scales up fast to higher

frequencies it is of course better for performance but worse for

the battery.

Regards

max
[HTC One V] maxwen:
Hi

Not at all! - you are welcome to share such observations

since we are all interessted in them - me too :)

As I said I am also very interessted to get more information on that

regards

max
[HTC One V] maxwen:
Hi

And just as an announcement

I "cherry picked" a few changes both from Adi_Pat and the "mainline" kernel

that I think are very useful but still are "safe" to be included in the KISS kernel

Most of those patches are widely used in different kernel builds

for other android devices

I am still testing them today to make sure they dont have unwanted

"sideeffects" and will post the build tonight.

Some info on USB OTG:

I am waiting for my USB OTG cable to arrive to do some real testing

then I can tell you more.

Regards

max
[HTC One V] TeHashX:
Can't flash boot from zip because we don't have s-off (yet)
[HTC One V] fradav:
Max,

2.22 kernel sources are out.

Regards

Envoyé depuis mon HTC One V avec Tapatalk
[HTC One V] maxwen:
Hi

Thanks to fradav for pointing me to them :)

Rebuild based on latest HTC kernel sources

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

max
[HTC One V] dancom96:
Wouldn't sweep2wake decrease battery life since the touchscreen is always kept on?
[HTC One V] maxwen:
Well - Only if you touch the screen all the time :)

This is interrupt controlled so only a touch will "wakeup" the "handling"

of the sweep

You can control this with an app like cpu spy

The device will go into deep sleep like with a kernel without S2W
[HTC One V] jolas:
If I touch the screen accidentally without S2W, for how long will the cpu be in "wakeup" state?
[HTC One V] maxwen:
We are talking about a few seconds here
[HTC One V] rajat7568:
Updated Kernel very good.

Solved problem with HTC Hub on 2.22 Custom ROMs.

Thanks..:good::good::laugh:
[HTC One V] samarain:
Where is the link base 2.22 with S2W?

Sent from HTC One V using XDA Premium Ultra
[HTC One V] maxwen:
???

If you man kernel sources:

You need to download stock 2.22. http://www.mediafire.com/?9ltb2soiob69fb1

and apply the patch http://www.mediafire.com/?s7kx8p5ip2217r5
[HTC One V] samarain:
I need kernel with OC,source 2.22 and S2W :)

Sent from HTC One V using XDA Premium Ultra
[HTC One V] maxwen:
They are all there :)

http://xdaforums.com/showpost.php?p=28599248&postcount=2
[HTC One V] samarain:
Hum. .I'm at work, not Home.later a will see. thanks and good work. ..:P

Sent from HTC One V using XDA Premium Ultra
[HTC One V] samarain:
I download now the "boot-TK-USB-OC-VDD-201209172313.img", this image have only OC and S2W but not 2.22 source right?
[HTC One V] maxwen:
All kernels taged with 201209172313 are based on latest HTC sources
[HTC One V] samarain:
Exactly what i need,OC + S2W + source 2.22 =Excelent phone in my hand :P

Another thing, smartassV2-tune script have the same behavior like in the other source or need some changes?
[HTC One V] maxwen:
All scripts will work the same as ever

Trust me - I would tell you if not :)
[HTC One V] samarain:
i trust but i just check if you don't forgot to tell :P

thanks for the good work ;)
[HTC One V] fradav:
S2W bugs ?

Hi,

Anyone using latest kernels with s2w ? In stock, sometimes the touchscreen becomes totally irresponsive, the battery drains like hell and I had to reboot. It's like the bottom left of the screen is always pressed on.

Regards,

--

F.-D. ,

PS: I'm trying to recompile latest kernel without S2W, but no luck, apparently 2.22 changes broke something in my toolchain, it compiles, but doesn't boot, any Idea?
[HTC One V] maxwen:
Which launcher are you using?

There are some issues with go-launcher
[HTC One V] maxwen:
Should not happen

Sure you are using correct ramdisk?

Else just use my latest for stock and just exchange zImage and modules
[HTC One V] fradav:
Stock launcher

Envoyé depuis mon HTC One V avec Tapatalk

---------- Post added at 04:53 PM ---------- Previous post was at 04:46 PM ----------

That's exactly what I do, as with your previous patches.

Envoyé depuis mon HTC One V avec Tapatalk
[HTC One V] jolas:
I'm using latest kernel in stock ROM for a day now.

No problems at all... (I'm using SMARTASS v2 governor)
[HTC One V] fradav:
Did you use the sweep2wake during the day?

Envoyé depuis mon HTC One V avec Tapatalk
[HTC One V] jolas:
Yes, I'm using all the time.
[HTC One V] maxwen:
I will look into it tonight in more detail

I can then also provide builds without sweep2wake for

those who have problems and want to test

BTW: fradav - any chance to get me a logcat when this happens to you?

max
[HTC One V] fradav:
Will try the next time, couldn't last time, battery drained.
[HTC One V] coldsorrow:
I used the kernel in my latest rom published...And somebody told me the same issure,it wont wake up sometimes .And the rom's battery drained heavily mostly due to.the screen...Am I wrong?
[HTC One V] maxwen:
Well - all just rumors at the moment :)

if you give anything about them don't use it :)

If I would get a cent from everyone spreading such rumors I would be a rich man :)
[HTC One V] samarain:
I love S2W and now can't leave without that function,this kernel is the best for this Mobile and don't need better. Battery drain, is excellent 3% in airplane is enough to all day. All working with data on sending texts and checking email only drain 40-50%,the best.. :thumbup:

Sent from HTC One V using XDA Premium Ultra
[HTC One V] maxwen:
Hi

To all who expereince the problem that after waking up the touchscreen is not reacting

It would help me a lot if you

1) try it with power button instead if the problem happens there too

2) try to get a logcat for me

Max
[HTC One V] coldsorrow:
I love S2W,and you know....In China they wont download the kernel from the original links,so I ported the link and show the original forum link...

And I am now using the 0829 version kernel and then I will give a logcast out or screenshots to prove my words...
[HTC One V] Cr3sc3nt:
0829? the latest version is 0917 :confused:
[HTC One V] coldsorrow:
I just wanna test the battery issue whether caused by S2W....
[HTC One V] Cr3sc3nt:
Too many factors to consider version 0829 was based on kernel 2.09 while the updated version is based on kernel 2.22. You need to consider is it the kernel base or the s2w feature?
[HTC One V] jolas:
With last kernel, after 9 1/2 hours, 4-5 phone short calls and litle internet search, my battery is at 92% (using Smartass v2).

I think it is just... excellent!

No problems with S2W, since I used it I can't live without it!!!
[HTC One V] maxwen:
Well guys

Just something general about that

Trust me - I am very picky about battery issues with my kernels therefore I do extensive testing before releasing. And I can say for sure that using S2W alone is not causing more battery usage.

There are some known issues with S2W that button events are still processed. This happens more often with specific launchers as with others. I am currently trying to find a reproducable setup for this.

This MAY be the reason for the issue that device becomes not responsive after wake.
[HTC One V] coldsorrow:
Thx for reply ,and I believe what your say after I've done my test....

The heavily battery drain do not due to the kernel....

So...I give up my words I've just say~

But the issue that device becomes not responsive after wake still be a big problem...

Thx for your work~:good:
[HTC One V] maxwen:
Well - if you can reporduce it then:

1) get me a logcat

2) get me a log of cat ./proc/kmsg

Otherwise I cannot du much about it since its not happening on my device