Действия

Android

Материал из lulzette's wiki

Doze

https://forum.xda-developers.com/android/apps-games/root-doze-settings-editor-android-t3235130

  • Inactive Timeout - inactive_to

This is the time, after becoming inactive, at which we start looking at the motion sensor to determine if the device is being left alone. We don't do this immediately after going inactive just because we don't want to be continually running the significant motion sensor whenever the screen is off.


  • Sensing Timeout - sensing_to

If we don't receive a callback from AnyMotion in this amount of time + locating_to, we will change from STATE_SENSING to STATE_INACTIVE, and any AnyMotion callbacks while not in STATE_SENSING will be ignored.


  • Locating Timeout - locating_to

This is how long we will wait to try to get a good location fix before going in to idle mode.


  • Location Accuracy - location_accuracy

The desired maximum accuracy (in meters) we consider the location to be good enough to go on to idle. We will be trying to get an accuracy fix at least this good or until locating_to expires.

  • Motion Inactive Timeout - motion_inactive_to

This is the time, after seeing motion, that we wait after becoming inactive from that until we start looking for motion again.


  • Idle After Inactive Timeout - idle_after_inactive_to

This is the time, after the inactive timeout elapses, that we will wait looking for significant motion until we truly consider the device to be idle.


  • Idle Pending Timeout - idle_pending_to

This is the initial time, after being idle, that we will allow ourself to be back in the IDLE_PENDING state allowing the system to run normally until we return to idle.


  • Max Idle Pending Timeout - max_idle_pending_to

Maximum pending idle timeout (time spent running) we will be allowed to use.


  • Idle Pending Factor - idle_pending_factor

Scaling factor to apply to current pending idle timeout each time we cycle through that state.


  • Idle Timeout - idle_to

This is the initial time that we want to sit in the idle state before waking up again to return to pending idle and allowing normal work to run.


  • Max Idle Timeout - max_idle_to

Maximum idle duration we will be allowed to use.


  • Idle Factor - idle_factor

Scaling factor to apply to current idle timeout each time we cycle through that state.


  • Min Time to Alarm - min_time_to_alarm

This is the minimum time we will allow until the next upcoming alarm for us to actually go in to idle mode.


  • Max Temp App Whitelist Duration - max_temp_app_whitelist_duration

Max amount of time to temporarily whitelist an app when it receives a high tickle.


  • MMS Temp App Whitelist Duration - mms_temp_app_whitelist_duration

Amount of time we would like to whitelist an app that is receiving an MMS.

  • SMS Temp App Whitelist Duration - sms_temp_app_whitelist_duration

Amount of time we would like to whitelist an app that is receiving an SMS.

bmgr

init in android

https://h4des.org/blog/index.php?/archives/364-Android_LineageOS_15.1_Execute_Script_on_Start_Up.html

droid commands

adb — Отладчик андроид. Поскольку Android это все же Linux, к нему по USB можно подключать другие устройства в том числе смартфоны, adb позволяет ими управлять и дает доступ к их терминалу. описание его команд и возможностей тянет на целую статью, я опишу все в одной из следующих статей.

am — Менеджер окон (Action Manager), с помощью него можно запустить и остановить любое приложение или сервис. Например запуск приложения настройки:

am start -n com.android.settings/.Settings

badblocks — проверка флешки на наличие битых секторов:

Результат можно записать в файл:

badblocks /dev/block/mmcblk0 > /sdcard/badblocks

или вывести на экран:

badblocks -v /dev/block/mmcblk0

bmgr — управление резервным копированием Android.

log — записать строку в лог системы.

log "Hollo log"

logcat — просмотр лога системы в реальном времени.

netcfg — просмотр информации об сетевых соединениях.

notify — утилита для слежения за изменениями в файловой системы с помощью подсистемы ядра inotify.

pm — пакетный менеджер android, позволяет, устанавливать, удалять и просматривать установленные пакеты.

route — управление таблицей маршрутизации.

`screenshot` — сделать снимок экрана.

`screenshot /sdcard/screenshot.png`

service — управление сервисами. Например посмотреть список запущенных сервисов:

`service list`