Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[Q] Question! Permanent Car Dashboard Project.

$
0
0
Hello Gentelmen,

I am rather new to android dev but seassoned in linux, i decided to convert my old phone (samsung admire) into an in dash computer.
I am using two basic applications:

* Torque OBD2 Connector: This connects to the car's OBD2 Port, reads the computer and displays information on screen (like HP, Torque, Manifold Pressure and temp, Boost ...... )

* Autoguard Blackbox: This app acts as a CCTV recorder taping my driving and saves it in case of accident so i can have video evidence.

I have modified the andoid system to open both applications on boot and on external power and to kill them when external power has been disconected. Also when external power is disconected phone will wait 5 minutes then go to sleep. (yes i realize there are apps for that but i like shellscript)
This means that when the key is turned and the car is on recording automatically begins and my gauges come up, when the car is off they close AND STOP RECORDING and go away without any kind of interaction on my part.

The problem: Whenever the car turns back on, external power is connected and i would like to have the phone do a full boot so that my scripts kick in,however instead it goes into charge only mode where it boots in to some kind of "hybernation state" that only displays the battery charge in the middle of the screen.

I would like to bypass this and have the phone do a full boot whenever the power is connected.

I have searched for weeks and have found nothing but people withthe same problem and solutions that involve harware and wiring and soidering however this is not an option for me because the phoen is exposed (not actualy insidethe dashboard)

I am not afraid to compile a custom rom and have it run on the phone ... the phoen is solely for the propose of having the dashboard display. (i dont use it for calling)

Could you guys point me in the right direction?

Thanks in advance.

(some pictures attached for reference)

Edit: See this link for reference ... some one in the same kind of predcament.
http://forum.xda-developers.com/show....php?t=1815131

Edit2: Link to dashboard cam footage
http://youtu.be/MQLE8g5DkO0

Attached Thumbnails
Click image for larger version

Name:	2012-12-22 20.28.14.jpg
Views:	N/A
Size:	226.8 KB
ID:	1616655   Click image for larger version

Name:	2012-12-31 16.26.20.jpg
Views:	N/A
Size:	241.0 KB
ID:	1616656   Click image for larger version

Name:	2012-12-31 16.26.11.jpg
Views:	N/A
Size:	245.5 KB
ID:	1616658  

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>