Whited00r Forum

Others => Archives => Amateur Dev - Archive => Topic started by: Kosciak on June 13, 2012, 09:20:33 AM

Title: [Project] Voice Control
Post by: Kosciak on June 13, 2012, 09:20:33 AM
Okey, I was searching for Accessibility for Redd00r, and accidentally found thread about porting native Voice Control from 3GS to 3G and 2G (also iPods, but they don't have microphones) on ModMyI.

(http://modmyi.com/forums/file-mods/692613-project-voice-control-iphone-2g-3g.html (http://modmyi.com/forums/file-mods/692613-project-voice-control-iphone-2g-3g.html))

Unfortunately it doesn't work because of 3GS (armv7) not 3G, 2G (armv6) version.

I looked into Bloomaze tutorial about fake Open GL ES 2.0 and faked my CPU to armv7 but it still doesn't work.

VoiceControl opens for a while and closes (IT'S NOT CRASH! it closes not crashes!). There's Preference Panel in Settings, we're you can setup VoiceControl language but it don't work.

Can somebody help me with this? Thanks! :)

Screenies:
(Word by FinkMac™ :P)

They we're taken from my iPhone 2G - it's not proof for anything. You don't need to belive that screen shots, but that was hard to time pressing buttons to take a screen shot of instantly closing VoiceControl :P

Settings

(http://img201.imageshack.us/img201/4891/20120613110612.th.png)

VoiceControl

(http://img705.imageshack.us/img705/4743/20120613110523.th.png)

Download:

Unfortunately I don't done .deb file before so you had to put each file at it's place by self. Unpack zip and put files in their directions - don't replace SpringBoard.app! Just copy files from it and put in your SpringBoard.app in your iPhone.

I don't know will this work with iOS 4 but should. I do not take responsibility for any damage or anything what would do this with your iDevice. It worked and didn't done anything to my iPhone 2G running WhiteD00r 5.2 DP 2.

http://adf.ly/9etgj (http://adf.ly/9etgj)

It can be that this topic was already on WhiteD00r. If yes, then you can delete this… but I really write it for long :P
Title: Re: [Project] Voice Control
Post by: Agator21 on June 13, 2012, 09:58:02 AM
same here :(
It opens and closes immediately.
Title: Re: [Project] Voice Control
Post by: Kosciak on June 13, 2012, 10:15:33 AM
I don't know how to repair it, thought. If anyone have any ideas then share with me please! :)
Title: Re: [Project] Voice Control
Post by: JusTiz on June 13, 2012, 10:38:37 AM
It probably crashed because there should be text going through the screen
Title: Re: [Project] Voice Control
Post by: Kosciak on June 13, 2012, 10:39:24 AM
I know, but anyone got idea how to fix this?
Title: Re: [Project] Voice Control
Post by: Thero on June 14, 2012, 10:53:53 AM
Could this make it work? http://www.whited00r.com/forum/index.php?topic=5868.0
Title: Re: [Project] Voice Control
Post by: Kosciak on June 14, 2012, 02:21:47 PM
I tried it on 2G but it didn't worked. Someone test it on 3G?
Title: Re: [Project] Voice Control
Post by: max_cawell on June 15, 2012, 07:40:45 PM
how about changing the hex code
Title: Re: [Project] Voice Control
Post by: Kosciak on June 15, 2012, 07:52:24 PM
I wasn't able to find any suitable hex codes. Maybe you want to play with files for a while and remember to use OpenGL ES 2.0 tutorial by bloomaze (in How To's)
Title: Re: [Project] Voice Control
Post by: bloomaze on June 16, 2012, 03:48:45 AM
IDK if my tutorial will work on your project.
Title: Re: [Project] Voice Control
Post by: Kosciak on June 16, 2012, 12:34:09 PM
Me too.
Title: Re: [Project] Voice Control
Post by: Kosciak on June 16, 2012, 06:08:51 PM
http://www.politepix.com/openears

Maybe this? MobileSubstrate? Any volunteer? :P
Title: Re: [Project] Voice Control
Post by: TastyCorn on June 16, 2012, 07:12:34 PM
I'm not saying this because I have my own project, but has anyone here ever actually used Voice Control? It really doesn't work that well at all even on an iPhone 4. There's a good possibility that it uses specific armv7 instructions in the voice recognition algorithm or something, so that could be why faking armv7 doesn't work - because the CPUs in iPhone 2G and 3G models (armv6) simply don't support the newer instructions.


Even if it was possible to get it to run, it's hardly worth the hassle because it's really inaccurate at figuring out what you say.
Title: Re: [Project] Voice Control
Post by: Kosciak on June 16, 2012, 09:15:46 PM
I think that too… But if whited00r is bringing newer iDevices features to unsupported ones, and VoiceControl is one of these. Also it's just for managing music player and calling people… So good MobileSubstrate Coder would do it very fast and with ease… Like one week or something. Now, I miss my ignorance to programming languages…
Title: Re: [Project] Voice Control
Post by: applepie on June 19, 2012, 10:02:06 PM
It's impossible to get armv7 stuff to work on armv6 :(
Title: Re: [Project] Voice Control
Post by: Kosciak on June 20, 2012, 05:28:12 AM
Totally impossible?
Title: Re: [Project] Voice Control
Post by: TastyCorn on June 20, 2012, 03:24:49 PM
You can't just add new instructions and new hardware features to support them to an existing CPU because that would require an entirely new CPU hardware design, so you would have to have an armv7 or newer CPU in a device for Voice Control to work.
Title: Re: [Project] Voice Control
Post by: Kosciak on June 20, 2012, 03:47:01 PM
Okey, even if the voiced library is only armv7 library, can't we rewrite it?
Title: Re: [Project] Voice Control
Post by: TastyCorn on June 20, 2012, 04:17:48 PM
It's not a library, it's a daemon hence the 'd' on the end of it. Technically it could be rewritten but that's a very difficult thing to do because you have to find out how the SpringBoard interfaces with it, then you have to set up voice recognition for it and then when you finish it, you'd probably find out that the memory consumption makes the whole experience on older devices much worse.
Title: Re: [Project] Voice Control
Post by: Kosciak on June 20, 2012, 05:10:02 PM
Okey. Then just wait for PleaseDo? :P
Title: Re: [Project] Voice Control
Post by: TastyCorn on June 20, 2012, 05:25:48 PM
Well you could try to do this if you are seriously interested in learning about how iOS works and stuff, but it's definitely not practical for actual use and would take a lot of time to do even if you had good development skills and experience.
Title: Re: [Project] Voice Control
Post by: Kosciak on June 20, 2012, 06:36:55 PM
I don't have :P so end of conversation.
Title: Re: [Project] Voice Control
Post by: Soltmeal on June 20, 2012, 08:00:48 PM
Hey look tasty corn is still alive
Title: Re: [Project] Voice Control
Post by: banana on June 20, 2012, 11:00:09 PM
Hey look tasty corn is still alive

Well, of course..