Welcome To The World Of Possibilities
Welcome Guest, Login or register to access free internet


Thnank You

Anonymous Hacker

[GUIDE] Basic adb/shell commands for noobs

View previous topic View next topic Go down

[GUIDE] Basic adb/shell commands for noobs

Post by yawnana on Fri Oct 03, 2014 2:32 pm

Basic adb/shell commands for noobs
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-privatePush apps back to phone from the computer
Code:
adb push app /system/sd/app
adb push app-private /system/sd/app-privateDelete existing apps on SD
Code:
adb shell rm -r /system/sd/app
adb shell rm -r /system/sd/app-privateThrough 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.zipFrom 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
avatar
yawnana
Improved Members
Improved Members

Posts : 59
Join date : 2014-09-05

Back to top Go down

Re: [GUIDE] Basic adb/shell commands for noobs

Post by donlast on Sun Oct 05, 2014 4:46 pm

i hope this codes won't break down my phone.
avatar
donlast
Newbies
Newbies

Posts : 20
Join date : 2014-09-05

Back to top Go down

Re: [GUIDE] Basic adb/shell commands for noobs

Post by yawnana on Mon Oct 06, 2014 2:38 pm

well i cant be sure about that
avatar
yawnana
Improved Members
Improved Members

Posts : 59
Join date : 2014-09-05

Back to top Go down

Re: [GUIDE] Basic adb/shell commands for noobs

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum