yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] scm_crash:
Yesterday, for the first time on any kernel, my battery lasted longer than my original expectations for a phone in general.

ARHD 3.6.4 on 1.4r1 @ 1.08GHz OnDemand.

Went 16 hours before I put it on the charger with 44% battery left. (Stock battery)

Unbelievable. Just amazing. Granted I really didn't do much with my phone yesterday, but I got a few short calls, did a bit of texting, and browsed the internet for a few minutes. Either way, just idling through the day, other kernels would have still killed by battery before 12 hours.
[HTC Sensation] undercover:
Bricked is very efficient when on sby. Not so when awake though. You have to give some things up for speed. Not sure about latest kernels, as I only tested up to 1.2. Show, sorry to bother you again, but I'd suggest setting 1.2ghz by default. Anyone who wants more usually uses CPU apps anyway, so they could bump it up to whatever they want.
[HTC Sensation] petrosk73:
+1 on setting default speed to 1.2ghz
[HTC Sensation] rawrfische:
Running 1.45 test #490 on P3D 8.2.1. So far, so good! Clocked at 1.18 gHz and running smooth as butter.

Show, a quick question. I remember for InsertCoin, you had us (and baad) remove the init.post_boot.sh file because it was conflicting with some of your kernel optimizations. Does the same apply to P3D?

Here's a pastebin of the init.post_boot.sh from P3D 8.2.1

http://pastebin.com/5VdbH141
[HTC Sensation] Hawke84:
Hi all, id be interested to hear what sort of battery drain you guys are getting on the latest bricked kernel, i tried it for a couple of days and my screen off drain was around 100mA, on faux kernel its about 40mA but bricked seems to feel slicker when running...

im in a pickle of trying to decide what
[HTC Sensation] V6-Maniac:
Today i went to test #490 and i'm very impressed of what Show has done with his kernel.

Damm, i can't believe my eyes of what i saw.

I must say i recooked my rom arround Bricked instead the other way around.

Just to sure i can get the most out of his kernel.

Apps are opening very quick and the sensitive of the device is like no other.

I almost got annoyed cause of the fast response when touching the screen. :D

I had to look very hard to see even the carousel animation spinning (Damm how quick)

Further thing i noticed is how quick the APM opens after pressing the power-button

On v1.2 and v1.4 it opens very quick but this isn't quick any more, it's opening at Mach 10

Currently running at 1188mhz @ 192mhz

I can't report anything on the Batt life yet but will certainly do in the upcoming 36 hours.
[HTC Sensation] show-p1984:
you can't run smartass v2 on both cpus. It is not designed for aSMP. The only governor running 100% with aSMP is ondemand, hence it is default.

Probably you got heat because of your benchmarks :p

Now seriously: You may get more heat (more = relative). Cleancache/Zcache/Zram are all using the cpu, it is not much, but might be enough with all background apps to let your cpu stay @ mayclock (ondemand). If that is so, switch to conservative. (I will look that I can make ondemand a little less trigger happy ^^)

I thought the same! It was so annoying :D

Nope we are not supposed to do that.

*192min

and I am using a bash script ;)

I may release a 1188Mhz default version additionally to the 320mhz gpuoc version. But this will be the last one. I am building more special wishes than kernels :p

Yes delete it ;)

O.O nice ^^

(now I gotta try your rom :p)

BTW: it's the magic of cleancache & zcache ;)
[HTC Sensation] Astug:
#490 open beta is running great on ARHD 3.6.4, no problems so far and everything is so fast! Thanks man!
[HTC Sensation] w1000i:
@show-p1984

the 2.3.5 stock kernel have 613 MB of Ram vs 563 in 2.3.4 :eek:

so can we see this in your kernel ?!
[HTC Sensation] show-p1984:
It's the 5th time i answered this...

I did this on purpose. The missing ram goes to the GPU and Dalvikvm. It's not lost.
[HTC Sensation] sirbilbo:
With ARHD 4.1.5 and your Bricked 1.45 beta and ZRAM is the ultimate solution for my phone, everything is working just perfect :D

