a5xelte:/ $leave with exit or Ctrl-d
package:applicationId package:com.skype.raider package:
Success
com.samsung.android.dlp.service https://forum.xda-developers.com/tmobile-s7-edge/how-to/s7-edge-debloat-list-t3330211 com.samsung.android.securitylogagent https://securitylogagent.en.uptodown.com/android com.android.calendar this IS NOT "Google Agenda" : https://play.google.com/store/apps/details?id=com.google.android.calendar
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 009: ID 04e8:6864 Samsung Electronics Co., Ltd GT-I9070 (network tethering, USB debugging enabled) this is my smartphone
Bus 001 Device 002: ID 13fd:1d40 Initio Corporation
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
4: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000 link/ether fe:10:26:43:4f:5e brd ff:ff:ff:ff:ff:ff
4: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000 looks like this state UNKNOWN
can be safely ignored
link/ether fe:10:26:43:4f:5e brd ff:ff:ff:ff:ff:ff
inet 192.168.42.15/24 brd 192.168.42.255 scope global usb0 got an IP address from my operator
valid_lft forever preferred_lft forever
inet6 fe80::fc10:26ff:fe43:4f5e/64 scope link
valid_lft forever preferred_lft forever
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 192.168.42.129 0.0.0.0 UG 0 0 0 usb0 the route to the Internet goes through the operator's gateway via my smartphone 10.0.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.42.0 0.0.0.0 255.255.255.0 U 0 0 0 usb0 192.168.56.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
default via 192.168.42.129 dev usb0
10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15
192.168.42.0/24 dev usb0 proto kernel scope link src 192.168.42.140
192.168.56.0/24 dev eth1 proto kernel scope link src 192.168.56.101 metric 100
PING www.google.be (216.58.209.227) from 192.168.42.15 usb0: 56(84) bytes of data.
64 bytes from par10s29-in-f227.1e100.net (216.58.209.227): icmp_seq=1 ttl=51 time=33.9 ms
64 bytes from par10s29-in-f227.1e100.net (216.58.209.227): icmp_seq=2 ttl=51 time=40.9 ms
64 bytes from par10s29-in-f227.1e100.net (216.58.209.227): icmp_seq=3 ttl=51 time=38.1 ms
--- www.google.be ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 33.904/37.666/40.963/2.900 ms
ModemManager.service disabled
disabled
Created symlink /etc/systemd/system/dbus-org.freedesktop.ModemManager1.service → /lib/systemd/system/ModemManager.service. Created symlink /etc/systemd/system/multi-user.target.wants/ModemManager.service → /lib/systemd/system/ModemManager.service.
15: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000 link/ether 56:20:96:c6:f2:d0 brd ff:ff:ff:ff:ff:ff
Topic | Possible values / configurations | So far, it works on... |
---|---|---|
physical USB port | laptop / docking station | laptop |
physical USB port | USB3 (blue / "SS" mark (SuperSpeed) / 5 pins) / USB2 (black, 4 pins) | USB2 |
default via 192.168.42.129 dev usb0 default via 10.0.2.2 dev eth0 proto static metric 100Delete the unwanted default route :
List of devices attached
0019b7cf68b49e device
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
3300839aba2328c7 device
Recent Android versions (5.x.x here aka Lollipop) have no USB Mass Storage capabilities anymore (WHY??? ). Instead, it is possible to transfer files to/from them via MTP.
Read the solution.
This works also on non-rooted devices.
Unable to open ~/.mtpz-data for reading, MTPZ disabled. libmtp version: 1.1.8 Listing raw device(s) Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). Found 1 device(s): Samsung: Galaxy models (MTP) (04e8:6860) @ bus 2, dev 29 Attempting to connect device(s) USB low-level info: ( MANY lines skipped ) OK.... it looks good !
Unable to open ~/.mtpz-data for reading, MTPZ disabled. Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). Available devices (busLocation, devNum, productId, vendorId, product, vendor): 2, 29, 0x6860, 0x04e8, Galaxy models (MTP), Samsung
So far, I've not found a better solution than running an SSH server on my smartphone, then mounting its SD Card on my PC via SSHFS.
As for the SSH server, the procedure below works with SSHDroid, but not with SSH Server, which can't get access to the SD Card (needs further investigations).
#user_allow_other
in /etc/fuse.confsshfs -o allow_other -p 2222 root@192.168.1.93:/storage/extSdCard /mount/point
On a rooted device, since SSHDroid is listening on the standard TCP 22 port, you don't need the -p whatever option.Looks like this is required to write on the SD Card, otherwise, I get plenty of write errors (possibly due to the VFAT filesystem, too...)
Don't forget that VFAT filesystems have some limitations, such as not supporting some characters in file names : ?
, "
, ...
List of devices attached
0019b7cf68b49e device
shell@android:/ $
root@android:/ #I've not been able to do a lot this way, maybe I'm still missing something. With a terminal emulator installed on the phone, I've been able to fix things and didn't make any further tests with ADB.
If it displays : | it means : | you may try : |
---|---|---|
List of devices attached
nothing |
No device listed : computer and phone are mutual strangers (or you failed to plug the USB cable ) |
|
List of devices attached
3300839aba2328c7 unauthorized |
|
|
List of devices attached
3300839aba2328c7 device |
Finally, everything is going extremely well | (it ain't broken, don't fix it ) |
* daemon not running. starting it now on port 5037 * * daemon started successfully *And probably, after you've finished playing with your Android device, you'd prefer to stop it. Here's the procedure :
u_str LISTEN 0 4 /tmp/5037 1199191184 * 0 users:(("adb",pid=4256,fd=6))