yashsingh1/xdaforums huggingface dataset:
[HTC Amaze 4G] dcacklam:
This makes me think it's in Android, specifically whatever part of Android maps user actions (vol up, vol down for each audio-channel) to interface with the audio libs.

Since the audio libs we are using are the same across AOSP and HTC proprietary, they *can* work if called properly... Also, use of the audio code from HTC's own sources doesn't 'fix' the problem...

That leads me to believe that the audiomanager (or something in that realm) is adjusting the wrong values (specifically that it has call volume and mic gain swapped) and that the parts of the code that do the java-to-native calls for this are hard-coded, not configured in /etc.

Android does not use ALSA like a 'proper' Linux app would, but rather does it's own direct hardware calls. So the 'fix' for all this audio stuff is somewhere in the Android code, in terms of JNI calls to the HTC libs 'adjusting' the wrong things.
[HTC Amaze 4G] :
Hmm yes I agree in that terms but on vivid call volume was effed up on sense while using the common msm8660 kernel
[HTC Amaze 4G] Bling_Diggity:
OK,

I have removed files listed by DCacklam from his "BTFix-and-missing-libs.zip", except for "/system/etc/TPA*.CSV", none of which were present in the zip file. Going to test out my theory now. Here is the method I'm going to try:

1) Flash latest Unofficial build (2/17)

2) Reboot

3) Flash old Mass_Storage_fix.zip

4) Reboot

5) Flash modified BTFix-and-missing-libs.zip

6) Reboot

7) Flash Proximity fix (I get stuck on black screen after almost every call ends)

8) Reboot

9) Flash Sapps Aroma

10) Reboot

11) Profit? We shall see...

EDIT: Testing in process, trying to make a Nandroid backup with ~250 apps takes quite a while. Total Nandroid backup file size? Almost 3.9GB!!! Holy shenanigans that's huge. I'm glad 4ext lets us pick where to store the damn thing now, otherwise half my free space on internal SD would be gone.
[HTC Amaze 4G] :
if this works for working BT i'll be able to merge the proprietary files into the vendor
[HTC Amaze 4G] Bling_Diggity:
Well, I came back here about an hour ago to give an update, and my laptop locked up. I was already frustrated, so I made the mistake of slamming my fist down onto my laptop's keyboard. And now, my laptop's hard drive is toast. It won't even spin, all I get is a beeping sound, which is pretty much Seagate's way of saying "way to go dumbass".

Now, as far as the update goes:

1) Fixing the External SD mount-to-pc problem by flashing the old Mass_Storage_fix.zip did NOT work. In fact, it broke waaaay more than I imagined it could. Had to start with a full wipe and fresh install of 2/17-unofficial after that disaster. So for now, the only way to mount External SD to PC with 2/17-unofficial is via Recovery I guess.

EDIT: In the original update post I was working on, I had a logcat saved that I was going to include, but of course it was lost when my laptop died and I wiped and re-flashed my phone. But I do remember it saying VOLD could not find the two LUN files, although it seemed to be looking in the right place. Odd.

2) Fixing Bluetooth calls had mixed results by flashing my modified BTFix-and-missing-libs.zip. The good news is that calls work. I was successfully able to receive and send a call over Bluetooth in my car. The bad news is that the sound was crazy distorted. The person who had called me said he could hear and understand me fine - BUT I could not understand him because his voice was very distorted, and the volume was pretty low.

3) I ended up not needing to flash the "proximity fix", as I have yet to have black-screen-after-calls after flashing 2/17. Must've been fixed somewhere along the way.

