yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Kevin M:
I've pushed the MMS APN Splicing feature to GitHub. A beta will be available in a few days for testing but if you really can't wait feel free to build it yourself. Just make sure you properly hardcode in your carrier's MMSC settings. What is currently available is highly experimental but highly awesome. I look forward to seeing how this works for you.

This commit represents over a week worth of reverse engineering,
research, and testing.

MMS on Android is problematic for reasons which I'll refrain from
detailing here. MMS APN Splicing is a feature which will cut out the
standard calls from Hangouts to startUsingNetworkFeature and accelerate
the MMS transaction process. This should also alleviate msm_hsic_host
related kernel wakelocks as the modem is no longer being requested to
turn an interface on and off nearly every transaction. My device, while
in the midst of that wakelock, among others, achieved a toasty 110.3 °F
(43.5 °C). Hot enough that holding your finger on the glass for more
than a few seconds would be very uncomfortable. Battery usage would
rival roughly one percent per minute.

Some refactoring still needs to be done but that applies to the module
as a whole. Once this implementation matures it should be capable of
receiving MMS through WiFi and gracefully falling back to the standard
Hangouts APN connectivity logic when a mobile connection isn't present.
Configuration via the SettingsActivity still needs to be added. Reading
the default MMS APN information in automatically would be ideal but
allowing users to manually specify MMSC connection info is also
a good idea.

The current known limitations of this implementation are as follows:
- Verizon's MMSC is hardcoded in, it will only work as-is for VZW
- It will probably completely fail when on a WiFi connection
- If no network is available it will fail
- Graceful degradation is planned but not supported
- Non-configurable. It turns on and off with the module.
- Lots of nonsensical debug messages :)

The documentation created alongside the research for this feature is
available here: http://goo.gl/Xfa13j
[Xposed Framework Modules] dimm0k:
Just wondering if this issue is an issue specific to Hangouts or MMS in general?
[Xposed Framework Modules] Kevin M:
Well, from what I can tell, Hangouts has one of the best MMS implementations out there. The only one that comes close (and Hangouts is partly based off of) is the AOSP messaging app (com.android.mms). Hangouts isn't doing anything wrong as far as Android is concerned. When you want to send/receive MMS you open up an MMS APN, wait for it, use it, then close it. At least on my phone, that operation is incredibly expensive and triggers some nasty wakelocks in the Android kernel. All devices probably experience this to some degree. The modem is constantly being asked to switch on/off a connection preventing the device from sleeping and the modem from ever entering a power save mode (if one even exists). The solution is to force Hangouts to not do it the safe, amusingly-poorly-documented way but rather the hacky way that assumes the standard mobile APN is just as good as the MMS APN.

In conclusion (but this is far from a complete explanation), the problem is in Android but because Android leaves MMS specifics up to each app it needs to be tackled on a per-app basis.
[Xposed Framework Modules] foeshigity:
MMS fail

The media content was not included due to a picture resolution or message size restriction.

Xhangout v1.5-20d

Hangouts v2.4.7
[Xposed Framework Modules] Kevin M:
Have you changed any default settings?
[Xposed Framework Modules] foeshigity:
No sir i have not.
[Xposed Framework Modules] Kevin M:
Ok, I'll need some more info then. Your device, Android version, ROM, and full Hangouts version (found in XHangouts). I'll also need your Xposed log.

Open XHangouts. Make sure at the bottom it says Loaded. If it does not, enable the module in the Xposed Installer and reboot. If you've already done that and it still does not say Loaded proceed to the next step.

Enable the Debug mode option.

Go the Xposed Installer and select the Logs option.

Hit the menu button and select Clear log now.

Reboot.

Immedatiely after your phone has finished booting proceed to Hangouts and attempt to replicate the bug.

Go to the Xposed Installer and select the Logs option.

Hit the refresh button.

Hit the menu button and select either Save to SD card or Send. If you select the first option take note of the log location. If you select the second option email the log to yourself (or something that works for you).

Post the log here within code tags or as an attachment. You may need to rename it to a .txt file or compress it in a .zip.

It may also help to temporarily disable all your other Xposed modules to be sure it's not an issue there.
[Xposed Framework Modules] Kevin M:
v1.6-beta1-64ec71e

We're finally back to MMS fixes!

Everyone is welcome to give this a try. It's critical that your APN configuration is properly set in XHangouts. If you have a working config that is not already a preset feel free to post it here.
[Xposed Framework Modules] Kevin M:
This has just been pushed to the repository and will be available in the next release.
[Xposed Framework Modules] webleeper:
This happened to me when I had set jpeg quality at 100 or when set to png lossless.

It almost seems that setting compression level to 100 essentially bypasses the compression algorithm.

Soon as I set quality to 95, MMS sent properly. I'll be testing quality level up to 99.

Question for Kevin.

Will you also be looking at the image quality when sending MMS over hangouts using Google voice number?
[Xposed Framework Modules] Kevin M:
Setting the quality that high will often result in MMS errors since the MMSC will reject images over a certain file size. It doesn't bypass the compression it just creates a comparatively larger file. I can't recommend going any higher than JPEG 80 and PNG, while I included it as an option, it is often overkill and results very large file sizes for photos. The quality dialog's sample images should show how the file size changes dramatically depending on your settings. The actual file size isn't important there. It's the relative file size especially when considering image fidelity.

Supporting other forms of Hangouts messaging is planned but I haven't done any research into it yet.
[Xposed Framework Modules] tangcla:
Is it possible to resize to a target file size? I remember people used to edit their build.prop to force the image resize to be below a certain threshold.
[Xposed Framework Modules] Kevin M:
Yes, but only through guesswork. JPEG compression doesn't support a target file size it supports a target quality. So what I'd have to do is guess what quality would meet your files size and then tweak the quality level from there. Because of this estimate and check approach compressing the image would easily take at least twice as long. The more guesses and recompresses it needs the longer it'll take.
[Xposed Framework Modules] tangcla:
How about, is it possible to show in the Hangouts message window, to show the size of the message?
[Xposed Framework Modules] Kevin M:
I should add that with enough testing a decent algorithm could be created to get pretty close after one or two tries but since the file size at a specific quality varies wildly depending on the image it's impossible to "learn" significantly from any given input.

To show the size of the sent MMS long press the message in Hangouts and select View details. This is only available after it's been sent for some reason.
[Xposed Framework Modules] Kevin M:
Awesome to see this module featured on Xposed Tuesday!

[youtube]U_tBQSaY1Ts[/youtube]
[Xposed Framework Modules] Purerawenergy:
It should be it's a great module.
[Xposed Framework Modules] foeshigity:
Clearing app data and cache fixed it, if I run into problems again I'll capture more info for you. Thanks
[Xposed Framework Modules] Kevin M:
Glad to hear it. Probably an issue with how some settings were being saved.
[Xposed Framework Modules] Purerawenergy:
Just updated my ROM to Kitkat and Xhangouts is running seamlessly. Messages send and receive much faster now and attached files are spot on. Thanks again Kevin for the hard work. Look forward to being able to attach a file 'after' I start to type cuz honesty it's been driving me a little crazy. ?
[Xposed Framework Modules] pkWhistle:
Hi Kevin, any chance of adding these features to messenger? Maybe an xmessenger of sorts? many thanks for this module.

Regards
[Xposed Framework Modules] Kevin M:
Awesome! Running the beta? The attach anytime tweak will be available in the next few days when I have some time to work on reliability patches. MMS APN Splicing doesn't handle bad connectivity very well just yet.

While I do use Facebook Messenger daily (chat heads are great), I do not use it for SMS. Sorry. Facebook Messenger also has a much more rapid update cycle than Hangouts from what I can tell and that would make any Xposed Messenger mod difficult time consuming to maintain. Not impossible though.
[Xposed Framework Modules] dimm0k:
anyone else witnessing very sluggish/bloated response from the Hangouts app in general? I've switched from the SGS4 to an SGS5 and it still behaves this way... just curious if anyone else has noticed this and if it's something that can be "fixed"?
[Xposed Framework Modules] Kevin M:
I've noticed this but having 28k SMS may contribute...
[Xposed Framework Modules] dimm0k:
I thought the number of SMS I had, though probably not even close to 28k, might be the cause of this on the SGS4... however when I switched to the SGS5 I was not able to restore my messages via TiBackup so I left them out so my current device definitely does not have more than 500 SMS at the moment so I'm not sure if number of messages is slowing things down.
[Xposed Framework Modules] pkWhistle:
Oh no!

Sorry I meant google messenger :P
[Xposed Framework Modules] Purerawenergy:
Yeah Kevin, I installed the beta version. Had a few snags, mostly the time it took to send and receive messages, with the JB rom, but it is fast and efficient with the Kitkat updated ROM. I'll test the APN portion shortly and let you know okay? Appreciate your efforts and hard work, I had almost given up on Hangouts altogether before your mod came along.

---------- Post added at 04:04 PM ---------- Previous post was at 03:59 PM ----------

Mine is responding well, no lags in sending or receiving but, I'm on a Boost Mobile ZTE WARP 4G with a deodexed Kitkat rom.
[Xposed Framework Modules] Kevin M:
From my experience Hangouts has never been a very speedy app when it comes to navigating the UI. :(

Didn't even know Google had another SMS solution. I won't be expanding any features there yet as it's a completely separate application. I'm not really sure where they're going with it since Hangouts appears to be the Google messaging platform. Best way to get people to use Hangouts is to make it seamless with SMS and that's what the Hangouts app offers. Perhaps it's simply the evolution of the AOSP Messaging app. I was really hoping Lollipop would introduce a true iMessage alternative but I guess there's always next year's I/O...

Make certain to properly configure the APN in XHangouts or splicing will not work.
[Xposed Framework Modules] Kevin M:
Just updated the original post. A little more compliant organized now. Hopefully I'll have a second beta ready sometime tonight.
[Xposed Framework Modules] Mike B.:
Under 1.6-b1, MMS APN Splicing seems to work very nicely so far here (Samsung Note 3, custom TW 4.4.2 ROM).

For AT&T (including various MVNOs such as Consumer Cellular), set APN to:

MMSC: http://mmsc.mobile.att.net

MMSC Proxy: proxy.mobile.att.net

Port: 80​

For Cricket, set APN to;

MMSC: http://mmsc.aiowireless.net

MMS Proxy: proxy.aiowireless.net

Port: 80

(untested with the old CDMA-based Cricket)​
[Xposed Framework Modules] Kevin M:
Thanks, Mike. I'll add these as presets.
[Xposed Framework Modules] terrorist96:
Request: An option to prevent the google+ name of someone from superseding the name I have for them in my address book.
[Xposed Framework Modules] Kevin M:
This is already on my to do list. Doesn't guarantee that it'll be done in a timely manner but it does guarantee I know about it. ;)
[Xposed Framework Modules] cewong2:
Yay this looks like it is developing well.

I wad reading the description and noticed it say it only works when is not on wifi. Is there a way to make it a permanent change? Maybe a toggle?

Iit would be awesome to be able to change the uaprof settings to make the network think its an iphone. Since my network only let's certain phones send and receive messages. And I dont think hangouts uses the one from phone.

Here are the settings I use if you would like to make a preset. I would name it "Softbank Prepaid" as they have multiple settings and this setting is only good for their prepaid service.

Name：Softbank Prepaid

APN: mailwebservice.softbank.ne.jp

Proxy: <not set>

Port: <not set>

Username：softbank

Password：qceffknarlurqgbl

Server: <not set>

MMSC:*http://mms/

MMS proxy: mmsopen.softbank.ne.jp

MMS port: 8080

MCC: 440

MNC: 20

APN type: mms

Device uaprof settings

UA string: iPhoneOS/3.0 (7A341)

UA url:*http://www.apple.com/mms/uaprof.rdf

Thanks for the development.

Sent from my GT-I9505
[Xposed Framework Modules] Kevin M:
XHangouts doesn't yet have support for password protected proxies. You have it working with those settings?
[Xposed Framework Modules] cewong2:
Sadly I still can't get hangouts to play nice with mms.

The login info is actually for the apn server, which I can't get hangouts to let me customize. It only allows the mmsc and proxy information. But no actual apnserver info. So a way to actually inject all this info to hangouts and have it use it would be great.
[Xposed Framework Modules] Kevin M:
If it's standard HTTP authentication it might be possible. I'll look around.
[Xposed Framework Modules] dimm0k:
[MENTION=4195957]Kevin M[/MENTION] looks like we need an update for Hangouts 2.5.81636427, which can be found here http://www.apkmirror.com/apk/google-inc/hangouts/hangouts-2-5-81636427-apk/. The Enter on the keyboard no longer works and shows the stupid smiley face crap...
[Xposed Framework Modules] Kevin M:
Thanks for letting me know. It may be a day or two until I can get on this as I'm busy with finals. Best solution until then is not to upgrade or revert via TitaniumBackup. If not upgrading or reverting isn't an option then disable the app in Xposed to make certain nothing is harmed.
[Xposed Framework Modules] dimm0k:
Hangouts seems to be a bit snappier than the previous version so I'll bear this smiley face infection for the time being... thanks for the quick response and good luck on the finals!
[Xposed Framework Modules] Mike B.:
Both Hangouts 2.5.81636427 and the previous 2.5.81587410 seem to work fine here with XHangouts 1.6-b1 but I'm using the Samsung keyboard 4.x and can't vouch for the Google one.
[Xposed Framework Modules] dimm0k:
ahh, that would explain it since I'm using the Google keyboard...

[MENTION=4195957]Kevin M[/MENTION] do you happen to know if this is keyboard specific or app specific? would love for this to be set system wide so it hits all apps like WeChat, FB Messenger, etc...
[Xposed Framework Modules] Kevin M:
The implementation in XHangouts is app-specific. It could theoretically be applied across the OS by disabling it for all text inputs. Or you could take the whitelist approach and just turn it on for certain text inputs or applications. That would of course require each app to be manually added to a list.
[Xposed Framework Modules] Mike B.:
I temporarily switched to the latest Google Keyboard 4.0.21203.1613964 (released a few hours ago) and tried to compose a Hangouts SMS with XHangouts active. I can confirm that the Enter/Return key seems to have vanished. I can also confirm that the Google keyboard is still as uuuugly as before! ;)
[Xposed Framework Modules] giaur:
I'm on Lollipop so there is nothing I can do?
[Xposed Framework Modules] Kevin M:
Xposed is not available on Lollipop and may not be for quite some time.
[Xposed Framework Modules] giaur:
Yes, I know so I'm looking for some other workaround for Hangouts mms, still no success.
[Galaxy Note Pro 12.2 Q&A, Help & Troubleshooting] camspy:
Yo,

I like to listen to music, so i'd like to tweak the sound parameters on the tablet to my taste.

What can be done in this direction?

Maybe you can recommend me some apps that are good to play with EQ and other sound influenting factors?
[Galaxy Note Pro 12.2 Q&A, Help & Troubleshooting] ShadowLea:
A good music player with a great equalizer (but a somewhat unintuitive in terms of GUI) is N7Player.
[Galaxy Note Pro 12.2 Q&A, Help & Troubleshooting] Spere:
And maby using Viper4Android?
[Galaxy Note Pro 12.2 Q&A, Help & Troubleshooting] Zugshad:
so many agree that Viper4Android + poweramp is a great way to go... have not tested viper on the note pro yet.. but on my note 3 (and all my others allways use it on) its awesome and allows you to teak your sound as you are asking ;)

From my Fired-up Note Pro 12.2!
[Galaxy Note Pro 12.2 Q&A, Help & Troubleshooting] suligoesmaraccas:
Neutron player. It's has alooooot of options and its own "sound engine" or w/e. Really customizable and sounds great to my ears. Alternatively you could get a external USB DAC/AMP like the fiio e18.
[G3 Q&A, Help & Troubleshooting] camspy:
Yo,

I like to listen to music, so i'd like to tweak the sound parameters on the phone to my taste.

What can be done in this direction?

Maybe you can recommend me some apps that are good to play with EQ and other sound influenting factors?
[G3 Q&A, Help & Troubleshooting] TonzaTheChosenOne:
Poweramp.

If you mean like full system equalizer, there ain't any good one out there. They tend to make loudspeaker really quiet.
[G3 Q&A, Help & Troubleshooting] joeyhdownsouth:
Make sure root is working, viper audio mod. I haven't tried it yet, not sure if it works correctly.

sent from my LG G3
[G3 Q&A, Help & Troubleshooting] Det45ku11:
Viper works like a charm!

Using it on all my phones and it is magic!

I don´t have any zoopadoopa phat ûber hifi headphones but with the level of settings for sound u can make it really good anyway.
[G3 Q&A, Help & Troubleshooting] joeyhdownsouth:
I use 50$ Seinheiser earphones, Crystal clear sound.

sent from my LG G3
[G2 General] sshark:
Hello guys, I am using LG G2 VS980 on AT&T network. With this device, I am able to WCDMA network but LTE band offered in my city by AT&T is not active/available on Verizon LG G2 VS980. Hence I cannot use LTE!

Should I travel to say, Chicago..I can use LTE because in Chicago GSM LTE band used by AT&T is same as what's active on Verizon branded VS980.

I came across following thread on Samsung Galaxy G5 where people have successfully changed their bands to have device work on multiple different WCDMA or LTE frequencies.

Do we have something similar for LG G2? Has anybody tried it?

Original thread from SGS G5

http://xdaforums.com/showthread.php?t=2886059
[G2 General] sshark:
Anyone tried to activate multiple LTE bands before?
[G2 General] sshark:
Bumpity bump!!
[HTC Desire 601] ShawnKraz:
Hi,

I was running 4.2 jb that came with the phone and I had root and custom recovery(philz touch) A few months ago, I got the OTA update for 4.4.2 kitkat and when I did it, the device was unrooted and the custom recovery remained. Today, I installed the 'insert coin' rom for zara ul but after installing I found out that network signal is missing and network menu in settings are also greyed ou and there was an error about dialer apk. I tried wiping dalvik cache , etc . No use !!. So, I wanted to go back to the stock . But now that I have wiped clean my system, I think the recovery gives error like no stats found /system/build.prop something like that. I am stuck at recovery and fastboot are my only options. I am not sure if I'm using the right version of stock rom to flash. Also I'm not sure if only rom is enough or I need a corresponding boot.img file or firmware. Please point me towards links to download the right files for my phone and hguide me to solve this issue . This is my main phone and I do not have a back up phone .:crying:

Thank you
[HTC Desire 601] Child's Play:
U deleted system and now u have no os. Flash the kk stock rom for ul via twrp http://xdaforums.com/showthread.php?t=2804427
[HTC Desire 601] ShawnKraz:
Thanks for the reply. I'll try that out and let you know.
[HTC Desire 601] ShawnKraz:
Hi, I checked the link. I have zara ul (virgin mobile). zara cl has all the files but my version (ul) has only stock recovery and ruu that too for telus only and not virgin mobile. What should I do now? can I use the cl files? Please tell me what are the things I need to flash.

Thanks.
[HTC Desire 601] Child's Play:
ZaraUL (i believe): https://drive.google.com/folderview?id=0B6WBFlAKqe30ZG1wOGk2T0xwTkE&usp=sharing
[HTC Desire 601] ShawnKraz:
Sorry again. these are the european version. i tried it but doesnt install
[HTC Desire 601] Child's Play:
how do u know? did u try to flash the stock odex zip?
[HTC Desire 601] ShawnKraz:
Yes. I get " installation aborted" error 7 from CWM. I had a copy of the OTA 4.4.2 rom and I know it's the right rom because that's what I've been using prior to this mishap. But I'm not able to flash that rom either. I get the same error. I read some threads and tried to delete some lines in the updater-script . Still no luck. Looking for a step by step instructions for wiping everything and fresh install.
[HTC Desire 601] Child's Play:
Flash the kk twrp http://xdaforums.com/showthread.php?t=2874948 then try again
[HTC Desire 601] ShawnKraz:
I connected my flash drive via the otg cable and flashed the stock odex rom from the link you gave. I installed it and everything looks great now. Thank you very much. Its almost 24 since the issue and I'm grateful that I was able to resolve it finally !

Many thanks!
[HTC Desire 601] Child's Play:
ur welcome :good:
[X 2014 Q&A, Help & Troubleshooting] mgymnop:
I am extremely frustrated and fed up with ATT customer service on the phone and in the stores. I talked to 3 different persons and none was able to setup my phone for data neither HSPA nor LTE. The BS that I have to listen to is incredible and I am close to terminating my contract. I am pretty sure the issue is that the IMEI of my phone doesn't get recognized by the system and I asked them to change it to an ATT one but they don't do it.
[X 2014 Q&A, Help & Troubleshooting] bleuiko:
I remember having to do this when I purchased my Nexus 5; this is solved by simply "borrowing" the IMEI of one of the LTE smartphones in the showroom at the store. If there is a ATT Moto X 2014, even better. Just go to that phone's setting and take a photo of the IMEI, then go to the desk and give them that number. It will be recognized and you will be set.

No need to worry about borrowing the IMEI from another phone, it is just to look up the specs for their system. I haven't tested it myself with a Moto X though as I still have a Nexus 5 but you should have no trouble.
[X 2014 Q&A, Help & Troubleshooting] LaF0urs:
Found a fix!!!!!!!!!!!!!!!!!!!!!!!!

Just got my Pure Edition yesterday and wasn't able to get any AT&T data plan either, even after a half hour talk with customer support. Then I found a help article on the AT&T site for setting up unlocked phones. You have to set up a new access point. I can't post links, and one of the settings is a url, so I can't post that either. Google "Programming non-AT&T devices with the correct APN and MMS data settings" and hopefully it will work. If someone who can post links could post on to the article, that would be awesome!
[X 2014 Q&A, Help & Troubleshooting] mbonus:
Here is the standard ATT Phone apn
[X 2014 Q&A, Help & Troubleshooting] matt99017d:
All we need to do is manually enter this in on the pure Edition and we'll be good? [MENTION=2859974]mbonus[/MENTION]
[X 2014 Q&A, Help & Troubleshooting] kasouti:
Yes, I had to do the same. It looks like the default apn nxtgenphone is for volte and doesn't always work right.