will follow your develop very closely from now on :)
[HTC Sensation] mobilkungen78:
will bricked 1.45beta work on sense 3.0 roms?
[HTC Sensation] show-p1984:
yes, though I didn't test it for long, but I am sure others did.
[HTC Sensation] deagleone:
This kernel is just awesome, running .490 with ic 3.4.0 and "fast like hell" feels like slomo... Fantastic Job Kraut!

sent from my "bricked" ^^ sensational InsertCoin Sensation
[HTC Sensation] show-p1984:
*Beta Bump*
[HTC Sensation] dingolino:
Hi show,

since a couple of minutes I am now on the latest beta before I was on 1.45-test-427.

I compared 1.45-test-427 smartassV2 with 1.2-final smartassV2

both running 192-1536MHz

on IC 255 = Sense 3.0

I have a Mugen EVO 3D 1950mAh Battery

Since the 1.35 test kernels I always had the feeling that battery is dropping faster than with 1.2 final while screen is on.

Battery drop is always not a linear curve so a comparison is not so easy and it could take some time before the system is set with the new kernel. Running now 1.45-test-427 since it´s release I think I can confirm that droping battery is faster than with 1.2 final.

I was running watchdog for a day or so but found no "missbehaving apps"

I have switched from smartassV2 to ondemand to see any difference.

It was helping maybe a little bit, but the system was not feeling as "snappy" as before with smartassV2 - although this is a real subjective point, my impression came from scrolling through lists like on Tapatalk or the market - smartassV2 was feeling snappier

Concerning the battery usage this is going maybe into the direction that tinky1 was mentioning

Battery drop:

On the one hand hand side you made all those improofements to reduce battery while in deep sleep mode on the other side my perception comparing it with 1.2-final.

You mentioned that you removed some of the clock speed steps.

I have no problems with that - think it is the right way to go - I just have a question:

Could there be a side effect because of that one and some hardcoded sections (that the cpu wants to go to a certain clock speed which is not there any more?) in govenors like smartass or ondemand? (I think it is not much likely because those govenors are working on many other devices as well with other clock step setting)

Is there something fundamental different while screen is on in terms of power consumption between 1.2-final and 1.45-test-427?

Best regards,

dingolino
[HTC Sensation] sirbilbo:
@ show-p1984

Hi friend , you just did my day with the latest bricked kernel, please accept my grattitude to you:

Confirmation number:	5GX78424AV301012E

keep it up :D
[HTC Sensation] show-p1984:
in 1.4 there are a new gpu scaling and ~35% overclocked 2d cores @ work. So this might suck on your battery a little bit more, but should be worth the trade off in regards to 2d performance. Also I increased the voltage for the gpu@320 version.

There can be no problems when deleting a frequency. The governors do not have hardcoded values, they scale the CPU regarding to the available frequencies in the acpu table.

If you want to take a look:

https://code.google.com/p/bricked/source/browse/arch/arm/mach-msm/acpuclock-8x60.c#216

I am humbly accepting your gratitude :)

Thank you very much!

Edit: Just looked @ PP... O.O Thank you very very very very very very much!
[HTC Sensation] sirbilbo:
NP sir, it's me thanking you for making this awsome work :D
[HTC Sensation] Catpoule:
hi show,

test V1.45 on IC 3.4.0 and working fine, no issues for me by now ... i can not report about battery use right now ....
[HTC Sensation] smint86:
i'm on 1.45 beta #490, had a complete freeze some minutes ago. i tried to make a log written as above, uname went well, it's attached with this post. but the last_kmsg.log just contains:

cat: can't open '/proc/last_kmsg': No such file or directory

somebody got an idea why it is like that? i created last_kmsg.log files before, those went well. i'm on insertcoin 3.4.0, no cpu apps or anything like that.

