Available for a limited time only - £5 off a £20 spend at eXpansys! For more details visit this topic!

Please Log In or Register - it's FREE!

 
Reply to this topicStart new topic
 Forced Network Image Recompression, Hate your images being recompressed to 50% Quality?
UndeadDevil
post Oct 20 2008, 03:01
Post #1


Enthusiast
Group Icon

Group: Posters
Posts: 223
Joined: 17th May 2007
Member No.: 257,315

Device(s): T-Mobile MDA Vario IV



A couple of days ago I discovered a way to disable T-Mobiles Image Re-compression when I was stuck using Web'n'Walk on my Desktop, this method should work on every other network that re-compress images to horrible quality.

I've started to develop software for the Pocket PC that provides a workaround as well as offering many other web performance improvements.

A Testing version is below.


This post has been edited by UndeadDevil: Nov 18 2008, 01:54


--------------------

Go to the top of the page
 
+Quote Post
Chocolicious
post Oct 20 2008, 16:52
Post #2


Newbie
Group Icon

Group: Posters
Posts: 48
Joined: 22nd October 2007
From: London
Member No.: 313,998

Device(s): MDA VARIO III



QUOTE(UndeadDevil @ Oct 20 2008, 04:01) *
A couple of days ago I discovered that the following HTTP Header disables T-Mobiles Image Recompression when I was stuck using Web'n'Walk on my Desktop.

I now need to find away of making all HTTP Requests on my PDA add this Header or at the very least find a way of making PIE add the header on its requests.
I should also note that not only do images look as they should, but pages now load 3-5 times faster! I assume T-Mobiles Image Recompression Proxy is congested.

Heres the header that does the magic:
Cache-Control: no-transform


I would not mind doing that myself, I shall be keeping an eye on this topic
Go to the top of the page
 
+Quote Post
UndeadDevil
post Nov 5 2008, 15:40
Post #3


Enthusiast
Group Icon

Group: Posters
Posts: 223
Joined: 17th May 2007
Member No.: 257,315

Device(s): T-Mobile MDA Vario IV



I have found a solution and currently polishing the code that implements it.

This post has been edited by UndeadDevil: Nov 18 2008, 01:40
Go to the top of the page
 
+Quote Post
UndeadDevil
post Nov 18 2008, 01:49
Post #4


Enthusiast
Group Icon

Group: Posters
Posts: 223
Joined: 17th May 2007
Member No.: 257,315

Device(s): T-Mobile MDA Vario IV



My workaround code is now usable (Except in PIE) as well as providing a few other features (And many more planned)

I'm posting a test version here for those who have Forced Image Re-compression on their 3G/HSDPA network, feel free to PM me bugs if you try it.

CODE
Current Functionality:
--------------------
Forced Image Re-compression Workaround (T-Mobile UK, etc)
Multi-threaded Low-Resources Locally Running HTTP Proxy Server with Request Prediction Smart-Cache

A few notes:
------------
The Request Prediction caches the most likly request your browser will make on a webpage by anaylising the HTTP Code for Image's, javascript, CSS. It only currently activates if the connection speed is faster than 30Kilobytes/sec

This application is currently not compatible with Pocket Internet Explorer, PIE doesn't even attempt to connect to the proxy service despite the settings telling it to...
All current testing has been done on T-Mobile UK, using NetFront and Opera Mobile 9.5

Install:
--------
Install from CAB
Set your device to use Local Proxy (Settings, Connections Tab, Connections, Setup/Edit my proxy settings)
- Server Address: 127.0.0.1
- Port: 3125
Run MobileData Service
Browse the mobile web...

The Service can be shutdown via the *Incomplete* MobileData Control Application.



Attached File  MobileData_Control.cab ( 45.33K ) Number of downloads: 16


This post has been edited by UndeadDevil: Nov 18 2008, 06:06
Go to the top of the page
 
+Quote Post
Monolithix
post Dec 3 2008, 13:40
Post #5


Moderator - Boing!
Group Icon

Group: Admin Team
Posts: 8,815
Joined: 12th December 2002
From: Guildford, UK
Member No.: 993

Device(s): HTC Touch HD



Hey, great idea. I've installed the cab however MobileData Service is crashing on my Touch Pro, the .net error is attached.
Attached File(s)
Attached File  Screen01.png ( 24.55K ) Number of downloads: 17
 


--------------------
This months MoDaCo WinMo Week device: the T-Mobile G1! Download the show here!

2.25GB of backup storage online for free with Mozy! - https://mozy.com/?ref=VQ664H

Fresh fruit and nut box delivered regularly to your door from www.graze.com - get your first box for £1 with V2DQZ1C !
Go to the top of the page
 
+Quote Post
UndeadDevil
post Dec 30 2008, 20:44
Post #6


Enthusiast
Group Icon

Group: Posters
Posts: 223
Joined: 17th May 2007
Member No.: 257,315

Device(s): T-Mobile MDA Vario IV



Monolithix, you got that error because it was already running.

I'll be getting back to work on this project once I get a new handset, my TyTN II isn't usable anymore (Goes from 100% battery to dead in 30 mins on 2G!)

I'm also contacting the Windows Mobile Dev Team to find out why IE doesn't use the proxy its told to use.

As for Opera Mobile, users must manually change the Port in opera:config to 3125 as for some reason Opera picks up the Proxy IP (127.0.0.1) but not the correct port.
Go to the top of the page
 
+Quote Post
Monolithix
post Jan 2 2009, 14:39
Post #7


Moderator - Boing!
Group Icon

