Teach me Ubunto

Relax... off-topic chat about absolutely anything in here.

Re: Teach me Ubunto

Postby Mitre » March 13th, 2012, 6:24 pm

i can see all three in windows as i have installed the drivers but in ubunto the drivenrs ithink are not installed
and dont know how to do it in ubunto i know i have to do do it via the terminal but am at a loss as to the code i should type
WHAT DO WE WANT?
A TIME MACHINE!
WHEN DO WE WANT IT?
IT DOESN'T MATTER
User avatar
Mitre
Moderator/Developer
Moderator/Developer
 
Posts: 1733
Joined: February 11th, 2011, 7:52 pm
Location: Hertfordshire
Scroll Version: 7" scroll resistive CWM4 Android 2.1
Scroll Excel 4.0.4 AOKP CWM5
Samsung Galaxy S2
Galaxy apollo Pulse mini

Re: Teach me Ubunto

Postby tenter » March 13th, 2012, 8:44 pm

What are the drivers that you have loaded in Windows called. As my Windows Vista does not find the drivers for "Android", maybe then I could find the equivalent for Ubuntu and work out how to install.

Update: I have found these instructions Which might help
http://esausilva.com/2010/05/13/setting ... ux-ubuntu/
Unix - Linux - Networks - Protocol Analysis -Done that since 300bps was the high speed modem!
tenter
Junior Scroller
Junior Scroller
 
Posts: 16
Joined: February 28th, 2012, 10:35 am
Real Name: David
Scroll Version: Scroll Excel - Pretending to be a M701C
Android: 4.0.3 Baseband version: V1.0
Kernel Version: 3.0.8+-android scroll@scroll excel
Build Number: 97F1-d1-H1-H01-N413-20120314

Re: Teach me Ubunto

Postby Mitre » March 13th, 2012, 9:27 pm

thanks tenter
heres a link to the drivers we are using
download/file.php?id=238
and the excell id is 2000 0411
WHAT DO WE WANT?
A TIME MACHINE!
WHEN DO WE WANT IT?
IT DOESN'T MATTER
User avatar
Mitre
Moderator/Developer
Moderator/Developer
 
Posts: 1733
Joined: February 11th, 2011, 7:52 pm
Location: Hertfordshire
Scroll Version: 7" scroll resistive CWM4 Android 2.1
Scroll Excel 4.0.4 AOKP CWM5
Samsung Galaxy S2
Galaxy apollo Pulse mini

Re: Teach me Ubunto

Postby tenter » March 14th, 2012, 12:47 am

There is no device driver for Linux, but, a file needs to be created to identify the Scroll Excel tablet. Here is what I had to do to be able to look at the files on the Scroll Excel; at least I think they are on the Scroll. Please note I have never seen the SDK and adb before this evening, even Ubuntu 11.10 was only looked at for the first time this morning.

Hopefully the following information will be useful.

PLEASE CAN SOMEONE CONFIRM THAT THESE ARE THE FILES ON THE SCROLL EXCEL (as shown in item 8).

1. a) Install Ubuntu 11.10 on PC
b) Attach the Scroll Excel to the PC using the USB cable and on the Scoll select from the drop-down "Turn On USB Storage".

2. On Linux PC create a file /etc/udev/rules.d/70-android.rules, I used the following in a terminal window
sudo vi /etc/udev/rules.d/70-android.rules
o
SUBSYSTEM=="usb", ATTR{idVendor}=="0411", MODE="0666", GROUP="david"
ZZ

NOTES: vi uses "o" to open editing, ZZ (capitals are important) to write and save the file, I guessed at the Vendor Id 0411 from Mitre's post.

3. Use Firefox to goto the Android Developers site and download the Linux version of the Android SDK
http://developer.android.com/sdk/installing.html
I downloaded the "Linux (i386)" package
This download was then extracted using the archive manager to my home directory. The extracted files where put in
/home/david/android-sdk-linux

NOTE: david should be replaced by your users login name

4. I started a terminal and ran the following commands (Silver is my PC name)
david@Silver:~$ cd android-sdk-linux/tools
david@Silver:~/android-sdk-linux/tools$ ./android

NOTE: the dot before /android

