yashsingh1/xdaforums huggingface dataset:
[HTC Amaze 4G] brainbone:
No, they just don't respect the GPL license and the open source community. This is an issue with most (all?) of their products. Delays in releasing the source code, released source code not the same as what was used to build their released binaries, etc.

I'm honestly surprised some of the tech-news sites, Engadget, Wired, Ars Technica, Toms Hardware, The Register, to just name a few that come to mind, haven't picked this up and ran with it over the 3+ years that it's been happening.

The more I look into it, the worse it looks for HTC. Had I realized how poorly HTC respected the spirit of the GPL, I would not have purchased any HTC products. I think we, as a community, should be a bit more vocal about it.

(Sorry for the digression. I believe the proper place to discuss this is: http://xdaforums.com/showthread.php?t=1771572 )
[HTC Amaze 4G] blast0id:
you think they're going to risk losing the early access some of them get to devices and such over a "stupid article" concerning GPL issues... riiiiight...
[HTC Amaze 4G] KnowledgeBroker:
I haven't seen any negative feedback about wifi not working, but I'm about to test faux123's new kernel he posted here http://xdaforums.com/showthread.php?t=1359951

Any chance that you'd be able to get with him if he has working wifi for your swipe2wake and aosp kernel projects? I'm happy(and surprised) he put out a new kernel, but I wanted to say your work is still appreciated and desired!

Edit: I'm guessing he has "hacked" the wifi modules the same as you did, I'm getting exactly the same issues with wifi.. I lose it intermittently, and it goes between lowest signal and highest when I'm consistently within 10 feet of router..
[HTC Amaze 4G] masondoctorjt:
+1
[HTC Amaze 4G] bilek06:
thanks so much for this beautiful presentation

The phone was terrific after you install it :good::highfive:
[HTC Amaze 4G] kozmikkick:
No faux did it the proper way. His way is vastly better as it won't break modules that are built by the kernel.

I'll move to his method when I get time to update this. Currently working on my kernel for vivid.
[HTC Amaze 4G] KnowledgeBroker:
very awesome, we will be patient.. turned out my wifi issue was something to juice defender with the new kernel. He didn't include badass governor and has no desire to include swipe2wake, so you're work will still be high in demand I think. Have fun with your desire.
[HTC Amaze 4G] Double0EK:
I'm waiting patiently for your next release also. Keep up the good work!
[HTC Amaze 4G] fcpelayo:
Thumbs up for kozmiks kernel update :thumbup:
[HTC Amaze 4G] oryan_dunn:
So you're saying Faux's kernel has working WiFi drivers built from source? Or are you saying he has a difference hack to allow HTC built drivers to work?
[HTC Amaze 4G] kozmikkick:
No they are not built from source. Faux used a very elegant and better way to use the modules provided by htc
[HTC Amaze 4G] crazypotato:
to stir up hacking, i think it will be nice to share a linux virtual machine with the kernel and build tools ready to mod the code and then create the kernel update zip file. That way more people can get their hands on trying to compile the wifi driver from source. a linux VM shouldn't take up too much space with out the x windows part.
[HTC Amaze 4G] masondoctorjt:
Are you continuing work on this kernel? Is Been kind of quite since faux released his. Was kinda looking forward to sweep2wake.
[HTC Amaze 4G] kozmikkick:
Yes when I get time.
[HTC Amaze 4G] fcpelayo:
Geesh give the guy a break he did say in previous post he was when he got time and that he is working on the vivid.
[HTC Amaze 4G] masondoctorjt:
No problem. I was just curious, not pushing in the least. I just wanted you to know we appreciate the work, and are still interested in your kernel.
[HTC Amaze 4G] Double0EK:
This is a late test and maybe wasn't reported but I just received my USB-OTG Cable and it wasn't working with this kernel. I know it was reported that it will never work but just hoping there might he something else you can try to get it to work. Thanks.
[HTC Amaze 4G] Trewyy:
Any activity?

Trewyy
[HTC Amaze 4G] masondoctorjt:
Careful or fcpelayo will jump all over you:)
[HTC Amaze 4G] fcpelayo:
Kozmik why is it that on your kernel we can control cpu frequency on both cores and on faux we can't?
[HTC Amaze 4G] laggo:
You can control the 2nd CPU with faux kernal.... I am...
[HTC Amaze 4G] masondoctorjt:
Was this forcing cpu1 online all the time? If so, that's not the answer I'm looking for
[HTC Amaze 4G] fcpelayo:
I think what he meant is CPU1 forced online but lowered to lowest frequency. Then jump up to desired frequency when needed only. Although I tried his method is not working for me either way.

I also want to turn CPU1 off then only go on when needed but only max freq of 7560000. Not which ever one it chooses.
[HTC Amaze 4G] blast0id:
that would definitely be a record of some sort I think =P

7.56Ghz on a phone =) hehe

(for the haters, I know what he meant so don't bother with your snipey remarks)
[HTC Amaze 4G] fcpelayo:
Lol yeah thanks for correction just trying to adjust all these zeros in the voltage and frequencies values confusing me lol imma leave it like that.

Were you really able to get it working with that script
[HTC Amaze 4G] masondoctorjt:
Me too, I want it to be able to shut of completely, till needed, then only go to say 1.2ghz
[HTC Amaze 4G] GuyInDogSuit:
Is it safe to use a CPU clocking app with this?
[HTC Amaze 4G] fcpelayo:
Um yeah. This is a kernel most if not all kernels you could use a CPU clocking app. I don't think I'm understanding your question tho
[HTC Amaze 4G] GuyInDogSuit:
I asked because it includes its own governor settings. I thought that a CPU app might interfere.
[HTC Amaze 4G] KnowledgeBroker:
CPU apps load their settings on boot usually, which means their settings usually override anything else.. of course using a script like cpu editor does everything a CPU app does(besides profiles which are useless anyways) without having an APP at all.. apps like setCPU take precious ram to run anyways, which is why cpu editor is the way to go.
[HTC Amaze 4G] GuyInDogSuit:
I use ROM Toolbox though.
[HTC Amaze 4G] ddloco:
Does CPU stats work with 5a if so can someone upload it the devhost isn't working

Sent from my HTC_Amaze_4G using Xparent Blue Tapatalk 2
[HTC Amaze 4G] TheCrow1372:
Can't I use my 4EXT recovery to flash this kernel or no?:(

"It Can't Rain All the Time", sent from my AMAZE 4G/ENERGY
[HTC Amaze 4G] fcpelayo:
Yes, if your s on make sure you enable smart flash in 4ext settings. If your s off just flash away
[HTC Amaze 4G] improperburial:
You should be able to flash it using 4ext. Move the kernel to the root of your SD then go to recovery once you're in 4ext
[HTC Amaze 4G] Trewyy:
Im guessing development is dead for this. Any chance for a reboot? Thanks.
[HTC Amaze 4G] kozmikkick:
Been busy with other projects.
[HTC Amaze 4G] fcpelayo:
Show us some love :p
[HTC Amaze 4G] oryan_dunn:
Yeah, I've got my bootloader unlocked, just haven't flashed a custom recovery yet. Was kinda holding out for an OTA maintenance update to fix a few of the problems I've had. I like my phone stock (and don't want to have to go back to my BB8520 if the current ROM I'm on isn't working), but really want to see a healthy AOSP envrionment, becuase I'm sure a bit later on, I'll want JB or whatever comes next. I could go back to my girlfriends old Cliq, but I need WiFi calling.
[HTC Amaze 4G] ziggy46:
hey if you guys want to help out with this kernel, check out my guide. it builds it perfectly.
[HTC Amaze 4G] Shadow Samurai:
Just got finished flashing it and turns out WiFi doesn't work now. I restored and everything is fine. Do I need to wipe something so WiFi works?

