yashsingh1/xdaforums huggingface dataset:
[HTC Amaze 4G] dcacklam:
If not, I now know how to play with Mic Gain... ;D
[HTC Amaze 4G] yo2boy:
Great start to the new year :D
[HTC Amaze 4G] polarbass:
you guys rock

Cant wait to return too CM10! That echo bug is the only thing holding me back.
[HTC Amaze 4G] elmerohueso:
Getting closer to squashing all the remaining bugs. After the Bluetooth, then audio volumes and echo, 1080p recording, and smooth out video playback of recorded clips. Am I missing anything?

I'd love to get MTP working, too, but that may take more work than the other bugs from what I hear.
[HTC Amaze 4G] pdcrzylazy:
You guys are awesome :laugh:
[HTC Amaze 4G] wolf_7669:
No BT joy on CM10-UNOFFICIAL

This is a report for the 12/28 CM10-UNOFFICIAL (goo.im) build:

Replaced Bluetooth.apk with the one from the 09/18 build as instructed. (also fixed permissions just incase)

Unpaired/Re-paired and tested - BT music audio still works but still no BT call audio.
[HTC Amaze 4G] GuyInDogSuit:
MTP is lame anyway. I've always had bad luck with it, mainly with it sometimes stopping while transferring, and terrible transfer speeds overall.
[HTC Amaze 4G] crazypotato:
please fix the video chat problem Google Hangout and Talk...
[HTC Amaze 4G] marathone:
Also Gallery preferences (or lack thereof) needs fixing.
[HTC Amaze 4G] nulcon:
Anyone know when Faux's Kernel will be compatible with this ROM or no?
[HTC Amaze 4G] jazzmanmonty:
Hey dcacklam, sorry I wanted to search but am on mobile app and don't see a search function for a thread. I'm still new to cm10 night lies and probably only read the past 25 pages only. But thanks for letting me know its a known bug.
[HTC Amaze 4G] kenypowa:
Nope it only works with Sense based roms.
[HTC Amaze 4G] elmerohueso:
MTP would allow the phone's storage to be formatted to EXT4 (for faster speeds within the phone), allow the entire 12 GB internal storage to be used for apps, and reduce the possibility of media corruption.

There are those that prefer UMS and those that prefer MTP, but at least if MTP is fully fixed in this ROM, users will have a choice of which to use.

Although I'm likely never going to use the 1080p recording (especially with no built-in way to change the camera storage destination), I still hope it's fixed. I hope to get a fully fleshed out and working CM10, not a CM10 excluding the features someone decided were "lame".
[HTC Amaze 4G] dcacklam:
Not happening, as he's working on a different device...

However, I have been working on kernel configuration improvements... Unlike Sense, the nice thing about CM is that a 'better' kernel config will likely be merged into the main tree...

However, for those that want to run an unofficial kernel, I'll be posting my latest version today...
[HTC Amaze 4G] filthygoat223996:
Sounds great
[HTC Amaze 4G] snowlin:
Sorry if this is a noob question, but would said kernel be compatible with the Evervolv android 4.2 ROM out right now? i would assume so since its aosp, but idk a whole lot.
[HTC Amaze 4G] ericwsarge:
Along with 1080p video recording, are there plans to handle autofocus, or touch to focus on the camcorder?
[HTC Amaze 4G] dcacklam:
maybe, maybe not.

Usually, when Google makes a significantly new version (4.0, 4.1, 4.2), they change which version of Linux it is based on, too...

We are based off Linux 3.0.53 right now.

ICS was 3.0.16

'Stock' 4.1 JB was 3.0.33

---------- Post added at 11:49 AM ---------- Previous post was at 11:47 AM ----------

I enabled the camera actuator driver in my last kernel (the one that brought you all the USB fix), however I am going to guess that (like almost every other 'issue' with the camera) the AOSP camera-app is the limiting factor....

---------- Post added at 12:12 PM ---------- Previous post was at 11:49 AM ----------

Kernel tree changes for Bluetooth Call Audio have been sent to Sporty.

---------- Post added at 12:55 PM ---------- Previous post was at 12:12 PM ----------

Think I have the audio-volume licked...

The phone was IGNORING the TPA2051_CFG.csv file and going with the hardcoded defaults in the driver source-file...

