yashsingh1/xdaforums huggingface dataset:
[HTC Amaze 4G] dcacklam:
You have to turn on the rfkill bit before BT will work.

look through /sys/class/rfkill/

There should be 3 subdirectories. 2 are BT, one is WiFi.

The default version of /init.ruby.rc only enables ONE of the 2 bluetooth RFKILLs. It needs to have BOTH of them enabled for BT to work.

---------- Post added at 12:21 PM ---------- Previous post was at 12:19 PM ----------

That's because my boot.img has the updated init.ruby.rc, with this code:

Note: In order for this to work, the wifi kernel modules have to load definitively AFTER bluetooth does. If wifi loads FIRST or IN BETWEEN then the rfkills will be numbered differently, and the script won't work...

---------- Post added at 12:35 PM ---------- Previous post was at 12:21 PM ----------

BTW, I've been dead-to-the-world sick for the past 4 days, just coming 'round the corner on the worst cold/flu/whatever I've had in YEARS...
[HTC Amaze 4G] jkozan:
I feel your pain just getting over it myself, just been looking for a camera fix (I miss being able to focus with the hardware button) does anyone think something like this might help to use the TMO or Sence camera? http://www.modaco.com/topic/305352-27may-r2-desire-camera-application-on-nexus-one-mcrcmenomther/
[HTC Amaze 4G] :
I had it too but thanks man I was wondering what was going on
[HTC Amaze 4G] :
Here is an apns-conf.xml file that has the corrected entries for T-Mobile mms.

Also, here is a media_profiles.xml that allows 1080p recording with stock cm10 camera (maybe others too.) However, can't seem to play the file back.... could be a missing lib somewhere... This was not my work. I found this, but can't remember where.... :(
[HTC Amaze 4G] dekips:
Bluetooth works

I have working Bluetooth on latest nightly. 20130106. For some reason when I turned off the bluetooth while it was connected to my car, it reset. I didn't have logcat recording going so I'll keep it going now to see what happened. I did nothing but do a fresh install of CM via 4ext and I'm S-Off.

I know the Bluetooth is a huge step and I thank dev's behind it all. Even to have the possbility of Cyanogen, muchless CM10, is fantastic for such an orphaned device :D.

Thanks again
[HTC Amaze 4G] bos2333:
You have working Bluetooth phone calls with audio?
[HTC Amaze 4G] iKilla:
My battery life.. reasonable Lol.. I been using WiFi all day mostly to check instagram and Facebook because I'm addicted and also sent almost 400 text message today played Ingress for about 30 mins.. took about 50 pics.. Lol NOT BAD at all lol
[HTC Amaze 4G] KT-82166:
Build and kernel please. I'm not so lucky. Im only getting 6 hours. Maybe because im using HSPA and not Wifi
[HTC Amaze 4G] x3demond3x:
Bluetooth in call audio is still not working. When you make a call you can't hear people talking and for them to hear you talking you have to switch audio from bluetooth to headset earpiece .
[HTC Amaze 4G] seansk:
want to thank all the dev's and people who contribute here first of all....I don't have logcats at this point, but wanted to point out things that are still buggy...

as you know camera, and speaker phone is till buggy, I havn't tried bluetooth yet, I usually use speakerphone in my car...

KDH gapps work very well, except the camera. the camera was not working well with the regular gapps either, focusing is a major problem for this camera and software combined together...i don't know if this will ever be completely fixed...my dad has the amaze, and the original sense camera app is just perfect and focuses very very well in every aspect...battery levels are very very good with the use of juice defender, I almost get 2 days with light use, which is unheard of with this phone...

overall the KDH gapps are much better, for example the gallery is much better and actually shows my picassa albums. and is much more user friendly with more features...gmail on KDH is much better with full screen and pinch to zoom...calendar is supposed to be different but I have no idea how...I don't use the calendar that much...KDH also provides the original launcher which seems to be smoother than trebuchet launcher...

besides that stuff, I don't know if there's a way to enable camera button in lockscreen to wake up the phone to the camera, i wonder if we'll ever be able to gain the functinality of these buttons fully as they have in the sense rom, such as holding the camera button half way to focus...or waking up the phone with camera or camcorder button etc etc...

camcorder button is completely nonfucntional, and this is probably due to the actual rom not supporting such a button..

more on the camera, while recording or taking pictures the camera does not auto focus...in camera mode you can tap the screen to focus, but closer objects are very hard to focus on....the camcorder mode, its impossible to focus...if the camera was initually focused on something close, switching to camcorder keeps the focus on closer objects and everything is blurry...

I'm not expecting these to be fixed...heck we're lucky we even got CM

I will update more as I play around with things more...

P.S. the echo is mostly gone but sometimes reappears according to my GF...
[HTC Amaze 4G] iKilla:
Also I'm using anker battery..
[HTC Amaze 4G] dekips:
I have not tried a phone call but streaming slacker radio worked without a hitch. I understand BT might be jacked with phone calls but getting the BT drivers to load is a great start. I imagine once the audio routing is figured out it will be perfect. :)

Battery life has been great, hammered it with 2hours of screen on and restoring of 40 apps and still have 40 percent.

Sent from my Amaze 4G
[HTC Amaze 4G] HumpDdumpD:
You know there's a "Bugs/Discussion" thread specifically for this. http://xdaforums.com/showthread.php?t=2030228 :)
[HTC Amaze 4G] pdcrzylazy:
To get the camcorder button to work, you need to add button 248 to the file

Ruby-keypad.kl in system/user/keylayout.

This thread gives more detail as to what you can set the button to do.

http://xdaforums.com/showthread.php?t=850464
[HTC Amaze 4G] jkozan:
Just checked it is already there I believe that it has more to do with the CM10 not knowing what to do with it, but I am not a dev so not sure.
[HTC Amaze 4G] dcacklam:
I've had that since last week, however I have yet to identify the specific files that 'do the trick', as it is a mix between my kernel build, the libs/etc-files, and possibly the 918 bluetooth.apk

Also, I left my phone home today... So I can't really test...

I could upload the zip of the 'big mess-o-files' that, when unzipped & permission-fixed, in addition to my kernel build AND the 918 Bluetooth.apk, gave me working BT calling...

But it's a big zip.....

---------- Post added at 08:08 AM ---------- Previous post was at 08:06 AM ----------

The key-functionality for Sense camera behavior is part of the Sense camera app.

Even on 'stock-based' ROMs.

For example, if you put the AOSP camera app on SpeedRom, you would loose the 'fancy' hardware-key behavior.
[HTC Amaze 4G] SpiritFyre:
dc thats a huge step in the right direction :)

Sent from my Amaze 4G using Xparent ICS Tapatalk 2
[HTC Amaze 4G] chevycowboyusa:
Zippity zip zip zip

I would download a big zip for that!!!!!

Thanks!!!!
[HTC Amaze 4G] HumpDdumpD:
+1
[HTC Amaze 4G] SpiritFyre:
+2

Sent from my Amaze 4G using Xparent ICS Tapatalk 2
[HTC Amaze 4G] dcacklam:
Zip of files to replace for BT Calling

In combination with my kernel, the contents of this zip should produce working BT calling.

Yes, it's flashable.

1) Flash working CM, reboot (unless you are already here, in which case start at (2))

2) Flash Mk4 kernel, reboot

3) Flash this zip

This also contains, AFIK, a full set of all the 'missing' shared libs....

(ETA: ZIP did not work, error in the script)

NOTE: UNTESTED. I do not have my phone with me.

I know I can make BT calling work, I am just presently trying to find the config that will 'do it' - if I had kept better track of what I 'did to' the phone, I'd have a specific fix already....

Oh, that zip may also help with video a bit, due to the missing-libs part....
[HTC Amaze 4G] wolf_7669:
I'd rather have a little extra bloat and working BT for now. You rock good sir.
[HTC Amaze 4G] HumpDdumpD:
So I just got to looking at all the files in this directory & Generic.kl seems to skip, in listings the keys from key 226 to 256 could this be part to blame for the camera buttons not registering correctly?

I know it's been said the buttons don't work on speed rom, but on speedrom 9 with the 4.2 camera installed I was able to use both camcorder & partial push to focus buttons...

Anyways I don't know how to input the info into this type of file. If anyone can coach me on this I will gladly be the guinea pig for the attempt.
[HTC Amaze 4G] vinniej:
And where would a user like myself find the aforementioned kernel? Yes I did search (honest!)
[HTC Amaze 4G] dcacklam:
Back a few pages in this thread.
[HTC Amaze 4G] vinniej:
Guess I didn't look hard enough...

http://xdaforums.com/showpost.php?p=36289273&postcount=2889
[HTC Amaze 4G] rbaruch:
Is camera broken in all CM10 ROMs or only the msm860 versions
[HTC Amaze 4G] EclipzeRemix:
no, the sgs3 has cm10 stable
[HTC Amaze 4G] :
Not sure really haven't looked in to it yet
[HTC Amaze 4G] eggydrums:
Mhm I thought it was cuz sports posted a picture of it working two pages back :confused:

Sent from my HTC Ruby using Xparent Green Tapatalk 2
[HTC Amaze 4G] :
Thats not an msm8660 device :)

It is in the tree I'm not sure if it is in ziggy's build but it should be
[HTC Amaze 4G] azcledel:
So from what I can tell wifi works for data, can get calls, can send sms, sound works, camera is broken, google play store won't work(installed it from an apk wouldn't open) no sync for google accounts but goddamn its pretty and smooth reverting back to nandriod backup. Keep up the good work guys
[HTC Amaze 4G] EclipzeRemix:
I thought he meant cm10 in general
[HTC Amaze 4G] eggydrums:
Thanks for info anybody tested ziggys build that can be confirm I'm running low on battery and can't flash now

Sent from my HTC Ruby using Xparent Green Tapatalk 2
[HTC Amaze 4G] rbaruch:
I'll test it when it finishes downloading in 5-8 minutes
[HTC Amaze 4G] ziggy46:
oops... when i read it i was thinking data. my bad :p

but yes gsm does work and phone calls and texts are confirmed.
[HTC Amaze 4G] eggydrums:
Why did I somehow know you thought it was data? Haha :D

Sent from my HTC Ruby using Xparent Green Tapatalk 2
[HTC Amaze 4G] rbaruch:
Wow this ROM is super fast, super sleep. I can say that hands down aosp jelly bean is the savior of the amaze 4g.

Led notifications work better than they have any Rom we've previously had.

Everything is buttery smooth and the new fonts look great on our qhd screen.

The camera also seems to be working, albeit the quality doesn't seem to be as good as on my previously installed sense Rom.

Google now also works, whereas in previous versions it would just close upon launch.

Soft keys light turn off after the period from inactivity.. Not sure if any sense Rom had this previously

I'll keep adding any more updates I come across in this post
[HTC Amaze 4G] jcjackjay:
i absolutely LOVE this Rom, except im having that common touch issue where youre typing and some of the keys become unresponsive for like 5 seconds :/
[HTC Amaze 4G] Perry977:
yes Ziggy what r u talking about...gsm was fixed years ago lol..hurry and fix the data soon!! :beer:
[HTC Amaze 4G] riprowan:
I've killed all 4 SSDs I've had. I've killed maybe 4 out of 40 HDDs I've had.
[HTC Amaze 4G] EclipzeRemix:
come on guys, once you guys make it stable ill do my part and make it sleak and pretty :3
[HTC Amaze 4G] eggydrums:
Mother of god... I never want to go back!! This Is just epic!! :D TEAM NIGHTMARE FTW!!!
[HTC Amaze 4G] GuyInDogSuit:
I ain't touchin' this until camera, data and GPS are working since I use those all the time. It's SpeedROM for me for now.
[HTC Amaze 4G] :
Camera works, data semi works, unfortunately I have not looked in to gps
[HTC Amaze 4G] :
Its cause were using the sensation camera HAL because the amaze one requires a lot of hacking and they did not provide the source for the camera Hal but they don't have too
[HTC Amaze 4G] wolf_7669:
Already on CM so I Installed kernel, rebooted, tried to install zip and it error-ed out (status 6) install aborted.
[HTC Amaze 4G] ziggy46:
then the zip either has incompatible compression or is corrupt... are you sure the zip is supposed to be flashable?
[HTC Amaze 4G] dcacklam:
Try this one:

(Taken down due to issues)
[HTC Amaze 4G] dcacklam:
I'm trying to make them flashable, ziggy...

I've only had 1 flashable zip turn out right tho, so it's hit or miss... Maybe you would know how to fix it...

The actual updater script is pretty basic - it just copies /system and sets some perms....
[HTC Amaze 4G] vinniej:
Your second posted file flashes for me, but bluetooth locks up when attempting to turn on. It eventually times out and turns off. (mk4 kernel dated Wed Jan2 08:54:27 PST 2013) Anyone else seeing this to confirm?

EDIT - And Wifi is unhappy now. Stuck at "Connecting" and "Obtaining IP address".
[HTC Amaze 4G] wolf_7669:
Same here. Trying to post a logcat but the catlog app just sits at loading screen.

dcacklam - what build of CM are you running? I'll try it again with the same one your running.
[HTC Amaze 4G] dcacklam:
I don't have my phone with me right now (left it at home this morning)...

So I'm going to pull these ZIPs down until I figure out what changed...

It's probably a permissions thing with the /system/etc/init.d/01bluetooth script
[HTC Amaze 4G] wolf_7669:
It's probably not the same permissions you're talking about, but I did try a fix permissions and even wiped davik & cache for S&Gs, but still nada.
[HTC Amaze 4G] elmerohueso:
I know the new kernel has some tweaks to increase battery life, but I'm getting worse battery life with the newest unofficial build + the new kernel than I did with the 12-27-12 unofficial build without the new kernel. Anyone else seeing the same?
[HTC Amaze 4G] rfunderburk39:
I just purchased a MHL adapter, but when I use it my video is 90 degrees off, when output to the tv. Is there a setting to rotate the launcher & video? Thanks.
[HTC Amaze 4G] rfunderburk39:
In the past when making flashable zips I've had better luck with 7z and spotty luck with others such as winrar (my personal favorite). Unless your using some other OS, then my advice should be of no help.
[HTC Amaze 4G] ziggy46:
here is a revised version of the zip for dcacklam. http://d-h.st/h0S

it should flash fine, although i am not sure if the proper permissions are set in the script. i did clean the one that werent needed up. i also took and used a universal busybox command to mount the system in the script. (saves from needing partition #'s)
[HTC Amaze 4G] yo2boy:
Not that I know of. My output only messes up on certain games that force a one-side view. 99% of the time it's always the same orientation as the phone screen. Another thing to add on is that there's a noticeable drop in frame rate when using MHL.
[HTC Amaze 4G] wolf_7669:
This one aborts install like dcacklam's first zip did.
[HTC Amaze 4G] :
Seems to be an issue with CM10 builds in general....

http://xdaforums.com/showpost.php?p=31505136&postcount=132
[HTC Amaze 4G] ziggy46:
really? thats unusual... i think i know what it may have forgotten though. it might be the update binary. it cant be the zip itself though because i repacked it with the right compression and modified the updater script (they werent wrong to begin with, i just cleaned it up)
[HTC Amaze 4G] rfunderburk39:
Think I'm going to use another ROM for mhl until further notice. Then jump to CM10 for daily use
[HTC Amaze 4G] Shadow Samurai:
Wow! Amazing ROM guys. Thanks a lot! Multi touch working good as well!! Yeah!!!

Sent from my Energized HTC Amaze!
[HTC Amaze 4G] yo2boy:
Yes, forgot to mention that I was using the Stock ROM instead of CM10.
[HTC Amaze 4G] wolf_7669:
Was it his first or second zip you modded? The second installed fine, it just killed BT & WiFi.
[HTC Amaze 4G] GuyInDogSuit:
I thought his kernel was working?
[HTC Amaze 4G] Shadow Samurai:
I can confirm the orientation issue as well. When I played a video i just recorded it worked fine in landscape but portrait was all screwed up.

Sent from my Energized HTC Amaze!
[HTC Amaze 4G] vinniej:
The kernel works, I believe there were issues with the permissions of the files he zipped. I was able to flash the files he had posted but similar to wolf, it did not work.
[HTC Amaze 4G] KT-82166:
My Bluetooth audio is working. I used the zip that Ziggy posted. I unzipped it and Cm10, then I merged them(System folder only), then I rezipped files with 7zip. Then I flashed it.
[HTC Amaze 4G] dcacklam:
Working ZIP - DELETE THE OLD ONE

Delete the old zip (and the ziggyversion). It has some files in it that screw up networking, that are not needed for the 'fix'.

This one works.

It has been tested on my phone, and it (A) does flash, and (B) does not bork BT/WiFi/root/etc...

Tell me if BT CALL AUDIO (not A2DP music, but in-call voice) works...

Features of this zip:

1) Fix Bluetooth Config

2) Add missing library files, to potentially correct media playback issues.
[HTC Amaze 4G] elmerohueso:
Does this contain the kernel, or just the libs? Does it require a specific UNOFFICIAL build (I'm still running 12-27 as it gave me better battery life)?
[HTC Amaze 4G] vinniej:
I know it does not contain the kernel. I posted the link to the kernel yesterday. And as long as you are using UNOFFICIAL builds, you are all good (correct me if I'm wrong dc).

EDIT: I flashed mk4 kernel on 20121226-UNOFFICIAL, rebooted (took a while to reboot), rebooted to recovery, installed the BTFix-and-missing-libs above and my phone is still alive. I just need a headset to test calls (left at home). Wifi not borked. Will report on calls later. Thx dc for the fix to this point.

EDIT #2: Tried to pair with my laptop, but it does not pair. The laptop sees the Amaze, and the Amaze sees the laptop. I know...This is an audio BT fix.
[HTC Amaze 4G] mewzik86:
Port Fm radio app from fxp team

Hey guys, I know the focus is on bluetooth calls right now, but I have tried porting the fm radio app from the cm10 build by team fxp and i think there is a good chance to get it working. So far, I just get a blank white screen with FM radio at top. I can navigate the menus but I cant hear any audio. The app also recognises if I have the headphones pluged or not. Pressing back or trying to close the app gives me a warming in the logcat:

W/FmReceiver( 1986): Proxy not attached to service

To port the application, I copied:

fmapplication.apk from /system/app

com.ti.fm.fmreceiverif.xml from /system/etc/permissions

libfmrx.so, libfm_stack.so from /system/lib

fmrecieverif.jar from /system/framework

I am stuck here, but I hoping the more experience developers could lend a hand when they find the time.

Keep up the good work guys!
[HTC Amaze 4G] dcacklam:
The kernel is separate.

This zip is JUST the BT config/libs.

You can use any CM build (eg, incl the nightlies), so long as you flash the kernel zip (in 4ext, with smartflash on), after the chosen version of CM has been booted up at least once (eg, you can't flash a new CM and the kernel-zip in the same 4ext session, without rebooting inbetween).
[HTC Amaze 4G] soblecram:
does kernel need to be reflashed after nightly updates??

Just to be clear:

Flash CM10 (whatever version/nightly)

Reboot

Recovery - Flash Kernel

Reboot

Recovery - flast BT Fix

Reboot

and I should have BT Audio in call?

If so, you are my hero.
[HTC Amaze 4G] wolf_7669:
Confirmed BT call audio now works. Although the volume seems a bit low with my desk headset, but it could be the headset as it's the first time I've used it with the phone. I'll try it with my car later and report back on volume level.

My thanks again to you guys for bringing such a great rom to our orphaned phones.
[HTC Amaze 4G] dcacklam:
That's it.

Confirmed working by others in the Bugs thread, too...

USBFix is deprecated now, as I bundled that in with the Mk4 kernel.

---------- Post added at 01:21 PM ---------- Previous post was at 01:20 PM ----------

BT call audio has an adjustable volume on the phone as well as the BT-headset-side.

It's a separate volume slider on the phone, independent of the normal call audio volume.
[HTC Amaze 4G] GuyInDogSuit:
THAT, indeed, is the question. It's not clear whether Sport has merged Dave's kernel into his source or not. I flashed the 1/06 unofficial and I checked before flashing the kernel; it was not the "dirty dack" one, but rather Sports'. After flashing the kernel zip, it's '3.0.53-gbf2c710-dirty" by "dackl@virtuallinux.accessline.com #3." Now that I'm looking at it, though, I see that the build date is 12/26/12 for some reason. I could have sworn I updated it..... odd.
[HTC Amaze 4G] elmerohueso:
With they new kernel, has there been a fix found for overdriving the speakers on anything over 50% volume?
[HTC Amaze 4G] GuyInDogSuit:
Not yet.
[HTC Amaze 4G] kazzxtrismus:
Does this mean we can find **ANY** flavour of cm10 (say from another website /phone model etc)

**BUT** it MUST NOT have another kernel (for a different phone)??

example : kernel must be removed?

e-Sex.. All of the carpral none of the tunnel
[HTC Amaze 4G] ziggy46:
NOOO! lol

cm builds are specifically built for certain device hardware. if you took the sensations cm10, put his kernel in there, then flashed it. it wouldnt boot lol. (wouldnt even come close to booting)
[HTC Amaze 4G] GuyInDogSuit:
The kernel is integral to the ROM. It wouldn't boot without one. The kernel most ROMs come with are just the basic Linux kernel built around that particular device. You can flash a custom kernel over that, but it must be for that device.
[HTC Amaze 4G] dcacklam:
Any of the CM builds for this phone...

I *presumed* the for-this-phone part to be understood.

The point was that by flashing BOTH the kernel zip and the BTfix zip, the USB and Bluetooth fixes (plus my power optomizations, etc) will be applied to any CM Build...

A/O the situation with USBFix, where you had to have Sport's UNOFFICIAL, because it came with a version of my MK1 kernel config (to fix USB) & no kernel was bundled with USBFix....

SIMPLIFIED: You *must* have the MK4 kernel for BTFix to work. BUT you can run either UNOFFICIAL or NIGHTLY, and it will work, so long as you run MK4 as well.

---------- Post added at 04:33 PM ---------- Previous post was at 04:28 PM ----------

THIS.
[HTC Amaze 4G] dcacklam:
Try this (TPA2051 Amplifier Config update. Increases amp levels):
[HTC Amaze 4G] misfit61871:
I don't think you need to reboot after every flash, just flash all three in recovery then reboot, I've done it that way with no problems.
[HTC Amaze 4G] elmerohueso:
Still overdrives. A bit less, but still quite a bit of distortion at higher volumes.

---------- Post added at 06:58 PM ---------- Previous post was at 06:51 PM ----------

Governor in new kernel seems to be hard-coded to be ondemand. How can we change this? I'd like to use the conservative governor.
[HTC Amaze 4G] wolf_7669:
BT audio update: Made a few BT calls in the car and volumes seem normal. BT audio still working as well.
[HTC Amaze 4G] Mystery?:
hey dc is your kernel going to be included in the actual (atleast unofficial) CM builds in the future or would we always have to keep flashing it?
[HTC Amaze 4G] windcan:
After flashing kernel and bt file my wifi icon in status bar no longer highlights in blue when connected.

Will test bt in car in morning.

Thanks

Update: wifi icon in status bar now illuminates in blue when connected. Not sure why took 24 hours to do so.
[HTC Amaze 4G] zPacKRat:
I think the idea is to have the fixes committed to the CM official source at some point.
[HTC Amaze 4G] jimczyz:
After flashing both zips I got Bt audio working in calls. GREAT job!
[HTC Amaze 4G] soblecram:
Thank you sir. You have just saved my phone from being sold, as I returned to work this week , and required the BT to work properly, as it is $150 fine for not using handsfree device in our province.