Open randomt4sk opened 5 years ago
@randomt4sk Okay, my telepathic abilities say that you came here from XDA :grin:
So I've read this thread on XDA about this TV Stick and I think there might be some different revisions (or something like this) of this stick with different CPU architectures, so this may cause this problem. What does command arch
show on your stick?
@MasterDevX haha, your telepathic abilities are right, but why don't they tell you what 'arch' is returning? ;)
Thanks a lot for the quick reply.
I'm not sure where to execute the command.
On Termux it's returning:
No command 'arch' found, did you mean: blablabla
'adb arch' & 'adb sh arch' are also saying that it's not a valid command.
@randomt4sk Hmm, looks like you just don't have this binary. Let's find another way. Do you have dpkg installed there?
@MasterDevX Yes, dpkg is in place.
@randomt4sk Then try to execute this:
dpkg --print-architecture
@MasterDevX This only shows 'arm' (i guess 32 bit). However, 'lscpu' returns some additional information: | Key | Value |
---|---|---|
Architecture | armv7l | |
Byte Order | Little Endian | |
CPU(s) | 2 | |
On-line CPU(s) list | 0,1 | |
Thread(s) per core | 1 | |
Core(s) per socket | 1 | |
Socket(s) | 2 | |
Vendor ID | ARM | |
Model | 0 | |
Model name | Cortex-A9 | |
Stepping | r3p0 | |
CPU max MHz | 999.9990 | |
CPU min MHz | 312.0000 | |
BogoMIPS | 2400.25 | |
Flags | swp half thumb fastmult vfp edsp thumbee nean vfpv3 |
Edit: Hmm, sorry, somehow table layout isn't working.
@randomt4sk Most likely that's because of armv7l, I have one device with the same CPU architecture, so I'm gonna check if ADB works there. I'll write back soon :)
@randomt4sk Hmm, worked pretty well on my armv7l.
Try running ADB without wrapper script. To do so, type:
$PREFIX/bin/adb.bin
And tell if you're getting the same error.
Unfortunately this shows 'Illegal instruction'.
Currently I have no idea, why are you getting this error, sorry. I'll write here if I find any solution.
Well, thanks for your efforts. I'll try again after factory reset. I also have another AFTVS and I'll try on that one too.
Pls why is it asking me for username and password for github.com
Pls why is it asking me for username and password for github.com
Show the screenshot of message you're getting.
adb command runs on pydroid but failed on termux
I tried both scripts and also added 'apt -y upgrade', without success. Installation seems to succeed, since it returns: 'Tools were successfully installed!'
When running an adb command (eg. 'adb devices') it returns: '/data/data/com.termux/files/usr/bin/adb: line 7 9976 Illegal instruction $dir/adb.bin "$@"'
The seconds number '9976' changes from time to time (or on reinstall), but it's always referring to line 7. Any ideas, if it's an device specific issue or my fault?
Edit: The issue occurs on an Fire TV Stick (gen. 1). However, it's working fine on my phone.