Skip to content

Instantly share code, notes, and snippets.

@wcypierre
Created January 23, 2013 05:48
Show Gist options
  • Save wcypierre/4602398 to your computer and use it in GitHub Desktop.
Save wcypierre/4602398 to your computer and use it in GitHub Desktop.
If you have any problems, please tweet me @wcypierrenet or email me @ wcypierre@gmail.com or find me at xda by the username of wcypierre for any AIOlog related problems ONLY
Hi, this readme will serve as a small intro in guiding newbies to use adb and fastboot.
First, we need to go to the command prompt(known as cmd) to do the things that you wanted(both adb and fastboot requires the same program which is cmd)
To access Command Prompt(CMD):
1. Press Start button + R
2. A box will appear, type "cmd"(without quotes) and press enter
ADB and the other DLL files:
These files are required by AIOlog so do not remove it.
You may need to install your device's drivers for it to work.
Logcat(mostly used to detect app bugs):
Type "adb logcat > logcat.txt"(without quotes) and press enter
Upload the contents of logcat.txt to http://pastebin.com or upload it to a file sharing website such as http://mediafire.com
Last_kmsg(mostly used to detect any problems if your device has rebooted without any notice):
Type "adb shell cat /proc/last_kmsg > last_kmsg.txt"(without quotes) and press enter
Upload the contents of last_kmsg.txt to http://pastebin.com or upload it to a file sharing website such as http://mediafire.com
Dmesg(mostly used to detect any problems with the kernel):
Type "adb dmesg > dmesg.txt"(without quotes) and press enter
Upload the contents of dmesg.txt to http://pastebin.com or upload it to a file sharing website such as http://mediafire.com
Fastboot:
1. To flash a kernel(Look at which file that you have and do ONE of the following):
1.1 fastboot flash boot boot.img
or
1.2 fastboot flash boot kernel.sin
or
1.3 fastboot flash boot kernel.elf
NOTE #1: Do only ONE of the above
NOTE #2: Replace the filename(boot.img, kernel.sin, kernel.elf) with your kernel filename
NOTE #3: The steps below are required to ensure that the device does not bootloop(stuck at boot)
Then, do this:
fastboot erase cache
and this:
3. fastboot reboot
NOTE: The 1st example is for most devices while the 2nd and 3rd example is for Xperia series devices.
2. To flash a recovery:
fastboot flash recovery recovery.img
NOTE: replace recovery.img with the name of your recovery filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment