yashsingh1/xdaforums huggingface dataset:
[HTC Amaze 4G] F9zSlavik:
I am hoping to have BT working before I get my S4! There is a time limit here! PLEASE! lol j/k

You guys are amazing. Probs!

UPDATE

CONFIRM,

Random Reboots

UI Crahses
[HTC Amaze 4G] chevycowboyusa:
Could you please post the file or the name of the binary in question?

Oh, and good find!

I can pair a Bluetooth device on viper but it either stalls, or says incorrect pin.
[HTC Amaze 4G] ericdjobs:
The binary is uimqc as well as a ueventd.ruby.rc change (changes to /dev/hci_tty)

I'm having a bit of trouble replicating the fix now.. i did a full wipe to try it again and I'm wondering if there's some other stuff I did that I'm missing now... but I'll figure it out. It was working beautifully. Even had a fully functional BT-PAN between nexus and phone..BT tether wasn't working right off the bat but it was simply a manner of fixing dnsmasq and just adding the routing tables in myself.

WHat I did was

A) added uimqc to /system/bin.. if you check in init.ruby.rc there's actually a service that calls that binary, and it's also in CM10... it's what finally got it working,

B) replaced the libbt-vendor.so with the one sport posted earlier.

C) edited ueventd.ruby.rc to give hci_tty permissions as well as ownership to the bluetooth group (basically this entry: /dev/hci_tty 0666 bluetooth bluetooth )

Ill attach all three files here if anyone else wants to give it a shot. I also had my WiFi tethering fix applied at the time, too.. could have something to do with it.. which is replacing wpa_supplicant, wpa_cli, hostapd, and hostapd_cli (those filenames might not be exact, find my post from earlier with a flashable zip) with the binaries from CM10.
[HTC Amaze 4G] :
Oh yea i forgot i took that off the proprietary files cause i was testing the source built one oops gotta fix that. And yea that should fix it on sense 4 completely forgot about it in my sense 4 ports
[HTC Amaze 4G] chevycowboyusa:
Whoa! :)
[HTC Amaze 4G] chevycowboyusa:
Fixes

I put all of them together in a flashable zip and will test on sense 4.1 !! thanks guys!
[HTC Amaze 4G] ichefae85:
Is this possibly universal and would work in 10.1?
[HTC Amaze 4G] chevycowboyusa:
universal

More likely to work on cm10.1 than anything else.... but I'm trying it with nightmare sense 1.6 right now. waiting for it to finish installing!
[HTC Amaze 4G] ichefae85:
Awesome, hopefully it works. I'll try it with 10.1
[HTC Amaze 4G] F9zSlavik:
GUYS GREAT NEWS

JUST TESTED IT

IT WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!

OH GLORIOUS DAY LOL

I tested it using my car BT stereo. I made some calls, I could hear them and vice versa and also I could listen to my music on my phone via bt

Side not

System still randomly reboots and ui crashes. Doesn't happen constantly though.

Also, I am having some serious problems playing back videos I either have like movies or videos I have recorded. The video pixelate, if you fast forward it errors out then says it can not play format.
[HTC Amaze 4G] e-buch:
I can't turn on Wi-Fi in the 05.04 build.

p.s. I've installed it after wiping caches in the 02.04 build.
[HTC Amaze 4G] ichefae85:
Bluetooth is working but now I can't connect to the WiFi at my work. Will play around a bit more though see if I can get it to work
[HTC Amaze 4G] chevycowboyusa:
Nightmare

well, it didn't work for nightmare

and I think it messed up wifi... going to work on it tomorrow...
[HTC Amaze 4G] ericdjobs:
I have to ask, have you tried to connect manually?

The WPA_supplicant and WPA_CLI that I used from cm10 to get tethering to work seem to have an issue with actually scanning and showing any wifi

. but it still works great for me if i enter it manually

You known what though, we might not even need 10's supplicant and WPA_CLI... I copied them over along with hostapd and the host ap cli binary in a "shotgun" idea to get things working.. I should try just using the two host APD binaries and see what happens, I'll report back

EVERYONE NEEDS TO BE AWAREBTHAT THE CURRENT FIX FOR TETHERING BREAKS THE ABILITY TO "SCAN" FOR WIFI SSIDS. Now, once you enter an said manually and any security.. It will connect and work fine.. Even auto-connect when you come into range.. Which means the actual scanning is working.. Just not displaying

. I'll try to see if I can narrow it down

As far as I am aware the BT fix doesn't have any downside. . only thing is they are both in the same flash able zip :). I'd I have time later I'll try to make two desperate ones.. Well I have one posted for WiFi tether fix.. Cowboy if maybe you could sit em ? And make it well known that the WiFi tether fix breaks said scanning....or were going to have a lot of confused people thinking it broke WiFi when in reality it works just fine if you know the SSID.

some good news! It appears my assumption was correct and the cm10 WPA_supplicant and wpa_cli are NOT required to maintain tethering fix.. As far as I can tell. This means you need to only replace hostapd and the hostap_cli binaries to get tethering working.... WITHOUT borking WiFi! I'll try to get an updated zip out there asap but all you have to do is remove both wpa* binaries from cowboys zip above, and you're golden for functioning BT and WiFi tethering! This is excellent news indeed
[HTC Amaze 4G] ichefae85:
I will try that out and let you know if it works
[HTC Amaze 4G] ericdjobs:
Vf

I have to ask, have you tried to connect manually?

The WPA_supplicant and WPA_CLI that I used from cm10 to get tethering to work seem to have an issue with actually scanning and showing any wifi

. but it still works great for me if i enter it manually

You known what though, we might not even need 10's supplicant and WPA_CLI... I copied them over along with hostapd and the host ap cli binary in a "shotgun" idea to get things working.. I should try just using the two host APD binaries and see what happens, I'll report back

So good news.. The WPA binaries are NOT needed to fix tethering... So attached is an updated dip that contains the WiFi tether and Bluetooth fix as well as the original cm10.1 WPA* binaries.. So not only will it fix both issues.. It will clear up any WiFi problems from flashing the previous zips.. This should give us both fixes and no negatives.. Things are looking good

Oops that zip didn't work, must've been the archiver I used... Will try again

Sorry about dbk post literally in the middle of nowhere outside working ;)
[HTC Amaze 4G] e-buch:
I can't even turn WiFi on..
[HTC Amaze 4G] ichefae85:
WiFi connected no problem by manually entering the ssid. Thank you
[HTC Amaze 4G] F9zSlavik:
Wifi is working you just have to manually connect to a local wifi.
[HTC Amaze 4G] e-buch:
I guess I need a clean install..
[HTC Amaze 4G] gogjhan:
Try Vplayer from play store it is the best for me in for aosp roms. the other ones are laggy. the original one also. you'll not have any problems with this player.
[HTC Amaze 4G] Ventus_zx:
System Ui stopped?

And the lockscreen of death?
[HTC Amaze 4G] e-buch:
clean install of the latest build fixed all issues with wifi
[HTC Amaze 4G] bruner1981:
Is anyone else having problems with not getting notifications about received texts?
[HTC Amaze 4G] :
I'm using build2 on 4/2, and can verify wifi behavior is normal and bt works. Great job!
[HTC Amaze 4G] HORiZUN:
Your wife is behaving normally? That's a good thing lol jk. Wifi works. Got it.
[HTC Amaze 4G] :
Lol... Spell correction strikes again...
[HTC Amaze 4G] chevycowboyusa:
NEW flashable zip

Here's the edited flashable zip for the BT Fix and Wifi tether (flash through recovery)

http://tinyw.in/QU3z

I removed the wpa_* stuff

Still trying it on the sense 4.0 roms with no luck :(
[HTC Amaze 4G] bos2333:
This is awesome, good work guys. Maybe now sports can incorporate all the fixes and maybe get some official CM support!
[HTC Amaze 4G] edwill44:
Excellent job to everyone involved. The only thing I have is that I cannot encrypt the phone. Our exchange server requires it. Any ideas?

EDIT: nvm, 10.1 doesn't support it. Oh well, back to sense then.
[HTC Amaze 4G] 99piotrek:
Does BT work for both audio and calls?

Can anybody give proper order of flashing to get everything works?

Thanks!

Edit: does BT fix work for all JB roms or just for CM?
[HTC Amaze 4G] bhtm:
Went to copy this to sdcard via USB and got a reboot when enabling storage. Using april 5th CM 10.1 ROM from sportstar89 goo.im space.

Any logs or such I can provide to help out? After reboot, USB storage was ok, and copied file fine. flashing blue tooth and wifi teher now fix now.
[HTC Amaze 4G] chevycowboyusa:
Great Work

Great work ericdjobs!!!

It's great having a community of people who aren't afraid to play with stuff!!! :)
[HTC Amaze 4G] bhtm:
Can confirm BT Wifi tether fix working with CM 10.1 5-apr-2013 build on my Telus Amaze (S-ON, HTC Dev unlock only). I don't have the new radio from last week, so quite happy this patch works on the ...15D radio too.
[HTC Amaze 4G] GuyInDogSuit:
ROM updates don't require a full wipe, just cache and davlik cache before flashing the update to be safe; all apps are untouched, nothing else is needed. Going from one ROM to a different one, however, such as from stock to ParanoidAndroid, DOES require a full wipe, and thus a Gapps install as well.

1, Maybe because like me, and many others, he doesn't actually use NFC?

2, Not that I know of, but check the Security section of Settings. I have mine set to unlock by pressing any soft key, but only once I turn on the screen.

On another note, I am having these issues:

-Video recording and playback doesn't seem to work on any quality setting. 720p and 1080p seem to record fine, but not even an external app can play the videos. 480p causes parallel lines of color in the viewfinder, and playback fails as well. Odd thing is, in the gallery, there IS a preview of the video, but again, fails to play.

-USB mounting only allows access to internal card. Works fine in 4ext Recovery. I don't know why.

-Call volumes do not seem to have improved at all. Notifications sound distorted at max volume. Music is still skipping occasionally, and I've even heard a ringtone do it too.

-Battery power is not the best. Seems worse than CM10 some days. Other days it lasts me all day just fine. I mainly text and check email unless I'm at home.

Positive feedback:

-GPS is working much better than it was on CM10. Connects instantly and no more of that "searching for GPS...." crap.

-ROM is fast as hell and so sexy and smooth. I freakin' LOVE my Amaze!

-Love the new Dream and cLock features, makes me want to get a dock or small Android-friendly boombox for my bedside.

P.S. I have attached a zipped catlog, as a result of this process: Record video, check result, switch settings, record again, check result, etc.
[HTC Amaze 4G] windcan:
Wallpaper photo keeps getting lost and have to re select. Not huge problem but seems odd why this happens.
[HTC Amaze 4G] o_jake:
This happens to me too... Not sure why. Its not a huge deal, but its a little annoying.
[HTC Amaze 4G] dthomp01:
For me anyway the wallpaper loss is tied to the System UI crashes.
[HTC Amaze 4G] GuyInDogSuit:
I'm not getting these System UI crashes or lost wallpapers, thank the flying spaghetti monster.

How and what data did you guys restore? That could be linked to the crashes.
[HTC Amaze 4G] windcan:
Started with clean install of 10.1 for me. Used titanium to restore apps not system data...
[HTC Amaze 4G] :
I'm on the second build of 4/2, and only 480p doesn't work.
[HTC Amaze 4G] dthomp01:
I didn't restore any apps, all fresh installs over a full wipe including internal SD. System UI crashes follow rotation and video recording.
[HTC Amaze 4G] F9zSlavik:
I'm getting UI errors. Not constantly but randomly. Random reboots. Music severely skips!

