yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Aaronneal:
Where can I find DVFS, I am using kernel tuner and it is not there for selection?

Otherwise awesome work.

Had the DHD since release day, not missed a beat. and everyday it gets a breath of fresh air from great devs!
[Desire HD Android Development] cingolat:
I think that you haven't to do anything, DVFS is just inside the kernel, just flash t5 kernel an go......
[Desire HD Android Development] Reb3llious:
i can't download a new version

anyone cane give me a some miror pls?

thank you
[Desire HD Android Development] Aaronneal:
I have done this but it is still not showing :(
[Desire HD Android Development] coolpixs4:
dear Tweakos,

How can I change the default IO scheduler ?

I follow this guide but it doesn't work

[init.d SCRIPT] set default i/o scheduler: http://xdaforums.com/showthread.php?p=22025497

#!/system/bin/sh
echo "noop" > /sys/block/mmcblk0/queue/scheduler

But if I did this command in Terminator Su, it works but after reboot it changed back to [Vr]
[Desire HD Android Development] Wolf:
Download the script you wish to use from that thread. Using a program such as Root Explorer or ES File Explorer with root access enabled, copy and paste the script into the init.d folder. Once the script is placed inside of the folder, press and hold on the script file you just copied. You will see an option for "Permissions". Select this and change the permissions for the script the way the OP recommended, (rwxr-xr-x). If you are confused, try selecting all of the Read-Write options. Back out of the file explorer after doing this and reboot the phone. The settings should stick after the reboot.

Make sure you make a back up of your rom before you modify things, just to be safe.
[Desire HD Android Development] DroidRunner:
Id love to get EXACTLY what your setup is for your phone. What you've deleted, apps you kept, tweaks, all that stuff.
[Desire HD Android Development] thachtunganh:
This feature isn't for showing!

Have you read the information about DVFS in changelog section?
[Desire HD Android Development] dioooi:
I revert back to T3 because of the sensitivity of the s2w. Anyone has the same problem as me?
[Desire HD Android Development] 20mark:
sensitivity? what kind of sensitivity?
[Desire HD Android Development] DroidRunner:
Somethings not right....
[Desire HD Android Development] jeffhui:
Yes, but i am quite sure it is not because of the kernel itself.

Check apps which were installed recently, wipe cache-dalvik or calibrating battery.

It would probably be solved.
[Desire HD Android Development] thachtunganh:
Wiping cache, dalvik cache and calibrating battery stats won't help anything, don't do it if you don't know what it is...

Download and install "BetterBateryStats" App. Learn how to use the app first, then check out wakelocks and you will understand why.
[Desire HD Android Development] ranger4740:
I would like to recommend also installing battery mix from the market this is very good at showing which apps are using battery power.
[Desire HD Android Development] kamso:
I'm on ViperDHD v2.2.0 and I think Rosie is too laggy with T4 and T5 (home screen and app drawer scrolling) compared to Pacha's one.

Envoyé depuis mon HTC Desire HD avec Tapatalk
[Desire HD Android Development] yxtl:
its normal to have android system work 38%???.Seems like system android eat most of my battery
[Desire HD Android Development] cingolat:
found a issue on t5, I'm on viper rom, when recording a video, if you switch from a dark situation to a more brighter one, the cam do a strange thing and fc......this don't happen on t4 or pacha kernel.....
[Desire HD Android Development] thachtunganh:
tweakos, is the source code on Github up-to-dated with your changes?
[Desire HD Android Development] jeffhui:
I am on viper and T5 too, no such issue. :eek:
[Desire HD Android Development] cingolat:
thx for feedack than should be something else.....strange that with t4 this don't happen.....:eek:
[Desire HD Android Development] tweakos:
now it is.
[Desire HD Android Development] thachtunganh:
Thanks!
[Desire HD Android Development] Raymond Ebertt:
T5... Ok, I'll give it a try. Thanks for the work, guys.
[Desire HD Android Development] heywheelie:
Even Sweep2wake is supported once app is installed Seems to work fine.

BTW I can't find any mention of Beats Audio. Is it included in this ROM?
[Desire HD Android Development] Raymond Ebertt:
What ROM are you referring to? This is a kernel thread. There is no ROM here.
[Desire HD Android Development] thachtunganh:
Hello everybody.

I've just continued working on kernel since yesterday, there are some new changes, so new version will coming soon!

@tweakos: Please build a test build for me!
[Desire HD Android Development] GabrielSebastianMoise:
Thanks, good news. I want to ask you something. I have a MicroSD Card Class 10. So theoreticaly I should write data to the card with 10 MB/s. I can get this, only if I use a CardReader, and not through the Phone, connected with the USB cable, as Mass Storage to my PC. Data transfer is @ 600- 700 KB/s. For the moment I use Venom ROM on HTC Desire HD. I can't find the problem. Today I transfered MyGamers ROM and the OTA file, and tooked 8 minutes.

Have you tried to transfer something to the SD Card ? What's your speed ? Anybody else having the same problem like me ?

Good day !
[Desire HD Android Development] coolpixs4:
What are new chages ? Can you give us a change logs. Thanks !
[Desire HD Android Development] jeffhui:
I am sure it will be come with the new version. Be patient. :)
[Desire HD Android Development] thachtunganh:
Yes, totally agree with him.
[Desire HD Android Development] tweakos:
@thachtunganh

