Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added section in readme on how to set up a rooted device #156

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,6 @@ ENV/
.vscode/

# SQLite data
flask-backend/api/db.sqlite3
flask-backend/api/db.sqlite3

data/
28 changes: 27 additions & 1 deletion flask-backend/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,33 @@ To run the server use the following command:
(venv) $ `set FLASK_DEBUG=1`
(venv) $ `flask run`

Eithr from a terminal window or from postman you can send requests.
Either from a terminal window or from postman you can send requests.

Setting up a rooted device for data extraction
-------
There are 2 ways of setting up a device

**1. Using an Actual Rooted Physical Device**

1. Connect a rooted physical device to the system via USB.

2. Turn on USB Debugging in the developer options

**B) Setting up an Emulator**

1. Install Android Studio
2. Go to AVD Manager
3. Create a new virtual device using an image that does not have google playstore.

![1](https://user-images.githubusercontent.com/45410599/110638417-8cc98900-81d4-11eb-85a0-261789053e8f.png)

4. Start the virtual device.
5. To root this device, run the following commands in Command Prompt/Terminal -

```
adb shell
adb root
```

API Documentation
-----------------
Expand Down