• XSS.stack #1 – первый литературный журнал от юзеров форума

Android "Daemon"

shrekushka

(L1) cache
Пользователь
Регистрация
21.08.2024
Сообщения
596
Решения
2
Реакции
363
Гарант сделки
1
What are the requirements for an application to stay alive in the background forever? Some kind of daemon like? Even after closing.
For example, Telegram, Twitter, Instagram monitor continuously for new messages, likes, notifications.
VPN apps (VPN apps need to work with specific OS API by creating a virtual network interface on the device and routing system wide traffic through a secure tunnel so VPN apps are not actual examples but the idea is conveyed)

I remember reading a long time ago that Android has some killing behavior because of resources and that this behavior has only gotten aggressive with the latest Android versions.
I remember a trick to have some kind of notification bar/popup whatever open so that OS doesn't end it.

What are the current techniques here? What are acceptable by Android standards? What are the well known bypasses?
Stealth doesn't matter. It's not exactly for any kind of malware.
 
Пожалуйста, обратите внимание, что пользователь заблокирован
What are the requirements for an application to stay alive in the background forever? Some kind of daemon like? Even after closing.
For example, Telegram, Twitter, Instagram monitor continuously for new messages, likes, notifications.
VPN apps (VPN apps need to work with specific OS API by creating a virtual network interface on the device and routing system wide traffic through a secure tunnel so VPN apps are not actual examples but the idea is conveyed)

I remember reading a long time ago that Android has some killing behavior because of resources and that this behavior has only gotten aggressive with the latest Android versions.
I remember a trick to have some kind of notification bar/popup whatever open so that OS doesn't end it.

What are the current techniques here? What are acceptable by Android standards? What are the well known bypasses?
Stealth doesn't matter. It's not exactly for any kind of malware.
Android: ForeGround + Receiver + Alarm , сам Аларм служит перезапуском , лучше ставить 20 секунд (если будет какой-то краш), а foreground делает сам фоновый режим, Receiver (Надо указать boot, после перезапуска, работал) , возможно верно сказал,
 
Android: ForeGround + Receiver + Alarm , сам Аларм служит перезапуском , лучше ставить 20 секунд (если будет какой-то краш), а foreground делает сам фоновый режим, Receiver (Надо указать boot, после перезапуска, работал) , возможно верно сказал,
Thank you very much.) I will try to get it tested sooner or later.
Also Doze mode and App Standby aggressively restrict alarms from waking up the device too often unless the app is whitelisted. So I'd have to exempt it from batter optimization as well.
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх