yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] totalundone:
Hey, just flashed stock kernel ARHD 6.6 and then installed b7... so far it's good.

One question, I've noticed that it never hits 192 mhz, 384 is always the lowest it goes before deep sleep. Do I need to use something like setcpu in order to select 192?

Thanks
[HTC Sensation] show-p1984:
if you flashed it with "minkhz=192000" in the zips name then it is probably overwritten by something rom side. An oc app or sth. If I remember correctly ARHD uses an OC Daemon? Maybe it's that. Or some init.d scripts.
[HTC Sensation] q9650:
Same here show, says 384000 in scaling_min_freq in sys/devices/system/cpu/cpu0/cpufreq...

Cant find the ocdaemon :l i checked the inits: zipalign, complete, zram, calibration.
[HTC Sensation] totalundone:
Ok, if anyone else is on ARHD... here's what you need to do

edit "init.post_boot.sh" under "system/etc"

you'll seee 384000 twice, change that to 192000, twice

it'll be above mike1986's comment about faux kernel modifications.

Save it, reboot

I'm getting 192 mhz now :D
[HTC Sensation] gen129:
/system/etc/init.post_boot.sh

Sent from HTC Sensation ARHD 6.5.5
[HTC Sensation] show-p1984:
Very strange that he renamed the stock file init.qcom.post_boot.sh to init.post_boot.sh... So that is why my changes won't stick on ARHD...

Well it's more work for the user in the end.

Btw: deleting that file and renaming my init.qcom.post_boot.sh (which was installed during the kernel flash) to init.post_boot.sh should do the trick too.
[HTC Sensation] zimphishmonger:
HAHA, love how TONS of people keep calling ARHD "close to stock". Its not, as it uses tweaks\hacks like above. Also, including supercharger is def not "stock". Just mentioning as a lot of people seem to assume its close to "stock" and blame ROM issues on kernels.
[HTC Sensation] MuertoKo:
Yep that's a good to know for ARHD userd like me... didn't know supercharger came wit ARHD :S

There's any way I can turn this Off so it doesn't reboot my Sensation every time I full load it? U_U Just going to flash 6.6.0 and then beta7... anything I should know before? (Apart from te problem on init, but I can use System tuner to set max-min so that's not a big deal :) )
[HTC Sensation] str8blackk:
how do i flash the stock kernel?
[HTC Sensation] lampshade90:
supercharger tweaks is a option when you install ARHD it doesnt came with the ROM but you can choose it, to install ;)

sorry for offtopic but this isnt true

choose stock and install it like you installed bricked? its on the first page dude second post ;) and flash it via recovery
[HTC Sensation] MuertoKo:
The option which is given is to install a Supercharger tool to keep Launcher in RAM, not the supercharger that show-p metioned here some posts before I think, because I allways say NO to install that supercharger thing as I use another launcher... Maybe I chose badly last time but I will re-flash rom just to check ;)

EDIT: Reinstalled ARHD from 0, selected NO on every option... here is my last_kmsg from one minute ago when I plugged my charger:

[ 257.414794] [BATT][tps65200] Switch charger ON (FAST): regh 0x01=29, regh 0x00=2a, regh 0x03=83, regh 0x02=a3

[ 257.415222] [BATT] ioctl: battery level update: 29 at 257318585450 (2012-04-03 21:09:19.864154170 UTC)

So it's actually installying Supercharger FAST by default with the ROM ;)

In this case we should just take care on not having it plugged while at 100% isn't it show-p? As I see o way to change this to SLOW actually...
[HTC Sensation] mehr1369:
what is your rom sir ?
[HTC Sensation] str8blackk:
but thats not a zip file
[HTC Sensation] smint86:
Maybe you use your brain then. Or head over to the wonderful Q&A section of this forum.

Swyped from my HTC Sensation using Tapatalk
[HTC Sensation] jafazec:
Hi all!Installed b7,the file that show-p posted(non gpu oc version),and it all seems good for now.But I'm a bit confused with one thing..When I open System tuner,cpu0 is always @1566mhz while cpu1 is offline most of the time?!I did antutu benchmarkand got the score of 6400..I'm leaving a screenshot,so that someone could tell me if everything is as it should be;-) I'm on MIUI V4...
[HTC Sensation] zimphishmonger:
PS SuperCharger has NOTHING to do with charging your phone. The dev of the script likes to make everything sound nice and sophisticated, such as V6 SuperCharger for a script :P
[HTC Sensation] HunnyBearLewis:
If not on ARHD but still seeing init.post_boot.sh along with init.qcom.post_boot.sh should I just delete the former?
[HTC Sensation] lightninbug:
Show-p, ya see this from Chad about including beats drivers in your kernel?
[HTC Sensation] Pens and DreamS:
If show agreed to this it would be truly awesome. More to power this already amazing kernel.
[HTC Sensation] remus82:
Chad is such a goodman :p

Sent from my Sensation running Hypernonsense
[HTC Sensation] zimphishmonger:
Would love thos but to those that dont know, Chad's under NDA regarding the beats drivers, so show's code wont be completely open anymore. Not sure if he will agree with that, but if you want true kernel-implemented beats....thats the only way
[HTC Sensation] faux123:
Why not implement it as kernel module? If he were to share the code with me, I can help him implement it as kernel module so it won't violate any GPL or NDA. This is why Linux have this provision built-in regarding proprietary drivers in kernels.
[HTC Sensation] namila007:
im going to try this kernel. now im in flaux kerbel. but it drain too much of batyery when i connected to wifi . But it wouldnt happend in htckernel :/
[HTC Sensation] show-p1984:
That actually looks okay.

You got only 29% battery ;)

I don't know every unnecessary mod out there, but I know that there is a "fast charger" mod. I just assumed it's this supercharger thingy.

My bad.

Looks ok. Depending on your rom you can get up to 6900 points with default settings.

To be safe just rename init.post_boot.sh to init.post_boot.sh_origrom instead of deleting it. If sth goes south you still can restore it that way.

Nope I have not seen this. But my question to this: If he adds this to one of our sources, and we would use it, than we (ok at least me) would put that up on our github. That way anybody could use it in the end ;) I don't quite understand how that should work that only one dev gets the access to it this way? ^^

I would even be reluctant to provide a kernel module for my kernel that is closed source. I don't know if I could be persuaded to do that.

Every kernel dev started with free and open source. Source that helped a lot of ppl teach stuff themselves they would have never learned in 20 years of any class they could have possibly took. Source that is bound to be free to teach and to profit from anyone's accomplishments. Source that evolves the way it does because it is free. Source that simply has to be free to work.

Under this arguments I would rather not include a closed source beats module. Chad is ofc free to provide modules for my kernels magic version, but since it changes with every build I guess he will soon stop building them.

###

Edit:

btw:

https://twitter.com/#!/showp1984/status/187413169168330754
[HTC Sensation] namila007:
anyone can me help with this issue :(

""

I got a issue .when i charge the phone i just noticed that after reaching 80% the charging graph got curved :/ so i check this with current widget . I founded that after 78-80% the charging ampere drops to 30-70mA from 800mA

check this graph.. what is wrong with my phone? is it with kernel or battery :?????

""
[HTC Sensation] show-p1984:
Nothing is wrong. It does this to protect your battery.

Fast charging when you are low on juice and slower if you get closer to 100%.
[HTC Sensation] namila007:
ah.. thankyou. i thought its with this kernel .. ;)
[HTC Sensation] Catpoule:
+1 it seems to be okay.it works fine. :)
[HTC Sensation] GabrielSousa:
+1

Great work
[HTC Sensation] raybez:
Not to be too pedantic, but according to the GPL 2 under which the Linux kernel is released:

So yes, even though its free, even though he's not HTC or Samsung, he's still obligated to release the code.

Just wanted to clear the record about what the rules are for Linux kernel source. Whatever rules or conventions XDA has don't apply there.

</pedantic>

That said, no one's ever implied that changes to source have to be released IMMEDIATELY after someone's requested it. Developers are given a grace period to formalize changes and etc. One week is rather ambitious, in my experience - show-p should wait until he's comfortable with whatever fixes he's made, when he knows they're good and ready.
[HTC Sensation] marcos600rr:
@show-p after a few hours of testing the beta got to say is smother but got 2reboots when the phones was resting but nothing else everything else is just fine hd movies play games and everything else working great
[HTC Sensation] NYCguy2020:
+1

Got a couple of random reboots while downloading a small file.I don't have any OC apps or anything.Back to V0.7 untill we get a stable release.keep up the good work.
[HTC Sensation] marcos600rr:
+1

No oc apps neither
[HTC Sensation] show-p1984:
It's a glitch in the deep sleep mode from the kgsl driver for our Adreno220. Will fix that asap.
[HTC Sensation] EddyOS:
Twice this morning my phone has reset when screen is off, using 0.8

Will give 0.854 a blast and see how it goes
[HTC Sensation] KennyDumah:
Give it a shot.

The new beta is a lot better.

Had no restart with the beta #4 :)
[HTC Sensation] EddyOS:
Seems OK so far, only noticed the reboots the last day or so
[HTC Sensation] _fmp_:
Had the same problem. I update to the 0.854 and have not had a problem yet so just go for it ;)
[HTC Sensation] theviruz:
* Upcoming: CM7 compatible version

nice can't wait so long :)
[HTC Sensation] B-Man2005:
hi guys ... maybe you could help me or us ...

some guys and me experience strange behavior with the new xe roms.

first i thought it was the faux kernel but now i tried bricked and its the same.

i get only single core scores in linpack and cf benchmark ... as if cpu1 is shut down..

when i ran fauxclock for example and direct after that linpack i got normal dualcore score maybe 90. but after a few seconds i get only 40 or 50 ... and then it stays like that ...

does anyone know why that is or could help us ?
[HTC Sensation] show-p1984:
Stay tuned, if all works out this afternoon comes 0.859 beta and then shortly after 0.9.

delete /system/etc/init.post_boot.sh -> reboot -> profit.
[HTC Sensation] EddyOS:
What does that file do normally? I take it's safe to remove?
[HTC Sensation] B-Man2005:
oh ... this looks like an important script ! what will happen when i delete it ...

is it faulty ?
[HTC Sensation] EddyOS:
I've deleted it and just running CF-Bench now - phone works without it

EDIT: Not the best results, 2nd behind the SGS2
[HTC Sensation] show-p1984:
look in it.

It sets some CPU values that differ from the kernels default values. Those might be responsible for all kind of errors. if you don't want to delete it, just rename it. If you experience any errors (which shouldn't be the case) just restore it's name.
[HTC Sensation] noellenchris:
the code is already in the kernel, and the one your going to delete doesn't get along with the kernel code, causing battery drain and not very good cpu switching...

noellenchris
[HTC Sensation] Scoop24:
Beta #4 gave me 2 black screens in less than a hour. forcing me to pull battery and reboot. Reverted back to 0.7
[HTC Sensation] Sebby:
wierd:confused::confused:

i changed the zip to this

Bricked-3.0-v0.55-b7-ics-maxkhz=1512000-minkhz=384000-gov=ondemand-maxscroff=384000

but i still get 1566000 and 192000

flashed three times

changed the file with root explorer with the right permissions

and still the same 1566000 and 192000

never flashed faux kernel always bricked kernel

sense 4.0
[HTC Sensation] show-p1984:
reboot your phone, as soon as you see your bootanim do this:

adb shell cat /proc/kmsg > /sdcard/kmsg.log

let it run until you are booted up.

Cancel it (STRG+C) and give me that file.
[HTC Sensation] Sebby:
oke i do that

i tryed a other thing

flashed the original boot.img from ordroid

flashed the 1.40 from sebastianFM

reboot changed the file with root explorer and now it sticks

oke flash back to your kernel

and do the adb shell

---------- Post added at 09:51 AM ---------- Previous post was at 09:30 AM ----------

dont work

adb shell cat /proc/kmsg > /sdcard/kmsg.log

i can do adb shell

root&android:/#

and if the phone is booted

i can do cat /proc/kmsg > /sdcard/kmsg.log

but if i do that in the boot animation

system read only

this is the file when the phone is booted
[HTC Sensation] smint86:
Try the following (I assume adb is working and configured properly):

abd shell cat /proc/kmsg > C:\where\you\want\it\kmsg.log

That should work while booting, start as soon as bootsplash is gone.

Swyped from my HTC Sensation using Tapatalk
[HTC Sensation] Sebby:
dont work

/system/bin/sh: cannot create c:kmsg.log: read-omly file system

you now this rom has Remove Debugging Info

it works only if the rom is booted up

and this is sense 4.0 with Remove Debugging Info from ordroid
[HTC Sensation] show-p1984:
My fault, if you use adb shell to cat sth it expects a local Dir, C:\ for example.

But you got it either way ;)

your cmdline:

maxkhz=1566000 minkhz=192000 gov=ondemand maxscroff=432000

what the kernel parsed out of that:

{...}
<6>[ 0.000000] [cmdline_khz_max]: maxkhz='1566000'
<6>[ 0.000000] [cmdline_khz_min]: minkhz='192000'
<6>[ 0.000000] [cmdline_gov]: Governor will be set to 'ondemand'
<6>[ 0.000000] [cmdline_maxscroff]: maxscroff='432000'
{...}
<6>[ 2.005950] [cmdline_gov]: Governor set to 'ondemand'
<6>[ 2.006195] [cmdline_gov]: Governor set to 'ondemand'
{...}
<6>[ 51.368530] [cmdline_maxscroff]: Limited freq to '432000'
{...}
<6>[ 51.976196] [cmdline_maxscroff]: Unlocking freq to '1566000'
{...}

So you either did not rename the file and flashed it, or you flashed the wrong file ;)

All seems to be working perfectly ;)
[HTC Sensation] Sebby:
no look a view post back i flashed this

Bricked-3.0-v0.55-b7-ics-maxkhz=1512000-minkhz=384000-gov=ondemand-maxscroff=384000

it always go back to this

maxkhz=1566000 minkhz=192000 gov=ondemand maxscroff=432000

but it must be this cmdline

maxkhz=1512000-minkhz=384000-gov=ondemand-maxscroff=384000

and every time i flash that kernel it is also stuck at boot

i must alwas flash the stock boot.img

and then flash your b7 kernel and this is only with the b7 kernel

so i think you did something really wierd with the b7 kernel
[HTC Sensation] show-p1984:
I think I did nothing weird.

I think some users just don't read instructions and start renaming and flashing like crazy.

I just did you a favor, I downloaded the b7 kernel, non gpuoc because you wrote you used that. I renamed it to this:

Bricked-3.0-v0.55-b7-ics-maxkhz=1512000-minkhz=384000-gov=ondemand-maxscroff=384000.zip

and after flashing this modified zip, this is what my kmsg says:

{...}
<5>[ 0.000000] Kernel command line: {...} maxkhz=1512000 minkhz=384000 gov=ondemand maxscroff=384000
{...}
<6>[ 0.000000] [cmdline_khz_max]: maxkhz='1512000'
<6>[ 0.000000] [cmdline_khz_min]: minkhz='384000'
<6>[ 0.000000] [cmdline_gov]: Governor will be set to 'ondemand'
<6>[ 0.000000] [cmdline_maxscroff]: maxscroff='384000'
{...}
<6>[ 1.999511] [cmdline_gov]: Governor set to 'ondemand'
<6>[ 1.999694] [cmdline_gov]: Governor set to 'ondemand'
{...}
<6>[ 120.122558] [cmdline_maxscroff]: Limited freq to '384000'
{...}
<6>[ 161.328308] [cmdline_maxscroff]: Unlocking freq to '1512000'
{...}

