ADB over wifi/hotspot not working - Networking

i follow this guide on my non-rooted phone but not working>> http://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp
Here is my Output
[stark]:~|$ adb kill-server
[stark]:~|$ adb tcpip 5555
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[stark]:~|$ adb connect 192.168.43.1:5555
connected to 192.168.43.1:5555
[stark]:~|$ THEN I REMOVE USB^C
[stark]:~|$ adb shell
**error: device not found**
Click to expand...
Click to collapse
I tried many times but always getting error that device not Found
I have Android N, Current OS: Ubuntu, ADB version: 1.0.31
*when i had MM (no root) this method works fine, but after upgrading to N, not working

Related

[Root Locked Bloader]Nexus One Easy Rooting Toolkit (DoomLord's via Zergrush Exploit)

Just a heads up (I nearly missed it),
After rooting my Galaxy S2 with Doomlord's Rooting Toolkit I pulled out my N1 to see if it would work and it did! Within 30secs I was fully rooted.
My N1 was running 2.3.6 stock till now and I didn't want to wipe to be able to root and this is the way.
I know I had been waiting a long time for this so maybe it'll be useful to others.
Doomlord's Rooting Toolkit: http://forum.xda-developers.com/showthread.php?t=1319653
Zergrush Exploit: http://forum.xda-developers.com/showthread.php?t=1296916
Update: Note that several manufacturers have patched their firmware to make this exploit fail. I don't know if this still works for the N1 though I believe it should considering I haven't seen an update come out for it (could've missed it) So if it fails for you and you got a very recent firmware could be google fixed it.
Could you give a little more detailed instruction how to do it?
Instructions are in the first link.
The gist of it is
1. You need to have your phone's drivers installed for adb to work
2. set to usb debugging
3. connect usb cable
4. run the bat file
5. press space to start the process
6 30secs later (for me) it rebooted and I was rooted.
So to confirm, this I's a working Gingerbread 2.3.4 / 2.3.6 Root exploit without unlocking the bootloader?
Oh man, my Nexus is just begging to be reunited with CyanogenMod!
Sent from my Nexus One using XDA App
Airbag888 said:
Instructions are in the first link.
The gist of it is
1. You need to have your phone's drivers installed for adb to work
2. set to usb debugging
3. connect usb cable
4. run the bat file
5. press space to start the process
6 30secs later (for me) it rebooted and I was rooted.
Click to expand...
Click to collapse
Oh okay, I thought you have to do something special as you provided two links.
I just did those steps and it worked flawless.
Thanks!
@CPM
Yes it roots your phone without unlocking the Bootloader even on 2.3.6 (as is my case)
@DarsVaeda
Sorry for the confusion I was just trying to provide references and credits where due.
Works great! Thanks.
last exploit here: http://cloud.github.com/downloads/revolutionary/zergRush/zergRush.zip
Step by step:
empty /data/local/tmp/
C:\adb pust zergRush /data/loca/tmp
adb chmod 755 /data/local/tmp/zergRush
wait...
C:\adb remount
adb push su /system/bin
adb push su /system/xbin
adb push Superuser.apk /system/app
adb chmod 4755 /system/bin/su
adb chmod 4755 /system/xbin/su
reboot phone
You can su
Try: Install connectbot (or any Terminal) from Google Market connect local, type su, allow. Done.
Now remote bloatware: facebook, Amazone, twitter )
Cheers Airbag888 for bringing this exploit to our attention (and of course everyone else involved in finding the exploit and scripting it)
Works like a charm. I couldn't revert back to the older 2.3.3 Gingerbread after HTC fixed my power button. Suffered the "Main version is older" error downgrading and nothing else worked.
My Nexus is now safely reunited with CyanogenMod and I'm mighty happy
Sent from my Nexus One using XDA App
I'm new to this so I have a question!
If I root my phone using this method will i then be able to use rom manager to install cyanogen rom or do I have to do anything extra?
adamspir said:
I'm new to this so I have a dummy question!
If I root my phone using this method will i then be able to use rom manager to install cyanogen rom or do I have to do anything extra?
Click to expand...
Click to collapse
If you root via any method (this one included)
you can install a custom recovery of any kind (including clockwork which comes with Rom Manager)
you can install compatible Roms via Rom manager as well.
It should not void your warranty either since you're not unlocking your bootloader.
However make sure to do a backup before you install a new ROM and also to wipe your data/cache via recovery when you install another ROM
Thanks!
Hi !
Assuming that an unlocked bootloader wouldn't be a problem, I just tried your method, alas to no avail. Here is the output I got :
Code:
---------------------------------------------------------------
CONFIRM ALL THE ABOVE THEN
Pressione qualquer tecla para continuar. . .
--- STARTING ----
--- WAITING FOR DEVICE
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- cleaning
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- pushing zergRush"
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- correcting permissions
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- executing zergRush
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- WAITING FOR DEVICE TO RECONNECT
if it gets stuck over here for a long time then try:
disconnect usb cable and reconnect it
toggle "USB DEBUGGING" (first disable it then enable it)
--- DEVICE FOUND
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- pushing busybox
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- correcting permissions
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- remounting /system
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- copying busybox to /system/xbin/
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- correcting ownership
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- correcting permissions
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- installing busybox
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- pushing SU binary
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- correcting ownership
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- correcting permissions
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- correcting symlinks
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- pushing Superuser app
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- cleaning
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
--- rebooting
* daemon not running. starting it now *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
ALL DONE!!!
Pressione qualquer tecla para continuar. . .
I just loved the "ALL DONE!!!" message in spite of every single step having failed
My config looks like this...
Nexus One
Bought directy from Google
running 2.3.6, build GRK39F
bootloader unlocked for the first time through the SDK afew moment before trying to root
MacBook pro running Windows XP
Also tried Bexton's scripts, unsuccessfully.
Out of the blue, I would blame faulty ADB drivers, but since they worked for unlocking my bootloader, I guess they're ok. I'm a bit at loss there, what do you think I did wrong?
Edit: I'm now the first result for "nexus one"+"cannot connect to daemon" on google.fr. Yay me!
I'm not an expert, merely a messenger. But it appears adb isn't starting for you somehow.
I'd look into that.
Try launching it manually and trying to get a list of connected devices. (should give one named HTC#########)
Also if you have unlocked your bootloader then there are other methods to try.
Thanks Airbag888!
For future fellow rooters in need, here is what I did :
Tried to run a sample adb command from the command line, got the dreaded "ADB server didn't ACK"
Opened the Task Manager, noticed two instances of adb running, killed them both
Ran adb devices once again, and TADAA! it worked!
Mad with hope, launched DooMLoRD's script, and so far, it's running. Right now, I've reached the "executing zergRush" stage.
It's been running for a few minutes with no error message so far... Murphy's Law dictates that the process surely is frozen
Edit:
It has indeed frozen (or silently crashed) at "executing zergRush". Killed the adb process again, started the script again. But we're making progresses, I'm now stuck at
Code:
...
[+] Rush did it ! It's a GG, man !
[+] Killing ADB and restarting as root... enjoy!
--- WAITING FOR DEVICE TO RECONNECT
if it gets stuck over here for a long time then try:
disconnect usb cable and reconnect it
toggle "USB DEBUGGING" (first disable it then enable it)
--- DEVICE FOUND
Ad3lphi said:
Hi !
Assuming that an unlocked bootloader wouldn't be a problem, I just tried your method, alas to no avail.
Click to expand...
Click to collapse
If your bootloader is unlocked, why are you even bothering with this. Just start up your phone in fastboot mode, connect to your computer, and flash a custom recovery (i.e., fastboot flash recovery <NameOfYourRecoveryHere.img>, then boot into your custom, and flash ChainsDD's superuser zip. Done.
If your bootloader is unlocked, you never have to worry about root, because you can root at any time...
efrant said:
If your bootloader is unlocked, why are you even bothering with this.
Click to expand...
Click to collapse
Because I feel like keeping the stock ROM until the first ICS-based custom ROMS are out. I just want root access to get the hang of tinkering with my N1 and trashing some bloatware apps.
Ad3lphi said:
Because I feel like keeping the stock ROM until the first ICS-based custom ROMS are out. I just want root access to get the hang of tinkering with my N1 and trashing some bloatware apps.
Click to expand...
Click to collapse
What does that have to do with anything? Did you read the rest of my post? What I gave you was the way to root if your bootloader is unlocked. I never mentioned anything about switching ROMS...
efrant said:
Just start up your phone in fastboot mode, connect to your computer, and flash a custom recovery (i.e., fastboot flash recovery <NameOfYourRecoveryHere.img>, then boot into your custom recovery, and flash ChainsDD's superuser zip. Done.
Click to expand...
Click to collapse
Much simpler. No change to your stock ROM at all.
Finally a exploit that doesnt involve formatting my phone
Now, I am planning to run this exploit when I get home tonight
My phone at the moment is 2.3.4 and I would guess this exploit would work for it?
And I also guess you can't install clockworkmod without unlocking your bootloader?
Warmo161 said:
Finally a exploit that doesnt involve formatting my phone
Now, I am planning to run this exploit when I get home tonight
My phone at the moment is 2.3.4 and I would guess this exploit would work for it?
And I also guess you can't install clockworkmod without unlocking your bootloader?
Click to expand...
Click to collapse
I successfully rooted 2.3.4 using the exploit. Then installed RA Amon recovery rather than ClockworkMod (personal choice). Then onto CyanogenMod 7.1 and S2E for loading my apps onto SD Card. All worked perfectly fine too.
Sent from my Nexus One using XDA App
Warmo161 said:
Finally a exploit that doesnt involve formatting my phone
Now, I am planning to run this exploit when I get home tonight
My phone at the moment is 2.3.4 and I would guess this exploit would work for it?
And I also guess you can't install clockworkmod without unlocking your bootloader?
Click to expand...
Click to collapse
You don't need to unlock the bootloader to install recovery or any different rom or run nandroid backup etc

[Q] Christmas Fire ADB woes (OSX Lion)

Just picked up a Fire today...
Can't seem to get ADB to recognize it on Mac 10.7.
Installed the SDK, running adb from directly inside platform-tools.
I have adb_usb.ini in ~/.android with the correct id line inside.
If I try to do ./adb devices while the Fire is connected, I get:
Code:
* daemon not running. starting it now on port 5037 *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
That's after doing ./adb kill-server and ps ax | grep adb to make sure it's not still running.
Any ideas? It runs correctly (no SERVER DIDN'T ACK message) when I run ADB without the Fire connected, but it still doesn't come up in the device list.
Edit: I got hold of a windows computer and was able to use the Kindle Fire Utility without issue. Not sure what's going on with Lion.

[Q] Help with adb on windows 10 <-> S7 Edge

.
I have been trying to get adb working on my Win10 machine for a long time and just can not figure out what is wrong.
I have adb installed in c:\adb and my USB drivers are working. I can browse the phone from the PC.
But no matter what I try when I try to adb, I get this:
.
C:\adb>adb devices
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
** daemon still not running
error: cannot connect to daemon: No error
error: cannot connect to daemon: No error
C:\adb>
Click to expand...
Click to collapse
(Yes I do have USB debugging ON and OEM ON)
It is weird because it says daemon is nOT running then it tries to start
it and says daemon started Successfully ... then it says daemon still
nOT running. That makes no sense to me ?
Please any thoughts on this ???
Thanks
.
.

Sideloading Apps to Moto 360

hello, i have a problem with sideloading android apps to my moto 360. i used the guide from google to connect it with bluetooth, but i get this output:
Code:
C:\Windows\system32>adb devices
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
01daca4ec2a31f39 device
C:\Windows\system32>adb forward tcp:4444 127.0.0.1:/adb-hub
C:\Windows\system32>adb connect 127.0.0.1:4444
connected to 127.0.0.1:4444
C:\Windows\system32>adb devices
List of devices attached
01daca4ec2a31f39 device
C:\Windows\system32>
the device i use to plug into my computer is a nexus 5x with O developer preview (rooted).
thanks for any help! im really excited about playing hill climb racing on my watch

Why i can not connect my j3 for debugging over wifi?

I put in windows powershell the command: adb connect [myj3ip]:5555 and it answers
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
unable to connect to 192.168.1.4:5555
Why?? Debug usb is enabled, so why?

Categories

Resources