[Android Head-Units] chris.davis925:
The part that looked interesting to me where in the .prop file I posted earlier in the section

Up front I have no idea what persist.sys relates to, but seeing Mass Storage and ADB grouped together like that it makes me think that perhaps it's indicating that USB can be used to mount external storage or ADB. Also the line about debuggable=1 makes me think this is refering to USB Debugging, but this is all just a complete assumption on my end.

As far as the ADB goofyness, you might be right. Perhaps it's not an ADB daemon especially because of how it comes about. let me explain.

A few weeks ago I tampered with update.zip for version 1.4 and tried to inject the RootMyDNN.apk that was posted earlier in this thread. Obviously, that failed with the android warning icon. The system went through it's "rebuilding" process and booted back up like it was a first time boot. Since then however I noticed two abnormailties.

1) Anything video related would not work. For example, if the verse cam, USB video or DVD were attempted, the unit would try to switch its video input APP and then freeze. The screen would usually go black. Eventually if you waited long enough (like 5 mn) the "Rebuilding System" would come up. Funny thing is that media playing would actually continue through the entire process, which tells me that it doesn't boot into any recovery mode.

2) On certain conditions I could get the media player to display the "media player has stopped responding" error message. Usually I could do this when the unit came within range of a known WiFi network.

Now the crazy part - I almost didn't catch this originally, but when any of the above two happened (and very rarely also randomly without those two happening) port 54006 became open on the device. Now, to my surprise when I tried to connect ADB on this port the Android ADB Windows program returns that it successfully connected but as I mentioned above, will eventually go into a dissconnected state. I suspect it has something to do with USB debug not being enabled OR possibly like you said it's not really Android ADB Damon.

Now that all that is out of the way, I should mention that I have taken a step back because when I found thos e.sh files with the static IP configurations, I thought to myself... I wonder if this is the IP that it sets itself during an update.zip update or possibly during a "reset" of the device and the initial "do not turn off device" process. So of course, I went forward with resetting the device. What I found is that WiFi does not stay connected, or at least not to my SSID during this process which makes me think that it must setup eth0 over serial or USB or some other way OR maybe it requires a specific SSID to be present, but I doubt it.

Now the "bad" news: After the reset, the video application now works as expected and doesn't crash - sure enough, I can't get port 54006 to respond anymore.

So that's my current status.

I am very curious if any of the guys on here who talked about looking at the physical ports can make any headway, since I think that this will result in the fastest operations. Also, the CPU diagram posted earlier in this thread shows the USB OTG options available for this chip set, so perhaps we can make a USB cable from leads directly on the board if possible??

---------- Post added at 05:45 AM ---------- Previous post was at 05:36 AM ----------

Also to answer your question on where I got the SH file - I found it in update.zip for version 1.4. I can almost garuntee I could also pull it up on the system itself.

It's located here on the zip: system\etc\init.goldfish.sh

---------- Post added at 05:52 AM ---------- Previous post was at 05:45 AM ----------

Sorry, not to bombard this thread but I found another interesting file that I think is related to android terminal emulator.

I've posted it here incase it's useful to someone/.

# Copyright (c) 2010

#	Thorsten Glaser <t.glaser@tarent.de>

# This file is provided under the same terms as mksh.

#-

# Minimal /system/etc/mkshrc for Android

: ${TERM:=vt100} ${HOME:=/data} ${MKSH:=/system/bin/sh} ${HOSTNAME:=android}

: ${SHELL:=$MKSH} ${USER:=$(typeset x=$(id); x=${x#*\(}; print -r -- ${x%%\)*})}

if (( USER_ID )); then PS1='$'; else PS1='#'; fi

function precmd {

typeset e=$?

(( e )) && print -n "$e|"

}

PS1='$(precmd)$USER@$HOSTNAME:${PWD:-?} '"$PS1 "

export HOME HOSTNAME MKSH PS1 SHELL TERM USER

alias l='ls'

alias la='l -a'

alias ll='l -l'

alias lo='l -a -l'

for p in ~/.bin; do

[[ -d $p/. ]] || continue

[[ :$PATH: = *:$p:* ]] || PATH=$p:$PATH

done

unset p

: place customisations above this line