4)Sapps Aroma is nice, but without Google Play included, it's pretty much useless. I'm going to attempt to update the KDH_Gapps myself when I get some time, and a working hard drive for my laptop. Hopefully the data is recoverable, otherwise this is really going to set me back. I only have about 5% of my files backed up online, and none of which are for the Amaze. :(
[HTC Amaze 4G] GuyInDogSuit:
What is this "Sapps Aroma" you speak of? The ViperROM add-on? I've tried updating/modifying KDH myself, but I could never get it to actually install ANY 4.2 apps except for the Clock and Keyboard, and even those were buggy as hell.

Sucks about your hard drive, I wish you luck in recovering it.
[HTC Amaze 4G] Bling_Diggity:
The 4.2 camera/gallery seems to work, although it definitely has some issues. Still, I like it much better than the awful 4.0/4.1 camera app.

And yes, I was looking at the Sapps Aroma Viper Add-on because I thought Cowboy built it as a KDH replacement. I now realize I misunderstood the purpose of it entirely - it serves simply as an add-on for stripped Sense apps.

I've been looking a lot lately at this thread. I tried to install the second zip file by Garner (the 11/11/12 version), but I'm getting Google Search FC's, and Wallet of course doesn't work either. I'm gonna try and modify his zip for our Amaze, I like it better than KDH's gapps, even with the Google Search problems.
[HTC Amaze 4G] chevycowboyusa:
I made the sapps aroma installer. It's all the sense apps that would not fit in viper SO i could post it on dev host.

They are mostly 4.0.4 sense 4.0 apps and extras.

---------- Post added at 09:01 PM ---------- Previous post was at 08:59 PM ----------

The updated KDH gapps are in my signature. They aren't as up to date any more. I got tired of flashing a ROM then having to waste date redownloading the same apps over and over again.
[HTC Amaze 4G] dcacklam:
Notes:

1) Prior to my eye-surgery, I had BTFix 'cleaned up' to the point where it did not break webkit but DID break video recording.

I see no reason why this would change...

2) My mass-storage fix REQUIRES the full-function USB-gadget driver included in my kernel.
[HTC Amaze 4G] :
Hey guys I am having a problem with my WiFi. My amaze is rooted running official cyanogenmod with correct gapps freshly installed twice now thinking it was my error but I still can't get wifi to work. It just says turning on but never turns on. Same goes with Bluetooth as well but it seems that is a known issue. I don't have s-off as well. Does anyone have a fix or solution to why my WiFi won't work? Thank you.
[HTC Amaze 4G] lamortcroix:
Back up and clean install.
[HTC Amaze 4G] :
As I said in my original post I did a clean install twice still WiFi and Bluetooth do not work on latest and previous nightlies. Anybody have any other solutions?
[HTC Amaze 4G] lamortcroix:
Ahh sorry. I didn't read still sleepy. Umm, did you have smart flash on or off. It could be that the new boot.img didn't flash.
[HTC Amaze 4G] fubag:
This will work with S-ON am I correct?

Also is there a calibration tool for the screen? And lastly any way to turn the buttons at the bottom light off? (i.e. home button etc?)

*Edit figured everything else expect screen calibration and g-sensor calibration
[HTC Amaze 4G] :
What's smart flash? Also do you have to write a new boot.IMG every time you flash a nightly?
[HTC Amaze 4G] dntipwn:
Smart flash is a option in 4ext recovery that allows S -On users to flash roms because most roms will not flash the boot. Img unless that's turned on.
[HTC Amaze 4G] GuyInDogSuit:
It's a feature in 4Ext Recovery. You have to enable it every time you flash a ROM unless you install the 4Ext Control App from Google Play and turn it on there.
[HTC Amaze 4G] iKilla:
The app is also located at 4ext.com
[HTC Amaze 4G] fubag:
i didnt have smart flash enabled and with S-ON CM10 is working fine =D
[HTC Amaze 4G] lamortcroix:
Well that depends which ROM you're coming from. Maybe your previous ROM(s) had an boot.img similar to the new one so nothing could break like wifi or bluetooth or any of those magic things.
[HTC Amaze 4G] fubag:
ya possibly...CM10 is great aside from the speakerphone volume issue..def appreciating the hard work from the developers!
[HTC Amaze 4G] fubag:
Just a stupid question,

but the Mk4 kernel, any reason its not included in the nightlies? I.e. its unstable or something?
[HTC Amaze 4G] zandgreen:
unofficial 2/7: report

Have been using 2/7 for several days. Here is a bug report:

1. no output in alogcat (logcat in terminal ok)

2. adb won't detect the device

3. once lost gsm signal and couldn't restore until reboot

4. suddenly couldn't activate wifi, had to reboot

5. many wakelocks (1046 in an hour) caused by "wl1271" when screen off, battery drain as a result

---------- Post added at 10:24 PM ---------- Previous post was at 10:22 PM ----------

had been causing video and other bugs, if i'm not mistaken
[HTC Amaze 4G] oktaycem:
Hi everyone ,

Which do you think is the best? and complete in nightly Roms ??

My English is not very good, sorry and , i can not read everything

Thanks for answer !
[HTC Amaze 4G] Shadow Samurai:
Don't mean to be annoying but when's the next update for this?

Sent from my Jelly Beaned HTC Amaze!
[HTC Amaze 4G] fubag:
considering its weekly nightly builds, id say tomorrow mate
[HTC Amaze 4G] :
What's there to update i haven't fixed anything and it's hard cause i don't have my Amaze anymore
[HTC Amaze 4G] GuyInDogSuit:
I didn't expect any updates from you soon considering you don't have your Amaze on hand all the time. Doesn't your sister or GF have it or something like that?

Either way, it seems that dcacklam is the only one who might have an idea how to fix the audio routing issues at this point, but let's not hold our breaths. Honestly, my only concern right now is figuring out why Maps takes forever 9/10 times to find the GPS, even with a clear sky and WiFi on. WTF!
[HTC Amaze 4G] fubag:
For 20130303 build:

1.) Some of the hardware buttons don't work, and not sure how to wake up device using the side video/camera buttons.

2.) Speaker volume is extremely low

3.) Camera panoroma app is buggy, and video as well. Sometimes get blacked screens during recording.

4.) Battery life needs some work, drains, but then again could be my stock crap battery.

Rest a-ok, runs smooth! :cyclops:
[HTC Amaze 4G] Shadow Samurai:
Aight. Sorry. Forgot. I haven't been on the forums lately

Sent from my Jelly Beaned HTC Amaze!
[HTC Amaze 4G] oktaycem:
Thanks.......:D
[HTC Amaze 4G] josegalre:
To use the buttons in video recording and capturing pictures To enable, disable the screen Be amended "ruby-keypad.kl" can go through my mod for more information and

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

Enviado desde mi Amaze 4G usando Tapatalk 2
[HTC Amaze 4G] fubag:
thanks jose!

any way to permanently shut off the menu/search hardware light keys on the bottom on this ROM?

*Edit: I'm on CM10Official 20130303 build. The button 248 fix didn't work. It still won't wake up pushing either of the video or camera buttons on the side.
[HTC Amaze 4G] sedrader:
You can use volume rocker wake in settings. Works just as well imo
[HTC Amaze 4G] josegalre:
try installing it from recovery

http://xdaforums.com/attachment.php?attachmentid=1773754&d=1362242823
[HTC Amaze 4G] fubag:
yup worked from recovery, thanks!
[HTC Amaze 4G] sedrader:
Any way to turn hardware key light off?
[HTC Amaze 4G] lamortcroix:
http://xdaforums.com/showthread.php?t=1584549

I recommend bookmarking it.

from my HTC_Amaze_4G using xda app-developers app
[HTC Amaze 4G] fubag:
that .sh handler doesnt exist in CM10 last time I checked...i.e. not every ROM has it?
[HTC Amaze 4G] EclipzeRemix:
Signal is broken because it always shows 2
[HTC Amaze 4G] eggydrums:
Broken signal bars? Mhm been using you build since yesterday no problems
[HTC Amaze 4G] fcpelayo:
How many signal bars do you have?
[HTC Amaze 4G] ifatalityx:
Ohh, I just thought all I had was a 2 bar connection. Honestly that not a big deal for me.
[HTC Amaze 4G] eggydrums:
Ah I see now :D yeah not a big deal but hope you can fix it!

Sent from my HTC Ruby using Xparent Green Tapatalk 2
[HTC Amaze 4G] bos2333:
This is so smooth...but the Play Store fails to connect to the server when trying to download any app
[HTC Amaze 4G] :
Wipe cache and dalvik and fix permissions btw guys my machine is producing borked builds for some reason so i have to re-install ubuntu
[HTC Amaze 4G] scrubsja:
Any possibility of pasting a jar file to get a data fix like in CM9?
[HTC Amaze 4G] bos2333:
I actually tried that before. I ended up clearing the Google framework services data...works now! Again this is super smooth
[HTC Amaze 4G] :
it actually works stock it does on cm9 too
[HTC Amaze 4G] Nirvana Rules:
Maybe asking these guys for advise, since the just got Data working on AOSP roms????

http://xdaforums.com/showthread.php?t=1832512
[HTC Amaze 4G] Migwickert:
Just installed, super smooth. "Billings not supported" with this version of market?

Anyone else see this?
[HTC Amaze 4G] scrubsja:
What do you mean sportstar? Data is not working for me and I don't see the camera app?
[HTC Amaze 4G] Migwickert:
Any suggestions on getting market working?
[HTC Amaze 4G] bos2333:
Manage apps, all apps, clear data for Google framework services and restart
[HTC Amaze 4G] Migwickert:
Not seeing it, labeled something else?
[HTC Amaze 4G] bos2333:
Settings/apps/all apps then scroll down to Google services framework, select it then clear data. You installed the jb Google apps after the Rom right?
[HTC Amaze 4G] jsergan:
Camera apps is working, it have wrong orientation for the fist pic, but then is ok.
[HTC Amaze 4G] scrubsja:
Where is the camera app? I don't see it anywhere?
[HTC Amaze 4G] Migwickert:
No luck with youtube, Google voice & g drive.
[HTC Amaze 4G] sedrader:
I thought the same thing, screen bleed can be quite annoying. Although on CM 10 the buttons turn off when watching videos thank the lord
[HTC Amaze 4G] fubag:
I use keyboard button light app from the play store: https://play.google.com/store/apps/details?id=com.deskangel.kblight&hl=en

It works but doesnt stick on reboot and I have to keep turning it on again with SuperUser permission granted.
[HTC Amaze 4G] sedrader:
THANK YOU
[HTC Amaze 4G] GuyInDogSuit:
There is a script in the dev section to turn them off entirely.

These are already known. Camera bugs are related to the 4.2 Camera app that some of us are using. For the most part it works fine, but don't report bugs for unsupported apps not included in the ROM. Battery life is possibly linked to kernel issues. Most of these problems, are, apparently, kernel-related. So possibly, our best bet is for someone to build a custom kernel.
[HTC Amaze 4G] fubag:
I'm not using the 4.2 camera app, this is for the app on the ROM. Anyways, ya kernel needs work.
[HTC Amaze 4G] Telek:
Sorry, I've tried searching but I'm not sure that what I've found is accurate.

I'm looking at the ROMs from the get.cm/ruby page and I'm wondering if there is a cumulative "readme" showing the current known bugs and workarounds. I can find a lot of people talking about known bugs, but no comprehensive list.

I was on SportsStar's UNOFFICIAL builds but apparently he deleted that page entirely as his collection appears to be gone. Last time I tried the nightly build (0210) it was a disaster. Are the newer ones better?

My phone is running ok on the UNOFFICIAL-0207 but GPS cuts out frequently for no reason, occasionally requiring a reboot to get it back. Additionally the phone frequently fails to load data with "No data connection" errors, even though it has had it the entire time, and a retry loads it no problem.

I'm also curious about the radio, on my boot loader page it shows Open ADSP v02.6.0.2226.00.0202 - is this correct? I can't find any information on what radio these nightly builds are supposed to use.

Thanks in advance!
[HTC Amaze 4G] dcacklam:
.sh = linux bourne shell script...

Every ROM can run them.

However, not every ROM has the init.d process, to run the .sh scripts in /system/etc/init.d/ on boot.

However, CM10 *DOES* support this.

I used the functionality in my kernel/fixes, extensively.

If you really hate the button-lights, then putting a script to turn them off in /system/etc/init.d will work...
[HTC Amaze 4G] sedrader:
Have decided to take up kernel development for the amaze. This will be my project for the next couple of weeks. May start a new thread for this. I only have a bit of linux coding experience so any help would be welcome
[HTC Amaze 4G] ziggy46:
that actually sounds pretty cool. if you need any help i can help you too. but dcacklam knows more about kernels than i do haha
[HTC Amaze 4G] sedrader:
Sounds great! Creating new thread for this as to not flood this thread haha (mod consideration)
[HTC Amaze 4G] Bling_Diggity:
deleted

---------- Post added at 11:45 PM ---------- Previous post was at 11:44 PM ----------

[/COLOR]So, in a little over 1 week, I've managed to:

Completely fry my laptop's hard drive beyond any recoverable means...without having backed up ~95% of my data...including everything I was working on for the Amaze

Brick my backup phone (ZTE Chaser).

Nearly brick my Amaze twice while trying to figure out how to fix the insufficient app storage issue with it and CM10

Accidentally flash the wrong recovery img on my G-Slate which, without a functioning laptop, is impossible to fix.

I think I'm done with technology for a while.

BTW, just in case anyone else tries it, do NOT trust the Link2SD app. It will not solve your app storage woes, only add to them. Pretty sure the mounting scripts it creates are wrong. That or it just doesn't know how to work with a device like the Amaze that has two SD cards.
[HTC Amaze 4G] sedrader:
Thought you guys might like this

And also, tested out Bluetooth audio streaming in my car and it works just fine. I also saw a couple of posts back about testing for MHL. I have some adapters around here somewhere. I could donate one to our noble cause
[HTC Amaze 4G] Bling_Diggity:
Wow, that's some damn good battery life. A whole lot better than anything I've been getting. Nice.
[HTC Amaze 4G] GuyInDogSuit:
Nice! I've been making use of Green Power which worked wonders on my battery life, and even then I haven't gotten that much life out of my battery.
[HTC Amaze 4G] sedrader:
I have hacked life you guys. Haha pretty much have kept data and sync off the usual power saving tips. I've found apps like that don't usually help me as I already do the steps anyways
[HTC Amaze 4G] zPacKRat:
what?
[HTC Amaze 4G] sedrader:
Kept sync, data, Bluetooth, and gps off most of the time. And use profiles with SetCPU. That's how I got good battery life, even with my original OEM battery.

---------- Post added at 09:16 PM ---------- Previous post was at 09:10 PM ----------

Sorry, forgot to quote undead! I was talking about those power saving apps that are offered through Google play
[HTC Amaze 4G] Flyin18T:
On latest version?
[HTC Amaze 4G] sedrader:
3/3/13 build official.
[HTC Amaze 4G] gbgadgets:
So, I think I may have narrowed down dcacklam's bluetooth audio fix so that video recording is not borked. It seems as though the only files needing replaced are two firmware files (TIInit_7.6.15.bts and WL127x_2.0_2.25.bts) along with some kernel config chnage(s). I have not narrowed down a specific kernel config change that resolves the issues. I did compares of the HTC ICS kernel config to the one being used in CM10 nighties to identify all the differences. I then took the config values that existed on HTC ICS and were not on CM10 along with those that were on both HTC ICS and CM10 and added them to the CM10 config for ruby. Then I built the kernel and modules and am using that along with the two firmware files from HTC ICS mentioned above. I applied this kernel, modules, and the two firmware files to the latest official nightly and both bluetooth phone audio works and video recording as well. I am not yet to the point of being able to post update files of kernels and patches for the community, but perhaps this is enough information for someone else to be able to put that kind of package together. I have been messing around with this for over a month and it took a ton of time comparing files between HTC ICS and CM10 to finally narrow this piece down.

Now if only the sound mapping issues could make some headway.
[HTC Amaze 4G] GuyInDogSuit:
I hope you're on the right track with this. I think audio is a higher priority, but at least we're getting SOMEWHERE.
[HTC Amaze 4G] kazzxtrismus:
I'll give a shot at the hex edit for sound mapping... Post the hex file and I'll look at it

Sig:

What do you mean I can't say that??!!.. It's the fkin Internet!
[HTC Amaze 4G] dcacklam:
Sound mapping is not a hex edit.

It's in the Java source/compilation configs for Android, not on the linux side.

---------- Post added at 12:23 PM ---------- Previous post was at 12:22 PM ----------

Anything that relies on the creation of symbolic links will not work with a VFAT or NTFS filesystem, as required by a device configured as USB Mass Storage rather than MTP.
[HTC Amaze 4G] fubag:
anyway to implement the camera/video buttons into the next build so they can wake the device like in ICS? gets annoying to keep on flashing it after every new CM build
[HTC Amaze 4G] dcacklam:
Any 'mod' from the standard CM config will stay a mod unless it fixes a known issue... Nature of the beast, they even rejected my code that DID fix a known issue...
[HTC Amaze 4G] fubag:
ahh that makes sense, well then thanks for the continued work on this build!
[HTC Amaze 4G] jnusz:
I just got an Amaze (was my wife's phone) and I'm having an issue with all of the CM nightlies going into a boot loop. I've been able to get another rom to boot fully but I really want CM on this phone. Could this be because I'm using TWRP instead of EXT4 as my recovery?
[HTC Amaze 4G] BlacKca7:
yup, lol use 4ext it should fix you prob
[HTC Amaze 4G] jnusz:
Ok, now that I have it booting, How do I enable the long press of the back button like I have in CM 9 on my Vibrant? I've looked through a number of menus and can't find the setting... Is it something else I need to install?
[HTC Amaze 4G] DigitalHeretic:
Menu/System Settings/System/Hardware Keys. Gives you options for Home button, Menu button, and Search button. Not sure about the Back button though
[HTC Amaze 4G] krook6023:
Options -> Developer options -> Kill app back button
[HTC Amaze 4G] fubag:
So I was trying to record a video with the camcorder app in CM10 official and nothing happens when I press the record button.

Is it broken?
[HTC Amaze 4G] GuyInDogSuit:
Dunno. Most of us use the unofficial. Did you flash anything else after flashing?
[HTC Amaze 4G] fubag:
I just flashed the superwrite script and reinstalled the ROM, everything is ok now
[HTC Amaze 4G] GuyInDogSuit:
SuperWIPE, you mean?
[HTC Amaze 4G] KT-82166:
try the latest nightly
[HTC Amaze 4G] fubag:
lol ya superwipe

BTW - we are no longer on a weekly update basis for the CM10 Official? We were getting updates every week, and since March 10th, there hasn't been an update.
[HTC Amaze 4G] gbgadgets:
There is a DMCA on the HTC proprietary bits github (TheMuppets), so until that gets resolved, don't expect any 'official' update builds from CM.
[HTC Amaze 4G] GuyInDogSuit:
WHAT? Why?
[HTC Amaze 4G] :
Dxdrm is upset :( there the people who supply the DRM related stuff for HTC devices
[HTC Amaze 4G] Illstatic:
Is there a way to stop data throttling and keep the high speed Internet after I pass my limit? Not sure if the question is worth and entire thread and I figure you fellas know.
[HTC Amaze 4G] :
Here's there takedown notice https://github.com/github/dmca/blob/master/2013-03-12-DxO-Labs.md they list some repo's proprietary-files.txt as copyrighted files a .txt file containing no copyrighted material and github listened and took them down. That means Dxo labs can be charged with perjury by claiming something was copyrighted when it was not
[HTC Amaze 4G] SpiritFyre:
another reason i love sportsstar89 always here with great info

*waving the magic muffin they let us pass*. Sent from a Force filled Muffin wielder.
[HTC Amaze 4G] Shabidoo:
The notice doesn't say those files contain copyrighted material. It says they enable the circumvention of copyright protection measures.
[HTC Amaze 4G] fubag:
interesting it seems they have begun working on 10.1 for ruby with a lot of changes in the source code http://changelog.bbqdroid.org/#ruby/cm10.1/next
[HTC Amaze 4G] GuyInDogSuit:
Didn't know they even released an Amaze CM10.1 ROM.