yashsingh1/xdaforums huggingface dataset:
[HTC Amaze 4G] lolocabra:
i cant find the smartass v2 governor on my list why???
[HTC Amaze 4G] fcpelayo:
It's not available. Stick with on demand
[HTC Amaze 4G] crazypotato:
Seriously! Wifi sucks. Airdroid upload can only do 12mbps max. It is on Wifi N. Why HTC puts a Wifi N hardware there? Gee!
[HTC Amaze 4G] faux123:
Thank you, much appreciated! :highfive:
[HTC Amaze 4G] fcpelayo:
Confirmation number:	5LV795203G451674Y

faux this first time I donate. hope you received it not sure how long it takes. This was an over due one from me to you.

So im happy that you've continued to support this device and continously update to latest linux release although my question is what is the purpose of staying up to the latest and greatest release? I've encountered battery drain from 17+ and been trying to figure it out but cant though still using 18 for more testing. Im not complaining since Im next to a charger but i will agree with all others. Kernel wakelocks maybe?

Anyways, wouldnt it be better to improve on say a more stable kernel and add like smartass governor tweak the **** out of it or something along those lines?

Thank You,

Floyd P.
[HTC Amaze 4G] jordin1128:
Intellidemand from the Sensation kernel!!!

I'm telling you that its a problem!!!
[HTC Amaze 4G] realitysconcierge:
Alright so, I too have been noticing excessive battery drain with the latest updates to the kernel and as per noted earlier I picked up BBS to try and figure out what's going on exactly. In two days of data my amaze has

not been able to enter deep sleep

, which to my knowledge would save a lot of battery. In fact when I unplugged my phone and fell back asleep it lost twenty percent in four hours.

Anyways under Kernel wakelocks I have the "PowerManagerService" up for most of the time the phone has been up. I don't know what a lot of these things mean, so forgive my ignorance. The second and third wakelocks are vbus_present and battery_daemon, but they aren't nearly as prevalent as the first.

Under partial wakelocks the only thing noticable is the *backup*.

Next I have alarms which has Maps at the top with something like 1,734 wakeups.

And then for processes I have surfaceflinger topping the chart.

With all that being said it still might not be the kernel causing the drain but something else. Maybe someone else who has had the same issues can post their stats as well? I'm going to go back to stock kernel and see if I can find a difference in the stats and keep the post up to date. :)

Edit: I should add that I've set my cpu control to a min of 384Mhz and a max of 1404MHz with the standard ondemand.
[HTC Amaze 4G] KnowledgeBroker:
Pretty sure it has nothing to do with the kernel.. first, look at partial wakelocks- this tells you the programs and services keeping your phone from deep sleep.. if backup is at the top of your list you may want to go into system settings>privacy>uncheck backup my settings. More than likely it is trying to backup and it gets interrupted when trying to communicate, possibly because of some data issues.. but that is my understanding of *backup*, is that it is that service.

As far as kernel wakelocks, those aren't necessarily keeping the phone from deep sleep. For example tho, powermanagerservice says it is "This kernel wakelock is a placeholder for all partial wakelocks being held in userland." and "Use "Partial Wakelocks" to drill down the applications / services causing wakelocks." In other words, go look at partial wakelocks.

Now alarms there is plenty of discussion about, the agreed upon understanding is that an alarm wakes up the phone, and then it takes generally a second or 2 for the device to go back to sleep.. so 1,734 wakeups would/could definitely be something to look into. Maps can often abuse your location services, waking up your device to see where it is.. you could either turn off your gps and rough gps and see if it improves, or install a previous version of maps.

Surfaceflinger in processes is normal, if that is your highest one you are doing fine.

Just be careful about posting here thinking this is the reason your battery life has dropped- updating apps, or different behavior on your part can easily be the big change.. signal strength is another factor. Lots and lots of factors besides kernel.
[HTC Amaze 4G] faux123:
A critical bug was found on Sensation 4G (which also applied to this kernel). New version will be out tonight once I am home.

