yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] Antebios:
Settings for CSipSimple

Fast

G722 26 kHz

ILBC 8 kHz

GSM 8 kHz

Slow

ILBC 8 kHz

GSM 8 kHz

I've tried each codec separately with CSS to make sure they worked, but they only work while I was on Wi-Fi.

---------- Post added at 08:13 PM ---------- Previous post was at 07:37 PM ----------

EUREKA!! I don't know if this made a difference, but I installed the Nightly and it still didn't work. But, after I did my tests I enabled STUN. It worked after that. But, what was strange was that I enabled it in the Play Store version and it didn't help. So, I'm sticking with it! So, now I can make and receive clear calls over Wi-Fi, and I can finally make and receive calls over Cellular Data.

Edit: Asterisk didn't like SILK, so once I disabled SILK things ran a lot smoother. Also, ILBC was choppy, so I took that off the list.

Now, my last problem... the caller is hearing an echo. I tried to mess with CCS's settings during the call to increase or decrease the mic. Even at the lowest setting there is still an echo for the caller's own voice, but my Nexus 4 phone with CSipSimple hears everything fine and no echo when I talk. BTW, the caller is just another cell phone that I'm using (wifey's unrooted untouched phone. She sick of me tweaking it so I finally left it stock.).
[Nexus 4 General] bluespire:
I thought you were using iLBC for 3g. Why'd you change?
[Nexus 4 General] acegolfer:
G729 + aws ec2 resulted in the lowest latency out of 12 setups I have tried. See my signature.
[Nexus 4 General] chdloc:
iLBC seems to have been implemented mostly using its 30ms packet size (ptime) option, while most implementations using G.729 utilize 20ms ptime (note that 10ms ptime should be possible for G.729 as the encoder internally operates on 10ms packets).

Hence, each iLBC(30ms) encoder in a call chain will add an additional 10ms overall end-to-end delay compared to an encoder operating on ptime=20.

Media5-fone offers the option of iLBC(20ms), which seems to be ignored by asterisk, however. Maybe there is an option in asterisk to support iLBC(20ms)?
[Nexus 4 General] bluespire:
Besides theory, did you actually notice a difference?
[Nexus 4 General] chdloc:
Well, this is not theory, but a fact.

While 20ms (+10ms @ client iLBC encoder and +10ms @ asterisk iLBC encoder) may not be audible in itself,

any additional delay on top of (often time-varying) delay due to sound card buffering, processing delay, jitter buffer,

and transport delay is undesirable.

I'm striving for a setup that can give me the lowest possible delay to start with.

On a soft-client, such as CSS or Media5, sound card and OS-level buffering are a killer. Hence, I have yet to see a

soft-client to achieve the TIA/ITU-T recommended mouth-to-ear delay of less than 150ms for transparent interactivity.

Every millisecond counts...;)
[Nexus 4 General] osi13:
In my testing, I've come to the conclusion that G722 over WiFi and G729 over cellular data is the best combination. The transcoding time from ulaw to G729 is also a lot lower than ulaw to iLbc. I definitely recommend using G729.
[Nexus 4 General] chdloc:
Just as an aside, the transcoding time should have no impact on end-to-end delay as long as the system doing the transcoding can keep up with the real-time requirements, i.e. transcode a 20ms audio packet in at least 20ms.
[Nexus 4 General] bluespire:
I see. Good to know. Is the BW used the same as iLBC?
[Nexus 4 General] dc211:
I've tried three times now to get this going and get stuck at the same spot every time. Can someone help me out?

After step 3 where the kernel is recompiled to 1000HZ I stop the instance to change to a m1 extra large. After I restart it I can no longer ssh into it. It happens every time. I do make sure that the Elastic IP is pointed at it.

What's my problem?
[Nexus 4 General] acegolfer:
I did side by side testing with 2 Nexus 4's.

