yashsingh1/xdaforums huggingface dataset:
[Android General] Sym_Link:
Galaxy S4 CM 11 Setup

Here is my setup using a SGS4 running CyanogenMod 11. I compile my own nightlies and patched Fast Charge into the kernel. This gives me 1000ma through the MHL adapter. There other kernels out there that have Fast Charge implemented.

Hardware:

MHL 2.0 adapter straight from Samsung - You get a 50% off coupon when you sign up on the site. - http://www.samsung.com/us/mobile/cell-phones-accessories/ET-H10FAUWESTA

Amazon HDMI cable - http://www.amazon.com/gp/product/B00870ZHCQ/ref=oh_details_o04_s00_i01?ie=UTF8&psc=1

5' USB cable - Not sure where I got it from

MHL extension cable - http://www.usbfirewire.com/Parts/rr-mhl-ext-xxg.html

12v to USB 5v 3A adapter - http://www.amazon.com/gp/product/B00D5Q1YZ6/ref=oh_details_o02_s00_i00?ie=UTF8&psc=1

I wrapped the HDMI and USB cables together with electrical tape to keep it neat. The USB cable is plugged into the 12v USB adapter I located behind the AppRadio (and connected to the same power leads as the radio) and the HDMI obviously plugged into the radio. Those are run to my MHL adapter and then the MHL extension from there to phone. Everything is tucked nicely away behind the dash/center console until a small hole where the extension comes out.

Apps:

AR Unchained - Obviously

Tasker

TaskKill Tasker Plugin - https://play.google.com/store/apps/details?id=com.laptopfreek0.taskkill

Screen Standby - https://play.google.com/store/apps/details?id=com.nkahoang.screenstandby

Rotation Locker - https://play.google.com/store/apps/details?id=com.devasque.rotationlocker

I have Screen Standby set to turn screen off when HDMI is plugged in. Pretty straightforward there.

Tasker Profile:

HDMI Connect

1. Taskkill - Method=Extreme, Kill AR Unchained

2. Keyguard Off

3. Rotation Locker - State=Landscape, Background service=Enabled

4. Wait 2 seconds

5. Bluetooth On

6. Load App - AR Unchained

HDMI Disconnect

1. Kill App - My Music Apps - I like a clean exit

2. Bluetooth Off

3. Keyguard On

4. Rotation Locker - State=Auto, Background service=Disabled

With this setup I have not had a single connection problem, ever. 100% of the time I connect. I can even leave my phone plugged in when I run into the store and since everything goes off when I turn the engine off, it connects right back up when I turn it back on. I don't get any snow either.

All of the parts, including the MHL cost me around $60. Heck of a lot cheaper than buying the Pioneer setup + the MHL.

I hope this helps someone. I imagine my setup can be adapted for use on other phones.
[Android General] robollama:
Since we've had others chime in with the same issue... How about an optional 90degree rotate for the compass? That would at least allow the phone compass to be accurate (if you had your phone laying in a portrait position like mine was) I've since moved my phone to a different spot to "remedy" the issue
[Android General] cwalkin:
Could u post a pic of the extension coming out of ur dash?
[Android General] Sym_Link:
Sure. I will post one tomorrow. I actually ran it through the center console. I have change holder that came with the car that also has a place for my phone and a hole in the bottom that works perfectly to run the cable.
[Android General] bee2643:
Possible bug report, I haven't seen anything in this thread about it...my apologies if it's been mentioned..

I'm running a stock Nexus 5, rooted, android 4.4, with appradio3 and arunchained .15b

When i connect to my appradio with bluetooth, and stream bt audio from Google Music, everything is fine, but when I launch Apps and use Google Music through my phone, there is no audio coming out of the right channel. Front left and Rear left work fine, but Front right and Rear right receives no audio.

Not sure how to even troubleshoot this?

Any information on pulling logs or whatever is needed for troubleshooting and getting it working is greatly appreciated.
[Android General] TChain:
Play native radio while running AR Unchained?

Hello Area51,

Great apps. I have the latest AR Unchained and bought the GPS injector and man does it make a difference. Everything is running great on my HTC One running 4.3. My question is, would it be it be possible to run the native radio and the AR Unchained or android interface at the same time? I tried double clicking on the home button picking a radio station, then double clicking again and selecting android icon, but the radio cuts out. I think it would be really a good feature since it could save on the workload on the mobile device, but not sure if possible. I know this probably way easier said than done, but I thought I would ask. Any ways, thanks for all of your hard work on bringing this device to its fullest potential.

TChain
[Android General] 400ixl:
You go into the android interface first, then double press the home button on the HU. Then select the mix mode on the right hand side and select radio from the list.

It will then play the radio over the Android screen.

---------- Post added at 11:09 AM ---------- Previous post was at 11:03 AM ----------

That doesn't sounds right and isn't the way the AppRadio 2 works.

If you press the home button on the HU when in Android mode, its the same as pressing the home button on the phone. It doesn't go back to the native interface. You open the ARU app and exit that to get back to native mode and it will stop playing on the HU (unless it is a poorly written app).

You don't need to do that though. Just use the phone as you would normally in selecting a contact and calling within the Android interface. That will stop the background music app and when it starts to dial it will switch across to the native Pioneer hands free interface, switching back when you hang up and Android takes over again.

So unless the drastically buggered up the Appradio 3 over the Appradio 2 it should be fine.

Biggest issue with this is that you can't see the navigation app when on a call.

---------- Post added at 11:49 AM ---------- Previous post was at 11:09 AM ----------

Connect it up to a TV with a different HDMI cable. If it works fine there, then a good chance that the HDMI cable in the car is at fault, if it doesn't work on the TV then it is most likely a faulty adapter, or a software / phone issue.
[Android General] Area51©:
That makes sense. I guess that the gmaps orientation is not based on the GPS bearing but on the orientation sensor. It seems that google navigation orientation is based on the GPS bearing though. I vaguely remember you reported this but I guess I was too busy getting it all to work in the first place.

For GPS there's a well defined way called mock locations to inject GPS data (basically meant for testing purposes). For other sensors something like that doesn't exist. So it's not simple, if possible at all, to just add 90 degrees to the rotation sensor on system level (which is needed to make it work for all apps).

Can you confirm that google navigation shows indeed the correct orientation?
[Android General] Sym_Link:
I can confirm navigation shows the proper orientation

---------- Post added at 09:32 AM ---------- Previous post was at 09:29 AM ----------

Here you go
[Android General] bee2643:
---------- Post added at 11:49 AM ---------- Previous post was at 11:09 AM ----------

[/COLOR]

Connect it up to a TV with a different HDMI cable. If it works fine there, then a good chance that the HDMI cable in the car is at fault, if it doesn't work on the TV then it is most likely a faulty adapter, or a software / phone issue.[/QUOTE]

I took the HDMI cable And SlimPort adapter out of my car and hooked it up to my TV. The audio came out of all channels as it should.

I went back into my car and when the phone connected to the head unit the music started playing right away, through all channels, and about 1 second later the screen on the appradio3 flashed and it stopped. I haven't been able to get it to do that again.

Any other ideas?
[Android General] crash822:
Any way to have the phone screen off while connected? I was using Screen Standby at first but it brings connection and video down to a CRAWL. I only get maybe 5 fps if I have screen standby installed. Uninstalling screen standby makes connection faster and the video is buttery smooth. Any advice for this? Currently using samsung s4 on aokp.
[Android General] 400ixl:
About the only real way on the S4 due to the screen they use is to use something like Tasker to turn the brightness right down.
[Android General] crash822:
Did you have to do anything special to get screen standby to not cause massive lag? It is so bad I can't use it. I chose s4 lte model and use the default mirror option. App has root and busy box installed.
[Android General] Sym_Link:
Not really. In screen off methods I have "Zero Brightness" and "Persistent blank frame" checked. Then I just have "Auto HDMI/MHL Detection" checked under HDMI Detection. Everything else is the way the app came. I definitely have not seen the lag you are seeing and even watched a video a little bit ago to make sure.
[Android General] SwissGalaxy:
Music program Samsung search my songs very slowly

When I use the SPH-DA110, the Music program Samsung search my songs very slowly (the round icon rotates once in 10 minutes) then it needs only 2 seconds without HDMI.

Have you ever seen this problem?
[Android General] sinbrad:
Not working?

Ok guys, I've just installed my Pioneer 950dab and when using the pioneer appradio app it done as it should but as you know with limited apps etc. Anyway found this site and decided to install the unchained version. Turned on the 950 and everything was paired as usual, activated unchained and it went throught the screen calibration on the head unit as normal which is pressing each dot as it appears on the screen. When that was done the app menu appeared but there is no touchscreen anymore? What have I done wrong? Sorry forgot to mention I have the Samsung S4
[Android General] 400ixl:
Is your phone rooted with SuperSu and Busybox installed?
[Android General] Asif Wani:
root needed

phone has to be rooted for this

app to work
[Android General] sinbrad:
Busybox?

I rooted the phone using Motochopper method, is this ok for SG4 or should I have used something else. The icon show in my menu system but I don't have busybox installed. Can someone point me in the direction of installing a suitable root app for SG4 and also Busybox. Many thanks
[Android General] 400ixl:
SuperSU https://play.google.com/store/apps/details?id=eu.chainfire.supersu

Busybox https://play.google.com/store/apps/details?id=stericson.busybox
[Android General] sinbrad:
follow up

Ok, Thanks for that. Did manage to find them prior to reading the post. Now have both installed and phone is rooted. I will connect up everything again tomorrow and see what happens.
[Android General] AllenConder:
This thread needs to become its own section in the XDA forum for different issues and ideas/Tips.

I really think some of us have become familiar enough with ARU to support it. Just a thought
[Android General] Vissionary:
I'm having this issue :confused:
[Android General] jpen:
I haven't purchased the app radio yet, but I am researching stuff I need for it. What is the 12v to USB 5v 3A adapter used for? I understand the HDMI going from the unit to the MHL adapter and I thought the unit had a USB adapter attached so you would just plug a normal USB to Micro USB cable into the adapter hanging off the unit and plug the micro USB side into the side of the MHL adapter. Am I missing something?

Thanks.
[Android General] Sym_Link:
I used that adapter to provide more power to charge. Coming straight off the radio didn't have enough charge to keep my phone on the positive
[Android General] jpen:
Would having a normal 12v charger from the car going into the MHL adapter work you think? That was an idea I was having instead of getting extra charging stuff and not having to use the units charge.
[Android General] texbuck:
If you have a charger that puts out at least 2 amperes, that would be suitable. Most people tend to use other methods to reduce clutter.
[Android General] Sym_Link:
Yeah. That would work fine. I just wanted to keep everything clean. I only have a single wire coming out going to my phone. Everything else is tucked away behind the dash or center console. I guess I'm a little picky about that sort of thing.
[Android General] TEK112:
I found out that the problem is not that is doesn't work, it is delayed. Sometimes by a minute or so. It happens randomly, but I have learned not to rapidly press the button to change tracks, but press it, wait and then press it again.
[Android General] Area51©:
Are you using Screen standby?
[Android General] bennetski:
I am trying this for the first time but for some reason my blue tooth keeps disconnecting. Any idea why ?
[Android General] Area51©:
With the original AppRadio app it still works?
[Android General] bennetski:
I haven't tried that yet. I'll give it ago in a bit. I've been using arliberator so will make sure that's uninstalled too. I'll let you know how I get on.
[Android General] sinbrad:
99% working

Ok, I'm almost there. Connected up the SG4 to my 950DAB and it is now fully mirroring. The only problem that I seem to have at the moment is that the phone changes to landscape when connected and when I go into my apps page some of them are missing but I presume they are off the bottom of the page and cannot be reached? Is there something I should be doing to stop this happening as the app pages on the phone are always in portrait mode until you select a specific app and then it can be changed into landscape, I'm sure you all know this already though.
[Android General] TEK112:
I am, and I am on 4.1.2.
[Android General] bennetski:
Right. Uninstalled arliberator and installed stock appradio app but it still disconnects from bluetooth. It's weird it seems to almost get there but then disconnects ???
[Android General] 400ixl:
Have heard of people having this issue with Samsung S4's. Sounds like you need to change to a Launcher capable of working correctly in Landscape. Apex Launcher or Nova Launcher are known to work.
[Android General] bennetski:
Does anyone think the bluetooth disconnecting has anything to do with the fact I'm on 4.4.2 kit kat ?
[Android General] Area51©:
Screen standby is known to cause these kind of issues like unresponsive google music player for instance.

Uninstall it and try again.

Alternatively you might disable an option known to cause lag:

Look here: http://xdaforums.com/showpost.php?p=46087163&postcount=283
[Android General] TEK112:
Thanks for that. I have disabled the option and will report back.
[Android General] Area51©:
Yes might be. Look here: http://appradioforums.com/Thread-Nexus-5-not-working

Was ARL still working with 4.4.2?
[Android General] bennetski:
ARL was bringing up some permission fail and wouldn't work. Think I'm going to have to go back to 4.3
[Android General] basmand:
Hi

Just as an info, I installed 4.4.2 on my MK802IV stick and it was the same with Bluetooth connection as described disconnected on and off, so I went back to 4.2.2

Basmand
[Android General] bennetski:
Ok thanks. Gonna go back to 4.3 and see how I get on. I'll let you know
[Android General] DEP85:
Compatibility with Android 4.3 on N900a??

Any ideas on when, if ever, this will work with the new Galaxy Note 3 running 4.3? If i'm not mistaking, i thought i saw a user say that it works on their Nexus running 4.3.
[Android General] 400ixl:
There is no reason it shouldn't work with the right ROM and Launcher.
[Android General] ixian:
For 4.4.2 (N5, stock) I updated BusyBox (1.21) and made sure it was installed correctly/linked (the free app on the Play store makes this process easier) as I've read that may be a source of problems.

I'm disabling my Tasker rules that bounce the BT connection to see if I can get a 100% reliable connect with ARU now, I'll keep everyone posted. Over on the ARL forums updating BusyBox (and for some reason installing the Pandora app, not sure how relevant that is though) seems to have solved BT issues for a couple users that had them (with the N5/4.4).

If you did a all-in-one root script like you can find on XDA or let a program like TitaniumBackup install BusyBox you can end up with an old/mis-configured install of that toolkit - best to install it manually or let the free app do it I've found.
[Android General] DEP85:
Know of anyone running it yet? Ive been searching the forums for hours now for any info to no avail. I just dont wanna dish out the money if its not gonna work.

Thanks for your input!
[Android General] ixian:
Well, that didn't work (BT connection issue).

Area51, is there a way I can enable logs/otherwise help you see this issue? Here's the problem in a nutshell:

N5, 4.2.2, stock, rooted.

Most of the time (well over 75%) when I try to connect ARU it hangs on 75% and doesn't go through.

Using tasker, I take the following steps:

Trigger action is HDMI connect (my SlimPort adapter)

Let phone connect to AppRadio 3 BT as normal

Connect HDMI

Turn off BT

Wait 2 seconds

Turn on BT

Wait 5 seconds (so it connects again)

Launch ARU, etc

By doing that, it connects 100% of the time. I don't know why bouncing the BT connection after initial connect fixes it, but it does.

What can I do to troubleshoot this? Obviously I can keep using the Tasker script, but it's a hack and adds to the load time. The OCD part of me wants to know if I can help fix it :)

Thanks again for ARU! My favorite Android app. I'm buying the Injector even though I probably don't need it since I use Waze for nav.
[Android General] Area51©:
Over at appradio forums I analysed the logcat of someone who had similar connection problems (http://appradioforums.com/Thread-Nexus-5-not-working?page=9). Unfortunately there's not much to see. It's basically the HU and Android doing their little dance until they say there's a BT connection that the app can use. If this doesn't happen there's nothing that I can change to the app to make it work.

As you can't change the HU firmware either it's basically only possible to solve it by finding some Android/kernel combination that works.

In the thread I mentioned before some say that installing the Pandora app seems to solve the BT issue sometimes.
[Android General] ixian:
Ok, thanks. I did install Pandora but I don't know what just installing it would do - now, *running* it, I could see, because the Pandora app has a built in connection to the AppRadio 3 already via BT (they merged it from the old Pandora Pioneer connect app but you probably know that).

I could see how launching Pandora would initiate a BT connection that Appradio/Pioneer can "see" right off the bat, I'll give that a try with Tasker just for grins. Sounds like I am stuck with the BT toggle method though long term.

I haven't upgraded my Appradio 3 firmware since I got it last summer, maybe I should check Pioneer's site.
[Android General] bennetski:
I'll be interested in if it works. I've just spent ages downgrading to 4.3 just to find bluetooth still not working. Arliberator is now however working but I really want to use this ARUnchained. Hopefully Pandora will work
[Android General] ixian:
It didn't.

However, I'm on 4.4.2 and the method I described above with Tasker (disable BT, wait, connect BT, wait, launch ARU) does work, every time.

I also have BT on normally, so my phone connects the AP3 first before I plug in my Slimport adapter - don't know if that makes a difference.

It's a small inconvenience, mainly because it's another 9 seconds or so of delay before everything gets going, but that's pretty minor in the scheme of things.
[Android General] Area51©:
I didn't know that. I have the European version, we don't have Pandora here. Also don't forget I didn't write the AppRadio app, I only hacked it. While I know quite some things about it, I still don't know every detail.

Or try another kernel / custom rom. Anyway I have reports from people that the stock Nexus 5 works. Kinda weird.

I think they had only one update and the release notes didn't show anything interesting.
[Android General] Area51©:
I have someone reporting it works on a Galaxy note 3 N900A running 4.3 connected to an AR3. There's however also someone else who reports it doesn't hold it's BT connection.
[Android General] bodieism:
ARU works great on my Galaxy Note 3 ( N900V) with Android 4.3 on my AR3.
[Android General] ixian:
On another note,

For those of you who use GravityBox (and you should, it's awesome) but don't pay attention to updates - there have been a couple updates recently, the last on the 12th, and one of the new features is GravityBox now supports shortcut actions for a number of different things - of interest to many ARU users is ImmersiveMode can now be toggled by apps like Tasker.

Via GravityBox you can enabled IM (I use "semi" mode, which gets rid of the nav button bar but keeps the task bar up top) and then using AutoShortcut (free on Play) and Tasker you can toggle it via task.

So now when I plug in my N5, after everything has loaded up, the nav buttons disappear and I get all that space back on the right side of the screen. I set up a task for when I unplug it to return to normal. It's little stuff like this that makes the whole experience worthwhile.
[Android General] ixian:
Back in the days before AppRadio was a thing with Pioneer they came out with some AVIC receivers for the US that had Pandora built in to them - the display didn't stream from the device (iPhone in this case), that was built in, only the audio streamed. You had to use a special Pioneer version of Pandora to communicate with it via the dock cable. That app I think was the precursor to the AppRadio app/concept itself, around 2009-2010.

Fast forward and the iPhone 5 comes out, changes the whole dock concept with lightning and how audio/video is allowed over it, and long story short the Pandora app switched to streaming the audio over BT to the app built in the HU. This is still how Pandora works today with the iPhone 5, even with the AR3. In fact I think this is how Pandora works with Android as well with the "stock" AppRadio app.

When this happened Pandora just combined the Pioneer stuff and mainlined it in to their main app, I assume because the changes weren't that big. Maybe a little over a year ago. So every Pandora app, Android and iOS, has Pioneer-specific code in it that uses BT to stream to the software inside the HU.

Now, with ARU (and maybe the regular AR for Android now? Haven't tried it) this isn't needed because it'll just mirror the app on the screen like all the other apps work and output audio over HDMI. However I can only assume the Pandora app still knows it's connected to a AppRadio HU when ARU starts and - maybe? - initiates a BT handshake of it's own. I don't think it actually streams the audio over BT, just that the app does something in the background.

This would fit with the evidence, because as we already know if you have BT connection issues with ARU either bouncing the BT connection or initiating it another way fixes it but it's really just an assumption on my part and didn't work for me anyway with Pandora (granted, I didn't try it more than once).

For me, the only reliable resolution is to A) Start truck, let phone connect to AR3 BT (about 5 seconds) B) Use tasker to turn off BT, then turn it back on and wait 5 seconds (7 seconds total) and then C) have Tasker start ARU. Doing this works every single time. Add 9-10 seconds to the entire start up process but if there's no other solution I can live with it.

I could try other kernels but the last time I tried Franco's on my N5 my battery life went to hell.
[Android General] Area51©:
There's always the possibility that Pioneer releases a new AppRadio app version that can do some new tricks. I think they have to because a new line of AppRadios is going to be released soon. Hopefully they don't include anything to make it more difficult to hack. Another reason for that is that the current AppRadio app also will have problems with connecting to 4.4.x that they have to fix somehow. They could also fix it by releasing new HU firmware. So we just have to wait and see.