yashsingh1/xdaforums huggingface dataset:
[HTC Amaze 4G] :
I've had this happen almost a week ago. I can not say it had anything to do with this kernel. Changing Roms (with stock kernels) didn't help.

I ended up going to the stock R2 Rom and usb behaved normally again. I've been using faux's kernel since reloading my custom Rom and the issue has not repeated.
[HTC Amaze 4G] misfit61871:
I don't think it's an SD issue because I can mount it, but I have to do it through recovery. Normally you can connect the cable and toggle the SD from the status bar, the problem is I get no notification in my status bar the that my phone is connected to my PC. It is plugged in right now and nothing is in my status bar. And when I go to connect to PC and try and toggle disk drive from there nothing happens.

I'll post a screen shot.
[HTC Amaze 4G] misfit61871:
Here is the screen shot, my phone is connected to my PC but there is no icon in the status bar.

Sent from the morgue.
[HTC Amaze 4G] kered424:
I have the same problem. Just flashed 009, and I'm on NRG Stock look. I compared it with my sister's Amaze (everything stock), and the colors are definitely different and the gradient is glaring.
[HTC Amaze 4G] masondoctorjt:
I've had this happen every so often, it doesn't matter the kernel or Rom for me. A reboot of my pc solves it for me.
[HTC Amaze 4G] misfit61871:
Hmmmm, I'll try that, cuz it was working fine before.

Edit: No go, didn't work. Oh well, nothing major.

Sent from the morgue.
[HTC Amaze 4G] crazypotato:
notice the same thing now on stock rom too. is it a new battery saving feature?
[HTC Amaze 4G] Keylogger_0:
The 009 version is only for Gingerbread. The 008 version is for ICS. You may have flashed the wrong version for your android version.
[HTC Amaze 4G] kered424:
He released 009 for ICS. It's not updated here on xda, but if you follow his changelog link to rootzwiki, you'll see 009 for ICS.
[HTC Amaze 4G] mahgninnuc93:
If I am asking a redundant question I"m sorry. I looked through the thread and could not find a clear cut answer. Will this work with S-On and do we have to use Xboarders tool to flash it? Sorry if I missed it somewhere.
[HTC Amaze 4G] masondoctorjt:
I was able to flash it just fine being s-on, as long as I used 4ext recovery, with smartflash enabled.
[HTC Amaze 4G] jordin1128:
Faux!! I'm here coming from the Sensation forums...phone broke so they sent me the Amaze :)

First time in the forums here and haven't did much reading yet but I have a quick question...

Any way to port Intellidemand to the Amaze??
[HTC Amaze 4G] zPacKRat:
Add me to the list
[HTC Amaze 4G] ccbm3:
That's the ROM theming....not the kernel.
[HTC Amaze 4G] zPacKRat:
It's not just rom level stuff, it's apps too
[HTC Amaze 4G] ccbm3:
That still points towards the Rom. The kernel is how the phone behaves. Not how it looks. I myself run NRGZ's ROM and I've switched kernels from the stock HTC over the air update kernel to faux kernel. Nothing changed except the behavior of my phone. The theming and color gradients are still the same.
[HTC Amaze 4G] aj_2423:
I'm running new NRG themed ics rom (7/30) and new Faux kernel (009) and it worked fine for me
[HTC Amaze 4G] blast0id:
Actually it's not, I'm definitely seeing gradients where it used to be unnoticeably smooth, now there is obvious 'cells' was not like this on 008...

sent on a mastadon by way of intercontinental epic journey
[HTC Amaze 4G] KnowledgeBroker:
Did you flash the new update of the rom that came out yesterday or no? If so, it is highly suspect.. I trust faux's changelog, and it says he just reverted wifi and bluetooth drivers.
[HTC Amaze 4G] blast0id:
nope, I would have noted that if I had done so, still on the 6.21 or whatever it was, only thing changed was the kernel from 008 to 009... going to reflash the kernel when I get a chance "just in case"...
[HTC Amaze 4G] misfit61871:
I was on speed Rom 6.0 and I flashed NRG's new ROM last night and all is working now. Must be a ROM issue.