the freeze occured when i wanted to start an app, angry birds rio. i have a shortcut to it inside a folder on a homescreen, when i pressed the button the phone freezed instantly. screen remained switched on, phone didn't react at all. i still could see the opened folder on the homescreen. also connecting to the pc didn't resolve anything, phone wasn't discovered so i couldn't reboot into bootloader. i had to pull battery. sorry that i was not abled to create the log.. i can't reproduce the problem currently.
[HTC Sensation] rawrfische:
Been meaning to throw some more beers your way, but every time I click your donate button I get PayPal in German. I can't read a lick of German lol. I'm wondering how the hell I donated last time? :D

So I did it manually through my PayPal account. Keep it up, show. Bricked rocks, but we all know this. I know your AOSP page doesn't get as much love, but Bricked-AOSP rocks too. Works beautifully on MIUI and the CM7-based builds.

1M434041Y2118771K
[HTC Sensation] show-p1984:
That sounds like a kgsl crash =/

It is reproduceable? Hopefully it was just random.

I need to be able to reproduce this to get a useful error message =/

The last_kmsg is only generated if the phone is not freezing beyond the point of no return. (e.g.: a reboot)

Thank you very much!

PS: If I click on the donate link I get the page in English xD
[HTC Sensation] smint86:
means in such a case an end user (like me ;)) got no possibilty to send you some useful log? i can't reproduce it, so i think it must be random...
[HTC Sensation] show-p1984:
you could let a [adb shell cat /proc/kmsg > C:\kmsg.log] run and see if it occurs again (that's what I would do, except I would build a kernel with KDBG support and let that run).

But if it is random, than it is usually hard to get a grasp on.
[HTC Sensation] TwelveSided:
Been having lots of crashes when using the (stock) camera with ARHD 3.6.4 and kernel version 1.4r1. Had to do battery pulls each time. Couldn't produce last_kmsg.log.

It always happens when entering the camera. Usually on the second time, and never on the first time (since boot). It doesn't crash immediately, the screen just hangs. The only thing I can do then is try to lock and unlock the screen but upon locking it, the phone crashes.
[HTC Sensation] mat9v:
I hope I'm doing something wrong but my experience with beta 490 is contrary to others. The system starts slower (fast boot is disabled), the time from pin entering to clock showing is maybe 5 seconds longer, so is time to load all widgets after clock shows. Apps start much slower and I mean like 2 times slower. The script in init.d did not execute correctly after boot, strangely it required me to modify it by adding busybox before mkswap and swapon commands (I suppose it's due to the rom I'm using S3N5EaY 1.9.0) - what logs can I provide to help diagnose it (if you are interested in doing so Show-p :) )
[HTC Sensation] rawrfische:
That's madness! When I click, I get a page that displays "Geben Sie den gewünschten Spendenbetrag ein, und klicken Sie auf Summe neu berechnen" in red. Unfortunately, I took Spanish/Japanese in college and not German so I'm not quite sure what that means haha.

BTW can you hit me with a "x2"? I show up twice in your donor list. :)

So far #490 has been great on P3D 8.2.1 (Sense 3.0). Cleancache has been doing its thing and I've gotten no random reboots or anything. Battery has been good so far, will keep an eye on it and grab logs if anything comes up.
[HTC Sensation] Alex_electro:
Was looking to try it on Sensay 2.0...

Cool to know someone else look to put briked kernel on sensay...

Was looking wish version I should use with Senay 2.0...

1.4r1 or 1.45...

Also I have a concern cause I read contracdictory thing's about wath we're loosing in amaze cam....

Some say it's only burst--mode some-othre's say taht it's burst-mode and smartshot (seem related to multi shot)...

Also questioning if we put back amaze mod after flashing kernel it will bring back amaze registry entries...

Will keep an eye on devloppment as the only issus for seem to be with the amaze cam...
[HTC Sensation] creonx:
eng:

I have a problem, but I do not know if it's the kernel or the rom when I play a game and wants to make it louder or lower, then the screen goes black. Then picture comes back and I can play on.

