yashsingh1/xdaforums huggingface dataset:
[Android Head-Units] Bokomaru:
HU RXD / TXD pins

Decided to poke around with the TXD / RXD pins on the HU. Using my Bus Pirate I see debugging output on the RXD. Presumably there must be some kind of commands you can send to it, but I haven't been able to illicit a response with anything I've tried. Having the debugging output could be cool and useful when doing development that interacts with the HU.

[ 0.711] *************************
[ 0.711] Hello
[ 0.711] 2015-05-31 20:59:58
[ 0.711] Software Version: 40
[ 0.712] Hardware Version: VA8001_V31
[ 0.712] *************************
[ 0.712] POWER : 5V+ Power On
[ 0.712] POWER : System Power On
[ 0.762] Android: Open
[ 0.762] Android: Power on
[ 0.907] Android: Revc Alive(startup tick:145)
[ 0.912] Radio : Init -> CSI475X (I2C2)
[ 0.978] Touch : Init -> GT911 -> IC VERSION: VID:00 PID:9110 VER:1060
[ 0.987] Touch : Init -> GT911 -> CFG VERSION: 41
[ 0.988] Touch : Init -> GT911 -> ������ 80701-1B4811A
[ 0.988] Touch : Init -> GT911 -> (1148 X 600)
[ 0.988] Touch : Init -> GT911 OK (I2C1)
[ 1.064] Audio : Init -> WM8988 [I2C2]
[ 1.088] Video : Init -> TW8834(I2C2)
[ 1.265] RTC : Set 2015-5-31 21:0:0
[ 1.267] Android: 2015-05-31 21:00:00:
[Android Head-Units] blacklistedcard:
Can anyone else try the Linaro flash and let me know

So far one failure it looks like.
[Android Head-Units] Bokomaru:
I haven't tried it, but whoever has a failure I would have them grab the /cache/recovery/log to look at, that's where any important info should be.
[Android Head-Units] -=Jeff=-:
Yep, I have the same problem. I think it is because HERE forces portrait for settings
[Android Head-Units] scabbie1980:
I have a new 9" Carpad NU9001 it's on 4.4.2... As I read though this thread it seem like the same android box y'all have. The question I'm needing to know is can I flash this ROM on my android box and have anyone found a way to fix "ok google"
[Android Head-Units] zanix:
Looks right to me, this model is listed on the wiki as a variant. As far as I know, no one has confirmed it's compatible though. The MCU/ROM version screen you are showing seems to match the other variants.
[Android Head-Units] leonkernan:
Yes, all the different types share a common Android box. The Wiki has a good rundown of ROM options.

As for OK Google, you need to have a separate microphone to the one that comes with the unit. That one only connects to the Bluetooth handsfree part and can't be used by the rest of the system. Personally I use a Logitech C270 webcam, it's microphone works great.
[Android Head-Units] kwalsh24:
Just flashed myself from b4...So far So good.

---------- Post added at 12:14 AM ---------- Previous post was at 12:12 AM ----------

I literally just flashed the rom now. Had to leave the car briefly but left it when it was rebooting from the flash. Will check back in a couple min and report back

Anything you want me to check over or just verify it boots up and acts stable ?

Just checked. Boots up fine, rebooted twice to verify. My unit is the 2gig model. Not sure if anyone has tested it on anything different
[Android Head-Units] scabbie1980:
OK, do I replace it by changing it out or do I have to connect it somewhere else...
[Android Head-Units] leonkernan:
You need to use both. The supplied Microphone plugs in to the back of the headunit for phone calls.

You'll need to use a Webcam, USB microphone or a USB to microphone jack adapter to plug a normal microphone into the Android box USB port.

If you do a search back through this thread you'll find some other peoples experiences with different Microphones and adapters.

I don't want to recommend one or other since I haven't tried them.
[Android Head-Units] scabbie1980:
Sorry, last question. Can you use that webcam for calls on hangouts too...
[Android Head-Units] blacklistedcard:
Let me know if you get any random reboots. I can honestly say I have not experienced any reboots. With Linaro and overclocking @ 1.8ghz. This radio is fast.

Anyway, I thought I would share my Linaro/overclocked build with people that were interested....
[Android Head-Units] leonkernan:
Haven't tried it, but Android sees it as a normal camera and I've used it with other apps that use cameras, so it should.
[Android Head-Units] kwalsh24:
I'll monitor it for the week and will report back. Likely will take that long for me to test it with work and such. Is it preset to the 1.8ghzoc? I took a quick look but didn't see anything that allows for adjustments to the governor. Perhaps I overlooked it?
[Android Head-Units] scabbie1980:
Thank you,
[Android Head-Units] Bokomaru:
I know that [MENTION=2190016]Zaphod-Beeblebrox[/MENTION] has 3 Android boxes (2 in vehicles and one for dev) and only one of them was having regular crashes. This was resolved by changing the governor and dropping the OC. So I suspect that there is an issue with the heatsink in that one box or some other issue specific to the one piece of hardware.

I suspect most people will have good results, but it's a safer default to stay within the ranges the manufacturer set and let people experiment to see what works for them. I personally had no issues on any of my hardware with the OC/performance governor.
[Android Head-Units] kwalsh24:
Is there an app with a widget in which one could run that would monitor cpu heat that works with these units? Seeing how my unit is snuggly tucked away in the glove box of my car if like to monitor it for heat
[Android Head-Units] blacklistedcard:
Just got Mame going in the car with my PS4 controller
[Android Head-Units] blacklistedcard:
I agree keep it simple. The extra options are there for people to use them if they want. It is so nice to have the source code and building it then flashing it.
[Android Head-Units] ElfinJNoty:
I flashed your linaro build from tuatara 1.1.4.3 with cwm and it worked fine, was playing around for a bit and then decided to try the twrp recovery(that's what I use on all my phones the last few years)

Then I used titanium backup using external SD as backup location, because I wanted to do a clean install of your linaro build. Out of habit, I wiped cache/dalvik/data/system and tried to flash again. That did not work. There was an error in recovery.... Ended up having to reinstall tuatara's ROM using rkbatchtool. Then used cwm again to flash the last linaro build on top and all was fine.

I was never able to get the radio app to work until today because I had previously messed with DPI. So far, in car and in home, box has been running faster/smoother than ever. Not sure if its the xdauto ROM or the linaro or the over clock.... Or a combination. But I sure am glad I made the move! Got all my apps restored with titanium, xposed running well, I am loving the new navbar options, also upped the MCU to v40. Everything good ?

Tomorrow, am going to play with my c270 and decide if I will keep(if OK Google works well and I can find a decent spot to mount it) or return and just get one of those USB sound card thingys

---------- Post added at 01:34 AM ---------- Previous post was at 01:32 AM ----------

I did notice though.... Pandora doesn't show as a music app for the music app button in Nav bar. But was glad AutoMate does for the Auto button

---------- Post added at 01:39 AM ---------- Previous post was at 01:34 AM ----------

I know I had issues previously with the cam looking funny on tuataras 1.1.4.3, but think it was in part because of DPI. Also had to turn the camera upright or sideways depending on if I was using snapchat or the built in camera app. Didn't mess with it enough to try out a hangouts video call, but would like to know as well.

DailyRoads and other camera apps are on my list of things to try out this week

---------- Post added at 01:41 AM ---------- Previous post was at 01:39 AM ----------

And lastly.... What about a way to increase the max brightness? My only gripe with the display is that it gets washed out a bit during the day in the sunlight. Anybody tried anything to increase the max lux?
[Android Head-Units] Bokomaru:
Power draw

I thought it would be interesting to see how much power this device would draw in different states. I hooked up my multimeter between my power source and the HU so it would measure everything used. I rigged my test setup up so I can easily keep doing these tests without having to rewire anything.

These tests were with xdAuto 1.1.6b4, wifi, BT, and GPS enabled. Android box with 2GB RAM, sdcard installed, and NU3001 HU.

With the display on and various activities going on it used on average about 600mA. Adding an unpowered USB hub that had a USB memory stick plugged in bumped this up to average around 640mA

Simulating turning the car off (ignition off, but battery still connected) after about a minute it averaged about 20mA. So in this state I wouldn't even hesitate to set the standby time to 12 hours or so. The numbers didn't bounce around very much since the device wasn't really doing very much.

I modified the code so it didn't enable airplane mode when the display goes off and these numbers varied a bit depending on what was going on. Without me doing anything to the device it averaged about 22mA, but occasionally would jump up to 30mA. If I setup a continuous ping to the device in this state it would jump between 30mA-50mA. With USB hub/stick plugged in this would bounce between 65mA-105mA.

So this confirms my original thoughts that the best standby setup is to have 2 configurable options. First is how long to keep the android device on after ignition off (option already exists). Then we add an option for how long until airplane mode is enabled.

I know a lot of people (myself included) would like to have Tasker fire off some sync events when we arrive at home, but with the vehicle off.

Edit: Once the android box is off the HU draws < 1 mA

---------- Post added 1st June 2015 at 12:15 AM ---------- Previous post was 31st May 2015 at 11:48 PM ----------

I haven't seen a temp reading made available. From what I recall the 3188 doesn't have a temp sensor, that doesn't mean that Newsmy didn't build one into the device but I've never seen it.

---------- Post added at 12:17 AM ---------- Previous post was at 12:15 AM ----------

Very cool
[Android Head-Units] f(x):
Hey guy, I am trying to make the navbar translucent with Xposed and "force translucent Kitat" module, but it's not working. So is there anyway to make the navbar translucent under all app, not just the home screen?
[Android Head-Units] ElfinJNoty:
Xposed module: cool tools (or something like that?) Gives CPU stats/temp as an overlay on statusbar

---------- Post added at 03:18 AM ---------- Previous post was at 03:14 AM ----------

Can also download a CPU tuning apk, such as trickster mod, or kernal auditor, or device control(all in play store) and they will show live reading of what the CPU is doing, as well as stats such as temp and other useful things

THESE APPSVALSO LET YOU MODIFY KERNEL SETTINGS.... SO BE CAREFUL!!!!!!
[Android Head-Units] kwalsh24:
I downloaded tempmonitor will see if it does anything if not will look for more via your suggestion. Thanks!
[Android Head-Units] Zaphod-Beeblebrox:
Can you post a link to the device or post photo? I may have screen envy. My motto when it comes to screen sizes: "if some's good, then more's better".

Ok, now you are going to make me enforce simple safety controls in the ROM :) Setting Nav destinations while driving are one thing, but playing a game?

I don't like messing around with kernel stuff at the code level. However, it was very easy for me to use Trickster Mod to set the govenor back to Interactive, and as [MENTION=4173803]Bokomaru[/MENTION] mentioned, it stopped the rebooting problems I was having on one box (note that the box did not reboot on stock ROMs, only on xdAuto when Govenor set to performance.)

So, my suggestion is to build your ROM variant (linaro) with stock Freq & govenor, but maybe include a kernel utility, and a small guide to show suggested settings?

I'll also host this on the aokp xfer repository if you have trouble with file distribution.

My suggestion is to just have the bonovoHandle code obey the settings in wifi/sleep. We don't need another particular setting. In stock Android there is a wifi setting to determine what happens when the device sleeps (Wifi On/Off, only when charging). Let's just read that setting and obey it.
[Android Head-Units] -=Jeff=-:
Hey Bokomaru,

What does that last item in B4 actually do?

Meaning does this allow for something like the USB Volume control to work for everything on the Unit?
[Android Head-Units] Zaphod-Beeblebrox:
Yes, that's exactly what it does. I coded it to allow my USB Fusion rotary knob issue MCU Volume intents. so anything that sends a standard KEYCODE_VOLUME_DOWN/UP/MUTE (http://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_VOLUME_DOWN) will now control MCU volume.
[Android Head-Units] -=Jeff=-:
Thank you !!!!

I just ordered one.. I am looking forward to having an actual volume control.. now to decide where to mount it..

So what will I need to do after I connect it? (sorry for the noob question) still trying to understand everything
[Android Head-Units] scabbie1980:
https://exclusivecarauto.com I have mine in a 2014 Kia Forte.
[Android Head-Units] tacopicante123:
How did you do this? I am interested in doing this as well. Please share! ☺
[Android Head-Units] Bokomaru:
Unfortunately there isn't a similar setting for Bluetooth or USB and someone might wonder why their Bluetooth gets disabled when Wifi goes off.

I still haven't found the code or a way to reproduce it, but I know I've seen the USB port shutdown at some point when the screen is off. This might have been on older code though, I know around 1.1.4 there was some code added to change a GPIO to supply power to the OTG port.

I'd really like to try to try to get the box to go into an incredibly deep sleep so setting the standby time to 24 hours would be reasonable.

Edit: Of course whenever I was trying to reproduce the USB off thing I had a cable connected to my PC so that was keeping the OTG port always powered. Disconnect that and I see the USB port go off/on whenever the display goes off. Also with the airplane mode switching disabled whenever I send a ping to the android box the USB port fires up.
[Android Head-Units] Zaphod-Beeblebrox:
Plug Fusion into USB port or Hub.

Profit.

Nice. Would require a lot of trimming to make that fit in my GMC, but I'm always looking for a new project :)

Ownice has a 10" version that I've been tempted to try, and while theirs is based on a RK3188, It's not the same as our Newsmy device. I'm not switching to any device that i don't have source code for.
[Android Head-Units] -=Jeff=-:
SWEET..

So how did you mount yours? Just looking for some ideas..
[Android Head-Units] Bokomaru:
I just realized that I didn't rebuild the kernel for this release after my governor change, so this is still set with the 'performance' governor as the default.
[Android Head-Units] Zaphod-Beeblebrox:
Mine isn't mounted. I bought it when I was having trouble with my SWC. Once I got those working, I put the Fusion on the shelf. I may install it at some point.
[Android Head-Units] blacklistedcard:
I'm making some changes to the Radio Application. I want to add LW and SW support. Any body interested in the same changes? Just need to get an antenna switch for FM,AM, 2m and 1.25m and HF antenna's.

•Worldwide FM band support (64–108 MHz)

•Worldwide AM band support (520–1710 kHz)

•LW band support (144–288 kHz)

•SW band support (2.3–30 MHz)
[Android Head-Units] zanix:
Someone else measured the power draw before and it's posted to the wiki. Their findings were similar to yours.

http://xdaforums.com/wiki/Newsmy_CarPad_NU3001/FAQ
[Android Head-Units] Bokomaru:
D'oh. Guess it's been a while since I read through everything, didn't think to even look. Though I guess it will still be useful for long term changes and it's good to have independent verification.
[Android Head-Units] zanix:
Yes, multiple results showing similar findings is reassuring.

---------- Post added at 03:08 PM ---------- Previous post was at 03:03 PM ----------

Although I'm not interested myself, this sounds pretty cool. Have you figure out how to get the MCU to tune into those frequencies?

---------- Post added at 03:13 PM ---------- Previous post was at 03:08 PM ----------

This variant is on the wiki too, as well as a link to Newsmy's sale page, doesn't look like it's on "sale" though
[Android Head-Units] Surgent:
The spec sheet says it does but i know how features sometimes get lost during implmentation - can anyone confim the android bluetooth supports BLE?

Cheers
[Android Head-Units] jkchr1s:
Thank you! I followed these instructions and they worked perfectly with my Jeep Wrangler and the PAC adapter! My SWC work flawlessly. :)
[Android Head-Units] blacklistedcard:
I remember that there was code for the frequencies of FM and AM.

---------- Post added at 05:30 AM ---------- Previous post was at 05:22 AM ----------

public static int FM_LOW_FREQ = 8700;public static int FM_HIGH_FREQ = 10800;public static int AM_LOW_FREQ = 520;public static int AM_HIGH_FREQ = 1710;
[Android Head-Units] jpapadami:
Is there any way for music players to automatically resume playback after ending a bluetooth phone call? I've been asking Summer for some time now to tell the devs to fix this. She insisted that this is a normal behavior, but most of use don't think it's intuitive that while driving, you have to manually go to the music app and press play to resume playback.
[Android Head-Units] leonkernan:
All the phone app can do is ask to take control of the audio system when a call comes in and release it when it's done.

I'll double check we are always releasing control of the audio system when we are done in a call.

Otherwise, it's up to the music player to respond appropriately and restart playback when they get control back.
[Android Head-Units] kamhunt:
When changing DPI does not start the radio.

When changing DPI does not start the radio.
[Android Head-Units] Fedorych:
It would be nice,if you added these navigation apps: ru.dublgis.dgismobile, com.navitel, ru.yandex.yandexnavi, ru.yandex.yandexmaps.

https://play.google.com/store/apps/details?id=ru.dublgis.dgismobile

https://play.google.com/store/apps/details?id=com.navitel

https://play.google.com/store/apps/details?id=ru.yandex.yandexnavi

https://play.google.com/store/apps/details?id=ru.yandex.yandexmaps
[Android Head-Units] jpapadami:
Interesting. On my old AN-21-U unit, Poweramp always resumed audio when a BT phone call ended.
[Android Head-Units] leonkernan:
Did it use the standard Android phone app or it's own? I haven't looked at that unit too closely.

There are functions in the system that the Android built in dialer uses that we don't (and maybe we will need to eventually).

It is something that bugs me too, it's just a matter of trying to find the right way to deal with it.
[Android Head-Units] Zaphod-Beeblebrox:
Ok, I'll try to get around to creating helpers for this. If you want to tackle it yourself, the code for the helpers is on our github. It is as simple as replacing the icons & text in the resource files, and changing the package name in the one code file.

I haven't spent much time with the BT app just yet, but the Bonovo apps have not shown to use the AudioManager focus system very well in other apps. Might look at this:

http://developer.android.com/refere...media.AudioManager.OnAudioFocusChangeListener, int, int)
[Android Head-Units] nestortoledo:
I dont have so many time now, but will try to learn how to build, compile ...

While i leave here a url with new icons

https://www.dropbox.com/s/kotv08iv922ton5/navbar-xdauto.zip?dl=0

I added Volume + and Volume - icons, and also Play/Pause on same icon and separated ones.
[Android Head-Units] Zaphod-Beeblebrox:
Do you think these should be in white rather than Grey? Typically these are going on a black background. The last set I just Colored them using Gimp, but I'm slow at it :)

Also, I think we need some way to differentiate between 'back' and 'prev track'. Maybe the 'back' icon should look more like an arrow? I'm not a graphic guy, but I think some way of taking it out of the similarity of the others would be nice.
[Android Head-Units] nestortoledo:
OK i will prepare it on pure white, and you decide :D

I will upload on some minutes

---------- Post added at 11:27 AM ---------- Previous post was at 11:17 AM ----------

OK here we go.

https://www.dropbox.com/s/53u9n7442ebe4q7/navbar-xdauto-white-grey.zip?dl=0

White and grey zipped on same package
[Android Head-Units] jpapadami:
The AN-21-U used it's own phone app.
[Android Head-Units] leonkernan:
I did a bit more research on this tonight and i'm just throwing this idea out there.

A common way to know what the phone is doing on Android seems to be to check TelephonyManager.getCallState() or to register a PhoneStateListener. The problem is that they obviously doesn't know what state of the Bonovo Bluetooth is.

I'm wondering if patching those to reflect the call status from the Bonovo Bluetooth service might solve a whole bunch of issues by allowing apps to respond the same as they would for the official dialer.

Is that something that sounds possible?
[Android Head-Units] scabbie1980:
Question, do anyone have this radio in a KIA. If so, how do you hook up the back up camera that the car come with

---------- Post added at 10:30 AM ---------- Previous post was at 10:30 AM ----------
[Android Head-Units] blacklistedcard:
Got ITU Region 2 frequency coded and working with the radio application.
[Android Head-Units] blacklistedcard:
Picture....
[Android Head-Units] horn34:
Anyone able to get Google Hangouts calls working reliably? I have a C270 cam plugged into a powered USB hub and I can install/launch Hangouts fine. When I try to place a call from contacts, it tries to send an SMS message. The only way I can get dialing to work is by going straight to the dialer....which I can only access half of. The dialer is cut in half and I can't find any way to access the bottom half of the dialer. I'm using the latest xdAuto ROM.
[Android Head-Units] Ltinride:
I recently got my NU3001 Unit. I have a weird problem, I can't find the answer to

I was able to update MCUV40 and I got me this memory card per Wiki http://www.amazon.com/gp/product/B008F1BIEI/

I have lots of videos and music on this card, and seems this box wouldn't even recognized my card, so searched online and seems it had to be formatted to Fat32, which I did and now my card was recognize along with all the content (with stock ROM at this point) and everything play fine; music and videos.

Then I decided to get a Custom ROM I went with Tuatara's ROM and the system sees the card, but I can't play anything, through either google music, or the stock video player. I tried couple of other music apps and nothing. Is like my SD card is not even in the box. I can see all files and play everything through and EsExplorer app it came with but that's it. I then decided to get xdAuto ROM and same issue. I even tried different smaller SD cards, with some files and videos, but same results, so, I figure is not the SD card the issue. I tried google music with xdAuto ROM and can't play anything, sees the files at least, but says "unable to play request". I tried the apollo music app and doesn't see any files at all. Anyone came across this before? Any help would be appreciate it.
[Android Head-Units] supremekizzle:
Yes? No? Maybe so?