yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] pagoweb:
It's indeed a much more elegant solution :good:
[One (M8) Android Development] kadirpasa:
Pagoweb when I go to play asphalt 8 my car turns hard right and won't turn left. Any thoughts?
[One (M8) Android Development] noname55804:
Also sensor related

Here the newest build, if everything wnt good you should not experience any sensor or buzzing sound issues.

Please report back, i havent any time to test it:

https://www.androidfilehost.com/?fid=95887005526786304
[One (M8) Android Development] Rouz.:
Downloading now. I'm gonna test it and report back. Thanks

Edit: I got it up and running. I'm running some tests now.

Update: Initial tests shows that there is no buzzing sound! Great Job! I'm gonna put it under some extreme tests for the next hour xD

Update 2: A few reboots and DT2W is still working fine.
[One (M8) Android Development] Rouz.:
It's Fixed

[MENTION=5046290]noname55804[/MENTION] removing the amplifier from the device tree fixed the issue. There is absolutely no buzzing sound.
[One (M8) Android Development] seadersn:
no side effect? like (more or less) lower sound levels?
[One (M8) Android Development] alershka:
Checked on my phone. Tried five calls with volume all the way up. No buzzing. I will try to get other things checked out later today but it looks like reverting got rid of the buzzing. :good:
[One (M8) Android Development] Rouz.:
Sounds just as good as before. No side effects.
[One (M8) Android Development] foamerman:
Should we go ahead and do a clean install of 1/4? No dirty flashing.
[One (M8) Android Development] noname55804:
Thanks for testing, will upload this to gerrit then.

Please let me know if you experience any sensor issues
[One (M8) Android Development] Rouz.:
A clean install is always better to avoid issues. But you should be fine with a dirty flash

Sure, I will report if I see anything. Thanks again for the fix!

A bit off topic, but Is it possible to reduce the vibration level of the keyboard? It is too strong, it drains battery
[One (M8) Android Development] noname55804:
You can change the vibration intensity in general with Trickster Mod for example
[One (M8) Android Development] noname55804:
Here is the final fix now:)

http://review.cyanogenmod.org/#/c/83791/1
[One (M8) Android Development] kadirpasa:
Sensor is working. But I can't seem to get root in developer settings doesn't work. Maybe I'm not understanding.. I installed super User to get apps needing root to work
[One (M8) Android Development] Rouz.:
Thanks for your hard work. Let's hope it get's verified and merged this time.

With the buzzing sound and dt2w issues fixed, this is one of the most stable CM builds that I have ever used on a non-nexus device.

I only ran to a random small bug, I thought I'll mention it anyway. Opening the phone app and sliding to the contacts tab, my contacts are sorted based on last name, regardless of me choosing the option to sort them by first name. It is correct in the contacts app so not a big deal.
[One (M8) Android Development] L1nuz:
You need to activate root in Developer options, root access, apps and adb
[One (M8) Android Development] Rouz.:
Looks like the change has been verified and merged. Well done everyone!
[One (M8) Android Development] alershka:
I saw that too. Great work. Noname, can you also submit to have this reverted in CM11? I know the problem existed there and I wasn't sure if you just posted it for CM12.

Thanks!
[One (M8) Android Development] malteasers:
So far, this whole ROM is working perfectly, 1/4, no crashes or anything. Only thing is that it seems so signal hunt a lot. Thanks for all the work put in!
[One (M8) Android Development] noname55804:
I think i forgot the d2w patch in 4/1, not quite sure, but i think so.

I´ll do a build tommorow with all fixes ;)
[One (M8) Android Development] noname55804:
Yes it had, thanks to everyone who was envolved ;)
[One (M8) Android Development] Bobbi lim:
[MENTION=5046290]noname55804[/MENTION] [MENTION=1307550]pagoweb[/MENTION] I seen that your have made changes to the M8 repo to fix the beeping sound and d2w on the M8. Haven't try it yet so not sure how it goes. Another question I have, is sound distortion still around when using the device speakers?
[One (M8) Android Development] MJPollard:
I've got a Carbon KitKat repo set up on my Linux system. I'm going to manually edit BoardConfig.mk to comment out the line, then do a compile and install it to see if the issue goes away. If it does, I'll be satisfied to stay with Carbon-KK until CM12 is sorted out (and Xposed supports ART), then start using Carbon-LP when it's finally out.
[One (M8) Android Development] dw9906:
Good luck getting that one fixed. I've reported it multiple times. It's always been present in AOSP. I really wish it would get fixed though. Wish I had the knowledge to fix it myself. That's the main reason I use GPe. I'd rather use AOSP.
[One (M8) Android Development] johnhazelwood:
Is there a way to enable fast charge 2.0?
[One (M8) Android Development] droid1980:
I had to go back to stock. But I have also noticed this problem on CM12 . This is one of the many bugs that can be found in CM12. I noticed that when I pulled down the notification bar, that the signal indicator began to work only for a short time if that, I still had data . On a side note. Htc should have the official lollipop update for att brand by February 3. Just go back via nandroid restore, flash stock recovery.img, then your set to rock.
[One (M8) Android Development] kadirpasa:
I dud that but the apps still want root
[One (M8) Android Development] ozg33k:
Yeah same here. Activating root doesn't .make superuser show in settings, the change log says it removed it and put a "PG VERSION" of superuser.. Whatever that is..?
[One (M8) Android Development] L1nuz:
Then I have no idea why root doesn't work, sorry.

