G1 Addicts
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Your 1 stop G1 spot.
 
HomePortalLatest imagesSearchRegisterLog in
Please come rejoin our new and improved forum @ www.g1addicts.com! Thanks and sorry for the inconvenience.

 

 Basic adb/root commands for noobs

Go down 
AuthorMessage
Admin
Admin
Admin
Admin


Posts : 36
Join date : 2009-05-15
Location : cyber space

Character sheet
Name/Nickname:
Which G1 do you have?:
Do you have root?: yes

Basic adb/root commands for noobs Empty
PostSubject: Basic adb/root commands for noobs   Basic adb/root commands for noobs EmptyTue Jun 23, 2009 10:56 am

Originally posted by brandenk

Here is a list of some of the adb and terminal command I have used it Android frequently. I found that I was always having to look up these commands so I figured I would start keeping track of the common ones in case they can help anyone else. If any of these needs corrections or if you have a good one to add please post it.

Note, I type "cd C:\Android" to get to my Android folder before doing these commands in the command prompt in windows. That way when I do things like pull apps they end up in "C:\Android\apps", same thing if I want to send I file to my phone I throw it in my Android folder and send it to the phone from there.


Through ADB

Pull apps off phone onto computer

Code:
adb pull /system/sd/app app
adb pull /system/sd/app-private app-private

Push apps back to phone from the computer

Code:
adb push app /system/sd/app
adb push app-private /system/sd/app-private

Delete existing apps on SD

Code:
adb shell rm -r /system/sd/app
adb shell rm -r /system/sd/app-private


Through Terminal
Partition SD card - This erases everything on your SD card (*size* being the size of the FAT32 partition)

Code:
$  su
# cd /data
# wget http://64.105.21.209/bin/lib/droid/sdsplit
# chmod 555 sdsplit
# /data/sdsplit -fs *size* (add -nc to the end for JFv1.5ADP)


From the Recovery Screen
Sending an update file to your SD card:

Code:
adb shell mount /sdcard
adb shell rm /sdcard/update.zip
adb push *filename* /sdcard/update.zip


From Fastboot
Restoring a nandroid backup - Start command-prompt/terminal cd to the nandroid folder and enter following commands

Code:
fastboot erase boot
fastboot erase recovery
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash userdata data.img
fastboot flash recovery recovery.img
fastboot reboot
Back to top Go down
http://forum.g1addicts.com
 
Basic adb/root commands for noobs
Back to top 
Page 1 of 1
 Similar topics
-
» How to Root Your New Official Cupcake 1.5 OTA Update or Regain Root lost by update
» Apps onto SD - problems ive had and things that have helped [for noobs]
» ... ROOT your G1 (US/UK)
» In the beginning... There was ROOT

Permissions in this forum:You cannot reply to topics in this forum
G1 Addicts :: Newbie section :: In the begining-
Jump to: