yashsingh1/xdaforums huggingface dataset:
[HTC Amaze 4G] dcacklam:
1) There is a buttons-config option under Settings.

2) There may be APN-related issues, preventing USB tether from working PERIOD right now - the default APN settings are completely borked & one of the errors is there is no 'dun' connection type in the connection-types list (DUN = dialup networking = PPP = what the non-wifi tethering stuff uses to make connections).

Try applying the MMS-fix APN settings (see back a few pages in this thread) assuming you are a TMobile US customer - and turn off WiFi.

This assumes you are trying to use your phone as a USB-connected cellular-modem, of course (and that your pc has no wifi, or else you would be using Wifi Tether for Root Users) - NOT trying to use it as a wifi adapter.

You should not

be able to use your phone as a wifi adapter (what it sounds like you are trying to do) using STOCK tethering.

The stock tethering functionality simply is not designed to do this, it sets it's default routes and IPMasq rules based on data connectivity coming from rmnet_sdio0 (or, potentially, once we get that far, any of the mobiledata_interfaces).

That said, it is not technologically impossible for an APP to let you turn your phone into a wifi-to-USB adapter.

Your best bet for this sort of config would be an app like PDANet or Clockwork's tethering app - any 'non root' tether app has to use the phone's internet connection without direct-device-access or IPMasq, so theoretically it might work - but no promises...

Of course, if you know enough linux you could always write a shell script to redo the routing rules using wlan0 as the default gw/public-side address for Masq...

---------- Post added at 05:42 AM ---------- Previous post was at 05:41 AM ----------

Do you HAVE a light when charging? Most of us don't - unless they fixed that when I was driving home...

If you do have a light when charging, CM lets you CHANGE the color of the lights in the settings app.
[HTC Amaze 4G] Bling_Diggity:
Well crap, I guess I have to finally leave the safety of SR7.7 and give this a go now. Dcacklam, if you manage to get wifi calling working, I'll personally give you $50. T-Mob is terrible in the South, so I survive off open Wifi signals at work and at college. It's always been laggy, but laggy calls are better than no calls.
[HTC Amaze 4G] dcacklam:
Best bet is to wipe, but you can always try it & see if it works, then wipe later...

If you get FCs after a no-wipe install, uninstall and reinstall the impacted app...

if it's a system app FCing, then wipe...

---------- Post added at 05:45 AM ---------- Previous post was at 05:43 AM ----------

Thanks...

BTW, I live in a complete RF dead zone. Nothing but FM radio - not even Big Red (VZW) gets signal here...

That's why I had to wait to go to work to test data-related stuff...
[HTC Amaze 4G] mahgninnuc93:
The one that comes with the ROM.

Will check autofocus but I think its on.

I have no clue to look for libs lmao!

I'll figure it out. So far this makes my phone worth having finally! Now need a good clock / weather widget to replace the sense one. May use the 3d clock weather widget. Amy suggestions?
[HTC Amaze 4G] dcacklam:
Check 'Settings -> Performance'.

The default power profile (On Demand) is geared towards maximum responsiveness. Which means that if you actually USE the phone, it cranks everything 'up to 11', and sucks your battery dry in the process (but throttles it back when you let the phone sit idle)... To the point that my battery drained while using the phone, faster than the USB cord from my stereo could replenish it....

There is a 'Power Saving' profile as well, although I have yet to see how well it works... More on that tomorrow...

If that doesn't work, EclipzeRemix will likely be along with a battery/speed-optimized version of this, soon enough... He was already doing one for the old pre-data-CM10.
[HTC Amaze 4G] windcan:
internal vs external sdcard

Hello, when I move to this ROM I want to start with as much of a clean slate as possible.

In 4ext I can "format the SD card", this is the internal sd card correct, not the external one?

By doing this will it be a more "clean" install of this ROM?

Any other suggestions to make sure clean out as much as possible before starting with this ROM?

Thanks
[HTC Amaze 4G] dcacklam:
You have to enable google now to get the news/traffic/weather-card functionality...

And don't expect any of the stock-style weather-widget/lockscreen weather-clock functionality unless you install it yourself. That is all 'Sense' stuff...

---------- Post added at 05:55 AM ---------- Previous post was at 05:52 AM ----------

No, and so far no one has made WFC work on a CM10 instal yet, on any phone...

But we'll see...

I'm about to start trying to make it work...

---------- Post added at 05:59 AM ---------- Previous post was at 05:55 AM ----------

I think we might need your battery-saving expertise from Speed Rom on this one... It seems to suck battery like a 454 sucks down fuel.....
[HTC Amaze 4G] Ninjistix:
is anyone else having issues due to audio playback with it sounded distorted or breaking up... and what about the sd card not mounting in the system and recovery?
[HTC Amaze 4G] iKilla:
i hope he helps battery life.. thats the only thing stopping from using this Rom.
[HTC Amaze 4G] dcacklam:
When powered off, there is a totally different set of circuitry that controls all that...

That's why the phone will not charge at the white HTC screen, too...

Once you power up the phone, the charging functionality and the LEDs are placed under software control, and will only work if the right drivers are active.
[HTC Amaze 4G] chevycowboyusa:
Cool... i have a light while charging!

I'll dig into settings to change colors....

:)
[HTC Amaze 4G] big gulps huh?:
SD card mounts in both places for me... (you mean the external card, right?)

Thank you all so much for the hard work. I received this phone as a replacement for my sensation and the lack of cm10 made my heart sink. Now everything is right again. Thank you for the hard work.
[HTC Amaze 4G] aznvi3tric3guy:
I can't see my external SD files. Lol how odd.. anyone has a clue where the rest of my files from the external SD card may be?
[HTC Amaze 4G] misfit61871:
I take it back my GPS is no longer getting a fix, maps shows my location way off and GPS status just hangs on looking for location. Tried installing faster fix and changing the settings in advanced to united states instead of Europe but to no avail.

Edit: Never mind it's locking now.

Sent from the morgue.
[HTC Amaze 4G] dcacklam:
Actually, it was HTC's fault, for using nonstandard mountpoints... /sdcard/ext_sd should be a symlink - but since we are not using the Sense filesystem layout, that symlink will now be broken (or worse, they really were using a mountpoint inside the sdcard1 filesystem - and then it's an empty directory).

The 'right' way is to mount everything under /storage/ (/mnt/ in desktop linux) and sym-link the user-friendly names...

CM does it right:

ls -lad *sd*:

lrwxrwxrwx root root 2012-12-03 19:01 sdcard -> /storage/sdcard0

lrwxrwxrwx root root 2012-12-03 19:01 external_sd -> /storage/sdcard1

fstab:

/dev/block/vold/179:36 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec...

/dev/block/vold/179:65 /storage/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec...

NOW, WITH THAT SAID

If you want to have access to your external SD card from /sdcard/ext_sd, then open up an ADB shell window and paste this in:

cd /sdcard

rm -rf /sdcard/ext_sd

ln -s /storage/sdcard1 ext_sd

This will remove the old ext_sd link or directory, and replace it with a working link.
[HTC Amaze 4G] :
No, TWRP backups are different.

I'm on TWRP now, and am happy with it. Came from 4ext...
[HTC Amaze 4G] misfit61871:
Can I do this in terminal emulator?

Sent from the morgue.
[HTC Amaze 4G] dcacklam:
Apparently you can only change colors in the settings for the notification lights, which do not work.

Sport has already put a fix into the github for the lights issue, so the next build will have normal lights...
[HTC Amaze 4G] mahgninnuc93:
Yes, there is n option that only wipes the internal. You also want to wipe dalvick and cache.
[HTC Amaze 4G] Migwickert:
I'm on TWRP now, and am happy with it. Came from 4ext...[/QUOTE]

Same here. Love TWRP but I'm S-off. Also, having great battery life thus far.
[HTC Amaze 4G] dcacklam:
Yes...

need to be root (su -) of course, too...

---------- Post added at 06:42 AM ---------- Previous post was at 06:41 AM ----------

From Linux (adb shell, terminal), or from windows?

---------- Post added at 06:43 AM ---------- Previous post was at 06:42 AM ----------

You should not need to format your SD card to mount it, unless you ran some goofy odd ROM that formatted it to something other than Windows VFAT. Period.
[HTC Amaze 4G] Migwickert:
Any recommendations on a browser that plays nice? Chrome is buggy.
[HTC Amaze 4G] chevycowboyusa:
Great!
[HTC Amaze 4G] dcacklam:
Opera Mobile is #1, easily.

Firefox is #2, but the fact that they treat web-pages as images (no text selection or call-from-page) is not so nice...

---------- Post added at 06:53 AM ---------- Previous post was at 06:52 AM ----------

Ok... There is no kineto_gan.ko in this build (Sport... Please enable that module in your kernel config), so until I can get to work, pull down the git repo & compile that, there will be no attempt at MyTouch-style wifi calling...

Which leaves me to play with the Amaze-Sense Intredo variety tonight... Don't think it will work, but can't hurt to try...
[HTC Amaze 4G] Ventus_zx:
if minecraft pocket edition works on this ill use it xD
[HTC Amaze 4G] riprowan:
One thing: our screens really suck a lot of juice, and this Rom really cracks up the screen brightness. Some intelligent tweaks to the auto brightness would probably help.

---------- Post added at 08:39 AM ---------- Previous post was at 08:37 AM ----------

YOU GUYS DID IT! Everything major works. I get great data & Wi-Fi throughput, instant GPS lock, and the phone is super responsive.

AMAZING AMAZING AMAZING

I'm so happy I could just sing.
[HTC Amaze 4G] mahgninnuc93:
I know it was mentioned earlier but can't find it.

The lights are off on the home, back search buttons. Any way to turn them in again? NEVERMIND I FOUND IT LOL

I'm loving this! No need to get rid of my Amaze now!!

Sent from your moms lingerie closet hiding from your dad who just got home and using my Amaze with CM10
[HTC Amaze 4G] edwill44:
Where did you find it?
[HTC Amaze 4G] eliasadrian:
I haven't used ICS Browser + yet, but I loved it on energy.

Also, any way to put the unlock action on the lock screen to a different spot? I'm used to sliding up on sense... haha
[HTC Amaze 4G] eShrooms:
My app drawer feels a bit clunky and I've tried all the launchers. It's odd because everything else is incredibly responsive. Incredible work.
[HTC Amaze 4G] dcacklam:
Note: Auto bright is OFF BY DEFAULT on this rom.
[HTC Amaze 4G] GuyInDogSuit:
Permission denied, for me. Tried it both in Terminal Emulator and in Windows Command prompt. Plugging in the USB cable and mounting sometimes shows the spinning circle, then it says "Turn on USB storage" again but I see the internal storage still mounted.

4.2 Camcorder causes Gallery (and hence the camera) to force close. Does anyone have a working Camera 4.2? I used the one craigtut uploaded in the apps section like someone suggested but it's been crashing on this build for some reason when it worked fine before. SD card only mounts internal with the external as ext_sd folder.
[HTC Amaze 4G] dcacklam:
You have to enable root-in-adb first...

Look up in the developer menu, where it says root access, 'apps only' Change to apps + adb...

CM is a bit more picky with security than Sense was...
[HTC Amaze 4G] aznvi3tric3guy:
Same here permission denied.
[HTC Amaze 4G] dcacklam:
On Wifi calling

As I work on this: I need to know what 'Sense' file provides HTCPreferenceActivity()

And I am hoping, really hoping, it is NOT 'Framework.jar'!
[HTC Amaze 4G] xDC23:
So based on what i've seen on here. This is a 4.1.1 build, so none of the faux kernels would work with this correct?
[HTC Amaze 4G] GuyInDogSuit:
I enabled it for both apps and adb, it's been enabled since I flashed this. I rebooted and tried again, got to the third step, and it said "link failed Operation not permitted" this time.

Nope.
[HTC Amaze 4G] dcacklam:
There was quite a bit done to the kernel to make all this work...

The kernel from the 0918 build of this same project doesn't even work with the current 1203 build....

---------- Post added at 09:21 AM ---------- Previous post was at 09:20 AM ----------

Hmm...

Operation not permitted usually means you're not root

You did a 'su' before all that, right?
[HTC Amaze 4G] GuyInDogSuit:
No. /facepalm

Did that, then it tells me "link failed Read-only file system"
[HTC Amaze 4G] dcacklam:
For the devs here:

Given these class-names:

import com.htc.preference.HtcPreference;

import com.htc.preference.HtcPreferenceActivity;

import com.htc.preference.HtcPreferenceManager;

import com.htc.preference.HtcPreferenceScreen;

import com.htc.widget.HeaderBarMiddle;

import com.htc.widget.HeaderBarText;

import com.htc.widget.HtcAlertDialog;

import com.htc.widget.HtcAlertDialog.Builder;

How easy would it be to create a jar file/class/whatever, that 'wraps' the actual android versions (eg HTCPreferenceActivity ->PreferenceActivity) and presents the expected names to wificall.apk?

I am assuming that the jarfile providing those is one of the 'un-replacables' like framework....

---------- Post added at 09:34 AM ---------- Previous post was at 09:29 AM ----------

/me slaps himself...

VFAT... D'Oh...

Forgot we don't have internal_sd formated ext4
[HTC Amaze 4G] azcledel:
Gods of amaze dev thank you once again.

Sent from my finally s-off HTC Amaze 4G running Cyanogenmod 10 of doom!
[HTC Amaze 4G] GuyInDogSuit:
So... we can't fix the SD mounting then?
[HTC Amaze 4G] dcacklam:
Not without breaking 'the way CM does it' (mounting it under sd_ext, and simlinking from /storage and / (which are ext4 filesystems)), or formatting internal_sd to ext4 & changing the scripts...

But if we make internal_sd ext4 then it will only be visible to windows via MTP, not USB Mass Storage (Because windows can't read linux filesystems)

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

The reason we have so much trouble with external-sd right now, is that the current configuration is running the USB storage program TWICE...

Notice how after you tell it to connect, another one is there with a green android?

Well, that's a second instance of the usb storage connector... When it should be one instance for both devices....

The problem with 2 instances? Well, for one, the first one unmounts both SD cards... For two, it's not designed to 'share' a cable....
[HTC Amaze 4G] GuyInDogSuit:
Anyone get the Camera 4.2 working with 1080p recording? Mine force closes unless I leave it on 720p.
[HTC Amaze 4G] CalicoJeb:
You should be proud Dude, and I am sure I speak for ALL here, we are All proud of you :)

