OESF Portables Forum

General Forums => General Discussion => Topic started by: speculatrix on September 08, 2006, 05:19:48 pm

Title: Cracking The Sony Mylo
Post by: speculatrix on September 08, 2006, 05:19:48 pm
the Sony mylo is quite an interesting device hardware-wise, and I was wondering if we shouldn't have a forum section ready for when people start hacking it? the usual hardware and software forum would probably suit.

I'm looking forward to when we can extract the interesting software and roll it into, say, Cacko!

in particular I'm hoping to see a decent Skype client, an updated opera browser, and a flash player!
Title: Cracking The Sony Mylo
Post by: Ferret-Simpson on September 08, 2006, 08:05:28 pm
Qtopia 1.5 based?

Remember, it'll need the right libraries to run on Cacko, Sharp or Opie. . .
Title: Cracking The Sony Mylo
Post by: jfv on September 08, 2006, 08:20:00 pm
Qtopia is not necessarily an issue. I'd love a command line skype client. Flash player too (like mplayer on the command line). Opera, I guess is another matter.

Felipe
Title: Cracking The Sony Mylo
Post by: Ferret-Simpson on September 08, 2006, 08:24:38 pm
I'm sorry, the Sony Skype client, designed for an end-user WM5 type deployment is command line?
Title: Cracking The Sony Mylo
Post by: BarryW on September 08, 2006, 08:43:44 pm
Quote
I'm sorry, the Sony Skype client, designed for an end-user WM5 type deployment is command line?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140997\"][{POST_SNAPBACK}][/a][/div]


Nothing in Wince is command line.
Title: Cracking The Sony Mylo
Post by: jfv on September 08, 2006, 10:09:49 pm
The mylo is linux, right? So it's nothing to do with WM5. Presumably the binary has a part that actually makes the phone calls and a part that drives the GUI. As long as you can figure out a way to send a command to the part that makes the call, then a simple "skype 555-1212" should get it do dial. There is already a skype for desktop linux, which I haven't tried. Maybe someone can report whether it works from the command line.

Felipe
Title: Cracking The Sony Mylo
Post by: speculatrix on September 09, 2006, 03:45:46 am
I think someone's confused here.. as I understand it. there is some sort of Skype SDK with published API, but the core part of it is only a binary. Perhaps then, what you are hoping for, is that there will be an ARM linux port of the SDK so that you can funky things with it via the command line?
Title: Cracking The Sony Mylo
Post by: brashley46 on September 10, 2006, 01:49:20 pm
Quote
The mylo is linux, right? So it's nothing to do with WM5. Presumably the binary has a part that actually makes the phone calls and a part that drives the GUI. As long as you can figure out a way to send a command to the part that makes the call, then a simple "skype 555-1212" should get it do dial. There is already a skype for desktop linux, which I haven't tried. Maybe someone can report whether it works from the command line.

Felipe
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141003\"][{POST_SNAPBACK}][/a][/div]

I run Skype 1.3.0.30_API on my Linux box (XandrOS Desktop Home Premium), but from the GUI; haven't tried konsole.  
Title: Cracking The Sony Mylo
Post by: Ferret-Simpson on September 11, 2006, 05:49:24 pm
Quote
Quote
I'm sorry, the Sony Skype client, designed for an end-user WM5 type deployment is command line?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140997\"][{POST_SNAPBACK}][/a][/div]


Nothing in Wince is command line.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141001\"][{POST_SNAPBACK}][/a][/div]


AAAAAAAAAAAAAAAAAAARGH!


I MEANT that the Sony is designed for End users: The kind who are used to buying Windows Mobile PDA's.

Note Wm5 "TYPE"

Skype is a self-contained commercial program that is useable as a single GUI-based precompiled product. You can't use it without the GUI.

Apparently, the Mylo is Linux based and has a Skype Client.

HOWEVER!

Since it is designed for Typical End Users (Read: Windows using General-public Morons) It will be a self-contained Binary JUST LIKE ON DESKTOP LINUX AND WINDOWS!

Therefore, If we're going to copy the PRECOMPILED binary from the Mylo, we will need the Same libraries ETC That are used ON the Mylo, or it won't ruddy run at all, WILL IT!?

|pants|

Sorry, I just really don't see what was challenging about what I said!
Title: Cracking The Sony Mylo
Post by: speculatrix on September 11, 2006, 06:05:03 pm
Until someone takes a peek, we don't know if the Mylo is kernel 2.6 or 2.4, nor whether it's qtopia 2.2 or 1.x.

I will be particularly interested to see whether Sony do the decent thing and voluntarily publish code under the GPL, or pretend that it doesn't apply to them (assuming they linked with libc etc).
Title: Cracking The Sony Mylo
Post by: BarryW on September 11, 2006, 07:07:49 pm
Quote
Quote
Quote
I'm sorry, the Sony Skype client, designed for an end-user WM5 type deployment is command line?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140997\"][{POST_SNAPBACK}][/a][/div]


Nothing in Wince is command line.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141001\"][{POST_SNAPBACK}][/a][/div]


AAAAAAAAAAAAAAAAAAARGH!


I MEANT that the Sony is designed for End users: The kind who are used to buying Windows Mobile PDA's.

Note Wm5 "TYPE"

Skype is a self-contained commercial program that is useable as a single GUI-based precompiled product. You can't use it without the GUI.

Apparently, the Mylo is Linux based and has a Skype Client.

HOWEVER!

Since it is designed for Typical End Users (Read: Windows using General-public Morons) It will be a self-contained Binary JUST LIKE ON DESKTOP LINUX AND WINDOWS!

Therefore, If we're going to copy the PRECOMPILED binary from the Mylo, we will need the Same libraries ETC That are used ON the Mylo, or it won't ruddy run at all, WILL IT!?

|pants|

Sorry, I just really don't see what was challenging about what I said!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141156\"][{POST_SNAPBACK}][/a][/div]

Oh I knew what you were talking about.  I was just clarifying what you said.
Title: Cracking The Sony Mylo
Post by: jfv on September 11, 2006, 08:23:09 pm
Well, I reserve my judgement until Sash has a go at it :-)

Felipe
Title: Cracking The Sony Mylo
Post by: jfv on September 22, 2006, 05:52:22 pm
So, apparently it is for sale now. Anybody got one?

Maybe lpotter can tell us if we can install Zaurus software (e.g. qconsole) on it.

Felipe
Title: Cracking The Sony Mylo
Post by: speculatrix on September 22, 2006, 06:30:06 pm
Quote
So, apparently it is for sale now. Anybody got one?

Maybe lpotter can tell us if we can install Zaurus software (e.g. qconsole) on it.

Felipe
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142084\"][{POST_SNAPBACK}][/a][/div]

it's damn expensive. It's also a shame (probably repeating myself) that it couldn't have been based on the PSP as the hardware would have been quite special then
Title: Cracking The Sony Mylo
Post by: speculatrix on November 19, 2006, 04:58:29 pm
*bump*

I really think we should have a Sony mylo section here, as I think there will be some interesting stuff it can do, and I'd like potential Mylo owners/hackers to cross-fertilise with the QT/linux crowd here.

Like, I'd like to know which version of QT, what kernel etc etc.
Title: Cracking The Sony Mylo
Post by: speculatrix on November 19, 2006, 05:14:59 pm
aha, after much googling I found the Sony update web page:
http://esupport.sony.com/US/perl/model-swu.pl?mdl=COM1 (http://esupport.sony.com/US/perl/model-swu.pl?mdl=COM1)

I will download the updates and see what's inside!
Title: Cracking The Sony Mylo
Post by: speculatrix on November 20, 2006, 06:53:07 pm
hmm, well, all that's inside the exe is an update.bin file, which:
* doesn't have meaningful strings inside
* won't decompress with gunzip or bunzip
* won't mount with ext2, vfat
* won't untar or un-cpio

any ideas?
Title: Cracking The Sony Mylo
Post by: Da_Blitz on November 20, 2006, 11:43:20 pm
have you tried looking for sources and toolkits on thier site or on the CD? perhaps request them.

Quote
3b GPL:
Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

also
Quote
For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.

so we should see the auto tools they use as well to get everything into an image or update

i feel like some GPL musle might have to be applied to get kernel sources

actually i use to have a command line client for wince, problem was apart from the C# compiler there was nothing else that needed the command line

also just because its a good idea, IANAL

just a side note i wonder how the patent stuff in the GPL affects novell and microsoft (considering they have a linux lab). looks to me as if novel only just relised they made a mistake and are trying to cover thier arses
Title: Cracking The Sony Mylo
Post by: speculatrix on November 21, 2006, 05:08:51 pm
Quote
have you tried looking for sources and toolkits on thier site or on the CD? perhaps request them.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146794\"][{POST_SNAPBACK}][/a][/div]

well, perhaps the toolkit would be interesting.. but I'm kind of hoping for some interesting run-time stuff.
Title: Cracking The Sony Mylo
Post by: Da_Blitz on November 21, 2006, 08:05:49 pm
actually it reminds me of the linksys toolkit which included more than they needed to release, but it would have the scripts to build an image so you could learn how to deconstruct it and then inject some files or browse the file tree
Title: Cracking The Sony Mylo
Post by: speculatrix on November 26, 2006, 03:08:15 pm
Quote
hmm, well, all that's inside the exe is an update.bin file, which:
* doesn't have meaningful strings inside
* won't decompress with gunzip or bunzip
* won't mount with ext2, vfat
* won't untar or un-cpio

any ideas?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146778\"][{POST_SNAPBACK}][/a][/div]

I've also tried mounting with squashfs and cramfs, and no joy. It must be some raw binary dump rom image. I guess we'll have to hope someone with a MyLo comes along to the forum and asks for help hacking it
Title: Cracking The Sony Mylo
Post by: speculatrix on November 26, 2006, 03:21:40 pm
here's a japanese site with the mylo dismantled:
http://pc.watch.impress.co.jp/docs/2006/1106/pda53.htm (http://pc.watch.impress.co.jp/docs/2006/1106/pda53.htm)

Looks like it might as well have been made by Samsung - it uses their flash, their dram, their wireless...

as expected, it's an Arm MX21 processor.
Title: Cracking The Sony Mylo
Post by: rectaacies on January 18, 2007, 01:43:49 am
this deserves a HUGE bump....
Title: Cracking The Sony Mylo
Post by: speculatrix on January 18, 2007, 08:49:09 am
oh, yes... I had a quick peek at one in, erm, bestbuy or circuitcity (one of those, on a trip to phoenix USA).

for the US$350 or UKĀ£180, I would have expected something which felt more substantial. it wasn't being demoed, so maybe it was a dummy unit, but unless I'd known what it was I'd barely have given it a second glance. I only briefly considered buying it in the hope of hacking it it was that tacky/overpriced.

anyway, I googled again and not found much evidence of people hacking into it,  but some on the skype forum said others had shell access, so I have asked for references... follow it here:
http://forum.skype.com/index.php?showtopic=71961 (http://forum.skype.com/index.php?showtopic=71961)


other site to watch:
http://www.mylohacks.org/ (http://www.mylohacks.org/)
Title: Cracking The Sony Mylo
Post by: speculatrix on January 20, 2007, 07:00:22 pm
ah, very interesting, one of the team who ported skype to the mylo has a blog:
http://www.oberle.org/blog/2006/08/10/skyp...e-new-sony-mylo (http://www.oberle.org/blog/2006/08/10/skype-on-the-new-sony-mylo)

I added a msg to the blog to ask if he could give any technical info about skype on mylo.
Title: Cracking The Sony Mylo
Post by: jfv on February 06, 2007, 10:09:48 am
I got a Mylo!  (Got it the day the forums went down and been waiting for days to say this). Anyhow, now what? Any suggestions? It came with firmware 1.1 which is a pity since the 1.0 version had our old friend ftp on port 4242. So far all I managed to do is view the file system using a trick with a webpage that I learned from the mylo forums. In this way it's possible to see what is in there and also to read text files (such as configuration files and shell scripts). I have not found a way to copy files, let alone run files. There is a part of the file system that I can read and write by accessing it as a mass storage device but there is no way to execute a program from that part of the file system.

Looking forward to hear some good suggestions!
Title: Cracking The Sony Mylo
Post by: speculatrix on February 06, 2007, 10:36:02 am
how much did it cost if you don't mind me asking?

which mylo forums are you referring to?

is there a chance of downgrading the firmware to get back the 4242/ftp?

can you see any part of the system, e.g. /etc, using the web interface, and save any of the system files to the space accessible from usb mass storage interface

can you see the web interface  from another machine...
can you try nmap'ping it to see what ports might be open?

what files can you see via usb mass storage... if you put anything there, can it be seen by the mylo, and if you copy an executable file, is there a chance of executing it?


sorry for the deluge of questions!
Title: Cracking The Sony Mylo
Post by: jfv on February 06, 2007, 10:46:27 am
>how much did it cost if you don't mind me asking?
I bought it lightly used for $200.

>which mylo forums are you referring to?
www.myloforums.net

>is there a chance of downgrading the firmware to get back the 4242/ftp?
AFAIK the 1.0 firmware is not available for download so I can't even try.

>can you see any part of the system, e.g. /etc, using the web interface, and save any >of the system files to the space accessible from usb mass storage interface
See yes, save no.

>can you see the web interface  from another machine...
No. What I'm doing is just a trick to emulate typing file://... on the web browser, which doesn't work, but if you make a web page saved locally and create the right links, it works. It's described in the mylo forums, under hacks.

>can you try nmap'ping it to see what ports might be open?
There was nothing open if I remember right. It didn't respond to the usual nmap and I had to use -P0.

>what files can you see via usb mass storage... if you put anything there, can it be seen by the mylo,
I can see the folders where music, pictures, web pages, etc are stored and I can put stuff there, yes.

>and if you copy an executable file, is there a chance of executing it?
No mechanism for execution as far as I can see.

>sorry for the deluge of questions!
Keep them coming!
Title: Cracking The Sony Mylo
Post by: speculatrix on February 06, 2007, 11:18:27 am
is it possible to tell what version of the kernel is running?

can you format memory card with ext2 (linux fmt) and put softlinks on the card to the system directories and thus browse the whole file system from external device?

--edit ext3->ext2
Title: Cracking The Sony Mylo
Post by: jfv on February 06, 2007, 11:28:53 am
Quote
is it possible to tell what version of the kernel is running?

can you format memory card with ext2 (linux fmt) and put softlinks on the card to the system directories and thus browse the whole file system from external device?

--edit ext3->ext2
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153338\"][{POST_SNAPBACK}][/a][/div]

I will check to see if I can tell which version of the kernel is running. I don't have the mylo with me right now.

The idea with the memory card is a good one, thanks. However, I don't have a Sony memory stick, which is the only option for the mylo. I'll see if I can get hold of one.
Title: Cracking The Sony Mylo
Post by: jfv on February 06, 2007, 08:52:50 pm
The kernel version is 2.4.21. I attach a picture of /proc/version I can view it on the mylo's browser but can't save it, hence the photo (taken with the Zaurus of course).
Title: Cracking The Sony Mylo
Post by: speculatrix on February 07, 2007, 01:56:38 am
Quote
The idea with the memory card is a good one, thanks. However, I don't have a Sony memory stick, which is the only option for the mylo. I'll see if I can get hold of one.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153339\"][{POST_SNAPBACK}][/a][/div]

I've got an old 8MB memory stick I can send you for your trouble, just PM me if wanted with your address and I'll get it posted off.
Title: Cracking The Sony Mylo
Post by: speculatrix on February 07, 2007, 02:02:10 am
Quote
The kernel version is 2.4.21. I attach a picture of /proc/version I can view it on the mylo's browser but can't save it, hence the photo (taken with the Zaurus of course).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153375\"][{POST_SNAPBACK}][/a][/div]

hmm, interesting.. of particular note is that it was built by someone at Sony, rather than by some outside company (I had been wondering whether Sony developed the Mylo s/w internally or subcontracted it out). I've googled (web and groups) for variations on the name "ushin sony japan" and not found anything useful... nor can I find much for ga.sony.jp... so he/she must be an internal developer.
Title: Cracking The Sony Mylo
Post by: speculatrix on February 07, 2007, 02:07:19 am
Quote
ah, very interesting, one of the team who ported skype to the mylo has a blog:
http://www.oberle.org/blog/2006/08/10/skyp...e-new-sony-mylo (http://www.oberle.org/blog/2006/08/10/skype-on-the-new-sony-mylo)

I added a msg to the blog to ask if he could give any technical info about skype on mylo.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=151842\"][{POST_SNAPBACK}][/a][/div]

I checked, he responded, basically saying it's a closed device with no sdk or anything for adding apps.
Title: Cracking The Sony Mylo
Post by: speculatrix on February 07, 2007, 02:16:06 am
Quote
have you tried looking for sources and toolkits on thier site or on the CD? perhaps request them.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146794\"][{POST_SNAPBACK}][/a][/div]

p.s. I don't have a mylo, and I don't have the CD!
Title: Cracking The Sony Mylo
Post by: jfv on February 07, 2007, 09:09:22 pm
Got a memory stick (needed to be a duo, one of the new smaller ones). Formatted it ext3 on my desktop. Put some symlinks into it. Unfortunately the Mylo does not see the symlinks on its file manager or doesn't show them to me. It sees the memory stick allright and I can even transfer files to it. If I have the Mylo connected as a mass storage device to the computer, the computer sees the symlinks but they don't lead anywhere since only a certain part of internal storage is visible. Extrapolationg from something I read online and my experience it seems that the Mylo has two flash chips, one storing the operating system and programs (128MB?) and another (1GB) which is available for user storage. When  connected as a mass storage device or through the file manager, all I see is the 1GB part.

Any new ideas?

Felipe

p.s. Anybody else besides speculatrix is reading this thread?  There is an ARM compiled Skype binary inside this thing!
Title: Cracking The Sony Mylo
Post by: Meanie on February 07, 2007, 09:23:18 pm
Quote
Got a memory stick (needed to be a duo, one of the new smaller ones). Formatted it ext3 on my desktop. Put some symlinks into it. Unfortunately the Mylo does not see the symlinks on its file manager or doesn't show them to me. It sees the memory stick allright and I can even transfer files to it. If I have the Mylo connected as a mass storage device to the computer, the computer sees the symlinks but they don't lead anywhere since only a certain part of internal storage is visible. Extrapolationg from something I read online and my experience it seems that the Mylo has two flash chips, one storing the operating system and programs (128MB?) and another (1GB) which is available for user storage. When  connected as a mass storage device or through the file manager, all I see is the 1GB part.

Any new ideas?

Felipe

p.s. Anybody else besides speculatrix is reading this thread?  There is an ARM compiled Skype binary inside this thing!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153445\"][{POST_SNAPBACK}][/a][/div]

this would be consistent with how sony build their devices. there is always a small internal storage section which stores the OS or other system stuff which is not accessible when mounted as a USB storage device but partially accessible when accessing via other means, ie bluetooth... there is also a bug with how it reads the FAT descriptor since FAT32 uses both whereas FAT16 has two duplicates, one primary and one backup.

