[Android Head-Units] kaween:
Hfimax/S150 : TORQUE WORKS !!!!

:victory:

YESYESYESYESYESYESYESYESYESYESYESYES .... ect. (Kris dances around doing the funky chicken). :laugh:

I'll post some pictures as proof of concept here later today, but I really got the thing working. Can't believe it myself. Being a noob like me, I think it's quite an achievement. I would NOT have been able to do it if I hadn't been allowed to learn from you guys, so a VERY BIG THANK YOU to EVERYONE who got me into believing this could be done. And I can reproduce it, so it's not a one-time Lucky shot.

[MENTION=222150]gavroche[/MENTION] : that doesn't mean I'm not hoping you make good on your promise to help S150 users. As the Root problem is a no-brainer thanks to Framaroot, and it can be revoked you might as well show how you got Wifi Adhoc and USB OTG to work and let us decide if we're willing to screw up our machines, no ? ;)

Anyhow, There's a trick involved, A dirty one, and I don't know exactly why, but I can only speculate that on some level, the Ad-Hoc Functionality of the S150 is Broken. But as said, there's a trick to avoid it. Basically, the S150 will go into a "find Adhoc, negotiating IP, connect, disconnect, find Adhoc ... cycle". But here's the odd thing : if you EXIT the wifi settings page the moment the S150 is looking for the ODB, the connection STAYS STABLE from there on. The moment you enter the Wifi page and go to "search wifi" (where you can see all the wifi connections available to the unit), it again starts to cycle the OBD Interface in that everlasting "connect/disconnect" phase.

So Basically,

0) use the wpa_supplicant file I posted for brownRT. G2K0's one didn't do anything for me, I couldn't even see any Wifi connections after installting that one SO FOR THE LOVE OF GOD : MAKE A BACKUP OF YOUR ORIGINAL wpa_supplicant file !!!

1) you setup your S150 into static IP in the same range as the OBD (192.168.0.50, subnet 255.255.255.0, dns 192.168.0.10 (if that's the ip of the OBD).

2) once it starts the "cycle of death", just wait till it just disconnected and it tries to connect again. You will have some time, as it first will find it, then will negotiate IP (and at THAT point it's ideal to press exit to leave the wifi settings page) and after that, the connection will be made and WILL REMAIN STABLE (very important).

3) Torque has to be set to "OBD over WIFI", IP was set at 192.168.0.10 as standard, listening port was set at 35000 as standard.

4) startup Torque again, at it works.

5) after that, I have checked if I could repeat the sequence after setting the S150 back to dynamic, make a connection to a normal AP for internet, and after that redo the procedure from step 1 to 4 (excluding 3 of course, Torque will remember the settings). And it keeps working.

Have I said already I'm very happy now ? :D

I've included some pictures showing the OBD running and being connected, recognized by Torque, and sending data to Torque as proof of functionality. That way, anybody reading this can see that this isn't just "big talk", but really working. To me personally, that kind of proof is very, very important.

The used OBD is a bog-standard, lowcost ELM327 afair, the typical black box with the part blue/part orange sticker on it where the status leds are all in the "orange" part of the sticker. If you type in OBD wifi, in Ebay, those cheap ones of 20USD, those are the ones I'm using. :)

I am VERY happy I was able to do this, and get a fairly lowcost Headunit into doing what I'd normally would need a Ca-Fi or clone of it for, and that it does what it does at a fraction of the price. I could've bought an OUKU too, and I'm sure that a really nice unit for its money too, but I simply missed a couple of keyfeatures on it (button illumination not red, no external mic, no Diversity DVB-T, no possibility to combine 2 cameras with the TV tuner and the fact the Ouku needs a larger opening in the dashboard than I have). If you don't need that stuff, by all means go for the OUKU. If not, and you want what the Ouku can do and want Torque to run, you know have the means and tools to do it yourself !

Again : THANK ALL OF YOU. Couldn't have done it without you guys and a special thanks goes to G2K0 for writing JUST the post that started me thinking !!!