[APP] ThereTV . Streaming player compatible with the LocationFree protocol

59 posts
Thanks Meter: 17
By mgschwan, Member on 2nd February 2012, 11:42 PM
Post Reply Email Thread

This software is still in beta status. You have to expect problems.
If you experience any bugs or glitches please look in the Known Issues section of this post. If the problem is not there send me a message.

  • This app is developed by me and Sony did not contribute to the development of this software
  • A personal note from me: I will not use the trademark LocationFree or the brand name Sony in the App (especially in the title)

I do however want to thank the people at Sony (and sonyericsson). They were very active to find a solution so i can distribute this app. Their recent opensource engagement seems to pay out, for people like me.

Today the 1.0.4 Version was released. It includes support for Japanese Basestation, different color systems (NTSC/...), experimental recording functionality...


The official site of this app is I have also added a commenting system to the site. You can now put your feature requests and bug reports directly in the comments.

The current status of the software is (as of 02/12/2012):
  • Compatible to all known BaseStations (LF-B1, LF-B10, LF-PK1, LF-B20, LF-V30)
  • Support for EU, US and JP models
  • Switch between MPEG4 and H.264(on supported BaseStations)
  • Recording of streams to MKV files (EXPERIMENTAL)
  • Remote control support
  • Registration works from within the app
  • Fullscreen playback
  • Works over Wifi/3G/4G
  • Selectable stream quality
  • Advanced performance settings (adjustable scaling filter/adjustable frame dropping)
  • Change the encoder settings of the BaseStation (framerate/videosize)
  • Change the video source
  • Support for the integrated tuner
Here is a video showing the App in action

Upcoming features
  • Recording of shows directly on the device (like a DVR)
  • Timed recordings

Thanks to my testers: insanenyc, Tommyboy_65_98, Mister_Mxyzptlk, Jim_IT

Just on a side note, for all those people asking in other threads why no one made a LocationFree player even though Sony put the source code online:
The code released from sony is just an excerpt of an opensource library they used to stream the data everything else is closed source.

List of tested devices:
  • HTC Thunderbolt
  • HTC G2
  • HTC HD2
  • Nexus S
  • Glaxy Tab 10.1
  • HTC Inspire (overclocked to 1,5Ghz) : works
  • Motorola XOOM : works
  • Toshiba Thrive : works
  • Droid X : works
  • HP Touchpad : works
  • HTC Desire (not overclocked) : works although it is a bit too slow
  • HTC Wildfire: works but very very slow

First message 02/03/2012
Over the last month i've reverse engineered the Sony LocationFree Protocol and started the development of an Android client.

Update 02/05/2012:
The current release improves the frame dropping mechanism. This should result in better picture quality on slower devices. If the user sets a frame dropping factor the frames are only dropped at the end of a GOP. Thus the dropped frames are immediatly followed by an IFrame. This means that the frames following a dropped frame can be decoded without any errors.

The synchronization between audio/video has been improved. The audio decoder can tell the video decoder to drop frames if the delay becomes too big, this means that video frames are dropped before the audio decoder has to drop anything, which should result in better audio quality.

The remote control can now be shown/hidden.

Update 02/07/2012:
The encoded video size can now be set. The framerate of the encoder can be set.

Update 02/07/2012:
The support for LF-B10 BaseStations is now included

Update 02/08/2012:
Preliminary support for LF-V30 BaseStations. Video still has problems.
Added support for the second video source

Update 02/10/2012:
The display problems of the remote control that some testers experienced are fixed now.
The support for the LF-V30 BaseStations has been improved. But it's still H264 only


Once the app is installed. It's called ALF Player (Android LocationFree Player)
  1. When started it presents you with a play icon. Don't just hit it yet, you need to first hit the Menu key and got to preferences (enter Server address/port). You can also enter a hostname. If it does not work try it by directly conecting to the wireless network of the basestation first.
  2. Choose your remote (The remotes of all testers should be integrated already). If your remote is not listed i haven't extracted it yet.
  3. Go back to the play button and hit the menu key again.
  4. Got to registration.
  5. Set the Registration on the Base Station via the web interface to enabled. You should get a registration which is 8 characters long.
    Enter the password exactly as it is displayed (i guess it is always lowercase)
  6. Press "register". It should display Registration sucessful within a second. If registration does not work look at your base station anyway, it may
    have registered but did not detect it correctly.
    If that is the case, press back to get to the Play button and press it.
  7. It should take a few seconds for the stream to start (hopefully).

To activate the remote just touch the screen
To deactivate the remote touch anything except a button