I was wondering if someone could share a bit of light on a previous question asked here...

Since there is "Superuser" build in cm lollipop, is flashing supersu redundant?
[One (M8) Android Development] saikiran169:
Blank Screen

I installed the latest 1/04 update. IT took a long time to boot up. After booting up and optimizing the apps, the phone said process system is not responding. I clicked wait. Then it said Keep not responding. I clicked Ok. Then suddenly the phone goes blank. All I can see is the wifi,signal, and charging icons. and the icons on the bottom. I have no idea on what to do now.
[One (M8) Android Development] info[]box1:
1. Was this a clean install.?

2. What software were you previously running (GPe 5.xx or 4xx, Sense, CM)

Etc.

Just so we can read between the lines a little more.
[One (M8) Android Development] djpabz23:
Have you tried flashing the SuperSU zip? If not, download it from here
[One (M8) Android Development] saikiran169:
I was on the 12/29 update. Anyway, I did a wipe and reset to factory settings. Reflashed the 1/04 update and the Gapps. Now its working.
[One (M8) Android Development] harmonized1314:
Awesome job everyone
[One (M8) Android Development] info[]box1:
Cool awesome
[One (M8) Android Development] Rouz.:
Indeed, dt2w and auto rotate stopped working for me a few minutes ago.
[One (M8) Android Development] djpabz23:
That is odd. I am on the latest build and my D2W works perfectly fine. Also, my auto rotates works as well.
[One (M8) Android Development] Rouz.:
It was working great for me too, for almost a day, and then it stopped working. A reboot fixed it anyway.
[One (M8) Android Development] noname55804:
Today´s build failed, as i hadn´t enough storage left on my VM.

I deleted about 200 GB old data now and start again. I´ll upload later again.

Lokk forward, it should have everything fixed now :p
[One (M8) Android Development] amirfida:
Waiting for it :)
[One (M8) Android Development] netboy3:
Superuser was removed from settings. It is now part of Privacy Guard. 1st, enable root in developer, then run an app that requires root. The root request pop-up will show. Once you either deny or allow this app, it will store the state with Privacy Guard. If you now go to Privacy Guard and long press the application you just allowed/denied you'll see "Root Access" feature added to the app where you can control it.
[One (M8) Android Development] noname55804:
New build uploaded!!!

Repo synced 5 hours ago

It includes the following gerrit patches:

http://review.cyanogenmod.org/#/c/83401/

http://review.cyanogenmod.org/#/c/83410/

http://review.cyanogenmod.org/#/c/83411/

The build should also fix the buzzing sound as well as all sensor related bugs, if you still experience some of them, please report back!

Now have fun with the update :)​
[One (M8) Android Development] kleptonez:
THANK YOU!!!!!
[One (M8) Android Development] thelongdiv:
Congrats and Casting

Hi Guys,

Thank you so much for fixing the buzzing noise. I nearly switched to GPE this morning until I read the last few pages! Downloaded, installed, No buzzing.

Does anyone have casting working natively from the main pull down menu? It doesn't seem to work for me at least.

Thank you for all your great AOSP work,

Thelongdivider
[One (M8) Android Development] Galaen:
May I ask which patch is related to the sensor bugs? I know it's not one of the three you just listed, but I was just curious for learning purposes.

Sent from my AT&T HTC One M8
[One (M8) Android Development] ferreinf:
Can someone try fm radio app, please? Check if it has sound

Enviado do meu Nexus 7
[One (M8) Android Development] vladniko:
Soff Rooted 4.4.2 Verizon

Will I lose root?