Sent from the morgue.
[HTC Amaze 4G] crazypotato:
I just copy the 009 modules to 008. reflash. the gradient problem is gone. Something must be done in 009 and the changes are not published.

Edit: I see the changes now. msm/display: ruby_panel: lower default brightness a bit. That might have changed the color profile a bit instead of the lcd backlight.

Edit: or the value went beyond the video driver limit. it crashes the driver?
[HTC Amaze 4G] kered424:
Would you mind providing the file?

Thanks!
[HTC Amaze 4G] shekki:
I second that! I'm not sure how to switch the modules myself because I'm also seeing the gradients.
[HTC Amaze 4G] crazypotato:
huh? Extract 008.zip to a folder and then extract 009.zip to another folder, copy the modules folder from 009 to 008. zip up 008. reflash with the new zip. you are done.
[HTC Amaze 4G] KnowledgeBroker:
Where are you seeing that? If you change all the modules you are in essence just reverting back to version 008.. if you replace the modules besides the wifi modules you'd still retain the change he meant to make, or at least the one he has in the change log.

Unzip both flashables and compare the size or name of each file in the modules folder.. then just retain the different wifi modules, they won't effect the screen.
[HTC Amaze 4G] krook6023:
Or just hang tight, faux has made quite a few commits today, I am guessing a new release will be around the corner...#justguessing
[HTC Amaze 4G] Sk8trfred:
V10 is on rootz now. I think he forgot about this thread lol
[HTC Amaze 4G] faux123:
Didn't forget. It takes quite a bit of time and effort to update all the threads.
[HTC Amaze 4G] zPacKRat:
V10 fixed the gradient issue.
[HTC Amaze 4G] hasoon2000:
+1

I hope the update fixes my Bluetooth .008 wouldn't let my Bluetooth connect 90% of the time

Sent From My HTC Amaze 4G via Someone's Room ;)
[HTC Amaze 4G] faux123:
We have problems because HTC sux... We DO NOT have HTC's haxed BT and WiFi driver source... AOSP drivers are ONLY about 80~90% compatible to HTC

AOSP drivers:

BT => won't pair with ANY NEW devices, but existing devices works perfectly...

WLAN => won't see more than 2 WiFi sources. Need to disconnect then reconnect to switch between WiFi routers. Rest seemed OK

HTC drivers:

BT => Sometimes won't auto-connect, but everything else is working

WLAN => No issues at all.
[HTC Amaze 4G] krusir:
Just tried V010. Wifi Error, not connect at all. Blutooth, no error but can not turn on. Roll back to backup.

I am running Speed Project Butter ASOP UI Rom.
[HTC Amaze 4G] thejrp:
Kernel 010 Rom Energy 30th. All appears to be fine. Wifi works Bluetooth turns on etc. So far so good.
[HTC Amaze 4G] misfit61871:
Wifi is working fine here as well, don't use BT so can't report on that but all else is good.
[HTC Amaze 4G] tgamble160:
Everything working perfect for me so fast and smooth thank you. This is my quadrant 5-6 times. Almost same score each time all of them above asus prime
[HTC Amaze 4G] crazypotato:
009 is 12mb, 010 is only 4mb?
[HTC Amaze 4G] faux123:
oops, v10 is missing the HTC modules... just flash v9, then flash v10 then you are good to go.
[HTC Amaze 4G] invisiblefire101:
Small adjustments that's all
[HTC Amaze 4G] Keylogger_0:
Where would I find v9? I've been looking for it. Maybe I missed something really obvious >.>

EDIT: Found it. Link for v9 is a few posts back.
[HTC Amaze 4G] krusir:
Ok... V9 .. then V10. V9 was target for GB. Can I assuming we will flash V10 after that so everything will be fine and works in ICS? I will try it later today.

Running Speed Project Butter AOSP UI Rom.
[HTC Amaze 4G] misfit61871:
OP has been updated with the proper v10, so I don't think you'll need to flash v9 then v10 as mentioned above.
[HTC Amaze 4G] mznatnat:
I love you Faux .... be my baby daddy? LOL.