If you have performance problems you have the following options:
  • Reduce the Picture size
  • Set the scaling filter to fast
  • Lower the stream quality
  • Activate frame dropping (i.e 50 percent)
  • Lower the encoder framerate
  • Set the encoded video size to low

Known issues
  • FIXED in 1.0.1 On some devices the player crashes before showing any video at all.
  • FIXED On some devices the remote control is not displayed correctly
  • FIXED The stream from LF-V30 BaseStations may cause trouble and not resync after dropped frames
  • PARTIALLY FIXED If the program can't connect it will hang until it crashes

The following people have donated to this project (If you don't want to be listed here send me a message).
If you consider donating more than the 4 Euros of the donation version, please use paypal, otherwise most of your money will end up with google (30% fees)


Direct donations
dzapme; Stefan Zimmermann; Joe Lo

Donation version
Tommyboy_65_98; Arthur Fernandez; ersd999; Dominic Zapletal; Ruben C De Jesus; Alvin Kelsey; gvece; M J Elvin; echardcore; Jeremy Carter; Wayne C Corby; Brian Metzger; Brian Ellerbusch; Mark De Jong; Thomas Pruss; Duane Leichtamer; James Smith, rallyraiden; Ghassen Mahfoudhi; Kenneth Dupre; hockeygoalie; the292


How to get the program:

You can download it from the android market
or you can scan one of the following codes:

Donation version (4 Euros)

Free version

The Following 9 Users Say Thank You to mgschwan For This Useful Post: [ View ] Gift mgschwan Ad-Free
3rd February 2012, 12:44 PM |#2  
Senior Member
Flag NYC
Thanks Meter: 12
Is this the guy you emailed?

[email protected]
3rd February 2012, 01:20 PM |#3  
OP Member
Thanks Meter: 17
Donate to Me
Originally Posted by chadmd23

Is this the guy you emailed?

[email protected]

Yes thats the one. I emailed him almost two weeks ago but havent even got an autoreply.

I also posted i a Sony Developer Forum ( ) which is currently in BETA state, hoping that the Administrator setting this forum up will notice my post and give me an answer. It got 974 views but not a single answer, which seems to be very strange because the whole forum has only about 40 posts!

I would really love to release this, because it was quite some work (and still is) but without the consent from sony i can't do anything but give it to a few beta testers.
3rd February 2012, 02:18 PM |#4  
Senior Member
Thanks Meter: 2

Great work! I am extremely interested in this and excited that I may be able to put my LF-B20 to use.

I am a newb to android coding and unfortunately do not know any Sony personnel.

Anything else I can do to help?
3rd February 2012, 05:20 PM |#5  
insanenyc's Avatar
Senior Member
Thanks Meter: 53
It also works ok on my thrive !
3rd February 2012, 08:08 PM |#6  
Senior Member
Flag Seattle, WA
Thanks Meter: 176
Donate to Me
wow. i have been looking for something like this since i had the original G1. This sounds great. I cant wait to try it out on my Galaxy S II and my Iconia A500 tablet. I guess my first order of business would be to get my locationfree back up and running (i had network issues since changing modem/routers).

4th February 2012, 01:39 AM |#7  
Senior Member
Flag NYC
Thanks Meter: 12
Maybe try going a different route, trying thru development for their Xperia channel (they do use Android of course!)

Natasha Dutta
Senior Communications Manager,
Sony Ericsson Mobile Communications AB
Email: [email protected]
The Following User Says Thank You to chadmd23 For This Useful Post: [ View ] Gift chadmd23 Ad-Free
4th February 2012, 01:40 PM |#8  
OP Member
Thanks Meter: 17
Donate to Me
Originally Posted by chadmd23

Maybe try going a different route, trying thru development for their Xperia channel (they do use Android of course!)

Thank you, i sent her/them an email. Let's see if this leads to something.
5th February 2012, 06:41 PM |#9  
dzap's Avatar
Senior Member
Thanks Meter: 34
OMG..can I PLEASE TEST this? I have two LF-B10 units and an LF-V30. I've wanted an Android version for so long and would be happy to help test or send some donation money your way if you need it.

Sony has completely dropped the ball on these things and I still use them and it was my #1 reason for not moving to Android from Windows Mobile back a couple years ago.
5th February 2012, 09:52 PM |#10  
OP Member
Thanks Meter: 17
Donate to Me
I know everybody wants to test the app, however i am already struggling to manage the number of testers i already have.

Once i worked through all the bugs i will continue to contact new testers. Please understand that i have a real job too and that i can't continously work on this.

6th February 2012, 03:02 PM |#11  
Thanks Meter: 10
me want!!!! my LFP been collecting dust awaiting someone to make this...might start using it again...

can't wait for release. Thanks!
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes