Tag Info

New answers tagged

0

If you have a later version of android (it works on 4.4 for sure), there is a wireless debugging option in developer tools. You can activate that and type this in terminal, adb connect <ip address of phone> It will default to using port 5555 if you don't give it a port. I think that's what you're after.


0

No. What you're doing there is not just setting a port number away from the default: setting the number at all is what causes the device to start listening. Before you run the steps in the question, the device isn't listening for adb connections on any port at all. For this reason, there's no "default port" to connect to without setting anything up on the ...


0

http://plugable.com/2012/12/01/windows-8-and-intel-usb-3-0-host-controllers Updating 3.0 drivers from Microsoft to Intel makes HTC devices connect through ADB and FASTBOOT!


0

I found a solution for this by using the perl. I created this perl script, which sends the current date with the correct format to the android device via adb: use Time::localtime; $_=localtime; system'adb','shell','date -s',sprintf("%04d%02d%02d.%02d%02d%02d",$_->year+1900,$_->mon+1,$_->mday,$_->hour,$_->min,$_->sec) Then I just need to ...


-2

I made a tool do help even the most the computer illiterate person recover their files using this method. You will, however need to follow the instructions in the article if you have not set up ADB. http://forum.xda-developers.com/showthread.php?p=51822116


0

Try this: adb shell pm clear com.android.launcher (i think it's the unique name of the launcher in 4.4.2, change it if I'm wrong)


5

I just did this! /data/property/persist.sys.dalvik.vm.lib is a textfile containing one of two values: 'libart.so' or 'libdvm.so'. You can change from ART to Dalvik simply by editing this file. Ex: adb shell 'echo libdvm.so >/data/property/persist.sys.dalvik.vm.lib'


1

As it turns out, the issue was that my phone was no longer being recognised as a composite USB device by Windows, meaning only one of ADB, MTP or HTC Sync was capable of running at a given time. After the update, MTP was always recognised first. This explains both the 4.3 issue of MTP and ADB conflicting, and the 4.4 issue of no ADB. The solution was ...


1

Adb sideload command just loads a zip file from the computer to the phone. The creator of the zip controls what it does (the recovery just uploads it from the computer and looks at a specific file). You can do a lot with it, but it's not a full rom, it's cannot replace a rom. Here is an example of an update.zip I once wrote and sideloaded it to a phone: ...


0

Try uninstalling the previous drivers and after that connect your device to the PC and let the system detect your device drivers and download it.


0

Make sure cable is connected properly. Try other usb port. Close all programs running that is related to adb. Go to developer Options and tick on USB Debugging. Delete HTC android drivers in device manager and reinsert you cable :) then restart.


1

If you run adb with no arguments, the help text will tell you the answer to this question. adb uninstall -k com.mycompany.myapp removes the app but leaves the data and cache directories. Similarly, adb install -r myapp.apk reinstalls an existing app with a new APK file, keeping its data intact. As a side-note, I don't know if this affects you, but ...


0

Try a powered USB hub. My (Win7) work laptop refuses to connect to my Samsung S2 except through the powered USB hub in the monitor.


0

adb sideload does not transfer the file to the sdcard permanently. To sideload correctly, you need to pick that option from the recovery first and then when the phone is waiting for the sideload type, adb sideload <PACKAGE> If you want to push the file to the phone's sdcard, you could try, adb push <PACKAGE> /sdcard/ That should copy the ...


1

No, ADB root does not survive reboots (thankfully, that would be a nice security hole...) In your case, I'd guess that the permissions on that file got changed, allowing you to push it the second time.


0

Do you have an insecure kernel (boot.img)? Write access to the system partition is usually blocked by the kernel at boot. You may need to flash a modified kernel to be able to obtain write access to /system with adb. Can you mount /system as r/w in the OS? Then you could push the file to the SD card using adb or just normal USB (MTP or Mass Storage ...


1

After months of not being able to debug through ADB, I've figured it out. According to this answer on Stack Overflow, the program EasyTetherUSBEthernet can cause problems with ADB. Running this in terminal, with a reboot fixed all my problems. sudo kextunload -v /System/Library/Extensions/EasyTetherUSBEthernet.kextv If you need to use ...



Top 50 recent answers are included