Great work!
[HTC Amaze 4G] masondoctorjt:
Thanks faux. I notice that I still can't limit cpu1 in system tuner. It will run all the way to 1.72ghz, no matter what, but cpu0 works as it should.
[HTC Amaze 4G] krusir:
Running v10 now. The new one from op's New upload, ( 12MB ). So far so good, BT works, WiFi works too.
[HTC Amaze 4G] BorisZX6R:
I am S-OFF, UNLOCKED bootloader, stock OTA ICS, rooted.

Attempted install of v10 in CWM v5.0.2.6 and get the following:

-- Installing: /sdcard/KERNEL/ruby-faux123-kernel-v010.zip

Finding update package...

Opening update package...

Installing update...

Faux123 Kernel for ICS...

Extracting temp files...

Mount /system partition...

Extract /system files...

Extract /system/lib/modules...

Copy out exiting boot.img...

unpack exiting boot.img...

repack new boot.img...

flashing New Kernel...

assert failed: write_raw_image("/tmp/newboot.img", "boot")

E:Error in /sdcard/KERNEL/ruby-faux123-kernel-v010.zip (Status7)

Installation aborted.

Tried it 3 times, same thing...

Now my wifi and bluetooth don't work, but the phone does boot up...
[HTC Amaze 4G] pbcal:
You need to flash an unsecured boot to use this kernel. Get the boot.img file from energy rom and flash it through fastboot.

fastboot flash boot boot.img

Then you can flash this kernel in recovery.

Since your flash failed, you have the modules from faux kernel but with stock boot, so the wifi and bluetooth are not working.
[HTC Amaze 4G] blast0id:
an even better option would be to use 4ext (smart flash) recovery instead, this is 2012... cwm is old news =)
[HTC Amaze 4G] pc2828:
+1
[HTC Amaze 4G] faux123:
It's m(ake)p(oor)decision's doing.. not my kernel... mpdecison is a closed source userspace binary from Qualcomm and it is hard coded to use system max.
[HTC Amaze 4G] G1Master:
For some reason v9 and v10 does not work for me. Everything boots up, phones runs strong but I lose WiFi and BT.

I'm assuming its cause my phone is not S-Off. But v8 works just fine. Why is that?

Ive been using NRG's latest Blue Edition ICS.

My phone is ***Unlocked*** and Perma Root with SuperSU.

I just need to be S-Off that would solve my problems. Correct?
[HTC Amaze 4G] krusir:
Bluetooth works yesterday when I install it. I found it having problem this morning.

It looks linked ... but report "no audio" in the phone. Looks the "profile" handshake part having problem. I reboot the phone, then it all back to work. I will monitor to see the problem comes back or not when I driving.
[HTC Amaze 4G] invisiblefire101:
A couple post back there's a post with the unsecured bootloader u need
[HTC Amaze 4G] faux123:
Ahem... updated ;)
[HTC Amaze 4G] fcpelayo:
Thanks, were you able to fix mp decision so that cpu 1 remains off until needed
[HTC Amaze 4G] G1Master:
This phone is confusing me when it comes to installing custom roms/kernels.

I am Unlocked and have perm root.

From my understanding if your using Ext4 recovery Its like being S-Off but I still cant seem to get wifi working or bluetooth.

Only v008 has been working for me.

What am I doing wrong.

I got the phone with ICS stock on it from Tmobile. So I never was on GB to begin with.
[HTC Amaze 4G] bos2333:
And you have smart flash turned on?
[HTC Amaze 4G] G1Master:
I sure do, I checked three times. Option just says disable smart flash. So I assumed is on by default.
[HTC Amaze 4G] tgamble160:
Try v11 now that its up if not some had to flash v9 then v10 over it to get everything working. Or flash unsecured boot image first. Then flash new kernel. Hope one of these work for you good luck

sent via one badass kindle fire fueled by jellybeans
[HTC Amaze 4G] G1Master:
I will definitely try v11 when I get home no WiFi here at work so no way to test. Where is this unsecured boot image at?

Is it the same one few pages back?

Edit: I also just noticed that the recovery 4ext was on rc3 latest is rc5 so maybe that would help to.
[HTC Amaze 4G] masondoctorjt:
For me, cpu1 goes offline until needed, but I just can't control is max speed. What Rom are you using? I know energy Rom would keep both cores active, but his newest release fixes that and let's cpu1 go offline.
[HTC Amaze 4G] BorisZX6R:
This should be pinned to first post...

The file and instructions...
[HTC Amaze 4G] BorisZX6R:
What rom and kernel version are you running to get these numbers?! Also what cpu settings or governor and configuration are you using?!

Thanks.
[HTC Amaze 4G] fcpelayo:
Actually this is what I meant to say. Cpu 1 does It's job but I can't control its max also august 1 energy stock
[HTC Amaze 4G] G1Master:
I dont know whats going on still. Tried the most recent 4ext RC5, Smartflash is enabled. Wiped the phone again, reapplied NRG's Latest. Tried without Flaux's kernel. Still no wifi or bluetooth. Rebooted the phone 3 times to be sure the drivers are kicking in. Still nothing.

Tried to do the Unsecured boot image flash without the Flaux's kernel. Still no wifi or bluetooth. Tried again with the Unsecured boot image flash then Flaux's latest v11 kernel. Still nothing. Rebooted 3 times to be sure. Still no wifi or bluetooth.

What am I doing wrong?

Wifi scans and connects to my homes wifi. Internet runs for 10 seconds then chokes up, not even google.com loads up.
[HTC Amaze 4G] tgamble160:
Speedrom 6.0 faux kernel v10 cpu at 1.7 ondemand governor

sent via one badass kindle fire fueled by jellybeans
[HTC Amaze 4G] KnowledgeBroker:
I pm'd faux about it and didn't get a reply.. and he didn't reply to that post, but as far as I can tell the kernel would put the required files there, and at that point the system can have cpu1 set.(they tell the system the different possible settings for the second core, and cannot be set without them regardless of how mpdecision works) Right now it defaults to Max because it doesn't have those files, and I think the stock kernel had it properly.. or maybe it was kozmikkicks. I've been able to reduce the speed of the second core on one of the other kernels, I just can't remember which, but I confirmed it is because those files are missing.

Sent from my nook color until my broke college students azz can afford the new nexus 7 tablet.. if my post from my nook color helped you, you COULD consider a donation..
[HTC Amaze 4G] KnowledgeBroker:
I replied to your post in energy rom thread, but when upgrading to ics, it relocks your bootloader. I'm pretty sure you just haven't unlocked it again. Confirm it is unlocked.

Sent from my nook color until my broke college students azz can afford the new nexus 7 tablet.. if my post from my nook color helped you, you COULD consider a donation..
[HTC Amaze 4G] gaww:
Per recent posts above, if you are using CMW recovery, that would result in your problem.

Life on the Amaze is much easier with 4ext recovery. It will flash OK even with S=on.
[HTC Amaze 4G] G1Master:
Thanks for your reply. Yea I actually am using the Latest 4ext recovery. I believe my answers are being solved on NRG's thread, come to find out I did not flash the ICS RUU after going from OTA ICS to NRG's GB then back to NRG's ICS.

So hopefully Ill be able to do that tonight after work and it should help solve my problems.

But again Thanks for your reply. (Ill stop with cluttering of this Kernel Thread Sorry Faux!)
[HTC Amaze 4G] krusir:
Been running v11 since yesterday afternoon. Battery consumption is excellent. Bluetooth still not perfect. It sometimes won't connect with my car ( 2012 Acura, a pretty new version of BT profile with media extention stuff..) This time is better, at least toggle BT OFF/ON from phone fix it. This problem only happens sometimes, not always.
[HTC Amaze 4G] tgamble160:
I agree v11 battery is great bt works good just won't auto connect I have to connect manually but works good once I connect

sent via one badass kindle fire fueled by jellybeans
[HTC Amaze 4G] masondoctorjt:
Faux posted that it was mpdecisions fault and not the kernel, but I'm not sure if stock controlled the 2nd core or not, I never tried under clocking when I had the stock kernel.
[HTC Amaze 4G] rationalmind:
After I flashed this kernel in ext4, I go check system information - kernel: it says paul@ubuntu... Can anyone tell me if it went through? Thanks
[HTC Amaze 4G] Perry977:
On the kernel info read the third like and see the date...if you see the date when he released the kernel then your good to go :o
[HTC Amaze 4G] rationalmind:
It's not. I tried three different times but it didn't go through :(
[HTC Amaze 4G] Sk8trfred:
Should look like this
[HTC Amaze 4G] Perry977:
Let's take a screenshot and see what kernel u got running
[HTC Amaze 4G] rationalmind:
Nevermind guys. I got it. Because last time I flashed the old version, it said faux instead. Thanks.
[HTC Amaze 4G] KnowledgeBroker:
I'd still like to know if faux can include the available_scaling_frequency files for cpu1 so we can at least try to control the second core via setcpu(or other app) or cpu editor. As is stated in cpu editor thread

Without those setcpu or any other method cannot control the speed of cpu1 and it will default to max speed. I guess it isn't a huge issue by far, I'd still rather have this kernel than stock, but it would be nice to test.

That, or if the issue is definitely mpdecision, is there a way to not use it, as kozmikick had disabled it in his kernel when he was developing it..
[HTC Amaze 4G] Krazex2005:
Swipe2wake would be awesome as well :) , especially for those of us with a faulty power button, but I don't know if it uses more battery since those buttons have to remain "active" when screen is off. Can anyone clarify?
[HTC Amaze 4G] fcpelayo:
What if you use tasker to control the CPUs won't tasker force it?
[HTC Amaze 4G] laggo:
I was able to manage CPU1 with faux kernal by forcing it online with init.post_boot.sh

This created the cpufreq folder for CPU1 and all the normal files inside to manage the gov freqs etc.... I just used snippets from SpeedRoms init.post_boot.sh to accomplish this.

I am using faux v11 with Aug1 NRG blue Rom.
[HTC Amaze 4G] blast0id:
this works, confirmed...
[HTC Amaze 4G] eliasadrian:
I haven't followed close enough to know the exact procedure for this. I assume I just copy it to a specific place using root explorer or something, correct? Where should I move it to? Thanks.
[HTC Amaze 4G] laggo:
It would get placed in /etc

Make sure to set the correct perms. Also check the file before you add it to your phone. I have it set to UV a bit and also the CPU is set as follows:

CPU0 = 192 min - 1500 max. 192 screen off.

CPU1 = 192 min - 810 max. 192 screen off.

Also you have to rename it: init.post_boot.sh (remove the .txt)
[HTC Amaze 4G] :
Hello faux any info as to why this is happening

D/QC-QMI ( 141): linux_qmi_qmux_io.c: Unable to open port id /dev/sdioctl0

It happens in cm9 seems to be a missing interface
[HTC Amaze 4G] fcpelayo:
Ok so I downloaded your settings renamed moved to appropriate location moved my original to my sd just in case reboot and it doesn't work. I checked with system tuner and cpu1 does not stick. I made a change to its max freq to 7560000 lower than what you had it to see if that took and no it didn't. CPU0 changed to 1290000 doesn't stick either. Voltages seem to have taken but when it gets to 1.02 It's voltage is too much compared to the others or pattern you had going.
[HTC Amaze 4G] laggo:
I removed the script until I have more time to take a peek at it. It does enable CPU1 and set it to 810 I can verify that. About changes made with System Tuner, I can't verify that as I don't use that app.

As for the voltage, that is a mistake... There is an extra zero on the end in the script for 1.02.
[HTC Amaze 4G] fcpelayo:
I wasn't making the changes in the app I made the changes in the script. I used the app to show me what was going on
[HTC Amaze 4G] fcpelayo:
Ok after searching I found CPU editor to be my best option. I can turn off cpu1 offline and I can limit the max/min frequency of each core individually.

Only thing I'm trying to figure out is to have CPU1 stay offline without forcing it off (currently forcing offline I think). So that it would go on at its own. Unless I haven't given it enough work load to turn on. Need more experimenting. But so far full control of both CPUs with profiles set for either performance or battery on "on demand governor"

Update Edit: my phone only went on deep sleep for 8 min over night? CPU0 was on at 19200 for 5 hours doing idk and CPU1 was off like it was supposed to. Any help anyone?

Guys I don't want to be thread jacking, if you feel that I am please let me know. I am posting here since I am using faux kernel and like many others trying to figure out how to fully control CPUs to achieve better performance and or battery which can help others.
[HTC Amaze 4G] icepixie:
I'm finding this current discussion very helpful! I'm wanting to know how to control the CPU in both cores as well...
[HTC Amaze 4G] icepixie:
Is this the CPU editor that was used to control the cores?

http://xdaforums.com/showthread.php?t=1584508
[HTC Amaze 4G] fcpelayo:
yes he has two but that one works this is the most newest one i believe as it supports quadcore as well.
[HTC Amaze 4G] icepixie:
Ok somehow the goo.im link for that one didnt seem to work, so I ended up downloading the CPU editor for snapdragon devices (http://xdaforums.com/showthread.php?t=1798765). Works great! I've lowered the max frequency for CPU1. :good:
[HTC Amaze 4G] fcpelayo:
Yeah it works its just there servers so you have to keep trying. Sometimes it works another time it won't.

Anyways play around you'll find that file your modifying in the system/etc/ init.postboot.sh you can also make the changes there. Or just open so you can get an idea of what your doing changing. Ultimately you want to control CPUs1 online and offline as well max frequency.

Example; CPU1 off only go on when needed system is loaded and max frequency of what ever you choose. Which I think is impossible right now because of mpdecion. But we can't delete mpdecision bc that will force both cores online all the time which is not what we want. Hope this helps
[HTC Amaze 4G] jordin1128:
On payday, I will try and "motivate" faux to port intellidemand to our Amaze from the Sensation. His kernel has a built in thermal control and also a more intelligent dual core management system.....

"re-introducing Intellidemand CPU governor. Default to 1.51 GHz, in browsing state, it will reduced to 1.08 GHz. In 3D gaming it will run at 1.51 GHz uninhibited. (You should have all CPU profiles disabled by now... :P )

Introducing Smart Core Management :D

Automatic offlining of 2nd CPU core while Screen is ON.

Scenarios:

1- While Screen is ON > 3 min, and average load of the CPU is < 35%, then CPU1 will be taken offline.

2- While Screen is On, if average CPU load > 35%, CPU1 will be Online and both CPUs max frequencies will be limited to 1.13 GHz Max

3- While Screen is On, After both CPUs' Max is limited to 1.13 GHz, when the average CPU load has dropped down to less than < 25%, then both CPUs Max freq will be restored to 1.51 GHz Max (then go back to scenario 1).

-- for 3D Games or GPU intensive apps, both CPUs's max frequencies will be restored to 1.51 GHz and both CPUs will be online."

Motivation! Motivation Everyone!
[HTC Amaze 4G] fcpelayo:
This is intellidemand? Nice. I wonder if we can achieve this with tasker. Anyone?
[HTC Amaze 4G] KnowledgeBroker:
For those trying to control the cores independently, realize that the init sh script you're editing sets the min and max frequencies, so using a 3rd party app is pointless if you change those settings. I posted how in the energy rom thread about a week ago. Also, do NOT set minimum clock speed to 192 unless you like having to do a battery pull after a phone call.. minimum should be 384 all the time.

Also, I've used CPU editor a while, but between the latest kernel and using CPU editor to set for battery performance(one of the last settings) I got 1 day 5 hours usage(screenshot attached). Until now the most I've gotten was 16-18 hours with light usage. I had almost three hours screen on, over an hour of phone calls, over an hour of playing music with screen off, and other usages I forget.. so I can say I'm a happy camper. Not the heaviest usage, but not too damn bad for 1 day and 5 hours of battery either.