Skip to content

Commit 68aebbf

Browse files
authored
Merge pull request #54 from ZennoLab/dev
Documentation: Fix ZennoDroid file operations descriptions
2 parents 6dbb432 + 2deca65 commit 68aebbf

4 files changed

Lines changed: 31 additions & 32 deletions

File tree

docs/ZennoDroid/Android/Enterprise/Files.mdx

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,8 @@ _______________________________________________
2525
#### Доступные параметры:
2626
- *Путь к файлу*. Полный путь к файлу на компьютере.
2727
- *Новый путь*. Место, куда будет сохранен скопированный файл.
28-
Можно указать полный путь, задав сразу название для файла: `/sdcard/Pictures/pic.png` или же указать только папку: `/sdcard/Pictures/`. Во втором сценарии файл будет скопирован с имеющимся названием. Медиафайлы будут автоматически обновлены в галерее после отправки.
29-
:::info **Обратите внимание.**
30-
Для отправки файлов в папки, для доступа к которым необходимы права суперпользователя (root), необходимо сначала отправить файл в папку `/data/local/tmp/` на устройстве. А затем уже с помощью экшена [**Консольная команда (ADB Shell)**](./Utilities_Ent#консольная-команда-adb-shell) скопировать файл в нужное место.
31-
32-
Например: `su -c cp /data/local/tmp/myfile /data/data/app/myfile`
33-
:::
34-
35-
- *Выполнять с правами суперпользователя*. Этот параметр нужен для отправки файлов в папки с доступом по правам суперпользователя.
28+
Можно указать полный путь, задав сразу название для файла: `/sdcard/Pictures/pic.png` или же указать только папку: `/sdcard/Pictures/`. Во втором сценарии файл будет скопирован с имеющимся названием. Медиафайлы будут автоматически обновлены в галерее после отправки.
29+
- *Выполнять с правами суперпользователя*. Этот параметр нужен для отправки файлов в папки для доступа к которым необходимы права суперпользователя.
3630
При отправке файла в такие папки выдаётся сообщение, содержащее `Permission denied`. Если при выключенной настройке файл отправляется без ошибок, то включать данную настройку категорически **не рекомендуется**.
3731

3832
## Получение файла.
@@ -43,9 +37,9 @@ _______________________________________________
4337
#### Доступные параметры:
4438
- *Путь к файлу*. Полный путь к файлу на смартфоне.
4539
- *Новый путь*. Место на компьютере, куда будет перемещён этот файл.
46-
Можно указать полный путь, задав сразу название для файла: `c:\Images\pic.png` или же указать только папку: `/sdcard/Pictures/`. Во втором сценарии файл будет скопирован с имеющимся названием.
47-
- *Выполнять с правами суперпользователя*. Этот параметр нужен для отправки файлов в папки с доступом по правам суперпользователя.
48-
При отправке файла в такие папки выдаётся сообщение, содержащее `Permission denied` или `No such file or directory`. Если при выключенной настройке файл отправляется без ошибок, то включать данную настройку категорически **не рекомендуется**.
40+
Можно указать полный путь, задав сразу название для файла: `c:\Images\pic.png` или же указать только папку: `c:\Images\`. Во втором сценарии файл будет скопирован с имеющимся названием.
41+
- *Выполнять с правами суперпользователя*. Этот параметр нужен получения файлов из папок для доступа к которым необходимы права суперпользователя.
42+
При получении файла из таких папок выдаётся сообщение, содержащее `Permission denied` или `No such file or directory`. Если при выключенной настройке получение файла работает без ошибок, то включать данную настройку категорически **не рекомендуется**.
4943
______________________________________________
5044
## Полезные ссылки.
5145
- [**Установка Root-прав**](../../Enterprise/Root)

docs/ZennoDroid/Android/pro-lite/Files.mdx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,12 @@ _______________________________________________
2626
только папку: `/sdcard/Pictures/`. Во втором сценарии файл будет скопирован с имеющимся названием.
2727
Медиафайлы будут автоматически обновлены в галерее после отправки.
2828
:::info **Обратите внимание.**
29-
Для отправки файлов в папки, которые находятся в режиме **Только для чтения**, такие как **/system**, необходимо предварительно выполнить команду `mount -o remount,rw /system` с помощью экшена [**Консольная команда (ADB Shell)**](./Utilities#консольная-команда-adb-shell).
29+
Для отправки файлов в папки, которые находятся в режиме **Только для чтения**, такие как **/system**, необходимо:
30+
- выбрать **Независимый диск** с помощью экшена [**Способ подключения системного диска**](./setting#выбрать-способ-подключения-системного-диска).
31+
- выполнить команду `mount -o remount,rw /system` с помощью экшена [**Консольная команда (ADB Shell)**](./Utilities#консольная-команда-adb-shell).
3032
:::
33+
- *Выполнять с правами суперпользователя*. Этот параметр нужен для отправки файлов в папки для доступа к которым необходимы права суперпользователя.
34+
При отправке файла в такие папки выдаётся сообщение, содержащее `Permission denied`. Если при выключенной настройке файл отправляется без ошибок, то включать данную настройку категорически **не рекомендуется**.
3135

3236
### Получение файла.
3337
С помощью данного действия можно наоборот скопировать файл уже с устройства на компьютер.
@@ -37,4 +41,6 @@ _______________________________________________
3741
#### Доступные параметры:
3842
- *Путь к файлу*. Полный путь к файлу на смартфоне.
3943
- *Новый путь*. Место на компьютере, куда будет перемещён этот файл.
40-
Можно указать полный путь, задав сразу название для файла: `c:\Images\pic.png` или же указать только папку: `/sdcard/Pictures/`. Во втором сценарии файл будет скопирован с имеющимся названием.
44+
Можно указать полный путь, задав сразу название для файла: `c:\Images\pic.png` или же указать только папку: `c:\Images\`. Во втором сценарии файл будет скопирован с имеющимся названием.
45+
- *Выполнять с правами суперпользователя*. Этот параметр нужен получения файлов из папок для доступа к которым необходимы права суперпользователя.
46+
При получении файла из таких папок выдаётся сообщение, содержащее `Permission denied` или `No such file or directory`. Если при выключенной настройке получение файла работает без ошибок, то включать данную настройку категорически **не рекомендуется**.

i18n/en/docusaurus-plugin-content-docs-zennodroid/current/Android/Enterprise/Files.mdx

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,9 @@ This function is used to copy a file from your computer to a device.
2424

2525
#### Available parameters:
2626
- *File path*. The full path to the file on your computer.
27-
- *New path*. The location where the copied file will be saved.
28-
You can specify a full path with the filename right away, like `/sdcard/Pictures/pic.png`, or just a folder, like `/sdcard/Pictures/`. In the second case, the file will be copied with its original name. Media files will automatically update in the Gallery after being sent.
29-
:::info Note
30-
To send files to folders that require superuser (root) access, you'll first need to send the file to the `/data/local/tmp/` folder on the device. After that, use the [**Console Command (ADB Shell)**](./Utilities_Ent#console-command-adb-shell) action to move the file to the desired location.
31-
32-
For example: `su -c cp /data/local/tmp/myfile /data/data/app/myfile`
33-
:::
34-
- *Run as Root*. This setting is needed to send files to folders that require superuser access.
27+
- *New path*. The location where the copied file will be saved.
28+
You can specify a full path with the filename right away, like `/sdcard/Pictures/pic.png`, or just a folder, like `/sdcard/Pictures/`. In the second case, the file will be copied with its original name. Media files will automatically update in the Gallery after being sent.
29+
- *Run as Root*. This setting is needed to send files to folders that require superuser access.
3530
When sending a file to such folders, a message containing `Permission denied` is displayed. However, if the file is sent without errors even when this setting is disabled, it is strongly **not recommended** to enable this setting.
3631

3732
### Pull file
@@ -41,10 +36,10 @@ This action lets you do the opposite: copy a file from your device to your compu
4136

4237
#### Available parameters:
4338
- *File path*. The full path to the file on your device.
44-
- *New path*. The place on your computer where the file will be saved.
45-
You can specify a full path with the filename, like `c:\Images\pic.png`, or just a folder, like `/sdcard/Pictures/`. In the second case, the file will be copied with its current name.
46-
- *Run as Root*. This setting is needed to send files to folders that require superuser access.
47-
When sending a file to such folders, a message containing `Permission denied` or `No such file or directory` is displayed. However, if the file is sent without errors even when this setting is disabled, it is strongly **not recommended** to enable this setting.
39+
- *New path*. The place on your computer where the file will be saved.
40+
You can specify a full path with the filename, like `c:\Images\pic.png`, or just a folder, like `c:\Images\`. In the second case, the file will be copied with its current name.
41+
- *Run as Root*. This setting is needed to receive files from folders that require superuser access.
42+
When receiving a file from such folders, a message containing `Permission denied` or `No such file or directory` is displayed. However, if the file is received without errors even when this setting is disabled, it is strongly **not recommended** to enable this setting.
4843
_______________________________________________
4944
## Useful links
50-
- [**Getting Root Access**](../../Enterprise/Root)CA
45+
- [**Getting Root Access**](../../Enterprise/Root)

i18n/en/docusaurus-plugin-content-docs-zennodroid/current/Android/pro-lite/Files.mdx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,16 @@ Use this feature if you want to copy a file from your computer onto your device.
2323

2424
#### Available options:
2525
- *File path*. The full path to the file on your computer.
26-
- *New path*. Where the copied file will be saved.
27-
26+
- *New path*. Where the copied file will be saved.
2827
You can specify the full path, including the file name: `/sdcard/Pictures/pic.png`, or just pick a folder: `/sdcard/Pictures/`. In the second case, the file will be copied with its original name.
28+
- *Run as Root*. This setting is needed to send files to folders that require superuser access.
29+
When sending a file to such folders, a message containing `Permission denied` is displayed. However, if the file is sent without errors even when this setting is disabled, it is strongly **not recommended** to enable this setting.
2930

3031
Media files will automatically show up in your gallery after they're sent.
3132
:::info Please note:
32-
To send files to folders that are **Read-only** like **/system**, you'll need to run `mount -o remount,rw /system` first using the [**Console Command (ADB Shell)**](./Utilities#console-command-adb-shell) action.
33+
To send files to folders that are **Read-only** like **/system**, you need to:
34+
- select **Independent drive** using the [**System disk attach mode**](./setting#how-to-select-system-disk-connection-type) action.
35+
- run `mount -o remount,rw /system` first using the [**Console Command (ADB Shell)**](./Utilities#console-command-adb-shell) action.
3336
:::
3437

3538
### Pull file.
@@ -39,6 +42,7 @@ This action lets you do the opposite: copy a file from your device to your compu
3942

4043
#### Available options:
4144
- *File path*. The full path to the file on your smartphone.
42-
- *New path*. Where on your computer you want this file to go.
43-
44-
Again, you can specify the full path, with the file name right away, like `c:\Images\pic.png`, or just pick a folder: `/sdcard/Pictures/`. In the second case, the file will be copied with its original name.
45+
- *New path*. Where on your computer you want this file to go.
46+
Again, you can specify the full path, with the file name right away, like `c:\Images\pic.png`, or just pick a folder: `c:\Images\`. In the second case, the file will be copied with its original name.
47+
- *Run as Root*. This setting is needed to receive files from folders that require superuser access.
48+
When receiving a file from such folders, a message containing `Permission denied` or `No such file or directory` is displayed. However, if the file is received without errors even when this setting is disabled, it is strongly **not recommended** to enable this setting.

0 commit comments

Comments
 (0)