yashsingh1/xdaforums huggingface dataset:
[RAZR HD Android Development] mmm.waffles:
Sorry I edited the post a couple times while you were typing by the looks of it.

I have tried to tether to a pc without any luck. I have to run out for a bit but will come back to this and answer your questions further. Thank you for your help!

On a side note, I am able to use the same sim card in my Sony z ultra with a stock rom and tether without any trouble so I don't suspect it's my provider (Rogers).
[RAZR HD Android Development] arrrghhh:
Yea, seems to be a common issue... I'm not sure why, dhacker did respond - confirmed it's happening, but not sure yet on a solution. We'll get there.
[RAZR HD Android Development] mmm.waffles:
I'm doing most of the testing with a tablet (asus TF101 on katkiss 4.3.1) but have access to a pc with wifi as well. The tablet gets what looks like a proper ip, dns, and default gateway. I can ping from tablet to phone and vice versa. 8.8.8.8 does not work.

I can get a logcat, sure. Is there anything in particular I could look for? I'm not a developer but I'll see what I can find. I'm guessing you're talking about pulling logs from the phone that is tethering?
[RAZR HD Android Development] arrrghhh:
Yes, pull logs from the phone that is tethering.

Also, try to tether a PC and not just a tablet.... I tether my PC all the time using Carbon, but I also don't pay for a tethering plan - I wonder if this could have something to do with it? Sounds like you do pay for a plan.

Lastly, I have to lol at 4.3.1 being called 'katkiss'. Close, but no cigar eh? Haha
[RAZR HD Android Development] mmm.waffles:
Logcat was created just before turning tether on, connecting to tether from PC, then attempt to ping google by domain name. I have tethered with stock roms, as well as custom roms over wifi, bluetooth and USB (super handy when my home internet is being fussy / roommate is watching netflix) so I should hope by this point it's not a carrier issue. Also no troubles tethering using a sony z ultra with the same sim card.

Heheh, yeah KatKiss was out long before KitKat too! Amazing rom for the Asus Transformer.
[RAZR HD Android Development] CWGSM3VO:
Rogers (the carrier) provides free tethering -- at least on my RazrHD and my wife's Sony Xperia T they do. Just adding my two cents here. See here: http://xdaforums.com/showpost.php?p=50947438&postcount=1546
[RAZR HD Android Development] arrrghhh:
Does tethering work for you...?

I looked at the log, nothing jumped out. I see the device connect near the end of the log, nothing really useful that I can see.
[RAZR HD Android Development] CWGSM3VO:
I'll be honest here... I haven't tried/used tethering since my phone was stock as I don't have any need for the feature (I own an AirCard) and only tried it for the sake of showing off to my wife during my campaign to get her to switch to Android :)

We used to use it on our Blackberry's back in the day but that was long before unlimited data plans and the like (for example, I have a 6GB data plan on my phone through Rogers) but with us having the AirCard we don't use tethering.

I can flash the ROM and try it if you'd like.
[RAZR HD Android Development] arrrghhh:
Ha, I assumed you were on the ROM since you commented in the thread. Don't need to go out of your way... I just know tethering works for me - but I'm on slightly different hardware and a completely different carrier.

Thanks!
[RAZR HD Android Development] mmm.waffles:
Thanks for that. I'll make sure I have the right apn settings... just as soon as I can get the com.android.phone to stop force closing when I go into view the APN entries. I may just need to clean flash at this rate. Don't worry about flashing it just to test tethering since it sounds like my issue is an isolated one, but I appreciate the offer to help troubleshoot!

Thanks for all your help with that, I really appreciate your time. If I can't get it going then I'll start fresh and go from there.
[RAZR HD Android Development] rokr1292:
I restored back to a backup of the 3/01 nightly and it works beautifully. (With your kernel)

Unrelated note, what ever happened with carbon delta?
[RAZR HD Android Development] arrrghhh:
Ah I didn't realize you were dirty flashing and didn't try a clean flash... Always try clean flashing before reporting problems ;)

Keep your backup, but try the latest nightly. I got reports in another thread that it's fixed.

As for Delta... Let's just say it's in the works but a bit delayed ;). Some unforeseen issues have dragged the process out. Hopefully soon... No idea on ETA tho unfortunately. It was testing well, we just needed to automate the process.
[RAZR HD Android Development] mmm.waffles:
It has never worked for me on this rom but you're right I should have clean flashed the latest before reporting! Sorry, lesson learned! I will try to do that this coming week. Sometimes I forget how many variables there can be when dealing with Android. The cause of and solution to most of my problems!
[RAZR HD Android Development] rokr1292:
ive since updated to everything 3/15 and it is rock stable for me, (except slim pie seems very slow but thats probably just me) its awesome.