5. This enables the downloading installation of further SDK packages of which I selected the defaults + the additional tools (not sure if I really needed this).

6. In the terminal window type:
    cd
    cd android-sdk-linux/platform-tools
    ./adb kill-server
    sudo ./adb start-server
    ./adb devices
List of devices attached
20080411 device


NOTES: The first cd returns you to the home directory, note the dot before the /adb, If you don't stop/start the server you will get a "no permissions" message in the ./adb devices message.

7. Connect to the Scroll Excel using a basic command shell
./adb shell

8. You will see a hash prompt," ls -l" will provide a long list of files
**** I BELIEVE THAT THIS IS THE SCROLL FILE SYSTEM BUT PERHAPS SOMEONE COULD CONFIRM *****
# ls -l
    drwxr-xr-x root root 2010-01-01 00:07 acct
    -rwxr-xr-x audio audio 2011 2011-12-07 06:12 init.sun4i.rc
    lrwxrwxrwx root root 2010-01-01 00:07 vendor -> /system/vendor
    drwxrwx--- system cache 2012-03-12 04:28 cache
    dr-x------ root root 2010-01-01 00:07 config
    -rwxr--r-- audio audio 1536000 2011-12-07 06:12 initlogo.rle
    drwxr-xr-x audio audio 2011-12-07 06:12 system
    drwxrwx--x system system 2012-02-27 10:45 data
    -rwxr-xr-x audio audio 94224 2011-12-07 06:12 init
    -rwxr-xr-x audio audio 16882 2011-12-07 06:12 init.rc
    drwxrwxr-x root system 2010-01-01 00:07 mnt
    dr-xr-xr-x root root 1970-01-01 01:00 proc
    drwx------ root root 2011-12-07 06:12 lost+found
    -rwxr-xr-x audio audio 969 2011-12-07 06:12 ueventd.sun4i.rc
    -rw-r--r-- audio audio 1677 2011-12-07 06:12 init.goldfish.rc
    lrwxrwxrwx root root 2010-01-01 00:07 sdcard -> /mnt/sdcard
    -rw-r--r-- audio audio 3882 2011-12-07 06:12 ueventd.rc
    drwxr-xr-x root root 2012-03-13 20:11 sys
    -rw-r--r-- audio audio 0 2011-12-07 06:12 ueventd.goldfish.rc
    lrwxrwxrwx root root 2010-01-01 00:07 var -> /data/var
    drwxr-xr-x audio audio 2011-12-07 06:12 sbin
    drwxr-xr-x root root 2012-03-13 20:12 dev
    -rw-r--r-- audio audio 118 2011-12-07 06:12 default.prop
    lrwxrwxrwx root root 2010-01-01 00:07 d -> /sys/kernel/debug
    lrwxrwxrwx root root 2010-01-01 00:07 etc -> /system/etc
    drwxrwxrwx system system 2011-12-07 06:12 drv


9 exit will take you out of the Scroll connection and back to your Terminal prompt.
# exit
Unix - Linux - Networks - Protocol Analysis -Done that since 300bps was the high speed modem!
tenter
Junior Scroller
Junior Scroller
 
Posts: 16
Joined: February 28th, 2012, 10:35 am
Real Name: David
Scroll Version: Scroll Excel - Pretending to be a M701C
Android: 4.0.3 Baseband version: V1.0
Kernel Version: 3.0.8+-android scroll@scroll excel
Build Number: 97F1-d1-H1-H01-N413-20120314

Re: Teach me Ubunto

Postby Mitre » April 25th, 2012, 12:28 pm

No joy
Code: Select all
mark@mark-Compaq-Mini-110c-1100:~$ sudo sudo gedit /etc/udev/rules.d/51-android.rules
[sudo] password for mark:
mark@mark-Compaq-Mini-110c-1100:~$ adb shell
error: device not found
mark@mark-Compaq-Mini-110c-1100:~$ cd android-sdk-linux/platform-tools
mark@mark-Compaq-Mini-110c-1100:~/android-sdk-linux/platform-tools$ ./adb kill-server
mark@mark-Compaq-Mini-110c-1100:~/android-sdk-linux/platform-tools$ sudo./adbstart-server
bash: sudo./adbstart-server: No such file or directory
mark@mark-Compaq-Mini-110c-1100:~/android-sdk-linux/platform-tools$ ./adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
mark@mark-Compaq-Mini-110c-1100:~/android-sdk-linux/platform-tools$ ./adb devices
List of devices attached
????????????   no permissions

