Siri Protocol Cracked
First time accepted submitter jisom writes with something that will probably not be working come morning. Quoting the source: "Today, we managed to crack open Siri's protocol. As a result, we are able to use Siri's recognition engine from any device. Yes, that means anyone could now write an Android app that uses the real Siri! Or use Siri on an iPad! And we're going to share this know-how with you."
Basically, Siri sends the data to the processing server using non-standard HTTP extensions. Of note is that the audio is encoded using Ogg Speex.
While you could write an Android app or anything else, the protocol sends an unique ID with the request. That ID is unique to every iPhone 4S. End result being, you can probably use your own for your personal use, but if you try to sell an App for Android and include your ID with it, Apple will just blacklist it. So you will still need your own iPhone 4S.
3.. 2.. 1...
A feeling of having made the same mistake before: Deja Foobar
The quality of the anonymous coward troll posts is declining. I expected more.
To offset political mods, replace Flamebait with Insightful.
I thought it ran on the phone itself.
So the iPhone can't really do the speech recognition and synthesis by itself? That's quite underwhelming.
Circumcision is child abuse.
Appears that Xiph came out on top for speech codecs.
This also shortly after apple realized that ALAC was going to fail (at least as a closed source product, they may push it better as an open source project now it can be played by everyone).
They still have the very entrenched AAC though.
While this is an enviable achievement, I must say I am not that happy and here's why.
Apple fan boys are going to ramp up the mantra that Android geeks are behind this effort. With Ice Cream Sandwich's code released, we will be seeing an Android app pretty soon.
What will happen next are events reinforcing the myth that Android is a stolen product.
It's a sad day indeed.
> I thought it ran on the phone itself.
Nope, and that is the scam. Basically you are calling a service. Thus they could make Siri available on every iProduct with zero effort. That they decided to hold it as an exclusive feature for the 4S to try and create the 'gotta upgrade' stampede is truly lame. Keeping it to iProducts is ok, they ain't giving away a hefty compute farm after all, who do ya think they are after all, Google? But locking access to the service to one submodel of one product line is a terrible idea.
Democrat delenda est
I knew this long ago... I just asked "Siri, what protocols are you using to communicate with your server?"
When the copyright term is "forever minus a day", live every day like it's the last.
"Siri, Don't sue. Confirm.", Siri, "I'm afraid I can't do that Dave."
If Apple is learning anything from Google, it's that customer info is valuable. Siri could easily become an advertising platform that rivals Google. Targeted advertising, where companies pay Apple for premium listings ( eg Asking Siri about a Pizza place returns Pizza Hut who paid the most for that key word).
If that's their angle, they might welcome more traffic to Siri.
I'm not sure you really understand what source code is. The ICS source release has nothing to do with developers who write apps that use the Siri protocol. Nothing. At. All.
.. can you ask Siri "where to hide a body" before a backend notification gets emailed to a detective at your local PD?
That's what she said.
I don't see an Android app being allowed access to an Apple server. Somehow I think someone at Cupertino will frown on that.
I am shocked anybody wants a "plastic pal that's fun to be with" in the first place. I mean, sh!t, did anybody notice that GPPs are made by Sirius Cybernetics in his books? Douglas Adams is probably suing Steve Jobs in ghost court right now.
The difference being that generally MS bought up rivals to kill their products rather than compete with them. This got superior products out of the way so crappy MS stuff could continue to stifle. Apple buys up new and innovative tech to promote and market it. Have a few billion laying around they can do that now.
Apple makes consumer electronics. Why should they be in the business of developing speech recognition and AI? Wouldn't they be spreading themselves thin? Apple likes to focus on doing only a few things. That kind of diversification would be counterproductive. Maybe in a few years when the tech is more established they'd take a crack at developing their own version.
The only people who think Android is stolen are either a) below contempt or b) worthy of being punched or c) OMG STEVE JOBS IS MY GAAWWWDDDDD!!!!!! and probably fit squarely into a) and b) already.
Isn't that just 3-clause BSD (or something almost the same) and therefore there is no requirement for apple to share anything?
That's Apple's prerogative, but it should be very clear that they're now very much in the Microsoft territory of knowing who to buy over what to write.
Or, to put it another way, knowing when to buy and when to write - which I'd apply to Apple, Microsoft, and other tech companies as well. (Note that one of the main competitors to iOS was developed by a company that was bought by the company that's now developing it.) Perhaps buying technology is the sign of a company losing its innovative mojo; it might also be the sign of a company that's gotten big enough that they can deal with the dictum that "not all the smart people in the world work for you" by buying some of the companies that have those other smart people rather than just by buying their products.
Apple doesn't have to share source code, but the license includes attribution, which doesn't appear to have happened (if it did, we'd have known that from the day Siri was first available). It is possible, however, that it uses an independently developed codebase that fits the speex spec, but that would be a waste of time for most people.
This is my signature. There are many like it, but this one is mine.
That's why almost all apps work in airplane mode? Must be magic!
What will happen next are events reinforcing the myth that Android is a stolen product.
It's a sad day indeed.
You're telling me. I was trying to use my iPhone yesterday and half the OS was missing! Stolen from right under my nose.
Apple doesn't have to share source code, but the license includes attribution, which doesn't appear to have happened (if it did, we'd have known that from the day Siri was first available).
We would if somebody'd bothered to fire up System Preferences^W^WSettings on an iOS 5 device and then go to General -> About -> Legal and scroll through all that crap looking for the text in question and found it. (I don't have an iOS 5 device to check it on.)
TFA is actually pretty interesting:
Some Apple software (parts of iTunes) goes further and checks that the certificate presented by the server is actually signed by Apple. If the Siri software did this then the server would be impossible to fake man-in-middle-wise without hacking the client itself. Just checking that the certificate is valid is pretty useless protection - any certificate could be valid, what you care about is whether the server is who it says it is.
sheep.horse - does not contain information on sheep or horses.
I have just done this. That exact text (as far as I can tell) is included in the text about 7/8ths of the way through.
So it looks like Apple is in the clear on this point.
sheep.horse - does not contain information on sheep or horses.
I knew they were doing some heavy lifting on the server side, cause obviously it doesn't work without a network connection.
However, I figured they would at least do an initial processing pass on the phone and pass up the data points to the server instead of the raw audio. That at least would make sense, and you'd be able to pass much smaller amounts of data. It would also explain the need to have better hardware on the phone. Sending the raw audio seems insane.
I wouldn't be so admired if at the end of the line we could find an unknowingly Google plus an unwittingly Apple.
There's an awfully big chance the codec was determined and implemented way before Apple even touched the product.
I was promised a flying car. Where is my flying car?
It seems fairly ill-advised for a company whose business is developing iOS apps to post their reverse engineering exploits on the corporate blog.
yeah, Apple never ever did that. ever.
While it's not EXACTLY the same, Android already has speech recognition that can do a google search. Lets keep some perspective, Siri is an incremental improvement, not some amazing and unfathomable technology our star friends shared with Apple.
very interesting. i wonder if Apple will retcon this onto siri's documentation and force an update?
First time accepted submitter
Long time listener, first time caller. Thanks for taking my call.
Advice: on VPS providers
You say "incremental" as if it's a bad thing. Most of the world's consumer tech revolutions are merely increments and/or well-polished amalgamations of existing tech that made it more accessible to more people. The truly bleeding-edge technologies are too far outside the worldview of most people for them to bother with.
No, nothing wrong with it, it's just contrary to the marketing message and the fanbois. The same failure to recognize the incremental nature of most developments is at the heart of the IP sue-a-thon going on these days.
I cannot for the life of me think of any reason anyone would want or need siri on any platform. Thanks but no..
Apple will simply tack on a requirement to register a 4S with serial number, original purchase receipt and a plan verification from the cell provider
No way in hell. They'd sooner find a way to monetize officially opening up Siri cross-platform. All of this onerous treat-customers-like-criminals stuff is something Apple has consciously avoided in their business strategies for a long, long time—presumably observing that customers don't like to be treated like criminals, and don't like to give money to companies that make them feel bad.
I mean, this is just opening Siri's servers open to a DDOS when everyone downloads "Siri for Android" and "Siri for PC" and the server load multiplies manyfold...
Even if you rant about "Everything should be free", this is not a case of this... it could be if the hack allowed you to create the complete system (including servers), this only allows people to leech into someone else's server. It is not even a particularly complex hack that shows the mastery of the cracker.
In essence, IMO this thing will have some positive effect for people who will sell/use applications connecting to a system they don't support, and a lot of negative effect for the user who really support the system. I don't think it is a good thing, even if that puts me as a minority in /.
Disclaimer: Before you begin with it, I am not and I will not be an Apple user. Also, as my native language is not English, it is uncertain that I will find Siri useful anytime in the future.
Why can't
I don't understand these hackers, they only promote the lock-in policies of Apple. Because having Siri for a while may lure more users to Apple. After a while, Apple will just close the hole by using the UID's of the phone, like others mentioned, or some kind of unbreakable private-key cryptosystem.
Further, all those jailbreaking tools which are available just give Apple users a reason to say "hey, I'm not locked in, I can always jailbreak my device".
While you can root your device now, it does not mean you can root it forever. Apple devs are smart enough to make the system close to unbreakable, because cryptography is not that hard, and by the way, they are baking their own ICs now.
So I think Apple is just happy with this (relatively small) jailbreaking scene, just like Microsoft was happy with their software being illegally copied for a long while.
If Pandora's box is destined to be opened, *I* want to be the one to open it.
The only people who think Android is stolen are either a) below contempt or b) worthy of being punched or c) OMG STEVE JOBS IS MY GAAWWWDDDDD!!!!!! and probably fit squarely into a) and b) already.
You are now the wikipedia example of the logical fallacy "poisoning the well."
I was surprised to discover that even ebay sniping apps do it server side. (somebody is storing your ebay credentials on their "not evil" server, yep)
Now that we know how to direct the speek files, anyone know of an open source library for decoding the files to text?
Having to work for a living is the root of all evil.
I hate to be rude, but..
If you don't know what something is look it the fuck up.
Thank you.
Don't know something? Look it up. Still don't know? Then ask.
Just like the iPod and iPhone, Apple seems to specialize in evolutionary implementation, but revolutionary in usage.
It remains to be seen if Siri is the latter, and I don't use it much myself, but the Iris project demonstrates that even if all the necessary tech was available on Android already, no one took it the (supposedly obvious) next step.
Despite claims that the Iris project "duplicated" Siri in only 8 hours, that was a wild exaggeration. A month later it is still very much something that regular users won't bother with. Their latest blog entry (from Oct 29) says most Android phones don't ship with the required speech libraries and users must download/install it themselves, they're missing multilingual support (Apple's own is far from complete, of course), and they're still implementing the framework to let it do certain voice actions like add calendar appointments.
I think it's great that they're trying with Iris, but they are obviously copying the Siri implementation, and it's disingenuous that some claim "Android had all those things first". They had most or maybe even all the parts, but they did not have a working car, because the parts were from different manufacturers that didn't fit together properly.
Have you considered the fact that reverse engineering ability doesn't equate to game writing ability?
As these individuals probably get more press and interest doing this than reverse engineering how a complex virus like Stuxnet works. Are you sure this is less productive? Seems like a good way to get yourself known out there.
Change is certain; progress is not obligatory.
"Yes, that means anyone could now write an Android app that uses the real Siri!"
OR, you could try Vlingo....
It's dumb, that's what it is.
You have your answer, now leave and never return.
Change is certain; progress is not obligatory.
This is such a waste of time. Why can't talented programmers spend their efforts on more productive activities. Write the next great game, etc. If you want Siri, buy an effing iPhone. I know I'm in the (very small) minority here, but I just don't understand hackers.
Me either, but the first product that Woz and Jobs made and sold was a telephone system hacking device. So from this we can see that sometimes other things can evolve from hacking at other peoples work.
Speaking to your phone makes you look crazy and snob so for that reason I'M OUT
Haha yeah I remember back in the day when all you could do was speak into a phone.
Apple makes money selling hardware. Google makes money selling you.
Just tell Siri "Cleopatra says there will be snow from the west"
Go hug some trees.
Just set up your own server. The Android app would contact your server. Then your server would pretend to be a random iPhone 4S and send a request to Apple. Your server would then send the result back.
Coder's Stone: The programming language quick ref for iPad
Another thing to consider is that Siri remembers things about you. For example, you can tell it "Justine is my mom", then later say "Call mom". Also, there are sessions — your command can be a interpreted in the context of recent commands. I would guess that the state is saved on the server side and tied to your unique ID. If so, then sharing an ID among multiple users would result in a nasty user experience, and would certainly defeat the point of Siri's more intelligent features.
I think it's fairly clear iris is meant to be a sort of clone, but in the broader case of other voice command capability, it would be equally disingenuous to claim that android is just an iPhone clone. Each has pieces that the other had first. That is to be expected with parallel development of two devices in the same class.
What, are you one of the OpenDoc users that cannot forgive Apple for killing that tech? That was in-house, not bought and killed.
... and Google bought Android Inc. Same difference.