yashsingh1/xdaforums huggingface dataset:
[HTC Amaze 4G] ziggy46:
they were posted awhile ago by intervigil lol https://github.com/Sportsstar89/and...mmit/b72b6c474850fa210a7d03bbd7a3d44c2b94024a

what im saying is its probably messed up on his computer locally. and he hasnt went and grabbed it again to fix it

---------- Post added at 01:27 AM ---------- Previous post was at 01:27 AM ----------

My Build- http://d-h.st/Bo0

signal bars work for me...

nothing else changed/fixed
[HTC Amaze 4G] BlacKca7:
hello guys, i'm new to this thread and i've looking for over and hour on ziggy solution to data but no luck. can someone tell me on whick page or thread it's in? i really did search

thanks
[HTC Amaze 4G] ziggy46:
its not my fix.... sportsstar, dcacklam, and intervigil were on that case.

but are your looking for what the fix was (like the code edited) or a build with the fix in it? i just linked a build with the data fix in it 2-3 posts up
[HTC Amaze 4G] BlacKca7:
on i see it, dumb me lol, thank you ziggy
[HTC Amaze 4G] GuyInDogSuit:
You didn't read. First page, first post, says download here, click the link to goo.im and grab the 11/30 or 12/1 build.
[HTC Amaze 4G] chevycowboyusa:
Flashed the 12/1 build. Bluetooth works. No WiFi. Still testing.... getting better than usual data speeds
[HTC Amaze 4G] GuyInDogSuit:
I was really hoping for another build today. I need to wipe my phone and flash a fresh ROM but I'm waiting for the next release before doing so. :/
[HTC Amaze 4G] edwill44:
Man I forgot how tiny a CM download is compared to Sense. I prefer Sense but I like try out new Roms from time to time. Just to be sure, there is no difference between 11-30 and 12-1 except the signal bars work?
[HTC Amaze 4G] intervigil:
For mostly working wifi:

https://github.com/htc-msm8660/andr...mmit/f90ea19698ac8f9d5d4d90317542d7e80ffd6c5a

https://github.com/htc-msm8660/andr...mmit/69b640fe79f639adda2d801a5c48b0f53b564ce5

Seems to have lost WiFi and Bluetooth in the settings menu though.

Also, weird color fixed here: https://github.com/htc-msm8660/andr...mmit/a476d76da8faa86c6c3dc0af7a78dc379630eaae

Turns out I missed a define when moving files from drivers/video/msm_8x60 to drivers/video/msm.
[HTC Amaze 4G] GuyInDogSuit:
I don't think they were fixed yet. I still have just two bars, always, on the 12/1 build. It was just for debugging purposes, nothing was fixed though.

"Mostly working"? Almost sounds like the Magratheans referring to earthlings as "mostly harmless."
[HTC Amaze 4G] xXchrizhurtyXx:
I don't know why but after calls the screen goes black.....

Sent from a Buttery Ruby running CM10
[HTC Amaze 4G] riprowan:
Me too. Especially if there is data. Much easier for me to drive a tester if it has working data.
[HTC Amaze 4G] GuyInDogSuit:
It's had data since 11/27.
[HTC Amaze 4G] Kamikaze22:
The build ziggy posted on page 159 has working signal bars. When you download it will be labeled 20121130.
[HTC Amaze 4G] chevycowboyusa:
I downloaded the 12/01 and everything seems to work except Wi-Fi stuff... even paired and used my plantronics Bluetooth and streamed music to it.

Camera takes some grainy pictures.

I fell asleep before i could really test it out further.
[HTC Amaze 4G] riprowan:
Works: DATA, camera, most stuff

Doesn't work: WiFi, GPS

Overall: yippee! Performance is amazing, overall non-buggy so far
[HTC Amaze 4G] mrgwap:
My Gps works flawless
[HTC Amaze 4G] dntipwn:
Ya same here GPS is spot on
[HTC Amaze 4G] ziggy46:
I'll cook these in today :)

Sent from my epic amaze 4g
[HTC Amaze 4G] dntipwn:
Do you use linux or windows to cook those?

Sent from my HTC_Amaze_4G
[HTC Amaze 4G] GuyInDogSuit:
Guess I won't be going to bed any time soon, then...... lol.
[HTC Amaze 4G] riprowan:
Did you install from play store or did you use a gapps bundle that has a different maps app? I installed from play.

---------- Post added at 10:15 PM ---------- Previous post was at 10:13 PM ----------

Speaking of which, I used the gapps bundle for cm10 posted on the cm wiki. Is that the right one?
[HTC Amaze 4G] ziggy46:
you have to use a form of linux to build them in. (Ubuntu, fedora, suse, OS x, etc)

Google "gapps" and go to the goo.im link. Then find the latest ones for jb there. (They are the most up to date)

Sent from my epic amaze 4g
[HTC Amaze 4G] :
The 10/11 version seems to work better than the very newest gapps on goo. Im.. YMMV.
[HTC Amaze 4G] dcacklam:
the 1130 gapps is for 4.2 and will among other things cause keyboard FCs on 4.1
[HTC Amaze 4G] GuyInDogSuit:
I used the JusTUNbean Inverted Gapps Aroma package, worked for me.
[HTC Amaze 4G] dcacklam:
don't go any newer than 20121030
[HTC Amaze 4G] GuyInDogSuit:
If I remember right, the Goo Manager automatically chooses the latest 4.1 Gapps for you.
[HTC Amaze 4G] ziggy46:
ok, i managed to pull all of intervigil's changes successfully and i am now building. also, we will now have out kernel build from source instead of using a prebuilt. :) wish me luck lol

(if anything goes wrong its because im making it build the kernel from source to accommodate intervigils changes)
[HTC Amaze 4G] laggo:
Must use up all "Thanks" for all this awesome work!
[HTC Amaze 4G] mrgwap:
Good luck ziggy. Man u and the whole squad are beasts im loving this rom and and it only get better as this thread develops making the amaze a very good phone. My hat is off to u guys and may this quest for a 100 percent stable cm10 be successful. :) thanks again and I mean that. The one thing about the amaze is that this community is strong.
[HTC Amaze 4G] GuyInDogSuit:
Very true. A lot of devs had put work into the Amaze and many of them stuck it out with us even when it looked like we'd never get AOSP data working and break free of Sense. Here it is nearly a year later, and all that hard work and patience has finally paid off. We're looking at the potential to surpass the HTC One and the Sensation at this rate. The only thing better would be the Nexus 4, but I ain't buying one, not for a long time.
[HTC Amaze 4G] riprowan:
Hellz yes. I bought this phone coming from an N1/CM7 combo that I just loved. A lot of people were talking about switching to the Amaze so I jumped in hating Sense but assuming that CM would come quickly for this phone.

I have been on the ROM for a day now and I'm really impressed. Thanks so much for your help and hard work.
[HTC Amaze 4G] ziggy46:
build finished successfully, i am getting ready to flash it now.
[HTC Amaze 4G] dntipwn:
Let me know if you need testers

Sent from my HTC_Amaze_4G
[HTC Amaze 4G] jordin1128:
Tester if needed!
[HTC Amaze 4G] jcjackjay:
I'm willing to test too!!!
[HTC Amaze 4G] hoey2011:
I'm going to throw my hat into the "willing tester" ring also.
[HTC Amaze 4G] mrgwap:
Leh go!!!!!!!!
[HTC Amaze 4G] GuyInDogSuit:
I will test. Just tell us when it's up.
[HTC Amaze 4G] ziggy46:
im going to need to rebuild because this one didnt boot up the whole way. i believe its from the stuff i was messing with yesterday so all i have to do is resync sports device repo, re add the changes, then rebuild.
[HTC Amaze 4G] riprowan:
I would say data is working nicely.
[HTC Amaze 4G] riprowan:
Yeah not for me. Anyone have any ideas about GPS? I've gone through all the usual settings AFAIK.
[HTC Amaze 4G] dntipwn:
Hows the build going Ziggy? Hopefully it will have working data and wifi and my life would be complete. This is the second time ive felt this anticipation for a cm10 rom first was on my samsung vibrant and not they have 4.2 running. Cant wait for this. Huge thanks to all the DEVs working on this.
[HTC Amaze 4G] ziggy46:
I was getting a lot of errors. It seems by the look of sports git he was having the same problem and fixed them. But for now I have to go.to sleep, I have keystone exams tomorrow (pssa)

Sent from my epic amaze 4g
[HTC Amaze 4G] GuyInDogSuit:
Yeah what not for you?

GPS works fine for me. Make sure "internal GPS" is selected in the settings and location settings are enabled. You might even have to enable GPS via the notification bar toggle.

12/2 build is up.
[HTC Amaze 4G] bos2333:
Whoa what's in that one??
[HTC Amaze 4G] GuyInDogSuit:
Hopefully fixed WiFi and multi-touch.

Something ain't right. It's downloaded twice, and it's only 36 mb. And I can't open the zip. Didn't upload right, did it?
[HTC Amaze 4G] mrgwap:
Remember faster fix helps with Gps. And good job ziggy get some sleep man. The cm10 link u provided a few pages back is a good build. Thanks :)
[HTC Amaze 4G] GuyInDogSuit:
Too bad today's build didn't upload right.....
[HTC Amaze 4G] dntipwn:
most likely not most cm roms are around 140mb thats way to small to be complete.

EDIT: I got it open its only the meta-inf so its missing about 80% of the stuff do not try to flash this
[HTC Amaze 4G] mrgwap:
He re uploaded the build he is using with working signal bars at the end of the page

http://xdaforums.com/showthread.php?t=1773274&page=159
[HTC Amaze 4G] GuyInDogSuit:
Damn, I don't think he realized the upload fscked up a third of the way through. He already went to sleep, I think. Crap.
[HTC Amaze 4G] riprowan:
Nope, I d/l'ed it and tried to flash. Obviously it borked. When I reinstalled the 12/1 build, GPS was working :) so there's that.
[HTC Amaze 4G] :
Whoa guys don't flash 12/2 it has working wi-fi but i'm trying to fix the no wi-fi in settings so i canceleld it mid upload i guess goo get half the file don't touch that please :) signal bars work now btw
[HTC Amaze 4G] ziggy46:
My build uploaded bad? I swear it uploaded the whole way

Edit: nevermind you guys are talking about sports build. Lol

Sent from my epic amaze 4g
[HTC Amaze 4G] Ninjistix:
so does this mean we'll get a new build to try tonight? i'm willing to test it, the new one should have BT fix in it also right or was that taken care of already? i might have missed a page or two
[HTC Amaze 4G] :
you got keystones tomorrow? sucks i got em Thursday and Friday

Maybe depends when the build i compiling finishes
[HTC Amaze 4G] mrgwap:
The build ziggy uploaded a few pages back I've ben on all day works Gps signal bars...
[HTC Amaze 4G] ziggy46:
Yea I got the all week and then Monday and Tuesday next week. My school is stupid lol

Sent from my epic amaze 4g
[HTC Amaze 4G] :
Your taking them all now? we have bio thursday and friday then algebra in january
[HTC Amaze 4G] GuyInDogSuit:
Ha, I have to take two algebra classes for the last six credits for my psych degree. Stupid, because I took those same two courses in high school.
[HTC Amaze 4G] :
I though if you take it in high school you don't have to take in high school
[HTC Amaze 4G] dntipwn:
You should be a pal and just upload it anyway I can use the notification bar to turn it on.

Sent from my HTC_Amaze_4G
[HTC Amaze 4G] GuyInDogSuit:
High school classes don't count towards college credits except in rare cases.
[HTC Amaze 4G] jcjackjay:
i dont think youll be able to connect to a certain network without the insettings wifi lol. even the password protected ones...
[HTC Amaze 4G] dntipwn:
But if you push and hold the icons in the status bar it will take you to wifi menu
[HTC Amaze 4G] jcjackjay:
wouldnt the wifi menu be considered insettings though? :o
[HTC Amaze 4G] GuyInDogSuit:
The settings app is missing?

LMAO, 55 downloads of the 36mb 12/2 build so far...
[HTC Amaze 4G] dntipwn:
Maybe but haha but what i was thinking if you hit setting and go in there its missing the link to wifi so it has mobile network and all that jazz. No wifi in settings but theres still the option.
[HTC Amaze 4G] jcjackjay:
last time i checked, the wifi portion of the settings app was missing .___.
[HTC Amaze 4G] Mystery?:
Actually not rarely. It can count as college credit as long as you take the AP exam of the class and pass it according to your college's AP exams score requirements (unless the college does not accept AP credit).
[HTC Amaze 4G] riprowan:
Well, they do once you take the exam. I placed out of my freshman year of college.
[HTC Amaze 4G] jcjackjay:
yes true xD
[HTC Amaze 4G] GuyInDogSuit:
Yeah, I didn't have that option. My guidance counselor was all for me graduating a year earlier, but my school was not. They did not want to lose the money they'd gain for having me there one more year.

Yeah, I have the option to take the CLEP exams, which I plan to do. Otherwise I'd be spending 18 more weeks in hell. I hate math. :/
[HTC Amaze 4G] dntipwn:
Man at least you guys are going to college I joined the military at 22 when I figured out I couldnt make it on my own

Sent from my HTC_Amaze_4G
[HTC Amaze 4G] Mystery?:
Sports, (sorry for being annoying lol, but) what won't be fixed in the next build? SD mounting, volume problems, multi-touch, etc?

Since by your comment you seem to have gotten both WiFi and data working, its time to update the thread title haha cuz I've been literally looking at 20120918 for months now
[HTC Amaze 4G] GuyInDogSuit:
Agreed. It's long overdue for an update.

So is anyone else having issues with the SD/internal storage not wanting to mount? Or dismounting when plugging in the USB cable? I wiped and reflashed the 12/1 build and I still have this issue.
[HTC Amaze 4G] Ninjistix:
another late night waiting around to see what gets released hehe... only problem with tonight is that i seem to have a splitting headache
[HTC Amaze 4G] dcacklam:
Well, well well: Here's what I have...

On 1201:

The 'Good News':

The 'Bad News'

It's under Linux only, kind of like data on 0918

Now that I've posted the teaser, here's how I 'got it'.... And what it has taught me...

1) With my phone running 0918, I copied the contents of:

/data/misc/wifi

/system/etc/wifi

/system/etc/firmware

to the sdcard

I then flashed 1201, and copied them over the 1201 versions

2) fix-permissions

3) Manually start the wifi services in /init.ruby.rc

start chmod_nvs_wlan0

start upd_nvs_wlan0

start wpa_supplicant

4) Since dhcpcd_wlan0 is borked in the INI, I ran it manually

dhcpcd_wlan0 wlan0

This produces working wifi in linux, but no changes in Android.

THE GOOD NEWS IS, WE KNOW THAT WITH THE RIGHT SETTINGS, WIFI DOES ACTUALLY WORK AT THE KERNEL LEVEL, ON THE 'NEW' KERNEL, IN THE 1201 BUILD

The major changes that have to be made:

insmod wl12xx_sdio has to be added to the end of init.ruby.rc

The set of files in /data/misc/wifi/ has to be completed.

And the right configs in /system/etc/wifi/ has to be covered.

CONTINUED:

The Softap error persists in logcat.

And here's where it gets interesting: Softapd is NOT PRESENT in Linux. This is all happening in Java.

Softap can't find firmware... That's one thing... Can't assign the address... That's another... It still seems softap is supposed to be part of the tethering function (see 'AndroidAP' in /data/misc/wifi/softap.conf - which is the tethering SSID for the built-in tether functions) ...

Here's the thing... There's more...

The settings loaded by Settings.apk for wifi, under advanced (Go to settings -> wifi -> menu-press -> Advanced) are all wrong and Android will not let you change them.

You cannot change the regulatory-domain from Europe to the US... You can't change the Wifi Frequency...

It's almost as if there is a permissions problem preventing it, or there is something wrong with this version of Settings.apk.

I'm trying to find what file-or-directory Softap is looking for, too...

And why it's looking in the wrong spot... Hmm...

Combining the contents of /system/vendor/firmware with /system/etc/firmware, and simlinking /system/vendor/firmware to /system/etc/firmware gets us only one 'file or directory not found' instead of every cycle...

Almost as if it is looking for the files in /system/vendor. Only problem is, the error still happens -just only once instead of every cycle...

other notes: the contents of /vendor/firmware are circular-reference simlinks. (eg, links pointing to themselves) - BAD.
[HTC Amaze 4G] GuyInDogSuit:
Yeah, same here. I want to just go to sleep already so badly but I'm eagerly waiting to see what comes up.
[HTC Amaze 4G] Migwickert:
I noticed this ->You cannot change the regulatory-domain from Europe to the US... You can't change the Wifi Frequency... Yesterday when I was toying around. You guys are impressive, appreciate the work you all are putting in. I will certainly donate when this is ready to go.
[HTC Amaze 4G] GuyInDogSuit:
My question is... who do we donate to? They're all putting in their time and efforts, I couldn't donate to just one dev....
[HTC Amaze 4G] Migwickert:
LOL, That's true. Is there some way to give to the team as a whole? :)
[HTC Amaze 4G] GuyInDogSuit:
If they had a "Team Venture" PayPal account or something, yeah...
[HTC Amaze 4G] dcacklam:
As for the prior page...

It is very much seeming like there is someting wrong with Settings.apk and/or WiFi state machine/Softap/etc on the newer builds, or wrong with wherever it is stuffing the wifi configuration...

There is a complete disconnect between Android and Linux on this, resulting in a workable wpa_supplicant that can't be launched, and an inability of Android to send the NVS file even though Linux can do it just fine...

Also there is no softap executable present, and apparently attempts to call one (if that is what is happening) do not hit the shell.

I created a stub for softap that was supposed to write to a file in /data/local every time it was called. It never was....

---------- Post added at 08:00 AM ---------- Previous post was at 07:53 AM ----------

More info on softap:

It absolutely is for tethering via the mobile-hotspot checkbox...

Points even further to 'screwed up configuration running the wrong things'...

http://omappedia.org/wiki/Porting_WLAN_SoftAP_to_Android

The reason it's not working? it's not actually INSTALLED.

There is no /etc/system/wifi/softap directory, no softap supplicant or kernel module, no softap firmware... it's not there...

But the problem is, the phone is apparently coming up in tether-mode, not in wifi mode...

So this is back to the settings.apk, the configuration that makes the phone do what it does, and everything else....
[HTC Amaze 4G] GuyInDogSuit:
So we're not really any closer to slaying this beast, huh, not without a "dirty" fix?
[HTC Amaze 4G] dcacklam:
The dirty fix proves they killed the kernel-modules-monster... Wifi can work in linux....

That's all...

Now we have to figure out what is screwed up in Android, to make wifi controllable from within Android and to make Android recognize that WiFi is on...

Another tidbit: swapping out Settings.apk with the 0918 build freezes the phone at the cyanogenmod screen.

So what changed between 918 Settings and current?

Because absent those few changes (installing wl12xx_sdio.ko) we should be good to go... And there is the possibility that android is supposed to install and remove wl12xx_sdio.ko when the wifi is toggled on and off, because there is no insmod line for that .ko in the .rc file...

The softap errprs are due to the scrambled settings/config....

---------- Post added at 08:35 AM ---------- Previous post was at 08:32 AM ----------

Oh, there is one other dirty fix possible - it involves rolling back to the 0918 build (and based on the uname -a of the 0918 build, an entirely different kernel/drivers/etcf) and implementing data-fix and such to that one...

---------- Post added at 09:00 AM ---------- Previous post was at 08:35 AM ----------

Found this post... Related to the WiFiStateMachine driver error:

http://www.google.com/url?sa=t&rct=...sg=AFQjCNGcWmLv8a8031jLBqXmKy1fdPEzCQ&cad=rja

Apparently there's an error somewhere in the code, defining the path to the _sdio module, that prevents it from finding and insmoding wl12xx_sdio.ko

Which is why I have to install it manually for anything I do to work...
[HTC Amaze 4G] intervigil:
Donate to the EFF. https://supporters.eff.org/donate

Properly copy things (including permission files to restore BT/WiFi to settings menu):

https://github.com/htc-msm8660/andr...mmit/f931fa81fd10c054fd4c5f2d0a23e086a9951d1c
[HTC Amaze 4G] dcacklam:
I'm guessing that the no firmware-loader and no firmware-paths in BoardConfig.mk are because the wl1271 uses a multirole (STA and AP combined) firmware that doesn't need to be replaced....

If those values weren't blanked out, it would explain the errors in the logcats from trying to load firmwares via paths that don't exist, since that FW-loading model isn't needed with a multirole that just stays loaded.... Although I would think one would want to null-out the WIFI_FIRMWARE_PATH_AP_PATH, WIFI_FIRMWARE_STA_PATH and WIFI_FIRMWARE_STA_PATH values too - but I don't know, since the coding-side really isn't my thing...

That said, the issues with the 1201 build very much seem like uninitialized settings (does that even happen in Java? I know for C/C++ if you don't initialize, you get random garble in the variable in question), leading to 'random' behavior depending on what value 'ends up' in the spot that selects tether-mode (softap errors, due to softap not being installed) vs STA mode (Driver error only, no softap error)... And to the whole thing with the regdomain in advanced being stuck at Europe.
[HTC Amaze 4G] Flyin18T:
dcacklam, I commend you not only on the effort you have put forth to investigate and research the various issues associated with this ROM, but also for the time you take to type out your analysis of that info in a very competent reply. I have absolutely zero experience in your field of study, but I can comprehend the issues affecting this ROM due to your very thorough explanations. I know the info you provide primarily assists other devs in moving forward,but it also allows some of us rookie's to follow along. I thank you for that!
[HTC Amaze 4G] GuyInDogSuit:
Agreed, it not only shows the effort and patience it takes to debug (and makes me much more appreciative for the work Android devs do), but I also feel that I learn something from it, even if it is mostly Greek to me.

Hmmm, never heard of them. Are you sure you wouldn't want some beer money? :p

Still trying to get the Settings.apk to play nice with the new modules/libraries? Man, Android can be such a pain in the ass. Even Linux is elementary compared to this, and I'm still a Linux noob.

Sport, any news on that build you were working on this morning?
[HTC Amaze 4G] uvt_novice:
They're good guys!

Don't remember details though - last year or two ago some dev found it out that manufacturers along with Cell-providers (Nokia, Samsung, Apple, T-Mobile, Verizon (not sure) etc) track phone usage without even user's knowledge. The dev posted this info in the internet. Then, he was sued (trackers assumed he can't defend himself), but these gyus provided him legal support, then all allegations rolled back. :good:
[HTC Amaze 4G] dcacklam:
The biggest pain in the butt, is that the logcat errors just say 'file not found' and do not print WHAT file/path was not found...

If the error-messages were more descriptive, it would be easier....
[HTC Amaze 4G] GuyInDogSuit:
Yeah, I think that's where Super-CID came about.... Good to know who they are now.

Seriously? It does not say? Is there some way to get the script to actually dump the names of associated files the error message is referring to? Oh, wait, you mentioned you weren't really a coder... Maybe Sport could devise something like that.
[HTC Amaze 4G] dcacklam:
It's the java code for Android that does those error messages, not a script...

If it were a shellscript it would be easy - but that goes back to Android doing alot of things the 'new Java way' with interprocess communication & various 'seen as cleaner' methods, not the 'Old UNIX Way' that desktop Linux does, and so on....

To put it another way, Android is to linux the way that MacOS X is to Darwin/BSD. It uses Linux to talk to hardware, but re-implements everything else in it's own code....
[HTC Amaze 4G] chevycowboyusa:
Worthy of donation!!!

I remember that! Definitely worth donating to them!
[HTC Amaze 4G] ziggy46:
Hey guys I'm going for a releasable build tonight. I apologize about last night. I could get something out to you

Sent from my epic amaze 4g
[HTC Amaze 4G] dcacklam:
With intervigil's wifi fixes?

They've done alot in the git repo over the past 2 days....
[HTC Amaze 4G] riprowan:
You'd think there would be a way to get verbose mode.
[HTC Amaze 4G] ziggy46:
yup :D
[HTC Amaze 4G] GuyInDogSuit:
Awesome, thanks Zig.

I sure hope so.

Exactly what I was saying! That would be a big help if it were so...