When I am trying to get logcat(in windows7 x86)
I always have to type to the whole command
so I find a new way to get logcat
I am sharing this to you
I will appericiate if you respond positively:fingers-crossed:
Just download the zip file from attachment
create a folder named "logcat" in your C:/ Drive (without quotes) and extract the zip file into it.(MOST IMPORTANT)
for logcat open it and connect your device then click on logcat.bat
then you will get a new file log.txt(if you get any error make sure you should have installed proper drivers for your device in the same directory
so if you disconnect your device it will stop creating logcat for your device
and just rename the the txt file after creating log for further use
You will get log.txt file after everytime you use the logcat.bat so just rename it
hit thanks if helped:good:
Related
I am new to all this and completely lost. I am trying to be able to access adb shell through command prompt. I have done everything here:
http://forum.xda-developers.com/showthread.php?t=500196
And it still doesn't work. I'm lost. I'm not sure where it was downloaded to. I can find it in my program files under Android. But when I try to put C:\android... it doesn't actually come up. But if I go to explore and go find it, it is... so I think maybe the path isn't set up the same or something. i dunno. I dont get it lol.
Any help would be awesome!
Thanks,
Kimberly.
Hi,
So after you downloaded the zip file did you unzip / install it? as you will need to unzip the file. So for example you may have downloaded it to your download folder so double click the zip and unzip. The you should see a Android folder like "android-sdk-windows".
Once you know where it is you can then either add this to the envrioment varables or could can navigate to the adb program via the command prompt and run it there.
I.e. cd C:\Users\yourname\Downloads\android-sdk-windows\
then type adb shell
There is a guide here: - http://developer.android.com/sdk/installing.html
So have a look in your C drive (Go to My computer, C drive) then look for a folder called "android-sdk-windows"
C:\android-sdk-windows
This is how I logcat on 4.3:
First off, you're going to need a WORKING android device running 4.2+
Now:
1. Plug the device into your PC
2. Go to Settings>Development and enable adb
3. When the dialogue comes up asking to trust the computer tap yes. If it doesn't appear run "adb devices" on your PC.
4. Get a root file explorer app
5. In the explorer, go to \data\misc\adb and copy adb_keys to your PC. (Copy adb_keys to your Sdcard, mount phone storage, then copy to PC.)
6. Download THIS and extract all files on your PC
7. Open up the extracted directory.
8. Place adb_keys in \data\misc\adb and then run the "Run_to_build_zip.bat" file.
9. Download THIS and flash in recovery on the device you're going to logcat.
10. Copy the zip that was just created on your PC to your sdcard and flash in recovery. (Zip will be named "adb_hack_step2_**.**.**@**_**.zip" )
Reboot, adb should now be enabled and work on the PC you used.
This guide is meant to less techie people, and written in detail. Please don't mind me if I overexplain. If you have any questions, feel free to comment them.
Also, I am not responsible for anything you do to your phone; you assume your responsibility for anything you do because of this guide.
Scenario:
So, lets say that you tried to flash an zip file on your android using sideload, but the zip required another file to be in the same directory as it, in order to work.
After flashing the zip and getting an error, your phone may not get pass the logo of the brand and be soft bricked.
Also, you formatted your external sd as internal, and cant access your usual location with files in the recovery.
In this case, don't worry, as I'm here to help you unbrick your phone without reinstalling the rom.
Things you will need:
your phone
a computer connected to your phone with an usb cable
the proper drivers for your phone
a custom recovery like cwm or twrp installed on your phone
probably root, although I'm not sure
and finally the adb (android development bridge) utility
Where to get a custom recovery?
- https://www.xda-developers.com/how-to-install-clockworkmod/
or search on xda under at your device's forum
Where to download adb from?
- https://forum.xda-developers.com/showthread.php?t=2588979 (this one comes with the drivers)
- https://dl.google.com/android/repository/platform-tools-latest-windows.zip (just the adb files)
So lets get started:
First, get your phone into Recovery mode (on samsung hold power button volume up and home button), and connect it to your pc with a usb cable.
Open ADB by shift + right clicking the folder platform-tools in witch it is located. Click on "Open Command Prompt window here" or "Open Powershell window here" (depends on your windows settings).
You need to find a location on your phone that is accessible through the flash zip menu from your recovery. (from sdcard / from sdcard1 or whatever your external sd is called)
In my case, i could get to see folder 0 and obb from "flash zip from sdcard".
To find a suitable folder:
In the window, type
Code:
adb.exe shell
if you opened cmd, or
Code:
./adb.exe shell
if you opened powershell.
This will open a terminal that will run commands on your phone.
(Now you can type commands in the cmd window that will be run on your phone.)
Type in
Code:
cd /sdcard/0
to go to the main sd card location that is accessible in recovery when you go to flash a zip from there. (if you can get to another folder where you could a flash a zip from, change the location to that place)
You can use here the command
Code:
ls
to view objects in the folder you are in.
After you are done, type
Code:
exit
to exit.
To solve the soft-brick, you need to reflash the zip, but with the files it needed in the same directory.
Type in the ADB window
Code:
./adb.exe push "location of the file you are sending" "location of the folder you are sending to (eg. /sdcard/0)"
if you are in powershell, or without the ./ if you are in cmd.
Use this until you have sent all the files needed for a successful flash.
Then just use the "flash zip" utility from your recovery with the location you have sent the files to, on your phone, to complete the flash, and solve the half-brick.
Restart your phone and you should be good to go.
Thanks to the following threads, that helped me put this together, and solve this problem on my phone:
https://forum.xda-developers.com/showthread.php?t=1927198
https://forum.xda-developers.com/showthread.php?t=2588979
Hi I have an account in Simplilearn and i have downloaded video files with the app as shown in the attached short video my quotation is how I can access downloaded files to access them on pc I need to copy downloaded files thank you for your support
Establish an ADB USB-connection between phone and PC, then pull the files of interest.
More info here:
[GUIDE] How To Use ADB To Push And Pull Files
Welcome XDA Members! To Use ADB First You Have Enable ADB In The Developer Options In Your Android Phone. In This Thread I Will Tell You How To Push And Pull Files Via ADB. Pull = Taking (OR) Copying Files For System(Android) Push = Copying The...
forum.xda-developers.com
my problem is I cant find the files directory appreciate your support and thanks for your reply
please try to download the app and check it
Use ADB Push to copy files to device by a simple right click on windows
(No CMD commands needed)
You can simply right click any file on your Computer to send to your phone via adb push commands(without needing to type commands)
This makes file transfers significantly faster -especially when you have a large number of small files. MTP is a pain to use. This helps me transfer 100 gb of files in less than 40minutes whereas mtp transfer will take over 4 hours.
1. Install ADB Platform Tools for windows from official website
2. Extract the platform tools to 'C:\' such that your adb directory becomes "C:\platform-tools"
3. Copy the following code and paste it into a new .txt file created on your Computer.
Save it and change extension to .reg. Double click the file to install the registry entry.
3. Create a folder named 'ADBPush' in base directory of your internal storage on your phone - using a file manager. Create a folder named 'ADBPush' in root of your hard drive,i.e, C:\
4. Enable developer options and enable usb debugging on your mobile, accept the request for usb debugging access seen on your phone when you try to run adb command for the first time.
5. You can do this through wireless adb as well but first, you must use the command 'adb connect 192.168.xxx' to connect adb wirelessly first. Replace ip address with your phones current ip adresss.
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\ADB Push to Phone]
[HKEY_CLASSES_ROOT\*\shell\ADB Push to Phone\command]
@="\"C:\\Windows\\System32\\cmd.exe\" /k C:\\platform-tools\\adb.exe push \"%1\" /sdcard/ADBPush/"
[HKEY_CLASSES_ROOT\Folder\shell\ADB Push to Phone]
[HKEY_CLASSES_ROOT\Folder\shell\ADB Push to Phone\command]
@="\"C:\\Windows\\System32\\cmd.exe\" /k C:\\platform-tools\\adb.exe push \"%1\" /sdcard/ADBPush/"
Done!
Now you can simply right click context menu to push files using adb - as simple as copy paste
I couldnt get it to work with adb pull as worng directory path if used. Anyone got ideas for getting adb pull working by above method?