[Q] Connecting HTC One to LAN port - One (M7) Q&A, Help & Troubleshooting

I would like to connect the HTC One to a LAN port via a usb-ethernet adapter, for wired internet access.
I know some phones such as Nexus 5, and tablets like nexus 7, 9, 10 have the functionality.
Does the CM on HTC One have this functionality? Can it be loaded?
Thank you.

Babakkardan said:
I would like to connect the HTC One to a LAN port via a usb-ethernet adapter, for wired internet access.
I know some phones such as Nexus 5, and tablets like nexus 7, 9, 10 have the functionality.
Does the CM on HTC One have this functionality? Can it be loaded?
Thank you.
Click to expand...
Click to collapse
Very much so.. I've done it myself using a USB otg to ether adapter.
With a off and root with the rom of your choice (revolution, coin etc) - install the kernel from flar.
Elemental × version 14/20 depending on whether you're phone is Google edition, sense 6 or 7.
The kernel allows all sorts of capabilities. I have even played games using xbox gamepad. This kennel recognises way too many things to list.
Long as your ether adapter is compatible with an average win 7 or Ubuntu then it should auto install drivers on phone. Certain Chinese cheaper accessories aren't recognised as their chips are probably incompatible.
Any search should get you to the download link. Read it, understand it thoroughly before flashing kernel. Nothing should happen if common sense is used. I'm not aware of your experience in this so just letting you know not to yell at me if something is installed incorrectly. ?
Here

Thank you for the reply and information. It is great to know such a possibility exists.
Unfortunately I am totally new to this, and have no clue how to install kernels or change settings at that level!
If you would know of a tutorial on the web that is geared for novices like me do let me know.
Also, are there kernels to enable using the ppp2 widget with a usb modem for phones?
Thanks again,
Babak

ryankabir said:
Very much so.. I've done it myself using a USB otg to ether adapter.
With a off and root with the rom of your choice (revolution, coin etc) - install the kernel from flar.
Elemental × version 14/20 depending on whether you're phone is Google edition, sense 6 or 7.
The kernel allows all sorts of capabilities. I have even played games using xbox gamepad. This kennel recognises way too many things to list.
Long as your ether adapter is compatible with an average win 7 or Ubuntu then it should auto install drivers on phone. Certain Chinese cheaper accessories aren't recognised as their chips are probably incompatible.
Any search should get you to the download link. Read it, understand it thoroughly before flashing kernel. Nothing should happen if common sense is used. I'm not aware of your experience in this so just letting you know not to yell at me if something is installed incorrectly. ��
Here
Click to expand...
Click to collapse
Could you recommed a usb ethernet adapter which you know works?
For the LAN connectivity, is your connection stable?
How is the Elemental root, stable?
Thanks again!

Related

Mac OS X FroYo USB Tethering

... I was just wondering if anyone has a solution that allows the Nexus One to be used as a USB modem in Mac OS.
I know I can use WiFi tethering and I know of PDANet, I am not looking for alternative solutions but rather to find out if the FroYo USB tethering functionality can be used with Mac OS X (Snow Leopard).
Any help is appreciated.
well before someone comes up with a real answer (since i dont have osx) the easiest thing to do is just plug in the n1 to usb and not mount the device and turn on wifi tethering. This way its charging and being your hotspot.
Why dont you just try to see if the usb tether on froyo works on your macbook and tell us what happens? It could possibly only take 10 minutes to flash froyo plug in, test (stay there if its works), and nandroid restore (if it doesnt).
miketlo said:
well before someone comes up with a real answer (since i dont have osx) the easiest thing to do is just plug in the n1 to usb and not mount the device and turn on wifi tethering. This way its charging and being your hotspot.
Why dont you just try to see if the usb tether on froyo works on your macbook and tell us what happens? It could possibly only take 10 minutes to flash froyo plug in, test (stay there if its works), and nandroid restore (if it doesnt).
Click to expand...
Click to collapse
I have of course tried this and nothing happens, it is not mapped as a network card like it is if I reboot into Windows 7.
Furthermore, I have searched and found several posts saying that it does not work due to a lack of drivers in Mac OS.
However, this being XDA and the innovative nature of many of the people on this forums made me think that someone may have a solution that works.
Linux drivers
If any one can provide hints where the Linux drivers that that add USB tethering ability can be found ? May be we are just able to port them with little modifications if any would be needed at all.
The problem is
Simply and has been for ages (since HTC had this kind of USB tethering integrated since the Hero days) that the solution google uses probably is the same as htcs it relies on rndis, which OSX has no proper support for. RNDIS is perfectly supported on OS level in windows and Linux but not in OSX.
Apple has dropped the ball on this protocol for ages, but up until now this has not really hurt but now it does somewhat (thankfully Google also has provided Wifi tethering, which is an easy fix to the problem)

