View Single Post
  #2 (permalink)  
Old 02-16-2010, 05:08 PM
wiskydiver1's Avatar
wiskydiver1
PPCGeeks Regular
Offline
Location: Waupaca, WI
 
Join Date: Jan 2010
Posts: 155
Reputation: 135
wiskydiver1 is keeping up the good workwiskydiver1 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Love for Alltel: MMS with ArcSoft 5.2.8.45

Quote:
Originally Posted by Swin View Post
I saw the tweaked version of ArcSoft 5.2.8.45 Ryan put on XDA and decided I wanted it with NRG's Phoenix2 23529 (Feb ROM I just flashed.

I also wanted to know just what exact MMS settings Alltel requires so I did a comparison of the ArcSoft registry key from Alltel's latest stock Touch Pro ROM (version 2.01.671.1, July 7 '09) and those in 5.2.8.45 (which I just realized Ryan may have tweaked, well maybe not much).


Screenshot is from CeRegEditor.

I learned a couple interesting things, like that:
Code:
[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\mm1]
"AppendURI"=dword:00000000
and:
Code:
[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\mm1\WspHeader]
"hmac-md5-key"="ph1uzoe52iuw"
are both critical, and that missing the first results in the Failed to retrieve the message response.

Also, the User-Agent determines the size of the image you will receive, so that must be set right as well. Some of these things are already known of course, anyways here's the .reg file I saved with the differences, preferred (I hope) selections, and some investigative work.

Code:
; these up here are ONLY in the Stock Alltel ArcSoft, so they may be:
; *required*, deprecated, or... really annoying :)

[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\mm1\WspHeader]
"hmac-md5-key"="ph1uzoe52iuw"

[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\mm1]
"IsSupportDrm"=dword:00000001
; this makes only our 1 MMSC visible I think
"TotalSettings"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\UI]
;"MaxDownloadSize"=dword:000ED800
;"SignatureInLastSlide"=dword:00000001
;"WarningForFileExtension"=".mp3;.wma;.wmv;"

[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\Capture]
; see comments at end
"VideoFormat"=dword:00001000
"VideoRes"=dword:00000008

; ========================

[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\mm1\MMSCSetting\SampleMMSC2]
; connect through 5.2.8.45's default of "The Internet" is the way to go!
; this way can send/receive MMS while plugged in and so on
;"ConnectionVia"="{1F994B49-C056-4503-99B0-37247BCC80F7}"
"Gateway"="mms.alltel.com"
"MmscURI"="http://mms.alltel.com/servlets/mms"
"Name"="Alltel MMSC"

; Alltel's are higher
"WAP1SendDefaultSize"=dword:000ED800
"WAP2SendDefaultSize"=dword:000ED800

[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\mm1\WspHeader]
; should probably go with 5.2.8.45's to support newer stuff?
;"Accept-Charset"="us-ascii,utf-8,iso-10646-ucs-2,ISO-8859-1"

; Right now Alltel's highest resolution device is Pro & Diamond
; which have C suffix, HermannC_1 & VictorC_1, both 480x640 (you can browse to the .xml)
; so one of those user agents gives us the best quality MMS
; when/if Alltel gets TP2 (and is still Alltel...)
; then I imagine we'd use:
; "RhodiumW_1" & "http://www.htcmms.com.tw/gen/RhodiumW-1.0.xml" (exists of course, reports 480x800)
; I experimented with that User-Agent anyway but it doesn't work, too bad.
; Similar trick works for other carriers (yeah I tried 'em).
; http://forum.xda-developers.com/showthread.php?t=549238

"User-Agent"="HermannC_1"
"x-wap-profile"="http://www.htcmms.com.tw/gen/HermannC-1.0.xml"

; Other user agents will give inferior size/quality, and invalid user agents
; give the absolute minimum tiny < 15kb thumbnail sized images.
; These affect received quality.
; Sent size will be as it appears in message (confirmed through MMS debug logs).

; (If user agents exist now that retrieve larger images than these,
; please share. The Hermann(TP)/Victor(Diamond) agents max retrieval
; somewhere around ~500kB)

[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\mm1]
; this is critical for Alltel! Otherwise you will get:
; 'Failed to retrieve the message'!
"AppendURI"=dword:00000000

; this one is a checkmark in options at least
;"ReportAllowed"=dword:00000000

; well 0 for *SEND* DelayedNotifyResp retrieves messages immediately instead of prompting
; so if we don't want them sent, then I guess it reasons we'd want them suppressed??
"SuppressDelayedNotifyResp"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\UI\SizeLimit]
; these are good, Alltel doesn't allow > ~10MB MMS sends
; chose to clear the extras from 5.2.8.45 as well
"Wap1SendCount"=dword:00000001
"Wap1SendLimit1"=dword:000ED800
"Wap1SendLimit2"=-
"Wap1SendLimit3"=-
"Wap2SendCount"=dword:00000001
"Wap2SendLimit1"=dword:000ED800
"Wap2SendLimit2"=-
"Wap2SendLimit3"=-

; 5.2.8.45's ~10MB receive limit is fine

[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\UI\TryLimit]
;"Interval2"=dword:00000003
;"TryDefault"=dword:00000004

[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\UI]
;"AllowSendReadReport"=dword:00000001
;"AlphaTag"="@mml.alltel.com"
;"AlphaTagDispTxt"="Online album"
;"AudioFilter"=".midi;.mid;.amr;.wav;.mp3;.awb;.rmi;.qcp;"
;"CreationFilter"=".txt;.jpg;.jpeg;.gif;.wbmp;.amr;.mid;.midi;.qcp;.mp4;.3gp;.3g2;.vcs;.vcf;"
;"Domain"="http://mms"
;"EnableSlideCharsLimit"=dword:00000001

; this sounds like it'd be relevant to ArcSoft version maybe?? hm, not sure
;"HideDlgControl"=dword:0045FFFE

;"ImageFilter"=".jpeg;.jpg;.gif;.png;.bmp;.wbmp;"
;"MMSClassName"="IPM.PIX"
;"MediaPlayerSupportFilter"=".mp3;.wma;.wmv;.asf;.mpeg;.mpg;.qcp;"

; if this is what I think it is: hell no
; unless prompt means request & prompt handled elsewhere
;"PromptForActiveConnection"=dword:00000001

;"VideoFilter"=".mp4;.3gp;.svg;.svgz;.3g2;"

; I've had folks not get my MMS without a subject (mom's phone!) so
; appending a space sounds like a good idea to me
;"AppendSpaceToSubject"=dword:00000000

; sounds okay to me, I think
"InsertTimeStampWhenSending"=dword:00000001
"AllowAssignDRMAudioToRingtone"=dword:00000001

; sort of assuming these things are supported or not supported things by Alltel
"EnableForwardWithoutDownload"=dword:00000001
"IgnoreRoamStatus"=dword:00000001
"IsAlltelVersion"=dword:00000001
"MinimumCapturePhotoSize"=dword:00002800
"MinimumCaptureVideoSize"=dword:00002800
"SendRejectPDU"=dword:00000000
"SupportFDN"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\Capture]
; capture @ 3M resolution? Is that what this means?
; makes sense to me, AFAIK can be downsized as a send option
; so you'd want this maxed, right?

; seems more device specific than ArcSoft so would want to go with Alltel's
; settings for the Touch Pro maybe, this is 3M resolution (remember it's hex not decimal :p)
"PhotoResolutionHeight"=dword:00000600
"PhotoResolutionWidth"=dword:00000800
"VideoFileRatio"=dword:0000005F
If it's commented out that means I went with the 5.2.8.45 cab default.

Many of these are just wild guesses, more or less. I tried to prefer the 5.2.8.45 if the setting seemed related to the version of ArcSoft, and prefer Alltel's if it seemed related to the device (Touch Pro). If anyone would like to add or clarify information, have at it.

Simple instructions:
  1. End Task (hold Home key for Task Manager!) the SMS / MMS application.
  2. Install Remove PictureMail & Arcsoft cab
  3. Install Ryan's tweaked ArcSoft 5.2.8.45
  4. Import attached & seen above registry file of some stock Alltel ArcSoft values using dotfred's TaskMgr, or CeRegEditor, or EveryWAN & its Registry Editor, all fantastic. (EveryWAN & its File Transfer & Task Manager & more especially.)
Is that first cab really necessary? Surprisingly yes, even though I believe Ryan's cab deletes the existing ArcSoft key. I was going to investigate what aspect of the remove cab was required but, eh, too busy.

Also don't bother rebooting after #1, and don't after #3 either. (You can adjust WspHeader key and things without even closing SMS / MMS, they're read for each outgoing/incoming MMS.) Whether you need to after #2 I'm not sure. It's almost always really just a matter of whether the processes (app may not be enough) are running or not.

Someone can cab the .reg if they want. The guesses behind my values are sketchy but it's not like that stops anyone else from being cab happy.

Also the GSM vs CDMA, SampleMMSC vs SampleMMSC2, and WspHeader vs WspHeader2 is all wacky and not as it seems. If you're using NRG's ROM / others just be content that things show up under/as "GSM" all over the place (not always) and leave it all be, don't bother tweaking NetworkFlag, and so on. (Here it's technically SampleMMSC2, using WspHeader.)
Glad I'm not the only one that's been working on this!

Been testing the hell out of similar cabs here too. Already have a generic tiny pic fix cab posted in another thread, and the ones I'm testing now, and so far are working quite well, don't need to remove pic mail, OR a new arcsoft cab. They change similar registry keys to allow the use of the MMS that each particular Chef cooked into his (hers?) ROM. It's not ready for prime time though. I won't post it unless I'm 100% sure it's perfect.

Until then, here's my other post, with a quick fix that enables MMS on roms that already have the Alltel MMS Server info cooked in. Change that to Alltel default, install my updated Cab, and you're golden.
Link to my thread here...
__________________

I'm just here to help. Well, help, and flash, and flash, and flash...
If I was able to help you today, kindly click the Thanks! button.
Reply With Quote
This post has been thanked 2 times.