GV>AWS>phone has much lower latency than GV>callcentric>pbxes>phone. Isn't it too obvious?
[Nexus 4 General] bluespire:
I meant specifically between iLBC and G729. As both can be implemented on the AWS.
[Nexus 4 General] acegolfer:
Ah. I made one test call with ilbc and didn't like the quality. Didn't bother to try again.
[Nexus 4 General] chdloc:
Yes, including all overhead (IP headers) iLBC @ 30ms ptime uses about the same overall bandwidth as G.729 @ 20ms ptime, see e.g. http://www.bandcalc.com.
[Nexus 4 General] osi13:
IMO, G729 is still the best codec for cellular data until OPUS is supported in Asterisk. Although, apparently OPUS is working with Freeswitch. Opus is combintion a between CELT and SILK, and I prefer G722 over SILK.
[Nexus 4 General] jhax01:
Just returned from overseas. If you have a good wifi connection Silk 24HZ sounded better to me than g722. It's not installed by default so navigate to /usr/lib/asterisk/modules/

add

wget http://downloads.digium.com/pub/telephony/codec_silk/asterisk-11.0/x86-64/codec_silk-11.0_1.0.0-core2_64.tar.gz

untar, make sure it's in the modules directory and restart asterisk. Interested to hear everyone's thoughts....
[Nexus 4 General] errorcod3:
I'll try this and let you know. This is the same codec that Skype uses.
[Nexus 4 General] acegolfer:
Has anyone tried silk codec over 3g? (Unfortunately, I can't because I'm using asterisk 1.8.)
[Nexus 4 General] chdloc:
I would be interested in that trial as well (I am on 1.8 also and a positive outcome could sway me to switch to asterisk 11).

Silk is an adaptive bitrate codec that has the potential to seriously outperform any of the more traditional fixed bitrate codecs (such as G.711,G.722, G.729, and iLBC).

However, the codec parameters (such as the very important "target bitrate") are controlled by the application itself, i.e. CSS (pjsip) and asterisk, which can limit the codecs' usefulness. For example, we would want the application to monitor available bandwidth and adjust the codec parameters (and resulting voice quality) automatically.

I recently found a nifty app on the market called "Network Speed", that separately and continuously monitors upload and download speeds (works great on my Nexus One running Gingerbread). With that app we could monitor the speeds over time and estimate the overall bandwidth Silk consumes.

Note that (a version of) Silk is an integral part of OPUS, so I agree with osi13 that OPUS is the codec VoIP has been waiting for...
[Nexus 4 General] acegolfer:
Not sure how CSS can change the silk codec on the fly. An xda member settled with silk12.
[Nexus 4 General] chdloc:
There is really no need to change the codec instantiation on-the-fly. The different flavors of Silk, i.e. silk8, silk12, silk16, and silk24, pertain to the appropriate sampling rate (8,12,16, and 24 kHz) or speech bandwidth and not the payload size.

Each of these codec definitions can allocate codec payload size adaptively (on-the-fly). Silk{X} - or more precisely the software layer calling the actual codec (asterisk or CSS) - offers a maximum bitrate in its codec negotiation (SDP invite), as you pointed out here http://xdaforums.com/showpost.php?p=38398737&postcount=71. In your example, the maximum advertised payload size is 25kbps for silk12, which means that asterisk's silk12 may change its average bitrate to run at up to 25kbps.

Note that, at least currently, you really only need silk8 (and be more bandwidth efficient) if you mainly rely on Google Voice or otherwise mostly call landlines since the terminating codec is always G.711, which runs at 8kHz sampling rate. Using a higher sampling rate in between will not improve end-to-end quality.

On the other hand, if you often call people that are registered to your asterisk server, then you can go all the way, use silk24, and enjoy super-wideband audio.
[Nexus 4 General] acegolfer:
Makes perfect sense.
[Nexus 4 General] nutcase:
How much would this cost monthly? Not including a cellphone data plan since that I already have :)
[Nexus 4 General] ivan.net:
An earlier post calculated it at around $7 if you reserved a micro-instance for a whole year.

http://xdaforums.com/showpost.php?p=37793173&postcount=106
[Nexus 4 General] jhax01:
Keep in mind, I'm on my second 'free' year. I had used EC2 previously as a VPN so I could use Netflix overseas. All I did was sign up with a new email address and was surprised to see the free tier was available... YMMV
[Nexus 4 General] jhax01:
Great addition to the thread! Just tested your settings and they work for me. All except for the dialing bit -- all I can think is that I have something set somewhere else that drops off the first character without realizing it??? :confused:
[Nexus 4 General] ivan.net:
Are we using the same client and server?

I have Asterisk 11 with CSS nighty build. I see the number that get sent to voice.google.com by watching "asterisk -rvvvv" on the server. I see the one that Asterisk receives through SIP has the * (Executing [*THENUMBER@outgoing-USERNAME:1]) and the one that it decided to send to Motif/gv-USERNAME does not (using my setting).
[Nexus 4 General] acegolfer:
Has anyone tried this in sip.conf?

compactheaders=yes
[Nexus 4 General] jhax01:
Oh, I see what you mean. I guess I didn't explain my part very well. The * does appear in the console for me, but it doesn't affect the call in google voice nor does it foul up the caller id for the call target. So, i guess in my book, it is effectively ignored except as a use case item when selecting an outbound line.

I semi-retract my previous statement-- *most* everything works for me with your settings... Interestingly, they break the audio on SIP to SIP local extension calls for my server. So seemingly, they solve NAT issues in one respect and introduce them on the RTP ports for that particular type of call. Why...I cannot fathom!

---------- Post added at 10:47 PM ---------- Previous post was at 10:45 PM ----------

Nope, I will give it a shot on my next trip across the pond tho. I'm assume it will reduce overhead on the connection?
[Nexus 4 General] errorcod3:
Wow! Thank you, I went ahead an implemented this on my server and it's working very well. Hopefully, I'll be able to avoid some of the NAT issues that others were experiencing -- even know I wasn't having those issues myself. I also wanted to change the SIP port as I was getting a lot of failed login attempts from people apparently scanning services on Amazon's EC2 IP blocks... I've also been getting a lot of ssh tries:

Illegal users from:
107.6.11.147 (mail.pkmoto.com): 2259 times
test: 144 times
tomcat: 81 times
oracle: 55 times
guest: 52 times
user: 51 times
postgres: 48 times
admin: 29 times
mysql: 26 times
ftp: 22 times
web: 22 times
tuxedo: 17 times
webadmin: 16 times
postfix: 15 times
teamspeak: 13 times
spam: 10 times
temp: 10 times
.....

And it continued from there with another 1,000 login attempts for various usernames, I need to get fail2ban installed...
[Nexus 4 General] bluespire:
How did you get that list?
[Nexus 4 General] errorcod3:
I have logwatch installed. It sends me a email every morning at 7. It gives you a quick overview of what happened on the system the previous 24 hours.
[HTC One X] Zephyr!:
Features of the app:

Fully working MMS

Increased MMS picture size

Dark theme with ICS blue text, icons, buttons, and notifications to match AOSP, etc.

Emoji support with Quick Emoji button

Quick reply

Gesture templates

Transparent widget

160 Character message split

Download link :

Updated 4th February

Check this out

Credit to Google and Android Open Source Project

Press the thanks button :)

Sent from my Nexus⁴
[HTC One X] Zephyr!:
Re: AOSP messaging App

Please post your review!

Press the thanks button :)

Sent from my Nexus⁴
[HTC One X] hassan89:
Re: AOSP messaging App

Well just installed the zip and getting force close everytime i open messaging app :(
[HTC One X] secXces_debaki:
AW: AOSP messaging App

Because the apk name is wrong, renamed it in Message and it works, i think :P
[HTC One X] Zephyr!:
Re: AOSP messaging App

It worked for you?

Press the thanks button :)

Sent from my Nexus⁴
[HTC One X] hassan89:
Re: AOSP messaging App

Waiting for fixed version :) love quick reply feature
[HTC One X] Zephyr!:
Re: AOSP messaging App

If you has loved the feature then you would have loved the thanks button too!! :p

Press the thanks button :)

Sent from my Nexus⁴
[HTC One X] hassan89:
Re: AOSP messaging App