[Q] Random Dell Streak 7 Questions that i can't seem to find answers too.

So, i have been reading thread after thread...AFTER thread on here and tabletroms.. and a few other choice places.. I just got my Streak 7. I have learned to root it, CMW, NVFLASH, etc.. i'm good on all these accounts.
i updated my streak (t-mobile 4g) to newest dell rom and liked it.. it fixed the dock speaker issue (no sound out of speakers when docked.) i rooted it but realized the kernel wouldn't allow overclocking (which i want to do for my tablet purpose)
So i switched over to Honeystreak r8 which is working perfect.. EXCEPT the dock issue is back.. docking the tablet (official v.2 dock) regardless of what you choose, shuts off internal speakers. So.. what am asking here is..Is there a rom that allows OCing.. and sound out of speakers while docked? Where can i find just a kernel i can flash with CWM on stock rom that allows overclocking (honeycomb)
second question, build.prop. i have looked EVERYWHERE and no one has mentioned this.. The marketplace (play) is not complete. Many apps are "not allowed" on this tablet. I know the "fix" of editing your build.prop with a proper/different product and fingerprint but whats a good one? I would like to install Hulu and a few other things WITHOUT sideloading. I can;t be the first person to ask this.. but i have searched all forms of combo words to get an answer and have not found one.
Last question. I read that the offical dock supports USB Host, i guess through the USB plug on the back... yet official rom does not support this.. (right?) So.. How do i plug a hub into it (it's a female Mini-USB NOT Micro) and also WHAT rom/kernel/whatever supports it..
Thank you..
The dock issue was fixed with stock rom 514, and HS R8 is based off of 507.
You would need to use 514 to get the fix, it might be possible to hack those two together and get both, but it hasnt been done yet. Also DJ_steve has no plans on HS as he's been working on ICS.
If you're unsure about rom versions, see Dell Streak 7 Official roms - xda wiki and
Dell Update process for an explaniation on the version strings.
Depends on the app, best thing to do is find out why it's not compatable in the first place. Some apps (like hulu i think?, or was it netflix?) use whitelists, which means only those devices can use it.
You could use a popular device like the transformer or xoom, or a similar device like the Gtab 7 which has similar specs (sorta).
The stock kernel doesnt support much in the way of usb-hosting. The HS kernel might, but also I believe you must provide power yourself, the port doesnt offer much power at all or so I hear. I'll have to get back to you on that in a few weeks.
How bout a kernel.. is there a place or is there a download of just an OCed/ OC capable kernel for the stock-rooted rom? That would solve one of my major dock issues. But i bought this device to make it a nice little portable arcade/emulator box and everything is great but i need to OC the thing to make some emulators really run nice. and i use the dock to.. well.. hold it up and charge it.
Also, do you know where i can find galaxy tab 7 build.prop examples?
There's no other kernels besides the HS one, (if you dont count the ICS one).
You cant just install it over 514, HS is partitioned differently.

USB Ethernet adapter and driver for Note

Hi,
i would really need a USB Ethernet adapter for my Galaxy Note. I searched forums and all i found was for tablets. I also noticed several times that people were talking that you can build the driver for specific device from official driver. If i understand right i could buy some USB Ethernet adapter and then build it's driver for galaxy note? Or not? Or is there maybe some "universal" driver already made?
I would be really thankful if someone explained this a little more.
Tnx
Moved To Q&A​
Please do not post questions in a dev section.​
alyosha said:
Hi,
i would really need a USB Ethernet adapter for my Galaxy Note. I searched forums and all i found was for tablets. I also noticed several times that people were talking that you can build the driver for specific device from official driver. If i understand right i could buy some USB Ethernet adapter and then build it's driver for galaxy note? Or not? Or is there maybe some "universal" driver already made?
I would be really thankful if someone explained this a little more.
Tnx
Click to expand...
Click to collapse
The drivers are included in the linux kernel of android, so the driver support is directly linked to the version of the kernel used on your device.
A small search gave me a result: look for USB to RJ45 Ethernet Adapter on amazon (you'll need a USB - micro usb adaptater tho.
shoutr said:
The drivers are included in the linux kernel of android, so the driver support is directly linked to the version of the kernel used on your device.
A small search gave me a result: look for USB to RJ45 Ethernet Adapter on amazon (you'll need a USB - micro usb adaptater tho.
Click to expand...
Click to collapse
So if i understand there are drivers already in kernel? Because i'm almost sure i red before that there are no drivers in kernel so this doesn't work out of the box.
I have OTG adapter so this is not problem. I'll try and buy some adapter and we will see if this will work. I have hydra-core kernel on stock rom.
alyosha said:
So if i understand there are drivers already in kernel? Because i'm almost sure i red before that there are no drivers in kernel so this doesn't work out of the box.
I have OTG adapter so this is not problem. I'll try and buy some adapter and we will see if this will work. I have hydra-core kernel on stock rom.
Click to expand...
Click to collapse
Sadly you'll have to try by yourself, but apparently, the one i found on amazon (around 16£) works on android 3.1+ devices.
shoutr said:
Sadly you'll have to try by yourself, but apparently, the one i found on amazon (around 16£) works on android 3.1+ devices.
Click to expand...
Click to collapse
Aham Do you maybe have Name and model of that device?
How about this? MicroUSB to RJ45..no need of a OTG in between I havent try it though..just found it on ebay & amazon..
http://www.amazon.com/Micro-Etherne...&sr=8-6&keywords=USB+to+RJ45+Ethernet+Adapter
http://www.ebay.com/itm/Tablet-5PIN...ablet_A_V_Cables_Adapters&hash=item4abdf06875
Ebay Adapter
Hi,
here is my unhelpful comment:
I have one of the little buggers (see attached image) boght on eBay:
Search for "USB to LAN RJ45 Network"
It works under Linux and identifies itself as:
"Davicom DM9601 USB Ethernet" and uses the Linux-Kernel-Module dm9601 (as it seems).
(NOTE: One strange thing: The newly bought device uses a MAC address, that was registered to an colleague on our network here. So it spoofs the address?!?!)
Combined with the Host-USB-Adater (OTG) it can be connected to the N7000 - BUT:
A) The LED lights up and blinks to show the trafic on the line
B) Nothing happens on the screen
C) In Elixir it shows up as
Name: /dev/bus/usb/002/002
ID: 2002
Product-ID: 38656
Vendor-ID: 4070
I Get no Menu to configure the wired connection.
So I guess there is no Driver.
I Used Hydracore v7 and Thor Kernel 0.26. (which is WAAAY slower then hydracore)
are there other things I could try?
This looks an interesting idea, wonder is its possible to to have PoE as well, disconnecting network access just to charge would be pretty annoying otherwise.

