yashsingh1/xdaforums huggingface dataset:
[HTC Amaze 4G] jordin1128:
Fcpelayo

No app, I believe, would he able to achieve this. This is all kernel controlled. With this, mpdecision and thermald get renamed to mpdecision_dis & thermald_dis and now its all up to the kernel. It is time consuming so a MOTIVATIONAL DONATION should help him port it over. It's more than just the port. Coding for low power or battery saving will more than likely have to be implemented but I have faith. Friday or Saturday I will buy you some beers Faux...much deserved even for your work on the Sensation kernel
[HTC Amaze 4G] fcpelayo:
I think your right lol all this reading confuses me. I thought I had seen that somewhere here but I think they are just profiles.

http://xdaforums.com/showthread.php?t=1018245&page=3
[HTC Amaze 4G] masondoctorjt:
This depends in the phone. Mine has always been set at 192, and I never get a black screen after phone calls.
[HTC Amaze 4G] thenikeman:
Nope, Tmobile here.
[HTC Amaze 4G] 2sh0rt:
Tmobile here as well!
[HTC Amaze 4G] jimczyz:
Try running it a second time, that seems to fix it for some people.
[HTC Amaze 4G] thenikeman:
Boom! Thanks, that did it :cool:
[HTC Amaze 4G] GSMachinst:
Will the flasher work for Mac?
[HTC Amaze 4G] xboarder56:
nope i dont have make to test it
[HTC Amaze 4G] Binary100100:
How many times do you need to reply to the same post???

How many times do you need to reply to the same post???

How many times do you need to reply to the same post???

How many times do you need to reply to the same post???
[HTC Amaze 4G] eliasadrian:
New kernel seems great so far. Back on the MT4G, Faux had options for various governors, is this expected to come or am I missing some crucial info? No rush or impatience, just wondering what's going on, thanks.
[HTC Amaze 4G] faux123:
The only governors work properly with aSMP processor such as this are:

Performance (of course duh..)

Ondemand and

Conservative

All other governors will cause issues having either 2nd CPU gets stuck at a weird freq or 2nd CPU not coming online at all..
[HTC Amaze 4G] recognize_atm:
Does this kernel work with the new version of quiksense?
[HTC Amaze 4G] thenikeman:
1st post, 1st sentence...

Yes.
[HTC Amaze 4G] 2sh0rt:
Tried installing it 3 more times... no differance. Still no wifi. :( any other suggestions before i revert back to stock?
[HTC Amaze 4G] eliasadrian:
The first couple times I tried I got permission denied error when it tried to push the modules before it booted into flashboot. I used a couple apps, like Root Explorer or Root Tools, to make sure my /system was set as r/w. I'm still new to this phone, but maybe try that?
[HTC Amaze 4G] GSMachinst:
Works im OC to 1.7 on performance gov.
[HTC Amaze 4G] germz1986:
Wifi MIA here as well.
[HTC Amaze 4G] GSMachinst:
Wifi is fine here did you flash twice?
[HTC Amaze 4G] faux123:
Version 006 is out!

Button LED back light current reduced. Also enabled LED button back light automatic brightness.

Enjoy!
[HTC Amaze 4G] Binary100100:
SWEET! You're awesome man! Thanks button punched!
[HTC Amaze 4G] mikaeldalc:
just installed 0.0.6 and i think the led backlights still need to be dimmed. Too much bleeding.. great update though. Htc is losing me with their latest product mistakes. Do they try their phone themselves before releasing them? I think not! Its sad that Devs have to come around and actually help sell their products for them, yet The companies dont want to release the full source codes.

Keep up the good work Faux
[HTC Amaze 4G] Binary100100:
Would it be possible to add BLN support like the Galaxy S devices?

IE backlights blink for a missed call, e-mail, sms, etc.
[HTC Amaze 4G] camapghe:
Guys, sorry for being a noob, but reading 3 most recent posts made me confused.

For short, I made 2 profile: SCREEN ON: 384-15120, ondemand; and SCREEN OFF 384-648, conservative; and I'm using stock HTC kernel. So far, 4 hours past and only 10% of battery went away. I had about 10 calls in & out, each not longer 2 mins, played Ski Safari for 10 mins, sent and received a few texts.

Let's see how long I can get then, in this simple way ...
[HTC Amaze 4G] faux123:
Profiles are bad... But if that's what you wanted to do then good luck
[HTC Amaze 4G] eggydrums:
Ohh really? Why is that? Would like to know lol thanks :D

Sent from my HTC_Amaze_4G using Xparent Green Tapatalk 2
[HTC Amaze 4G] fcpelayo:
Don't question the kernel master! Better yet the question is what should they be
[HTC Amaze 4G] eggydrums:
Lol well of course I respect the master, I just wanted to know haha

Sent from my HTC_Amaze_4G using Xparent Green Tapatalk 2
[HTC Amaze 4G] KnowledgeBroker:
If you get an app like cpuspy or looks at the times section of system tuner you can see how long your phone is using each speed of CPU - when your screen is off it SHOULD be in deep sleep, meaning it isn't using the CPU at all, otherwise background processes with screen off use the minimum processor speed all the time, unless you have some rogue app that is ACTUALLY doing something. If you add up all of the times for all the other processor speeds they will add up almost perfectly to the time your screen was on.

This is why profiles are not needed, it is how the kernel governor works.

Edit: btw, another amazing day of battery life, 15 hours on battery@54% still with moderate use. Using latest faux kernel and battery saving option of CPU editor. There is a TINY amount of lag when pulling up the app drawer, and it is a little slower scrolling home screens, but not enough difference to make over 200% increase in battery life not worthwhile.
[HTC Amaze 4G] fcpelayo:
Wish it was that easy, press power button phone is now in deep sleep. :/

I tried that but didnt really like although if it is that much increase I might deal with it. BUT it is a lot of lag for me, I play pandora or radio daily and text and anything that has to do with typing or swiping in words is slow. Maybe decrease lag by modifying what is being modified for that battery profile?
[HTC Amaze 4G] KnowledgeBroker:
You are more than welcome to edit the settings, if you choose battery saving profile, this is what it applies.. these can be pasted into the init file and then edited as you feel fit.

The only line that we don't really have included stock is " echo 1134000 > /sys/devices/system/cpu/cpufreq/ondemand/two_phase_freq" so if you set that to a higher clock speed, that will majorly increase performance at the cost of some battery. I'd have to do some research to be sure, but I think it treats that as a max frequency until whatever process requires a higher frequency, otherwise the other settings are the default thresh holds and whatnot.

Edit: sampling down factor is actually set to 5 on stock, but up and down sampling factor is what changes how it changes to different clock speeds.. raising the up sampling means that a process should require more processor before it give more, lowering the down sampling means it won't go to a lower speed until the process is done. My understanding is that the constant checking of changing clock speeds takes up more battery than staying at the same(in this case higher) speed until the process is completed.

Correct me if I'm wrong.

Edit: not sure if it is helpful, or what the differences are, but htc just released the source for a few more carriers..
[HTC Amaze 4G] eggydrums:
That's nice to hear, would be nice if someone could check those if they have what you guys need

Sent from my HTC_Amaze_4G using Xparent Green Tapatalk 2
[HTC Amaze 4G] G1Master:
What is everyones max cpu clocked at using the latest?

When I use system tuner to check on Times and CPU clock speed. Seems to only stick to 1.45ghz and 384mhz. No matter what I put them on after the phone goes to sleep it reverts back to 1.45ghz and 384mhz. Ive checked to see in the tweaks to keep cpu settings after reboot but still same results.

Example I set the max to 1.29ghz and min 384mhz phone goes to sleep it reverts back to 1.45ghz and 384mhz. Why is it not sticking?

Ive checked to see maybe its the NRG rom but in the init.d boot file it only shows min of 384000. Nothing about the max.

Ive also tried to see if it was only because "on demand" was on but even the other settings it still reverts back.
[HTC Amaze 4G] faux123:
blame m(ake)p(oor)decision.
[HTC Amaze 4G] G1Master:
Thanks faux123, hey not to be rude how come you did not answer my PM?

Thanks
[HTC Amaze 4G] faux123:
could be because my inbox is flooded!?!? but I answered your post didn't I?
[HTC Amaze 4G] G1Master:
Very true.
[HTC Amaze 4G] blast0id:
has anyone tested the patched version used in Navrasis' Virtuous OC Daemon edit for the Evo3D GSM?

I'm about to start some testing myself I'll let you know how it goes...
[HTC Amaze 4G] Sk8trfred:
I just checked and mine is where I left it 1.08
[HTC Amaze 4G] misfit61871:
Just checked mine and it's doing the same thing, I'll go check it after screen is off and it's maxed out, I usually keep it at 1.5.

Sent from the morgue.
[HTC Amaze 4G] pc2828:
Would you mind sharing your init file please? Thanks
[HTC Amaze 4G] fcpelayo:
Faux I noticed that other devs such as show-p, treve and others are also having the same problem but they patch it or mod mpdecision. Is that not possible with our phones?

I also noticed that at one point in the sensation you said su stop both mpdecision and thermald but then you updated and I didn't follow.

Another time stock seemed to be the best bet until there was a patch. Is this the same here now?

I found that late last night but had to go to bed since I wake at 5 hopefully I find it again or can you point me in that direction so I don't have to start over.
[HTC Amaze 4G] faux123:
Version 12 is out!

Enjoy!
[HTC Amaze 4G] krook6023:
Max freq is now sticking! Thanks!

On an different subject:

This sounds all too familiar for us Amaze owners....:eek:
[HTC Amaze 4G] faux123:
Typical HTC. Sigh....
[HTC Amaze 4G] masondoctorjt:
Nice. Speed of cpu1 can now be controlled... Thanks again
[HTC Amaze 4G] Sk8trfred:
How? I'm not seeing it on system tuner
[HTC Amaze 4G] KnowledgeBroker:
Find the script "CPU editor" in Xda. It creates an init.d script to control some settings for CPU, such as second core Max speed. If you want amazing battery you can choose battery saving profile, it creates tiny bit of lag, but I get almost q day and half of use on moderate use, and still 16 hours at the heaviest use I can pull off. I stopped carrying a spare battery altogether.
[HTC Amaze 4G] faux123:
15 to 18 is what I averaged...

The radio is a killer for Amaze... the "pseudo 4g" modem is the same as normal LTE modem (with LTE portion deactivated)... Even without LTE portion running, the radio DSP/Firmware combination seemed to draw quite a bit of power. I live and work in areas where it's3 bars max down to no bars at all... Poor reception just rape my battery... compared to my sensation using the normal HSPA-only modem, I can squeeze out 24~30 hours with the exact same usage patterns....
[HTC Amaze 4G] masondoctorjt:
You can't control them individually with system tuner, but when lowering the speed, or lowers both cores, before it only lowered cpu0, cpu1 still ran at full speed.

---------- Post added at 10:40 PM ---------- Previous post was at 10:37 PM ----------

For me, I live in very good coverage, and my amaze with stock battery has better battery life than my sensation with an anker battery. I've also put the anker in my amaze and had the same good results.
[HTC Amaze 4G] jsyi84:
Would this be the CPU Editor you speak of?

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

Stupid question but I'll assume the uninstaller is used to undo the cpu editor changes and remove it?
[HTC Amaze 4G] KnowledgeBroker:
Oh, I've learned about the drain of weak signal.. in Jacksonville the signal is amazing everywhere.. except where I just moved. I didn't know the lte portion was deactivated, that feaature was one of the ones that factored into choosing the amaze over the sensation. Hmm.

What phone is your daily driver these days anyhow? I'd think our kernel guru would be better informed than most of the pros and cons of current phones these days.

Oh, and I've posted previously about the files needed to control the second core independently.. your latest flash lets it be mirrored to whatever cpu0 is set at, but the frequency files for cpu2 still aren't three to set the second core. No big deal, I'll just under clock both a little to see how much extra time I can squeeze out of this battery.
[HTC Amaze 4G] derride8:
Do u have the second core online all the time, if so what do u have it set to?
[HTC Amaze 4G] faux123:
my daily is the amaze... I like this phone that's why there's rapid development for it...
[HTC Amaze 4G] fcpelayo:
I noticed that about the CPU but it is better now. And since your talking about signal, I have 3-full bars of signal and when I check battery stats one of the big ones is cell stand by. Then time without signal 100% of time and the time for it basically same as running time as phone been unplugged

Thank you faux I noticed you did stop mpdecision and thermald and also noticed other new stuff.
[HTC Amaze 4G] Sk8trfred:
I tried using the cpu mod but CPU1 keeps going back to 152000
[HTC Amaze 4G] jordin1128:
Man of my word!

This is for happy hour at the bar and motivation..

19348915FH8954907

Enjoy!
[HTC Amaze 4G] KnowledgeBroker:
No, I don't force 2nd cpu online, ICS seems to do a good job of managing the second core.. but evidently you can't control the speed of the second core independently without forcing it on all the time(if I read previous comments correctly).

I was wondering if that was the case. We do have some beast hardware.

Random fact. In the modified init.qcom.post_boot.sh of your latest you set our minimum clock speed to 192mhz, many people will have issues of the phone screen not coming on after a phone call unless it is set to 384mhz. This has been a confirmed issue in several roms that have lowered the minimum clock speed.

If anyone does have this issue, just edit(this file /system/etc/init.qcom.post_boot.sh) the minimum speed under the line "case "$target" in

"msm8660" | "msm8660_csfb")" from 192000 for both cores to 384000, save and reboot. I've confirmed this will fix the minimum speed(unless you have changed it with CPU app or CPU editor).