But its not working for me :(
[HTC One X] Zephyr!:
Re: AOSP messaging App

Have you renamed the apk to message??

Just read few posts above!

Press the thanks button :)

Sent from my Nexus⁴
[HTC One X] theDroidfanatic:
Re: AOSP messaging App

Pressed the thanks on all your posts :P could someone test this and confirm?

Sent from my One X running Blade v4.6.0. At a mere 240 MB, with tons of AROMA Mods and tweaks, this, is what you want.
[HTC One X] hassan89:
Doesnot work for me even after renaming to Message.apk
[HTC One X] Zephyr!:
Re: AOSP messaging App

OK I will try to make it work!
[HTC One X] tonypello:
R: AOSP messaging App

Looks here :D

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

Inviato dal mio HTC One X con Tapatalk 2
[HTC One X] JonesWTF:
Re: AOSP messaging App

Just to confirm that I'm having the same trouble, too. Tried renaming in the zip before flashing, renaming after flashing, extracting the apk and renaming when installed manually. I still get an FC when I press the shortcut.

Can't wait to try this. I love the aosp messaging app.
[HTC One X] tonypello:
R: AOSP messaging App

Look link before

Inviato dal mio HTC One X con Tapatalk 2
[HTC One X] ali3nfr3ak:
i got it to work :

rename to Messages

change permissions RRR top line

add widget to any screen , click on new message in widget,

should work from shortcut in app drawer or home screen, from now on...

no mms , causes force close
[HTC One X] Zephyr!:
Re: AOSP messaging App

Finally got it working :)
[HTC One X] hassan89:
Re: AOSP messaging App

Thanks will wait for the fixed version :)
[HTC One X] Zephyr!:
Re: AOSP messaging App

Check this out

https://www.box.com/shared/4zkepszx61m4hguz354s

Press the thanks button :)

Sent from my Nexus⁴
[HTC One X] hassan89:
Working fine razor :D Thankyou :)
[HTC One X] Zephyr!:
Re: AOSP messaging App

Welcome :)

Press the thanks button :)

Sent from my Nexus⁴
[HTC One X] hassan89:
Already did mate :)
[HTC One X] Zephyr!:
Re: AOSP messaging App

Please post some screenshots from your device if you wish to.

Sent from my Nexus⁴
[HTC One X] hassan89:
This app is faster than stock app :)
[HTC One X] Zephyr!:
Where the weather is fit? :0

Sent from my Nexus⁴
[HTC One X] hassan89:
Hahaha islamabad,didn't think anyone would understand my messages :eek:
[HTC One X] Zephyr!:
I did not knew in Islamabad people talk in this language :p

Sent from my Nexus⁴
[HTC One X] Zephyr!:
Update your 2nd post with a screenshot so that people can know its working :)

Sent from my Nexus⁴
[HTC One X] monkmusic:
nice

I will test, when I get home :)

downloadlink on second page not working :(
[HTC One X] bailie1912:
Download links not work would like to test :)
[HTC One X] Thedonk13:
the ONE reason i hate running AOSP is because the messaging app screws up the MMS's i receive...i really want to test this out and the DL link is gone....COME BACK!!
[HTC One X] theDroidfanatic:
Forgive me for OT,but, you study in NUST? Fit mausam btw ;)

Sent from my Bladed One X. AROMA works, use Blade v4.6.0 for now ;)
[HTC One X] hassan89:
Yeah i graduated from nust last year droid :)
[HTC One X] bigdave79:
Link is not working.
[HTC One X] Thedonk13:
Where did you see the link...I check this thread every couple of hours to see if he posts it back
[HTC One X] Zephyr!:
Link will be posted within 1-2 days :)

Sent from my Nexus⁴
[HTC One X] theDroidfanatic:
Nice! :D My brother studies there too :P Islamabad Campus?

PS: i will stop OT now :P

Sent from my Bladed One X. Blade v5.0.0 is here. Based on RUU and with OTA.
[HTC One X] Thedonk13:
WOOT WOOT
[HTC One X] lathiwala_99:
Would this app work in stock non-rooted sense rom?
[HTC One X] bigdave79:
Any chance of a working link to this app? Thanks!
[HTC One X] Zephyr!:
Yeah as soon the matter gets resolved, my exams are going on so I am busy :(
[HTC One X] bigdave79:
Good luck with the exams, buddy...
[HTC One X] Thedonk13:
Hope all is going well....just checking on the thread
[HTC One X] bigdave79:
Any updates? Could someone post up a working link to the apk? Thanks!
[HTC One X] Zephyr!:
Please someone test this ..
[HTC One X] robchongke:
installed it already. i thought it is a dark theme messaging app. i like the option to change font size. much better if you could also add the option to change bubble color and the background also. nice! ill be using this one

thanks!
[HTC One X] Zephyr!:
You mean to change background color?
[HTC One X] robchongke:
yep. :Dif possible. just like those third party messaging app.
[HTC One X] Zephyr!:
Provide me your framework.apk
[HTC One X] robchongke:
i mean can you make it customizable. the option to change background color or put image in the background or change font color. something like that. :D again if possible. thanks. here's my framework.apk by the way.

http://www.androidfilehost.com/?fid=23017610006233552
[HTC One X] Zephyr!:
I will surely try to do that

Press thanks if you like my work/advice
[HTC One X] robchongke:
:good:that would be great. thanks!
[Galaxy S III General] erto90:
OK guys, after the sound thread, i decided to open a new thread, speaking about the new AndreiLux's baby: The color engine

WHo remember Voodoo color for S.Amoled screens like GalaxyS and Nexus S?

certainly most of you

Yesterday Andrei released his first version, included in STweaks, of his new way to control screen colors ( and more!)

let's start with a Granger Rainbow to better understand how colors are

As said, this new engine can be found in STweaks ( You must use Perseus 32 or newer kernel )

And here are Andrei explanation about settings ( as he said, they can be not very true and surely unfinished)

image can substitute 1000 words in this case

Ok in the images you can find alse descriptions

Only a word to the setting called

It is used to set a dalay in which time the phone continue to draws IE is used for CRT-OFF animation ( set to 100ms to have the correct animation)

The thread is done with, in mind, the intention to collect users display's configuration and make better colours and calibration

Please indicates the screen mode base ( Dynamic,Standard or Natural) or settings will be fault.. and also all intent while you were setting things ( for example to have better colors,or simply more vivid colors etc)

Hope to see movement here !

PS:Andrei said a lot more about settings but is so hard to collect all and make clear for all, so, so far, i qill limit to above, waiting for more clear details

Users Configurations:

mamba720027

nfsmw_gr
[Galaxy S III General] crumec:
woow.. nice
[Galaxy S III General] nfsmw_gr:
Well,here's mine!

Screen mode: Dynamic

Chroma Saturation Control

-4

5

-4

0

-2

0

-2

0
[Galaxy S III General] dimi22:
I think the iphone has a good screen calibration can someone simulate that?
[Galaxy S III General] Toss3:
Won't look the same on your phone either way, as all screens are different.
[Galaxy S III General] dimi22:
Yes i understand that but maybe the colors can be made more accurate and the black clipping can be solved
[Galaxy S III General] cgvelmax:
this are my values with dynamic screen, great colors for me

-4

5

-4

-1

1

-5

13

15

deep colors and black status bar.
[Galaxy S III General] qtwrk:
Where is the Stweak with screen configuration?

Oops, never mind, sorry about my mistake
[Galaxy S III General] burner07:
these settings don`t affect screen lifetime and quality?
[Galaxy S III General] DualJoe:
Can it fix zero black level bug? The GS3 display is always like #050505. It's never really 0 Volt per pixel. Looks cheap like LCD.
[Galaxy S III General] dhouseng:
This doesn't affect the whites at all. Still doesn't fix screen tint issues.
[Galaxy S III General] bala_gamer:
nice start..
[Galaxy S III General] Tatsuya79:
Er... SGS1 wasn't pure black neither, you could see a bit of brightness in the dark.

SGS3 is a bit brighter but calling it "cheap LCD" is going a bit too far.

I still have to see a LCD screen with the same black level (and I'm in front of one of the best MVA screen with something like a 2500:1 contrast).
[Galaxy S III General] DualJoe:
Yep, right. I rather meant "cheap" regarding you can still see the borders (very dark rectangle) at night. Not the overall quality.

My SGS Plus (I9001) is perfectly dark though.
[Galaxy S III General] oswade:
I'm guessing they will as per standard amoled rules.

- Darker screen = less battery

- Some colours (red iirc) = less battery

- I also guess that higher saturation causes more battery drain cause the pixels are outputting stronger/brighter...

But really, this is more about tweaking your screen to meet your preferences - the small changes most users will make will probably have a negligable effect on battery life.
[Galaxy S III General] Formhault:
Now, if only someone could port / make this for the original Galaxy Note and it's cr**py mDNIe sh**ty failure... that'd be great :) .

Just a wild post here, don't mind me.
[Galaxy S III General] Lulavc:
Im unable to find some of these options on stweaks. Using Perseus 33.1.
[Galaxy S III General] erto90:
R: Perseus screen engine : Spread your colors !

Perseus 33 si using new way to calibrate colors,and will be final in next small update

Until Andrei release it,I will no more update this thread as marked obsolete at the day of today
[Galaxy S III General] lefttobleed:
he meant will the screen get damaged.... some places it says not to mess with the colours in amoled screens... eg: screen filter apps...

even i would like to know this...

but i doubt this because andreilux knows what he is doing..

can we start a thread for sharing everyones screen settings ? or do we use this thread for that...
[Galaxy S III General] Aijazji:
Here is mamba720027's latest STweaks Screen color settings for anyone who want to try while we wait for the galaxy s3 calibration. This the best i could get it at this point.

[Global Controls]

Enable Register Hook - Checked

Enable Master Sequence - Checked

[Chroma Saturation Control]

2

8

17

8

3

-8

-1

[White Colour Temperature Control]

Toggle colour temerature control - Checked

Colour Temperature

-2000K

[SCR Colour Channel Modifications]

White Colour Balance

-4

-4

-4

Primary RGB Colour Channels Addends

16

16

4

13

-50

-4

9

-26

-7

Secondary YCM Colour Channels Addends

-11

16

-16

-8

-6

-3

-14

8

-11
[Galaxy S II Q&A, Help & Troubleshooting] dcarby13:
having problems with s2 i9100, have installed 4.1.2 XWLS8 but now cant get compass mode to work to work?, can anyone help.
[Windows 8 General] redline0889:
Installed it on a Fusion Garage JooJoo tablet that has a Intel Atom N270 cpu, Nvidia ION graphics, 128gb SSD, and 4gb memory. I have everything working on it accept for the accelorometer and the touch screen is reversed (i touch the top right and it touches the bottom left).

Really not sure what to do on the touch screen but any help would be greatly appreciated. I've tried calibrating it through windows and all that does is cause the touch input to go completely crazy. I have tried multiple drivers and the only one that even remotely works is the eGalax driver but that causes the touch screen to be seen as a mouse which makes the swipe gestures impossible as well as the built in touch keyboard won't come up anymore.

I'm not worried about the accelorometer as I can just change the orientation in the nvidia control panel if need be. However having a tablet without a fully functional touch screen is pretty much useless.

The touch screen shows up in Device Manager as an HID device. If you need any more information please let me know.

Device HID\VID_0EEF&PID_720C&Col01\6&25a26708&2&0000 was configured.

Driver Name: input.inf

Class GUID: {745A17A0-74D3-11D0-B6FE-00A0C90F57DA}

Driver Date: 06/21/2006

Driver Version: 6.2.9200.16384

Driver Provider: Microsoft

Driver Section: HID_Raw_Inst.NT

Driver Rank: 0xFF1003

Matching Device ID: HID_DEVICE

Outranked Drivers:

Device Updated: false

Any help would be greatly appreciated.