would they have actually placed a 128MB memory stick duo inside the Mylo in which case you could pull it out and even replace it with a bigger one , but chancges are they soldered some other chip inside it...
Title: Cracking The Sony Mylo
Post by: speculatrix on February 08, 2007, 11:34:57 am
hmm, with the older OS image, there was an FTP port open. Were people able to access the whole file system with that? I was wondering if it would be possible to get a complete file system copy?
Title: Cracking The Sony Mylo
Post by: jfv on February 08, 2007, 11:40:06 am
My understanding from reading other forums is that with the ftp they could get and put any files and somebody even changed init.d or some such to get a telnetd going on startup allowing them to log in remotely! I've never seen a Mylo with the old OS so I don't really know. I have not found an image of the old file system.
Title: Cracking The Sony Mylo
Post by: speculatrix on February 08, 2007, 11:58:04 am
is it just me, but I am finding it very difficult to navigate myloforums, I registered but I can't actually see how to view any of the forums themselves, apart from the listing of recent posts on the front page.
-edit-
p.s. I was using firefox, I've even tried IE!
Title: Cracking The Sony Mylo
Post by: jfv on February 08, 2007, 01:25:25 pm
Quote
is it just me, but I am finding it very difficult to navigate myloforums, I registered but I can't actually see how to view any of the forums themselves, apart from the listing of recent posts on the front page.
-edit-
p.s. I was using firefox, I've even tried IE!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153497\"][{POST_SNAPBACK}][/a][/div]

Yes, it is horrible. Here is a workaround. From the recent posts page, click on the name of subforum in which some post has appeared (say, general discussion), when you get to that subforum page, near the bottom right corner there is a pulldown menu called "forum jump" which you can use to reach the other subforums. Mylo Hacks is the interesting one.
Title: Cracking The Sony Mylo
Post by: speculatrix on February 08, 2007, 03:07:43 pm
Quote
Yes, it is horrible. Here is a workaround. From the recent posts page, click on the name of subforum in which some post has appeared (say, general discussion), when you get to that subforum page, near the bottom right corner there is a pulldown menu called "forum jump" which you can use to reach the other subforums. Mylo Hacks is the interesting one.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153507\"][{POST_SNAPBACK}][/a][/div]

ah, so I wasn't going mad!

it looks as if they missed off the forum jump menu off the home page. very strange... I've found the clean simple lines of this oesf forum to be much superior to many others.
Title: Cracking The Sony Mylo
Post by: speculatrix on February 08, 2007, 03:30:46 pm
Quote
My understanding from reading other forums is that with the ftp they could get and put any files and somebody even changed init.d or some such to get a telnetd going on startup allowing them to log in remotely! I've never seen a Mylo with the old OS so I don't really know. I have not found an image of the old file system.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=153494\")

Looks like the forum moderator has done it - see this thread:
[a href=\"http://www.myloforums.net/showthread.php?t=717]http://www.myloforums.net/showthread.php?t=717[/url]

there's a broken link, which should go to here, which is a list of the entire file system:
http://www.myloshare.net/serve/myloforums_..._filesystem.htm (http://www.myloshare.net/serve/myloforums_mylo_filesystem.htm)

I note there's no bluetooth or bluez modules (might be in kernel), but there's a a few big binaries around and a lot of files with "skype" in the path, plus lots of opera files. I've asked if someone can provide a complete dump of the file system

-- edit --
looks like I've been partially successful with getting a file mylo files. stay tuned
Title: Cracking The Sony Mylo
Post by: jfv on February 13, 2007, 08:45:55 pm
To add to my earlier post on speculatrix's idea of using an ext3 formatted memory card, I just noticed something strange. When the card is on the mylo, I guess it's ignoring the linux format and I can save files to the card. These files don't show up when I mount the card on my desktop. Conversely, if I create files on the card from the desktop, they don't show up when viewing from the mylo. I just tried viewing the card on a Mac and is the same as on Linux. I suppose I could try it on Windows too...