yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] ziggy1001:
You could try this

Extract boot.img from rar

flash stock boot.img

adb reboot-bootloader

fastboot flash boot C:\SDK\android-sdk\platform-tools\boot.img (change to path on your PC)

fastboot reboot

You are now on stock kernel.

Code:

adb reboot recovery

Flash bricked 1.5 again

boot.img MD5 587F63150BC7A32367D384466302C83C
[HTC Sensation] Catpoule:
i use system tuner ....
[HTC Sensation] ziggy1001:
You could un-install system tuner & your UV script and just let it run default and see how that goes

You haven't set UV values in the script and Sytem tuner have you?
[HTC Sensation] Catpoule:
ok i did it stp by step ...

it's rebooting now ...

report back in a few minutes :)

thanks
[HTC Sensation] Darnell_Chat_TN:
See the change log in post #2.
[HTC Sensation] Catpoule:
lolololol no i didn't !! only in the script as you told me too.

ok i removed the script and i am going to remove system tuner ...
[HTC Sensation] ziggy1001:
If system tuner and your UV script were working fine on previous show-p version and you didn't change any values very unlikely they are the problem, it's just fault finding to remove the variables and just test the kernel as is
[HTC Sensation] Catpoule:
ziggy, i think you are right, the problem seems to be system tuner or undervolted values ... can't say exactly which one ...

i will try to put back the script you show me .... but could you set another value, 500000 should be good ?
[HTC Sensation] ziggy1001:
Good is whatever value works with your phone's CPU which could be totally different to mine. Think it should be 50000 not 500000 or was that a typo?

PS why use system tuner and an UV script ST can UV, OC & set governors
[HTC Sensation] Catpoule:
yes 50000 ;)

i don't know the script to set all this value that's why i used system tuner ... because i wanted to set it at 1,34ghz , on demand, and undervolt...
[HTC Sensation] the_real_fosgate:
Sorry for that noob question.

Can it be, that the undervolting feature in SystemTuner is gone with new 1.5 Kernel?

Bye

Robert

EDIT: sorry I meant SystemTuner!!
[HTC Sensation] ziggy1001:
fine here ;)
[HTC Sensation] geoffcorey:
Testing out 1.5, and checking my zram, it's being used, but I'm not sure what to make of the output.

http://pastie.org/2811132

In terminal emulator, I also get invalid length errors, which for some reason aren't getting copied to my zram.txt file.

And cleancache lists

0

0

0

0

Again, not sure if what I'm looking at is good or not. Thanks!
[HTC Sensation] show-p1984:
You can't divide a single core app to two cores. It must have at least 2 threads to do that.

If cpu1 will be online all the time, it will eat more battery than if cpu1 was only online when it is needed.

No.

Thank you very much!

http://xdaforums.com/showpost.php?p=19036097&postcount=2729

Very much appreciated!

ZRAM is not stored on your SDCARD. Besides that it is slow, it woul kill your sdcard in ~5-6months. =/

Yeah, my next todo.

CF-Bench is very inaccurate. But the Antutu scores are matching.

Android 2.3.4 2.3.5? Sense 3.0 3.5?

Undervolting done?

Underclocked?

any changes differing from defaults???

ZRAM is working but somehow Cleancache is dead for you. Will look into that.

Many roms, such as arhd, are using ramdisk hacks. This would reset them. That why I will not provide that kind of thing.

Nope.

Again, only cleancache is nor working for you 2. (or maybe others too).

I am saying this now, again... (in big red letters so everybody reads it)

PLEASE REPORT ISSUES IN THE ISSUETRACKER! WITH AS MUCH INFORMATION AS POSSIBLE. THAT HELP ME TO KEEP TRACK OF THE ISSUES! THANK YOU!
[HTC Sensation] Laynee1:
So again, do i have to wipe dalvik before flash kernel ?

And do i have to recalibrate battery after ?
[HTC Sensation] show-p1984:
No. and no.

If you flash the camfix it will wipe cache&dalvik for you. The kernel will always wipe cache if you flash it.

Batterystats are saved in /data, not in dalvik.

The dalvik cache is the cache for the virtual java machines that are running our apps we launch, it has nothing to do with your battery.
[HTC Sensation] immunityx:
Sensation XE and XL kernel source out now :)
[HTC Sensation] show-p1984:
and no ZSL in there =/
[HTC Sensation] Retrolock:
Hi show-p, i noticed youtube playback is a bit laggy in the start but it smoothens a few seconds later with this newest kernel.

Is smartassv2 better than ondemand or ymmv? Thanks
[HTC Sensation] tbestie:
Show-p awesome work on the kernel :) jsut curious... With stock kernel the max RAM is near 650mb, but on your kernel there's only 560mb available. Why is that? Is it just a system info error, or does your kernel use more background RAM?
[HTC Sensation] zimphishmonger:
No system error and answered at least 2 dozen times...Search is ur friend.

Extra ram is carved out for (reserved) for gpu and dalvik vm. it's supposed to be like that
[HTC Sensation] johnkristian:
Hm. 1.5 seems to be drawing much more battery than 1.41r1
[HTC Sensation] chrispaw:
Maybe the mytouch4gslide kernel has ZSL secrets in it?
[HTC Sensation] Prophasis:
Seems fine for me so far, I'll report back later.

Thanks for updating by the way!
[HTC Sensation] Razpr:
Hey guys sorry for the newbie question but:

Can i flash your 1.5 kenel on my stock (but rooted and S-off) Sensation?

I have been using CM7 A10 with yours and faux's kernels but i got tired of the CM7 bug that drains battery so ive revered back to stock and i was wondering if its possible?

id be happy with a long lasting battery if i use stock and OC it to 1.5Ghz until CM7 battery issues are resolved..

also can your kernel be undervolted?

I tried installing it just now and i got some error.

It said status 7 assert failed for raw image write or something
[HTC Sensation] TheStigx:
So just flash the kernel? No wiping cache or anything :P?
[HTC Sensation] galaxys:
That's correct, but do a backup of course.
[HTC Sensation] pakraider:
I believe you need to have a deodexed ROM in order to flash a custom kernel.
[HTC Sensation] g1user101:
on senseay by cdtdroid. flashed camfix and then latest kernel 1.5.

camera freezes when trying to exit. and its not amaze cam. how to fix?
[HTC Sensation] miniterror:
Get logs and post them issieutracker so show can look what the problem is
[HTC Sensation] show-p1984:
Just clear app data from your cam app.
[HTC Sensation] g1user101:
omg. haha i should of checked xda before i went off and flashed stock kernel. ha ill flash back:)
[HTC Sensation] zimphishmonger:
Been running v1.5 on Bulletproof v14 (2.3.4 Sense 3.0) all day, -50mv, locked at 1.34Ghz. After several hours (of non-use), I noticed the phone was UNUSUALLY hot to the touch, Im talking 90-100 degrees F, I felt the heat THROUGH my holster...Ive never felt my sensation that hot before, ever. Not sure what was causing that, but I had no issues w/ the 1.45 beta. Anyone else?
[HTC Sensation] marcos600rr:
@show_p ive been using video caller id app from market and its freezen after the video plays its happening only with bricked on stock its not any sugestion? I really like the app and the bricked to.....1.5 its insane
[HTC Sensation] nrvnqsrxk:
Flashed 1.5 when it dropped, have yet to have that happen to me. I'll chime in if it does occur though.
[HTC Sensation] lainemac:
So is everything working?
[HTC Sensation] socioking:
WiFi calling drop
[HTC Sensation] show-p1984:
Except Cleancache. I am still trying to figure out why it works for some and doesn't for others =/

Wow, the information, the detail.

I will simply ignore that and wait for something way more detailed.
[HTC Sensation] Catpoule:
hi show,

do you release kernel with gpu 320 tonight ?? :p
[HTC Sensation] show-p1984:
Still trying to figure out whats up with cleancache =/
[HTC Sensation] rawrfische:
Haven't had that happen yet. Been on 1.5 since last night and my phone's been behaving as expected. Only issue I've had is the cleancache thing, but someone already reported it before I could stick it into issuetracker.

On P3D 8.2.1 (2.3.4 Sense 3.0) for what it's worth.
[HTC Sensation] Catpoule:
i can't report if i have cleancache problem ,don't know how to see that ... if someone teaches me, i can have a look et report to show ;)

i had problem when i flashed 1.5 , it was very laggy, but i solved it by removing system tuner ... but now i runs normally ,it is quite smooth ....

I don't have to report visible issues.
[HTC Sensation] the_scotsman:
I'm using IC 3.4.1 with stock 3.5 camera/gallery.

Should I flash the camera fix? I havent yet as I thought it was for the amaze camera only. Yet my phone always freezes when I open the camera app :confused:
[HTC Sensation] Catpoule:
yes i have to flash it ...
[HTC Sensation] noellenchris:
ur back, I was thinking to flash back to 3.4.1 again, anyhow, clear the cache on the camera app
[HTC Sensation] the_scotsman:
Thanks, I'll try flashing it :)

Just tried clearing the camera data. Now when I launch the camera app, it closes almost instantly back to the home screen...wtf :confused:
[HTC Sensation] Catpoule:
cam fix must be flash for the both cam .... if you use brickzd kernel ,camera will freeze if you don't flash camfix ,and after clear cache too.

i tried to use stock cam without flashing camfix and it got freezed :(

but work very well with camfix :D except burst mode
[HTC Sensation] the_scotsman:
Yep, thanks...just flashed the fix and it works now :)

I think show-p1984 needs to update his Google page to say that the fix is needed for both stock and amaze camera ;)
[HTC Sensation] mudhi:
Everything works well for v1.5 except camera burst mode, and one more thing is the stock GB235 kernel has 631Mb RAM while GB234 has only 561, 70Mb difference, I know I shouldn't ask, but that would be great if possible without the kernel source. :D
[HTC Sensation] show-p1984:
It would be really great if you could learn how to use the search function.
[HTC Sensation] rawrfische:
About three pages back.

:p
[HTC Sensation] theraver:
I flashed 1.5 and love it. the only thing is have is, when i receive a call, the phone is ringing, the bottom buttons are lit but i get a black screen. pressing power will end the call but still no screen. pressing it after the call is aborted gives back the screen. got this twice yesterday.
[HTC Sensation] pigbrother:
I got the first lock with 1.5.

Phone with 48% battery at midnight, in the morning was dead. I though it was run out of juice but after i take out the battery i saw it has 18% remaining.

InsertCoin 2.5.5-2, bricked kernel 1.5, SetCPU with max 1188MHz and ondemand.
[HTC Sensation] jjdoctor:
I had exactly same situation with bricked kernel 1.41r1...

I got low battery warning.. It was 11%.. In the mean time i went into 4ext recovery to quickly flash Stock rooted ROM ... in 4Ext recovery Barty indicator showed 52%... I thought it must have been misreading by recovery.

I flashed Stock rooted ROM and booted... On boot it was 49%... Again i thought it must have been misreading by newly flashed ROM ... But surprisingly my phone worked for another 6 hours of moderate use...:-S
[HTC Sensation] geoffcorey:
If your battery reading seems off, power down the phone, then power back on and the readings should be more "normal".
[HTC Sensation] bamserl:
i am using SENSEaY - XE35 v2.0.0 rom and flashed the new 1.5 kernel yesterday.

after that all 3d games (which worked perfectly before) stopped immediately after launching with FC.

any idea what the problem could be? in my opinion it is kernel related, because after i flashed back the 3.5 stock kernel all games worked like they did before i tried the bricked 1.5 kernel.
[HTC Sensation] q9650:
I dont know if it helps, but on my phone the cleancache doesn't work to...I get some lines with "0" on terminal when I dot cat sys/kernel/mm/cleancache/*

:)
[HTC Sensation] the_scotsman:
I spoke too soon. Again, with IC 3.4.1, stock camera and Bricked 1.5 with camera fix, the phone still freezes when I try to close the camera app.
[HTC Sensation] show-p1984:
Known.

Clear cam app data.
[HTC Sensation] ClydeB1:
Just checking, I see you have mentioned both the amaze and stock camera, you need to reflash the camera fix each time you change the camera app. Also have you tried clearing the camera cache and data in Settings?
[HTC Sensation] the_scotsman:
Ahhh....had already done that, but prior to flashing cam fix. Just did it again, and seems ok now, thanks :)
[HTC Sensation] dingolino:
Had it also yesterday - but not always - found no pattern yet

Best regards

dingolino
[HTC Sensation] Snah001:
here als show all 4 cleancache files "0".

I am stil on Leedroid 2.3.4. Rom
[HTC Sensation] TwelveSided:
On ARHD 3.6.4. Bricked v1.5. Phone froze after entering and exiting the stock camera. Doesn't happen all the time. Already tried clearing the data.
[HTC Sensation] Snah001:
@show,

now the source of XE is available are you planning to use it for further developement?
[HTC Sensation] arachnid1970:
Thanks again, show...thats the best kernel i've ever used since i have my device... never will understand why people hazard the consequences by flashing a cam with features they might use once a month ... stock cam is -imho- good enough, if i want to shoot only pictures i use a cam... but maybe one day there will be a cam with a phone function *lol* ... btw, dont wanna offend somebody, sorry if i did ;)
[HTC Sensation] chalie78910:
Bt bricked on alpha 10 with 1.5v
[HTC Sensation] ClydeB1:
Did you apply the camfix?
[HTC Sensation] TwelveSided:
Sorry, wasn't aware there is a cam fix for Sense 3.0 roms.
[HTC Sensation] mudhi:
On v1.5, it is working properly on both stock and amaze camera mod, the amaze camera mod v7 and v8 needs also the services.jar from IC ROM as well inorder to make the album to work properly, which is not included in the flashable zip. And so if frozen, it is the issue coming from other apk or framework or the media_profiles.xml has been set too high quality or bitrate.

One issue I found in the amaze camera's default auto mode didn't "Auto" select which mode. With the stock kernel, the auto mode can auto select which mode is suitable. Can this be fixed?
[HTC Sensation] ClydeB1:
Oops my bad, forgot ARHD 3.6.4 was Sense 3.0
[HTC Sensation] arachnid1970:
Sorry, i'm sure this was asked that before, but i cant find any post...can anybody can explain the function of the available shedulers to me? (noop, deadline and cfq)...thanks in advance...
[HTC Sensation] Ace42:
http://xdaforums.com/showpost.php?p=17131914&postcount=2
[HTC Sensation] sylaan:
Try getting back to the default of max 1.52Ghz and see if that helps.
[HTC Sensation] i900frenchaddict:
ARHD 3.6.4 (so Sense 3.0) with Bricked 1.5

=> No problem for me with the camera, I used it a lot yesterday evening, and had no freeze.

I had it with one of the test versions, if I'm right it was test#490 or 495

=> Battery life is very good (was bad with #490/495 then became good again with #505 and #509. And remains good with v1.5)

=> For me too, Clean cache doesn't work

Another excellent kernel you made here!
[HTC Sensation] guyd:
Same problem for me again

This started happening again to me also! When I first flashed v1.5 after I originally had the problem, it was fine. But after doing a bunch of testing to see if I could find any issues with the new release, the problem returned for me!

If I flash back to 1.45 Test #427, the problem is gone.

If I flash forward to 1.5 the problem is back.

During my initial testing of v1.5, I ran AnTuTu several times, I ran CF-Bench several times, I took about 20 pictures, recorded about 6 short movies, started and exited the camera and camcorder app several times, viewed pictures and played movies from the gallery, and I also played the movies from Dice Player all in an effort to see if I had any camera/camcorder issues with the new release. Everything worked fine! But now when I receive an incoming phone call while the phone is in standby, the screen will not awaken to allow me to press the answer button.

I wish I could get the screen to work again for incoming calls on v1.5, so I could take a more methodical approach to try and reproduce what caused this issue to happen to me, and now apparently you. When I first reported this on Test #509, nobody else could reproduce it so I thought it was a fluke. But now apparently not.
[HTC Sensation] fr0zenblood75:
I have a question ,does the Stock 3.5 camera work with this Kernel ? Like every feature ? or is this just like the amaze camera that ZSL doesnt work ?
[HTC Sensation] BigBoppa:
Stock cam 3.5 has the same limitations as Amaze cam.

Both need ZLS drivers.
[HTC Sensation] fr0zenblood75:
Ohh :/ thanks
[HTC Sensation] Billyvnilly:
Anyone experiencing Freeze with Bar Code Scanner apps?
[HTC Sensation] kajet915:
Not to be a bother but is there a CM7 compatible version of this kernel? If so where. I'm having a Bluetooth problem. It wont turn on at all, after flashing v1.5.
[HTC Sensation] dingolino:
Hi show,

sorry this was a misunderstanding than.

It is clear to me that you cannot run a single core app on 2 cores.

Because you have said earlier that running 1 cpu on 1 GHz is taking 4 times the energy than running the same cpu at 500 MHz. Than my conclusion was that is better to run 2 cpu´s at 500MHz which should give you the same calculating power compared to 1 cpu at 1 GHz but only 50% of the energy usage.

Again off course for a single core app this does not help much.

Therefore my question: Could the kernel "control" the amount of calculation power it is giving to 1 app/task?

Could I say I want to have the equivalent of up to 800MHz clock speed calculation power for a navigation software app and than limited it to that number?

At the moment my impression is that 1 app could get "unlimited" calculation power - until max speed of 1 cpu before the 2nd cpu is jumping in if additional calculation power is needed for a new task or a task which is requesting it than

If I am watching the clock speed within System tuner and I am doing nothing, just watching the screen. Than the clock speed stays a couple of seconds at 192MHz and is than jumping to max clock speed and returns back to 192MHz. But that moment I am doing nothing with the device, just looking at the screen, therefore I am wondering whether - for energy usage - there is a way to avoid those sudden jumps to max clock for tasks which are not UI and user feedback critical.

My thinking is: If 1 task is running for 1s at 1GHz it needs 100% of energy. If the same task is running at 500MHz 2s for getting the job done it needs 50% of the energy (25% because of running half of the clock speed but times 2 because running double the time I am ending up with 50%).

Again this is nothing for the user interface but for tasks which are not that time critical.

Would it makes sense to run the system on cpu0 and dedicate user app tasks to cpu1?

Maybe you can give it it try and tweak the setting that the 2nd cpu is jumping in earlier to see the effect on battery usage?

Best regards,

dingolino
[HTC Sensation] wifesabitch:
Guess I shouldn't have tested that out. haha

Phone just totally ****ed up, froze, then went to black screen. Had to take the battery out to get it going again.
[HTC Sensation] korand:
show-p1984, Android 2.3.5 with Sense 3.5 has very useful function in "Power options": "Sleep mode" - disabling data connection when screen is off by time settings. It's used to reduce power/data consumption overnight for example. Working good with stock kernel but don't works with your. Can you look at this issue? Thanks in advance!
[HTC Sensation] dingolino:
A barcode needs the camera so if you have the new sense version you need also the camera patch

Best regards

dingolino
[HTC Sensation] gvego:
Undervolting your Sensation

Is there a way to undervolt beneath 812.5 mV?

http://xdaforums.com/showthread.php?p=19080264#post19080264
[HTC Sensation] wifesabitch:
I don't have the new sense as far as I know. I ran the no sense script after putting on Pyramid 3D. Do I still have to run the camera patch?
[HTC Sensation] Billyvnilly:
I have the 1.4 patch, and still had freeze. Using Goggles, on IC 3.4.1
[HTC Sensation] undercover:
Show-p, could you have a look into XE source and try to work out why XE runs 1.5ghz naitively please? It's just bugging me that no one still knows why.
[HTC Sensation] inffy:
What you mean why? The reason is that the 1.5Ghz is the default for the CPU that Sensation and XE uses...HTC just UNDERclocked the normal Sensations CPU to run at 1.2GHz
[HTC Sensation] marcos600rr:
@show_p htc have release codes for XE and XL sources :)
[HTC Sensation] show-p1984:
If I can see any viable improvements in this source (which does not look like it till now) I will port those changes instead.

I never said that: "Because you have said earlier that running 1 cpu on 1 GHz is taking 4 times the energy than running the same cpu at 500 MHz. Than my conclusion was that is better to run 2 cpu´s at 500MHz which should give you the same calculating power compared to 1 cpu at 1 GHz but only 50% of the energy usage."

Load = Usage. Not clock rate.

ofc every task gets, if it is demanding it, as much available cpu time as possible, which reduces the jiffy-times and therefore let's ondemand ramp up.

Whatever you see in system tuner regarding the clock speed is not accurate. System Tuner only refreshes every second iirc. Our CPU is capable of changing it's clockspeed in 10µs. So if an app requires cpu time, and it is exceeding the capabilities of the current clock, it will ramp up to max as long as it is needed, and then down again. That is very efficient.

Limiting some apps to only a clock rate is not possible. That's not how it works.

However you could limit a vm of an app to a specified number of cpu time. But I doubt that this would work very good. Although I am not sure if this would even be applicable to the kernel, since zygote controls the vms (dalvik-zygote).

I can have a look into that, however this will not be my priority, so if it's a dealbreaker for you, revert to stock ;)

Yes it is. But I would need to adjust the kernel to allow that. However my tests have shown that 800mV is the minimum on most devices and I do not know if I should push it to that minimum or further. It is possible that this will only increase the number of issue reports because some ppl will just set it =/

Clear cam app data.

Try to work out?

Nobody knows that???

It's just set in the config with which it was build Oo. There is no secret to that.
[HTC Sensation] Lionhardt:
Will a 320mhz gpu version be out for 1.5?
[HTC Sensation] korand:
And where is this config located? Because when flashing full rom from XE or using it's kernel still getting 1.2 Ghz on our devices :)
[HTC Sensation] boulder_boy:
Hey Show

Firstly, MASSIVE THANKS for your hard work so far! Your kernels are amazing. I use to have v0.91 which was too smooooth to believe! will make beer contributions when i get paid :)

I flashed v1.5 couple days ago but it doesn't seem as smooth anymore :(

I had a fair bit of laggy-ness when using my phone :\ I noticed the same with v1.4r1. Sometimes its ok...but then it goes laggy again. most of the time this happens when I wake my phone up again

With all three kernels I used ARHD 3.6.3; used daemon controller that came with the ROM to set the clock speed - 1.72 ondemand. I could use system tuner but haven't seen the need so far.

I read post #2785 by ziggy1001 to flash stock kernel and go back to 1.5 again. reckon that'll help? or any other ideas would be great :)
[HTC Sensation] drms12:
My phone just reboot while it was screen off on the desk. ARHD 3.6.4 ROM, Sense 3.0, v1.5 kernel.

Last Kmsg :

http://pastebin.com/PNZySYQr
[HTC Sensation] undercover:
Thanks. That's exactly what I meant. Why does XE ROM runs at 1.5 on XE itself but at 1.2 on OG sensation.
[HTC Sensation] n4sa:
You can use Greenpower in the mean time. Works a treat!

https://market.android.com/details?id=org.gpo.greenpower&hl=en
[HTC Sensation] fxzy:
Although I used cam fix 1.4 but the camera sometimes hanged when I pressed back button to quit. Need to pull out the battery and reboot. Any fixs?
[HTC Sensation] n4sa:
There are 2 things you need to do after flashing kernel.

1) Apply Camfix

2) Clear cam app data

After I've done each of those I dont have any issues