All bearable so long as BT call works. lol
[HTC Amaze 4G] brianbmb:
Not sure if this will help or not, but I am on the 4/5 version of 10.1 with the WiFi/BT Fix from ChevyCowboy and everything seems to be working. I have not attempted to pair or connect with a bluetooth device to confirm if it works properly or not.

Did a clean wipe and install through 4EXT recovery.

1. Wipe data / factory reset

2. Wipe dalvik + cache

3. Wipe battery stats

4. Flash ROM

5. Flash GApps

6. Flash WiFi/BT fix.

No UI issues or random reboots for me as of posting. Video records just fine even in 1080p but will not play back through the Gallery player. I have MX Player installed and it plays just fine through that.
[HTC Amaze 4G] HORiZUN:
Seems quite promising :) I'm flashing as soon as I leave work! Goodbye, CM10! It's been a great ride with the Amaze. So many talented people showing the device so much love. I would like a new phone, but with development support like this, I just can't let this thing go. So glad I bought this and not the galaxy s 2.
[HTC Amaze 4G] waver21:
I doubt that though amaze is amazing device bt still s2 has far more suport and devlopmnt.......if we had only got the jelly bean update it would have been quite different story for our amazing AMAZE. !! :(

bt still thankz to guyz like eclipse and sportstar and many other dev our amaze got some awesom roms !!
[HTC Amaze 4G] GuyInDogSuit:
I don't think it would have mattered. The devs would still have worked on the Amaze regardless of official updates. A lot of "old" devices are still getting development. It just depends on the time and effort devs are willing to put into it.
[HTC Amaze 4G] gogjhan:
I used it for several days, can say amazing rom , fast, stable. Thanks for work, only bugs i notices are

system ui crashes, random reboots, external sd card mounting to pc, and playback of recorded video ( using Vplayer- no problems) .
[HTC Amaze 4G] HORiZUN:
So that means all bluetooth and speakerphone issues are resolved??!
[HTC Amaze 4G] ichefae85:
Seems to be I haven't tried a bt headset yet but my bt speaker that has speakerphone functionality works perfect.
[HTC Amaze 4G] ezdi:
Even on CM10, the wake with volume key setting took me a while to find.

I'm not on 10.1 yet, but http://xdaforums.com/showthread.php?t=850464 worked for me on 10.0. I use it to remap camcorder to power and enable the wake signal.

My power button is sometimes flakey and I'm paranoid about losing my power button since my nexus one days. I use the power button A LOT because my touch screen likes to go crazy, just like my nexus one used to and I have to turn the screen off and back on again to get it working. At least this way it will wear out an unimportant button.
[HTC Amaze 4G] HORiZUN:
I used the same zip to enable side unlocking. Says it works fine on CM10.1
[HTC Amaze 4G] SnapplerX:
Using Vplayer slows down the videos for me
[HTC Amaze 4G] bhtm:
Any one having non headset phone issues? My sound cuts in and out or garbled. Headset wired or Bluetooth is working fine. Speaker phone fine. Boring old phone is hooped.

---------- Post added at 04:29 PM ---------- Previous post was at 03:57 PM ----------

Anyone able to play music using Apollo include in this ROM? Apollo found all my files. But will not play them. Google play music and power amp work fine.
[HTC Amaze 4G] dthomp01:
Apollo working fine here since 04/01 and today with 04/05.
[HTC Amaze 4G] lifeisfun:
Thanks,

I had N1 as well :)

Where is the volume button enable on cm10?
[HTC Amaze 4G] oophlamer:
Thanks, I almost spit my coffee.

So far, no reboots, Bluetooth call audio and music are working normally.

Build 4/05 with the bt/WiFi fix.

May His noodley appendage allow continued success.
[HTC Amaze 4G] GuyInDogSuit:
Indeed.

Wired headseat here, person on the other end can barely hear me with it. I think it's just the headset though. Speaker's still kinda quiet.

I'm still having issues with ext-SD mounting. I'm going to get a catlog of it next time I connect to USB.
[HTC Amaze 4G] newamaze:
Hi guys I was looking for the Wifi/BT fix link, but i cannot find it in the forum, can someone help?
[HTC Amaze 4G] fubag:
lol its like 3 pages back bro
[HTC Amaze 4G] tube517:
http://xdaforums.com/showpost.php?p=40036297&postcount=224

Bookmark it.
[HTC Amaze 4G] blast0id:
always bad form to reference pages, as there are many different forum view settings, so one page to one person could be 5 or 10 pages to another... always reference the actual post # if possible...
[HTC Amaze 4G] zPacKRat:
Right, should have told him to use the search function! :)
[HTC Amaze 4G] bos2333:
Getting the pesky black screens of death again when waking up that we were getting on cm10. Any ideas?
[HTC Amaze 4G] blast0id:
I prefer no post at all to one just telling someone to use the search... I save those kinds of posts for people that are being rude...
[HTC Amaze 4G] tnkrer:
cant download from goo.im :(

Also I have searched but have not found any definitive answer to "if there is anything different that needs to be done to move from ICS ROM to JB ROM" So I am going to flash this ROM on my viper ROM (on S-Off phone with 4ext after wiping) once goo allows me to download 0405 version. If that is not a correct assumption, can someone point me to the correct procedure?

Thanks

eta (Thanks realitysconcierge)
[HTC Amaze 4G] realitysconcierge:
I haven't had any issues or done anything special going back and forth between ics and jb :)
[HTC Amaze 4G] zPacKRat:
You should spend more time learning, but since that's out of reach for so many these days I'll toss you a bone. Your on a sense rom now and want to go to a aosp rom, you should backup your data, perform a full wipe before installing CM 10.1 and selectively restore your apps/data

oh and spend some time reading and learning so we can take off your training wheels some day, this is after all a developers site which we are lucky enough to be allowed membership.
[HTC Amaze 4G] tnkrer:
goo recovered and I got the download.

installed CM 10.1 and now on to installing all my apps. Will report any issues/successes ...

(eta) - Thanks UndeadSquirrel. Everythings looking good so far. Battery has drained in 4-5 hours, but then the screen was on for most of that time and I was downloading all the apps.

HD widgets are working well .. They were having some problems on viper ROM.
[HTC Amaze 4G] oophlamer:
2nd Day Running the Bluetooth Fix

Clean install with gapps and fix...paired my phone to my truck and call audio works well. Same goes for my Motorola headset.

I've gone through every app (again, clean install + gapps, so about 20 apps) and played with the settings, made sure that everything worked correctly & here's what I got:

Panorama photos are a little sketchy with some artifacting in the gallery.

I can't adjust the focus on the camcorder prior to, or during recording.

PC is able to see photos in the DCIM folder on the SD card but nothing else when USB storage is mounted...this is odd because it shows up inside the supposedly unused ext-SD folder.

Also, is there a way to hide album covers from the gallery?
[HTC Amaze 4G] GuyInDogSuit:
Settings > Performance > CPU, set your min CPU clock to 384 or higher.

If you're already on ICS then all you need to do is a full wipe before flashing.

Create a file named .nomedia in the folder with the album covers. Or copy one from another folder.
[HTC Amaze 4G] xupthree60:
I noticed our camera doesn't have the photosphere, if I flash the apk of the 4.2 camera will it have photosphere or does our phone not support it?
[HTC Amaze 4G] oophlamer:
The .nomedia trick also hides music from the player. Any other thoughts?

Also, Wi-Fi tether is working...it would hang at authenticating, but forgetting the connection and reconnecting seemed to solve that.
[HTC Amaze 4G] fubag:
so when's the next awesome compiled update coming out?
[HTC Amaze 4G] sartau87:
Loving It.

Running 10.1 for the day, and I got to say it's looking great. No reboots outside of the initial bluetooth "on" restart. BT working with Rocketfish Headset. I did notice the video playback issue someone expressed earlier and how it's not working. Overall everything is fantastic, will continue running as daily driver.
[HTC Amaze 4G] bos2333:
Yeah I've done that from the beginning, not sure what's going on.
[HTC Amaze 4G] GuyInDogSuit:
Ummm.... lemme check, I think the gallery might have an option for it. Actually, what music player are you using? The art is stored in the same folder as the music?

EDIT: Nope, no option to hide certain galleries. There're free apps to do it. Sorry I can't be more help.
[HTC Amaze 4G] oophlamer:
No worries...Thanks for checking
[HTC Amaze 4G] dthomp01:
Correct me if I'm wrong , but that's a Nexus feature unlocked by a build prop phone model setting. You already have the 4.2 camera as part if this 4.2.2 ROM.
[HTC Amaze 4G] 99piotrek:
Does it have good battery life?
[HTC Amaze 4G] SuperAfnan:
Not so much. Hopefully in the next update because they're working on getting Bluetooth working.
[HTC Amaze 4G] tnkrer:
After changing a setting for Wifi and changing apps to not use data in background, I have gotten good battery usage today. However, my phone usage is not typical. I checked email and listened to songs on the phone for 30 min out of the 5 hours. and 5 minutes on a phone conversation. Also data was off for those 5 hours. (I manually turn off data when wifi is available.) Screen was at 20%. With similar usage pattern, I used to get 3 to 4% drop an hour on nrgz rom. So I am happy with this.
[HTC Amaze 4G] Brooklyn8807:
i found how to recreate the systemUI FC. key beyboard needs to be up and it happends to me in Gtalk and Messages, its happen to me once or twice in the camera menus but no so much. i cant ADB catlog right now so if someonce can catlog that, it would be awesome. :)
[HTC Amaze 4G] blast0id:
there are apps that can show you the catlog... no need for adb just to pull catlog... only if you want to filter...
[HTC Amaze 4G] :
I just had a systemUI crash.

When the device recovered, back to stock wallpaper.

Looks like a pmem allocation issue.

Logcat attached. ..

Edit:

Looks like Albinoman ran into this on the Sensation forum with his build.

http://xdaforums.com/showpost.php?p=38617177&postcount=5181
[HTC Amaze 4G] xupthree60:
I know I have the 4.2 camera, but photo sphere is missing. If you flash the 4.2 camera to any phone running 4.1 you get photosphere, I'm just wondering why its missing from our camera, and how to get it.
[HTC Amaze 4G] gbgadgets:
Sportsstar89

I am trying to build cm10.1 using your local_manifest, and am getting the following error:

build/core/base_rules.mk:130: *** device/htc/ruby/bluetooth: MODULE.TARGET.SHARED_LIBRARIES.libbt-vendor already defined by device/common/libbt. Stop.

Is there any chance you have uncommitted changes to the device repo to resolve this, and the git clone is just not seeing it? Or perhaps the repo sync of the base cm10.1 device/common files are newer/different than whatever you build from. Maybe I have some other issue somewhere else causing this. Any help you could provide would be great.

Just trying to get a bootable build that matches what you have provided so that I can start messing with things here and there. I would love to see something moving on the audio stuff. I tried a ton of different stuff on the cm10 build, and nothing seemed to make an impact for audio.

Also, any ideas on where things are heading for making the build official for cm10.1 nightlies? Any help I can provide to for that, I willingly volunteer some time.

Thanks.
[HTC Amaze 4G] mijoja:
Flashing this worked for me. It adds a second camera and gallery, but photo sphere works. http://d-h.st/2zj
[HTC Amaze 4G] vinniej:
And if you want to get rid of the "original" gallery, you can mount /system and go to the /system/app directory and delete (or rename) GoogleGallery.apk to GoogleGallery.apk.old (in case you'd like to restore it someday)
[HTC Amaze 4G] :
rm -rf device/common/libbt
[HTC Amaze 4G] GuyInDogSuit:
I also have the Nexus 4 camera and keyboard zips in my sig, but this is good since it's just the camera.
[HTC Amaze 4G] yo2boy:
CyanogenMod 10.1 M3 got released today. Looking forward to running a build based off of it on the Amaze ;)