is there a way for a crackflasher like me to "test" it? cant wait to see it in practice.

and while im asking questions, is there any plan to implement PA's new pie once they put the finishing touches on it? i know that implementing both versions of pie was considered in 4.3
[RAZR HD Android Development] abuttino:
Is Tap and Pay finally here? I just heard about the NXP drivers being released for AOSP.
[RAZR HD Android Development] arrrghhh:
Delta isn't really test-able by everyone, apologies. When we roll it out, everyone will get to test it... We've just run some sandbox tests, so from one nightly to the next. It was several weeks ago, and a manual process - so really nothing for you to test...

As for PIE, would be cool to have both. Not sure what the plans are, I'm sure having both is on the list of 'gee that would be nice to have'.

Hm, I thought there was always little tricks you could employ to use Google Wallet, but the NFC has always worked.

I've never used the thing to be honest - NFC or otherwise, unfortunately.
[RAZR HD Android Development] abuttino:
The hce NXP driver stack was empty, apparently it's populated now
[RAZR HD Android Development] rokr1292:
I love having the battery bar back! I missed that dearly. Hidden battery icon is missing though

Slim pie seems much quicker on the past 2 nightlies as well
[RAZR HD Android Development] Zeljko1234:
I use this rom last couple of days and it's really smooth with a lot of usable features. I don't like pie, except cherry one :D Big thank to whole Carbon team!

I tried to enable ART but ended with force closing one system app. I think it was phone apk or something similar. Does it mean that this rom doesn't support ART?
[RAZR HD Android Development] arrrghhh:
ART is still an experimental feature. It's not recommended unless you are a developer testing a specific application. This is why it's in the Dev Options section.
[RAZR HD Android Development] Zeljko1234:
I know that. Check my sig ;)

I'm not complaining, just asking why doesn't work on this rom. I can investigate by myself but it's easier if developers already have answer.

Thanks again for quick answer and really nice build.

http://review.cyanogenmod.org/#/c/57960/
[RAZR HD Android Development] Zeljko1234:
May I report one bug. Has anyone noticed high frequency noise in recorded video? I tried several apps and with everone is the same. Stock rom doesn't have that problem.

Edit: Seems like common CM11 bug, http://review.cyanogenmod.org/#/c/57960/
[RAZR HD Android Development] arrrghhh:
Nice find. Seems the audio is a bit different between the different devices... The CM maintainers do great work, they will get it solved :)
[RAZR HD Android Development] Zeljko1234:
Hopefully but last update is more than one month old. Do you know is the latest workaround implemented in Carbon rom?
[RAZR HD Android Development] arrrghhh:
I don't pick things from other gerrit's if they haven't been merged.
[RAZR HD Android Development] Zeljko1234:
I'll try CM11 then and let you know. If is ok, would be nice to cherry pick that.

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

I've just tested latest CM11 nightly and it's the same high frequency noise in recorded video.

If you don't mind, could you cherry pick that workaround just for test?
[RAZR HD Android Development] arrrghhh:
Like I said, not until it's merged.

If you want to pick it and build for yourself, by all means.
[RAZR HD Android Development] Zeljko1234:
That's not so friendly from you. You have downloaded source, prepared environment and cherry-pick will take just few minutes. Only building could take longer depends of your configuration. For me will take hours to download, pull out blobs, cherry-pick and build. Just building on my old laptop (which I use for building rom) will take about 6-7 hours.

Hopefully other Carbon developers are more friendly.

P.S.

Most probably problem is in libs anyway.
[RAZR HD Android Development] arrrghhh:
I told you, it is rude to pick things from other gerrits and then post public builds. If you are just building for yourself, that is fine.

When CM has merged it, we can test it on Carbon publicly. Otherwise, personal builds only. I hope you understand my point, I'm not trying to be "unfriendly" - this is me being respectful to open commits on other gerrits. I cherry-pick things all the time, but I don't post those builds.

Thanks.
[RAZR HD Android Development] Zeljko1234:
Actually you were some kind of unfriendly to me when I first time posted here asking about ART. What's the point of thread if users cannot comment, ask, report bugs, make suggestion, etc?

If you say that's rude (even apparently Carbon use CM source) then cherry-pick, test and report to your team about result.

I didn't ask you to post this build! Let me quote myself "If you don't mind, could you cherry pick that workaround just for test?"

Edit: But I suggest to continue in good will :)
[RAZR HD Android Development] arrrghhh:
Hm, perhaps you are unaware... I do not own a xt925 or 926. I have a xt897, which is one of the moto_msm8960 devices.