kernel builded (i also update it to 73 LKV).i will pm download link to you.
[Desire HD Android Development] yxtl:
Sorry for question: in 2 hours conversation on phone with screenoff all time battery draining from 100% to 70% its normal?
[Desire HD Android Development] GabrielSebastianMoise:
I think the answer is yes....
[Desire HD Android Development] kamso:
And I think it's more than NORMAL.

Envoyé depuis mon GT-N7100 avec Tapatalk
[Desire HD Android Development] yxtl:
thx my friends ,i always belive as my phone have a draining problem.Now am quiet
[Desire HD Android Development] thachtunganh:
T5.1 is very good. It's going to be released soon.
[Desire HD Android Development] coolpixs4:
Great new...we're waiting for
[Desire HD Android Development] jeffhui:
Just want to share that, smartassV2 gov is better than interactive according to my own experience. FYI only. :)

And thanks for the coming T5.1! Great job devs!
[Desire HD Android Development] coolpixs4:
with T5 I have to much kernel wakelock so sometime it cannot be in deep sleep then battery sucker (screen on only 14mins but kernel awake 2h44mins)

my OC/UV (min-max) for wake: 245-1200 smartassV2 / sleep: 245-768 ondemand
[Desire HD Android Development] tweakos:
coolpixs4

i think it is rom issue.because i have 5% lost since 9 hours sleep left.

Kernel released.
[Desire HD Android Development] coolpixs4:
thanks tweakos

But if I reflash T3 or use ASK kernel - r2

that issue doesn't happen. it's only occur with T4 and T5 (not always but sometime happen)

you see attached picture - even with screen off - and no awake but battery drop drastically
[Desire HD Android Development] syjan1212:
what gov choose?? smartassV2 or interactive??
[Desire HD Android Development] cingolat:
Sadly I have to give up and switch to pacha kernel due to problem with video recording......it was fun, thx to all.....:(
[Desire HD Android Development] jeffhui:
I am afraid you have to at least try it by yourself as there's no standard answers but only recommendation.

Did you try to do a full wipe and see what's going on? Of course you could easily solve it by the change of kernel but if I were you, I would try to figure it out the culprit. But anyway, that's your choice. Good luck.
[Desire HD Android Development] cingolat:
Thrust me I tried everything possible, including full wipe and reinstall of rom and app from beginning......nothing help but change kernel......
[Desire HD Android Development] tweakos:
i dont have any problem with it,i can even take a pictures while recording video in hd format,so.....

oh,i forgot, i am now on strikex rom (modified sense 4.1 - my own Rom),so maybe its rom issue....
[Desire HD Android Development] cingolat:
I don't think as other users havo no such issue with viper and your kernel......I think it's only my problem.....I'm simply unlucky.....;)

It's a shame because t5 is really a great kernel....but I can do nothing
[Desire HD Android Development] Imonol:
Regarding Fauxsound support..

I installed Fauxsound TPE from play store, but I can't hear any difference from before, tried to change the settings to their extremes but no difference in the sound. (spotify and YouTube) has anyone taken advantage of the kernels support of Fauxsound with success?

I am using T5.1 and SVHD 1.2.0
[Desire HD Android Development] whiperhack:
+1. IMO is not worthing the money i spent on it. Always appear that notification about turning off sound to change the preset but the sound is mute.
[Desire HD Android Development] recolor-shrink-spool:
5.1 is very smooth.

Many thanks!

Sent from my HTC Desire HD+
[Desire HD Android Development] DeSaint2:
I'm using viper4android (search the forums for official mod) and it makes a massive difference with lots of control over the sound

Tohrment the Lesser slayer
[Desire HD Android Development] tweakos:
Guys, we are fixed sweep2wake feature for synsptics :) kernel updated to T6.

about faux sound - i really dont know why it is not working - i already rechecked whole code and there is no errors or mistakes.maybe it is not working on our dhd....i do not know.it is realy strange issue...maybe i rewrite this feature...:)
[Desire HD Android Development] thachtunganh:
Hell yea!!!
[Desire HD Android Development] coolpixs4:
Thanks for T6

if s2w of Synaptics touchscreen was fixed why you don't remove this notice in first post :D :good:

"Bugs:

Synaptics touchscreen driver s2w feature is not full ("deep sleep" problem did not solved yet)"

never mind,

my touchscreen is atmel :D
[Desire HD Android Development] FuKaKa:
OMG!!! leave my phone for 30m and the deepsleep is gone! thanks a lot you guys, you make me change my mind to buy a new phone :D
[Desire HD Android Development] jeffhui:
It's BRILLIANT and a great step! Thank you very much!

S2W in T6 is really responsive, not unresponsive at all.

S2W finally landed on our DHD!

Edit: I just noticed that the notification bar have a quick setting (just below the carrier's name, not another page), is it come with the new kernel?
[Desire HD Android Development] AtomosVE:
Have improvements: ) thank you.

T4 to T6 no MFLOPs rise but got benchmark scored 10% more.

Still 4 point touch has problem so, use fingers up to 3 instead 4. Quite acceptable when not gaming
[Desire HD Android Development] ILA:
That's a viper ROM feature. Just pres and hold on the carrier's name to toggle this ;)
[Desire HD Android Development] Matt927:
T6 version is like S16 kernel from ucxl? To fix s2w synaptics problem you removed deep sleep code?

Inviato dal mio HTC Desire HD con Tapatalk 2
[Desire HD Android Development] yxtl:
Can someone mirror download link.I cant download on the phone in any way Pls .Thx
[Desire HD Android Development] coolpixs4:
In the first post already have mirror link from mediafire
[Desire HD Android Development] Matt_85:
Thank you very much for finally fixing SW2 on synaptics!! i couldn't have expressed my gratitude better :good:

@ fabioculo2 don't know but IMHO i think is a good compromise, also think that DVFS should balance the lack of deep sleep in term of battery life
[Desire HD Android Development] thachtunganh:
Please update the kernel source when you have time, tweakos ;)!

Thank you!
[Desire HD Android Development] tweakos:
i can do it only after this weekends,when i will be on my work.
[Desire HD Android Development] jeffhui:
After using T6 a day, it seemed that the battery drain is much heavy than before. It might be because of s2w? I will still keep T6 few days for further testing.

Does anyone have the same issue?
[Desire HD Android Development] coolpixs4:
Which app did you used to observe that ?

Do you use Battery Monitor Widget pro app ?

How your battery drain in deep sleep (screen off) and with screen on ?

Or you just feeling that ?

In my case, I still observing...

I have trouble with Kernel wakelocks even in deep sleep (screen off) then I use Gsam battery monitor app

And found that the most in Held Awake due to Battery Monitor Widget pro that make the phone sometime cann't go into deepsleep (just look back this post #262 for my issues )

So, I removed Battery Monitor Widget pro and still observing...now 2hours-2% left :D

I installed some apps that may have awake in deepsleep such as: Dr.Web anti-virus Light, BetterBatteryStat, Gsam Battery Monitor, Battery Solo Widget, and Battery Monitor Widget pro before-but now it is removed

my battery aging now is about 900~950mAh (+/-11%) over 1230mAh (use Battery Monitor Widget pro to measured the battery aging)
[Desire HD Android Development] AgentCain:
There's probably a bug. CPU never lowers its frequency, causing the huge battery drain. It definetely draws more power. Nofrills CPU control reports 100% on 1.2GHz and Battery Monitor a huge drain.
[Desire HD Android Development] FuKaKa:
S16? can you show me where to download it? Mr. Google cant find it :D
[Desire HD Android Development] jeffhui:
Well, the difference was too obvious especially when screen on. Without any app, i could feel, don't you think so? :)

Another point is that normally my DHD have 2% drain on battery through a night with airplane mode switched on but last night, with T6, it was 9%, a great difference! :eek:

One possibility of other culprit that due to the battery drain is app. The only new app in my DHD is Gsam and i think it shouldn't be the reason? But i will try to remove it and see the difference.
[Desire HD Android Development] coolpixs4:
May be you can try to change the differrent combination of governor and IO follow:

[GUIDE]Kernel Governors and I/O SCHEDULERS

Q. "Best I/O Scheduler?"
A.There is nothing called "best" i/o scheduler. Depending on your usage environment and tasks/apps been run, use different schedulers. That's the best i can suggest.
However, considering the overall performance, battery, reliability and low latency, it is believed that
SIO > Noop > Deadline > VR > BFQ > CFQ, given all schedulers are tweaked and the storage used is a flash device.

I use [sio] + smartassv2, OC/UV: 245-768 sleep / 245-1200 (screen on)

Also see this for reference
[Desire HD Android Development] tweakos:
i have 4 % lost about 8 hours of sleep (data On).so....

ok.who intrested:

sTRIKEx teaser:

Android 4.0.4 sense 4.0/4.1 lite.

will be avilable soon....
[Desire HD Android Development] heywheelie:
I'm finding T6 doesn't have a good battery life as T5. Do anything like play a song on music player, browse google play and downland an app and the battery percentage just drops before my eyes a lot faster than T5.

Will try another day so see if it continues, especially overnight in sleep mode
[Desire HD Android Development] yxtl:
tweakos pls make it full sense
[Desire HD Android Development] jeffhui:
I am afraid that it cannot be compared as we are in different ROM (i guess so? Mine is viper). You can say that if there's no difference between T5(or T5.1) & T6 in your ROM. Is it both 4% drain? :)

For me, i would rather like to have a better performance than full sense function. But anyway, it's your choice :p
[Desire HD Android Development] coolpixs4:
I can confirm T6 have much battery drain than T5.1

I'm back to T5.1

my touchscreen is atmel so it doesn't matter :cool:
[Desire HD Android Development] donkyshot:
+1
[Desire HD Android Development] jeffhui:
Hey dude, you may continue to test the difference between T5 & T5.1. :fingers-crossed:
[Desire HD Android Development] heywheelie:
Is 5.1 better than 5?
[Desire HD Android Development] coolpixs4:
Yeap, but it is same same...in term of battery life
[Desire HD Android Development] adgadg15:
Love the icons only thing i need to compleet my personal sense 5 theme
[Desire HD Android Development] thachtunganh:
Ok people, after look into yours comments, i think i should explain how cpu-freq governors work, it will help you to gain more performance and save power ;).

---------- Post added at 09:41 PM ---------- Previous post was at 09:38 PM ----------

Dude, go home, you're drunk!

This theard is for our kernel development :D
[Desire HD Android Development] adgadg15:
Oops haha sorry :$
[Desire HD Android Development] yxtl:
thachtunganh can u upload a boot.img of T6? i want to include in rom before flash. Libs its already in zip,i dont needed,just boot.img of T6.THX
[Desire HD Android Development] howasparty:
if you get it per PM, may you share it with me, because I never managed to get my DHD s-off?
[Desire HD Android Development] thachtunganh:
I don't have my laptop to do it right now, sorry :(
[Desire HD Android Development] DmK75:
kernel can not have "boot.img", because kernel it's zImage and modules

boot.img is ROM dependent image, that contains initrd for this ROM only

during install kernel existing boot.img extracted, repacked with zImage and flash again

you can edit updater-script so that it save new boot.img to sdcard
[Desire HD Android Development] DmK75:
dsixda kitchen

http://xdaforums.com/showthread.php?t=633246
[Desire HD Android Development] coolpixs4:
Please, help me to solve this issues

I haven't installed any new application since T3, but I have this issue since T4.1/T5/T5.1 (it is not awlays but it happen sometime after screen off)

Kernel wakelocks reports that suspend_backoff wakelock

=>Suspend_Backoff is preventing deep sleep => battery drain

I cann't find the causes
[Desire HD Android Development] Mano66:
T6 kernel is very high battery consumption.
[Desire HD Android Development] yxtl:
for who needed i make a boot.img of T6 ,i added it to rom and flash and its working Sorry all if i make mistake ,i im noob ,so please backup first:::

http://dl.xda-developers.com/attach...570916f532599/51739903/1/8/9/9/5/0/7/boot.img
[Desire HD Android Development] tweakos:
ok guys,after several tests i must agree that battery drain is little bit higher then previous build- sleep 5.1 - 4 ma, 6 - 10- 20 ma.so...
[Desire HD Android Development] CedArctic:
Is this kernel compatible with the HTC Inspire 4g? Thank you!
[Desire HD Android Development] thachtunganh:
If you are using a Sense 3.6 or others Sense 4.x ROM (ViperDHD, SVHD, Project X Rebirth, Pacha ROM...), then yes.
[Desire HD Android Development] 20mark:
np, im sure you guys will fix this, right? this is the best kernel for sense ICS!
[Desire HD Android Development] syjan1212:
I confirm that
[Desire HD Android Development] 20mark:
confirm s2w feature using high wakelock in kernel V6. (synaptic touch)

P.S. HERE you will find a simple and detailed guide on governors and I/O schedulers for those who dont know the meanings. hope it helps!
[Desire HD Android Development] thachtunganh:
Had you installed Google Chrome app in the past?

Read this: http://xdaforums.com/showthread.php?p=28676218
[Desire HD Android Development] coolpixs4:
Yes, Google Chrome is default installed app in Sabsa Prime ROM.

but I removed it about 5 months ago. Then, i use Maxthon web browser from there to now

And, ASK kernel - r2, Tweakos T2,T3 are no problem at all

Since, T4=>T6 I have that issues with wakelocks ( and I found that happen only when WiFi is ON but the screen is off)

And it also caused by I removed FlexNet.apk in /systems/app/

BUT, yesterday I clean all apps data, back up FlexNet.apk and reset, then reflashed T5.1 kernel. Now it seems OK - in deep sleep battery draw only -5 ~ -8mAh/hour..

:good:
[Desire HD Android Development] turko9999:
S2W fuction disappeaered when i reboot the phone, so i have to disable-enable s2w function on Venom tweaks.

HTC Desire HD with Beats Audio™ cihazımdan Tapatalk 2 ile gönderildi.
[Desire HD Android Development] coolpixs4:
Go back and check 2nd post

Copy s2w script to systems/etc/init.d/

It auto bring s2w function after reboot, so you don't need to use s2w widget or venom tweak to enable it every time
[Desire HD Android Development] tweakos:
about synaptics s2w - we are digg some dipper,and .... we can`t fix this completely atm , but we can do something... :)

Ok.there is a 6.1 kernel -

synaptics s2w now works as:

you need to tap once on any button, then sweep2wake.

explanation:

The first tap will activate wake lock - now touch is not sleeping - sweep - device will wake.

The first tap area is restricted to buttons,this mean if you tap on any other area wake lock will not be init,and s2w will not work.

If you tap on the button ,but not wake your device - wake lock will be init and you will have higher battery drain - for me (before wake lock init - 4 ma, after -9 ) - but the whole sleep is correct ,because we init wake lock after device is sleep.

This build is for tests.

HD-Kernel-T6.1_2wrec_s2w_fc_dvfs.zip
[Desire HD Android Development] Mano66:
Download writes: "no mirrors found."
[Desire HD Android Development] tweakos:
ok. here is the mirror : T6.1
[Desire HD Android Development] atonium2027:
new test build runs like butter and battery consumption is fine!
[Desire HD Android Development] jeffhui:
Many thanks for the new version, will test few days and report back.

Btw, I'm using T5.1 and the s2w can exactly work like your description, tap and then wake every time.
[Desire HD Android Development] coolpixs4:
Can anybody used gsam battery monitor app to check the kernel wakelock with T5.1 when screen off with wifi ON ? I have wakelock suspend_backoff too much in deep sleep but with wifi ON

But with AsK-r2 kernel, it doesn't happen. I cann't find the causes
[Desire HD Android Development] janarp:
Try this ...

Edit: lol tapatalk playing with me... I actually posted this post into pacha thread... :)
[Desire HD Android Development] yxtl:
i flash T6.1 and tt2w working like charm without do nothig first ,just tap 2 times on screen and he wakeup
[Desire HD Android Development] coolpixs4:
Plz, help me to identify which count the kernel wakelock of suspend_backoff

i attached dmseg.txt and *.xls file here

i refer to this thread http://xdaforums.com/showpost.php?p=27418022&postcount=5747

Quote:

------
[Desire HD Android Development] Matt_85:
I think he refers to original s2w which involves the hardware buttons that are full of issues when you are trying to wake our device , i think he haven't modified anything in the remaining modes ; of course all modes will have deep sleep ;

Correct me if I' m wrong :)
[Desire HD Android Development] thachtunganh:
In dmesg.txt, i found this

<6>[22400.376708] suspend: exit suspend, ret = -16 (2013-04-28 09:05:00.388576835 UTC)
<6>[22400.376892] suspend: too many immediate wakeups, back off
<6>[22400.377044] active wake lock suspend_backoff, time left 1000
[Desire HD Android Development] coolpixs4:
i know but I cann't identify what are the causes of that wakelock

this is BBS logcat http://xdaforums.com/showpost.php?p=40803575&postcount=15805

when open logcat I found this

....

PM: Device alarm failed to suspend, error -16

PM: Some devices failed to suspend

....
[Desire HD Android Development] thachtunganh:
I've just found out, Google reverted a patch to fix this, i applied it. I'll send you a test version
[Desire HD Android Development] coolpixs4:
thanks for your efforts and help

It means that due to kernel issue or my device trouble ?

I almost spent about a week to try figure out what is the reason BUT failed to know the causes

Can you depict more details about my trouble and how to use patch to fix that issue ? so much THANKS

you can look into these attached files to find out exactly ...
[Desire HD Android Development] thachtunganh:
The fix is only reverting a patch from Google, also authored by Google...

It's built-in with kernel, just install this build: http://www.mediafire.com/?oj71oi3ktfxm8m1

Test it for a day, then give me result ;)