yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] naren@4:
guys m stuck since 3 days.my firmware region is india & actually 3 days ago I accidently flashed other region firmware file(Thailand)

and I realized that my volte is not working so I was searching for volte setting but I couldn't find it...and after that I got a ota update also and I updated too. even after ota update my volte option was not there...so isearched on internet that time I came to know I flashed other region firmware...so then I tried to flash indian version firmware but odin is giving me error

it says

system rev check fail:fused device1: binary0

I tried several times but no success..so I thought first I should flash combination file then firmware file .so I flashed combination file which got successfully flashed .but when I tried indian version firmware file it gave me same error again...:crying::crying::crying::crying::crying: then I thought flashing Thailand version firmware would do but that also givining me same error ,,,,now I have phone with only combination file...idk what should I do please help guys

and thanks in advance please let me know what wrong I did? and how to solve this problem now
[Android Q&A, Help & Troubleshooting] Teddy Lo:
Hi try to flash latest Indian stock firmare if not try with dbt Germany latest version.

https://updato.com/firmware-archive-select-model?record=1EEAC1C142BE11E89F15FA163EE8F90B
[Xiaomi Mi 6 Questions & Answers] painlessuwa:
Recorded videos in snapchat have very low/quiet sound. For example all others apps record volume normal. Could somebody help mi with this issue?

No matter which rom I have, same problem on global stable, xiaomi.eu miui 9/10.
[Xiaomi Mi 6 Questions & Answers] pi4a7a:
Try xiaomi eu rom 8.7.5 I'm 95% sure that problem is not there.
[Android Q&A, Help & Troubleshooting] decentguy49:
Hi,

I am trying to compile LineageOS for a new device, but when i try to compile ROM, i get following error

I think I am missing something
[Android Q&A, Help & Troubleshooting] bunnyy:
Have you installed all the required packages??

sudo apt-get update && sudo apt-get install bc git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk3.0-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev openjdk-8-jre openjdk-8-jdk pngcrush schedtool libxml2 libxml2-utils xsltproc lzop libc6-dev schedtool g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline6-dev gcc-multilib maven tmux screen w3m ncftp adb fastboot repo python default-jdk
[Android Q&A, Help & Troubleshooting] decentguy49:
Hey thanks buddy for reply, yes I had already installed all of these packages
[Android Q&A, Help & Troubleshooting] bunnyy:
I guess something is wrong with packages or repos isn’t synced correctly, resync or reinstall and try.

For packages run the above command.
[Android Q&A, Help & Troubleshooting] decentguy49:
Yes, I guess too, but could not find the solution, I am on Windows 10 with WSL, and installed above mentioned packages multiple times but same and same error
[Android Q&A, Help & Troubleshooting] bunnyy:
While syncing the sources did the syncing failed at any time?
[Android Q&A, Help & Troubleshooting] decentguy49:
nope
[Android Q&A, Help & Troubleshooting] bunnyy:
I would suggest you to unhide files and folders, and delete all the folders except .repo folder and resync the repos > repo sync —force-broken —force-sync

It will take hardly 10-15 mins.
[Android Q&A, Help & Troubleshooting] decentguy49:
OK let me give it a try
[Android Q&A, Help & Troubleshooting] ArcherTanu:
WSL dats cause the actual problem
[Paid Software Announcement and Discussion] SLAB_8002:
VERY interested in the progress on this, Emil. For one, this would allow me to charge my Samsung using the Quick Charge adapter in my cigarette lighter, rather than relying on the anemic power output of my truck's USB port. Or if I want to get fancy, I could install a wireless charger and use that.

Thanks for all of your hard work.
[Paid Software Announcement and Discussion] Jackos:
Hi Emil,

What about original headunits that have integrated Wifi, but do not have Wireless Android Auto enabled? Is this something that you could enable to work as well?
[Paid Software Announcement and Discussion] jeromeo01:
Another great idea.

Definitely interested..

thanks.
[Paid Software Announcement and Discussion] moralesnery:
I thought of you instantly when I saw this thread on Reddit, but didn't imagine that you were the creator.

Congratulations and thanks again!
[Paid Software Announcement and Discussion] Emil Borconi:
Sadly no, that will require altering the firmware on the car and each unit is different. It is possible that those unit might get an official update for Wifi support, but although I'm not 100% certain, I think it will only work with 5Ghz Wifi network, so if you're unit is 2.4Ghz only probably it won't get the update.

If I will ever have times (something which I never have :D ) I might look into adding this to some units out there, but that is so far down the line, that realistically speaking probably will never happen.
[Paid Software Announcement and Discussion] lukesan:
Very interesting idea. I have a couple of these android sticks here and maybe even a modern mediabox that might offfer a bit more performance. I guess you want to power it from the USB socket from the car. Not sure how much current you can draw from these ports.

What is the pc below the radio doing?
[Paid Software Announcement and Discussion] Haxxa:
This is awesome news! looking forward to progress!
[Paid Software Announcement and Discussion] Emil Borconi:
Performance is not really needed the slowest device should work just fine. You can theoretically disable all processes and apps, so even a device with 512Mb ram will do.

Indeed I'm taking power directly from the headunit/car in the demo I use an MK808B powered directly from the Sony XAV-100 which only provides like 500mA, so should do (especially if you kill all apps which can use CPU and turn of everything but Wifi on the stick).

The PC is the power source :D, to lazy to make a separate power switch so I powered the Sony from my PSU directly :)
[Paid Software Announcement and Discussion] lukesan:
Ok, got the Mk802, 808 etc etc so I might finally have a good destination for those. Lazy and working is a combo that also works. :good:

Wondering if there is like a beta test thing, or is it complex to get it up and running? I'm pretty sure a lot of people are seriously interested in this. It would offer the freedom of charging your phone the proper way.
[Paid Software Announcement and Discussion] Emil Borconi:
Not that far away, the only problem this will be braking my fix for obd2aa, so I need to make the 2 things compatible. I also need to do find a way to set the defaults without plugging into the car, you won't really be able to plug in a HDMI screen when you plug it in the car.

I've started fully rewriting my HUR app moving all the code from C to Java, once that is done and I fix other issues with obd2aa I will be pushing this forward

Ideally I will like to have a release available before I go on holiday on the 17th of July but not sure I will manage to do it all by that time.
[Paid Software Announcement and Discussion] lukesan:
Yup, sounds like a bit of an issue that you can't really test since we'll have no screen. Well maybe a sort of a config txt file. Most of us will have to clear the thing on a tv screen or monitor anyway because a lot of crap is installed on these devices. I guess it makes sense to have something that can show if the stick is getting data from the phone. There is always a way.
[Paid Software Announcement and Discussion] Gunde:
No offense to obd2aa, I use it daily, but I'd be interested in this even without it :)
[Paid Software Announcement and Discussion] midterm_2003:
Where is the APK to give it a try ?
[Paid Software Announcement and Discussion] stewtang:
I'm interested, I have a Tahoe with AA and an Android stick. Your project sounds great, can't wait!!
[Paid Software Announcement and Discussion] Emil Borconi:
You should have it by the 17th of July, I'm just in the middle of rewriting another app, once I completed that I will focus on this one. I'm going away on a holiday on the 17th of July so I'm really pushing to have it out there by then.
[Paid Software Announcement and Discussion] RebelUA:
Having the same XAV-AX100, and I was pissed off when I heard that in order to use wireless android auto it needs to be replaced.

Great idea, can`t wait to test it.
[Paid Software Announcement and Discussion] jeromeo01:
Do you think it can works also with windows stick.? Or only android?
[Paid Software Announcement and Discussion] Emil Borconi:
Never heard of a windows stick... Any link/reference? In theory it can work with almost anything but since Android Auto need Open Accessory, Android device will be the preferred option, having all the classes already available.
[Paid Software Announcement and Discussion] jeromeo01:
Its exactly the same.

Mini PC stick, but using windows 10 as OS.

Just a little bit more expensive. But I already have one to try. [emoji6]

https://www.windowscentral.com/best-stick-pcs
[Paid Software Announcement and Discussion] bggold:
I will test my 12000 ma Samsung in a little bit and let you know if it switches off or not.
[Paid Software Announcement and Discussion] Gunde:
Tested with a Oneplus 3T as master and an old Galaxy S4 running custom Oreo ROM as slave. Works fine (even with MTP as USB mode) although music stutters every 10-15 seconds. I'll try a more powerful device as a slave to see if I can eliminate the lag. Great work as usual Emil - you are truly the MVP of Android Auto:D
[Paid Software Announcement and Discussion] newtonfb:
So I'm a bit confused...Everytime I try to turn on my hotspot on my pixel 2 it says to contact my service provider as I don't have that service. How do I get around that?
[Paid Software Announcement and Discussion] bggold:
So the Samsung does not power off the output when charging but it does interrupt the output for a second.

I wonder what a y cable would do. Plug one end into vehicle, other into battery pack and the other into the stick. I have a feeling it might jack up the head unit possibility with a message about unsupported USB device.

Might be worth a try.

I will be getting a stick Friday so I will do some power tests this weekend and let you know my findings.
[Paid Software Announcement and Discussion] bggold:
Take a look around for a raspberry pi ups. I did a quick search and only found a couple with short battery life. Maybe there is something out there with a longer life. They seem to have a USB input for charging and aux USB output power.

Plug that into the power port of the stick and otg port to head unit.

Idea?
[Paid Software Announcement and Discussion] lukesan:
Yup, I have a couple of pcb's on order but I'm afraid they went missing in action both have been on a boat for 2 months now.

Some 18650 cells would do the trick. Lets say 3 and you will have around 5000mAh. (conversion losses etc) or 5Amps for 1 hour. If I measured 0.13 Amp that the MK808 draws that would mean a standby time of about 38 hours. Thinking about it that is not a lot. I have no idea about the charge rate of these boards but I guess you would be driving for 3 hours to get them fully charged up again. So that is a no go.

On the other hand if you can directly connect it to the car battery via a DC/DC converter .. lets calculate. I think I saw a 60Ah battery in my wifes car. I'll take half of that capacity since you want to start your car at any time. 30Ah and 0.13A makes 230 hours so that is a different story. The only thing that bothers me a bit is that the input of the car radio, the usb, will also get 5V even when switched off.
[Paid Software Announcement and Discussion] jeromeo01:
Unfortunately it happens almost everytime I disconnect the link. And I cannot force stop Google play service. I have to restart the master phone.
[Paid Software Announcement and Discussion] bggold:
Didnyou check the output of the stick that goes to the head unit? Is there power? I would think that the two ports would be isolated or a diode in place to prevent back flow of current. Solution to that is put a diode in series with the 5v from stick to head unit to prevent it from feeding back into the car.

One other possible solution and I wouldn't be able to test until this weekend is the take a USB ext cable and cut the +5v from stick to head unit and see if would even work. Power to the stick is still being supplied by the other USB port. If that works then putting in .25 amp fuse to the fuse box on an always on terminal would do it.
[Paid Software Announcement and Discussion] cameron1292:
S4 might be too weak. I've used a op3 as slave and it works. I get intermittent stutters though too. Also waze lags from time to time. The op3 should be more than powerful enough so I'm assuming it's the apps fault. Works great for an alpha build though.
[Paid Software Announcement and Discussion] lukesan:
I need to check that but .. China design... lets say that I'm 99% sure it will be the same 5V positive line. Not sure about the diode since it would not add anything if powered indirectly via the battery of the car.

The other solution seems like the one that should work but with caution. If you cut the 5V positive line to the USB input you still have GND and the 2 data lines which should fluctuate between 0 and 1 digitally on the analogue acceptable level. This should work, I see no reason why not. But then again you keep on sending 0 and 1's (meaning voltage) on the data lines of the USB input even with the radio off. I think it cannot damage the radio but I am not 100% sure.

The fuse is a must have indeed. Most will test and forget but personally I have gone past that stage. Safety is number 1 in cars.

As a dc/dc converter you could just use a standard phone charger usb thing. Most good ones have fuses in them and the efficiency is really good. In my VW I have to change the position of a fuse to have permanent 12V on the cigarette plug.
[Paid Software Announcement and Discussion] newtonfb:
So no way to do this without hotspot? My carrier doesn't allow me to turn on hotspot on my Pixel.
[Paid Software Announcement and Discussion] ZacJ:
Stutters

Worked for me thanks. I get intermittent stutters too, but hoping that those will be worked out in the final implementation. Now I just need some help setting up the taker rules for turning wifi off and hotspot on when connected to my car Bluetooth...
[Paid Software Announcement and Discussion] zsamson:
So I still can't get the Android TV stick to work. Disabled Google Play Services, even tried the non root method. I never even get the option to select AA Gateway when I plug it back into the TV(Power supply was connected the entire process).

I did try this using my Pixel XL (Running DP4) and used a Moto Z Force as the slave. Works pretty well for the couple minutes I tried it out. I really would like to get this going on the Android TV stick so I don't have to leave a phone out in the heat/cold or wait for it to boot up all the time. I'm hoping with the next update from [MENTION=842765]Emil Borconi[/MENTION] will be able to fix this or at least identify why the Android TV stick isn't working. Definitely works pretty well using a spare phone though so congrats on getting this working it's pretty cool. :cool:

On another note does anyone know if leaving the AA head unit server running all day on the master device will drain the battery?
[Paid Software Announcement and Discussion] bggold:
Try automate it has blocks much easier than tasker.

---------- Post added at 12:13 AM ---------- Previous post was at 12:11 AM ----------

Agree saftey #1
[Paid Software Announcement and Discussion] lyrical1278:
All the power comes from the master device.. all the slave seems to do is handle the transfer..

I use a Moto G4 as a slave (Pixel 2 XL as a master)and AA flies like it did when my Pixel was direct connected to my radio
[Paid Software Announcement and Discussion] bggold:
I actually found it to be faster. I would get lag at times. System_server and kswap would have high CPU. No longer seems to be the issue.
[Paid Software Announcement and Discussion] lyrical1278:
I will say it does seem faster through wireless than through USB...

I'm just happy with this method. Got hit with the AA bug connecting through USB on my P2XL... So this is a dream come true for me...
[Paid Software Announcement and Discussion] SLAB_8002:
It's under Settings > USB. Like [MENTION=8622479]Salkod[/MENTION] said in his post, it resets every time I reboot the stick. I'm wondering if it's an Android 5.1 issue, since I have a MK809iv with Lollipop. It didn't sound like Emil had the same issue with his MK802.
[Paid Software Announcement and Discussion] Miamicane99:
Same. Pretty much every time which requires me to reboot the phone and sometimes I have to clear the defaults from slave (Nexus 7) and restart the setup basically. This has a lot of promise and works great once it's running but it's a non-starter if we can't get around this. I understand it's an alpha build so I have faith.
[Paid Software Announcement and Discussion] bggold:
I thought of an idea I will test tomorrow. I have an old standalone hotspot/mifi. I will see if the wifi portion will still work with no sim card. If it does I will have the master and slave connect to it and see if it works. If it does in am sure they are a dime a dozen used.

Will report back tomorrow.
[Paid Software Announcement and Discussion] naqand:
I may have missed the battery optimization thing after numerous reinstallations of aagateway... Oops!

Anyway, an android shortcut for just starting the aagateway service without opening the gui would be awesome! It allows for monitoring by Tasker and starting the service if necessary without user interaction or display unlock.

---------- Post added at 10:07 AM ---------- Previous post was at 10:04 AM ----------

Probably for the same reason as me... The master loses mobile data when connecting to the slave's hotspot.

I read something about wifi direct though, which sounds like the best solution for this. Only I couldn't find information on how to set it up for aagateway. Could it work? If yes, how?
[Paid Software Announcement and Discussion] Marshy33:
Managed to get it working this morning using a macrodroid process on the master which reads the HUR IP gateway and then uses this in another action that was shared for tasker previously to launch android auto.

On my 20 min drive to work, Spotify cut out several times, and would only start playing again if I selected a different app on AA on the headunit. As soon as I pressed the other app icon the music would start again.

Will try again later using HUR app and see if still get the audio issues.
[Paid Software Announcement and Discussion] Emil Borconi:
The problem is that if you're master is not connected to a Wifi you can't use the method build into AA to start the projection service as that will check if the phone is connected to a Wifi, so Wifi DIrect won't work, which means you will need to have the headunit server running. The problem with the headunit server is that it can get stuck and that means you need to reboot the phone, hence connecting master to slave hotspot is preferred. Normally if you open Settings -> Wifi -> Wifi Preferences there should be an option to "Auto switch to mobile data" which will make sure that the phone keeps using mobile data even when you are connected to a Wifi. This option is only available starting with Android Pie though.
[Paid Software Announcement and Discussion] Zece-88:
Can someone tell me the max DPI on a Pioneer Avic F88dab ? Thx
[Paid Software Announcement and Discussion] naqand:
I understand... Having it set up without the headunit server would be great indeed.

The setting you mentioned works differently on Samsung though, it never lets both networks be connected at the same time. However, there is a developer setting that does exactly that!

So I'll be testing it tonight, and let you know.

Thanks for your awesome support!
[Paid Software Announcement and Discussion] martin.armstrong:
[MENTION=842765]Emil Borconi[/MENTION]

I have connected my slave phone to my laptop and using ifconfig inside adb shell, in the output is an inet address in the wlan0 section which I presume is the ip address of my slave phone hotspot but this changes every time AAGateway restarts the hotspot.

Therefore I need to obtain this ip address every time I run my task. I have tried inserting the following java code in a tasker task as a java scriptlet as per the example in the java help and with your suggested modification (I assume the ip address should afterwards then be in the variable %enabled?):

Variable Set, %service, wifi

Java Function, wiman = CONTEXT.getSystemService( %service )

Java Function, %enabled = wiman.getDhcpInfo()

but it brings a java error 'unexpected identifier', seemingly on the first line. Any suggestions about what I have done wrong?
[Paid Software Announcement and Discussion] Marshy33:
This gives me the correct IP when connected to the slave hotspot....

ip route list match 0 table all scope global | awk 'NR==1{print $3}'

I think we are both attempting the same thing, but I'm using macrodroid and you are tasker.

I managed to read the IP this morning from the slave and then use that to launch AA in another task successfully. But then had audio connection issues.
[Paid Software Announcement and Discussion] Emil Borconi:
One thing to consider if you can't get the connection running at all, try turning off the USB debugging on the slave (it might cause a double start) but this is car and phone depended....
[Paid Software Announcement and Discussion] fma965:
Hmm, i will have to try it this way and see if it also works for me, i've not had time to get a bug report yet, mostly because it's cold and i don't want to sit in my car for a bit in the cold ;)
[Paid Software Announcement and Discussion] martin.armstrong:
the thing is I have macdroid but have hardly used it but I have a tasker task to replace wifi launcher because wifi launcher does not trigger the connection always and I need to get the ip of the slave hotspot on my phone, which unlike my MK809V stick changes each time, into a variable in tasker and use this to provide the ip address for my task. I'm not sure how to execute your command in tasker, but I will look further after lunch.
[Paid Software Announcement and Discussion] Marshy33:
https://android.stackexchange.com/questions/170719/tasker-to-run-scripts-in-terminal-shell

This looks like what you may need.
[Paid Software Announcement and Discussion] Emil Borconi:
Cold where :))) LOL

Come here... -10 or even -16 :)
[Paid Software Announcement and Discussion] Marshy33:
Just tried with HUR app on master and the audio is also stopping. Spotify shows the track as playing on the headunit but no sound.

Finally having success with both case 1 and 3 though!

So big thanks to Emil for this!
[Paid Software Announcement and Discussion] martin.armstrong:
that works, I will try it in the car later to see if it has the desired result, thanks for your help

---------- Post added at 12:58 PM ---------- Previous post was at 12:33 PM ----------

sunny and +11 here in southern germany!

---------- Post added at 01:57 PM ---------- Previous post was at 12:58 PM ----------

[MENTION=7106033]Marshy33[/MENTION]

tried it in car and it works with slave phone but not with stick but that is probably because the command for getting the ip address is different. I have also triggered the task when the master connects to the bluetooth as well as when the master connects to the slave hotspot because the triggering via the wifi connection is not very reliable and tends to not work

any more after 2 attempts. Now I can trigger the AA connection by toggling the master bluetooth as well.
[Paid Software Announcement and Discussion] JohnnyCanuck:
I have not been able to get those to work. I did just change the ROM so I might try a gain, but I wasn't able to get it working under either of those circumstances.