Sent from my Energized HTC Amaze!
[HTC Amaze 4G] eggydrums:
Nope at the moment. It has to be fixed, I think it has to something with some modules.

Sent from my HTC_Amaze_4G using Xparent Green Tapatalk 2
[HTC Amaze 4G] kozmikkick:
New build up in op. Just changed a couple things in my defconfig to see if it gets WiFi working
[HTC Amaze 4G] imxsteezin:
Can I flash this if I have s-on a unlocked bootloader and 4ext ?
[HTC Amaze 4G] oryan_dunn:
Just saw that it was me you were talking to. I haven't posted in that thread, perhaps I will. I've had an Amaze since launch (bought it while on vacation in Vegas). Been around here for quite a while, just now decided to jump in a bit more. Was frustrated with the tone here back when other members were here and their flock.

I've got the device, but I was trying to use modinfo to determine the license of the compat.ko module (a compiled kernel object (ko) file). I've got the OTA zip at home, so I can try to fish it out of that later on.

Yeah, he's uncommeted the lines necessary to build the wl12xx and related modules. Still seems to need source for the compat.ko module.

Cool, looked at the changes. Doesn't seem that you added any source for the compat.ko module. Without that, I'm not sure WiFi will work.
[HTC Amaze 4G] shuvarts:
+1 to this. I also got the same question... I'm rooted, using 4ext and all; but I don't want to do the wire trick (no confidence :S)

Anw, if we need s off even if we got 4ext,..... Just a suggestion from me to add (S-OFF only) to the title to avoid ppl bricking their device and ask this same question again (since sometimes I can avoid s-off if I got 4ext recovery when installing certain rom) :)
[HTC Amaze 4G] :
I don't want to sound mean, but if your asking this question, then flashing this is probably not a good idea.

Theoretically, if you have smartflash enabled in your 4ext settings, you should be able to flash it. If I were you, I would do a backup in 4ext first in case you need to revert.
[HTC Amaze 4G] imxsteezin:
I already know that the only reason I asked was because he stated that he doesn't support non s-off phones anymore wich made me worry
[HTC Amaze 4G] Old-school:
WiFi is not working on v0.4, just thought I would let you know.

Logcat is too big to attach here in as .txt: https://www.dropbox.com/s/kjgp4hg7o254b1x/logcat.txt
[HTC Amaze 4G] justin lamantia:
Well no luck but good job though WiFi says turning on but no go won't even let me try to turn on or off. Soon I can taste the rainbow. Lol
[HTC Amaze 4G] KnowledgeBroker:
He doesn't support s-on phones, meaning that if it doesn't work for you, he isn't going to troubleshoot why. Do a nandroid, turn smart flash on in 4ext, and you can tell us if it worked or not. If your wifi stops working then it flashed properly.

You are doing something progressive by flashing anything on your phone, even if it does work for someone else, it doesn't mean it will work for you.. but make a nandroid, and you should be okay either way. But always remember, in the search for awesome-sauce you are always taking a small risk.

The good news, if you can't flash it, you can't flash it.. meaning it shouldn't hurt your device. Try it, I haven't seen anyone actually brick their device yet unless they wiped partitions, which this doesn't do.

To anyone else, has anyone tried the badass governor? That was the best I've ever used, and a BIG perk to this kernel! Someone try it.. awesomeness.
[HTC Amaze 4G] oryan_dunn:
I hope to have time to work on this a bit tonight, though I can't compile any code.

http://wireless.kernel.org/en/users/Drivers/wl12xx

details what to do to successfully compile compat-wireless versions of the wl12xx drivers.

The hardest part would be step 1. They give the example file, which can be viewed here;

arch/arm/mach-omap2/board-zoom-peripherals.c

Trying to figure out the config for that would be kinda difficult. Lucikly, it seems most (perhaps all) has already been done by HTC in:

arch/arm/mach-msm/board-ruby-wifi.c

arch/arm/mach-msm/board-ruby.c

arch/arm/mach-msm/board-ruby.h
[HTC Amaze 4G] kozmikkick:
It will work on s-on devices you just won't be able to customize it on install
[HTC Amaze 4G] KnowledgeBroker:
Hey, just an fyi.. there's a "hoe to build kernel" thread somewhere, you've made a lot of great posts I'd like to see in there, all in one place.. I created a thread earlier trying to tie all of these development threads together, and if you had some of your good posts there, it would help keep things organized!

Once i get some free time I'm gonna start looking into some of this stuff you're posting.. but I'm very glad(to respond to your earlier post) that you decided to be active for our amaze, we can use all the help we can get!

Edit: I meant "how to build kernel" thread.. but that was a good typo, so I'm gonna leave it :)
[HTC Amaze 4G] oryan_dunn:
Yeah, I can try to consolidate information after work. Do you have links for the other thread(s)? I know how to build a kernel, done it many times (well for desktop systems years ago), but according to Google, I need a 64-bit machine/OS, which I don't really have access to (current desktop is approaching 10yrs old). I may be able to sneak Ubuntu on my girlfriends laptop, which is considerably newer.
[HTC Amaze 4G] ziggy46:
you dont need 64-bit lol :D
[HTC Amaze 4G] oryan_dunn:
Interesting...
[HTC Amaze 4G] ziggy46:
yea, its more like they recommend it
[HTC Amaze 4G] oryan_dunn:
Lightbulb moment. Makes sense why HTC had commented out all the modules in the wl12xx Makefile. If they are using compat-wireless versions of the driver, that means they are using drivers from a newer kernel. I wonder if we just build compat-wireless, selecting the wl12xx as the driver and use those modules, if WiFi would work. Now, to figure out what version of compat-wireless they used.

compat-wireless_stable_releases

---------- Post added at 03:59 PM ---------- Previous post was at 03:51 PM ----------

Looks like there is precedence for this for an HTC device, with the wl12xx drivers:

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

A simple README with a few notes and the version of compat-wireless used wouldn't have killed HTC and would make this much easier.
[HTC Amaze 4G] Spastic909:
Why the need four soff? Just need to figure out why.

Thanks
[HTC Amaze 4G] KnowledgeBroker:
The dev just posted on the last page what would answer your question. Read a little. Hint: the last page.
[HTC Amaze 4G] blast0id:
it's not "needed" per se, he just isn't going to support those who aren't by answering all their "how do I flash this" questions... I, personally, don't blame him one bit...
[HTC Amaze 4G] oryan_dunn:
I wonder if I'll get a reply:

https://twitter.com/oryandunn/status/223513960064888836
[HTC Amaze 4G] kozmikkick:
WiFi should work now thanks to sportsstar89 :)

New version in op also posted a link to a stock boot.IMG that can be flashed in recovery to revert all changes made by this kernel ;)
[HTC Amaze 4G] fcpelayo:
Glad to have actively with your knowledge here with us.
[HTC Amaze 4G] oryan_dunn:
How did he get it working?

Edit: I see, hacked the kernel version and reused the old .ko modules. Good for now, I guess, but I'd still like to get a proper build of open source drivers. Should be possible. If that hack does work, then it proves this kernel builds properly to support the drivers. I assume since HTC doesn't/hasn't released any compat-wireless source that they don't make any modifications to it.
[HTC Amaze 4G] kozmikkick:
Also if you have issues with aroma touchscreen bot working properly it is probably due to the recovery you're on. I know there can be issues with it in some recoveries. Ext4 recovery should work perfect.
[HTC Amaze 4G] saseekutz:
I flashed via 4ext this morning. I'm s-on and unlocked and it installed smooth
[HTC Amaze 4G] krook6023:
Thanks for your work!

You and me both! There is an open bounty of $220 ready to be claimed by whomever can master this feat. I am trying to not lose hope that we will see the day of AOSP/CM9 etc...

Link to bounty thread: http://xdaforums.com/showthread.php?t=1749951
[HTC Amaze 4G] kozmikkick:
Indeed. I know WiFi works on some alpha 3 x kernels on one x and I think it uses the same WiFi modem so maybe I can try looking through some code and get it to compile proper later on.
[HTC Amaze 4G] fcpelayo:
I can confirm WiFi turns on properly but can't test
[HTC Amaze 4G] oryan_dunn:
Oh wow, I didn't know that. Incentive indeed!
[HTC Amaze 4G] thejrp:
I am using the latest 4EXT recovery 1.0.0.5 RC5 and the touch screen in the aroma installer did not work for me.
[HTC Amaze 4G] :
Well that's to reverse engineer them which isn't necessary anymore because it was included with the source and we can just WiFi working with ease as I did
[HTC Amaze 4G] oryan_dunn:
But those are not built from source, they're the binary blobs HTC provided in the OTA update. If we ever wanted to move to something other than a 3.0.x kernel, it may be troublesome to use the binary modules.
[HTC Amaze 4G] :
Nope I'm using a 2.6 kernel for aosp with the same modification and WiFi works fine also I thought you said the source was included
[HTC Amaze 4G] hasoon2000:
It's actually more I believe. I forgot to update it lol.
[HTC Amaze 4G] kozmikkick:
True but pretty much all ics and jb kernels are 3.0.x so it should be awhile till it becomes a major issue.
[HTC Amaze 4G] hatlesssandman:
Ok so I am also using 4 ext and it doesn't work via touch screen you have to press the volume buttons to navigate and power button to select (much like the old cwm recovery) hope this helps those having problems in aroma I figured it out of frustration Lol via button smashing as no one has pointed out a solution to this problem as far as I read any way
[HTC Amaze 4G] :
Not all my friend like i said I'm using 2.6.35.14 for ics
[HTC Amaze 4G] hasoon2000:
Bounty thread is updated!
[HTC Amaze 4G] oryan_dunn:
I think this is what's going on. The drivers for the TI WL12XX are open source and are part of the kernel tree. Compat-wireless is a project to backport the latest updates to an older kernel version. So while HTC did provide the source to wl12xx drivers, I assume (will download vanilla 3.0.16 to diff), that the code there is just unmodified 3.0.16 wl12xx code. The only modification (I think) that HTC did was to comment out the makefile so it doesn't build. Since when the device is running, there is a compat.ko module, my guess is they just downloaded some version of compat-wireless greater than 3.0.x, compiled the drivers against the 3.0.16 kernel, and included the modules. Since they haven't (that I've seen) released any compat-wireless source, that means that most likely they just used it unmodified.

---------- Post added at 05:26 PM ---------- Previous post was at 05:25 PM ----------

I'm not very familiar with CM policy, but to have an official CM build, do you need to have open-source drivers for everything, or are hacks like this using binary blobs acceptable?
[HTC Amaze 4G] :
The hacks using the blobs are acceptable in fact most builds use the prebuilt lights and sensors for that specific device i'm the one working on CM for this device
[HTC Amaze 4G] kozmikkick:
Possibly. I think we need to update the firmware in /system/etc/ti-connectivity and then a compiled WiFi modules will work.
[HTC Amaze 4G] oryan_dunn:
Ah, that's cool. Well, then, I guess that leaves building WiFi drivers from source a thought exercise; one which I'll carry on just for the hell of it.
[HTC Amaze 4G] :
Go for it. I don't believe it is necessary but for say some reason it ever is we will have it
[HTC Amaze 4G] Spastic909:
YEAH I DID DUDE . thanks blastoid for the correct response
[HTC Amaze 4G] oryan_dunn:
If it does work, I have a feeling the same thing could have been done for the GB kernel as well.
[HTC Amaze 4G] rbaruch:
BRB crying for the next week or so if this is the case

Great work though fellas! Can't believe the dev community is finally gonna thrive!
[HTC Amaze 4G] crose948:
Works like a charm
[HTC Amaze 4G] oryan_dunn:
sportsstar89,

