yashsingh1/xdaforums huggingface dataset:
[Android General] m.a.s.e:
Well, i can speak only from reality, i checked 1 hour yday and 1 hour today using mock locations, and HU GPS. not once it asked me to enable GPS.

and i know exactly which screen popup you are referring 2..... So could be the version of OS you are running, i run CM/AOKP. it should matter in this case since its an app setting, but without a shadow of a doubt, it does not ask on my phone.

---------- Post added at 06:22 PM ---------- Previous post was at 06:12 PM ----------

FYI Area, in regards to GPS IMO it should b started when aru open and connected and auto start the service. I normally fc aru so I will b able to connect to my BT in car sometimes without mirroring. If aru is listening it will force connect and go landscape etc. So I fc it and set tasked to auto open it via mhl detect. That's y IMO GPS should be subjected to aru first. With service stopped n mock disabled. Make sense?
[Android General] lpasq:
This is a known issue and replicates on various launchers.
[Android General] mikek753:
.14 test report on x8500

hi,

used 0.14 on 10 ml drive without GPS service mock injections due to x8500bhs doesn't have GPS receiver, phone GPS only.

looks good, connected well.

So far I can't figure out how to use voice commands and make calls by voice

1. HU doesn't support "speak" wheel button, so I have to press "Mode" on HU and select Radio to select "Phone" - this is long walk from Apps

2. when I press "speak" om HU phone menu it doesn't go to my phone :confused: and as result no matter what I say the HU doesn't make any calls. I can make a call by selecting from call list or contacts by touching HU screen (this distracts from driving)

3. "Ok Google" doesn't work, yes I have google now

thanks
[Android General] Area51©:
Yes, I plan to look at it once the GPS Injector is finished and in the play store. Together with the tablet UI that also has some calibration issues. I found an interesting class when reverse engineering the AppRadio app some time ago that might make it easy to solve.
[Android General] Area51©:
Leobg already made a video that shows the problem.
[Android General] Area51©:
I did not encounter this issue on my Nexus4 either. Maybe Google improved?
[Android General] rossitec:
Bypass Switch

Ok, this is for anyone who wants to make a hand break bypass switch out of just a few discreet, very cheap components.

Attached is the schematic diagram of a four wire version automatic bypass switch which will cost no more than a few bucks.

Functionality is as follows:

When the ignition is turned on, 12v is supplied to the Red wire which causes transistor Q1 to switch on which in turn simulates the hand break is engaged. Once the onscreen disclaimer OK button is pressed, 12v is applied to the Blue Remote Control cable which connects to a timer delay circuit, which simulates the hand break disengaged for 900mS, then re-engages the hand break again and remains in this condition until the ignition is switched off.

With the current 22uF capacitor (C1) the delay is about 900mS but you can increase the delay by increasing the size of the C1.

Please not that the 22uF C1 needs to be at least 16v or even better 25v and it will be polarised with the positive leg connected to R2 and the collector of Q3.

Also, please please, correctly insulate the finished PCB and triple check the connections as short circuits in cars can be disastrous!!
[Android General] 400ixl:
Its been an issue for some for a while now. Seems to be Samsung phones and HTC IIRC. Don't think it affected the Nexus 4, I have never had the issue either on that phone.

Doesn't change that it is a real issue for quite a few people though.

Anyway, sounds like you are making good progress, so well done and look forward to buying it from the app store when you get it in there and trying it out.
[Android General] bodieism:
Sorry man. I've kind of been MIA for about the last week or so. I've been busy recovering from being sick and starting a new job.

Mine N3 is still working. I did experience a weird issue where Tasker wasn't acknowledging that Bluetooth had connected. I thought it had something to do with Android 4.3 at first, but then realized that it was randomly changing the capitalization of the Bluetooth connection name, which was causing Tasker to have problems recognizing the connection. I cleared the Bluetooth connections and paired again, which seems to have fixed it.

It odd... for me the GPS Injector app is not in /data/app. I found it in data/app-asec. That location didn't have a .apk file that I could move so after some more digging I found the .apk in mnt/asec. Not sure what that was all about, but figured I'd point it out in case anyone else ran into that problem. I think I'll probably just give Titanium Backup a shot since that was mentioned earlier.

I have to work in the morning so I'll definitely be testing it out then. I'll report back how it goes. I remember that I use to have the issue with Google maps as well. It use to want to verify that GPS was physically turned on, on the phone itself... even if you we're getting the data from somewhere else. Hopefully Google has sorted all that out by now because that's what I plan on using for the commute to test the GPS Injector.
[Android General] Area51©:
Well, not completely but I have an idea what might be going wrong.

Currently normal sequence is (with GPS Injector = system app):

->Initial state

ARU waiting for connection

GPS service not running. mock auto disabled

->BT connection

ARU is connected

GPS service running, mock auto enabled

->BT disconnected goto initial state

I think that when you force close ARU when it's connected it doesn't stop the GPS service and mock stays enabled.

When you then start ARU again the GPS service is still running so it won't start again but this instance of the GPS service is not connected to the new ARU instance so it doesn't work.

When you then stop and start the GPS service it will connect to the new ARU instance and it is working.

Do you think that could be it? In that case I would say it's user error:rolleyes: It's being used in a way it wasn't designed to be used.

I am not sure whether I can change the connection behaviour and to what it should be changed. This is the same as the original AppRadio app. So I guess that will always connect as well. I have no idea how they would be using it to just do audio streaming. Have any idea?
[Android General] m.a.s.e:
OK....

Thanks for the reply...

Question, when ARU GPS is open is it listening to BT or ARU? if BT then (without asking of its possible) it needs to be listening to ARU. That way when u have ARU closed it will be closed.

Yes FC ARU is a problem but ARU (AppRadio app in general) is Always listening, in the case of ARU its an issue because as soon as its connected to BT it will force connect and landcape and the whole shabang....

when user wants to just listen to BT audio its a problem....

to avoide that the only way i could think off is set tasker to FC ARU upon MHL dissconnect, that way i have BT possibility to stay connected and just enjoy A2DP. .....

Can u set ARU GPS to listen to ARU instead of BT?

that way we can FC ARU on MHL disconnect, then when MHL connected it will auto launch ARU GPS.

question # 2: by default what is the status of ARU GPS? if i FC it and then set tasker to:

MHL connect --> BT on --> ARU on --> wait 30 seconds --> ARU GPS on. Will that resolve the issue? assuming when u fire up ARU GPS it is by default starting the service. can u set force start the service? or auto toggle(try stop start) when service not connected?

and then we all can set tasker to reverse the process:

MHL disconnect --> close BT --> FC ARU --> FC ARU GPS

i know its all confusing, but i am confident we will get this thing knocked out perfectly :) in the end lol
[Android General] Area51©:
ARU sends a message to ARU GPS service to stop. So ARU GPS already listens to ARU.

Makes sense.

Starting is not the problem. No need to wait there. That should work already.

I think if you stop it in a nicer way it will work.

Maybe this stops it better:

MHL disconnect --> close BT --> Wait 15 seconds (gives ARU time to detect BT is gone and then stop GPS service) --> FC ARU

Or indeed this one:

MHL disconnect --> close BT --> FC ARU --> Stop ARU GPS service

I don't know what tasker can do. Can it stop and start services?

The ARU GPS service is not protected so any app can start / stop it.

Of course, you know me. I am going for perfection.
[Android General] m.a.s.e:
i like working with u, me and u would work good together lol. .... searching for a job at VMware maybe :) lol . ...

anyhow....

"MHL disconnect --> close BT --> Wait 15 seconds (gives ARU time to detect BT is gone and then stop GPS service) --> FC ARU"

can def set this up - its ugly version but i can add the delay 15 seconds to see how it function.

"The ARU GPS service is not protected so any app can start / stop it."

i like this much better.

Tasker is insanely robust with its possibilities, the question is how to get to ARUI GPS.

it can be done via API call in a SQL form to stop and start the service .but will need ur assistance since u the one wrote the app :)

install tasker for 15 min and check it out, just to get to the page where u set a profile and task . in the instance of ARU GPS we will need to built a profile and then a task.

Example: profile :

name: "IN CAR"

variable: upon MHL/HDMI intent received or connected run task "Appradio"

Task: appradio:

1. start BT

2. start ARU

3. wait 10 seconds

4. start ARU GPS

5. RUN command: now this is where we need u .... how can we reach ARU GPS to start stop service.... via SQL command ...

for an example here is the code to start samsung allshare cast dongle force connect:

am start -a com.sec.android.allshare.intent.action.CAST_START

as u can see it just send a start command to the service listening .... maybe u can write the command ur using for ARU to send to ARU GPS and we can incorporate it in tasker....
[Android General] Area51©:
While you were writing this I thought about this already. My code is this:

intent.setClassName("mars.area51.arunchainedgps", "mars.area51.arunchainedgps.UnchainedInjectorService");

staticContext.stopService(intent);
[Android General] m.a.s.e:
ok, ok.... this is very usable.....

i can use this to:

connect:

MHL detect --> BT on --> ARU on --> ARU GPS on --> send intent

intent.setClassName("mars.area51.arunchainedgps", "mars.area51.arunchainedgps.UnchainedInjectorService");
staticContext.startService(intent)

disconnect:

MHL discconect --> BT off --> FC ARU --> FC ARU GPS ( ? ) --> send intent -->

intent.setClassName("mars.area51.arunchainedgps", "mars.area51.arunchainedgps.UnchainedInjectorService");
staticContext.stopService(intent)

what do u think?

not sure upon close we need to FC ARU GPS....

brainstorming here....
[Android General] quinting:
Hey, I use VMWare at my office! Maybe I should join you and get a job there :) I have a maintenance contract with them, and have used it ONCE or TWICE maybe in 3 years, every other issue I've been able to figure out on my own :)

LOL
[Android General] m.a.s.e:
LOL :)

sure man, we are looking for Cloud Engineers :) if u got the skills and VMware certified send me resume (especially if ur in the UK - we are building an ew DataCenter there right now ) :)
[Android General] Area51©:
This should be ok:

MHL detect --> BT on --> ARU on

When ARU becomes connected to BT it will already start ARU GPS (by sending an intent).

disconnect:

MHL discconect --> BT off --> FC ARU --> send intent -->

intent.setClassName("mars.area51.arunchainedgps", "mars.area51.arunchainedgps.UnchainedInjectorService");
staticContext.stopService(intent)
[Android General] m.a.s.e:
ok. thanks, i will put that in a tasker format and test. now helping the wife clean the house, 2 huskies are a lot of mess :) ill keep u posted. lets let our brains chill for a few before the weekend :)

1 last question... i think u mentioned ARU GPS is searching for BT connected to HU and then it will auto start ARU?

if the answer is yes, we will have to FC ARU GPS as well.... if it does not then what u wrote here "should" work....
[Android General] Area51©:
Answer is no. But the Pioneer SDK has some trick that when you start an app that uses the SDK (like ARU GPS does) then it will start AppRadio app (which is ARU). So when you start ARU GPS and then push the start button it will start ARU. Anyway it's not something that I use or intended but it's there.

Right I need to chill too. Also I think other forum members might get bored of this nerd stuff.
[Android General] m.a.s.e:
LOL!!

dont worry they will all be happy when ARU GPS will go live production and a tasker profile will be uploaded :)
[Android General] quinting:
Thanks, I'm in Canada, and am treated VERY well by the firm that I work for, so I am not looking anyways :) I get paid very well to manage a network of about 14 virtual servers on 2 physical hosts, and 60 client computers :)
[Android General] m.a.s.e:
AWESOME man. as long as ur happy :)

VMware is insanely awesome as well :) google VMware Hybrid Service .... now guess who build it and makes it work lol .
[Android General] evillela2001:
Question for any of you Nexus 5 users. Are you having any trouble with snow on the screen? I can't take the issues anymore. I bought the Slimport adapter from analogix(official) but still have issues. It even completely disconnects. Anybody have any ideas? I'm on Sprint if that helps. I never had issues with the GS3 and samsung's mhl adapter. Really want this to work again. I can't really test the GPS injector app because I can't get the HDMI connection to be stable. Thanks for the help.
[Android General] quinting:
Very cool...so you work directly for VMWare? That is insane! And yes, it is insanely awesome...I have our network setup so that if one physical host dies, inside of 10 minutes, everything is running on the second host...and visa versa....we have not had a server down issue in 3 years now!
[Android General] m.a.s.e:
Sounds like someone has enabled FT DRS And HA on their HOSTS lol :) Yes, i work directly @ VMware :)
[Android General] supernewf:
First off, many thanks to area 51, m.a.s.e. and everyone who has helped out in this thread!

I haven't had any snow issues with the analogix slimport, just a few connection problems when trying to connect when the HU is already powered up... Seems to work best if you connect the slimport, then turn on the HU.

I do have the same issue mentioned before by llxxjinxxll with the dock buttons not working... The touchscreen seems to stop at the dock. Running Nova launcher but will try the stock launcher after work to see if that changes anything.
[Android General] tnuts22222:
Please. Update as I have made my donation ... Tnuts22
[Android General] stargate125645:
Google Maps is not a phone-dependent piece of software, so whatever version you have I also have. If something in the firmware is causing this issue then it may very well be a gift from Samsung. Either way, when you finally click the button to navigate, it requests for GPS to be enabled on the phone. It will not ask when the route is developed and displayed in plan view. You have to actually enter the navigation view for it to ask.
[Android General] rossitec:
The next release of Tasker will have HDMI/MHL detection
[Android General] m.a.s.e:
Hi [MENTION=5417637]Area51©[/MENTION]

No full luck with tasker. Can u please give me the code to start the service for aru GPS?

It stops it fine but does not start it according to the plan we had a few posts back. I tried with changing stop to start in the code but its case sensitive and I wanted to confirm with u the intent. And then try again please let me know thanks
[Android General] graffix31:
This is working great. Thanks so much for your work. Strange thing is if I use maps gps works. But when I turn waze on it shuts off. I was able to start waze then use maps get gps going then switch back to waze and keep it working but only once. I'm using a epic 4g touch with the Pioneer mhl adapter.

So if i wanted to donate and test the app do I then still need to buy it from the app store? Any idea when it will hit? Just curious, anxious to try it out.

Thanks again for all your hard work.
[Android General] lpasq:
Updated
[Android General] ForLeeWase:
Glad to read I'm not alone. I think it's HU related. Are you still using the Z150BH? I reported the same issue in this thread.
[Android General] Area51©:
What maps do you use? The Pioneer "native" one? Or the normal one? If it's the normal one it would use the phone's GPS. Waze has AppRadio support so it will use the HU GPS. Don't know how that would affect the phone's GPS.

As a courtesy to people that donated 10$ or more already they can test it now and purchase it for a low price (0.99$ for US).

Once testing is finished GPS injector app can be bought for 6.99$ or 5.20 eur or equivalent in your local currency

I expect testing and fixing to be done within a week.

While it's strictly for people who donated already, if you donate now I would be forced to give you access to the alpha testing version. If you can wait a bit I would do that because it's cheaper and you get the tested version right away.
[Android General] nfaust01:
m.a.s.e you might already know this but tasker can handle broadcasting the intent so all you have to do is set the intent under Misc->Send Intent in your task. Looking at area51's code the intent would be mars.area51.arunchainedgps.UnchainedInjectorService. You should have to do any else.

So task would look like:

MHL Disconnect - BT Off -> FC ARU -> Send Intent
[Android General] m.a.s.e:
Yeah did that. Look a few posts back:) for closing it works for start not. Need the intent to start were trying a bunch of use cases...... Thanks:)
[Android General] nfaust01:
Yeah right after my post I realized you said it did work for closing. Thanks for testing this out. Just got a N5 and waiting on my ptv3000 to actually use it will the AR3.
[Android General] kachaffeous:
Just tested the new tasker w/ HDMI detection and it doesn't work for slimport+ LG G2. Bluetooth profile works great though.
[Android General] m.a.s.e:
Good luck with the PTV :) u hated it , the lag was bad .... :( good luck !
[Android General] hoops129:
Cool. With the latest tasker update I can now see hdmi plugged in the hardware states and it runs my tasks. But I'm still having problems with bluetooth pairing. I keep getting requests on my phone to pair to the HU. It keeps giving me a passcode to confirm. Even after I click it to accept, I'll see another request with a new passcode. It's getting very frustrating.
[Android General] KD4CVT01:
I'm shocked - it just works

So far this looks like a very good app, especially since this is a pre-beta. It's 5 for 5 on connection attempts, while the "competition" might be 2 for 5. I'm using a Nexus 4 on stock 4.4 KitKat and no other mods (short of root). Kicked in a few bux for furhter development and will be waiting patiently for the 1.0 version. Keep up the good work.
[Android General] m.a.s.e:
remove BT connection from ur phone. go to the HU settings bluetooth and delete all bluetooth memory.

restablish bt from scratch and when prompt approve all connections from the HU
[Android General] bodieism:
I was about to add this to my Tasker profile because the GPS Injector isn't auto starting for me, but it looks like it might not be working yet. I would be very interested in obtaining the correct intent as well.
[Android General] kachaffeous:
Hmm wonder why it won't auto start for you guys, aru app starts the gps service fine for me. cm 10.2 nightly
[Android General] nfaust01:
With the latest firmware for ptv3000 and kit Kat on the n5 the lag is no longer. I will know for sure on Monday though.
[Android General] m.a.s.e:
hi guys.....

so, we are trying to figure out how to have the aru gps application to automatically connect for us all. with area request i have created a google doc excel spreadsheet to check with all of you who purchased the gps app. a simple survey.

if you can please do the following:

1. start the car

2. start BT on your phone

3. connect your phone via mhl / slimport etc

4. start aru

5. wait for connection to be established with full mirroring

6. exit out of the pioneer screen, go to aru gps app

7. check the status of the connection. if it say "disconnected or service not started" please report as not working on the survey. if app report connected and service started automatically please report working.

thank you for your help:)

here is the doc:

https://docs.google.com/spreadsheet/ccc?key=0AozNRyl_Qi0RdFRVdXlYSlZuQWxySUc4T3N2TmhuR0E&usp=sharing
[Android General] wisdomcm6:
Want to first off by saying thanks to Area51 for much a great app. I too have the avic-z150bh with the galaxy note 2. When using Google Maps or

Sygic nav ,gps works. But when i used Waze, gps shuts off. I decide to try it with the avh-x8500bhs still using Appradio Unchained. When i open up the Waze app, GPS works great . So i wonder if it has to do with something within the software hat detect what radio its plug into. Since the avic-z150bh has built in nav and the avh-x8500bhs has no built in nav?
[Android General] hoops129:
How do we know if aru gps is running? I downloaded the latest beta (0.14), is their another piece to it? I donated to Area51, so I assume I'm part of the alpha testing for the gps injector?
[Android General] kinetx:
I have a HTC One (M7) and AppRadio2. Running ARHD 31.5 (Rom) and ElementalX 6.1.2 (Kernel) and using ARU to connect to my HU. I have a GPS unit (stock, provided by Pioneer) connected to the HU and confirmed that the signal is "OK" in the HU settings menu (under "Connection Status"). I've updated to the latest firmware also.

With Mock Locations enabled on my phone, I can't get a GPS signal to lock on. Trying to use the phone's internal GPS unit also fails to lock onto a signal.

I know this issue isn't specific to ARU (I would intermittently experience it with ARLiberator also) but has anyone with a similar setup ran into this problem and found a solution?

I use Google Maps as my navigation app.
[Android General] 400ixl:
You need to request access to the Google+ group I believe and you will get access to the the GPS add-on app from there.
[Android General] ForLeeWase:
Yes, but Pioneer software (AppRadio app) or Pioneer SDK (implemented by waze), because phone GPS works well in Waze when using ARL. I think that Pioneer has made an effort to force customers to use built in nav instead of GPS apps. So they can sell you every year maps updates. The big proof is that the HU doesn't send GPS signal to the AppMode while others HU's with GPS antenna do.
[Android General] sophisimaos:
You need to request access to the Google+ group
[Android General] Area51©:
Yes if you donated you can be part of the alpha testing. It's not a fully automated process yet so some action is required by you. I just updated the FAQ and added the alpha testing details. Please read more here: FAQ
[Android General] Area51©:
Ok, thanks to m.a.s.e the cause of the problem is found. There's no need to fill out the survey anymore. The problem is caused by the fact that we don't use the AppRadio app exactly in the way it was designed to be used. Till now this abuse didn't have any adverse effects but for the GPS Injector service it does.

It depends on what you do in step 6.

If you go out of the Pioneer screen by using your phone's on screen home button everything is fine and the GPS service keeps on running. Note that Samsung phones don't have an on screen home button and using the HU home button takes you back to the HU main screen.

When using the HU back button or screen back button it will close the Pioneer App after you confirm it to close. After that's done the GPS Injector service gets no data anymore. To get it running again you have to open the GPS Injector app, push start, stop & start and then it will work again. Kinda conflicts with my goal to make it start automatically.

Now I need to see if i can come up with a solution. I hope it isn't a limitation that we have to live with.