Android Enthusiasts
Q&A for enthusiasts and power users of the Android operating system
Latest Questions
1
votes
1
answers
2889
views
Enabling adb on Beaglebone Black
I have successfully loaded TI-Android pre-built image on a BBB which was downloaded from here. Everything works well on the device. I have been trying to enable adb without much luck. Basic HW and SW is as follows **Hardware** - Beaglebone black. - 4DCAPE-43T. - 5V power supply. - mini usb connectio...
I have successfully loaded TI-Android pre-built image on a BBB which was downloaded from here. Everything works well on the device. I have been trying to enable adb without much luck. Basic HW and SW is as follows
**Hardware**
- Beaglebone black.
- 4DCAPE-43T.
- 5V power supply.
- mini usb connection to Ubuntu 12.04 LTS host system.
**Software**
- TI-Android JB **pre-built** image
(TI_Android_JB_4.2.2_DevKit_4.1.1_beagleboneblack.tar.gz).
- Ubuntu 12.04 LTS host system.
On the BBB I have turned on USB debugging by
App Launcher" -> "Settings" -> "Developer options"
On the Host side
lsusb output is
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp.
Bus 001 Device 004: ID 10f1:1a52 Importek
/etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0451", MODE="0666"
I have executed the following two command
- chmod a+r /etc/udev/rules.d/51-android.rules
- sudo service udev restart
When I do an
adb devices
I don't see the BBB, but when I have HTC phone attached I do see a valid response.
What I am doing wrong?
Also I plug the mini-usb to the host machine. Is this correct? Or do I have connect to the serial debugging port.
Thanks
Mahendra Gunawardena
(153 rep)
Jan 31, 2014, 09:23 PM
• Last activity: Dec 27, 2021, 05:48 PM
0
votes
1
answers
3517
views
Permission denied when trying to mount USB storage
I'm trying to mount USB storage using the "Terminal Emulator" app with the following commands: `mount -t vfat -o rw /dev/block/sd* /storage/usb1` or `su mount -t vfat -o rw /dev/block/sd* /storage/usb1` But I get a `permission denied` message. I've tried different su binaries. One of them is: http:/...
I'm trying to mount USB storage using the "Terminal Emulator" app with the following commands:
mount -t vfat -o rw /dev/block/sd* /storage/usb1
or
su mount -t vfat -o rw /dev/block/sd* /storage/usb1
But I get a permission denied
message.
I've tried different su binaries. One of them is: http://e2e.ti.com/support/embedded/android/f/509/t/279726.aspx
The shell command which I'm using is working in adb, but I have to execute it within an app. Without permissions, I cannot do that.
So:
1. Is it possible to root this Android image (I'm using TI release for Beaglebone Black)?
2. OR, can I give permissions using chmod? If I can, which files should I give permission?
3. OR, is my approach wrong?
user1529034
(111 rep)
Dec 6, 2013, 02:33 AM
• Last activity: Jul 19, 2015, 04:30 PM
0
votes
1
answers
269
views
Eclipse(and adb.exe from sdk) doesn't detect my beaglebone black as running android device
I need some help for problem. I'm using Beaglebone Black and Android (JellyBean 4.2.2) with 3.8 kernel. BBB connected to window7 through USB which comes with BBB. When I boot the android on micro SD card, it works fine(I'm using 4DCAPE LCD screen) but I cannot find it as running android device. I tu...
I need some help for problem. I'm using Beaglebone Black and Android (JellyBean 4.2.2) with 3.8 kernel. BBB connected to window7 through USB which comes with BBB. When I boot the android on micro SD card, it works fine(I'm using 4DCAPE LCD screen) but I cannot find it as running android device. I turn on the USB debug mode.
Thanks.
user58569
(1 rep)
Apr 15, 2014, 09:08 AM
• Last activity: Sep 16, 2014, 11:45 PM
1
votes
0
answers
951
views
Install usb_modeswitch
I'm working on a project which we use a Beaglebone Black that runs on Android. We need to use USB storages for data transfer. When I plug in a USB storage to Beaglebone it works well. But if I remove it (without going to settings and clicking unmount USB device) 'unsafely' and re-plug it, Android do...
I'm working on a project which we use a Beaglebone Black that runs on Android. We need to use USB storages for data transfer. When I plug in a USB storage to Beaglebone it works well. But if I remove it (without going to settings and clicking unmount USB device) 'unsafely' and re-plug it, Android doesn't mount USB storage. It creates its folder in /dev/block/sd* but doesn't mount it to /storage/usb1 . So I tried to use dmesg command to findout what the problem is. And I think I find the source of the problem. dmesg says:
init: no such service 'usb_modeswitch'
I think my Android distribution doesn't have usb_modeswitch binary and because of that it can't re-mount USB storage. I searched the web and find this site . But I'm not a Linux guy and I was unable to create a binary for my Android. I think if I can create a binary and copy it to /system/xbin/ folder in my Beaglebone, It might work. But of course I might be terribly wrong :D If you can give me step - by - step instructions to create a usb_modeswitch binary, I'd be grateful.
user1529034
(111 rep)
Dec 3, 2013, 11:48 AM
• Last activity: Apr 15, 2014, 09:30 AM
0
votes
1
answers
1584
views
Beaglebone Black CPU speed
I have a Beaglebone Black which runs Android. It has a 1GHz CPU. Bu when I read it's clock speed from adb I got 300MHz. I'm using following commands: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq cat /sys/devices/system/cpu/cpu0/c...
I have a Beaglebone Black which runs Android. It has a 1GHz CPU. Bu when I read it's clock speed from adb I got 300MHz. I'm using following commands:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
All of them returns 300000. I'm using Android image from Texas Instruments. Is tehere a problem? Is my Beaglebone Black running on 300MHz or is it just a system error? I try couple of apps to learn my CPU speed. All of them says 300MHz. But i think they are reading those files too.
user1529034
(111 rep)
Nov 26, 2013, 09:07 AM
• Last activity: Apr 15, 2014, 09:28 AM
Showing page 1 of 5 total questions