@ Nephron, I don't mean to ask a stupid question, but in the code section of the ADB, you have:
Format your EXT3 Partition (ADB is needed)
Code:
adb remount
adb shell
rm -r /system/sd/*
reboot recovery
then flash the update.
is "reboot recovery" part of the code you type in or are you telling us to reboot into recovery?
Also, do you know if there's a more cohesive guide to ADB for Mac users than the ADB For Dummies guide? Your directions for the windows users are awesome, but in the directions from the mac users link you provided, there are a lot of extra side notes in there that seem to jumble everything up.
it's part of the code. When you type "reboot recovery" the phone will automatically reboot itself into recovery
i ask this because "then flash the update." is right after that. i would assume that that's directed toward the user, but it's in the code box so that's why i ask. sorry, i'm a little new to this, so i just want to make sure i get it right.
Yes
When it automatically reboots your phone into recovery just Alt+S *flashes the update*
Can you please add my how-to on installing the SDK + ADB + Fastboot on Ubuntu Linux to your original post? It can save stickies and save failed search attempts.
Can you please add my how-to on installing the SDK + ADB + Fastboot on Ubuntu Linux to your original post? It can save stickies and save failed search attempts.
cd C:\android-sdk-windows\platform-tools === Press Enter
adb devices === You should see your device listed
adb shell === you should see # in the next line
-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <serial number> - directs command to the USB device or emulator w
ith
the given serial number
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
devices - list all connected devices
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> <local> - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] <file> - push this package file to the device and instal
l it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.
adb help - show this help message
adb version - show version num
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb root - restarts adb with root permissions
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PDP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be u
pdated.
- If it is "system" or "data", only the corresponding partition
is updated.
adb push <pathtofile.apk> <file system location> - Example: adb push c:\app.apk /data/app
adb pull <pathtofile.apk> <path where you want to save it>- Example: adb pull /data/app/Stock.apk C:\
adb install <path to file> - Example: adb install c:/apps/apps2sd.apk
adb uninstall <name of application> - Example: adb uninstall linda.apk
su (wait for a screen to popup and press "allow")
flash_image recovery /sdcard/cm-recovery-1.4.img
fastboot erase recovery
fastboot flash recovery cm-recovery-1.4.img
cd C:\android-sdk-windows-1.5_r2\tools === Press Enter
fastboot devices === Press enter, your device should be listed
fastboot shell === You should see a # in the next line
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall 'flash boot' + 'flash system'
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
reboot reboot device normally
reboot-bootloader reboot device into bootloader
options:
-w erase userdata and cache
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
First of all, there is no such command as 'fastboot shell' only 'adb shell'. Fastboot commands are used to flash images to certain paritions in the phone's memory.
Make sure Fastboot is working
Open up Command Prompt
type the following
Code:cd C:\android-sdk-windows-1.5_r2\tools === Press Enter fastboot devices === Press enter, your device should be listed fastboot shell === You should see a # in the next line
type fastboot and press enter for general commands
---------------------------------------------------------------------------------------