Group: Admin Team
Posts: 8,815
Joined: 12th December 2002
From: Guildford, UK
Member No.: 993

Device(s): HTC Touch HD



Happy to keep playing, however I personally no longer on T-Mobile! It seem's o2 does the same though (i think), so it would still be nice to have the option to avoid it...
Go to the top of the page
 
+Quote Post
MikeWard1701
post Jan 11 2009, 03:52
Post #8


Regular
Group Icon

Group: Posters
Posts: 125
Favorited Topics: 2
Joined: 27th October 2006
From: Kingston upon Hull
Member No.: 211,903

Device(s): HTC Touch HD



Quick question.

Is the re-compression on images you download or upload?


--------------------
M I K E W A R D
1 7 0 1

Current: HTC Touch HD
Previous; T-Mobile MDA Vario II (HTC TyTN/Hermes) | T-Mobile MDA Compact (HTC Magician) HP iPAQ 2210 | Psion 5mx | 3com Palm IIIe | Psion 3c | Psion Siena | SonyEricsson T610 | Samsung SGH-T1000 | Ericsson T10 | Motorola StarTAC | Motorola ?
Go to the top of the page
 
+Quote Post
Paul
post Jan 11 2009, 12:50
Post #9


The Main Man!
Group Icon

Group: Admin Team
Posts: 21,816
Favorited Topics: 51
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): Touch HD / G1
Twitter: @paulatmodaco



Is this project still alive?

P


--------------------
My current devices of choice - HTC Touch HD (Miri 6.5 v11), White T-Mobile G1 (Haykuro ADP1.5Hr3-A2SD), Samsung Blackjack II (6.1 stock)

Go to the top of the page
 
+Quote Post
UndeadDevil
post Mar 10 2009, 11:42
Post #10


Enthusiast
Group Icon

Group: Posters
Posts: 223
Joined: 17th May 2007
Member No.: 257,315

Device(s): T-Mobile MDA Vario IV



Yes now that I have a usable PDA again smile.gif

I started work on this again a couple nights ago now that I've settled on a ROM on my new PDA. My previous PDA died, I tried alot to get it working reliably (Different Radio's, Rom's, A new battery) but it kept turning its self off.

I'm worried that I have to many ideas for this project though and could do with another coder if anyone wants to join me. I'm using C#. So far the proxy server works but is only a HTTP Proxy, it modify's the headers to bypass image re-compression (The method the proxy app uses makes it illegal for a transparent proxy to re-compress any of the data, this also speeds up throughput on T-Mobile, maybe they only have 1 server handling the image re-compression?)

I ultimately want this proxy to act as a full traffic proxy, I am designing it to be resilient against connection lose. I'm sure many of you also get balloon error messages about the connection being un-available or unable to connect at times especially when your moving between locations?. Or is this something that only happens on T-Mobile (When it switches from 3G/HSDPA to 2G or the reverse; This is when I usually encounter this issue)

Normally this would cause the data to error out, instead the proxy buffers it and try's to send it along and on standard protocols that I know and have coded into it, it can keep the connection alive and dribble data through until the device has restored the internet connection.

I've also designed the proxy so it can go through another proxy, I'm going to spend some time searching Google for a decent, accurate and up to date Proxy List Data Provider and then intergrate this directly into the control application. (So you can access sites that are restricted by IP RIPE Location - For example TV Streaming Sites)

The proxy is also going to include the ability for users to modify headers on all requests. For example the User-Agent/Device header for the iPlayer.

I will have a new and much more stable release out within the next month. I still haven't found a way to get IE/PO to use the Proxy Server though, hence why I'm considering the VPN method for future versions.

On my own I reckon it will be about 6 months until I reach a final stable release of this.

Edit: Does any one think Quality of Service would be worth integrating into this?


This post has been edited by UndeadDevil: Mar 10 2009, 11:48
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet


Collapse

Similar Topics

  Topic Replies Topic Starter Views Last Action
No new Topic has attachmentsKaiser on 3 Network
Need help with Skype
27 therafiman 4,886 29th June 2009 - 19:29
Last post by: brinstar
No New Posts Solved : Network locked after upgrade (SIM Failure Error Happened)
after updating to Singapore official version i900DZIA5
2 sympathy 732 4th June 2009 - 17:54
Last post by: liva
No New Posts AccuWeather: image at night, distorted
weather widget on DXIA5
0 camz 186 6th June 2009 - 12:04
Last post by: camz
No New Posts How do I connect my omnia to my local network?
4 vermillionman 297 11th June 2009 - 09:56
Last post by: vermillionman
No New Posts Omnia firmware update - 'image upgrade failed'
0 OZZIE9 238 16th June 2009 - 13:51
Last post by: OZZIE9
No New Posts can't update ROM to DZIA5 - "image upgrade failed"
2 OZZIE9 172 18th June 2009 - 15:45
Last post by: i900Man

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


RSS hit counter Lo-Fi Version Time is now: 4th July 2009 - 19:52

Please visit our 'Plus Partners' - these companies support MoDaCo through 'MoDaCo Plus' - Click Here for more details!

ActiveKitten | Aiko Solutions | Ateksoft | Binaryfish | Conduits | DeveloperOne | eSoft Interactive | FTouchSL | Inesoft | Lingvosoft |

monocube | Mykesoft | OmegaOne | Omnisoft | Opera Software | Resco | SBSH | Slipstream Solutions | SPB Software House |

Splashdata | Sprite Software | Syncdata | Teksoft | VITO | WalkingHotSpot | WebIS | z4soft

Would your company like to become a 'Plus Partner'? Click Here to contact us!