yashsingh1/xdaforums huggingface dataset:
[G3 Q&A, Help & Troubleshooting] Pilz:
This is a duplicate thread I posted this question earlier.

Edit here is the link:

http://xdaforums.com/showthread.php?t=2812292
[Windows Mobile Development and Hacking General] OdeeanRDeathshead:
I am using some functions in a dll but the only way I can get the name of the function to remain as I name it is to make it extern "c". If I do not do this then I have to copy the name from directly inside the dll and put the garbled text in my code, ed "someFunctionName" ends up "?someFunctionName@@YAHXZ". It seems that every example I ever see dose not have this problem. Is there some setting I do not know about to force the linker to use the names I type without using a def file?
[Windows Mobile Development and Hacking General] levenum:
It was my understanding that this has something to do with C++ convention and cannot be changed, though I could be wrong on this point and if so, would also like to earn the answer.

Mean while if you are using functions from your DLL in your own code you can link to it "implicitly" (am I confusing the terms here?) by simply linking in the lib file compiler creates for the DLL and using the regular function names without all the garbage.
[Windows Mobile Development and Hacking General] OdeeanRDeathshead:
I think that what I am seeing is microsoft ("decoration") not from c++. I think the c++ name mangaling follows some rules that let it show the size of data being passed as arguments.

I do not want to link to it and use .lib etc because I do not want my main project to be entangled with the dll. I am trying to make a pluggin so it will be dynamically loaded with loadlibrary and getprocaddress. I am a bit new to this but it seems to work ok, I was just not sure how to use the def file properly. For example what are the rools regarding the order of names in the def as compared to the header file and what about variables, are they exported or do I have to have a function that returns a pointer to them.
[Windows Mobile Development and Hacking General] levenum:
Well some of MS help I encountered states that DEF files are obsolete, or at least MS is trying to make them so.

I didn't get deep in to the DLL rules my self but from what I understand it is sufficient to declare a function as _dllexport for it to be seen from the outside. If you want to specific ordinals (like in the plug-in case) that's another matter.

Variables can be exported and so are classes. I never tried using it, but the "hello world" example of a DLL that eVC 4 builds exports a function a class and a variable and does not use DEF file.
[Windows Mobile Development and Hacking General] OdeeanRDeathshead:
and after building that automatically generated code I get a dll with decorated function names (I view the dll in notepad to check). At first I could not figure out what was going on but after I put the decorated names into getprossaddres it works.
[Sony Xperia L] Evedammo:
Does anybody knows a kernel for improve the quality sound and volume in the XL? I unlocked my bootloader yesterday and i want to try some kernels.
[Sony Xperia L] adil089:
Varuns thunderzap kernel has feature called thundersonic engine which will improve sound.
[Sony Xperia L] Evedammo:
But I read that it's only for roms based on KK and i have JB. Can i install it?
[Sony Xperia L] adil089:
Yes there is a jb version.

---------- Post added at 02:24 AM ---------- Previous post was at 02:22 AM ----------

Here is the link

http://www.androidfilehost.com/?fid=23329332407577586
[Sony Xperia L] faizalotai:
If you're on jb..i have mod libs zip file for that...you must have cwm to flash it..
[Sony Xperia L] Evedammo:
:good: Thnks

I would like to test it. Can you give me a link?
[Sony Xperia L] Evedammo:
I already installed the kernel but how enable the thunder sonic engine?
[Sony Xperia L] adil089:
This is an extract from varuns post

Q. How to use ThunderSonic Engine?

It is a sound control driver. There are two interfaces which you can control

1. Headphone boost - I made this feature because louder volume than max volume in earphones rushes more adrenaline in me making music more enjoyable.

Turning this On will give you instant significant volume boost in earphones which is greater than what you get when the volume is max. Just make the volume maximum and turn this ON and you will notice it

How to turn on:

In terminal emulator/ adb shell, get su permissions and then type

echo 1 > /sys/kernel/thundersonic_engine/headphone_boost

and use 0 to turn off

2. Speaker boost - In crowded areas I felt speakers of XL fall short in terms of volume magnitude. So I made this to increase speaker volume speakers beyond its limit and now my phone sounds even louder than those dirt cheap china phones

This is 8-leveled boost interface. That means there are 8 boost levels. The default is 3 on TZ

How to turn on

echo X > /sys/kernel/thundersonic_engine/speaker_boost

where X can be any value from 4 to 8 depending upon the volume boost you require To reset back to default use value 3

Use above features with caution. Using headphone boost for a long time may damage your ears. And do not use speaker boost for a long time. If for some songs you hear crackling of speakers then reset its boost level to 3 or a relatively lower level of 4 or 5
[Sony Xperia L] Evedammo:
And what is terminal emulator or adb shell? Sorry for so many questions but i'm new in this things,
[Sony Xperia L] adil089:
Terminal emulator is an app which you download and you can type and execute commands from there. So download the app from play store and type any of the above commands according to what you want.
[Sony Xperia L] Evedammo:
I already enabled it but I don't notice a difference in the sound. Also I have viper4android, do I need to Uninstall it for notice the difference?
[Sony Xperia L] david pro:
Nope!

Just wait few more days then, Thunderzap control app will be available for JB!:highfive:

http://xdaforums.com/xperia-l/themes-apps/app-thunderzap-control-1-0-kernel-t2815918/post54143318
[Sony Xperia L] Evedammo:
Great!! :good:
[G2 General] kxs783kms:
Man, this phone just gets better and better. To make a long story kind of short... I was looking for a nice decent pair of headphones today and settled on the Sony MDR-X05, mainly because they received great real world reviews and also because they were on clearance from $149, down to $89 at BestBuy. Along with this purchase, came a free download of Micheal Jackson's "Xscape" album. So after going to the download page, I was given the choice to choose between a MP3 or a Hi-Res version of the album. Then it stated that at this time, only certain players can handle Hi-Res audio, so check and make sure. So after doing a few minutes of research, guess which device is one of a very few at the moment that can handle these types of files???......Yep, you guest it. Our very own LG G2!! I'm currently running a custom LG G3 rom on my and I tell you, this phone is just getting better and better to me!

P.S. Here's the article that states that the LG G2 is compatible and gives you more info on what exactly Hi-Res Audio is for those who didn't know about it like myself. http://www.whathifi.com/news/high-resolution-audio-everything-you-need-to-know
[G2 General] Izy:
Hate to burst you're bubble but players have been able to play the formats for years its a marketing ploy. Flac files are open source and are compatible will all android devices and music players such as sansa fuze and clip could play them back in 2008. The format has been out for years

Sent from LG G2 D802
[G2 General] kxs783kms:
Sorry, but I wasn't exactly saying it was anything new. No, HRA is not new, but it's not really mainstream either. Per the article, there are only a few sites as of right now, that even offers HRA tracks. There may have been other players capable of playing HRA tracks back then, but they weren't smartphones. LG made the first US Android smartphone (LG G2) that was capable of playing these kind of files.
[G2 General] Sfkn2:
Awesome.
[G2 General] hkwildboy:
24/192 Music

...and why they make no sense

http://xiph.org/~xiphmont/demo/neil-young.html
[Google Chromecast] Bob Smith42:
Since I got CC mirroring feature on my Nexus 7 2013 LTE running stock 4.4.3 the quality seems very good.

Compared to another Miracast device, I suspect the CC mirroring is *better* resolution.

Does anyone know the actual CC resolution specs of the signal to be displayed?

Or, is there some test I can do with my monitor and figure out for myself?
[Google Chromecast] bhiga:
I've actually been wondering this myself...

Chromecast itself outputs 480p, 720p and 1080p (not sure about 1080i) - that's what the TV receives, because it's an HDMI video device, as opposed to a computer HDMI output.

So whatever resolution file or stream is being displayed needs to get up- or down-scaled to one of the supported resolutions.

The core question, what resolution is the image, before scaling, that is to be sent to Chromecast?

To test this, we need a video file that will show scaling. A frame full of alternative black and white horizontal lines is usually enough. So, to test if it's putting out 1080p, you make a 1920x1080 file with alternating black and white horizontal lines (540 white, 540 black) then display it on Chromecast to a 1080p TV.

Replace 1080p with 720p if you only have a 720p TV. If you have a TV that is not native 480p, 720p or 1080p you can't really do this test unless the TV supports a 1:1 mode that bypasses scaling.

If the image displays as a solid single shade of gray (or if you have sharp eyes, alternating single pixel black and white lines) then there's no scaling and Chromecast is receiving a 1080p resolution signal.

If you see "bands" of gray or fat lines, there is scaling going on, and Chromecast is not receiving a 1080p signal.

I'll try to do a test...
[Google Chromecast] bhiga:
Managed to do a quick test... Basic screen mirroring seems to happen at screen resolution (makes sense).

