Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ada5eee1 authored by Fahim M. Choudhury's avatar Fahim M. Choudhury
Browse files

Merge branch '183-update-edrive-readme' into 'main'

docs: Update README

Closes #183

See merge request !271
parents 95b0c431 ee1c38ae
Loading
Loading
Loading
Loading
Loading
+11 −9
Original line number Diff line number Diff line
# eDrive

eDrive is a persitent application provided by default with /e/OS.
eDrive is a [persistent][doc-persistence] application provided by default with /e/OS.
It synchronizes user's data files to /e/Cloud or a self-hosted cloud.

## Install
@@ -22,8 +22,8 @@ and finally `adb reboot`.
| /storage/emulated/0/Ringtones        | /Ringtones                             | Ringtones    |
| /storage/emulated/0/Documents        | /Documents                             | Documents    |
| /storage/emulated/0/Podcasts         | /Podcasts                              | Podcasts     |
| /data/system/users/0/                | /Devices/\<id\>/rom_settings/          | Rom settings |
| /data/data/foundation.e.drive/files/ | /Devices/\<id\>/rom_settings/app_list/ | Rom settings |
| /data/system/users/0/                | /Devices/\<id\>/rom_settings/          | ROM settings |
| /data/data/foundation.e.drive/files/ | /Devices/\<id\>/rom_settings/app_list/ | ROM settings |

All remote directories are created by eDrive if needed.

@@ -31,7 +31,7 @@ All remote directories are created by eDrive if needed.

### How it works

When you register an /e/account the synchronization is enabled by default.
When you register an /e/account, the synchronization is enabled by default.
The synchronization is done on `ACTION_SCREEN_OFF` intent if the last
sync is greater than 15 min. Otherwise a sync is scheduled each 30 min.

@@ -39,14 +39,14 @@ sync is greater than 15 min. Otherwise a sync is scheduled each 30 min.

To enable/disable the synchronisation, go into your account settings:

* Application settings (Rom settings)
* Application settings (ROM settings)
* Pictures and videos (Images, Movies, Music, Ringtones, Documents and Podcasts)

# Interrobility
# Interoperability

eDrive can also receive some broadcast intent for different purprose: 
eDrive can also receive some broadcast intent for different purpose: 

**Force the synchronization.**
**Force the synchronization**

```bash
adb shell am broadcast -a foundation.e.drive.action.FORCE_SYNC --receiver-include-background
@@ -69,3 +69,5 @@ adb shell am broadcast -a foundation.e.drive.action.DUMP_DATABASE --receiver-inc
```bash
 adb shell am broadcast -a foundation.e.drive.action.FULL_LOG_ON_PROD --receiver-include-background --ez full_log_enable false
```

[doc-persistence]: https://developer.android.com/guide/topics/manifest/application-element#persistent
 No newline at end of file