Apologies, but I cannot test. As you can see from the review you posted, the 897 does not exhibit this behavior.

Either way, feel free to comment and post results of anything you wish. I will respond appropriately, if I feel the need. That is the point of me maintaining for these devices.
[RAZR HD Android Development] Zeljko1234:
If you're willing, you can do a favor to xt926/925 users and build with that patch, send PM with link to me and I can test.

I proved many times as trusted person so don't worry about leak. Of course you and Carbon may get useful info.
[RAZR HD Android Development] kabaldan:
That commit does not require any rebuild of ROM.

It's just an edit of /system/etc/snd_soc_msm_2x (which is runtime config file).

Anyone can do the edit and test it on his/her phone, no recompilation of platform code is needed.

That commit is known to make the noise less apparent, but it doesn't really fix the issue, the high frequencies are still there.

What's interesting is that only xt925 seems to be affected, I don't remember any xt926 user complaining about it.

No reports from mb886/xt907/xt905/xt901/xt897 etc.
[MENTION=2559459]Zeljko1234[/MENTION] So you have it on Maxx HD a well? OK.

See also my post about it here:

http://xdaforums.com/showpost.php?p=51486825&postcount=1735

and here:

http://xdaforums.com/showpost.php?p=51696342&postcount=1800
[RAZR HD Android Development] Zeljko1234:
My apologies to didn't read carefully link i provide. I'll test it tomorrow and let you know.

Yes I have razr maxx hd,

Thx for help.

---------- Post added at 04:05 PM ---------- Previous post was at 04:00 PM ----------

I saw your first post. Lowering sampling frequency is not great solution for me. I was focusing on gpio you mentioned. Apparently stock rom doesn't have this noise problem.
[RAZR HD Android Development] Zeljko1234:
What's going on with official webpage? It's down all day :(
[RAZR HD Android Development] arrrghhh:
I blame heartbleed. (Literally, I think they are trying to fix some ssl stuffs with the site.)
[RAZR HD Android Development] Zeljko1234:
I apologize for off topic but Carbon JB topic is locked. Carbon KK is great except camcorder bug. On official site all links to JB builds or earlier xt926 KK builds are down.

So I kindly ask if anyone has JB or KK build for xt926 to upload and share a link.

Thanks
[RAZR HD Android Development] Zeljko1234:
I was playing with /system/etc/snd_soc_msm_2x settings and looks like that I fixed it. Here is two samples, before and after. Video is dark because phone was lying on the desk. In the same folder is fixed configuration file.

Basically solution is from JB settings. I suppose that wrong settings for Razr HD came from another Motorola device after CM11 unification.
[RAZR HD Android Development] Zeljko1234:
In the case that you haven't noticed, my solutions for camcorder hiss noise bug is confirmed as working. Here you can find modded file just taken from Carbon rom running on my Razr HD.

Or just set MICBIAS to 1:1 as showed below.

SectionDevice
Name "Camcorder Tx"
Comment "Camcorder Tx device"

EnableSequence
'SLIM TX7 MUX':0:DEC3
'DEC3 MUX':0:ADC4
'DEC3 Volume':1:83
'ADC4 Volume':1:100
'SLIM TX8 MUX':0:DEC4
'DEC4 MUX':0:ADC3
'DEC4 Volume':1:83
'ADC3 Volume':1:50
'MICBIAS1 CAPLESS Switch':1:1
'MICBIAS3 CAPLESS Switch':1:1
'SLIM_0_TX Channels':0:Two
EndSequence

DisableSequence
'SLIM TX7 MUX':0:ZERO
'DEC4 MUX':0:ZERO
'DEC4 Volume':1:0
'SLIM TX8 MUX':0:ZERO
'DEC3 MUX':0:ZERO
'DEC3 Volume':1:0
'ADC3 Volume':1:0
'ADC4 Volume':1:0
'MICBIAS1 CAPLESS Switch':1:0
'MICBIAS3 CAPLESS Switch':1:0
EndSequence

ACDBID 4:2
EffectsMixerCTL "SRS TruMedia"

EndSection
[RAZR HD Android Development] StefanGA:
I might just be to stupid to find it, but how do I add the profiles selection option to the power menu?

I am in the power menu settings and went through all possibilities of custom apps, but I can't find it... can anyone point me in the right direction?

also looks like the CLock widget cannot be customized on the lockscreen.. can't switch to analogue clock, doesn't show weather, doesn't show calendar events..
[RAZR HD Android Development] arrrghhh:
I don't think profiles can be added to the power menu (at least I couldn't see how, will ask around).

