Hi to all,
is possible to connect a internet key to Samsung Galaxy Tab2 P5110 ?
Thank you.
zmuda said:
Hi to all,
is possible to connect a internet key to Samsung Galaxy Tab2 P5110 ?
Thank you.
Click to expand...
Click to collapse
What do you mean by an "internet key" - a 3g/4g dongle? If so, no (or at least not trivially.)
You would have to obtain driver source for the device, build it for ARM and install it by hand to have any chance of making it work.
k1mu said:
What do you mean by an "internet key" - a 3g/4g dongle? If so, no (or at least not trivially.)
You would have to obtain driver source for the device, build it for ARM and install it by hand to have any chance of making it work.
Click to expand...
Click to collapse
You reply is very good.
The problem is the driver for internet key (3g/4g).
About your opinion, you can find drivers on the network?
Thank you , very kind.
zmuda said:
You reply is very good.
The problem is the driver for internet key (3g/4g).
About your opinion, you can find drivers on the network?
Thank you , very kind.
Click to expand...
Click to collapse
You'll have to use a device which is Linux compatible, then the driver would either be supplied by the manufacturer in source code form or is already included in the Linux kernel source. In either case, you would then install a kernel build environment, get the kernel source for your device, and enable that new driver. After that, build and install a kernel package. Unless you're a Unix person, this is not an easy task.
Oh, and the only way to connect it is via an OTG adapter.
I will upload KK-Booted stock kernel tommorow, with PPP Widget related modules to support USB internet dongle. You need CWM recovery but this boot image untested on P51xx since I have no access to it.
http://forum.xda-developers.com/showthread.php?p=37685672#post37685672
Related
I am working on building my first Android app, this app will allow me to use my phone with a USB device that will let my phone work as a remote for my TV.
I have already build my GUI layout and database, and they seem to be running good on my Note 2.
I am now stuck on trying to figure out how to connect this device to my phone.
The device I have is the USB IR Toy 2, here is the link
dangerousprototypes.com/docs/USB_Infrared_Toy
Any help is welcome, I am using the Android SDK to build this app.
Once I am done I will post my code here for you all to use as you wish.
no responses?
Is this not possible?
ZIGMA51 said:
I am working on building my first Android app, this app will allow me to use my phone with a USB device that will let my phone work as a remote for my TV.
I have already build my GUI layout and database, and they seem to be running good on my Note 2.
I am now stuck on trying to figure out how to connect this device to my phone.
The device I have is the USB IR Toy 2, here is the link
dangerousprototypes.com/docs/USB_Infrared_Toy
Any help is welcome, I am using the Android SDK to build this app.
Once I am done I will post my code here for you all to use as you wish.
Click to expand...
Click to collapse
Usb otg I assume to be to the solution.
Sent from my LG-LS970
desert54 said:
Usb otg I assume to be to the solution.
Sent from my LG-LS970
Click to expand...
Click to collapse
Usb otg?
ZIGMA51 said:
Usb otg?
Click to expand...
Click to collapse
Its a function that allows you to connect a usb device to a phone.
Sent from my LG-LS970
ok, I will need to look in to USB on the go more.
Is there any example code I can review, that might help?
ZIGMA51 said:
ok, I will need to look in to USB on the go more.
Is there any example code I can review, that might help?
Click to expand...
Click to collapse
What I know is that usb otg can only be done on certain chipsets, as for code source, I have no idea.
Sent from my LG-LS970
---------- Post added at 08:09 AM ---------- Previous post was at 07:59 AM ----------
Assuming that the note 2 supports USB Otg stock, You could just simply purchase a usb otg cable for it and work from there.
OK I got my device to connect to my phone, I even made it where when I connect my device it launches my app, but I am having issues with getting my phone to talk to my serial USB device.
Anyone have a idea how to do this?
Hi, since I cannot post to Android Dev, I'll post my question here; hopefully a mod will move my thread over to the Dev section.
I'm trying to find out which serial device is the phone's modem, running "cat /proc/tty/drivers" gives me a list of devices, which hang upon sending AT commands.
How could I identify the correct serial device?
Is there some kind of tracer I can run that could show me which device the RIL is calling?
Since the Nexus 5 is relatively new, not much info is available yet.
pcstyle said:
Hi, since I cannot post to Android Dev, I'll post my question here; hopefully a mod will move my thread over to the Dev section.
I'm trying to find out which serial device is the phone's modem, running "cat /proc/tty/drivers" gives me a list of devices, which hang upon sending AT commands.
How could I identify the correct serial device?
Is there some kind of tracer I can run that could show me which device the RIL is calling?
Since the Nexus 5 is relatively new, not much info is available yet.
Click to expand...
Click to collapse
Hi pcstyle,
I'm looking for the same procedure on Nexus 5.
Any Success/Progress on it ?
Saurabh
saurabh_meshram said:
Hi pcstyle,
I'm looking for the same procedure on Nexus 5.
Any Success/Progress on it ?
Saurabh
Click to expand...
Click to collapse
I am also very interested in finding a way to enable (by the means of recompiling the kernel or by writing an adapter) serial (tty) modem on Nexus 4/5 or by any other way.
romangs said:
I am also very interested in finding a way to enable (by the means of recompiling the kernel or by writing an adapter) serial (tty) modem on Nexus 4/5 or by any other way.
Click to expand...
Click to collapse
I suppose you don't have to recompile the kernel.
Since you are just writing to a file (can be any /dev/ttyX).
Have you checked your device under Window, in device manager. Does it show any COM or Modem port.
Please see the attached image.
Above snapshot is for my Huawei Modem, if Modem port is enabled for the device we can see this.
If the modem port is obtained, we can pass AT commands to it directly using Hyperterminal-like software.
Please let me know.
saurabh_meshram said:
I suppose you don't have to recompile the kernel.
Since you are just writing to a file (can be any /dev/ttyX).
Have you checked your device under Window, in device manager. Does it show any COM or Modem port.
Please see the attached image.
Above snapshot is for my Huawei Modem, if Modem port is enabled for the device we can see this.
If the modem port is obtained, we can pass AT commands to it directly using Hyperterminal-like software.
Please let me know.
Click to expand...
Click to collapse
Thank you for your reply. I am looking to access phone's modem from phone's terminal through /dev/tty like device. I've tried connecting and sending AT commands to most devices /dev/... with no success receiving any response.
This is where it is discussed in high details.
forum.xda-developers.com/showthread.php?t=1471241
As it currently stands there is no known way to access phone's modem using serial device like /dev/tty or similar. At least not on Nexus or Galaxy phones.
romangs said:
Thank you for your reply. I am looking to access phone's modem from phone's terminal through /dev/tty like device. I've tried connecting and sending AT commands to most devices /dev/... with no success receiving any response.
This is where it is discussed in high details.
forum.xda-developers.com/showthread.php?t=1471241
As it currently stands there is no known way to access phone's modem using serial device like /dev/tty or similar. At least not on Nexus or Galaxy phones.
Click to expand...
Click to collapse
I too am facing the same issue where I am not able to find which /dev/ttyX to write for Nexus 5.
However could you tell us about the following.
Which device are you using ?
Is the device rooted? Since writing to /dev files require root permission.
What platform are you working on ? Linux or Windows ?
You should not only look for a /dev/ttyX file, as shown here
http://stackoverflow.com/questions/7022525/at-command-in-android
Your modem related file can also be /dev/smdX.
Using ADB shell, Try ls -l /dev/smd* on your device, check for users and groupname by radio (See attached)
Try out some combinations there. Didn't work for me, might work for you.
Note: This may vary with devices, attached shot is on a Moto G.
In case of windows : This can also be a driver issue. If appropriate drivers are not available it may not expose Modem port in Windows.
I have tried for several phones but no luck. With a Dongle it works fine, able to pass AT commands.
pcstyle said:
Hi, since I cannot post to Android Dev
Click to expand...
Click to collapse
Dev isn't for questions. It's for development projects.
Sent from my Nexus 5 using Tapatalk
saurabh_meshram said:
I too am facing the same issue where I am not able to find which /dev/ttyX to write for Nexus 5.
However could you tell us about the following.
Which device are you using ?
Is the device rooted? Since writing to /dev files require root permission.
What platform are you working on ? Linux or Windows ?
You should not only look for a /dev/ttyX file, as shown here
http://stackoverflow.com/questions/7022525/at-command-in-android
Your modem related file can also be /dev/smdX.
Using ADB shell, Try ls -l /dev/smd* on your device, check for users and groupname by radio (See attached)
Try out some combinations there. Didn't work for me, might work for you.
Note: This may vary with devices, attached shot is on a Moto G.
In case of windows : This can also be a driver issue. If appropriate drivers are not available it may not expose Modem port in Windows.
I have tried for several phones but no luck. With a Dongle it works fine, able to pass AT commands.
Click to expand...
Click to collapse
1 – I tried connecting to almost all devices. I was trying to get response to ATZ, ATI commands and also tried to see my commands using logcat –b radio. I tried it on Nexus 5 and Nexus 4 with both stock and cyanogenmod ROMs.
2 – Yes, phones are rooted.
3 – Mainly Ubuntu 14.04 and sometimes Win 7 x64
I tried to connect 3G dongle to Nexus 5 – no go. Device does not see it. Did you connect USB 3G dongle to Moto G phone?
According to E:V:A “As you probably have seen already there are essentially two main ways to locally communicate with AT command interpreter. One is by some Shared Memory device /socket, and the other is through the Java OEM_HOOK_RAW_REQUEST through RIL.
Only rarely is there an accessible serial terminal device enumerated. Usually on MTK based modems and on some older FIrmware using Qualcomm based ones.”
Hi! I was wondering if it was possible (it probably is) to merge ralink drivers into some i9300 kernel to make an eventual USB external Wifi adapter. More in detail, the modules i think would be mostly useful are the RT2080 ones, even i need specifically the rt3070 one. I saw that this was already done on Nexus7 devices, and wanted to ask if some dev could do this or some tips on how to do it by myself. Thank you
Sent from my GT-I9300 using xda app-developers app
nebular said:
Hi! I was wondering if it was possible (it probably is) to merge ralink drivers into some i9300 kernel to make an eventual USB external Wifi adapter. More in detail, the modules i think would be mostly useful are the RT2080 ones, even i need specifically the rt3070 one. I saw that this was already done on Nexus7 devices, and wanted to ask if some dev could do this or some tips on how to do it by myself. Thank you
EDIT 22/03
So i found out the xda-dev app Module Loader. Injected rt3070sta.ko module and successfully mounted my Zyxel NWD2105 Wifi dongle. But it seems phone doesnt care. I m on Slimkat 4.4 v3.8 on i9300. The question is: how do i now become able to use the dongle?
Click to expand...
Click to collapse
nebular said:
nebular said:
Hi! I was wondering if it was possible (it probably is) to merge ralink drivers into some i9300 kernel to make an eventual USB external Wifi adapter. More in detail, the modules i think would be mostly useful are the RT2080 ones, even i need specifically the rt3070 one. I saw that this was already done on Nexus7 devices, and wanted to ask if some dev could do this or some tips on how to do it by myself. Thank you
EDIT 22/03
So i found out the xda-dev app Module Loader. Injected rt3070sta.ko module and successfully mounted my Zyxel NWD2105 Wifi dongle. But it seems phone doesnt care. I m on Slimkat 4.4 v3.8 on i9300. The question is: how do i now become able to use the dongle?
Click to expand...
Click to collapse
You must boot from a linux distrubiton such as backtrack. But there is no native way that i know for doing that. Although there is one solution that you run linux background and connect to it by vnc viewer. Take a look at this
Click to expand...
Click to collapse
I built a few kernels for 4.3 and 4.4 with these modules, but the problem is once I built the kernel I lost the ability to mount the ext4 SD to be available within android. Only adb can see it.
What do you see in lsusb, or dmesg when you plug it in?
simply nothing. my rt3070 device is not even recognized by phone (i9300 with 4.4.4 Slimkat) after inserting specific .ko modules
Hello,
I have the 1.10 model of the TL-WN722N plugged in with a standard OTG adapter and it doesn't work.!
I installed Nethunter via the TWRP method by installing the image file in recovery mode, after unlocking the OEM via windows with adb.
I have version 6.0.1 of Android on Nexus 5 and I connect the key with a standard OTG adapter.
Currently I have done a lot of research and I can't figure out how to fix the problem.
I also try to install applications that manage and enable the OTG.
Here are screenshots of the commands I tried and with the version of my Android.
sorry i can't put an external link
The biggest problem is that the modules do not install, I have already tested some kernel and none install the modules so we get the problem cited above.
sorry i can't put an external link
I have spent whole days looking for a solution, looking at forum pages and I don't understand.
I managed to understand that there is a bone for the phone + the kernel and the full kali pack (tell me if I'm wrong).
But I don't know why the modules don't want to install.
The phone works very well in OTG.
I tested with several OTG cables and it works perfectly with a USB key.
I'm on Nexus 5 with original android 6.0.1 in marshmallow and I'm trying to connect a TL-WN722N 1.10 to the phone.
In short I hope you can help me because I am surpassing, I am completely neophyte but that fascinates me.
Sorry for the translation, I'm French.
Here is the name to my gitlab issue:
"Problem with my TL-WN722N V 1.10 on Nexus 5 6.0.1 plugged with OTG"
I tested the kernel that I was offered and it doesn't work.
Especially since I can't understand in what order I should install each file and if I should "reboot" between each "install".
Thank you for taking the time to read this block and I hope you can help me.
If any info is missing, tell me.
Thank you
A +
andurilmike
andurilmike said:
Hello,
I have the 1.10 model of the TL-WN722N plugged in with a standard OTG adapter and it doesn't work.!
I installed Nethunter via the TWRP method by installing the image file in recovery mode, after unlocking the OEM via windows with adb.
I have version 6.0.1 of Android on Nexus 5 and I connect the key with a standard OTG adapter.
Currently I have done a lot of research and I can't figure out how to fix the problem.
I also try to install applications that manage and enable the OTG.
Here are screenshots of the commands I tried and with the version of my Android.
sorry i can't put an external link
The biggest problem is that the modules do not install, I have already tested some kernel and none install the modules so we get the problem cited above.
sorry i can't put an external link
I have spent whole days looking for a solution, looking at forum pages and I don't understand.
I managed to understand that there is a bone for the phone + the kernel and the full kali pack (tell me if I'm wrong).
But I don't know why the modules don't want to install.
The phone works very well in OTG.
I tested with several OTG cables and it works perfectly with a USB key.
I'm on Nexus 5 with original android 6.0.1 in marshmallow and I'm trying to connect a TL-WN722N 1.10 to the phone.
In short I hope you can help me because I am surpassing, I am completely neophyte but that fascinates me.
Sorry for the translation, I'm French.
Here is the name to my gitlab issue:
"Problem with my TL-WN722N V 1.10 on Nexus 5 6.0.1 plugged with OTG"
I tested the kernel that I was offered and it doesn't work.
Especially since I can't understand in what order I should install each file and if I should "reboot" between each "install".
Thank you for taking the time to read this block and I hope you can help me.
If any info is missing, tell me.
Thank you
A +
andurilmike
Click to expand...
Click to collapse
You didn't mean the whole time the 6.1 factory image, or did you?
It was to 90 % over the thread of Lineage the talk.
Anyhow, anything which you got linked by the fellow user and me, were apart from the official image from Offensive's site, solely for Lineage meant.
Before I forget, here the newly build chroot, with all the new apps, wallpaper, boot animation from the nightlys:
https://mega.nz/#!9MZ3nAKJ!oQFguK9vltGN5TNjxcfZmQvM2xg3_EzNWTz5roBN-Hk
What do you not understand about the flash procedure in particular?
PS
As re4son wrote does the hammerhead kernel not install any modules.
I don't know what you flashed before though.
What did happen with Lineage+Opengapps+root+installer+kernel(or together, as my previous upload..?
I haven't the best experiences with Lineage, but it depends.
May I ask if you had time to take a look from the rom I linked you at the beginning?
It's the most reliable, although a bit outdated rom named NetHunter OS.
https://gist.github.com/binkybear/8f0f4eee292d5263372f47c3c3edd08e
Post your questions as detailed as possible..so let's wrap it up.
469/5000
A miracle happened there and installing nethunteros-nethunter-hammerhead-cm-14.1-hammerhead and then kalifs-armhf-full.tar.xz for the chroot and it works well.
The only problem is that when I try to install packages:
E: unable to locate kali-linux nethunter package
E: unable to locate kali-linux package
E: unable to locate kali linux-all package
But other than that, everything works.
Victory.
Thank you all for your patience and your advice.
andurilmike said:
469/5000
A miracle happened there and installing nethunteros-nethunter-hammerhead-cm-14.1-hammerhead and then kalifs-armhf-full.tar.xz for the chroot and it works well.
The only problem is that when I try to install packages:
E: unable to locate kali-linux nethunter package
E: unable to locate kali-linux package
E: unable to locate kali linux-all package
But other than that, everything works.
Victory.
Thank you all for your patience and your advice.
Click to expand...
Click to collapse
No need to thank me.. I am glad, that you were able to get it to work finally, after that number of failed attempts..
I went with the NetHunterOS rom version, which I linked you in gitlab
https://build.nethunter.com/nethunt.../LOS-hammerhead-14.1-20170102-nethunteros.zip
SuperSU has already been integrated in this variation as well.
After you flash the obligatory OpenGapps version for the same Android version and architecture 7.1 [arm], you are basically good to go.
I prefer the package size 'pico' - but this goes after your personal liking.
In my experiences is it better to use the "older" kalifs filesizes and not the newer ones with ~ 1,3 GB -- it seems to break somehow the rom/kernel if you use the newer ones
https://build.nethunter.com/kalifs/kalifs-20171118/kalifs-armhf-full.tar.xz
I don't know if you can use the internal wifi chipset, as well as a external adapter for wireless pentesting with the version wich you choose, but this is possible with the one I linked yesterday and again above.
A problem is that
(sudo) apt-get (dist-)upgrade
Click to expand...
Click to collapse
and seemingly further package upgrades are breaking the rom.
Although theoretically should you be able to install stuff.
Did you try it over the terminal, or just the NetHunter.apk?
Best regards l
Thank you.
I use an external wifi antenna, the TL-WN722N v 1.10 in USB OTG.
I tried to install metapackages via nethunter.apk
Nethunter cannot detect a HID interface.
Duckhunter HID does not work.
Thank you
A +
andurilmike said:
Thank you.
I use an external wifi antenna, the TL-WN722N v 1.10 in USB OTG.
I tried to install metapackages via nethunter.apk
Nethunter cannot detect a HID interface.
Duckhunter HID does not work.
Thank you
A +
Click to expand...
Click to collapse
Yeah, I just meant with the mentioned rom/setup, are you able to use the internal Wifi chipset (Broadcom4339) in monitor mode and could forgo the external adapter.
HID should work as well.
No, I cannot use the internal wifi card in monitor mode or the HID device.
I don't understand why?
Thank you
Hi
I wonder if it is possible to host Samsung Dex directly on the S10e device, only starting the exe from the computer without installing anything ?
Thanks
Nico
nicopilami said:
Hi
I wonder if it is possible to host Samsung Dex directly on the S10e device, only starting the exe from the computer without installing anything ?
Thanks
Nico
Click to expand...
Click to collapse
It should work but you would have to install the driver either way so I don't know if it makes much sense.
driver ?
Vatt`ghern said:
It should work but you would have to install the driver either way so I don't know if it makes much sense.
Click to expand...
Click to collapse
Is it a specific driver for DEX and not the Samsung one ?
nicopilami said:
Is it a specific driver for DEX and not the Samsung one ?
Click to expand...
Click to collapse
I think you would need to write a script to direct windows to the file where you would have the DeX folder and what commands you need run inside it. You would change the extension to exe after you finish writing it. Honestly if you could pull it off, I believe it would be the same as just installing it. I could be wrong though.
it would be fantastic if it were possible.
my company pc not allow software installation...
Did you get any workaround? I face the same issue where my company does not allow PC software installations
Weirdly enough my daughter's Lenovo laptop whenever I connect my phone i can click the dex in my phone notifications and desktop mode appears on the laptop. I haven't installed any software on the laptop.