ger:

Ich habe ein problem, aber ich weiss nicht, ob es am kernel liegt oder am rom. wenn ich ein Spiel spiele und lauter oder leiser machen will, dann wird der bildschirm schwarz. Dann kommt wieder bild und ich kann weiter spielen.

greetz from kiel/ger ;-)
[HTC Sensation] deagleone:
hey show... a Halloween Beer 4K512150VT622854R... Prooooooost
[HTC Sensation] Catpoule:
+1

i got a freeze while moving one app to SD card ... i had to pull battery out . it happened one time.
[HTC Sensation] show-p1984:
That is sense 3.0 android 2.3.4?

I got no reports of problems with sense 3.0 so far. Maybe arhd uses some hacked libs? Anyone else can confirm / deny this?

Then CdTDroid hasn't set the symlinks to busybox ;) Or else I can't explain that.

The commands I posted in the beta release, should suffice. But this seems to be due to your rom =/ Maybe he set some strange lowmem and swappiness/dirty ratios too.

Done ;)

Burst & smart will freeze the cam app, while HDR will not work like it should, but produces no error and takes a normal picture.

Insertcoin 3.4.0 bricked v1.45 test #490 @ Angrybirds Seasons: No problems ;)

Thank you very much!

So #random it is =/

*fires up KDBG*
[HTC Sensation] ivicask:
Latest beta..again damn probs with camera, took 2 shoots, pressed gallery phone froze. Stock 3.5camera, and everything properly flashed as you described before(stock kernel, your cam fix, and kernel,)

Heres kmsg and logcat, can you find out whats wrong?

Edit again..2 shoots, press back frozen..and i can hear email in background 15 sec after but phone doesnt react:O

http://pastebin.com/3T9DzzgZ
[HTC Sensation] show-p1984:
Please make a kmsg with new lines, and not with everything in one line =/

That is pretty hard to dig through.

I have no crashes with sense 3.5's stockcam and the stock album. You are sure that you applied the camfix, deleted the camera appdata/cache (maybe from the album too)?
[HTC Sensation] heyjoe66:
Hi, show

how can I make check how much zram is in use ?

'free' always shows me swap size 100mb used 2mb free 98mb

and never less then 98mb
[HTC Sensation] show-p1984:
18:54:53 up 8:13

free
total used free shared buffers
Mem: 576260 559700 16560 0 3056
-/+ buffers: 556644 19616
Swap: 102396 52168 50228

which rom?

try this from the cmd line:

echo 1 > /sys/block/zram0/reset
echo $((100*1024*1024)) > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0

You may have the same problem as matv9 @ http://xdaforums.com/showpost.php?p=18930286&postcount=2484

You rom chef might have forgotten to set the appropriate symlinks =/
[HTC Sensation] ivicask:
Sorry for previous log...

Btw, reproduced it 5 times allready..

Gallery, back key, screen off, any of it can freeze phone..

KMG

http://pastebin.com/zHkJznaV

Logcat

http://pastebin.com/i09wKG7Y
[HTC Sensation] dingolino:
Hi

Installed ROM manager update from market and got a reboot of the system

could it be a problem with cache consistency?

Will see whether this has a pattern or whether it is random

Best regards

dingolino
[HTC Sensation] show-p1984:
Did you do this:

Clear your appdata/cache, reflash the camfix, reflash #490 and try again. The error you are experiencing is common for the Amazecam v7 mod, so it may be due to old data cached from your old cam.

Reboot = gimme logz! :D
[HTC Sensation] mat9v:
Yes, the symlinks are not there. How do I create them (batch? cos by hand is kinda... long :) ). So I can't even use free command, has to use busybox free :(.

But, I deleted all tweaks by CdTDroid from init and the problem stays, for me #427 was much faster. Free command reports about 85% swap used so it works but strangely slow. I don't suppose it is due to missing symlinks?

After some time, when system settles down, the speed is ok, but launching any new app is still much slower. Do you think I should revert to #427 or jump rom for InsertCoin? :)

Sorry, I checked, the symlinks are there but something else is wrong:

If in terminal I type:

su

free

I get the busybox with the list of commands. Like it didn't receive a command as a parameter?
[HTC Sensation] dingolino:
I know - no log - no issue

dingolino
[HTC Sensation] Darnell_Chat_TN:
I've applied the same update today with no issues. I'm still using 1.4r1 with the latest EnergyROM.
[HTC Sensation] dingolino:
I did it with the latest test kernel 1.45-490 and had the trouble, but was away from my laptop so could not retreive the error log.

Best regards,

dingolino
[HTC Sensation] heyjoe66:
rom - synergy r93

checked symlinks, there are plenty of them and mkswap and swapon are there also

this two

echo $((100*1024*1024)) > /sys/block/zram0/disksize

swapon /dev/block/zram0

gives 'write error: Device or resource busy'

other two lines are fine
[HTC Sensation] show-p1984:
then your zram should be populated by more than 2megs. even after boot I already got 14megs in there =/
[HTC Sensation] mat9v:
I gave up and jumped to InsertCoin - reverted cam to stock and all is working fine :)

Great kernel with great speed !
[HTC Sensation] show-p1984:
Happy it worked for you!

Just let CdtDroid know that you had problems, perhaps he fixes it and you can go back soon(tm) :p
[HTC Sensation] heyjoe66:
oh, i got it

it was the V6 supercharger

uninstalled it and swap got alive

but swapon still throws error 'Device or resource busy'

update:

swap gets used, but i'm not sure it gets compressed, 'cause it gets filled for exact same amount as mem used by some particular app (as it shown in System Tuner)

while i'm guessing that System Tuner is not aware of compression and shows 'clean' app size

or i might be mistaken
[HTC Sensation] mat9v:
#490 works well on InsertCoin but only if left @ default speed (1536Mhz) - when I downclocked it to 1026 as I use it for everyday work, the stuttering and slow loading returned for me. Flashing #427 cured that. It seems that Zcache incurs too big a penalty for the low speed of 1026. Anyone can test it? Boot at that speed an check if switching between screen is fluent in the 30 seconds after sense clock is displayed...

With #427 it is, just after 5-10 seconds, with #490 it's bad even after 30 second. One might say you don't restart your phone every day but app loading time suffer too.
[HTC Sensation] rawrfische:
I have a similar issue with lag, except I'm on P3D. As the cache begins to get full, the stuttering and lag gets worse. Not really sure what to look for ATM. Will mess with it more after my son's Halloween stuffs. Maybe cleancache doesn't play nice with CDT's ram scripts?
[HTC Sensation] mat9v:
Got rid of all scripts aside from lowmemkiller set to very low value of max 16MB. Didn't help at all :( Oh well, it's not like it's the end of the world :) Just hope Show-p will fine tune that or create a Zcache-less version for those battery conscious out there :)
[HTC Sensation] show-p1984:
What?

Can someone deceiver that for me? :P

I am guessing you mean, that the mem in the swap is exactly the mem that is used by some app as shown in system tuner?

If it is that way, that should not be ^^

It should store everything that is kicked out of ram because of low memory.

(free -> look @ swap)

BTW: System Tuner can't access the ZRAM and show you whats inside of it.

It works for me @ 1026Mhz, less smooth, true, but still works.

Zcache and Zram are indeed using cpu while doing their magic, but it should not influence that heavy.

How do you know that the cache begins to get full? Logs?

Let those values be set by the kernel:

lowmem, swappiness, dirty_ratio, clocks, sampling

You should be fine then ;)
[HTC Sensation] artymarty:
Hi Showp,

had a crash this morning that required a battery pull, here are the logs.

just woke the phone up to do something, unlocked the screen and it crashed.

Cheers, Marty
[HTC Sensation] show-p1984:
thx, since:

cat: can't open '/proc/last_kmsg': No such file or directory

I think it was a kgsl crash.

Already fixed the rpcrouter crash via a patch from caf (or at least I hope so, lol :D)

kgsl is next up.

btw:

[ 5.005856] EXT4-fs (mmcblk0p23): warning: maximal mount count reached, running e2fsck is recommended

you should do what he tells you ;)
[HTC Sensation] speedyjay:
Does this kernel work with stock 2.3.4? On the sensation xe?
[HTC Sensation] artymarty:
Thanks Showp,

as I am still learning this stuff, e2fsck is new to me.

My research found this:

http://www.linuxspy.info/606/when-and-how-to-runexecute-e2fsck/

however as we are on a phone here, and I am not sure which partitions I should do this to, can you please give me a little more info on that? ie:

* what commands to type?

* Where (assuming the terminal emulator? or should I do it through ADB?)

* most important: what to back up first, in case it all turns to sh*t. (which relates back to the partition question... if its on the SD card, then back up SD, or if its an internal partition, then do a nandroid I am assuming)

Your response will teach others too.... so thanks in advance.

Warmly, Marty
[HTC Sensation] tinker2000:
Show-P, You are a code wizard. What a fantastic kernel.

Thankyou
[HTC Sensation] RussianBear:
flashed the new beta this morning, was on 427 for a few days before. i don't have a crash log, but 2 things happened:

i had a calendar notification go off that i left pending in the status bar, then took some pics with the camera and forgot about the phone. about 20 mins later, pulled it out and it wouldn't come on. the green led light was blinking, but there was 0 response from the power button. had to hold both volume buttons and the power button to reset it. other than that, it's been a smooth sailing. thank you for your work!
[HTC Sensation] immunityx:
Hey show do you recommend deleting the vmtweaks, oomtweaks, and ext4tweaks under the init.d folder while using your kernel?

Im using IC 3.4.0
[HTC Sensation] show-p1984:
Try it, if not restore a backup and tell me what did not work (but it should).

I cannot guarantee that this will work at all, since android and linux are sometimes not the same =/

so: Make a Backup!

your device is /dev/block/mmcblk0p23 (/data)

safest way: shutdown -Fr now (sadly that does not work on android =/)

so for us this means: boot into recovery

adb reboot recovery

then do this:

e2fsck -y -v -f /dev/block/mmcblk0p23

then it will run the program and scroll some output across your screen ;)

Wait until it's finished.

DO NOT CANCEL THAT PROCESS YOU MAY LOOSE ALL YOUR DATA ON THE PARTITION WHICH IT IS SCANNING!

It should put out sth like this in the end:

/dev/block/mmcblk0p23: ***** FILE SYSTEM WAS MODIFIED *****

/dev/block/mmcblk0p23: ********** WARNING: Filesystem still has errors **********

9059 inodes used (11.85%)
1049 non-contiguous files (11.6%)
4 non-contiguous directories (0.0%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 9133/258
202213 blocks used (66.11%)
0 bad blocks
0 large files

6803 regular files
2587 directories
0 character device files
0 block device files
0 fifos
4294965585 links
15 symbolic links (15 fast symbolic links)
12 sockets
--------
2800 files

Ignore the warning, completely normal.

Reboot.

Done.

Code sorcerer!

(sry, fat chance :D)

Camera is giving me a hard time atm, trying to fix this. Apparently the kernel does not behave strange (in fact it does everything it is asked), somehow the cam app screws up things.

Dont delete them.

replace them with those:

http://dl.dropbox.com/u/44206202/init.d.scripts.zip

then run fix permissions from recovery.
[HTC Sensation] guyd:
I have 1.45 Test #490 Running on IC 2.2.5 SSE (Sense 3.0) and have no problems with the stock camera. I just shot 10 photo's and recorded two movies without any trouble.
[HTC Sensation] zimphishmonger:
What changes did you make to the initd scripts so they work with your kernel??