yashsingh1/xdaforums huggingface dataset:
[Android Head-Units] Bokomaru:
Device security

Has anyone implemented any security on their device? For the first time since I've installed the device I'm taking my car in for service next week. I'll probably just pull the android box out, but I wondered if anyone had come up with any solutions. I don't like the idea of random people having access to a device of mine that is logged into my google account.

Was thinking maybe enabling lockscreen with pin and then having tasker disable it if any known bluetooth/wifi IDs are near.
[Android Head-Units] leonkernan:
I was only thinking about that the other day myself (i've got a service coming up soon too)

I was thinking about maybe having a way to manually activate the lockscreen if possible. Hadn't gotten any further with that thought though.

---------- Post added at 11:59 AM ---------- Previous post was at 11:57 AM ----------

If i've learned one thing, it's that not everyone is in the same situation as myself.
[Android Head-Units] blacklistedcard:
where is it in GIT? I can't find the code....
[Android Head-Units] gohigher123:
Before i used tuatara rom. Now I'm on the latest version of xd. Still the same problem. There's a no filled in when i push volume up but nothing happens after that.
[Android Head-Units] Zaxela:
Where can I download 1.1.9 from? My nu3001 is with 1.1.7 now but 1.1.7 has not stanby settings at all and my device always turns off, does not wait me.
[Android Head-Units] kommando:
Is here currently

https://onedrive.live.com/?cid=bf26...folder,txt&authkey=!ACyfjprmPYCHU28&mkt=en-US

There are 2 versions, the 2,5G version changes the partitions, this should match xauto but not sure.
[Android Head-Units] Bokomaru:
https://github.com/Nu3001/device_rockchip_common/tree/master/phone/etc
[Android Head-Units] iHarry:
It is strange but when I connect it through USB hub it works.
[Android Head-Units] Subsack:
Hi guys,

this might be a stupid question but when I turn my car off the head unit turns of so that's all good, but the green light on the android unit is still on, is that normal? It doesnt seem to be in any idle state or so because when I turn the car on again it still does a full boot.

Reason for asking is that I'm worried it will drain the battery if its still on.

Thanks in advance.
[Android Head-Units] Bokomaru:
In most versions of the software the android box is hard coded to stay on for 2 hours, in newer versions this time is configurable. The android box in its sleep state draws about 21mA. I have mine set to run for 24 hours before shutting off.
[Android Head-Units] Subsack:
Ah, I'll have a look in the settings. Thanks! :)
[Android Head-Units] Zaphod-Beeblebrox:
The green light would suggest to me that it's in sleep/idle mode. The fact that it's rebooting when you start the car may be an issue of your vehicle not providing enough current while cranking. While the yellow Battery connection should keep 12v all the time, some vehicles drop the voltage momentarily when starting.
[Android Head-Units] Bokomaru:
Oh good point, somehow I overlooked the part of his message that said it still does a full boot.
[Android Head-Units] gohigher123:
I installed poweramp as music player. It's a very good looking player. Before i used Apollo with viper4android. But now viper4android doesn't work with poweramp. Is it just me? Or is this normal? If i see in driver processing is saying no. With apollo it's working.
[Android Head-Units] Subsack:
Good point, I'll test it with a multimeter tomorrow to see if it drops when starting. If so, I guess there is no easy workaround for it so I'll just have to live with it booting every time?
[Android Head-Units] kommando:
A capacitor in series may help, just needs to keep the hu seeing 12v for a couple of seconds. I use them for battery less running and voltage smoothing on my motorcycles.
[Android Head-Units] wacko37:
Read the second post......

http://xdaforums.com/google-nexus-5/help/using-poweramp-viper4android-t2746158
[Android Head-Units] usafle:
That post isn't entirely correct.

Sure that's one way to do it. But, for the *correct* way, you need to go into the settings of PowerAmp (advanced settings I believe) and de-select the direct volume control box. This will allow V4A to properly work with P.A.
[Android Head-Units] wacko37:
Ahhh I see MusicFX button has a different action from when I last used it.

It used to only be a shortcut to Viper4android settings before but the key part is D-V-C needs to be unchecked
[Android Head-Units] Zaphod-Beeblebrox:
xdAuto 1.1.6c2 release

LInk here: http://xfer.aokp.co/get.php?p=zaphod/nu3001/xdAuto-1.1.6c2.zip

1.1.6c2: July 19 2015
Implement rudimentary Analog AV Control
Allow other DPI's to work better with Radio
Navbar button spacing a little more dynamic.
MCU Audio sleep fixes
Various Bluetooth fixes and additions
(https://github.com/Nu3001/packages_apps_bonovoapps/commit/a5dfe533a03b32b7069d7e41116c07a198c04adf)
Bluetooth Anti-pop fix
Bluetooth default phone state fix
Enable AV Switcher to change audio/video channels
1.1.6c: June 13, 2015
Radio is now RemoteControlClient - publishes metadata
Remove artwork from Statusbar Metadata & increase font.
Fix radio saving tempory Duck Volume
Update Radio Strings
1.1.6c-Beta June 6 2015
Media Metadata in Statusbar option
Change default layout of Navbar buttons.
Fix Immersive Mode (statusbar & navbar)
Overhaul of Bluetooth phone app
Cause music apps to pause during sleep
Update strings in Radio
Realign Settings options (Separate Statusbar & Navbar options)
Option to Enable HeadsUp notifications (Settings -> Statusbar)
Switch RK image path to be compatible with RK Factory Tool
1.1.6b4: May 29th 2015
Change default governor to be 'interactive' by default
Allow ROM to be flashed with rkBatchTool from factory ROM
User selectable NavBar buttons
- Return of Volume Up/Down buttons to Navbar
Temp fix to allow make otapackage to build flashable zips
Adjust DPI in BonovoMCU Backlight page so OK button fits on screen
Allow Volume Up/Down/Mute keycodes to adjust MCU volume

1.1.6b3: May 15th 2015
Update paths so install from recovery zip actually installs kernel and recovery
Disable overclocking in kernel by default (compile with CONFIG_MACH_RK3188_OVERCLOCK=y to enable)
Added REVERSE sensing keyinput and 'android.intent.action.KEYCODE_BONOVO_REVERSE' intent

1.1.6b2: May 9th 2015
Change ROM name from CarpadCE to xdAuto
Added Apollo music player
Updated Radio code to 1.1.6 with Zaphod's ducking
Fixed Audio and other issues due to /etc not being setup properly
Modify TWRP to accept '--wipe_all'

1.1.6b1 (named CarpadCE): May 5th 2015
Added TWRP
Integrate changes from 1.1.6 sources

This release is back to 240dpi. It should cooperate at 160dpi, and 200dpi (radio app will not be properly aligned at this dpi).

I added a small app called 'Source Control' that will allow you to select amongst the Analog Audio and Video Sources. Note that this is a very rudimentary (ugly) app and will need some sprucing up as time goes on. I just wanted to throw something in there for you guys to use.

One thing it's good for is selecting Aux in for Audio, without losing your video (ie, you can run Aux sources now, and still use Nav, etc).

Note that this is app is not very smart. Meaning it doesn't really KNOW which source you have selected. Since other apps and functions can change the source, it assumes certain things upon start up. If you change the source outside of the app (ie, start the Radio), Source Control isn't aware of it.

Basically, it's a dumb switcher. Press the buttons, and it changes sources. It has no other use. Don't complain about it, or I'll delete it :)
[Android Head-Units] NutFM:
Zaphod-Beeblebrox

May be better to use radio app from 1.2.2 frimware, which has widget and is properly aligned at 160dpi and dpi 200,213 (I haven`t tried with 240 dpi though) ?
[Android Head-Units] Zaphod-Beeblebrox:
Nope. Their radio code doesn't do Audio ducking, nor RemoteControlClient. With my code, you don't need a specific radio widget. Any widget that implements RemoteControlClient can not only control the radio, but all other media players as well. See here:

[YOUTUBE]RZtTSZTAb_8[/YOUTUBE]
[Android Head-Units] NutFM:
Zaphod-Beeblebrox

Thank you for explanation :good:. Definetly will try new rom.
[Android Head-Units] NutFM:
What`s the widget you are using here?

Edit: Have found by myself: Jack's Music Widget.
[Android Head-Units] gohigher123:
Ok it's works now. But when i power of my car and start it again the music starts playing with a little scratch sound. Having this from te moment i've started te use viper4android.
[Android Head-Units] zanix:
Added some information about the additional Android intents in xdAuto to the wiki

http://xdaforums.com/wiki/Newsmy_CarPad_NU3001/Custom_ROMs#Android_Intents
[Android Head-Units] leonkernan:
Thanks for doing that.

I'm interested in peoples experiences with the voice dial intent, obviously I can't test it on most devices out there.

If it works out, I plan on adding it as an option to the keyeditor, so you can activate the phones voice control with a button on the steering wheel if you wish.
[Android Head-Units] kwalsh24:
Thank you thank you thank you thank you...! I've been waiting for this switched app. Thank you!

Question tho, could there be an app made to adjust the dpi? I actually don't mind the current beta release I'm on that I think is at the 160 dpi
[Android Head-Units] zanix:
No problem, just trying to get as much info as I can there. Now I just need to document the intents that already exist in the stock ROM.
[Android Head-Units] Juel-DK:
I use texdroider DPI it works great :)

Sendt fra min SM-G800F med Tapatalk
[Android Head-Units] blacklistedcard:
Working on it. I guess it would be better to add the ability to compile from the full usb-modeswitch source than just update the data configs and stick a recent binary version of the program in there.

I also noticed that there are a newer version of the ril's kicking around.
[Android Head-Units] Bokomaru:
I actually never realized usb_modeswitch was a compiled binary. I figured it was just a simple script. In a quick look I didn't see an obvious AOSP repository of it available, but if there is a maintained version I would definitely be in favor of using that. I'm all in favor of compiling everything from source if possible, I'd just rather leverage someone elses work rather than maintaining yet another fork of a project.
[Android Head-Units] blacklistedcard:
Let me look and see if there is an official git repo.
[Android Head-Units] Bokomaru:
I didn't see one in my quick search but I wasn't very extensive. Usually it pops up pretty quick if there was one. I did see one that had an Android.mk with an older version so if we have to we can setup our own version, I'd definitely prefer it if we didn't have to though.
[Android Head-Units] oldschool.matrix:
Has anybody found a way to have the clock permanently displayed in the status bar? I found a xposed module for dual time zone clocks but it only displays while the notification bar is expanded and disappears when it is closed.
[Android Head-Units] zanix:
Mine is showing up in the status bar since I set the DPI to 200

It could be something in the framework that removes the clock once the DPI is in a certain range. I have no idea where to even start looking for it though.
[Android Head-Units] blacklistedcard:
Yep, so no official GIT repo for usb-modeswitch. Looking at what is in our repo and what the latest version is. There are a lot of updates missing.

I also noticed that external_ffmpeg and external_zlib is of older versions.

Dwaine
[Android Head-Units] mainebluedevil:
With word that Parrot likely isn't releasing the RNB6, I'm setting my sights on the Newsmy device. But I have a few questions that the FAQ/Wiki didn't answer for me...

Are there specific methods used to synchronize data/settings with smartphones? I have a Note 4 that I use to download podcasts and the like. I'd prefer to fully control the playing of those podcasts on my radio, but simply using bluetooth to very superficially control the playing of music/podcasts on my phone isn't exactly what I want. I can do that the bluetooth enabled stereo in my wife's minivan. Which brings me to my next question...

How strong is the wifi signal? Is it sufficient to where the radio can pick up wifi at nearly the same degree as my phone? My thought is that while the ties between the phone and CarPad may not be what I'd hope for, the wi-fi would allow the unit to sync and download necessary podcasts (for example I use BeyondPod which should sync the episodes). Would the same be true of Chrome related items? For example, I have a tab open in Chrome on my browser on my laptop and I can open Chrome on the unit to open that very same tab (assuming I had a 3G dongle?).

Also, I understand the ODB II unit can use bluetooth to connect with the unit, but that would not not conflict with the ability to use my phone or stream music over bluetooth? Do I have that right?

I'm asking all of these questions with the understanding from reading the thread/wiki/FAQ the unit cannot mirror the screen from my phone, nor can it provide some sort of Android Auto experience.

Thanks
[Android Head-Units] Bokomaru:
Just consider this device a typical Android tablet with a couple extra features. If you can do what you want from a normal tablet you can do it with this device. I have tasker running on my phone so as soon as I startup the car it enables tethering, so then I have internet on whatever devices I'm running in the car (including the Carpad).

With the improvements to the ROM we've done (xdAuto) you can now set a timeout for how long the android box waits to go into airplane mode after power is removed. When I'm connected to my home wifi I have it do all the syncing I need so it doesn't go over my tethered connection.

I haven't done any analytical comparison on the signal strength of the wifi, I suspect it is slightly less than or on par with other devices with an internal antenna. At least one person here has soldered an external antenna onto theirs, I was considering this before I realized that I get good enough signal from my driveway to connect to the AP in my house.

The head unit has a bluetooth device as well as the android box. You would connect your phone to the HU bluetooth for audio and phone capabilities. So you can also have ODB BT device paired to the android device as well as other bluetooth devices (not sure if there is a maximum number of BT devices android allows, I've never tried to connect more than two to any device)
[Android Head-Units] leonkernan:
Got something else working last night.

I have been trying to get the A2DP track information to appear but after sending the appropriate commands. it seemed to be returning nothing.

After rewriting the JNI code so Java processes the text as UTF-8 instead, the current A2DP track info started appearing.

[IMG="Bluetooth track info"]http://i.imgur.com/fhMGIio.jpg[/IMG]

Still cleaning it up, but yet another thing that is actually possible with this device.
[Android Head-Units] VBlack:
I'm going to prepare version 2.2.5 for our system tomorrow, and push it to git repo. I also need a new version to play with my Huawei modem. I already prepare binary, I will check tomorrow and push.
[Android Head-Units] blacklistedcard:
Did you just cross compile for the binary or did you actual build it on the nu3001?
[Android Head-Units] wacko37:
What.... parrot RNB6 not to be released to the aftermarket???

I have a feeling that our Newsmy devices are going to boom over that discussion.

With the amount of developers working here on this device it is clearly way way above the rest.

I said it before and I will say it again, we owe a great debt and thanks to all those involved in XDAAuto.

Thanks guys!!!

---------- Post added at 12:42 PM ---------- Previous post was at 12:40 PM ----------

Ps.... and all those involved in this forum
[Android Head-Units] mainebluedevil:
Thanks for the reply. I've never used Tasker, but I suspected that might be a tool that could help pull all of this together.

It's nice to hear your perspective of viewing the Newsmy device as comparable to a tablet as is. One thing that the Nexus 7 (which is a tablet I already own) has already is Lollipop, so I might be a bit concerned there is likely no upgrade coming to the CarPad. Nor are there any expected 5.+ ROMS to be expected so I fear some apps I commonly use on Android will not work in 2-3 years. Certainly development on this device will slow to a crawl at that point , right?
[Android Head-Units] kwalsh24:
I was having stability issues with the latest xdauto (apps not wanting to run, random lockups) So I reflashed back a version and the stability issues remained. Figured it was possibly due to one to many upgrades so I decided to format and reinstall.... Only issue is now can't get any of the xdauto releases to flash in recovery, just keep getting errors. Rkbatchtools won't flash either and is being a pain with detecting my box. What do I have to do to get an os back on my unit? Flash stock then refresh to xdauto?
[Android Head-Units] Bokomaru:
What errors are you getting when you try to reflash?
[Android Head-Units] toologic:
[MENTION=391948]Zaphod Beeblebrox[/MENTION]

Please tell me (or give a link) how create (or rebuild) update.zip if i want change some applications and boot.img logo.
[Android Head-Units] Bokomaru:
https://github.com/Nu3001/platform_manifest

Grab the source, compile, and 'make otapackage' will build the zipfile
[Android Head-Units] toologic:
So long! Is there another short way? Like "update.zip maker"
[Android Head-Units] kommando:
As the android bit is on a separate box so when the new chipset is released that supports 5.1 you can just change the box or even possibly the board and connect that to the old HU, Newsmy has been selling the current box separately and no reason for that not to continue.
[Android Head-Units] VBlack:
Cross compile is a true way. I'm developing android for last 4 years and should say that building on device is not good idea (it is possible, but hard to do)
[Android Head-Units] Zaphod-Beeblebrox:
Seriously? If you can't be bothered to help yourself, why would we?
[Android Head-Units] -=Jeff=-:
looking forward to trying the latest with the audio switcher.. That is great.. you guys are doing outstanding work.. THANK YOU, THANK YOU, THANK YOU!!
[Android Head-Units] tacopicante123:
Hey guys is it just me or does the reception on the radio stations really suck on this thing? I am in San Diego and my factory stereo was never fuzzy or cut out at all. Is there anything I can do to improve it at all?
[Android Head-Units] -=Jeff=-:
I have found it to be fairly decent, although I never had the great reception in my car to begin with. Now that the Aux in is avail without video i will be installing my HD tuner and will see how it does
[Android Head-Units] blacklistedcard:
That silabs chip is a great tuner. I have the same if not better reception than my Alpine radio.

---------- Post added at 01:39 PM ---------- Previous post was at 01:38 PM ----------

:)
[Android Head-Units] tacopicante123:
Thanks for the reply.. So you think then it's an installation issue? I mean some stations come in fine while others are fuzzy.. I just have to scan until I find one that sounds good... Most of the main radio stations here though sound pretty rough. Is there anything I can maybe check for in the wiring or is it just making sure the antenna is connected to the head unit?

---------- Post added at 05:56 AM ---------- Previous post was at 05:55 AM ----------

This might be an option as well... Does that require an XM Radio subscription?
[Android Head-Units] coyttl:
HD Radio is over-the-air. Not satellite radio. As long as you have an HD tuner, you can pick up whatever stations are broadcasting, locally to you.
[Android Head-Units] -=Jeff=-:
nope, just a HD tuner, cable and an app.. Tuff bob here on XDA has made an app, he was going to add the FTDI drivers to his app which I think will be needed for our device, I need to try it
[Android Head-Units] tacopicante123:
Can you keep me posted on this? I definitely want to do the same thing. Reception for me on the radio is terrible and I don't know how to fix it. This sounds legit
[Android Head-Units] -=Jeff=-:
Sure.. might be a while.. I tend not to have much time to make the changes quickly
[Android Head-Units] leonkernan:
Does your antenna require a power connection that you might have missed?

I know in my Toyota I got awful reception until I remembered to connect the power to the antenna .

edit: I needed one of these adapters for my car. The white end goes to the car, the normal plug into the radio and blue wire takes 12v.

I assume it's for some sort of built in booster. I've no idea if other cars have the same.
[Android Head-Units] kwalsh24:
Well, I would report what errors they are but now my box won't even display anything on the hu. Hitting the reset button near the FireWire port isn't doing anything. Is there a certain procedure I have to do to enter recovery from outside the hu reset app? All I have is the green power light and that's it
[Android Head-Units] Bokomaru:
I'm sure you could hand build an update zipfile or modify one of the existing ones, but this a standard Android component which you will likely find better documentation elsewhere.

---------- Post added at 07:46 AM ---------- Previous post was at 07:41 AM ----------

You need to hold in the reset button when you connect the USB plug and it will put the device into bootloader mode which you can then use the rkbatchtool to flash an image.

The first set of errors when flashing are the most important, once you start randomly reflashing other things you cover up the root cause and very likely compound the issue.
[Android Head-Units] kwalsh24:
Well tried that and now it won't detect on pc. It did once briefly but came up as an unknown device. Tested it on two win7 laptops. I'll keep fighting with it and hope something happens
[Android Head-Units] tacopicante123:
I have a 2010 Mazda 3 and had it professionally installed. I'm gonna Google to see if I need a power adapter for the antenna... Thanks for the heads up on that!
[Android Head-Units] Bokomaru:
The USB id is different in normal operations and bootloader mode. You will likely need to have different drivers installed in booyloader mode on windows... Or just use linux
[Android Head-Units] zanix:
I get a decent signal for wifi in my garage where my phone gets a better signal. My router sits in the basement probably 20 feet away from my car.

Correct. There are 2 bluetooth radios, one for phone and BT audio, and another for general use with Android.

There is an attempt to get android auto working on standard android devices here

http://xdaforums.com/general/paid-software/android-4-1-headunit-android-auto-t3125252

I recall one person here that was going to try it, but I don't remember if they did or not.

That is really awesome. I was wondering why this information was not available in the BT audio app.

Another thing I would ask you to look for is connected phone status. On my wife's factory stereo, her BT connection will show the signal strength and battery level of the phone that is connected. Do you think this type of data is available as well?

Also, I finally had the chance to check out the BT phone mods you made, very nice.

No issues for me. Most stations come in clear in my area. Do you have to use an antenna adapter? I recall that VW owners have to have a special adapter or the radio gets bad reception. Also check if your antenna requires power, some cars use an amp for their antenna. Looks like someone already gave you this advice.
[Android Head-Units] kwalsh24:
The device isn't even wanting to detect now, tried different cables and a different laptop. The power light comes on and that's it. Last night I could at least get it to detect in Windows (and it did install fine as rkbatch found the device fine just wouldn't flash)