Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch Screen stopped working after Google Play Service updated #352

Closed
Stargazzer opened this issue Jun 21, 2019 · 166 comments
Closed

Touch Screen stopped working after Google Play Service updated #352

Stargazzer opened this issue Jun 21, 2019 · 166 comments
Labels
crankshaft-ng New upcoming reworked system

Comments

@Stargazzer
Copy link

If you need support: Please post on https://www.reddit.com/r/crankshaft/ as this is a bug tracker, not a support forum.

Note: Reporting issues not based on official published builds will be closed without any comment.

  • What phone do you have?

  • What OS version?

  • What crankshaft version?

  • Steps to reproduce the bug, if you're planning to report a bug. Please indicate whether the bug is always repoducible.

  • Please provide any further information that you might find helpful if available.

  • Starting with pre4: Boot into dev mode (can be selected in settings).
    Reproduce the possible bug. Create the debug logs by pushing the grey button on bottom of screen.
    Add the created file (/boot/debug.zip) to the issue.

    Warning: if you have configured wifi passwords they will be blanked by script during creation.
    We can't make absolutly sure you passwords are removed so do a personal check of the files inside the zip.

@Stargazzer
Copy link
Author

I have a raspberry pi3 b+ and the official touchscreen 7" display which worked flawlessly until the point where touchscreen works only in the chrankshaft menu but not in Android Auto like it did until this point.

Everything worked fine until Google Play Services updated.

I have run into a Catch-22.

I removed the Google Play Service updates successfully.

Android Auto won't work unless Google Play Services is updated.

Updated Google Play Services makes my touch screen not work in Android Auto.

Phone: Umidigi Z2 Pro

Android Version: 8.1.0

Build Number: UMIDIGI_Z2_PRO_V1.020180823

Raspberry Pi 3+ with 7" Touch Screen

CrankShaft: Crankshaft OpenCarOS NG Alpha-5 2019-06-08

@Novocaine85
Copy link

Same identical issue on my Galaxy Note 8 EU version.

Android version: 9.0

Build number: PPR1.180610.011.hadesRom_OneUI_v7.0

Raspberry Pi 3+ with 7" Touch Screen

CrankShaft: Crankshaft OpenCarOS NG Alpha-5 2019-06-08

@JoelBrenstrum
Copy link

JoelBrenstrum commented Jun 21, 2019

Same issue on my OnePlus 5T

Android version: 9.0

Raspberry Pi 3+ with generic 7" screen and digitiser ("USB_TouchController (eGalax TouchScreen)")

X11: True

CrankShaft: Crankshaft OpenCarOS NG Alpha-5 2019-06-08

EDIT: I've attached the debug.zip
debug.zip

@Getuwer
Copy link

Getuwer commented Jun 22, 2019

I got the same issue on my Asus X00QD

Android version: 9.0

Raspberry Pi 3+ with 7" Touch Screen SKU:Z-0017

Crankshaft OpenCarOS NG Alpha-4 2019-03-03
Crankshaft OpenCarOS NG Alpha-5 2019-06-08

Crankshaft : both not working. I was using the Alpha-4 wich worked using touchscreen on Android Auto and crankshaft .
One day Android Auto touchscreen was not responding but touchscreen on crankshaft worked and playing Music with Spotify on Android Auto by starting Spotify via Android (smartphone) worked too.

I updated to Alpha-5 and this has had no changes.

debug.zip

@hawkeyexp hawkeyexp added crankshaft-ng New upcoming reworked system wip Work in progress labels Jun 23, 2019
@hawkeyexp
Copy link
Collaborator

needs some debug what was changed by play services....

@chucktastic
Copy link

the f1xpl/aasdk repository had an issue report a few days ago stating the sdk would no longer work with android auto due to a protocol buffer incompatibility. Something about AA using proto2 and aasdk using proto3 and play services starting to be more strict about the data it receives. Issue reports have been disabled on f1xpl/aasdk for some reason and the debug for that issue is no longer visible.

Hopefully that helps a little.

@Getuwer
Copy link

Getuwer commented Jun 23, 2019

I tryed to do debug files

I uninstalled Play Services updates on my phone and i catch some apk from apkmirror.com

I first installed Google Play Services 17.4.55 (100400-248795830) version, i plug my phone to my rpi and Android Auto started and touch screen was working , i then using touchscreen returning to crankshaft-ng menu and do debug file using the button debug while usb still plug

Then installed Google Play Services 17.5.28 (100400-252519129) version, i plug my phone to my rpi and Android Auto started and touch screen was working , i then using touchscreen returning to crankshaft-ng menu and do debug file using the button debug while usb still plug