mark@mark-Compaq-Mini-110c-1100:~/android-sdk-linux/platform-tools$


this is my 51-android rules folder i know thatthe problem is almost certainly in here but ?? home/android-sdk-linux/platform-tools
Code: Select all
SUBSYSTEMS=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1038", MODE="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="deed", MODE="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="0002", MODE="0666
# adb protocol on pulse mini (8110)
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", ATTR{idProduct}=="4e12", MODE="0600", OWNER="<mark>"
# fastboot protocol on pulse mini (8110)
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", MODE="0600", OWNER="<user
SUBSYSTEM=="usb", ATTR{idVendor}=="0411", MODE="0666", GROUP="mark"
WHAT DO WE WANT?
A TIME MACHINE!
WHEN DO WE WANT IT?
IT DOESN'T MATTER
User avatar
Mitre
Moderator/Developer
Moderator/Developer
 
Posts: 1733
Joined: February 11th, 2011, 7:52 pm
Location: Hertfordshire
Scroll Version: 7" scroll resistive CWM4 Android 2.1
Scroll Excel 4.0.4 AOKP CWM5
Samsung Galaxy S2
Galaxy apollo Pulse mini

Re: Teach me Ubunto

Postby ptbw » April 25th, 2012, 12:41 pm

Mitre

adb needs to be started as root, and you don't need to explictly start the server, it is started the first time you execute adb if its stopped. In your example to left out a space "./adb<space>start-server"

Assuming you are in the platform-tools directory.
Code: Select all
./adb kill-server
sudo ./adb devices


There should be no need to mess with USB settings in Linux, I have a Vega, Blade and Excel, all were found without problems.

HTH
Last edited by ptbw on April 25th, 2012, 12:50 pm, edited 1 time in total.
Still playing with:
Scroll Excel - 2.3 CWM5
ZTE Blade - MCR 12
Vega - Corvus ICS
Nokia N8

http://code.google.com/p/ptbw-codespace
ptbw
Scroll Sergeant
Scroll Sergeant
 
Posts: 50
Joined: March 30th, 2012, 9:03 pm
Location: Directly above the centre of the Earth.
Real Name: Phil
Scroll Version: Scroll Excel

Re: Teach me Ubunto

Postby Mitre » April 25th, 2012, 12:50 pm

nothing
Code: Select all
mark@mark-Compaq-Mini-110c-1100:~$ adb kill-server
mark@mark-Compaq-Mini-110c-1100:~$ sudo adb devices
[sudo] password for mark:
sudo: adb: command not found
mark@mark-Compaq-Mini-110c-1100:~$
mark@mark-Compaq-Mini-110c-1100:~$ sudo bash
root@mark-Compaq-Mini-110c-1100:~# adb kill-server
No command 'adb' found, did you mean:
Command 'cdb' from package 'tinycdb' (main)
Command 'gdb' from package 'gdb' (main)
Command 'dab' from package 'bsdgames' (universe)
Command 'zdb' from package 'zfs-fuse' (universe)
Command 'kdb' from package 'elektra-bin' (universe)
Command 'tdb' from package 'tads2-dev' (multiverse)
Command 'pdb' from package 'python' (main)
Command 'jdb' from package 'openjdk-6-jdk' (main)
Command 'jdb' from package 'openjdk-7-jdk' (universe)
Command 'ab' from package 'apache2-utils' (main)
Command 'ad' from package 'netatalk' (universe)
adb: command not found
root@mark-Compaq-Mini-110c-1100:~# adb devices
No command 'adb' found, did you mean:
Command 'cdb' from package 'tinycdb' (main)
Command 'gdb' from package 'gdb' (main)
Command 'dab' from package 'bsdgames' (universe)
Command 'zdb' from package 'zfs-fuse' (universe)
Command 'kdb' from package 'elektra-bin' (universe)
Command 'tdb' from package 'tads2-dev' (multiverse)
Command 'pdb' from package 'python' (main)
Command 'jdb' from package 'openjdk-6-jdk' (main)
Command 'jdb' from package 'openjdk-7-jdk' (universe)
Command 'ab' from package 'apache2-utils' (main)
Command 'ad' from package 'netatalk' (universe)
adb: command not found
WHAT DO WE WANT?
A TIME MACHINE!
WHEN DO WE WANT IT?
IT DOESN'T MATTER
User avatar
Mitre
Moderator/Developer
Moderator/Developer
 
