I feel like such a tard.. i cant remeber the adb command to make the command prompt on my pc show the phones running logcat.
I tried adb shell logcat but the cursor just sat there looking at me like i asked something it couldnt do...
What command am i forgetting? I just want to see the logcat on my pc while i do thngs on the phone?
Sent from my PC36100 using XDA App
v_lestat said:
I feel like such a tard.. i cant remeber the adb command to make the command prompt on my pc show the phones running logcat.
I tried adb shell logcat but the cursor just sat there looking at me like i asked something it couldnt do...
What command am i forgetting? I just want to see the logcat on my pc while i do thngs on the phone?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I don't quite remember this either, but have you tried.... adb shell logcat > log.txt
I believe its:
adb logcat > name of rom.txt
Sent from my SUPERSONIC
The arrow key is just a space right so
adb logcat logcat.txt
Sent from my PC36100 using XDA App
v_lestat said:
The arrow key is just a space right so
adb logcat logcat.txt
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
no the arrow is the arrow
freeza said:
no the arrow is the arrow
Click to expand...
Click to collapse
Correct.
Sent from my SUPERSONIC
i just use adb logcat and it comes out. use control c to exit
If on Linux/Mac:
Code:
adb logcat > ~/logcat.txt
If on Windows:
Code:
adb logcat > %userprofile%\Desktop\logcat.txt
Related
I apologize if this is already answered somewhere. I searched everywhere and could not find anything, but I might be using the wrong wording.
Anyways I am attempting to root my G2. I have managed to get adb onto the computer and it recognizes my phone. However, the next step in the wiki says to:
ON YOUR PC: Unzip the gfree_temp-root.zip files to a folder. From a cmd window or terminal, navigate to that folder and execute these commands:
$ adb push su /sdcard/su
$ adb push Superuser.apk /sdcard/Superuser.apk
$ adb push rage /data/local/tmp/rage
$ adb push busybox /data/local/tmp/busybox
$ adb push root /data/local/tmp/root
$ adb shell chmod 0755 /data/local/tmp/*
However, it gives me error messages such as 'adb' is not recognized. I'm sure I am missing stupid but I cannot figure it out. Thanks in advance.
Just use visionary, it is much easier. Click temp root and when it is done perm root
http://android.modaco.com/content/h...m/320722/19-nov-r14-visionary-one-click-root/
Sent from my HTC Desire using XDA Premium App
I don't trust visionary. I want to go about this the safest way which is the gfree method.
Sent from my T-Mobile G2 using XDA App
Make sure that the adb (and other stuff tha got installed) is in your PATH environment, or cd to that diectory and work from there.
Sent from my HTC Vision using XDA Premium App
o0olove said:
I don't trust visionary. I want to go about this the safest way which is the gfree method.
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
I used visionary and it worked just fine, but you do what you feel best with
Sent from my HTC Desire using XDA Premium App
bradley_e_smith said:
Make sure that the adb (and other stuff tha got installed) is in your PATH environment, or cd to that diectory and work from there.
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
I checked the path a few times because I thought that was the problem. However, it all looks good. I'm going to try on another computer tonight and see if that helps.
Did you make sure that all the necessary drivers were installed?
When you type 'ADB Devices' does it show your phone?
I used visionary and terminal emulator and haven't had any problems at all.
_________________________________
Sent from my CM7 T-Mobile G2 using XDA app
tazz9690 said:
Did you make sure that all the necessary drivers were installed?
When you type 'ADB Devices' does it show your phone?
Click to expand...
Click to collapse
Yes it shows my phone when I type 'ADB Devices' That's what's causing my confusion. I've reinstalled all the drivers that are needed. From what I am seeing it SHOULD work.
Please could someone help me in using Adb to allow me to transfer more files on the sd card without root? I don't know how to do it and would appreciate if someone could explain it to me.
Thanks
Sent from my R800i using XDA App
If you open the start menu on your computer and right click computer, click properties you should go to some menu and in the top left it will say device manager I think, then you will go to another menu search for other devices or your phones name which should be something like don't Ericson 4.0.A.2.... etc. Something beginning with 4 and has dots a zero and A. Lol
Sent from my EPIC R800i
XTC_ExQuisite_ said:
If you open the start menu on your computer and right click computer, click properties you should go to some menu and in the top left it will say device manager I think, then you will go to another menu search for other devices or your phones name which should be something like don't Ericson 4.0.A.2.... etc. Something beginning with 4 and has dots a zero and A. Lol
Sent from my EPIC R800i
Click to expand...
Click to collapse
Sorry but that wasn't even relevant.... to use adb you need android sdk.
move apps to sd? command is
adb shell
setinstall location or something like that.
move files to sd is
adb push filename /sdcard
thank me if I helped.
Sent from my R800i using Tapatalk
adb shell
pm setInstallLocation 2
reboot
I would thank, but it seems that I still don't understand. I ain't very deep into Android-know a few basics but I'll need a lot more than that to help me (no offence intended). Thank you
Sent from my R800i using XDA App
download the android sdk or a adb package.
extract/install the package/sdk
download adb via the sdkmanager if using the sdk
then load adb.exe via cmd e.g shift + right click - open command window here.
type 'adb shell'
(make sure usb debuggin is on on the phone and usb plugged in.)
then type 'pm setInstallLocation 2'
then type 'reboot'
then type 'exit'
all without quotes.
Still sounds so complex! Lol, will try though. Thanks
Sent from my R800i using XDA App
KindaUndisputed said:
Still sounds so complex! Lol, will try though. Thanks
Sent from my R800i using XDA App
Click to expand...
Click to collapse
ok well if you think that is complicated i will make it simple.
http://bit.ly/yZzQLJ
Thank you
Sent from my R800i using XDA App
I need to know what i need to do to post a logcat
Sent from my PC36100 using xda premium
install adb on your computer and do the adb logcat command adb logcat -d > logcat.txt and then upload to pastebin or dropbox
Sent from my EVO 4G using XDA
Helping developers!
Learn how to provide a logcat the devs .....
By phone ...
Open the terminal emulator
type
Code:
su
# logcat > /sdcard/logcat.txt
The log will be on your sdcard.
By the computer (Windows) ....
Download the Qtabd
Link: http://motyczko.pl/qtadb/QtADB_0.8.1_windows.zip
Open qtabd, select where you extracted the package adb.
Connect the phone to the pc.
In qtabd select logcat.
Select all (ctrl + a)
Save to PC
continues
Provide logcat on Ubuntu
Qtabd 32 bits :http://motyczko.pl/qtadb/QtADB_0.8.1_linux32.tar.gz
Qtabd 64bits :http://motyczko.pl/qtadb/QtADB_0.8.1_linux64.tar.gz
Binaries ADB : http://motyczko.pl/qtadb/linux_binaries.tar.gz
Open terminal:
Code:
sudo apt-get install libqtgui4 libqt4-network libqt4-declarative
32 bits :
Code:
$ cd Downloads/linux_binaries/
$ sudo cp adb aapt /usr/bin/
$ cd /usr/bin/
$ sudo chmod +x adb aapt
New terminal
Code:
$ cd Downloads/QtADB_0.8.1_linux32
$ sudo cp QtADB /usr/bin/
$ cd /usr/bin/
$ sudo chmod +x QtADB
Now
Code:
$ sudo QTABD
Tell where are the binaries and enjoy!
Thnx sir
Very useful
sent using repencis 3.5 wid a2sd
press thnxxx
very nice guide......... also post about how to provide logcat using Android SDK ...........its good to know all new user how to use SDK
Sent from my GT-S6102 using Tapatalk 2
Sir i hope u upload the Terminal Emulator too....
Sent from my GT-S5360 using xda premium
it works well in my device.
Sent from my GT-S5360 using xda app-developers app
How do you provide logcat if phone dont boot??? For example you just flashed a fresh custom rom and it wont boot, how do you get logcat cause you cant even open terminal in phone to input those commands
Sent from my GT-S5360 using xda premium
thirdzcee said:
How do you provide logcat if phone dont boot??? For example you just flashed a fresh custom rom and it wont boot, how do you get logcat cause you cant even open terminal in phone to input those commands
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
using part Windows
using qtabd !!
Nice work, this should be good for the community. Sticked so that everyone will see it and learn how to do it.
whitexp said:
using part Windows
using qtabd !!
Click to expand...
Click to collapse
How about ubuntu? Cause im on ubuntu although i do have windows running from virtualbox but thats only for the rest of my family here cause they prefer windows and i prefer ubuntu ... its 64 bit ubuntu by the way.,. How to get logcat then?
Sent from my GT-S5360 using xda premium
atualized
whitexp said:
atualized
Click to expand...
Click to collapse
nice
its helpfull!
thirdzcee said:
How do you provide logcat if phone dont boot??? For example you just flashed a fresh custom rom and it wont boot, how do you get logcat cause you cant even open terminal in phone to input those commands
Click to expand...
Click to collapse
here is a method that worked for me.
1. Turn off your phone (if stuck, just remove the battery).
2. At your command prompt, do "adb logcat > logresult.txt".
3. Plug your phone to your usb and power it.
4. After at least 1-2 minutes or until the phone has fully booted up, terminate your logcat session (ctrl+c)
Click to expand...
Click to collapse
Can op or anyone add info how to read and analyst error from logcat??
Love You man...
whitexp said:
Helping developers!
Learn how to provide a logcat the devs .....
By phone ...
Open the terminal emulator
type
Code:
su
# logcat > /sdcard/logcat.txt
The log will be on your sdcard.
By the computer (Windows) ....
Download the Qtabd
Link: http://motyczko.pl/qtadb/QtADB_0.8.1_windows.zip
Open qtabd, select where you extracted the package adb.
Connect the phone to the pc.
In qtabd select logcat.
Select all (ctrl + a)
Save to PC
continues
Click to expand...
Click to collapse
Hey... Nice job... thanked already...
---------- Post added at 12:14 AM ---------- Previous post was at 12:03 AM ----------
Just wondering, can you also upload some tutorials on identifying common issues through logcat?
that would be great for me as i am not of comp sc background, yet want to positively help the devs and possibly someday dev some... B)
[I think some others are also thinking just what i am thinking... LOL]
hey man working great! thanks :good:
very useful thread, thank you
I might be wrong but cwm can generate logcat.....
Sent from my GT-S5360 using xda premium
alkesh95 said:
I might be wrong but cwm can generate logcat.....
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Yes I think you are wrong.. It can show log generated during installation.. That too if the dev has written any "echo" commands.. It also generates some info like about any problem occurred while installation.. In advanced section has show log option..
hit thanks button! if above post helps u..
Sent from my GT-S6102
nitubhaskar said:
Yes I think you are wrong.. It can show log generated during installation.. That too if the dev has written any "echo" commands.. It also generates some info like about any problem occurred while installation.. In advanced section has show log option..
hit thanks button! if above post helps u..
Sent from my GT-S6102
Click to expand...
Click to collapse
Thanks buddy....
Sent from my GT-S5360 using xda premium
So I rooted my phone using the toolkit but I don't have s off. I tried the firewater method but couldn't get it to work. I'm using the att version
Sent from my HTC One_M8 using XDA Premium 4 mobile app
You may need to try it numerous times for it to work as some members said that it didn't work right away for them but after a few more attempts it was all good
Sent from my HTC One or Note 3 via XDA Premium
Also try copying a large file to the phone eg 2gb in size while running the s-off script. Users have reported that it worked for them.
Yeah I tried Firewater and it succeeded but after a few Times. I got stuck at the adb shell command and it would go past there so I exited adb then started again but this time from the adb shell command and it went smoothly from there.
Sent from my HTC One_M8 using xda app-developers app
jonathan413 said:
Yeah I tried Firewater and it succeeded but after a few Times. I got stuck at the adb shell command and it would go past there so I exited adb then started again but this time from the adb shell command and it went smoothly from there.
Sent from my HTC One_M8 using xda app-developers app
Click to expand...
Click to collapse
yeah i tried firewater but i dont understand there instructions on how to use adb and what commands to enter.
Ghost said:
Also try copying a large file to the phone eg 2gb in size while running the s-off script. Users have reported that it worked for them.
Click to expand...
Click to collapse
were do i get the s off script?
rtubbs85 said:
yeah i tried firewater but i dont understand there instructions on how to use adb and what commands to enter.
Click to expand...
Click to collapse
Open CMD window and just type exactly what is requested on the firewater website. First fastboot devices to see if you are all up and running then fire away!
Brava27 said:
Open CMD window and just type exactly what is requested on the firewater website. First fastboot devices to see if you are all up and running then fire away!
Click to expand...
Click to collapse
so i opened the cmd window and typed in adb reboot and i says it does not work am i missing something? also it says Push, Prepare, and Execute firewater
Hmm I'm no expert in adb cmd. I just followed instructions but after reboot it should reboot.
Sent from my HTC One_M8
Brava27 said:
Hmm I'm no expert in adb cmd. I just followed instructions but after reboot it should reboot.
Sent from my HTC One_M8
Click to expand...
Click to collapse
what does it mean by Push, Prepare, and Execute firewater? is that something i need to type in?
I think it's just a quote. I ignored that
Sent from my HTC One_M8
Brava27 said:
I think it's just a quote. I ignored that
Sent from my HTC One_M8
Click to expand...
Click to collapse
so the first thing i type into cmd is adb reboot correct?
rtubbs85 said:
so the first thing i type into cmd is adb reboot correct?
Click to expand...
Click to collapse
Ensure device is booted to android with usb debugging enabled.USB 2.0 ports are preferred.You should not be connected using any hubs which may cause connectivity issuesEnsure that lock screen security is disabled on your device.no passcode lockno pattern lockno face lockDownload firewater*HEREPush, Prepare, and Execute firewater:
adb reboot * * **<–important!!!!
adb wait-for-device push firewater /data/local/tmp
adb shell
su
chmod 755 /data/local/tmp/firewater
/data/local/tmp/firewater
*
Agree to the terms and conditions you are prompted withAllow the exploit to do its work.Profit
Sent from my HTC One_M8
Brava27 said:
Ensure device is booted to android with usb debugging enabled.USB 2.0 ports are preferred.You should not be connected using any hubs which may cause connectivity issuesEnsure that lock screen security is disabled on your device.no passcode lockno pattern lockno face lockDownload firewater*HEREPush, Prepare, and Execute firewater:
adb reboot * * **<–important!!!!
adb wait-for-device push firewater /data/local/tmp
adb shell
su
chmod 755 /data/local/tmp/firewater
/data/local/tmp/firewater
*
Agree to the terms and conditions you are prompted withAllow the exploit to do its work.Profit
Sent from my HTC One_M8
Click to expand...
Click to collapse
alright so when i type in adb reboot it says device not found
Then you have to install the correct drivers and make sure device is in debugging mode usb
Sent from my HTC One_M8
Brava27 said:
Then you have to install the correct drivers and make sure device is in debugging mode usb
Sent from my HTC One_M8
Click to expand...
Click to collapse
i have htc drivers installed and still nothing. i cant figure this out i did it with no issue on my m7