The bug is related to memory issues...
[HTC Amaze 4G] faux123:
there's no going back once intellidemand is implemented. ie, thermald and mpdecsions would be gone forever. Let me think about it.
[HTC Amaze 4G] fcpelayo:
i too experienced the same and can't think of any changes that I've done nor updates except for update kernel. Alarms and maps heavily but it didn't used to that before. I've even ruu flash then nrg rom to start from scratch. I've even used the phone less just to see standby time.

Well you have taught me well not to blame kernel so with that said I will continue my hunt for the evil one causing drain. If anything I will resort to you.

Maybe 2 different kernels? Second being a test version. honestly wouldn't want to have installed intellidemand version kernel and realize I was better off with this version your working on.

Edit. Noticed you added schedulers could that be it
[HTC Amaze 4G] realitysconcierge:
Thanks Silentbtdeadly, the support is greatly appreciated. I'll look into these things
[HTC Amaze 4G] jordin1128:
fcpelayo, if you have some free time, head over to the sensation forums and read from like page 600 on...I can assure you better battery life my friend..1.5 days I was getting on the Sensation and with similar but different hardware, I don't see why we couldn't achieve that on the Amaze. I also posted a few pages back what intellidemand is and how it works.

Faux, I know you test your own stuff before releasing but I'm more than willing to test a beta kernel with the intellidemand governor.
[HTC Amaze 4G] eliasadrian:
I know this isn't the place to discuss battery, but I noticed a few days ago my phone wasn't sleeping and Maps had tons of partial wakelocks. Correct me if I'm wrong, but Maps has had a couple updates recently and so for me I just turned off GPS and my battery is a lot better. The kernel seems to be running great, it's just the 100+ apps we all use.
[HTC Amaze 4G] masondoctorjt:
No battery drain here, I did however go into init.qcom.post_boot.sh and change the min freq back down to 192mhz since my phone seems to handle it just fine.
[HTC Amaze 4G] aj_2423:
New release, V.19 !

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

sent from my NRGized Amaze,

powered by faux kernel v.19
[HTC Amaze 4G] KnowledgeBroker:
I've had extra drain too related to rough location.. turning it off made a huge improvement- and I imagine the cause was google maps.. happened on a day that it was the only app updated.

Anyways, v19 is up for those who are interested http://faux.androidro.ms/ruby-faux123-kernel-v019.zip
[HTC Amaze 4G] fcpelayo:
I'm gonna revert to older version of maps. Maps has been an issue for me.

I also don't use Google now nor have it installed so GPS on should work only when needed instead of constantly pinging my location.
[HTC Amaze 4G] Bling_Diggity:
Moved Post to Amaze Q&A. http://xdaforums.com/showthread.php?t=1864476
[HTC Amaze 4G] jordin1128:
Flash a unsecure boot image first then flash custom kernel over it
[HTC Amaze 4G] Bling_Diggity:
EDIT: Got it. I flashed the unsecure boot.img out of an old CapRom zip I had, then booted into recovery and flashed Faux's newest kernel. Worked like a charm. Appreciate the help!

Thanks for the reply. I've searched the forum, but have been unable to obtain said "unsecure boot image". Any idea where I can get one?
[HTC Amaze 4G] EclipzeRemix:
Nvm
[HTC Amaze 4G] Perry977:
Just get the boot.img from any custom rom...i guess maan im not sure..just too drunk to rememver anything
[HTC Amaze 4G] jordin1128:
Hit the thanks button
[HTC Amaze 4G] verkion:
Have any of you had any problems with Wi-Fi on Kernel v.19? It doesn't seem to "scan/detect" networks properly on my Amaze with Energy Rom.

Thanks!

verkion
[HTC Amaze 4G] faux123:
We got a real separate LED for notifications already ;) Besides, BLN needs framework edits as well and generally eats more battery life...
[HTC Amaze 4G] aj_2423:
I swear, i flashed .004 this morning only to see .005 released this afternoon. So i download it and just now got to flash it, then i come on here and .006 is released. Lol im not used to getting to do this much flashing in one day ;) thanks for the hard work faux.
[HTC Amaze 4G] tombeach22:
I've got 006 installed, and it's works for a few minutes at 1.7 then it gets stuck at 192... :(, any ideas? I've tried multiple flashes

Update! Now it scales its self down to 1.1 for no reason after a little bit of zoom zoom and i think i only have 1 core participating
[HTC Amaze 4G] Perry977:
i dont think the second core would be always working..only the first one is active, and the other one every now and then...i am not sure..and the cpu frequency keeps fluctuating, again i am not sure but i believe it doesnt always stay at the max frequency..
[HTC Amaze 4G] hiazn:
The qualcomm soc are asynchronous
[HTC Amaze 4G] tombeach22:
i see it fluctuate and its going full bananas, but then it lags like hell then when i open faux clock the max freq is scrolled to 192mhz
[HTC Amaze 4G] Binary100100:
Clockwork Recovery Flashable Zip

So I

hate

having to use a PC to flash my custom kernels so bad that I made the impossible possible. Just as the title says I made an update.zip file for any custom recovery. Just flash as you would a custom rom.

But there's a catch.

You

must

have an unsecured kernel already installed!!! Otherwise it will not work!!!

AND

You may have to reboot once more for the changes to go into effect.

So can somebody WITHOUT Faux's custom kernel installed give this a try.

I tested over and over and over again with xboarders 2.1.2 unsecured kernel.

How it works...

It's kind of a dirty rig but it installs the flash_image binary to the /system/bin and xbin directories. I modified a script in the init.d directory to run another custom script called kernelupate in the /system/bin directory. This kernelupdate script flashes any boot.img or recovery.img file (if done correctly).

So the update.zip pushes the boot.img file onto the /system directory temporarily and then the script executes upon boot thus flashing the boot.img file. Anyone is welcome to improve upon it but I ask for credit naturally for the innovative workaround. :D

Paul, all you need to do is place the modules in the prospective directories and the boot.img in the system file. I'm sure you can figure it out.

One last thing, please (please!) don't pm me for any help. Thanks!
[HTC Amaze 4G] ScotterMonkey:
Out of all the kernel + Rom combos here for the Amaze, which is "least Sense-like"?
[HTC Amaze 4G] Binary100100:
Why are you asking this here???

[ROM]BeastMOD v2.0.1 138mb Aosp/Cm7 like||CRT On & OFF||585mb free ram|Wifi Calling||

or even

[ROM]12/13/11 SenceLess 2.1.1 [modded kernel]||WIFI CALLING Beats Audio|| Tethering
[HTC Amaze 4G] saulcho009:
Binary, I tried flashing your kernel flasher and it doesn't seem to work for me. I using CWM 5.0.2.7 and yes I have rebooted twice. I even flashed twice. Its a pretty good idea, a good workaround S-Off. Perhaps I was being stupid and I missed something. Is anyone successful?
[HTC Amaze 4G] Binary100100:
What kernel are you currently running?
[HTC Amaze 4G] saulcho009:
I was on the v0.0.4 kernel. I didn't really get what you meant by unsecured kernel. I was guessing you meant a custom kernel
[HTC Amaze 4G] -FuRBz-:
He did state to try only if you weren't running one of faux kernels..
[HTC Amaze 4G] -FuRBz-:
It worked, I was able to flash kernel from recovery
[HTC Amaze 4G] saulcho009:
Oh my bad, sorry I was reading this in the morning... Sorry for my noobishness >_<
[HTC Amaze 4G] gaww:
Hello Binary,

I came from xBoarder's 2.1.2 with your zip file with recovery. It does take a reboot to take ( I looked in "About" after first boot - said "oh ****", and then remembered the reboot - lol). Booted up fine.

I had Setcpu already set up for power saving profiles, and thought I was all set, as I was able to set the higher clock speed. However, it did not hold it, so I did the device selection and this seems to have cleared it up.

Ran quadrent to compare reference points. With ondemand governor and it set to highest OC, it is faster then original stock (2600 vs 2200), but slightly slower (100-200) then xBoarder's kernel set at 1560 speed. With it set to performance, it goes to 2900 (but never ran xBoarders that way).

Am going to test other functions to see if all are OK.

UPDATE:

WiFi, WiFi calling, and bluetooth OK. Hotspot sent me to the upsell page, but ti think this is A TMO issues that popes up for me occasionally (more so recently). Anyone else have hotspot working on 2.1.2 and this (.006) kernel?

I just tried the WiFi tethering app from the thread over in themes (should that not be over here?), and after some twiddling around with the settings, it finally connected through to the web and no up-sell page.

However, would still like to use system hotspot if possible.
[HTC Amaze 4G] evohog:
Found thus nice explanation about fauxclock, cleared up some questions I had. Cmenard in s2 forums wrote it up.

Now we can have out cake and eat it too. This app let's you set clock speed and overall VDD voltages. The really cool part is that the processor now works like it's supposed too. You'll notice in FauxClock that the second processor says offline. Well it's supposed to. Now the second cpu only gets powered on when load is high. Once load has stabilized the second cpu goes back offline. Now we can have speed and decent battery life. You'll notice that some bench mark apps will be lower ie CF-Bench. That's because it runs that benchmark with only one core active. Who really cares when your phone is smooth, fast, and lasts all day on a charge!
[HTC Amaze 4G] gaww:
Before I install FauxClock, will it let me adjust (UV) voltages at the different clock speeds on .006?
[HTC Amaze 4G] evohog:
It does have undervolting options but personally I've never used them due to the issues you can come across.
[HTC Amaze 4G] 2sh0rt:
Wifi working in v6! thank you thank you thank you!!!!! Good work sir!
[HTC Amaze 4G] aj_2423:
Working fine here. But I've only used it on my router at home

sent from my NRGized Amaze,

powered by faux kernel v.19
[HTC Amaze 4G] verkion:
I should add that I am roaming at the moment...maybe its a specific combination of circumstances that makes it unable to scan...

Thanks!

verkion
[HTC Amaze 4G] masondoctorjt:
Mine seems to work ok, it sees other wifi networks anyway. Haven't tried connecting as they are all secured.
[HTC Amaze 4G] fcpelayo:
Been running version 19. Idk what you did different faux but I'm loving v.19 WiFi works fine. And battery life is great. This is the most I've gotten since v12 I think. Good job.
[HTC Amaze 4G] derride8:
+1 I agree
[HTC Amaze 4G] blast0id:
sweet, going to give it a ride-out!
[HTC Amaze 4G] jvx333:
So on 2 diffrent roms after I install faux kernel my phone stays on splash screen and never boots up. I always have to reflash Rom then its back to normal. Anyone else encounter this.
[HTC Amaze 4G] aj_2423:
Have u installed an unsecured boot.img previously

sent from my NRGized Amaze,

powered by faux kernel v.19
[HTC Amaze 4G] fcpelayo:
Isn't flashing roms flashing an unsecured boot image already?
[HTC Amaze 4G] KnowledgeBroker:
Not sure it matters, but htcdev released another kernel..
[HTC Amaze 4G] shekki:
Wow...it took them this long to release the kernel source code for t-mobile for 4.0...I'm guessing that it's missing the same stuff as the other sources. Anyone care to take a look?
[HTC Amaze 4G] Ashcunak:
same file name as the telus release, same file size also. gonna go out on a limb here and assume they are the same.

ruby-ics-crc-3.0.16-a4fb83c.tar.gz telus, tmobile

ruby-ics-crc-3.0.16-fd362fb.zip wind, dave, videotron
[HTC Amaze 4G] CalicoJeb:
+1
[HTC Amaze 4G] fcpelayo:
Hey faux I noticed that the ruby kernels are the largest in file size compared to your other kernels. Why is that?
[HTC Amaze 4G] faux123:
Lots of modules and the compression used just regular lzo compression. Don't worry about it, the size has no effect on performance of kernel.
[HTC Amaze 4G] jvx333:
That's what she said!!!! Lol
[HTC Amaze 4G] blast0id:
you earned it!
[HTC Amaze 4G] babymatteo:
Hey fellas, tried flashing this kernel on both CWM and TWRP and keep getting an error.

And yes i have unlocked bootloader and S-off...any ideas?
[HTC Amaze 4G] Perry977:
Try the EXT recovery
[HTC Amaze 4G] babymatteo:
Will do thank you!

---------- Post added at 01:51 PM ---------- Previous post was at 01:43 PM ----------

Update: Flashed with EXT rec and still a no go. Still giving me the installation aborted. Tried in both internal and external.
[HTC Amaze 4G] faux123:
you may need to flash an insecure boot.img first.
[HTC Amaze 4G] rbaruch:
Faux were you ever planning to include your intellidemand governor in this kernel?
[HTC Amaze 4G] faux123:
not sure yet. other things will come out first
[HTC Amaze 4G] rbaruch:
Will you be playing warcraft 4 when it comes out ;)
[HTC Amaze 4G] babymatteo:
will try that. Thanks Faux.
[HTC Amaze 4G] fcpelayo:
Also when you say ext, do you mean 4ext recovery? If not try switching to 4ext recovery then use that to flash the kernel. If still no go flash the unsecured boot.IMG mentioned then flash kernel after that.
[HTC Amaze 4G] babymatteo:
I've been looking everywhereand can't seem to find a insecure kernel for ics. Can anyone point me in the right direction or post a link? I'll really appreciate it. Thanks
[HTC Amaze 4G] blast0id:
I think this: http://xdaforums.com/attachment.php?attachmentid=1223086&d=1343307912 is it...
[HTC Amaze 4G] babymatteo:
Thank you so much man! It worked. Finally running Fauxs kernel now!
[HTC Amaze 4G] TadMSTR:
Faux123, any particular reason your kernel posted here (v017) is a version behind your RootzWiki page (v018)? I found http://faux.androidro.ms/ which has v019. Is that stable to use?

Also, in v018 I found the mempodroid exploit using X-Ray, http://www.xray.io. Someone on Google+, in a post about X-Ray, mentioned that this exploit is related to the kernel version. He said if the kernel gets updated then it will get patched.
[HTC Amaze 4G] invisiblefire101:
19 will be the best for u from rootzwiki its the latest just go to the first page second post n u will find the official dl links for Gb n ics
[HTC Amaze 4G] TadMSTR:
RootzWiki is still linking v018 and the changelog only goes up to 18 as well. I'll try the v019 I found on the page that Faux123 hosts his files on. Thanks.
[HTC Amaze 4G] fcpelayo:
Whats this exploit xray your talking about?
[HTC Amaze 4G] TadMSTR:
I included a link to it in my post, http://www.xray.io/

I heard about it on one of my tech news sites, forget which. Adam Outler recently posted on Google+ about it.

Edit: The exploit is called mempodroid. Someone commented about it on Google+ saying it was related to the kernel version. The tool I used to find that my ROM/kernel had the exploit is X-Ray http://www.xray.io/.
[HTC Amaze 4G] faux123:
That app is crap. I fixed the vulnerability since 3.0.16 using the official fix from Linus Torvalds himself. Android's fix was a shortcut simply NOT allowing write access. The app simply check for write access but does not check for the actual fix. The result is bogus don't worry about it
[HTC Amaze 4G] TadMSTR:
Thanks for responding Faux. I'll take your word for it as you clearly appear to know what you are doing. I appreciate your awesome work.
[HTC Amaze 4G] fcpelayo:
And this is what differentiates you from all others. Man you must take pride in the work you do and I appreciate it. If only more people knew the behind the scenes hard work you put in to your kernels. That's why I donated :D

I'm glad you make the decisions of what you think and know what is best for our kernels. I trust you.
[HTC Amaze 4G] Sk8trfred:
V20 is out

http://faux.androidro.ms/ruby-faux123-kernel-v020.zip
[HTC Amaze 4G] KnowledgeBroker:
I wish the changelog was updated :)
[HTC Amaze 4G] krook6023:
...speaking of changelogs the next version is looking to be sweeeeet....

https://github.com/faux123/HTC_Amaze_Kernel/commits/ics_exp/

:cool
[HTC Amaze 4G] rbaruch:
God I love you faux. You're one of the only devs that stuck around since the beginning and provided us with stuff to Flash.
[HTC Amaze 4G] jordin1128:
This is just what I've been waiting for! Get ready my fellow Amazers lol :p
[HTC Amaze 4G] jvx333:
What does that mean for us ?
[HTC Amaze 4G] laggo:
It means we get a new governor to manage the CPU. A very sexy governor... So sexy my pants have begun to shrink with excitement! <3 faux!
[HTC Amaze 4G] jvx333:
Doesn't set CPU already do that for us?
[HTC Amaze 4G] PeterC18st:
SmartAss v2? *Schwing* Don't play with my emotions.
[HTC Amaze 4G] jordin1128:
Go to the HTC sensation forum and read the first few posts of faux's kernel...there's your answer
[HTC Amaze 4G] TadMSTR:
SetCPU just lets you select the governor to use. We will have another choice soon. You select whichever governor, and scheduler, works best for your needs. The first post explains several of the options.
[HTC Amaze 4G] TheEyes:
I for one am very excited. Ever since I got the Amaze I've been hunting for ways to get battery life equal to or better than what I had with my old Sensation (that I lost on the bus, bah!) Faux's kernel with intellidemand should be the last piece in that puzzle, I hope (otherwise I'm going to have to really search through my apps and find out what's doing the damage, ugh)
[HTC Amaze 4G] Darikus:
v.21 always on 2 cores.. NRG aug. 6.. setCPU max1296 min192.. intellidemand-deadline.. the way it should?
[HTC Amaze 4G] inyallan:
Latest Kernel. V21

http://faux.androidro.ms/ruby-faux123-kernel-v021.zip
[HTC Amaze 4G] Darikus:
Delete setCPU 2 core always online screen on.. 384 MHz OMG
[HTC Amaze 4G] Old-school:
Going back to sense just so I can try this.Been patiently waiting to see intellidemand on this phone.
[HTC Amaze 4G] Perry977:
Battery drainibg pretty fast...i am gonna let it die then charge..see what happens
[HTC Amaze 4G] TadMSTR:
Try out JuiceDefender. There is a free and paid (with more features) app. It auto controls data and wifi. Only turning it on every X amount of time or whenever the screen is on. Has made a big difference in the battery life on any phone I use it on.
[HTC Amaze 4G] babymatteo:
It usually takes about 2-3 charge cycles before you can really tell any difference. But performance wise, it should be a boost right off the bat :)
[HTC Amaze 4G] Perry977:
Oh hell yeah...performance wise you can tell the diff..and u can notice that on the quadrant standard score
[HTC Amaze 4G] eliasadrian:
Is WiFi working okay for you guys? I flashed it a couple hours ago and it won't connect to my school's WiFi, it hangs on "obtaining ip address"
[HTC Amaze 4G] Perry977:
Yep everything working just fine
[HTC Amaze 4G] Shadow Samurai:
School WiFi is CRAP!!!

Sent from my Energized HTC Amaze!
[HTC Amaze 4G] blast0id:
v21 working well so far here... will give it a few days on intellidemand(1242/192)/conservative(918/192) combo via OC/UV beater....
[HTC Amaze 4G] jordin1128:
If its setup like the Sensation kernel, do not use profiles. The kernel has its own profiles built in. The screen off max is 584
[HTC Amaze 4G] raven198:
What controller is everyone using? Setcpu, or something of the sort?
[HTC Amaze 4G] shekki:
Using profiles and having a kernel with it's own profiles will cause problems like random reboots because of the two profiles clashing.
[HTC Amaze 4G] hasoon2000:
My battery has been terrible with the latest update. The battery is discharging faster than the phone can charge! lol
[HTC Amaze 4G] thejrp:
My battery seems pretty normal with 21. Although I have not really been using the phone a tonne.