The attached package contains USB to Ethernet driver pack for Honeycomb v3.2
It extends the support of stock ASUS kernel for USB to Ethernet adapters.
This thread is continuation of: http://forum.xda-developers.com/showthread.php?t=1224660
Installation and activation
-------------------------------------
- Install ZIP package via recovery
- Attach USB to Ethernet device to USB on the docking
- To setup network configuration execute the following sequence from terminal:
Code:
su
usb_ethernet
Known supported adapters
------------------------------------
- EDIMAX EU-4207 (http://goo.gl/OqR6X)
- Cisco USB200M (http://goo.gl/0I0W5)
- Cisco USB300M (http://goo.gl/g9sf1)
- AXIS based unbranded from DealExtreme (http://goo.gl/hn06o)
- QF9700 based unbranded (http://goo.gl/yKMyx)
- Apple USB Ethernet Adapter (http://goo.gl/RfWaT)
- Belkin F5D5055 (http://goo.gl/4FQle)
- SMC EZ Connect USB (SMC2206USB/ETH) (http://goo.gl/FtdOv)
- "Maxvalue" USB2 to 10/100 Ethernet adaptor (http://goo.gl/8qzfe)
- D-Link DUB-E100 (http://goo.gl/JJTCo)
- Airlink 101 USB 2.0 to Ethernet Adapter(http://goo.gl/rjgMz)
- BUFFALO LUA3-U2-ATX (http://goo.gl/0Emwq)
(Please report which devices works for you)
Known issues
------------------------
USB to Ethernet is not supported explicitly by Honeycomb v3.2 so there are some constrains in working with these devices:
- Executing 'usb_ethernet' with WiFi enabled is not recommended
- Some apps don't recognize that network connection is enabled via USB to Ethernet
Source
--------------
Source can be downloaded from github: https://github.com/MarkLuk/USB_Ethernet_DriverPack
Expanding the driver pack is quite straightforward:
- Add new driver source to 'src/drivers' folder
- Recompile by executing 'make' in the driver package root
Comments, contributions and suggestions are welcome
Download
------------------
USB to Ethernet Driver Pack v0.1: https://github.com/downloads/MarkLu...SB_Ethernet_DriverPack.v0.1.[Quiethinker].zip
Awesome work mate, I didn't know there were usb to ethernet adapters
Arobase40 said:
I had much hope, but sounds like this is not working with my device.
Can't even ping the default gateway... ^^
I might have one of the 2 latter models : AXIS or QF9700 based unbranded... I have to check again.
It was working quite fine with Android-x86 : Froyo-x86 or Gingerbread-x86.
I'll try to check if I can see something wrong in the source code, when I have time... ^^
Thanks anyway for the try.
Click to expand...
Click to collapse
Connect your device to Linux box and check what 'lsusb' returns.
Arobase40 said:
Bus 001 Device 005: ID 9710:7830 MosChip Semiconductor MCS7830 Ethernet
With lsmod, I have : usbnet 26147 1 mcs7830
---------- Post added at 10:24 AM ---------- Previous post was at 10:21 AM ----------
Forgot to say, I receive a DHCP address and I can ping on it, but couldn't pass beyond the gateway...
Click to expand...
Click to collapse
OK so the driver seems to work.
Please attach the output of the following commands from Transformer terminal:
'route'
'ifconfig'
Arobase40 said:
route : invalid argument
ifconfig : nothing
Click to expand...
Click to collapse
What ROM do you have? Is it rooted?
Arobase40 said:
It's Revolver 3.2 created by gnufabio (I guess) and yes rooted...
Click to expand...
Click to collapse
Strange i'm using the same ROM.
Check that you using 'usb_ethernet' with superuser permissions:
Code:
su
usb_ethernet
if this doesn't work, try to set your routing and IP manually:
Code:
su
ifconfig eth0 YOUR_MANUAL_IP (like 192.168.0.40) netmask 255.255.255.0 broadcast YOUR_NETWORK_PREFIX.255 (like 192.168.0.255)
route add default gw YOUR_GATEWAY_IP (like 192.168.0.1)
setprop net.dns1 8.8.8.8
Now check that the setting is working by:
Code:
ping google.com
Arobase40 said:
Yeah, I typed all these commands, but sounds like the problem comes from the route command !!! ^^
Whatever argument I type I have an "Invalid argument" response. Even with a single route without any argument...
Is it your own version of route or the one supplied by busybox (I have the latest version installed from the Market) ?
At least, we have narrowed the issue...
Click to expand...
Click to collapse
Maybe the problem is with the busybox from the market.
I suggest re-installing the ROM, not install the busybox from the market and re-test the device.
Arobase40 said:
Before reinstalling the ROM again, I first uninstall busybox, then Titanium just to be sure.
But this doesn't change anything : route still responds "Invalid argument" ???
So where does this route version come from ??? From revolver or your pack ? ^^
Click to expand...
Click to collapse
'route' is a busybox command.
Busybox comes with Revolver ROM build-in.
I don't know if Market's Busybox destroys ROMs busybox installation or not, and whenever uninstalling it helps to recreate the previous state of busybox (pathes, softlinks, etc).
There might be also that there is some issue with your busybox softlinks.
You can try execute 'busybox route' instead of 'route'.
Suggest using the command:
busybox route add default gw (IP to your router)
~J
Hi,
1) Thank you very much for this
2) It works great
3) I'm on Prime 1.9+21a
4) I use Apple Dongle
5) This was typed while using LAN with Wifi Off from settings.
PS: Thank you again.
Thank you! I have 2 adapters, the $6.99 unbranded from DealExtreme and a Belkin F5D5055 Gig adapter, and they both work.
Be careful: the DealExtreme adapter mentioned in the OP might not always be the ASIX chipset! I ordered the exact same model and got a MosChip Semiconductor MCS7830 chipset. Fortunately, your driver pack has its driver.
The Belkin F5D5055 adapter is the ASIX chipset, so it is in your pack as well.
I had to type SU in the terminal before 'usb_ethernet' would run with the correct permissions. I do not know if it was just me, or if you should modify the OP to add the SU command as well.
Anyways, thanks again! -SysWiz
SysWiz said:
Thank you! I have 2 adapters, the $6.99 unbranded from DealExtreme and a Belkin F5D5055 Gig adapter, and they both work.
Be careful: the DealExtreme adapter mentioned in the OP might not always be the ASIX chipset! I ordered the exact same model and got a MosChip Semiconductor MCS7830 chipset. Fortunately, your driver pack has its driver.
The Belkin F5D5055 adapter is the ASIX chipset, so it is in your pack as well.
I had to type SU in the terminal before 'usb_ethernet' would run with the correct permissions. I do not know if it was just me, or if you should modify the OP to add the SU command as well.
Anyways, thanks again! -SysWiz
Click to expand...
Click to collapse
Thanks!
Updated the first post regarding 'su'.
Arobase40 said:
Sorry, took me some times to rebuild a whole proper system, from stock Asus or with Revolver 3.2, with busybox from brk rootkit 6.3 or just busybox from titanium but got just the same issue with route... ^^
Still get an DHCP IP, but can't pass through gateway or route command (invalid argument, whatever the argument)...
Click to expand...
Click to collapse
Arobase40,
Please try NOT to install external busybox (from market, brk rootkit, titanium backup, whatever).
Anyhow, did you try to use 'busybox route' instead of 'route'?
Don't forget this is Linux at heart...
For default gateway...
route add -net 0.0.0.0 netmask 0.0.0.0 gw "your gw's IP here"
Mine was: route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.10.1
Also for the DNS:
setprop net.dns1 8.8.8.8
it works, but use your DNS IP, not 8.8.8.8
You may also want to check out this thread here: http://forum.xda-developers.com/showthread.php?p=17128491#post17128491 a little old, but still pertinent (maybe)
Paul
SMC EZ Connect USB (SMC2206USB/ETH) works fine - using ROM Prime 1.9.1 - Thanks !!
Great job!
Now, I want the same thing for my Huawai 3G USB stick!
Quiethinker said:
The attached package contains USB to Ethernet driver pack for Honeycomb v3.2
It extends the support of stock ASUS kernel for USB to Ethernet adapters.
This thread is continuation of: http://forum.xda-developers.com/showthread.php?t=1224660
Installation and activation
-------------------------------------
- Install ZIP package via recovery
- Attach USB to Ethernet device to USB on the docking
- To setup network configuration execute the following sequence from terminal:
Code:
su
usb_ethernet
Known supported adapters
------------------------------------
- EDIMAX EU-4207 (http://goo.gl/OqR6X)
- Cisco USB200M (http://goo.gl/0I0W5)
- Cisco USB300M (http://goo.gl/g9sf1)
- AXIS based unbranded from DealExtreme (http://goo.gl/hn06o)
- QF9700 based unbranded (http://goo.gl/yKMyx)
- Apple USB Ethernet Adapter (http://goo.gl/RfWaT)
- Belkin F5D5055 (http://goo.gl/4FQle)
- SMC EZ Connect USB (SMC2206USB/ETH) (http://goo.gl/FtdOv)
(Please report which devices works for you)
Known issues
------------------------
USB to Ethernet is not supported explicitly by Honeycomb v3.2 so there are some constrains in working with these devices:
- Executing 'usb_ethernet' with WiFi enabled is not recommended
- Some apps don't recognize that network connection is enabled via USB to Ethernet
Source
--------------
Source can be downloaded from github: https://github.com/QuietThinker/USB_Ethernet_DriverPack
Expanding the driver pack is quite straightforward:
- Add new driver source to 'src/drivers' folder
- Recompile by executing 'make' in the driver package root
Comments, contributions and suggestions are welcome
Download
------------------
USB to Ethernet Driver Pack v0.1: https://github.com/downloads/QuietT...SB_Ethernet_DriverPack.v0.1.[Quiethinker].zip
Click to expand...
Click to collapse
Any chance you could port this to work with the nook since it has usb host support now ?
bled82 said:
Any chance you could port this to work with the nook since it has usb host support now ?
Click to expand...
Click to collapse
Nook doesn't have honeycomb yet, and uses different kernel version.
Unfortunately i don't have enough time to port this and i don't have this device available for testing.
I prefer to spend the little time i have to enhance the experience of my Transformer
Maybe you can ask some Nook kernel devs to take a look here. I'll be glad to help out.
SalsaForte said:
Great job!
Now, I want the same thing for my Huawai 3G USB stick!
Click to expand...
Click to collapse
Take a look here: http://forum.xda-developers.com/showthread.php?t=1259677
Related
Im looking to test and potentially develop support for usb to serial adapters and for console connectivity with an app similar to or with Minicom. I'm a network administrator and would be able to use my Asus Transformer or other Android tablets with USB connectors to console into the equipment I manage.
Does anyone else have interest in a project like this?
Does anyone else know of a similar project?
Thanks
Sent from my Transformer TF101 using XDA Premium App
I think its a great idea.
Sent from my Transformer TF101 using Tapatalk
^x2
Sent from my SCH-I500 using Tapatalk
I've been searching around and have found that there are Bluetooth serial apadpters with software that should allow for connectivity. Reading reviews I get mixed results.
https://market.android.com/details?id=com.magicandroidapps.bluetoothterm&feature=search_result
http://www.magicandroidapps.com/wiki//index.php?title=Bluetooth_Serial_Adapters
Sent from my Transformer TF101 using XDA Premium App
that would be pretty cool, i am also a network manager and will proably buy also a transformer (just waiting for the new archos to see if they are anything good).
I think the rs323 cable approach would be better as there would be no power drain from the Bluetooth (i know its minumal but...).
I am new to android development (i am going to do my university final thesis based on a android software) but i would like to help
PS - if you connect a usb-rs232 adapter to the transformer and do "dmesg | tail" on a shell does it appear.
Also see if the last answer on this post helps htxxp://stackoverflow.com/questions/4621580/using-serial-port-rs-232-in-android
This is something I would pay a couple of english pounds for from the market.
My USB->Serial port adapter is based around the Prolific PL2303 chip which I think is pretty common, so may be a good place to start.
That would be amazing.
I am a network administrator and would love to see this on my device. Although I have an Acer A500 and not the Asus Transformer.
I plugged in my usb to serial adapter and ran dmesg. Here was the output :
Code:
usb 1-1: pl2303 converter now attached to ttyUSB0
Any idea of what app I could use to connect to that to test it out?
ipigi said:
I plugged in my usb to serial adapter and ran dmesg. Here was the output :
Code:
usb 1-1: pl2303 converter now attached to ttyUSB0
Any idea of what app I could use to connect to that to test it out?
Click to expand...
Click to collapse
If we had full GNU utilities on Android, you could use screen against /dev/ttyUSB0 and that should connect to the serial device.
Unfortunately, I don't know of any direct serial communication applications on Android.
I'm also an IT administration and could use a working rs232 solution for my tablet.
Asus Transformer 3.1 pwnd
www.MiiWiiChat.com
www.SnapSiteAdmins.com
Keyspan usb-serial adapters have drivers available in the kernel. Seems to me easiest thing to do would be to build the required kernel modules, install debian to a parition on the SD card, setup a chroot environment and install minicom/screen/serial terminal of choice. Alternatively instead of debian chroot, you could build a serial terminal client for use in the android linux environment.
Hi guys, I am a Acer Iconia A500 user but found this topic yesterday while trying to find a way to use my usb/rs232 adapter for my linux boxes at work. It seems like the only thing you need is kernel modules for the adapter you have (either prolific or ftdi) and busybox 1.19. I wrote a quick how-to for my Acer (http://forum.xda-developers.com/showpost.php?p=16703609&postcount=23) which I am also copying below. As long as you can find the kernel modules it should apply to Transformer as well:
Thanks to celsoffraga and also thor2002ro for the kernel modules, I can confirm that A500 can run a usb/serial (rs232) perfectly fine on the stock 3.1 kernel/rom.
Ingredients: Rooted, A500, kernel modules for your adapter, a terminal emulator, and busybox 1.19 which has a tool called microcom in it.
Install busybox 1.19 through this application (the other busybox installer app on the market installs a slightly different version of 1.19 that does not have microcom):
https://market.android.com/details?i...ybox.installer
Download usb2serial package for your kernel from the first post of (you can check your kernel version from Settings - About Tablet):
http://forum.xda-developers.com/show....php?t=1058713
Extract that usb2serial zip to somewhere in the tablet (I used /mnt/sdcard/modules/). There should be two files, one for Prolific chipset serial converter, pl2303.ko which is the most common one, the other one for the Fidi chipset, ftdi_sio.ko, which is what I had.
Now open your favorite terminal emulator (Both terminal emulator and connectbot works) and load the module you need, or you can load both:
Code:
insmod /mnt/sdcard/modules/ftdi_sio.ko
Now plug your usb/serial converter to the USB port, and type "dmesg" in terminal. You should see something like "FTDI USB Serial Device converter now attached to ttyUSB0" , which means everything is detected fine and attached to the correct device point in linux.
Now comes the serial terminal emulator, which is called "microcom".
In terminal, just type microcom and it should return a short help text. Our device name (TTY) is /dev/ttyUSB0 . So if I want to connect to a rs232 port with 9600 baud rate, the command should be:
Code:
microcom -s 9600 /dev/ttyUSB0
Tadaaa!
If it means I no longer have to undock and lug my massive work laptop down to the datacentre every time, I'm all for it.
fincan - awesome, can't wait to get my dock to test that out. Thank you.
Very interested in ur app, keep me posted...
Thanks
Sent from my Transformer TF101 using Tapatalk
Tr
fincan said:
Hi guys, I am a Acer Iconia A500 user but found this topic yesterday while trying to find a way to use my usb/rs232 adapter for my linux boxes at work. It seems like the only thing you need is kernel modules for the adapter you have (either prolific or ftdi) and busybox 1.19. I wrote a quick how-to for my Acer (http://forum.xda-developers.com/showpost.php?p=16703609&postcount=23) which I am also copying below. As long as you can find the kernel modules it should apply to Transformer as well:
Thanks to celsoffraga and also thor2002ro for the kernel modules, I can confirm that A500 can run a usb/serial (rs232) perfectly fine on the stock 3.1 kernel/rom.
Ingredients: Rooted, A500, kernel modules for your adapter, a terminal emulator, and busybox 1.19 which has a tool called microcom in it.
Install busybox 1.19 through this application (the other busybox installer app on the market installs a slightly different version of 1.19 that does not have microcom):
https://market.android.com/details?i...ybox.installer
Download usb2serial package for your kernel from the first post of (you can check your kernel version from Settings - About Tablet):
http://forum.xda-developers.com/show....php?t=1058713
Extract that usb2serial zip to somewhere in the tablet (I used /mnt/sdcard/modules/). There should be two files, one for Prolific chipset serial converter, pl2303.ko which is the most common one, the other one for the Fidi chipset, ftdi_sio.ko, which is what I had.
Now open your favorite terminal emulator (Both terminal emulator and connectbot works) and load the module you need, or you can load both:
Code:
insmod /mnt/sdcard/modules/ftdi_sio.ko
Now plug your usb/serial converter to the USB port, and type "dmesg" in terminal. You should see something like "FTDI USB Serial Device converter now attached to ttyUSB0" , which means everything is detected fine and attached to the correct device point in linux.
Now comes the serial terminal emulator, which is called "microcom".
In terminal, just type microcom and it should return a short help text. Our device name (TTY) is /dev/ttyUSB0 . So if I want to connect to a rs232 port with 9600 baud rate, the command should be:
Code:
microcom -s 9600 /dev/ttyUSB0
Tadaaa!
Click to expand...
Click to collapse
Tried on my Trasformer with Revolution 3.5 nd it work great. Now I can control my PLC application from tablet.
Thanks a lot.
fincan said:
Hi guys, I am a Acer Iconia A500 user but found this topic yesterday while trying to find a way to use my usb/rs232 adapter for my linux boxes at work. It seems like the only thing you need is kernel modules for the adapter you have (either prolific or ftdi) and busybox 1.19. I wrote a quick how-to for my Acer (http://forum.xda-developers.com/showpost.php?p=16703609&postcount=23) which I am also copying below. As long as you can find the kernel modules it should apply to Transformer as well:
Click to expand...
Click to collapse
Thanks for the tip and the links. I'm now able to connect my old Garmin GPS device to my Asus Transformer and use "pygarmin" Python scripts on SL4A : no need to carry a PC for my next vacations!
I was able to connect to a Oracle / SUN /T5220 server serial management port with the BlueTooth adaptor.
Ebay HC-06-D, Bluetooth to RS232 serial communication converter module, slave mode
DIYGSM Wholesale
I converted it from a DB9 serial to RJ45
DB9 PIN 2 TXD to RJ45 PIN 3 RXD
DB9 PIN 2 RXD to RJ45 PIN 6 TXD
Ground and black wire for the USB to PIN 5 of the RJ45.
USB connector supplies the DC to run the module.
Don't for get to pair the module with your Transformor password 1234.
Running ASUS Transformer TF101 B1 32GB Tablet Honeycomb ver. 3.2.1
Terminal Application SENA BTerm found on the Google market.
Hi
kerenoc01 said:
Thanks for the tip and the links. I'm now able to connect my old Garmin GPS device to my Asus Transformer and use "pygarmin" Python scripts on SL4A : no need to carry a PC for my next vacations!
Click to expand...
Click to collapse
Unfortunately, my video on demand provider (in France) uses an application that checks if the tablet is rooted. I had to unroot to be able to download and watch films and catchup TV.
Is there any hope to control a FTDI interface from user space (libusb, libftdi)?
Or could I install the .ko driver so that is survive the unroot process (using the Universal script)?
Regards
ICS update?
Has anyone got this to work in ICS? If so what kernel module are you using? Tried the one from the A500 link but I get an "Invalid Argument" while running insmod
Hello everybody,
I want to connect my iconia A700 with wired network. So i plugged in my usb network adapter.
And this is what dmesg has showed
<6>[46753.465362] tegra-ehci tegra-ehci.0: new USB bus registered, assigned bus number 1
<6>[46753.491903] tegra-ehci tegra-ehci.0: irq 52, io mem 0x7d000000
<6>[46753.514954] tegra-ehci tegra-ehci.0: USB 2.0 started, EHCI 1.00
<6>[46753.516316] utmi_phy_irq: usb device plugged-in
<6>[46753.517581] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>[46753.518916] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[46753.519656] usb usb1: Product: Tegra EHCI Host Controller
<6>[46753.521311] usb usb1: Manufacturer: Linux 3.1.10+ ehci_hcd
<6>[46753.522243] usb usb1: SerialNumber: tegra-ehci.0
<6>[46753.532426] hub 1-0:1.0: USB hub found
<6>[46753.533294] hub 1-0:1.0: 1 port detected
<6>[46753.855044] usb 1-1: new full speed USB device number 2 using tegra-ehci
<6>[46753.940886] usb 1-1: New USB device found, idVendor=0bda, idProduct=8150
<6>[46753.942477] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>[46753.943250] usb 1-1: Product: USB 10/100 LAN
<6>[46753.944526] usb 1-1: Manufacturer: REALTEK
<6>[46753.945240] usb 1-1: SerialNumber: 0219
Click to expand...
Click to collapse
is there a possible solution for my problem? Or has anyone a working driver?
1) This should go in general.
2) You can try loading the attached module using insmod or modprobe.
pawitp said:
1) This should go in general.
2) You can try loading the attached module using insmod or modprobe.
Click to expand...
Click to collapse
Is there also a driver for the Delock 61147 (MOdule need is mcs7830.ko)?
elhennig said:
Is there also a driver for the Delock 61147 (MOdule need is mcs7830.ko)?
Click to expand...
Click to collapse
All compiled from Acer's released kernel source. (Note: don't use these on CyanogenMod, the drivers are already built into the kernel)
asix.ko
cdc_eem.ko
cx82310_eth.ko
dm9601.ko
gl620a.ko
hso.ko
int51x1.ko
ipheth.ko
kalmia.ko
lg-vl600.ko
mcs7830.ko
net1080.ko
plusb.ko
sierra_net.ko
smsc75xx.ko
zaurus.ko
Pawitp, while you're at it, maybe you can compile md4.ko? In your CM10 rom, no md4.ko - cifs manager doesn't work without it on stock rom...
zeer said:
Pawitp, while you're at it, maybe you can compile md4.ko? In your CM10 rom, no md4.ko - cifs manager doesn't work without it on stock rom...
Click to expand...
Click to collapse
MD4 has been built into the CM kernel for maximum compatibility. Anyway, here's the md4.ko if you want to use stock.
Hi pawit, thanks a lot for the module pack.
One question comes up as the module loads perfectly: How can I route traffic like for the standard mail client through eth0 device? The mail client and the play store app seem to need a wlan device
I don't know. The standard android is supposed to recognize eth0 as a valid internet connection and route automatically. CM does, I'm not sure how Acer configured it.
Sent from my GT-I9000 using xda app-developers app
how does one implement this into stock?
Please, could someone help me!
Iam on Icianian 2.4 and try to get the dm9601.ko work!
But every time, i load the kernel module, the tap froze!
any idea?
Could the kernel module wrong?
PLEASE help me
djsven said:
Please, could someone help me!
Iam on Icianian 2.4 and try to get the dm9601.ko work!
But every time, i load the kernel module, the tap froze!
any idea?
Could the kernel module wrong?
PLEASE help me
Click to expand...
Click to collapse
I'm working on this for iconiaN
It's going to require more than just kernel modules to work
Hi,
not realy!
I can tell you, it work!
But you have to plugin, get on terminal and configer the eth0.
netcfg eth0 dhcp
setprop net.dns1 8.8.8.8
and it work
I've got it working now without having to use terminal.
Tested using a Galaxy S Mini USB Tether.
It uses usb0 instead of eth0 but it worked without issues.
I have built the kernel with the network modules built-in and also patched framework files.
Bamm your are the best.This would realy nice.
Please could you build the right mount points inside the kernel?
Think about sdcard.This is /Removeable/xxx
I guess its /mnt/external_usb
Can we point the uab device to eth0?
So Android Firewall would work.
Gesendet von meinem GT-I9100 mit Tapatalk 2
pawitp said:
All compiled from Acer's released kernel source. (Note: don't use these on CyanogenMod, the drivers are already built into the kernel)
asix.ko
cdc_eem.ko
cx82310_eth.ko
dm9601.ko
gl620a.ko
hso.ko
int51x1.ko
ipheth.ko
kalmia.ko
lg-vl600.ko
mcs7830.ko
net1080.ko
plusb.ko
sierra_net.ko
smsc75xx.ko
zaurus.ko
Click to expand...
Click to collapse
Hi, i have A700 with original Acer software. I made it to the "root" description: http://forum.xda-developers.com/showthread.php?t=1953917 , and i ave unlocked bootloader (http://forum.xda-developers.com/showthread.php?t=1710755).
I want to use the tablet Asix AX88772 with, but when they want linked asix.ko was inserted, I get this message:
[email protected]:/system/lib/modules # modprobe asix.ko
modprobe: chdir(/lib/modules): No such file or directory
We could be the problem? Can you help me?
The correct sw version (Settings menu/ About tablet):
Android version: 4.1.1
Kernel version: 3.1.10+
Image version: Acer_AV051_A700_RV16RC02_WW_GEN1
Build number: Acer_AV051_A700_1.050.00_WW_GEN1
Image P/N: FM.S1MA0.0.40
i have a usb to Ethernet adapter 10/100 which cabe with its CD. I hooked it up with my device but no luck. :crying:
could not see eth0 in terminal using netcfg .
after reading some posts about usb to Ethernet on xda , I rooted the phone, ran the makefile provided in the CD. still no luck.
So finally after reading for 2 days, I have options to
Install Ethernet drivers (don't know how)
Install kernel with Ethernet drivers (will change my phone config completely, maybe need to recalibrate later)
Flash a new ROM with Ethernet drivers (will need to reinstall everything)
Don't know the best option. Kinda stuck.
I don't want to loose the current config of cpu speed, etc. provided in the current Android
FYI: The device is detected on the device using usb host controller. Usb to Ethernet Model "Terabyte USB To Lan Card Ethernet Adapter Speed 10/100" found on Amazon. Manufacturer CH9100 Make CH9200. drivers provided has a "ch9x00.c" dunno what to do with it. (I mean after cross compiling).
attached the .c file for refrence.
Hello everybody! Noobing the shoozle out of my:
OnePlus One, model A0001 / 64GB currently with: Android 6.0.1 / Cyanogen OS version: 13.1.2-ZNH2KAS3P0-bacon / CyanogenMod API level: Elderberry(5) (just FYI, not sure if helpful)
Kernel version: 3.4.112-cyanogenmod-g8fbc62e
Unlocked, rooted with BaconRootToolkit/ TWRP ROM, downloaded latest ver -3.0.2-0 via official App, from Play Store
Kali images from: build.nethunter.com/nightly, as offensive-security's kali-nethunter wiki on github says (no external links for noobs, sorry )
apt-get updated, upgraded and dist-upgraded via KALI terminal
The first issue is with the OTG, not powering the USB WiFi adapter properly... with the regular USB-OTG adapter, lsusb WORKS, and returns proper info about 3 different adapters (Alfa Awus036h, TP-link WN725N and WN722N), BUT does not power them. No indicator lights get lit whatsoever 0mA status from lsusb -v
I bought a powered USB-OTG hub, that appears to not charge my phone, when plugged in two different chargers AND a powerbank. Still lsusb -v returns: 100mA current for the hub.
I tried plugging an A4Tech receiver for kbd+mouse, both work fine, with the tplink WN725N plugged in the second USB socket. lsusb shows the hub, the receiver and the WN725N data... Both regular and hub OTG's work fine with mouse+kbd, read and write data to USB Memsticks. Regular OTG transfers files to a computer and charges the phone.
I noticed that when in Android, the WiFi is turned off, ifconfig omits wlan0 and p2p0, that is the phone's main WiFi adapter.
So I thought that manually loading (insmod) the rtl drivers would start the OTG wlan.... Thus coming to the second issue:
The kernel is without LKM support - no modprobe, lsmod returns:
Code:
libkmod: ERROR: ../libkmod/libkmod-module.c: 1655 kmod_module_new_from_loaded: could not open /proc/modules: no such file or directory
Error: could not get list of modules: No such file or directory
When "apt-get install linux-headers-$(uname -r)" is typed, returns:
Code:
E: Unable to locate package 'linux-headers-3.4.112-cyanogenmod-g8fbc62e'
E: Couldn't find any package by glob 'linux-headers-3.4.112-cyanogenmod-g8fbc62e'
E: Couldn't find any package by regex 'linux-headers-3.4.112-cyanogenmod-g8fbc62e'
"apt-cache search linux-headers" returns some options for version linux-headers-4.9.0-kali1-all-armhf (the only armHF, others are armmp)
I cannot find a way to recompile my kernel and enable Loadable Kernel Modules support. Would you say this would be necessary for the external WiFi to work?
Do you know if there is any way out of this mess, as I am really tired fighting a "Our preferred device"-release issues??? Overall I'd love it if I could run external antenna
I am kind of new around.... In forums - in general, so I kindly ask for understanding. If any screenshots/pics/additional info is required - I'll make sure I update this thread. Not sure if I could've posted this thread in XDA assist, so I did it here.
EDIT: everything went fine when I tried third, different USB - WiFi adapter. Works properly. Still no LKMs.
Hello, physical keyboard geeks!
I've added basic support for the galaxy s relay to the postmarketos project. You can now build a new kernel with a modern compiler that will boot on our sliders. Tested: Boot, usb ethernet, flashing with heimdall, nothing else.
Something like this might work to install:
apt-get install -y python3
Clone the repo and cd into it.
git clone https://gitlab.com/postmarketOS/pmbootstrap.git
cd pmbootstrap
Start the install wizard
./pmbootstrap.py init
Chose samsung-apexq for device and use the xfce4 gui. (unsure if graphics will work, but if it does it's the one you want)
./pmbootstrap.py install --android-recovery-zip --no-fde
Now export the zip file
./pmbootstrap.py export
It should give you a path to a zip you can flash with CWM or TWRP. If that doesn't work, then run install without --android-recovery-zip and try flashing with the heimdall wrapper like this:
./pmbootstrap.py flasher flash_rootfs
./pmbootstrap.py flasher flash_kernel
(Obviously, make sure you have a good usb data cable and not just a charge only cable, oh and make sure you have backups of your favorite android rom so you can go back to android).
Go forth and test! My dev phone's screen died so now it's up to YOU! File bugs in the postmarketos gitlab project issues. Complaints, insults about my mother, and general snark are welcome here. If you have a problem, I'm happy to ignore you while you figure it out, so don't be shy!
Here's a flashable zip: https://gitlab.com/5ilver/apexq/blob/master/20190329-pmos-samsung-apexq.zip
I can't test it (no working screen), but the root/boot heimdall flash version is working for me via download mode at least far enough to ssh into the phone and poke around.
Hi i managed to follow your Steps.
Thanks for that wonderfull Howto.
Installed FatToad on my regular Phone and PostmarketOS from you on my Spare t-699.
Your Display is broken?..how is that happend?
Managed to make a flashable CWM Zip and i did not go further than the PostmarketOS Screen.
ADB is not working and now after use Install via Fastboot..it stay postmarketscreen.
I let it stay the next 10 Minutes on this..maybe something usable come out
btw:
Do you come from Germany?
Maybe i can Donate you with my Spare T-699?
Many Thanks for your work..a second Post from me will come when i am little further.
And i had to laugh loud in the Moment where i saw that i can use simply the git Software Downloader for Gitlab too..and i thought i need a special Gitlab Software :good:
Thanks for teaching me this
ingoreis said:
Hi i managed to follow your Steps.
Thanks for that wonderfull Howto.
Installed FatToad on my regular Phone and PostmarketOS from you on my Spare t-699.
Your Display is broken?..how is that happend?
Managed to make a flashable CWM Zip and i did not go further than the PostmarketOS Screen.
ADB is not working and now after use Install via Fastboot..it stay postmarketscreen.
I let it stay the next 10 Minutes on this..maybe something usable come out
btw:
Do you come from Germany?
Maybe i can Donate you with my Spare T-699?
Many Thanks for your work..a second Post from me will come when i am little further.
And i had to laugh loud in the Moment where i saw that i can use simply the git Software Downloader for Gitlab too..and i thought i need a special Gitlab Software :good:
Thanks for teaching me this
Click to expand...
Click to collapse
Awesome! This is great to see! I'm in the US, but thanks anyway. Ok so the kernel booted on your phone. This is cool. Now the next steps are to get X working so we can use the screen and run programs. If the phone is connected to your computer with a usb cable, it should identify itself as a usb ethernet adapter that you can get a dhcp address from. Something like sudo dhclient -v enp0s19f2u1 and then ssh [email protected] should allow you to access the phone. The errors are in /var/log/Xorg.log.0 I think. Need to get that dumped and give it a good hard look, maybe enable some fallback display mode or something. Need to probe around in /dev/input too and see what sort of input devices are detected. This is good progress though. We're getting the phone back into a supportable state.
Not sure how my display broke. One day it was just blank when I tried to wake it, but it worked after a few tries. It got harder and harder to use with the keyboard out, and so I got another one. When I started working on this port the screen had to be held very still or it would blank out. Now, it just won't come on at all. It is possibly a bad flex cable.
silvermagnet said:
If the phone is connected to your computer with a usb cable, it should identify itself as a usb ethernet adapter that you can get a dhcp address from. Something like sudo dhclient -v enp0s19f2u1 and then ssh [email protected] should allow you to access the phone.
Click to expand...
Click to collapse
had this Error in my Linux:
Code:
[email protected]:~/Downloads$ sudo dhclient -v enp0s20f0u10
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/enp0s20f0u10/62:3d:43:73:74:09
Sending on LPF/enp0s20f0u10/62:3d:43:73:74:09
Sending on Socket/fallback
DHCPREQUEST of 172.16.42.2 on enp0s20f0u10 to 255.255.255.255 port 67 (xid=0x2be8f493)
DHCPACK of 172.16.42.2 from 172.16.42.1
RTNETLINK answers: File exists
bound to 172.16.42.2 -- renewal in 395804 seconds.
[email protected]:~/Downloads$ ssh [email protected]
ssh: connect to host 172.16.42.1 port 22: Connection refused
[email protected]:~/Downloads$
Unfortunaly Connection Refused @ Port 22
But you are right..Kernel seem to boot fine and it is a "NetworkDevice"
Phew Ameria is on the other Side of the World from here..thanks again for help to get it work.
Btw i saw an Android Device in my File Explorer from Linux but it cannot be mounted via MTP.
Edit:
I can connect but need a Password
ingoreis said:
had this Error in my Linux:
Code:
pando[email protected]:~/Downloads$ sudo dhclient -v enp0s20f0u10
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/enp0s20f0u10/62:3d:43:73:74:09
Sending on LPF/enp0s20f0u10/62:3d:43:73:74:09
Sending on Socket/fallback
DHCPREQUEST of 172.16.42.2 on enp0s20f0u10 to 255.255.255.255 port 67 (xid=0x2be8f493)
DHCPACK of 172.16.42.2 from 172.16.42.1
RTNETLINK answers: File exists
bound to 172.16.42.2 -- renewal in 395804 seconds.
[email protected]:~/Downloads$ ssh [email protected]
ssh: connect to host 172.16.42.1 port 22: Connection refused
[email protected]:~/Downloads$
Unfortunaly Connection Refused @ Port 22
But you are right..Kernel seem to boot fine and it is a "NetworkDevice"
Phew Ameria is on the other Side of the World from here..thanks again for help to get it work.
Btw i saw an Android Device in my File Explorer from Linux but it cannot be mounted via MTP.
Edit:
I can connect but need a Password
Click to expand...
Click to collapse
The password is password
silvermagnet said:
The password is password
Click to expand...
Click to collapse
Thank you tried it but did not work.
"ssh [email protected]"
gave me an error
"ssh: connect to host 172.16.42.1 port 22: Connection refused"
and
"ssh [email protected]"
ask for a Password and do not accept "password"
I am near..only this last Step to get the Important Files
Now i tried another USB Port and something is working but not working:
Code:
[ 8406.035731] rndis_host 1-9:1.0 enp0s20f0u9: unregister 'rndis_host' usb-0000:00:14.0-9, RNDIS device
[ 8406.366663] usb 1-9: new high-speed USB device number 34 using xhci_hcd
[ 8406.515928] usb 1-9: New USB device found, idVendor=18d1, idProduct=d001
[ 8406.515934] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8406.515938] usb 1-9: Product: Android
[ 8406.515942] usb 1-9: Manufacturer: Android
[ 8406.515945] usb 1-9: SerialNumber: 0123456789ABCDEF
[ 8406.519381] rndis_host 1-9:1.0 usb0: register 'rndis_host' at usb-0000:00:14.0-9, RNDIS device, 66:93:21:86:d9:50
[ 8406.529243] rndis_host 1-9:1.0 enp0s20f0u9: renamed from usb0
[ 8406.555024] IPv6: ADDRCONF(NETDEV_UP): enp0s20f0u9: link is not ready
[email protected]:~/Downloads$ sudo dhclient -v enp0s20f0u9
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/enp0s20f0u9/5a:14:3c:18:78:36
Sending on LPF/enp0s20f0u9/5a:14:3c:18:78:36
Sending on Socket/fallback
DHCPDISCOVER on enp0s20f0u9 to 255.255.255.255 port 67 interval 3 (xid=0x810a2043)
DHCPDISCOVER on enp0s20f0u9 to 255.255.255.255 port 67 interval 5 (xid=0x810a2043)
DHCPDISCOVER on enp0s20f0u9 to 255.255.255.255 port 67 interval 6 (xid=0x810a2043)
DHCPDISCOVER on enp0s20f0u9 to 255.255.255.255 port 67 interval 11 (xid=0x810a2043)
DHCPDISCOVER on enp0s20f0u9 to 255.255.255.255 port 67 interval 13 (xid=0x810a2043)
DHCPDISCOVER on enp0s20f0u9 to 255.255.255.255 port 67 interval 9 (xid=0x810a2043)
DHCPDISCOVER on enp0s20f0u9 to 255.255.255.255 port 67 interval 11 (xid=0x810a2043)
DHCPDISCOVER on enp0s20f0u9 to 255.255.255.255 port 67 interval 20 (xid=0x810a2043)
DHCPDISCOVER on enp0s20f0u9 to 255.255.255.255 port 67 interval 20 (xid=0x810a2043)
but do not stop that
ingoreis said:
Thank you tried it but did not work.
"ssh [email protected]"
gave me an error
"ssh: connect to host 172.16.42.1 port 22: Connection refused"
and
"ssh [email protected]"
ask for a Password and do not accept "password"
I am near..only this last Step to get the Important Files
Click to expand...
Click to collapse
172.16.42.2 is your own computer. Maybe ssh didn't successfully start on the phone. Try restarting it. Don't worry about getting the logs for me, I have a copy from mine. I just need to go through them and find the errors.
Restarting phone did not start ssh but i have an Idea:
gmtp had Errors too because i tried to vonnect with MTP
HTML:
[email protected]:~/Downloads$ gmtp
Device 0 (VID=18d1 and PID=d001) is a Meizu Pro 5 Ubuntu Phone.
Device 1 (VID=16c0 and PID=0489) is UNKNOWN in libmtp v1.1.13.
Please report this VID/PID and the device model to the libmtp development team
LIBMTP PANIC: Unable to find interface & endpoints of device
Fehler: Verbindung zu Gerät nicht möglich.
LIBMTP PANIC: Trying to dump the error stack of a NULL device!
LIBMTP PANIC: Trying to clear the error stack of a NULL device!
Device 0 (VID=18d1 and PID=d001) is a Meizu Pro 5 Ubuntu Phone.
Device 1 (VID=16c0 and PID=0489) is UNKNOWN in libmtp v1.1.13.
Please report this VID/PID and the device model to the libmtp development team
ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
ignoring libusb_claim_interface() = -6LIBMTP PANIC: failed to open session on second attempt
Fehler: connection not possible.
Edit:
I have the Connection now
EditEdit:
Here is the Log that you want inside the Attachments:
EditEditEdit:
Fixed the Logfile..last Part was missing
Hey this is great! I still take out my Relay "for a spin" occasionally, so I'm thinking of testing this.
I'm guessing the .zip is flashable withTWRP, not CWM?
I don't have any dev tools and I'm running Win10 (been ages since I've had a running Linux rig), so I'm not sure how much feedback I can provide. Should I wait until the build is a little more stable?
cucumbers said:
Hey this is great! I still take out my Relay "for a spin" occasionally, so I'm thinking of testing this.
I'm guessing the .zip is flashable withTWRP, not CWM?
I don't have any dev tools and I'm running Win10 (been ages since I've had a running Linux rig), so I'm not sure how much feedback I can provide. Should I wait until the build is a little more stable?
Click to expand...
Click to collapse
It should work in either recovery, or at least the documentation I've seen so far does not specify. You shouldn't need any tools, just put the image I linked from gitlab on an sd card. Stability... well things are quite stable in their current very broken state. I ran my phone for almost a week straight, so no worries there. Getting X working is probably the next big step. It will likely be a while. The frame buffer driver doesn't seem to be giving very useful errors but I'm sure someone has bumped into the same problems on another phone, so we'll get there.
i tried little with startx xinit and others
and it seem to need xterm but xterm is not installed
(see the attached Picture)
I tried to change the Config from Display 0 to Display 1 but no success
and no Screen on the Relay for now.
And a little good Information:
Touchscreen is working.
When i touch the Display i see touched Coordinates in dmesg
Sometimes i had the Message that Xserver is already running on Display 0
but after trying some Things not more.
Starting X over ssh probably will not work since your local term is not graphical. I tried putting a default screen section in the xorg config, but that didn't make the X service work. I've read that disabling 3d accel for the msm chipset in the kernel can help so I'll try that next.
No luck with disabling MSM_KGSL, seems to have the same stream of errors followed by a segfault in the X log. I also tried including an additional package xf86-video-fbdev which had no effect either (I think it must have already been pulled in by a dependency). The msm-fb-refresher package appears in the similar looking samsung-jflte APKBUILD, so I'll try that later today.
Maybe the weston graphical environment is worth a try instead of X? Seems some other msm based phones like it.
silvermagnet said:
No luck with disabling MSM_KGSL, seems to have the same stream of errors followed by a segfault in the X log. I also tried including an additional package xf86-video-fbdev which had no effect either (I think it must have already been pulled in by a dependency). The msm-fb-refresher package appears in the similar looking samsung-jflte APKBUILD, so I'll try that later today.
Maybe the weston graphical environment is worth a try instead of X? Seems some other msm based phones like it.
Click to expand...
Click to collapse
About that i have no Knowledge but thanks that you try so much
any News?
I dropped my phone, got a dead spot in the camera, got another relay on ebay, and here we are with a perfectly good dev phone with a good screen. So I can hack on the display now. X11 is broken, but weston works fine. No update on last time, just select weston instead of xfce4 in pmbootstrap init. I'll get hackin on the 'red' problem, which from what I gather is pretty common and easily patchable.
https://i.imgur.com/vy18cjJ.jpg
Wow Great News,thank you for still working on it.
When you send me your Paypal Adress via PM then i want to donate little Bit for you because you bought another T-699 over Ebay for us all.
This Picture look good and this "Red Error" is little bit funny and
i am glad to see Weston is working.
Touchscreen worked good?
The touch screen worked great. The keyboard even works too! Some small gotchas, like numeric symbols being selected with shift instead of alt, but it works!
https://i.imgur.com/lE3x4OK.jpg