QUESTION: Kali Linux, wifi and bluethooth - HTC Desire S

It's my first post so please be gentle
Anyways; i've been toying with it for days but finally i could get Kali linux installed on my HTC Desire S using htt ps://github. com/meefik/linuxdeploy/issues/183 this method. But as stated there, i have issues
A few questions:
1 - wifi is actually recognised in iwconfig as wlan0 with specs and mac address but can't be turned to monitoring mode in aircrack. Running airmon-ng start wlan0 just shows null as the device, wlan0 as the interface and ????? as the driver. So any suggestions on this? Will i ever be able to use my wifi? Maybe with a kernel patch? (dunno how to do it tho but i'll learn ) Or maybe some other way? Should i consider getting an otg cable to try connecting my usb dongle (TP-LINK TL-WN722N) to the phone? (works perfect on desktop btw)
2- can't get bluethooth tools to work. None of them So i'm gonna ask for suggestions on this one too
Any help is greatly appreciated. Thank you for your time in advance.

Related

Internet in Titchy Linux

Hi. I am try using Titchy Linux but I can't make a usb connection with ubuntu 11.04. I found a tutorial in internet, but it doesn't work I wrote some in /etc/network/interfaces and on computer terminal but it is difficult to me
orzech2111 said:
Hi. I am try using Titchy Linux but I can't make a usb connection with ubuntu 11.04. I found a tutorial in internet, but it doesn't work I wrote some in /etc/network/interfaces and on computer terminal but it is difficult to me
Click to expand...
Click to collapse
what kernel are you using?
http://www.linuxtogo.org/~htcpxa/htcuniversal/images/Qtopia/ . Here is haret with zimage in one .exe, and start from loopback partition. I found tutorial on polish forum: http://pdaclub.pl/forum/universal/linux-na-universalu-czyli-jak-si281-uwolni263-od-ms/ . Now I'm trying with usb network, but on screen is only USB reset

[DRIVER PACK] USB to Ethernet driver pack for Honeycomb 3.2

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

[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!

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 !!!!

PostmarketOS

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

Categories

Resources