Did you ever try that hack on the GB kernel? Using the 2.6.35 .ko modules on an otherwise custom built kernel with the version hack.
[HTC Amaze 4G] :
I was about to for my cm7 as wi-fi is still broken in that
[HTC Amaze 4G] KnowledgeBroker:
I'm glad you and sportsstar are working together :)

I know you said in my thread you were thinking about buying an amaze, but I'm not sure if you realize how many people in these forums really want a dev as good as you.. as fat as I'm concerned, I would absolutely donate to a dev who already put in this much effort with a device he doesn't even have, so hopefully others will too..

I for one am glad you were willing to put in the time and effort you already have, thanks again, and I hope we can contribute to keeping you here to sole degree :)
[HTC Amaze 4G] oryan_dunn:
Yeah, well, HTC used a relatively new, off-the-shelf TI WLAN chip with open-source drivers. I don't think they'd be in the business of making things hard for themselves (by requiring custom software drivers). The things you'd need to configure (GPIOs, SD card slot number, etc) they did provide in board-ruby-wifi.c, and the other files I listed in a previous post (which are there in the GB source). I highly doubt they modified the source for the actual chip in any way. All that needs to be done is build the proper version of the compat-wireless drivers, and I have a feeling they'll work.

Don't cry too much, it was/is still a puzzle that needed/needs to be solved.
[HTC Amaze 4G] :
Well good luck to you :)
[HTC Amaze 4G] oryan_dunn:
Thanks

This whole time, I read articles about no WiFi source, HTC petitions, etc. I was under the impression HTC had built their own WiFi chip and had closed source drivers for it. I just never looked into it until recently. And come to find out, they did use an off-the-shelf part that does have open source drivers, in the mainline kernel, no less.
[HTC Amaze 4G] misfit61871:
I had that problem too, took me a minute to figure out that I can navigate the menus with the volume keys and the power button. Other than that kernel is working great! Thanks kozmikkick!

Sent from the morgue.
[HTC Amaze 4G] eggydrums:
So, in a way, we could've have the drivers all along?

Sent from my HTC_Amaze_4G using Xparent Green Tapatalk 2
[HTC Amaze 4G] :
Basically i think that's what he is saying
[HTC Amaze 4G] oryan_dunn:
Yeah, that's what I'm thinking. I don't think they would have gone to the trouble of writing drivers from source (evidence doesn't point to this, nor does common sense). They could have modified the source, but since they haven't released any modified source outside the kernel, I doubt that. If they did modify it, and didn't release it, then that's breaking the GPL and we would have a strong legal case against them.

I just saw this, they did release modified TI WiLink drivers for the MyTouch 3G Slide.

http://dl4.htc.com/RomCode/Source_and_Binaries/ESPRESSO_TI_wilink_6_1_0_0_115_release.zip

And it looks like a completely different source tree than anything that's in the kernel or compat-wireless. Looks like it has a lot of userspace code as well.

Link doesn't seem to work. But if you go here:

http://htcdev.com/devcenter/downloads

and click the button for "Other", then search, not many items come up, but TI WiLink drivers are one of them.
[HTC Amaze 4G] kozmikkick:
I'm compiled compat-wireless. I'll upload a test
[HTC Amaze 4G] :
Good luck :D lol
[HTC Amaze 4G] hasoon2000:
Heres the drivers for the MT3GS

http://xdaforums.com/showpost.php?p=13082131&postcount=237
[HTC Amaze 4G] misfit61871:
I DL'd v0.5 but in aroma it was listed as v0.4. So which one is it?

Sent from the morgue.
[HTC Amaze 4G] kozmikkick:
If it says 5 in the filename then I probably missed updating my aroma config.
[HTC Amaze 4G] kozmikkick:
Posted two builds in OP.

v0.5a should fix aroma. Thats the only thing changed is the aroma calibration otherwise it's identical to v0.5

v0.5b is also the same as v0.5 with except that I included modules build from compat-wireless source. So its really just an open source driver test ;) The source I used to build it is the link above ;) If it works I'll also add it to my github.