What are current problems with this build?
[One (M8) Android Development] Dan Tekle:
First off, awesome work in this thread! I've been following v for a few months and it's nice to see all of the teamwork. With that said, I have 2 questions about the latest build. I flashed 1/4 yesterday and the only bug I found was that I had an extremely unresponsive dialer. Is this a known issue? BTW, I have the latest 5.0 firmware installed and did a clean install. Other than that I still saw the miscellaneous power drain eating up battery but the actual battery life seemed average still. TIA
[One (M8) Android Development] pagoweb:
sensors bug fix has already been merged to cm repo : http://review.cyanogenmod.org/83261
[One (M8) Android Development] Rouz.:
The dialer is pretty responsive for me, but I have the miscellaneous power drain as well. As you said, the battery life is good regardless.
[One (M8) Android Development] krazie1:
Hey noname any chance you can put the commit for the buzzing sound for cm11 too? Will they add it automatically if it's for m8 specifically?
[One (M8) Android Development] noname55804:
Yeah i can do this if you want
[One (M8) Android Development] krazie1:
Yeah that would be great man, Thank you
[One (M8) Android Development] MJPollard:
That would be sweet. Not all of us are ready to jump ship to CM12 just yet; we need our phones to not be on the bleeding edge. ;) (I compiled a Carbon-KK last night that has the change, which I did by manually editing the BoardConfig.mk file myself, and I installed it today. I'll test it later when I can call my phone, as I keep it on vibrate while I'm at work.)

EDIT: Just had a call come in while my phone was not on vibrate. No dice; I still get the beep after answering the call (it was actually

worse

with this change), and the speaker still buzzed afterwards until I rebooted the phone. Dammit. :(
[One (M8) Android Development] whytechapel_x:
You're still getting the buzzing sound with the new built?
[One (M8) Android Development] Rouz.:
He is talking about his own carbon-kk build. OP can probably help him fix that.
[One (M8) Android Development] MJPollard:
I'm going to try again, this time performing a clean build (make clean, then make carbon -j7) in order to rule out any "dirty compile residue" being the culprit. If that still doesn't do it, I'm okay with disabling my ringtones until CM12 becomes stable enough for me to use as a daily driver.
[One (M8) Android Development] PhillyFlyer:
tried and true...is this stable for the most part for you guys? Using InsertCoin for my daily. Was wondering how things are holding up long term for these builds?
[One (M8) Android Development] mulhearn22:
bluetooth not 100%

I'm seeing the same thing. Bluetooth worked fine with headphones at work, but my car (2015 Subaru Legacy) it craps out. I'll get a few seconds, staticy, and then it'll just stop. Phone works fine but music doesn't work even though the phone's head unit and my phone say the song is playing. I also notice that if the music is playing and a notification comes up (like my car trying to ask if it can sync messages with my phone), that will kill the music instantly. This is all I need. Other than that, the ROM is awesome.

Edit: I found that rebooting solved the issue, but I'll see if that continues to work...
[One (M8) Android Development] info[]box1:
Curious.. What recovery is everyone using. ?

Ex; Philz CWM 6.57.1 (last & latest) build from him.
[One (M8) Android Development] Bobbi lim:
I've read a few pages back and has been following this thread for quite sometime. I've seen that d2w and the 'buzzing' sound has been fixed. But what about the audio distortion when the speaker volume is at 80% or higher? Is the issue still present?
[One (M8) Android Development] Dubin04:
TWRP 2.8.3
[One (M8) Android Development] Captain_Throwback:
A good choice ;).
[One (M8) Android Development] Dubin04:
All I use.
[One (M8) Android Development] Bobbi lim:
CM12 nightlies are going to be out soon: http://www.cyanogenmod.org/blog/the-l-is-for-lollipop
[One (M8) Android Development] mzrdisi:
Why is audio distortion so bad?

I turn down the volume to compensate, but then the volume is softer/quieter than GPE or Sense.
[One (M8) Android Development] noname55804:
No more work for me [emoji22]
[One (M8) Android Development] Bobbi lim:
That's sad! Really though I have not been using much of your builds due to d2w and sound distortion but man, am I grateful to you! Thanks to you, people like me whom love flashing can flash cm12 without having d2w not working and the beeping sound. Though you didn't manage to fix the sound distortion issue for CM12 but nonetheless great job! :good::victory:
[One (M8) Android Development] OtisFeelgood:
I would like to know this too, I just bought a qualcomm quick charge 2.0 charger.
[One (M8) Android Development] ken830:
Also seems like NFC works but Google Wallet tap to pay doesn't. Is that normal?
[One (M8) Android Development] heavymetall66:
Please check camera!
[One (M8) Android Development] amirfida:
Is there any problem with it?
[One (M8) Android Development] seadersn:
is this a request for you to know if it works or do you have the rom installed and found problems with cam? if second, pls tell what's wrong.

edit: k, you have it installed ;)
[One (M8) Android Development] heavymetall66:
Stranged things on my phone... I take a picture and it looks like a spiegel kabinett, I don't know the right word for this...
[One (M8) Android Development] seadersn:
mirror cabinet xD
[One (M8) Android Development] Mince69Meat:
cm12 nightly's are being pushed out, several devices already out, can't wait for them to get the m8 :)

Sent from my One M8
[One (M8) Android Development] riaan0010:
M8 build failed : http://jenkins.cyanogenmod.com/job/android/
[One (M8) Android Development] Mince69Meat:
build still running from what I can see, where u looking?

Sent from my One M8
[One (M8) Android Development] alershka:
Here is the link:

http://jenkins.cyanogenmod.com/job/android/97798/

Red dot at top shows failed.

If you look at the raw console output at the bottom:

Using default branch for android_hardware_qcom_fm

Syncing dependencies

Looking for dependencies

Dependencies file not found, bailing out.

Looking for dependencies

Dependencies file not found, bailing out.

Looking for dependencies

Dependencies file not found, bailing out.

Done
[One (M8) Android Development] riaan0010:
You have to scroll down to builds finished
[One (M8) Android Development] Mince69Meat:
cm_m7-userdebug failed

m7 released and showing on nightly

cm_m8-userdebug failed

m8 will still be showing up on nightly

build still running and going ahead

Sent from my One M8
[One (M8) Android Development] Dan Tekle:
Of course ours fails, lol!
[One (M8) Android Development] smoki3:
New Build is coming with some cherry picks:

-new Bootanimation

-editable Quicktitels

https://www.androidfilehost.com/?fid=95887005526787304
[One (M8) Android Development] heavymetall66:
Test it!

Camera is not working in your build !!

Back to v5/1 /2014...

... and i dont understand, what you are doing here in this thread !?
[One (M8) Android Development] smoki3:
[MENTION=5046290]noname55804[/MENTION]

any way to fix the ril for low LTE Signal in gsm?

The problem is m8 is not following GPP LTE Signal Strength spec by allowing the mLteRsrp go greater than 140,

ricardo says i should try to add

@Override
protected Object
responseSignalStrength(Parcel p) {
int numInts = 12;
int response[];
response = new int[numInts];
for (int i = 0 ; i < numInts ; i++) {
response[i] = p.readInt();
}
if (response[8] > 140) response[8] = 140;
return new SignalStrength(response[0], response[1], response[2], response[3], response[4], response[5], response[6], response[7],response[8], response[9], response[10], response[11], true);
}

in the ril class.

but i dont know where i have to insert it.

And he says we have to check the integer:

if (response[8] > 140 && response[8] != Integer.MAX_VALUE) response[8] = 140;

May be you can help me to fix the lte signal.
[One (M8) Android Development] pagoweb:
try here :

https://github.com/CyanogenMod/andr.../java/com/android/internal/telephony/RIL.java

EDIT : ah i forgot ... NoName is not [MENTION=5046290]noname55804[/MENTION]

EDIT2 : there must be some device specific project where you can override it... you should look for it in device/htc/m8 ...

EDIT3 : ok i just checked gerrit... i understand better now. there is no custom ril class for m8 atm (at least i can't find it; you should check if there's a ro.telephony.ril_class=... in build.prop to be sure) => you will have to create it to override responseSignalStrength method.

here is an example of a custom ril class creation for another device : http://review.cyanogenmod.org/83695
[One (M8) Android Development] Rouz.:
Can someone explain to me in a noob-friendly way, why did the official nightly build fail? Aren't we building the unofficial ones based on the same source?
[One (M8) Android Development] L1nuz:
My unqualified guess is that they are adding some CM content to the build and it makes the fail
[One (M8) Android Development] Mince69Meat:
Syncing dependencies Looking for dependencies Dependencies file not found, bailing out. Looking for dependencies Dependencies file not found, bailing out. Looking for dependencies Dependencies file not found, bailing out. Done