Also, since you are in weak signal areas too, you could try adding this line to the build.prop "ro.mot.eri.losalert.delay=1000", the number is the amount of milliseconds between when it scans for signal(if no signal it looks for 2g every second, if 2g it looks for 4g every second). I have mine set to 2000 right now(2 seconds), but I haven't used this tweak since gingerbread so I have no idea how much it will help. I am willing to bet that the sensation stock build.prop or rom that you were using had this tweak in it..

I remember reading a trick about turning on/off airplane mode three times in a row in order to reduce how much the system searches for signal.. but I never found anything to explain why. Better battery stats says the same thing for me, I have a feeling it isn't reading something right when it comes to signal use.. but then again, my signal IS that bad, so this is the first I've heard someone with decent signal having the issue.
[HTC Amaze 4G] fcpelayo:
Does anybody know what this means or does.

# fake some battery state

setprop status.battery.state Slow

setprop status.battery.level 5

setprop status.battery.level_raw 50

setprop status.battery.level_scale 9
[HTC Amaze 4G] G1Master:
Yea using cpu editor with the latest kernel, only thing sticking is the Min frequencies. CPU1 will change but reverts right back once exiting the script. Ive also noticed that even when enabling the ONDEMAND profiles its not saying its sticking "Choosing the #3 Profile Battery Saver" but with cpu spy I see that the 1134000 frequency is mostly used, the script is just not saying its sticking. Even when telling it to use the "Sticking Option."

Not even sure if I am making any sense.
[HTC Amaze 4G] KnowledgeBroker:
Min/max speed for cpu0 will work, and apparently if you force cpu1 on all the time you can control min/max speed of cpu1. The ondemand profiles should be working either way, you can see if they are applied by going to /data/cpu-editor.log where the end of the log file should show the time/date it last worked, which is last reboot.

It does NOT change the actual init.sh script, it is an init.d script that applies settings from multiple other files on boot complete.

The only way to see if cpu editor is applying the battery profile setting properly otherwise is to go to /system/etc/cpueconfig and seeing if profiles=3 is set. If it is, then it reads the settings from /system/xbin/profiles and applies them.

I am annoyed that forcing the second core on DOES allow control of the second core speeds.. the files in /sys/devices/system/cpu1/cpufreq ONLY appear if the second core is forced on all the time, otherwise as soon as force second core is disabled, all of the required files disappear and it just mirrors cpu0... sigh.
[HTC Amaze 4G] G1Master:
Now I don't think the script is even working. After a reboot it reverts back. Also I think its crashing. I've uninstalled the script twice and applied it twice after installing the kernel. I run the script it seems to work but saying cpu 0 online and CPU 1 offline. Reboot run the script it says both online try to mess with settings of CPU 1 script crashes.

Make any sense?
[HTC Amaze 4G] misfit61871:
Ya, I had issues when I installed that script too. My phone kept randomly rebooting and I only made minimal changes. I'm back on system tuner And I get a full day of use so that's good for me, I'm not obsessed with which core is on or not, the OS seems to handle the second core just fine and that's good enough for me.

When I was on the G2 I used mexdroidmod and it had a built in script similar to CPU editor, but it also had sd tweaks and you could adjust voltages. It was a kick ass script, called tweaker the dev's name is waydownsouth. I'm gonna pm him see if he can port it.

Sent from the morgue.
[HTC Amaze 4G] laggo:
What version of the script are you using? I had nothing but issues with the quad core beta version. I went back to the RLS4 dual core version and its been working great!

If you apply a profile it seems to overwrite any other min/max setting you set after the next reboot. Also still no CPU1 control without forcing it online.
[HTC Amaze 4G] KnowledgeBroker:
Yea, I thought I was obvious not to use the quad core script.. I've checked every bit of the normal dual core script, it is rather simple to figure out.. it simply cannot cause issues or rebooted unless you change to a CPU speed that isn't supported or set it FAR too low.. unzip it and open the files in a text editor, you may learn a little something, but you can easily see it cannot cause issues.
[HTC Amaze 4G] misfit61871:
You can say it simply cannot cause issues, but it did. I'm not new to this stuff and I KNOW I didn't have it set too low, all I did was enable the script set the min/max speeds and set the gov, then sticky mode, after that I got random reboots when I was having no issues prior to installing the script. And the OP for CPU editor states "First off this works for ALL devices single/dual, and quad core !!"

Plus I'm using faux's latest kernel just like you guys so I know the CPU speeds are supported.
[HTC Amaze 4G] G1Master:
+1 On this statement. I checked the OP as well it says that. But ill still try the other releases and ya'lls suggestion.