Posts: 1733
Joined: February 11th, 2011, 7:52 pm
Location: Hertfordshire
Scroll Version: 7" scroll resistive CWM4 Android 2.1
Scroll Excel 4.0.4 AOKP CWM5
Samsung Galaxy S2
Galaxy apollo Pulse mini

Re: Teach me Ubunto

Postby ptbw » April 25th, 2012, 12:50 pm

I just edited the above.
Still playing with:
Scroll Excel - 2.3 CWM5
ZTE Blade - MCR 12
Vega - Corvus ICS
Nokia N8

http://code.google.com/p/ptbw-codespace
ptbw
Scroll Sergeant
Scroll Sergeant
 
Posts: 50
Joined: March 30th, 2012, 9:03 pm
Location: Directly above the centre of the Earth.
Real Name: Phil
Scroll Version: Scroll Excel

Re: Teach me Ubunto

Postby Mitre » April 25th, 2012, 12:58 pm

ok this is what i did
opened the platfor-tools folder
then atl-ctl-t to open terminal typed adb shell and get this
Code: Select all
mark@mark-Compaq-Mini-110c-1100:~$ adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: insufficient permissions for device
mark@mark-Compaq-Mini-110c-1100:~$
is the terminal not opened iside the platform tools folder linking and navigating has always been me downfall :(
WHAT DO WE WANT?
A TIME MACHINE!
WHEN DO WE WANT IT?
IT DOESN'T MATTER
User avatar
Mitre
Moderator/Developer
Moderator/Developer
 
Posts: 1733
Joined: February 11th, 2011, 7:52 pm
Location: Hertfordshire
Scroll Version: 7" scroll resistive CWM4 Android 2.1
Scroll Excel 4.0.4 AOKP CWM5
Samsung Galaxy S2
Galaxy apollo Pulse mini

Re: Teach me Ubunto

Postby ptbw » April 25th, 2012, 1:10 pm

Mitre wrote:ok this is what i did
opened the platfor-tools folder
then atl-ctl-t to open terminal typed adb shell and get this
Code: Select all
mark@mark-Compaq-Mini-110c-1100:~$ adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: insufficient permissions for device
mark@mark-Compaq-Mini-110c-1100:~$
is the terminal not opened iside the platform tools folder linking and navigating has always been me downfall :(


Ok the Ubuntu prompt is showing you in your "home" directory as it shows "~$" and when you type adb shell you are executing adb as you not as root.

So first off lets make sure that you are in the platform-tools directory
Code: Select all
cd
cd android-sdk-linux/platform-tools

The cd on its own takes you "home"
Then the next to the platform tools directory under home

Now the prompt should change to include the directory name, you can double check by typing
Code: Select all
pwd

Short for print working directory!

Ok lets kill the non-root server
Code: Select all
./adb kill-server

This will kill adb running as you.

Now lets promote us to being root and run adb
Code: Select all
sudo ./adb devices

The ./ in front of the command means this directory, root often is limited from running files in the current directory to stop inadvertant mistakes, the ./ just ensures that its this one you want and so will not start someother adb that is in the path.

That should do it. Repeat if you want to connect using adb and the server is killed.

HTH

Phil
Still playing with:
Scroll Excel - 2.3 CWM5
ZTE Blade - MCR 12
Vega - Corvus ICS
Nokia N8

http://code.google.com/p/ptbw-codespace
ptbw
Scroll Sergeant
Scroll Sergeant
 
Posts: 50
Joined: March 30th, 2012, 9:03 pm
Location: Directly above the centre of the Earth.
Real Name: Phil
Scroll Version: Scroll Excel

PreviousNext

Return to The Lounge

Who is online

Users browsing this forum: No registered users and 5 guests

cron