[Q] how to tether my android MID to android 3G phone phone - General Questions and Answers

Hi, there,
Need your great help here, am I trying to do an impossible thing?
I have a SmartQ V7 MID device (en.smartdevices.com.cn/Products/V7/200912/04-40.html), which runs android 2.1, Ubuntu(ARM), and WindowCE.
and I have a ZTE N600 3G phone running android 2.1. It is a pity the phone doesn't support wifi or bluetooth.
I am trying to tether this MID device via USB to N600 to better use the 3G connection. I searched the internet, and tried several ways, but all failed:
1. Azilink (install ok) + OpenVPN (install on Ubuntu ARM) + Android SDK ( no sdk available, especially no adb to do the tcp forward, I tried to build adb on Ubuntu ARM, but failed )
2. Wired tether tool (code.google.com/p/android-wired-tether), it doesn't support my phone kernel.
3. usb_mode_switch on Ubuntu ARM, but the tool keeps seeing the phone as the sd disk instead of a modem.
4. PDANet works on my PC to my N600 phone. But there is no PDANet that the MID could use.
I am about to give up, am I trying an impossible thing? Many thanks in advance for your help or comment.

Related

[Q] how to make wine able to detect usb devices?

Hi, I want to got a windows tool works on ubuntu 9.10. It's used to communicate with the modem of my android phone. So I decided to use it via wine. But the tool just said it can't find usb port. What should I do? BTW, my android phone start up with two modes. When connector was plugged in, just the modem was power on, so it was detected to be a usb-serial device on windows. And if power on the phone, it was detected to be usb device on windows. Any ideas to support these two modes on ubuntu via wine?
Thanks a lot!

[Q] Issues with ADB and Portable WiFi Hotspot when updating to 4.2.2

Hi all,
I have been testing the wonderful ROMs for Inspire 4G, for example
AoCP: http://forum.xda-developers.com/showthread.php?t=2334107
moProject42: http://forum.xda-developers.com/showthread.php?t=2354076
I have 2 issues that I'd like to resolve. I would have posted in those threads, but I'm not allowed as a new user to this forum.
1. In both cases, after updating to the 4.2.2 ROM, I have not been able to shell in from my Win7 32bit laptop using ADB, as the device shows up as offline.
[Sat Sep 14 13:09:13 ~] $ adb devices
List of devices attached
HT19GT202387 offline
On the phone, my laptop's RSA Key was shown, and I accepted it, but it never seems to come online.
I have tried all the usual methods to try to fix this:
- upgraded my SDK and Google USB drivers for 4.2.2
- turn ADB debugging off/on on the device
- pull out/plug in the device
- Delete and reinstall the USB drivers on the laptop
2. After turning on Portable WiFi Hotspot, my 3G connection dies, so any devices that successfully connect to the hotspot are unable to browse the web.
Also, the device itself can no longer use 3G until I turn off the hotspot, and reboot the phone.
Any ideas? Thanks in advance.

[Q] Kali Linux via Linux Deploy w/Alfa AWUS036NHA (Atheros AR9271) USB wifi adapter?

i can't seem to find a straight answer about this. i've got kali linux installed on my samsung note 8013 and launch it via linux deploy, i access the desktop environment by connecting via VNC over SSH. i want to get my Alfa AWUS036NHA USB wifi adapter working within kali linux on it. i have the alfa connected to a powered USB hub which is connected to the tablet via a USB OTG adapter. the wifi USB adapter is recognized both in android and in kali linux when i use the "lsusb" command in a terminal window. however, it is not showing up when i do an ifconfig or iwconfig.
i have read that external wifi adapters are disabled by default, and that in order to get external wifi to work, the internal wifi needs to be disabled. however, i'm not quite sure how to do this or how to get the ath9k drivers working with packet injection, either in android or linux. i'm pretty sure this requires some kernel modifications especially if the ath9k drivers are not enabled within the kernel by default (i'm running stock rooted jellybean 4.1.2 ROM), unless there's a script that can be run on linux deploy when launching kali that can enable the ath9k drivers and the external wifi, and turn off the internal wifi. if it requires kernel modifications, do i need to recompile the kernel for both android and linux, or is the linux one enough to get it working within my kali chroot environment?
also, i was wondering if there was a way to boot into kali linux natively without having to replace my recovery - on the official kali site there's a recovery.img you can flash to boot into kali by holding down certain keys during startup, but i'd prefer to keep TWRP or clockworkmod recovery. sorry, i know that's a totally different question. thanks!
eudemonics said:
i can't seem to find a straight answer about this. i've got kali linux installed on my samsung note 8013 and launch it via linux deploy, i access the desktop environment by connecting via VNC over SSH. i want to get my Alfa AWUS036NHA USB wifi adapter working within kali linux on it. i have the alfa connected to a powered USB hub which is connected to the tablet via a USB OTG adapter. the wifi USB adapter is recognized both in android and in kali linux when i use the "lsusb" command in a terminal window. however, it is not showing up when i do an ifconfig or iwconfig.
Click to expand...
Click to collapse
Hello, any progress with that? I'm struggle with wifi and bluetooth issue couple month and nothing..
AlA777 said:
Hello, any progress with that? I'm struggle with wifi and bluetooth issue couple month and nothing..
Click to expand...
Click to collapse
you need to compile a custom kernel with the drivers/firmware and flash it
eudemonics said:
you need to compile a custom kernel with the drivers/firmware and flash it
Click to expand...
Click to collapse
Yes, already done. Thank you!

FaaastJB v2.5 Allwinner A13

I've got the FasssstJB 2.5 ROM up and running, once I got the touch screen working its been great. I've got Kali loaded via Linux Deploy and I plan on using a AWUS036H wireless for Kali.
When I plug the USB wireless in; lsusb can see the device in both android and kali however ifconfig shows nothing so I'm missing the rtl8187 drivers.
I've tried a few rtl8187.ko drivers I've found but nothing for 4.2.2
Anyone have an rtl8187.ko driver for 4.2.2 they care to share?
I'm 99.9% to my goal if I could just get this driver running
Thanks

TP-Link TL-WN722N wifi drivers for linux Nethunter .

Hi.
I want to install NetHunter on my OnePlus One phone.
Will probably flash a CM12 or 13 rom with NetHunter 2.0.
I have external adapter TP-Link-TL-WN722N, currently used for Linux kali rolling on my PC laptop. Since my OPO chip-set doesn't support monitor mode, I would like to use TP-Link-TL-WN722N.
My problem is finding the wifi drivers to install on a Android.
(Q) If you are currently using TP-Link TL-WN722N for NH or Linux Deploy, how did you download the drivers?
(Q) Is there an existing kernal to install having these drivers?
Or a set of instructions I could follow.
(Q) There is a linux package (firmware-atheros) in linux repository. Will this have the drivers?
Currently using ROM Lineage os 14.1.2, 64gb. Rooted phone with SuperSu 2.82 TWRP 3.1.1
I have an OTG host cable I tested with a mouse.
I'm fairly new at this so please explain.
Thanks.
TC.
Not working for me
@tomx2x I have the same question, the TL-WN722N doesn't want to work with the firmware-atheros package altough it should work with that. Did you manage to solve it?
Rooted, Cm13, android 6.0.1 twrp super su and flashed nethunter full 2017.10 with kernel 3.4.110. Installed firmware-atheros in terminal. Lsusb kind of shows something but not really recognising the adapter
This is a v2
Turned out that this is a v2 with r8188eu chipset.. no monitor mode
yesimxev said:
@tomx2x I have the same question, the TL-WN722N doesn't want to work with the firmware-atheros package altough it should work with that. Did you manage to solve it?
Rooted, Cm13, android 6.0.1 twrp super su and flashed nethunter full 2017.10 with kernel 3.4.110. Installed firmware-atheros in terminal. Lsusb kind of shows something but not really recognising the adapter
Click to expand...
Click to collapse
This is where I stand.
@yeseximv.
I am running TP-Link-TL-WN722N V1 but still cannot connect.
Newbie with Linux, so maybe you can assist me.
Trying Nethunteros rom.
Flashed Nethunteros successfully. Install Kali Chroot-full.
Using Bvnc app as VNC client to connect via ssh.
Firmware-atheros drivers are part of the Nethunteros kernal. Installed in /system/etc/firmware.
I am trying to connect to the internet w/o using a Network Manager app.
Here are the steps I performed.
1. Started Dbus service
2. Ifconfig Wlan0 up (Interface I am using).
3. Entered linux command: iw dev wlan1 connect “BayBreeze Hotel”
Terminal Message returned stated “connected”
TL-WN722N (wlan0 interface) starts blinking.
4. Launch Firefox.
I should see the hotel's Login page.
Received message “Problem loading page”
I know the essid “BayBreeze Hotel” is a active wireless wifi network. When not using Linux, I can launch & connect wifi (BayBreeze Hotel)on my OnePlus phone by going to settings.
There must be some commands/steps I am missing. Can you or anyone in this thread help?
If I cannot get this going, my next step will be to use Network-Manager apps.
In terms of your V2 TP-Link.
In GitHub forum there is NetHunter kernal (LKernel491.zip} I tried and was successful in Monitor mode.
Firmware is part of the kernal (no need to install firmware atheros manually).
You can go to the link I provided below, ask the Programmer (Bkr32) whether it supports V2.
My only issue using Lkernel491 patch is getting “Device Not Managed” error connecting to Network_Manager app. Tried Set*managed=true*in*/etc/NetworkManager/NetworkManager.conf.
But still unsuccessful.
Instructions to install are part of the link provided.
Here is the link:
https://github.com/offensive-security/kali-nethunter/issues/962#issuecomment-330428124
Thanks.
TC.
Got it
Newbie here too so can't help you with that, sorry. I finally got an AWUS036NEH and it all works flawlessly
tomx2x said:
@yeseximv.
I am running TP-Link-TL-WN722N V1 but still cannot connect.
Newbie with Linux, so maybe you can assist me.
Trying Nethunteros rom
...
Thanks.
TC.
Click to expand...
Click to collapse
yesimxev said:
Newbie here too so can't help you with that, sorry. I finally got an AWUS036NEH and it all works flawlessly
Click to expand...
Click to collapse
@yesimxev.
Can you provide the steps/commands you use to connect and launch the internet with AWUS036NEH wifi dongle. This may help me with my problem.
Thanks.
tomx.
I haven't used for connecting the internet, will test if works. I was interested in the monitor mode.
As before: Rooted, flashed twrp, super su, Cm13 with android 6.0.1 (stock firmware) and flashed nethunter (nightly) full 2017.10, then kernel 3.4.110. Installed firmware-atheros in terminal. Updated metapackages. Downloaded wifi metapackages, not sure if it's needed though. Then starting monitor mode works from the nethunter custom commands. Try making this config, then you can add the custom command to run after you plugged in the adapter.
https://forum.xda-developers.com/showthread.php?t=2121791
tomx2x said:
@yesimxev.
Can you provide the steps/commands you use to connect and launch the internet with AWUS036NEH wifi dongle. This may help me with my problem.
Thanks.
tomx.
Click to expand...
Click to collapse
Find drivers no problem
they are on tplink website with some manuals
but i think git is better..
have Nexus 7 .. for some reason it not detecting WN722N v3
but can see OTG (Running nethunter 2020)
so found this manual
download the driver , extract it in a folder , right click in folder and choose Open in termianl
and then enter these commands :
make clean
make all
cp realtek_blacklist.conf /lib/modprobe.d/
make install
reboot
to activate monitor mode :
ifconfig down
iwconfig mode monitor
ifconfig up
Hope it will work !!!!
shame on nethunter for not preloading drivers !!!!

Categories

Resources