So I put a mix of HTC defaults, and EclipzeRemix's SpeedRom amplifier-config values (using SpeedRom numbers where no data existed in the stock TPA file) into the source-file...

And I am waiting for the kernel to build with these changes!
[HTC Amaze 4G] GuyInDogSuit:
Dave, you rock, man!
[HTC Amaze 4G] dcacklam:
Maybe a tad premature - the phone also does not seem to be utilizing the values I fed it in the driver... Hmm...

However, here's the kernel I built... Let me know if BT Call Audio works once you flash this...

It can be flashed over any CM10 build, and replaces the kernel, installs the fixed vold (USB Mass Storage), as well as the required kernel modules, etc...

P.S. This zip replaces your build.prop, in order to add bluetooth settings to it.
[HTC Amaze 4G] scrubsja:
Dcacklam how do we flash your zip? I tried flashing using 4EXT but it crashed and aborted. Thanks
[HTC Amaze 4G] improperburial:
I had the same error occur.
[HTC Amaze 4G] bababe:
Im on the 12032013 build and it has some graphical errors with the signal bar. If wifi on and the wifi signal goes bad the Phone Singal will goes gray too. However, calling still works.

Does anyone have problem with Wifi with recent builds? Wifi seems very sluggish...it connected but no data ........:confused:
[HTC Amaze 4G] iKilla:
you replae the build.prop not flash it..
[HTC Amaze 4G] scrubsja:
The zip is supposed to be a full kernel with boot image and modules etc. not just build prop. Anyone got dcacklam's zip to flash?

Dcacklam, can you shed some light on this? Which tool should we use? Thanks
[HTC Amaze 4G] rfunderburk39:
It's a bad .zip.

Stupid questions are better than stupid mistakes.

Japanese proverb
[HTC Amaze 4G] HumpDdumpD:
So why not move all the files manually & just extract the boot.img & flash. Not asb easy as flashing the zip, but the contents are all there. I'm in the process now.
[HTC Amaze 4G] dcacklam:
I added one file & changed the script to set it's permissions (/system/etc/init.d/01bluetooth) after testing the zip, I am assuming that's what broke it.

I will fix it.

---------- Post added at 07:45 PM ---------- Previous post was at 07:34 PM ----------

Grey Signal = No Data.

So when you lose wifi, it will take a while before the cell signal turns blue again (indicating a good internet connection).
[HTC Amaze 4G] jcjackjay:
That's a just how AOSP is, from what I've read. If the signal bars and/or WiFi bars are greyed out, it means you have no data connectivity, meaning you can't connect to the internet. If it turns blue, it means you have the ability to access the internet whether it may be through data and/or WiFi. I don't think signal reception has any relevance, though.
[HTC Amaze 4G] jordin1128:
I read yesterday that you also used the Bluetooth app from an earlier release. Do we still need that one or is the one pre-installed compatible? Thank's for your patients on researching and them contributing to this Rom. Much appreciated !
[HTC Amaze 4G] HumpDdumpD:
Good question, I just replaced all the files with the ones from the zip, flashed the kernel.. Phone seems to take a little longer to boot now, but boots fine. BT for calls still not working & multi touch is more than a little borked, can't track 2 touches very well, any more than 2 & it just doesn't keep track at all... I'm downloading the 9/18 rom to try and replace the Bluetooth apk & see if that makes the difference...

Oh I applied this all to the 01/01/13 nightly from get.cm if it makes a difference.
[HTC Amaze 4G] HumpDdumpD:
Nope, I didn't have any luck... Restoring my backup, this multi touch issue is killing me using when I'm used to using Keymonk keyboard
[HTC Amaze 4G] chevycowboyusa:
Nice app for flashing kernel!

Flash image GUI

http://xdaforums.com/showthread.php?t=1453617
[HTC Amaze 4G] bababe:
Hix hix just did a fullwipe flash. Wifi still weird on my fone. It would connected but has no data. Sometimes it has data but only for a brief moment. Other devices in my home works just fine wiredly n wirelessly
[HTC Amaze 4G] rachelm920:
So if I download CM10 and replace the files from dcacklam's zip with the files in the CM10 zip that should work? So BT is still not working or it is?
[HTC Amaze 4G] dcacklam:
Ok...

So flashing the kernel alone does not fix BT?

Did adding the 0918 app do it?

As for multitouch, there were complaints about that with my last kernel-build, Sport did *something* to change it when he merged the changes into the main tree...
[HTC Amaze 4G] nulcon:
Try going completely back to stock, then root again, full wipe, and then flash CM10. See if that works.
[HTC Amaze 4G] dcacklam:
BTW, for our phones that are not S-OFF, 4EXT with SmartFlash is still the way to go...
[HTC Amaze 4G] ACTPOHABT:
E:/format_volume: make_extf4fs failed on /dev/block/mmcblk1p2

When trying to flash CM10 nightly 01032013 it gets stuck showing me the boot screen (rotating circle) and never boots into android. Also when I do data/factory wipe in CWM recovery, it gives me this error: "E:/format_volume: make_extf4fs failed on /dev/block/mmcblk1p2". Could this be the problem? How do I fix it? Thank you.
[HTC Amaze 4G] lnxpro:
you shouldn't use CWM to flash this if your phone is not S-OFF. You need 4EXT recovery and go under tools and ensure that 4EXT SmartFlash is enabled.

then you can flash the CM10 ROM.
[HTC Amaze 4G] dcacklam:
Mk IV Kernel

1) Fixed the flashability of the zip. USE 4EXT WITH SMARTFLASH ON IF (AS MOST OF YOU ARE) YOU PHONE IS S-ON

HOW TO FLASH: (1) Flash your desired CM build, (2) Flash GApps, (3) REBOOT AND LET CM LOAD, (4) Reboot Recovery, (5) Flash the zip.

2) Another attempt at an audio fix. Try it with the TPA2051_CFG.csv that I included in place, and with that file removed/renamed something else

3) Bluetooth fix kernel-side....

4) USB Fix

5) Power saving updates!

14+hrs of normal-to-light use off-charger, with only screen-brightness & CPU governor tweaks, and all google apps enabled/unmolested incl google-now.

6) A stab at re-integrating Sport's multitouch-fix, for those of you nimble-fingered folks who can find a way to touch your screen in 4 places without dropping the phone! ;D
[HTC Amaze 4G] improperburial:
I flashed this over Jan 4 build and can't get phone audio to play over bluetooth. I can't figure out how to find the csv file to rename it
[HTC Amaze 4G] ACTPOHABT:
Thanks for quick reply, will give it a try.
[HTC Amaze 4G] rfunderburk39:
Testing the new kernel it seems to be charging faster than normal. I have no echo, but volume in call doesn't change with the rocker.

I do not use Bluetooth, or multi touch.

Quadrant score jumped around 400 points.

Thanks for your hard work dcacklam

Stupid questions are better than stupid mistakes.

Japanese proverb
[HTC Amaze 4G] ACTPOHABT:
Thanks again, it worked! How do I get S-OFF?
[HTC Amaze 4G] nulcon:
Use Juopunutbear's S-OFF method. It will require a wire.
[HTC Amaze 4G] wolf_7669:
Flashed the zip onto the 12/28 unofficial build but still no BT call audio, did I miss something?
[HTC Amaze 4G] dcacklam:
No, you didn't.

Same thing for me.

Apparently there are also libs/config-files that need to be merged over...

I am trying to identify which ones - when i 'Fixed it' on my phone, I did 3 things: (1) Kernel, (2) Bluetooth.apk, (3) Copied every audio or bluetooth-related file from 0918 that I could find, and some from Sense too...
[HTC Amaze 4G] elmerohueso:
Just got some HTC earbuds with built-in volume control and talk button. The controls don't seem to work with this CM10 (although, they do with CM 10 on my co-worker's Galaxy SII). Can we get that feature added, sport?
[HTC Amaze 4G] improperburial:
Could you post the Bluetooth.apk so we can eliminate what is/isn't working in conjunction with the kernel? Or at least we can try to eliminate another variable from this problem.
[HTC Amaze 4G] HumpDdumpD:
download the 09/18 build from sport's goo.im in OP open zip navigate to system, then app, then extract Bluetooth.apk, put in same place on your phone. Fix permissions and your done. Although I think he just posted that the apk isn't the fix, it's audio lib files from multiple sources... So he's gotta figure out which ones did it...