Ppl's build servers / environment is setup different, but that's why that build failed anyway
[One (M8) Android Development] kadirpasa:
When power saver kicks in my phones not usable. It is tooooo slow.. I wonder why?
[One (M8) Android Development] Darknites:
The clock speeds would go down in that mode or force to not go high.
[One (M8) Android Development] kadirpasa:
Yes but currently is too drastic to the point the phone in not possible to use
[One (M8) Android Development] Darknites:
Hmm I just tried on Candy and it don't feel no slower so not sure what's up with yours.
[One (M8) Android Development] ImmU94:
Dual Sim?

Does it support dual sim on Moto G XT-1033?:confused:
[One (M8) Android Development] pagoweb:
why don't you ask there or there for instance ?
[One (M8) Android Development] u-wot-m8:
When going from this to an official CM12 nightly, do I have to wipe my phone?
[One (M8) Android Development] pagoweb:
first make a nand backup just in case ...

then you can try dirty flashing ...

and if you encounter any issue => clean flash

everything should be ok :silly:
[One (M8) Android Development] faridaizuddin:
Take a look at your performance profile. Does it in power saver mode or balance or performance? If in power saver mode then it is normal as your processor been clocked down to save your battery juice. Simple switching to balance or performance mode will make your experience different but then battery saver mode is useless after that... [emoji12]
[One (M8) Android Development] TheAnarchist1:
[MENTION=1307550]pagoweb[/MENTION]

I just saw the whole custom ril class discussion a page or so back. How might we be able to implement this for our m8?

If you know how. I would be interested in trying, though my skills with such are VERY limited

This bug has been bothering me FOREVER! I would love to see it squashed!
[One (M8) Android Development] pagoweb:
well.. i am far from an expert and i've already said all i knew about it in my response to [MENTION=3115338]smoki3[/MENTION] ...

it seems (because i can't find it) we need to create a custom ril class for m8 device tree.

basically i think it means we have to create a new class (e.g. m8RIL.java or whatever) which extends RIL in order to override responseSignalStrength method...

do you know java ?
[One (M8) Android Development] seadersn:
quick shot / thought:

the goal for fixing buzz sound is to completely remove libaudioamp / not compile it, am i correct? at least that's what's commit title saying. sry, didn't completely follow the discussion regarding this ;)

can anyone with new, buzz fix build check, if libaudioamp is present in /system/lib? it should be there, because this line

include $(call all-subdir-makefiles,$(LOCAL_PATH))

in m8 device trees Android.mk in my opinion may override commenting out libaudioamp in BoardConfig.mk only. for completely disabling it it may be necessary to delete the libaudioamp folder as well.

additionally, it can be found in device.mk, line 90.

pls correct me, if i understood sth wrong :) i only remembered there were more places from where building this lib is called.
[One (M8) Android Development] pagoweb:
i think you're right.

noname55804's commit was to disable the use of libaudioamp as board amp.

libaudioamp is built. here what i found in device.mk :

PRODUCT_PACKAGES += \
libaudioamp
[One (M8) Android Development] seadersn:
don't really know if i'm right ;) from what i've read in my quick looking it looks like libaudioamp was present already before buzzing started, it was edited then: a hook was added.

but buzzing sound is really gone, for sure? so it should be ok.
[One (M8) Android Development] pagoweb:
indeed commit's message is much more explicit now ... thanks to dan's pickiness ;)

this commit seems to have actually fixed the buzzing issue. at least from what i read here and on gerrit's comments
[One (M8) Android Development] Rouz.:
I'm pretty sure you guys know what you are talking about.

But when everyone was denying the issue, I was pretty sure it was real as I was getting it Every Single Time that my phone rang. (No exception)

And I am now pretty sure that the issue is gone, because my phone has rang more than a hundred times in the past two days and I have not received a single buzz. And this is true on both this ROM and blisspop.
[One (M8) Android Development] seadersn:
ok and thanks, nevermind :D 'quick thought' only ;) and i'm on slimkat btw :) applied this fix even i've not been plagued by it til now, fortunately...
[One (M8) Android Development] pagoweb:
libaudioamp is useless for m8 till it's corrected... so disabling it can't hurt i think
[One (M8) Android Development] Rouz.:
The very fact that some people never got this issue is really confusing.

But again, what I said was purely based on my experience, from a very "nontechnical" point of view. (If that's the right term xD)

You guys are the experts, so your findings are more reliable than my experience. I just thought I should share what I saw.
[One (M8) Android Development] seadersn:
maybe because i personally never turn volume up more than 70-80 percent ;)
[One (M8) Android Development] pagoweb:
And you were right => thanks to your sharing (and many tests) no more buzzing for you or others who had same issue... and that's the main thing

btw i'm no expert...