Edit:

Is it necessary to have a different HBOOT? Mines still set on the ICS Hboot. 1.93.0002. Never did the ENG Boot or OP of the S-Off Hboot.
[HTC Amaze 4G] fcpelayo:
I am going to have to agree with misfit on this one. When I realized how cpu1 works and sbd confirming cpu1 only controllable when both cores are forced online and experimenting with it off, I am experiencing way better results by letting the os handle. At least until that is fixed I think were better off leaving it as is.

On another note is this any useful maybe/not but I am learning?

http://xdaforums.com/showpost.php?p=17456447&postcount=7630

http://xdaforums.com/showthread.php?t=1233103
[HTC Amaze 4G] G1Master:
I still cant manage good battery life with this phone. Battery may be shot. I dont over charge it as in leave it charging over night. I only manage to get 8 hours if that. Not trying to thread jack. But since we talk about battery life a lot.

I Have:

Hboot 1.93.0002

NRG Themed Aug 6

Faux123 v12 Kernel (not the hybrid that I made either, though Im not even sure works) Still no working wifi with my router with this kernel all other routers work and hotspots.

CPU Editor Set to Battery Saver Profile. NO forced dual core either. Sticky Mode. Max is at the profile setting of 1.13ghz. Min 384mhz.

Data off and Wifi off (obviously.) Brightness set to 10% if that. Just enough to be able to read in the sun.

Syncs all off. NO Widgets of any Kind. All Windows are empty.

I know the phone is going to deep sleep. Verfied with CPU SPY and deep sleep is the mostly used through out my day.

Any Suggestions? May need a new battery since the phone was used. When I got it.
[HTC Amaze 4G] faux123:
I kept saying to people to NOT use profiles of any sort. Profiles hurts more than it helps. I don't use any profiles at all and I am about to squeeze out 15~18 hours with crappy 0~3 bars max.
[HTC Amaze 4G] faux123:
Tip:

to set cpu core speeds in a mpdecision system:

su
stop mpdecision
stop thermald
echo xxx > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1 > /sys/devices/system/cpu/cpu1/online
echo xxx > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
start mpdecsion
start thermald

Enjoy!
[HTC Amaze 4G] eggydrums:
Faux I wanted to ask you why profiles are bad;

Sent from my HTC_Amaze_4G using Xparent Green Tapatalk 2
[HTC Amaze 4G] fcpelayo:
I think this is what I've been looking for! This also looks alot like from the link I posted. I just wasnt sure. Thank you.
[HTC Amaze 4G] shekki:
I'm curious about it as well. But for now I'm going to take faux's word and try to see how much battery life I can get without the profiles.
[HTC Amaze 4G] fcpelayo:
I think not sure as I'm still learning correct me if I'm wrong,

This kernel on "on demand" basically already has its own profiles. What ever faux did and the os (ics) is its own profile, and setting other profiles will just interfere with said set up. It might work might not there's too much tweaking. You would have to know exactly what your doing to make other profiles work stable...

This is my own conclusion
[HTC Amaze 4G] G1Master:
OK ill try without it.

Thanks
[HTC Amaze 4G] eggydrums:
Makes sense! Thanks for anwers :) btw does v012 have any problems, apart from bt, I don't use it anyway

Sent from my HTC_Amaze_4G using Xparent Green Tapatalk 2
[HTC Amaze 4G] G1Master:
Faux how can I combine the WiFi modules from v8 to v12. Thanks

Also what do you have your max and min at?
[HTC Amaze 4G] KnowledgeBroker:
The profile "on screen off" is pointless as on screen off it is in deep sleep, or if an app is allowed to wake the phone it will run at the minimum speed anyways. The only other possible useful profile is when the battery gets low, you under clock.. I don't think it is useful enough to have setcpu constantly running.

As far as your earlier comment about your battery being shot: if you truly turned off that much and you are still having battery life issues, yes, likely your battery is shot. Go on amazon and order 2 1900mah batteries with an external charger(all for $30) and never worry about battery life again.

If somehow you still have issues, which I doubt you will, it says something else is wrong with your amaze.. but I doubt it.
[HTC Amaze 4G] aj_2423:
Surprise! V.13 is out!!

Link to all downloads

http://faux.androidro.ms/

Direct dl link to v13

http://faux.androidro.ms/ruby-faux123-kernel-v013.zip

sent from my NRGized Amaze,

powered by faux kernel v.13
[HTC Amaze 4G] KnowledgeBroker:
Considering both his download links are for 12 and the changelog still shows up to 12, I'm curious where you found the link.. or if you manually typed it in like a super-stalker.