Not trying to be critical, but there's not many of us that can troubleshoot & fix bugs in here & I'd rather him work on that then upload a file that you don't want to take the time to get.
[HTC Amaze 4G] rfunderburk39:
With the new kernel speaker volume, overdrives the phones speaker until it's scratchy. Lowering the volume to 50% corrects it.

Stupid questions are better than stupid mistakes.

Japanese proverb
[HTC Amaze 4G] wolf_7669:
Noticed that too.
[HTC Amaze 4G] :
I'm doing some kernel work right now so we should have a new build in a bit
[HTC Amaze 4G] Bling_Diggity:
Hooray new kernel builds!
[HTC Amaze 4G] AKRRKA:
Ooops...

Thanks!!!
[HTC Amaze 4G] :
yes but a full build too unfortunately caf is taking a while to sync :(
[HTC Amaze 4G] misfit61871:
No worries, we've been waiting a long time for cm, so a little extra is no biggie bro!

Sent from the depths of the nine hells!
[HTC Amaze 4G] ACTPOHABT:
Have you tried it? Does it work? Looks kinda scary (what are the chances of bricking the phone?).
[HTC Amaze 4G] ziggy46:
yeah it works perfectly. just use a solid wire not a braided or you might have problems. and it also helps to not panic if something goes wrong. i though mine was stuck on the one green screen it shows, but it turned out to be my wire.
[HTC Amaze 4G] xDC23:
Its not as hard as it sounds. i got it on my 7th try, i just stripped an old antenna cable that i had lying around n used that. i saw someone who used the wire from the tie that comes with a bread loaf. its pretty simple, just time it right, BUT i must warn you, make a full back up of the things on your phone and SD. when i did it, it deleted everything off my phone memory, and surprisingly left my SD untouched. I would still recommend you back up everything.
[HTC Amaze 4G] :
Ok just updated to linux 3.0.57 building a full build now EVERYTHING *should work* only problem is vold mods might not stick
[HTC Amaze 4G] laggo:
Thanks sports! Can't wait!!!
[HTC Amaze 4G] :
new build on goo
[HTC Amaze 4G] Nativedude:
I'm waiting on a fresh wipe/install to be sure but I lost bluetooth after this (Won't turn on)

Edit::

Yeah still dead after clean install
[HTC Amaze 4G] ACTPOHABT:
Thanks for the info guys! Will give it a try this weekend. Will let you know how it went once I do. :)
[HTC Amaze 4G] :
Can i get a logcat of you toggling bluetooth
[HTC Amaze 4G] HumpDdumpD:
Well Bluetooth & in call volume for calls still not working. As mentioned before Bluetooth will not even turn on now. I'm gonna try to move the vold files & the 09/18 Bluetooth.apk over manually & see if that does anything.
[HTC Amaze 4G] KT-82166:
I flashed Dcacklam's mk4 kernel to get bluetooth back on.
[HTC Amaze 4G] :
Logcat! logcat! logcat! people can't report issues without logcats. My girlfriend has the phone and i started a completely new kernel i need to know why BT isn't turning on
[HTC Amaze 4G] lamortcroix:
I'm trying. I keep getting a permission denied e error.

Unable to open log device '/dev/log/main': Permission denied

What's the proper logcat command? Also recording doesn't work.
[HTC Amaze 4G] MildewMan:
http://xdaforums.com/showthread.php?t=1726238

This may help.
[HTC Amaze 4G] KT-82166:
http://logcat.miui.us/1958002
[HTC Amaze 4G] Old-school:
Two log cats one with dcacklam kernel, the other with today's build

http://db.tt/zmfOMVa9
[HTC Amaze 4G] scrubsja:
My CPU temperature is running high > 60°C with the dcacklam kernel. Anyone else have this issue?
[HTC Amaze 4G] ziggy46:
that has to be a bad reading... my computers cpu doesnt even get that hot, even with all 6 cores pegged at 100% for 1hr. (air cooled too)
[HTC Amaze 4G] HumpDdumpD:
Here's my logcat. http://db.tt/q9SUsvxm

This is the 01/05 unofficial rom, with all the files including the vold & build.prop, from dcacklam's mk4.zip he posted a couple pages back, copied over to the system, however the mk4 kernal not flashed. I also copied the Bluetooth.apk from 09/18 build over...

Bluetooth works now, however call audio still doesn't on Bluetooth and wifi is now broke.

This logcat I connected to Bluetooth & made a call, then disconnected & attempted to turn on wifi.
[HTC Amaze 4G] yo2boy:
Nope. I've reached 72°C when overclocked to 1.7GHz and using the MHL adapter on my TV.
[HTC Amaze 4G] Bling_Diggity:
I got it first try. Which was "Amaze"ing, considering most things with this phone have required multiple attempts on my part. I used a speaker wire.
[HTC Amaze 4G] misfit61871:
Got mine on the first try as well, it's all in the timing.

Sent from the depths of the nine hells!
[HTC Amaze 4G] ziggy46:
really? that sounds horrible for a phone temp! then again im not familiar with mobile hardware just desktop and laptops
[HTC Amaze 4G] MildewMan:
Good lord. How do you even touch your phone? That's hot enough to burn skin.
[HTC Amaze 4G] ziggy46:
thats what i was thinking lol.... 72 C = 161 F that cant be good for the rest of the components
[HTC Amaze 4G] Dabesiv:
help please!

The one time I tried installing a new rom without reading the whole thread this happens and I am freaking out. I loaded the rom up with Clockwork, everything seemed ok until I was stuck at the boot screen, not the HTC but the Cyanogenmod circle. Then I read that I should use ext4 to make it work. I would love to do so, but I can't even get back to the stock rom now. I tried cm9 and its also at the boot screen, I did a stock rom someone else posted on here and I am left with a blank black screen after the HTC screen. I am trying another rom now in hopes of at least having a functional phone to install ext4 but for now its practically bricked. Can anyone help?
[HTC Amaze 4G] derekalan18:
You can still flash 4ext through fastboot. The easiest way to do that would be using the toolkit. Once 4ext is installed make sure you enable smartflash, then it should work.

Edit: hasoon's toolkit http://xdaforums.com/showthread.php?t=1493905
[HTC Amaze 4G] ziggy46:
can someone give me the link for the change log again? :P
[HTC Amaze 4G] Dabesiv:
Thanks, I'll do what I can, I apologize for my noobieness, I haven't done roms since I got the Amaze except putting google now on a month ago. How exactly can I load 4ext from fastboot?

nvm I didnt see your link, will read that first
[HTC Amaze 4G] pnut22r:
I'm new to the amaze, and I would like to be able to flash any Rom. I see the root process doesn't make the phone s-off. But I can use 4ext with smartflash, and I don't need s-off? I know I can follow the tutorial for s-off, but it's it necessary?

I'm comfortable doing any method of anything to ensure I can flash any Rom. If I'm starting from scratch, what are the best ways to set up my phone? What would all of you recommend.

Ultimately I will flash this Rom , just want to be sure I get it right the first time.

Thanks in advance.

Btw, how's the camera on this Rom? Working? Stable? Good pics? Quick pics?
[HTC Amaze 4G] derekalan18:
http://mobile.10.cmxlog.com/?device=ruby

The toolkit I linked in the last post is the easiest way, but you could also download the recovery image to your computer, then restart your phone while holding the volume down button, and go into the fastboot menu. Then open the command prompt in the directory you saved the image, and run "fastboot flash recovery <name of recovery image>.img" from the command prompt
[HTC Amaze 4G] filthygoat223996:
Lol nothing new in the change log
[HTC Amaze 4G] polarbass:
I am pretty sure you just didnt waited long enough when it was loading

The first time you install a rom, it take a while to go through the loading screen
[HTC Amaze 4G] HumpDdumpD:
I think most of is are S-On. As long as you use 4ext recovery you can flash kernels still.. I honestly just recommend going into the amaze general or Q&A section & the sticky threads are sure to have a full & detailed step by step guide... That's how I first rooted & unlocked my phone.

Good luck though, it's totally worth it with this phone, the stock software is garbage & the phone is so much more worth the money you paid for it once you get some custom roms running in it... You'll see a huge difference.

---------- Post added at 09:57 PM ---------- Previous post was at 09:55 PM ----------

