GloDroid / glodroid_manifest

Android port that aims to bring both user- and developer-friendly experience in using AOSP with a set of single-board computers (SBC), phones and other devices.
471 stars 67 forks source link

adb sideload not working #89

Closed NO-ob closed 4 years ago

NO-ob commented 4 years ago

Hi thankyou for your work on the rom, I think adb sideload is broken on the 0.5.0 build. I can see the device with adb devices but app sideloading doesn't work

Steps:

When I try to sideload I get the closed outputs I posted below. I think it is just sideload as adb shell seems to be working okay and also running an app in debug mode via android studio seems to work. I have tried sideloading a few different apks with the same result. Sideloading works on my oneplus 3 as I tried that also to confirm so I think adb on my system works fine

adb devices

List of devices attached
92c0b5ba2b9d3d87    device

adb sideload Term.apk

adb: sideload connection failed: closed
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: closed

I thought it was a udev issue at first so I reinstalled android-udev which had the same result. I also tried creating a custom udev rule as specified on the arch wiki https://wiki.archlinux.org/index.php/Android_Debug_Bridge but that also didn't change anything

/etc/udev/rules.d/51-android.rules

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0660", GROUP="adbusers"
SUBSYSTEM=="usb",ATTR{idVendor}=="18d1",ATTR{idProduct}=="4ee7",SYMLINK+="android_adb"
SUBSYSTEM=="usb",ATTR{idVendor}=="18d1",ATTR{idProduct}=="4ee7",SYMLINK+="android_fastboot"
rsglobal commented 4 years ago

@NO-ob ,

Hi, adb works for me in most of the cases. If only sideload command is broken, please change the description. Also please describe steps to reproduce in more details.

NO-ob commented 4 years ago

@NO-ob ,

Hi, adb works for me in most of the cases. If only sideload command is broken, please change the description. Also please describe steps to reproduce in more details.

Hi thanks for responding. Turns out it is just adb sideload I have updated the issue

rsglobal commented 4 years ago

Are you sure sideload is a right command? Is seems you have to use adb install: https://stackoverflow.com/questions/7076240/install-an-apk-file-from-command-prompt

NO-ob commented 4 years ago

Are you sure sideload is a right command? Is seems you have to use adb install: https://stackoverflow.com/questions/7076240/install-an-apk-file-from-command-prompt

Oh right i'm an idiot lmao, sorry for wasting your time

edbock commented 3 years ago

Don't feel bad, there are a lot of us idiots out there. I made the same mistake. Thank you for this issue. It helped me.

AntiGamerPlayzz commented 1 year ago

Are you sure sideload is a right command? Is seems you have to use adb install: https://stackoverflow.com/questions/7076240/install-an-apk-file-from-command-prompt

Oh right i'm an idiot lmao, sorry for wasting your time

lmao is tiktok tiktok is cringe

felipegbot commented 9 months ago

Don't feel bad, there are a lot of us idiots out there. I made the same mistake. Thank you for this issue. It helped me.

same here, this issue helped me