yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 Guides, News, & Discussion] mikeprius:
They didn't have a "screen burn in 3 days" option or else the XL would have been safe. LOL
[Samsung Galaxy J5 Themes, Apps, and Mods] snifing:
1. Install : twrp

2. Install : as a normal app

3. Bixby/Upday/SamsungCloudGateway : after installation, restart your phone

4. you can only use one app bixby or upday

5. Samsung News Today the app icon is available in TouchWiz Home
[Samsung Galaxy J5 Themes, Apps, and Mods] BlackAxiom:
Let's see
[Samsung Galaxy J5 Themes, Apps, and Mods] BlackAxiom:
Seems working on both. On j5 2017 i just had to set permissions manually.
[Xperia Z3 Compact Q&A, Help & Troubleshooting] Xalein:
Hi guys i Made a BIG MISTAKE

when I try to flash a new rom, I dont watch the level of battery, so the z3c go off.. when the new rom is installing..

I charge my cellphone, and when I try to erase the old data, knowing it would do some sort of messup, I find the following errors

any resolution?
[Xperia Z3 Compact Q&A, Help & Troubleshooting] Simonmicro:
Hey, no problem: I knew that bug also very good! How to fix it? Okay version one:

1. Flash your system

2. Wipe explicit the cache or format it as ext4 - if that fails, it is ok goto the next step

3. Reboot to recovery

4. Wipe it again // format is as ext4 - it should take a while and then fail

5. Boot your system up, this will take a lot of time. Give it for the first startup around ten minutes!

6. Voilá

If the problem persists: Write here!

Simonmicro
[Android Q&A, Help & Troubleshooting] xda_geekman:
Hello guys,

I have a question ...

is there any way to Prevent an app from being erased when the phone is factory reset ??

the phone in question is a Galaxy Note 5 running stock android.....

I am looking to install GPS time tracking systems into all of my company phones for employee location and time tracking., but none of the apps offer reset protection

I run a construction company and I have approx 10 supervisors that I need to be able to track both location and time for payroll and making sure they are actually on the job working.

I have tried other solutions for GPS & time/payroll tracking but i have recently found out that some of them have simply just been uninstalling the app and then re-installing later when they are back on the job .... it looks like they never left

I tried one of these apps that assign the app as an administrator to try and prevent the uninstallation, but they simply did a factory reset erasing the app and then re-installed it when whenever they wanted also removing the app locker.

I like the idea of Cerberus, but they don't allow tracking like you would think ... my first 10 accounts got shut down and banned from there servers only 2 days after paying for 10 licenses.

They do not allow tracking of your own devises, according to them there services are not meant for tracking ... it's for that one time you lose your phone or have it stolen.

personly I think its total bull****.

there are a lot of Time Tracking / GPS tracking apps out there ... but they can all be un-installed somehow ...

is there some way to install one of these apps like Cerberus to prevent uninstall or in the event of factory reset it would just stay and keep working like Cerberus ??
[Android Auto General] martoreto:
Anyone interested in writing custom Android Auto apps?

github.com / martoreto/aauto-sdk
[Android Auto General] ahhl:
hopefully someone enable youtube[emoji16]
[Android Auto General] leonkernan:
Yeah....

Because when he wrote

What he meant was:

Lets put Youtube clips in your dashboard :rolleyes:
[Android Auto General] f1x:
How did you get this :eek:?
[Android Auto General] manos78:
Great!

Now I have a crazy idea: Make an Xposed Module has uses this SDK for hooking any of your installed Apps and make it compatible with AA. :D

This will be the holy grail! :fingers-crossed:
[Android Auto General] ahhl:
if you check AA developer mode, there option to allow video 720p already. just need someone to link/enable it.

---------- Post added at 05:20 PM ---------- Previous post was at 05:18 PM ----------

oh.... nooooo........ i don't want to root my phone....

a lot of banking apps doesn't work if rooted
[Android Auto General] manos78:
AA uses a "video" stream for sending the screen data to the HU. This option (and the new 1080p) it's only for forcing the resolution. Stock size is 640p, and enhanced sizes are 720p & 1080p. Nothing related to "video play"!

You're free to not use it! I'm using Magisk+Xposed and my banking apps. :laugh:

And the idea is fresh: Add "hooked" AA compatibility on-the-fly to any app! This can be done using Xposed. :cool:
[Android Auto General] martoreto:
It's extracted from Waze, here's the download URL:

github.com / martoreto/aauto-sdk/blob/master/build.gradle#L5
[Android Auto General] mauricioacf:
There is already a user, working on youtube application for android auto

https://xdaforums.com/general/paid-software/app-youtube-player-android-auto-pre-app-t3687987
[Android Auto General] manos78:
Interesting... However, I prefer other type of Apps.
[Android Auto General] ahhl:
not necessarily to watch video, sometime you can "hear" mp4 song is also enough, rather than every time converting mp4 to mp3, when you want to listen

something like hearing waze instruction, once a while, not like you have to look at waze every time

if you understand what i am trying to say...
[Android Auto General] manos78:
I got it! :good:
[Android Auto General] stylemartin:
wow. it is a remarkable good news.

I hope it's also possible to put an app running on the phone on the car screen.

Or is it possible to create an app that mirrors the phone screen?

I am looking forward to the development of the developers in the future.

Thanks.
[Android Auto General] martoreto:
Well, this is not easy to do automatically, as car activities are quite different from normal ones.

This is possible, but:

Passing touchscreen events requires root.

Android Auto normally replaces screen content with its logo and it would be mirrored. :)
[Android Auto General] stylemartin:
Even if you do not touch it, it will be a big help if you can see it on the car screen. I want to run 3rd party GPS app instead of Google map.
[Android Auto General] krilok:
Don't know if its related, but how about V4A or other audio processors working on AA? At the moment none do...
[Android Auto General] ermeda:
Actually on my head unit I am able to listen to Spotify enhanced by V4A ,if this is what you mean.
[Android Auto General] krilok:
Unfortunately, not on the one built in on my Kia. Given it a lot of tries and with different phones and roms, but no go... Only works with Bluetooth, not while plugged in through USB and AA running...
[Android Auto General] ermeda:
Strange...

Anyway,even if connected with USB for AA head unit , audio goes through Bluetooth , did you enabled V4A in Bluetooth?
[Android Auto General] krilok:
Audio is channelled through USB while on AA, as far as I know... At least that's what I've read on specialised sites, forums, and tested on my own car. V4A works well while streaming through Bluetooth, but once you plug it in to USB, no processing is done since the head units DSP takes over...
[Android Auto General] Harry551:
Thanks for reply. There is some support plan for my car? There is something can i do by myself to get the data from my car?
[Android Auto General] Emil Borconi:
Not sure, it depends if Citroen will ever make that happen or not. If you have an OBD2 adapter, torque app and an additional $1.99 in your pocket you can check out the obd2aa app (see signature)
[Android Auto General] znejk:
I have the same problem. Would love if someone could upload the arm version... (My Nexus is in for repair?)
[Android Auto General] AndroidenKalle:
Yes, you can help. See the post from martoreto

aa-ll-info-1.0.apk:

https://xdaforums.com/attachment.php?attachmentid=4374472&d=1514638977
[Android Auto General] murtaza16594:
AA VendorExtension

Hi how can i gather car data ?? I have the VW head unit installed on my Linux machine and from that head unit I am sending some random data which is to be viewed inside my AA compatible app !! Can anyone please provide me with some inputs ??

Thanks
[Android Auto General] darkkiss:
[MENTION=8666285]martoreto[/MENTION] ,quick questions for you :

You attached an xml(exlap) in this post: https://xdaforums.com/showpost.php?p=74747458&postcount=23

Did you obtain that data from your car/some car using aa-vex-vag app? Or got it online from somewhere?

Would love to obtain that list of available parameters for my own car, if possible.

Also, have you tried to push some data to the car from AA using this vendor channel? For instance, something like volume up/down for starters... or any other parameter from your exlap xml.

Cheers!

Later Edit: Another question I forgot... for everyone using/testing martoreto's AAStats :

I noticed that some of the archives with logs created on the phone are corrupted( size of the log file inside is shown as huge.. 2 or 4GB). Some of the data can be retrieved from them , not sure if it's all though. Other archives are fine.

Anyone else experienced this problem?

I'm sure I would get some answers from inspecting logcat while connected to the car .. but I'm not sure yet how exacty to do that. Will do some research in the meantime.
[Android Auto General] Emil Borconi:
You can try to us adb over WiFi.
[Android Auto General] martoreto:
It was before aa-vex-vag existed, but using something similar.

You can do it. When connecting, aa-vex-vag logs to logcat all the available elements, see here:

https://github.com/martoreto/aauto-...martoreto/aauto/vex/vag/ExlapReader.java#L424

Therefore you need to obtain logcat from the time around connecting to the car (e.g. by taking Android Bugreport just after this or by disconnecting from car and connecting tu a laptop quickly enough, or use wireless adb...)

Didn't try, but it should work. :)

Me not.
[Android Auto General] darkkiss:
Regarding the problem with the log archives, for instance:

D:\CarLogs\car-20180116182314.log.gz: Unexpected end of archive

D:\CarLogs\car-20180116182314.log.gz: Checksum error in D:\CarLogs\car-20180116182314.log. The file is corrupt

Thing is, I haven't played with the CarStatsLogger class at all. So, I'm thinking, maybe I'm doing something wrong when disconnecting the phone from the car or something .. and the archive ( the stream actually) doesn't close properly. Hopefully, logcat will tell me more. .. Thanks guys, will try with adb over wifi.
[Android Auto General] ktwo:
Hey, can someone who know something about the Inputsystem help me with this. I'm getting crazy ;( I need a way to send input to the webview for WebViewAuto without using Javascript since this is not a way which works for all websites.

Code:

https://github.com/nerone-github/We...auto/webviewauto/webview/ExtendedWebView.java

The question i have is: Why is InputConnection null on a CarService in contrary to using the same Class on a regular "Activity"

In the end i'd like to use inputConnection.commitText() to pass text to the WebView

Or anyone has a different idea how i could pass text (full unicode) to the Webview?

Currently i'm using document.activeElement , but this basically works only if the website uses an <input> element. Not all websites do this. I hope there is a solution for this one day
[Android Auto General] lukiman1605:
Hi guys,

as first I need to say that it's great work. For now I can read every data from my seat like consumptions etc. but is it possible to set some datas? like AC, or disabling start stop system?

I have looked on aastats app on github, but in this app looks like isn't implemented setting of the values.

thanks for answer
[Android Auto General] greenblueye:
How we can get data from car? Which apk should i install?
[Android Auto General] murtaza16594:
Vendor Extension

[MENTION=8666285]martoreto[/MENTION] Hi, how can I gather car data using your aa-vex-vag app ? I have the head Exlap head unit up and running on my Linux machine !! Or if you could provide more info on VendorExtension channel then it would be great !!!
[Android Auto General] martoreto:
Right, it's not implemented, though you may have a look at ExlapReader.java in aa-vex-vag to get a glimpse of how the conversation with the car is going. It is a natural place to implement sending commands to the car.
[Android Auto General] valhallen.282:
Info from Suzuki Ignis 2016 Head unit V2.

File is a text. Change from .zip to .TXT

BT address removed. No other changes.
[Android Auto General] Emil Borconi:
How do you want to get exlap data from the linux machine to your phone? Are you running any headunit app on the linux machine? First of you will need to have some kind of headunit where your phone can connect to (for example: https://github.com/gartnera/headunit/ or https://github.com/viktorgino/headunit-desktop) If you have one of them or something similar set up, when you define the car you will also need to define the vendor extension on the car, this is done with protobuffer.

After that you will need to modify the headunit app to use the newly defined vendor extension and send the exlap data to the phone, but those are uncharted waters so not 100% sure how that will work. Android Auto uses protobuffer to communicate between the headunit and the phone, so you will need to pass the exlap data from the linux machine, using protobuf to the phone, and from there use the aastats example to work out all the data...

Hope this helps.
[Android Auto General] mathlau:
Hi Chillout,

Do you have a github repo with your work?

Thank you.
[Android Auto General] murtaza16594:
Hi thanks for your reply ! Yes I am running the head unit app on my Linux machine and I tried sending some random bytes from the headunit to the Android Auto companion app and successfully received the data and also tried the vice versa which was again successful. Now I need to gather real time data and use it for the aastats app !! So how can I proceed with that ??
[Android Auto General] mathlau:
[MENTION=8666285]martoreto[/MENTION],

Could you please also publish the apk for aauto-vex-base?

I compliled aastats but the speed counter is not working in my Skoda octavia 3 columbus 2.

Maybe because I only have aauto-vex-vag ?

Tanks.
[Android Auto General] darkkiss:
You don't need aauto-vex-base, as it is compiled into aauto-vex-vag.

As the guys suggested me , have a look at the logs on your phone ( CarLogs dir, it is changeable from the phone - AAStats Settings) at the data. There may be some differences in the parameter names -

what your car publishes and what the interface/gauges are reading. In the log you should have all the info .. and you can adapt the gauges to read the correct parameters( for example, things like : reverseGear_engaged vs reverseGear.engaged)
[Android Auto General] Ludo94:
Hi

I sent you today Infos from hyundai ioniq electric car. Any idea if we can discuss with the car with a specific protocol?

Thanks
[Android Auto General] mathlau:
Thank you Darkkiss,

I am new in Android programming, I am more used to .NET...

I managed to fix the issues, it was like you said vehiculeSpeed_unit instead of vehiculeSpeed.unit

I fixed some other words like that.

Thanks again.
[Android Auto General] bluedragon1982:
Would it possible to provide the apk for "aauto-vex-base" (3.1 or later) too please?
[Android Auto General] darkkiss:
If it's working now , great! Pay attention though, as [MENTION=8666285]martoreto[/MENTION] is replacing some characters when saving the logs in json format.
[Android Auto General] bluedragon1982:
[MENTION=1083535]Chillout[/MENTION] would it be possible to test you App on my dads "Seat Ateca" and my "Opel Astra K ST"?

Compiling APK's myself feel to be impossible for me ? if you would let me know how i could help to get you app working on other Brands then VAG i would be happy to try my best to help you with my Opel
[Android Auto General] Emil Borconi:
If the car doesn't provide data (vendor extension) there is no way to get this data. Beside the vendor extension there might be a few basic info's available like rpm,fuel,gear, parking brake, light sensor, god but most cars do not provide gear, fuel, rpm which will be interesting.

The only other option for non vag cars is to get the data from obd2 (see my signature for more details) that will work on any car/unit but it does require an OBD2 adapter and torque pro as well
[Android Auto General] anktarius:
Hello,

Do you know if it is possible to add the support of android auto to an existing app ?

For example : icoyote doesn't support android auto, is it possible to add the android auto support to it or it is totally impossible as the source code is needed ?

Thanks.
[Android Auto General] nangu:
Hi [MENTION=8666285]martoreto[/MENTION], thanks for the AA sdk and demo apps, they are great!!

I'm having trouble with the aastats demo app. It compiles ok, runs fine on a LG phone with Android 5.0, but on a Moto G5 device (Android 7.0) seems like it doesn't connect to the car headunit (a MIB2 from VW). The app starts but no info shown. Even the Carlogs folder is empty.

Logcat shows android auto logs when the app is started, but nothing more, even Vexvag logs are inexistent.

There are some settings I can check in order to run the app on the Android 7 device?

Thank you very much.
[Android Auto General] Emil Borconi:
The source code is needed and it will require some rework in order to make it AA compatible.
[Android Auto General] anktarius:
Thanks Emil for your answer.

So it is not possible to add AA support to an existing app.

They are not many apps that support AA, a dev told me that they are waiting for Google permission to be able to add the support of AA to his app, I am surprised that they need this kind of thing from Google..

Edit : OK after reading Google is checking the app seriously as it is used when driving
[Android Auto General] IllClown:
Hi, [MENTION=8666285]martoreto[/MENTION] thank you for your amazing job! Unfortunately i'm also having some problems. I've compiled aastats on my own (before i've made only some programming on Fortran 77!), i've attached my Xiaomi redmi 4x on my 2016 Seat Leon with MIB 2 Seat Media System Plus , the app starts but isn't read anything from my car.

So i've try with aa ll info, but it didnt connect like someone before me. Giving me some error from java.lang.securityexception.

Can you help me/us getting it work?
[Android Auto General] Emil Borconi:
As the SDK is called it's unofficial, officially Google did not release the SDK. Last year when I first got around how to do this (before Waze, using an SDK extracted from seat drive app) I have build the first version of obd2aa and I have tried to publish it on playstore. As you guess it got rejected. Now I'm also a top contributor on Google product forum so I have tried reaching out to Google, the answer I got is that currently the SDK is only available for partners (read car manufacturers) and there is no word if Google will ever offer the SDK to the larger public.

In other words this means that any app which allows ants to keep a presence on the play store won't be able to use this SDK and it will have to wait for Google to make this available.

Now knowing how seriously is Google taking the whole driving experience (hack they even restrict email notifications) I think it might take a while till this will be available to the larger public, if ever.

So yes each app developer will need to wait for this to happen, unless they chose to leave "outlawed" from play store, then they can use this SDK and port their app to be AA compatible.

---------- Post added at 11:48 PM ---------- Previous post was at 11:40 PM ----------

Check the app permission settings apparently the usb accessory permission are not granted, that is what's causing the exception.
[Android Auto General] bluedragon1982:
OBD is a good solution, but I dont like it, that's why I would Love to use it the International way, i only need a way to find out if my System use Vebdor extension and what kind of Infos are possible
[Android Auto General] mathlau:
For the people already developped some features on AA unofficial SDK, which data did you manage to retrieve?

AAstats is gathering gear, torsque, pressure, power, oiltemperature and battery info.

Is it possible to have the current speed and speed engine (rpm) ?

In the logs I also saw a lot of data (blinkers, heating seats, headlights, led daytime, fuel info...)

Thanks,
[Android Auto General] Emil Borconi:
I cannot get the link of the individual post with the XDA labs app on my mobile but look at the post on 30th of December (page 9) where [MENTION=8666285]martoreto[/MENTION] shared an APK which basically collects all the I go and capabilities of the car, install it and check.

---------- Post added at 02:33 PM ---------- Previous post was at 02:31 PM ----------

Speed and rpm are outside the vendor extension, to get the car speed you need to actually get the car GPS data and check the speed, rpm has its own sensor data assuming it's supported by the car.

---------- Post added at 02:35 PM ---------- Previous post was at 02:33 PM ----------

Speed and rpm are outside the vendor extension, to get the car speed you need to actually get the car GPS data and check the speed, rpm has its own sensor data assuming it's supported by the car.
[Android Auto General] mathlau:
Thank you Emil,

Do we have a list of sensors supported in the vendor extension?

Here is what I have with the AA low level info

"channelId": 3,

"sensorChannel": {

"sensorList": [{

"type": "SENSOR_TYPE_LOCATION"

}, {

"type": "SENSOR_TYPE_CAR_SPEED"

}, {

"type": "SENSOR_TYPE_ODOMETER"

}, {

"type": "SENSOR_TYPE_FUEL_LEVEL"

}, {

"type": "SENSOR_TYPE_GEAR"

}, {

"type": "SENSOR_TYPE_NIGHT_DATA"

}, {

"type": "SENSOR_TYPE_DRIVING_STATUS"

}, {

"type": "SENSOR_TYPE_GPS"

}]

}

Thanks,
[Android Auto General] Emil Borconi:
Vendor extension as the name suggests it's vendor specific, basically it can be anything and each car will use different format/data,etc.

Well at least your car can show the fuel level, gear and odometer...
[Android Auto General] mathlau:
So I successfully modify the Martoreto AAstats apps to replace the non working Torque speedometer with the actual speed of the car.

I also changed the design of the counter.

Next steps will be to replace the power speedometer with the Engine Speed (rpm) and then put the current gear inside the left speedo and Range inside the right one.

Remove oil temperature etc...
[Android Auto General] darkkiss:
I did get the rpm and speed on my vw.

Also, besides the gps coords, I'm getting info about consumption ( shortTerm, longTerm, currentConsumption) , brake,currentGear,recommendedGear.

I think I'm going to try implement a sound notification ( like [MENTION=8666285]martoreto[/MENTION] did for wheelAngle) , but for the recommendedGear ( when it differs from currentGear ofc)... maybe different sounds for when it's higher/lower...

For me at least, the interface is not the main/most useful feature of aastats... the full logs are. To be able to import all that data and do some analytics... generate some interesting graphs to correlate current gear with consumption and speed etc ... is awesome.
[Android Auto General] mathlau:
Yes I think we can read the same info from our cars. Please let me know if you need some help to test or anything.
[Android Auto General] nangu:
[MENTION=3833560]darkkiss[/MENTION] [MENTION=5561575]mathlau[/MENTION]

Hi guys, I'm modifying Martoreto's aastats app to get a screen with temperatures (coolant, oil and gearbox), and to set some notifications. I successfully did it, but it sometimes collect data, and sometimes it didn't. I'm using it on my VW with a MIB2 discover media with NAV headunit.

Did it happen to you both? I don't figure it out why. Also, the same built apk works on an Android 5.0 device, but refuses to get data on an Android 7.0 device. On which Android version are you testing? I suspect it's related to the vex vag service, because no logs when the app doesn't collect data.

Any hint for that?

Thank you very much.