This truly is an AMAZING (yup I said it) community of DEVS, ya'll got the stick to it - till you "git er done"
[HTC Amaze 4G] Joker10s3:
I think this ROM has graphical issue when playing 3D games.
[HTC Amaze 4G] jsyi84:
Does anyone else think the stock sense camera app is lightyears better? The pictures in low light look really grainy and there is some serious chromatic aberration.
[HTC Amaze 4G] :
yupp
[HTC Amaze 4G] jsyi84:
Which is reason enough for me to stay away from CM roms :( I guess its time to do a restore. On a side note....what is it about CM that prevents us from having a camera that is equal to/on par with the sense camera? I have read it is software based but something tells me there must be more to it.... I've tried at least 20 camera apps and none of them come close to stock.... I'm not just talking about this phone as I came across this with my G2, HD2(on miui vs cm), EVO 4G, MyTouch 4G, MyTouch 4G Slide, One S.
[HTC Amaze 4G] CalicoJeb:
Mein Gott - we Just now have Data & WiFi after about Eight Months of these guys busting their A.. - PATIENCE man - all the little side issues will be resolved in good time - This is called the After Glow - let this moment settle in :laugh: enjoy it!!
[HTC Amaze 4G] Joker10s3:
Nvm I get graphical issue when I force GPU rendering on 3D games

Well now I see no graphic issue.
[HTC Amaze 4G] soblecram:
bt issue?

Anyone having any hiccups with Bluetooth? I can pair and connect, when I dial with my Motorola Elite Flip, i can hear the keypresses in the earpiece, but get no audio for the conversation (no ringing or hearing the other person) Same with my Flexsmart x2

Any ideas?
[HTC Amaze 4G] sgtfoo:
Could we just backup the stock camera with titanium and then re-install after CM10?

BTW, does this ROM NEED S-Off?
[HTC Amaze 4G] gogjhan:
Excuse me i only want to know only , does multi touch work now? ) besides this thanks for your hard work , it is amazing work i was following to this thread,,,thanks :good::good:
[HTC Amaze 4G] riprowan:
This camera app is choosing very high iso settings. The plus is very short exposure (less motion blur) at the expense of graininess. Photo taken below was taken with cm10 camera and you can see it is extremely sharp. Question is, how do we adjust iso so that the camera chooses a lower setting?

FWIW i think camera 360 dies a good job with our hardware.
[HTC Amaze 4G] silverbullet1013:
I can see pictures that are stored on my external sdcard but I cannot browse to it. Isee it mounted in setting too. How did you manage to mount both. Can you browse to the external storage? Please help as my files are all there and needed them installed. Thanks.
[HTC Amaze 4G] :
The camera is fine you have to change picture quality to 720 hd
[HTC Amaze 4G] riprowan:
I wonder why my sd card works fine?
[HTC Amaze 4G] marathone:
Probably got it from you in the 1st place. ;)

I promised $100 for working data, so now that we have it, time for moi to pay up. Good work fellas!

Now all I gotta know Sports : Who's PayPal account do I send it too? I 've observed that the 3 of you are principally responsible for getting this working, so please advise.

Thanks!
[HTC Amaze 4G] rfunderburk39:
I made a few mods to the build.prop & seem to have much smoother scrolling in web browser, facebook & news apps. Power savings, call improvement, possible picture quality improvement, etc...

Additions are (a few lines were shifted to keep things organized):

#(ADD-ON)Video acceleration & HW debugging. debug.composition.type can also be changed to cpu or mdp

debug.sf.hw=1

debug.performance.tuning=1

video.accelerate.hw=1

debug.egl.profiler=1

fdebug.egl.hw=1

debug.composition.type=gpu

# (ADD-ON) Places the phone in a deeper sleep when in standby mode

ro.ril.power_collapse=1

pm.sleep_mode=1

# (ADD-ON) Wifi scan time larger number should increase battery life, but will decrease discovery of new wifi spots

wifi.supplicant_scan_interval=180

# (ADD-ON) Multi-touch (Increase ro.product.max_num_touch to whats suitable for your use)

ro.product.multi_touch_enabled=true

ro.product.max_num_touch=2

# (ADD-ON) Improved Scrolling

windowsmgr.max_events_per_sec=150

ro.min_pointer_dur=8

ro.max.fling_velocity=12000

ro.min.fling_velocity=8000

# (ADD-ON) Better call voice quality

ro.ril.enable.amr.wideband=1

# (ADD-ON) Faster stream

media.stagefright.enable-player=true

media.stagefright.enable-meta=true

media.stagefright.enable-scan=true

media.stagefright.enable-http=true

media.stagefright.enable-rtsp=true

media.stagefright.enable-record=false

# (ADD-ON) Improves audio and video recording quality

ro.media.enc.jpeg.quality=100

ro.media.dec.jpeg.memcap=8000000

ro.media.enc.hprof.vid.bps=8000000

ro.media.panorama.defres=3264x1840

ro.media.panorama.frameres=1280x720