Works perfectly.

pebcak.
[HTC Sensation] Sebby:
thanks for trying

oke i download it again..

and changed it

and flash again

we will see what happens

nope still no go still the old settings

so you tell me now what that can be

why it is working if i flash sebastianfm kernel and changed the file to my settings

and reboot and it works

so now i flash the b6 back see what happens

and the wierd thing is now

if i flash the b6 back it stuck at boot

so i must restore stock boot.img

and then flash b6

that i find also a little bit wierd

i flashed a lot of kernels

on the sensation and desire

but this is the first time this happend to me

oke phone is booted up with my settings and b6 kernel

and now they stick

SO YOU TELL ME WHY B7 NOT IS WORKING HERE

AND B6 IS WORKING
[HTC Sensation] smint86:
It didn't work, because you didn't read properly. You forgot the "\" after "c:" so adb didn't recognize it as a path on your local machine.

I bet you typed "adb shell cat /proc/kmsg > c:kmsg.log" but it should have been "adb shell cat /proc/kmsg > c:\kmsg.log". Also, if you're on Windows 7, you have to open the cmd window with administrative rights in order to be abled to write to "C:\".

Swyped from my HTC Sensation using Tapatalk
[HTC Sensation] Sebby:
no i typed it right

administrative rights but i think i forgot this

thatnks mate i forgot administrative rights

but anyway b7 is not working with me and b6 works

but when i switch between does two i got stuck at boot
[HTC Sensation] show-p1984:
Furthermore it is impossible that it works with SebsatianFM's kernel because he does not use my cmdline scripts or kernel edits. (kernel source for that is not on github, I am still ironing out some details and I am including a kconfig on/off switch.)

In general I don't respond well to getting screamed at. So either you calm down and behave like a human being with a slight quantum of intelligence and good behavior or you get the **** out to one if the other kernel threads here.

I help, a lot, in this thread to which I am not obligated to because this is not Q&A, this is a development thread. I even answer questions in this thread on a chat basis and even questions that can be answered by just reading the instructions and the first and second post get a short answer from me where to find the information, but you just crossed the line.
[HTC Sensation] gen129:
sebastiaan15,

I think you have two differently named Bricked-...-b7-... files, so it is impossible to determine which one is flashing.

Sent from HTC Sensation ARHD 6.6.0
[HTC Sensation] Sebby:
men whats your problem

i am not writing the big letters because i am screaming no really not

i only trying to help

and what works and what not

i am calm

i like your kernel

and all your hard work and help...

and for the sebastianfm kernel i only say it works if i install his kernel

and change the file

so relax and take a beer from me

0W462165G15031826

---------- Post added at 11:55 AM ---------- Previous post was at 11:53 AM ----------

no i downloaded and flashed this one

Bricked-3.0-v0.55-b7-ics-maxkhz=1512000-minkhz=384000-gov=ondemand-maxscroff=384000.zip
[HTC Sensation] DeadMan2k:
2show-p1984 how i can change maxscroff value without reflashing you kernel and using third party programs ?
[HTC Sensation] show-p1984:
I have no problem, your attitude in that post implied screaming at the end. I think I am not the only one who figured this. However...

Thank you for your donation.

I am now writing this once, only once.

It is not possible that changing the filename of SebastianFM's kernel actually changes the clockspeed/governor/screenoff frequency of his kernel.

He does neither use the script inside the zip to read it out and alter the kernels cmdline, nor does he use the kernel edits that parse the command line and set the options. It's impossible that it works.

My suggestion for you:

Read the beta 7 post again.

Read the 3 linked posts in the beta7 post too.

Remove all zips from Bricked you can find on your sdcard. ALL of them.

Search with your explorer (Search for: *.zip) if there are really no more on that card

Download a new and fresh copy.

rename it under the guidelines you read with step 1 and 2.

push it onto your sdcard.

boot into your bootloader.

flash the stockkernel from the 2nd post of this thread (at the bottom) via fastboot (fastboot flash boot C:\wherever\you\put\the\file\from\the\2nd\post\boot-ics.unsecured-stockkernel.img)

boot into recovery

flash bricked (your edited file)

enjoy.

This

will

work.

I just flashed between every version I have of bricked-3.0. Back and forth. There is no problem.

I don't know what you have done wrong before, but since it works for everyone else it had to be your fault.
[HTC Sensation] jafazec:
Show-p,man,sorry if this has been answered,but,is it possible that in some other future release you would include the possibility for us to manually set gpu oc through filename?:-)It would be awesome,cause I beleive that there are ppl like me that would like to oc manually but not at your values:-)I personally would lower it a bit;-) Is thia possible at all?
[HTC Sensation] q9650:
Can you tell me what the rights are to set for your init.post_boot.sh? Messed them somehow :P thx

Edit: tried voltage controll (app) but seems doesnt work with your awesome kernel :c cant set any voltages or freqs :s
[HTC Sensation] arifqur:
Actually I was also having the same problem since the zip naming convention started but having seen your anger management issues I was seriously afraid to ask and get cursed on.

You are a great developer and your kernels are among the best and you are a gift by the God to this humble community of ignorant s, but try to be gentle with your fans and followers.
[HTC Sensation] Jonny:
@Sebastian15 try flashing stock kernel then b7 again
[HTC Sensation] biojo:
has any one else noticed with this new b7, when the phones not been used the screen suddenly turns on every so often?
[HTC Sensation] df1ech:
+1 I was already cleaningup my init files and deinstalling each programm to find the cause but no luck :(
[HTC Sensation] show-p1984:
At the moment I do not plan to implant that. Setting gpu frequencies is more complicated than setting cpu frequencies.

However, 0.6 will offer something that you will like I think ;)

755

I can control voltages and frequencies with system tuner.

I have no anger management issues. I just don't like being ignored if someone asks for something. Btw I stayed calm, I just grew frustrated which has to be understandable.

I have not yet noticed that. Care to give me any more information? rom? sense? logs? kernels uname?
[HTC Sensation] namila007:
lol.. now my battery charging with nearly 500mA after 75% :p
[HTC Sensation] biojo:
Sorry its ARHD 6.6.0, Kernal is

Bricked-3.0-v0.55-b7-ics-maxkhz=1566000-minkhz=192000-gov=ondemand-maxscroff=384000

I didnt notice it on b6 as phone always on desk, its noticable that it turns screen on then off

thanks in advance rest works fine
[HTC Sensation] q9650:
Do you remember the alogcat I posted a while ago about the error showing up? this error shows up right after the screen goes on when it was off! dont know if this helps:
[HTC Sensation] Sebby:
yes i saw that to when i compile the boot.img to from ordroid

so what can we do about it mate;)

i pm ordroid to but he dont use android kitchen to build the boot.img thats why it 16mb

maybe thats the problem

i also notice something else

stuck at boot stays (whe must figure out what it can be)

but if i remove all bricked kernel (what you say before)

and put only one on the sdcard then the freq stick

but before that i flashed the original boot.img from ordroid

so that one is fixed:D

so if i was you i put that on the first post
[HTC Sensation] zimphishmonger:
No worries, wouldn't expect anyone to know all the mods. Supercharger v6 I'd an optimization script which essentially hides launcher w the android system process, making it less likely to be killed but it causes numerous other unintended issues that can disguise themselves as kernel issues.

I. Highly recommend against using supercharger if u are kernel testing. It WILL screw with your results

Same with arhd, it's just a stock ish build w the a bunch of different mods, scripts thrown together. It's a mess of a build for true testing. It's seems arhd users have significantly more issues than other builds, due to the init changes (completely unnecessary, and it's causing issues when switching kernels besides faux) , v6 supercharger script partially built in. Just my opinion, but insertcoin, leedroid, rcmix users seem to have a lot less problems.

Sent from my HTC Sensation 4G XE with Beats Audio