fastboot on terminal device like ADB? - HTC One X

Hi developers and non-developers
I have like a proyect idea but I don't know it its possible. You have seen that we can use adb on our terminal to root other devices like root transmissor app
But fastboot commads are not enabled on terminal so I think I could be very useful if we can flash recoverys,kernels,complete systems
Only whit our phone like HOX in my case.
I know adb is located on system/bin/adb.....and is really realliy similar to one on computer(.exe)
But mi question is...can we convert the fastboot.exe on a runnable block on our terminal??
If you have ideas or more knoledge on this subjet than me, please help me..I think making this will help all of us

Related

commands in terminal windows

Hi all
I did not expect to have a true man in this embeded system but, is there somewhere ( or thru a free market app..) a list of commands that can be passed in a terminal window...
i've seen that some posts are talking about setInstallLocation...for example
if I try that in a terminal window, seems to be ignored...
I thought that busybox was supposed to give kind of a man...but not been able to install it...
Could someone enlight me a bit
thks in advance
( sorry for approximative english...lol)
I think that is a adb command and not a linux.
For a list of linuxc commands look here: http://ss64.com/bash/
Most of then should work in a terminal emulator.
Sent from my HTC Desire using XDA App
splendid...thks
well now, I know exactly what I am after...it is the list of ADB commands...
I'll go search for !!!

ADB Question

So I 'm getting brave and decided I want to learn more about modding so that means I need to know at least the most basic of ADB commands.
Well I set up the Android SDK several weeks ago and to my best knowledge it was/is working i.e. from the command window (I'm using Win 7 so I use Shift-Right click to access in the Android sdk tools folder) I can type
adb devices
and my phone shows up.
From there I can type
adb shell
Now here is where it gets wonky
I can't use any adb commands or else I'll get an
"adb: not found" error
I can use the -ls command and a2sdcheck commands without any issues. I can even use the reboot and reboot recovery commands ONCE I don't use ADB in front of it.
So simple commands such as adb push/pull is off limits.
I have also tried in recovery mode but the same thing happens.
I'm sure I'm just missing something small but this is turning out to be really frustrating
And yes I do connect with Charge Only and USB debugging is checked.
Thanks in advance for any help
Sent from my PC36100 using XDA App
I could be wrong, but once you type adb shell I think you have to grant it Super user permission from the phone.
I just read the the SU log and didn't see a request resembling anything from adb or my computer. I also didn't notice a prompt to do so but wasn't really paying attention. I need to check on that but if someone else can clarify or tell me how to grant access that would be great. Thx for the response
Sent from my PC36100 using XDA App
Reconnected my phone and typed adb shell and there was no prompt for SU permissions. I'm thinking this may not be applicable or else you wouldn't be able to connect adb in recovery mode right?
Sent from my PC36100 using XDA App
Here is a tut on using adb. ADB Basics
I clicked on your link and it's taking me to a scanning app. Is that correct?
Nvm got it now
Sent from my PC36100 using XDA App
No it should take you to a thread here in XDA about ADB basics. That's where it takes me. Here try this: http://forum.xda-developers.com/showthread.php?t=694250
I found it in the development section in one of the stickies called
HTC EVO helpful/popular threads (Look here First!)
Babysitting my daughter right now so can't really read that link. I'm pretty sure I've read it before though.
Sent from my PC36100 using XDA App
Ok sorry I couldn't be more help. I am sure you are missing something very small because it sounds to me like it should be working. Make sure you have the right adb driver installed.
Moved to Q&A. This isn't development
Thx pulsar for the move. Sorry about that.
Housry thx for all your input.
I did read that link before and there was a link that confirmed that my ADB is set up correctly.
At the very first cmd prompt I can do adb devices and see my phone.
Then I can type adb shell and I get the # prompt
From there I can't issue anymore adb commands or else I get "adb: not found" error
I can issue reboot or reboot recovery commands BUT without adb in front of it and my phone will respond accordingly.
I can use the ls commands and search the subdirectories. Pushboot even works when I need to change my bootanimations. All this leads me to believe that adb is indeed set up correctly including the drivers so why doesn't the other adb commands work?!
This is really frustrating because I can't even begin to experiment with ADB if I can't get the most basic commands to function.
I know it's probably something small I'm missing and I hope someone will be able to point me in the right directions. Thanks again
Who knows, maybe this is a good thing. I might be able to get in all kind of trouble with my phone otherwise.
Wow on a whim I switched out the USB cable and now everything is working great. Geez.
Sent from my PC36100 using XDA App
ok, you are making a simple yet solvable mistake:
once you type adb shell, you are inside the phone's linux terminal. of course, your phone doesnt have adb in it. a shell is a great tool, and is used very, very often to diagnose problems, make stuff, incorperate stuff, test stuff. if you are in a shell, just type
exit
to get back out. then your adb commands should work.

[Q] ADB Help

Ok so my friend rooted my phone and I've done alot but theres alot that I need ADB for..
so im looking for someone help
to provide a walkthrough of how to get ADB and SLIDE USB drivers and how to use it. to do this..
http://forum.xda-developers.com/showthread.php?t=921347
step by step
please help..
Tossing a Couple Cold-Ones to whoever can help me
I don't have a step-by-step but maybe I can at least point you in a direction and get you the tools you need.
ADB will come from here:
http://developer.android.com/sdk/index.html
Here's what I used to get the slide drivers, I believe:
http://www.junefabrics.com/android/
If someone's got an easier way, I'd like to know too, hehe.
---
If anything, at least download the SDK first.
Maybe someone will be kind enough to come in and help. If I've got time I'll see what I can do though.
EDIT: Also have you tried this thread? http://forum.xda-developers.com/showthread.php?t=532719
Virus1x said:
Ok so my friend rooted my phone and I've done alot but theres alot that I need ADB for..
so im looking for someone help
to provide a walkthrough of how to get ADB and SLIDE USB drivers and how to use it. to do this..
http://forum.xda-developers.com/showthread.php?t=921347
step by step
please help..
Tossing a Couple Cold-Ones to whoever can help me
Click to expand...
Click to collapse
oh well i thanked u instead of quoting xD there is a free thanks for u then...
what are u running on your pc? osx? windows?
there is a couple of youtube videos you can check out like this one
http://www.youtube.com/watch?v=1UF5w1dKe2U
and this one
http://www.youtube.com/watch?v=b1qgKA_eT2g&feature=related
basically what you need is the android sdk, the drivers are included there and if you are using windows set an variable to the path of your sdk tools so you can just type adb in the cmd and launch it right away
edit: oh and for the data2ext thing, you need to do that in recovery right after u repartition your sdcard.
just go into recovery, plug the phone, type adb shell in the command prompt(after u get it to work) and then the whole line to make your ext partition block size 4kb ---> mke2fs -m0 -b4096 /dev/block/mmcblk0p2
wait for the # to show up again and you are good to go ^_^
you just then need to reboot and type data2ext --enable in the terminal emulator app, hope this helps

fastboot on terminal device like ADB?

Hi developers and non-developers
I have like a proyect idea but I don't know it its possible. You have seen that we can use adb on our terminal to root other devices like root transmissor app
But fastboot commads are not enabled on terminal so I think I could be very useful if we can flash recoverys,kernels,complete systems
Only whit our phone like HOX in my case.
I know adb is located on system/bin/adb.....and is really realliy similar to one on computer(.exe)
But mi question is...can we convert the fastboot.exe on a runnable block on our terminal??
If you have ideas or more knoledge on this subjet than me, or want to support me,please help me..I think making this will help all of us
It's impossible. To use fastboot your phone needs to be in fastboot mode, ergo no terminal.
No no...is to use our terminal to flash things via fastboot on other device via OTG
Thread Closed​
Please do not open duplicate threads, it just makes a mess of our great forum. Also, this is a question, so has no place in the development section.​

(Question) Root HTC M8 on mac os?

Hi mates, anybody know how to root M8 on mac? Please help me?
Doesn't Weaksauce run from the device itself?
http://forum.xda-developers.com/showthread.php?t=2699089
Electronic Punk said:
Doesn't Weaksauce run from the device itself?
http://forum.xda-developers.com/showthread.php?t=2699089
Click to expand...
Click to collapse
Yes, i dont know why it doesnt work!
Rooting on a mac is pretty simple and much of the same process in the command window as a PC, the only major difference I encounter is that in terminal once you CD into your fastboot and adb folder is that a ./ is required for both adb and fastboot, so the commands are ./adb and ./fastboot. Hope that helps.

Categories

Resources