Then installed Google Play Services 17.7.84 (100400-252519124) version, i plug my phone to my rpi and Android Auto started but touch screen was not working anymore in AA so i cannot reach crankshaft-ng menu with my touchscreen so i unplugged my phone , launched a debug and pluged my phone right after , AA started and debug was still in progress .
So i got a debug file but it should not be really good. I should do my debug using ssh when my phone is plugged but i do not now how to debug via ssh.

debug_working_17.4.55.zip
debug_working_17.5.28.zip
debug_not_working_17.7.84.zip

@ishan747
Copy link

Same identical issue on my Galaxy S8 Qualcomm

Android version: 9.0

Raspberry Pi 3 B+ with Other 7" touchscreen

CrankShaft: Crankshaft OpenCarOS NG Alpha-5 2019-06-08

@iofirag
Copy link

iofirag commented Jun 25, 2019

Same identical issue on my Galaxy S7

Android version: 7.0

Raspberry Pi 3 B with 7" touchscreen

CrankShaft: 2019-03-03-crankshaft-ng-299C16C.zip
Google Play Services version 17.7.85

Touchscreen + mouse is working fine in the crankshaft menu's. but both stops working when connecting Phone.

@ulido
Copy link

ulido commented Jun 26, 2019

Same issue with my Nokia 7 Plus

Android version: 9

RPi 3 A+ with official 7" touchscreen

CrankShaft latest
Android Auto version 4.3.591854
Google Play Services version 17.7.85

@xxxjajoxxx
Copy link

Same issue with my Xiaomi Mi6

Android version: 8.0

RPi 3 B+ with official 7" touchscreen

CrankShaft latest
Android Auto version 4.1.590944
Google Play Services version 17.7.85 (040408-253824076)

@eye2web
Copy link

eye2web commented Jun 26, 2019

Same issue with Huawei mate 20 pro
Android version: 9.0

RPi 3 B+ with 10.1" Waveshare touchscreen

CrankShaft latest
Android auto 4.4.592344
Google play services 17.7.85

Touchscreen is working in the crankshaft menu's. And stops working when connecting Phone.

@tompeel
Copy link

tompeel commented Jun 27, 2019

Same Issue
Pixel 2XL
Android Q beta Beta 4
GPS - 17.7.85 (100400-253824076)
AA - 4.3.591854

@xxxjajoxxx
Copy link

downgraded google play services to 17.1.22 and touchscreen went crazy random touches all over the android auto app works fine in crankshaft

@josemaes
Copy link

Same issue.
Samsung S8+ Android 9

CrankShaft: 2019-03-03-crankshaft-ng-299C16C.zip

7" screen + USB touch panel

@KK1423
Copy link

KK1423 commented Jun 27, 2019

I am experiencing the same issue.

Phone: Oneplus 6T

Crankshaft: May 2018

@KK1423
Copy link

KK1423 commented Jun 27, 2019

A workaround is to open the application settings for Google Play Services and uninstalling all updates. Maybe a newer apk could be sideloaded, but the factory version is all that I tested.

@Richard6360
Copy link

Richard6360 commented Jun 28, 2019 via email

@gcharlie
Copy link

I'll pull a debug later tonight, but I just got the update on my Google pixel 3 and same is happening to me.
Additionally I noticed that Android auto had also stopped responding to gpio mapped button commands

@ashwaganda15
Copy link

Same.
Samsung S9+
Android 9
7" touchscreen
crankshaft 4 8 18

Work around is to use "OK Google" and tell AA to play the music you want.

now to reflash crankshaft as I figured my sd was corrupt.

Thanks for the info everyone- I'll wait for someone smarter to post the fix...hopefully.

@SonofAdam
Copy link

Same here, Pixel XL after google play services update touch screen stopped working .

@atjohnson23
Copy link

Same issue:

Phone - Samsung S9 Plus on Android 9.0
CrankShaft - latest
Android auto - 4.4.592344
Google play services - 17.7.85

Definitively a problem with google play services update it seems. I will downgrade and report results.

@tompeel
Copy link

tompeel commented Jul 1, 2019

Im having issues downgrading my play services, with out formatting the phone its basically not going to happen so cant test this temporary fix.
Any progress on a fix?

@josemaes
Copy link

josemaes commented Jul 1, 2019

Im having issues downgrading my play services, with out formatting the phone its basically not going to happen so cant test this temporary fix.
Any progress on a fix?

You have to disable "locate my phone" and google pay in the device administrator apps. Then you can remove the app updates but, even I disabled automatic updates and offline data for the app, it updates again after some hours. It is a very temporary fix.

@rhatfield-bushel
Copy link

rhatfield-bushel commented Jul 2, 2019

I got this working for the time, so I figured I'd share.

First you'll need to download the google play services APK version for your phone, here's the guide I used (pay attention to the sub version numbers):
https://itechify.com/2018/01/12/install-right-google-play-services-android-device/
And the apk downloads link:
https://google-play-services.en.uptodown.com/android/versions

I tried 17.7.81 but that didn't work, I ended up using 17.5.26.
Here's the settings I changed:

  • Settings > Google Services > Location turn off location entirely
  • Settings > Google Services > Security > Find my device turn off entirely
  • Settings > Apps > App Info > Google Play Services first disable, then force stop
  • Settings > Apps > App Info > Google Play Services > Storage > Manage Space Clear all data, then on the previous screen Clear Cache

At this point your phone will likely be freaking out with tons of notifications. I'd disable all sounds before you start, it gets really annoying with it buzzing every 2 seconds.

Enable the app again, and install the APK you downloaded. If disable worked, it should install fine.

Go to Google Store (before or after install) and disable auto update. I think side loading an APK might prevent auto update anyways.

You'll need to re-enable all location services, but just open the Android Auto app and let it do it's thing. This works for me so far, we'll see if it tries to update itself anyways.

I got this working on the 7" touchscreen, Raspberry Pi 3 B, standard release SD image, and a Moto Z2 Force phone.

@CodeFoodPixels
Copy link

CodeFoodPixels commented Jul 2, 2019

Just as a warning, rolling back google play services may break other apps or stop them from working correctly.

@crstmkt
Copy link

crstmkt commented Jul 25, 2019

Hey @modemlamer
just tried to contact you but somehow this didn't work. Would like to get the zipped image from you. Could you please provide the download link?

@modemlamer
Copy link

--> [email protected]

@alextytan
Copy link

Cheers, mate!

@miro279
Copy link

miro279 commented Jul 30, 2019

I have the greatest respect for the devs who develop open source projects and crankshaft in particular. Still this bug has been around for 5 weeks now and makes the software unusable, also a fix is around for those who are willing to dig deeper..
I can completlly understand if live does not allow to put loads of time in projects for free!
Anyways I think a some point people deserve to know if this project has a future or not, not meaning this disrespectful at all.

@Maju3
Copy link

Maju3 commented Jul 30, 2019

@miro279 I agree withyou.
Sure that normal life of the developer has priority but a simple statement about the future of crankshaft would be fair.
I mean just 1 minute to write here should be possible or?

@modemlamer
Copy link

I'm sure he said that already in another thread. This project isn't dead. Just wait and be patient. There are guides and files to get it running. And yes, u have to digg into it.
Turnkey solutions often are not 4 free.
There is also a stepByStep Guide u have just to follow. If this guide is to complex for u, OK, just wait or search for another project.

@Maju3
Copy link

Maju3 commented Jul 30, 2019

Don"t get me wrong but I think the lack of information about crankshafts future development is one if the reason why many people switch to the paid openauto pro version.
And if I remember right was the general idea of Huan Trong and Hawkeyexp a software project what needs no tinkering and linux knowledge.

@gregorhollmig
Copy link

@Maju3 @miro279 problem is, this is a currently a very small group of developers that cannot be too active. @htruong said himself in one of the open pull requests, he cannot handle it. It would be great to open this project to a more broad dev community with the ability to contribute.
Some maintainers are required and some kind of roadmap what would be important goals (e.g. automatic builds for RPI systems, Theming, extension of sensor support, better documentation and website ... so many things).

@Maju3
Copy link

Maju3 commented Jul 30, 2019

Sure.
It is just that Hawkeyexp is too quiet here in my opinion.
He is the main developer and his latest comment about this issue is 26 days old.
Even there is allready a solution for this issue.
So I wonder why he do not include this solution into his build and release a new crankshaft version?

@Maju3
Copy link

Maju3 commented Jul 30, 2019

I really hate to say this but it seems to me that if you want quick bug fixes you need to have linux skills or you need to pay for openauto pro.

@modemlamer
Copy link

Come'on it's summertime, he's maybe on Holiday, or maybe moving elsewhere...
Beeing offline a month is not that thing..

@modemlamer
Copy link

Android and raspbian are based in Linux, so yes u have to have decent Linux skills... Otherwise you better pay for a caraudio that has this Feature built in...

@Maju3
Copy link

Maju3 commented Jul 30, 2019

Or maybe he lost interrest in this and thats it.
Time will tell.

@Maju3
Copy link

Maju3 commented Jul 30, 2019

@modemlamer
You are right that android and raspian are based on linux but that does not mean that I need linux skills to use it.
Just think about libreelec or kodi.
Everyone who is able to burn an image to a sd card can use it, right ;)
And exactly this point was the reason why I like crankshaft.
Just at the moment it is useless without digging deeper.

@gcharlie
Copy link

@Maju3 is bring up some good points. As someone who's been following this project in mostly a passive manner, I know not to expect devs to get every bug squashed immidiately, thats not realistic and it's not fair to them.
But with that said, when a month goes by with not a single word on a bug thats breaking functionality thats core to the project thats not great.
It's just a matter of managing expectations.
I think if we got an update along the lines of "Hey guys I know this bug is breaking things bad, but I'm on vacation and we're not going to be able to get a solid fix in for at least 2 months" or "...hey guys sorry but I think it makes more sense in the long run to tackle this after the next big Android Auto update (because thats probably going to break things even harder)".
I'd be perfectly happy with that and I think most other folks would be too.

@Maju3
Copy link

Maju3 commented Jul 30, 2019

@gcharlie
Absolutely correct!
I do not expect that a bug can be fixed in one or two days.
But I think it would be only fair to let people know what the current state of crankshaft is.
Like you say something like " guys i know that this bug makes crankshaft nearly useless but these days i am busy with other things....stay tuned..."

@abraha2d
Copy link
Member

From what I've heard @htruong and @hawkeyexp are both somewhat busy with life. I've signed on to help maintain this project. Still waiting on write access to the repos, but hopefully we'll have a official build out soon.

@htruong
Copy link
Member

htruong commented Aug 4, 2019

@abraha2d You now have access to the repos :) Thank you for offering help!

@abraha2d
Copy link
Member

abraha2d commented Aug 8, 2019

Ok everyone, thanks for being patient. OTA updates are now available with the latest fixes!

If your Raspberry Pi running Crankshaft-NG is connected to the internet, you should see "Update available!" in the top-right corner of the screen. Press it, and then press "Update OpenAuto" to get the fixes.

(Also, fyi Crankshaft-NG still works with the new Android Auto interface, which is good!)

@abraha2d abraha2d closed this as completed Aug 8, 2019
@Stargazzer
Copy link
Author

Stargazzer commented Aug 8, 2019 via email

@eduardofilo
Copy link

eduardofilo commented Aug 8, 2019

Kevin, That is great news, now will this be the only way to update in the future? Or will there still be the file to download to flash to sdcard option? Thanks, Stargazzer77

Kevis is also preparing a release:

https://github.com/opencardev/crankshaft/releases/tag/csng-alpha5.1

@abraha2d
Copy link
Member

abraha2d commented Aug 9, 2019

@Stargazzer The plan is to release Alpha5.1 with the updates baked in. It's out here: https://github.com/opencardev/crankshaft/releases/tag/csng-alpha5.1

I haven't had the time to flash it to an sdcard and test it yet, though. In theory it should work, but it's my first time dealing with the crankshaft build system, and I'm not sure whether I've messed anything up.

@Bishamon1987
Copy link

Bishamon1987 commented Aug 9, 2019 via email

@abraha2d abraha2d removed the wip Work in progress label Aug 9, 2019
@Mandrew1444
Copy link

I will test, give me around an hour

@Mandrew1444
Copy link

Can confirm, the update fixed the touchscreen in open auto for me. Essential PH1

@abraha2d
Copy link
Member

Personally tested Alpha 5.1, and it seems to be working fine (at least USB mode, hardware incompatibility prevents me from testing WiFi mode).

For those of you having issues with openauto crashing in X11 mode, see #366. Specifically this comment.

@Ayybeeshafi
Copy link

I got this working for the time, so I figured I'd share.

First you'll need to download the google play services APK version for your phone, here's the guide I used (pay attention to the sub version numbers):
https://itechify.com/2018/01/12/install-right-google-play-services-android-device/
And the apk downloads link:
https://google-play-services.en.uptodown.com/android/versions

I tried 17.7.81 but that didn't work, I ended up using 17.5.26.
Here's the settings I changed:

  • Settings > Google Services > Location turn off location entirely
  • Settings > Google Services > Security > Find my device turn off entirely
  • Settings > Apps > App Info > Google Play Services first disable, then force stop
  • Settings > Apps > App Info > Google Play Services > Storage > Manage Space Clear all data, then on the previous screen Clear Cache

At this point your phone will likely be freaking out with tons of notifications. I'd disable all sounds before you start, it gets really annoying with it buzzing every 2 seconds.

Enable the app again, and install the APK you downloaded. If disable worked, it should install fine.

Go to Google Store (before or after install) and disable auto update. I think side loading an APK might prevent auto update anyways.

You'll need to re-enable all location services, but just open the Android Auto app and let it do it's thing. This works for me so far, we'll see if it tries to update itself anyways.

I got this working on the 7" touchscreen, Raspberry Pi 3 B, standard release SD image, and a Moto Z2 Force phone.

This seemed to work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crankshaft-ng New upcoming reworked system
Projects
None yet
Development

Successfully merging a pull request may close this issue.