yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] zooster:
Which vsync option gives best battery life, on or off?

And btw as long as I've read, vsync is meant to make the overall appearance smoother. On vsync is based all the smoothness of project butter in JB. So how is it possible that vsync off makes the phone smoother??
[HTC Sensation] Yank555:
Smooth means clean moving graphics, because what vsync does it wait for vertical synchronisation before allowing to redraw the screen, thus is slower, but every object is consistently drawn (entirely).

When vsync if off, the upper part of an icon can be drawn one (or more) pixels earlier than the lower part, a little like this while sliding the workspace to the left or right :

With vsync on :

+----------+
¦ ¦
¦ ¦
+----------+

With vsync off :

+----------+
¦ ¦
¦ ¦
+----------+

The second is faster, since it is allowed to go on moving objects without waiting for the whole screen to be displayed.

The first is smoother, since it's looks more accurate, cleaner ... but will be slower since the next move will only be allowed to be drawn once one frame has been completely displayed.

So FAST is different from SMOOTH, even if IMHO smooth is wrongfully used for fast on xda on a regular basis.

Actually what you call project "butter" is in fact project "fast", not projet "smooth & clean".

As for battery life, I don't expect this to have any big impact.

JP.
[HTC Sensation] serio22:
Yank quick question, what does the last option in lmk options do?

Enviado desde mi HTC Sensation 4G
[HTC Sensation] Yank555:
Well in fact what is says, plain "nothing" :D

So in fact LMK values are not set at all, that was a request of one user here, and I found that to make perfect sense, if you don't want to mess with LMK at all or prefer to set it somewhere else (using an app for example).

JP.
[HTC Sensation] gen129:
Have flashed this kernel for the first time.

Traditional button leds backlight control (/sys/class/leds/button-backlight) does not work, so variety tweaks can't control them - working only switching off. Is there any possible fix?
[HTC Sensation] Yank555:
Never looked into that, I guess faux would know about it...

Is the file missing in sysfs ? Or is it not working as expected ?

JP.
[HTC Sensation] serio22:
I thought so but wanted a confirmation, will try it out thanks! :D

Enviado desde mi HTC Sensation 4G
[HTC Sensation] gen129:
sysfs and button leds control files are present, but does not actually control button backlight :(
[HTC Sensation] Yank555:
Since I never changed anything there, can you give me en example of to what to set the files and what behavior would be expected ?

And maybe what kernel it actually works fine on ?

JP.
[HTC Sensation] chrisrj28:
Yeah every time I have tried vsync off I have noticed stuttering in the UI, is that what you saw to yank?
[HTC Sensation] gen129:
echo 100 > /sys/class/leds/button_backlight/max_brightness

Should lower button brightness by a half (255 - full brightness, 0 - off). 255 and 0 working fine with this kernel, all others values are working as 255.

Working kernel - Bricked, all versions.

Thnx.
[HTC Sensation] Yank555:
Yep, exactly. But just as on Blue-ray movies stutter (25fps), some people seem disturbed by it (I am), but other seem to just not see it (a friend of mine).

So as everything, this will be a matter of personal preference ;)

JP.
[HTC Sensation] chrisrj28:
Yeah that has to be it, every time I would see someone comment on vsync I would wonder what they are seeing that I am not because I notice the stutter and don't like it :rolleyes:
[HTC Sensation] Yank555:
OK, I can see and reproduce the effect, just as bright at 1 as at 255. Will look into it.

JP.
[HTC Sensation] Yank555:
OK, I found the button backlight issue and fixed it ;)

I will push my commit so faux can pull it (actually it was initially a commit by faux, but it must have gotten lost on the way to the current version) :o

JP.

EDIT :

If you want, in the meantime you can use my patched kernel :

http://batcave.rasquin.co.uk/Androi...u/Yank555.lu-Pyramid-ICS-sense-v2.8-aroma.zip

MD5 : 166077db9f62afd93012e4597d4de067

It is a full 010b4 with just different Aroma default values and button backlight brightness fixed.
[HTC Sensation] remus82:
Flashed and I can confirm this version fixed the button backlight brightness. So go ahead and flash guys
[HTC Sensation] Tinchoska:
yank, what is lmk? i know this question is really noob... but i dont know jeje, thanks in advance
[HTC Sensation] piimp:
Low memory killer....kind of how android manages memory to said apps, and kills them accordingly...you can search the internets if u wanna know more in detail

Sent by my feau gee
[HTC Sensation] Tinchoska:
oh, yea, thanks, it was in lastes versions.... can you please tell me, if you know, wich option is better?
[HTC Sensation] ajay83:
Hey guys. trying Yanks new patched version a few posts back. I've also read the feedback on vsync.

The kernals running SWEET and I chose to enable VSYNC in aroma settings. So just a quick question...

In my 99z_kernal folder

# - Disable Vsync

mount -t debugfs debugfs /sys/kernal/

debug

echo "1" > /sys/kernal/debug/msm_fb/0/

vsync_enable

echo "1" > /sys/kernal/debug/msm_fb/0/

hw_vsync_mode

umount /sys/kernal/debug

is vsync enabled here or disabled?
[HTC Sensation] serio22:
Enabled ;)

Enviado desde mi HTC Sensation 4G
[HTC Sensation] Yank555:
Yep, enabled, stupid me forgot to change the comment :o When set to 1 it's enabled, 0 means disabled,

Will change that in next release.

Damn copy-paste, twice in one release, but luckily it was just a comment, so makes no difference.

JP.

PS: Just to be precise, enabling Vsync means leave things as they have always been ! ;)

Sent from my custom ARHD 2.3.0 / Yank555.lu kernel v1.5 (Linux 3.0.44) powered Samsung Galaxy S3 using xda premium

---------- Post added at 09:12 AM ---------- Previous post was at 08:44 AM ----------

Hi,

About the button backlight brightness, I've spoken with faux. He reverted that mod back (disabled it) on purpose, users were reporting issues with leds.

So please for those testing it, report back anything suspicious about leds in general.

Thanx, JP.

Sent from my custom ARHD 2.3.0 / Yank555.lu kernel v1.5 (Linux 3.0.44) powered Samsung Galaxy S3 using xda premium
[HTC Sensation] axetilen:
it depends on your usage

if you want to have more free ram, choose aggressive or very aggressive => apps tend to be killed regulalry

medium is stock
[HTC Sensation] gen129:
What issues?!!

The only issue I've notices (and with Bricked kernel too) is the posibility of not reverting button backlight brightness back to half-bright after sweep2wake with full brighness.

And - sure - I can't belive the full button backlight brightness is not annoying you during reading in dark room.
[HTC Sensation] bduvel:
Installed 2.8 with vsync but something is strange, runs smooth again but i can't hold my finger to add widgets on homescreen.. or even move icons is not possible anymore :/

And this happens everywhere when holding it, it just clicks it.
[HTC Sensation] snake4fun:
Which Rom do you use ?

Gesendet von meinem HTC Sensation XE with Beats Audio Z715e mit Tapatalk 2

---------- Post added at 12:58 PM ---------- Previous post was at 12:56 PM ----------

Do you have enabled locked workspace?

Gesendet von meinem HTC Sensation XE with Beats Audio Z715e mit Tapatalk 2
[HTC Sensation] bduvel:
danke schon ;) sorry just woke up! must not been have fully awake..

the workspace was indeed locked
[HTC Sensation] Yank555:
I don't know what issues, I had no Sensation at the time ... maybe search the thread.

What I meant was, just in case you notice anything strange, please let us jnow ;)

JP.

Sent from my custom ARHD 2.3.0 / Yank555.lu kernel v1.5 (Linux 3.0.44) powered Samsung Galaxy S3 using xda premium
[HTC Sensation] jacoblabares:
when flashing Yank555.lu-Pyramid-ICS-sense-v2.8-aroma do I need to wipe? what should I wipe? newbie here thank you.
[HTC Sensation] Jackos:
You don't have to wipe anything.
[HTC Sensation] jacoblabares:
I got a BootLoop. :(
[HTC Sensation] madkai:
If you want help, you should write what you done, and you´re device config (ROM, S-on? etc.)
[HTC Sensation] jacoblabares:
ARHD 6.7.2 + S-OFF + Current kernel (Pyramid-ICS-XE-010b4) + Hboot 1.27.1111

I experience bootloop. I already reverted back. but just wanna ask why? Everyone experience it smoothly.
[HTC Sensation] juancubo:
Sometimes, same values of undervolt and combinations of max frequencies that you have used in the past, won't work with another version of the Kernel, but you didn't tell what options you selected in AROMA so helping will be difficult.
[HTC Sensation] jacoblabares:
Thank you for your reply I guess my phone has trouble for that build I tried it in default values. I just reflash ROM and install 010b4. :)
[HTC Sensation] hinxnz:
Hi, hope you solved your busybox issue but check out this thread too for another multitasking tweak if you haven't seen/done already :)
[HTC Sensation] silverdart:
WOW!

Every boot I have to apply the 2 busybox method described but at least I can do it. I was just looking into that exact same tweak but the services.jar was for another rom and didn't work on Virtuous Inquisition. But with this link again you have led the way. Thanks again you have advanced my phone tremendously! Getting ready to flash now!
[HTC Sensation] silverdart:
Nice!

Look at the difference in used ram! The tweak (services.jar) is definitely working. Observing to see if 100mb zram and 100mb sdcard swap will be enough. Thanks again!
[HTC Sensation] hinxnz:
Great to hear, I thought I'd mention I also found that using 120mb on each was sufficient but I also tried with the swap file on the data partition

to test

instead of sdcard too, it was more reliable and seemed quicker and didn't have to unmount the swap file on sdcard to connect pc to sdcard via phone. I'm not completely sure of the life expectancy or how many writes etc the internal flash can handle but more than likely it is more than capable rather than the sdcard you would think but then again a sdcard is easily replaced :)

I'm not sure what is with busybox though as I just have the one installed that came with my ROM and works well, normally it is modified for the ROM and the ROM updates are usually more frequent than the busybox updates..
[HTC Sensation] Yank555:
As internal memory goes, it's in essence the same life expectency as an sd card, but it's a lot faster (due to the controller of sdcards which are bottlenecks). Plus I agree with your last conclusion, it's easier (and cheaper !) to replace an SD than the phone ;)

Using a swap partiton, btw, will solve the problem of unmounting the swapfile on the FAT partition, since only the FAT partition is unmounted when connecting sdcard to the pc via Android.

As for busybox, what is really important is where it is located. Generally it is expected to be in "/system/xbin" but I've seen it being installed in "/system/bin", which makes kind of a mess :( My hardswap mod need busybox in "/system/xbin" and won't work if it's not there.

JP.
[HTC Sensation] mohameddegheidy:
Just tried 10 b 4 , AMAZING :) With Viper 1.3.5 , I cant ask for more really , Tried disabling V-Sync and it is even faster , I just left it enabled for the smoothness , Everything is already fast so no need for me to disable it , Thanks for Faux and Yank :)
[HTC Sensation] olderbloke:
+1 10.4b with viper 1.3.5
[HTC Sensation] snake4fun:
+1

Gesendet von meinem HTC Sensation XE with Beats Audio Z715e mit Tapatalk 2
[HTC Sensation] silverdart:
Question?

Since you are talking about button backlights I would like to share something I experienced when trying CM10 Kang Pyramid (Jelly Bean ROM). The button lights would go off after a short period of time (no touching) and come on when you touched them. is this possible to implement?
[HTC Sensation] Yank555:
Yes, anything more or less is possible. I would have to give a look at the CM10 kernel sources for Pyramid to see what has been done and if it could be easily ported. A link to the kernel sources that have this behaviour would be a great help ;)

But I'm quite busy working on my S3 JB kernel right now ... so maybe later :o

JP.
[HTC Sensation] Nekromantik:
Are the stock faux or Yank Mod better for battery life?
[HTC Sensation] faux123:
There are no difference between yank or mine.
[HTC Sensation] gen129:
Faux,

May you explain what are the problems with button backlight brightness control? Why do you reverted Yank's patch?
[HTC Sensation] faux123:
I didn't revert anything.
[HTC Sensation] faux123:
The patch in question was reverted eons ago. Yank recently rediscovered it :p not sure why the patch is needed again...
[HTC Sensation] gen129:
Crap :(

I can't read in dark room where buttons are max brightened and can't see they where backlight is off. Are you feeling different?
[HTC Sensation] chesterx1:
zram

How do you determine if zram is on ornoff?
[HTC Sensation] Yank555:
Type 'cat /proc/swaps' in a terminal, if there is a zram0 device, then it's on.

JP.

Sent from my custom ARHD 11.0.0 / Yank555.lu JB kernel v1.1 (Linux 3.0.38) powered Samsung Galaxy S3 using xda premium
[HTC Sensation] chesterx1:
export PATH=/data/local/bin:$PATH

app_63@android:/ $ export PATH=/data/local/bin:$PATH

app_63@android:/ $ cat /proc/swaps

Filename Type SizUsed Priority

/dev/block/zram0 partition 98300 50420 -1

app_63@android:/ $

app_63@android:/ $u

Does this look right?
[HTC Sensation] Yank555:
It's telling that you have zram activated.

If that is what you expected, then it looks right ;)

JP.

Sent from my custom ARHD 11.0.0 / Yank555.lu JB kernel v1.1 (Linux 3.0.38) powered Samsung Galaxy S3 using xda premium
[HTC Sensation] silverdart:
Thanks!

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

https://github.com/bruce2728
[HTC Sensation] faux123:
Until some1 pointed out an exact bug in the kernel via logs, I am not going to do anything until then.

Remember if you (all users) think the kernel has a bug, PROVE it via logs, otherwise I will just ignore the posts all together :rolleyes:
[HTC Sensation] Martovitz:
Wow this is a great combo Core Droid + faux kernel. Thank you again for your great work.

Remember to give THANKS were THANKS is due.
[HTC Sensation] Martovitz:
Remember to give THANKS were THANKS is due.
[HTC Sensation] vincepg13:
Fair enough mate, unfortunately I have no idea what that even is :p. 0.1 is working great for me anyway, gonna follow the 'don't fix what's not broken' policy

Keep it up pal
[HTC Sensation] goksar:
same thing here...no problems with 0.1 - 0.1.2 gives the glitches :/
[HTC Sensation] EddyOS:
Anyone? Just need to know if I need to do anything else to my ROM to get it working nicely (not for public release, but I make my own to do what I want)
[HTC Sensation] lws803:
Same here. Wiped cache and dalvik with no results
[HTC Sensation] Sdobron:
It's libs then. The 2.3.4 libs must be causing an issue.
[HTC Sensation] jlevy73:
It's the max it will run at. So at peak loads it will run @ 1.5 all the way down to 384 (I believe). You can check the following via adb:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq
[HTC Sensation] EddyOS:
That's what I wanted to know, whether top speed was 1.2 unless OC'd or 1.5. Thanks! :D

EDIT: Commands for CPU1 don't work, but CPU0 is changing between load up to 1.56 so I'm happy
[HTC Sensation] Hoggles:
So....off topic....but still important.

I know its been talked about before, but it is just LAUGHABLE that Faux doesn't have "recognized developer" status.

The funny thing is....he should have "ultra recognized dev" status. If that title doesn't exist....it should.

What A-Hole/group of A-Holes are the ones who decide this?

It should be clear to ALL that whoever that person/people are...they have ZERO credibility in the community.

I don't care if Faux is an axe murderer... He is far more of a real Dev than most of the "recognized" Devs on XDA.

Joke...

IC 2.3.1 + Faux's native kernel = fast & stable.

Thank you Faux!
[HTC Sensation] mexxxico:
or you can use this ;)
[HTC Sensation] BrokenWall:
CPU1 will only return results when it is active (under load during linpack or cf-bench), other than that cpu1 is asleep and not using power.
[HTC Sensation] omar302:
Dear Faux,

I understand what you are saying, but the thing is that in the same ROM, your old kernels did not have this issue. When flashing your new Kernels, V0.1.2, the Graphic corruption is back. The only change was flashing your new Kernel instead of the old one.
[HTC Sensation] PeterGuru:
Same continuous reboot ...

I'm having the exact same problem. Here's what I did:

Rebooted into Recovery

Wiped Cache Partition

Wiped Dalvik Cache

Installed Stock Kernel

Boot to home screen

Reboot into recovery

Wiped Cache Partition

Wiped Dalvik Cache

Installed NoHz 1.78GHz

Rebooted

EVERYTHING WAS GREAT, BUT ANTUTU BENCHMARK DID NOT WORK. I opened AnTuTu and started the test, but a few seconds later the app closed and I went back to my home screen.

Now...

Rebooted into Recovery

Wiped Cache Partition

Wiped Dalvik Cache

Installed JRCU 1.78GHz

Rebooted

EVERYTHING WORKED PERFECTLY, INCLUDING ANTUTU BENCHMARK.

Until early this morning, so ...

Rebooted into Recovery

Wiped Cache Partition

Wiped Dalvik Cache

Re-Installed JRCU 1.78GHz

Device continuously rebooted (got to home screen and then automatically rebooted again)

Then I tried it again ...

Rebooted into Recovery

Wiped Cache Partition

Wiped Dalvik Cache

Installed Stock Kernel

Boot to home screen

Reboot into recovery

Wiped Cache Partition

Wiped Dalvik Cache

Installed JRCU 1.78GHz

Device continuously rebooted (got to home screen and then automatically rebooted again)

I've now tried it seven times, and I get the same result ... my device continuously reboots.

HELP!!!

Peter
[HTC Sensation] faux123:
I did not change anything in the Adreno EGL kernel code. It is the same as stock 2.3.4. The EGL code got a massive update from 2.3.3 to 2.3.4, so blame HTC/Qualcomm for messing it up if that's the case. Again, without LOGs detailing the errors, I won't look at it. Also if the bug is introduced by HTC, then it would be very difficult to fix because I don't know how the adreno chip works. Qualcomm is EXTREMELY secretive about their chipset. There's virtually no useful information online from them except the useless Press Release Crap they put out.... :eek:
[HTC Sensation] nccu_eagles:
What are the requirements for that title ? I've seen people with fewer than 50 "thanks" have the recognized dev title. Why have they decided not to give it to faux?

__________
[HTC Sensation] mrg02d:
Try flashing both kernels without a reboot inbetween. My phone is behaving now...Has all day. Lets hope there is a good reason for this, and not something wacky.

Matt
[HTC Sensation] mexxxico:
Maybe the CPU simply can not stand working on the frequenicy?

Try fot test 1,56 kernel. If all works well...
[HTC Sensation] mrg02d:
Could you teach us a few things so that we could help you? Many of us are noobs that have moved passed the pathetic stage, but still arent useful for more than a YAY or NAY.

How do we go about getting you a log? Is it possible to do that when our phone goes wacky?

EDIT: 1.7Ghz may be too much for some people. Mine would reboot like mad back in the setCPU + temp root days. Even 1.5Ghz would see a reboot here and there! Maybe some of our chips were VERY lousy and NOT even meant to run at 1.5Ghz?

Matt
[HTC Sensation] silverdart:
Outstanding kernel and tweaks!

***Notice mA's!*** WIFI/GPS activated. Only tweaks are stripe/service.jar(above link)/10b4-192-118mhz.

Picture 1,2,3 - After opening a whole lot of programs and running benchmarks

Picture 4 - After short sleeping
[HTC Sensation] The Illest 619:
Have to agree with everyone else. 10b4 is amazing and during sleep my phone has a -5mah drain! Longer screen on time as well.
[HTC Sensation] Hawke84:
Random reboot on latest faux beta. I have pretty much standard faux setup. CPU at 1.56, no GPU OC, 2056 emmc readahead.

I went to turn the screen on and it was just a black screen witht he buttons lit up, wouldnt respond, eventually rebooted and i pulled log straight after reboot. i cant find any issues in it..

https://www.dropbox.com/s/9mu1am9eiusxrs1/last_kmsg.txt
[HTC Sensation] Yank555:
Try a higher screen off max cpu freq. this sounds like the one you have set doen't work too well on yor device. Not all CPUs are equal to that extend.

JP.

PS: Haven't checked the kmsg yet, have not much time right now, so this is just an educated guess...
[HTC Sensation] Dijkstra88:
Faux, if you haven't seen it yet, a new Linux kernel has been released (3.0.45.)
[HTC Sensation] zooster:
Same here, more reboots with screen off than 10b2. Now I'll try higher max screen off freq and less uv, but it's strange because with those same valuse I had no reboots with 10b2.
[HTC Sensation] ganeshp:
im getting reboots on 10b4 too (viperS rom )

especially when trying to wake the phone using S2W

here are two last_kmsg attached (i did have a quick look at it but found nothing @_@)
[HTC Sensation] Yank555:
This as well makes me conclude to use higher screen off values, that's a know issue with s2w, strange this would come from the update, since all that changed between 010b2 and 010b4 is Linux version (if I'm no5 mistaken).

JP.

Sent from my custom ARHD 11.0.0 / Yank555.lu JB kernel v1.1 (Linux 3.0.38) powered Samsung Galaxy S3 using xda premium
[HTC Sensation] ganeshp:
That fixes the issue for sure.. That I know.. But until now those screen off values never affected me (486 Mhz)... And it is indeed strange as to why there is a need to do increase in screen off value..i did my research on the kmsg's I've posted but nothing seem suspicious to me.. That's why I posted so that faux might understand the issue (if any) better
[HTC Sensation] paparozzi:
I also had reboots on ViperS. The kernel was working fine for about a week and suddenly it started. I tried the PYD - kernel afterwards and had the same issue, so I thought it would be phone related. I'm back to bricked now but would really like to reinstall faux's kernel. Can anybody suggest a proper screen off max value? Thanks!
[HTC Sensation] axetilen:
The safe value is 486mhz

Or maybe you have a problem with undervoltage. Try to go to system/etc/init.d and then delete 21uv if you find it
[HTC Sensation] uniteddiamonds:
Pixel Salad Issues

Here's something interesting...wondering if anyone else has experienced the 'pixel salad' issue on this kernel.

I recently swapped out hardware (ie. old sensation for another sensation). Was running yank's 2.6 build. Wasn't having any issues on the previous sensation. Before swapping out the hardware, I did a nand backup.

I received another sensation and did a nand restore. After long periods of time, it seems that after waking the phone I see a pixel salad instead of the lock screen pattern. Phone still responds in the background even though I can't see what I'm doing. I know it's responding because if I trace my unlock pattern, it wakes up, the pixel salad disapperars, and everything appears normal again.

Thought maybe I should change the GPU freq to the stock freq and I even tried changing max freq to stock 1.18. Tried reflashing the kernel, cleared the cache, wiped dalvik, etc. Still randomly does this.

Read elsewhere in other XDA posts that the franco kernel was having the same issue on the galaxy note at one time. Any ideas anyone? Anyone else experiencing pixel salad on this kernel?
[HTC Sensation] euki69:
Is the link for 10b4 working? I can't seem to download it (although i am on my phone)
[HTC Sensation] Yank555:
Just tested it, downloaded fine ?!

JP.

---------- Post added at 08:05 PM ---------- Previous post was at 08:03 PM ----------

Did you disable vsync ? Even though I don't see how it could actually lead to pixel salad, maybe some glitches, but shouldn't be that bad ?!

Did you have it on both your old and new phone ?

JP.