[Q] Developing an app that boots into Android automatically when charging - Android Software/Hacking General [Developers Only]

I am an Android developer and I am doing now a project that requires the Android device to be always on.
I am using the Android device as a monitoring camera. The device will be always connected to the charger and I need to develop an app that boots into Android when charging if the phone is off. The phone might be turned off if the user turns off the electricity and the battery died.
I need to know how to start? What to start reading about developing this kind of app? Programming kernel, ROM? Is it doable?
I know there is a similar app
https://play.google.com/store/apps/details?id=eu.chainfire.nomoarpowah
But it runs only on some Samsung devices. I need to run it on Samsung Discover.

Related

[Q] total lock down of android device

I am about to introduce an android tablet into my work but i want it to be locked to one specific application. the tablet will be used as a mobile monitor for ip cameras that maintenance and production floor personnel need access to. Is there a way to lock this application so the users would be unaware that the tablet is capable of doing anything else?

Android Auto - Don't charge, pls! Help

New to OP6.... When I plug into my vehicle (android auto) my phone also charges.
How do I set it up so that it just runs and doesn't charge? Thanks!
I've tried to find the answer but come up empty.
I don't think this is possible. But why should you want that?

Display slowly dying, options for using the phone without one?

The display on my S7 started slowly dying, I estimate it will be fully dead in a few weeks. A replacement costs almost 100$, not including work, so it's probably going to stay like it is. I still want to use the phone however, for app development or music or similar stuff.
Is there any way to mirror the display or use some kind of VNC? I don't have a smart TV but several computers, not sure if miracast works on those.
I would also like the mirroring to start automatically or at least through some adb command line, because I will likely not see anything on the screen.
Replying to myself: found a relatively good option that's also free: https://github.com/Genymobile/scrcpy
I've installed TeamViewer Host on my S7 and it works great over wifi. I tried controlling my android device from Windows, MacOS and another android device, but it should work on linux and ios too.
https://play.google.com/store/apps/details?id=com.teamviewer.host.market

android tv sticks that can send data over usb to car infotainment for android auto?

https://forum.xda-developers.com/ge...droid-3-0-proxy-gateway-android-auto-t3813163
I'd like to use [Android 4.1+]Proxy/GateWay for Android Auto to get wireless android auto on a VW Mk7 Golf MIB2 infotainment head unit. I don't yet know much about android sticks. I prefer to use an android device that has no battery since it will be plugged into the car 24/7. The AA gateway author had some success with MK809V and MK808B. I was wondering if there is anything newer/faster that would also be recognized by the car's head unit via the usb cable? Support for 5 ghz wifi would also be good.
djy said:
https://forum.xda-developers.com/ge...droid-3-0-proxy-gateway-android-auto-t3813163
I prefer to use an android device that has no battery since it will be plugged into the car 24/7. The AA gateway author had some success with MK809V and MK808B. I was wondering if there is anything newer/faster that would also be recognized by the car's head unit via the usb cable? Support for 5 ghz wifi would also be good.
Click to expand...
Click to collapse
I'm interested in the same thing. To prevent stuff blocking android auto functionality I think it owuld be best if it is possible to install a custom rom on the stick so there is a plain clean android that is not restricted to media stuff or something or missing settings for wifi hotspot, usb, AA in the menu.
But this forum does not have the explicit custom rom section, so I didn't find what I am looking for.
Does anyone know about sticks that are easy to root, open bootloader and maybe from a known vendor?

How to Block remote access & unauthorized user on unrooted phone/locked bootloader

Hi, long story short, is i have a google pixel 3xl with a locked bootloader and stock android rom, its never been flashed or anything, yet somehow i have a user who is accessing my phone remotely without my authorization.
Their user dont show up which begs me to believe that they are logging in via remote administration tools built into android.
So far they have disabled my power button so if i turn my phone off, i cant turn it back on without plugging it into the charger, only then will the power button work. And sometimes they change it back so the button works.but then whenever i turn off the phone, it will boot up by its self. When they change it so the power button dont work, when i turn the phone off, i notice that the phone isnt actually off as i can feel the heat from the cpu and networking asics on the device still working and when i boot back into the phone. The battery life has decreased.
Since then i have installed a smart rgb light and they have put a script to autorun either on my phone or within the flash rom chips of the light so that the light automatically turns off whrnever i try to turn it on.
How can i block remote access to the phone, and what tools are they using ti gain access to my stock android 11 setup.
Because even when i turn the phone off. They still have access to the device, i have ran network monitoring tools and their access dont show up within android which leads me to believe that they may be using a hidden user which has elevated admin access than the stock user that comes with the phone as the way they are coming into the phone i believe is through ita cellular connection as in the past they have been remotely accessing it when i havent been near any wifi hotspots.
Thabks so much for your help
They also disabled my charging port partially and if i connect a new charger to it, the charger will work but then they disable the chargers device id, and headphones unique mac addresses from connecting with my phones usb-c port
Yep

Categories

Resources