Is there anyway to run adb type commands from a tablet to get into your phone?
I've done some searching with no luck. I thanks in advance.
Sent from my A500 using XDA Premium App
ibsk8 said:
Is there anyway to run adb type commands from a tablet to get into your phone?
I've done some searching with no luck. I thanks in advance.
Sent from my A500 using XDA Premium App
Click to expand...
Click to collapse
What exactly are you trying to do?
I have no access to a computer while I'm away from home. The idea like to have a safety net to recover my phone if something unfortunate happens.
I had a little scare with the new amon recovery and am looking for a way to recover if I screw up. I work on call so my phone working is a must.
Sent from my A500 using XDA Premium App
you could use an ssh client on your tablet and run an ssh server on your phone or vice versa. Essentially you can do everything you can do with adb from the command line shell. If you don't know how to do that, just reply and I can tell you. Better to reply here so others can see as well than a PM just in case you do.
yareally said:
you could use an ssh client on your tablet and run an ssh server on your phone or vice versa. Essentially you can do everything you can do with adb from the command line shell. If you don't know how to do that, just reply and I can tell you. Better to reply here so others can see as well than a PM just in case you do.
Click to expand...
Click to collapse
I think what he's wanting to do is use fastboot commands as well as ADB commands. Not just the bash shell. Am I right?
It's also possible to compile adb (and any other part of the android toolkit, though some would be obviously useless) for ARM since it's opensourced.
http://stackoverflow.com/questions/5904765/build-android-adb-for-arm-processor
Have to cross compile and all that or google around and find a precompiled ARM binary.
Would I personally want to cross compile all of it? Not really, lol. Compiling just adb alone would be easier though.
Loonatic is correct, id like to have access to fastboot commands aswell as adb commands.
The SSH I don't think would be a problem setting up, but the SSH is only useful if the phone is operational.
Having access to fastboot commands via the tab is what id like so atleast if I borked something I've got a means to recover.
Out of curiousity what instances would SSH from one to the other be practical vs using the terminal? (Don't take that as being smart ass I'm really unsure)
Sent from my ADR6400L using XDA Premium App
ibsk8 said:
Loonatic is correct, id like to have access to fastboot commands aswell as adb commands.
The SSH I don't think would be a problem setting up, but the SSH is only useful if the phone is operational.
Having access to fastboot commands via the tab is what id like so atleast if I borked something I've got a means to recover.
Out of curiousity what instances would SSH from one to the other be practical vs using the terminal? (Don't take that as being smart ass I'm really unsure)
Sent from my ADR6400L using XDA Premium App
Click to expand...
Click to collapse
I guess you would prefer having a larger keyboard of the tablet plus the terminal emulator is sort of crap. You can retrieve your last commands easily or copy and paste easily (assuming the client on your device functions better).
It's possible to compile fastboot like adb for ARM since it's in the toolkit as well, but I don't think I would personally want to spend somewhere between 2-5 hours or so figuring out why some random library is missing or some of the weird errors that pop up when you use the NDK or the Code Sourcery Toolchains (dealing with ffmpeg, bash, busybox and the android kernel was enough). I encourage you to try it though and if you encounter any errors I can try to help you figure them out, but I just don't have the time or motivation to do it myself since it's not that useful to me and I don't think too many others are looking for it either.
However even if it were compiled, I think the issue would be if you can actually do something liek connect via fastboot over a wireless tcp connection (since it works from such a low level) from one device to the other since I don't think a usb cable is going to work when the devices in question are a tablet and a phone. I know you can for adb, but fastboot, I don't know. That would be the question you would have to figure out first before even dealing with anything else.
I was hoping that since my iconia has a full USB port that I could somehow take advantage of already having those hardware drives in place. I see how this becomes a large predicament with other tabs that don't have. Full USB port.
I've read around and haven't really come across much useful information.
I think it would be useful to other users if there hardware met the requirements.
Sent from my ADR6400L using XDA Premium App
ibsk8 said:
I was hoping that since my iconia has a full USB port that I could somehow take advantage of already having those hardware drives in place. I see how this becomes a large predicament with other tabs that don't have. Full USB port.
I've read around and haven't really come across much useful information.
I think it would be useful to other users if there hardware met the requirements.
Sent from my ADR6400L using XDA Premium App
Click to expand...
Click to collapse
Hmm...you might be able to if it has a full usb port. Still need to compile it though
If there were enough interest, I would take a shot at it, but that's the first tablet I heard of having a full usb port.
Only tablet I have is the HP touchpad and it doesn't have a full size usb port, otherwise I wouldn't mind having adb and fastboot on it.
If you can come up with some other tablets that have a full port (at least a few), I'll try compiling it and see how much of a pain it is.
I think the iconia is the only tab with a full usb, don't quote me on that though tech changes too fast
Sent from my A500 using XDA Premium App
May be a good reason to get an iconia
Sent from my A500 using XDA Premium App
That is pretty nice that it has a full usb port, kind of surprised any do.
Perhaps ask how many are interested under the iconia forum? Might also find someone else that wants to try taking up cross compiling it as well that has it. If not and there's enough interest, I wouldn't rule out attempting it.
Will ask around over there.
Sent from my ADR6400L using XDA Premium App
ibsk8 said:
Will ask around over there.
Sent from my ADR6400L using XDA Premium App
Click to expand...
Click to collapse
let me know how it goes
Related
As the subject states I want to know if there is any possible way to connect to another android phone from my Atrix and push files to and root other non-rooted files?
Sent from my MB860 using XDA App
Are you just asking how to send files between phones? If so u can use Bluetooth, wifi file explorer, swap sdcards or send an email with the file...if not then you need to be more specific.
Sent from my Transformer TF101
I would suppose it would be possible if you're using weptop & the lapdock or maybe the media dock
Yeah to be more specific in the small area I live Im about the only person who knows how to root phones and I have several people wanting me to do it for them. Currently the only method I have is via my dinosaur desktop.
Was hoping someone could direct me to a file, app, or method to use my Atrix to root other phones without involving a desktop or laptop computer.
Sent from my MB860 using XDA App
Z4Root from the market works on a few phones - worth a try
Knowing which phones and the carriers would help to start also.
So far most of the people needing to root are using a Samsung Captivate on AT&T.
Sent from my MB860 using XDA App
I think that what he wants to do is something like fire up a terminal window on his atrix, connect via ADB to the other phones using that terminal window, and basically eliminate the need for a pc.
That's a great question. As far as an answer goes. I ain't got no clue.
dnewton3110 said:
So far most of the people needing to root are using a Samsung Captivate on AT&T.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
when i had my captivate i would use superoneclick but you need a desktop. try looking for a root method that involves using system recovery to flash a zip file that way you can just carry the file in your phone and transfer to theirs. im not up to date with the captivate so i dunno if a method exist.
To access another phone remotely, you want to be on the same WiFi LAN and install something like SSHDroid for a SSH daemon on the other machine, so you can connect using Android Terminal Emulator over wifi instead of a usb cable and using ADB.
If this is all greek to you, start googling!
_Alex_ said:
To access another phone remotely, you want to be on the same WiFi LAN and install something like SSHDroid for a SSH daemon on the other machine, so you can connect using Android Terminal Emulator over wifi instead of a usb cable and using ADB.
If this is all greek to you, start googling!
Click to expand...
Click to collapse
I don't think that will work. He's trying to get root on the other phone, but SSHDroid is fairly gimped unless you already have root on the phone. Also, Android Terminal Emulator would probably be useless. You'd need to find an ssh client from the market instead.
There's a thread in the dev section for an arm version of adb. That would actually let you connect another phone to your Atrix and run adb commands off of it... If you have the lapdock. If you don't, I don't know of any way to connect two phones directly by cable.
The update.zip + bluetooth method suggested by neotekz is probably the more realistic method, since I assume you don't have the lapdock.
JdgM3NT4L said:
I think that what he wants to do is something like fire up a terminal window on his atrix, connect via ADB to the other phones using that terminal window, and basically eliminate the need for a pc.
That's a great question. As far as an answer goes. I ain't got no clue.
Click to expand...
Click to collapse
This. This is EXACTLY what I want to do. You have been helpful. Is SSHdroid on the market?
Sent from my MB860 using XDA App
dnewton3110 said:
This. This is EXACTLY what I want to do. You have been helpful. Is SSHdroid on the market?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
It's on the market, but as I said, it won't work as you're hoping. I mean, how can you use the "su" command to be able to do all the good stuff unless that other phone has already been rooted? But since the point is to try to get root, it's a chicken and egg thing.
Look into the update.zip thing. Or if you succeed with sshdroid and SSH, come back here and let us know how because I'd really be curious to know how you managed it
Sent from my MB860 using XDA Premium App
If you're on a stock AT&T build, you should still be able to root with GingerBreak, but then again, I'm not even sure if they have sideloading enabled yet, so that may not even be an option. It's been nothing but GingerBlur and HKTW for me since they were released.
For the past few days I've experienced issues while trying to use DDMS and ADB within Eclipse while connected to my EVO 3D. It attempts to connect and then fails. Doing a regular command line adb works great.
After doing some hunting I discovered that the ADB for windows can't handle more then 64 active processes. As our EVO3D's support much more memory then other devices our evos can easily handle more then 64 active processes.
Here is a link to the Android googlecode issue report which contains a patched adb that supports > 64 active processes.
http://code.google.com/p/android/issues/detail?id=12141
Just wanted to share this with other fellow developers in case they were also experiencing the same issue.
myn said:
For the past few days I've experienced issues while trying to use DDMS and ADB within Eclipse while connected to my EVO 3D. It attempts to connect and then fails. Doing a regular command line adb works great.
After doing some hunting I discovered that the ADB for windows can't handle more then 64 active processes. As our EVO3D's support much more memory then other devices we can also handle more then 64 active processes.
Here is a link to the Android googlecode issue report which contains a patched adb that supports > 64 active processes.
http://code.google.com/p/android/issues/detail?id=12141
Just wanted to share this with other fellow developers in case they were also experiencing the same issue.
Click to expand...
Click to collapse
Thanks myn, good lookin out for us.
Sent from my PG86100 using Tapatalk
We need you here more myn
Sent from my PG86100 using XDA Premium App
Glad to see you here Myn. Thanks for this.
Sent from my PG86100 using XDA Premium App
And myn to our rescue
myn said:
For the past few days I've experienced issues while trying to use DDMS and ADB within Eclipse while connected to my EVO 3D. It attempts to connect and then fails. Doing a regular command line adb works great.
After doing some hunting I discovered that the ADB for windows can't handle more then 64 active processes. As our EVO3D's support much more memory then other devices our evos can easily handle more then 64 active processes.
Here is a link to the Android googlecode issue report which contains a patched adb that supports > 64 active processes.
http://code.google.com/p/android/issues/detail?id=12141
Just wanted to share this with other fellow developers in case they were also experiencing the same issue.
Click to expand...
Click to collapse
Sent from my PG86100 using XDA App
Thanks! Posted a thread about this a few days ago in the Q&A
Sweet! One question was incubus able to obtain the 3d?
Sent from my PG86100 using XDA App
dfskevinohyeah said:
Sweet! One question was incubus able to obtain the 3d?
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
Not yet
He is still in need of donations.
TY very much for this, that was driving me nuts trying to figure out why it wouldn't work
Waiting paitiently for your roms
Sent from my PG86100 using XDA Premium App
Wow, do you know how many times I re-installed the SDK because of this error? lol
Thanks for finding this!
myn said:
Not yet
He is still in need of donations.
Click to expand...
Click to collapse
How much more does he need to get the phone???
thank you
Dude thanks.
This was pissing me off so much but haven't had time to look into it.
Glad I found this thread and the fix was that easy of an answer.
I uninstalled and reinstalled my drivers several times hoping to fix it.
My laptop on windows 7 didn't have any issues but my 64 bit desktop did.
Thanks again.
great post
I'm trying to root my friends rezound so he can get WiFi tethering, but I can't get the unlocktoken to send so I can do the jbear wire trick. It just sits there at 'sending unlocktoken (0 kb)...'
Sent from my PG86100 using xda app-developers app
beneath-a-burning-turtle said:
I'm trying to root my friends rezound so he can get WiFi tethering, but I can't get the unlocktoken to send so I can do the jbear wire trick. It just sits there at 'sending unlocktoken (0 kb)...'
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
have you tried placing the unlock token from email into fastboot. where you would usually do fastboot commands? i had to do that in order for it to unlock again
Yep, I've used the htcdev method on my 3vo, so I know how to do it, it just doesn't want to work
Sent from my PG86100 using xda app-developers app
Enabled USB Debugging?
beneath-a-burning-turtle said:
Yep, I've used the htcdev method on my 3vo, so I know how to do it, it just doesn't want to work
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
are you sure you have the command properly? therefore: "fastboot flash unlocktoken Unlock_code.bin" without the quotes?
Yep, I'm not a noob, by far. I've developed 3 roms, so I know what I'm doing, I just need to know why the code isn't sending to the phone, I've installed all the proper drivers, followed each step exactly, it just doesn't want to send the code. My guess is that there's something on the phone preventing the code from transferring over. Sorry if I sounded kinda douchey, my friend is kinda riding my ass about this, so I'm kinda getting a little frustrated
carngeX said:
Enabled USB Debugging?
Click to expand...
Click to collapse
If I didn't have USB debugging enabled I wouldn't have gotten the identifier code to get the unlock token, so its obviously on
Sent from my PG86100 using xda app-developers app
beneath-a-burning-turtle said:
Yep, I'm not a noob, by far. I've developed 3 roms, so I know what I'm doing, I just need to know why the code isn't sending to the phone, I've installed all the proper drivers, followed each step exactly, it just doesn't want to send the code. My guess is that there's something on the phone preventing the code from transferring over. Sorry if I sounded kinda douchey, my friend is kinda riding my ass about this, so I'm kinda getting a little frustrated
Click to expand...
Click to collapse
Just because you're developed 3 ROMs doesn't mean you can't show a little manners when asking for help. Nor does it mean you didn't miss a basic step: working in IT for years has taught me that even somebody who knows what they're doing can miss something sometimes.
If I didn't have USB debugging enabled I wouldn't have gotten the identifier code to get the unlock token, so its obviously on
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
Could have gotten turned off by accident somehow so it's always good to double check the settings...
carngeX said:
Just because you're developed 3 ROMs doesn't mean you can't show a little manners when asking for help. Nor does it mean you didn't miss a basic step: working in IT for years has taught me that even somebody who knows what they're doing can miss something sometimes.
Could have gotten turned off by accident somehow so it's always good to double check the settings...
Click to expand...
Click to collapse
I know, I apologize if I sounded like an ass, I'm just getting impatient with him and I'm redirecting it towards you guys, which I shouldn't be doing, so again, I apologize. I triple checked USB Debugging, and still can't figure this out.. I ran the adb devices command, and his device didn't pop up, yet every other command (adb reboot bootloader, fastboot oem get_identifier_token) succeeded just fine. I'm confused with that, I think it might have to do with the problem, but again I could be wrong. I started over from step 1 twice, and it still didn't work. It's either my computer (which I doubt, it works fine with my phone) or his phone at this point.
Sent from my PG86100 using xda app-developers app
beneath-a-burning-turtle said:
I know, I apologize if I sounded like an ass, I'm just getting impatient with him and I'm redirecting it towards you guys, which I shouldn't be doing, so again, I apologize. I triple checked USB Debugging, and still can't figure this out.. I ran the adb devices command, and his device didn't pop up, yet every other command (adb reboot bootloader, fastboot oem get_identifier_token) succeeded just fine. I'm confused with that, I think it might have to do with the problem, but again I could be wrong. I started over from step 1 twice, and it still didn't work. It's either my computer (which I doubt, it works fine with my phone) or his phone at this point.
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
Try uninstalling the drivers for the phone and get the latest drivers from HTC Sync.
If that doesn't work, try either a different computer, or if you have another OS installed on your computer (dual booting Windows / Linux), boot into the other one and try using ADB on that.
carngeX said:
Try uninstalling the drivers for the phone and get the latest drivers from HTC Sync.
If that doesn't work, try either a different computer, or if you have another OS installed on your computer (dual booting Windows / Linux), boot into the other one and try using ADB on that.
Click to expand...
Click to collapse
I'll give it a try, I installed the drivers, but didn't uninstall the old drivers, so that might be it. Thanks
Sent from my PG86100 using xda app-developers app
Good luck, let us know how it goes.
Looking to purchase these 2 cables. Anyone see a logical reason why they would not work?
http://www.amazon.com/gp/aw/d/B009YPYORM/ref=mp_s_a_1?qid=1362454300&sr=8-1&pi=SL75
http://www.amazon.com/gp/aw/d/B006V7F380/ref=mp_s_a_1?qid=1362454564&sr=8-20&pi=SL75
Sent from my HTC6435LVW using xda app-developers app
I know for a fact mhl will work so I assume otg will as well.
Sent from my HTC6435LVW using xda app-developers app
I know otg and mhl work too, it's the charging capability of the cables while doing it that I'm asking about.
Sent from my HTC6435LVW using xda app-developers app
KyJelly69 said:
I know otg and mhl work too, it's the charging capability of the cables while doing it that I'm asking about.
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
I believe its going to take a kernel developer merging that ability into a kernel if it's possible hardware wise. I'd ask the kernel developers if they personally use OTG or if they have any interest in developing that ability in the future. If you get a maybe then you'll know that its possible down the road, and if you get a hell no, then you'll know not to get your hopes up.
Be sure they know that you aren't telling them to do it or asking in a "whats taking so long" kind of way.
Faux incorporated that ability into the Nexus 7, I don't know that it's his commit though he might have just used another devs feature, but it was his thread where I read about it, that information might give ya something to start researching. I am going to be checking into this also, it was already on my list of crap to do, but there's so much crap everywhere and not nearly enough to doing on my part, so I haven't gotten around to it yet.
CharliesTheMan said:
I believe its going to take a kernel developer merging that ability into a kernel if it's possible hardware wise. I'd ask the kernel developers if they personally use OTG or if they have any interest in developing that ability in the future. If you get a maybe then you'll know that its possible down the road, and if you get a hell no, then you'll know not to get your hopes up.
Be sure they know that you aren't telling them to do it or asking in a "whats taking so long" kind of way.
Faux incorporated that ability into the Nexus 7, I don't know that it's his commit though he might have just used another devs feature, but it was his thread where I read about it, that information might give ya something to start researching. I am going to be checking into this also, it was already on my list of crap to do, but there's so much crap everywhere and not nearly enough to doing on my part, so I haven't gotten around to it yet.
Click to expand...
Click to collapse
all jelly bean kernels support this by default now
I got the otg cable today. The otg works but the charging does not.
Sent from my HTC6435LVW using xda app-developers app
Out of curiosity, can you run dmesg -c to clear the buffer, plug the cable into a power source and then grab the dmesg output on the off chance it says something useful?
crpalmer said:
Out of curiosity, can you run dmesg -c to clear the buffer, plug the cable into a power source and then grab the dmesg output on the off chance it says something useful?
Click to expand...
Click to collapse
I have no idea. In term emulator? How do I get the dmesg after?
Edit: got it cleared now to figure out how to save it.
Sent from my HTC6435LVW using xda app-developers app
su
dmesg >/mnt/sdcard/dmesg.txt
logcat -d -v time >/mnt/sdcard/logcat.txt
Hey guys. I posted in the Jailbreak thread but didn't get any response. I need help unlocking my bootloader. Here is where I'm at:
My Windows Vista PC sees my phone and Android ADB. The Galaxy Note Toolkit sees my phone. Casual does not. It just sits at "disconnected" and won't let me do anything.
I have disabled every pierce of AV and MSE. I tried every USB port. I have rebooted both phone and PC in varying combinations.
I am a n00b to the GN2 but I'm quite experienced in modding. I am just having problems getting Casual to work.
Please help?
Did you try with another cable?
Sent from my SCH-I605 using Tapatalk 2
Try unplugging all your USB devices and using a different cable. When using casual I had to uninstall the Sammy mobile device drivers for it to work.
Sent from my SCH-I605 using xda premium
taintstick666 said:
Try unplugging all your USB devices and using a different cable. When using casual I had to uninstall the Sammy mobile device drivers for it to work.
Sent from my SCH-I605 using xda premium
Click to expand...
Click to collapse
Did that. I tried 2 different Samsung data cables, still nothing. Even did a factory reset since my PC once had an error that my Android ID was missing and I can't check for software updates, thought maybe something went weird with the phone setup. Still nothing.
So I know the drivers are there, I know the data cables are good and I know the ports are working. All AV is shut down. Where is the roadblock here?
On a related note: When I tried to use the connection help on Kies, Kies told me my device wasn't supported. Could that be a part of what I'm running into?
Since VZW has to have their hands in every aspect of things they locked the use of kies. I haven't found a way to get it to work yet. Don't remember if kies air works but that wouldn't help the issue.
This is confusing, the next thing I would try is flashing stock with the .pit file and trying again. Or it could be a java issue since the CASUAL exploit is written in java, that seems more likely to me. In Adam Outlers thread for CASUAL he linked a java checker. Try that and make sure your good with java
Sent from my SCH-I605 using xda app-developers app
taintstick666 said:
Since VZW has to have their hands in every aspect of things they locked the use of kies. I haven't found a way to get it to work yet. Don't remember if kies air works but that wouldn't help the issue.
This is confusing, the next thing I would try is flashing stock with the .pit file and trying again. Or it could be a java issue since the CASUAL exploit is written in java, that seems more likely to me. In Adam Outlers thread for CASUAL he linked a java checker. Try that and make sure your good with java
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
good call.
sounds like a java issue as previously mentioned.
Same thing.
Java is latest version. My phone shows up just fine for windows.
Is there an Odin option? I'm very familiar and comfortable with Odin
Sent from my SCH-I605 using Tapatalk 2
What about this:
When I connect my phone to the PC, it initially shows up as an installer. I then have to go in to change it to a MTP device.
Could that be causing this somehow?
It could be. Make it a media device and retry everything. If that doesn't work then find the bay where pirates hangout and get win7 on your computer and retry it. I've only ever rooted on win 7 and win 8
Sent from my SCH-I605 using xda premium
make sure any anti virus or anti malware program is disabled(microsoft security essentials/windows defender)
rudeguy said:
What about this:
When I connect my phone to the PC, it initially shows up as an installer. I then have to go in to change it to a MTP device.
Could that be causing this somehow?
Click to expand...
Click to collapse
I had this problem too. I had to unlock the hidden menu and set the phone as MTP + ADB to get CASUAL to properly recognize it.
Have you ever disabled your Internet connection and click "do it". See if it does anything.
Mine had the same issue as you.
Sent from my SCH-I605 using XDA Premium HD app