They're unable to flash the kernel for the rom with their current configuration. They could let it sit for a week on the cyanogen logo & it's not going to do anything until they get 4ext installed.... Or S-off
[HTC Amaze 4G] :
New build on goo BT now should be working
[HTC Amaze 4G] Bling_Diggity:
I'll give it a shot as soon as I get home.
[HTC Amaze 4G] lamortcroix:
Nope
[HTC Amaze 4G] Darikus:
no :(
[HTC Amaze 4G] lamortcroix:
build.board: ruby

build.bootloader: 1.93.0002

build.brand: htc

build.cpu_abi: armeabi-v7a

build.cpu_abi2: armeabi

build.device: ruby

build.display: cm_ruby-userdebug 4.1.2 JZO54K eng.sportsstar89.20130106.044653 test-keys

build.fingerprint: tmous/htc_ruby/ruby:4.0.3/IML74K/373265.3:user/release-keys

build.hardware: ruby

build.host: build1

build.id: JZO54K

build.manufacturer: HTC

build.model: Amaze 4G

build.product: htc_ruby

build.radio: unknown

build.serial: SH259VP01987

build.tags: test-keys

build.time: 1357447691000

build.type: userdebug

build.user: sportsstar89

version.codename: REL

version.incremental: 373265

version.release: 4.1.2

version.sdk_int: 16

01-06 01:02:54.863 D/BluetoothAdapterStateMachine(367): PowerOff process message: 1

01-06 01:02:54.863 D/BluetoothAdapterStateMachine(367): Bluetooth state 10 -> 11

01-06 01:02:54.883 I/bluedroid(367): Starting hciattach daemon

01-06 01:02:54.883 E/bluedroid(367): Failed to create bluetooth hci socket: Address family not supported by protocol (97)

01-06 01:02:54.883 E/BluetoothAdapterStateMachine(367): failed to prepare bluetooth, abort turning on

01-06 01:02:54.883 D/BluetoothAdapterStateMachine(367): Bluetooth state 11 -> 10

01-06 01:02:54.923 D/BluetoothMasReceiver(3852): Bluetooth STATE CHANGED to 11

01-06 01:02:55.043 D/DockEventReceiver(3835): finishStartingService: stopping service

01-06 01:02:55.043 D/BluetoothMasReceiver(3852): Bluetooth STATE CHANGED to 10

Log cat
[HTC Amaze 4G] :
OK I just got hit by a fierce headache which usually means I've done enough work for the night so goodnight everyone
[HTC Amaze 4G] GuyInDogSuit:
S-Off is not necessary, just makes flashing easier. You will have to use 4ext Recovery, with Smart Flash enabled for any ROM to properly flash. To root and flash 4ext, use Hassoon's all-in-one app. It's very easy.

Camera is ok, the stock AOSP isn't great, bit you can install Google's Camera v4.2. There are a lot of different ones, but it's easy to flash via recovery, though you may end up with two Camera apps. Just use a root uninstall app like Titanium Backup to remove the older one.

Sent from my A200
[HTC Amaze 4G] HumpDdumpD:
Hope the headache subsides buddy I get them something fierce myself. Thank you for your efforts.
[HTC Amaze 4G] Dabesiv:
It all loaded fine, thanks, only problem now is whenever I try to choose the zip file I get the notice "can't mount /Internal_sdcard" I've been looking for an answer on how to fix this but with no answer yet. I also tried another Sd card and it still doesn't work.

---------- Post added at 03:10 AM ---------- Previous post was at 02:29 AM ----------

After a half pack of smokes, pulling my hair, and almost crying for bricking a perfectly good phone I decided to try one last thing. I feel like a dumbass now, all I had to do was format the internal and it worked. I am now running cm10 and so far I am loving it!! thanks a lot for the help!

---------- Post added at 03:12 AM ---------- Previous post was at 03:10 AM ----------

I let it sit for an hour and a half, I have never seen a rom take that long haha but I got it resolved now!
[HTC Amaze 4G] rfunderburk39:
For the ones that flash the camera 4.2. If prior to flashing the new camera you can use Titanium Backup and backup & remove the Gallery apk. Reboot and update your camera. Now you will have only one camera and gallery.
[HTC Amaze 4G] ACTPOHABT:
The wire from the tie that comes with a bread loaf worked nicely! Thanks again!