USB DAC and Nexus 7 2012 wifi only

Hi there just joined this wonderful forum and basically i am an Andriod noob :victory: I am very late to the party and never owned a smartphone or andriod device but with people going for the 2013 Nexus 7 and offloading their 2012 models at a basement bargain price i finally decided to jump on the Andriod bandwagon
Ok here's the thing : i bought a 2012 wifi only Nexus 7 and the seller stated that it has been rooted. I have a Fiio E7 USD DAC that i am using at home with my desktop and with the laptop @ the office. From what i read with some tweaks a Nexus 7 works fine with this particular USB DAC. Thing is i have downloaded apps like games, ebook reader, FLAC player, etc and more importantly files. From what i understand i have to "flash" to a new kernel that is USB DAC friendly? Could someone dumb it down so i could understand what exactly i should do to achieve this? Would all my files be lost if i flash to a new kernel? Thanks in advance ya
Edit : additional details
OS : Andriod 4.2.2
hodak said:
Hi there just joined this wonderful forum and basically i am an Andriod noob :victory: I am very late to the party and never owned a smartphone or andriod device but with people going for the 2013 Nexus 7 and offloading their 2012 models at a basement bargain price i finally decided to jump on the Andriod bandwagon
Ok here's the thing : i bought a 2012 wifi only Nexus 7 and the seller stated that it has been rooted. I have a Fiio E7 USD DAC that i am using at home with my desktop and with the laptop @ the office. From what i read with some tweaks a Nexus 7 works fine with this particular USB DAC. Thing is i have downloaded apps like games, ebook reader, FLAC player, etc and more importantly files. From what i understand i have to "flash" to a new kernel that is USB DAC friendly? Could someone dumb it down so i could understand what exactly i should do to achieve this? Would all my files be lost if i flash to a new kernel? Thanks in advance ya
Edit : additional details
OS : Andriod 4.2.2
Click to expand...
Click to collapse
Hi, hodak...
Much of your post doesn't mean much to me I afraid... although I do remember reading years ago, that DAC stands for Digital-to-Analog Converter and FLAC stands for Full Lossless Audio Codec (I think)... but that's about the limit of my knowledge concerning technical digital audio related stuff.
With regard to "flash to a new kernel that is USB DAC friendly". I have no idea if such a kernel exists. But if one does exist, it will almost certainly be in .ZIP format (which, by the way, you don't unzip), and would be flashed via a Custom Recovery.
There are two such Custom Recoveries available; ClockWorkMod Recovery (CWM) and The Windows Recovery Project (TWRP). They both do pretty much the same thing... with such a Recovery, you can flash Custom Kernels, Custom ROMs, root your device, and perform Nandroid backups (which are 'carbon copies' of your Nexus 7's state at the time the backup was made... even right down to the last app icon or widget you last dropped onto one of the home screens). Nandroid backups are extremely useful for returning your device back to it's last working state, in the event of a ROM (or kernel) flash gone wrong.
If you've never used a Custom Recovery before, you're probably wondering which one is 'best'. Well, the answer is a rather unhelpful 'neither' . Like most things Android related, it's very much a matter of personal taste. CWM has been around for years, and is favoured (mostly) by Android old timers. TWRP is the new-kid-on-the block, so to speak, and has a more intuitive interface than CWM, so I guess I would recommend TWRP as this is your first foray into Custom Recovery related stuff. Anyway here are the download links...
(It's important you get the right version for your device, so if you have a WiFi only Nexus 7 (as you do), you're going to need the 'grouper' Custom Recovery...and 'tilapia' Custom Recovery, if your Nexus 7 is both WiFi and 3G capable. Download the correct one to your PC.
TWRP for 'grouper'
CWM for both 'grouper' and 'tilapia'
But before you can fastboot flash a Custom Recovery, you must first unlock the bootloader on your Nexus 7 (and this is the bit you're not going to like so much)... unlocking the bootloader, performs a full wipe akin to a factory reset. So before proceeding you must first back up everything that is important to you on your Nexus 7 to your PC or some other external location.
However, none of this might be necessary!.
In your post you say "...and the seller stated that it has been rooted.".
Unless the seller rooted the device via the motochopper 'exploit' then there's a very good chance the bootloader is already unlocked... which means you won't loose your stuff. If there is an unlocked padlock symbol at the bottom of the screen, underneath the Google logo at boot... it means the bootloader is already unlocked.
So, to summarize...
* Backup your Nexus 7. (Might not be necessary if the bootloader is already unlocked).
* Unlock the bootloader with fastboot oem unlock (Might not be necessary...).
* Fastboot flash a Custom Recovery with fastboot flash recovery custom_recovery_filename.img
* Using that Recovery, flash your Custom Kernel.
* Restore your stuff back to your Nexus 7. (Might not be necessary...).
To reiterate... if the bootloader is already unlocked, then only the third and fourth steps listed above are necessary.
The full details of how to use fastboot and a link to the necessary drivers are available here. It looks more complicated than it actually is... but that's only because Comminus (the OP of the thread) is thorough in his explanation, and covers a lot of ground.
--------------------------------------------------
One other possibility occurs to me... If you're already rooted, you can use either one of these two apps...
Flash Image GUI or Flashify.
...you can use one of these two apps, to flash a Custom Recovery DIRECTLY FROM THE NEXUS 7 itself, without recourse to a PC or the need for fastboot. Just download the Custom Recovery .img file from one of the links above, directly to your Nexus 7... and then use either Flash Image GUI or Flashify to flash it.
Once you have CWM or TWRP installed, you can then download, directly your Nexus 7, the Custom Kernel of your choice... boot into CWM or TWRP and flash it.
How to boot into your Custom Recovery
Shut down the Nexus 7 completely. Press and hold VOL-DOWN... whilst holding, press POWER ON (hold both for about 5 seconds). This will boot the device into the bootloader. Using the VOL-BUTTONS, navigate to the RECOVERY MODE option, and press POWER ON to select. Your Nexus 7 should now boot into your previously installed Custom Recovery... CWM or TWRP.
--------------------------------------------------
And that's the Cliff Notes/Reader Digest version of how to flash a Custom Kernel. All you have to do now is find one that fits your digital audio requirements... and that, I'm afraid, I can't help you with... unfortunately.
Hope this helps... and good luck.
Rgrds,
Ged.
I think this rom might work for you
"USB audio kernel driver enabled
USB audio plug&play patches for DAC plugged at boot"
"USB audio plug&play handler for DAC plugged post boot"
"Supported USB audio devices
These are just some of the supported USB DAC's: CM106-F, FiiO E07 + E10 + E17......."
http://mehrvarz.github.io/img/usbhost-settings3.jpg
Click to expand...
Click to collapse
Dont know if its possible use this kernel in another rom.
link here
hodak said:
Hi there just joined this wonderful forum and basically i am an Andriod noob :victory: I am very late to the party and never owned a smartphone or andriod device but with people going for the 2013 Nexus 7 and offloading their 2012 models at a basement bargain price i finally decided to jump on the Andriod bandwagon
Ok here's the thing : i bought a 2012 wifi only Nexus 7 and the seller stated that it has been rooted. I have a Fiio E7 USD DAC that i am using at home with my desktop and with the laptop @ the office. From what i read with some tweaks a Nexus 7 works fine with this particular USB DAC. Thing is i have downloaded apps like games, ebook reader, FLAC player, etc and more importantly files. From what i understand i have to "flash" to a new kernel that is USB DAC friendly? Could someone dumb it down so i could understand what exactly i should do to achieve this? Would all my files be lost if i flash to a new kernel? Thanks in advance ya
Edit : additional details
OS : Andriod 4.2.2
Click to expand...
Click to collapse
I won't iterate what's been said, just add a few things you may find useful.
In addition to a kernel that support USB Audio (here's the one I use), you'll also need an OTG cable (On The Go). I just got this one to replace a POS cheapo cable. The StarTech is rock solid and, for my $$$, worth the price. I'm pretty sure most FiiOs work with the N7, but you can always google to be sure.
If you any high resolution FLACs (24-bit, 96 or 192 kHz), I'm pretty sure this is the only player that will play them at their native bit depth and samplerate. I'm just getting into USB audio on my Nexus 7 2012, but I tested the trial version of USB Audio Recorder Pro (UARP) with my HiFimeDIY Sabre U2 Asynchronous DAC, and it played a 24/96 FLAC perfectly. I haven't had a chance to test USB audio with any other players, but UARP is unique in that it has its own USB audio driver that bypasses (or attempts to; no problem w/the N7) the Android audio chain.
There's this USB-centric ROM available, if you're inclined to explore. Seems quite popular and has some nice features.
If you have a lot of apps installed, Titanium Backup Pro might be worth buying. It can be handy for restoring apps if you decide to try other ROMs. There's a free version, too.
Lastly, as a noob, you might appreciate WugFresh's Nexus Root Toolkit (NRT). Handy if you don't want to use the commandline and Android SDK. I started with it, learned the principles behind what it does, and now use the SDK for most things, but sometimes his NRT comes in handy.
Hope that helps! Good luck
ThurstonX said:
I won't iterate what's been said, just add a few things you may find useful.
In addition to a kernel that support USB Audio (here's the one I use), you'll also need an OTG cable (On The Go). I just got this one to replace a POS cheapo cable. The StarTech is rock solid and, for my $$$, worth the price. I'm pretty sure most FiiOs work with the N7, but you can always google to be sure.
If you any high resolution FLACs (24-bit, 96 or 192 kHz), I'm pretty sure this is the only player that will play them at their native bit depth and samplerate. I'm just getting into USB audio on my Nexus 7 2012, but I tested the trial version of USB Audio Recorder Pro (UARP) with my HiFimeDIY Sabre U2 Asynchronous DAC, and it played a 24/96 FLAC perfectly. I haven't had a chance to test USB audio with any other players, but UARP is unique in that it has its own USB audio driver that bypasses (or attempts to; no problem w/the N7) the Android audio chain.
There's this USB-centric ROM available, if you're inclined to explore. Seems quite popular and has some nice features.
Hope that helps! Good luck
Click to expand...
Click to collapse
ThurstonX, I'm actually thinking about buying the Hifimediy Sabre U2 but had a question. Say if I was playing 16bit mp3 songs or using Google Navigation...would you actually hear sound through the Sabre or does audio only work through UARP?
machmanx said:
ThurstonX, I'm actually thinking about buying the Hifimediy Sabre U2 but had a question. Say if I was playing 16bit mp3 songs or using Google Navigation...would you actually hear sound through the Sabre or does audio only work through UARP?
Click to expand...
Click to collapse
Wish I could answer your question. I never got the DAC to work with any other player. I use the stock 4.3 ROM and vorcers' V7 kernel. I have Timur's USB ROM (which uses his kernel) downloaded, but haven't had any time to test it. Hopefully tomorrow, but whenever, I'll post another reply to let you know.
My understanding is that if you get the DAC working, it handles all audio out, if you have a player that will do it. Maybe that's why people love USB ROM. I mean if guys are using it for their Nexus 7 car installs, with Bluetooth and other audio apps, and are using USB DACs, I would assume all audio will go that route.
Sorry for being so vague.

External screen?

Hey!
This is my first thread I've ever created, so don't be too harsh on me
As far as I know, the new Android 10 includes a so called "desktop mode". So you can connect a compatible device via USB to an external screen. I think thats pretty cool and samsung already implemented this idea from the S8 upwards with Samsung Dex.
I understand that this needs USB 3.1, but the Motorola G7 Plus only has USB 2.0!
According to the datasheet of the build-in Snapdragon 636 processor, it does support USB 3.1!
So here comes the question: Is it possible to "activate" the required functionality in order to use the desktop mode?
So like changing a few things inside the root files (Like you can activate for example OTG)?
If not, is the hardware build that way, that it just doesn't have the data-lines?
And also, if all of that doesn't work, you surely saw such USB 2.0 to HDMI adapter, which do work on older computers, but do they might work with Android 10 connected to otg?
It would be really cool if something of that might work.
Thanks for your response!
TimTheDev said:
Hey!
This is my first thread I've ever created, so don't be too harsh on me
As far as I know, the new Android 10 includes a so called "desktop mode". So you can connect a compatible device via USB to an external screen. I think thats pretty cool and samsung already implemented this idea from the S8 upwards with Samsung Dex.
I understand that this needs USB 3.1, but the Motorola G7 Plus only has USB 2.0!
According to the datasheet of the build-in Snapdragon 636 processor, it does support USB 3.1!
So here comes the question: Is it possible to "activate" the required functionality in order to use the desktop mode?
So like changing a few things inside the root files (Like you can activate for example OTG)?
If not, is the hardware build that way, that it just doesn't have the data-lines?
And also, if all of that doesn't work, you surely saw such USB 2.0 to HDMI adapter, which do work on older computers, but do they might work with Android 10 connected to otg?
It would be really cool if something of that might work.
Thanks for your response!
Click to expand...
Click to collapse
Unfortunately this device does not support MHL so usb to HDMI dongles do not work. Apparently moto hasn't supported MHL for some time .
digitaljeff said:
Unfortunately this device does not support MHL so usb to HDMI dongles do not work. Apparently moto hasn't supported MHL for some time .
Click to expand...
Click to collapse
Thanks for your answer. But I knew that before. I am trying to finde some "workarounds" for this, because I do really like this phone!
Found a solution
So, after a bit of research, I found a solution to add external screens to any OTG compatible Android phone!
There are so called "DisplayLink adapters" and those seem to be compatible with any Android phone that supports OTG.
After installing the official app "DisplayLink Presenter", you should be able to get everything working.
I din't tested it yet, but I hope that this will help someone in the future.

Categories

Resources