One thing I'd like to test but couldn't is playback of a video file using the native Video Player app (which displays a screen cast icon during casted playback). I suspect it just sends the video data directly to Chromecast in this (special) case.
[Google Chromecast] Asphyx:
Most of the models that support Mirroring already use at least 720 resolution for their screens so it may not need to do any upconverting at all.
[Google Chromecast] bhiga:
All depends... I don't think (or at least haven't noticed) Chromecast changes resolution once it "decides" so even if the device is sending 720p, if Chromecast it at 1080p, something somewhere needs to upscale.

Okay, did a follow-up test with a Handbrake-converted (native Video Player can't handle TS) version of the Alternating black/white 1 pixel full field 1920x1080 from www.w6rz.net.

I also used Overscan lines at 0, 2.5 and 5.0 percent with 0 to 16 pixel cropping bars 1920x1080 to verify what was happening in different modes since the native Video Player doesn't explain (damn icon-based reality, this is why I don't like toolbars!).

On the TV...

Avia:

Shows proper single-pixel lines on Chromecast

This serves as the control image for full 1080p as Avia just sends the native video over without scaling.

MX Player:

100% shows proper single-pixel lines on Chromecast, and on my phone single-pixel lines using SW decoder, and banded gray on my phone using HW and HW+ decoder (which is odd - points to an anomaly/defect in the decoder, perhaps)

Fit to Screen shows even, fat lines

Stretch shows banded fat lines

Crop shows banded fat lines

Video Player:

Two corners (Fit?) shows even, fat lines (same image as Fit to Screen in MX Player)

Letterbox shows even, fat lines (same image as Fit to Screen in MX Player)

Four corners (Stretch?) and Full (Crop?) show banded fat lines

If the native Video Player did, as I had hoped, output the full native resolution to Chromecast, I should have seen proper single-pixel lines, looking gray from a distance, but alternating black/white up close.

Sadly, Video Player does not seem to do this, sending the device's native resolution, or some derivative. This makes me wonder why Video Player blanks out the screen during screen casting - casting other content works fine with video going to the screen and Chromecast. It might be to ensure the best framerate or something, but seems odd to me.
[Google Chromecast] jasenko:
I don't know what magic they implemented, but my HTC One can be mirrored without any noticeable loss of picture quality. Compare that to the casting of the screen of a powerful i7 PC that lags heavily every time I used it (little bit better with Canary).

Either some frames are dropped to keep up, or the bitrates are lower but whatever they did I like it.
[Google Chromecast] bhiga:
Especially head-to-head against Miracast (Samsung AllShare Cast Wireless hub), I prefer the Chromecast implementation - no noticeable picture break-up and framerate feels more consistent.

Some of the articles say Google wrote their own framework for it. Given that it also seems to work quite nicely on my Galaxy S3 which is a lot less horsepower than the Galaxy S4, I'm very impressed. Even for streaming Internet video (Xfinity TV Go) it's working very well. My only problem is my phone overheats on long streaming sessions (over an hour) and the battery stops charging, heh. Not bad considering the S3 isn't officially supported to begin with. :)
[Google Chromecast] Asphyx:
[MENTION=3050092]bhiga[/MENTION]

I would think the scaling happens in the loaded APP and not the CCast itself which would explain what you are seeing...

The TV doesn't really change it's res based on what the CCast is being sent the App loaded does the upscaling and thats why it looks as bad as it does,

Kind of like taking a 640X320 video and displaying if full screen on an HD TV!

So it's not a hardware thing just a software thing and doubles pixels as needed.
[Google Chromecast] bhiga:
Yes, the Chromecast->TV resolution stays fixed AFAIK.

I'm not sure whether Chromecast reports its negotiated resolution back to the the framework or app using it, which is why I think it just happens in the Chromecast hardware - after all, you can send Chromecast random-sized "raw" video in a supported compression and it'll still scale up/down as necessary. Doesn't really matter where/how it happens, though.

The question here was whether Chromecast screen casting took the image at the device's screen resolution, or if it somehow created a "virtual" screen at whatever resolution Chromecast is sending to the TV and rendered directly to that as well.

I didn't expect it to do so for non-video stuff, and it doesn't. It's essentially just sending the screen buffer to Chromecast as well as to the device's screen.

The native Samsung Video Player*, however, does not show the video on the device while screen casting (so it's not sending the screen's buffer) - it only shows it on Chromecast, which made me hope that perhaps it was sending the full-resolution video, rather than the scaled version for the device's screen. Unfortunately that does not seem to be the case.

So the core story seems to be

Screen cast quality is dependent on the device' screen resolution.

Higher screen resolution = higher quality screen casted image, up to 1080p.

Lower screen resolution = lower quality screen casted image. If your device's screen resolution is less than the resolution Chromecast is outputting to your TV (1080p or 720p), your screen casted Chromecast output will be degraded.

The native Samsung Video Player does not show the video on the device screen while screen casting, but that does not seem to change the image resolution. In other words, on a device with a 720p screen, playing a 1080p video while screen casting yields a 1080p original -> 720p scaled down for screen -> 1080p scaled up for TV, rather than 1080p original -> 1080p for TV

* Note that this is based on AT&T Samsung Galaxy S3, so the "native Video Player" is the Samsung Video app from TouchWiz. Behavior may be different in other ROMs that use a different video player. I just found it curious that the native Samsung Video did not show the video image during playback. Other video apps like MX Player screen cast fine while showing the video on both Chromecast and the device's screen.
[Google Chromecast] mannequin:
VLC shows video controls while casting the video, very convenient.
[Google Chromecast] Bob Smith42:
Great discussion and research. Thanks.

----------

I ran a test with Adobe Reader and FBReader to view a .pdf file via CC mirroring on my HDMI monitor. I reduced the font size until they were unreadable on the Nexus 7 (2013) LTE, but they were still very clear on the HDMI monitor. Generally, I still did not find a solution to read side-by-side pdf documents on my HDMI monitor. LOL

During this test I noticed text display done with a *2* pass screen draw on the HDMI monitor. Makes me think Google CC mirroring implemented some sort of 2 pass resolution: e.g. pseudo algorithm might go:

Pass 1) draw reduced resolution, if static image go to pass 2 else dynamic image (movie) loop to next frame.

Pass 2) draw fill to enhance resolution of static image.

----------

Another test might be comparing same image displayed two ways.

(1) First screen cast via CC compared to

(2) second using an application that's capable of *true* CC

(where *true* - CC fetches its own image and displays full resolution. I'm also assuming full resolution is 1080?)
[Sprint HTC One (M7)] B RAD G 296:
this is a long shot, but i bricked my phone and i need help.

i can only go into hboot and bootloader.

i can't use the fastboot usb, my computer won't recognize the phone.

i tried an RUU but the phone wont connect to the computer, its not the usb cable, or usb port.
[Sprint HTC One (M7)] Sloth:
Win 8.1?

If so you will need to use another PC not running Win 8.1 to update your hboot to 1.55 or higher
[Sprint HTC One (M7)] B RAD G 296:
thank you, it work now.:good::good:
[Nexus 4 Q&A, Help & Troubleshooting] Androiddeveloper1991:
I got a Nexus 4 after trading away my Blackberry Z10 which I have been using for the past year or so and I rooted it yesterday and flashed a couple of LTE-capable radio zips. Unfortunately, the best modem only shows 2 bars out of 4 when on 4G LTE when I am indoors and at most only 3 out of 4 bars when I am outside.

I did a speedtest outdoors and I am only getting 10-15 mbps at most which is not significantly different from what I got with just HSPA+. I used to own a Motorola Atrix HD LTE and I got speeds of over 20 mbps on that phone before it got stolen (similarly with my Blackberry z10).

Does anyone know if this is normal for the device? Or is it just my network is bad?

Thanks.
[Nexus 4 Q&A, Help & Troubleshooting] ph37rd:
The bars are not mobile data. That's your voice side. The E, 3g, H, H+ etc is your mobile data.

LTE on these things is only band 4 and is not officially sanctioned. If your carrier doesn't use band 4 for LTE, you'll never see it.
[Nexus 4 Q&A, Help & Troubleshooting] playya:
Are you a T-Mobile customer?
[Nexus 4 Q&A, Help & Troubleshooting] simms22:
i constantly get 62mbps download speeds in my area,lte. your data speed is influenced by how busy the network is, and how far from the tower you are on. oh, and btw, i get hspa+ speed around 40-41mbps download. just because your h/h+ speeds are similar to your lte, it means nothing. it means thats the results of how busy your network is and how far from you the tower is. there are places that i get higher h+ speeds than lte. but your lte upload speed will almost always be much more than h+.
[Nexus 4 Q&A, Help & Troubleshooting] playya:
Now those are some great speeds in my area i get in the 20s - 30s with H+ usually around 10-15 but they are more than enough for what I need.
[Nexus 4 Q&A, Help & Troubleshooting] simms22:
in my part of southern brooklyn(manhattan beach), it doesnt make any difference which i use for download speed. but for uploads its a huge difference. hspa+ upload speeds of 3-3.5mbps, lte upload speeds of 22mbps. also, i get a full hour more sot on lte than on hspa+ :)
[Nexus 4 Q&A, Help & Troubleshooting] CCody:
Just curiosity but which lte hybrid modem are everyone using? I cant figure which one 'are the best' like you said OP. Simms22 is absolutly right. Lte connection and speed depends on your local area. There are some people out there who hasnt lte connection at all (like me) :(
[Nexus 4 Q&A, Help & Troubleshooting] simms22:
I use the older 33/84 hybrid radio
[AT&T Samsung Galaxy Note II] SockmanTGR:
How would I go about rooting this. i've tried towelroot(Didn't expect it to work)

I saw a few different root methods when I googled but all on random blogspot sites(which i believe to be untrustworthy) what do you guys find the best way to do it is? also anyone heard of srsroot? i have never heard of it but apparently it works for this version of the firmware for this phone.
[AT&T Samsung Galaxy Note II] terpin32:
Try this

http://xdaforums.com/showthread.php?t=1980644
[AT&T Samsung Galaxy Note II] SockmanTGR:
Hey sorry didn't get the email about your response. I actually tried every method I could find(including that one) and they all just leave me with eu.supersu.com (or something like that) installed but crashing everytime I launch it. I'm doing it from completely stock. I flash the stock Rom back on through Odin after each failed attempt. I just don't know what I'm doing wrong.

Also I have rooted a few phones before so I do know relatively what I'm doing.
[AT&T Samsung Galaxy Note II] palguire:
This is what I followed

I rooted my i317m using the steps here: galaxynote2rootdotcom/galaxy-note-2-root/how-to-root-galaxy-note-2-easiest-method
[AT&T Samsung Galaxy Note II] SockmanTGR:
Tried that method. Also failed. Same problem as with others. I may just have to flash a custom recovery and change roms... I wanted to keep stock but if I can't find a way.
[AT&T Samsung Galaxy Note II] creepyncrawly:
Have you tried Framaroot? I really have almost no experience with the note 2, and I read here that the rooting method of choice is Chainfire's as terpin32 suggested, but the Framaroot thread does list the note 2 as a supported device. Do you know what bootloader you have? If it is locked, I don't know if this works.
[AT&T Samsung Galaxy Note II] SockmanTGR:
No idea. On that stuff. But yeah tried framaroot.
[AT&T Samsung Galaxy Note II] palguire:
something weird is going on.

I'm a bit confused as to why you are having issues rooting your Note 2. I have the Rogers Note 2 i317m and it was on the same firmware and rooted it without any issues using the link I provided and from the looks of it you even tried methods that are better. I wonder what other factors may be affecting your rooting processes.

Where does the process fail and on which rooting instructions?
[AT&T Samsung Galaxy Note II] SockmanTGR:
Well they all appear to successfully root the phone but when the phone reboots I get an app(titled eu.supersu.com or something like that) that crashes immediately every time I launch it with most of the methods. A few methods gave me a working supersu app but no su binary. I'm really getting frustrated oh I'm also on Rogers I don't think I mentioned that. Maybe I should try factory reset in it in case any apps are causing the problem.
[AT&T Samsung Galaxy Note II] SockmanTGR:
Just figured i'd let you guys know I finally worked up the nerve to factory reset(i hate doing it) and it fixed the problems i was having.I also had to manually reinstall the supersu apk after rooting.
[AT&T Samsung Galaxy Note II] creepyncrawly:
Glad you got it sorted. Setting everything up again is not trivial, but sometimes it has to be.
[Galaxy S 4 Q&A, Help & Troubleshooting] amirmenesy:
Hey all,

I have an issue with all custom roms that are not based on Samsung software that when I make a call my screen turns off because of the proximity sensor but the touch screen remains active.. Like I can press the back key the settings key and then press anywhere on the screen and it will load applications etc.. I this is very annoying cuz my face can do stuff that I don't want to.. Is this only with me or does anyone else have the same issue?

I have the i9500

Thanks in advance

Amir