ro.camcorder.videoModes=true

ro.media.enc.hprof.vid.fps=65

-Use a file browser (ES File Browser works well "with Root" permissions set in the settings)

-Copy from /system/build.prop to /sdcard/

-Use your PC to edit build.prop (use a proper text editor, in windows Notepad+ works well).

-Save

-Copy from /sdcard to /system/build.prop

-After editing you will need to verify permissions are set to rw-r--r--

-Restart the phone & the changes should be in place.

If your in need of more than 2 points for multi-touch you will need to increase ro.product.max_num_touch=2. I'm not sure what the max is for the Amaze, I would not go beyond what that happens to be.

I'm going to attach the original build.prop & the tweaked if sportsstar89 is cool with me posting those in this thread.

Note:

You will be taking the risk of making your phone un-bootable, use these mods at your own risk. Become familiar with making these changes prior to attempting if your unsure.

Most of these tweaks were learned here:

http://xdaforums.com/showthread.php?t=1704753
[HTC Amaze 4G] marathone:
Noticed the weather issue too w/news-weather app. Had to manually select a location for it to appear on the lock screen.
[HTC Amaze 4G] pcurator:
Why not split it and send it all three of them? They all put in lots of effort.
[HTC Amaze 4G] aznvi3tric3guy:
The path is external is /storage/sdcard1

You gotta set your file manager or ES explorer to default to the root of your phone then you'll see the path I just said. Use root explorer it'll get you there faster.
[HTC Amaze 4G] Ebonyks:
Thanks for the comprehensive answer, as a follow up, could you explain how sense works differently in that it allows the amaze to be configured as a usb wifi adapter using direct usb tethering and a wifi connection (using speedrom 7.8)

I'll keep experimenting with options to see what i can get working, cm10 is beautiful and worth a bit of hassle to get setup to meet my needs.
[HTC Amaze 4G] pdcrzylazy:
Sport, this is amazing. Congrats on all your hard work paying off.
[HTC Amaze 4G] marathone:
Agreed, maybe the 3 of them could use 1 PayPal account as Sports may not be of legal age for an account. In any event I'll wait for some feedback back from them - Fellas please respond. :)
[HTC Amaze 4G] jordin1128:
Another bug I noticed was video playback from browser. If I go on YouTube to watch a video, audio is good but playback is very choppy, seems like it takes 2 secs of the video and keep replaying it while the audio streams. Youtube app works perfect with audio and video.

In development, selected force GPU for graphic and also hw overlay. Disabling the dither didn't work either. Maybe just a simple media_codecs.XML or media_profiles.XML fix?

Thanks for all the efforts for everyone, even the community that's not directly involved b/c if we didn't push, test, and give all alternate opinions to how and why things didn't/don't work, there would be no CM10 today... Thanks again!
[HTC Amaze 4G] xndabox:
+1 I know a post was made a few pages back. But I really would like to hear from you sport.
[HTC Amaze 4G] mahgninnuc93:
Didn't find the fix Ed. But I did find the thread a few pages back where it is mentioned and put on a fix list for future builds.

Sent from your moms lingerie closet hiding from your dad who just got home and using my Amaze with CM10
[HTC Amaze 4G] mestguy182:
Do you just copy and paste these on to the end of the build.prop and remove the '(ADD ON)' ?
[HTC Amaze 4G] Ninjistix:
sorry if i missed it already, but how do you re-enable the button lights again?
[HTC Amaze 4G] rfunderburk39:
You can remove those if you wish, but any line that starts with # it will be skipped. So that allows one to leave the line in place to point to where changes were made.

I would suggest placing them before line 54. Also I would check that you do not place a second (or duplicate) entry into the build.prop.

Two examples of an existing info that will be duplicated:

debug.egl.hw=1

debug.sf.hw=1

You can delete those or place a pound sign at the begin of the line like this:

#debug.egl.hw=1

#debug.sf.hw=1

This will comment out & android will skip those entries.

Hope this helps