As for cLock, it can be customized. However, I'm not sure how to get to the customization screen without removing/re-adding the widget... I feel kinda stupid, but no matter what I do the only way I figured out how to change the cLock settings is to remove and readd the widget. Then you get choices on how to configure it...
[RAZR HD Android Development] StefanGA:
Hi arrrghhh - actually you can configure it through the Carbon Fibers => Lock Screen => General => Clock Widget all the way to the bottom, but my point is, it has no effect on the lockscreen.. always stays the way it is.. I tried to long click/hold it on the lockscreen to expand but no-go..

The cLock widget on the HOME screen though only is configurable through the way you describe.. remove re-add, start over again.

Funny though,this method has an issue, too - if I set the weather to "use metric" it still shows Farenheit.. :)

Regarding the profiles on the power menu - I know it was there pre KitKat...
[RAZR HD Android Development] jldr:
Can someone tell me if this commit from Cyanogenmod was merged into Carbon?

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

It fixes Bluetooth track data.

Thanks!
[RAZR HD Android Development] arrrghhh:
We track that repo directly from CM.

https://github.com/CarbonDev/android/blob/kk/default.xml#L79

So yes, it has been in our nightlies since Mar 19.
[RAZR HD Android Development] jldr:
Awesome, thanks. I was on CM11 for a while for stability purposes, but as of the last few nightlies, they haven't been stable at all. Most likely having to do with the new theme engine...
[RAZR HD Android Development] hugodefcon:
Any chance that google's new camera yo be merged on near nightlies?
[RAZR HD Android Development] StefanGA:
Sorry for the stupid question, but what is wrong about installing it from the store?
[RAZR HD Android Development] hugodefcon:
theres nothing wrong with installing it from the play store.

the difference is that if it gets merged then it may be patched so that

we are able to save photos directly to the sd card.

and also why have two camera aplication, when you can have one that works better,

and is also the newest.
[RAZR HD Android Development] StefanGA:
That makes sense, if the external SD saving, scenes, burst mode could be added to the google camera, that would certainly be great!
[RAZR HD Android Development] newskate9:
On nightly 422 and 423, Netflix video is messed up. Running ART or DALVIK. Using current Netflix build.

I went back to 421 from 422 and 423, and all was well. I didn't see this mentioned, so I thought I'd just let folks know.

Went back to NETFLIX 1.8.1 and it works fine on 423 / Dalvik. Went to 1.8.1, 423 and ART - also works fine.

Something about 422 / 423 / current netflix builds.
[RAZR HD Android Development] arrrghhh:
Have you tried SD vs HD? Same result...?

I don't have Netflix, sorry I cannot test this.
[RAZR HD Android Development] newskate9:
Not a bad suggestion - but there is no setting I can find to change that. I updated from 1.8.1 to latest, and the problem is still there.
[RAZR HD Android Development] arrrghhh:
Usually when you pause the video there's a button for HD... at least that's how it works on most video steaming applications. Again, no Netflix here :p
[RAZR HD Android Development] newskate9:
True. The video player I use, has that very feature. The netflix version I have, doesn't appear to.
[RAZR HD Android Development] Zeljko1234:
Thank you very much for new build and newskate9 to remind me to check changelog and test ART again. Everything (including ART) seems to work, except that camcorder has hiss sound bug which can be easily solved as described above.
[RAZR HD Android Development] jldr:
Does anyone know what the last known good version is, before the weird black screen of death bug came about?
[RAZR HD Android Development] Zeljko1234:
I'm using 20140423-0548-moto.zip without problems.
[RAZR HD Android Development] jldr:
Really? I'm on 4/21. Perhaps it was fixed after that.
[RAZR HD Android Development] newskate9:
Happened to me this am on 4/25. Netflix newer builds also still do not work. 1.8.1 does work.
[RAZR HD Android Development] idless:
I am running 4/24 with no issues here. I have only recently starting to use carbon. I very happy with the Rom. Keep up the good work, it is great!
[RAZR HD Android Development] rokr1292:
Anyone else experiencing a Bluetooth crash on the newer nightlies?
[RAZR HD Android Development] arrrghhh:
Can you elaborate? Any logs?
[RAZR HD Android Development] rokr1292:
Unfortunately not, it hasn't happened in the past few hours. My phone is usually constantly connected to my pebble and between when I updated last night and probably 4 pm yesterday, at least half of my black screens were preceded by "com.android.Bluetooth has stopped" or whatever. I don't think I should report any bugs as I use your kernel but I was wondering if anyone else had seen it. In any case I haven't had it happen in a few hours.

Edit:I also forgot to mention that I'm on the 26th nightly. I'm about to update to today's, I'm gonna forego your kernel and see what happens.
[RAZR HD Android Development] StefanGA:
I have the same issue with my car bluetooth unit. It works perfectly on initial pairing including SMS and audio. When I disconnect and reconnect the mess happens. Connects fine then disconnects after a few seconds with the bluetooth crash - connects again fine, stops with the FC - goes on infinitely..

I will enable aplog for the day and upload full logs later this evening hopefully capturing the black screen freezing as well.. definitely, when it happens is always related to me trying to pull down the notification drawer after "heavy/medium" use - I am on the 04/25 nightly
[RAZR HD Android Development] StefanGA:
Managed to capture a black screen system freeze - the log starts this morning after enabling logging - check the logs around 13:17 towards the end.

I left the rest in for error tracking because I heard it is a creeping issue.

The phone took around 20-30 seconds to recover, I was booted back to the lockscreen and could use the phone again - this was not a total lockup that I had berfore..
[RAZR HD Android Development] The Worst:
Could someone help me find the more up to date versions of this rom? I'm not seeing the XT926 on the Carbon site anymore.
[RAZR HD Android Development] GTIM2L8:
It's under moto-msm8960.

Sent from my DROID RAZR HD using Xparent Red Tapatalk 2
[RAZR HD Android Development] kabaldan:
Finally a useful log, thanks. (Though sadly not from pure CM11 installation, but whatever...)

Well, useful in the sense that it shows what the issue actually is:

04-28 13:17:45.140 827 11039 I ActivityManager: pers P 195251 kB: com.android.systemui (1035) fixed

(log.system)

The SystemUI process takes almost 200MB of RAM at the point of 'Low on memory' event.

So it confirms the suspicion that it's a memory leak somewhere in SystemUI code (that's why I wanted to see the output of procrank command).

Nevertheless, I'm still unable to reproduce the issue. My SystemUI takes about 40 MB Pss (sometimes less, sometimes more), with an occasional spike above 50MB usually cleared by GC pretty soon afterwards.

The questions what triggers the leak and where exactly in SystemUI it happens remain unanswered.
[RAZR HD Android Development] The Worst:
Thank you!
[RAZR HD Android Development] Tuckycv:
Is this fix already on carbon? or do I have to look up on the build.prop file to fix it?
[RAZR HD Android Development] arrrghhh:
It's not a build.prop file, but regardless you don't have to worry - it's already in Carbon as of April 16th:

https://github.com/CarbonDev/androi...mmit/84b8485093bb10d3311682a878e665c23065d0c7

You can thank CM and [MENTION=2218140]kabaldan[/MENTION] for the fix.
[RAZR HD Android Development] Zeljko1234:
"Thank you" to forget me :D

Sent from my Razr Maxx HD
[RAZR HD Android Development] arrrghhh:
lol, you didn't send the patch to gerrit.

But I'll thank your original post, as you did find the culprit. You must not forget who pointed you at that tho...

http://xdaforums.com/showpost.php?p=51805118&postcount=118
[RAZR HD Android Development] Zeljko1234:
I didn't send patch to gerrit simple because I'm not developer as other CM or Carbon members.

Of course I remember who pointed me and also who was rude to refused to help me, was rude since my first post here...

Also, CM11 and Carbon had this bug for months (probably since unified builds) before I rediscovered it and found solution in just few days after flashed Carbon.

My point is that we should help each other, test, report, try to find solution, suggest...

Sent from my Razr Maxx HD
[RAZR HD Android Development] Tuckycv:
Thank you, I just downloaded and install Carbon and it is gone the hissing. Let's try it as a daily driver.
[RAZR HD Android Development] StefanGA:
Just as a follow up on the Bluetooth issue on carbon - I installed [MENTION=2218140]kabaldan[/MENTION] unofficial build to check on the lag fix and the pure CM had NO Bluetooth issues at all - so whatever is broken in the carbon build, must be broken by carbon specific code
[RAZR HD Android Development] djuniah:
Is anyone else seeing issues downloading builds from the site? I keep getting "Failed - network error" after getting some % of the way through it when trying to DL new builds. I've seen it while trying to DL builds for both my razr HD and Nexus 7 (also tried in 2 different locations, work/home) in the past 24 hours
[RAZR HD Android Development] Zeljko1234:
Yes, just tried to download latest nightly and failed. Yesterday I've noticed that they had web page certificate problem.
[RAZR HD Android Development] jldr:
I was able to download 4/30, but I did get the same certificate/this may not be the page you're looking for warning. Probably making some server changes?